swagger.yaml 783 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. remark:
  35. description: 备注
  36. type: string
  37. rulekey:
  38. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  39. type: string
  40. sort:
  41. description: 排序
  42. type: integer
  43. title:
  44. description: 标题
  45. type: string
  46. type:
  47. description: 类型,1:菜单 2:按钮
  48. type: integer
  49. url:
  50. description: URL
  51. type: string
  52. type: object
  53. common.PCWebMenu:
  54. properties:
  55. auth:
  56. description: 页面权限列表
  57. items:
  58. $ref: '#/definitions/common.PCWebMenuAuth'
  59. type: array
  60. children:
  61. description: 子菜单列表
  62. items:
  63. $ref: '#/definitions/common.PCWebMenu'
  64. type: array
  65. code:
  66. description: ID,新版本中权限KEY也是这个字段
  67. type: string
  68. component:
  69. description: 路由组件
  70. type: string
  71. isshow:
  72. description: 是否显示
  73. type: boolean
  74. path:
  75. description: 路由路径
  76. type: string
  77. remark:
  78. description: 备注
  79. type: string
  80. rulekey:
  81. description: 权限主键,非空表示需要判断控制,非空值不可重复
  82. type: string
  83. sort:
  84. description: 排序
  85. type: integer
  86. title:
  87. description: 标题
  88. type: string
  89. url:
  90. description: URL
  91. type: string
  92. type: object
  93. common.PCWebMenuAuth:
  94. properties:
  95. code:
  96. description: ID,新版本中权限KEY也是这个字段
  97. type: string
  98. isshow:
  99. description: 是否显示
  100. type: boolean
  101. label:
  102. description: 标题
  103. type: string
  104. remark:
  105. description: 备注
  106. type: string
  107. rulekey:
  108. description: 权限主键,非空表示需要判断控制,非空值不可重复
  109. type: string
  110. type: object
  111. common.QueryImageConfigsRsp:
  112. properties:
  113. areauserid:
  114. description: 所属机构ID
  115. type: integer
  116. configid:
  117. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  118. type: integer
  119. createdate:
  120. description: 创建时间
  121. type: string
  122. creatorid:
  123. description: 创建人
  124. type: integer
  125. imagepath:
  126. description: 图片
  127. type: string
  128. imagetype:
  129. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  130. type: integer
  131. isshow:
  132. description: 是否展示 - 0:不展示 1:展示
  133. type: integer
  134. marketid:
  135. description: 市场ID
  136. type: integer
  137. modifierid:
  138. description: 操作人
  139. type: integer
  140. sort:
  141. description: 排序
  142. type: integer
  143. title:
  144. description: 标题
  145. type: string
  146. trademode:
  147. description: 交易模式
  148. type: integer
  149. updatedate:
  150. description: 修改时间
  151. type: string
  152. url:
  153. description: 链接(地址或商品ID)
  154. type: string
  155. urltype:
  156. description: 链接类型 - 1:直接地址 2:商品ID
  157. type: integer
  158. required:
  159. - configid
  160. type: object
  161. common.QueryNoticeRsp:
  162. properties:
  163. auditoruserid:
  164. description: 审核人
  165. type: integer
  166. auditremark:
  167. description: 审核备注
  168. type: string
  169. audittime:
  170. description: 审核日期
  171. type: string
  172. autoid:
  173. description: 自增ID
  174. type: integer
  175. content:
  176. description: 内容
  177. type: string
  178. createtime:
  179. description: 创建时间
  180. type: string
  181. creatorid:
  182. description: 建仓人
  183. type: integer
  184. endtime:
  185. description: 结束时间
  186. type: string
  187. istop:
  188. description: 是否置顶 - 0:不置顶 1:置顶
  189. type: integer
  190. msgiconurl:
  191. description: 消息图标Url
  192. type: string
  193. msgtype:
  194. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  195. type: integer
  196. publisher:
  197. description: 消息发布者
  198. type: string
  199. readed:
  200. description: 是否已读
  201. type: boolean
  202. scheduletime:
  203. description: 计划发送时间
  204. type: string
  205. sendtype:
  206. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  207. type: integer
  208. sentstatus:
  209. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  210. type: integer
  211. title:
  212. description: 标题
  213. type: string
  214. userid:
  215. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  216. type: integer
  217. required:
  218. - autoid
  219. type: object
  220. common.QueryProvincesAndCitiesRsp:
  221. properties:
  222. cities:
  223. description: 市
  224. items:
  225. $ref: '#/definitions/models.Division'
  226. type: array
  227. province:
  228. $ref: '#/definitions/models.Division'
  229. description: 省
  230. type: object
  231. common.QueryTableDefineRsp:
  232. properties:
  233. columns:
  234. description: 列头信息数组
  235. items:
  236. $ref: '#/definitions/models.Tablecolumnconfig'
  237. type: array
  238. remark:
  239. description: Remark
  240. type: string
  241. tabelmenu:
  242. description: 列表菜单
  243. type: string
  244. tablekey:
  245. description: 列表Key
  246. type: string
  247. tablename:
  248. description: 列表名称
  249. type: string
  250. tabletype:
  251. description: 列表类型 - 1:管理端 2:终端
  252. type: integer
  253. required:
  254. - tablekey
  255. type: object
  256. common.QueryTraderMenuRsp:
  257. properties:
  258. OperationMenu:
  259. description: 功能菜单
  260. items:
  261. $ref: '#/definitions/models.OperationPrimaryMenu'
  262. type: array
  263. QuoteMenu:
  264. description: 报价牌分类菜单
  265. items:
  266. $ref: '#/definitions/models.QuotePrimaryMenu'
  267. type: array
  268. type: object
  269. cptrade.Cptradepositioncancel:
  270. properties:
  271. accountid:
  272. description: 申请人账户ID
  273. type: integer
  274. applystatus:
  275. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  276. type: integer
  277. applytime:
  278. description: 申请时间
  279. type: string
  280. cancelid:
  281. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  282. type: integer
  283. cancelqty:
  284. description: 注销数量
  285. type: integer
  286. createtime:
  287. description: 创建时间
  288. type: string
  289. creatorid:
  290. description: 创建人ID
  291. type: integer
  292. creatorname:
  293. description: 创建人
  294. type: string
  295. goodscode:
  296. description: 订单商品代码
  297. type: string
  298. goodsid:
  299. description: 商品ID
  300. type: integer
  301. goodsname:
  302. description: 订单商品名称
  303. type: string
  304. goodunit:
  305. description: 报价单位
  306. type: string
  307. handlestatus:
  308. description: 处理状态
  309. type: integer
  310. marketid:
  311. description: 市场ID
  312. type: integer
  313. marketname:
  314. description: 市场名称
  315. type: string
  316. tradedate:
  317. description: 交易日(yyyyMMdd)
  318. type: string
  319. userid:
  320. description: 申请人ID
  321. type: integer
  322. required:
  323. - cancelid
  324. type: object
  325. cptrade.Cptradepresaleapply:
  326. properties:
  327. accountid:
  328. description: 申请人账户ID
  329. type: integer
  330. applyid:
  331. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  332. type: integer
  333. applyremark:
  334. description: 申请备注
  335. type: string
  336. applystatus:
  337. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  338. type: integer
  339. applytime:
  340. description: 申请时间
  341. type: string
  342. attachmenturl:
  343. description: 附件地址
  344. type: string
  345. endtime:
  346. description: 预售结束时间
  347. type: string
  348. goodscode:
  349. description: 商品代码
  350. type: string
  351. goodsid:
  352. description: 商品ID
  353. type: integer
  354. goodsname:
  355. description: 商品名称
  356. type: string
  357. goodunit:
  358. description: 报价单位
  359. type: string
  360. handlestatus:
  361. description: 处理状态
  362. type: integer
  363. marketid:
  364. description: 预售市场ID
  365. type: integer
  366. marketname:
  367. description: 预售市场名称
  368. type: string
  369. presaleqty:
  370. description: 预售数量
  371. type: integer
  372. relatedgoodscode:
  373. description: 关联交易合约代码
  374. type: string
  375. relatedgoodsid:
  376. description: 关联交易合约ID
  377. type: integer
  378. relatedgoodsname:
  379. description: 关联交易合约名称
  380. type: string
  381. starttime:
  382. description: 预售开始时间
  383. type: string
  384. tradedate:
  385. description: 交易日(yyyyMMdd)
  386. type: string
  387. trademode:
  388. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  389. type: integer
  390. userid:
  391. description: 申请人ID
  392. type: integer
  393. required:
  394. - applyid
  395. type: object
  396. cptrade.Cptradeusergoodsdata:
  397. properties:
  398. EnabledQty:
  399. description: 可用量
  400. type: integer
  401. GoodsCode:
  402. description: 订单商品代码
  403. type: string
  404. GoodsName:
  405. description: 订单商品名称
  406. type: string
  407. WRStandardCode:
  408. description: 仓单标准代码
  409. type: string
  410. WRStandardName:
  411. description: 仓单标准名称
  412. type: string
  413. accountid:
  414. description: 账户ID
  415. type: integer
  416. cancelqty:
  417. description: 注销量
  418. type: integer
  419. curpresaleqty:
  420. description: 当前预售量
  421. type: integer
  422. deliveryqty:
  423. description: 交割量
  424. type: integer
  425. freezeamount:
  426. description: 冻结金额
  427. type: number
  428. goodsid:
  429. description: 商品ID
  430. type: integer
  431. goodunit:
  432. description: 报价单位
  433. type: string
  434. hasspotfreeze:
  435. description: 是否有现货冻结 - 0:否 1:有
  436. type: integer
  437. inqty:
  438. description: 转入量(总数量)
  439. type: integer
  440. marketid:
  441. description: 市场ID
  442. type: integer
  443. presaledamount:
  444. description: 已预售总金额
  445. type: integer
  446. presaledqty:
  447. description: 已预售量
  448. type: integer
  449. userid:
  450. description: 用户ID
  451. type: integer
  452. wrstandardid:
  453. description: 仓单标准ID
  454. type: integer
  455. required:
  456. - accountid
  457. - goodsid
  458. type: object
  459. cptrade.QueryCPTradeMyBidRsp:
  460. properties:
  461. accountid:
  462. description: 账户ID[报价币种]
  463. type: integer
  464. goodsid:
  465. description: 商品ID
  466. type: integer
  467. goodunit:
  468. description: 报价单位
  469. type: string
  470. marketid:
  471. description: 市场ID
  472. type: integer
  473. orderid:
  474. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  475. type: integer
  476. orderprice:
  477. description: 委托价格
  478. type: number
  479. orderqty:
  480. description: 委托数量
  481. type: integer
  482. ordertime:
  483. description: 委托时间
  484. type: string
  485. ordertotalprice:
  486. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  487. type: number
  488. ordertotalweight:
  489. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  490. type: integer
  491. totaltotalprice:
  492. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  493. type: number
  494. tradeprice:
  495. description: 成交价格
  496. type: number
  497. tradeqty:
  498. description: 成交数量
  499. type: integer
  500. required:
  501. - accountid
  502. - goodsid
  503. - marketid
  504. - orderid
  505. - orderqty
  506. - ordertime
  507. - tradeprice
  508. - tradeqty
  509. type: object
  510. cptrade.QueryCPTradeOrderDetailRsq:
  511. properties:
  512. accountid:
  513. description: 账户ID[报价币种]
  514. type: integer
  515. buildtype:
  516. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  517. type: integer
  518. buyorsell:
  519. description: 买卖 - 0:买 1:卖
  520. type: integer
  521. cancelorderid:
  522. description: 撤单单号(撤单时填写)
  523. type: integer
  524. cancelqty:
  525. description: 撤单数量
  526. type: integer
  527. clientordertime:
  528. description: 客户端委托时间
  529. type: string
  530. clientticket:
  531. description: 客户端流水号
  532. type: string
  533. clienttype:
  534. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  535. type: integer
  536. closeexchagechargevalue:
  537. description: 平仓交易所手续费设置值
  538. type: number
  539. closefeealgorithm:
  540. description: 平仓手续费收取方式 1:比率 2:固定
  541. type: integer
  542. closefreezecharge:
  543. description: 平仓冻结手续费(先建后平操作,需要记录)
  544. type: number
  545. closememberchargevalue:
  546. description: 平仓会员手续费设置值
  547. type: number
  548. closeqty:
  549. description: 平仓数量(先建后平操作 需要记录)
  550. type: integer
  551. closetradeqty:
  552. description: 平仓成交数量(先建后平操作,需要记录)
  553. type: integer
  554. closeunfreezecharge:
  555. description: 平仓解冻手续费(先建后平操作,需要记录)
  556. type: number
  557. delistingtype:
  558. description: 摘牌类型 - 1:价格最优 2:点选成交
  559. type: integer
  560. freezecharge:
  561. description: 冻结手续费
  562. type: number
  563. freezemargin:
  564. description: 冻结保证金(冻结交易金额)
  565. type: number
  566. gcaccountid:
  567. description: 账户ID[合约币种]
  568. type: integer
  569. goodsid:
  570. description: 商品ID
  571. type: integer
  572. isconfirmexercise:
  573. description: 是否确认行权- 0:否 1:是
  574. type: integer
  575. ispreexercise:
  576. description: 是否预申报- 0:否 1:是
  577. type: integer
  578. listingselecttype:
  579. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  580. type: integer
  581. marginalgorithm:
  582. description: 保证金收取方式 1:比率 2:固定
  583. type: integer
  584. marginvalue:
  585. description: 即市保证金设置值
  586. type: number
  587. marketid:
  588. description: 市场ID
  589. type: integer
  590. marketmaxsub:
  591. description: 市价最大偏移范围
  592. type: number
  593. memberuserid:
  594. description: 所属会员UserID
  595. type: integer
  596. openexchagechargevalue:
  597. description: 建仓交易所手续费设置值
  598. type: number
  599. openfeealgorithm:
  600. description: 建仓手续费收取方式 1:比率 2:固定
  601. type: integer
  602. openfreezecharge:
  603. description: 开仓冻结手续费(先建后平操作,需要记录)
  604. type: number
  605. openmemberchargevalue:
  606. description: 建仓会员手续费设置值
  607. type: number
  608. openqty:
  609. description: 开仓数量(先建后平操作,需要记录)
  610. type: integer
  611. opentradeqty:
  612. description: 开仓成交数量(先建后平操作,需要记录)
  613. type: integer
  614. openunfreezecharge:
  615. description: 开仓解冻手续费(先建后平操作,需要记录)
  616. type: number
  617. operatetype:
  618. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  619. type: integer
  620. operatorid:
  621. description: 登录账号(LoginID)
  622. type: integer
  623. optiontype:
  624. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  625. type: integer
  626. orderprice:
  627. description: 委托价格
  628. type: number
  629. orderqty:
  630. description: 委托数量
  631. type: integer
  632. ordersrc:
  633. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  634. type: integer
  635. orderstatus:
  636. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  637. type: integer
  638. ordertime:
  639. description: 委托时间
  640. type: string
  641. preexerciseprice:
  642. description: 预申报价格
  643. type: number
  644. premium:
  645. description: 权利金
  646. type: number
  647. preorderid:
  648. description: 关联预埋单号(止盈止损单时填写)
  649. type: integer
  650. pricemode:
  651. description: '取价方式 - 1:市价 2: 限价'
  652. type: integer
  653. quoteid:
  654. description: 报价单ID
  655. type: integer
  656. relatedid:
  657. description: 关联单号(交割单)
  658. type: integer
  659. retcode:
  660. description: 错误代码
  661. type: integer
  662. sessionid:
  663. description: 会话ID
  664. type: integer
  665. strorderid:
  666. description: 委托单号
  667. type: string
  668. tradedate:
  669. description: 交易日(yyyyMMdd)
  670. type: string
  671. tradeproperty:
  672. description: 交易属性
  673. type: integer
  674. tradeqty:
  675. description: 成交数量
  676. type: integer
  677. unfreezecharge:
  678. description: 解冻手续费
  679. type: number
  680. unfreezemargin:
  681. description: 解冻保证金
  682. type: number
  683. updatetime:
  684. description: 更新时间
  685. type: string
  686. uuid:
  687. description: 发起端唯一id
  688. type: string
  689. validtime:
  690. description: 有效期限
  691. type: string
  692. validtype:
  693. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  694. type: integer
  695. volumetype:
  696. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  697. type: integer
  698. required:
  699. - accountid
  700. - buildtype
  701. - buyorsell
  702. - goodsid
  703. - marketid
  704. - memberuserid
  705. - operatetype
  706. - orderqty
  707. - ordertime
  708. - pricemode
  709. - strorderid
  710. - tradedate
  711. - validtype
  712. type: object
  713. cptrade.QueryMyCPTradeGoodsRsp:
  714. properties:
  715. accountid:
  716. description: 卖方账户ID
  717. type: integer
  718. agreeunit:
  719. description: 合约单位
  720. type: number
  721. applyid:
  722. description: 关联申请ID
  723. type: integer
  724. attachmenturl:
  725. description: 附件地址
  726. type: string
  727. createtime:
  728. description: 创建时间
  729. type: string
  730. currencyid:
  731. description: 报价货币ID
  732. type: integer
  733. decimalplace:
  734. description: 报价小数位
  735. type: integer
  736. endtime:
  737. description: 预售结束时间
  738. type: string
  739. floorprice:
  740. description: 底价[大宗式竞拍]
  741. type: number
  742. goodscode:
  743. description: 商品代码(预售)
  744. type: string
  745. goodsdetail:
  746. description: 详情[大宗]
  747. type: string
  748. goodsid:
  749. description: 商品ID(自增ID SEQ_GOODS)
  750. type: integer
  751. goodsname:
  752. description: 商品名称(预售)
  753. type: string
  754. goodunit:
  755. description: 报价单位
  756. type: string
  757. goodunitid:
  758. description: 报价单位ID
  759. type: integer
  760. marketid:
  761. description: 所属市场ID
  762. type: integer
  763. marketname:
  764. description: 预售市场名称
  765. type: string
  766. presaledamount:
  767. description: 已预售总金额(预售结束时更新)
  768. type: number
  769. presaledqty:
  770. description: 已预售量(预售结束时更新)
  771. type: integer
  772. presalemode:
  773. description: 预售模式 - 1:一口价 2:大宗式竞拍
  774. type: integer
  775. presaleqty:
  776. description: 预售数量
  777. type: integer
  778. refprice:
  779. description: 参考价格[一口价]
  780. type: number
  781. relatedgoodscode:
  782. description: 商品代码(订单)
  783. type: string
  784. relatedgoodsid:
  785. description: 关联交易合约ID
  786. type: integer
  787. relatedgoodsname:
  788. description: 商品名称(订单)
  789. type: string
  790. relatedmarketid:
  791. description: 关联交易合约市场ID
  792. type: integer
  793. sellstatus:
  794. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  795. type: integer
  796. startprice:
  797. description: 起拍价[大宗式竞拍]
  798. type: number
  799. starttime:
  800. description: 预售开始时间
  801. type: string
  802. tradedate:
  803. description: 交易日(yyyyMMdd)
  804. type: string
  805. tradeprice:
  806. description: 成交价[大宗]
  807. type: number
  808. userid:
  809. description: 卖方用户ID
  810. type: integer
  811. required:
  812. - goodscode
  813. - goodsid
  814. - goodsname
  815. - marketid
  816. - relatedgoodscode
  817. - relatedgoodsname
  818. type: object
  819. cptrade.QueryPresaleGoodsExRsp:
  820. properties:
  821. attachmenturl:
  822. description: 附件地址
  823. type: string
  824. createtime:
  825. description: 创建时间
  826. type: string
  827. endtime:
  828. description: 预售结束时间
  829. type: string
  830. floorprice:
  831. description: 底价[大宗式竞拍]
  832. type: number
  833. goodsdetail:
  834. description: 详情[大宗]
  835. type: string
  836. goodsid:
  837. description: 商品ID(预售)
  838. type: integer
  839. goodunit:
  840. description: 报价单位
  841. type: string
  842. marketid:
  843. description: 预售市场ID - 根据预售模式选择市场
  844. type: integer
  845. presaledamount:
  846. description: 已预售总金额(预售结束时更新)
  847. type: number
  848. presaledqty:
  849. description: 已预售量(预售结束时更新)
  850. type: integer
  851. presalemode:
  852. description: 预售模式 - 1:一口价 2:大宗式竞拍
  853. type: integer
  854. presaleqty:
  855. description: 预售数量
  856. type: integer
  857. refprice:
  858. description: 参考价格[一口价]
  859. type: number
  860. relatedgoodsid:
  861. description: 关联交易合约ID
  862. type: integer
  863. relatedmarketid:
  864. description: 关联交易合约市场ID
  865. type: integer
  866. sellstatus:
  867. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  868. type: integer
  869. startprice:
  870. description: 起拍价[大宗式竞拍]
  871. type: number
  872. starttime:
  873. description: 预售开始时间
  874. type: string
  875. tradedate:
  876. description: 交易日(yyyyMMdd)
  877. type: string
  878. tradeprice:
  879. description: 成交价[大宗]
  880. type: number
  881. required:
  882. - goodsid
  883. type: object
  884. delivery.QueryDeliveryRelationRsp:
  885. properties:
  886. begindate:
  887. description: 起始日期(yyyyMMdd)
  888. type: string
  889. buytemplateid:
  890. description: 买履约计划模板ID
  891. type: integer
  892. deliverygoodscode:
  893. description: 品种代码
  894. type: string
  895. deliverygoodsid:
  896. description: 交割商品
  897. type: integer
  898. deliverygoodsname:
  899. description: 品种名称
  900. type: string
  901. deliverymode:
  902. description: 交割方式 - 1:点选式 2:申报式
  903. type: integer
  904. deliverypricerule:
  905. description: 交割价规则- 1:行情价 2:建仓价
  906. type: integer
  907. deliverytype:
  908. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  909. type: integer
  910. enddate:
  911. description: 结束日期(yyyyMMdd)
  912. type: string
  913. enumdicname:
  914. description: 品类单位名称
  915. type: string
  916. goodscode:
  917. description: 商品代码
  918. type: string
  919. goodsid:
  920. description: 交易合约ID
  921. type: integer
  922. goodsname:
  923. description: 商品名称
  924. type: string
  925. marketid:
  926. description: 市场ID
  927. type: integer
  928. mindeliveryqty:
  929. description: 最小交割系数(K)
  930. type: integer
  931. p2deliveryprice:
  932. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  933. type: number
  934. p2deliveryratio:
  935. description: P2合约系数(p)
  936. type: integer
  937. p2goodsid:
  938. description: P2合约ID
  939. type: integer
  940. p2pricemode:
  941. description: P2合约价格方式 - 1:商品价 2:固定值
  942. type: integer
  943. pdeliveryprice:
  944. description: P合约价格(商品价时填写0,固定值时填写固定值)
  945. type: number
  946. pdeliveryratio:
  947. description: P合约系数(n)
  948. type: integer
  949. pgoodscode:
  950. description: p合约代码
  951. type: string
  952. pgoodsid:
  953. description: P合约ID
  954. type: integer
  955. ppricemode:
  956. description: P合约价格方式 - 1:商品价 2:固定值
  957. type: integer
  958. rratio:
  959. description: 兑换系数(R)
  960. type: integer
  961. rratio1:
  962. description: 兑换系数(交易合约)(R1)
  963. type: integer
  964. rratio2:
  965. description: 兑换系数(仓单标准)(R2)
  966. type: integer
  967. selltemplateid:
  968. description: 卖履约计划模板ID
  969. type: integer
  970. wrstandardid:
  971. description: 仓单标准ID
  972. type: integer
  973. xdeliveryratio:
  974. description: 交易合约系数(m)
  975. type: integer
  976. required:
  977. - begindate
  978. - enddate
  979. - goodsid
  980. - mindeliveryqty
  981. - xdeliveryratio
  982. type: object
  983. ermcp.ExposureDetailRsp:
  984. properties:
  985. areauserid:
  986. description: 机构ID
  987. type: integer
  988. changeQty:
  989. description: 套保变动量
  990. type: number
  991. contracttype:
  992. description: 现货合同类型 - 1:采购 -1:销售
  993. type: integer
  994. convertfactor:
  995. description: 标仓系数
  996. type: number
  997. convertratio:
  998. description: 套保系数
  999. type: number
  1000. createtime:
  1001. description: 时间
  1002. type: string
  1003. enumdicname:
  1004. description: 现货商品单位名称
  1005. type: string
  1006. logtype:
  1007. description: 类型 - 1:套保计划 2:现货合同
  1008. type: integer
  1009. middlegoodsId:
  1010. description: 套保商品id
  1011. type: integer
  1012. middlegoodscode:
  1013. description: 套保商品代码
  1014. type: string
  1015. middlegoodsname:
  1016. description: 套保商品名称
  1017. type: string
  1018. qty:
  1019. description: 数量
  1020. type: number
  1021. relateNo:
  1022. description: 现货合同/套保计划编号
  1023. type: string
  1024. wrstandardcode:
  1025. description: 现货商品代码
  1026. type: string
  1027. wrstandardid:
  1028. description: 现货商品ID
  1029. type: integer
  1030. wrstandardname:
  1031. description: 现货商品名称
  1032. type: string
  1033. type: object
  1034. ermcp.ExposureHedgePosDetailRsp:
  1035. properties:
  1036. buyorsell:
  1037. description: 买卖方向 0-买 1-卖
  1038. type: integer
  1039. channelbuildtype:
  1040. description: 开平方向 1-建仓 2-平仓
  1041. type: integer
  1042. goodscode:
  1043. description: 商品代码
  1044. type: string
  1045. goodsname:
  1046. description: 商品名称
  1047. type: string
  1048. hedgegoodsid:
  1049. description: 商品id
  1050. type: integer
  1051. tradeqty:
  1052. description: 数量(成交数量)
  1053. type: integer
  1054. tradetime:
  1055. description: 时间(成交时间)
  1056. type: string
  1057. type: object
  1058. ermcp.ExposureHedgePositionRsp:
  1059. properties:
  1060. accountid:
  1061. description: 资金账号[外部母账户]
  1062. type: integer
  1063. curbuyposition:
  1064. description: 期末买头寸
  1065. type: integer
  1066. cursellposition:
  1067. description: 期末卖头寸
  1068. type: integer
  1069. curtdbuyposition:
  1070. description: 期末今日买头寸
  1071. type: integer
  1072. curtdsellposition:
  1073. description: 期末今日卖头寸
  1074. type: integer
  1075. curydbuyposition:
  1076. description: 期末上日买头寸
  1077. type: integer
  1078. curydsellposition:
  1079. description: 期末上日卖头寸
  1080. type: integer
  1081. decreaseqty:
  1082. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1083. type: integer
  1084. fretdbuyposition:
  1085. description: 冻结今日买头寸
  1086. type: integer
  1087. fretdsellposition:
  1088. description: 冻结今日卖头寸
  1089. type: integer
  1090. freydbuyposition:
  1091. description: 冻结上日买头寸
  1092. type: integer
  1093. freydsellposition:
  1094. description: 冻结上日卖头寸
  1095. type: integer
  1096. goodscode:
  1097. description: 商品代码
  1098. type: string
  1099. goodsid:
  1100. description: 商品id
  1101. type: integer
  1102. goodsname:
  1103. description: 商品名称
  1104. type: string
  1105. hedgeaccountcode:
  1106. description: 对冲账号
  1107. type: string
  1108. hedgegoodsid:
  1109. description: 对冲合约ID
  1110. type: integer
  1111. increaseqty:
  1112. description: 增加数量 = 期末买头寸 - 期初买头寸
  1113. type: integer
  1114. marketid:
  1115. description: 市场ID
  1116. type: integer
  1117. relateduserid:
  1118. description: 关联用户id
  1119. type: integer
  1120. totalcurqty:
  1121. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1122. type: integer
  1123. totalydqty:
  1124. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1125. type: integer
  1126. tradedate:
  1127. description: 交易日(yyyyMMdd)
  1128. type: string
  1129. ydbuyposition:
  1130. description: 期初买头寸
  1131. type: integer
  1132. ydsellposition:
  1133. description: 期初卖头寸
  1134. type: integer
  1135. type: object
  1136. ermcp.ExposureSpotDetailRsp:
  1137. properties:
  1138. contracttype:
  1139. description: 合同类型 1-采购 -1-销售
  1140. type: integer
  1141. createtime:
  1142. description: 创建时间
  1143. type: string
  1144. enumdicname:
  1145. description: 现货商品单位名称
  1146. type: string
  1147. logtype:
  1148. description: 记录类型 1-套保 2-现货合同
  1149. type: integer
  1150. qty:
  1151. description: 数量
  1152. type: number
  1153. recordname:
  1154. description: 类型名称
  1155. type: string
  1156. relatedid:
  1157. description: 套保计划ID/现货合同ID
  1158. type: string
  1159. relatedno:
  1160. description: 编号
  1161. type: string
  1162. strtime:
  1163. description: 时间
  1164. type: string
  1165. wrstandardcode:
  1166. description: 现货商品代码
  1167. type: string
  1168. wrstandardname:
  1169. description: 现货商品名称
  1170. type: string
  1171. type: object
  1172. ermcp.ExposureSpotRsp:
  1173. properties:
  1174. areauserid:
  1175. description: 所属机构
  1176. type: integer
  1177. decreaseqty:
  1178. description: 减少数量=-(销售已定价数量+采购计划数量)
  1179. type: number
  1180. increaseqty:
  1181. description: 增加数量=销售计划数量+采购已定价数量
  1182. type: number
  1183. oritoalspotqty:
  1184. description: 昨日数量
  1185. type: number
  1186. totalspotqty:
  1187. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1188. type: number
  1189. updatetime:
  1190. description: 更新时间
  1191. type: string
  1192. wrstandardcode:
  1193. description: 现货品种代码
  1194. type: string
  1195. wrstandardid:
  1196. description: 现货商品ID
  1197. type: integer
  1198. wrstandardname:
  1199. description: 现货品种
  1200. type: string
  1201. type: object
  1202. ermcp.HisExposureRsp:
  1203. properties:
  1204. data:
  1205. description: 历史敞口
  1206. items:
  1207. $ref: '#/definitions/models.ErmcpHisExposure'
  1208. type: array
  1209. enumdicname:
  1210. description: 单位名称
  1211. type: string
  1212. middlegoodscode:
  1213. description: 套保品种代码
  1214. type: string
  1215. middlegoodsid:
  1216. description: 套保品种ID
  1217. type: integer
  1218. middlegoodsname:
  1219. description: 套保品种名称
  1220. type: string
  1221. type: object
  1222. ermcp.PendingAuditCntRsp:
  1223. properties:
  1224. areastockqty:
  1225. description: '待审核数量: 库存申请'
  1226. type: integer
  1227. businessdjqty:
  1228. description: '待审核数量: 点价'
  1229. type: integer
  1230. businessfpqty:
  1231. description: '待审核数量: 发票'
  1232. type: integer
  1233. businessjsqty:
  1234. description: '待审核数量: 结算'
  1235. type: integer
  1236. businesskxqty:
  1237. description: '待审核数量: 款项'
  1238. type: integer
  1239. hedgeplanqty:
  1240. description: '待审核数量: 套保计划'
  1241. type: integer
  1242. spotcontractqty:
  1243. description: '待审核数量: 现货合同'
  1244. type: integer
  1245. userqty:
  1246. description: '待审核数量: 用户'
  1247. type: integer
  1248. type: object
  1249. ermcp.QryAvalidGPRsp:
  1250. properties:
  1251. goodsgroupid:
  1252. description: 期货品种id
  1253. type: integer
  1254. goodsgroupname:
  1255. description: 期货品种名称
  1256. type: string
  1257. goodunitid:
  1258. description: 品种单位id
  1259. type: integer
  1260. goodunitname:
  1261. description: 品种单位名称
  1262. type: string
  1263. outergroupcode:
  1264. description: 期货品种代码
  1265. type: string
  1266. type: object
  1267. ermcp.QryBusinessDjRsp:
  1268. properties:
  1269. amount:
  1270. description: 点价金额=(点价价格+升贴水)*点价数量
  1271. type: number
  1272. applyid:
  1273. description: 申请人
  1274. type: string
  1275. applyname:
  1276. description: 申请人名称
  1277. type: string
  1278. applystatus:
  1279. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1280. type: integer
  1281. applytime:
  1282. description: 申请时间
  1283. type: string
  1284. attachurl:
  1285. description: 附件
  1286. type: string
  1287. auditid:
  1288. description: 审核人ID
  1289. type: string
  1290. auditname:
  1291. description: 审核人名称
  1292. type: string
  1293. auditremark:
  1294. description: 审核备注
  1295. type: string
  1296. audittime:
  1297. description: 审核时间
  1298. type: string
  1299. buyusername:
  1300. description: 采购方名称
  1301. type: string
  1302. contractno:
  1303. description: 合同编号
  1304. type: string
  1305. contractstatus:
  1306. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1307. type: integer
  1308. contracttype:
  1309. description: 现货合同类型 - 1:采购 -1:销售
  1310. type: integer
  1311. deliverygoodscode:
  1312. description: 现货品种代码
  1313. type: string
  1314. deliverygoodsid:
  1315. description: 现货商品ID
  1316. type: integer
  1317. deliverygoodsname:
  1318. description: 现货品种名称
  1319. type: string
  1320. enumdicname:
  1321. description: 单位名称
  1322. type: string
  1323. goodscode:
  1324. description: 点价合约
  1325. type: string
  1326. goodsname:
  1327. description: 商品名称
  1328. type: string
  1329. operateapplyid:
  1330. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1331. type: string
  1332. operateapplytype:
  1333. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1334. type: integer
  1335. pricedPrice:
  1336. description: 点价价格(非必填)
  1337. type: number
  1338. pricedQty:
  1339. description: 点价数量(非必填)
  1340. type: number
  1341. pricemove:
  1342. description: 升贴水
  1343. type: number
  1344. pricetype:
  1345. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1346. type: integer
  1347. relatedid:
  1348. description: 现货合同ID
  1349. type: string
  1350. sellusername:
  1351. description: 销售方名字
  1352. type: string
  1353. userid:
  1354. description: 用户ID
  1355. type: integer
  1356. wrstandardcode:
  1357. description: 品类代码
  1358. type: string
  1359. wrstandardid:
  1360. description: 品类id
  1361. type: integer
  1362. wrstandardname:
  1363. description: 品类名称
  1364. type: string
  1365. type: object
  1366. ermcp.QryBussinessFpRsp:
  1367. properties:
  1368. applyid:
  1369. description: 申请人
  1370. type: string
  1371. applyname:
  1372. description: 申请人名称
  1373. type: string
  1374. applystatus:
  1375. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1376. type: integer
  1377. applytime:
  1378. description: 申请时间
  1379. type: string
  1380. attachurl:
  1381. description: 附件
  1382. type: string
  1383. auditid:
  1384. description: 审核人ID
  1385. type: string
  1386. auditname:
  1387. description: 审核人名称
  1388. type: string
  1389. auditremark:
  1390. description: 审核备注
  1391. type: string
  1392. audittime:
  1393. description: 审核时间
  1394. type: string
  1395. buyusername:
  1396. description: 采购方名称
  1397. type: string
  1398. contractno:
  1399. description: 合同编号
  1400. type: string
  1401. contractstatus:
  1402. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1403. type: integer
  1404. contracttype:
  1405. description: 现货合同类型 - 1:采购 -1:销售
  1406. type: integer
  1407. deliverygoodscode:
  1408. description: 现货品种代码
  1409. type: string
  1410. deliverygoodsid:
  1411. description: 现货商品ID
  1412. type: integer
  1413. deliverygoodsname:
  1414. description: 现货品种名称
  1415. type: string
  1416. enumdicname:
  1417. description: 单位名称
  1418. type: string
  1419. goodscode:
  1420. description: 点价合约
  1421. type: string
  1422. goodsname:
  1423. description: 商品名称
  1424. type: string
  1425. invoiceamount:
  1426. description: 已开收票金额(销售为开票,采购为收票)
  1427. type: number
  1428. operateapplyid:
  1429. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1430. type: string
  1431. operateapplytype:
  1432. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1433. type: integer
  1434. pricemove:
  1435. description: 升贴水
  1436. type: number
  1437. pricetype:
  1438. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1439. type: integer
  1440. relatedid:
  1441. description: 现货合同ID
  1442. type: string
  1443. sellusername:
  1444. description: 销售方名字
  1445. type: string
  1446. userid:
  1447. description: 用户ID
  1448. type: integer
  1449. wrstandardcode:
  1450. description: 品类代码
  1451. type: string
  1452. wrstandardid:
  1453. description: 品类id
  1454. type: integer
  1455. wrstandardname:
  1456. description: 品类名称
  1457. type: string
  1458. type: object
  1459. ermcp.QryBussinessJsExRsp:
  1460. properties:
  1461. applyid:
  1462. description: 申请人
  1463. type: string
  1464. applyname:
  1465. description: 申请人名称
  1466. type: string
  1467. applystatus:
  1468. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1469. type: integer
  1470. applytime:
  1471. description: 申请时间
  1472. type: string
  1473. attachurl:
  1474. description: 附件
  1475. type: string
  1476. auditid:
  1477. description: 审核人ID
  1478. type: string
  1479. auditname:
  1480. description: 审核人名称
  1481. type: string
  1482. auditremark:
  1483. description: 审核备注
  1484. type: string
  1485. audittime:
  1486. description: 审核时间
  1487. type: string
  1488. buyusername:
  1489. description: 采购方名称
  1490. type: string
  1491. contractno:
  1492. description: 合同编号
  1493. type: string
  1494. contractstatus:
  1495. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1496. type: integer
  1497. contracttype:
  1498. description: 现货合同类型 - 1:采购 -1:销售
  1499. type: integer
  1500. deliverygoodscode:
  1501. description: 现货品种代码
  1502. type: string
  1503. deliverygoodsid:
  1504. description: 现货商品ID
  1505. type: integer
  1506. deliverygoodsname:
  1507. description: 现货品种名称
  1508. type: string
  1509. enumdicname:
  1510. description: 单位名称
  1511. type: string
  1512. goodscode:
  1513. description: 点价合约
  1514. type: string
  1515. goodsname:
  1516. description: 商品名称
  1517. type: string
  1518. operateapplyid:
  1519. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1520. type: string
  1521. operateapplytype:
  1522. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1523. type: integer
  1524. pricemove:
  1525. description: 升贴水
  1526. type: number
  1527. pricetype:
  1528. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1529. type: integer
  1530. reckontype:
  1531. description: 结算类型
  1532. type: string
  1533. reckonvalue:
  1534. description: 值
  1535. type: number
  1536. relatedid:
  1537. description: 现货合同ID
  1538. type: string
  1539. sellusername:
  1540. description: 销售方名字
  1541. type: string
  1542. userid:
  1543. description: 用户ID
  1544. type: integer
  1545. wrstandardcode:
  1546. description: 品类代码
  1547. type: string
  1548. wrstandardid:
  1549. description: 品类id
  1550. type: integer
  1551. wrstandardname:
  1552. description: 品类名称
  1553. type: string
  1554. type: object
  1555. ermcp.QryBussinessJsRsp:
  1556. properties:
  1557. addmargin:
  1558. description: 追加保证金(非必填)
  1559. type: number
  1560. applyid:
  1561. description: 申请人
  1562. type: string
  1563. applyname:
  1564. description: 申请人名称
  1565. type: string
  1566. applystatus:
  1567. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1568. type: integer
  1569. applytime:
  1570. description: 申请时间
  1571. type: string
  1572. attachurl:
  1573. description: 附件
  1574. type: string
  1575. auditid:
  1576. description: 审核人ID
  1577. type: string
  1578. auditname:
  1579. description: 审核人名称
  1580. type: string
  1581. auditremark:
  1582. description: 审核备注
  1583. type: string
  1584. audittime:
  1585. description: 审核时间
  1586. type: string
  1587. buyusername:
  1588. description: 采购方名称
  1589. type: string
  1590. contractno:
  1591. description: 合同编号
  1592. type: string
  1593. contractstatus:
  1594. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1595. type: integer
  1596. contracttype:
  1597. description: 现货合同类型 - 1:采购 -1:销售
  1598. type: integer
  1599. decmargin:
  1600. description: 减少保证金(非必填)
  1601. type: number
  1602. deliverygoodscode:
  1603. description: 现货品种代码
  1604. type: string
  1605. deliverygoodsid:
  1606. description: 现货商品ID
  1607. type: integer
  1608. deliverygoodsname:
  1609. description: 现货品种名称
  1610. type: string
  1611. enumdicname:
  1612. description: 单位名称
  1613. type: string
  1614. goodscode:
  1615. description: 点价合约
  1616. type: string
  1617. goodsname:
  1618. description: 商品名称
  1619. type: string
  1620. operateapplyid:
  1621. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1622. type: string
  1623. operateapplytype:
  1624. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1625. type: integer
  1626. pricemove:
  1627. description: 升贴水
  1628. type: number
  1629. pricetype:
  1630. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1631. type: integer
  1632. reckonadjustamount:
  1633. description: 结算调整金额(非必填)
  1634. type: number
  1635. reckonosamount:
  1636. description: 结算溢短金额(非必填)
  1637. type: number
  1638. reckonotheramount:
  1639. description: 结算其他费用(非必填)
  1640. type: number
  1641. reckonrealqty:
  1642. description: 结算实际数量(非必填)
  1643. type: number
  1644. relatedid:
  1645. description: 现货合同ID
  1646. type: string
  1647. sellusername:
  1648. description: 销售方名字
  1649. type: string
  1650. userid:
  1651. description: 用户ID
  1652. type: integer
  1653. wrstandardcode:
  1654. description: 品类代码
  1655. type: string
  1656. wrstandardid:
  1657. description: 品类id
  1658. type: integer
  1659. wrstandardname:
  1660. description: 品类名称
  1661. type: string
  1662. type: object
  1663. ermcp.QryBussinessKxRsp:
  1664. properties:
  1665. applyid:
  1666. description: 申请人
  1667. type: string
  1668. applyname:
  1669. description: 申请人名称
  1670. type: string
  1671. applystatus:
  1672. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1673. type: integer
  1674. applytime:
  1675. description: 申请时间
  1676. type: string
  1677. attachurl:
  1678. description: 附件
  1679. type: string
  1680. auditid:
  1681. description: 审核人ID
  1682. type: string
  1683. auditname:
  1684. description: 审核人名称
  1685. type: string
  1686. auditremark:
  1687. description: 审核备注
  1688. type: string
  1689. audittime:
  1690. description: 审核时间
  1691. type: string
  1692. buyusername:
  1693. description: 采购方名称
  1694. type: string
  1695. contractno:
  1696. description: 合同编号
  1697. type: string
  1698. contractstatus:
  1699. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1700. type: integer
  1701. contracttype:
  1702. description: 现货合同类型 - 1:采购 -1:销售
  1703. type: integer
  1704. deductamount:
  1705. description: 退款(非必填)
  1706. type: number
  1707. deliverygoodscode:
  1708. description: 现货品种代码
  1709. type: string
  1710. deliverygoodsid:
  1711. description: 现货商品ID
  1712. type: integer
  1713. deliverygoodsname:
  1714. description: 现货品种名称
  1715. type: string
  1716. enumdicname:
  1717. description: 单位名称
  1718. type: string
  1719. goodscode:
  1720. description: 点价合约
  1721. type: string
  1722. goodsname:
  1723. description: 商品名称
  1724. type: string
  1725. kxtype:
  1726. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1727. type: integer
  1728. operateapplyid:
  1729. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1730. type: string
  1731. operateapplytype:
  1732. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1733. type: integer
  1734. payamount:
  1735. description: 收付款(非必填)
  1736. type: number
  1737. pricemove:
  1738. description: 升贴水
  1739. type: number
  1740. pricetype:
  1741. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1742. type: integer
  1743. relatedid:
  1744. description: 现货合同ID
  1745. type: string
  1746. sellusername:
  1747. description: 销售方名字
  1748. type: string
  1749. userid:
  1750. description: 用户ID
  1751. type: integer
  1752. wrstandardcode:
  1753. description: 品类代码
  1754. type: string
  1755. wrstandardid:
  1756. description: 品类id
  1757. type: integer
  1758. wrstandardname:
  1759. description: 品类名称
  1760. type: string
  1761. type: object
  1762. ermcp.QryGGCovertCfgRsp:
  1763. properties:
  1764. convertratio:
  1765. description: 折算系数
  1766. type: number
  1767. destgoodsgroupid:
  1768. description: 目标品种ID
  1769. type: integer
  1770. dstcode:
  1771. description: 目录品种代码
  1772. type: string
  1773. dstexchangecode:
  1774. description: 目标期货交易所
  1775. type: string
  1776. dstname:
  1777. description: 目标品种名称
  1778. type: string
  1779. dstunitid:
  1780. description: 目标品种单位ID
  1781. type: integer
  1782. dstunitidname:
  1783. description: 目标品种单位名称
  1784. type: string
  1785. modifytime:
  1786. description: 修改时间
  1787. type: string
  1788. srccode:
  1789. description: 源品种代码
  1790. type: string
  1791. srcexchangecode:
  1792. description: 源期货交易所
  1793. type: string
  1794. srcgoodsgroupid:
  1795. description: 源品种ID
  1796. type: integer
  1797. srcname:
  1798. description: 源品种名称
  1799. type: string
  1800. srcunitid:
  1801. description: 源品种单位ID
  1802. type: integer
  1803. srcunitidname:
  1804. description: 源品种单位名称
  1805. type: string
  1806. type: object
  1807. ermcp.QryMGChangeLogRsp:
  1808. properties:
  1809. aftervalue:
  1810. description: 变更后
  1811. type: number
  1812. applyid:
  1813. description: 操作人
  1814. type: integer
  1815. applyname:
  1816. description: 操作人名称
  1817. type: string
  1818. applysrc:
  1819. description: 操作来源 - 1:管理端 2:终端
  1820. type: integer
  1821. beforevalue:
  1822. description: 变更前
  1823. type: number
  1824. changelogtype:
  1825. description: 变更流水类型 - 1:套保比率变更
  1826. type: integer
  1827. handlestatus:
  1828. description: 处理状态
  1829. type: integer
  1830. logdatetime:
  1831. description: 流水日期
  1832. type: string
  1833. logid:
  1834. description: 流水ID
  1835. type: integer
  1836. logremark:
  1837. description: 流水备注
  1838. type: string
  1839. middlegoodsid:
  1840. description: 套保品种ID
  1841. type: integer
  1842. tradedate:
  1843. description: 交易日(yyyyMMdd)
  1844. type: string
  1845. updatetime:
  1846. description: 更新时间
  1847. type: string
  1848. type: object
  1849. ermcp.QryMiddleGoodsDetailRsp:
  1850. properties:
  1851. cvList:
  1852. description: 期货品种折算列表
  1853. items:
  1854. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1855. type: array
  1856. mg:
  1857. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1858. description: 套保品种基本信息
  1859. wrcList:
  1860. description: 现货品种列表(现货商品折算配置)
  1861. items:
  1862. $ref: '#/definitions/models.WRSConverTDetail'
  1863. type: array
  1864. type: object
  1865. ermcp.QryMiddleGoodsRsp:
  1866. properties:
  1867. areauserid:
  1868. description: 机构用户ID
  1869. type: integer
  1870. createtime:
  1871. description: 修改时间
  1872. type: string
  1873. enumdicname:
  1874. description: 单位名称
  1875. type: string
  1876. evaluateratio:
  1877. description: 估价系数
  1878. type: number
  1879. goodsgroupid:
  1880. description: 关联期货品种ID
  1881. type: integer
  1882. goodsunitid:
  1883. description: 单位ID
  1884. type: integer
  1885. isvalid:
  1886. description: 状态 0-无效(停用) 1-有效(正常)
  1887. type: integer
  1888. middlegoodscode:
  1889. description: 套保品种代码
  1890. type: string
  1891. middlegoodsid:
  1892. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1893. type: integer
  1894. middlegoodsname:
  1895. description: 套保品种名称
  1896. type: string
  1897. modifytime:
  1898. description: 修改时间
  1899. type: string
  1900. needarbitrageratio:
  1901. description: 套利比例
  1902. type: number
  1903. needhedgeratio:
  1904. description: 套保比率
  1905. type: number
  1906. qtydecimalplace:
  1907. description: 数量小数位
  1908. type: integer
  1909. relatedgoodsid:
  1910. description: 关联交易商品ID
  1911. type: integer
  1912. relatedgoodstype:
  1913. description: 关联商品类型 - 1:期货合约 2:现货品种
  1914. type: integer
  1915. remark:
  1916. description: 备注
  1917. type: string
  1918. type: object
  1919. ermcp.QryOPLogRsp:
  1920. properties:
  1921. aftervalue:
  1922. description: 变更后
  1923. type: number
  1924. applyid:
  1925. description: 操作人ID
  1926. type: string
  1927. applyname:
  1928. description: 操作人名称
  1929. type: string
  1930. beforevalue:
  1931. description: 变更前
  1932. type: number
  1933. biztype:
  1934. description: 业务类型 - 1:套保计划 2:现货合同
  1935. type: integer
  1936. contracttype:
  1937. description: 现货合同类型 - 1:采购 -1:销售
  1938. type: integer
  1939. logvalue:
  1940. description: 数值
  1941. type: number
  1942. operatelogtype:
  1943. description: 操作流水类型
  1944. type: integer
  1945. operatelogtypedesc:
  1946. description: 操作流水类型名称
  1947. type: string
  1948. relatedid:
  1949. description: 现货合同ID\套保计划
  1950. type: string
  1951. updatetime:
  1952. description: 更新时间
  1953. type: string
  1954. type: object
  1955. ermcp.QryUserInfoRsp:
  1956. properties:
  1957. address:
  1958. description: 通讯地址
  1959. type: string
  1960. attachment1:
  1961. description: 附件1
  1962. type: string
  1963. audittime:
  1964. description: 审核时间
  1965. type: string
  1966. cardbackphotourl:
  1967. description: 证件反面图片地址
  1968. type: string
  1969. cardfrontphotourl:
  1970. description: 证件正面图片地址
  1971. type: string
  1972. cardnum:
  1973. description: 证件号码
  1974. type: string
  1975. cardtype:
  1976. description: 证件类型
  1977. type: integer
  1978. cardtypename:
  1979. description: 证件类型名称
  1980. type: string
  1981. cityid:
  1982. description: 市
  1983. type: integer
  1984. contactname:
  1985. description: 联系人
  1986. type: string
  1987. countryid:
  1988. description: 国家
  1989. type: integer
  1990. createtime:
  1991. description: 创建时间
  1992. type: string
  1993. customername:
  1994. description: 企业名称
  1995. type: string
  1996. districtid:
  1997. description: 区域
  1998. type: integer
  1999. email:
  2000. description: 邮件
  2001. type: string
  2002. legalpersonname:
  2003. description: 法人姓名(企业)
  2004. type: string
  2005. memberuserid:
  2006. description: 所属机构ID
  2007. type: integer
  2008. mobile:
  2009. description: 手机号码
  2010. type: string
  2011. modifytime:
  2012. description: 修改时间
  2013. type: string
  2014. nickname:
  2015. description: 昵称
  2016. type: string
  2017. provinceid:
  2018. description: 省
  2019. type: integer
  2020. remark:
  2021. description: 备注
  2022. type: string
  2023. status:
  2024. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2025. type: integer
  2026. statusdesc:
  2027. description: 账户状态中文描述
  2028. type: string
  2029. taxpayernum:
  2030. description: 纳税人识别号
  2031. type: string
  2032. telphone:
  2033. description: 联系电话
  2034. type: string
  2035. userid:
  2036. description: 用户ID
  2037. type: integer
  2038. userinfotype:
  2039. description: 客户类型
  2040. type: string
  2041. type: object
  2042. ermcp.QryWarehouseRsp:
  2043. properties:
  2044. address:
  2045. description: 详细地址
  2046. type: string
  2047. areauserid:
  2048. description: 所属机构
  2049. type: integer
  2050. autoid:
  2051. description: 自增ID(仓库ID)
  2052. type: integer
  2053. cityid:
  2054. description: 市
  2055. type: integer
  2056. contactname:
  2057. description: 联系人
  2058. type: string
  2059. contactnum:
  2060. description: 联系电话
  2061. type: string
  2062. countryid:
  2063. description: 国家
  2064. type: integer
  2065. createtime:
  2066. description: 创建时间
  2067. type: string
  2068. districtid:
  2069. description: 区
  2070. type: integer
  2071. hasvideo:
  2072. description: 是否有视频 - 0:无 1:有
  2073. type: integer
  2074. provinceid:
  2075. description: 省
  2076. type: integer
  2077. remark:
  2078. description: 审核备注
  2079. type: string
  2080. videourl:
  2081. description: 视频地址
  2082. type: string
  2083. warehousecode:
  2084. description: 仓库代码
  2085. type: string
  2086. warehousename:
  2087. description: 仓库名称
  2088. type: string
  2089. warehousestatus:
  2090. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2091. type: integer
  2092. warehousetype:
  2093. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2094. type: integer
  2095. type: object
  2096. ermcp.QueryErmcpTradePositionRsp:
  2097. properties:
  2098. agreeunit:
  2099. description: 合约单位
  2100. type: number
  2101. buyorsell:
  2102. description: 方向 - 0:买 1:卖
  2103. type: integer
  2104. curpositionqty:
  2105. description: 持仓(总仓数量, 期末头寸)
  2106. type: integer
  2107. curtdposition:
  2108. description: 今仓数量(期末今日头寸)
  2109. type: integer
  2110. curtdpositionenabled:
  2111. description: 今仓可用
  2112. type: integer
  2113. decimalplace:
  2114. description: 报价小数位
  2115. type: integer
  2116. enableqty:
  2117. description: 可用(总仓可用)
  2118. type: integer
  2119. exexchangename:
  2120. description: 外部交易所名称
  2121. type: string
  2122. exexehangecode:
  2123. description: 外部交易所代码
  2124. type: string
  2125. exexehangeid:
  2126. description: 外部交易所id
  2127. type: integer
  2128. goodscode:
  2129. description: 商品代码(内部)
  2130. type: string
  2131. goodsid:
  2132. description: 商品ID(自增ID SEQ_GOODS)
  2133. type: integer
  2134. goodsname:
  2135. description: 商品名称
  2136. type: string
  2137. last:
  2138. description: 现价
  2139. type: number
  2140. marketid:
  2141. description: 所属市场ID
  2142. type: integer
  2143. openaverageprice:
  2144. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2145. type: number
  2146. opencost:
  2147. description: 开仓成本
  2148. type: number
  2149. openpl:
  2150. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2151. type: number
  2152. outgoodscode:
  2153. description: 商品代码(外部)
  2154. type: string
  2155. positionaverageprice:
  2156. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2157. type: number
  2158. positioncost:
  2159. description: 持仓成本
  2160. type: number
  2161. positionpl:
  2162. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2163. type: number
  2164. positionplrate:
  2165. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2166. type: number
  2167. usedmargin:
  2168. description: 占用保证金
  2169. type: number
  2170. type: object
  2171. ermcp.RealtimeExposurePositionRsp:
  2172. properties:
  2173. agreeunit:
  2174. description: 合约单位
  2175. type: string
  2176. areauserid:
  2177. description: 所属机构id
  2178. type: integer
  2179. convertratio:
  2180. description: 期货品种系数(折算系数)
  2181. type: number
  2182. curqty:
  2183. description: 当前持仓
  2184. type: integer
  2185. diffhedgeqty:
  2186. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2187. type: number
  2188. diffqty:
  2189. description: 持仓变动量=当前持仓-昨日持仓
  2190. type: integer
  2191. goodscode:
  2192. description: 商品代码
  2193. type: string
  2194. goodsid:
  2195. description: 商品id
  2196. type: integer
  2197. goodsname:
  2198. description: 商品名称
  2199. type: string
  2200. middlegoodsid:
  2201. description: 套保商品id
  2202. type: integer
  2203. ydqty:
  2204. description: 昨日持仓
  2205. type: integer
  2206. type: object
  2207. ermcp.RealtimeExposureRsp:
  2208. properties:
  2209. AreaUserID:
  2210. description: 所属机构
  2211. type: integer
  2212. BuyFutureQty:
  2213. description: 买入期货数量
  2214. type: number
  2215. BuyPlanQty:
  2216. description: 采购计划数量
  2217. type: number
  2218. BuyPricedQty:
  2219. description: 采购合同已定价数量
  2220. type: number
  2221. MiddleGoodsCode:
  2222. description: 套保品种代码
  2223. type: string
  2224. MiddleGoodsHedgeRatio:
  2225. description: 套保比例
  2226. type: number
  2227. MiddleGoodsID:
  2228. description: 套保品种
  2229. type: integer
  2230. MiddleGoodsName:
  2231. description: 套保品种名称
  2232. type: string
  2233. NeedHedgeExposoure:
  2234. description: 应套保敞口(套保敞口)
  2235. type: number
  2236. NeedHedgeRatio:
  2237. description: 应套保敞口比例
  2238. type: number
  2239. OriBuyFutureQty:
  2240. description: 期初买入期货数量
  2241. type: number
  2242. OriBuyPlanQty:
  2243. description: 期初采购计划数量
  2244. type: number
  2245. OriBuyPricedQty:
  2246. description: 期初采购合同已定价数量
  2247. type: number
  2248. OriSellFutureQty:
  2249. description: 期初卖出期货数量
  2250. type: number
  2251. OriSellPlanQty:
  2252. description: 期初销售计划数量
  2253. type: number
  2254. OriSellPricedQty:
  2255. description: 期初销售合同已定价数量
  2256. type: number
  2257. OriTotalSpotQty:
  2258. description: 期初现货总量
  2259. type: number
  2260. SellFutureQty:
  2261. description: 卖出期货数量
  2262. type: number
  2263. SellPlanQty:
  2264. description: 销售计划数量
  2265. type: number
  2266. SellPricedQty:
  2267. description: 销售合同已定价数量
  2268. type: number
  2269. TotalExposure:
  2270. description: 总敞口 平安:净敞口
  2271. type: number
  2272. TotalFutureQty:
  2273. description: 期货总量 平安:保值净持仓量
  2274. type: number
  2275. TotalHedgeRatio:
  2276. description: 敞口比例
  2277. type: number
  2278. TotalNeedHedgeQty:
  2279. description: 应套保总量(现货应套保总量)
  2280. type: number
  2281. TotalSpotQty:
  2282. description: 现货总量 平安:采销定价净值
  2283. type: number
  2284. arbitrageqty:
  2285. description: 套利量
  2286. type: number
  2287. diffArbitrageQty:
  2288. description: 套利变动量
  2289. type: number
  2290. diffExposoureQty:
  2291. description: 变动量(套保敞口)
  2292. type: number
  2293. diffFutuQty:
  2294. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2295. type: number
  2296. diffHedgeQty:
  2297. description: 套保变动量
  2298. type: number
  2299. diffQty:
  2300. description: 变动量(总敞口) 平安:净敞口今日变动
  2301. type: number
  2302. diffSpotHedgeQty:
  2303. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2304. type: number
  2305. diffSpotQty:
  2306. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2307. type: number
  2308. enumdicname:
  2309. description: 单位名称
  2310. type: string
  2311. hedgeqty:
  2312. description: 套保量
  2313. type: number
  2314. needarbitrageqty:
  2315. description: 应套利量
  2316. type: number
  2317. needarbitrageratio:
  2318. description: 套利比例
  2319. type: number
  2320. needhedgeqty:
  2321. description: 应套保量
  2322. type: number
  2323. oriarbitrageqty:
  2324. description: 期初套利量
  2325. type: number
  2326. orihedgeqty:
  2327. description: 期初套保量
  2328. type: number
  2329. orineedhedgeexposoure:
  2330. description: 期初套保敞口
  2331. type: number
  2332. oritotalexposure:
  2333. description: 期初总敞口
  2334. type: number
  2335. oritotalfutureqty:
  2336. description: 期初期货总量
  2337. type: number
  2338. oritotalneedhedgeqty:
  2339. description: 期初现货应套保量
  2340. type: number
  2341. type: object
  2342. erms2.QueryArbitrageStrategyRsp:
  2343. properties:
  2344. applybasis:
  2345. description: 申请基差
  2346. type: number
  2347. asapplyid:
  2348. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2349. type: string
  2350. asname:
  2351. description: 策略名称
  2352. type: string
  2353. asno:
  2354. description: 策略编号
  2355. type: string
  2356. basischangepl:
  2357. description: 基差变动损益[结算更新]
  2358. type: number
  2359. biztype:
  2360. description: 业务类型 - 1:正向套利 -1:反向套利
  2361. type: integer
  2362. closetradedate:
  2363. description: 完结交易日(yyyyMMdd)
  2364. type: string
  2365. curbasis:
  2366. description: 当前基差[结算更新]
  2367. type: number
  2368. deliverygoodsid:
  2369. description: 现货品种ID
  2370. type: integer
  2371. futureavgprice:
  2372. description: 期货建仓均价
  2373. type: number
  2374. futurecloseamount:
  2375. description: 期货平仓金额
  2376. type: number
  2377. futurecloseqty:
  2378. description: 期货平仓数量
  2379. type: number
  2380. futureopenamount:
  2381. description: 期货开仓金额
  2382. type: number
  2383. futureopenqty:
  2384. description: 期货开仓数量
  2385. type: number
  2386. futurepl:
  2387. description: 期货总盈亏[结算更新]
  2388. type: number
  2389. futureqty:
  2390. description: 期货持仓数量
  2391. type: number
  2392. futurequote:
  2393. description: 期货额度
  2394. type: number
  2395. goodsgroupid:
  2396. description: 期货品种ID
  2397. type: integer
  2398. marketid:
  2399. description: 市场ID
  2400. type: integer
  2401. netexposure:
  2402. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2403. type: number
  2404. netexposurepl:
  2405. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2406. type: number
  2407. netexposurerate:
  2408. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2409. type: number
  2410. openbasis:
  2411. description: 建仓基差
  2412. type: number
  2413. pricedspotqty:
  2414. description: 已定价现货数量
  2415. type: number
  2416. pricedspotqtynotax:
  2417. description: 已定价现货不含税数量
  2418. type: number
  2419. remark:
  2420. description: 备注
  2421. type: string
  2422. spotavgprice:
  2423. description: 现货均价
  2424. type: number
  2425. spotbuyamount:
  2426. description: 现货采购金额
  2427. type: number
  2428. spotbuyqty:
  2429. description: 现货采购数量
  2430. type: number
  2431. spotpl:
  2432. description: 现货总盈亏[结算更新]
  2433. type: number
  2434. spotquota:
  2435. description: 现货额度
  2436. type: number
  2437. spotsellamount:
  2438. description: 现货销售金额
  2439. type: number
  2440. spotsellqty:
  2441. description: 现货销售数量
  2442. type: number
  2443. spotusedquota:
  2444. description: 现货占用资金
  2445. type: number
  2446. strategystatus:
  2447. description: 策略状态 - 0:未结束 1:已结束
  2448. type: integer
  2449. totalpl:
  2450. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2451. type: number
  2452. tradedate:
  2453. description: 交易日(yyyyMMdd)
  2454. type: string
  2455. updatetime:
  2456. description: 更新时间
  2457. type: string
  2458. usedquota:
  2459. description: 已占用资金
  2460. type: number
  2461. userid:
  2462. description: 所属机构
  2463. type: integer
  2464. required:
  2465. - asapplyid
  2466. type: object
  2467. erms2.QueryInnerTradeDetailRsp:
  2468. properties:
  2469. accountid:
  2470. description: 账号ID
  2471. type: integer
  2472. agreeunit:
  2473. description: 合约单位
  2474. type: number
  2475. asapplyid:
  2476. description: 策略申请ID
  2477. type: integer
  2478. asname:
  2479. description: 策略名称
  2480. type: string
  2481. asno:
  2482. description: 策略编号
  2483. type: string
  2484. buyorsell:
  2485. description: 方向 - 0:买 1:卖
  2486. type: integer
  2487. channelbuildtype:
  2488. description: 委托单据类型 0:无 1:建仓 2:平仓
  2489. type: integer
  2490. closetype:
  2491. description: 平仓方式 - 0:无 1:平今 2:平昨
  2492. type: integer
  2493. decimalplace:
  2494. description: 报价小数位
  2495. type: integer
  2496. detailtype:
  2497. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2498. type: integer
  2499. exexchangecode:
  2500. description: 外部交易所代码
  2501. type: string
  2502. exexchangename:
  2503. description: 外部交易所名称
  2504. type: string
  2505. goodscode:
  2506. description: 商品代码(合约)
  2507. type: string
  2508. goodsgroupid:
  2509. description: 商品组ID(品种ID)
  2510. type: integer
  2511. goodsgroupname:
  2512. description: 商品组名称(品种)
  2513. type: string
  2514. goodsid:
  2515. description: 商品ID
  2516. type: integer
  2517. goodsname:
  2518. description: 商品名称(合约)
  2519. type: string
  2520. goodunit:
  2521. description: 报价单位
  2522. type: string
  2523. marketid:
  2524. description: 市场ID
  2525. type: integer
  2526. orderid:
  2527. description: 委托单号
  2528. type: string
  2529. outgoodscode:
  2530. description: 商品代码(外部)
  2531. type: string
  2532. relatedouttradeid:
  2533. description: 关联外部成交单ID
  2534. type: string
  2535. remark:
  2536. description: 备注
  2537. type: string
  2538. spotcontractid:
  2539. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2540. type: integer
  2541. spotcontractno:
  2542. description: 现货合同编号
  2543. type: string
  2544. tradeid:
  2545. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2546. type: string
  2547. tradeprice:
  2548. description: 成交价格
  2549. type: number
  2550. tradeqty:
  2551. description: 成交数量
  2552. type: integer
  2553. tradetime:
  2554. description: 成交时间
  2555. type: string
  2556. updatetime:
  2557. description: 更新时间
  2558. type: string
  2559. required:
  2560. - asapplyid
  2561. - buyorsell
  2562. - goodscode
  2563. - goodsgroupid
  2564. - goodsgroupname
  2565. - goodsname
  2566. - tradeid
  2567. type: object
  2568. erms2.QuerySpotContractRsp:
  2569. properties:
  2570. accountid:
  2571. description: 资金账户ID
  2572. type: integer
  2573. areauserid:
  2574. description: 所属机构
  2575. type: integer
  2576. closedate:
  2577. description: 终止日期
  2578. type: string
  2579. closeremark:
  2580. description: 结束备注
  2581. type: string
  2582. closetradedate:
  2583. description: 完结交易日(yyyyMMdd)
  2584. type: string
  2585. closetype:
  2586. description: 终止类型 - 1:违约 2:提前终止
  2587. type: integer
  2588. contractamount:
  2589. description: 合同金额
  2590. type: number
  2591. contractattachment:
  2592. description: 合同附件
  2593. type: string
  2594. contractno:
  2595. description: 现货合同编号
  2596. type: string
  2597. contractqty:
  2598. description: 合同数量(数值) (用于计算)
  2599. type: number
  2600. contractqtychar:
  2601. description: 合同数量\已订价数量 (用于显示)
  2602. type: string
  2603. contractstatus:
  2604. description: 合同状态 - 0:未结束 1:已结束
  2605. type: integer
  2606. contracttype:
  2607. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2608. type: integer
  2609. customeraccountid:
  2610. description: 客户资金账户ID
  2611. type: integer
  2612. customeruserid:
  2613. description: 客户ID
  2614. type: integer
  2615. deliverygoodsdesc:
  2616. description: 品种说明
  2617. type: string
  2618. deliverygoodsid:
  2619. description: 现货品种ID
  2620. type: integer
  2621. handlestatus:
  2622. description: 处理状态
  2623. type: integer
  2624. invoiceatt:
  2625. description: 发票附件
  2626. type: string
  2627. invoicedatetime:
  2628. description: 开收票更新时间
  2629. type: string
  2630. invoiceopentime:
  2631. description: 开票时间
  2632. type: string
  2633. invoiceremark:
  2634. description: 发票备注
  2635. type: string
  2636. invoicestatus:
  2637. description: 开收票状态 - 0:未开票 1:已开票
  2638. type: integer
  2639. lastdate:
  2640. description: 交货时间
  2641. type: string
  2642. marketid:
  2643. description: 市场ID
  2644. type: integer
  2645. paydatetime:
  2646. description: 收付款更新时间
  2647. type: string
  2648. payremark:
  2649. description: 收付款备注
  2650. type: string
  2651. paystatus:
  2652. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2653. type: integer
  2654. positionqty:
  2655. description: 头寸数量 - 合同数量去小数部分
  2656. type: integer
  2657. producttype:
  2658. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2659. type: integer
  2660. relatedqty:
  2661. description: 已关联数量
  2662. type: number
  2663. relatedstatus:
  2664. description: 关联完结状态 - 0:未结束 1:已结束
  2665. type: integer
  2666. remark:
  2667. description: 备注
  2668. type: string
  2669. signdate:
  2670. description: 签订日期
  2671. type: string
  2672. spotcontractid:
  2673. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2674. type: string
  2675. spotdatetime:
  2676. description: 收发货更新时间
  2677. type: string
  2678. spotprice:
  2679. description: 价格
  2680. type: number
  2681. spotremark:
  2682. description: 收发货备注
  2683. type: string
  2684. spotstatus:
  2685. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2686. type: integer
  2687. tradedate:
  2688. description: 交易日(yyyyMMdd)
  2689. type: string
  2690. userid:
  2691. description: 业务员用户ID
  2692. type: integer
  2693. warehouseid:
  2694. description: 仓库ID
  2695. type: integer
  2696. wrfactortypeid:
  2697. description: 仓单要素类型ID
  2698. type: integer
  2699. wrstandardid:
  2700. description: 仓单标准ID(SEQ_WRSTANDARD)
  2701. type: integer
  2702. required:
  2703. - spotcontractid
  2704. type: object
  2705. erms3.AddErms2ASApplyReq:
  2706. properties:
  2707. applybasis:
  2708. description: 申请基差
  2709. type: number
  2710. applystatus:
  2711. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2712. type: integer
  2713. asapplyid:
  2714. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2715. type: integer
  2716. asname:
  2717. description: 策略名称
  2718. type: string
  2719. asno:
  2720. description: 策略编号
  2721. type: string
  2722. auditid:
  2723. description: 审核人
  2724. type: integer
  2725. auditremark:
  2726. description: 审核备注
  2727. type: string
  2728. audittime:
  2729. description: 审核时间
  2730. type: string
  2731. biztype:
  2732. description: 业务类型 - 1:正向套利 2:反向套利
  2733. type: integer
  2734. createtime:
  2735. description: 创建时间
  2736. type: string
  2737. creatorid:
  2738. description: 创建人
  2739. type: integer
  2740. deliverygoodsid:
  2741. description: 现货品种ID
  2742. type: integer
  2743. futurequote:
  2744. description: 期货额度
  2745. type: number
  2746. goodsgroupid:
  2747. description: 期货品种ID
  2748. type: integer
  2749. marketid:
  2750. description: 市场ID
  2751. type: integer
  2752. remark:
  2753. description: 备注
  2754. type: string
  2755. spotquota:
  2756. description: 现货额度
  2757. type: number
  2758. tradedate:
  2759. description: 交易日(yyyyMMdd)
  2760. type: string
  2761. userid:
  2762. description: 所属机构
  2763. type: integer
  2764. required:
  2765. - asapplyid
  2766. type: object
  2767. erms3.AddErms2SpotTradeApplyReq:
  2768. properties:
  2769. applyjsondetail:
  2770. description: 申请明细(JSON)
  2771. type: string
  2772. applystatus:
  2773. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2774. type: integer
  2775. areauserid:
  2776. description: 所属机构
  2777. type: integer
  2778. auditid:
  2779. description: 审核人
  2780. type: integer
  2781. auditremark:
  2782. description: 审核备注
  2783. type: string
  2784. audittime:
  2785. description: 审核时间
  2786. type: string
  2787. createtime:
  2788. description: 创建时间
  2789. type: string
  2790. creatorid:
  2791. description: 创建人
  2792. type: integer
  2793. deliverygoodsid:
  2794. description: 现货品种ID
  2795. type: integer
  2796. futureaccountid:
  2797. description: 期货资金账户
  2798. type: integer
  2799. goodsgroupid:
  2800. description: 期货品种
  2801. type: integer
  2802. marketid:
  2803. description: 市场ID
  2804. type: integer
  2805. remark:
  2806. description: 备注
  2807. type: string
  2808. spotaccountid:
  2809. description: 现货资金账户
  2810. type: integer
  2811. spottradeid:
  2812. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2813. type: integer
  2814. spottradename:
  2815. description: 业务名称
  2816. type: string
  2817. spottradeno:
  2818. description: 业务编号
  2819. type: string
  2820. tradedate:
  2821. description: 交易日(yyyyMMdd)
  2822. type: string
  2823. wrstandardid:
  2824. description: 仓单标准ID
  2825. type: integer
  2826. required:
  2827. - spottradeid
  2828. type: object
  2829. erms3.AddSpotContractApplyReq:
  2830. properties:
  2831. accountid:
  2832. description: 资金账户ID
  2833. type: integer
  2834. areauserid:
  2835. description: 所属机构
  2836. type: integer
  2837. contractattachment:
  2838. description: 合同附件
  2839. type: string
  2840. contractno:
  2841. description: 现货合同编号
  2842. type: string
  2843. contracttype:
  2844. description: 现货合同类型 - 1:采购 -1:销售
  2845. type: integer
  2846. creatorid:
  2847. description: 申请人
  2848. type: integer
  2849. customeraccountid:
  2850. description: 客户资金账户ID
  2851. type: integer
  2852. customeruserid:
  2853. description: 客户ID
  2854. type: integer
  2855. details:
  2856. description: 明细
  2857. items:
  2858. $ref: '#/definitions/erms3.SoptContractDetail'
  2859. type: array
  2860. orimargin:
  2861. description: 初始保证金
  2862. type: number
  2863. remark:
  2864. description: 备注
  2865. type: string
  2866. signdate:
  2867. description: 签订日期
  2868. type: string
  2869. required:
  2870. - accountid
  2871. - areauserid
  2872. - contractno
  2873. - contracttype
  2874. - customeraccountid
  2875. - customeruserid
  2876. - details
  2877. - orimargin
  2878. - signdate
  2879. type: object
  2880. erms3.AddSpotContractApplyRsp:
  2881. properties:
  2882. contractno:
  2883. description: 现货合同编号
  2884. type: string
  2885. spotcontractid:
  2886. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2887. type: integer
  2888. required:
  2889. - contractno
  2890. type: object
  2891. erms3.AddUserInfoApplyReq:
  2892. properties:
  2893. accountid:
  2894. description: 交易系统帐号Id (加密存储)
  2895. type: integer
  2896. areacode:
  2897. description: 机构代码
  2898. type: string
  2899. areaid:
  2900. description: 机构Id
  2901. type: integer
  2902. attachment1:
  2903. description: 附件1
  2904. type: string
  2905. attachment2:
  2906. description: 附件2
  2907. type: string
  2908. attachment3:
  2909. description: 附件3
  2910. type: string
  2911. attachment4:
  2912. description: 附件4
  2913. type: string
  2914. attachment5:
  2915. description: 附件5
  2916. type: string
  2917. auditedby:
  2918. description: 审核人
  2919. type: string
  2920. auditime:
  2921. description: 审核时间
  2922. type: string
  2923. auditsrc:
  2924. description: 审核来源 - 1:管理端 2:终端
  2925. type: integer
  2926. bankaccount:
  2927. description: 银行帐号 (加密存储)
  2928. type: string
  2929. bankaccountname:
  2930. description: 收款人名称
  2931. type: string
  2932. bankcardbackphotourl:
  2933. description: 银行卡背面照地址
  2934. type: string
  2935. bankcardfrontphotourl:
  2936. description: 银行卡正面照地址
  2937. type: string
  2938. bankid:
  2939. description: 银行编码
  2940. type: string
  2941. bankname:
  2942. description: 银行名称
  2943. type: string
  2944. bankpictureurl:
  2945. description: 银行卡正面地址
  2946. type: string
  2947. biznature:
  2948. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2949. type: integer
  2950. bizscope:
  2951. description: 企业经营范围(企业)
  2952. type: string
  2953. biztype:
  2954. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2955. type: integer
  2956. brokerid:
  2957. description: 经纪人ID(加密存储)
  2958. type: string
  2959. cardaddress:
  2960. description: 证件地址 (加密存储)
  2961. type: string
  2962. cardbackphotourl:
  2963. description: 背面证件照地址
  2964. type: string
  2965. cardfrontphotourl:
  2966. description: 正面证件照地址
  2967. type: string
  2968. cardnum:
  2969. description: 证件号码 (加密存储)
  2970. type: string
  2971. cardtype:
  2972. description: 证件类型
  2973. type: integer
  2974. cityid:
  2975. description: 市
  2976. type: integer
  2977. company:
  2978. description: 公司(个人)
  2979. type: string
  2980. contactcardbackphotourl:
  2981. description: 联系人证件背面图片地址
  2982. type: string
  2983. contactcardfrontphotourl:
  2984. description: 联系人证件正面图片地址
  2985. type: string
  2986. contactname:
  2987. description: 联系人
  2988. type: string
  2989. countryid:
  2990. description: 国家
  2991. type: integer
  2992. createtime:
  2993. description: 开户申请时间
  2994. type: string
  2995. cusbankid:
  2996. description: 签约类型
  2997. type: string
  2998. cusbankname:
  2999. description: 签约类型名称
  3000. type: string
  3001. customername:
  3002. description: 客户名称(企业名称)
  3003. type: string
  3004. districtid:
  3005. description: 地区
  3006. type: integer
  3007. email:
  3008. description: Email地址(加密存储)
  3009. type: string
  3010. halfbodyphotourl:
  3011. description: 半身照地址
  3012. type: string
  3013. headurl:
  3014. description: 头像地址
  3015. type: string
  3016. ipaddress:
  3017. description: IP地址
  3018. type: string
  3019. isvalidate:
  3020. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3021. type: string
  3022. legalcardbackphotourl:
  3023. description: 法人身份证背面照地址
  3024. type: string
  3025. legalcardfrontphotourl:
  3026. description: 法人身份证正面照地址
  3027. type: string
  3028. legalpersonname:
  3029. description: 法人姓名(企业)
  3030. type: string
  3031. logincode:
  3032. description: 登录帐号 (加密存储)
  3033. type: string
  3034. memberareaid:
  3035. description: 所属会员ID
  3036. type: integer
  3037. mobile2:
  3038. description: 手机号码[明文-尚志]
  3039. type: string
  3040. mobilephone:
  3041. description: 手机号码 (加密存储)
  3042. type: string
  3043. modifiedby:
  3044. description: 修改人帐号
  3045. type: integer
  3046. modifiedtime:
  3047. description: 修改时间
  3048. type: string
  3049. nickname:
  3050. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3051. type: string
  3052. openmode:
  3053. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3054. type: integer
  3055. otherurl:
  3056. description: 其它图片地址[使用分号分隔]
  3057. type: string
  3058. postalcode:
  3059. description: 邮政编码
  3060. type: string
  3061. provinceid:
  3062. description: 省
  3063. type: integer
  3064. proxystatementurl:
  3065. description: 授权委托书
  3066. type: string
  3067. qq:
  3068. description: QQ(加密存储
  3069. type: string
  3070. referral:
  3071. description: 推荐人编码
  3072. type: string
  3073. remark:
  3074. description: 备注
  3075. type: string
  3076. removebeforestatus:
  3077. description: REMOVEBEFORESTATUS
  3078. type: integer
  3079. sex:
  3080. description: 性别 - 0:女 1:男
  3081. type: integer
  3082. signedstatus:
  3083. description: 账户一号签签约状态
  3084. type: integer
  3085. signpdfurl:
  3086. description: 签约pdf文件
  3087. type: string
  3088. subbranch:
  3089. description: 开户支行
  3090. type: string
  3091. taxpayernum:
  3092. description: 纳税人识别号
  3093. type: string
  3094. telphone:
  3095. description: 联系电话(加密存储)
  3096. type: string
  3097. userid:
  3098. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3099. type: integer
  3100. userinfotype:
  3101. description: 用户信息类型 - 1:个人 2:企业
  3102. type: integer
  3103. username:
  3104. description: 用户姓名
  3105. type: string
  3106. userstate:
  3107. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3108. type: integer
  3109. usertype:
  3110. description: 用户类型 - 1:投资者 2:机构
  3111. type: integer
  3112. videourl:
  3113. description: 视频地址
  3114. type: string
  3115. wechat:
  3116. description: 微信号 (加密存储)
  3117. type: string
  3118. required:
  3119. - userid
  3120. type: object
  3121. erms3.CustomerInfo:
  3122. properties:
  3123. accountids:
  3124. description: 资金账户ID列表
  3125. items:
  3126. type: integer
  3127. type: array
  3128. customername:
  3129. description: 名称(企业名称)
  3130. type: string
  3131. mobile:
  3132. description: 手机号码
  3133. type: string
  3134. userid:
  3135. description: 用户ID
  3136. type: integer
  3137. required:
  3138. - userid
  3139. type: object
  3140. erms3.ModifyUserInfoApplyReq:
  3141. properties:
  3142. accountid:
  3143. description: 交易系统帐号Id (加密存储)
  3144. type: integer
  3145. areacode:
  3146. description: 机构代码
  3147. type: string
  3148. areaid:
  3149. description: 机构Id
  3150. type: integer
  3151. attachment1:
  3152. description: 附件1
  3153. type: string
  3154. attachment2:
  3155. description: 附件2
  3156. type: string
  3157. attachment3:
  3158. description: 附件3
  3159. type: string
  3160. attachment4:
  3161. description: 附件4
  3162. type: string
  3163. attachment5:
  3164. description: 附件5
  3165. type: string
  3166. auditedby:
  3167. description: 审核人
  3168. type: string
  3169. auditime:
  3170. description: 审核时间
  3171. type: string
  3172. auditsrc:
  3173. description: 审核来源 - 1:管理端 2:终端
  3174. type: integer
  3175. bankaccount:
  3176. description: 银行帐号 (加密存储)
  3177. type: string
  3178. bankaccountname:
  3179. description: 收款人名称
  3180. type: string
  3181. bankcardbackphotourl:
  3182. description: 银行卡背面照地址
  3183. type: string
  3184. bankcardfrontphotourl:
  3185. description: 银行卡正面照地址
  3186. type: string
  3187. bankid:
  3188. description: 银行编码
  3189. type: string
  3190. bankname:
  3191. description: 银行名称
  3192. type: string
  3193. bankpictureurl:
  3194. description: 银行卡正面地址
  3195. type: string
  3196. biznature:
  3197. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3198. type: integer
  3199. bizscope:
  3200. description: 企业经营范围(企业)
  3201. type: string
  3202. biztype:
  3203. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3204. type: integer
  3205. brokerid:
  3206. description: 经纪人ID(加密存储)
  3207. type: string
  3208. cardaddress:
  3209. description: 证件地址 (加密存储)
  3210. type: string
  3211. cardbackphotourl:
  3212. description: 背面证件照地址
  3213. type: string
  3214. cardfrontphotourl:
  3215. description: 正面证件照地址
  3216. type: string
  3217. cardnum:
  3218. description: 证件号码 (加密存储)
  3219. type: string
  3220. cardtype:
  3221. description: 证件类型
  3222. type: integer
  3223. cityid:
  3224. description: 市
  3225. type: integer
  3226. company:
  3227. description: 公司(个人)
  3228. type: string
  3229. contactcardbackphotourl:
  3230. description: 联系人证件背面图片地址
  3231. type: string
  3232. contactcardfrontphotourl:
  3233. description: 联系人证件正面图片地址
  3234. type: string
  3235. contactname:
  3236. description: 联系人
  3237. type: string
  3238. countryid:
  3239. description: 国家
  3240. type: integer
  3241. createtime:
  3242. description: 开户申请时间
  3243. type: string
  3244. cusbankid:
  3245. description: 签约类型
  3246. type: string
  3247. cusbankname:
  3248. description: 签约类型名称
  3249. type: string
  3250. customername:
  3251. description: 客户名称(企业名称)
  3252. type: string
  3253. districtid:
  3254. description: 地区
  3255. type: integer
  3256. email:
  3257. description: Email地址(加密存储)
  3258. type: string
  3259. halfbodyphotourl:
  3260. description: 半身照地址
  3261. type: string
  3262. headurl:
  3263. description: 头像地址
  3264. type: string
  3265. ipaddress:
  3266. description: IP地址
  3267. type: string
  3268. isvalidate:
  3269. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3270. type: string
  3271. legalcardbackphotourl:
  3272. description: 法人身份证背面照地址
  3273. type: string
  3274. legalcardfrontphotourl:
  3275. description: 法人身份证正面照地址
  3276. type: string
  3277. legalpersonname:
  3278. description: 法人姓名(企业)
  3279. type: string
  3280. logincode:
  3281. description: 登录帐号 (加密存储)
  3282. type: string
  3283. memberareaid:
  3284. description: 所属会员ID
  3285. type: integer
  3286. mobile2:
  3287. description: 手机号码[明文-尚志]
  3288. type: string
  3289. mobilephone:
  3290. description: 手机号码 (加密存储)
  3291. type: string
  3292. modifiedby:
  3293. description: 修改人帐号
  3294. type: integer
  3295. modifiedtime:
  3296. description: 修改时间
  3297. type: string
  3298. nickname:
  3299. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3300. type: string
  3301. openmode:
  3302. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3303. type: integer
  3304. otherurl:
  3305. description: 其它图片地址[使用分号分隔]
  3306. type: string
  3307. postalcode:
  3308. description: 邮政编码
  3309. type: string
  3310. provinceid:
  3311. description: 省
  3312. type: integer
  3313. proxystatementurl:
  3314. description: 授权委托书
  3315. type: string
  3316. qq:
  3317. description: QQ(加密存储
  3318. type: string
  3319. referral:
  3320. description: 推荐人编码
  3321. type: string
  3322. remark:
  3323. description: 备注
  3324. type: string
  3325. removebeforestatus:
  3326. description: REMOVEBEFORESTATUS
  3327. type: integer
  3328. sex:
  3329. description: 性别 - 0:女 1:男
  3330. type: integer
  3331. signedstatus:
  3332. description: 账户一号签签约状态
  3333. type: integer
  3334. signpdfurl:
  3335. description: 签约pdf文件
  3336. type: string
  3337. subbranch:
  3338. description: 开户支行
  3339. type: string
  3340. taxpayernum:
  3341. description: 纳税人识别号
  3342. type: string
  3343. telphone:
  3344. description: 联系电话(加密存储)
  3345. type: string
  3346. userid:
  3347. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3348. type: integer
  3349. userinfotype:
  3350. description: 用户信息类型 - 1:个人 2:企业
  3351. type: integer
  3352. username:
  3353. description: 用户姓名
  3354. type: string
  3355. userstate:
  3356. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3357. type: integer
  3358. usertype:
  3359. description: 用户类型 - 1:投资者 2:机构
  3360. type: integer
  3361. videourl:
  3362. description: 视频地址
  3363. type: string
  3364. wechat:
  3365. description: 微信号 (加密存储)
  3366. type: string
  3367. required:
  3368. - userid
  3369. type: object
  3370. erms3.QryAuditContractRsp:
  3371. properties:
  3372. accountid:
  3373. description: 交易员ID
  3374. type: string
  3375. applystatus:
  3376. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3377. type: integer
  3378. curdeliveryqty:
  3379. description: 未交收量
  3380. type: integer
  3381. customername:
  3382. description: 采购方ID
  3383. type: string
  3384. deliverygoodsid:
  3385. description: 品种ID
  3386. type: string
  3387. deliveryqty:
  3388. description: 交收量
  3389. type: integer
  3390. enumdicname:
  3391. description: 单位名称
  3392. type: string
  3393. matchaccountid:
  3394. description: 业务员ID
  3395. type: string
  3396. matchcustomername:
  3397. description: 销售方ID
  3398. type: string
  3399. pricedqty:
  3400. description: 定价量
  3401. type: number
  3402. signdate:
  3403. description: 签订日期
  3404. type: string
  3405. spotcontractid:
  3406. description: 合同ID
  3407. type: string
  3408. totaldqty:
  3409. description: 合同量
  3410. type: number
  3411. unpricedqty:
  3412. description: 未定价量
  3413. type: number
  3414. wrstandardname:
  3415. description: 商品名称
  3416. type: string
  3417. required:
  3418. - matchcustomername
  3419. - spotcontractid
  3420. type: object
  3421. erms3.QryPendingBizRsp:
  3422. properties:
  3423. accountid:
  3424. description: 现货账户
  3425. type: string
  3426. areaname:
  3427. description: 所属部门
  3428. type: string
  3429. bizid:
  3430. description: 业务ID
  3431. type: string
  3432. bizname:
  3433. description: 业务名称
  3434. type: string
  3435. status:
  3436. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3437. type: integer
  3438. type:
  3439. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3440. type: integer
  3441. type: object
  3442. erms3.QueryBusinessInfoRsp:
  3443. properties:
  3444. businessid:
  3445. description: 业务ID.
  3446. type: integer
  3447. buyamount:
  3448. description: 采购额.
  3449. type: number
  3450. buyqty:
  3451. description: 采购量.
  3452. type: string
  3453. futurepl:
  3454. description: 期货盈亏.
  3455. type: number
  3456. futureqty:
  3457. description: 期货敞口.
  3458. type: string
  3459. goodsid:
  3460. description: 商品名称/商品代码.
  3461. type: string
  3462. hedgingqty:
  3463. description: 套保量.
  3464. type: string
  3465. sellamount:
  3466. description: 销售额.
  3467. type: number
  3468. sellqty:
  3469. description: 销售量.
  3470. type: string
  3471. spotmarketvalue:
  3472. description: 现货市值.
  3473. type: number
  3474. spotpl:
  3475. description: 浮动权益.
  3476. type: number
  3477. spotqty:
  3478. description: 现货量.
  3479. type: string
  3480. statu:
  3481. description: 状态,0-未结束 1-已结束.
  3482. type: integer
  3483. totalpl:
  3484. description: 总盈亏.
  3485. type: number
  3486. totalqty:
  3487. description: 总敞口.
  3488. type: string
  3489. type:
  3490. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3491. type: integer
  3492. type: object
  3493. erms3.QuerySpotContractAppleFormRsp:
  3494. properties:
  3495. goodses:
  3496. description: 合约列表
  3497. items:
  3498. $ref: '#/definitions/models.GoodsIDAndName'
  3499. type: array
  3500. oppositeusers:
  3501. description: 对方账号列表
  3502. items:
  3503. $ref: '#/definitions/erms3.CustomerInfo'
  3504. type: array
  3505. ouruser:
  3506. $ref: '#/definitions/erms3.CustomerInfo'
  3507. description: 我方账号
  3508. warehouseinfos:
  3509. description: 仓库信息列表
  3510. items:
  3511. $ref: '#/definitions/models.Warehouseinfo'
  3512. type: array
  3513. wrstandards:
  3514. description: 仓单标准列表
  3515. items:
  3516. $ref: '#/definitions/models.WRStandardInfo'
  3517. type: array
  3518. type: object
  3519. erms3.QuerySpotContractInfoRsp:
  3520. properties:
  3521. accountid:
  3522. description: 表示交易员ID.
  3523. type: integer
  3524. curdeliveryqty:
  3525. description: 表示未交收量.
  3526. type: number
  3527. customername:
  3528. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3529. type: string
  3530. deliverygoodsid:
  3531. description: 表示品种ID.
  3532. type: string
  3533. deliveryqty:
  3534. description: 表示交收量.
  3535. type: number
  3536. matchaccountid:
  3537. description: 表示业务员ID.
  3538. type: integer
  3539. matchcustomername:
  3540. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3541. type: string
  3542. priceqty:
  3543. description: 表示定价量.
  3544. type: number
  3545. relatedbizid:
  3546. description: 表示业务ID.
  3547. type: string
  3548. signdate:
  3549. description: 表示签订日期.
  3550. type: string
  3551. spotcontractid:
  3552. description: 合同ID
  3553. type: string
  3554. status:
  3555. description: 表示状态,0-履约中 1-已完成.
  3556. type: integer
  3557. totalqty:
  3558. description: 表示合同量.
  3559. type: number
  3560. unpricedqty:
  3561. description: 表示未定价量.
  3562. type: number
  3563. wrstandardname:
  3564. description: 表示商品ID.
  3565. type: string
  3566. type: object
  3567. erms3.QueryUserInfoAppliesRsp:
  3568. properties:
  3569. biznature:
  3570. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3571. type: integer
  3572. contactname:
  3573. description: 联系人
  3574. type: string
  3575. createtime:
  3576. description: 开户申请时间
  3577. type: string
  3578. userid:
  3579. description: 用户ID(自增ID)
  3580. type: integer
  3581. userinfotype:
  3582. description: 用户信息类型 - 1:个人 2:企业
  3583. type: integer
  3584. username:
  3585. description: 用户姓名
  3586. type: string
  3587. userstate:
  3588. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3589. type: integer
  3590. required:
  3591. - userid
  3592. type: object
  3593. erms3.QueryUserInfosRsp:
  3594. properties:
  3595. biznature:
  3596. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3597. type: integer
  3598. contactname:
  3599. description: 联系人
  3600. type: string
  3601. customername:
  3602. description: 客户名称(企业名称)
  3603. type: string
  3604. userid:
  3605. description: 用户ID
  3606. type: integer
  3607. userinfotype:
  3608. description: 用户信息类型 - 1:个人 2:企业
  3609. type: integer
  3610. userstatus:
  3611. description: 用户状态 - 1:正常 2:注销
  3612. type: integer
  3613. required:
  3614. - userid
  3615. type: object
  3616. erms3.SoptContractDetail:
  3617. properties:
  3618. deliverygoodsdesc:
  3619. description: 现货品种说明
  3620. type: string
  3621. deliverygoodsid:
  3622. description: 现货品种ID
  3623. type: integer
  3624. deliverygoodsname:
  3625. description: 现货品种名称
  3626. type: string
  3627. pointdesc:
  3628. description: 点价描述
  3629. type: string
  3630. producttype:
  3631. description: 产品类型 1:标准仓单 2:等标 3:非标
  3632. type: integer
  3633. producttypename:
  3634. description: 产品类型名称
  3635. type: string
  3636. spotPointOrderVoList:
  3637. description: 点价列表
  3638. items:
  3639. $ref: '#/definitions/erms3.SpotPointOrder'
  3640. type: array
  3641. spotPriceOrderList:
  3642. description: 定价列表
  3643. items:
  3644. $ref: '#/definitions/erms3.SpotPriceOrder'
  3645. type: array
  3646. unitname:
  3647. description: 单位名称
  3648. type: string
  3649. warehouseid:
  3650. description: 仓库ID
  3651. type: integer
  3652. warehousename:
  3653. description: 仓库名称
  3654. type: string
  3655. wrstandardid:
  3656. description: 交易标的ID
  3657. type: integer
  3658. wrstandardname:
  3659. description: 交易标的名称
  3660. type: string
  3661. required:
  3662. - deliverygoodsid
  3663. - producttype
  3664. - unitname
  3665. - warehouseid
  3666. - wrstandardid
  3667. - wrstandardname
  3668. type: object
  3669. erms3.SpotPointOrder:
  3670. properties:
  3671. basic:
  3672. description: 基差
  3673. type: number
  3674. deliveryenddate:
  3675. description: 交收结束日期
  3676. type: string
  3677. deliverystartdate:
  3678. description: 交收开始日期
  3679. type: string
  3680. enddate:
  3681. description: 点价结束日期
  3682. type: string
  3683. goodsid:
  3684. description: 商品ID
  3685. type: integer
  3686. goodsname:
  3687. description: 商品名称
  3688. type: string
  3689. qty:
  3690. description: 数量
  3691. type: number
  3692. startdate:
  3693. description: 点价开始日期
  3694. type: string
  3695. required:
  3696. - basic
  3697. - goodsid
  3698. - qty
  3699. type: object
  3700. erms3.SpotPriceOrder:
  3701. properties:
  3702. amount:
  3703. description: 金额
  3704. type: number
  3705. deliveryenddate:
  3706. description: 交收结束日期
  3707. type: string
  3708. deliverystartdate:
  3709. description: 交收开始日期
  3710. type: string
  3711. price:
  3712. description: 价格
  3713. type: number
  3714. qty:
  3715. description: 数量
  3716. type: number
  3717. required:
  3718. - amount
  3719. - price
  3720. - qty
  3721. type: object
  3722. hsby.GetHsbyMyCountRsp:
  3723. properties:
  3724. myCouponCount:
  3725. description: 我的优惠卷数量
  3726. type: integer
  3727. myOrderDetailListingCount:
  3728. description: 我的订单求购中数量
  3729. type: integer
  3730. myOrderDetailPreCount:
  3731. description: 我的订单抢购中数量
  3732. type: integer
  3733. myPackageUnReceiveCount:
  3734. description: 我的包裹待收货数量
  3735. type: integer
  3736. myPackageUnSendCount:
  3737. description: 我的包裹待发货数量
  3738. type: integer
  3739. myPayOrderCount:
  3740. description: 我的订单待付款数量
  3741. type: integer
  3742. type: object
  3743. hsby.QueryProvincesAndCitiesRsp:
  3744. properties:
  3745. cities:
  3746. description: 市
  3747. items:
  3748. $ref: '#/definitions/models.Division'
  3749. type: array
  3750. province:
  3751. $ref: '#/definitions/models.Division'
  3752. description: 省
  3753. type: object
  3754. models.Arearole:
  3755. properties:
  3756. createtime:
  3757. description: 创建时间
  3758. type: string
  3759. creatorid:
  3760. description: 创建人ID
  3761. type: integer
  3762. fromuserid:
  3763. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3764. type: integer
  3765. isreturnscore:
  3766. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3767. type: integer
  3768. modifierid:
  3769. description: 修改人ID
  3770. type: integer
  3771. modifytime:
  3772. description: 修改时间
  3773. type: string
  3774. orgtype:
  3775. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3776. type: integer
  3777. outuserid:
  3778. description: 外部账户[场外期权做市商]
  3779. type: string
  3780. parentuserid:
  3781. description: 上级组织机构(组织机构)
  3782. type: integer
  3783. roletype:
  3784. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3785. type: integer
  3786. rootuserid:
  3787. description: 顶级组织机构用户ID(组织机构)
  3788. type: integer
  3789. shoppassword:
  3790. description: 商城店铺登陆密码(商城店铺角色使用)
  3791. type: string
  3792. sublevelpath:
  3793. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3794. type: string
  3795. suborgtype:
  3796. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3797. type: integer
  3798. tradeaccountid:
  3799. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3800. type: integer
  3801. transurl:
  3802. description: 物流地址(物流机构)
  3803. type: string
  3804. userid:
  3805. description: 机构用户ID其他做市关系,都设置为 1
  3806. type: integer
  3807. required:
  3808. - roletype
  3809. - userid
  3810. type: object
  3811. models.Clientfixedadconfig:
  3812. properties:
  3813. adsort:
  3814. description: 排序
  3815. type: integer
  3816. adtype:
  3817. description: 广告位类型 - 1:新品抢购(HSBY)
  3818. type: integer
  3819. areauserid:
  3820. description: 所属机构ID
  3821. type: integer
  3822. createdate:
  3823. description: 创建时间
  3824. type: string
  3825. creatorid:
  3826. description: 创建人
  3827. type: integer
  3828. imagepath:
  3829. description: 图片
  3830. type: string
  3831. isshow:
  3832. description: 是否展示 - 0:不展示 1:展示
  3833. type: integer
  3834. modifierid:
  3835. description: 操作人
  3836. type: integer
  3837. recsize:
  3838. description: 推荐尺寸
  3839. type: string
  3840. title:
  3841. description: 标题
  3842. type: string
  3843. updatedate:
  3844. description: 更新时间
  3845. type: string
  3846. urlcontent:
  3847. description: 链接(地址或商品ID)
  3848. type: string
  3849. urltype:
  3850. description: 链接类型 - 1:直接地址 2:商品ID
  3851. type: integer
  3852. required:
  3853. - adsort
  3854. - adtype
  3855. type: object
  3856. models.Division:
  3857. properties:
  3858. autoid:
  3859. description: 自增ID
  3860. type: integer
  3861. divisioncode:
  3862. description: 行政代码
  3863. type: string
  3864. divisionlevel:
  3865. description: 行政级别
  3866. type: string
  3867. divisionname:
  3868. description: 行政名称
  3869. type: string
  3870. modifierid:
  3871. description: 修改人
  3872. type: integer
  3873. modifytime:
  3874. description: 修改时间
  3875. type: string
  3876. parentcode:
  3877. description: 上级行政代码
  3878. type: string
  3879. pathname:
  3880. description: 路径名称
  3881. type: string
  3882. postcode:
  3883. description: 邮政编码
  3884. type: string
  3885. separablename:
  3886. description: 可拆分的全称
  3887. type: string
  3888. shortcode:
  3889. description: 地区简码
  3890. type: string
  3891. required:
  3892. - autoid
  3893. - divisioncode
  3894. type: object
  3895. models.Enumdicitem:
  3896. properties:
  3897. autoid:
  3898. description: 自增ID
  3899. type: integer
  3900. bankmappedvalue:
  3901. description: 银行服务对应值
  3902. type: string
  3903. enumdiccode:
  3904. description: 所属枚举代码
  3905. type: string
  3906. enumdicid:
  3907. description: 所属枚举ID
  3908. type: integer
  3909. enumdicname:
  3910. description: 枚举项名称
  3911. type: string
  3912. enumitemname:
  3913. description: 枚举项值
  3914. type: integer
  3915. enumitemstatus:
  3916. description: 枚举项状态 - 1.启用 2.不启用
  3917. type: integer
  3918. enumitemvalue:
  3919. description: 通用值 - [币种通用简写]
  3920. type: string
  3921. param1:
  3922. description: 参数1[币种:币种小数位]
  3923. type: string
  3924. param2:
  3925. description: 参数1[币种:币种显示单位]
  3926. type: string
  3927. remark:
  3928. description: 备注
  3929. type: string
  3930. required:
  3931. - autoid
  3932. - enumdiccode
  3933. - enumdicid
  3934. - enumitemname
  3935. type: object
  3936. models.Ermcp3AreaSpot:
  3937. properties:
  3938. areauserid:
  3939. description: 所属机构
  3940. type: integer
  3941. convertratio:
  3942. description: 套保系数
  3943. type: number
  3944. decreaseqty:
  3945. description: 减少数量=-(销售已定价数量+采购计划数量)
  3946. type: number
  3947. enumdicname:
  3948. description: 单位名称
  3949. type: string
  3950. increaseqty:
  3951. description: 增加数量=销售计划数量+采购已定价数量
  3952. type: number
  3953. oritoalspotqty:
  3954. description: 昨日数量
  3955. type: number
  3956. totalspotqty:
  3957. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3958. type: number
  3959. unitid:
  3960. description: 现货商品单位id
  3961. type: integer
  3962. updatetime:
  3963. description: 更新时间
  3964. type: string
  3965. wrstandardcode:
  3966. description: 现货商品代码
  3967. type: string
  3968. wrstandardid:
  3969. description: 现货商品ID(SEQ_WRSTANDARD)
  3970. type: integer
  3971. wrstandardname:
  3972. description: 现货商品名称
  3973. type: string
  3974. type: object
  3975. models.Ermcp3AreaSpotDetail:
  3976. properties:
  3977. contracttype:
  3978. description: 合同类型 1-采购 -1-销售
  3979. type: integer
  3980. createtime:
  3981. description: 创建时间
  3982. type: string
  3983. enumdicname:
  3984. description: 现货商品单位名称
  3985. type: string
  3986. logtype:
  3987. description: 记录类型 1-套保 2-现货合同
  3988. type: integer
  3989. qty:
  3990. description: 数量
  3991. type: number
  3992. recordname:
  3993. description: 类型名称
  3994. type: string
  3995. relatedid:
  3996. description: 套保计划ID/现货合同ID
  3997. type: string
  3998. relatedno:
  3999. description: 编号
  4000. type: string
  4001. strtime:
  4002. description: 时间
  4003. type: string
  4004. wrstandardcode:
  4005. description: 现货商品代码
  4006. type: string
  4007. wrstandardid:
  4008. description: 现货商品ID(SEQ_WRSTANDARD)
  4009. type: integer
  4010. wrstandardname:
  4011. description: 现货商品名称
  4012. type: string
  4013. type: object
  4014. models.Ermcp3AreaSpotPLReport:
  4015. properties:
  4016. accountid:
  4017. description: 期货账户ID (作废, 默认为0)
  4018. type: integer
  4019. accountname:
  4020. description: 机构名称
  4021. type: string
  4022. actualpl:
  4023. description: 现货损益
  4024. type: number
  4025. areauserid:
  4026. description: 所属机构\交易用户ID
  4027. type: integer
  4028. begindate:
  4029. description: 开始交易日
  4030. type: string
  4031. biztype:
  4032. description: 业务类型 - 1:套保 2:套利
  4033. type: integer
  4034. brandname:
  4035. description: 品牌名称
  4036. type: string
  4037. curamount:
  4038. description: 期末额
  4039. type: number
  4040. curaverageprice:
  4041. description: 期末均价
  4042. type: number
  4043. curbuyamount:
  4044. description: 期末采购总额
  4045. type: number
  4046. curbuyqty:
  4047. description: 期末采购总量
  4048. type: number
  4049. curmarketvalue:
  4050. description: 参考市值(期末市值)
  4051. type: number
  4052. curqty:
  4053. description: 期末量
  4054. type: number
  4055. currencyid:
  4056. description: 结算币种ID【原值】
  4057. type: integer
  4058. currencyname:
  4059. description: 币种名称
  4060. type: string
  4061. cursellamount:
  4062. description: 期末销售总额
  4063. type: number
  4064. cursellqty:
  4065. description: 期末销售总量
  4066. type: number
  4067. curspotprice:
  4068. description: 参考市价(最新价)
  4069. type: number
  4070. cycletime:
  4071. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4072. type: string
  4073. cycletype:
  4074. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4075. type: integer
  4076. deliverygoodscode:
  4077. description: 现货商品代码
  4078. type: string
  4079. deliverygoodsid:
  4080. description: 现货品种ID
  4081. type: integer
  4082. deliverygoodsname:
  4083. description: 现货商品名称
  4084. type: string
  4085. enddate:
  4086. description: 结束交易日
  4087. type: string
  4088. enumdicname:
  4089. description: 现货商品单位名称
  4090. type: string
  4091. floatpl:
  4092. description: 浮动损益
  4093. type: number
  4094. goodsunitid:
  4095. description: 现货商品单位id
  4096. type: integer
  4097. oriamount:
  4098. description: 期初额
  4099. type: number
  4100. oriaverageprice:
  4101. description: 期初均价
  4102. type: number
  4103. oribuyamount:
  4104. description: 期初采购总额
  4105. type: number
  4106. oribuyqty:
  4107. description: 期初采购总量
  4108. type: number
  4109. oriqty:
  4110. description: 期初量
  4111. type: number
  4112. orisellamount:
  4113. description: 期初销售总额
  4114. type: number
  4115. orisellqty:
  4116. description: 期初销售总量
  4117. type: number
  4118. reckondate:
  4119. description: 日照时期(yyyyMMdd)
  4120. type: string
  4121. spotgoodsbrandid:
  4122. description: 现货品牌ID
  4123. type: integer
  4124. todaybuyamount:
  4125. description: 今日采购额(今采购额)
  4126. type: number
  4127. todaybuyaverageprice:
  4128. description: 今日采购均价
  4129. type: number
  4130. todaybuyqty:
  4131. description: 今日采购量(今采购量)
  4132. type: number
  4133. todayinqty:
  4134. description: 今日入库量(今入库量)
  4135. type: number
  4136. todayoutqty:
  4137. description: 今日出库量(今出库量)
  4138. type: number
  4139. todaysellamount:
  4140. description: 今日销售额(今销售额)
  4141. type: number
  4142. todaysellaverageprice:
  4143. description: 今日销售均价
  4144. type: number
  4145. todaysellqty:
  4146. description: 今日销售量(今销售量)
  4147. type: number
  4148. unitid:
  4149. description: 品类单位id
  4150. type: integer
  4151. unitidname:
  4152. description: 品类单位名称
  4153. type: string
  4154. updatetime:
  4155. description: 更新时间
  4156. type: string
  4157. wrfactortypeid:
  4158. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4159. type: integer
  4160. wrstandardcode:
  4161. description: 品类代码
  4162. type: string
  4163. wrstandardid:
  4164. description: 现货品类ID
  4165. type: integer
  4166. wrstandardname:
  4167. description: 品类名称
  4168. type: string
  4169. type: object
  4170. models.Ermcp3AreaStock:
  4171. properties:
  4172. brandname:
  4173. description: 品牌名称
  4174. type: string
  4175. curstock:
  4176. description: 期末库存量(今日量)
  4177. type: number
  4178. deliverygoodscode:
  4179. description: 现货品种代码
  4180. type: string
  4181. deliverygoodsid:
  4182. description: 现货品种id
  4183. type: integer
  4184. deliverygoodsname:
  4185. description: 现货品种名称
  4186. type: string
  4187. enumdicname:
  4188. description: 单位名称
  4189. type: string
  4190. goodsunitid:
  4191. description: 现货商品单位id
  4192. type: integer
  4193. oristock:
  4194. description: 期初库存量(昨日量)
  4195. type: number
  4196. spotgoodsbrandid:
  4197. description: 现货品牌ID
  4198. type: integer
  4199. todaybuyinqty:
  4200. description: 今日采购入库量
  4201. type: number
  4202. todayproduceinqty:
  4203. description: 今日生产入库量
  4204. type: number
  4205. todayproduceoutqty:
  4206. description: 今日生产出库量
  4207. type: number
  4208. todayselloutqty:
  4209. description: 今日销售出库量
  4210. type: number
  4211. unitid:
  4212. description: 单位id
  4213. type: integer
  4214. updatetime:
  4215. description: 更新时间
  4216. type: string
  4217. userid:
  4218. description: 机构ID
  4219. type: integer
  4220. username:
  4221. description: 机构名称
  4222. type: string
  4223. warehousecode:
  4224. description: 仓库代码
  4225. type: string
  4226. warehouseinfoid:
  4227. description: 仓库ID
  4228. type: string
  4229. warehousename:
  4230. description: 仓库名称
  4231. type: string
  4232. warehousetype:
  4233. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4234. type: integer
  4235. wrstandardcode:
  4236. description: 品类代码
  4237. type: string
  4238. wrstandardid:
  4239. description: 品类ID
  4240. type: string
  4241. wrstandardname:
  4242. description: 品类名称
  4243. type: string
  4244. required:
  4245. - userid
  4246. type: object
  4247. models.Ermcp3AreaStockApply:
  4248. properties:
  4249. applyid:
  4250. description: 申请人
  4251. type: integer
  4252. applyname:
  4253. description: 申请人名称
  4254. type: string
  4255. applyremark:
  4256. description: 申请备注
  4257. type: string
  4258. applysrc:
  4259. description: 申请来源 - 1:管理端 2:终端
  4260. type: integer
  4261. applystatus:
  4262. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4263. type: integer
  4264. applytime:
  4265. description: 申请时间
  4266. type: string
  4267. auditid:
  4268. description: 审核人
  4269. type: integer
  4270. auditname:
  4271. description: 审核人名称
  4272. type: string
  4273. auditremark:
  4274. description: 审核备注
  4275. type: string
  4276. auditsrc:
  4277. description: 审核来源 - 1:管理端 2:终端
  4278. type: integer
  4279. audittime:
  4280. description: 审核时间
  4281. type: string
  4282. audittradedate:
  4283. description: 审核交易日(yyyyMMdd)
  4284. type: string
  4285. brandname:
  4286. description: 品牌名称
  4287. type: string
  4288. buynickname:
  4289. description: 采购方昵称
  4290. type: string
  4291. buyuserid:
  4292. description: 采购方userid
  4293. type: integer
  4294. buyusername:
  4295. description: 采购方名称
  4296. type: string
  4297. contractno:
  4298. description: 合同编号
  4299. type: string
  4300. contractqty:
  4301. description: 合同量
  4302. type: number
  4303. contracttype:
  4304. description: 现货合同类型 - 1:采购 -1:销售
  4305. type: integer
  4306. deliverygoodscode:
  4307. description: 现货品种代码
  4308. type: string
  4309. deliverygoodsid:
  4310. description: 现货品种id
  4311. type: integer
  4312. deliverygoodsname:
  4313. description: 现货品种名称
  4314. type: string
  4315. detailjson:
  4316. description: 明细数据
  4317. type: string
  4318. enumdicname:
  4319. description: 现货商品单位名称
  4320. type: string
  4321. inoutapplyid:
  4322. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4323. type: string
  4324. inouttype:
  4325. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4326. type: integer
  4327. pricetype:
  4328. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4329. type: integer
  4330. qty:
  4331. description: 数量
  4332. type: number
  4333. sellnickname:
  4334. description: 销售方昵称
  4335. type: string
  4336. selluserid:
  4337. description: 销售方userid
  4338. type: integer
  4339. sellusername:
  4340. description: 销售方名称
  4341. type: string
  4342. spotcontractid:
  4343. description: 关联现货合同ID
  4344. type: string
  4345. spotgoodsbrandid:
  4346. description: 现货品牌ID
  4347. type: integer
  4348. unitid:
  4349. description: 单位id
  4350. type: integer
  4351. userid:
  4352. description: 机构ID
  4353. type: integer
  4354. warehousecode:
  4355. description: 仓库代码
  4356. type: string
  4357. warehouseinfoid:
  4358. description: 现货仓库ID
  4359. type: string
  4360. warehousename:
  4361. description: 仓库名称
  4362. type: string
  4363. warehousetype:
  4364. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4365. type: integer
  4366. wrstandardcode:
  4367. description: 品类代码
  4368. type: string
  4369. wrstandardid:
  4370. description: 品类ID
  4371. type: integer
  4372. wrstandardname:
  4373. description: 品类名称
  4374. type: string
  4375. type: object
  4376. models.Ermcp3AreaStockApplySum:
  4377. properties:
  4378. brandname:
  4379. description: 品牌名称
  4380. type: string
  4381. inouttype:
  4382. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4383. type: integer
  4384. spotcontractid:
  4385. description: 关联现货合同ID
  4386. type: string
  4387. spotgoodsbrandid:
  4388. description: 品牌id
  4389. type: integer
  4390. totalqty:
  4391. description: 总数量
  4392. type: number
  4393. wrstandardid:
  4394. description: 品类id
  4395. type: integer
  4396. wrstandardname:
  4397. description: 品类名称
  4398. type: string
  4399. type: object
  4400. models.Ermcp3AreaStockReportEx:
  4401. properties:
  4402. begindate:
  4403. description: 开始交易日
  4404. type: string
  4405. brandname:
  4406. description: 品牌名称
  4407. type: string
  4408. curstock:
  4409. description: 期末库存量
  4410. type: number
  4411. cycletime:
  4412. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4413. type: string
  4414. cycletype:
  4415. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4416. type: integer
  4417. deliverygoodscode:
  4418. description: 现货品种代码
  4419. type: string
  4420. deliverygoodsid:
  4421. description: 现货品种id
  4422. type: integer
  4423. deliverygoodsname:
  4424. description: 现货品种名称
  4425. type: string
  4426. diffqty:
  4427. description: 库存变化量 = 期末 - 期初
  4428. type: number
  4429. enddate:
  4430. description: 结束交易日
  4431. type: string
  4432. enumdicname:
  4433. description: 单位名称
  4434. type: string
  4435. goodsunitid:
  4436. description: 现货单位id
  4437. type: integer
  4438. oristock:
  4439. description: 期初库存量
  4440. type: number
  4441. reckondate:
  4442. description: 日照时期(yyyyMMdd)
  4443. type: string
  4444. spotgoodsbrandid:
  4445. description: 现货品牌ID
  4446. type: integer
  4447. todaybuyinqty:
  4448. description: 今采购入库量
  4449. type: number
  4450. todayproduceinqty:
  4451. description: 今内部入库量
  4452. type: number
  4453. todayproduceoutqty:
  4454. description: 今内部出库量
  4455. type: number
  4456. todayselloutqty:
  4457. description: 今销售出库量
  4458. type: number
  4459. unbuyinqty:
  4460. description: 采购未入库量(数据库未找到相关字段?)
  4461. type: number
  4462. unitid:
  4463. description: 品类单位id
  4464. type: integer
  4465. unselloutqty:
  4466. description: 销售未出库量(数据库未找到相关字段?)
  4467. type: number
  4468. updatetime:
  4469. description: 更新时间
  4470. type: string
  4471. userid:
  4472. description: 机构ID
  4473. type: integer
  4474. username:
  4475. description: 机构名称
  4476. type: string
  4477. warehousecode:
  4478. description: 仓库代码
  4479. type: string
  4480. warehouseinfoid:
  4481. description: 仓库ID
  4482. type: string
  4483. warehousename:
  4484. description: 仓库名称
  4485. type: string
  4486. warehousetype:
  4487. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4488. type: integer
  4489. wrstandardcode:
  4490. description: 品类代码
  4491. type: string
  4492. wrstandardid:
  4493. description: 品类ID
  4494. type: integer
  4495. wrstandardname:
  4496. description: 品类名称
  4497. type: string
  4498. type: object
  4499. models.Ermcp3ArealSumPL:
  4500. properties:
  4501. accountname:
  4502. description: 机构名称
  4503. type: string
  4504. areauserid:
  4505. description: 所属机构\交易用户ID
  4506. type: integer
  4507. begindate:
  4508. description: 开始交易日
  4509. type: string
  4510. currencyid:
  4511. description: 结算币种ID
  4512. type: integer
  4513. currencyname:
  4514. description: 币种名称
  4515. type: string
  4516. cycletime:
  4517. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4518. type: string
  4519. cycletype:
  4520. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4521. type: integer
  4522. enddate:
  4523. description: 结束交易日
  4524. type: string
  4525. enumdicname:
  4526. description: 单位名称(套保品种)
  4527. type: string
  4528. futureactualpl:
  4529. description: 期货损益
  4530. type: number
  4531. futurefloatpl:
  4532. description: 期货浮动损益
  4533. type: number
  4534. futurespotratio:
  4535. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4536. type: number
  4537. goodsunitid:
  4538. description: 套保品种单位id
  4539. type: integer
  4540. hedgeexposurepl:
  4541. description: 套保敞口损益
  4542. type: number
  4543. middlegoodscode:
  4544. description: 套保品种代码
  4545. type: string
  4546. middlegoodsid:
  4547. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4548. type: integer
  4549. middlegoodsname:
  4550. description: 套保品种名称
  4551. type: string
  4552. reckondate:
  4553. description: 日照时期(yyyyMMdd)
  4554. type: string
  4555. spotactualpl:
  4556. description: 现货损益
  4557. type: number
  4558. spotfloatpl:
  4559. description: 现货浮动损益
  4560. type: number
  4561. sumactualpl:
  4562. description: 实际损益 = (ActualPL + FutureActualPL)
  4563. type: number
  4564. sumpl:
  4565. description: 总敞口损益 | 汇总损益
  4566. type: number
  4567. totalfutureqty:
  4568. description: 期货头寸总量
  4569. type: number
  4570. totalneedhedgeqty:
  4571. description: 应套保总量
  4572. type: number
  4573. totalspotqty:
  4574. description: 现货头寸总量
  4575. type: number
  4576. updatetime:
  4577. description: 更新时间
  4578. type: string
  4579. type: object
  4580. models.Ermcp3Brand:
  4581. properties:
  4582. areauserid:
  4583. description: 用户id
  4584. type: integer
  4585. brandid:
  4586. description: 品牌id
  4587. type: integer
  4588. brandname:
  4589. description: 品牌名称
  4590. type: string
  4591. deliverygoodsid:
  4592. description: 品种ID
  4593. type: integer
  4594. isvalid:
  4595. description: 是否有效
  4596. type: integer
  4597. type: object
  4598. models.Ermcp3Contract:
  4599. properties:
  4600. accountid:
  4601. description: 期货账户id
  4602. type: string
  4603. amount:
  4604. description: 金额 [1:一口价、3:暂定价]
  4605. type: number
  4606. attachment:
  4607. description: 附件
  4608. type: string
  4609. auditremark:
  4610. description: 审核意见
  4611. type: string
  4612. audittime:
  4613. description: 审核时间
  4614. type: string
  4615. biztype:
  4616. description: 业务类型 1-套保 2-套利
  4617. type: integer
  4618. brandname:
  4619. description: 品牌名称
  4620. type: string
  4621. buynickname:
  4622. description: 销售方昵称
  4623. type: string
  4624. buyuserid:
  4625. description: 采购方ID
  4626. type: integer
  4627. buyusername:
  4628. description: 采购方名称
  4629. type: string
  4630. contracctstatus:
  4631. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4632. type: integer
  4633. contractmargin:
  4634. description: 合同保证金
  4635. type: number
  4636. contractno:
  4637. description: 现货合同编号
  4638. type: string
  4639. contracttype:
  4640. description: 现货合同类型 - 1:采购 -1:销售
  4641. type: integer
  4642. convertfactor:
  4643. description: 标仓系数(品类)
  4644. type: number
  4645. createtime:
  4646. description: 创建时间
  4647. type: string
  4648. currencyid:
  4649. description: 币种id
  4650. type: integer
  4651. currencyname:
  4652. description: 币种名称
  4653. type: string
  4654. deliveryenddate:
  4655. description: 交收期(结束)
  4656. type: string
  4657. deliverygoodscode:
  4658. description: 现货品种代码
  4659. type: string
  4660. deliverygoodsid:
  4661. description: 现货品种ID
  4662. type: integer
  4663. deliverygoodsname:
  4664. description: 现货品种名称
  4665. type: string
  4666. deliverystartdate:
  4667. description: 交收期(开始)
  4668. type: string
  4669. enddate:
  4670. description: 点价结束日期 [2:点价 3:暂定价]
  4671. type: string
  4672. enumdicname:
  4673. description: 单位名称
  4674. type: string
  4675. goodscode:
  4676. description: 点价合约代码
  4677. type: string
  4678. goodsid:
  4679. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4680. type: integer
  4681. goodsname:
  4682. description: 点价商品名称
  4683. type: string
  4684. margin:
  4685. description: 当前保证金
  4686. type: number
  4687. meruserid:
  4688. description: 跟单员id
  4689. type: integer
  4690. meruserlogincode:
  4691. description: 跟单员登录代码
  4692. type: string
  4693. merusername:
  4694. description: 跟单员名称
  4695. type: string
  4696. price:
  4697. description: 价格\暂定价 [1:一口价、3:暂定价]
  4698. type: number
  4699. pricemove:
  4700. description: 升贴水 [2:点价 3:暂定价]
  4701. type: number
  4702. pricetype:
  4703. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4704. type: integer
  4705. producttype:
  4706. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4707. type: integer
  4708. qty:
  4709. description: 数量
  4710. type: number
  4711. remark:
  4712. description: 备注
  4713. type: string
  4714. saleuserid:
  4715. description: 业务员id
  4716. type: integer
  4717. saleuserlogincode:
  4718. description: 业务员登录代码
  4719. type: string
  4720. saleusername:
  4721. description: 业务员名称
  4722. type: string
  4723. sellnickname:
  4724. description: 采购方昵称
  4725. type: string
  4726. selluserid:
  4727. description: 销售方ID
  4728. type: integer
  4729. sellusername:
  4730. description: 销售方名称
  4731. type: string
  4732. spotcontractid:
  4733. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4734. type: string
  4735. spotgoodsbrandid:
  4736. description: 现货品牌ID(DGFactoryItem表的ID)
  4737. type: integer
  4738. spotgoodsdesc:
  4739. description: 商品型号
  4740. type: string
  4741. startdate:
  4742. description: 点价开始日期 [2:点价 3:暂定价]
  4743. type: string
  4744. subjectid:
  4745. description: 交易主体ID
  4746. type: integer
  4747. subjectname:
  4748. description: 交易主体名称
  4749. type: string
  4750. tradeuserid:
  4751. description: 交易员id
  4752. type: integer
  4753. tradeuserlogincode:
  4754. description: 交易员登录代码
  4755. type: string
  4756. tradeusername:
  4757. description: 交易员名称
  4758. type: string
  4759. unitid:
  4760. description: 单位id(取品类上的单位id)
  4761. type: integer
  4762. updatetime:
  4763. description: 更新时间
  4764. type: string
  4765. userid:
  4766. description: 所属机构ID
  4767. type: integer
  4768. vatrate:
  4769. description: 增值税率
  4770. type: number
  4771. wrstandardcode:
  4772. description: 品类代码
  4773. type: string
  4774. wrstandardid:
  4775. description: 品类ID
  4776. type: integer
  4777. wrstandardname:
  4778. description: 品类名称
  4779. type: string
  4780. type: object
  4781. models.Ermcp3ExposureContractDetail:
  4782. properties:
  4783. biztype:
  4784. description: 业务类型 1-套保 2-套利
  4785. type: integer
  4786. brandname:
  4787. description: 品牌名称
  4788. type: string
  4789. buyuserid:
  4790. description: 采购方id
  4791. type: integer
  4792. buyusername:
  4793. description: 采购方名称
  4794. type: string
  4795. contractno:
  4796. description: 合同编号
  4797. type: string
  4798. contracttype:
  4799. description: 现货合同类型 - 1:采购 -1:销售
  4800. type: integer
  4801. convertfactor:
  4802. description: 标仓系数
  4803. type: number
  4804. convertratio:
  4805. description: 折算系数(套保品种)
  4806. type: number
  4807. curqty:
  4808. description: 今定价量
  4809. type: number
  4810. deliverygoodscode:
  4811. description: 现货品种代码
  4812. type: string
  4813. deliverygoodsid:
  4814. description: 现货品种id
  4815. type: integer
  4816. deliverygoodsname:
  4817. description: 现货品种名称
  4818. type: string
  4819. diffhedgeqty:
  4820. description: 套保变动量
  4821. type: number
  4822. diffneedhedgeqty:
  4823. description: 应套保变动量
  4824. type: number
  4825. diffqty:
  4826. description: 套保品种今变动量
  4827. type: number
  4828. enumdicname:
  4829. description: 单位名称
  4830. type: string
  4831. mgunitname:
  4832. description: 套保品种单位名称
  4833. type: string
  4834. middlegoodscode:
  4835. description: 套保品种代码
  4836. type: string
  4837. middlegoodsid:
  4838. description: 套保品种id
  4839. type: integer
  4840. middlegoodsname:
  4841. description: 套保品种名称
  4842. type: string
  4843. needarbitrageratio:
  4844. description: 应套利比例
  4845. type: number
  4846. needhedgeratio:
  4847. description: 应套保比例
  4848. type: number
  4849. pricedqty:
  4850. description: 已定价量
  4851. type: number
  4852. qty:
  4853. description: 合同量
  4854. type: number
  4855. selluserid:
  4856. description: 销售方id
  4857. type: integer
  4858. sellusername:
  4859. description: 销售方名称
  4860. type: string
  4861. spotcontractid:
  4862. description: 合同id
  4863. type: string
  4864. todaypricedqty:
  4865. description: 今定价量
  4866. type: number
  4867. tradedate:
  4868. description: 交易日
  4869. type: string
  4870. unitid:
  4871. description: 品类单位id
  4872. type: integer
  4873. userid:
  4874. description: 机构id
  4875. type: integer
  4876. username:
  4877. description: 交易用户
  4878. type: string
  4879. wrstandardcode:
  4880. description: 现货商品代码
  4881. type: string
  4882. wrstandardid:
  4883. description: 现货商品id
  4884. type: integer
  4885. wrstandardname:
  4886. description: 现货商品名称
  4887. type: string
  4888. type: object
  4889. models.Ermcp3ExposureDetail:
  4890. properties:
  4891. areauserid:
  4892. description: 机构ID
  4893. type: integer
  4894. changeQty:
  4895. description: 套保变动量
  4896. type: number
  4897. contracttype:
  4898. description: 现货合同类型 - 1:采购 -1:销售
  4899. type: integer
  4900. convertfactor:
  4901. description: 标仓系数
  4902. type: number
  4903. convertratio:
  4904. description: 折算系数
  4905. type: number
  4906. createtime:
  4907. description: 时间
  4908. type: string
  4909. enumdicname:
  4910. description: 现货商品单位名称
  4911. type: string
  4912. logtype:
  4913. description: 类型 - 1:套保计划 2:现货合同
  4914. type: integer
  4915. mgunitid:
  4916. description: 套保品种单位id
  4917. type: integer
  4918. mgunitidname:
  4919. description: 套保品种单位名称
  4920. type: string
  4921. middlegoodsId:
  4922. description: 套保商品id
  4923. type: integer
  4924. middlegoodscode:
  4925. description: 套保商品代码
  4926. type: string
  4927. middlegoodsname:
  4928. description: 套保商品名称
  4929. type: string
  4930. qty:
  4931. description: 数量
  4932. type: number
  4933. relateNo:
  4934. description: 现货合同/套保计划编号
  4935. type: string
  4936. unitid:
  4937. description: 现货商品单位id
  4938. type: integer
  4939. wrstandardcode:
  4940. description: 现货商品代码
  4941. type: string
  4942. wrstandardid:
  4943. description: 现货商品ID(SEQ_WRSTANDARD)
  4944. type: integer
  4945. wrstandardname:
  4946. description: 现货商品名称
  4947. type: string
  4948. type: object
  4949. models.Ermcp3ExposureFutuDetail:
  4950. properties:
  4951. accountid:
  4952. description: 交易账户id
  4953. type: integer
  4954. accountname:
  4955. description: 交易账户
  4956. type: string
  4957. begindate:
  4958. description: 开始交易日
  4959. type: string
  4960. buyorsell:
  4961. description: 方向 0-买 1-卖
  4962. type: integer
  4963. diffmgqty:
  4964. description: 套保品种今变化量
  4965. type: number
  4966. diffneedqty:
  4967. description: 应套保总量变化量
  4968. type: number
  4969. difftradeqty:
  4970. description: 交易品种今变化量
  4971. type: number
  4972. enddate:
  4973. description: 结束交易日
  4974. type: string
  4975. enumdicname:
  4976. description: 单位名称
  4977. type: string
  4978. goodscode:
  4979. description: 商品代码
  4980. type: string
  4981. goodsid:
  4982. description: 商品id
  4983. type: integer
  4984. goodsname:
  4985. description: 商品名称
  4986. type: string
  4987. holdqty:
  4988. description: 期末持仓量
  4989. type: number
  4990. middlegoodscode:
  4991. description: 套保商品代码
  4992. type: string
  4993. middlegoodsid:
  4994. description: 套保商品id
  4995. type: integer
  4996. middlegoodsname:
  4997. description: 套保商品名称
  4998. type: string
  4999. oriholdqty:
  5000. description: 期初持仓量
  5001. type: number
  5002. todaycloseqty:
  5003. description: 今平仓量
  5004. type: number
  5005. todayopenqty:
  5006. description: 今开仓量
  5007. type: number
  5008. tradedate:
  5009. description: 交易日
  5010. type: string
  5011. username:
  5012. description: 用户名称(交易用户)
  5013. type: string
  5014. type: object
  5015. models.Ermcp3ExposureHedgeplanDetail:
  5016. properties:
  5017. biztype:
  5018. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5019. type: integer
  5020. changqty:
  5021. description: 应套保总量变化量
  5022. type: number
  5023. contracttype:
  5024. description: 计划类型 - 1:采购 -1:销售
  5025. type: integer
  5026. convertratio:
  5027. description: 折算系数(套保品种)
  5028. type: number
  5029. deliverygoodscode:
  5030. description: 现货商品代码
  5031. type: string
  5032. deliverygoodsid:
  5033. description: 现货商品id
  5034. type: integer
  5035. deliverygoodsname:
  5036. description: 现货商吕名称
  5037. type: string
  5038. dgunitid:
  5039. description: 现货商品单位id
  5040. type: integer
  5041. dgunitidname:
  5042. description: 单位名称(现货商品)
  5043. type: string
  5044. diffqty:
  5045. description: 套保品种今变动量
  5046. type: number
  5047. enumdicname:
  5048. description: 单位名称(品类)
  5049. type: string
  5050. hedgeplanid:
  5051. description: 套保计划id
  5052. type: string
  5053. hedgeplanno:
  5054. description: 套保计划名称
  5055. type: string
  5056. hedgeplanstatus:
  5057. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5058. type: integer
  5059. mgunitidname:
  5060. description: 单位名称(套保商品)
  5061. type: string
  5062. middlegoodscode:
  5063. description: 套保品种代码
  5064. type: string
  5065. middlegoodsid:
  5066. description: 套保品种id
  5067. type: integer
  5068. middlegoodsname:
  5069. description: 套保品种名称
  5070. type: string
  5071. needarbitrageratio:
  5072. description: 应套利比例
  5073. type: number
  5074. needhedgeratio:
  5075. description: 应套保比例
  5076. type: number
  5077. pricedqty:
  5078. description: 已定价量
  5079. type: number
  5080. qty:
  5081. description: 合同量
  5082. type: number
  5083. tradedate:
  5084. description: 交易日(登记日)
  5085. type: string
  5086. unitid:
  5087. description: 品类单位id
  5088. type: integer
  5089. userid:
  5090. description: 机构id
  5091. type: integer
  5092. wrstandardcode:
  5093. description: 品类代码
  5094. type: string
  5095. wrstandardid:
  5096. description: 品类id
  5097. type: integer
  5098. wrstandardname:
  5099. description: 品类名称
  5100. type: string
  5101. type: object
  5102. models.Ermcp3ExposureParamChLog:
  5103. properties:
  5104. accountid:
  5105. description: 期货账户ID (作废, 默认为0)
  5106. type: integer
  5107. aftervalue:
  5108. description: 应套保\套利量变更后(调整后应套保总量)
  5109. type: number
  5110. areauserid:
  5111. description: 所属机构\交易用户ID
  5112. type: integer
  5113. beforevalue:
  5114. description: 应套保\套利量变更前(调整前应套保总量)
  5115. type: number
  5116. begindate:
  5117. description: 开始交易日
  5118. type: string
  5119. changelogtype:
  5120. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5121. type: integer
  5122. curvalue:
  5123. description: 当前套保\套利量(套保总量|套利总量)
  5124. type: number
  5125. diffvalue:
  5126. description: 应套保总量变化量
  5127. type: number
  5128. enddate:
  5129. description: 结束交易日
  5130. type: string
  5131. logdatetime:
  5132. description: 流水日期
  5133. type: string
  5134. logid:
  5135. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5136. type: string
  5137. middlegoodscode:
  5138. description: 套保品种代码
  5139. type: string
  5140. middlegoodsid:
  5141. description: 套保品种
  5142. type: integer
  5143. middlegoodsname:
  5144. description: 套保品种名称
  5145. type: string
  5146. paramaftervalue:
  5147. description: 参数变更后(调整后参数值)
  5148. type: number
  5149. parambeforevalue:
  5150. description: 参数变更前(调整前参数值)
  5151. type: number
  5152. tradedate:
  5153. description: 交易日(yyyyMMdd)
  5154. type: string
  5155. type: object
  5156. models.Ermcp3ExpourseReport:
  5157. properties:
  5158. accountid:
  5159. description: 期货账户ID (作废, 默认为0)
  5160. type: integer
  5161. accountname:
  5162. description: 机构名称
  5163. type: string
  5164. arbitrageqty:
  5165. description: 套利量
  5166. type: number
  5167. areauserid:
  5168. description: 所属机构\交易用户ID
  5169. type: integer
  5170. begindate:
  5171. description: 开始交易日
  5172. type: string
  5173. buyfutureqty:
  5174. description: 买入期货数量
  5175. type: number
  5176. buyplanqty:
  5177. description: 采购计划数量
  5178. type: number
  5179. buypricedqty:
  5180. description: 采购合同已定价数量
  5181. type: number
  5182. cycletime:
  5183. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5184. type: string
  5185. cycletype:
  5186. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5187. type: integer
  5188. diffexposure:
  5189. description: 变动量(套保敞口)
  5190. type: number
  5191. difffutuqty:
  5192. description: 变动量(期货)
  5193. type: number
  5194. diffhedgeqty:
  5195. description: 变动量(现货应套保总量)
  5196. type: number
  5197. diffmgqtya:
  5198. description: 套保变动量
  5199. type: number
  5200. diffmgqtyb:
  5201. description: 套利变动量
  5202. type: number
  5203. diffqty:
  5204. description: 变动量(总敞口)
  5205. type: number
  5206. diffspotqty:
  5207. description: 变动量(现货)
  5208. type: number
  5209. enddate:
  5210. description: 结束交易日
  5211. type: string
  5212. enumdicname:
  5213. description: 单位名称
  5214. type: string
  5215. hedgeqty:
  5216. description: 套保量
  5217. type: number
  5218. mgneedhedgeratio:
  5219. description: 套保比例(套保品的)
  5220. type: number
  5221. middlegoodsid:
  5222. description: 套保品种ID
  5223. type: integer
  5224. middlegoodsname:
  5225. description: 套保商品名称
  5226. type: string
  5227. middlgoodscode:
  5228. description: 套保商品代码
  5229. type: string
  5230. needarbitrageqty:
  5231. description: 应套利量
  5232. type: number
  5233. needarbitrageratio:
  5234. description: 套利比例(套保品的)
  5235. type: number
  5236. needhedgeexposoure:
  5237. description: 应套保敞口(套保敞口)
  5238. type: number
  5239. needhedgeqty:
  5240. description: 应套保量
  5241. type: number
  5242. needhedgeratio:
  5243. description: 应套保敞口比例
  5244. type: number
  5245. oriarbitrageqty:
  5246. description: 期初套利量
  5247. type: number
  5248. oribuyfutureqty:
  5249. description: 期初买入期货数量
  5250. type: number
  5251. oribuyplanqty:
  5252. description: 期初采购计划数量
  5253. type: number
  5254. oribuypricedqty:
  5255. description: 期初采购合同已定价数量
  5256. type: number
  5257. orihedgeqty:
  5258. description: 期初套保量
  5259. type: number
  5260. orineedarbitrageqty:
  5261. description: 期初应套利量
  5262. type: number
  5263. orineedhedgeexposoure:
  5264. description: 期初应套保敞口
  5265. type: number
  5266. orineedhedgeqty:
  5267. description: 期初应套保量
  5268. type: number
  5269. orisellfutureqty:
  5270. description: 期初卖出期货数量
  5271. type: number
  5272. orisellplanqty:
  5273. description: 期初销售计划数量
  5274. type: number
  5275. orisellpricedqty:
  5276. description: 期初销售合同已定价数量
  5277. type: number
  5278. oritotalexposure:
  5279. description: 期初实时总敞口
  5280. type: number
  5281. oritotalfutureqty:
  5282. description: 期初期货头寸总量
  5283. type: number
  5284. oritotalneedhedgeqty:
  5285. description: 期初应套保总量
  5286. type: number
  5287. oritotalspotqty:
  5288. description: 期初现货头寸总量
  5289. type: number
  5290. reckondate:
  5291. description: 日照时期(yyyyMMdd)
  5292. type: string
  5293. sellfutureqty:
  5294. description: 卖出期货数量
  5295. type: number
  5296. sellplanqty:
  5297. description: 销售计划数量
  5298. type: number
  5299. sellpricedqty:
  5300. description: 销售合同已定价数量
  5301. type: number
  5302. totalexposure:
  5303. description: 实时总敞口(总敞口)
  5304. type: number
  5305. totalfutureqty:
  5306. description: 期货头寸总量(期货总量)
  5307. type: number
  5308. totalhedgeratio:
  5309. description: 敞口比例
  5310. type: number
  5311. totalneedhedgeqty:
  5312. description: 应套保总量(现货应套保总量)
  5313. type: number
  5314. totalspotqty:
  5315. description: 现货头寸总量
  5316. type: number
  5317. unitid:
  5318. description: 单位id
  5319. type: integer
  5320. updatetime:
  5321. description: 更新时间
  5322. type: string
  5323. type: object
  5324. models.Ermcp3FinanceReport:
  5325. properties:
  5326. accountname:
  5327. description: 机构名称
  5328. type: string
  5329. areauserid:
  5330. description: 所属机构\交易用户ID
  5331. type: integer
  5332. begindate:
  5333. description: 开始交易日
  5334. type: string
  5335. biztype:
  5336. description: 业务类型 - 1:套保 2:套利
  5337. type: integer
  5338. brandname:
  5339. description: 品牌名称
  5340. type: string
  5341. buypreinvoicedamount:
  5342. description: 采购预收票额(预收票额)
  5343. type: number
  5344. buyprepaidamount:
  5345. description: 采购预付款额(预付货款额)
  5346. type: number
  5347. buytodayinvoiceamount:
  5348. description: 采购今收票额(今收票额)
  5349. type: number
  5350. buytodayrefundamount:
  5351. description: 采购今收退款额(今收退款额)
  5352. type: number
  5353. buytodaysettleamount:
  5354. description: 采购今付款额(今付货款额)
  5355. type: number
  5356. buyuninvoicedamount:
  5357. description: 采购应收票额(应收票额)
  5358. type: number
  5359. buyunpaidamount:
  5360. description: 采购应付款额(应付货款额)
  5361. type: number
  5362. currencyid:
  5363. description: 结算币种ID
  5364. type: integer
  5365. currencyname:
  5366. description: 币种名称
  5367. type: string
  5368. cycletime:
  5369. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5370. type: string
  5371. cycletype:
  5372. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5373. type: integer
  5374. deliverygoodscode:
  5375. description: 现货品种代码
  5376. type: string
  5377. deliverygoodsid:
  5378. description: 现货品种ID
  5379. type: integer
  5380. deliverygoodsname:
  5381. description: 现货品种名称
  5382. type: string
  5383. enddate:
  5384. description: 结束交易日
  5385. type: string
  5386. reckondate:
  5387. description: 日照时期(yyyyMMdd)
  5388. type: string
  5389. sellpreinvoicedamount:
  5390. description: 销售预开票额(预开票额)
  5391. type: number
  5392. sellprepaidamount:
  5393. description: 销售预收款额(预收货款额)
  5394. type: number
  5395. selltodayinvoiceamount:
  5396. description: 销售今开票额(今开票额)
  5397. type: number
  5398. selltodayrefundamount:
  5399. description: 销售今付退款额(今付退款额)
  5400. type: number
  5401. selltodaysettleamount:
  5402. description: 销售今收款额(今收货款额)
  5403. type: number
  5404. selluninvoicedamount:
  5405. description: 销售应开票额(应开票额)
  5406. type: number
  5407. sellunpaidamount:
  5408. description: 销售应收款额(应收货款额)
  5409. type: number
  5410. spotgoodsbrandid:
  5411. description: 现货品牌ID
  5412. type: integer
  5413. todaypaysum:
  5414. description: 今付款合计
  5415. type: number
  5416. todayreceivesum:
  5417. description: 今收款合计
  5418. type: number
  5419. updatetime:
  5420. description: 更新时间
  5421. type: string
  5422. wrfactortypeid:
  5423. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5424. type: integer
  5425. wrstandardcode:
  5426. description: 品类代码
  5427. type: string
  5428. wrstandardid:
  5429. description: 现货商品ID
  5430. type: integer
  5431. wrstandardname:
  5432. description: 品类名称
  5433. type: string
  5434. type: object
  5435. models.Ermcp3GoodsGroup:
  5436. properties:
  5437. agreeunit:
  5438. description: 合约单位
  5439. type: number
  5440. areauserid:
  5441. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5442. type: integer
  5443. canshort:
  5444. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5445. type: integer
  5446. closepricemode:
  5447. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5448. type: integer
  5449. createtime:
  5450. description: 创建时间
  5451. type: string
  5452. creatorid:
  5453. description: 创建人
  5454. type: integer
  5455. currencyid:
  5456. description: 报价货币ID
  5457. type: integer
  5458. decimalplace:
  5459. description: 报价小数位
  5460. type: integer
  5461. enumdicname:
  5462. description: 单位名称
  5463. type: string
  5464. exchangefullname:
  5465. description: 交易所全称
  5466. type: string
  5467. excludecfg:
  5468. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5469. type: integer
  5470. exexchangecode:
  5471. description: 交易所代码
  5472. type: string
  5473. exexchangeid:
  5474. description: 外部交易所ID[通道交易]
  5475. type: integer
  5476. exexchangename:
  5477. description: 交易所名称
  5478. type: string
  5479. goodsgroupid:
  5480. description: 商品组ID(自增ID)
  5481. type: integer
  5482. goodsgroupname:
  5483. description: 商品组名称
  5484. type: string
  5485. goodsgroupstatus:
  5486. description: 商品组状态 - 1:正常 2:注销
  5487. type: integer
  5488. goodunitid:
  5489. description: 报价单位ID
  5490. type: integer
  5491. groupcategroyid:
  5492. description: 品种分类ID
  5493. type: integer
  5494. innerdealmode:
  5495. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5496. type: integer
  5497. marketid:
  5498. description: 所属市场ID
  5499. type: integer
  5500. modifierid:
  5501. description: 修改人
  5502. type: integer
  5503. modifytime:
  5504. description: 修改时间
  5505. type: string
  5506. outerdealmode:
  5507. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5508. type: integer
  5509. outergroupcode:
  5510. description: 外部商品组代码[通道交易]
  5511. type: string
  5512. quoteminunit:
  5513. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5514. type: integer
  5515. quotesourcegroupid:
  5516. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5517. type: integer
  5518. syncgoodsqty:
  5519. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5520. type: integer
  5521. required:
  5522. - areauserid
  5523. type: object
  5524. models.Ermcp3HedgePlan:
  5525. properties:
  5526. accountid:
  5527. description: 资金账号
  5528. type: integer
  5529. areauserid:
  5530. description: 用户ID
  5531. type: integer
  5532. auditid:
  5533. description: 审核id
  5534. type: integer
  5535. auditname:
  5536. description: 审核人名称
  5537. type: string
  5538. auditremark:
  5539. description: 审核备注
  5540. type: string
  5541. auditsrc:
  5542. description: 审核来源 1-管理端 2-终端
  5543. type: integer
  5544. audittime:
  5545. description: 审核时间
  5546. type: string
  5547. contracttype:
  5548. description: 计划类型 - 1:采购 -1:销售
  5549. type: integer
  5550. convertfactor:
  5551. description: 标仓系数
  5552. type: number
  5553. createtime:
  5554. description: 创建时间
  5555. type: string
  5556. currencyid:
  5557. description: 币种id
  5558. type: integer
  5559. currencyname:
  5560. description: 币种名称
  5561. type: string
  5562. deliverygoodscode:
  5563. description: 现货品种代码
  5564. type: string
  5565. deliverygoodsid:
  5566. description: 现货品种ID
  5567. type: integer
  5568. deliverygoodsname:
  5569. description: 现货品种名称
  5570. type: string
  5571. enumdicname:
  5572. description: 单位名称(现货商品)
  5573. type: string
  5574. hedgeplanid:
  5575. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5576. type: string
  5577. hedgeplanno:
  5578. description: 套保计划编号(名称)
  5579. type: string
  5580. hedgeplanstatus:
  5581. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5582. type: integer
  5583. planqty:
  5584. description: 计划数量
  5585. type: number
  5586. plantime:
  5587. description: 计划时间
  5588. type: string
  5589. producttype:
  5590. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5591. type: integer
  5592. remark:
  5593. description: 备注
  5594. type: string
  5595. spotgoodsdesc:
  5596. description: 商品型号
  5597. type: string
  5598. taaccountname:
  5599. description: 资金账号名称
  5600. type: string
  5601. tradeuserid:
  5602. description: 交易用户id
  5603. type: integer
  5604. tradeusername:
  5605. description: 交易用户名称
  5606. type: string
  5607. unitid:
  5608. description: 单位id(现货商品)
  5609. type: integer
  5610. updatetime:
  5611. description: 更新时间
  5612. type: string
  5613. vatrate:
  5614. description: 增值税率
  5615. type: number
  5616. wrstandardcode:
  5617. description: 品类代码
  5618. type: string
  5619. wrstandardid:
  5620. description: 品类id
  5621. type: integer
  5622. wrstandardname:
  5623. description: 品类名称
  5624. type: string
  5625. wrunitid:
  5626. description: 品类单位id
  5627. type: integer
  5628. wrunitidame:
  5629. description: 品类单位名称
  5630. type: string
  5631. type: object
  5632. models.Ermcp3InnerTradeLink:
  5633. properties:
  5634. accountid:
  5635. description: 期货账号代码 | 资金账号ID
  5636. type: integer
  5637. buyorsell:
  5638. description: 方向 - 0:买 1:卖
  5639. type: integer
  5640. channelbuildtype:
  5641. description: 委托单据类型 0:无 1:建仓 2:平仓
  5642. type: integer
  5643. currencyid:
  5644. description: 币种id
  5645. type: integer
  5646. currencyname:
  5647. description: 结算币种 名称
  5648. type: string
  5649. goodscode:
  5650. description: 商品代码
  5651. type: string
  5652. goodsid:
  5653. description: 商品ID
  5654. type: integer
  5655. goodsname:
  5656. description: 商品名称
  5657. type: string
  5658. outtradeid:
  5659. description: 外部成交单号
  5660. type: string
  5661. taname:
  5662. description: 期货账户名称
  5663. type: string
  5664. tradeid:
  5665. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5666. type: string
  5667. tradeprice:
  5668. description: 成交价格
  5669. type: number
  5670. tradeqty:
  5671. description: 期货成交数量
  5672. type: integer
  5673. tradetime:
  5674. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5675. type: string
  5676. username:
  5677. description: 用户名称
  5678. type: string
  5679. type: object
  5680. models.Ermcp3OutTradeLink:
  5681. properties:
  5682. buyorsell:
  5683. description: 买卖方向 - 0:买 1:卖
  5684. type: integer
  5685. channelbuildtype:
  5686. description: 开平标志- 0:无 1:建仓 2:平仓
  5687. type: integer
  5688. currencyname:
  5689. description: 币种名称
  5690. type: string
  5691. exexchangecode:
  5692. description: 交易所代码
  5693. type: string
  5694. exexchangename:
  5695. description: 交易所名称
  5696. type: string
  5697. goodscode:
  5698. description: 合约代码
  5699. type: string
  5700. goodsid:
  5701. description: 合约id
  5702. type: integer
  5703. goodsname:
  5704. description: 合约名称
  5705. type: string
  5706. hasinnerorder:
  5707. description: 是否有内部单关联 - 0:无 1:有
  5708. type: integer
  5709. hedgeaccountcode:
  5710. description: 外部账号 | 对冲账号
  5711. type: string
  5712. outtradeid:
  5713. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5714. type: string
  5715. tradeprice:
  5716. description: 成交价格
  5717. type: number
  5718. tradeqty:
  5719. description: 成交数量
  5720. type: integer
  5721. tradetime:
  5722. description: 成交时间
  5723. type: string
  5724. type: object
  5725. models.Ermcp3PaAreaAuditCfg:
  5726. properties:
  5727. areauserid:
  5728. description: 用户ID
  5729. type: integer
  5730. buyinauditflag:
  5731. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5732. type: integer
  5733. costratioauditflag:
  5734. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5735. type: integer
  5736. customerauditflag:
  5737. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5738. type: integer
  5739. deliveryauditflag:
  5740. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5741. type: integer
  5742. invoiceauditflag:
  5743. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5744. type: integer
  5745. mgneedhedgeratioauditflag:
  5746. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5747. type: integer
  5748. moneyauditflag:
  5749. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5750. type: integer
  5751. operatorid:
  5752. description: 操作人
  5753. type: integer
  5754. operatorsrc:
  5755. description: 操作来源 - 1:管理端 2:终端
  5756. type: integer
  5757. pointpriceauditflag:
  5758. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5759. type: integer
  5760. produceinauditflag:
  5761. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5762. type: integer
  5763. produceoutauditflag:
  5764. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5765. type: integer
  5766. selloutauditflag:
  5767. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5768. type: integer
  5769. sgconvertratioauditflag:
  5770. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5771. type: integer
  5772. sgvtaratioauditflag:
  5773. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5774. type: integer
  5775. spotcontractauditflag:
  5776. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5777. type: integer
  5778. updatetime:
  5779. description: 更新时间
  5780. type: string
  5781. type: object
  5782. models.Ermcp3PaAreaSubject:
  5783. properties:
  5784. areauserid:
  5785. description: 所属机构
  5786. type: integer
  5787. canmodify:
  5788. description: 是否可修改 - 0:否 1:是
  5789. type: integer
  5790. createtime:
  5791. description: 创建时间
  5792. type: string
  5793. creatorid:
  5794. description: 创建人ID
  5795. type: string
  5796. creatorsrc:
  5797. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5798. type: integer
  5799. modifierid:
  5800. description: 修改人
  5801. type: string
  5802. modifiersrc:
  5803. description: 修改人来源 - 1:管理端 2:终端
  5804. type: integer
  5805. modifytime:
  5806. description: 修改时间
  5807. type: string
  5808. parentsubjectid:
  5809. description: 上级主体ID
  5810. type: string
  5811. remark:
  5812. description: 备注
  5813. type: string
  5814. subjectid:
  5815. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5816. type: integer
  5817. subjectname:
  5818. description: 主体名称
  5819. type: string
  5820. subjectstatus:
  5821. description: '主体状态 - 1:正常 2: 停用'
  5822. type: integer
  5823. subjecttype:
  5824. description: 主体类型 - 1:交易主体 2:业务部门
  5825. type: integer
  5826. type: object
  5827. models.Ermcp3PaTradeLink:
  5828. properties:
  5829. accountid:
  5830. description: 期货账户代码 | 账号ID
  5831. type: integer
  5832. agreeunit:
  5833. description: 合约乘数
  5834. type: number
  5835. buyorsell:
  5836. description: 方向 - 0:买 1:卖
  5837. type: integer
  5838. channelbuildtype:
  5839. description: 委托单据类型 0:无 1:建仓 2:平仓
  5840. type: integer
  5841. charge:
  5842. description: 手续费
  5843. type: number
  5844. closepl:
  5845. description: 平仓盈亏
  5846. type: number
  5847. closetype:
  5848. description: 平仓方式 - 0:无 1:平今 2:平昨
  5849. type: integer
  5850. convertratio:
  5851. description: 折算系数
  5852. type: number
  5853. enumdicname:
  5854. description: 单位名称
  5855. type: string
  5856. executeprice:
  5857. description: 执行价 [期权]
  5858. type: integer
  5859. goodscode:
  5860. description: 合约代码
  5861. type: string
  5862. goodsgroupid:
  5863. description: 对冲品种ID[期货合约商品组ID]
  5864. type: integer
  5865. goodsid:
  5866. description: 商品ID
  5867. type: integer
  5868. goodsname:
  5869. description: 合约名称
  5870. type: string
  5871. goodunitid:
  5872. description: 单位id
  5873. type: integer
  5874. hedgeflag:
  5875. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  5876. type: integer
  5877. marketid:
  5878. description: 市场ID
  5879. type: integer
  5880. middlegoodsid:
  5881. description: 套保品种ID
  5882. type: integer
  5883. middlegoodsqty:
  5884. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  5885. type: number
  5886. optioncode:
  5887. description: 期权代码 [期权]
  5888. type: string
  5889. ordertype:
  5890. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  5891. type: integer
  5892. ordertypename:
  5893. description: 订单类型
  5894. type: string
  5895. parentaccountid:
  5896. description: 所属母账户
  5897. type: integer
  5898. premium:
  5899. description: 权利金 [期权]
  5900. type: number
  5901. relatedlot:
  5902. description: 已关联数量(已关联数量手) | db:关联手数
  5903. type: number
  5904. relatedouttradeid:
  5905. description: 关联外部成交单ID
  5906. type: string
  5907. relatedqty:
  5908. description: 关联数量
  5909. type: number
  5910. spotcontractid:
  5911. description: 现货合同ID [4:套期保值\10\11]
  5912. type: string
  5913. taname:
  5914. description: 期货账户名称
  5915. type: string
  5916. tradeamount:
  5917. description: 成交金额(账户)
  5918. type: number
  5919. tradedate:
  5920. description: 交易日(yyyyMMdd)
  5921. type: string
  5922. tradeid:
  5923. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5924. type: string
  5925. tradelot:
  5926. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  5927. type: integer
  5928. tradeprice:
  5929. description: 成交价格
  5930. type: number
  5931. tradetime:
  5932. description: 时间 | db:成交时间
  5933. type: string
  5934. tradetype:
  5935. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  5936. type: integer
  5937. userid:
  5938. description: 所属机构 - 所属母账户的UserID
  5939. type: string
  5940. username:
  5941. description: 用户名称
  5942. type: string
  5943. type: object
  5944. models.Ermcp3ParamChangeApp:
  5945. properties:
  5946. aftervalue:
  5947. description: 变更后
  5948. type: number
  5949. applicationid:
  5950. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  5951. type: string
  5952. applyid:
  5953. description: 申请人
  5954. type: string
  5955. applyname:
  5956. description: 申请人名称(代码)
  5957. type: string
  5958. applyremark:
  5959. description: 申请备注
  5960. type: string
  5961. applysrc:
  5962. description: 申请来源 - 1:管理端 2:终端
  5963. type: integer
  5964. applystatus:
  5965. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5966. type: integer
  5967. applytime:
  5968. description: 申请时间
  5969. type: string
  5970. areauserid:
  5971. description: 所属机构用户ID
  5972. type: integer
  5973. auditid:
  5974. description: 审核人
  5975. type: string
  5976. auditname:
  5977. description: 审核人名称(代码)
  5978. type: string
  5979. auditremark:
  5980. description: 审核备注
  5981. type: string
  5982. auditsrc:
  5983. description: 审核来源 - 1:管理端 2:终端
  5984. type: integer
  5985. audittime:
  5986. description: 审核时间
  5987. type: string
  5988. audittradedate:
  5989. description: 审核交易日(yyyyMMdd)
  5990. type: string
  5991. beforevalue:
  5992. description: 变更前
  5993. type: number
  5994. deliverygoodscode:
  5995. description: 品种代码
  5996. type: string
  5997. deliverygoodsid:
  5998. description: 品种id
  5999. type: integer
  6000. deliverygoodsname:
  6001. description: 品种名称
  6002. type: string
  6003. middlegoodscode:
  6004. description: 套保品种代码
  6005. type: string
  6006. middlegoodsid:
  6007. description: 套保品种ID [ParamChangeType = 2,3,4]
  6008. type: integer
  6009. middlegoodsname:
  6010. description: 套保品种名称
  6011. type: string
  6012. operatetype:
  6013. description: 操作类型 - 1:新增 2:修改
  6014. type: integer
  6015. paramchangetype:
  6016. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6017. type: integer
  6018. wrstandardcode:
  6019. description: 现货商品代码
  6020. type: string
  6021. wrstandardid:
  6022. description: 现货商品ID [ParamChangeType = 1,2,3]
  6023. type: integer
  6024. wrstandardname:
  6025. description: 现货商品名称
  6026. type: string
  6027. type: object
  6028. models.Ermcp3RootUserAccount:
  6029. properties:
  6030. accountname:
  6031. description: 账户名称(机构名称)
  6032. type: string
  6033. accountstatus:
  6034. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6035. type: integer
  6036. applysrc:
  6037. description: 申请来源 - 1:管理端 2:终端
  6038. type: integer
  6039. auditremark:
  6040. description: 审核备注
  6041. type: string
  6042. auditsrc:
  6043. description: 审核来源 - 1:管理端 2:终端
  6044. type: integer
  6045. audittime:
  6046. description: 审核时间
  6047. type: string
  6048. audituserid:
  6049. description: 审核人
  6050. type: integer
  6051. broker:
  6052. description: 所属经纪人ID
  6053. type: integer
  6054. canceltime:
  6055. description: 销户时间
  6056. type: string
  6057. canceluserid:
  6058. description: 销户人
  6059. type: integer
  6060. canrecommend:
  6061. description: 是否可推荐 - 0:不可 1;可
  6062. type: integer
  6063. createtime:
  6064. description: 创建时间
  6065. type: string
  6066. creatorid:
  6067. description: 创建人
  6068. type: integer
  6069. hasauth:
  6070. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6071. type: integer
  6072. isanonymous:
  6073. description: 是否匿名下单 - 0:否 1:是
  6074. type: integer
  6075. maxinvestornum:
  6076. description: 最大用户数(经纪会员下投资者个数)
  6077. type: integer
  6078. memberuserid:
  6079. description: 所属会员ID
  6080. type: integer
  6081. modifierid:
  6082. description: 修改人
  6083. type: integer
  6084. modifyremark:
  6085. description: 变更备注
  6086. type: string
  6087. modifystatus:
  6088. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6089. type: integer
  6090. modifytime:
  6091. description: 修改时间
  6092. type: string
  6093. nickname:
  6094. description: 昵称
  6095. type: string
  6096. parenttopuser:
  6097. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6098. type: string
  6099. parentuserid:
  6100. description: 所属机构ID
  6101. type: integer
  6102. reckonaccountid:
  6103. description: 默认结算资金账号ID(机构分润使用) 作废
  6104. type: integer
  6105. refercount:
  6106. description: 推荐总人数
  6107. type: integer
  6108. refereeuserid:
  6109. description: 推荐人ID
  6110. type: integer
  6111. refernum:
  6112. description: 推荐码
  6113. type: string
  6114. rootuserid:
  6115. description: 根用户ID
  6116. type: integer
  6117. subaccountlevel:
  6118. description: 子账户层数
  6119. type: integer
  6120. subarealevelpath:
  6121. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6122. type: string
  6123. userid:
  6124. description: 用户ID
  6125. type: integer
  6126. usertype:
  6127. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6128. type: integer
  6129. type: object
  6130. models.Ermcp3SCMiddleGoods:
  6131. properties:
  6132. biztype:
  6133. description: 业务类型 1:套保 2:套利
  6134. type: integer
  6135. contractno:
  6136. description: 合同编号
  6137. type: string
  6138. contracttype:
  6139. description: 合同类型 1:采购 -1:销售
  6140. type: integer
  6141. convertratio:
  6142. description: 折算系数
  6143. type: number
  6144. customername:
  6145. description: 对手手名称
  6146. type: string
  6147. customeruserid:
  6148. description: 对手id
  6149. type: integer
  6150. deliverygoodscode:
  6151. description: 现货品种代码
  6152. type: string
  6153. deliverygoodsid:
  6154. description: 现货品种ID
  6155. type: integer
  6156. deliverygoodsname:
  6157. description: 现货品种名称
  6158. type: string
  6159. enumdicname:
  6160. description: 现货单位名称
  6161. type: string
  6162. middlegoodsid:
  6163. description: 套保品种ID
  6164. type: integer
  6165. middlegoodspricedqty3:
  6166. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6167. type: number
  6168. needhedgeratio:
  6169. description: 套保比例
  6170. type: number
  6171. pricedqty:
  6172. description: 已定价量
  6173. type: number
  6174. relatedmiddlegoodsqty:
  6175. description: 已关联量(套保品种)(期货)
  6176. type: number
  6177. spotcontractid:
  6178. description: 合同编号
  6179. type: string
  6180. unitid:
  6181. description: 现货单位id
  6182. type: integer
  6183. userid:
  6184. description: 用户id
  6185. type: integer
  6186. vatrate:
  6187. description: 增值税率
  6188. type: number
  6189. wrstandardcode:
  6190. description: 现货商品代码
  6191. type: string
  6192. wrstandardid:
  6193. description: 现货商品id
  6194. type: integer
  6195. wrstandardname:
  6196. description: 现货商品名称
  6197. type: string
  6198. type: object
  6199. models.Ermcp3SCMiddleGoodsReport:
  6200. properties:
  6201. begindate:
  6202. description: 开始交易日
  6203. type: string
  6204. contractno:
  6205. description: 合同编号
  6206. type: string
  6207. contracttype:
  6208. description: 合同类型 1:采购 -1:销售
  6209. type: integer
  6210. convertratio:
  6211. description: 折算系数
  6212. type: number
  6213. cycletime:
  6214. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6215. type: string
  6216. cycletype:
  6217. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6218. type: integer
  6219. deliverygoodscode:
  6220. description: 品种代码
  6221. type: string
  6222. deliverygoodsid:
  6223. description: 现货品种ID
  6224. type: integer
  6225. deliverygoodsname:
  6226. description: 品种名称
  6227. type: string
  6228. diffprice:
  6229. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6230. type: number
  6231. diffqty:
  6232. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6233. type: number
  6234. enddate:
  6235. description: 结束交易日
  6236. type: string
  6237. hedgeplanqty:
  6238. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6239. type: number
  6240. matchname:
  6241. description: 交易对手方(个人:用户名称 企业:简称)
  6242. type: string
  6243. middlegoodscode:
  6244. description: 套保品种代码
  6245. type: string
  6246. middlegoodsid:
  6247. description: 套保品种ID
  6248. type: integer
  6249. middlegoodsname:
  6250. description: 套保品种名称
  6251. type: string
  6252. middlegoodspricedqty:
  6253. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6254. type: number
  6255. middlegoodspricedqty2:
  6256. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6257. type: number
  6258. middlegoodspricedqty3:
  6259. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6260. type: number
  6261. needhedgeratio:
  6262. description: 套保系数
  6263. type: number
  6264. pricedamount:
  6265. description: 已定价额(现货)
  6266. type: number
  6267. pricedamount2:
  6268. description: 已定价额(现货-基价额)
  6269. type: number
  6270. pricedqty:
  6271. description: 已定价量(现货)
  6272. type: number
  6273. reckondate:
  6274. description: 日照时期(yyyyMMdd)
  6275. type: string
  6276. relatedmiddlegoodsamount:
  6277. description: 已关联额(期货)
  6278. type: number
  6279. relatedmiddlegoodsqty:
  6280. description: 已关联量(套保品种)(期货)
  6281. type: number
  6282. spotcontractid:
  6283. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6284. type: string
  6285. todayavgfutuprice:
  6286. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  6287. type: number
  6288. todayavgprice:
  6289. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6290. type: number
  6291. todayavgprice2:
  6292. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6293. type: number
  6294. todaypricedamount:
  6295. description: 今日定价额(现货)
  6296. type: number
  6297. todaypricedamount2:
  6298. description: 今日定价额(现货-基价额)
  6299. type: number
  6300. todaypricedqty:
  6301. description: 今日定价量(现货)
  6302. type: number
  6303. todayrelatedfutureqty:
  6304. description: 今日关联量(期货)
  6305. type: number
  6306. todayrelatedmiddlegoodsamount:
  6307. description: 今日关联额(期货)
  6308. type: number
  6309. todayrelatedmiddlegoodsqty:
  6310. description: 今日关联量(套保品-期货)
  6311. type: number
  6312. updatetime:
  6313. description: 更新时间
  6314. type: string
  6315. userid:
  6316. description: 合同所属用户id
  6317. type: integer
  6318. vatrate:
  6319. description: 增值税率
  6320. type: number
  6321. wrstandardcode:
  6322. description: 商品(品类) 代码
  6323. type: string
  6324. wrstandardid:
  6325. description: 现货商品ID
  6326. type: integer
  6327. wrstandardname:
  6328. description: 商品(品类) 名称
  6329. type: string
  6330. type: object
  6331. models.Ermcp3SellBuyContract:
  6332. properties:
  6333. accountid:
  6334. description: 期货账户id
  6335. type: string
  6336. accountname:
  6337. description: 账户名称
  6338. type: string
  6339. attachment:
  6340. description: 附件
  6341. type: string
  6342. audittime:
  6343. description: 审核时间
  6344. type: string
  6345. bizsubjectid:
  6346. description: 归属业务部门ID - SubjectID
  6347. type: integer
  6348. biztype:
  6349. description: 业务类型 1-套保 2-套利
  6350. type: integer
  6351. brandname:
  6352. description: 品牌名称
  6353. type: string
  6354. contracctstatus:
  6355. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6356. type: integer
  6357. contractmargin:
  6358. description: 合同保证金
  6359. type: number
  6360. contractno:
  6361. description: 合同编号
  6362. type: string
  6363. contracttype:
  6364. description: 合同类型 1-采购, -1-销售
  6365. type: integer
  6366. convertfactor:
  6367. description: 标仓系数(品类)
  6368. type: number
  6369. createtime:
  6370. description: 创建时间
  6371. type: string
  6372. currencyid:
  6373. description: 币种id
  6374. type: integer
  6375. currencyname:
  6376. description: 币种名称
  6377. type: string
  6378. daikaiamount:
  6379. description: 应收(开)票额
  6380. type: number
  6381. deliveryenddate:
  6382. description: 交割结束日
  6383. type: string
  6384. deliverygoodscode:
  6385. description: 现货品种代码
  6386. type: string
  6387. deliverygoodsid:
  6388. description: 现货商品ID
  6389. type: integer
  6390. deliverygoodsname:
  6391. description: 现货品种名称
  6392. type: string
  6393. deliverystartdate:
  6394. description: 交割开始日
  6395. type: string
  6396. enddate:
  6397. description: 点价结束日
  6398. type: string
  6399. enumdicname:
  6400. description: 单位名称
  6401. type: string
  6402. goodscode:
  6403. description: 点价商品代码
  6404. type: string
  6405. goodsgroupid:
  6406. description: 点价商品组id
  6407. type: integer
  6408. goodsid:
  6409. description: 点价商品ID
  6410. type: integer
  6411. goodsname:
  6412. description: 点价商品名称
  6413. type: string
  6414. invoiceamount:
  6415. description: 已开票额
  6416. type: number
  6417. loanamount:
  6418. description: 贷款总额=已定价额+调整金额
  6419. type: number
  6420. margin:
  6421. description: 保证金
  6422. type: number
  6423. meruserid:
  6424. description: 跟单员id
  6425. type: integer
  6426. meruserlogincode:
  6427. description: 跟单员登录代码
  6428. type: string
  6429. merusername:
  6430. description: 跟单员名称
  6431. type: string
  6432. nickname:
  6433. description: 账户昵称
  6434. type: string
  6435. payamount:
  6436. description: 已收付额(收款或付款)
  6437. type: number
  6438. preinvoiceamount:
  6439. description: 预收(开)票额
  6440. type: number
  6441. prepayamount:
  6442. description: 预收付额
  6443. type: number
  6444. price:
  6445. description: 价格
  6446. type: number
  6447. pricedamount:
  6448. description: 已定价额
  6449. type: number
  6450. pricedavg:
  6451. description: 已点均价
  6452. type: number
  6453. pricedqty:
  6454. description: 已定价量
  6455. type: number
  6456. pricemove:
  6457. description: 升贴水
  6458. type: number
  6459. pricetype:
  6460. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6461. type: integer
  6462. producttype:
  6463. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6464. type: integer
  6465. qty:
  6466. description: 合同量
  6467. type: number
  6468. reckonadjustamount:
  6469. description: 调整金额
  6470. type: number
  6471. reckonedamount:
  6472. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6473. type: number
  6474. reckonotheramount:
  6475. description: 其它费用
  6476. type: number
  6477. reckonrealqty:
  6478. description: 已确定量
  6479. type: number
  6480. remark:
  6481. description: 备注
  6482. type: string
  6483. saleuserid:
  6484. description: 业务员id
  6485. type: integer
  6486. saleuserlogincode:
  6487. description: 业务员登录代码
  6488. type: string
  6489. saleusername:
  6490. description: 业务员名称
  6491. type: string
  6492. spotcontractid:
  6493. description: 合同ID
  6494. type: string
  6495. spotgoodsbrandid:
  6496. description: 现货品牌ID(DGFactoryItem表的ID)
  6497. type: integer
  6498. spotgoodsdesc:
  6499. description: 商品型号(商品规格)
  6500. type: string
  6501. startdate:
  6502. description: 点价开始日
  6503. type: string
  6504. subjectid:
  6505. description: 交易主体ID
  6506. type: integer
  6507. subjectname:
  6508. description: 交易主体名称
  6509. type: string
  6510. totalamount:
  6511. description: 合计总额
  6512. type: number
  6513. tradeuserid:
  6514. description: 交易员id
  6515. type: integer
  6516. tradeuserlogincode:
  6517. description: 交易员登录代码
  6518. type: string
  6519. tradeusername:
  6520. description: 交易员名称
  6521. type: string
  6522. unpayamount:
  6523. description: 应收付款额(应支付或应收款)
  6524. type: number
  6525. unpricedqty:
  6526. description: 未定价量
  6527. type: number
  6528. unsureqty:
  6529. description: 未确定量
  6530. type: number
  6531. userid:
  6532. description: 机构ID
  6533. type: integer
  6534. vatrate:
  6535. description: 增值税率
  6536. type: number
  6537. wrstandardcode:
  6538. description: 品类代码
  6539. type: string
  6540. wrstandardid:
  6541. description: 品类ID
  6542. type: integer
  6543. wrstandardname:
  6544. description: 品类名称
  6545. type: string
  6546. type: object
  6547. models.Ermcp3SpotGoodsPrice:
  6548. properties:
  6549. areauserid:
  6550. description: 所属机构id
  6551. type: integer
  6552. brandname:
  6553. description: 品牌名称
  6554. type: string
  6555. currencyid:
  6556. description: 报价货币ID
  6557. type: integer
  6558. currencyname:
  6559. description: 币种名称
  6560. type: string
  6561. deliverygoodscode:
  6562. description: 现货商品代码
  6563. type: string
  6564. deliverygoodsid:
  6565. description: 现货商品id
  6566. type: integer
  6567. deliverygoodsname:
  6568. description: 现货商品名称
  6569. type: string
  6570. enumdicname:
  6571. description: 现货商品单位名称
  6572. type: string
  6573. gbenumdicname:
  6574. description: 品类单位名称
  6575. type: string
  6576. gmunitid:
  6577. description: 品类单位id
  6578. type: integer
  6579. isvalid:
  6580. description: 是否有效 - 0:无效 1:有效
  6581. type: integer
  6582. operateid:
  6583. description: 最后操作人
  6584. type: integer
  6585. operatesrc:
  6586. description: 最后操作来源 - 1:管理端 2:终端
  6587. type: integer
  6588. operatetime:
  6589. description: 最后操作时间
  6590. type: string
  6591. operatorname:
  6592. description: 操作人名称
  6593. type: string
  6594. spotgoodsbrandid:
  6595. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6596. type: integer
  6597. spotgoodsprice:
  6598. description: 现货价格
  6599. type: number
  6600. tradedate:
  6601. description: 交易日(yyyyMMdd)
  6602. type: string
  6603. unitid:
  6604. description: 现货商品单位id
  6605. type: integer
  6606. wrstandardcode:
  6607. description: 品类代码
  6608. type: string
  6609. wrstandardid:
  6610. description: 现货品类ID(通用则为0)
  6611. type: integer
  6612. wrstandardname:
  6613. description: 品类名称
  6614. type: string
  6615. type: object
  6616. models.Ermcp3SpotGoodsPriceLog:
  6617. properties:
  6618. areauserid:
  6619. description: 所属机构id
  6620. type: integer
  6621. brandname:
  6622. description: 品牌名称
  6623. type: string
  6624. currencyid:
  6625. description: 报价货币ID
  6626. type: integer
  6627. deliverygoodscode:
  6628. description: 现货商品代码
  6629. type: string
  6630. deliverygoodsid:
  6631. description: 现货商品id
  6632. type: integer
  6633. deliverygoodsname:
  6634. description: 现货商品名称
  6635. type: string
  6636. enumdicname:
  6637. description: 现货商品单位名称
  6638. type: string
  6639. gbenumdicname:
  6640. description: 品类单位名称
  6641. type: string
  6642. gmunitid:
  6643. description: 品类单位id
  6644. type: integer
  6645. logid:
  6646. description: 日志id
  6647. type: integer
  6648. operateid:
  6649. description: 最后操作人
  6650. type: integer
  6651. operatesrc:
  6652. description: 最后操作来源 - 1:管理端 2:终端
  6653. type: integer
  6654. operatetime:
  6655. description: 最后操作时间
  6656. type: string
  6657. operatorname:
  6658. description: 操作人名称
  6659. type: string
  6660. spotgoodsbrandid:
  6661. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6662. type: integer
  6663. spotgoodsprice:
  6664. description: 现货价格
  6665. type: number
  6666. tradedate:
  6667. description: 交易日(yyyyMMdd)
  6668. type: string
  6669. unitid:
  6670. description: 现货商品单位id
  6671. type: integer
  6672. wrstandardcode:
  6673. description: 品类代码
  6674. type: string
  6675. wrstandardid:
  6676. description: 现货品类ID(通用则为0)
  6677. type: integer
  6678. wrstandardname:
  6679. description: 品类名称
  6680. type: string
  6681. type: object
  6682. models.Ermcp3SubTaaccount:
  6683. properties:
  6684. accountid:
  6685. description: 资金账户ID
  6686. type: integer
  6687. parentaccountcode:
  6688. description: 所属根账号代码(母账号代码)
  6689. type: string
  6690. parentaccountid:
  6691. description: 所属根账号(母账号)
  6692. type: integer
  6693. taname:
  6694. description: 资金账号名称
  6695. type: string
  6696. tradestatus:
  6697. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6698. type: integer
  6699. username:
  6700. description: 交易用户
  6701. type: string
  6702. type: object
  6703. models.Ermcp3TaFutuReDataReport:
  6704. properties:
  6705. accountid:
  6706. description: 交易账户
  6707. type: integer
  6708. accountname:
  6709. description: 交易账号名称
  6710. type: string
  6711. agreeunit:
  6712. description: 商品合约单位
  6713. type: number
  6714. begindate:
  6715. description: 开始交易日
  6716. type: string
  6717. buyorsell:
  6718. description: 持仓方向
  6719. type: integer
  6720. charge:
  6721. description: 手续费
  6722. type: number
  6723. closeavgprice:
  6724. description: 平仓均价
  6725. type: number
  6726. closepl:
  6727. description: 平仓损益
  6728. type: number
  6729. currencyid:
  6730. description: 结算币种ID
  6731. type: integer
  6732. currencyname:
  6733. description: 币种名称
  6734. type: string
  6735. cycletime:
  6736. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6737. type: string
  6738. cycletype:
  6739. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6740. type: integer
  6741. enddate:
  6742. description: 结束交易日
  6743. type: string
  6744. enumdicname:
  6745. description: 单位名称
  6746. type: string
  6747. floatpl:
  6748. description: 浮动损益
  6749. type: number
  6750. goodscode:
  6751. description: 交易合约代码
  6752. type: string
  6753. goodsgroupid:
  6754. description: 交易品种
  6755. type: integer
  6756. goodsgroupname:
  6757. description: 交易品种名称
  6758. type: string
  6759. goodsgroupspotqty:
  6760. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6761. type: number
  6762. goodsid:
  6763. description: 交易合约
  6764. type: integer
  6765. goodsname:
  6766. description: 交易合约名称
  6767. type: string
  6768. goodunitid:
  6769. description: 交易合约单位id
  6770. type: integer
  6771. holdamount:
  6772. description: 期末持仓额
  6773. type: number
  6774. holdqty:
  6775. description: 期末持仓量
  6776. type: number
  6777. lastholdamount:
  6778. description: 当前持仓额
  6779. type: number
  6780. lastprice:
  6781. description: 最新价
  6782. type: number
  6783. middlegoodsid:
  6784. description: 套保品种id
  6785. type: integer
  6786. middlegoodsname:
  6787. description: 套保商品名称
  6788. type: string
  6789. middlegoodsqty:
  6790. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6791. type: number
  6792. middlgoodscode:
  6793. description: 套保商品代码
  6794. type: string
  6795. openamount:
  6796. description: 期末开仓额
  6797. type: number
  6798. openavgprice:
  6799. description: 开仓均价
  6800. type: number
  6801. oriholdamount:
  6802. description: 期初持仓额
  6803. type: number
  6804. oriholdqty:
  6805. description: 期初持仓量
  6806. type: number
  6807. oriopenamount:
  6808. description: 期初开仓额
  6809. type: number
  6810. outergroupcode:
  6811. description: 交易品种代码
  6812. type: string
  6813. qtydecimalplace:
  6814. description: 成交量小数位
  6815. type: integer
  6816. reckondate:
  6817. description: 日照时期(yyyyMMdd)
  6818. type: string
  6819. reckonholdamount:
  6820. description: 结算持仓额
  6821. type: number
  6822. reckonpl:
  6823. description: 结算损益
  6824. type: number
  6825. reckonpl2:
  6826. description: 结算逐笔盈亏
  6827. type: number
  6828. reckonprice:
  6829. description: 结算价
  6830. type: number
  6831. relateduserid:
  6832. description: 账户关联用户ID
  6833. type: integer
  6834. todaycloseamount:
  6835. description: 今平仓额
  6836. type: number
  6837. todaycloseqty:
  6838. description: 今平仓量
  6839. type: number
  6840. todaygoodsgroupspotqty:
  6841. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6842. type: number
  6843. todaymiddlegoodsqty:
  6844. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6845. type: number
  6846. todayopenamount:
  6847. description: 今开仓额
  6848. type: number
  6849. todayopenqty:
  6850. description: 今开仓量
  6851. type: number
  6852. userid:
  6853. description: 账户所属用户ID
  6854. type: integer
  6855. type: object
  6856. models.Ermcp3TradeLinkDetail:
  6857. properties:
  6858. accountid:
  6859. description: 资金账号
  6860. type: integer
  6861. agreeunit:
  6862. description: 合约乘数
  6863. type: number
  6864. areauserid:
  6865. description: 所属机构
  6866. type: string
  6867. bizsubjectid:
  6868. description: 归属业务部门ID - SubjectID
  6869. type: string
  6870. buyorsell:
  6871. description: 方向 - 0:买 1:卖
  6872. type: integer
  6873. channelbuildtype:
  6874. description: 委托单据类型 0:无 1:建仓 2:平仓
  6875. type: integer
  6876. contractno:
  6877. description: 现货编号 (合同编号)
  6878. type: string
  6879. convertratio:
  6880. description: 折算系数
  6881. type: number
  6882. createtime:
  6883. description: 关联时间 | 创建时间
  6884. type: string
  6885. creatorid:
  6886. description: 创建人ID
  6887. type: string
  6888. creatorsrc:
  6889. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6890. type: integer
  6891. enumdicname:
  6892. description: 单位名称
  6893. type: string
  6894. goodscode:
  6895. description: 合约代码
  6896. type: string
  6897. goodsgroupid:
  6898. description: 对冲品种ID[期货合约商品组ID]
  6899. type: integer
  6900. goodsid:
  6901. description: 商品ID
  6902. type: integer
  6903. goodsname:
  6904. description: 合约名称
  6905. type: string
  6906. hedgeflag:
  6907. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6908. type: integer
  6909. linkdetailid:
  6910. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  6911. type: string
  6912. linkstatus:
  6913. description: 关联状态 - 1:成功 2:失败 3:解绑
  6914. type: integer
  6915. middlegoodscode:
  6916. description: 套保品种代码
  6917. type: string
  6918. middlegoodsid:
  6919. description: 套保品种ID
  6920. type: integer
  6921. middlegoodsname:
  6922. description: 套保品种名称
  6923. type: string
  6924. relatedlot:
  6925. description: 关联手数
  6926. type: number
  6927. relatedmode:
  6928. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  6929. type: integer
  6930. relatedqty:
  6931. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  6932. type: number
  6933. retcode:
  6934. description: 返回码
  6935. type: integer
  6936. saleuserid:
  6937. description: 业务员ID
  6938. type: string
  6939. spotcontractid:
  6940. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  6941. type: string
  6942. taname:
  6943. description: 期货账户
  6944. type: string
  6945. tradedate:
  6946. description: 关联交易日(yyyyMMdd)
  6947. type: string
  6948. tradeid:
  6949. description: 期货订单号 | 内部成交单ID
  6950. type: string
  6951. tradelot:
  6952. description: 成交数量 | 成交手数
  6953. type: integer
  6954. tradeprice:
  6955. description: 成交价格
  6956. type: number
  6957. tradetime:
  6958. description: 期货成交时间
  6959. type: string
  6960. tradetradedate:
  6961. description: 成交交易日(yyyyMMdd)
  6962. type: string
  6963. username:
  6964. description: 用户名称
  6965. type: string
  6966. type: object
  6967. models.Ermcp3Wrstandard:
  6968. properties:
  6969. areauserid:
  6970. description: 所属机构
  6971. type: integer
  6972. cantrade:
  6973. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  6974. type: integer
  6975. convertfactor:
  6976. description: 标仓系数
  6977. type: number
  6978. createtime:
  6979. description: 创建时间
  6980. type: string
  6981. creatorid:
  6982. description: 创建人
  6983. type: integer
  6984. deliverygoodsid:
  6985. description: 现货品种ID
  6986. type: integer
  6987. enumdicname:
  6988. description: 品类单位名称
  6989. type: string
  6990. isvalid:
  6991. description: 是否有效 0-无效(停用) 1-有效(正常)
  6992. type: integer
  6993. minivalue:
  6994. description: 最小变动值
  6995. type: integer
  6996. minivaluedp:
  6997. description: 最小变动值小数位
  6998. type: integer
  6999. realminivalue:
  7000. description: 实际最小变动值
  7001. type: integer
  7002. realminivaluedp:
  7003. description: 实际最小变动值小数位
  7004. type: integer
  7005. remark:
  7006. description: 备注
  7007. type: string
  7008. unitid:
  7009. description: 品类单位ID
  7010. type: integer
  7011. updatetime:
  7012. description: 更新时间
  7013. type: string
  7014. wrstandardcode:
  7015. description: 品类代码
  7016. type: string
  7017. wrstandardid:
  7018. description: 品类ID(SEQ_WRSTANDARD)
  7019. type: integer
  7020. wrstandardname:
  7021. description: 品类名称
  7022. type: string
  7023. type: object
  7024. models.ErmcpBizGroupEx:
  7025. properties:
  7026. acclist:
  7027. description: 账号列表
  7028. items:
  7029. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7030. type: array
  7031. bizgroupid:
  7032. description: 业务分组id
  7033. type: integer
  7034. biztype:
  7035. description: 业务类型 1-套保 2-套利
  7036. type: integer
  7037. wrlist:
  7038. description: 现货商品表
  7039. items:
  7040. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7041. type: array
  7042. type: object
  7043. models.ErmcpBizGroupSpotGoods:
  7044. properties:
  7045. areauserid:
  7046. description: 所属机构id
  7047. type: integer
  7048. bizgroupid:
  7049. description: 分组id
  7050. type: integer
  7051. biztype:
  7052. description: 业务类型 1-套保 2-套利
  7053. type: integer
  7054. deliverygoodscode:
  7055. description: 现货商品代码
  7056. type: string
  7057. deliverygoodsid:
  7058. description: 现货商品id
  7059. type: integer
  7060. deliverygoodsname:
  7061. description: 现货商品名称
  7062. type: string
  7063. unitid:
  7064. description: 现货商品单位id
  7065. type: integer
  7066. type: object
  7067. models.ErmcpBizGroupTaAccount:
  7068. properties:
  7069. accountid:
  7070. description: 账号id
  7071. type: integer
  7072. accountname:
  7073. description: 账号名称
  7074. type: string
  7075. areauserid:
  7076. description: 所属机构id
  7077. type: integer
  7078. bizgroupid:
  7079. description: 业务分组id
  7080. type: integer
  7081. ismain:
  7082. description: 是否主账号 1-是 0-否
  7083. type: integer
  7084. type: object
  7085. models.ErmcpDGFactoryItem:
  7086. properties:
  7087. areauserid:
  7088. description: 用户id
  7089. type: integer
  7090. deliverygoodsid:
  7091. description: 现货品种ID
  7092. type: integer
  7093. dgfactoryitemid:
  7094. description: 选择项ID(SEQ_DGFACTORYITEM)
  7095. type: integer
  7096. dgfactoryitemtypeid:
  7097. description: 要素项类型
  7098. type: integer
  7099. dgfactoryitemvalue:
  7100. description: 要素项值(类型为仓库时填写仓库名称)
  7101. type: string
  7102. isvalid:
  7103. description: 是否有效 - 0:无效 1:有效
  7104. type: integer
  7105. orderindex:
  7106. description: 顺序
  7107. type: integer
  7108. warehouseid:
  7109. description: 仓库ID(类型为仓库时填写)
  7110. type: integer
  7111. type: object
  7112. models.ErmcpDeliveryGoods:
  7113. properties:
  7114. agreeunit:
  7115. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7116. type: integer
  7117. areauserid:
  7118. description: 所属机构
  7119. type: integer
  7120. auditflag:
  7121. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7122. type: integer
  7123. categoryid:
  7124. description: 类别ID(SEQ_WRCATEGORY)
  7125. type: integer
  7126. deliverygoodscode:
  7127. description: 现货品种代码
  7128. type: string
  7129. deliverygoodsid:
  7130. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7131. type: integer
  7132. deliverygoodsname:
  7133. description: 现货品种名称
  7134. type: string
  7135. deliverygoodstype:
  7136. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7137. type: integer
  7138. dgstatus:
  7139. description: 品种状态 - 作废 - 0:未激活 1:正常
  7140. type: integer
  7141. enumdicname:
  7142. description: 现货品种单位名称
  7143. type: string
  7144. goodsunitid:
  7145. description: 现货品种单位ID
  7146. type: integer
  7147. isvalid:
  7148. description: 是否有效 - 0:无效 1:有效
  7149. type: integer
  7150. qtydecimalplace:
  7151. description: 成交量小数位
  7152. type: integer
  7153. remark:
  7154. description: 备注
  7155. type: string
  7156. standardqty:
  7157. description: 标准数量(库位数量) [标准品特有]
  7158. type: integer
  7159. standardqtyrange:
  7160. description: 标准数量偏差范围 [标准品特有]
  7161. type: integer
  7162. type: object
  7163. models.ErmcpFuturesCompany:
  7164. properties:
  7165. brokerid:
  7166. description: 经纪公司代码
  7167. type: string
  7168. channeladdress:
  7169. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7170. type: string
  7171. channelid:
  7172. description: 对冲渠道ID
  7173. type: string
  7174. createtime:
  7175. description: 创建时间
  7176. type: string
  7177. creatorid:
  7178. description: 创建人
  7179. type: string
  7180. fcid:
  7181. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7182. type: integer
  7183. fcname:
  7184. description: 期货公司名称
  7185. type: string
  7186. isvalid:
  7187. description: 是否有效 - 0:无效 1:有效
  7188. type: integer
  7189. mhpaddress:
  7190. description: MHP服务地址(IP:Port)
  7191. type: string
  7192. riskrulegroupid:
  7193. description: 风控规则组ID
  7194. type: string
  7195. tradefeetmpid:
  7196. description: 手续费模板ID[TradeConfigTmpType为2]
  7197. type: string
  7198. trademargintmpid:
  7199. description: 保证金模板ID [TradeConfigTmpType为1]
  7200. type: string
  7201. traderatetmpid:
  7202. description: 汇率模板ID[TradeConfigTmpType为3]
  7203. type: string
  7204. updatetime:
  7205. description: 更新时间
  7206. type: string
  7207. updatorid:
  7208. description: 更新人
  7209. type: string
  7210. type: object
  7211. models.ErmcpGGConvertCfg:
  7212. properties:
  7213. convertratio:
  7214. description: 折算系数
  7215. type: number
  7216. destgoodsgroupid:
  7217. description: 目标品种ID
  7218. type: integer
  7219. dstcode:
  7220. description: 目录品种代码
  7221. type: string
  7222. dstexchangecode:
  7223. description: 目标期货交易所
  7224. type: string
  7225. dstname:
  7226. description: 目标品种名称
  7227. type: string
  7228. dstunitid:
  7229. description: 目标品种单位ID
  7230. type: integer
  7231. dstunitidname:
  7232. description: 目标品种单位名称
  7233. type: string
  7234. modifytime:
  7235. description: 修改时间
  7236. type: string
  7237. srccode:
  7238. description: 源品种代码
  7239. type: string
  7240. srcexchangecode:
  7241. description: 源期货交易所
  7242. type: string
  7243. srcgoodsgroupid:
  7244. description: 源品种ID
  7245. type: integer
  7246. srcname:
  7247. description: 源品种名称
  7248. type: string
  7249. srcunitid:
  7250. description: 源品种单位ID
  7251. type: integer
  7252. srcunitidname:
  7253. description: 源品种单位名称
  7254. type: string
  7255. type: object
  7256. models.ErmcpGoods:
  7257. properties:
  7258. agreeunit:
  7259. description: 合约单位
  7260. type: number
  7261. areauserid:
  7262. description: 所属机构
  7263. type: integer
  7264. auditaccountid:
  7265. description: 审核操作员账号
  7266. type: integer
  7267. audittime:
  7268. description: 审核时间
  7269. type: string
  7270. cancelaccountid:
  7271. description: 注销操作员账号
  7272. type: integer
  7273. canceltime:
  7274. description: 注销时间
  7275. type: string
  7276. closepricemode:
  7277. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7278. type: integer
  7279. closepriceparam:
  7280. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7281. type: number
  7282. createtime:
  7283. description: 创建时间
  7284. type: string
  7285. creatorid:
  7286. description: 创建人
  7287. type: integer
  7288. currencyid:
  7289. description: 报价货币ID
  7290. type: integer
  7291. cutmode:
  7292. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7293. type: integer
  7294. decimalplace:
  7295. description: 报价小数位
  7296. type: integer
  7297. delistingdate:
  7298. description: 商品退市时间(状态:退市) -- 已作废
  7299. type: string
  7300. delistingmode:
  7301. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7302. type: integer
  7303. deliveryflag:
  7304. description: 交割标志 - 0:不可交割 1:可交割
  7305. type: integer
  7306. enumdicname:
  7307. description: 单位名称
  7308. type: string
  7309. forceclosemode:
  7310. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7311. type: integer
  7312. forceclosevalue:
  7313. description: 定期强平参数 [收益权]
  7314. type: integer
  7315. goodscode:
  7316. description: 商品代码(内部)
  7317. type: string
  7318. goodscurrencyid:
  7319. description: 合约货币ID
  7320. type: integer
  7321. goodsgroupid:
  7322. description: 所属商品组ID
  7323. type: integer
  7324. goodsid:
  7325. description: 商品ID(自增ID SEQ_GOODS)
  7326. type: integer
  7327. goodsname:
  7328. description: 商品名称
  7329. type: string
  7330. goodsquotetype:
  7331. description: '合约报价类型: 1-直接报价 2-间接报价'
  7332. type: integer
  7333. goodsstatus:
  7334. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7335. type: integer
  7336. goodstradetype:
  7337. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7338. type: integer
  7339. goodunitid:
  7340. description: 报价单位ID
  7341. type: integer
  7342. hasquoter:
  7343. description: 是否有报价商 - 0:无报价商 1:有报价商
  7344. type: integer
  7345. hqprotecttime:
  7346. description: 行情保护时间(秒)
  7347. type: integer
  7348. innerdealmode:
  7349. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7350. type: integer
  7351. isbuylimited:
  7352. description: 是否限制建仓量 - 0:不限制 1:限制
  7353. type: integer
  7354. isvisible:
  7355. description: 游客是否可见 - 0:不可见 1:可见
  7356. type: integer
  7357. lasttradedate:
  7358. description: 最后交易日期(状态:待退市)
  7359. type: string
  7360. listingdate:
  7361. description: 交易开始日期
  7362. type: string
  7363. marketid:
  7364. description: 所属市场ID
  7365. type: integer
  7366. modifierid:
  7367. description: 修改人
  7368. type: integer
  7369. modifystatus:
  7370. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7371. type: integer
  7372. modifytime:
  7373. description: 修改时间
  7374. type: string
  7375. outerdealmode:
  7376. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7377. type: integer
  7378. outgoodscode:
  7379. description: 商品代码(外部)
  7380. type: string
  7381. pictureurl:
  7382. description: 商品图片
  7383. type: string
  7384. qtydecimalplace:
  7385. description: 成交量小数位
  7386. type: integer
  7387. quotegear:
  7388. description: 行情档位(1-10)
  7389. type: integer
  7390. quoteminunit:
  7391. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7392. type: integer
  7393. quoteshowtype:
  7394. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7395. type: integer
  7396. quoteshowtypeinterval:
  7397. description: 行情报价间隔时间(秒)(成交价时为0)
  7398. type: integer
  7399. relatedgoodsid:
  7400. description: 关联参考商品ID
  7401. type: integer
  7402. remark:
  7403. description: 备注
  7404. type: string
  7405. trademode:
  7406. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  7407. type: integer
  7408. required:
  7409. - goodscode
  7410. - goodsid
  7411. - goodsname
  7412. - marketid
  7413. type: object
  7414. models.ErmcpGoodsBrand:
  7415. properties:
  7416. areauserid:
  7417. description: 所属机构
  7418. type: integer
  7419. brandid:
  7420. description: BrandID(SEQ_SPOTGOODSBRAND)
  7421. type: integer
  7422. brandname:
  7423. description: 品牌名称
  7424. type: string
  7425. createtime:
  7426. description: 创建时间
  7427. type: string
  7428. creatorid:
  7429. description: 创建人
  7430. type: integer
  7431. creatorsrc:
  7432. description: 创建人来源 - 1:管理端 2:终端
  7433. type: integer
  7434. deliverygoodsid:
  7435. description: 现货品种ID
  7436. type: integer
  7437. isvalid:
  7438. description: 是否有效 - 0:无效 1:有效
  7439. type: integer
  7440. updatetime:
  7441. description: 更新时间
  7442. type: string
  7443. updatorid:
  7444. description: 更新人
  7445. type: integer
  7446. updatorsrc:
  7447. description: 更新人来源 - 1:管理端 2:终端
  7448. type: integer
  7449. wrstandardid:
  7450. description: 现货商品ID
  7451. type: integer
  7452. type: object
  7453. models.ErmcpGoodsModel:
  7454. properties:
  7455. areauserid:
  7456. description: 所属机构
  7457. type: integer
  7458. convertfactor:
  7459. description: 标仓系数
  7460. type: number
  7461. createtime:
  7462. description: 创建时间
  7463. type: string
  7464. creatorid:
  7465. description: 创建人
  7466. type: integer
  7467. creatorsrc:
  7468. description: 创建人来源 - 1:管理端 2:终端
  7469. type: integer
  7470. deliverygoodsid:
  7471. description: 现货品种ID
  7472. type: integer
  7473. isvalid:
  7474. description: 是否有效 - 0:无效 1:有效
  7475. type: integer
  7476. modelid:
  7477. description: ModelID(SEQ_SPOTGOODSMODEL)
  7478. type: integer
  7479. modelname:
  7480. description: 型号名称
  7481. type: string
  7482. updatetime:
  7483. description: 更新时间
  7484. type: string
  7485. updatorid:
  7486. description: 更新人
  7487. type: integer
  7488. updatorsrc:
  7489. description: 更新人来源 - 1:管理端 2:终端
  7490. type: integer
  7491. wrstandardid:
  7492. description: 现货商品ID
  7493. type: integer
  7494. type: object
  7495. models.ErmcpHisExposure:
  7496. properties:
  7497. needhedgeexposoure:
  7498. description: 应套保敞口
  7499. type: number
  7500. reckondate:
  7501. description: 日照时期(yyyyMMdd)
  7502. type: string
  7503. totalexposure:
  7504. description: 总敞口
  7505. type: number
  7506. type: object
  7507. models.ErmcpLoginTaAccount:
  7508. properties:
  7509. accountid:
  7510. description: 账号id
  7511. type: integer
  7512. accountname:
  7513. description: 账号名称
  7514. type: string
  7515. type: object
  7516. models.ErmcpLoginUser:
  7517. properties:
  7518. acclist:
  7519. description: 关联资金账号
  7520. items:
  7521. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7522. type: array
  7523. accountname:
  7524. description: 用户名称
  7525. type: string
  7526. clientroleid:
  7527. description: 角色id(usertype=2)
  7528. type: integer
  7529. createtime:
  7530. description: 创建时间
  7531. type: string
  7532. logincode:
  7533. description: 登录代码
  7534. type: string
  7535. loginid:
  7536. description: 登录id(LOGINID)
  7537. type: integer
  7538. loginname:
  7539. description: 登录名称(loginaccount表中的accountname字段)
  7540. type: string
  7541. loginstatus:
  7542. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7543. type: integer
  7544. memberuserid:
  7545. description: 所属会员id
  7546. type: integer
  7547. mobile:
  7548. description: 手机号
  7549. type: string
  7550. modifytime:
  7551. description: 修改时间
  7552. type: string
  7553. password:
  7554. description: 密码(不可解密)
  7555. type: string
  7556. rolename:
  7557. description: 角色名称
  7558. type: string
  7559. rolestatus:
  7560. description: 角色状态 1-启用 2-停用
  7561. type: integer
  7562. roletype:
  7563. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7564. type: string
  7565. userid:
  7566. description: 用户id
  7567. type: integer
  7568. usertype:
  7569. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7570. type: integer
  7571. type: object
  7572. models.ErmcpLoginUserEx:
  7573. properties:
  7574. accountstatus:
  7575. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7576. type: integer
  7577. mobile:
  7578. description: 手机号
  7579. type: string
  7580. querytype:
  7581. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7582. type: integer
  7583. roleid:
  7584. description: 角色id(交易账户->用户id)
  7585. type: integer
  7586. rolename:
  7587. description: 角色名称(交易账户->用户名称)
  7588. type: string
  7589. userlist:
  7590. description: 用户列表
  7591. items:
  7592. $ref: '#/definitions/models.ErmcpLoginUser'
  7593. type: array
  7594. usertype:
  7595. description: 用户类型 2-机构 7-企业成员(云平台)
  7596. type: integer
  7597. type: object
  7598. models.ErmcpMiddleGoodsModel:
  7599. properties:
  7600. areauserid:
  7601. description: 机构用户ID
  7602. type: integer
  7603. createtime:
  7604. description: 修改时间
  7605. type: string
  7606. enumdicname:
  7607. description: 单位名称
  7608. type: string
  7609. evaluateratio:
  7610. description: 估价系数
  7611. type: number
  7612. goodsgroupid:
  7613. description: 关联期货品种ID
  7614. type: integer
  7615. goodsunitid:
  7616. description: 单位ID
  7617. type: integer
  7618. isvalid:
  7619. description: 状态 0-无效(停用) 1-有效(正常)
  7620. type: integer
  7621. middlegoodscode:
  7622. description: 套保品种代码
  7623. type: string
  7624. middlegoodsid:
  7625. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7626. type: integer
  7627. middlegoodsname:
  7628. description: 套保品种名称
  7629. type: string
  7630. modifytime:
  7631. description: 修改时间
  7632. type: string
  7633. needarbitrageratio:
  7634. description: 套利比例
  7635. type: number
  7636. needhedgeratio:
  7637. description: 套保比率
  7638. type: number
  7639. qtydecimalplace:
  7640. description: 数量小数位
  7641. type: integer
  7642. relatedgoodsid:
  7643. description: 关联交易商品ID
  7644. type: integer
  7645. relatedgoodstype:
  7646. description: 关联商品类型 - 1:期货合约 2:现货品种
  7647. type: integer
  7648. remark:
  7649. description: 备注
  7650. type: string
  7651. type: object
  7652. models.ErmcpMiddlegoodsRelateGoods:
  7653. properties:
  7654. agreeunit:
  7655. description: 合约乘数
  7656. type: number
  7657. convertratio:
  7658. description: 折算系数
  7659. type: number
  7660. enumdicname:
  7661. description: 单位名称(交易商品)
  7662. type: string
  7663. goodscode:
  7664. description: 交易商品代码
  7665. type: string
  7666. goodsgroupid:
  7667. description: 交易品种id
  7668. type: integer
  7669. goodsid:
  7670. description: 商品Id
  7671. type: integer
  7672. goodsname:
  7673. description: 交易商品名称
  7674. type: string
  7675. goodunitid:
  7676. description: 交易商品单位id
  7677. type: integer
  7678. middlegoodsid:
  7679. description: 套保商品id
  7680. type: integer
  7681. middlegoodsname:
  7682. description: 套保商品名称
  7683. type: string
  7684. middlegoodsswcode:
  7685. description: 套保商品代码
  7686. type: string
  7687. needarbitrageratio:
  7688. description: 应套利比例
  7689. type: number
  7690. needhedgeratio:
  7691. description: 应套保比例
  7692. type: number
  7693. type: object
  7694. models.ErmcpRole:
  7695. properties:
  7696. areauserid:
  7697. description: 所属机构
  7698. type: integer
  7699. autoid:
  7700. description: 角色ID(自增ID)
  7701. type: integer
  7702. modifierid:
  7703. description: 修改人(创建人)
  7704. type: integer
  7705. modifiername:
  7706. description: 修改人名称
  7707. type: string
  7708. modifytime:
  7709. description: 修改时间(创建时间)
  7710. type: string
  7711. rolename:
  7712. description: 角色名称
  7713. type: string
  7714. rolestatus:
  7715. description: 角色状态 - 1:启用 2:停用
  7716. type: integer
  7717. roletype:
  7718. description: 角色类型 - 1- 管理端 2- 交易端
  7719. type: integer
  7720. type: object
  7721. models.ErmcpRoleMenu:
  7722. properties:
  7723. iconame:
  7724. description: 菜单图标
  7725. type: string
  7726. ishadrole:
  7727. description: 是否有权限
  7728. type: boolean
  7729. menutype:
  7730. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  7731. type: integer
  7732. parentcode:
  7733. description: 上级资源代码
  7734. type: string
  7735. remark:
  7736. description: 菜单备注
  7737. type: string
  7738. resourcecode:
  7739. description: 菜单代码
  7740. type: string
  7741. resourcelevel:
  7742. description: 级别
  7743. type: integer
  7744. resourcename:
  7745. description: 菜单名称
  7746. type: string
  7747. roleid:
  7748. description: 角色id
  7749. type: integer
  7750. sort:
  7751. description: 排序
  7752. type: integer
  7753. url:
  7754. description: URL
  7755. type: string
  7756. userid:
  7757. description: 用户id
  7758. type: integer
  7759. type: object
  7760. models.ErmcpRoleMenuEx:
  7761. properties:
  7762. menu:
  7763. $ref: '#/definitions/models.ErmcpRoleMenu'
  7764. description: 父级菜单
  7765. subMenu:
  7766. description: 子级菜单
  7767. items:
  7768. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7769. type: array
  7770. type: object
  7771. models.ErmcpTaAccount:
  7772. properties:
  7773. accountid:
  7774. description: 账户id
  7775. type: integer
  7776. accountname:
  7777. description: 账户名称
  7778. type: string
  7779. currencyid:
  7780. description: 币种id
  7781. type: integer
  7782. hedgeaccountcode:
  7783. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7784. type: string
  7785. ismain:
  7786. description: 是否主账户 0-否 1-是
  7787. type: integer
  7788. parentaccountid:
  7789. description: 父账户id
  7790. type: integer
  7791. relateduserid:
  7792. description: 关联userid
  7793. type: integer
  7794. tradefeetmpid:
  7795. description: 手续费模板id
  7796. type: integer
  7797. tradefeetmpname:
  7798. description: 手续费模板名称
  7799. type: string
  7800. trademargintmpid:
  7801. description: 保证金模板id
  7802. type: integer
  7803. trademargintmpname:
  7804. description: 保证金模板名称
  7805. type: string
  7806. traderatetmpid:
  7807. description: 汇率模板id
  7808. type: integer
  7809. traderatetmpname:
  7810. description: 汇率模板名称
  7811. type: string
  7812. tradestatus:
  7813. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7814. type: integer
  7815. userid:
  7816. description: 用户id
  7817. type: integer
  7818. type: object
  7819. models.ErmcpTaAccountEx:
  7820. properties:
  7821. mainAcc:
  7822. $ref: '#/definitions/models.ErmcpTaAccountM'
  7823. description: 主账号
  7824. subacclist:
  7825. description: 子账号列表
  7826. items:
  7827. $ref: '#/definitions/models.ErmcpTaAccount'
  7828. type: array
  7829. type: object
  7830. models.ErmcpTaAccountInfo:
  7831. properties:
  7832. accountid:
  7833. description: 资金账户ID
  7834. type: integer
  7835. accountname:
  7836. description: 账户名称
  7837. type: string
  7838. balance:
  7839. description: 期初余额
  7840. type: number
  7841. capitalbalance:
  7842. description: 本金余额[外部子账户实际出入金余额]
  7843. type: number
  7844. closepl:
  7845. description: 今日平仓盈亏
  7846. type: number
  7847. creditdecrease:
  7848. description: 今日授信减少
  7849. type: number
  7850. creditincrease:
  7851. description: 今日授信增加
  7852. type: number
  7853. curdebt:
  7854. description: 期末欠款
  7855. type: number
  7856. currencyid:
  7857. description: 货币ID
  7858. type: integer
  7859. currentbalance:
  7860. description: 期末余额
  7861. type: number
  7862. freezecharge:
  7863. description: 手续费冻结
  7864. type: number
  7865. freezemargin:
  7866. description: 冻结保证金
  7867. type: number
  7868. fromaccountid:
  7869. description: 所属上级账户
  7870. type: integer
  7871. inamount:
  7872. description: 今日入金金额(包括三方入金)
  7873. type: number
  7874. ismain:
  7875. description: 是否母账号 0:不是母账户 1:是母账户
  7876. type: integer
  7877. mortgagecredit:
  7878. description: 授信金额
  7879. type: number
  7880. oridebt:
  7881. description: 期初欠款
  7882. type: number
  7883. orifreezecharge:
  7884. description: 期初手续费冻结
  7885. type: number
  7886. orifreezemargin:
  7887. description: 期初冻结保证金
  7888. type: number
  7889. orimortgagecredit:
  7890. description: 期初授信金额
  7891. type: number
  7892. oriothercredit:
  7893. description: 期初其它授信金额
  7894. type: number
  7895. oriotherfreezemargin:
  7896. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7897. type: number
  7898. orioutamountfreeze:
  7899. description: 期初出金冻结
  7900. type: number
  7901. oriusedmargin:
  7902. description: 期初占用保证金
  7903. type: number
  7904. othercredit:
  7905. description: 其它授信金额
  7906. type: number
  7907. othercreditdecrease:
  7908. description: 今日其它授信减少
  7909. type: number
  7910. othercreditincrease:
  7911. description: 今日其它授信增加
  7912. type: number
  7913. otherfreezemargin:
  7914. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7915. type: number
  7916. outamount:
  7917. description: 今日出金金额(包括三方出金)
  7918. type: number
  7919. outamountfreeze:
  7920. description: 出金冻结
  7921. type: number
  7922. outthreshold:
  7923. description: 出金阈值
  7924. type: number
  7925. parentaccountid:
  7926. description: 所属根账号
  7927. type: integer
  7928. paycharge:
  7929. description: 今日手续费支出
  7930. type: number
  7931. relateduserid:
  7932. description: 关联用户
  7933. type: integer
  7934. signstatus:
  7935. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7936. type: integer
  7937. sublevelpath:
  7938. description: 账号层级路径(逗号分隔,首尾加逗号)
  7939. type: string
  7940. taaccounttype:
  7941. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7942. type: integer
  7943. thirdinamount:
  7944. description: 今日三方入金
  7945. type: number
  7946. thirdoutamount:
  7947. description: 今日三方出金
  7948. type: number
  7949. tradestatus:
  7950. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7951. type: integer
  7952. transferamount:
  7953. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7954. type: number
  7955. usedmargin:
  7956. description: 占用保证金
  7957. type: number
  7958. userid:
  7959. description: 用户ID
  7960. type: integer
  7961. type: object
  7962. models.ErmcpTaAccountM:
  7963. properties:
  7964. accountid:
  7965. description: 账户id
  7966. type: integer
  7967. accountname:
  7968. description: 账户名称
  7969. type: string
  7970. currencyid:
  7971. description: 币种id
  7972. type: integer
  7973. fcid:
  7974. description: 期货公司id
  7975. type: integer
  7976. fcname:
  7977. description: 期货公司代码
  7978. type: string
  7979. hedgeaccountcode:
  7980. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7981. type: string
  7982. ismain:
  7983. description: 是否主账户 0-否 1-是
  7984. type: integer
  7985. parentaccountid:
  7986. description: 父账户id
  7987. type: integer
  7988. relateduserid:
  7989. description: 关联userid
  7990. type: integer
  7991. tradefeetmpid:
  7992. description: 手续费模板id
  7993. type: integer
  7994. tradefeetmpname:
  7995. description: 手续费模板名称
  7996. type: string
  7997. trademargintmpid:
  7998. description: 保证金模板id
  7999. type: integer
  8000. trademargintmpname:
  8001. description: 保证金模板名称
  8002. type: string
  8003. traderatetmpid:
  8004. description: 汇率模板id
  8005. type: integer
  8006. traderatetmpname:
  8007. description: 汇率模板名称
  8008. type: string
  8009. tradestatus:
  8010. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8011. type: integer
  8012. userid:
  8013. description: 用户id
  8014. type: integer
  8015. type: object
  8016. models.ErmcpTradeConfigTMP:
  8017. properties:
  8018. areauserid:
  8019. description: 所属机构
  8020. type: integer
  8021. basiccurrencyid:
  8022. description: 基本币种ID[汇率] - 目标币种
  8023. type: integer
  8024. mainaccountid:
  8025. description: 主账户ID
  8026. type: integer
  8027. modifierid:
  8028. description: 修改人
  8029. type: integer
  8030. remark:
  8031. description: 备注
  8032. type: string
  8033. tradeconfigtmpid:
  8034. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8035. type: integer
  8036. tradeconfigtmpname:
  8037. description: 交易配置模板名称
  8038. type: string
  8039. tradeconfigtmptype:
  8040. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8041. type: integer
  8042. updatetime:
  8043. description: 更新时间
  8044. type: string
  8045. type: object
  8046. models.Externalexchange:
  8047. properties:
  8048. autoid:
  8049. description: AutoID - SEQ_EXTERNALEXCHANGE
  8050. type: integer
  8051. exchangefullname:
  8052. description: 外部交易所全称
  8053. type: string
  8054. exexchangecode:
  8055. description: 外部交易所代码
  8056. type: string
  8057. exexchangename:
  8058. description: 外部交易所名称(简称)
  8059. type: string
  8060. ismarketprice:
  8061. description: 是否支持市价 - 0:不支持 1:支持
  8062. type: integer
  8063. quotegear:
  8064. description: 行情档位(1-10)
  8065. type: integer
  8066. showbrokerflag:
  8067. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8068. type: integer
  8069. updatetime:
  8070. description: 更新时间
  8071. type: string
  8072. required:
  8073. - autoid
  8074. type: object
  8075. models.Funcmenulist:
  8076. properties:
  8077. iconame:
  8078. description: 菜单图标
  8079. type: string
  8080. menutype:
  8081. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8082. type: integer
  8083. parentcode:
  8084. description: 上级资源代码
  8085. type: string
  8086. remark:
  8087. description: 备注
  8088. type: string
  8089. resourcecode:
  8090. description: 资源代码
  8091. type: string
  8092. resourcelevel:
  8093. description: 级别 1-一级 2-二级 3-三级 4-四级
  8094. type: integer
  8095. resourcename:
  8096. description: 资源名
  8097. type: string
  8098. sort:
  8099. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8100. type: integer
  8101. url:
  8102. description: URL
  8103. type: string
  8104. required:
  8105. - resourcecode
  8106. type: object
  8107. models.Goods:
  8108. properties:
  8109. agreeunit:
  8110. description: 合约单位
  8111. type: number
  8112. areauserid:
  8113. description: 所属机构
  8114. type: integer
  8115. auditaccountid:
  8116. description: 审核操作员账号
  8117. type: integer
  8118. audittime:
  8119. description: 审核时间
  8120. type: string
  8121. cancelaccountid:
  8122. description: 注销操作员账号
  8123. type: integer
  8124. canceltime:
  8125. description: 注销时间
  8126. type: string
  8127. closepricemode:
  8128. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8129. type: integer
  8130. closepriceparam:
  8131. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8132. type: number
  8133. createtime:
  8134. description: 创建时间
  8135. type: string
  8136. creatorid:
  8137. description: 创建人
  8138. type: integer
  8139. currencyid:
  8140. description: 报价货币ID
  8141. type: integer
  8142. cutmode:
  8143. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8144. type: integer
  8145. decimalplace:
  8146. description: 报价小数位
  8147. type: integer
  8148. delistingdate:
  8149. description: 商品退市时间(状态:退市) -- 已作废
  8150. type: string
  8151. delistingmode:
  8152. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8153. type: integer
  8154. deliveryflag:
  8155. description: 交割标志 - 0:不可交割 1:可交割
  8156. type: integer
  8157. forceclosemode:
  8158. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8159. type: integer
  8160. forceclosevalue:
  8161. description: 定期强平参数 [收益权]
  8162. type: integer
  8163. goodscode:
  8164. description: 商品代码(内部)
  8165. type: string
  8166. goodscurrencyid:
  8167. description: 合约货币ID
  8168. type: integer
  8169. goodsgroupid:
  8170. description: 所属商品组ID
  8171. type: integer
  8172. goodsid:
  8173. description: 商品ID(自增ID SEQ_GOODS)
  8174. type: integer
  8175. goodsname:
  8176. description: 商品名称
  8177. type: string
  8178. goodsquotetype:
  8179. description: '合约报价类型: 1-直接报价 2-间接报价'
  8180. type: integer
  8181. goodsstatus:
  8182. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8183. type: integer
  8184. goodstradetype:
  8185. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8186. type: integer
  8187. goodunitid:
  8188. description: 报价单位ID
  8189. type: integer
  8190. hasquoter:
  8191. description: 是否有报价商 - 0:无报价商 1:有报价商
  8192. type: integer
  8193. hqprotecttime:
  8194. description: 行情保护时间(秒)
  8195. type: integer
  8196. innerdealmode:
  8197. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8198. type: integer
  8199. isbuylimited:
  8200. description: 是否限制建仓量 - 0:不限制 1:限制
  8201. type: integer
  8202. isvisible:
  8203. description: 游客是否可见 - 0:不可见 1:可见
  8204. type: integer
  8205. lasttradedate:
  8206. description: 最后交易日期(状态:待退市)
  8207. type: string
  8208. listingdate:
  8209. description: 交易开始日期
  8210. type: string
  8211. marketid:
  8212. description: 所属市场ID
  8213. type: integer
  8214. modifierid:
  8215. description: 修改人
  8216. type: integer
  8217. modifystatus:
  8218. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8219. type: integer
  8220. modifytime:
  8221. description: 修改时间
  8222. type: string
  8223. outerdealmode:
  8224. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8225. type: integer
  8226. outgoodscode:
  8227. description: 商品代码(外部)
  8228. type: string
  8229. pictureurl:
  8230. description: 商品图片
  8231. type: string
  8232. qtydecimalplace:
  8233. description: 成交量小数位
  8234. type: integer
  8235. quotegear:
  8236. description: 行情档位(1-10)
  8237. type: integer
  8238. quoteminunit:
  8239. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8240. type: integer
  8241. quoteshowtype:
  8242. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8243. type: integer
  8244. quoteshowtypeinterval:
  8245. description: 行情报价间隔时间(秒)(成交价时为0)
  8246. type: integer
  8247. remark:
  8248. description: 备注
  8249. type: string
  8250. required:
  8251. - goodscode
  8252. - goodsid
  8253. - goodsname
  8254. - marketid
  8255. type: object
  8256. models.GoodsIDAndName:
  8257. properties:
  8258. goodscode:
  8259. description: 商品代码(内部)
  8260. type: string
  8261. goodsid:
  8262. description: 商品ID(自增ID SEQ_GOODS)
  8263. type: integer
  8264. goodsname:
  8265. description: 商品名称
  8266. type: string
  8267. marketid:
  8268. description: 所属市场ID
  8269. type: integer
  8270. required:
  8271. - goodscode
  8272. - goodsid
  8273. - goodsname
  8274. - marketid
  8275. type: object
  8276. models.Goodsgroup:
  8277. properties:
  8278. agreeunit:
  8279. description: 合约单位
  8280. type: number
  8281. canshort:
  8282. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8283. type: integer
  8284. closepricemode:
  8285. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8286. type: integer
  8287. closepriceparam:
  8288. description: 强平最新价浮动比例 - 方式为2时使用
  8289. type: number
  8290. createtime:
  8291. description: 创建时间
  8292. type: string
  8293. creatorid:
  8294. description: 创建人
  8295. type: integer
  8296. currencyid:
  8297. description: 报价货币ID
  8298. type: integer
  8299. decimalplace:
  8300. description: 报价小数位
  8301. type: integer
  8302. exercisetype:
  8303. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8304. type: integer
  8305. exexchangeid:
  8306. description: 外部交易所ID[通道交易]
  8307. type: integer
  8308. goodsgroupid:
  8309. description: 商品组ID(自增ID)
  8310. type: integer
  8311. goodsgroupname:
  8312. description: 商品组名称
  8313. type: string
  8314. goodsgroupstatus:
  8315. description: 商品组状态 - 1:正常 2:注销
  8316. type: integer
  8317. goodunitid:
  8318. description: 报价单位ID
  8319. type: integer
  8320. innerdealmode:
  8321. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8322. type: integer
  8323. isbuylimited:
  8324. description: 是否限制建仓量 - 0:不限制 1:限制
  8325. type: integer
  8326. marketid:
  8327. description: 所属市场ID
  8328. type: integer
  8329. modifierid:
  8330. description: 修改人
  8331. type: integer
  8332. modifytime:
  8333. description: 修改时间
  8334. type: string
  8335. outerdealmode:
  8336. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8337. type: integer
  8338. outergroupcode:
  8339. description: 外部商品组代码[通道交易]
  8340. type: string
  8341. premiumdecimalplace:
  8342. description: 权利金小数位[场外期权]
  8343. type: integer
  8344. premiumspreadalgorithm:
  8345. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8346. type: integer
  8347. premiumspreadvalue:
  8348. description: 权利金点差值[场外期权]
  8349. type: number
  8350. qtydecimalplace:
  8351. description: 成交量小数位
  8352. type: integer
  8353. quotegear:
  8354. description: 行情档位(1-10)
  8355. type: integer
  8356. quoteminunit:
  8357. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8358. type: integer
  8359. quoterid:
  8360. description: 报价商ID[场外期权]
  8361. type: integer
  8362. quotesourcegroupid:
  8363. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8364. type: integer
  8365. syncgoodsqty:
  8366. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8367. type: integer
  8368. required:
  8369. - goodsgroupid
  8370. - goodsgroupname
  8371. - goodsgroupstatus
  8372. - marketid
  8373. type: object
  8374. models.Goodssortbypreposition:
  8375. properties:
  8376. goodscode:
  8377. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8378. type: string
  8379. goodsgroupcode:
  8380. description: 品种代码
  8381. type: string
  8382. prepositionqty:
  8383. description: 昨持仓量
  8384. type: integer
  8385. sortindex:
  8386. description: 排序
  8387. type: integer
  8388. tradedate:
  8389. description: 交易日
  8390. type: string
  8391. updatetime:
  8392. description: 更新时间
  8393. type: string
  8394. required:
  8395. - goodscode
  8396. - tradedate
  8397. type: object
  8398. models.Hedgeinnerholderdetail:
  8399. properties:
  8400. accountid:
  8401. description: 账号ID
  8402. type: integer
  8403. buyorsell:
  8404. description: 方向 - 0:买 1:卖
  8405. type: integer
  8406. freezeqty:
  8407. description: 冻结数量 - 按单平使用
  8408. type: integer
  8409. goodsid:
  8410. description: 商品ID
  8411. type: integer
  8412. holderamount:
  8413. description: 持仓金额 [商品币种]
  8414. type: number
  8415. holderdays:
  8416. description: 剩余冻结天数
  8417. type: integer
  8418. holderprice:
  8419. description: 持仓价格
  8420. type: number
  8421. holderqty:
  8422. description: 持仓数量
  8423. type: integer
  8424. marketid:
  8425. description: 市场ID
  8426. type: integer
  8427. openprice:
  8428. description: 建仓价格
  8429. type: number
  8430. openqty:
  8431. description: 建仓数量
  8432. type: integer
  8433. parentaccountid:
  8434. description: 所属母账户
  8435. type: integer
  8436. releaseamount:
  8437. description: 释放持仓金额[商品币种]
  8438. type: number
  8439. tradeamount:
  8440. description: 成交金额[账户]
  8441. type: number
  8442. tradedate:
  8443. description: 交易日(yyyyMMdd)
  8444. type: string
  8445. tradeid:
  8446. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8447. type: string
  8448. tradetime:
  8449. description: 交易时间
  8450. type: string
  8451. required:
  8452. - buyorsell
  8453. - tradeid
  8454. type: object
  8455. models.Hedgemarketopenlog:
  8456. properties:
  8457. accountid:
  8458. description: 资金账号[外部母账户]
  8459. type: integer
  8460. fcname:
  8461. description: 期货公司名称
  8462. type: string
  8463. handlestatus:
  8464. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8465. type: integer
  8466. marketid:
  8467. description: 市场ID
  8468. type: integer
  8469. status:
  8470. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8471. type: integer
  8472. tradedate:
  8473. description: 交易日(yyyyMMdd)
  8474. type: string
  8475. updatetime:
  8476. description: 更新时间
  8477. type: string
  8478. required:
  8479. - accountid
  8480. type: object
  8481. models.HsbyBuyMyPayOrder:
  8482. properties:
  8483. agreeunit:
  8484. description: 合约单位
  8485. type: number
  8486. buyaccountid:
  8487. description: 买方账号ID[报价币种]
  8488. type: integer
  8489. buyorderid:
  8490. description: 买方委托单号
  8491. type: string
  8492. createtime:
  8493. description: 创建时间
  8494. type: string
  8495. currencysign:
  8496. description: 货币符号
  8497. type: string
  8498. decimalplace:
  8499. description: 报价小数位
  8500. type: integer
  8501. goodscode:
  8502. description: 商品代码(内部)
  8503. type: string
  8504. goodsid:
  8505. description: 商品ID
  8506. type: integer
  8507. goodsname:
  8508. description: 商品名称
  8509. type: string
  8510. marketid:
  8511. description: 市场ID
  8512. type: integer
  8513. offamount:
  8514. description: 优惠金额
  8515. type: number
  8516. originalamount:
  8517. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8518. type: number
  8519. payamount:
  8520. description: 支付金额 = TradeAmount + TradeCharge
  8521. type: number
  8522. payflag:
  8523. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8524. type: integer
  8525. paylimitedtime:
  8526. description: 支付期限
  8527. type: string
  8528. paytime:
  8529. description: 付款时间
  8530. type: string
  8531. picurls1:
  8532. description: 预售商品介绍图片[多张用逗号分隔]
  8533. type: string
  8534. picurls2:
  8535. description: 挂牌商品介绍图片[多张用逗号分隔]
  8536. type: string
  8537. sellaccountid:
  8538. description: 卖方账号ID[报价币种]
  8539. type: integer
  8540. sellorderid:
  8541. description: 卖方委托单号
  8542. type: string
  8543. tradeamount:
  8544. description: 成交金额
  8545. type: number
  8546. tradecharge:
  8547. description: 成交手续费(买方)
  8548. type: number
  8549. tradedate:
  8550. description: 交易日(yyyyMMdd)
  8551. type: string
  8552. tradeid:
  8553. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8554. type: string
  8555. trademode:
  8556. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8557. type: integer
  8558. tradeprice:
  8559. description: 成交价格
  8560. type: number
  8561. tradeqty:
  8562. description: 成交数量
  8563. type: integer
  8564. vendorname1:
  8565. description: 预售商品供应商名称
  8566. type: string
  8567. vendorname2:
  8568. description: 挂牌商品供应商名称
  8569. type: string
  8570. required:
  8571. - goodscode
  8572. - goodsname
  8573. - tradeid
  8574. - trademode
  8575. type: object
  8576. models.HsbyBuyMyTradeDetail:
  8577. properties:
  8578. accountid:
  8579. description: 账户ID[报价币种]
  8580. type: integer
  8581. agreeunit:
  8582. description: 合约单位
  8583. type: number
  8584. amount:
  8585. description: 金额 = 价格 * 数量 * 合约单位
  8586. type: number
  8587. buyorsell:
  8588. description: 买卖 - 0:买 1:卖
  8589. type: integer
  8590. currencysign:
  8591. description: 货币符号
  8592. type: string
  8593. decimalplace:
  8594. description: 报价小数位
  8595. type: integer
  8596. goodscode:
  8597. description: 商品代码(内部)
  8598. type: string
  8599. goodsid:
  8600. description: 商品ID
  8601. type: integer
  8602. goodsname:
  8603. description: 商品名称
  8604. type: string
  8605. marketid:
  8606. description: 市场ID
  8607. type: integer
  8608. orderamount:
  8609. description: 委托金额
  8610. type: number
  8611. orderid:
  8612. description: 单号(成交单号)
  8613. type: string
  8614. picurls1:
  8615. description: 预售商品介绍图片[多张用逗号分隔]
  8616. type: string
  8617. picurls2:
  8618. description: 挂牌商品介绍图片[多张用逗号分隔]
  8619. type: string
  8620. price:
  8621. description: 价格
  8622. type: number
  8623. qty:
  8624. description: 数量
  8625. type: integer
  8626. time:
  8627. description: 时间
  8628. type: string
  8629. trademode:
  8630. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8631. type: integer
  8632. vendorname1:
  8633. description: 预售商品供应商名称
  8634. type: string
  8635. vendorname2:
  8636. description: 挂牌商品供应商名称
  8637. type: string
  8638. required:
  8639. - accountid
  8640. - buyorsell
  8641. - goodscode
  8642. - goodsid
  8643. - goodsname
  8644. - marketid
  8645. - orderid
  8646. - qty
  8647. - time
  8648. - trademode
  8649. type: object
  8650. models.HsbyGoodsOrderDetail:
  8651. properties:
  8652. buyorsell:
  8653. description: 买卖 - 0:买 1:卖
  8654. type: integer
  8655. currencysign:
  8656. description: 货币符号
  8657. type: string
  8658. customername:
  8659. description: 客户名称(企业名称),已脱敏
  8660. type: string
  8661. enableqty:
  8662. description: 可用数量
  8663. type: integer
  8664. goodunit:
  8665. description: 报价单位
  8666. type: string
  8667. orderid:
  8668. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8669. type: string
  8670. orderprice:
  8671. description: 委托价格
  8672. type: number
  8673. ordertime:
  8674. description: 委托时间
  8675. type: string
  8676. required:
  8677. - buyorsell
  8678. - orderid
  8679. - ordertime
  8680. type: object
  8681. models.HsbyListingGoodsDetail:
  8682. properties:
  8683. agreeunit:
  8684. description: 合约单位
  8685. type: number
  8686. buymaxqty:
  8687. description: 购买上限 [71] - 0为不限
  8688. type: integer
  8689. currency:
  8690. description: 货币
  8691. type: string
  8692. currencysign:
  8693. description: 货币符号
  8694. type: string
  8695. decimalplace:
  8696. description: 报价小数位
  8697. type: integer
  8698. desccityid:
  8699. description: 目的地(市)ID
  8700. type: integer
  8701. descprovinceid:
  8702. description: 目的地(省)ID
  8703. type: integer
  8704. goodscode:
  8705. description: 商品代码(内部)
  8706. type: string
  8707. goodsdesc:
  8708. description: 商品详情
  8709. type: string
  8710. goodsid:
  8711. description: 商品ID(自增ID SEQ_GOODS)
  8712. type: integer
  8713. goodsname:
  8714. description: 商品名称
  8715. type: string
  8716. goodsprice:
  8717. description: 商品价格
  8718. type: number
  8719. hotindex:
  8720. description: 景点热度
  8721. type: integer
  8722. last:
  8723. description: 现价
  8724. type: number
  8725. limitdown:
  8726. description: 跌停价
  8727. type: number
  8728. limitup:
  8729. description: 涨停价
  8730. type: number
  8731. lotsize:
  8732. description: 手数最小变动单位
  8733. type: integer
  8734. marketid:
  8735. description: 所属市场ID
  8736. type: integer
  8737. picurls:
  8738. description: 介绍图片[多张用逗号分隔]
  8739. type: string
  8740. quoteminunit:
  8741. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8742. type: integer
  8743. stepvalue:
  8744. description: 价格最小变动单位
  8745. type: number
  8746. trademode:
  8747. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8748. type: integer
  8749. vendorattr:
  8750. description: 供应商附件(多张,逗号分隔)
  8751. type: string
  8752. vendorname:
  8753. description: 供应商名称
  8754. type: string
  8755. vendorphone:
  8756. description: 供应商客服电话
  8757. type: string
  8758. videourls:
  8759. description: 介绍视频[多张用逗号分隔]
  8760. type: string
  8761. required:
  8762. - goodscode
  8763. - goodsid
  8764. - goodsname
  8765. - marketid
  8766. - trademode
  8767. type: object
  8768. models.HsbyMarketGoods:
  8769. properties:
  8770. accountid:
  8771. description: 账户ID[报价币种]
  8772. type: integer
  8773. agreeunit:
  8774. description: 合约单位
  8775. type: number
  8776. buyorsell:
  8777. description: 买卖 - 0:买 1:卖
  8778. type: integer
  8779. categoryid:
  8780. description: 类别ID(WRCATEGORY)
  8781. type: integer
  8782. currency:
  8783. description: 货币
  8784. type: string
  8785. currencysign:
  8786. description: 货币符号
  8787. type: string
  8788. customername:
  8789. description: 卖家名称
  8790. type: string
  8791. decimalplace:
  8792. description: 报价小数位
  8793. type: integer
  8794. goodscode:
  8795. description: 商品代码(内部)
  8796. type: string
  8797. goodsid:
  8798. description: 商品ID
  8799. type: integer
  8800. goodsname:
  8801. description: 商品名称
  8802. type: string
  8803. goodsprice:
  8804. description: 商品价格
  8805. type: number
  8806. hascoupon:
  8807. description: 是否可用优惠卷
  8808. type: boolean
  8809. hotindex:
  8810. description: 景点热度
  8811. type: integer
  8812. marketid:
  8813. description: 市场ID
  8814. type: integer
  8815. orderid:
  8816. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8817. type: string
  8818. orderprice:
  8819. description: 委托价格
  8820. type: number
  8821. orderstatus:
  8822. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8823. type: integer
  8824. picurls:
  8825. description: 介绍图片[多张用逗号分隔]
  8826. type: string
  8827. quoteminunit:
  8828. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8829. type: integer
  8830. sellUserID:
  8831. description: 卖方UserID
  8832. type: integer
  8833. trademode:
  8834. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8835. type: integer
  8836. videourls:
  8837. description: 介绍视频[多张用逗号分隔]
  8838. type: string
  8839. required:
  8840. - accountid
  8841. - buyorsell
  8842. - goodscode
  8843. - goodsid
  8844. - goodsname
  8845. - marketid
  8846. - orderid
  8847. - trademode
  8848. type: object
  8849. models.HsbyMarketGoodsDetail:
  8850. properties:
  8851. accountid:
  8852. description: 账户ID[报价币种]
  8853. type: integer
  8854. agreeunit:
  8855. description: 合约单位
  8856. type: number
  8857. buymaxqty:
  8858. description: 购买上限 [71] - 0为不限
  8859. type: integer
  8860. buyorsell:
  8861. description: 买卖 - 0:买 1:卖
  8862. type: integer
  8863. cancelqty:
  8864. description: 撤单数量
  8865. type: integer
  8866. categoryid:
  8867. description: 类别ID(WRCATEGORY)
  8868. type: integer
  8869. currency:
  8870. description: 货币
  8871. type: string
  8872. currencysign:
  8873. description: 货币符号
  8874. type: string
  8875. customername:
  8876. description: 卖家名称
  8877. type: string
  8878. decimalplace:
  8879. description: 报价小数位
  8880. type: integer
  8881. goodscode:
  8882. description: 商品代码(内部)
  8883. type: string
  8884. goodsdesc:
  8885. description: 商品详情
  8886. type: string
  8887. goodsid:
  8888. description: 商品ID
  8889. type: integer
  8890. goodsname:
  8891. description: 商品名称
  8892. type: string
  8893. goodsprice:
  8894. description: 商品价格
  8895. type: number
  8896. hotindex:
  8897. description: 景点热度
  8898. type: integer
  8899. lotsize:
  8900. description: 手数最小变动单位
  8901. type: integer
  8902. marketid:
  8903. description: 市场ID
  8904. type: integer
  8905. orderid:
  8906. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8907. type: string
  8908. orderprice:
  8909. description: 委托价格
  8910. type: number
  8911. orderqty:
  8912. description: 委托数量
  8913. type: integer
  8914. orderstatus:
  8915. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8916. type: integer
  8917. picurls:
  8918. description: 介绍图片[多张用逗号分隔]
  8919. type: string
  8920. quoteminunit:
  8921. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8922. type: integer
  8923. sellUserID:
  8924. description: 卖方UserID
  8925. type: integer
  8926. trademode:
  8927. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8928. type: integer
  8929. tradeqty:
  8930. description: 成交数量
  8931. type: integer
  8932. vendorattr:
  8933. description: 供应商附件(多张,逗号分隔)
  8934. type: string
  8935. vendorname:
  8936. description: 供应商名称
  8937. type: string
  8938. vendorphone:
  8939. description: 供应商客服电话
  8940. type: string
  8941. videourls:
  8942. description: 介绍视频[多张用逗号分隔]
  8943. type: string
  8944. required:
  8945. - accountid
  8946. - buyorsell
  8947. - goodscode
  8948. - goodsid
  8949. - goodsname
  8950. - marketid
  8951. - orderid
  8952. - orderqty
  8953. - trademode
  8954. type: object
  8955. models.HsbyMarketInfo:
  8956. properties:
  8957. marketid:
  8958. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8959. type: integer
  8960. marketname:
  8961. description: 市场名称
  8962. type: string
  8963. marketstatus:
  8964. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8965. type: integer
  8966. trademode:
  8967. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8968. type: integer
  8969. required:
  8970. - marketid
  8971. - marketstatus
  8972. - trademode
  8973. type: object
  8974. models.HsbyMyGoods:
  8975. properties:
  8976. accountid:
  8977. description: 账号Id
  8978. type: integer
  8979. agreeunit:
  8980. description: 合约单位
  8981. type: number
  8982. buyaverageprice:
  8983. description: 持仓均价
  8984. type: number
  8985. buycurholderamount:
  8986. description: 买当前持仓总金额[商品币种]
  8987. type: number
  8988. buycurpositionqty:
  8989. description: 买当前持仓总数量
  8990. type: integer
  8991. buymaxqty:
  8992. description: 购买上限 [71] - 0为不限
  8993. type: integer
  8994. currencysign:
  8995. description: 货币符号
  8996. type: string
  8997. decimalplace:
  8998. description: 报价小数位
  8999. type: integer
  9000. enableqty:
  9001. description: 可用数量
  9002. type: integer
  9003. goodscode:
  9004. description: 商品代码(内部)
  9005. type: string
  9006. goodsid:
  9007. description: 商品Id
  9008. type: integer
  9009. goodsname:
  9010. description: 商品名称
  9011. type: string
  9012. goodsprice:
  9013. description: 商品价格
  9014. type: number
  9015. goodsstatus:
  9016. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9017. type: integer
  9018. last:
  9019. description: 现价(仅使用于挂牌点选)
  9020. type: number
  9021. limitdown:
  9022. description: 跌停价(仅使用于挂牌点选)
  9023. type: number
  9024. limitup:
  9025. description: 涨停价(仅使用于挂牌点选)
  9026. type: number
  9027. lotsize:
  9028. description: 手数最小变动单位
  9029. type: integer
  9030. marketid:
  9031. description: 所属市场ID
  9032. type: integer
  9033. picurls:
  9034. description: 介绍图片[多张用逗号分隔]
  9035. type: string
  9036. quoteminunit:
  9037. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9038. type: integer
  9039. stepvalue:
  9040. description: 价格最小变动单位
  9041. type: number
  9042. trademode:
  9043. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9044. type: integer
  9045. required:
  9046. - accountid
  9047. - goodscode
  9048. - goodsid
  9049. - goodsname
  9050. - marketid
  9051. - trademode
  9052. type: object
  9053. models.HsbyMyPackage:
  9054. properties:
  9055. accountid:
  9056. description: 账户ID
  9057. type: integer
  9058. address:
  9059. description: 提货人详细地址
  9060. type: string
  9061. agreeunit:
  9062. description: 合约单位
  9063. type: number
  9064. amount:
  9065. description: 提货金额
  9066. type: number
  9067. auditer:
  9068. description: 审核人
  9069. type: integer
  9070. audittime:
  9071. description: 审核时间
  9072. type: string
  9073. averageprice:
  9074. description: 均价
  9075. type: number
  9076. cardnum:
  9077. description: 提货人证件号码
  9078. type: string
  9079. cardtypeid:
  9080. description: 提货人证件类型
  9081. type: integer
  9082. checkremark:
  9083. description: 审核备注
  9084. type: string
  9085. currencysign:
  9086. description: 货币符号
  9087. type: string
  9088. decimalplace:
  9089. description: 报价小数位
  9090. type: integer
  9091. goodscode:
  9092. description: 商品代码(内部)
  9093. type: string
  9094. goodsid:
  9095. description: 商品ID
  9096. type: integer
  9097. goodsname:
  9098. description: 商品名称
  9099. type: string
  9100. handlestatus:
  9101. description: 处理状态
  9102. type: integer
  9103. marketid:
  9104. description: 市场ID
  9105. type: integer
  9106. phonenum:
  9107. description: 提货人联系方式
  9108. type: string
  9109. picurls:
  9110. description: 介绍图片[多张用逗号分隔]
  9111. type: string
  9112. qty:
  9113. description: 提货数量
  9114. type: number
  9115. recivername:
  9116. description: 提货人姓名
  9117. type: string
  9118. reqtime:
  9119. description: 更新时间
  9120. type: string
  9121. takemode:
  9122. description: 提货方式 - 2:自提 3:配送
  9123. type: integer
  9124. takeorderid:
  9125. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9126. type: string
  9127. takeorderstatus:
  9128. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9129. type: integer
  9130. takeremark:
  9131. description: 提货备注
  9132. type: string
  9133. tradedate:
  9134. description: 交易日(yyyyMMdd)
  9135. type: string
  9136. trademode:
  9137. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9138. type: integer
  9139. userid:
  9140. description: 用户ID
  9141. type: integer
  9142. vendorname:
  9143. description: 供应商名称
  9144. type: string
  9145. required:
  9146. - goodscode
  9147. - goodsname
  9148. - takeorderid
  9149. - trademode
  9150. type: object
  9151. models.HsbyPreGoods:
  9152. properties:
  9153. agreeunit:
  9154. description: 合约单位
  9155. type: number
  9156. currency:
  9157. description: 货币
  9158. type: string
  9159. currencysign:
  9160. description: 货币符号
  9161. type: string
  9162. decimalplace:
  9163. description: 报价小数位
  9164. type: integer
  9165. desccityid:
  9166. description: 目的地(市)
  9167. type: integer
  9168. descprovinceid:
  9169. description: 目的地(省)
  9170. type: integer
  9171. enableqty:
  9172. description: 剩余数量
  9173. type: integer
  9174. goodscode:
  9175. description: 商品代码(内部)
  9176. type: string
  9177. goodsid:
  9178. description: 商品ID(自增ID SEQ_GOODS)
  9179. type: integer
  9180. goodsname:
  9181. description: 商品名称
  9182. type: string
  9183. goodsstatus:
  9184. description: 商品状态- 2:未上市 3:上市
  9185. type: integer
  9186. lasttradedate:
  9187. description: 最后交易日期(状态:待退市)
  9188. type: string
  9189. listingdate:
  9190. description: 交易开始日期
  9191. type: string
  9192. marketid:
  9193. description: 所属市场ID
  9194. type: integer
  9195. picurls:
  9196. description: 介绍图片[多张用逗号分隔]
  9197. type: string
  9198. presaledqty:
  9199. description: 已预售量(预售结束时更新)
  9200. type: integer
  9201. presaleqty:
  9202. description: 预售数量
  9203. type: integer
  9204. quoteminunit:
  9205. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9206. type: integer
  9207. refprice:
  9208. description: 参考价格[一口价]
  9209. type: number
  9210. relatedgoodsid:
  9211. description: 关联交易合约ID
  9212. type: integer
  9213. trademode:
  9214. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9215. type: integer
  9216. videourls:
  9217. description: 介绍视频[多张用逗号分隔]
  9218. type: string
  9219. required:
  9220. - goodscode
  9221. - goodsid
  9222. - goodsname
  9223. - marketid
  9224. - trademode
  9225. type: object
  9226. models.HsbyPreGoodsDetail:
  9227. properties:
  9228. agreeunit:
  9229. description: 合约单位
  9230. type: number
  9231. buymaxqty:
  9232. description: 购买上限 [71] - 0为不限
  9233. type: integer
  9234. currency:
  9235. description: 货币
  9236. type: string
  9237. currencysign:
  9238. description: 货币符号
  9239. type: string
  9240. customername:
  9241. description: 发行单位
  9242. type: string
  9243. decimalplace:
  9244. description: 报价小数位
  9245. type: integer
  9246. desccityid:
  9247. description: 目的地(市)ID
  9248. type: integer
  9249. descprovinceid:
  9250. description: 目的地(省)ID
  9251. type: integer
  9252. enableqty:
  9253. description: 剩余数量
  9254. type: integer
  9255. goodscode:
  9256. description: 商品代码(内部)
  9257. type: string
  9258. goodsdesc:
  9259. description: 商品详情
  9260. type: string
  9261. goodsid:
  9262. description: 商品ID(自增ID SEQ_GOODS)
  9263. type: integer
  9264. goodsname:
  9265. description: 商品名称
  9266. type: string
  9267. goodsstatus:
  9268. description: 商品状态- 2:未上市 3:上市
  9269. type: integer
  9270. goodunit:
  9271. description: 报价单位
  9272. type: string
  9273. lasttradedate:
  9274. description: 最后交易日期(状态:待退市)
  9275. type: string
  9276. listingdate:
  9277. description: 交易开始日期
  9278. type: string
  9279. lotsize:
  9280. description: 手数最小变动单位
  9281. type: integer
  9282. marketid:
  9283. description: 所属市场ID
  9284. type: integer
  9285. picurls:
  9286. description: 介绍图片[多张用逗号分隔]
  9287. type: string
  9288. presaledqty:
  9289. description: 已预售量(预售结束时更新)
  9290. type: integer
  9291. presaleqty:
  9292. description: 预售数量
  9293. type: integer
  9294. quoteminunit:
  9295. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9296. type: integer
  9297. refprice:
  9298. description: 参考价格[一口价]
  9299. type: number
  9300. relatedgoodsid:
  9301. description: 关联交易合约ID
  9302. type: integer
  9303. stepvalue:
  9304. description: 价格最小变动单位
  9305. type: number
  9306. trademode:
  9307. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9308. type: integer
  9309. vendorattr:
  9310. description: 供应商附件(多张,逗号分隔)
  9311. type: string
  9312. vendorname:
  9313. description: 供应商名称
  9314. type: string
  9315. vendorphone:
  9316. description: 供应商客服电话
  9317. type: string
  9318. videourls:
  9319. description: 介绍视频[多张用逗号分隔]
  9320. type: string
  9321. required:
  9322. - goodscode
  9323. - goodsid
  9324. - goodsname
  9325. - marketid
  9326. - trademode
  9327. type: object
  9328. models.HsbySellCollectionOrder:
  9329. properties:
  9330. agreeunit:
  9331. description: 合约单位
  9332. type: number
  9333. buyaccountid:
  9334. description: 买方账号ID[报价币种]
  9335. type: integer
  9336. buyorderid:
  9337. description: 买方委托单号
  9338. type: string
  9339. createtime:
  9340. description: 创建时间
  9341. type: string
  9342. currencysign:
  9343. description: 货币符号
  9344. type: string
  9345. decimalplace:
  9346. description: 报价小数位
  9347. type: integer
  9348. goodscode:
  9349. description: 商品代码(内部)
  9350. type: string
  9351. goodsid:
  9352. description: 商品ID
  9353. type: integer
  9354. goodsname:
  9355. description: 商品名称
  9356. type: string
  9357. marketid:
  9358. description: 市场ID
  9359. type: integer
  9360. offamount:
  9361. description: 优惠金额
  9362. type: number
  9363. payamount:
  9364. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9365. type: number
  9366. payflag:
  9367. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9368. type: integer
  9369. paylimitedtime:
  9370. description: 支付期限
  9371. type: string
  9372. paytime:
  9373. description: 付款时间
  9374. type: string
  9375. picurls:
  9376. description: 商品介绍图片[多张用逗号分隔]
  9377. type: string
  9378. sellaccountid:
  9379. description: 卖方账号ID[报价币种]
  9380. type: integer
  9381. sellorderid:
  9382. description: 卖方委托单号
  9383. type: string
  9384. tradeamount:
  9385. description: 成交金额
  9386. type: number
  9387. tradecharge:
  9388. description: 成交手续费(买方)
  9389. type: number
  9390. tradedate:
  9391. description: 交易日(yyyyMMdd)
  9392. type: string
  9393. tradeid:
  9394. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9395. type: string
  9396. trademode:
  9397. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9398. type: integer
  9399. tradeprice:
  9400. description: 成交价格
  9401. type: number
  9402. tradeqty:
  9403. description: 成交数量
  9404. type: integer
  9405. required:
  9406. - goodscode
  9407. - goodsname
  9408. - tradeid
  9409. - trademode
  9410. type: object
  9411. models.HsbySellMyDetail:
  9412. properties:
  9413. accountid:
  9414. description: 账户ID[报价币种]
  9415. type: integer
  9416. agreeunit:
  9417. description: 合约单位
  9418. type: number
  9419. buyorsell:
  9420. description: 买卖 - 0:买 1:卖
  9421. type: integer
  9422. currencysign:
  9423. description: 货币符号
  9424. type: string
  9425. decimalplace:
  9426. description: 报价小数位
  9427. type: integer
  9428. goodscode:
  9429. description: 商品代码(内部)
  9430. type: string
  9431. goodsid:
  9432. description: 商品ID
  9433. type: integer
  9434. goodsname:
  9435. description: 商品名称
  9436. type: string
  9437. marketid:
  9438. description: 市场ID
  9439. type: integer
  9440. orderid:
  9441. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9442. type: string
  9443. ordertype:
  9444. description: 单据类型:0 - 发布中, 1 - 已完成
  9445. type: integer
  9446. picurls:
  9447. description: 介绍图片[多张用逗号分隔]
  9448. type: string
  9449. price:
  9450. description: 价格
  9451. type: number
  9452. qty:
  9453. description: 数量
  9454. type: integer
  9455. time:
  9456. description: 时间
  9457. type: string
  9458. trademode:
  9459. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9460. type: integer
  9461. vendorname:
  9462. description: 供应商名称
  9463. type: string
  9464. required:
  9465. - accountid
  9466. - buyorsell
  9467. - goodscode
  9468. - goodsid
  9469. - goodsname
  9470. - marketid
  9471. - orderid
  9472. - time
  9473. - trademode
  9474. type: object
  9475. models.HsbyTopGoods:
  9476. properties:
  9477. agreeunit:
  9478. description: 合约单位
  9479. type: number
  9480. currency:
  9481. description: 货币
  9482. type: string
  9483. currencysign:
  9484. description: 货币符号
  9485. type: string
  9486. decimalplace:
  9487. description: 报价小数位
  9488. type: integer
  9489. desccityid:
  9490. description: 目的地(市)
  9491. type: integer
  9492. descprovinceid:
  9493. description: 目的地(省)
  9494. type: integer
  9495. goodscode:
  9496. description: 商品代码(内部)
  9497. type: string
  9498. goodsid:
  9499. description: 商品ID(自增ID SEQ_GOODS)
  9500. type: integer
  9501. goodsname:
  9502. description: 商品名称
  9503. type: string
  9504. hotindex:
  9505. description: 景点热度
  9506. type: integer
  9507. last:
  9508. description: 现价
  9509. type: number
  9510. marketid:
  9511. description: 所属市场ID
  9512. type: integer
  9513. picurls:
  9514. description: 介绍图片[多张用逗号分隔]
  9515. type: string
  9516. quoteminunit:
  9517. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9518. type: integer
  9519. trademode:
  9520. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9521. type: integer
  9522. videourls:
  9523. description: 介绍视频[多张用逗号分隔]
  9524. type: string
  9525. required:
  9526. - goodscode
  9527. - goodsid
  9528. - goodsname
  9529. - marketid
  9530. - trademode
  9531. type: object
  9532. models.HybsMyBuyOrderDetail:
  9533. properties:
  9534. accountid:
  9535. description: 账户ID[报价币种]
  9536. type: integer
  9537. agreeunit:
  9538. description: 合约单位
  9539. type: number
  9540. buyorsell:
  9541. description: 买卖 - 0:买 1:卖
  9542. type: integer
  9543. cancelqty:
  9544. description: 撤单数量
  9545. type: integer
  9546. currencysign:
  9547. description: 货币符号
  9548. type: string
  9549. decimalplace:
  9550. description: 报价小数位
  9551. type: integer
  9552. goodscode:
  9553. description: 商品代码(内部)
  9554. type: string
  9555. goodsid:
  9556. description: 商品ID
  9557. type: integer
  9558. goodsname:
  9559. description: 商品名称
  9560. type: string
  9561. listingselecttype:
  9562. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9563. type: integer
  9564. marketid:
  9565. description: 市场ID
  9566. type: integer
  9567. mybuystatus:
  9568. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9569. type: integer
  9570. orderamount:
  9571. description: 委托金额
  9572. type: number
  9573. orderid:
  9574. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9575. type: string
  9576. orderprice:
  9577. description: 委托价格
  9578. type: number
  9579. orderqty:
  9580. description: 委托数量
  9581. type: integer
  9582. orderstatus:
  9583. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  9584. type: integer
  9585. ordertime:
  9586. description: 委托时间
  9587. type: string
  9588. picurls1:
  9589. description: 预售商品介绍图片[多张用逗号分隔]
  9590. type: string
  9591. picurls2:
  9592. description: 挂牌商品介绍图片[多张用逗号分隔]
  9593. type: string
  9594. trademode:
  9595. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9596. type: integer
  9597. tradeqty:
  9598. description: 成交数量
  9599. type: integer
  9600. vendorname1:
  9601. description: 预售商品供应商名称
  9602. type: string
  9603. vendorname2:
  9604. description: 挂牌商品供应商名称
  9605. type: string
  9606. required:
  9607. - accountid
  9608. - buyorsell
  9609. - goodscode
  9610. - goodsid
  9611. - goodsname
  9612. - marketid
  9613. - orderid
  9614. - orderqty
  9615. - ordertime
  9616. - trademode
  9617. type: object
  9618. models.Loginaccount:
  9619. properties:
  9620. accountname:
  9621. description: 账户名称
  9622. type: string
  9623. canoutin:
  9624. description: 是否可出入金 - 0:不可 1:可
  9625. type: integer
  9626. clientroleid:
  9627. description: 终端角色ID
  9628. type: integer
  9629. haslogined:
  9630. description: 是否已登录 - 0:未登录 1:已登录
  9631. type: integer
  9632. hasupdatedpwd:
  9633. description: 是否已更改密码 - 0:未修改 1:已修改
  9634. type: integer
  9635. lastloginip:
  9636. description: 最新登录地址
  9637. type: string
  9638. lastloginmode:
  9639. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9640. type: integer
  9641. lastloginremark:
  9642. description: 最新登录描述
  9643. type: string
  9644. lastlogintime:
  9645. description: 最新登录时间
  9646. type: string
  9647. logincode:
  9648. description: 登录代码
  9649. type: string
  9650. loginfailnum:
  9651. description: 连续登录失败次数(登录成功时清零)
  9652. type: integer
  9653. loginid:
  9654. description: 登陆账号
  9655. type: integer
  9656. loginport:
  9657. description: 最新登录端口
  9658. type: integer
  9659. loginstatus:
  9660. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9661. type: integer
  9662. loginusertype:
  9663. description: 登录账号类型 - 1:投资者 2:机构交易员
  9664. type: integer
  9665. mobile:
  9666. description: 手机号码(加密存储)
  9667. type: string
  9668. modifierid:
  9669. description: 修改人
  9670. type: integer
  9671. modifysrc:
  9672. description: 审核来源 - 1:管理端 2:终端
  9673. type: integer
  9674. modifytime:
  9675. description: 修改时间
  9676. type: string
  9677. password:
  9678. description: 登陆密码
  9679. type: string
  9680. pwdwrongcount:
  9681. description: 密码错误次数
  9682. type: integer
  9683. relateduserid:
  9684. description: 关联用户ID(机构)
  9685. type: integer
  9686. taaccountrighttype:
  9687. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9688. type: integer
  9689. unfreezetime:
  9690. description: 账户解冻时间
  9691. type: string
  9692. userid:
  9693. description: 用户ID
  9694. type: integer
  9695. required:
  9696. - loginid
  9697. type: object
  9698. models.MainAccountInfo:
  9699. properties:
  9700. accountid:
  9701. description: 账号id
  9702. type: integer
  9703. accountname:
  9704. description: 账号名称(taaccount表中的名称)
  9705. type: string
  9706. appid:
  9707. description: AppID
  9708. type: string
  9709. authcode:
  9710. description: 授权码
  9711. type: string
  9712. brokerid:
  9713. description: 经纪商id
  9714. type: string
  9715. fcid:
  9716. description: 期货公司id
  9717. type: integer
  9718. fcname:
  9719. description: 期货公司代码
  9720. type: string
  9721. hedgeaccountcode:
  9722. description: 外部账号代码(主账号登录代码)
  9723. type: string
  9724. hedgeaccountpwd:
  9725. description: 密码
  9726. type: string
  9727. ismain:
  9728. description: 是否主账号
  9729. type: integer
  9730. relateduserid:
  9731. description: 关联用户id
  9732. type: integer
  9733. userid:
  9734. description: 关联用户id
  9735. type: integer
  9736. type: object
  9737. models.Market:
  9738. properties:
  9739. auctionwrtype:
  9740. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9741. type: integer
  9742. canacceptquote:
  9743. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9744. type: integer
  9745. cangoodsexercise:
  9746. description: '[期权]是否可现货行权- 0:否 1:是'
  9747. type: integer
  9748. cangoodsexercisetype:
  9749. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9750. type: integer
  9751. canmanualquotestrike:
  9752. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9753. type: integer
  9754. canmutistage:
  9755. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9756. type: integer
  9757. canpreexercise:
  9758. description: '[期权]是否可预申报- 0:否 1:是'
  9759. type: integer
  9760. clearinterval:
  9761. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9762. type: integer
  9763. contracttmp:
  9764. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9765. type: string
  9766. exchareaid:
  9767. description: 所属交易所,可以没有
  9768. type: integer
  9769. goodstype:
  9770. description: 商品类型 - 1:交易商品 2:仓单商品
  9771. type: integer
  9772. hasrebate:
  9773. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9774. type: integer
  9775. hastradecredit:
  9776. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9777. type: integer
  9778. haswr:
  9779. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9780. type: integer
  9781. isdeductmargin:
  9782. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9783. type: integer
  9784. isrecordsource:
  9785. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9786. type: integer
  9787. isreleasemargin:
  9788. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9789. type: integer
  9790. marginformula:
  9791. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9792. type: integer
  9793. marginformula2:
  9794. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9795. type: integer
  9796. marketid:
  9797. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9798. type: integer
  9799. marketname:
  9800. description: 市场名称
  9801. type: string
  9802. marketserviceid:
  9803. description: 市场服务ID
  9804. type: integer
  9805. marketstatus:
  9806. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9807. type: integer
  9808. markettype:
  9809. description: 市场类型- 1:非交易服务 2:交易服务
  9810. type: integer
  9811. matchermode:
  9812. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9813. type: integer
  9814. openmethod:
  9815. description: 开盘模式 - 0 自动 1手动
  9816. type: integer
  9817. otcuserid:
  9818. description: 场外期权做市商[场外期权]
  9819. type: integer
  9820. outersynctime:
  9821. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9822. type: string
  9823. pendingflag:
  9824. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9825. type: integer
  9826. pendingtime:
  9827. description: 待开市时间[通道交易-对冲](HH:mm)
  9828. type: string
  9829. performancetempid:
  9830. description: 履约计划模板ID - 作废
  9831. type: integer
  9832. premiumquotemode:
  9833. description: 权利金报价方式 - 1:自动 2:手动
  9834. type: integer
  9835. rebateratio:
  9836. description: 返利比率[竞价式]
  9837. type: number
  9838. reckonorder:
  9839. description: 结算顺序
  9840. type: integer
  9841. reckonpricealgorithm:
  9842. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价'
  9843. type: integer
  9844. reckonpriceparam:
  9845. description: 结算价参数
  9846. type: integer
  9847. reckontime:
  9848. description: 结算时间[通道交易-对冲](HH:mm)
  9849. type: string
  9850. roleprioritytype:
  9851. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9852. type: integer
  9853. selllistingauditflag:
  9854. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9855. type: integer
  9856. trademarkettype:
  9857. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9858. type: integer
  9859. trademode:
  9860. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9861. type: integer
  9862. tradeproperty:
  9863. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权
  9864. type: integer
  9865. tradetype:
  9866. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9867. type: integer
  9868. required:
  9869. - marketid
  9870. - marketstatus
  9871. - openmethod
  9872. - reckonpricealgorithm
  9873. - trademode
  9874. - tradeproperty
  9875. type: object
  9876. models.Marketrun:
  9877. properties:
  9878. afternexttradedate:
  9879. description: 下下交易日
  9880. type: string
  9881. clearquoteflag:
  9882. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9883. type: integer
  9884. lastreckondate:
  9885. description: 最新交易日(结算成功)
  9886. type: string
  9887. machinedate:
  9888. description: 机器时间
  9889. type: string
  9890. manualflag:
  9891. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9892. type: integer
  9893. marketid:
  9894. description: 市场ID
  9895. type: integer
  9896. nexttradedate:
  9897. description: 下一交易日
  9898. type: string
  9899. pretradedate:
  9900. description: 上一交易日
  9901. type: string
  9902. reckonflag:
  9903. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9904. type: integer
  9905. runstatus:
  9906. 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.今日免清算
  9907. type: integer
  9908. sectionid:
  9909. description: 时间段号[多时段时用]
  9910. type: integer
  9911. tradedate:
  9912. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9913. type: string
  9914. tradedate2:
  9915. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9916. type: string
  9917. updatetime:
  9918. description: 更新时间
  9919. type: string
  9920. required:
  9921. - marketid
  9922. - nexttradedate
  9923. - reckonflag
  9924. - runstatus
  9925. - tradedate
  9926. - tradedate2
  9927. type: object
  9928. models.Messageboard:
  9929. properties:
  9930. contactnum:
  9931. description: 联系电话
  9932. type: string
  9933. createtime:
  9934. description: 创建时间
  9935. type: string
  9936. message:
  9937. description: 留言信息
  9938. type: string
  9939. messageboardid:
  9940. description: 留言簿ID(SEQ_MessageBoard)
  9941. type: integer
  9942. userid:
  9943. description: 用户ID
  9944. type: integer
  9945. required:
  9946. - messageboardid
  9947. type: object
  9948. models.MyCoupon:
  9949. properties:
  9950. accountid:
  9951. description: 资金账户ID
  9952. type: integer
  9953. areauserid:
  9954. description: 所属机构
  9955. type: integer
  9956. conditionvalue:
  9957. description: 条件阈值(可为0)
  9958. type: number
  9959. couponcategroy:
  9960. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9961. type: integer
  9962. couponname:
  9963. description: 优惠券名称
  9964. type: string
  9965. coupontypeid:
  9966. description: 优惠券类型ID
  9967. type: string
  9968. couponvalue:
  9969. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9970. type: number
  9971. curfreezeqty:
  9972. description: 期末冻结数量
  9973. type: integer
  9974. curqty:
  9975. description: 期末数量
  9976. type: integer
  9977. isgeneral:
  9978. description: 是否通用券 - 0:否 1:是
  9979. type: integer
  9980. isunusable:
  9981. description: 是否不可用
  9982. type: boolean
  9983. limitedflag:
  9984. description: 是否指定商品 - 0:不限 1:限制
  9985. type: integer
  9986. limitedgoodsids:
  9987. description: 指定商品IDs[逗号分隔,前后加逗号]
  9988. type: string
  9989. orifreezeqty:
  9990. description: 期初冻结数量
  9991. type: integer
  9992. oriqty:
  9993. description: 期初数量
  9994. type: integer
  9995. reasontype:
  9996. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9997. type: integer
  9998. todaydecrease:
  9999. description: 今日减少
  10000. type: integer
  10001. todayincrease:
  10002. description: 今日增加
  10003. type: integer
  10004. userid:
  10005. description: 用户ID
  10006. type: integer
  10007. userscope:
  10008. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  10009. type: string
  10010. required:
  10011. - accountid
  10012. - coupontypeid
  10013. type: object
  10014. models.MyCouponHold:
  10015. properties:
  10016. accountid:
  10017. description: 资金账户ID
  10018. type: integer
  10019. conditionvalue:
  10020. description: 条件阈值(可为0)
  10021. type: number
  10022. couponcategroy:
  10023. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10024. type: integer
  10025. couponholdid:
  10026. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  10027. type: string
  10028. couponname:
  10029. description: 优惠券名称
  10030. type: string
  10031. coupontypeid:
  10032. description: 优惠券类型ID - SEQ_COUPONTYPE
  10033. type: string
  10034. couponvalue:
  10035. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10036. type: number
  10037. createtime:
  10038. description: 创建时间
  10039. type: string
  10040. enddate:
  10041. description: 结束日期
  10042. type: string
  10043. giveapplyid:
  10044. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10045. type: integer
  10046. holdstatus:
  10047. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10048. type: integer
  10049. isgeneral:
  10050. description: 是否通用券 - 0:否 1:是
  10051. type: integer
  10052. limitedflag:
  10053. description: 是否指定商品 - 0:不限 1:限制
  10054. type: integer
  10055. limitedgoodsids:
  10056. description: 指定商品IDs[逗号分隔]
  10057. type: string
  10058. qty:
  10059. description: 数量(按1平铺)
  10060. type: integer
  10061. startdate:
  10062. description: 开始日期
  10063. type: string
  10064. userid:
  10065. description: 用户ID
  10066. type: integer
  10067. userscope:
  10068. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10069. type: string
  10070. required:
  10071. - couponholdid
  10072. type: object
  10073. models.MyUsedCoupon:
  10074. properties:
  10075. accountid:
  10076. description: 资金账户ID(买方)
  10077. type: integer
  10078. conditionvalue:
  10079. description: 条件阈值(可为0)
  10080. type: number
  10081. couponcategroy:
  10082. description: 种类 - 1:现金券 2:折扣券
  10083. type: integer
  10084. couponname:
  10085. description: 优惠券名称
  10086. type: string
  10087. coupontypeid:
  10088. description: 优惠券类型ID(买方)
  10089. type: string
  10090. couponvalue:
  10091. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10092. type: number
  10093. createtime:
  10094. description: 创建时间
  10095. type: string
  10096. goodsid:
  10097. description: 商品ID
  10098. type: integer
  10099. handlestatus:
  10100. description: 处理状态
  10101. type: integer
  10102. marketid:
  10103. description: 市场ID
  10104. type: integer
  10105. offamount:
  10106. description: 优惠金额
  10107. type: number
  10108. orderid:
  10109. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10110. type: string
  10111. sellaccountid:
  10112. description: 资金账户ID(卖方)
  10113. type: integer
  10114. tradeamount:
  10115. description: 成交金额
  10116. type: number
  10117. tradeid:
  10118. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10119. type: string
  10120. usedqty:
  10121. description: 使用数量
  10122. type: integer
  10123. required:
  10124. - coupontypeid
  10125. - orderid
  10126. type: object
  10127. models.OperationPrimaryMenu:
  10128. properties:
  10129. Children:
  10130. description: 二级功能菜单
  10131. items:
  10132. $ref: '#/definitions/models.OperationSecondaryMenu'
  10133. type: array
  10134. Key:
  10135. description: 菜单KEY
  10136. type: string
  10137. Label:
  10138. description: 菜单标题
  10139. type: string
  10140. type: object
  10141. models.OperationSecondaryMenu:
  10142. properties:
  10143. Key:
  10144. description: 菜单KEY
  10145. type: string
  10146. Label:
  10147. description: 菜单标题
  10148. type: string
  10149. TabList:
  10150. description: 三级功能菜单
  10151. items:
  10152. $ref: '#/definitions/models.OperationTabMenu'
  10153. type: array
  10154. type: object
  10155. models.OperationTabMenu:
  10156. properties:
  10157. Key:
  10158. description: 菜单KEY
  10159. type: string
  10160. Label:
  10161. description: 菜单标题
  10162. type: string
  10163. type: object
  10164. models.QhjAccountOutInApply:
  10165. properties:
  10166. accountcode:
  10167. description: 资金账号
  10168. type: string
  10169. accountname:
  10170. description: 用户名称(名称)
  10171. type: string
  10172. accountpwd:
  10173. description: 资金密码
  10174. type: string
  10175. accountticket:
  10176. description: 最新账户服务流水号
  10177. type: string
  10178. amount:
  10179. description: 金额
  10180. type: number
  10181. applyremark:
  10182. description: 申请备注
  10183. type: string
  10184. applystatus:
  10185. 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: 复审通过,账户冻结金额检查中;'
  10186. type: integer
  10187. auditid:
  10188. description: 审核人
  10189. type: integer
  10190. audittime:
  10191. description: 审核时间
  10192. type: string
  10193. bank_apply_ticket:
  10194. description: 银行申请流水
  10195. type: string
  10196. bankaccountname:
  10197. description: 银行账户名
  10198. type: string
  10199. bankaccountno:
  10200. description: 银行卡号
  10201. type: string
  10202. bankid:
  10203. description: 银行编号
  10204. type: string
  10205. bankticket:
  10206. description: 银行流水
  10207. type: string
  10208. branchbankid:
  10209. description: 银行支行号
  10210. type: string
  10211. branchbankname:
  10212. description: 银行支行名称
  10213. type: string
  10214. capamountout:
  10215. description: 出金(劣后本金) - 外部子账户
  10216. type: number
  10217. certificatephotourl:
  10218. description: 凭证地址
  10219. type: string
  10220. charge:
  10221. description: 手续费
  10222. type: number
  10223. checkerrorflag:
  10224. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10225. type: integer
  10226. currency:
  10227. description: 币种
  10228. type: string
  10229. cusbankid:
  10230. description: 托管银行编号
  10231. type: string
  10232. exchticket:
  10233. description: 银行服务流水号
  10234. type: string
  10235. executetype:
  10236. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  10237. type: integer
  10238. extendinfo:
  10239. description: 扩展信息
  10240. type: string
  10241. extoperateid:
  10242. description: 交易服务流水号
  10243. type: integer
  10244. infamount:
  10245. description: 劣后金额(自有)
  10246. type: number
  10247. logincode:
  10248. description: 登录账号(账号)
  10249. type: string
  10250. netaddr:
  10251. description: 调转网址
  10252. type: string
  10253. priamount:
  10254. description: 优先金额(授信)
  10255. type: number
  10256. reauditid:
  10257. description: 复审人
  10258. type: integer
  10259. reauditremark:
  10260. description: 复审备注
  10261. type: string
  10262. reaudittime:
  10263. description: 复审时间
  10264. type: string
  10265. relatedorderid:
  10266. description: 三方关联ID
  10267. type: string
  10268. remark:
  10269. description: 备注
  10270. type: string
  10271. remark2:
  10272. description: 备注(失败原因)
  10273. type: string
  10274. soucreamount:
  10275. description: 原始出入金金额
  10276. type: number
  10277. soucrecurrencyid:
  10278. description: 原始出入金币种
  10279. type: integer
  10280. tradedate:
  10281. description: 交易日(yyyyMMdd)
  10282. type: string
  10283. updatetime:
  10284. description: 更新时间(申请时间)
  10285. type: string
  10286. userid:
  10287. description: 用户id
  10288. type: integer
  10289. userinfotype:
  10290. description: 账户类型 1-个人 2-企业
  10291. type: integer
  10292. type: object
  10293. models.QhjAgreementChangeLog:
  10294. properties:
  10295. agreementcontent:
  10296. description: 协议内容
  10297. type: string
  10298. agreementfrequency:
  10299. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10300. type: integer
  10301. agreementid:
  10302. description: 协议ID
  10303. type: integer
  10304. agreementname:
  10305. description: 协议名称
  10306. type: string
  10307. agreementno:
  10308. description: 协议编号
  10309. type: string
  10310. agreementtype:
  10311. description: 协议类型 - 1:注册 2:登录 3:交易
  10312. type: integer
  10313. agreementversion:
  10314. description: 协议版本号
  10315. type: integer
  10316. logid:
  10317. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10318. type: integer
  10319. reviserid:
  10320. description: 修改人
  10321. type: integer
  10322. revisersrc:
  10323. description: 修改来源 - 1:管理端 2:终端
  10324. type: integer
  10325. updatetime:
  10326. description: 更新时间
  10327. type: string
  10328. type: object
  10329. models.QhjAgreementConfig:
  10330. properties:
  10331. agreementcontent:
  10332. description: 协议内容
  10333. type: string
  10334. agreementfrequency:
  10335. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10336. type: integer
  10337. agreementid:
  10338. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10339. type: integer
  10340. agreementname:
  10341. description: 协议名称
  10342. type: string
  10343. agreementno:
  10344. description: 协议编号
  10345. type: string
  10346. agreementtype:
  10347. description: 协议类型 - 1:注册 2:登录 3:交易
  10348. type: integer
  10349. agreementversion:
  10350. description: 协议版本号(从1开始每次修改加1)
  10351. type: integer
  10352. createtime:
  10353. description: 创建时间
  10354. type: string
  10355. creatorid:
  10356. description: 创建人
  10357. type: integer
  10358. creatorsrc:
  10359. description: 创建来源 - 1:管理端 2:终端
  10360. type: integer
  10361. isvalid:
  10362. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10363. type: integer
  10364. reviserid:
  10365. description: 修改人
  10366. type: integer
  10367. revisersrc:
  10368. description: 修改来源 - 1:管理端 2:终端
  10369. type: integer
  10370. updatetime:
  10371. description: 更新时间
  10372. type: string
  10373. type: object
  10374. models.QhjAreaFinanceConfig:
  10375. properties:
  10376. additionalratio:
  10377. description: 追加款比例
  10378. type: number
  10379. advanceratio:
  10380. description: 预付款比例
  10381. type: number
  10382. alarmratio:
  10383. description: 告警比例
  10384. type: number
  10385. consumptiondirectreward:
  10386. description: 消费直推奖励值
  10387. type: number
  10388. consumptionenabled:
  10389. description: 是否启用消费奖励 - 0:不启用 1:启用
  10390. type: integer
  10391. consumptionindirectreward:
  10392. description: 消费间推奖励值
  10393. type: number
  10394. consumptionmodel:
  10395. description: 消费奖励方式 - 1:比率 2:固定
  10396. type: integer
  10397. customerservicenum:
  10398. description: 客服电话
  10399. type: string
  10400. dayinterestrate:
  10401. description: 日利率
  10402. type: number
  10403. disableconsumptiontips:
  10404. description: 关闭消费奖励提示
  10405. type: string
  10406. modifierid:
  10407. description: 修改人ID
  10408. type: integer
  10409. modifysrc:
  10410. description: 审核来源 - 1:管理端 2:终端
  10411. type: integer
  10412. modifytime:
  10413. description: 修改时间
  10414. type: string
  10415. promotionvalue:
  10416. description: 推广奖励值(固定)
  10417. type: number
  10418. scoreconfigvalue1:
  10419. description: 提货积分配置1
  10420. type: integer
  10421. scoreconfigvalue2:
  10422. description: 提货积分配置2
  10423. type: integer
  10424. userid:
  10425. description: 机构用户ID其他做市关系,都设置为 1
  10426. type: integer
  10427. username:
  10428. description: 用户名称
  10429. type: string
  10430. type: object
  10431. models.QhjBankAccountSign:
  10432. properties:
  10433. accountcode:
  10434. description: 资金账号
  10435. type: string
  10436. accountname:
  10437. description: 资金账号对应的账号名(UserName)
  10438. type: string
  10439. accountname2:
  10440. description: 资金账号对应的账号名(UserName) - 密文
  10441. type: string
  10442. accounttype:
  10443. description: 账户类型(UserType)
  10444. type: integer
  10445. applicationtime:
  10446. description: 最后一次更新的时间
  10447. type: string
  10448. applyexchticket:
  10449. description: 申请流水
  10450. type: string
  10451. auditid:
  10452. description: 审核人
  10453. type: integer
  10454. audittime:
  10455. description: 审核时间
  10456. type: string
  10457. bankaccountname:
  10458. description: 签约银行卡账号名
  10459. type: string
  10460. bankaccountname2:
  10461. description: 签约银行卡账号名 - 密文
  10462. type: string
  10463. bankaccountno:
  10464. description: 银行卡号
  10465. type: string
  10466. bankaccountno2:
  10467. description: 银行卡号 - 密文
  10468. type: string
  10469. bankaccounttype:
  10470. description: 银行账户类型 - 1-对私; 2-对公
  10471. type: integer
  10472. bankcardtype:
  10473. description: 银行卡类型
  10474. type: integer
  10475. bankchildaccount:
  10476. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10477. type: string
  10478. bankcity:
  10479. description: 开户行城市
  10480. type: string
  10481. bankid:
  10482. description: 签约银行ID
  10483. type: string
  10484. bankname:
  10485. description: 签约银行名称
  10486. type: string
  10487. bankprovince:
  10488. description: 开户行省份
  10489. type: string
  10490. branchbankid:
  10491. description: 签约银行支行号
  10492. type: string
  10493. branchbankname:
  10494. description: 签约银行支行名称
  10495. type: string
  10496. cardno:
  10497. description: 证件号码
  10498. type: string
  10499. cardno2:
  10500. description: 证件号码 - 密文
  10501. type: string
  10502. cardtype:
  10503. description: 证件类型
  10504. type: string
  10505. currency:
  10506. description: 币种
  10507. type: string
  10508. cusbankid:
  10509. description: 托管银行编号
  10510. type: string
  10511. direct:
  10512. description: 方向(可以判断那方先发起的签约)
  10513. type: integer
  10514. exchticket:
  10515. description: 最后一次签约成功的流水号
  10516. type: string
  10517. extendinfo:
  10518. description: 扩展信息(JSON字符串)
  10519. type: string
  10520. mobilephone:
  10521. description: 手机号
  10522. type: string
  10523. mobilephone2:
  10524. description: 手机号 - 密文
  10525. type: string
  10526. netaddr:
  10527. description: 调转网址
  10528. type: string
  10529. relateduserid:
  10530. description: 关联使用者userid
  10531. type: integer
  10532. signstatus:
  10533. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核
  10534. type: integer
  10535. updatetime:
  10536. description: 更新时间(签解约更新时间)
  10537. type: string
  10538. type: object
  10539. models.QhjBankInfo:
  10540. properties:
  10541. bankid:
  10542. description: 银行ID
  10543. type: string
  10544. bankname:
  10545. description: 银行名称
  10546. type: string
  10547. clearbankno:
  10548. description: 清算系统银行编号
  10549. type: string
  10550. orderindex:
  10551. description: 排序顺序
  10552. type: integer
  10553. status:
  10554. description: 状态 - 0:正常 1:注销
  10555. type: integer
  10556. type: object
  10557. models.QhjBrokerApply:
  10558. properties:
  10559. applicantid:
  10560. description: 申请人
  10561. type: integer
  10562. applysrc:
  10563. description: 申请来源 - 1:管理端 2:终端
  10564. type: integer
  10565. applystatus:
  10566. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10567. type: integer
  10568. applytime:
  10569. description: 申请时间
  10570. type: string
  10571. auditorid:
  10572. description: 审核人
  10573. type: integer
  10574. auditremark:
  10575. description: 审核备注
  10576. type: string
  10577. auditsrc:
  10578. description: 审核来源 - 1:管理端 2:终端
  10579. type: integer
  10580. audittime:
  10581. description: 审核时间
  10582. type: string
  10583. audittradedate:
  10584. description: 审核交易日(yyyyMMdd)
  10585. type: string
  10586. brokerapplyid:
  10587. description: 申请ID(SEQ_BROKERAPPLY)
  10588. type: integer
  10589. cardbackphotourl:
  10590. description: 证件背面图片地址
  10591. type: string
  10592. cardfrontphotourl:
  10593. description: 证件正面图片地址
  10594. type: string
  10595. cardnum:
  10596. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10597. type: string
  10598. customername:
  10599. description: 姓名
  10600. type: string
  10601. logincode:
  10602. description: 登录代码
  10603. type: string
  10604. mobile:
  10605. description: 手机号码
  10606. type: string
  10607. parentuserid:
  10608. description: 所属机构id
  10609. type: integer
  10610. parentusername:
  10611. description: 所属机构名称
  10612. type: string
  10613. refereeuserid:
  10614. description: 推荐人id(经纪人)
  10615. type: integer
  10616. refernum:
  10617. description: 推荐码
  10618. type: string
  10619. remark:
  10620. description: 备注
  10621. type: string
  10622. subarealevelpath:
  10623. description: 层级路径
  10624. type: string
  10625. tradedate:
  10626. description: 交易日(yyyyMMdd)
  10627. type: string
  10628. userid:
  10629. description: 申请人用户ID
  10630. type: integer
  10631. userinfotype:
  10632. description: 用户类型 1-个人 2-企业
  10633. type: integer
  10634. username:
  10635. description: 用户名称
  10636. type: string
  10637. type: object
  10638. models.QhjBrokerApplyEx:
  10639. properties:
  10640. applylist:
  10641. description: 经纪人申请记录(只返回最新一条)
  10642. items:
  10643. $ref: '#/definitions/models.QhjBrokerApply'
  10644. type: array
  10645. canrecommend:
  10646. description: 是否经纪人 0-不是 1-是
  10647. type: integer
  10648. refernum:
  10649. description: 推荐码
  10650. type: string
  10651. userid:
  10652. description: 用户id
  10653. type: integer
  10654. userinfotype:
  10655. description: 用户类型 1-个人 2-企业
  10656. type: integer
  10657. type: object
  10658. models.QhjBrokerRewardLog:
  10659. properties:
  10660. accountid:
  10661. description: 资金账号ID
  10662. type: integer
  10663. createtime:
  10664. description: 创建时间(时间)
  10665. type: string
  10666. handlestatus:
  10667. description: 处理状态
  10668. type: integer
  10669. logid:
  10670. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10671. type: string
  10672. marketid:
  10673. description: 市场ID
  10674. type: integer
  10675. mmaccountid:
  10676. description: 做市商资金账号ID
  10677. type: string
  10678. mmuserid:
  10679. description: 做市商用户ID
  10680. type: string
  10681. rewardamount:
  10682. description: 奖励金额
  10683. type: number
  10684. rewardmodel:
  10685. description: 消费奖励方式 - 1:比率 2:固定
  10686. type: integer
  10687. rewardtype:
  10688. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10689. type: integer
  10690. rewardvalue:
  10691. description: 配置奖励值
  10692. type: number
  10693. srcamount:
  10694. description: 成交金额 [消费奖励] (金额)
  10695. type: number
  10696. srcgoodsid:
  10697. description: 来源商品ID [消费奖励]
  10698. type: string
  10699. srctime:
  10700. description: 来源时间 (成交时间) [消费奖励]
  10701. type: string
  10702. srctradeid:
  10703. description: 来源成交单ID [消费奖励] - 排除提货成交
  10704. type: string
  10705. srcuserid:
  10706. description: 来源用户ID(推广账户)
  10707. type: string
  10708. srcusername:
  10709. description: 推广账户名称
  10710. type: string
  10711. tradedate:
  10712. description: 交易日(yyyyMMdd)
  10713. type: string
  10714. userid:
  10715. description: 经纪人用户ID
  10716. type: integer
  10717. type: object
  10718. models.QhjContract:
  10719. properties:
  10720. contractconfirmtime:
  10721. description: 合同确认时间(时间)
  10722. type: string
  10723. currisklevel:
  10724. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10725. type: integer
  10726. decimalplace:
  10727. description: 商品报价小数位
  10728. type: integer
  10729. enumdicname:
  10730. description: 单位名称
  10731. type: string
  10732. goodscode:
  10733. description: 商品代码
  10734. type: string
  10735. goodsid:
  10736. description: 商品ID [5:融资单]
  10737. type: integer
  10738. goodsname:
  10739. description: 商品名称
  10740. type: string
  10741. goodunitid:
  10742. description: 商品单位id
  10743. type: integer
  10744. initmargin:
  10745. description: 初始保证金(首付款)
  10746. type: number
  10747. lenderamount:
  10748. description: 贷款金额(总额|订单总额)
  10749. type: number
  10750. marginratio:
  10751. description: 保证金比率(首付比例)
  10752. type: number
  10753. payamount:
  10754. description: 已付(已付货款)
  10755. type: number
  10756. reckonrecovermargin:
  10757. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10758. type: number
  10759. recoveredmargin:
  10760. description: 已追缴保证金
  10761. type: number
  10762. remainamount:
  10763. description: 合同剩余金额(融资额)
  10764. type: number
  10765. scfcontractid:
  10766. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10767. type: string
  10768. scfcontractstatus:
  10769. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  10770. type: integer
  10771. scfcontracttype:
  10772. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10773. type: integer
  10774. totalinterest:
  10775. description: 已计总利息(利息)
  10776. type: number
  10777. tradeprice:
  10778. description: 成交价格(成本价格)
  10779. type: number
  10780. userid:
  10781. description: 用户ID
  10782. type: integer
  10783. username:
  10784. description: 用户名称
  10785. type: string
  10786. wrqty:
  10787. description: 仓单数量(数量)
  10788. type: number
  10789. type: object
  10790. models.QhjContractLog:
  10791. properties:
  10792. amount:
  10793. description: 支付金额
  10794. type: number
  10795. amounttype:
  10796. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10797. type: integer
  10798. logid:
  10799. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10800. type: string
  10801. remainamount:
  10802. description: 剩余货款
  10803. type: number
  10804. scfcontractid:
  10805. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10806. type: integer
  10807. updatetime:
  10808. description: 更新时间
  10809. type: string
  10810. type: object
  10811. models.QhjCusBankSignBankEx:
  10812. properties:
  10813. banklst:
  10814. description: 银行列表
  10815. items:
  10816. $ref: '#/definitions/models.QhjBankInfo'
  10817. type: array
  10818. canallot:
  10819. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10820. type: integer
  10821. canallotquery:
  10822. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10823. type: integer
  10824. canbindcard:
  10825. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10826. type: integer
  10827. caninamount:
  10828. description: 是否可入金 - 0:不可 1:可以
  10829. type: integer
  10830. caninamount2:
  10831. description: 是否可入金(网银端) - 0:不可 1:可以
  10832. type: integer
  10833. canmodifybankcard:
  10834. description: 是否可修改银行卡号 - 0:不可 1:可以
  10835. type: integer
  10836. canmodifyphone:
  10837. description: 是否可修改手机号 - 0:不可 1:可以
  10838. type: integer
  10839. canmodifysigninfo:
  10840. description: 是否可修改签约信息 - 0:不可 1:可以
  10841. type: integer
  10842. canoutamount:
  10843. description: 是否可出金 - 0:不可 1:可以
  10844. type: integer
  10845. canoutamount2:
  10846. description: 是否可出金(网银端) - 0:不可 1:可以
  10847. type: integer
  10848. canrelease:
  10849. description: 是否可解约 - 0:不可 1:可以
  10850. type: integer
  10851. canrelease2:
  10852. description: 是否可解约(网银端) - 0:不可 1:可以
  10853. type: integer
  10854. cansign:
  10855. description: 是否可签约 - 0:不可 1:可以
  10856. type: integer
  10857. cansign2:
  10858. description: 是否可签约(网银端) - 0:不可 1:可以
  10859. type: integer
  10860. currency:
  10861. description: 币种
  10862. type: string
  10863. cusbankid:
  10864. description: 托管银行编号(对应清算中心TRAN_NO)
  10865. type: string
  10866. cusbankname:
  10867. description: 银行业务名称
  10868. type: string
  10869. cusbankshortname:
  10870. description: 银行业务简称
  10871. type: string
  10872. exchbankid:
  10873. description: 交易所开户银行ID
  10874. type: string
  10875. exchpaybankaccname:
  10876. description: 交易所支出结算账户户名
  10877. type: string
  10878. exchpaybankaccno:
  10879. description: 交易所支出结算账户
  10880. type: string
  10881. isneedcheck:
  10882. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10883. type: integer
  10884. isneedclear:
  10885. description: 是否需要清算 - 0:不需要 1:需要
  10886. type: integer
  10887. lastcheckstatus:
  10888. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10889. type: integer
  10890. lastchecktime:
  10891. description: 最后对账时间
  10892. type: string
  10893. lastclearstatus:
  10894. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10895. type: integer
  10896. lastcleartime:
  10897. description: 最后清算时间
  10898. type: string
  10899. lastsignintime:
  10900. description: 最后签到时间
  10901. type: string
  10902. lastsignouttime:
  10903. description: 最后签退时间
  10904. type: string
  10905. riskinfo:
  10906. description: 签约风险提示书
  10907. type: string
  10908. signstatus:
  10909. description: 当前签到/签退状态 - 1:签到 2:签退
  10910. type: integer
  10911. tradedate:
  10912. description: 交易日(yyyyMMdd)
  10913. type: string
  10914. updatetime:
  10915. description: 当前签到/签退更新时间
  10916. type: string
  10917. type: object
  10918. models.QhjCustomer:
  10919. properties:
  10920. address:
  10921. description: 通讯地址
  10922. type: string
  10923. attachment1:
  10924. description: 附件1
  10925. type: string
  10926. attachment2:
  10927. description: 附件2
  10928. type: string
  10929. audittime:
  10930. description: 审核时间
  10931. type: string
  10932. cardbackphotourl:
  10933. description: 证件反面图片地址
  10934. type: string
  10935. cardfrontphotourl:
  10936. description: 证件正面图片地址
  10937. type: string
  10938. cardnum:
  10939. description: 证件号码
  10940. type: string
  10941. cardtype:
  10942. description: 证件类型
  10943. type: integer
  10944. cardtypename:
  10945. description: 证件类型名称
  10946. type: string
  10947. cityid:
  10948. description: 市
  10949. type: integer
  10950. cityname:
  10951. description: 城市名称
  10952. type: string
  10953. contactname:
  10954. description: 联系人
  10955. type: string
  10956. countryid:
  10957. description: 国家
  10958. type: integer
  10959. countryname:
  10960. description: 国家名称
  10961. type: string
  10962. createtime:
  10963. description: 创建时间
  10964. type: string
  10965. customername:
  10966. description: 客户名称
  10967. type: string
  10968. districtid:
  10969. description: 区域
  10970. type: integer
  10971. districtname:
  10972. description: 地区名称
  10973. type: string
  10974. email:
  10975. description: 邮件
  10976. type: string
  10977. legalpersonname:
  10978. description: 法人姓名(企业)
  10979. type: string
  10980. logincode:
  10981. description: 登录账号(代码)
  10982. type: string
  10983. memberuserid:
  10984. description: 所属机构ID(所属会员)
  10985. type: integer
  10986. memberusername:
  10987. description: 所属会员名称
  10988. type: string
  10989. mobile:
  10990. description: 手机号码
  10991. type: string
  10992. modifytime:
  10993. description: 修改时间
  10994. type: string
  10995. nickname:
  10996. description: 昵称
  10997. type: string
  10998. parentuserid:
  10999. description: 上级机构(所属机构)
  11000. type: integer
  11001. parentusername:
  11002. description: 所属机构名称
  11003. type: string
  11004. provinceid:
  11005. description: 省
  11006. type: integer
  11007. provincename:
  11008. description: 省名称
  11009. type: string
  11010. proxystatementurl:
  11011. description: 授权委托书
  11012. type: string
  11013. remark:
  11014. description: 备注
  11015. type: string
  11016. status:
  11017. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  11018. type: integer
  11019. statusdesc:
  11020. description: 账户状态中文描述
  11021. type: string
  11022. taxpayernum:
  11023. description: 纳税人识别号
  11024. type: string
  11025. telphone:
  11026. description: 联系电话
  11027. type: string
  11028. userid:
  11029. description: 用户ID
  11030. type: integer
  11031. userinfotype:
  11032. description: 客户类型 1-个人 2-企业
  11033. type: integer
  11034. username:
  11035. description: 用户名称
  11036. type: string
  11037. type: object
  11038. models.QhjCustomerSignLog:
  11039. properties:
  11040. agreementcontent:
  11041. description: 协议内容
  11042. type: string
  11043. agreementid:
  11044. description: 协议ID
  11045. type: integer
  11046. agreementname:
  11047. description: 协议名称
  11048. type: string
  11049. agreementno:
  11050. description: 协议编号
  11051. type: string
  11052. agreementtype:
  11053. description: 协议类型 - 1:注册 2:登录 3:交易
  11054. type: integer
  11055. agreementversion:
  11056. description: 协议版本号
  11057. type: integer
  11058. createtime:
  11059. description: 创建时间
  11060. type: string
  11061. goodscode:
  11062. description: 商品代码
  11063. type: string
  11064. goodsid:
  11065. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11066. type: integer
  11067. goodsname:
  11068. description: 商品名称
  11069. type: string
  11070. logid:
  11071. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11072. type: integer
  11073. nodetype:
  11074. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11075. type: integer
  11076. signadressurl:
  11077. description: 签约文件地址
  11078. type: string
  11079. signtimestamp:
  11080. description: 签约状态时间戳
  11081. type: string
  11082. userid:
  11083. description: 客户ID
  11084. type: integer
  11085. username:
  11086. description: 客户名称
  11087. type: string
  11088. type: object
  11089. models.QhjCustomerSignStatus:
  11090. properties:
  11091. createtime:
  11092. description: 创建时间
  11093. type: string
  11094. goodscode:
  11095. description: 商品代码
  11096. type: string
  11097. goodsid:
  11098. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11099. type: integer
  11100. goodsname:
  11101. description: 商品名称
  11102. type: string
  11103. nodetype:
  11104. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11105. type: integer
  11106. signtimestamp:
  11107. description: 签约状态时间戳
  11108. type: string
  11109. tradedate:
  11110. description: 创建交易日(yyyyMMdd)
  11111. type: string
  11112. updatetime:
  11113. description: 更新时间
  11114. type: string
  11115. userid:
  11116. description: 客户ID
  11117. type: integer
  11118. username:
  11119. description: 客户名称
  11120. type: string
  11121. type: object
  11122. models.QhjMgrAccountOutInApply:
  11123. properties:
  11124. accountcode:
  11125. description: 资金账号
  11126. type: string
  11127. accountname:
  11128. description: 用户名称(名称)
  11129. type: string
  11130. accountpwd:
  11131. description: 资金密码
  11132. type: string
  11133. accountticket:
  11134. description: 最新账户服务流水号
  11135. type: string
  11136. amount:
  11137. description: 金额
  11138. type: number
  11139. applyremark:
  11140. description: 申请备注
  11141. type: string
  11142. applystatus:
  11143. 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: 复审通过,账户冻结金额检查中;'
  11144. type: integer
  11145. auditid:
  11146. description: 审核人
  11147. type: integer
  11148. audittime:
  11149. description: 审核时间
  11150. type: string
  11151. bank_apply_ticket:
  11152. description: 银行申请流水
  11153. type: string
  11154. bankaccountname:
  11155. description: 银行账户名
  11156. type: string
  11157. bankaccountno:
  11158. description: 银行卡号
  11159. type: string
  11160. bankid:
  11161. description: 银行编号
  11162. type: string
  11163. bankname:
  11164. description: 银行名称
  11165. type: string
  11166. bankticket:
  11167. description: 银行流水
  11168. type: string
  11169. branchbankid:
  11170. description: 银行支行号
  11171. type: string
  11172. branchbankname:
  11173. description: 银行支行名称
  11174. type: string
  11175. capamountout:
  11176. description: 出金(劣后本金) - 外部子账户
  11177. type: number
  11178. certificatephotourl:
  11179. description: 凭证地址
  11180. type: string
  11181. charge:
  11182. description: 手续费
  11183. type: number
  11184. checkerrorflag:
  11185. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11186. type: integer
  11187. currency:
  11188. description: 币种
  11189. type: string
  11190. cusbankid:
  11191. description: 托管银行编号
  11192. type: string
  11193. exchticket:
  11194. description: 银行服务流水号
  11195. type: string
  11196. executetype:
  11197. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  11198. type: integer
  11199. extendinfo:
  11200. description: 扩展信息
  11201. type: string
  11202. extoperateid:
  11203. description: 交易服务流水号
  11204. type: integer
  11205. infamount:
  11206. description: 劣后金额(自有)
  11207. type: number
  11208. logincode:
  11209. description: 登录账号(账号)
  11210. type: string
  11211. netaddr:
  11212. description: 调转网址
  11213. type: string
  11214. priamount:
  11215. description: 优先金额(授信)
  11216. type: number
  11217. reauditid:
  11218. description: 复审人
  11219. type: integer
  11220. reauditremark:
  11221. description: 复审备注
  11222. type: string
  11223. reaudittime:
  11224. description: 复审时间
  11225. type: string
  11226. relatedorderid:
  11227. description: 三方关联ID
  11228. type: string
  11229. remark:
  11230. description: 备注
  11231. type: string
  11232. remark2:
  11233. description: 备注(失败原因)
  11234. type: string
  11235. soucreamount:
  11236. description: 原始出入金金额
  11237. type: number
  11238. soucrecurrencyid:
  11239. description: 原始出入金币种
  11240. type: integer
  11241. tradedate:
  11242. description: 交易日(yyyyMMdd)
  11243. type: string
  11244. updatetime:
  11245. description: 更新时间(申请时间)
  11246. type: string
  11247. userid:
  11248. description: 用户id
  11249. type: integer
  11250. userinfotype:
  11251. description: 账户类型 1-个人 2-企业
  11252. type: integer
  11253. type: object
  11254. models.QhjMgrBrokerApply:
  11255. properties:
  11256. applicantid:
  11257. description: 申请人
  11258. type: integer
  11259. applysrc:
  11260. description: 申请来源 - 1:管理端 2:终端
  11261. type: integer
  11262. applystatus:
  11263. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11264. type: integer
  11265. applytime:
  11266. description: 申请时间
  11267. type: string
  11268. auditorid:
  11269. description: 审核人
  11270. type: integer
  11271. auditremark:
  11272. description: 审核备注
  11273. type: string
  11274. auditsrc:
  11275. description: 审核来源 - 1:管理端 2:终端
  11276. type: integer
  11277. audittime:
  11278. description: 审核时间
  11279. type: string
  11280. audittradedate:
  11281. description: 审核交易日(yyyyMMdd)
  11282. type: string
  11283. brokerapplyid:
  11284. description: 申请ID(SEQ_BROKERAPPLY)
  11285. type: integer
  11286. cardbackphotourl:
  11287. description: 证件背面图片地址
  11288. type: string
  11289. cardfrontphotourl:
  11290. description: 证件正面图片地址
  11291. type: string
  11292. cardnum:
  11293. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11294. type: string
  11295. customername:
  11296. description: 姓名
  11297. type: string
  11298. filterstatus:
  11299. description: 筛选条件
  11300. type: string
  11301. logincode:
  11302. description: 登录代码
  11303. type: string
  11304. mobile:
  11305. description: 手机号码
  11306. type: string
  11307. parentuserid:
  11308. description: 所属机构id
  11309. type: integer
  11310. parentusername:
  11311. description: 所属机构名称
  11312. type: string
  11313. refereeuserid:
  11314. description: 推荐人id(经纪人)
  11315. type: integer
  11316. refernum:
  11317. description: 推荐码
  11318. type: string
  11319. remark:
  11320. description: 备注
  11321. type: string
  11322. subarealevelpath:
  11323. description: 层级路径
  11324. type: string
  11325. tradedate:
  11326. description: 交易日(yyyyMMdd)
  11327. type: string
  11328. userid:
  11329. description: 申请人用户ID
  11330. type: integer
  11331. userinfotype:
  11332. description: 用户类型 1-个人 2-企业
  11333. type: integer
  11334. username:
  11335. description: 用户名称
  11336. type: string
  11337. type: object
  11338. models.QhjMgrBrokerRewardReport:
  11339. properties:
  11340. createtime:
  11341. description: 创建时间(注册时间)
  11342. type: string
  11343. cycletime:
  11344. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11345. type: string
  11346. cycletype:
  11347. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11348. type: integer
  11349. directtotalnum:
  11350. description: 直推总人数【期末】
  11351. type: integer
  11352. indirecttotalnum:
  11353. description: 间推总人数【期末】
  11354. type: integer
  11355. mobile:
  11356. description: 电话号码
  11357. type: string
  11358. refereeuserid:
  11359. description: 推荐人id(经纪人id)
  11360. type: integer
  11361. refereeusername:
  11362. description: 推荐人名称(经纪人) 上级经纪人名称
  11363. type: string
  11364. refernum:
  11365. description: 推荐码
  11366. type: string
  11367. subarealevelpath:
  11368. description: 用户层级路径
  11369. type: string
  11370. todayrewardamount:
  11371. description: 奖励总金额【汇总】
  11372. type: number
  11373. updatetime:
  11374. description: 更新时间
  11375. type: string
  11376. userid:
  11377. description: 经纪人用户ID
  11378. type: integer
  11379. userinfotype:
  11380. description: 用户类型 1-个人 2-企业
  11381. type: integer
  11382. username:
  11383. description: 用户名称
  11384. type: string
  11385. type: object
  11386. models.QhjMgrContract:
  11387. properties:
  11388. contractconfirmtime:
  11389. description: 合同确认时间(时间)
  11390. type: string
  11391. currisklevel:
  11392. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11393. type: integer
  11394. decimalplace:
  11395. description: 商品报价小数位
  11396. type: integer
  11397. enumdicname:
  11398. description: 单位名称
  11399. type: string
  11400. goodscode:
  11401. description: 商品代码
  11402. type: string
  11403. goodsid:
  11404. description: 商品ID [5:融资单]
  11405. type: integer
  11406. goodsname:
  11407. description: 商品名称
  11408. type: string
  11409. goodunitid:
  11410. description: 商品单位id
  11411. type: integer
  11412. initmargin:
  11413. description: 初始保证金(首付款)
  11414. type: number
  11415. lenderamount:
  11416. description: 贷款金额(总额|订单总额)
  11417. type: number
  11418. logincode:
  11419. description: 账号(登录代码)
  11420. type: string
  11421. marginratio:
  11422. description: 保证金比率(首付比例)
  11423. type: number
  11424. mobile:
  11425. description: 电话号码(用户资料里的电话)
  11426. type: string
  11427. payamount:
  11428. description: 已付(已付货款)
  11429. type: number
  11430. reckonrecovermargin:
  11431. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11432. type: number
  11433. recoveredmargin:
  11434. description: 已追缴保证金
  11435. type: number
  11436. remainamount:
  11437. description: 合同剩余金额(融资额)
  11438. type: number
  11439. scfcontractid:
  11440. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11441. type: string
  11442. scfcontractstatus:
  11443. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  11444. type: integer
  11445. scfcontracttype:
  11446. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11447. type: integer
  11448. totalinterest:
  11449. description: 已计总利息(利息)
  11450. type: number
  11451. tradedate:
  11452. description: 交易日
  11453. type: string
  11454. tradeprice:
  11455. description: 成交价格(成本价格)
  11456. type: number
  11457. userid:
  11458. description: 用户ID
  11459. type: integer
  11460. userinfotype:
  11461. description: 用户类型 1-个人 2-企业
  11462. type: integer
  11463. username:
  11464. description: 用户名称
  11465. type: string
  11466. wrqty:
  11467. description: 仓单数量(数量)
  11468. type: number
  11469. type: object
  11470. models.QhjMgrCustomer:
  11471. properties:
  11472. address:
  11473. description: 通讯地址
  11474. type: string
  11475. attachment1:
  11476. description: 附件1
  11477. type: string
  11478. audittime:
  11479. description: 审核时间
  11480. type: string
  11481. birthday:
  11482. description: 生日
  11483. type: string
  11484. brokerid:
  11485. description: 所属客户经理id
  11486. type: integer
  11487. brokername:
  11488. description: 所属客户经理名称
  11489. type: string
  11490. cardbackphotourl:
  11491. description: 证件反面图片地址
  11492. type: string
  11493. cardfrontphotourl:
  11494. description: 证件正面图片地址
  11495. type: string
  11496. cardnum:
  11497. description: 证件号码
  11498. type: string
  11499. cardtype:
  11500. description: 证件类型
  11501. type: integer
  11502. cardtypename:
  11503. description: 证件类型名称
  11504. type: string
  11505. cityid:
  11506. description: 市
  11507. type: integer
  11508. cityname:
  11509. description: 城市名称
  11510. type: string
  11511. contactname:
  11512. description: 联系人
  11513. type: string
  11514. countryid:
  11515. description: 国家
  11516. type: integer
  11517. countryname:
  11518. description: 国家名称
  11519. type: string
  11520. createtime:
  11521. description: 创建时间
  11522. type: string
  11523. customername:
  11524. description: 客户名称
  11525. type: string
  11526. districtid:
  11527. description: 区域
  11528. type: integer
  11529. districtname:
  11530. description: 地区名称
  11531. type: string
  11532. email:
  11533. description: 邮件
  11534. type: string
  11535. legalpersonname:
  11536. description: 法人姓名(企业)
  11537. type: string
  11538. logincode:
  11539. description: 登录账号(代码)
  11540. type: string
  11541. memberuserid:
  11542. description: 所属机构ID(所属会员)
  11543. type: integer
  11544. memberusername:
  11545. description: 所属会员名称
  11546. type: string
  11547. mobile:
  11548. description: 手机号码
  11549. type: string
  11550. modifytime:
  11551. description: 修改时间
  11552. type: string
  11553. nickname:
  11554. description: 昵称
  11555. type: string
  11556. parentuserid:
  11557. description: 上级机构(所属机构)
  11558. type: integer
  11559. parentusername:
  11560. description: 所属机构名称
  11561. type: string
  11562. provinceid:
  11563. description: 省
  11564. type: integer
  11565. provincename:
  11566. description: 省名称
  11567. type: string
  11568. proxystatementurl:
  11569. description: 授权委托书
  11570. type: string
  11571. querytype:
  11572. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11573. type: integer
  11574. remark:
  11575. description: 备注
  11576. type: string
  11577. sex:
  11578. description: 性别 0-女 1-男
  11579. type: integer
  11580. status:
  11581. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11582. type: integer
  11583. statusdesc:
  11584. description: 账户状态中文描述
  11585. type: string
  11586. taxpayernum:
  11587. description: 纳税人识别号
  11588. type: string
  11589. telphone:
  11590. description: 联系电话
  11591. type: string
  11592. userid:
  11593. description: 用户ID
  11594. type: integer
  11595. userinfotype:
  11596. description: 客户类型 1-个人 2-企业
  11597. type: integer
  11598. username:
  11599. description: 用户名称
  11600. type: string
  11601. type: object
  11602. models.QhjMgrPickGoods:
  11603. properties:
  11604. enumdicname:
  11605. description: 单位名称(提货商品)
  11606. type: string
  11607. goodsid:
  11608. description: 商品id
  11609. type: integer
  11610. imageaddress:
  11611. description: 图片
  11612. type: string
  11613. modifierid:
  11614. description: 修改人
  11615. type: integer
  11616. modifiername:
  11617. description: 修改人名称
  11618. type: string
  11619. modifysrc:
  11620. description: 修改来源 - 1:管理端 2:终端
  11621. type: integer
  11622. pickupgoodsagreeunit:
  11623. description: 合约乘数
  11624. type: number
  11625. pickupgoodsdesc:
  11626. description: 描述
  11627. type: string
  11628. pickupgoodsid:
  11629. description: 提货商品ID
  11630. type: string
  11631. pickupgoodsname:
  11632. description: 提货商品名称
  11633. type: string
  11634. pickupgoodsstatus:
  11635. description: 状态 - 1:正常 2:停用 3:注销
  11636. type: integer
  11637. pickupgoodsunitid:
  11638. description: 单位ID
  11639. type: integer
  11640. pickupratio:
  11641. description: 提货系数
  11642. type: number
  11643. preparedays:
  11644. description: 备货期(天)
  11645. type: integer
  11646. remark:
  11647. description: 备注
  11648. type: string
  11649. updatetime:
  11650. description: 更新时间
  11651. type: string
  11652. type: object
  11653. models.QhjMgrPositionRsp:
  11654. properties:
  11655. accountid:
  11656. description: 账号Id
  11657. type: integer
  11658. accountname:
  11659. description: 用户名称
  11660. type: string
  11661. agreeunit:
  11662. description: 合约乘数
  11663. type: number
  11664. averageprice:
  11665. description: 均价
  11666. type: number
  11667. avialqty:
  11668. description: 可用数量
  11669. type: number
  11670. decimalplace:
  11671. description: 报价小数位
  11672. type: integer
  11673. enumdicname:
  11674. description: 单位名称(商品)
  11675. type: string
  11676. frozenqty:
  11677. description: 冻结数量
  11678. type: number
  11679. goodscode:
  11680. description: 商品代码(内部)
  11681. type: string
  11682. goodsid:
  11683. description: 商品Id
  11684. type: integer
  11685. goodsname:
  11686. description: 商品名称
  11687. type: string
  11688. goodunitid:
  11689. description: 报价单位ID
  11690. type: integer
  11691. holderamount:
  11692. description: 金额
  11693. type: number
  11694. holderqty:
  11695. description: 持有数量
  11696. type: number
  11697. holdertype:
  11698. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11699. type: integer
  11700. logincode:
  11701. description: 登录代码(账户)
  11702. type: string
  11703. marketid:
  11704. description: 市场id
  11705. type: integer
  11706. qtydecimalplace:
  11707. description: 成交量小数位
  11708. type: integer
  11709. trademode:
  11710. description: 交易模式
  11711. type: integer
  11712. userid:
  11713. description: 用户id
  11714. type: integer
  11715. userinfotype:
  11716. description: 账户类型 1-个人 2-企业
  11717. type: integer
  11718. type: object
  11719. models.QhjMgrSubArea:
  11720. properties:
  11721. accountname:
  11722. description: 账户名称(机构名称)
  11723. type: string
  11724. memberuserid:
  11725. description: 所属会员ID
  11726. type: integer
  11727. parenttopuser:
  11728. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11729. type: string
  11730. parentuserid:
  11731. description: 所属机构ID
  11732. type: integer
  11733. rootuserid:
  11734. description: 根用户ID
  11735. type: string
  11736. subaccountlevel:
  11737. description: 子账户层数
  11738. type: integer
  11739. subarealevelpath:
  11740. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11741. type: string
  11742. userid:
  11743. description: 用户ID
  11744. type: integer
  11745. usertype:
  11746. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11747. type: integer
  11748. type: object
  11749. models.QhjMgrTradeDetailRsp:
  11750. properties:
  11751. accountid:
  11752. description: 资金账号
  11753. type: integer
  11754. accountname:
  11755. description: 用户名称
  11756. type: string
  11757. agreeunit:
  11758. description: 合约乘数
  11759. type: number
  11760. buyorsell:
  11761. description: 成交类型(方向) 0:买 1:卖
  11762. type: integer
  11763. decimalplace:
  11764. description: 报价小数位
  11765. type: integer
  11766. enumdicname:
  11767. description: 单位名称(商品)
  11768. type: string
  11769. goodscode:
  11770. description: 商品代码(内部)
  11771. type: string
  11772. goodsid:
  11773. description: 商品id
  11774. type: integer
  11775. goodsname:
  11776. description: 商品名称
  11777. type: string
  11778. goodunitid:
  11779. description: 报价单位ID
  11780. type: integer
  11781. logincode:
  11782. description: 登录代码(账户)
  11783. type: string
  11784. marketid:
  11785. description: 市场id
  11786. type: integer
  11787. orderid:
  11788. description: 关联委托单号
  11789. type: string
  11790. qtydecimalplace:
  11791. description: 成交量小数位
  11792. type: integer
  11793. tradeamount:
  11794. description: 金额
  11795. type: number
  11796. tradedate:
  11797. description: 交易日
  11798. type: string
  11799. tradeid:
  11800. description: 成交单号
  11801. type: string
  11802. trademode:
  11803. description: 交易模式
  11804. type: integer
  11805. tradeprice:
  11806. description: 价格
  11807. type: number
  11808. tradeqty:
  11809. description: 数量
  11810. type: number
  11811. tradetime:
  11812. description: 成交时间
  11813. type: string
  11814. userid:
  11815. description: 用户id
  11816. type: integer
  11817. userinfotype:
  11818. description: 账户类型 1-个人 2-企业
  11819. type: integer
  11820. type: object
  11821. models.QhjMgrTradeOrderDetailRsp:
  11822. properties:
  11823. accountid:
  11824. description: 资金账号
  11825. type: integer
  11826. accountname:
  11827. description: 用户名称
  11828. type: string
  11829. agreeunit:
  11830. description: 合约乘数
  11831. type: number
  11832. amount:
  11833. description: 金额
  11834. type: number
  11835. decimalplace:
  11836. description: 报价小数位
  11837. type: integer
  11838. enumdicname:
  11839. description: 单位名称(商品)
  11840. type: string
  11841. goodscode:
  11842. description: 商品代码(内部)
  11843. type: string
  11844. goodsid:
  11845. description: 商品id
  11846. type: integer
  11847. goodsname:
  11848. description: 商品名称
  11849. type: string
  11850. goodunitid:
  11851. description: 报价单位ID
  11852. type: integer
  11853. logincode:
  11854. description: 登录代码(账户)
  11855. type: string
  11856. marketid:
  11857. description: 市场id
  11858. type: integer
  11859. orderid:
  11860. description: 关联委托单号
  11861. type: string
  11862. orderprice:
  11863. description: 价格
  11864. type: number
  11865. orderqty:
  11866. description: 数量
  11867. type: number
  11868. orderstatus:
  11869. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  11870. type: integer
  11871. ordertime:
  11872. description: 委托时间
  11873. type: string
  11874. qtydecimalplace:
  11875. description: 成交量小数位
  11876. type: integer
  11877. tradedate:
  11878. description: 交易日
  11879. type: string
  11880. trademode:
  11881. description: 交易模式
  11882. type: integer
  11883. userid:
  11884. description: 用户id
  11885. type: integer
  11886. userinfotype:
  11887. description: 账户类型 1-个人 2-企业
  11888. type: integer
  11889. type: object
  11890. models.QhjMgrTradePayOrder:
  11891. properties:
  11892. accountname:
  11893. description: 用户名称
  11894. type: string
  11895. advanceratio:
  11896. description: 首付比率
  11897. type: number
  11898. agreeunit:
  11899. description: 合约乘数
  11900. type: number
  11901. buyaccountid:
  11902. description: 买方账号ID[报价币种]
  11903. type: integer
  11904. buyorderid:
  11905. description: 买方委托单号(关联单号)
  11906. type: string
  11907. createtime:
  11908. description: 创建时间
  11909. type: string
  11910. decimalplace:
  11911. description: 报价小数位
  11912. type: integer
  11913. enumdicname:
  11914. description: 单位名称(商品)
  11915. type: string
  11916. goodscode:
  11917. description: 商品代码(内部)
  11918. type: string
  11919. goodsid:
  11920. description: 商品ID
  11921. type: integer
  11922. goodsname:
  11923. description: 商品名称
  11924. type: string
  11925. goodunitid:
  11926. description: 报价单位ID
  11927. type: integer
  11928. logincode:
  11929. description: 登录代码(账户)
  11930. type: string
  11931. marketid:
  11932. description: 市场id
  11933. type: integer
  11934. offamount:
  11935. description: 优惠金额
  11936. type: number
  11937. operatetype:
  11938. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11939. type: integer
  11940. payamount:
  11941. description: 支付金额(金额)
  11942. type: number
  11943. payflag:
  11944. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11945. type: integer
  11946. paylimitedtime:
  11947. description: 支付期限
  11948. type: string
  11949. paytime:
  11950. description: 付款时间
  11951. type: string
  11952. qtydecimalplace:
  11953. description: 成交量小数位
  11954. type: integer
  11955. sellaccountid:
  11956. description: 卖方账号ID[报价币种]
  11957. type: integer
  11958. sellorderid:
  11959. description: 卖方委托单号
  11960. type: string
  11961. tradeamount:
  11962. description: 成交金额(优惠后金额)
  11963. type: number
  11964. tradecharge:
  11965. description: 成交手续费(买方)
  11966. type: number
  11967. tradedate:
  11968. description: 交易日(yyyyMMdd)
  11969. type: string
  11970. tradeid:
  11971. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11972. type: string
  11973. trademode:
  11974. description: 交易模式
  11975. type: integer
  11976. tradeprice:
  11977. description: 成交价格(价格)
  11978. type: number
  11979. tradeqty:
  11980. description: 成交数量(数量)
  11981. type: number
  11982. tradetime:
  11983. description: 成交时间
  11984. type: string
  11985. userid:
  11986. description: 用户id
  11987. type: integer
  11988. userinfotype:
  11989. description: 账户类型 1-个人 2-企业
  11990. type: integer
  11991. type: object
  11992. models.QhjMyTeamEx:
  11993. properties:
  11994. accountname:
  11995. description: 用户名称
  11996. type: string
  11997. accountstatus:
  11998. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11999. type: integer
  12000. createtime:
  12001. description: 创建时间
  12002. type: string
  12003. mobile:
  12004. description: 手机号码
  12005. type: string
  12006. refereeuserid:
  12007. description: 推荐人id
  12008. type: integer
  12009. refernum:
  12010. description: 推荐码
  12011. type: string
  12012. subList:
  12013. items:
  12014. $ref: '#/definitions/models.QhjMyTeamEx'
  12015. type: array
  12016. userid:
  12017. description: 用户id
  12018. type: integer
  12019. userinfotype:
  12020. description: 用户类型 1-个人 2-企业
  12021. type: integer
  12022. type: object
  12023. models.QhjNodeAgreementConfig:
  12024. properties:
  12025. agreementcontent:
  12026. description: 协议内容
  12027. type: string
  12028. agreementid:
  12029. description: 协议ID
  12030. type: integer
  12031. agreementname:
  12032. description: 协议名称
  12033. type: string
  12034. agreementno:
  12035. description: 协议编号
  12036. type: string
  12037. agreementtype:
  12038. description: 协议类型 - 1:注册 2:登录 3:交易
  12039. type: integer
  12040. agreementversion:
  12041. description: 协议版本号
  12042. type: integer
  12043. configid:
  12044. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12045. type: integer
  12046. createtime:
  12047. description: 创建时间
  12048. type: string
  12049. goodsid:
  12050. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12051. type: integer
  12052. nodetype:
  12053. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12054. type: integer
  12055. type: object
  12056. models.QhjParentAreaList:
  12057. properties:
  12058. accountname:
  12059. description: 账户名称(机构名称)
  12060. type: string
  12061. userid:
  12062. description: 用户ID
  12063. type: integer
  12064. usertype:
  12065. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12066. type: integer
  12067. type: object
  12068. models.QhjPayOrder:
  12069. properties:
  12070. advanceratio:
  12071. description: 首付比率
  12072. type: number
  12073. buyaccountid:
  12074. description: 买方账号ID[报价币种]
  12075. type: integer
  12076. buyorderid:
  12077. description: 买方委托单号
  12078. type: string
  12079. createtime:
  12080. description: 创建时间
  12081. type: string
  12082. decimalplace:
  12083. description: 商品报价小数位
  12084. type: integer
  12085. enumdicname:
  12086. description: 单位名称
  12087. type: string
  12088. goodscode:
  12089. description: 商品代码
  12090. type: string
  12091. goodsid:
  12092. description: 商品ID
  12093. type: integer
  12094. goodsname:
  12095. description: 商品名称
  12096. type: string
  12097. goodunitid:
  12098. description: 商品单位id
  12099. type: integer
  12100. marketid:
  12101. description: 市场ID
  12102. type: integer
  12103. offamount:
  12104. description: 优惠金额
  12105. type: number
  12106. operatetype:
  12107. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12108. type: integer
  12109. payamount:
  12110. description: 支付金额
  12111. type: number
  12112. payflag:
  12113. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12114. type: integer
  12115. paylimitedtime:
  12116. description: 支付期限
  12117. type: string
  12118. paytime:
  12119. description: 付款时间
  12120. type: string
  12121. qtydecimalplace:
  12122. description: 成交量小数位
  12123. type: integer
  12124. sellaccountid:
  12125. description: 卖方账号ID[报价币种]
  12126. type: integer
  12127. sellorderid:
  12128. description: 卖方委托单号
  12129. type: string
  12130. tradeamount:
  12131. description: 成交金额(优惠后金额)
  12132. type: number
  12133. tradecharge:
  12134. description: 成交手续费(买方)
  12135. type: number
  12136. tradedate:
  12137. description: 交易日(yyyyMMdd)
  12138. type: string
  12139. tradeid:
  12140. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12141. type: string
  12142. tradeprice:
  12143. description: 成交价格
  12144. type: number
  12145. tradeqty:
  12146. description: 成交数量
  12147. type: number
  12148. type: object
  12149. models.QhjPickArea:
  12150. properties:
  12151. address:
  12152. description: 详细地址
  12153. type: string
  12154. cityid:
  12155. description: 市
  12156. type: integer
  12157. cityname:
  12158. description: 城市名称
  12159. type: string
  12160. countryid:
  12161. description: 国家
  12162. type: integer
  12163. countryname:
  12164. description: 国家名称
  12165. type: string
  12166. districtid:
  12167. description: 地区
  12168. type: integer
  12169. districtname:
  12170. description: 地区名称
  12171. type: string
  12172. fromuserid:
  12173. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12174. type: integer
  12175. fromusername:
  12176. description: 所属机构名称
  12177. type: string
  12178. provinceid:
  12179. description: 省
  12180. type: integer
  12181. provincename:
  12182. description: 省名称
  12183. type: string
  12184. suborgtype:
  12185. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12186. type: integer
  12187. userid:
  12188. description: 机构用户ID 其他做市关系,都设置为 1
  12189. type: integer
  12190. username:
  12191. description: 机构用户名称(门店门称)
  12192. type: string
  12193. type: object
  12194. models.QhjPickGoods:
  12195. properties:
  12196. enumdicname:
  12197. description: 单位名称(提货商品)
  12198. type: string
  12199. goodsid:
  12200. description: 商品id
  12201. type: integer
  12202. imageaddress:
  12203. description: 图片
  12204. type: string
  12205. modifierid:
  12206. description: 修改人
  12207. type: integer
  12208. modifiername:
  12209. description: 修改人名称
  12210. type: string
  12211. modifysrc:
  12212. description: 修改来源 - 1:管理端 2:终端
  12213. type: integer
  12214. pickupgoodsagreeunit:
  12215. description: 合约乘数
  12216. type: number
  12217. pickupgoodsdesc:
  12218. description: 描述
  12219. type: string
  12220. pickupgoodsid:
  12221. description: 提货商品ID
  12222. type: string
  12223. pickupgoodsname:
  12224. description: 提货商品名称
  12225. type: string
  12226. pickupgoodsstatus:
  12227. description: 状态 - 1:正常 2:停用 3:注销
  12228. type: integer
  12229. pickupgoodsunitid:
  12230. description: 单位ID
  12231. type: integer
  12232. pickupratio:
  12233. description: 提货系数
  12234. type: number
  12235. preparedays:
  12236. description: 备货期(天)
  12237. type: integer
  12238. remark:
  12239. description: 备注
  12240. type: string
  12241. updatetime:
  12242. description: 更新时间
  12243. type: string
  12244. type: object
  12245. models.QhjRSTriggerLog:
  12246. properties:
  12247. accountid:
  12248. description: 用户资金账户
  12249. type: integer
  12250. accountname:
  12251. description: 账号名称(ACCOUNTID对应的名称)
  12252. type: string
  12253. currencyid:
  12254. description: 币种id
  12255. type: integer
  12256. currencyname:
  12257. description: 币种名称
  12258. type: string
  12259. decimalplace:
  12260. description: 商品报价小数位
  12261. type: integer
  12262. enumdicname:
  12263. description: 单位名称
  12264. type: string
  12265. goodscode:
  12266. description: 定投商品代码
  12267. type: string
  12268. goodsid:
  12269. description: 定投商品ID
  12270. type: integer
  12271. goodsname:
  12272. description: 定投商品名称
  12273. type: string
  12274. goodunitid:
  12275. description: 定投商品单位id
  12276. type: integer
  12277. logid:
  12278. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12279. type: string
  12280. logincode:
  12281. description: 账号(登录代码)
  12282. type: string
  12283. qtydecimalplace:
  12284. description: 成交量小数位
  12285. type: integer
  12286. regularlycycle:
  12287. description: 定投频率 - 1:每周 2:每月
  12288. type: integer
  12289. regularlycyclevalue:
  12290. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12291. type: string
  12292. regularlymode:
  12293. description: 定投方式 - 1:按数量 2:按金额
  12294. type: integer
  12295. regularlymodevalue:
  12296. description: 定投方式值 - 数量或金额
  12297. type: number
  12298. regularlystrategyid:
  12299. description: 定投策略ID
  12300. type: integer
  12301. retcode:
  12302. description: 错误码
  12303. type: string
  12304. tradeid:
  12305. description: 成交单ID
  12306. type: string
  12307. triggeramount:
  12308. description: 触发金额
  12309. type: number
  12310. triggerqty:
  12311. description: 触发数量
  12312. type: number
  12313. triggerstatus:
  12314. description: 触发状态 - 1:成功 2:失败
  12315. type: integer
  12316. triggertime:
  12317. description: 触发时间
  12318. type: string
  12319. triggertradedate:
  12320. description: 触发交易日
  12321. type: string
  12322. userid:
  12323. description: 所属用户ID
  12324. type: integer
  12325. userinfotype:
  12326. description: 用户类型 1-个人 2-企业
  12327. type: integer
  12328. username:
  12329. description: 用户名称(userid对应的名称)
  12330. type: string
  12331. type: object
  12332. models.QhjRStrategy:
  12333. properties:
  12334. accountid:
  12335. description: 用户资金账户
  12336. type: integer
  12337. accountname:
  12338. description: 账号名称(ACCOUNTID对应的名称)
  12339. type: string
  12340. currencyid:
  12341. description: 币种id
  12342. type: integer
  12343. currencyname:
  12344. description: 币种名称
  12345. type: string
  12346. decimalplace:
  12347. description: 商品报价小数位
  12348. type: integer
  12349. enumdicname:
  12350. description: 单位名称
  12351. type: string
  12352. goodscode:
  12353. description: 定投商品代码
  12354. type: string
  12355. goodsid:
  12356. description: 定投商品ID
  12357. type: integer
  12358. goodsname:
  12359. description: 定投商品名称
  12360. type: string
  12361. goodunitid:
  12362. description: 定投商品单位id
  12363. type: integer
  12364. lasteffecttradedate:
  12365. description: 最新生效交易日
  12366. type: string
  12367. laststoptradedate:
  12368. description: 最新暂停交易日
  12369. type: string
  12370. lasttriggertradedate:
  12371. description: 最新触发交易日
  12372. type: string
  12373. logincode:
  12374. description: 账号(登录代码)
  12375. type: string
  12376. nexttriggeramount:
  12377. description: 下次触发金额
  12378. type: number
  12379. nexttriggerdate:
  12380. description: 下次触发日期
  12381. type: string
  12382. nexttriggerqty:
  12383. description: 下次触发数量 [按小数位放大值]
  12384. type: number
  12385. qtydecimalplace:
  12386. description: 成交量小数位
  12387. type: integer
  12388. regularlycycle:
  12389. description: 定投频率 - 1:每周 2:每月
  12390. type: integer
  12391. regularlycyclevalue:
  12392. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12393. type: string
  12394. regularlymode:
  12395. description: 定投方式 - 1:按数量 2:按金额
  12396. type: integer
  12397. regularlymodevalue:
  12398. description: 定投方式值 - 数量或金额
  12399. type: number
  12400. regularlystrategyid:
  12401. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12402. type: integer
  12403. regularlystrategystatus:
  12404. description: 策略状态 - 1:正常 2:暂停 3:终止
  12405. type: integer
  12406. remark:
  12407. description: 备注
  12408. type: string
  12409. triggersuccesstimes:
  12410. description: 累计定投成功次数
  12411. type: string
  12412. triggertotalamount:
  12413. description: 累计定投金额(成功)
  12414. type: number
  12415. triggertotalqty:
  12416. description: 累计定投数量(成功) [按小数位放大值]
  12417. type: number
  12418. triggertotaltimes:
  12419. description: 累计定投总次数
  12420. type: string
  12421. updatesrc:
  12422. description: 更新来源 - 1:管理端 2:终端
  12423. type: integer
  12424. updatetime:
  12425. description: 更新时间
  12426. type: string
  12427. updatorid:
  12428. description: 更新人
  12429. type: string
  12430. userid:
  12431. description: 所属用户ID
  12432. type: integer
  12433. userinfotype:
  12434. description: 用户类型 1-个人 2-企业
  12435. type: integer
  12436. username:
  12437. description: 用户名称(userid对应的名称)
  12438. type: string
  12439. type: object
  12440. models.QhjReckonPriceLog:
  12441. properties:
  12442. decimalplace:
  12443. description: 商品报价小数位
  12444. type: integer
  12445. goodscode:
  12446. description: 商品代码
  12447. type: string
  12448. goodsid:
  12449. description: 商品ID
  12450. type: integer
  12451. goodsname:
  12452. description: 商品名称
  12453. type: string
  12454. lastreckonprice:
  12455. description: 上日结算价
  12456. type: number
  12457. nextdnlimitprice:
  12458. description: 下个交易日跌停价
  12459. type: number
  12460. nexttrade:
  12461. description: 下个交易日
  12462. type: string
  12463. nextuplimitprice:
  12464. description: 下个交易日涨停价
  12465. type: number
  12466. reckonprice:
  12467. description: 今日结算价(定投价)
  12468. type: number
  12469. reckontime:
  12470. description: 结算时间
  12471. type: string
  12472. totalholderqty:
  12473. description: 总持仓数
  12474. type: integer
  12475. totalstock:
  12476. description: 总库存
  12477. type: integer
  12478. tradedate:
  12479. description: 交易日
  12480. type: string
  12481. updowncount:
  12482. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12483. type: integer
  12484. updownflag:
  12485. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12486. type: integer
  12487. updownrate:
  12488. description: 今日涨跌幅
  12489. type: number
  12490. updownrate_2d:
  12491. description: 连续两日涨跌幅
  12492. type: number
  12493. updownrate_3d:
  12494. description: 连续三日涨跌幅
  12495. type: number
  12496. type: object
  12497. models.QhjScoreLog:
  12498. properties:
  12499. accountid:
  12500. description: 账户ID
  12501. type: integer
  12502. createtime:
  12503. description: 创建时间(时间)
  12504. type: string
  12505. goodsid:
  12506. description: 商品ID
  12507. type: integer
  12508. hasuploaded:
  12509. description: 是否已同步(千海金) 0:未同步 1;已同步
  12510. type: integer
  12511. logid:
  12512. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12513. type: string
  12514. marketid:
  12515. description: 市场ID
  12516. type: integer
  12517. relatedamount:
  12518. description: 关联金额
  12519. type: number
  12520. relatedorderid:
  12521. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12522. type: string
  12523. scoreconfigvalue1:
  12524. description: 积分配置1
  12525. type: integer
  12526. scoreconfigvalue2:
  12527. description: 积分配置1
  12528. type: integer
  12529. scoretype:
  12530. description: 积分类型 - 1:提货积分
  12531. type: integer
  12532. scorevalue:
  12533. description: 积分
  12534. type: number
  12535. tradedate:
  12536. description: 交易日(yyyyMMdd)
  12537. type: string
  12538. uploadedtime:
  12539. description: 同步时间
  12540. type: string
  12541. userid:
  12542. description: 用户ID
  12543. type: integer
  12544. type: object
  12545. models.QhjSiteColumnDetail:
  12546. properties:
  12547. author:
  12548. description: 作者
  12549. type: string
  12550. brief:
  12551. description: 简介
  12552. type: string
  12553. columnid:
  12554. description: 所属栏目
  12555. type: integer
  12556. context:
  12557. description: 内容
  12558. type: string
  12559. coverimage:
  12560. description: 封面图片
  12561. type: string
  12562. creaedate:
  12563. description: 创建时间
  12564. type: string
  12565. creatorid:
  12566. description: 创建人
  12567. type: integer
  12568. hits:
  12569. description: 点击数
  12570. type: integer
  12571. id:
  12572. description: ID(SEQ_SITE_COLUMNDETAIL)
  12573. type: integer
  12574. isshow:
  12575. description: 是否展示 - 0:不展示 1:展示
  12576. type: integer
  12577. istop:
  12578. description: 是否置顶 - 0:不置 1:置顶
  12579. type: integer
  12580. modifierid:
  12581. description: 操作人
  12582. type: integer
  12583. publishdate:
  12584. description: 发布日期
  12585. type: string
  12586. status:
  12587. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12588. type: integer
  12589. title:
  12590. description: 标题
  12591. type: string
  12592. updatedate:
  12593. description: 修改时间
  12594. type: string
  12595. userid:
  12596. description: 用户ID(默认为0, 核心为为机构用户ID)
  12597. type: integer
  12598. username:
  12599. description: 用户名称
  12600. type: string
  12601. type: object
  12602. models.QhjTeamOrder:
  12603. properties:
  12604. accountid:
  12605. description: 账户ID[报价币种]
  12606. type: integer
  12607. accountname:
  12608. description: 账户名称
  12609. type: string
  12610. agreeunit:
  12611. description: 合约乘数
  12612. type: number
  12613. buyorsell:
  12614. description: 方向 - 0:买 1:卖
  12615. type: integer
  12616. decimalplace:
  12617. description: 报价小数位
  12618. type: integer
  12619. enumdicname:
  12620. description: 单位名称
  12621. type: string
  12622. goodscode:
  12623. description: 商品代码(内部)
  12624. type: string
  12625. goodsid:
  12626. description: 商品ID
  12627. type: integer
  12628. goodsname:
  12629. description: 商品名称
  12630. type: string
  12631. goodunitid:
  12632. description: 报价单位ID
  12633. type: integer
  12634. marketid:
  12635. description: 市场ID
  12636. type: integer
  12637. marketname:
  12638. description: 市场名称
  12639. type: string
  12640. qtydecimalplace:
  12641. description: 成交量小数位
  12642. type: integer
  12643. refereeuserid:
  12644. description: 推荐人ID
  12645. type: integer
  12646. tradeamount:
  12647. description: 成交金额[账户币种,用于所有权]
  12648. type: number
  12649. tradedate:
  12650. description: 交易日(yyyyMMdd)
  12651. type: string
  12652. trademode:
  12653. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  12654. type: integer
  12655. tradeprice:
  12656. description: 成交价格
  12657. type: number
  12658. tradeqty:
  12659. description: 成交数量
  12660. type: number
  12661. tradetime:
  12662. description: 成交时间
  12663. type: string
  12664. userid:
  12665. description: 用户ID
  12666. type: integer
  12667. type: object
  12668. models.QhjTradeGoodsPickup:
  12669. properties:
  12670. accountid:
  12671. description: 账户ID
  12672. type: integer
  12673. address:
  12674. description: 提货人详细地址
  12675. type: string
  12676. amount:
  12677. description: 提货金额
  12678. type: number
  12679. artradedate:
  12680. description: 自动收货交易日(yyyyMMdd)
  12681. type: string
  12682. auditer:
  12683. description: 审核人
  12684. type: integer
  12685. auditsrc:
  12686. description: 更新来源 - 1:管理端 2:终端
  12687. type: integer
  12688. audittime:
  12689. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12690. type: string
  12691. audittradedate:
  12692. description: 审核交易日(yyyyMMdd)
  12693. type: string
  12694. cardnum:
  12695. description: 提货人证件号码
  12696. type: string
  12697. cardtypeid:
  12698. description: 提货人证件类型
  12699. type: integer
  12700. checkremark:
  12701. description: 审核备注
  12702. type: string
  12703. cityid:
  12704. description: 市
  12705. type: integer
  12706. cityname:
  12707. description: 城市名称
  12708. type: string
  12709. confirmtime:
  12710. description: 取货时间 或 收货时间
  12711. type: string
  12712. countryid:
  12713. description: 国家
  12714. type: integer
  12715. countryname:
  12716. description: 国家名称
  12717. type: string
  12718. decimalplace:
  12719. description: 商品报价小数位
  12720. type: integer
  12721. districtid:
  12722. description: 地区
  12723. type: integer
  12724. districtname:
  12725. description: 地区名称
  12726. type: string
  12727. enumdicname:
  12728. description: 单位名称(提货商品)
  12729. type: string
  12730. expresscompany:
  12731. description: 物流公司
  12732. type: string
  12733. expressnum:
  12734. description: 物流单号
  12735. type: string
  12736. goodsagreeunit:
  12737. description: 交易商品乘数
  12738. type: number
  12739. goodscode:
  12740. description: 商品代码
  12741. type: string
  12742. goodsid:
  12743. description: 商品ID
  12744. type: integer
  12745. goodsname:
  12746. description: 商品名称
  12747. type: string
  12748. goodsqty:
  12749. description: 交易商品手数(69模式按成交量小数位放大取整)
  12750. type: number
  12751. handlestatus:
  12752. description: 处理状态
  12753. type: integer
  12754. logincode:
  12755. description: 账号(登录代码, 有可能为空)
  12756. type: string
  12757. marketid:
  12758. description: 市场ID
  12759. type: integer
  12760. phonenum:
  12761. description: 提货人联系方式
  12762. type: string
  12763. pickupgoodsagreeunit:
  12764. description: 提货商品合约乘数
  12765. type: number
  12766. pickupgoodsid:
  12767. description: 提货商品ID
  12768. type: string
  12769. pickupgoodsname:
  12770. description: 提货商品名称
  12771. type: string
  12772. pickupgoodsqty:
  12773. description: 提货商品手数(数量)
  12774. type: number
  12775. pickupgoodsunitid:
  12776. description: 单位ID(提货商品)
  12777. type: integer
  12778. pickupratio:
  12779. description: 提货系数
  12780. type: number
  12781. preparedays:
  12782. description: 备货期(天)-提货单明细表
  12783. type: integer
  12784. provinceid:
  12785. description: 省
  12786. type: integer
  12787. provincename:
  12788. description: 省名称
  12789. type: string
  12790. qty:
  12791. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12792. type: number
  12793. qtydecimalplace:
  12794. description: 商品数量小数位
  12795. type: integer
  12796. recivername:
  12797. description: 提货人姓名
  12798. type: string
  12799. reqtime:
  12800. description: 提货申请时间
  12801. type: string
  12802. storeuserid:
  12803. description: 门店用户ID (千海金)
  12804. type: integer
  12805. storeusername:
  12806. description: 门店用户名称
  12807. type: string
  12808. takemode:
  12809. description: 提货方式 - 2:自提 3:配送(邮寄)
  12810. type: integer
  12811. takeorderid:
  12812. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12813. type: string
  12814. takeorderstatus:
  12815. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  12816. type: integer
  12817. takeremark:
  12818. description: 提货备注
  12819. type: string
  12820. tradedate:
  12821. description: 交易日(yyyyMMdd)
  12822. type: string
  12823. updatetime:
  12824. description: 更新时间
  12825. type: string
  12826. userid:
  12827. description: 用户ID
  12828. type: integer
  12829. userinfotype:
  12830. description: 客户类型 1-个人 2-企业
  12831. type: integer
  12832. username:
  12833. description: 用户名称
  12834. type: string
  12835. type: object
  12836. models.QhjUserNodeCfgAndStatus:
  12837. properties:
  12838. agreementcontent:
  12839. description: 协议内容
  12840. type: string
  12841. agreementid:
  12842. description: 协议ID
  12843. type: integer
  12844. agreementname:
  12845. description: 协议名称
  12846. type: string
  12847. agreementno:
  12848. description: 协议编号
  12849. type: string
  12850. agreementtype:
  12851. description: 协议类型 - 1:注册 2:登录 3:交易
  12852. type: integer
  12853. agreementversion:
  12854. description: 协议版本号
  12855. type: integer
  12856. configid:
  12857. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12858. type: integer
  12859. createtime:
  12860. description: 创建时间
  12861. type: string
  12862. goodsid:
  12863. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12864. type: integer
  12865. nodetype:
  12866. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12867. type: integer
  12868. signtimestamp:
  12869. description: 签约状态时间戳(最近一次)
  12870. type: string
  12871. tradedate:
  12872. description: 签约交易日(yyyyMMdd)
  12873. type: string
  12874. userid:
  12875. description: 客户ID
  12876. type: integer
  12877. type: object
  12878. models.Qhjgoodsex:
  12879. properties:
  12880. canfinance:
  12881. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12882. type: integer
  12883. canregularlybuy:
  12884. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12885. type: integer
  12886. defaulttradeuserid:
  12887. description: 默认交易用户ID
  12888. type: integer
  12889. deliverygoodsid:
  12890. description: 现货品种ID
  12891. type: integer
  12892. goodsid:
  12893. description: 商品ID(自增ID SEQ_GOODS)
  12894. type: integer
  12895. minamount:
  12896. description: 最小购买金额
  12897. type: number
  12898. regularlybuyminamount:
  12899. description: 定投最小金额
  12900. type: number
  12901. regularlybuyminqty:
  12902. description: 定投最小数量
  12903. type: number
  12904. spotgoodsbrandid:
  12905. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12906. type: integer
  12907. visibilityforenterprise:
  12908. description: 企业客户是否可见 - 0:不可见 1:可见
  12909. type: integer
  12910. visibilityforpersonal:
  12911. description: 个人客户是否可见 - 0:不可见 1:可见
  12912. type: integer
  12913. wrstandardid:
  12914. description: 现货商品ID
  12915. type: integer
  12916. type: object
  12917. models.QueryErrorInfosRsp:
  12918. properties:
  12919. description:
  12920. description: 异常描述
  12921. type: string
  12922. errorcode:
  12923. description: 异常代码
  12924. type: string
  12925. errorid:
  12926. description: 异常ID
  12927. type: integer
  12928. modulecode:
  12929. description: 所属模块
  12930. type: string
  12931. operatecode:
  12932. description: 所属操作
  12933. type: string
  12934. rownumber:
  12935. description: 行号
  12936. type: string
  12937. required:
  12938. - errorid
  12939. type: object
  12940. models.QueryHedgeOrderDetailRsp:
  12941. properties:
  12942. accountid:
  12943. description: 账户ID
  12944. type: integer
  12945. buyorsell:
  12946. description: 买卖 - 0:买 1:卖
  12947. type: integer
  12948. cancellogincode:
  12949. description: 撤单人
  12950. type: string
  12951. channelbuildtype:
  12952. description: 开平标志 - 0:无 1:建仓 2:平仓
  12953. type: integer
  12954. channelinnerorderstatus:
  12955. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交
  12956. type: integer
  12957. channeloperatetype:
  12958. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12959. type: integer
  12960. closetype:
  12961. description: 平仓方式 - 0:无 1:平今 2:平昨
  12962. type: integer
  12963. curexchangerate:
  12964. description: 当前汇率
  12965. type: number
  12966. decimalplace:
  12967. description: 商品报价小数位
  12968. type: integer
  12969. exchangefullname:
  12970. description: 外部交易所全称
  12971. type: string
  12972. goodscode:
  12973. description: 商品代码(内部)
  12974. type: string
  12975. goodsid:
  12976. description: 商品ID
  12977. type: integer
  12978. goodsname:
  12979. description: 商品名称
  12980. type: string
  12981. marketid:
  12982. description: 市场ID
  12983. type: integer
  12984. openfreezemargin:
  12985. description: 冻结保证金(冻结交易金额)
  12986. type: number
  12987. orderid:
  12988. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12989. type: string
  12990. orderlogincode:
  12991. description: 委托人
  12992. type: string
  12993. orderprice:
  12994. description: 委托价格(账户)
  12995. type: number
  12996. orderqty:
  12997. description: 委托数量
  12998. type: integer
  12999. ordertime:
  13000. description: 委托时间
  13001. type: string
  13002. pricemode:
  13003. description: '取价方式 - 1:市价 2: 限价'
  13004. type: integer
  13005. tradedate:
  13006. description: 交易日(yyyyMMdd)
  13007. type: string
  13008. tradeqty:
  13009. description: 成交数量
  13010. type: integer
  13011. type: object
  13012. models.QueryHedgeTradeDetailRsp:
  13013. properties:
  13014. accountid:
  13015. description: 账号ID
  13016. type: integer
  13017. buyorsell:
  13018. description: 方向 - 0:买 1:卖
  13019. type: integer
  13020. channelbuildtype:
  13021. description: 委托单据类型 0:无 1:建仓 2:平仓
  13022. type: integer
  13023. closecharge:
  13024. description: 平仓手续费(账户)
  13025. type: number
  13026. closecharge2:
  13027. description: 平仓手续费(商品)
  13028. type: number
  13029. closepl:
  13030. description: 平仓盈亏(账户)
  13031. type: number
  13032. closepl2:
  13033. description: 平仓盈亏(商品)
  13034. type: number
  13035. closepl3:
  13036. description: 平仓盈亏(账户)(逐笔)
  13037. type: number
  13038. closepl4:
  13039. description: 平仓盈亏(商品)(逐笔)
  13040. type: number
  13041. closetype:
  13042. description: 平仓方式 - 0:无 1:平今 2:平昨
  13043. type: integer
  13044. curexchangerate:
  13045. description: 当前汇率
  13046. type: number
  13047. decimalplace:
  13048. description: 商品报价小数位
  13049. type: integer
  13050. exchangefullname:
  13051. description: 外部交易所全称
  13052. type: string
  13053. goodscode:
  13054. description: 商品代码(内部)
  13055. type: string
  13056. goodsid:
  13057. description: 商品ID
  13058. type: integer
  13059. goodsname:
  13060. description: 商品名称
  13061. type: string
  13062. marketid:
  13063. description: 市场ID
  13064. type: integer
  13065. opencharge:
  13066. description: 建仓手续费(账户)
  13067. type: number
  13068. opencharge2:
  13069. description: 建仓手续费(商品)
  13070. type: number
  13071. orderid:
  13072. description: 委托单号
  13073. type: string
  13074. orderlogincode:
  13075. description: 委托人
  13076. type: string
  13077. tradeamount:
  13078. description: 成交金额(账户)
  13079. type: number
  13080. tradedate:
  13081. description: 交易日(yyyyMMdd)
  13082. type: string
  13083. tradeid:
  13084. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13085. type: string
  13086. tradeprice:
  13087. description: 成交价格
  13088. type: number
  13089. tradeqty:
  13090. description: 成交数量
  13091. type: integer
  13092. tradetime:
  13093. description: 成交时间
  13094. type: string
  13095. tradetype:
  13096. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13097. type: integer
  13098. type: object
  13099. models.QuotePrimaryMenu:
  13100. properties:
  13101. Index:
  13102. description: 序号
  13103. type: integer
  13104. Key:
  13105. description: 键名
  13106. type: string
  13107. Name:
  13108. description: 菜单名称
  13109. type: string
  13110. SubMenus:
  13111. description: 子菜单
  13112. items:
  13113. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13114. type: array
  13115. SubTitleType:
  13116. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13117. type: integer
  13118. TradeModes:
  13119. description: 包含市场交易类型
  13120. type: string
  13121. type: object
  13122. models.QuoteSecondaryMenu:
  13123. properties:
  13124. ExExchangeCode:
  13125. description: 外部交易所代码
  13126. type: string
  13127. ExExchangeID:
  13128. description: 外部交易所ID
  13129. type: integer
  13130. GoodsGroupIDs:
  13131. description: 商品组ID列表
  13132. items:
  13133. type: integer
  13134. type: array
  13135. Index:
  13136. description: 序号
  13137. type: integer
  13138. MarketID:
  13139. description: 市场ID
  13140. type: integer
  13141. MenuTitle:
  13142. description: 菜单标题(市场名称或外部交易所名称)
  13143. type: string
  13144. TradeMode:
  13145. description: 交易模式
  13146. type: integer
  13147. type: object
  13148. models.RoleMenu:
  13149. properties:
  13150. hasright:
  13151. description: 是否有权限 0-没有权限 1-有权限
  13152. type: integer
  13153. iconame:
  13154. description: 菜单图标
  13155. type: string
  13156. menutype:
  13157. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13158. type: integer
  13159. parentcode:
  13160. description: 上级资源代码
  13161. type: string
  13162. remark:
  13163. description: 菜单备注
  13164. type: string
  13165. resourcecode:
  13166. description: 菜单代码
  13167. type: string
  13168. resourcelevel:
  13169. description: 级别
  13170. type: integer
  13171. resourcename:
  13172. description: 菜单名称
  13173. type: string
  13174. roleid:
  13175. description: 角色id
  13176. type: integer
  13177. sort:
  13178. description: 排序
  13179. type: integer
  13180. subMenu:
  13181. description: 子级菜单(结构同上层一样, swag解析不出来)
  13182. items:
  13183. $ref: '#/definitions/models.RoleMenu'
  13184. type: array
  13185. url:
  13186. description: URL
  13187. type: string
  13188. userid:
  13189. description: 用户id
  13190. type: integer
  13191. type: object
  13192. models.SearchGoods:
  13193. properties:
  13194. goodscode:
  13195. description: 商品代码(内部)
  13196. type: string
  13197. goodsid:
  13198. description: 商品ID(自增ID SEQ_GOODS)
  13199. type: integer
  13200. goodsname:
  13201. description: 商品名称
  13202. type: string
  13203. marketid:
  13204. description: 所属市场ID
  13205. type: integer
  13206. marketname:
  13207. description: 市场名称
  13208. type: string
  13209. trademode:
  13210. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  13211. type: integer
  13212. required:
  13213. - goodscode
  13214. - goodsid
  13215. - goodsname
  13216. - marketid
  13217. - trademode
  13218. type: object
  13219. models.Systemparam:
  13220. properties:
  13221. loginid:
  13222. description: 更新用户账号,登录账号
  13223. type: string
  13224. modifyflag:
  13225. description: 修改标志0 不允许修改 1 允许修改
  13226. type: integer
  13227. paramcode:
  13228. description: 参数代码
  13229. type: string
  13230. paramname:
  13231. description: 参数名
  13232. type: string
  13233. paramtype:
  13234. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13235. type: integer
  13236. paramvalue:
  13237. description: 参数值
  13238. type: string
  13239. paramvalue2:
  13240. description: 参数值(CLOB)
  13241. type: string
  13242. regexpress:
  13243. description: 正则表达式
  13244. type: string
  13245. remark:
  13246. description: 备注
  13247. type: string
  13248. serverip:
  13249. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13250. type: string
  13251. showflag:
  13252. description: 是否显示0 不显示 1 显示
  13253. type: integer
  13254. updatetime:
  13255. description: 更新时间
  13256. type: string
  13257. userid:
  13258. description: 更新用户ID
  13259. type: integer
  13260. required:
  13261. - paramcode
  13262. type: object
  13263. models.Szdz3convertconfig:
  13264. properties:
  13265. canin:
  13266. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13267. type: integer
  13268. canout:
  13269. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13270. type: integer
  13271. converttype:
  13272. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  13273. type: integer
  13274. createtime:
  13275. description: 创建时间
  13276. type: string
  13277. creatorid:
  13278. description: 创建人
  13279. type: integer
  13280. daymaxvalue:
  13281. description: 当日最大转入限制
  13282. type: number
  13283. freezedays:
  13284. description: 冻结天数 [5:花生米转交易]
  13285. type: integer
  13286. innergoodsid:
  13287. description: 内部商品ID[交易]
  13288. type: integer
  13289. inratio:
  13290. description: 目标值
  13291. type: integer
  13292. modifierid:
  13293. description: 修改人
  13294. type: integer
  13295. modifytime:
  13296. description: 修改时间
  13297. type: string
  13298. outergoodscode:
  13299. description: 外部商品代码[JD\PD]
  13300. type: string
  13301. outratio:
  13302. description: 源值
  13303. type: integer
  13304. pddecimalplace:
  13305. description: PD小数位
  13306. type: integer
  13307. timemaxvalue:
  13308. description: 单次最大转入限制
  13309. type: number
  13310. timeminvalue:
  13311. description: 单次最小转入限制
  13312. type: number
  13313. required:
  13314. - converttype
  13315. - innergoodsid
  13316. - outergoodscode
  13317. type: object
  13318. models.Szdz3searchwhitelist:
  13319. properties:
  13320. createtime:
  13321. description: 创建时间
  13322. type: string
  13323. creatorid:
  13324. description: 创建人
  13325. type: integer
  13326. modifierid:
  13327. description: 修改人
  13328. type: integer
  13329. modifytime:
  13330. description: 修改时间
  13331. type: string
  13332. userid:
  13333. description: 用户ID
  13334. type: integer
  13335. required:
  13336. - userid
  13337. type: object
  13338. models.TBGoods:
  13339. properties:
  13340. agreeunit:
  13341. description: 合约乘数
  13342. type: number
  13343. enumdicname:
  13344. description: 单位名称
  13345. type: string
  13346. goodscode:
  13347. description: 商品代码(内部)
  13348. type: string
  13349. goodsid:
  13350. description: 商品ID(自增ID SEQ_GOODS)
  13351. type: integer
  13352. goodsname:
  13353. description: 商品名称
  13354. type: string
  13355. type: object
  13356. models.TBGoodsGroup:
  13357. properties:
  13358. GDLST:
  13359. description: 商品列表
  13360. items:
  13361. $ref: '#/definitions/models.TBGoods'
  13362. type: array
  13363. convertratio:
  13364. description: 折算系数
  13365. type: number
  13366. enumdicname:
  13367. description: 单位名称
  13368. type: string
  13369. exexchangecode:
  13370. description: 交易所代码
  13371. type: string
  13372. exexchangename:
  13373. description: 交易所名称
  13374. type: string
  13375. goodsgroupid:
  13376. description: 商品组ID(自增ID)
  13377. type: integer
  13378. goodsgroupname:
  13379. description: 商品组名称
  13380. type: string
  13381. goodunitid:
  13382. description: 报价单位ID
  13383. type: integer
  13384. type: object
  13385. models.TBMiddleGoods:
  13386. properties:
  13387. GPLST:
  13388. description: 期货品种列表
  13389. items:
  13390. $ref: '#/definitions/models.TBGoodsGroup'
  13391. type: array
  13392. WDLST:
  13393. description: 商品信息列表(现货品类)
  13394. items:
  13395. $ref: '#/definitions/models.TBWrstandard'
  13396. type: array
  13397. areauserid:
  13398. description: 机构用户ID
  13399. type: integer
  13400. enumdicname:
  13401. description: 单位名称
  13402. type: string
  13403. goodsunitid:
  13404. description: 套保品种单位id
  13405. type: integer
  13406. middlegoodscode:
  13407. description: 套保品种代码
  13408. type: string
  13409. middlegoodsid:
  13410. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13411. type: integer
  13412. middlegoodsname:
  13413. description: 套保品种名称
  13414. type: string
  13415. needarbitrageratio:
  13416. description: 套利比率
  13417. type: number
  13418. needhedgeratio:
  13419. description: 套保比率
  13420. type: number
  13421. type: object
  13422. models.TBWrstandard:
  13423. properties:
  13424. convertratio:
  13425. description: 折算系数
  13426. type: number
  13427. deliverygoodsname:
  13428. description: 品种名称
  13429. type: string
  13430. enumdicname:
  13431. description: 单位名称
  13432. type: string
  13433. vatrate:
  13434. description: 增值税率
  13435. type: number
  13436. wrstandardcode:
  13437. description: 现货商品代码
  13438. type: string
  13439. wrstandardid:
  13440. description: 现货商品ID(SEQ_WRSTANDARD)
  13441. type: integer
  13442. wrstandardname:
  13443. description: 现货商品名称
  13444. type: string
  13445. type: object
  13446. models.Taaccount:
  13447. properties:
  13448. accountflag:
  13449. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13450. type: integer
  13451. accountid:
  13452. description: 资金账户ID
  13453. type: integer
  13454. accountname:
  13455. description: 账户名称
  13456. type: string
  13457. balance:
  13458. description: 期初余额
  13459. type: number
  13460. capitalbalance:
  13461. description: 本金余额[外部子账户实际出入金余额]
  13462. type: number
  13463. changeflag:
  13464. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13465. type: integer
  13466. changetime:
  13467. description: 账户状态变更时间
  13468. type: string
  13469. closepl:
  13470. description: 今日平仓盈亏
  13471. type: number
  13472. creditdecrease:
  13473. description: 今日授信减少
  13474. type: number
  13475. creditincrease:
  13476. description: 今日授信增加
  13477. type: number
  13478. curamount:
  13479. description: 总市值(从持仓中统计)
  13480. type: number
  13481. currencyid:
  13482. description: 货币ID
  13483. type: integer
  13484. currentbalance:
  13485. description: 期末余额
  13486. type: number
  13487. freezecharge:
  13488. description: 手续费冻结
  13489. type: number
  13490. freezemargin:
  13491. description: 冻结保证金
  13492. type: number
  13493. fromaccountid:
  13494. description: 所属上级账户
  13495. type: integer
  13496. inamount:
  13497. description: 今日入金金额(包括三方入金)
  13498. type: number
  13499. ismain:
  13500. description: 是否母账号 0:不是母账户 1:是母账户
  13501. type: integer
  13502. ismarketaccount:
  13503. description: 是否机构接单账号 0:不是 1:是
  13504. type: integer
  13505. isreckonaccount:
  13506. description: 是否机构分润账号 0:不是 1:是
  13507. type: integer
  13508. mortgagecredit:
  13509. description: 授信金额
  13510. type: number
  13511. orifreezecharge:
  13512. description: 期初手续费冻结
  13513. type: number
  13514. orifreezemargin:
  13515. description: 期初冻结保证金
  13516. type: number
  13517. orimortgagecredit:
  13518. description: 期初授信金额
  13519. type: number
  13520. oriothercredit:
  13521. description: 期初其它授信金额
  13522. type: number
  13523. oriotherfreezemargin:
  13524. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13525. type: number
  13526. orioutamountfreeze:
  13527. description: 期初出金冻结
  13528. type: number
  13529. oriusedmargin:
  13530. description: 期初占用保证金
  13531. type: number
  13532. othercredit:
  13533. description: 其它授信金额
  13534. type: number
  13535. othercreditdecrease:
  13536. description: 今日其它授信减少
  13537. type: number
  13538. othercreditincrease:
  13539. description: 今日其它授信增加
  13540. type: number
  13541. otherfreezemargin:
  13542. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13543. type: number
  13544. otherincome:
  13545. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13546. type: number
  13547. otherpay:
  13548. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13549. type: number
  13550. outamount:
  13551. description: 今日出金金额(包括三方出金)
  13552. type: number
  13553. outamountfreeze:
  13554. description: 出金冻结
  13555. type: number
  13556. outthreshold:
  13557. description: 出金阈值
  13558. type: number
  13559. parentaccountid:
  13560. description: 所属根账号
  13561. type: integer
  13562. paycharge:
  13563. description: 今日手续费支出
  13564. type: number
  13565. relatedaccountstatus:
  13566. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13567. type: integer
  13568. relateduserid:
  13569. description: 关联用户
  13570. type: integer
  13571. remainamount:
  13572. description: 融资额(从融资合同中统计)
  13573. type: number
  13574. serivcegroup:
  13575. description: 服务分组
  13576. type: integer
  13577. signstatus:
  13578. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13579. type: integer
  13580. sublevelpath:
  13581. description: 账号层级路径(逗号分隔,首尾加逗号)
  13582. type: string
  13583. taaccounttype:
  13584. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13585. type: integer
  13586. thirdinamount:
  13587. description: 今日三方入金
  13588. type: number
  13589. thirdoutamount:
  13590. description: 今日三方出金
  13591. type: number
  13592. tradestatus:
  13593. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13594. type: integer
  13595. tradestatuschangetime:
  13596. description: 激活时间
  13597. type: string
  13598. transferamount:
  13599. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13600. type: number
  13601. usedmargin:
  13602. description: 占用保证金
  13603. type: number
  13604. userid:
  13605. description: 用户ID
  13606. type: integer
  13607. required:
  13608. - accountid
  13609. - userid
  13610. type: object
  13611. models.Tablecolumnconfig:
  13612. properties:
  13613. aligntype:
  13614. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13615. type: integer
  13616. autoid:
  13617. description: AutoID
  13618. type: integer
  13619. columnfield:
  13620. description: 列字段
  13621. type: string
  13622. columntitle:
  13623. description: 列Title
  13624. type: string
  13625. columnwidth:
  13626. description: 列宽
  13627. type: string
  13628. formatterstring:
  13629. description: 格式化字符
  13630. type: string
  13631. formattertype:
  13632. description: 格式化类型
  13633. type: string
  13634. groupname:
  13635. description: 表头分组名称
  13636. type: string
  13637. isshow:
  13638. description: 是否显示 - 0:不显示 1:显示
  13639. type: integer
  13640. needsummary:
  13641. description: 是否需要汇总 - 0:不需要 1:需要
  13642. type: integer
  13643. orderindex:
  13644. description: 顺序
  13645. type: integer
  13646. remark:
  13647. description: 备注
  13648. type: string
  13649. summarytype:
  13650. description: 汇总类型 - 1:加总 2:最后一个
  13651. type: integer
  13652. tablekey:
  13653. description: 列表Key
  13654. type: string
  13655. required:
  13656. - autoid
  13657. type: object
  13658. models.TjmdMarketSection:
  13659. properties:
  13660. marketsectionid:
  13661. description: 市场版块ID(SEQ_MARKETSECTION)
  13662. type: integer
  13663. marketsectionname:
  13664. description: 市场版块名称
  13665. type: string
  13666. mlist:
  13667. description: 市场列表(板块下面有多少个市场)
  13668. items:
  13669. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  13670. type: array
  13671. orderindex:
  13672. description: 排序
  13673. type: integer
  13674. pictureurl:
  13675. description: 图片url, 规格(90*90)
  13676. type: string
  13677. remark:
  13678. description: 备注
  13679. type: string
  13680. type: object
  13681. models.TjmdMarketSectionConfig:
  13682. properties:
  13683. auctionwrtype:
  13684. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  13685. type: integer
  13686. canacceptquote:
  13687. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  13688. type: integer
  13689. cangoodsexercise:
  13690. description: '[期权]是否可现货行权- 0:否 1:是'
  13691. type: integer
  13692. cangoodsexercisetype:
  13693. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  13694. type: integer
  13695. canmanualquotestrike:
  13696. description: 是否可手动报行权价- 0:否 1:是 [期权]
  13697. type: integer
  13698. canmutistage:
  13699. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  13700. type: integer
  13701. canpreexercise:
  13702. description: '[期权]是否可预申报- 0:否 1:是'
  13703. type: integer
  13704. clearinterval:
  13705. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  13706. type: integer
  13707. contracttmp:
  13708. description: 合同模板[荷兰式][竞价式][仓单贸易]
  13709. type: string
  13710. exchareaid:
  13711. description: 所属交易所,可以没有
  13712. type: integer
  13713. financemarketid:
  13714. description: 融资回购市场ID [仓单贸易]
  13715. type: integer
  13716. goodstype:
  13717. description: 商品类型 - 1:交易商品 2:仓单商品
  13718. type: integer
  13719. hasrebate:
  13720. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  13721. type: integer
  13722. hastradecredit:
  13723. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  13724. type: integer
  13725. haswr:
  13726. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  13727. type: integer
  13728. isdeductmargin:
  13729. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  13730. type: integer
  13731. isrecordsource:
  13732. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  13733. type: integer
  13734. isreleasemargin:
  13735. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  13736. type: integer
  13737. isupdatereckonprice:
  13738. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  13739. type: integer
  13740. listingmode:
  13741. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  13742. type: integer
  13743. marginformula:
  13744. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13745. type: integer
  13746. marginformula2:
  13747. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13748. type: integer
  13749. marketid:
  13750. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  13751. type: integer
  13752. marketname:
  13753. description: 市场名称
  13754. type: string
  13755. marketsectionid:
  13756. description: 市场版块ID(SEQ_MARKETSECTION)
  13757. type: integer
  13758. marketserviceid:
  13759. description: 市场服务ID
  13760. type: integer
  13761. marketstatus:
  13762. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  13763. type: integer
  13764. markettype:
  13765. description: 市场类型- 1:非交易服务 2:交易服务
  13766. type: integer
  13767. matchermode:
  13768. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  13769. type: integer
  13770. nowrquotaflag:
  13771. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  13772. type: integer
  13773. openmethod:
  13774. description: 开盘模式 - 0 自动 1手动
  13775. type: integer
  13776. orderindex:
  13777. description: 排序
  13778. type: integer
  13779. otcuserid:
  13780. description: 场外期权做市商[场外期权]
  13781. type: integer
  13782. outersynctime:
  13783. description: 外部同步时间点(h24:mi:ss)[场外期权]
  13784. type: string
  13785. paylaterflag:
  13786. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  13787. type: integer
  13788. pendingflag:
  13789. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  13790. type: integer
  13791. pendingtime:
  13792. description: 待开市时间[通道交易-对冲](HH:mm)
  13793. type: string
  13794. performancetempid:
  13795. description: 履约计划模板ID - 作废
  13796. type: integer
  13797. premiumquotemode:
  13798. description: 权利金报价方式 - 1:自动 2:手动
  13799. type: integer
  13800. rebateratio:
  13801. description: 返利比率[竞价式]
  13802. type: number
  13803. reckonorder:
  13804. description: 结算顺序
  13805. type: integer
  13806. reckonpricealgorithm:
  13807. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价'
  13808. type: integer
  13809. reckonpriceparam:
  13810. description: 结算价参数
  13811. type: integer
  13812. reckontime:
  13813. description: 结算时间[通道交易-对冲](HH:mm)
  13814. type: string
  13815. roleprioritytype:
  13816. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  13817. type: integer
  13818. selllistingauditflag:
  13819. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  13820. type: integer
  13821. trademarkettype:
  13822. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  13823. type: integer
  13824. trademode:
  13825. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  13826. type: integer
  13827. tradeproperty:
  13828. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权
  13829. type: integer
  13830. tradetype:
  13831. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  13832. type: integer
  13833. updatereckonpriceinterval:
  13834. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  13835. type: integer
  13836. type: object
  13837. models.TjmdQuoteGoods:
  13838. properties:
  13839. buyqty:
  13840. description: 买量(暂不做, 无值, 保留字段)
  13841. type: number
  13842. goodscode:
  13843. description: 合约代码
  13844. type: string
  13845. goodsgroupid:
  13846. description: 商品组ID(自增ID)
  13847. type: integer
  13848. goodsgroupname:
  13849. description: 商品组名称
  13850. type: string
  13851. goodsid:
  13852. description: 合约id
  13853. type: integer
  13854. goodsname:
  13855. description: 合约名称
  13856. type: string
  13857. refgoodscode:
  13858. description: 标的合约代码
  13859. type: string
  13860. refgoodsid:
  13861. description: 标的合约id
  13862. type: integer
  13863. refgoodsname:
  13864. description: 标的合约名称
  13865. type: string
  13866. sellqty:
  13867. description: 卖量(暂不做, 无值, 保留字段)
  13868. type: number
  13869. type: object
  13870. models.TjmdTodayAccountMargin:
  13871. properties:
  13872. accountid:
  13873. description: 账号ID
  13874. type: integer
  13875. goodsid:
  13876. description: 商品ID
  13877. type: integer
  13878. infoc:
  13879. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13880. description: 配置参数
  13881. marketid:
  13882. description: 市场ID
  13883. type: integer
  13884. type: object
  13885. models.TjmdTradeOrderDetail:
  13886. properties:
  13887. buyorsell:
  13888. description: 买卖方向 0-买 1-卖
  13889. type: integer
  13890. goodsid:
  13891. description: 商品id
  13892. type: integer
  13893. marketmaxsub:
  13894. description: 市价最大偏移范围 [浮动价 - 点差]
  13895. type: number
  13896. orderid:
  13897. description: 委托单号
  13898. type: string
  13899. orderprice:
  13900. description: 委托价格
  13901. type: number
  13902. orderqty:
  13903. description: 委托数量
  13904. type: integer
  13905. pricemode:
  13906. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13907. type: integer
  13908. userid:
  13909. description: 用户id
  13910. type: integer
  13911. username:
  13912. description: 用户名称(已脱敏)
  13913. type: string
  13914. type: object
  13915. models.TjmdTransferApply:
  13916. properties:
  13917. applyid:
  13918. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13919. type: integer
  13920. applystatus:
  13921. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  13922. type: integer
  13923. applytime:
  13924. description: 申请时间(时间)
  13925. type: string
  13926. auditremark:
  13927. description: 审核备注(拒绝原因?)
  13928. type: string
  13929. begindate:
  13930. description: 开始交易日(yyyymmdd)
  13931. type: string
  13932. buyorsell:
  13933. description: 买卖 - 0:买 1:卖
  13934. type: integer
  13935. enddate:
  13936. description: 结束交易日(yyyymmdd)
  13937. type: string
  13938. goodscode:
  13939. description: 商品代码
  13940. type: string
  13941. goodsid:
  13942. description: 商品ID
  13943. type: integer
  13944. goodsname:
  13945. description: 商品名称
  13946. type: string
  13947. marketid:
  13948. description: 市场ID
  13949. type: integer
  13950. qty:
  13951. description: 转让数量(数量)
  13952. type: number
  13953. tradeid:
  13954. description: 成交单号(关联持仓)
  13955. type: string
  13956. transferamount:
  13957. description: 转让总金额(金额)
  13958. type: number
  13959. transferprice:
  13960. description: 转让价格(协议价格)
  13961. type: number
  13962. type: object
  13963. models.TradeHolderDetail:
  13964. properties:
  13965. accountid:
  13966. description: 账号ID
  13967. type: integer
  13968. agreeunit:
  13969. description: 合约乘数
  13970. type: number
  13971. buyorsell:
  13972. description: 方向 - 0:买 1:卖
  13973. type: integer
  13974. currencyid:
  13975. description: 商品币种id
  13976. type: integer
  13977. currencyname:
  13978. description: 币种名称
  13979. type: string
  13980. decimalplace:
  13981. description: 商品价格小数位
  13982. type: integer
  13983. enumdicname:
  13984. description: 商品单位名称
  13985. type: string
  13986. expirecycle:
  13987. description: 行权周期(天) - 1:滚动行权时填写
  13988. type: integer
  13989. expiredate:
  13990. description: 行权日(yyyyMMdd) - 到期日
  13991. type: string
  13992. expiretype:
  13993. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13994. type: integer
  13995. freezeqty:
  13996. description: 冻结数量
  13997. type: number
  13998. goodscode:
  13999. description: 商品代码
  14000. type: string
  14001. goodsid:
  14002. description: 商品ID
  14003. type: integer
  14004. goodsname:
  14005. description: 商品名称
  14006. type: string
  14007. goodunitid:
  14008. description: 商品单位id
  14009. type: integer
  14010. holderamount:
  14011. description: 持仓金额
  14012. type: number
  14013. holdercredit:
  14014. description: 持仓授信金额
  14015. type: number
  14016. holderdays:
  14017. description: 剩余冻结天数
  14018. type: integer
  14019. holderprice:
  14020. description: 持仓价格
  14021. type: number
  14022. holderqty:
  14023. description: 持仓数量
  14024. type: number
  14025. isconfirmexercise:
  14026. description: 是否确认行权- 0:否 1:是
  14027. type: integer
  14028. ispreexercise:
  14029. description: 是否预申报- 0:否 1:是 2:不可行权
  14030. type: integer
  14031. marketid:
  14032. description: 市场id
  14033. type: integer
  14034. marketname:
  14035. description: 市场名称
  14036. type: string
  14037. openprice:
  14038. description: 建仓价格
  14039. type: number
  14040. openqty:
  14041. description: 建仓数量
  14042. type: number
  14043. optiontype:
  14044. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14045. type: integer
  14046. preexerciseprice:
  14047. description: 预申报价格
  14048. type: number
  14049. premium:
  14050. description: 权利金
  14051. type: number
  14052. qtydecimalplace:
  14053. description: 商品成交量小数位
  14054. type: integer
  14055. refgoodscode:
  14056. description: 标的合约代码
  14057. type: string
  14058. refgoodsid:
  14059. description: 标的合约id
  14060. type: integer
  14061. releaseamount:
  14062. description: 释放持仓金额
  14063. type: number
  14064. releaseholdercredit:
  14065. description: 释放持仓授信金额
  14066. type: number
  14067. taname:
  14068. description: 资金账号名称
  14069. type: string
  14070. tradeamount:
  14071. description: 成交金额
  14072. type: number
  14073. tradedate:
  14074. description: 交易日(yyyyMMdd)
  14075. type: string
  14076. tradeid:
  14077. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14078. type: string
  14079. trademode:
  14080. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期
  14081. type: integer
  14082. tradeproperty:
  14083. description: 交易属性
  14084. type: integer
  14085. tradetime:
  14086. description: 交易时间
  14087. type: string
  14088. userid:
  14089. description: 用户id
  14090. type: integer
  14091. username:
  14092. description: 用户名称
  14093. type: string
  14094. type: object
  14095. models.UserCollectConfig:
  14096. properties:
  14097. accountstatus:
  14098. description: 账户状态 - 1:正常 2:停用 3:注销
  14099. type: integer
  14100. collectaccountname:
  14101. description: 收款人账户名称
  14102. type: string
  14103. collectaccountno:
  14104. description: 收款人账户
  14105. type: string
  14106. collectbankname:
  14107. description: 收款人开户行
  14108. type: string
  14109. collectbranchbankname:
  14110. description: 收款人开户支行
  14111. type: string
  14112. collectconfigid:
  14113. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  14114. type: string
  14115. remark:
  14116. description: 备注
  14117. type: string
  14118. userid:
  14119. description: 收款人用户ID
  14120. type: integer
  14121. type: object
  14122. models.UserReceiveInfo:
  14123. properties:
  14124. address:
  14125. description: 提货人详细地址
  14126. type: string
  14127. autoid:
  14128. description: AutoID
  14129. type: integer
  14130. cardnum:
  14131. description: 证件号码(加密存储)
  14132. type: string
  14133. cardtypeid:
  14134. description: 证件类型
  14135. type: integer
  14136. cityid:
  14137. description: 市
  14138. type: integer
  14139. cityname:
  14140. description: 城市名称
  14141. type: string
  14142. countryid:
  14143. description: 国家
  14144. type: integer
  14145. countryname:
  14146. description: 国家名称
  14147. type: string
  14148. districtid:
  14149. description: 地区
  14150. type: integer
  14151. districtname:
  14152. description: 地区名称
  14153. type: string
  14154. hasencrypt:
  14155. description: 数据是否已加密 - 0:未加密 1:已加密
  14156. type: integer
  14157. isdefault:
  14158. description: 是否默认地址 - 0:否 1:是
  14159. type: integer
  14160. phonenum:
  14161. description: 提货人联系方式(加密存储)
  14162. type: string
  14163. provinceid:
  14164. description: 省
  14165. type: integer
  14166. provincename:
  14167. description: 省名称
  14168. type: string
  14169. receivername:
  14170. description: 提货人姓名
  14171. type: string
  14172. takeremark:
  14173. description: 提货备注
  14174. type: string
  14175. userid:
  14176. description: 用户ID
  14177. type: integer
  14178. type: object
  14179. models.Useraccount:
  14180. properties:
  14181. accountname:
  14182. description: 账户名称(机构名称)
  14183. type: string
  14184. accountstatus:
  14185. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14186. type: integer
  14187. applysrc:
  14188. description: 申请来源 - 1:管理端 2:终端
  14189. type: integer
  14190. auditremark:
  14191. description: 审核备注
  14192. type: string
  14193. auditsrc:
  14194. description: 审核来源 - 1:管理端 2:终端
  14195. type: integer
  14196. audittime:
  14197. description: 审核时间
  14198. type: string
  14199. audituserid:
  14200. description: 审核人
  14201. type: integer
  14202. broker:
  14203. description: 所属经纪人ID
  14204. type: integer
  14205. canceltime:
  14206. description: 销户时间
  14207. type: string
  14208. canceluserid:
  14209. description: 销户人
  14210. type: integer
  14211. canrecommend:
  14212. description: 是否可推荐 - 0:不可 1;可
  14213. type: integer
  14214. createtime:
  14215. description: 创建时间
  14216. type: string
  14217. creatorid:
  14218. description: 创建人
  14219. type: integer
  14220. hasauth:
  14221. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  14222. type: integer
  14223. isanonymous:
  14224. description: 是否匿名下单 - 0:否 1:是
  14225. type: integer
  14226. maxinvestornum:
  14227. description: 最大用户数(经纪会员下投资者个数)
  14228. type: integer
  14229. memberuserid:
  14230. description: 所属会员ID
  14231. type: integer
  14232. modifierid:
  14233. description: 修改人
  14234. type: integer
  14235. modifyremark:
  14236. description: 变更备注
  14237. type: string
  14238. modifystatus:
  14239. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14240. type: integer
  14241. modifytime:
  14242. description: 修改时间
  14243. type: string
  14244. parenttopuser:
  14245. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14246. type: string
  14247. parentuserid:
  14248. description: 所属机构ID
  14249. type: integer
  14250. reckonaccountid:
  14251. description: 默认结算资金账号ID(机构分润使用) 作废
  14252. type: integer
  14253. refercount:
  14254. description: 推荐总人数
  14255. type: integer
  14256. refereeuserid:
  14257. description: 推荐人ID
  14258. type: integer
  14259. refernum:
  14260. description: 推荐码
  14261. type: string
  14262. rootuserid:
  14263. description: 根用户ID
  14264. type: integer
  14265. subaccountlevel:
  14266. description: 子账户层数
  14267. type: integer
  14268. subarealevelpath:
  14269. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14270. type: string
  14271. userid:
  14272. description: 用户ID
  14273. type: integer
  14274. usertype:
  14275. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14276. type: integer
  14277. required:
  14278. - userid
  14279. type: object
  14280. models.Userfavoritegoods:
  14281. properties:
  14282. goodsid:
  14283. description: 商品ID
  14284. type: integer
  14285. required:
  14286. - goodsid
  14287. type: object
  14288. models.Userinfo:
  14289. properties:
  14290. address:
  14291. description: 地址
  14292. type: string
  14293. attachment1:
  14294. description: 附件1
  14295. type: string
  14296. attachment2:
  14297. description: 附件2
  14298. type: string
  14299. bankaccount:
  14300. description: 银行帐号 (加密存储)
  14301. type: string
  14302. bankaccountname:
  14303. description: 收款人名称
  14304. type: string
  14305. bankcardfrontphotourl:
  14306. description: 银行卡正面照地址
  14307. type: string
  14308. bankid:
  14309. description: 银行编码
  14310. type: string
  14311. bankname:
  14312. description: 银行名称
  14313. type: string
  14314. biznature:
  14315. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14316. type: integer
  14317. bizscope:
  14318. description: 企业经营范围(企业)
  14319. type: string
  14320. cardbackphotourl:
  14321. description: 证件背面图片地址
  14322. type: string
  14323. cardfrontphotourl:
  14324. description: 证件正面图片地址
  14325. type: string
  14326. cardnum:
  14327. description: 证件号码(加密存储)
  14328. type: string
  14329. cardtypeid:
  14330. description: 证件类型ID
  14331. type: integer
  14332. cityid:
  14333. description: 市
  14334. type: integer
  14335. company:
  14336. description: 公司(个人)
  14337. type: string
  14338. contactname:
  14339. description: 联系人
  14340. type: string
  14341. countryid:
  14342. description: 国家
  14343. type: integer
  14344. createtime:
  14345. description: 创建时间
  14346. type: string
  14347. creatorid:
  14348. description: 创建人
  14349. type: integer
  14350. customername:
  14351. description: 客户名称(企业名称)
  14352. type: string
  14353. districtid:
  14354. description: 地区
  14355. type: integer
  14356. email:
  14357. description: 邮件(加密存储)
  14358. type: string
  14359. fax:
  14360. description: 传真(加密存储)
  14361. type: string
  14362. halfbodyphotourl:
  14363. description: 半身照地址
  14364. type: string
  14365. hasencrypt:
  14366. description: 数据是否已加密 - 0:未加密 1:已加密
  14367. type: integer
  14368. headurl:
  14369. description: 头像地址
  14370. type: string
  14371. legalcardbackphotourl:
  14372. description: 法人身份证背面照地址
  14373. type: string
  14374. legalcardfrontphotourl:
  14375. description: 法人身份证正面照地址
  14376. type: string
  14377. legalpersonname:
  14378. description: 法人姓名(企业)
  14379. type: string
  14380. mobile:
  14381. description: 手机号码(加密存储)
  14382. type: string
  14383. mobile2:
  14384. description: 手机号码[明文-尚志]
  14385. type: string
  14386. modifierid:
  14387. description: 修改人
  14388. type: integer
  14389. modifiertime:
  14390. description: 修改时间
  14391. type: string
  14392. needinvoice:
  14393. description: 是否需要发票 - 0:不需要 1:需要
  14394. type: integer
  14395. nickname:
  14396. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14397. type: string
  14398. openmode:
  14399. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14400. type: integer
  14401. otherurl:
  14402. description: 其它图片地址[使用分号分隔]
  14403. type: string
  14404. postalcode:
  14405. description: 邮政编码
  14406. type: string
  14407. provinceid:
  14408. description: 省
  14409. type: integer
  14410. qq:
  14411. description: QQ(加密存储
  14412. type: string
  14413. remark:
  14414. description: 备注
  14415. type: string
  14416. sex:
  14417. description: '用户性别 0: 女 1: 男'
  14418. type: integer
  14419. signpdfurl:
  14420. description: 签约pdf文件
  14421. type: string
  14422. telphone:
  14423. description: 联系电话(加密存储)
  14424. type: string
  14425. userid:
  14426. description: 用户ID
  14427. type: integer
  14428. userinfotype:
  14429. description: 用户信息类型 - 1:个人 2:企业
  14430. type: integer
  14431. userstatus:
  14432. description: 用户状态 - 1:正常 2:注销
  14433. type: integer
  14434. usertype:
  14435. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14436. type: integer
  14437. wechat:
  14438. description: 微信(加密存储)
  14439. type: string
  14440. wskhinfo:
  14441. description: 开户申请信息(JSON)
  14442. type: string
  14443. required:
  14444. - userid
  14445. type: object
  14446. models.WRSConverTDetail:
  14447. properties:
  14448. convertratio:
  14449. description: 套保系数
  14450. type: number
  14451. deliverygoodscode:
  14452. description: 现货商品代码
  14453. type: string
  14454. deliverygoodsid:
  14455. description: 现货品种ID
  14456. type: integer
  14457. deliverygoodsname:
  14458. description: 现货商品名称
  14459. type: string
  14460. enumdicname:
  14461. description: 单位名称
  14462. type: string
  14463. goodsunitid:
  14464. description: 套保品种单位id
  14465. type: integer
  14466. middlegoodscode:
  14467. description: 套保品种代码
  14468. type: string
  14469. middlegoodsid:
  14470. description: 套保品种ID
  14471. type: integer
  14472. middlegoodsname:
  14473. description: 套保品种名称
  14474. type: string
  14475. modifytime:
  14476. description: 修改时间
  14477. type: string
  14478. wrstandardid:
  14479. description: 品类ID
  14480. type: integer
  14481. type: object
  14482. models.WRStandardInfo:
  14483. properties:
  14484. areauserid:
  14485. description: 所属机构
  14486. type: integer
  14487. convertfactor:
  14488. description: 标仓系数
  14489. type: number
  14490. createtime:
  14491. description: 创建时间
  14492. type: string
  14493. creatorid:
  14494. description: 创建人
  14495. type: integer
  14496. deliverygoodsid:
  14497. description: 品种ID
  14498. type: integer
  14499. deliverygoodsname:
  14500. description: 交割商品名称
  14501. type: string
  14502. factoryitemjson:
  14503. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID, 逗号分隔'
  14504. type: string
  14505. isvalid:
  14506. description: 是否有效 - 0:无效 1:有效
  14507. type: integer
  14508. minivalue:
  14509. description: 最小变动值
  14510. type: integer
  14511. minivaluedp:
  14512. description: 最小变动值小数位
  14513. type: integer
  14514. realminivalue:
  14515. description: 实际最小变动值
  14516. type: integer
  14517. realminivaluedp:
  14518. description: 实际最小变动值小数位
  14519. type: integer
  14520. remark:
  14521. description: 备注
  14522. type: string
  14523. unitid:
  14524. description: 单位ID
  14525. type: integer
  14526. unitname:
  14527. description: 单位
  14528. type: string
  14529. updatetime:
  14530. description: 更新时间
  14531. type: string
  14532. updatorid:
  14533. description: 更新人
  14534. type: integer
  14535. wrsstatus:
  14536. description: 状态 - 作废 - 0:未激活 1:正常
  14537. type: integer
  14538. wrstandardcode:
  14539. description: 现货品类代码
  14540. type: string
  14541. wrstandardid:
  14542. description: 现货品类ID(SEQ_WRSTANDARD)
  14543. type: integer
  14544. wrstandardname:
  14545. description: 现货品类名称
  14546. type: string
  14547. required:
  14548. - wrstandardid
  14549. type: object
  14550. models.WRTradeBargainApply:
  14551. properties:
  14552. accountid:
  14553. description: 摘牌资金账号
  14554. type: integer
  14555. applyprice:
  14556. description: 申请价格(议价价格)
  14557. type: string
  14558. applyqty:
  14559. description: 摘牌数量(议价数量)
  14560. type: number
  14561. applyremark:
  14562. description: 申请备注
  14563. type: string
  14564. applystatus:
  14565. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14566. type: integer
  14567. applytime:
  14568. description: 申请时间(议价时间)
  14569. type: string
  14570. begindate:
  14571. description: 开始交易日(yyyymmdd)
  14572. type: string
  14573. buyorsell:
  14574. description: 买卖(挂牌类型) - 0:买 1:卖
  14575. type: integer
  14576. confirmremark:
  14577. description: 确认备注
  14578. type: string
  14579. confirmtime:
  14580. description: 确认时间
  14581. type: string
  14582. confirmuserid:
  14583. description: 确认人
  14584. type: integer
  14585. deliverygoodscode:
  14586. description: 品种代码
  14587. type: string
  14588. deliverygoodsid:
  14589. description: 品种ID
  14590. type: integer
  14591. deliverygoodsname:
  14592. description: 品种名称
  14593. type: string
  14594. deliverymonth:
  14595. description: 交收月
  14596. type: string
  14597. enddate:
  14598. description: 结束交易日(yyyymmdd)
  14599. type: string
  14600. enumdicname:
  14601. description: 单位名称
  14602. type: string
  14603. fixedprice:
  14604. description: 挂牌价格
  14605. type: number
  14606. handlestatus:
  14607. description: 处理状态
  14608. type: integer
  14609. marginvalue:
  14610. description: 履约保证金比例
  14611. type: number
  14612. marketid:
  14613. description: 市场ID
  14614. type: integer
  14615. matchaccountid:
  14616. description: 挂牌方资金账号
  14617. type: integer
  14618. matchuserid:
  14619. description: 挂牌方用户id
  14620. type: integer
  14621. matchusername:
  14622. description: 挂牌方用户名称(已脱敏)
  14623. type: string
  14624. minivalue:
  14625. description: 现货商品最小变动值
  14626. type: integer
  14627. optioncompare:
  14628. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14629. type: string
  14630. orderqty:
  14631. description: 挂牌数量
  14632. type: integer
  14633. refprice:
  14634. description: 参考价格
  14635. type: string
  14636. retcode:
  14637. description: 委托返回代码
  14638. type: integer
  14639. templatename:
  14640. description: 履约方式(履约模板名称)
  14641. type: string
  14642. tradedate:
  14643. description: 交易日(yyyyMMdd)
  14644. type: string
  14645. userid:
  14646. description: 摘牌人用户ID(议价人ID)
  14647. type: integer
  14648. username:
  14649. description: 议价人名字(已脱敏)
  14650. type: string
  14651. validtime:
  14652. description: 有效期限
  14653. type: string
  14654. warehouseid:
  14655. description: 仓库ID
  14656. type: integer
  14657. warehousename:
  14658. description: 仓库名称
  14659. type: string
  14660. wrbargainid:
  14661. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14662. type: string
  14663. wrfactortypeid:
  14664. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14665. type: string
  14666. wrfactortypename:
  14667. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14668. type: string
  14669. wrstandardcode:
  14670. description: 现货商品代码
  14671. type: string
  14672. wrstandardid:
  14673. description: 现货商品ID
  14674. type: integer
  14675. wrstandardname:
  14676. description: 商品名称
  14677. type: string
  14678. wrtradeorderid:
  14679. description: 关联委托单ID
  14680. type: string
  14681. wrtypename:
  14682. description: 商品
  14683. type: string
  14684. type: object
  14685. models.Warehouseinfo:
  14686. properties:
  14687. address:
  14688. description: 详细地址
  14689. type: string
  14690. areauserid:
  14691. description: 所属机构
  14692. type: integer
  14693. autoid:
  14694. description: 自增ID
  14695. type: integer
  14696. cityid:
  14697. description: 市
  14698. type: integer
  14699. contactname:
  14700. description: 联系人
  14701. type: string
  14702. contactnum:
  14703. description: 联系电话
  14704. type: string
  14705. countryid:
  14706. description: 国家
  14707. type: integer
  14708. createtime:
  14709. description: 创建时间
  14710. type: string
  14711. districtid:
  14712. description: 区
  14713. type: integer
  14714. hasvideo:
  14715. description: 是否有视频 - 0:无 1:有
  14716. type: integer
  14717. provinceid:
  14718. description: 省
  14719. type: integer
  14720. remark:
  14721. description: 审核备注
  14722. type: string
  14723. videourl:
  14724. description: 视频地址
  14725. type: string
  14726. warehousecode:
  14727. description: 仓库代码
  14728. type: string
  14729. warehousename:
  14730. description: 仓库名称
  14731. type: string
  14732. warehousestatus:
  14733. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14734. type: integer
  14735. warehousetype:
  14736. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14737. type: integer
  14738. required:
  14739. - autoid
  14740. - warehousecode
  14741. type: object
  14742. models.WrAverageTradePrice:
  14743. properties:
  14744. averageprice:
  14745. description: 成交均价
  14746. type: number
  14747. tradedate:
  14748. description: 交易日yyyymm
  14749. type: string
  14750. type: object
  14751. models.WrBsGoodsInfo:
  14752. properties:
  14753. buyorsell:
  14754. description: 买卖方向 0-买 1-卖
  14755. type: integer
  14756. goodsid:
  14757. description: 交易合约ID
  14758. type: integer
  14759. lstitem:
  14760. description: 商品信息项
  14761. items:
  14762. $ref: '#/definitions/models.WrTypeItem'
  14763. type: array
  14764. lststep:
  14765. description: 履约规则
  14766. items:
  14767. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14768. type: array
  14769. type: object
  14770. models.WrBuybackDetail:
  14771. properties:
  14772. buybackamount:
  14773. description: 回购金额
  14774. type: number
  14775. buybackqty:
  14776. description: 回购数量
  14777. type: number
  14778. buybackreleasemargin:
  14779. description: 回购释放保证金
  14780. type: number
  14781. buybacktime:
  14782. description: 回购时间
  14783. type: string
  14784. errordesc:
  14785. description: 错误描述
  14786. type: string
  14787. handlestatus:
  14788. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14789. type: integer
  14790. relatedwrid:
  14791. description: 关联仓单ID
  14792. type: integer
  14793. scfcontractid:
  14794. description: SCF合同ID
  14795. type: string
  14796. scfwrbuybackid:
  14797. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14798. type: integer
  14799. tradedate:
  14800. description: 交易日(yyyyMMdd)
  14801. type: string
  14802. type: object
  14803. models.WrDeliveryAvalidHoldLB:
  14804. properties:
  14805. accountid:
  14806. description: 资金账号
  14807. type: integer
  14808. avalidqty:
  14809. description: 数量(可点选数量)
  14810. type: number
  14811. deliverygoodsid:
  14812. description: 品种id
  14813. type: integer
  14814. enumdicname:
  14815. description: 单位名称
  14816. type: string
  14817. goodsid:
  14818. description: x合约商品id
  14819. type: integer
  14820. ladingbillid:
  14821. description: 提单id
  14822. type: string
  14823. pgoodscode:
  14824. description: p商品代码(点价合约)
  14825. type: string
  14826. pgoodsid:
  14827. description: p商品id(点价合约)
  14828. type: integer
  14829. pgoodsname:
  14830. description: p商品名称(点价合约)
  14831. type: string
  14832. pricemove:
  14833. description: 升贴水
  14834. type: number
  14835. subnum:
  14836. description: 提单子id
  14837. type: integer
  14838. userid:
  14839. description: 用户id
  14840. type: integer
  14841. username:
  14842. description: 仓单持有人
  14843. type: string
  14844. warehousecode:
  14845. description: 仓库代码
  14846. type: string
  14847. warehouseid:
  14848. description: 仓库id
  14849. type: integer
  14850. warehousename:
  14851. description: 仓库名称
  14852. type: string
  14853. wrfactortypeid:
  14854. description: 仓单要素id
  14855. type: string
  14856. wrstandardcode:
  14857. description: 品代码
  14858. type: string
  14859. wrstandardid:
  14860. description: 品类d
  14861. type: integer
  14862. wrstandardname:
  14863. description: 品类名称
  14864. type: string
  14865. wrtypename:
  14866. description: 商品
  14867. type: string
  14868. xgoodscode:
  14869. description: x合约代码
  14870. type: string
  14871. xgoodsname:
  14872. description: x合约名称
  14873. type: string
  14874. type: object
  14875. models.WrDeliveryDetail:
  14876. properties:
  14877. accountid:
  14878. description: 账号ID
  14879. type: integer
  14880. averageprice:
  14881. description: 交割均价 = 交割金额 / 交割数量
  14882. type: number
  14883. begindate:
  14884. description: 开始交易日(yyyymmdd)
  14885. type: string
  14886. buyorsell:
  14887. description: 方向 - 0:买 1:卖
  14888. type: integer
  14889. deliveryamount:
  14890. description: 货款金额(X总货款+P总货款)
  14891. type: number
  14892. deliveryid:
  14893. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14894. type: string
  14895. deliveryorderid:
  14896. description: 申报单号
  14897. type: string
  14898. deliverypricemove:
  14899. description: 升贴水(升贴水总额)
  14900. type: number
  14901. deliveryqty:
  14902. description: 交收数量(点选数量)
  14903. type: number
  14904. deliverystatus:
  14905. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14906. type: integer
  14907. deliverytime:
  14908. description: 交割时间
  14909. type: string
  14910. deliverytotalamount:
  14911. description: 交收金额
  14912. type: number
  14913. enddate:
  14914. description: 结束交易日(yyyymmdd)
  14915. type: string
  14916. enumdicname:
  14917. description: 单位名称
  14918. type: string
  14919. matchaccountid:
  14920. description: 对手账号ID
  14921. type: integer
  14922. matchusername:
  14923. description: 对手方名称(仓单持有人)
  14924. type: string
  14925. p1goodsremainamount:
  14926. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  14927. type: number
  14928. pdeliverycloseqty:
  14929. description: p合约平仓数量
  14930. type: number
  14931. pdeliveryprice:
  14932. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  14933. type: number
  14934. pgoodscode:
  14935. description: 商品代码
  14936. type: string
  14937. pgoodsid:
  14938. description: p点选合约id
  14939. type: integer
  14940. pgoodsname:
  14941. description: 商品名称
  14942. type: string
  14943. ppricemode:
  14944. description: 点价价格方式 - 1:商品价 2:固定值
  14945. type: integer
  14946. tradedate:
  14947. description: 交易日(yyyymmdd)
  14948. type: string
  14949. userid:
  14950. description: 用户id
  14951. type: integer
  14952. username:
  14953. description: 用户名称
  14954. type: string
  14955. warehousename:
  14956. description: 仓库名称
  14957. type: string
  14958. wrfactortypeid:
  14959. description: 仓单要素类型ID
  14960. type: string
  14961. wrtypename:
  14962. description: 商品
  14963. type: string
  14964. xdeliverycloseqty:
  14965. description: 合约数量
  14966. type: number
  14967. xgoodsamount:
  14968. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  14969. type: number
  14970. xgoodscode:
  14971. description: 商品代码
  14972. type: string
  14973. xgoodsid:
  14974. description: x交易合约ID
  14975. type: integer
  14976. xgoodsname:
  14977. description: 商品名称
  14978. type: string
  14979. type: object
  14980. models.WrDeliveryGoodsSection:
  14981. properties:
  14982. dglst:
  14983. description: 板块商品列表
  14984. items:
  14985. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  14986. type: array
  14987. imagepath:
  14988. description: 图片地址
  14989. type: string
  14990. orderindex:
  14991. description: 排序
  14992. type: integer
  14993. sectionid:
  14994. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数
  14995. type: integer
  14996. sectionname:
  14997. description: 版块名称
  14998. type: string
  14999. sectiontype:
  15000. description: 版块类型 - 1:指数版块 2:普通版块
  15001. type: integer
  15002. type: object
  15003. models.WrDeliveryGoodsSectionConfig:
  15004. properties:
  15005. deliverygoodscode:
  15006. description: 现货商品代码
  15007. type: string
  15008. deliverygoodsid:
  15009. description: 现货品种ID(SEQ_DELIVERYGOODS)
  15010. type: integer
  15011. deliverygoodsname:
  15012. description: 现货商品名称
  15013. type: string
  15014. orderindex:
  15015. description: 排序
  15016. type: integer
  15017. type: object
  15018. models.WrFAProductDetail:
  15019. properties:
  15020. accountid:
  15021. description: 资金账号
  15022. type: integer
  15023. areauserid:
  15024. description: 金融机构ID
  15025. type: integer
  15026. financingdays:
  15027. description: 天数(天)
  15028. type: integer
  15029. interestminlen:
  15030. description: 最小起息天数
  15031. type: integer
  15032. interestrate:
  15033. description: 利率
  15034. type: number
  15035. interestratemode:
  15036. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15037. type: integer
  15038. interestsettlemode:
  15039. description: 结息方式 - 1:按日结息 3:按月结息
  15040. type: integer
  15041. interestsettlevalue:
  15042. description: 结息方式值
  15043. type: integer
  15044. isautoloan:
  15045. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  15046. type: integer
  15047. loantag:
  15048. description: '放款标识: "放款快" 或者为空'
  15049. type: string
  15050. marginratio:
  15051. description: 保证金比率质押率 - [仓单质押]
  15052. type: number
  15053. productdetailid:
  15054. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  15055. type: integer
  15056. productid:
  15057. description: 金融产品ID
  15058. type: integer
  15059. productname:
  15060. description: 产品名称
  15061. type: string
  15062. updatetime:
  15063. description: 更新时间
  15064. type: string
  15065. username:
  15066. description: 融出方
  15067. type: string
  15068. type: object
  15069. models.WrFactorTypeInfo:
  15070. properties:
  15071. deliverygoodscode:
  15072. description: 品种代码
  15073. type: string
  15074. deliverygoodsname:
  15075. description: 品种名称
  15076. type: string
  15077. dgfactoryitemid:
  15078. description: 选择项id
  15079. type: integer
  15080. dgfactoryitemtypeid:
  15081. description: 要素选择项ID (1-仓库 2-品牌)
  15082. type: integer
  15083. dgfactoryitemvalue:
  15084. description: 要素项值
  15085. type: string
  15086. itemtypename:
  15087. description: 要素项名称
  15088. type: string
  15089. optioncompare:
  15090. description: 选择比较串
  15091. type: string
  15092. warehouseid:
  15093. description: 仓库id
  15094. type: integer
  15095. wrfactortypeid:
  15096. description: 仓单要素ID
  15097. type: string
  15098. wrfactortypename:
  15099. description: 要素名称
  15100. type: string
  15101. wrfactortypename2:
  15102. description: 要素名称(不含仓库)
  15103. type: string
  15104. wrstandardcode:
  15105. description: 品类代码
  15106. type: string
  15107. wrstandardid:
  15108. description: 品类id
  15109. type: integer
  15110. wrstandardname:
  15111. description: 品类名称
  15112. type: string
  15113. type: object
  15114. models.WrFilterItem:
  15115. properties:
  15116. itemcode:
  15117. description: 代码
  15118. type: string
  15119. itemid:
  15120. description: 项id
  15121. type: integer
  15122. itemname:
  15123. description: 名称
  15124. type: string
  15125. itemtype:
  15126. description: 类型 1-品种 2-品类(商品) 3-仓库
  15127. type: integer
  15128. type: object
  15129. models.WrFinanceBuyApply:
  15130. properties:
  15131. applydate:
  15132. description: 申请时间
  15133. type: string
  15134. applystatus:
  15135. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  15136. type: integer
  15137. applyuserid:
  15138. description: 申请人
  15139. type: integer
  15140. auditdate:
  15141. description: 审核时间
  15142. type: string
  15143. auditremark:
  15144. description: 审核备注
  15145. type: string
  15146. audituserid:
  15147. description: 审核人
  15148. type: integer
  15149. buyaccountid:
  15150. description: 买方资金账号
  15151. type: integer
  15152. buyorsell:
  15153. description: 买卖 - 0:买 1:卖
  15154. type: integer
  15155. buyuserid:
  15156. description: 买方用户ID
  15157. type: integer
  15158. buyusername:
  15159. description: 买方名称
  15160. type: string
  15161. buywrtradeorderid:
  15162. description: 融资方买委托单ID
  15163. type: string
  15164. deliverygoodscode:
  15165. description: 品种代码
  15166. type: string
  15167. deliverygoodsid:
  15168. description: 品种ID
  15169. type: integer
  15170. deliverygoodsname:
  15171. description: 品种名称
  15172. type: string
  15173. deliverymonth:
  15174. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  15175. type: string
  15176. enumdicname:
  15177. description: 单位名称
  15178. type: string
  15179. financeaccountid:
  15180. description: 融资方资金帐户ID
  15181. type: integer
  15182. financeapplyid:
  15183. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15184. type: string
  15185. financeareauserid:
  15186. description: 融资方用户ID
  15187. type: string
  15188. financename:
  15189. description: 融出方名称
  15190. type: string
  15191. financetype:
  15192. description: 融资类型 1-融资回购
  15193. type: integer
  15194. financingdays:
  15195. description: 天数(天)
  15196. type: integer
  15197. freezebuymargin:
  15198. description: 冻结融资保证金(买方)
  15199. type: number
  15200. handleremark:
  15201. description: 处理备注
  15202. type: string
  15203. handlestatus:
  15204. description: 处理状态
  15205. type: integer
  15206. interestminlen:
  15207. description: 最小起息天数
  15208. type: integer
  15209. interestrate:
  15210. description: 利率
  15211. type: number
  15212. interestratemode:
  15213. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15214. type: integer
  15215. interestsettlemode:
  15216. description: 结息方式 - 1:按日结息 3:按月结息
  15217. type: integer
  15218. interestsettlevalue:
  15219. description: 结息方式值
  15220. type: integer
  15221. isautoloan:
  15222. description: 是否自动放款 - 0:手动 1:自动
  15223. type: integer
  15224. marginratio:
  15225. description: 保证金比率质押率 - [仓单质押]
  15226. type: number
  15227. marketid:
  15228. description: 市场ID
  15229. type: integer
  15230. minivalue:
  15231. description: 现货商品最小变动值
  15232. type: integer
  15233. optioncompare:
  15234. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15235. type: string
  15236. orderqty:
  15237. description: 委托数量(商品数量)
  15238. type: number
  15239. productdetailid:
  15240. description: 产品组合ID
  15241. type: integer
  15242. productid:
  15243. description: 金融产品ID
  15244. type: integer
  15245. productname:
  15246. description: 产品名称
  15247. type: string
  15248. remark:
  15249. description: 备注
  15250. type: string
  15251. scfcontractid:
  15252. description: 仓单回购合同ID
  15253. type: string
  15254. sellaccountid:
  15255. description: 卖方资金账号
  15256. type: integer
  15257. selluserid:
  15258. description: 卖方用户ID
  15259. type: integer
  15260. sellwrtradeorderid:
  15261. description: 卖方委托单ID
  15262. type: string
  15263. tradeamount:
  15264. description: 成交金额(借款金额)
  15265. type: number
  15266. tradedate:
  15267. description: 交易日(yyyyMMdd)
  15268. type: string
  15269. tradeprice:
  15270. description: 成交价格
  15271. type: number
  15272. warehouseid:
  15273. description: 仓库ID
  15274. type: integer
  15275. warehousename:
  15276. description: 仓库名称
  15277. type: string
  15278. wrfactortypeid:
  15279. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15280. type: string
  15281. wrfactortypename:
  15282. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15283. type: string
  15284. wrpricetype:
  15285. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15286. type: integer
  15287. wrstandardcode:
  15288. description: 现货商品代码
  15289. type: string
  15290. wrstandardid:
  15291. description: 现货商品ID
  15292. type: integer
  15293. wrstandardname:
  15294. description: 商品名称
  15295. type: string
  15296. wrtypename:
  15297. description: 商品
  15298. type: string
  15299. type: object
  15300. models.WrFriendApply:
  15301. properties:
  15302. applicantid:
  15303. description: 申请人
  15304. type: integer
  15305. applyname:
  15306. description: 申请人名称
  15307. type: string
  15308. applysrc:
  15309. description: 申请来源 - 1:管理端 2:终端
  15310. type: integer
  15311. applystatus:
  15312. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15313. type: integer
  15314. applytime:
  15315. description: 申请时间
  15316. type: string
  15317. auditname:
  15318. description: 审核人名称
  15319. type: string
  15320. auditorid:
  15321. description: 审核人
  15322. type: integer
  15323. auditremark:
  15324. description: 审核备注
  15325. type: string
  15326. auditsrc:
  15327. description: 审核来源 - 1:管理端 2:终端
  15328. type: integer
  15329. audittime:
  15330. description: 审核时间
  15331. type: string
  15332. friendapplyid:
  15333. description: 申请ID(SEQ_FRIENDAPPLY)
  15334. type: string
  15335. friendname:
  15336. description: 好友名字(已脱敏)
  15337. type: string
  15338. frienduserid:
  15339. description: 好友用户ID
  15340. type: string
  15341. remark:
  15342. description: 备注
  15343. type: string
  15344. userid:
  15345. description: 申请人用户ID
  15346. type: integer
  15347. type: object
  15348. models.WrFtDeliveryGoods:
  15349. properties:
  15350. deliverygoodscode:
  15351. description: 品种代码
  15352. type: string
  15353. deliverygoodsid:
  15354. description: 品种ID
  15355. type: integer
  15356. deliverygoodsname:
  15357. description: 品种名称
  15358. type: string
  15359. wdlst:
  15360. description: 商品列表
  15361. items:
  15362. $ref: '#/definitions/models.WrFtWrstandard'
  15363. type: array
  15364. type: object
  15365. models.WrFtWrstandard:
  15366. properties:
  15367. enumdicname:
  15368. description: 单位名称
  15369. type: string
  15370. minivalue:
  15371. description: 最小变动值
  15372. type: integer
  15373. wrstandardcode:
  15374. description: 现货商品代码
  15375. type: string
  15376. wrstandardid:
  15377. description: 现货商品ID
  15378. type: integer
  15379. wrstandardname:
  15380. description: 商品名称
  15381. type: string
  15382. type: object
  15383. models.WrGoodsInfo:
  15384. properties:
  15385. haswr:
  15386. description: 0:仓单预售 1:仓单贸易
  15387. type: integer
  15388. lstitem:
  15389. description: 商品信息项
  15390. items:
  15391. $ref: '#/definitions/models.WrTypeItem'
  15392. type: array
  15393. lststep:
  15394. description: 履约规则
  15395. items:
  15396. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15397. type: array
  15398. marketid:
  15399. description: 市场id
  15400. type: integer
  15401. type: object
  15402. models.WrGoodsPerformanceStep:
  15403. properties:
  15404. autoid:
  15405. description: AutoID
  15406. type: integer
  15407. isauto:
  15408. description: 是否自动 - 0:不自动 1:自动
  15409. type: integer
  15410. remark:
  15411. description: 备注
  15412. type: string
  15413. stepdate:
  15414. description: 天数信息(T+N)
  15415. type: string
  15416. stepdays:
  15417. description: 距离上一步天数
  15418. type: integer
  15419. stepindex:
  15420. description: 步骤序号
  15421. type: integer
  15422. stepinfo:
  15423. description: 步骤信息(步骤名称+步骤值)
  15424. type: string
  15425. steptypeid:
  15426. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15427. type: integer
  15428. steptypename:
  15429. description: 步骤名称
  15430. type: string
  15431. stepvalue:
  15432. description: 步骤值
  15433. type: number
  15434. templateid:
  15435. description: 履约计划模板ID
  15436. type: integer
  15437. type: object
  15438. models.WrHoldLB:
  15439. properties:
  15440. accountid:
  15441. description: 持有人帐户ID
  15442. type: integer
  15443. createtime:
  15444. description: 创建时间(过户时间)
  15445. type: string
  15446. deliverygoodscode:
  15447. description: 品种代码
  15448. type: string
  15449. deliverygoodsid:
  15450. description: 品种ID
  15451. type: integer
  15452. deliverygoodsname:
  15453. description: 品种名称
  15454. type: string
  15455. enableqty:
  15456. description: 可用数量
  15457. type: number
  15458. enumdicname:
  15459. description: 单位名称
  15460. type: string
  15461. freezerqty:
  15462. description: 冻结数量
  15463. type: number
  15464. ladingbillid:
  15465. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15466. type: string
  15467. minivalue:
  15468. description: 现货商品最小变动值
  15469. type: integer
  15470. optioncompare:
  15471. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15472. type: string
  15473. parentsubnum:
  15474. description: 拆分父子单号
  15475. type: integer
  15476. pledgeqty:
  15477. description: 质押数量
  15478. type: number
  15479. qty:
  15480. description: 数量
  15481. type: number
  15482. subnum:
  15483. description: 提单子单号
  15484. type: integer
  15485. tradedate:
  15486. description: 交易日(yyyyMMdd)
  15487. type: string
  15488. userid:
  15489. description: 持有人ID
  15490. type: integer
  15491. warehouseid:
  15492. description: 仓库ID
  15493. type: integer
  15494. warehousename:
  15495. description: 仓库名称
  15496. type: string
  15497. wrfactortypeid:
  15498. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15499. type: string
  15500. wrfactortypename:
  15501. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15502. type: string
  15503. wrholdeno:
  15504. description: 仓单编号
  15505. type: string
  15506. wrid:
  15507. description: 仓单变更ID
  15508. type: string
  15509. wrstandardcode:
  15510. description: 现货商品代码
  15511. type: string
  15512. wrstandardid:
  15513. description: 现货商品ID
  15514. type: integer
  15515. wrstandardname:
  15516. description: 商品名称
  15517. type: string
  15518. wrtypename:
  15519. description: 商品
  15520. type: string
  15521. type: object
  15522. models.WrMarketTradeConfig:
  15523. properties:
  15524. basisdownratio:
  15525. description: 浮动价基差下限比例(仓单贸易)
  15526. type: number
  15527. basisupratio:
  15528. description: 浮动价基差上限比例(仓单贸易)
  15529. type: number
  15530. buychargealgorithm:
  15531. description: 买方手续费收取方式 1:比率 2:固定
  15532. type: integer
  15533. buychargealgorithm2:
  15534. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15535. type: integer
  15536. buychargealgorithmvalue:
  15537. description: 买方手续费设置值(交易所部分)
  15538. type: number
  15539. buychargealgorithmvalue2:
  15540. description: 买方手续费设置值(会员部分)
  15541. type: number
  15542. buychargealgorithmvalue3:
  15543. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15544. type: number
  15545. buychargealgorithmvalue4:
  15546. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15547. type: number
  15548. buyfirstmarginalgorithm:
  15549. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15550. type: integer
  15551. buyfirstmarginvalue:
  15552. description: 买方出价保证金设置值 - [竞拍]
  15553. type: number
  15554. buymarginalgorithm:
  15555. description: 买方保证金方式 - 1:比率 2:固定
  15556. type: integer
  15557. buymarginvalue:
  15558. description: 买方保证金设置值
  15559. type: number
  15560. buyreleaseratio:
  15561. description: 买方释放比率[2:分步履约]
  15562. type: number
  15563. executemode:
  15564. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15565. type: integer
  15566. executeside:
  15567. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15568. type: integer
  15569. failedchargealgorithm:
  15570. description: 流拍手续费收取方式 1:比率 2:固定
  15571. type: integer
  15572. failedchargevalue:
  15573. description: 流拍手续费设置值
  15574. type: number
  15575. failedchargevalue2:
  15576. description: 流拍卖方手续费设置值
  15577. type: number
  15578. holddays:
  15579. description: 合同期限[2:分步履约]
  15580. type: integer
  15581. marketid:
  15582. description: 市场ID-仓单贸易、竞拍、预售
  15583. type: integer
  15584. minqty:
  15585. description: 最小执行量[2:分步履约]
  15586. type: number
  15587. modifierid:
  15588. description: 修改人
  15589. type: integer
  15590. performancetempid:
  15591. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)
  15592. type: integer
  15593. performancetempid2:
  15594. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行
  15595. type: integer
  15596. performancetempid2s:
  15597. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行
  15598. type: string
  15599. performancetempids:
  15600. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)
  15601. type: string
  15602. performanceway:
  15603. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15604. type: integer
  15605. sellchargealgorithm:
  15606. description: 卖方手续费收取方式 1:比率 2:固定
  15607. type: integer
  15608. sellchargealgorithm2:
  15609. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15610. type: integer
  15611. sellchargealgorithmvalue:
  15612. description: 卖方手续费设置值(交易所部分)
  15613. type: number
  15614. sellchargealgorithmvalue2:
  15615. description: 卖方手续费设置值(会员部分)
  15616. type: number
  15617. sellchargealgorithmvalue3:
  15618. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15619. type: number
  15620. sellchargealgorithmvalue4:
  15621. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15622. type: number
  15623. sellmarginalgorithm:
  15624. description: 卖方保证金方式 - 1:比率 2:固定
  15625. type: integer
  15626. sellmarginvalue:
  15627. description: 卖方保证金设置值
  15628. type: number
  15629. sellmarginvalue2:
  15630. description: 卖方保证金设置值(无仓单)
  15631. type: number
  15632. sellreleaseratio:
  15633. description: 卖方释放比率[2:分步履约]
  15634. type: number
  15635. updatetime:
  15636. description: 更新时间
  15637. type: string
  15638. type: object
  15639. models.WrOrderDetail:
  15640. properties:
  15641. accountid:
  15642. description: 交易账号(资金账号)
  15643. type: integer
  15644. allfriendsflag:
  15645. description: 是否全好友可见 - 0:否 1:是
  15646. type: integer
  15647. amount:
  15648. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  15649. type: number
  15650. begindate:
  15651. description: 开始交易日(yyyymmdd)
  15652. type: string
  15653. buyorsell:
  15654. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15655. type: integer
  15656. canbargain:
  15657. description: 是否可议价 - 0:不可 1:可
  15658. type: integer
  15659. cancelqty:
  15660. description: 撤销数量
  15661. type: number
  15662. canpart:
  15663. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15664. type: integer
  15665. delistminqty:
  15666. description: 起摘数量
  15667. type: integer
  15668. deliverygoodscode:
  15669. description: 品种代码
  15670. type: string
  15671. deliverygoodsid:
  15672. description: 品种ID
  15673. type: integer
  15674. deliverygoodsname:
  15675. description: 品种名称
  15676. type: string
  15677. deliverymonth:
  15678. description: 交收月
  15679. type: string
  15680. enddate:
  15681. description: 结束交易日(yyyymmdd)
  15682. type: string
  15683. enumdicname:
  15684. description: 单位名称
  15685. type: string
  15686. fixedprice:
  15687. description: 固定价格 - [挂牌]
  15688. type: number
  15689. freezecharge:
  15690. description: 冻结手续费
  15691. type: number
  15692. freezemargin:
  15693. description: 冻结保证金(保证金)
  15694. type: number
  15695. futupricemove:
  15696. description: 期货升贴水
  15697. type: number
  15698. futushow:
  15699. description: 期货合约/升贴水
  15700. type: string
  15701. goodscode:
  15702. description: 期货合约
  15703. type: string
  15704. goodsid:
  15705. description: 期货商品id
  15706. type: integer
  15707. goodsname:
  15708. description: 商品名称
  15709. type: string
  15710. haswr:
  15711. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15712. type: integer
  15713. isspecified:
  15714. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15715. type: integer
  15716. ladingbillid:
  15717. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15718. type: string
  15719. marginvalue:
  15720. description: 保证金设置值(履约保证金)
  15721. type: number
  15722. marketid:
  15723. description: 市场ID
  15724. type: integer
  15725. matchusername:
  15726. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15727. type: string
  15728. minivalue:
  15729. description: 现货商品最小变动值
  15730. type: integer
  15731. optioncompare:
  15732. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15733. type: string
  15734. orderqty:
  15735. description: 委托数量
  15736. type: number
  15737. ordertime:
  15738. description: 委托时间(挂牌时间)
  15739. type: string
  15740. performancetemplateid:
  15741. description: 履约模板id
  15742. type: integer
  15743. pricemove:
  15744. description: 升贴水(浮动价时填写) - [挂牌]
  15745. type: number
  15746. taname:
  15747. description: 交易用户名称(资金账号名称)
  15748. type: string
  15749. tradedate:
  15750. description: 交易日(yyyyMMdd)
  15751. type: string
  15752. tradeprice:
  15753. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15754. type: number
  15755. tradeqty:
  15756. description: 成交数量
  15757. type: number
  15758. userid:
  15759. description: 用户ID
  15760. type: integer
  15761. validtime:
  15762. description: 挂牌有效期
  15763. type: string
  15764. validtype:
  15765. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15766. type: integer
  15767. warehouseid:
  15768. description: 仓库ID
  15769. type: integer
  15770. warehousename:
  15771. description: 仓库名称
  15772. type: string
  15773. wrfactortypeid:
  15774. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15775. type: string
  15776. wrfactortypename:
  15777. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15778. type: string
  15779. wrpricetype:
  15780. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15781. type: integer
  15782. wrstandardcode:
  15783. description: 现货商品代码
  15784. type: string
  15785. wrstandardid:
  15786. description: 现货商品ID
  15787. type: integer
  15788. wrstandardname:
  15789. description: 商品名称
  15790. type: string
  15791. wrtradeorderid:
  15792. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15793. type: string
  15794. wrtradeorderstatus:
  15795. 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:撤单解冻贷款失败
  15796. type: integer
  15797. wrtradetype:
  15798. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15799. type: integer
  15800. wrtypename:
  15801. description: 商品
  15802. type: string
  15803. type: object
  15804. models.WrOrderQuote:
  15805. properties:
  15806. buyprice:
  15807. description: 买价
  15808. type: number
  15809. buypricemove:
  15810. description: 买升贴水(基差)
  15811. type: number
  15812. buyqty:
  15813. description: 买量
  15814. type: number
  15815. deliverygoodscode:
  15816. description: 品种代码
  15817. type: string
  15818. deliverygoodsid:
  15819. description: 品种id
  15820. type: integer
  15821. deliverygoodsname:
  15822. description: 品种名称
  15823. type: string
  15824. deliverymonth:
  15825. description: 交收月
  15826. type: string
  15827. enumdicname:
  15828. description: 单位名称
  15829. type: string
  15830. goodscode:
  15831. description: 商品合约(浮动价列表才有)
  15832. type: string
  15833. goodsid:
  15834. description: 商品id(浮动价列表才有)
  15835. type: integer
  15836. minivalue:
  15837. description: 现货商品最小变动值
  15838. type: integer
  15839. sellprice:
  15840. description: 卖价
  15841. type: number
  15842. sellpricemove:
  15843. description: 卖升贴水(基差)
  15844. type: number
  15845. sellqty:
  15846. description: 卖量
  15847. type: number
  15848. warehousecode:
  15849. description: 仓库代码
  15850. type: string
  15851. warehouseid:
  15852. description: 仓库id
  15853. type: integer
  15854. warehousename:
  15855. description: 仓库名称
  15856. type: string
  15857. wrfactortypeid:
  15858. description: 仓单要素id
  15859. type: string
  15860. wrfactortypename:
  15861. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15862. type: string
  15863. wrgoodsname:
  15864. description: 商品(商品名称+仓库要素名称 拼接)
  15865. type: string
  15866. wrstandardcode:
  15867. description: 商品代码
  15868. type: string
  15869. wrstandardid:
  15870. description: 商品id
  15871. type: integer
  15872. wrstandardname:
  15873. description: 商品名称
  15874. type: string
  15875. type: object
  15876. models.WrOrderQuoteDetail:
  15877. properties:
  15878. buyorsell:
  15879. description: 买卖 - 0:买 1:卖
  15880. type: integer
  15881. delistminqty:
  15882. description: 起摘数量
  15883. type: number
  15884. deliverymonth:
  15885. description: 交收月
  15886. type: string
  15887. enumdicname:
  15888. description: 单位名称
  15889. type: string
  15890. fixedprice:
  15891. description: 买(卖)价
  15892. type: number
  15893. marketid:
  15894. description: 市场id
  15895. type: integer
  15896. minivalue:
  15897. description: 现货商品最小变动值
  15898. type: integer
  15899. orderqty:
  15900. description: 买(卖)量(=委托量-成交量)
  15901. type: number
  15902. ordertime:
  15903. description: 委托时间
  15904. type: string
  15905. pricemove:
  15906. description: 买(卖)升贴水- 基差
  15907. type: number
  15908. userid:
  15909. description: 购买方(销售方)用户ID
  15910. type: integer
  15911. username:
  15912. description: 购买方(销售方)
  15913. type: string
  15914. wrtradeorderid:
  15915. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15916. type: string
  15917. type: object
  15918. models.WrOutInApply:
  15919. properties:
  15920. applyid:
  15921. description: 申请单id
  15922. type: string
  15923. applystatus:
  15924. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  15925. type: integer
  15926. applytime:
  15927. description: 申请时间
  15928. type: string
  15929. applytype:
  15930. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15931. type: integer
  15932. begindate:
  15933. description: 开始交易日(yyyymmdd)
  15934. type: string
  15935. deliverygoodscode:
  15936. description: 品种代码
  15937. type: string
  15938. deliverygoodsid:
  15939. description: 品种ID
  15940. type: integer
  15941. deliverygoodsname:
  15942. description: 品种名称
  15943. type: string
  15944. enddate:
  15945. description: 结束交易日(yyyymmdd)
  15946. type: string
  15947. enumdicname:
  15948. description: 单位名称
  15949. type: string
  15950. expresscompany:
  15951. description: 物流公司
  15952. type: string
  15953. expressnum:
  15954. description: 物流单号
  15955. type: string
  15956. minivalue:
  15957. description: 现货商品最小变动值
  15958. type: integer
  15959. optioncompare:
  15960. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15961. type: string
  15962. qty:
  15963. description: 数量
  15964. type: integer
  15965. userid:
  15966. description: 用户id
  15967. type: integer
  15968. warehouseid:
  15969. description: 仓库ID
  15970. type: integer
  15971. warehousename:
  15972. description: 仓库名称
  15973. type: string
  15974. wrfactortypeid:
  15975. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15976. type: string
  15977. wrfactortypename:
  15978. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15979. type: string
  15980. wrstandardcode:
  15981. description: 现货商品代码
  15982. type: string
  15983. wrstandardid:
  15984. description: 现货商品ID
  15985. type: integer
  15986. wrstandardname:
  15987. description: 商品名称
  15988. type: string
  15989. wrtypename:
  15990. description: 商品
  15991. type: string
  15992. type: object
  15993. models.WrPerformancePlan:
  15994. properties:
  15995. activatemonth:
  15996. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  15997. type: string
  15998. amount:
  15999. description: 履约金额(总金额)
  16000. type: number
  16001. begindate:
  16002. description: 开始交易日(yyyymmdd)
  16003. type: string
  16004. buyaccountid:
  16005. description: 买方账号
  16006. type: integer
  16007. buyerfreezeamount:
  16008. description: 履约冻结(买履约)
  16009. type: number
  16010. buyerfreezeamountremain:
  16011. description: 履约冻结剩余(买履约)
  16012. type: number
  16013. buyorsell:
  16014. description: 买卖方向 0-买 1-卖
  16015. type: integer
  16016. buypaidamount:
  16017. description: 买方已冻/已扣金额 (已付金额)
  16018. type: number
  16019. buyusername:
  16020. description: 买方名字
  16021. type: string
  16022. contractid:
  16023. description: 合同ID
  16024. type: integer
  16025. createtime:
  16026. description: 创建时间
  16027. type: string
  16028. creatorid:
  16029. description: 创建人
  16030. type: integer
  16031. curstepdeadline:
  16032. description: 当前步骤到期时间
  16033. type: string
  16034. curstepid:
  16035. description: 当前步骤ID
  16036. type: string
  16037. curstepname:
  16038. description: 当前步骤名称
  16039. type: string
  16040. deliverygoodscode:
  16041. description: 品种代码
  16042. type: string
  16043. deliverygoodsid:
  16044. description: 品种ID
  16045. type: integer
  16046. deliverygoodsname:
  16047. description: 品种名称
  16048. type: string
  16049. enddate:
  16050. description: 结束交易日(yyyymmdd)
  16051. type: string
  16052. enumdicname:
  16053. description: 单位名称
  16054. type: string
  16055. expressfee:
  16056. description: 运费
  16057. type: number
  16058. expressfeeconfirmed:
  16059. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  16060. type: integer
  16061. hasovershort:
  16062. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  16063. type: integer
  16064. haswr:
  16065. description: 类型 0-仓单预售 1-仓单贸易
  16066. type: integer
  16067. marketid:
  16068. description: 市场ID
  16069. type: integer
  16070. middleaccountid:
  16071. description: 中间商资金账号ID
  16072. type: integer
  16073. middleuserid:
  16074. description: 中间商用户ID
  16075. type: integer
  16076. minivalue:
  16077. description: 现货商品最小变动值
  16078. type: integer
  16079. optioncompare:
  16080. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16081. type: string
  16082. overshortamount:
  16083. description: 溢短金额
  16084. type: number
  16085. overshortqty:
  16086. description: 溢短数量
  16087. type: number
  16088. paymenttype:
  16089. description: 付款方式 - 1:冻结 2:扣款
  16090. type: integer
  16091. performanceplanid:
  16092. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  16093. type: string
  16094. performancestatus:
  16095. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
  16096. type: integer
  16097. performancetype:
  16098. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  16099. type: integer
  16100. qty:
  16101. description: 履约数量
  16102. type: number
  16103. relatedorderid:
  16104. description: 关联单号(履约类型的关联单号)
  16105. type: string
  16106. remark:
  16107. description: 备注
  16108. type: string
  16109. sellaccountid:
  16110. description: 卖方账号
  16111. type: integer
  16112. sellerfreezeamount:
  16113. description: 履约冻结(卖履约)
  16114. type: number
  16115. sellerfreezeamountremain:
  16116. description: 履约冻结剩余(卖履约)
  16117. type: number
  16118. sellreceivedamount:
  16119. description: 卖方已收金额
  16120. type: number
  16121. sellusername:
  16122. description: 卖方名字
  16123. type: string
  16124. shipremark:
  16125. description: 发货备注[物流单号]
  16126. type: string
  16127. starttime:
  16128. description: 开始时间
  16129. type: string
  16130. steptypeid:
  16131. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16132. type: integer
  16133. typename:
  16134. description: 履约类型 名称
  16135. type: string
  16136. unpaidamount:
  16137. description: 剩余款(待支付金额)
  16138. type: number
  16139. userid:
  16140. description: 用户id
  16141. type: integer
  16142. warehouseid:
  16143. description: 仓库ID
  16144. type: integer
  16145. warehousename:
  16146. description: 仓库名称
  16147. type: string
  16148. wrfactortypeid:
  16149. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16150. type: string
  16151. wrfactortypename:
  16152. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16153. type: string
  16154. wrstandardcode:
  16155. description: 现货商品代码
  16156. type: string
  16157. wrstandardid:
  16158. description: 现货商品ID
  16159. type: integer
  16160. wrstandardname:
  16161. description: 商品名称
  16162. type: string
  16163. wrtransferuserid:
  16164. description: 仓单受让用户
  16165. type: integer
  16166. wrtypename:
  16167. description: 商品
  16168. type: string
  16169. required:
  16170. - userid
  16171. type: object
  16172. models.WrPerformancePlanStep:
  16173. properties:
  16174. delaydays:
  16175. description: 延期申请天数
  16176. type: integer
  16177. deliverygoodscode:
  16178. description: 品种代码
  16179. type: string
  16180. deliverygoodsid:
  16181. description: 品种ID
  16182. type: integer
  16183. deliverygoodsname:
  16184. description: 品种名称
  16185. type: string
  16186. endtime:
  16187. description: 结束日期
  16188. type: string
  16189. enumdicname:
  16190. description: 单位名称
  16191. type: string
  16192. executeside:
  16193. description: 步骤执行方 - 1:买方 2:卖方
  16194. type: integer
  16195. handlestatus:
  16196. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  16197. type: integer
  16198. isauto:
  16199. description: 是否自动 - 0:不自动 1:自动
  16200. type: integer
  16201. islastreceivestep:
  16202. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  16203. type: integer
  16204. minivalue:
  16205. description: 现货商品最小变动值
  16206. type: integer
  16207. optioncompare:
  16208. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16209. type: string
  16210. overdays:
  16211. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  16212. type: integer
  16213. performancestepid:
  16214. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  16215. type: string
  16216. planid:
  16217. description: 所属履约计划ID
  16218. type: string
  16219. realamount:
  16220. description: 实际完成金额
  16221. type: number
  16222. relatedorderid:
  16223. description: 关联单号
  16224. type: string
  16225. remaindays:
  16226. description: 剩余天数
  16227. type: integer
  16228. remark:
  16229. description: 错误备注
  16230. type: string
  16231. starttime:
  16232. description: 开始日期
  16233. type: string
  16234. stepamount:
  16235. description: 步骤金额
  16236. type: number
  16237. stepdays:
  16238. description: 距离上一步天数(分钟)
  16239. type: integer
  16240. stepindex:
  16241. description: 步骤序号
  16242. type: integer
  16243. steplanchtype:
  16244. description: 步骤启动类型 - 1:系统自动 2:手动
  16245. type: integer
  16246. stepremark:
  16247. description: 步骤备注
  16248. type: string
  16249. stepstatus:
  16250. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  16251. type: integer
  16252. steptypeid:
  16253. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16254. type: integer
  16255. steptypename:
  16256. description: 步骤名称
  16257. type: string
  16258. stepvalue:
  16259. description: 步骤值
  16260. type: number
  16261. warehouseid:
  16262. description: 仓库ID
  16263. type: integer
  16264. warehousename:
  16265. description: 仓库名称
  16266. type: string
  16267. wrfactortypeid:
  16268. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16269. type: string
  16270. wrfactortypename:
  16271. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16272. type: string
  16273. wrstandardcode:
  16274. description: 现货商品代码
  16275. type: string
  16276. wrstandardid:
  16277. description: 现货商品ID
  16278. type: integer
  16279. wrstandardname:
  16280. description: 商品名称
  16281. type: string
  16282. wrtypename:
  16283. description: 商品
  16284. type: string
  16285. type: object
  16286. models.WrPerformanceStepType:
  16287. properties:
  16288. canauto:
  16289. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16290. type: integer
  16291. steptypeid:
  16292. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16293. type: integer
  16294. steptypename:
  16295. description: 步骤类型名称
  16296. type: string
  16297. type: object
  16298. models.WrPerformanceTemplateEx:
  16299. properties:
  16300. autoid:
  16301. description: AutoID 模板id
  16302. type: integer
  16303. createtime:
  16304. description: 创建时间
  16305. type: string
  16306. creatorid:
  16307. description: 创建人
  16308. type: integer
  16309. lstStep:
  16310. description: 步骤信息列表
  16311. items:
  16312. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16313. type: array
  16314. paymenttype:
  16315. description: 支付方式 - 1:冻结 2:扣款
  16316. type: integer
  16317. takemode:
  16318. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16319. type: integer
  16320. templatename:
  16321. description: 模板名称
  16322. type: string
  16323. templatetype:
  16324. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16325. type: integer
  16326. userid:
  16327. description: 所属用户
  16328. type: integer
  16329. type: object
  16330. models.WrPosition:
  16331. properties:
  16332. accountid:
  16333. description: 帐户ID
  16334. type: integer
  16335. buyexcuteqty:
  16336. description: 采购履约中数量
  16337. type: number
  16338. creditcurqty:
  16339. description: 授信当前数量(预售仓单:预售当前量)
  16340. type: number
  16341. creditenableqty:
  16342. description: '授信可用数量(预售仓单: 可用数量)'
  16343. type: number
  16344. creditfreezeqty:
  16345. description: '授信冻结数量(预售仓单: 当前数量)'
  16346. type: number
  16347. credittotalqty:
  16348. description: 授信总数量(预售仓单:预售总量)
  16349. type: number
  16350. credittradeqty:
  16351. description: 授信成交数量(预售仓单:成交总量)
  16352. type: number
  16353. deliverygoodscode:
  16354. description: 品种代码
  16355. type: string
  16356. deliverygoodsid:
  16357. description: 品种ID
  16358. type: integer
  16359. deliverygoodsname:
  16360. description: 品种名称
  16361. type: string
  16362. enalbeqty:
  16363. description: 可用数量
  16364. type: number
  16365. enumdicname:
  16366. description: 单位名称
  16367. type: string
  16368. freezeqty:
  16369. description: 总冻结数量
  16370. type: number
  16371. haswr:
  16372. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16373. type: integer
  16374. minivalue:
  16375. description: 现货商品最小变动值
  16376. type: integer
  16377. modifytime:
  16378. description: 修改时间(过户时间)
  16379. type: string
  16380. optioncompare:
  16381. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16382. type: string
  16383. pledgeqty:
  16384. description: 质押数量
  16385. type: number
  16386. querytype:
  16387. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16388. type: integer
  16389. sellexcuteqty:
  16390. description: 销售履约中数量
  16391. type: number
  16392. totalqty:
  16393. description: 总数量(库存数量)
  16394. type: number
  16395. warehouseid:
  16396. description: 仓库ID
  16397. type: integer
  16398. warehousename:
  16399. description: 仓库名称
  16400. type: string
  16401. wrfactortypeid:
  16402. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16403. type: string
  16404. wrfactortypename:
  16405. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16406. type: string
  16407. wrpositionid:
  16408. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16409. type: string
  16410. wrpositionno:
  16411. description: 仓单编号
  16412. type: string
  16413. wrstandardcode:
  16414. description: 现货商品代码
  16415. type: string
  16416. wrstandardid:
  16417. description: 现货商品ID
  16418. type: integer
  16419. wrstandardname:
  16420. description: 商品名称
  16421. type: string
  16422. wrtypename:
  16423. description: 商品
  16424. type: string
  16425. wruserid:
  16426. description: 持有人ID
  16427. type: integer
  16428. type: object
  16429. models.WrQuoteOrderMyq:
  16430. properties:
  16431. buyorsell:
  16432. description: 买卖 - 0:买 1:卖
  16433. type: integer
  16434. canbargain:
  16435. description: 是否可议价 - 0:不可 1:可
  16436. type: integer
  16437. canpart:
  16438. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16439. type: integer
  16440. delistminqty:
  16441. description: 起摘数量
  16442. type: number
  16443. deliverygoodscode:
  16444. description: 品种代码
  16445. type: string
  16446. deliverygoodsid:
  16447. description: 品种ID
  16448. type: integer
  16449. deliverygoodsname:
  16450. description: 品种名称
  16451. type: string
  16452. deliverymonth:
  16453. description: 交收月
  16454. type: string
  16455. enumdicname:
  16456. description: 单位名称
  16457. type: string
  16458. fixedprice:
  16459. description: 买(卖)价
  16460. type: number
  16461. goodscode:
  16462. description: 商品合约代码
  16463. type: string
  16464. marginflag:
  16465. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16466. type: integer
  16467. marginvalue:
  16468. description: 保证金设置值
  16469. type: number
  16470. minivalue:
  16471. description: 现货商品最小变动值
  16472. type: integer
  16473. orderqty:
  16474. description: 买(卖)量(=委托量-成交量)
  16475. type: number
  16476. ordertime:
  16477. description: 委托时间
  16478. type: string
  16479. performancetemplateid:
  16480. description: 履约模板id
  16481. type: integer
  16482. pricemove:
  16483. description: 买(卖)升贴水- 基差
  16484. type: number
  16485. templatename:
  16486. description: 履约模板名称
  16487. type: string
  16488. userid:
  16489. description: 购买方(销售方)用户ID
  16490. type: integer
  16491. username:
  16492. description: 购买方(销售方)
  16493. type: string
  16494. validtime:
  16495. description: 有效期限
  16496. type: string
  16497. validtype:
  16498. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16499. type: integer
  16500. warehousename:
  16501. description: 仓库名称
  16502. type: string
  16503. wrfactortypeid:
  16504. description: 仓单要素id
  16505. type: string
  16506. wrstandardcode:
  16507. description: 现货商品代码
  16508. type: string
  16509. wrstandardid:
  16510. description: 现货商品ID
  16511. type: integer
  16512. wrstandardname:
  16513. description: 商品名称
  16514. type: string
  16515. wrtradeorderid:
  16516. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16517. type: string
  16518. wrtypename:
  16519. description: 商品
  16520. type: string
  16521. type: object
  16522. models.WrScfContract:
  16523. properties:
  16524. borroweruserid:
  16525. description: 借款用户ID
  16526. type: integer
  16527. buybackwrpositionqty:
  16528. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16529. type: number
  16530. closeinterest:
  16531. description: 已结利息 -> 已结费用
  16532. type: number
  16533. currisklevel:
  16534. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16535. type: integer
  16536. deadline:
  16537. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16538. type: string
  16539. deliverygoodscode:
  16540. description: 品种代码
  16541. type: string
  16542. deliverygoodsid:
  16543. description: 品种ID
  16544. type: integer
  16545. deliverygoodsname:
  16546. description: 品种名称
  16547. type: string
  16548. enumdicname:
  16549. description: 单位名称
  16550. type: string
  16551. financingdays:
  16552. description: 天数(天)
  16553. type: integer
  16554. initmargin:
  16555. description: 保证金 - [仓单回购]
  16556. type: number
  16557. interestamount:
  16558. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16559. type: number
  16560. interestdebt:
  16561. description: 利息欠款(记录负数) -> 费用欠款
  16562. type: number
  16563. interestminlen:
  16564. description: 最小起息天数
  16565. type: integer
  16566. interestrate:
  16567. description: 利率
  16568. type: number
  16569. interestratemode:
  16570. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16571. type: integer
  16572. interestsettlemode:
  16573. description: 结息方式 - 1:按日结息 3:按月结息
  16574. type: integer
  16575. interestsettlevalue:
  16576. description: 结息方式值
  16577. type: integer
  16578. isautoloan:
  16579. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16580. type: integer
  16581. lastcloseinterestday:
  16582. description: 最近结息日(yyyyMMdd)
  16583. type: string
  16584. lenderamount:
  16585. description: 贷款金额 -> 借款金额
  16586. type: number
  16587. lenderuserid:
  16588. description: 贷款方用户ID -> 融出方用户ID
  16589. type: integer
  16590. lenderusername:
  16591. description: 融出方
  16592. type: string
  16593. marginratio:
  16594. description: 保证金比率质押率 - [仓单质押]
  16595. type: number
  16596. marketid:
  16597. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16598. type: integer
  16599. minivalue:
  16600. description: 现货商品最小变动值
  16601. type: integer
  16602. optioncompare:
  16603. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16604. type: string
  16605. pricemove:
  16606. description: 估值升贴水值
  16607. type: number
  16608. productdetailid:
  16609. description: 产品组合ID
  16610. type: integer
  16611. productid:
  16612. description: 金融产品ID
  16613. type: integer
  16614. productname:
  16615. description: 产品名称
  16616. type: string
  16617. remainamount:
  16618. description: 合同剩余金额 -> 剩余金额
  16619. type: number
  16620. remainwrpositionqty:
  16621. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16622. type: number
  16623. remark:
  16624. description: 备注
  16625. type: string
  16626. scfcontractid:
  16627. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16628. type: string
  16629. scfcontractstatus:
  16630. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  16631. type: integer
  16632. scfcontracttype:
  16633. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16634. type: integer
  16635. startinterestday:
  16636. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16637. type: string
  16638. totalinterest:
  16639. description: 已计利息 -> 已计费用
  16640. type: number
  16641. unpaidinterest:
  16642. description: 未结费用
  16643. type: number
  16644. updatetime:
  16645. description: 更新时间
  16646. type: string
  16647. warehouseid:
  16648. description: 仓库ID
  16649. type: integer
  16650. warehousename:
  16651. description: 仓库名称
  16652. type: string
  16653. wrfactortypeid:
  16654. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16655. type: string
  16656. wrfactortypename:
  16657. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16658. type: string
  16659. wrqty:
  16660. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16661. type: number
  16662. wrstandardcode:
  16663. description: 现货商品代码
  16664. type: string
  16665. wrstandardid:
  16666. description: 现货商品ID
  16667. type: integer
  16668. wrstandardname:
  16669. description: 商品名称
  16670. type: string
  16671. wrtypename:
  16672. description: 商品
  16673. type: string
  16674. type: object
  16675. models.WrScfContractInterest:
  16676. properties:
  16677. closeinterest:
  16678. description: 已结利息
  16679. type: number
  16680. closeintereststatus:
  16681. description: 结息状态 - 1:未结 2:已结
  16682. type: integer
  16683. closetime:
  16684. description: 结息时间
  16685. type: string
  16686. closetradedate:
  16687. description: 结息交易日
  16688. type: string
  16689. creatorid:
  16690. description: 操作人ID
  16691. type: integer
  16692. dayrate:
  16693. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16694. type: number
  16695. interest:
  16696. description: 利息
  16697. type: number
  16698. interestamount:
  16699. description: 计息金额
  16700. type: number
  16701. interestday:
  16702. description: 计息日(yyyyMMdd)
  16703. type: string
  16704. scfcontractid:
  16705. description: SCF合同ID
  16706. type: string
  16707. scfcontractinterestid:
  16708. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16709. type: integer
  16710. updatetime:
  16711. description: 更新时间
  16712. type: string
  16713. type: object
  16714. models.WrSiteColumnDetail:
  16715. properties:
  16716. brief:
  16717. description: 简介
  16718. type: string
  16719. context:
  16720. description: 内容
  16721. type: string
  16722. coverimage:
  16723. description: 封面图片
  16724. type: string
  16725. creaedate:
  16726. description: 创建时间
  16727. type: string
  16728. id:
  16729. description: ID(SEQ_SITE_COLUMNDETAIL)
  16730. type: integer
  16731. istop:
  16732. description: 是否置顶 - 0:不置 1:置顶
  16733. type: integer
  16734. publishdate:
  16735. description: 发布日期
  16736. type: string
  16737. title:
  16738. description: 标题
  16739. type: string
  16740. updatedate:
  16741. description: 修改时间
  16742. type: string
  16743. type: object
  16744. models.WrSpecialMatchOrder:
  16745. properties:
  16746. amount:
  16747. description: 金额 = 数量 * 价格
  16748. type: number
  16749. buyorsell:
  16750. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16751. type: integer
  16752. cancelqty:
  16753. description: 撤销数量
  16754. type: number
  16755. deliverygoodscode:
  16756. description: 品种代码
  16757. type: string
  16758. deliverygoodsid:
  16759. description: 品种ID
  16760. type: integer
  16761. deliverygoodsname:
  16762. description: 品种名称
  16763. type: string
  16764. enumdicname:
  16765. description: 单位名称
  16766. type: string
  16767. fixedprice:
  16768. description: 固定价格(价格)
  16769. type: number
  16770. haswr:
  16771. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16772. type: integer
  16773. isspecified:
  16774. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  16775. type: integer
  16776. marketid:
  16777. description: 市场ID
  16778. type: integer
  16779. matchuserid:
  16780. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16781. type: integer
  16782. matchusername:
  16783. description: 指定方
  16784. type: string
  16785. minivalue:
  16786. description: 现货商品最小变动值
  16787. type: integer
  16788. optioncompare:
  16789. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16790. type: string
  16791. orderqty:
  16792. description: 委托数量
  16793. type: number
  16794. ordertime:
  16795. description: 委托时间
  16796. type: string
  16797. pricemove:
  16798. description: 升贴水(浮动价时填写) - [挂牌]
  16799. type: number
  16800. tradedate:
  16801. description: 交易日(yyyyMMdd)
  16802. type: string
  16803. tradeprice:
  16804. description: 成交价格
  16805. type: number
  16806. tradeqty:
  16807. description: 成交数量
  16808. type: number
  16809. userid:
  16810. description: 用户ID
  16811. type: integer
  16812. username:
  16813. description: 发起方
  16814. type: string
  16815. warehouseid:
  16816. description: 仓库ID
  16817. type: integer
  16818. warehousename:
  16819. description: 仓库名称
  16820. type: string
  16821. wrfactortypeid:
  16822. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16823. type: string
  16824. wrfactortypename:
  16825. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16826. type: string
  16827. wrpricetype:
  16828. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16829. type: integer
  16830. wrstandardcode:
  16831. description: 现货商品代码
  16832. type: string
  16833. wrstandardid:
  16834. description: 现货商品ID
  16835. type: integer
  16836. wrstandardname:
  16837. description: 商品名称
  16838. type: string
  16839. wrtradeorderid:
  16840. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16841. type: string
  16842. wrtradeorderstatus:
  16843. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16844. type: integer
  16845. wrtradetype:
  16846. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16847. type: integer
  16848. wrtypename:
  16849. description: 商品
  16850. type: string
  16851. type: object
  16852. models.WrSpotGroupTradeSum:
  16853. properties:
  16854. deliverygoodscode:
  16855. description: 现货品种代码
  16856. type: string
  16857. deliverygoodsid:
  16858. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16859. type: integer
  16860. deliverygoodsname:
  16861. description: 现货品种名称
  16862. type: string
  16863. lastavgprice:
  16864. description: 上上个交易日价格(前2天价格)
  16865. type: string
  16866. lastreckondate:
  16867. description: 上上个交易日(前2天交易日)
  16868. type: string
  16869. reckondate:
  16870. description: 上个交易日(前1天交易日)
  16871. type: string
  16872. todayavgprice:
  16873. description: 上个交易日价格(前1天价格)
  16874. type: string
  16875. updown:
  16876. description: 涨跌
  16877. type: string
  16878. updownratio:
  16879. description: 涨幅(已格式化, 直接显示即可)
  16880. type: string
  16881. type: object
  16882. models.WrSpotGroupTradeSumDetail:
  16883. properties:
  16884. deliverygoodsid:
  16885. description: 现货商品id
  16886. type: integer
  16887. price:
  16888. description: 价格
  16889. type: number
  16890. reckondate:
  16891. description: 日期(yyymmdd, 如:20211031)
  16892. type: string
  16893. type: object
  16894. models.WrSpotGroupTradeSumEx:
  16895. properties:
  16896. lst:
  16897. description: 指数列表
  16898. items:
  16899. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  16900. type: array
  16901. prereckondate:
  16902. description: 上上个交易日(yyymmdd)
  16903. type: string
  16904. reckondate:
  16905. description: 上个交易日(yyyymmdd)
  16906. type: string
  16907. type: object
  16908. models.WrStandardFactoryItem:
  16909. properties:
  16910. dgfactoryitemid:
  16911. description: 选择项id
  16912. type: integer
  16913. dgfactoryitemvalue:
  16914. description: 要素项值
  16915. type: string
  16916. warehouseid:
  16917. description: 仓库id
  16918. type: integer
  16919. type: object
  16920. models.WrStandardFactoryItemEx:
  16921. properties:
  16922. dgfactoryitemtypeid:
  16923. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16924. type: integer
  16925. itemlst:
  16926. description: 要素项列表
  16927. items:
  16928. $ref: '#/definitions/models.WrStandardFactoryItem'
  16929. type: array
  16930. itemtypename:
  16931. description: 要素项类型名称
  16932. type: string
  16933. wrstandardid:
  16934. description: 品类
  16935. type: integer
  16936. type: object
  16937. models.WrTradeDetail:
  16938. properties:
  16939. accountid:
  16940. description: 资金账号
  16941. type: integer
  16942. begindate:
  16943. description: 开始交易日(yyyymmdd)
  16944. type: string
  16945. buyorsell:
  16946. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16947. type: integer
  16948. chargevalue:
  16949. description: 手续费
  16950. type: number
  16951. deliverygoodscode:
  16952. description: 品种代码
  16953. type: string
  16954. deliverygoodsid:
  16955. description: 品种ID
  16956. type: integer
  16957. deliverygoodsname:
  16958. description: 品种名称
  16959. type: string
  16960. deliverymonth:
  16961. description: 交收月
  16962. type: string
  16963. enddate:
  16964. description: 结束交易日(yyyymmdd)
  16965. type: string
  16966. enumdicname:
  16967. description: 单位名称
  16968. type: string
  16969. haswr:
  16970. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16971. type: integer
  16972. marketid:
  16973. description: 市场ID
  16974. type: integer
  16975. matchaccountid:
  16976. description: 对手账号
  16977. type: integer
  16978. matchusername:
  16979. description: 对手方
  16980. type: string
  16981. minivalue:
  16982. description: 现货商品最小变动值
  16983. type: integer
  16984. optioncompare:
  16985. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16986. type: string
  16987. tradedate:
  16988. description: 交易日(yyyyMMdd)
  16989. type: string
  16990. tradeprice:
  16991. description: 成交价格
  16992. type: number
  16993. tradeqty:
  16994. description: 成交数量
  16995. type: number
  16996. tradetime:
  16997. description: 成交时间
  16998. type: string
  16999. userid:
  17000. description: 用户ID
  17001. type: integer
  17002. warehouseid:
  17003. description: 仓库ID
  17004. type: integer
  17005. warehousename:
  17006. description: 仓库名称
  17007. type: string
  17008. wrfactortypeid:
  17009. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17010. type: string
  17011. wrfactortypename:
  17012. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17013. type: string
  17014. wrstandardcode:
  17015. description: 现货商品代码
  17016. type: string
  17017. wrstandardid:
  17018. description: 现货商品ID
  17019. type: integer
  17020. wrstandardname:
  17021. description: 商品名称
  17022. type: string
  17023. wrtradedetailid:
  17024. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17025. type: string
  17026. wrtradetype:
  17027. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17028. type: integer
  17029. wrtypename:
  17030. description: 商品
  17031. type: string
  17032. type: object
  17033. models.WrTradeOrderDetail:
  17034. properties:
  17035. buyorsell:
  17036. description: 买卖方向 0-买 1-卖
  17037. type: integer
  17038. goodsid:
  17039. description: 商品id
  17040. type: integer
  17041. orderid:
  17042. description: 委托单号
  17043. type: string
  17044. orderprice:
  17045. description: 委托价格
  17046. type: number
  17047. orderqty:
  17048. description: 委托数量
  17049. type: integer
  17050. userid:
  17051. description: 用户id
  17052. type: integer
  17053. username:
  17054. description: 用户名称(已脱敏)
  17055. type: string
  17056. type: object
  17057. models.WrTypeItem:
  17058. properties:
  17059. name:
  17060. description: 名称
  17061. type: string
  17062. value:
  17063. description: 值
  17064. type: string
  17065. type: object
  17066. models.WrUserFriend:
  17067. properties:
  17068. friendname:
  17069. description: 朋友名称(已脱敏)
  17070. type: string
  17071. frienduserid:
  17072. description: 朋友id
  17073. type: integer
  17074. isfriend:
  17075. description: 是否好友 0-不是 1-是
  17076. type: integer
  17077. userid:
  17078. description: 用户id
  17079. type: integer
  17080. type: object
  17081. models.WrUserReceiptInfo:
  17082. properties:
  17083. address:
  17084. description: 地址[发票类型:企业]
  17085. type: string
  17086. autoid:
  17087. description: AutoID
  17088. type: integer
  17089. contactinfo:
  17090. description: 联系方式
  17091. type: string
  17092. idnum:
  17093. description: 身份证号码[发票类型:个人]
  17094. type: string
  17095. isdefault:
  17096. description: 是否默认地址 - 0:否 1:是
  17097. type: integer
  17098. receiptaccount:
  17099. description: 发票帐号[发票类型:企业]
  17100. type: string
  17101. receiptbank:
  17102. description: 发票开户行[发票类型:企业]
  17103. type: string
  17104. receipttype:
  17105. description: 发票类型 - 1:个人 2:企业
  17106. type: integer
  17107. taxpayerid:
  17108. description: 纳税人识别号
  17109. type: string
  17110. userid:
  17111. description: 用户ID
  17112. type: integer
  17113. username:
  17114. description: 户名(个人姓名或企业名称)
  17115. type: string
  17116. type: object
  17117. models.XHBRAND:
  17118. properties:
  17119. brandid:
  17120. description: 品牌id
  17121. type: integer
  17122. brandname:
  17123. description: 品牌名称
  17124. type: string
  17125. isvalid:
  17126. description: 是否有效 0-无效 1-有效
  17127. type: integer
  17128. type: object
  17129. models.XHDeliveryGoods:
  17130. properties:
  17131. areauserid:
  17132. description: 所属机构
  17133. type: integer
  17134. bdlst:
  17135. description: 品牌列表
  17136. items:
  17137. $ref: '#/definitions/models.XHBRAND'
  17138. type: array
  17139. deliverygoodscode:
  17140. description: 现货品种代码
  17141. type: string
  17142. deliverygoodsid:
  17143. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17144. type: integer
  17145. deliverygoodsname:
  17146. description: 现货品种名称
  17147. type: string
  17148. dgstatus:
  17149. description: 品种状态 - 作废 - 0:未激活 1:正常
  17150. type: integer
  17151. isvalid:
  17152. description: 是否有效 - 0:无效 1:有效
  17153. type: integer
  17154. remark:
  17155. description: 备注
  17156. type: string
  17157. unitid:
  17158. description: 单位id(目前看,数据库中是空值)
  17159. type: integer
  17160. wdlst:
  17161. description: 品类(现货商品)列表
  17162. items:
  17163. $ref: '#/definitions/models.XHWrstandard'
  17164. type: array
  17165. type: object
  17166. models.XHMiddleGoods:
  17167. properties:
  17168. GPLST:
  17169. description: 期货品种列表
  17170. items:
  17171. $ref: '#/definitions/models.TBGoodsGroup'
  17172. type: array
  17173. convertratio:
  17174. description: 拆算系数
  17175. type: number
  17176. costratio:
  17177. description: 成本权重
  17178. type: number
  17179. deliverygoodsid:
  17180. description: 现货商品id
  17181. type: integer
  17182. enumdicname:
  17183. description: 单位名称
  17184. type: string
  17185. middlegoodscode:
  17186. description: 套保品种代码
  17187. type: string
  17188. middlegoodsid:
  17189. description: 套保品种id
  17190. type: integer
  17191. middlegoodsname:
  17192. description: 套保品种名称
  17193. type: string
  17194. unitid:
  17195. description: 单位id
  17196. type: integer
  17197. type: object
  17198. models.XHWrstandard:
  17199. properties:
  17200. deliverygoodsid:
  17201. description: 品种ID
  17202. type: integer
  17203. enumdicname:
  17204. description: 单位名称
  17205. type: string
  17206. mglst:
  17207. description: 套保品列表
  17208. items:
  17209. $ref: '#/definitions/models.XHMiddleGoods'
  17210. type: array
  17211. unitid:
  17212. description: 单位id
  17213. type: integer
  17214. vatrate:
  17215. description: 增值税率
  17216. type: number
  17217. wrstandardcode:
  17218. description: 现货商品代码
  17219. type: string
  17220. wrstandardid:
  17221. description: 现货商品ID(SEQ_WRSTANDARD)
  17222. type: integer
  17223. wrstandardname:
  17224. description: 现货商品名称
  17225. type: string
  17226. type: object
  17227. order.QueryHisTradeDetailRsp:
  17228. properties:
  17229. accountid:
  17230. description: 账户ID[报价币种]
  17231. type: integer
  17232. advanceratio:
  17233. description: 首付比率
  17234. type: number
  17235. buildtype:
  17236. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17237. type: integer
  17238. buyorsell:
  17239. description: 方向 - 0:买 1:卖
  17240. type: integer
  17241. charge:
  17242. description: 手续费
  17243. type: number
  17244. closecharge:
  17245. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17246. type: number
  17247. closeexchagechargevalue:
  17248. description: 平仓交易所手续费设置值
  17249. type: number
  17250. closefeealgorithm:
  17251. description: 平仓手续费收取方式 1:比率 2:固定
  17252. type: integer
  17253. closememberchargevalue:
  17254. description: 平仓会员手续费设置值
  17255. type: number
  17256. closepl:
  17257. description: 平仓盈亏
  17258. type: number
  17259. closepl2:
  17260. description: 平仓盈亏[逐笔]
  17261. type: number
  17262. closeqty:
  17263. description: 平仓数量(先建后平操作 需要记录)
  17264. type: number
  17265. creditamount:
  17266. description: 授信金额
  17267. type: number
  17268. decimalplace:
  17269. description: 商品报价小数位
  17270. type: integer
  17271. enumdicname:
  17272. description: 单位名称
  17273. type: string
  17274. gcaccountid:
  17275. description: 账户ID[合约币种]
  17276. type: integer
  17277. goodscode:
  17278. description: 商品代码
  17279. type: string
  17280. goodsid:
  17281. description: 商品ID
  17282. type: integer
  17283. goodsname:
  17284. description: 商品名称
  17285. type: string
  17286. goodunitid:
  17287. description: 商品单位id
  17288. type: integer
  17289. histradedate:
  17290. description: 历史交易日
  17291. type: string
  17292. intclosepl:
  17293. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17294. type: integer
  17295. isconfirmexercise:
  17296. description: 是否确认行权- 0:否 1:是
  17297. type: integer
  17298. ismain:
  17299. description: 是否主单 - 0:不是 1:是
  17300. type: integer
  17301. ispreexercise:
  17302. description: 是否预申报- 0:否 1:是
  17303. type: integer
  17304. isreckoned:
  17305. description: 是否结算 - 0:未结算 1:已结算
  17306. type: integer
  17307. isvaliddata:
  17308. description: 是否有效 - 0:无效 1:有效
  17309. type: integer
  17310. listingselecttype:
  17311. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17312. type: integer
  17313. marketid:
  17314. description: 市场ID
  17315. type: integer
  17316. marketname:
  17317. description: 市场名称
  17318. type: string
  17319. matchaccountid:
  17320. description: 对手账号id
  17321. type: integer
  17322. memberuserid:
  17323. description: 会员id 个人投资者 需要填写
  17324. type: integer
  17325. opencharge:
  17326. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17327. type: number
  17328. openexchagechargevalue:
  17329. description: 建仓交易所手续费设置值
  17330. type: number
  17331. openfeealgorithm:
  17332. description: 建仓手续费收取方式 1:比率 2:固定
  17333. type: integer
  17334. openmemberchargevalue:
  17335. description: 建仓会员手续费设置值
  17336. type: number
  17337. openqty:
  17338. description: 开仓数量(先建后平操作 需要记录)
  17339. type: number
  17340. optiontype:
  17341. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17342. type: integer
  17343. orderid:
  17344. description: 委托单号
  17345. type: string
  17346. payamount:
  17347. description: 支付金额(付款金额)
  17348. type: number
  17349. performanceplanid:
  17350. description: 履约计划ID[期权]
  17351. type: integer
  17352. performancestatus:
  17353. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17354. type: integer
  17355. preexerciseprice:
  17356. description: 预申报价格
  17357. type: number
  17358. premium:
  17359. description: 权利金 - [持仓单的权利金]
  17360. type: number
  17361. qtydecimalplace:
  17362. description: 商品报价小数位
  17363. type: integer
  17364. recvamount:
  17365. description: 到账金额 = 成交金额 - 手续费
  17366. type: number
  17367. relatedouttradeid:
  17368. description: 关联外部成交单ID
  17369. type: integer
  17370. status:
  17371. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17372. type: integer
  17373. totalamount:
  17374. description: 订单总额 = 成交金额 + 手续费
  17375. type: number
  17376. tradeamount:
  17377. description: 成交金额[账户币种,用于所有权]
  17378. type: number
  17379. tradedate:
  17380. description: 交易日(yyyyMMdd)
  17381. type: string
  17382. tradeid:
  17383. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17384. type: string
  17385. trademode:
  17386. description: 交易模式
  17387. type: integer
  17388. tradeprice:
  17389. description: 成交价格
  17390. type: number
  17391. tradeproperty:
  17392. description: 交易属性
  17393. type: integer
  17394. tradeqty:
  17395. description: 成交数量
  17396. type: number
  17397. tradetime:
  17398. description: 成交时间
  17399. type: string
  17400. tradetype:
  17401. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17402. type: integer
  17403. required:
  17404. - accountid
  17405. - buyorsell
  17406. - goodsid
  17407. - histradedate
  17408. - marketid
  17409. - memberuserid
  17410. - orderid
  17411. - tradeamount
  17412. - tradedate
  17413. - tradeid
  17414. - tradeprice
  17415. - tradeqty
  17416. - tradetime
  17417. type: object
  17418. order.QueryHisTradeOrderDetailRsp:
  17419. properties:
  17420. accountid:
  17421. description: 账户ID[报价币种]
  17422. type: integer
  17423. buildtype:
  17424. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17425. type: integer
  17426. buyorsell:
  17427. description: 买卖 - 0:买 1:卖
  17428. type: integer
  17429. cancelorderid:
  17430. description: 撤单单号(撤单时填写)
  17431. type: string
  17432. cancelqty:
  17433. description: 撤单数量
  17434. type: number
  17435. clientordertime:
  17436. description: 客户端委托时间
  17437. type: string
  17438. clientticket:
  17439. description: 客户端流水号
  17440. type: string
  17441. clienttype:
  17442. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17443. type: integer
  17444. closeexchagechargevalue:
  17445. description: 平仓交易所手续费设置值
  17446. type: number
  17447. closefeealgorithm:
  17448. description: 平仓手续费收取方式 1:比率 2:固定
  17449. type: integer
  17450. closefreezecharge:
  17451. description: 平仓冻结手续费(先建后平操作,需要记录)
  17452. type: number
  17453. closememberchargevalue:
  17454. description: 平仓会员手续费设置值
  17455. type: number
  17456. closeqty:
  17457. description: 平仓数量(先建后平操作 需要记录)
  17458. type: number
  17459. closetradeqty:
  17460. description: 平仓成交数量(先建后平操作,需要记录)
  17461. type: number
  17462. closeunfreezecharge:
  17463. description: 平仓解冻手续费(先建后平操作,需要记录)
  17464. type: number
  17465. decimalplace:
  17466. description: 商品报价小数位
  17467. type: integer
  17468. delistingtype:
  17469. description: 摘牌类型 - 1:价格最优 2:点选成交
  17470. type: integer
  17471. enumdicname:
  17472. description: 单位名称
  17473. type: string
  17474. freezecharge:
  17475. description: 冻结手续费
  17476. type: number
  17477. freezemargin:
  17478. description: 冻结保证金(冻结交易金额)
  17479. type: number
  17480. gcaccountid:
  17481. description: 账户ID[合约币种]
  17482. type: integer
  17483. goodscode:
  17484. description: 商品代码
  17485. type: string
  17486. goodsid:
  17487. description: 商品ID
  17488. type: integer
  17489. goodsname:
  17490. description: 商品名称
  17491. type: string
  17492. goodunitid:
  17493. description: 商品单位id
  17494. type: integer
  17495. histradedate:
  17496. description: 历史交易日
  17497. type: string
  17498. isconfirmexercise:
  17499. description: 是否确认行权- 0:否 1:是
  17500. type: integer
  17501. ispreexercise:
  17502. description: 是否预申报- 0:否 1:是
  17503. type: integer
  17504. isvaliddata:
  17505. description: 是否有效 - 0:无效 1:有效
  17506. type: integer
  17507. listingselecttype:
  17508. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17509. type: integer
  17510. marginalgorithm:
  17511. description: 保证金收取方式 1:比率 2:固定
  17512. type: integer
  17513. marginvalue:
  17514. description: 即市保证金设置值
  17515. type: number
  17516. marketid:
  17517. description: 市场ID
  17518. type: integer
  17519. marketmaxsub:
  17520. description: 市价最大偏移范围
  17521. type: number
  17522. marketname:
  17523. description: 市场名称
  17524. type: string
  17525. memberuserid:
  17526. description: 所属会员UserID
  17527. type: integer
  17528. openexchagechargevalue:
  17529. description: 建仓交易所手续费设置值
  17530. type: number
  17531. openfeealgorithm:
  17532. description: 建仓手续费收取方式 1:比率 2:固定
  17533. type: integer
  17534. openfreezecharge:
  17535. description: 开仓冻结手续费(先建后平操作,需要记录)
  17536. type: number
  17537. openmemberchargevalue:
  17538. description: 建仓会员手续费设置值
  17539. type: number
  17540. openqty:
  17541. description: 开仓数量(先建后平操作,需要记录)
  17542. type: number
  17543. opentradeqty:
  17544. description: 开仓成交数量(先建后平操作,需要记录)
  17545. type: number
  17546. openunfreezecharge:
  17547. description: 开仓解冻手续费(先建后平操作,需要记录)
  17548. type: number
  17549. operatetype:
  17550. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17551. type: integer
  17552. operatorid:
  17553. description: 登录账号(LoginID)
  17554. type: integer
  17555. optiontype:
  17556. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17557. type: integer
  17558. orderid:
  17559. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17560. type: string
  17561. orderprice:
  17562. description: 委托价格
  17563. type: number
  17564. orderqty:
  17565. description: 委托数量
  17566. type: number
  17567. ordersrc:
  17568. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17569. type: integer
  17570. orderstatus:
  17571. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17572. type: integer
  17573. ordertime:
  17574. description: 委托时间
  17575. type: string
  17576. preexerciseprice:
  17577. description: 预申报价格
  17578. type: number
  17579. premium:
  17580. description: 权利金
  17581. type: number
  17582. preorderid:
  17583. description: 关联预埋单号(止盈止损单时填写)
  17584. type: string
  17585. pricemode:
  17586. description: '取价方式 - 1:市价 2: 限价'
  17587. type: integer
  17588. qtydecimalplace:
  17589. description: 成交量小数位
  17590. type: integer
  17591. quoteid:
  17592. description: 报价单ID
  17593. type: integer
  17594. relatedid:
  17595. description: 关联单号(交割单)
  17596. type: string
  17597. retcode:
  17598. description: 错误代码
  17599. type: integer
  17600. sessionid:
  17601. description: 会话ID
  17602. type: integer
  17603. tradedate:
  17604. description: 交易日(yyyyMMdd)
  17605. type: string
  17606. trademode:
  17607. description: 交易模式
  17608. type: integer
  17609. tradeproperty:
  17610. description: 交易属性
  17611. type: integer
  17612. tradeqty:
  17613. description: 成交数量
  17614. type: number
  17615. unfreezecharge:
  17616. description: 解冻手续费
  17617. type: number
  17618. unfreezemargin:
  17619. description: 解冻保证金
  17620. type: number
  17621. updatetime:
  17622. description: 更新时间
  17623. type: string
  17624. uuid:
  17625. description: 发起端唯一id
  17626. type: string
  17627. validtime:
  17628. description: 有效期限
  17629. type: string
  17630. validtype:
  17631. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17632. type: integer
  17633. volumetype:
  17634. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17635. type: integer
  17636. required:
  17637. - accountid
  17638. - buildtype
  17639. - buyorsell
  17640. - goodsid
  17641. - histradedate
  17642. - marketid
  17643. - memberuserid
  17644. - operatetype
  17645. - orderid
  17646. - orderqty
  17647. - ordertime
  17648. - pricemode
  17649. - tradedate
  17650. - validtype
  17651. type: object
  17652. order.QueryTradeDetailRsp:
  17653. properties:
  17654. accountid:
  17655. description: 账户ID[报价币种]
  17656. type: integer
  17657. advanceratio:
  17658. description: 首付比率
  17659. type: number
  17660. buildtype:
  17661. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17662. type: integer
  17663. buyorsell:
  17664. description: 方向 - 0:买 1:卖
  17665. type: integer
  17666. charge:
  17667. description: 手续费
  17668. type: number
  17669. closecharge:
  17670. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17671. type: number
  17672. closeexchagechargevalue:
  17673. description: 平仓交易所手续费设置值
  17674. type: number
  17675. closefeealgorithm:
  17676. description: 平仓手续费收取方式 1:比率 2:固定
  17677. type: integer
  17678. closememberchargevalue:
  17679. description: 平仓会员手续费设置值
  17680. type: number
  17681. closepl:
  17682. description: 平仓盈亏
  17683. type: number
  17684. closepl2:
  17685. description: 平仓盈亏[逐笔]
  17686. type: number
  17687. closeqty:
  17688. description: 平仓数量(先建后平操作 需要记录)
  17689. type: number
  17690. creditamount:
  17691. description: 授信金额
  17692. type: number
  17693. decimalplace:
  17694. description: 商品报价小数位
  17695. type: integer
  17696. enumdicname:
  17697. description: 单位名称
  17698. type: string
  17699. gcaccountid:
  17700. description: 账户ID[合约币种]
  17701. type: integer
  17702. goodscode:
  17703. description: 商品代码
  17704. type: string
  17705. goodsid:
  17706. description: 商品ID
  17707. type: integer
  17708. goodsname:
  17709. description: 商品名称
  17710. type: string
  17711. goodunitid:
  17712. description: 商品单位id
  17713. type: integer
  17714. intclosepl:
  17715. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17716. type: integer
  17717. isconfirmexercise:
  17718. description: 是否确认行权- 0:否 1:是
  17719. type: integer
  17720. ismain:
  17721. description: 是否主单 - 0:不是 1:是
  17722. type: integer
  17723. ispreexercise:
  17724. description: 是否预申报- 0:否 1:是
  17725. type: integer
  17726. isreckoned:
  17727. description: 是否结算 - 0:未结算 1:已结算
  17728. type: integer
  17729. listingselecttype:
  17730. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17731. type: integer
  17732. marketid:
  17733. description: 市场ID
  17734. type: integer
  17735. marketname:
  17736. description: 市场名称
  17737. type: string
  17738. matchaccountid:
  17739. description: 对手账号id
  17740. type: integer
  17741. memberuserid:
  17742. description: 会员id 个人投资者 需要填写
  17743. type: integer
  17744. opencharge:
  17745. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17746. type: number
  17747. openexchagechargevalue:
  17748. description: 建仓交易所手续费设置值
  17749. type: number
  17750. openfeealgorithm:
  17751. description: 建仓手续费收取方式 1:比率 2:固定
  17752. type: integer
  17753. openmemberchargevalue:
  17754. description: 建仓会员手续费设置值
  17755. type: number
  17756. openqty:
  17757. description: 开仓数量(先建后平操作 需要记录)
  17758. type: number
  17759. optiontype:
  17760. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17761. type: integer
  17762. orderid:
  17763. description: 委托单号
  17764. type: string
  17765. payamount:
  17766. description: 支付金额(付款金额)
  17767. type: number
  17768. performanceplanid:
  17769. description: 履约计划ID[期权]
  17770. type: integer
  17771. performancestatus:
  17772. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17773. type: integer
  17774. preexerciseprice:
  17775. description: 预申报价格
  17776. type: number
  17777. premium:
  17778. description: 权利金 - [持仓单的权利金]
  17779. type: number
  17780. qtydecimalplace:
  17781. description: 商品报价小数位
  17782. type: integer
  17783. recvamount:
  17784. description: 到账金额 = 成交金额 - 手续费
  17785. type: number
  17786. relatedouttradeid:
  17787. description: 关联外部成交单ID
  17788. type: integer
  17789. status:
  17790. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17791. type: integer
  17792. totalamount:
  17793. description: 订单总额 = 成交金额 + 手续费
  17794. type: number
  17795. tradeamount:
  17796. description: 成交金额[账户币种,用于所有权]
  17797. type: number
  17798. tradedate:
  17799. description: 交易日(yyyyMMdd)
  17800. type: string
  17801. tradeid:
  17802. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17803. type: string
  17804. trademode:
  17805. description: 交易模式
  17806. type: integer
  17807. tradeprice:
  17808. description: 成交价格
  17809. type: number
  17810. tradeproperty:
  17811. description: 交易属性
  17812. type: integer
  17813. tradeqty:
  17814. description: 成交数量
  17815. type: number
  17816. tradetime:
  17817. description: 成交时间
  17818. type: string
  17819. tradetype:
  17820. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17821. type: integer
  17822. required:
  17823. - accountid
  17824. - buyorsell
  17825. - goodsid
  17826. - marketid
  17827. - memberuserid
  17828. - orderid
  17829. - tradeamount
  17830. - tradedate
  17831. - tradeid
  17832. - tradeprice
  17833. - tradeqty
  17834. - tradetime
  17835. type: object
  17836. order.QueryTradeOrderDetailRsp:
  17837. properties:
  17838. accountid:
  17839. description: 账户ID[报价币种]
  17840. type: integer
  17841. buildtype:
  17842. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17843. type: integer
  17844. buyorsell:
  17845. description: 买卖 - 0:买 1:卖
  17846. type: integer
  17847. cancelorderid:
  17848. description: 撤单单号(撤单时填写)
  17849. type: string
  17850. cancelqty:
  17851. description: 撤单数量
  17852. type: number
  17853. clienttype:
  17854. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17855. type: integer
  17856. closefreezecharge:
  17857. description: 平仓冻结手续费(先建后平操作,需要记录)
  17858. type: number
  17859. closeqty:
  17860. description: 平仓数量(先建后平操作 需要记录)
  17861. type: number
  17862. closetradeqty:
  17863. description: 平仓成交数量(先建后平操作,需要记录)
  17864. type: number
  17865. closeunfreezecharge:
  17866. description: 平仓解冻手续费(先建后平操作,需要记录)
  17867. type: number
  17868. decimalplace:
  17869. description: 商品报价小数位
  17870. type: integer
  17871. delistingtype:
  17872. description: 摘牌类型 - 1:价格最优 2:点选成交
  17873. type: integer
  17874. enableqty:
  17875. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17876. type: number
  17877. enumdicname:
  17878. description: 单位名称
  17879. type: string
  17880. freezecharge:
  17881. description: 冻结手续费
  17882. type: number
  17883. freezemargin:
  17884. description: 冻结保证金(冻结交易金额)
  17885. type: number
  17886. goodscode:
  17887. description: 商品代码
  17888. type: string
  17889. goodsid:
  17890. description: 商品ID
  17891. type: integer
  17892. goodsname:
  17893. description: 商品名称
  17894. type: string
  17895. goodunitid:
  17896. description: 商品单位id
  17897. type: integer
  17898. listingselecttype:
  17899. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17900. type: integer
  17901. marketid:
  17902. description: 市场ID
  17903. type: integer
  17904. marketname:
  17905. description: 市场名称
  17906. type: string
  17907. openfreezecharge:
  17908. description: 开仓冻结手续费(先建后平操作,需要记录)
  17909. type: number
  17910. openqty:
  17911. description: 开仓数量(先建后平操作,需要记录)
  17912. type: number
  17913. opentradeqty:
  17914. description: 开仓成交数量(先建后平操作,需要记录)
  17915. type: number
  17916. openunfreezecharge:
  17917. description: 开仓解冻手续费(先建后平操作,需要记录)
  17918. type: number
  17919. operatetype:
  17920. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17921. type: integer
  17922. operatorid:
  17923. description: 登录账号(LoginID)
  17924. type: integer
  17925. orderid:
  17926. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17927. type: string
  17928. orderprice:
  17929. description: 委托价格
  17930. type: number
  17931. orderqty:
  17932. description: 委托数量
  17933. type: number
  17934. ordersrc:
  17935. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17936. type: integer
  17937. orderstatus:
  17938. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17939. type: integer
  17940. ordertime:
  17941. description: 委托时间
  17942. type: string
  17943. preorderid:
  17944. description: 关联预埋单号(止盈止损单时填写)
  17945. type: string
  17946. pricemode:
  17947. description: '取价方式 - 1:市价 2: 限价'
  17948. type: integer
  17949. qtydecimalplace:
  17950. description: 商品报价小数位
  17951. type: integer
  17952. relatedid:
  17953. description: 关联单号(交割单)
  17954. type: string
  17955. tradedate:
  17956. description: 交易日(yyyyMMdd)
  17957. type: string
  17958. trademode:
  17959. description: 交易模式
  17960. type: integer
  17961. tradeqty:
  17962. description: 成交数量
  17963. type: number
  17964. unfreezecharge:
  17965. description: 解冻手续费
  17966. type: number
  17967. unfreezemargin:
  17968. description: 解冻保证金
  17969. type: number
  17970. validtime:
  17971. description: 有效期限
  17972. type: string
  17973. validtype:
  17974. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17975. type: integer
  17976. volumetype:
  17977. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17978. type: integer
  17979. required:
  17980. - accountid
  17981. - buildtype
  17982. - buyorsell
  17983. - goodsid
  17984. - marketid
  17985. - operatetype
  17986. - orderqty
  17987. - ordertime
  17988. - pricemode
  17989. - tradedate
  17990. - validtype
  17991. type: object
  17992. order.QueryTradePositionRsp:
  17993. properties:
  17994. accountid:
  17995. description: 资金账户
  17996. type: integer
  17997. agreeunit:
  17998. description: 合约单位
  17999. type: number
  18000. averageprice:
  18001. description: 持仓均价
  18002. type: number
  18003. buyorsell:
  18004. description: 方向 - 0:买 1:卖
  18005. type: integer
  18006. closetotalqty:
  18007. description: 平仓总数量
  18008. type: number
  18009. curholderamount:
  18010. description: 当前持仓总金额[商品币种]
  18011. type: number
  18012. curpositionqty:
  18013. description: 当前持仓总数量
  18014. type: number
  18015. currencyid:
  18016. description: 报价货币ID
  18017. type: integer
  18018. curtdposition:
  18019. description: 期末今日头寸
  18020. type: number
  18021. decimalplace:
  18022. description: 报价小数位
  18023. type: integer
  18024. enableqty:
  18025. description: 可用量
  18026. type: number
  18027. fretdposition:
  18028. description: 冻结今日头寸
  18029. type: number
  18030. frozenqty:
  18031. description: 持仓冻结数量
  18032. type: number
  18033. goodscode:
  18034. description: 商品代码
  18035. type: string
  18036. goodsid:
  18037. description: 商品Id
  18038. type: integer
  18039. goodsname:
  18040. description: 商品名称
  18041. type: string
  18042. goodunit:
  18043. description: 报价单位
  18044. type: string
  18045. goodunitid:
  18046. description: 报价单位ID
  18047. type: integer
  18048. holderamount:
  18049. description: 期初持仓总金额[商品币种]
  18050. type: number
  18051. lastprice:
  18052. description: 最新价
  18053. type: number
  18054. marketamount:
  18055. description: 市值
  18056. type: number
  18057. marketid:
  18058. description: 所属市场ID
  18059. type: integer
  18060. openreqqty:
  18061. description: 开仓申请数量(用于比较最大持仓数量)
  18062. type: number
  18063. opentotalqty:
  18064. description: 开仓总数量
  18065. type: number
  18066. otherfrozenqty:
  18067. description: 持仓其他冻结数量(交割冻结)
  18068. type: number
  18069. positionpl:
  18070. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  18071. type: number
  18072. positionplrate:
  18073. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  18074. type: number
  18075. positionqty:
  18076. description: 期初持仓数量
  18077. type: number
  18078. qtydecimalplace:
  18079. description: 成交量小数位
  18080. type: integer
  18081. refgoodscode:
  18082. description: 参考商品代码
  18083. type: string
  18084. refgoodsid:
  18085. description: 参考商品ID
  18086. type: integer
  18087. tnqty:
  18088. description: T+N冻结总量
  18089. type: number
  18090. tnusedqty:
  18091. description: T+N使用量(可以使用T+N的冻结数量)
  18092. type: number
  18093. trademode:
  18094. description: 交易模式
  18095. type: integer
  18096. tradeproperty:
  18097. description: 交易属性
  18098. type: integer
  18099. usedmargin:
  18100. description: 占用保证金[商品币种]
  18101. type: number
  18102. required:
  18103. - goodsid
  18104. type: object
  18105. pb.GoodsMarginCfgStruct:
  18106. properties:
  18107. CustomerTypeID:
  18108. description: 投资者客户类型
  18109. type: integer
  18110. GoodsID:
  18111. description: 商品ID
  18112. type: integer
  18113. IsDefault:
  18114. description: 是否默认标志位
  18115. type: integer
  18116. LockMarginValue:
  18117. description: 锁仓保证金
  18118. type: number
  18119. MarginAlgorithm:
  18120. description: 保证金计算方式
  18121. type: integer
  18122. MarketMarginValue:
  18123. description: 即市保证金值
  18124. type: number
  18125. RealMarginAlgorithm:
  18126. description: 实付保证金计算方式
  18127. type: integer
  18128. RealMarginValue:
  18129. description: 实付比例
  18130. type: number
  18131. ReckonMarginValue:
  18132. description: 结算保证金值
  18133. type: number
  18134. type: object
  18135. quote.HistoryData:
  18136. properties:
  18137. c:
  18138. description: 收盘价
  18139. type: number
  18140. f:
  18141. description: 是否补充数据
  18142. type: boolean
  18143. h:
  18144. description: 最高价
  18145. type: number
  18146. hv:
  18147. description: 持仓量
  18148. type: integer
  18149. l:
  18150. description: 最低价
  18151. type: number
  18152. o:
  18153. description: 开盘价
  18154. type: number
  18155. s:
  18156. description: 结算价,日线周期(包括)以上才有
  18157. type: number
  18158. ts:
  18159. description: 时间
  18160. type: string
  18161. tt:
  18162. description: 总金额
  18163. type: number
  18164. tv:
  18165. description: 总量(成交量)
  18166. type: integer
  18167. type: object
  18168. quote.HistoryTikData:
  18169. properties:
  18170. AV:
  18171. description: 卖量
  18172. type: integer
  18173. Ask:
  18174. description: 卖价
  18175. type: number
  18176. BV:
  18177. description: 买量
  18178. type: integer
  18179. Bid:
  18180. description: 买价
  18181. type: number
  18182. HI:
  18183. description: 单笔持仓
  18184. type: integer
  18185. HV:
  18186. description: 持仓量
  18187. type: integer
  18188. PE:
  18189. description: 现价
  18190. type: number
  18191. TDR:
  18192. description: 交易方向,0:买 1:卖
  18193. type: integer
  18194. TK:
  18195. description: 交易类型
  18196. type: integer
  18197. TS:
  18198. description: 行情时间文本
  18199. type: string
  18200. TT:
  18201. description: 现金额
  18202. type: number
  18203. Vol:
  18204. description: 现量
  18205. type: integer
  18206. type: object
  18207. quote.QueryQuoteDayRsp:
  18208. properties:
  18209. ask:
  18210. description: 卖1
  18211. type: number
  18212. ask2:
  18213. description: 卖2
  18214. type: number
  18215. ask3:
  18216. description: 卖3
  18217. type: number
  18218. ask4:
  18219. description: 卖4
  18220. type: number
  18221. ask5:
  18222. description: 卖5
  18223. type: number
  18224. ask6:
  18225. description: 卖6
  18226. type: number
  18227. ask7:
  18228. description: 卖7
  18229. type: number
  18230. ask8:
  18231. description: 卖8
  18232. type: number
  18233. ask9:
  18234. description: 卖9
  18235. type: number
  18236. ask10:
  18237. description: 卖10
  18238. type: number
  18239. askorderid:
  18240. description: 卖单号1
  18241. type: integer
  18242. askorderid2:
  18243. description: 卖单号2
  18244. type: integer
  18245. askorderid3:
  18246. description: 卖单号3
  18247. type: integer
  18248. askorderid4:
  18249. description: 卖单号4
  18250. type: integer
  18251. askorderid5:
  18252. description: 卖单号5
  18253. type: integer
  18254. askordervolume:
  18255. description: 卖单量1
  18256. type: integer
  18257. askordervolume2:
  18258. description: 卖单量2
  18259. type: integer
  18260. askordervolume3:
  18261. description: 卖单量3
  18262. type: integer
  18263. askordervolume4:
  18264. description: 卖单量4
  18265. type: integer
  18266. askordervolume5:
  18267. description: 卖单量5
  18268. type: integer
  18269. askordervolume6:
  18270. description: 卖单量6
  18271. type: integer
  18272. askordervolume7:
  18273. description: 卖单量7
  18274. type: integer
  18275. askordervolume8:
  18276. description: 卖单量8
  18277. type: integer
  18278. askordervolume9:
  18279. description: 卖单量9
  18280. type: integer
  18281. askordervolume10:
  18282. description: 卖单量10
  18283. type: integer
  18284. askqueueinfo:
  18285. description: 大利市卖港股用
  18286. type: string
  18287. askvolume:
  18288. description: 卖量1
  18289. type: integer
  18290. askvolume2:
  18291. description: 卖量2
  18292. type: integer
  18293. askvolume3:
  18294. description: 卖量3
  18295. type: integer
  18296. askvolume4:
  18297. description: 卖量4
  18298. type: integer
  18299. askvolume5:
  18300. description: 卖量5
  18301. type: integer
  18302. askvolume6:
  18303. description: 卖量6
  18304. type: integer
  18305. askvolume7:
  18306. description: 卖量7
  18307. type: integer
  18308. askvolume8:
  18309. description: 卖量8
  18310. type: integer
  18311. askvolume9:
  18312. description: 卖量9
  18313. type: integer
  18314. askvolume10:
  18315. description: 卖量10
  18316. type: integer
  18317. averageprice:
  18318. description: 均价
  18319. type: number
  18320. bid:
  18321. description: 买1
  18322. type: number
  18323. bid2:
  18324. description: 买2
  18325. type: number
  18326. bid3:
  18327. description: 买3
  18328. type: number
  18329. bid4:
  18330. description: 买4
  18331. type: number
  18332. bid5:
  18333. description: 买5
  18334. type: number
  18335. bid6:
  18336. description: 买6
  18337. type: number
  18338. bid7:
  18339. description: 买7
  18340. type: number
  18341. bid8:
  18342. description: 买8
  18343. type: number
  18344. bid9:
  18345. description: 买9
  18346. type: number
  18347. bid10:
  18348. description: 买10
  18349. type: number
  18350. bidorderid:
  18351. description: 买单号1
  18352. type: integer
  18353. bidorderid2:
  18354. description: 买单号2
  18355. type: integer
  18356. bidorderid3:
  18357. description: 买单号3
  18358. type: integer
  18359. bidorderid4:
  18360. description: 买单号4
  18361. type: integer
  18362. bidorderid5:
  18363. description: 买单号5
  18364. type: integer
  18365. bidordervolume:
  18366. description: 买单量1
  18367. type: integer
  18368. bidordervolume2:
  18369. description: 买单量2
  18370. type: integer
  18371. bidordervolume3:
  18372. description: 买单量3
  18373. type: integer
  18374. bidordervolume4:
  18375. description: 买单量4
  18376. type: integer
  18377. bidordervolume5:
  18378. description: 买单量5
  18379. type: integer
  18380. bidordervolume6:
  18381. description: 买单量6
  18382. type: integer
  18383. bidordervolume7:
  18384. description: 买单量7
  18385. type: integer
  18386. bidordervolume8:
  18387. description: 买单量8
  18388. type: integer
  18389. bidordervolume9:
  18390. description: 买单量9
  18391. type: integer
  18392. bidordervolume10:
  18393. description: 买单量10
  18394. type: integer
  18395. bidqueueinfo:
  18396. description: 大利市买港股用
  18397. type: string
  18398. bidvolume:
  18399. description: 买量1
  18400. type: integer
  18401. bidvolume2:
  18402. description: 买量2
  18403. type: integer
  18404. bidvolume3:
  18405. description: 买量3
  18406. type: integer
  18407. bidvolume4:
  18408. description: 买量4
  18409. type: integer
  18410. bidvolume5:
  18411. description: 买量5
  18412. type: integer
  18413. bidvolume6:
  18414. description: 买量6
  18415. type: integer
  18416. bidvolume7:
  18417. description: 买量7
  18418. type: integer
  18419. bidvolume8:
  18420. description: 买量8
  18421. type: integer
  18422. bidvolume9:
  18423. description: 买量9
  18424. type: integer
  18425. bidvolume10:
  18426. description: 买量10
  18427. type: integer
  18428. calloptionpremiums:
  18429. description: 认购期权1
  18430. type: integer
  18431. calloptionpremiums2:
  18432. description: 认购期权2
  18433. type: integer
  18434. calloptionpremiums3:
  18435. description: 认购期权3
  18436. type: integer
  18437. calloptionpremiums4:
  18438. description: 认购期权4
  18439. type: integer
  18440. calloptionpremiums5:
  18441. description: 认购期权5
  18442. type: integer
  18443. cleartime:
  18444. description: 清盘时间
  18445. type: integer
  18446. exchangecode:
  18447. description: 交易所代码
  18448. type: integer
  18449. exchangedate:
  18450. description: 交易日
  18451. type: integer
  18452. goodscode:
  18453. description: 商品代码
  18454. type: string
  18455. grepmarketprice:
  18456. description: 暗盘价 港股专用
  18457. type: number
  18458. highest:
  18459. description: 最高价
  18460. type: number
  18461. holdincrement:
  18462. description: 单笔持仓
  18463. type: integer
  18464. holdvolume:
  18465. description: 持仓
  18466. type: integer
  18467. iep:
  18468. description: 平衡价 港股专用
  18469. type: number
  18470. iev:
  18471. description: 平衡量 港股专用
  18472. type: number
  18473. inventory:
  18474. description: 库存
  18475. type: integer
  18476. iscleared:
  18477. description: 是否清盘标志
  18478. type: integer
  18479. issettled:
  18480. description: 是否结算标志
  18481. type: integer
  18482. last:
  18483. description: 最新价
  18484. type: number
  18485. lastlot:
  18486. description: 最新成交手数
  18487. type: integer
  18488. lasttime:
  18489. description: 行情时间(只有现价变化行情时间才变化)
  18490. type: string
  18491. lastturnover:
  18492. description: 最新成交金额
  18493. type: number
  18494. lastvolume:
  18495. description: 最新成交量
  18496. type: integer
  18497. limitdown:
  18498. description: 跌停价
  18499. type: number
  18500. limitup:
  18501. description: 涨停价
  18502. type: number
  18503. lowest:
  18504. description: 最低价
  18505. type: number
  18506. nontotalholdervolume:
  18507. description: 非交易持仓量
  18508. type: integer
  18509. nontotallot:
  18510. description: 非交易总手数
  18511. type: integer
  18512. nontotalturnover:
  18513. description: 非交易总金额
  18514. type: integer
  18515. nontotalvolume:
  18516. description: 非交易总量
  18517. type: integer
  18518. opened:
  18519. description: 开盘价
  18520. type: number
  18521. opentime:
  18522. description: 开盘时间
  18523. type: string
  18524. orderid:
  18525. description: 序号
  18526. type: integer
  18527. preclose:
  18528. description: 昨收
  18529. type: number
  18530. preholdvolume:
  18531. description: 昨持仓
  18532. type: integer
  18533. presettle:
  18534. description: 昨结价
  18535. type: number
  18536. publictradetype:
  18537. description: 公共交易标志类型 港股专用
  18538. type: string
  18539. putoptionpremiums:
  18540. description: 认沽期权1
  18541. type: integer
  18542. putoptionpremiums2:
  18543. description: 认沽期权2
  18544. type: integer
  18545. putoptionpremiums3:
  18546. description: 认沽期权3
  18547. type: integer
  18548. putoptionpremiums4:
  18549. description: 认沽期权4
  18550. type: integer
  18551. putoptionpremiums5:
  18552. description: 认沽期权5
  18553. type: integer
  18554. settle:
  18555. description: 结算价
  18556. type: number
  18557. strikeprice:
  18558. description: 发行价
  18559. type: number
  18560. totalaskvolume:
  18561. description: 内盘
  18562. type: integer
  18563. totalbidvolume:
  18564. description: 外盘
  18565. type: integer
  18566. totallot:
  18567. description: 总手数
  18568. type: integer
  18569. totalturnover:
  18570. description: 总金额
  18571. type: number
  18572. totalvolume:
  18573. description: 总量
  18574. type: integer
  18575. utclasttime:
  18576. description: utc的行情时间
  18577. type: string
  18578. type: object
  18579. quote.QueryTSDataRsp:
  18580. properties:
  18581. Count:
  18582. description: 交易日应有数据个数
  18583. type: integer
  18584. decimalPlace:
  18585. description: 小数位
  18586. type: integer
  18587. endTime:
  18588. description: 结束时间
  18589. type: string
  18590. goodsCode:
  18591. description: 商品代码
  18592. type: string
  18593. historyDatas:
  18594. description: 历史数据
  18595. items:
  18596. $ref: '#/definitions/quote.HistoryData'
  18597. type: array
  18598. outGoodsCode:
  18599. description: 外部商品代码
  18600. type: string
  18601. preSettle:
  18602. description: 昨结价
  18603. type: number
  18604. runSteps:
  18605. description: 交易日开休市计划
  18606. items:
  18607. $ref: '#/definitions/quote.TSDataRunStep'
  18608. type: array
  18609. startTime:
  18610. description: 开始时间
  18611. type: string
  18612. tradeDate:
  18613. description: 交易日
  18614. type: string
  18615. type: object
  18616. quote.TSDataRunStep:
  18617. properties:
  18618. end:
  18619. description: 真实结束时间
  18620. type: string
  18621. endflag:
  18622. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18623. type: integer
  18624. endtime:
  18625. description: 结束时间(HH:mm)
  18626. type: string
  18627. endweekday:
  18628. description: 结束周几
  18629. type: integer
  18630. groupid:
  18631. description: 分组ID
  18632. type: integer
  18633. runstep:
  18634. description: 运行阶段 - 2:连续交易
  18635. type: integer
  18636. sectionid:
  18637. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几
  18638. type: integer
  18639. start:
  18640. description: 真实开始时间
  18641. type: string
  18642. startflag:
  18643. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18644. type: integer
  18645. starttime:
  18646. description: 起始时间(HH:mm)
  18647. type: string
  18648. startweekday:
  18649. description: 起始周几
  18650. type: integer
  18651. tradeweekday:
  18652. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18653. type: integer
  18654. type: object
  18655. szdz.QueryConvertLogRsp:
  18656. properties:
  18657. accountid:
  18658. description: 资金账户ID
  18659. type: integer
  18660. clientticket:
  18661. description: 客户端流水号
  18662. type: string
  18663. converttype:
  18664. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18665. type: integer
  18666. createtime:
  18667. description: 记账时间
  18668. type: string
  18669. daymaxvalue:
  18670. description: 配置当日最大转入限制
  18671. type: number
  18672. daymaxvalue2:
  18673. description: 配置当日最大转入限制(转入)
  18674. type: number
  18675. goodscode:
  18676. description: 商品代码
  18677. type: string
  18678. goodsname:
  18679. description: 商品名称
  18680. type: string
  18681. handlestatus:
  18682. description: 处理状态
  18683. type: integer
  18684. innergoodsid:
  18685. description: 内部商品ID
  18686. type: integer
  18687. inratio:
  18688. description: 配置转入比值
  18689. type: integer
  18690. invalue:
  18691. description: 目标值
  18692. type: number
  18693. logid:
  18694. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18695. type: integer
  18696. mobile:
  18697. description: 手机号码(加密存储)
  18698. type: string
  18699. outergoodscode:
  18700. description: 外部商品代码[JD\PD]
  18701. type: string
  18702. outratio:
  18703. description: 配置转出比值
  18704. type: integer
  18705. outvalue:
  18706. description: 源值
  18707. type: number
  18708. pddecimalplace:
  18709. description: PD小数位
  18710. type: integer
  18711. qty:
  18712. description: 数量
  18713. type: string
  18714. remark:
  18715. description: 备注
  18716. type: string
  18717. sessionid:
  18718. description: 会话ID
  18719. type: integer
  18720. timemaxvalue:
  18721. description: 配置单次最大转入限制
  18722. type: number
  18723. timemaxvalue2:
  18724. description: 配置单次最大转入限制(转入)
  18725. type: number
  18726. timeminvalue:
  18727. description: 配置单次最小数量限制
  18728. type: number
  18729. timeminvalue2:
  18730. description: 配置单次最小数量限制(转入)
  18731. type: number
  18732. tradedate:
  18733. description: 交易日(yyyyMMdd)
  18734. type: string
  18735. userid:
  18736. description: 用户ID
  18737. type: integer
  18738. required:
  18739. - logid
  18740. type: object
  18741. szdz.QueryGoodsPickupRsp:
  18742. properties:
  18743. accountid:
  18744. description: 账户ID
  18745. type: integer
  18746. address:
  18747. description: 提货人详细地址
  18748. type: string
  18749. auditer:
  18750. description: 审核人
  18751. type: integer
  18752. audittime:
  18753. description: 审核时间
  18754. type: string
  18755. cardnum:
  18756. description: 提货人证件号码
  18757. type: string
  18758. cardtypeid:
  18759. description: 提货人证件类型
  18760. type: integer
  18761. checkremark:
  18762. description: 审核备注
  18763. type: string
  18764. goodscode:
  18765. description: 商品代码
  18766. type: string
  18767. goodsid:
  18768. description: 商品ID
  18769. type: integer
  18770. goodsname:
  18771. description: 商品名称
  18772. type: string
  18773. handlestatus:
  18774. description: 处理状态
  18775. type: integer
  18776. marketid:
  18777. description: 市场ID
  18778. type: integer
  18779. phonenum:
  18780. description: 提货人联系方式
  18781. type: string
  18782. qty:
  18783. description: 提货数量
  18784. type: number
  18785. recivername:
  18786. description: 提货人姓名
  18787. type: string
  18788. reqtime:
  18789. description: 更新时间
  18790. type: string
  18791. takemode:
  18792. description: 提货方式 - 2:自提 3:配送
  18793. type: integer
  18794. takeorderid:
  18795. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18796. type: string
  18797. takeorderstatus:
  18798. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18799. type: integer
  18800. takeremark:
  18801. description: 提货备注
  18802. type: string
  18803. tradedate:
  18804. description: 交易日(yyyyMMdd)
  18805. type: string
  18806. userid:
  18807. description: 用户ID
  18808. type: integer
  18809. required:
  18810. - takeorderid
  18811. type: object
  18812. szdz.QueryRecieptOrderRsp:
  18813. properties:
  18814. accountName:
  18815. description: 所属账号名称(已脱敏)
  18816. type: string
  18817. accountid:
  18818. description: 资金账号
  18819. type: integer
  18820. buyorsell:
  18821. description: 方向 - 0:买 1:卖
  18822. type: integer
  18823. enableqty:
  18824. description: 可摘数量
  18825. type: integer
  18826. goodscode:
  18827. description: 商品代码
  18828. type: string
  18829. goodsid:
  18830. description: 商品ID
  18831. type: integer
  18832. goodsname:
  18833. description: 商品名称
  18834. type: string
  18835. orderid:
  18836. description: 委托单号
  18837. type: string
  18838. orderprice:
  18839. description: 委托价格
  18840. type: number
  18841. ordertime:
  18842. description: 委托时间
  18843. type: string
  18844. tradedate:
  18845. description: 交易日(yyyyMMdd)
  18846. type: string
  18847. required:
  18848. - ordertime
  18849. type: object
  18850. szdz.QuerySZDZTradePositionRsp:
  18851. properties:
  18852. accountid:
  18853. description: 账号Id
  18854. type: integer
  18855. agreeunit:
  18856. description: 合约单位
  18857. type: number
  18858. averageprice:
  18859. description: 持仓均价
  18860. type: number
  18861. buyorsell:
  18862. description: 方向 - 0:买 1:卖
  18863. type: integer
  18864. closetotalqty:
  18865. description: 平仓总数量
  18866. type: integer
  18867. curholderamount:
  18868. description: 当前持仓总金额
  18869. type: number
  18870. curpositionqty:
  18871. description: 当前持仓总数量
  18872. type: integer
  18873. currencyid:
  18874. description: 报价货币ID
  18875. type: integer
  18876. curtdposition:
  18877. description: 期末今日头寸
  18878. type: integer
  18879. decimalplace:
  18880. description: 报价小数位
  18881. type: integer
  18882. enableqty:
  18883. description: 可用量
  18884. type: integer
  18885. fretdposition:
  18886. description: 冻结今日头寸
  18887. type: integer
  18888. frozenqty:
  18889. description: 持仓冻结数量
  18890. type: integer
  18891. goodscode:
  18892. description: 商品代码(内部)
  18893. type: string
  18894. goodsid:
  18895. description: 商品Id
  18896. type: integer
  18897. goodsname:
  18898. description: 商品名称
  18899. type: string
  18900. goodunit:
  18901. description: 报价单位
  18902. type: string
  18903. goodunitid:
  18904. description: 报价单位ID
  18905. type: integer
  18906. holderamount:
  18907. description: 期初持仓总金额
  18908. type: number
  18909. marketid:
  18910. description: 市场ID
  18911. type: integer
  18912. openreqqty:
  18913. description: 开仓申请数量
  18914. type: integer
  18915. opentotalqty:
  18916. description: 开仓总数量
  18917. type: integer
  18918. otherfrozenqty:
  18919. description: 持仓其他冻结数量(交割冻结)
  18920. type: integer
  18921. positionqty:
  18922. description: 期初持仓数量
  18923. type: integer
  18924. szdz3freezqty:
  18925. description: 尚志大宗转换冻结总数量
  18926. type: integer
  18927. tnqty:
  18928. description: T+N冻结总量
  18929. type: integer
  18930. tnusedqty:
  18931. description: T+N使用量
  18932. type: integer
  18933. trademode:
  18934. description: 交易模式
  18935. type: integer
  18936. usedmargin:
  18937. description: 占用保证金
  18938. type: number
  18939. type: object
  18940. taaccount.QueryAmountLogRsp:
  18941. properties:
  18942. OPERATETYPENAME:
  18943. description: 资金操作类型名称
  18944. type: string
  18945. accountid:
  18946. description: 资金账户ID
  18947. type: integer
  18948. agoodscode:
  18949. description: 竞拍商品代码
  18950. type: string
  18951. agoodsname:
  18952. description: 竞拍商品名称
  18953. type: string
  18954. amount:
  18955. description: 资金金额
  18956. type: number
  18957. amountadjusttype:
  18958. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18959. type: integer
  18960. autoid:
  18961. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18962. type: integer
  18963. balance:
  18964. description: 期初余额
  18965. type: number
  18966. businesscode:
  18967. description: 业务编号
  18968. type: integer
  18969. createtime:
  18970. description: 发生时间
  18971. type: string
  18972. currencyid:
  18973. description: 币种ID
  18974. type: integer
  18975. currentbalance:
  18976. description: 期末余额(变动后金额)
  18977. type: number
  18978. dgoodscode:
  18979. description: 交割商品代码
  18980. type: string
  18981. dgoodsname:
  18982. description: 交割商品名称
  18983. type: string
  18984. goodscode:
  18985. description: 商品代码
  18986. type: string
  18987. goodsid:
  18988. description: 商品ID
  18989. type: integer
  18990. goodsname:
  18991. description: 商品名称
  18992. type: string
  18993. marketid:
  18994. description: 市场ID
  18995. type: integer
  18996. marketname:
  18997. description: 市场名称
  18998. type: string
  18999. moneyticket:
  19000. description: 资金流水号:银行端流水号
  19001. type: integer
  19002. operatetype:
  19003. 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:营销收款
  19004. type: integer
  19005. relationorderid:
  19006. description: 关联单号
  19007. type: string
  19008. remark:
  19009. description: 备注
  19010. type: string
  19011. trademode:
  19012. description: 交易模式
  19013. type: integer
  19014. required:
  19015. - accountid
  19016. - amount
  19017. - amountadjusttype
  19018. - autoid
  19019. - balance
  19020. - createtime
  19021. - currentbalance
  19022. - operatetype
  19023. type: object
  19024. taaccount.QueryHisAmountLogRsp:
  19025. properties:
  19026. OPERATETYPENAME:
  19027. description: 资金操作类型名称
  19028. type: string
  19029. accountid:
  19030. description: 资金账户ID
  19031. type: integer
  19032. agoodscode:
  19033. description: 竞拍商品代码
  19034. type: string
  19035. agoodsname:
  19036. description: 竞拍商品名称
  19037. type: string
  19038. amount:
  19039. description: 资金金额
  19040. type: number
  19041. amountadjusttype:
  19042. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19043. type: integer
  19044. autoid:
  19045. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19046. type: integer
  19047. balance:
  19048. description: 期初余额
  19049. type: number
  19050. businesscode:
  19051. description: 业务编号
  19052. type: integer
  19053. createtime:
  19054. description: 发生时间
  19055. type: string
  19056. currencyid:
  19057. description: 币种ID
  19058. type: integer
  19059. currentbalance:
  19060. description: 期末余额(变动后金额)
  19061. type: number
  19062. dgoodscode:
  19063. description: 交割商品代码
  19064. type: string
  19065. dgoodsname:
  19066. description: 交割商品名称
  19067. type: string
  19068. goodscode:
  19069. description: 商品代码
  19070. type: string
  19071. goodsid:
  19072. description: 商品ID
  19073. type: integer
  19074. goodsname:
  19075. description: 商品名称
  19076. type: string
  19077. histradedate:
  19078. description: 历史交易日
  19079. type: string
  19080. isvaliddata:
  19081. description: 是否有效 - 0:无效 1:有效
  19082. type: integer
  19083. marketid:
  19084. description: 市场ID
  19085. type: integer
  19086. marketname:
  19087. description: 市场名称
  19088. type: string
  19089. moneyticket:
  19090. description: 资金流水号:银行端流水号
  19091. type: integer
  19092. operatetype:
  19093. 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:营销收款
  19094. type: integer
  19095. relationorderid:
  19096. description: 关联单号
  19097. type: string
  19098. remark:
  19099. description: 备注
  19100. type: string
  19101. trademode:
  19102. description: 交易模式
  19103. type: integer
  19104. required:
  19105. - accountid
  19106. - amount
  19107. - amountadjusttype
  19108. - autoid
  19109. - balance
  19110. - createtime
  19111. - currentbalance
  19112. - histradedate
  19113. - operatetype
  19114. type: object
  19115. trade.QueryRecieptOrderRsp:
  19116. properties:
  19117. accountName:
  19118. description: 所属账号名称(已脱敏)
  19119. type: string
  19120. accountid:
  19121. description: 资金账号
  19122. type: integer
  19123. buyorsell:
  19124. description: 方向 - 0:买 1:卖
  19125. type: integer
  19126. enableqty:
  19127. description: 可摘数量
  19128. type: integer
  19129. goodscode:
  19130. description: 商品代码
  19131. type: string
  19132. goodsid:
  19133. description: 商品ID
  19134. type: integer
  19135. goodsname:
  19136. description: 商品名称
  19137. type: string
  19138. orderid:
  19139. description: 委托单号
  19140. type: string
  19141. orderprice:
  19142. description: 委托价格
  19143. type: number
  19144. ordertime:
  19145. description: 委托时间
  19146. type: string
  19147. tradedate:
  19148. description: 交易日(yyyyMMdd)
  19149. type: string
  19150. required:
  19151. - ordertime
  19152. type: object
  19153. user.LoginQueryRsp:
  19154. properties:
  19155. areaRoles:
  19156. description: 所属角色信息
  19157. items:
  19158. $ref: '#/definitions/models.Arearole'
  19159. type: array
  19160. externalExchanges:
  19161. description: 外部交易所
  19162. items:
  19163. $ref: '#/definitions/models.Externalexchange'
  19164. type: array
  19165. goodsgroups:
  19166. description: 商品组
  19167. items:
  19168. $ref: '#/definitions/models.Goodsgroup'
  19169. type: array
  19170. loginAccount:
  19171. $ref: '#/definitions/models.Loginaccount'
  19172. description: 登录账号
  19173. markets:
  19174. description: 市场
  19175. items:
  19176. $ref: '#/definitions/models.Market'
  19177. type: array
  19178. systemParams:
  19179. description: 系统参数
  19180. items:
  19181. $ref: '#/definitions/models.Systemparam'
  19182. type: array
  19183. userAccount:
  19184. $ref: '#/definitions/models.Useraccount'
  19185. description: 用户账号
  19186. userInfo:
  19187. $ref: '#/definitions/models.Userinfo'
  19188. description: 用户信息
  19189. username:
  19190. description: 用户姓名
  19191. type: string
  19192. type: object
  19193. info:
  19194. contact: {}
  19195. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  19196. termsOfService: http://www.muchinfo.cn
  19197. title: MTP2.0 查询服务 API
  19198. version: "1.0"
  19199. paths:
  19200. /CPTrade/QueryCPTradeMyBidInfos:
  19201. get:
  19202. parameters:
  19203. - description: 资金账户
  19204. in: query
  19205. name: accountid
  19206. required: true
  19207. type: integer
  19208. - description: 预售市场ID
  19209. in: query
  19210. name: marketid
  19211. type: integer
  19212. - description: 预售商品ID
  19213. in: query
  19214. name: goodsid
  19215. type: integer
  19216. produces:
  19217. - application/json
  19218. responses:
  19219. "200":
  19220. description: OK
  19221. schema:
  19222. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  19223. "500":
  19224. description: Internal Server Error
  19225. schema:
  19226. $ref: '#/definitions/app.Response'
  19227. security:
  19228. - ApiKeyAuth: []
  19229. summary: 查询产能预售我的出价信息
  19230. tags:
  19231. - 产能预售
  19232. /CPTrade/QueryCPTradeOrderDetail:
  19233. get:
  19234. parameters:
  19235. - description: 预售商品ID
  19236. in: query
  19237. name: goodsid
  19238. type: integer
  19239. - description: 预售市场ID
  19240. in: query
  19241. name: marketid
  19242. type: integer
  19243. - description: 预售商品ID列表 - 格式:1,2,3
  19244. in: query
  19245. name: goodsids
  19246. type: string
  19247. produces:
  19248. - application/json
  19249. responses:
  19250. "200":
  19251. description: OK
  19252. schema:
  19253. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  19254. "500":
  19255. description: Internal Server Error
  19256. schema:
  19257. $ref: '#/definitions/app.Response'
  19258. security:
  19259. - ApiKeyAuth: []
  19260. summary: 查询产能预售委托单信息
  19261. tags:
  19262. - 产能预售
  19263. /CPTrade/QueryMyCPTradeGoods:
  19264. get:
  19265. parameters:
  19266. - description: 资金账户
  19267. in: query
  19268. name: accountid
  19269. required: true
  19270. type: integer
  19271. produces:
  19272. - application/json
  19273. responses:
  19274. "200":
  19275. description: OK
  19276. schema:
  19277. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  19278. "500":
  19279. description: Internal Server Error
  19280. schema:
  19281. $ref: '#/definitions/app.Response'
  19282. security:
  19283. - ApiKeyAuth: []
  19284. summary: 查询我的预售信息
  19285. tags:
  19286. - 产能预售
  19287. /CPTrade/QueryPositionCancel:
  19288. get:
  19289. parameters:
  19290. - description: 账户ID
  19291. in: query
  19292. name: userid
  19293. required: true
  19294. type: integer
  19295. - description: 注销ID
  19296. in: query
  19297. name: cancelid
  19298. type: integer
  19299. - description: 资金账户ID
  19300. in: query
  19301. name: accountid
  19302. type: integer
  19303. produces:
  19304. - application/json
  19305. responses:
  19306. "200":
  19307. description: OK
  19308. schema:
  19309. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19310. "500":
  19311. description: Internal Server Error
  19312. schema:
  19313. $ref: '#/definitions/app.Response'
  19314. security:
  19315. - ApiKeyAuth: []
  19316. summary: 查询远期订单注销申请信息
  19317. tags:
  19318. - 产能预售
  19319. /CPTrade/QueryPreasleApply:
  19320. get:
  19321. parameters:
  19322. - description: 账户ID
  19323. in: query
  19324. name: userid
  19325. required: true
  19326. type: integer
  19327. - description: 申请ID
  19328. in: query
  19329. name: applyid
  19330. type: integer
  19331. - description: 资金账户ID
  19332. in: query
  19333. name: accountid
  19334. type: integer
  19335. produces:
  19336. - application/json
  19337. responses:
  19338. "200":
  19339. description: OK
  19340. schema:
  19341. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19342. "500":
  19343. description: Internal Server Error
  19344. schema:
  19345. $ref: '#/definitions/app.Response'
  19346. security:
  19347. - ApiKeyAuth: []
  19348. summary: 查询产能预售申请信息
  19349. tags:
  19350. - 产能预售
  19351. /CPTrade/QueryPresaleGoodsEx:
  19352. get:
  19353. parameters:
  19354. - description: 预售商品ID
  19355. in: query
  19356. name: goodsid
  19357. type: integer
  19358. - description: 预售市场ID
  19359. in: query
  19360. name: marketid
  19361. type: integer
  19362. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19363. in: query
  19364. name: presalemode
  19365. type: integer
  19366. - description: 预售商品ID列表 - 格式:1,2,3
  19367. in: query
  19368. name: goodsids
  19369. type: string
  19370. - description: 预售商品代码
  19371. in: query
  19372. name: goodscode
  19373. type: string
  19374. produces:
  19375. - application/json
  19376. responses:
  19377. "200":
  19378. description: OK
  19379. schema:
  19380. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19381. "500":
  19382. description: Internal Server Error
  19383. schema:
  19384. $ref: '#/definitions/app.Response'
  19385. security:
  19386. - ApiKeyAuth: []
  19387. summary: 查询产能预售商品扩展信息
  19388. tags:
  19389. - 产能预售
  19390. /CPTrade/QueryUserGoodsData:
  19391. get:
  19392. parameters:
  19393. - description: 资金账户ID
  19394. in: query
  19395. name: accountid
  19396. required: true
  19397. type: integer
  19398. produces:
  19399. - application/json
  19400. responses:
  19401. "200":
  19402. description: OK
  19403. schema:
  19404. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19405. "500":
  19406. description: Internal Server Error
  19407. schema:
  19408. $ref: '#/definitions/app.Response'
  19409. security:
  19410. - ApiKeyAuth: []
  19411. summary: 查询远期订单信息
  19412. tags:
  19413. - 产能预售
  19414. /Common/GetAllEnums:
  19415. get:
  19416. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19417. parameters:
  19418. - description: 起始自增ID
  19419. in: query
  19420. name: autoid
  19421. type: integer
  19422. produces:
  19423. - application/json
  19424. responses:
  19425. "200":
  19426. description: OK
  19427. schema:
  19428. $ref: '#/definitions/models.Enumdicitem'
  19429. "500":
  19430. description: Internal Server Error
  19431. schema:
  19432. $ref: '#/definitions/app.Response'
  19433. summary: 获取所有枚举信息
  19434. tags:
  19435. - 通用服务
  19436. /Common/GetClientMenus:
  19437. get:
  19438. parameters:
  19439. - description: 登录账号
  19440. in: query
  19441. name: loginID
  19442. required: true
  19443. type: integer
  19444. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19445. in: query
  19446. name: clientType
  19447. type: integer
  19448. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19449. in: query
  19450. name: name
  19451. type: string
  19452. produces:
  19453. - application/json
  19454. responses:
  19455. "200":
  19456. description: OK
  19457. schema:
  19458. items:
  19459. $ref: '#/definitions/common.ClientMenu'
  19460. type: array
  19461. "500":
  19462. description: Internal Server Error
  19463. schema:
  19464. $ref: '#/definitions/app.Response'
  19465. security:
  19466. - ApiKeyAuth: []
  19467. summary: 获取交易端菜单
  19468. tags:
  19469. - 通用服务
  19470. /Common/GetDivisions:
  19471. get:
  19472. produces:
  19473. - application/json
  19474. responses:
  19475. "200":
  19476. description: OK
  19477. schema:
  19478. $ref: '#/definitions/models.Division'
  19479. "500":
  19480. description: Internal Server Error
  19481. schema:
  19482. $ref: '#/definitions/app.Response'
  19483. summary: 查询区域信息
  19484. tags:
  19485. - 通用服务
  19486. /Common/GetPCWebMenus:
  19487. get:
  19488. parameters:
  19489. - description: 登录账号
  19490. in: query
  19491. name: loginID
  19492. required: true
  19493. type: integer
  19494. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19495. in: query
  19496. name: name
  19497. type: string
  19498. produces:
  19499. - application/json
  19500. responses:
  19501. "200":
  19502. description: OK
  19503. schema:
  19504. items:
  19505. $ref: '#/definitions/common.PCWebMenu'
  19506. type: array
  19507. "500":
  19508. description: Internal Server Error
  19509. schema:
  19510. $ref: '#/definitions/app.Response'
  19511. security:
  19512. - ApiKeyAuth: []
  19513. summary: 获取PCWeb交易端菜单
  19514. tags:
  19515. - 通用服务
  19516. /Common/GetServerTime:
  19517. get:
  19518. produces:
  19519. - application/json
  19520. responses:
  19521. "200":
  19522. description: OK
  19523. schema:
  19524. $ref: '#/definitions/app.Response'
  19525. "500":
  19526. description: Internal Server Error
  19527. schema:
  19528. $ref: '#/definitions/app.Response'
  19529. summary: 获取服务器时间
  19530. tags:
  19531. - 通用服务
  19532. /Common/NoticeReaded:
  19533. post:
  19534. parameters:
  19535. - description: 登录账号
  19536. in: query
  19537. name: loginID
  19538. required: true
  19539. type: integer
  19540. - description: 通知公告ID
  19541. in: query
  19542. name: noticeID
  19543. required: true
  19544. type: integer
  19545. produces:
  19546. - application/json
  19547. responses:
  19548. "200":
  19549. description: OK
  19550. schema:
  19551. $ref: '#/definitions/app.Response'
  19552. "500":
  19553. description: Internal Server Error
  19554. schema:
  19555. $ref: '#/definitions/app.Response'
  19556. security:
  19557. - ApiKeyAuth: []
  19558. summary: 通知公告设置已读请求
  19559. tags:
  19560. - 通用服务
  19561. /Common/QueryErrorInfos:
  19562. get:
  19563. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19564. parameters:
  19565. - description: 起始行号前索引
  19566. in: query
  19567. name: rowNumber
  19568. type: string
  19569. produces:
  19570. - application/json
  19571. responses:
  19572. "200":
  19573. description: OK
  19574. schema:
  19575. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19576. "500":
  19577. description: Internal Server Error
  19578. schema:
  19579. $ref: '#/definitions/app.Response'
  19580. summary: 获取数据库错误信息
  19581. tags:
  19582. - 通用服务
  19583. /Common/QueryImageConfigs:
  19584. get:
  19585. parameters:
  19586. - description: 用户id
  19587. in: query
  19588. name: userId
  19589. type: integer
  19590. - description: 类型 - 1:App首页轮播 2:我的
  19591. in: query
  19592. name: imageType
  19593. type: integer
  19594. produces:
  19595. - application/json
  19596. responses:
  19597. "200":
  19598. description: OK
  19599. schema:
  19600. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19601. "500":
  19602. description: Internal Server Error
  19603. schema:
  19604. $ref: '#/definitions/app.Response'
  19605. summary: 查询轮播图配置信息
  19606. tags:
  19607. - 通用服务
  19608. /Common/QueryNotice:
  19609. get:
  19610. parameters:
  19611. - description: 页码
  19612. in: query
  19613. name: page
  19614. type: integer
  19615. - description: 每页条数
  19616. in: query
  19617. name: pagesize
  19618. type: integer
  19619. - description: 登录账号
  19620. in: query
  19621. name: loginID
  19622. required: true
  19623. type: integer
  19624. - description: 消息类型 - 1:公告通知 2:系统消息
  19625. in: query
  19626. name: msgType
  19627. type: integer
  19628. - description: 是否只获取未读信息
  19629. in: query
  19630. name: onlyUnRead
  19631. type: boolean
  19632. - description: 自增ID,传入后会返回这个ID后面的记录
  19633. in: query
  19634. name: lastID
  19635. type: integer
  19636. produces:
  19637. - application/json
  19638. responses:
  19639. "200":
  19640. description: OK
  19641. schema:
  19642. $ref: '#/definitions/common.QueryNoticeRsp'
  19643. "500":
  19644. description: Internal Server Error
  19645. schema:
  19646. $ref: '#/definitions/app.Response'
  19647. security:
  19648. - ApiKeyAuth: []
  19649. summary: 通知公告系统消息查询
  19650. tags:
  19651. - 通用服务
  19652. /Common/QueryProvincesAndCities:
  19653. get:
  19654. parameters:
  19655. - description: 省ID
  19656. in: query
  19657. name: provinceID
  19658. type: integer
  19659. produces:
  19660. - application/json
  19661. responses:
  19662. "200":
  19663. description: OK
  19664. schema:
  19665. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19666. "500":
  19667. description: Internal Server Error
  19668. schema:
  19669. $ref: '#/definitions/app.Response'
  19670. summary: 查询省市信息(不包括区)
  19671. tags:
  19672. - 通用服务
  19673. /Common/QueryTableDefine:
  19674. get:
  19675. parameters:
  19676. - description: 表key
  19677. in: query
  19678. name: tableKey
  19679. type: string
  19680. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19681. in: query
  19682. name: tableType
  19683. type: integer
  19684. produces:
  19685. - application/json
  19686. responses:
  19687. "200":
  19688. description: OK
  19689. schema:
  19690. $ref: '#/definitions/common.QueryTableDefineRsp'
  19691. "500":
  19692. description: Internal Server Error
  19693. schema:
  19694. $ref: '#/definitions/app.Response'
  19695. summary: 查询交易端列表头信息
  19696. tags:
  19697. - 通用服务
  19698. /Common/QueryTraderMenu:
  19699. get:
  19700. parameters:
  19701. - description: 登录账号
  19702. in: query
  19703. name: loginid
  19704. required: true
  19705. type: integer
  19706. produces:
  19707. - application/json
  19708. responses:
  19709. "200":
  19710. description: OK
  19711. schema:
  19712. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19713. "500":
  19714. description: Internal Server Error
  19715. schema:
  19716. $ref: '#/definitions/app.Response'
  19717. summary: 查询交易端菜单
  19718. tags:
  19719. - 通用服务
  19720. /Delivery/QueryDeliveryRelation:
  19721. get:
  19722. parameters:
  19723. - description: 商品ID
  19724. in: query
  19725. name: goodsid
  19726. type: integer
  19727. - description: 品种ID
  19728. in: query
  19729. name: deliverygoodsid
  19730. type: integer
  19731. - description: 市场ID
  19732. in: query
  19733. name: marketid
  19734. type: integer
  19735. produces:
  19736. - application/json
  19737. responses:
  19738. "200":
  19739. description: OK
  19740. schema:
  19741. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19742. "500":
  19743. description: Internal Server Error
  19744. schema:
  19745. $ref: '#/definitions/app.Response'
  19746. security:
  19747. - ApiKeyAuth: []
  19748. summary: 查询商品交割关系表
  19749. tags:
  19750. - 交割服务
  19751. /Ermcp/GetErmcpGoods:
  19752. get:
  19753. parameters:
  19754. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19755. in: query
  19756. name: lastUpdateTime
  19757. type: string
  19758. produces:
  19759. - application/json
  19760. responses:
  19761. "200":
  19762. description: OK
  19763. schema:
  19764. $ref: '#/definitions/models.ErmcpGoods'
  19765. "500":
  19766. description: Internal Server Error
  19767. schema:
  19768. $ref: '#/definitions/app.Response'
  19769. security:
  19770. - ApiKeyAuth: []
  19771. summary: 查询企业风管期货商品信息
  19772. tags:
  19773. - 企业风险管理(app)
  19774. /Ermcp/GetErmcpGoodsSortByPosition:
  19775. get:
  19776. parameters:
  19777. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19778. in: query
  19779. name: sortIndex
  19780. type: string
  19781. produces:
  19782. - application/json
  19783. responses:
  19784. "200":
  19785. description: OK
  19786. schema:
  19787. $ref: '#/definitions/models.Goodssortbypreposition'
  19788. "500":
  19789. description: Internal Server Error
  19790. schema:
  19791. $ref: '#/definitions/app.Response'
  19792. security:
  19793. - ApiKeyAuth: []
  19794. summary: 查询企业风管期货主力、次主力商品信息
  19795. tags:
  19796. - 企业风险管理(app)
  19797. /Ermcp/GetErmcpOutAccountStatus:
  19798. get:
  19799. parameters:
  19800. - description: 登录账号
  19801. in: query
  19802. name: loginID
  19803. required: true
  19804. type: integer
  19805. produces:
  19806. - application/json
  19807. responses:
  19808. "200":
  19809. description: OK
  19810. schema:
  19811. $ref: '#/definitions/models.Hedgemarketopenlog'
  19812. "500":
  19813. description: Internal Server Error
  19814. schema:
  19815. $ref: '#/definitions/app.Response'
  19816. security:
  19817. - ApiKeyAuth: []
  19818. summary: 获取目标登录账号当前对冲账号在线状态
  19819. tags:
  19820. - 企业风险管理(app)
  19821. /Ermcp/GetErmcpRoleFuncMenuLists:
  19822. get:
  19823. parameters:
  19824. - description: 登录账号
  19825. in: query
  19826. name: loginID
  19827. required: true
  19828. type: integer
  19829. produces:
  19830. - application/json
  19831. responses:
  19832. "200":
  19833. description: OK
  19834. schema:
  19835. $ref: '#/definitions/models.Funcmenulist'
  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/QueryAccMgrBizGroupSet:
  19846. get:
  19847. parameters:
  19848. - description: 用户ID
  19849. in: query
  19850. name: userid
  19851. required: true
  19852. type: integer
  19853. - description: 现货商品id
  19854. in: query
  19855. name: deliverygoodsid
  19856. type: integer
  19857. produces:
  19858. - application/json
  19859. responses:
  19860. "200":
  19861. description: OK
  19862. schema:
  19863. items:
  19864. $ref: '#/definitions/models.ErmcpBizGroupEx'
  19865. type: array
  19866. "500":
  19867. description: Internal Server Error
  19868. schema:
  19869. $ref: '#/definitions/app.Response'
  19870. security:
  19871. - ApiKeyAuth: []
  19872. summary: 查询业务类型分组(账户管理/账户设置)
  19873. tags:
  19874. - 企业风险管理(app)
  19875. /Ermcp/QueryAccMgrLoginUser:
  19876. get:
  19877. parameters:
  19878. - description: 用户ID
  19879. in: query
  19880. name: userid
  19881. required: true
  19882. type: integer
  19883. - description: 用户类型 2-机构 7-企业成员
  19884. in: query
  19885. name: usertype
  19886. type: integer
  19887. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  19888. in: query
  19889. name: querytype
  19890. required: true
  19891. type: integer
  19892. produces:
  19893. - application/json
  19894. responses:
  19895. "200":
  19896. description: OK
  19897. schema:
  19898. items:
  19899. $ref: '#/definitions/models.ErmcpLoginUserEx'
  19900. type: array
  19901. "500":
  19902. description: Internal Server Error
  19903. schema:
  19904. $ref: '#/definitions/app.Response'
  19905. security:
  19906. - ApiKeyAuth: []
  19907. summary: 查询账户管理登录账号(账户管理/登录账号)
  19908. tags:
  19909. - 企业风险管理(app)
  19910. /Ermcp/QueryAccMgrMainAccountInfo:
  19911. get:
  19912. parameters:
  19913. - description: 用户ID
  19914. in: query
  19915. name: userid
  19916. type: integer
  19917. - description: 主账号id
  19918. in: query
  19919. name: accountid
  19920. type: integer
  19921. produces:
  19922. - application/json
  19923. responses:
  19924. "200":
  19925. description: OK
  19926. schema:
  19927. items:
  19928. $ref: '#/definitions/models.MainAccountInfo'
  19929. type: array
  19930. "500":
  19931. description: Internal Server Error
  19932. schema:
  19933. $ref: '#/definitions/app.Response'
  19934. security:
  19935. - ApiKeyAuth: []
  19936. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  19937. tags:
  19938. - 企业风险管理(app)
  19939. /Ermcp/QueryAccMgrRole:
  19940. get:
  19941. parameters:
  19942. - description: 用户ID
  19943. in: query
  19944. name: userid
  19945. required: true
  19946. type: integer
  19947. produces:
  19948. - application/json
  19949. responses:
  19950. "200":
  19951. description: OK
  19952. schema:
  19953. items:
  19954. $ref: '#/definitions/models.ErmcpRole'
  19955. type: array
  19956. "500":
  19957. description: Internal Server Error
  19958. schema:
  19959. $ref: '#/definitions/app.Response'
  19960. security:
  19961. - ApiKeyAuth: []
  19962. summary: 查询账户管理角色设置(账户管理/角色设置)
  19963. tags:
  19964. - 企业风险管理(app)
  19965. /Ermcp/QueryAccMgrRoleMenu:
  19966. get:
  19967. parameters:
  19968. - description: 用户ID
  19969. in: query
  19970. name: userid
  19971. required: true
  19972. type: integer
  19973. - description: 角色id(可多个,逗号隔开)
  19974. in: query
  19975. name: roleid
  19976. type: string
  19977. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  19978. in: query
  19979. name: menutype
  19980. type: integer
  19981. produces:
  19982. - application/json
  19983. responses:
  19984. "200":
  19985. description: OK
  19986. schema:
  19987. items:
  19988. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  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/QueryAccMgrTaAccountInfo:
  20000. get:
  20001. parameters:
  20002. - description: 用户ID
  20003. in: query
  20004. name: userid
  20005. required: true
  20006. type: integer
  20007. - description: 账号id
  20008. in: query
  20009. name: accountid
  20010. type: integer
  20011. produces:
  20012. - application/json
  20013. responses:
  20014. "200":
  20015. description: OK
  20016. schema:
  20017. items:
  20018. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  20019. type: array
  20020. "500":
  20021. description: Internal Server Error
  20022. schema:
  20023. $ref: '#/definitions/app.Response'
  20024. security:
  20025. - ApiKeyAuth: []
  20026. summary: 查询账户管理授信(账户管理/账户设置/授信)
  20027. tags:
  20028. - 企业风险管理(app)
  20029. /Ermcp/QueryAccMgrTaaccount:
  20030. get:
  20031. parameters:
  20032. - description: 用户ID
  20033. in: query
  20034. name: userid
  20035. required: true
  20036. type: integer
  20037. produces:
  20038. - application/json
  20039. responses:
  20040. "200":
  20041. description: OK
  20042. schema:
  20043. items:
  20044. $ref: '#/definitions/models.ErmcpTaAccountEx'
  20045. type: array
  20046. "500":
  20047. description: Internal Server Error
  20048. schema:
  20049. $ref: '#/definitions/app.Response'
  20050. security:
  20051. - ApiKeyAuth: []
  20052. summary: 查询账户管理期货账号(账户管理/期货账号)
  20053. tags:
  20054. - 企业风险管理(app)
  20055. /Ermcp/QueryAvaildGoodsGroup:
  20056. get:
  20057. parameters:
  20058. - description: 所属机构ID
  20059. in: query
  20060. name: userid
  20061. required: true
  20062. type: integer
  20063. produces:
  20064. - application/json
  20065. responses:
  20066. "200":
  20067. description: OK
  20068. schema:
  20069. items:
  20070. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  20071. type: array
  20072. "500":
  20073. description: Internal Server Error
  20074. schema:
  20075. $ref: '#/definitions/app.Response'
  20076. security:
  20077. - ApiKeyAuth: []
  20078. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  20079. tags:
  20080. - 企业风险管理(app)
  20081. /Ermcp/QueryBusinessDj:
  20082. get:
  20083. parameters:
  20084. - description: 用户ID
  20085. in: query
  20086. name: UserId
  20087. required: true
  20088. type: integer
  20089. - description: 用户类型 2-机构 7-企业成员
  20090. in: query
  20091. name: usertype
  20092. type: integer
  20093. - description: 现货合同ID, 不填则查所有
  20094. in: query
  20095. name: relatedid
  20096. type: string
  20097. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20098. in: query
  20099. name: applystatus
  20100. type: string
  20101. produces:
  20102. - application/json
  20103. responses:
  20104. "200":
  20105. description: OK
  20106. schema:
  20107. items:
  20108. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  20109. type: array
  20110. "500":
  20111. description: Internal Server Error
  20112. schema:
  20113. $ref: '#/definitions/app.Response'
  20114. security:
  20115. - ApiKeyAuth: []
  20116. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  20117. tags:
  20118. - 企业风险管理(app)
  20119. /Ermcp/QueryBusinessFp:
  20120. get:
  20121. parameters:
  20122. - description: 用户ID
  20123. in: query
  20124. name: UserId
  20125. required: true
  20126. type: integer
  20127. - description: 用户类型 2-机构 7-企业成员
  20128. in: query
  20129. name: usertype
  20130. type: integer
  20131. - description: 现货合同ID, 不填则查所有
  20132. in: query
  20133. name: relatedid
  20134. type: string
  20135. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20136. in: query
  20137. name: applystatus
  20138. type: string
  20139. produces:
  20140. - application/json
  20141. responses:
  20142. "200":
  20143. description: OK
  20144. schema:
  20145. items:
  20146. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  20147. type: array
  20148. "500":
  20149. description: Internal Server Error
  20150. schema:
  20151. $ref: '#/definitions/app.Response'
  20152. security:
  20153. - ApiKeyAuth: []
  20154. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  20155. tags:
  20156. - 企业风险管理(app)
  20157. /Ermcp/QueryBusinessJs:
  20158. get:
  20159. parameters:
  20160. - description: 用户ID
  20161. in: query
  20162. name: UserId
  20163. required: true
  20164. type: integer
  20165. - description: 用户类型 2-机构 7-企业成员
  20166. in: query
  20167. name: usertype
  20168. type: integer
  20169. - description: 现货合同ID, 不填则查所有
  20170. in: query
  20171. name: relatedid
  20172. type: string
  20173. - description: 操作申请id
  20174. in: query
  20175. name: operateapplyid
  20176. type: string
  20177. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20178. in: query
  20179. name: applystatus
  20180. type: string
  20181. produces:
  20182. - application/json
  20183. responses:
  20184. "200":
  20185. description: OK
  20186. schema:
  20187. items:
  20188. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  20189. type: array
  20190. "500":
  20191. description: Internal Server Error
  20192. schema:
  20193. $ref: '#/definitions/app.Response'
  20194. security:
  20195. - ApiKeyAuth: []
  20196. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  20197. tags:
  20198. - 企业风险管理(app)
  20199. /Ermcp/QueryBusinessJsEx:
  20200. get:
  20201. parameters:
  20202. - description: 用户ID
  20203. in: query
  20204. name: UserId
  20205. required: true
  20206. type: integer
  20207. - description: 用户类型 2-机构 7-企业成员
  20208. in: query
  20209. name: usertype
  20210. type: integer
  20211. - description: 现货合同ID, 不填则查所有
  20212. in: query
  20213. name: relatedid
  20214. type: string
  20215. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20216. in: query
  20217. name: applystatus
  20218. type: string
  20219. produces:
  20220. - application/json
  20221. responses:
  20222. "200":
  20223. description: OK
  20224. schema:
  20225. items:
  20226. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  20227. type: array
  20228. "500":
  20229. description: Internal Server Error
  20230. schema:
  20231. $ref: '#/definitions/app.Response'
  20232. security:
  20233. - ApiKeyAuth: []
  20234. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  20235. tags:
  20236. - 企业风险管理(app)
  20237. /Ermcp/QueryBusinessKx:
  20238. get:
  20239. parameters:
  20240. - description: 用户ID
  20241. in: query
  20242. name: UserId
  20243. required: true
  20244. type: integer
  20245. - description: 用户类型 2-机构 7-企业成员
  20246. in: query
  20247. name: usertype
  20248. type: integer
  20249. - description: 现货合同ID, 不填则查所有
  20250. in: query
  20251. name: relatedid
  20252. type: string
  20253. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20254. in: query
  20255. name: applystatus
  20256. type: string
  20257. produces:
  20258. - application/json
  20259. responses:
  20260. "200":
  20261. description: OK
  20262. schema:
  20263. items:
  20264. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  20265. type: array
  20266. "500":
  20267. description: Internal Server Error
  20268. schema:
  20269. $ref: '#/definitions/app.Response'
  20270. security:
  20271. - ApiKeyAuth: []
  20272. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  20273. tags:
  20274. - 企业风险管理(app)
  20275. /Ermcp/QueryChangeLog:
  20276. get:
  20277. parameters:
  20278. - description: 合同ID
  20279. in: query
  20280. name: RelatedId
  20281. required: true
  20282. type: string
  20283. produces:
  20284. - application/json
  20285. responses:
  20286. "200":
  20287. description: OK
  20288. schema:
  20289. items:
  20290. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20291. type: array
  20292. "500":
  20293. description: Internal Server Error
  20294. schema:
  20295. $ref: '#/definitions/app.Response'
  20296. security:
  20297. - ApiKeyAuth: []
  20298. summary: 查询变更记录
  20299. tags:
  20300. - 企业风险管理(app)
  20301. /Ermcp/QueryErmcpHisOrderDetails:
  20302. get:
  20303. parameters:
  20304. - description: 资金账户ID
  20305. in: query
  20306. name: accountID
  20307. required: true
  20308. type: integer
  20309. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20310. in: query
  20311. name: startDate
  20312. type: string
  20313. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20314. in: query
  20315. name: endDate
  20316. type: string
  20317. produces:
  20318. - application/json
  20319. responses:
  20320. "200":
  20321. description: OK
  20322. schema:
  20323. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20324. "500":
  20325. description: Internal Server Error
  20326. schema:
  20327. $ref: '#/definitions/app.Response'
  20328. security:
  20329. - ApiKeyAuth: []
  20330. summary: 获取企业风管期货历史委托单信息
  20331. tags:
  20332. - 企业风险管理(app)
  20333. /Ermcp/QueryErmcpHisTradeDetails:
  20334. get:
  20335. parameters:
  20336. - description: 资金账户ID
  20337. in: query
  20338. name: accountID
  20339. required: true
  20340. type: integer
  20341. - description: 商品ID
  20342. in: query
  20343. name: goodsID
  20344. type: integer
  20345. - description: 买卖方向,0:买 1:卖
  20346. in: query
  20347. name: buyOrSell
  20348. type: integer
  20349. - description: 关联委托单号
  20350. in: query
  20351. name: orderID
  20352. type: integer
  20353. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20354. in: query
  20355. name: startDate
  20356. type: string
  20357. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20358. in: query
  20359. name: endDate
  20360. type: string
  20361. produces:
  20362. - application/json
  20363. responses:
  20364. "200":
  20365. description: OK
  20366. schema:
  20367. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20368. "500":
  20369. description: Internal Server Error
  20370. schema:
  20371. $ref: '#/definitions/app.Response'
  20372. security:
  20373. - ApiKeyAuth: []
  20374. summary: 获取企业风管期货历史成交单信息
  20375. tags:
  20376. - 企业风险管理(app)
  20377. /Ermcp/QueryErmcpInnerHolderDetails:
  20378. get:
  20379. parameters:
  20380. - description: 资金账户ID
  20381. in: query
  20382. name: accountID
  20383. required: true
  20384. type: integer
  20385. - description: 商品ID
  20386. in: query
  20387. name: goodsID
  20388. type: integer
  20389. - description: 买卖方向,0:买 1:卖
  20390. in: query
  20391. name: buyOrSell
  20392. type: integer
  20393. produces:
  20394. - application/json
  20395. responses:
  20396. "200":
  20397. description: OK
  20398. schema:
  20399. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20400. "500":
  20401. description: Internal Server Error
  20402. schema:
  20403. $ref: '#/definitions/app.Response'
  20404. security:
  20405. - ApiKeyAuth: []
  20406. summary: 获取企业风管期货内部持仓单信息
  20407. tags:
  20408. - 企业风险管理(app)
  20409. /Ermcp/QueryErmcpOrderDetails:
  20410. get:
  20411. parameters:
  20412. - description: 资金账户ID
  20413. in: query
  20414. name: accountID
  20415. required: true
  20416. type: integer
  20417. produces:
  20418. - application/json
  20419. responses:
  20420. "200":
  20421. description: OK
  20422. schema:
  20423. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20424. "500":
  20425. description: Internal Server Error
  20426. schema:
  20427. $ref: '#/definitions/app.Response'
  20428. security:
  20429. - ApiKeyAuth: []
  20430. summary: 获取企业风管期货委托单信息
  20431. tags:
  20432. - 企业风险管理(app)
  20433. /Ermcp/QueryErmcpTradeDetails:
  20434. get:
  20435. parameters:
  20436. - description: 资金账户ID
  20437. in: query
  20438. name: accountID
  20439. required: true
  20440. type: integer
  20441. - description: 商品ID
  20442. in: query
  20443. name: goodsID
  20444. type: integer
  20445. - description: 买卖方向,0:买 1:卖
  20446. in: query
  20447. name: buyOrSell
  20448. type: integer
  20449. - description: 关联委托单号
  20450. in: query
  20451. name: orderID
  20452. type: integer
  20453. produces:
  20454. - application/json
  20455. responses:
  20456. "200":
  20457. description: OK
  20458. schema:
  20459. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20460. "500":
  20461. description: Internal Server Error
  20462. schema:
  20463. $ref: '#/definitions/app.Response'
  20464. security:
  20465. - ApiKeyAuth: []
  20466. summary: 获取企业风管期货成交单信息
  20467. tags:
  20468. - 企业风险管理(app)
  20469. /Ermcp/QueryErmcpTradePosition:
  20470. get:
  20471. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20472. parameters:
  20473. - description: 资金账户ID
  20474. in: query
  20475. name: accountID
  20476. required: true
  20477. type: integer
  20478. - description: 所属市场ID
  20479. in: query
  20480. name: marketID
  20481. type: integer
  20482. produces:
  20483. - application/json
  20484. responses:
  20485. "200":
  20486. description: OK
  20487. schema:
  20488. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20489. "500":
  20490. description: Internal Server Error
  20491. schema:
  20492. $ref: '#/definitions/app.Response'
  20493. security:
  20494. - ApiKeyAuth: []
  20495. summary: 获取企业风管期货持仓头寸信息
  20496. tags:
  20497. - 企业风险管理(app)
  20498. /Ermcp/QueryExposureDetail:
  20499. get:
  20500. parameters:
  20501. - description: 所属机构ID
  20502. in: query
  20503. name: areaUserId
  20504. required: true
  20505. type: integer
  20506. - description: 套保商品
  20507. in: query
  20508. name: middleGoodsId
  20509. required: true
  20510. type: integer
  20511. produces:
  20512. - application/json
  20513. responses:
  20514. "200":
  20515. description: OK
  20516. schema:
  20517. items:
  20518. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20519. type: array
  20520. "500":
  20521. description: Internal Server Error
  20522. schema:
  20523. $ref: '#/definitions/app.Response'
  20524. security:
  20525. - ApiKeyAuth: []
  20526. summary: 查询敞口现货明细
  20527. tags:
  20528. - 企业风险管理(app)
  20529. /Ermcp/QueryExposureGoods:
  20530. get:
  20531. parameters:
  20532. - description: 套保商品id
  20533. in: query
  20534. name: middlegoodsid
  20535. required: true
  20536. type: integer
  20537. produces:
  20538. - application/json
  20539. responses:
  20540. "200":
  20541. description: OK
  20542. schema:
  20543. items:
  20544. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20545. type: array
  20546. "500":
  20547. description: Internal Server Error
  20548. schema:
  20549. $ref: '#/definitions/app.Response'
  20550. security:
  20551. - ApiKeyAuth: []
  20552. summary: 查询敞口主力合约
  20553. tags:
  20554. - 企业风险管理(app)
  20555. /Ermcp/QueryExposureHedgePosition:
  20556. get:
  20557. parameters:
  20558. - description: 用户id
  20559. in: query
  20560. name: userid
  20561. required: true
  20562. type: integer
  20563. produces:
  20564. - application/json
  20565. responses:
  20566. "200":
  20567. description: OK
  20568. schema:
  20569. items:
  20570. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20571. type: array
  20572. "500":
  20573. description: Internal Server Error
  20574. schema:
  20575. $ref: '#/definitions/app.Response'
  20576. security:
  20577. - ApiKeyAuth: []
  20578. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20579. tags:
  20580. - 企业风险管理(app)
  20581. /Ermcp/QueryExposureHedgePositionDetail:
  20582. get:
  20583. parameters:
  20584. - description: 所属机构ID
  20585. in: query
  20586. name: userid
  20587. required: true
  20588. type: integer
  20589. - description: 商品id
  20590. in: query
  20591. name: goodsId
  20592. required: true
  20593. type: integer
  20594. produces:
  20595. - application/json
  20596. responses:
  20597. "200":
  20598. description: OK
  20599. schema:
  20600. items:
  20601. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20602. type: array
  20603. "500":
  20604. description: Internal Server Error
  20605. schema:
  20606. $ref: '#/definitions/app.Response'
  20607. security:
  20608. - ApiKeyAuth: []
  20609. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20610. tags:
  20611. - 企业风险管理(app)
  20612. /Ermcp/QueryExposureSpot:
  20613. get:
  20614. parameters:
  20615. - description: 所属机构ID
  20616. in: query
  20617. name: areaUserId
  20618. required: true
  20619. type: integer
  20620. produces:
  20621. - application/json
  20622. responses:
  20623. "200":
  20624. description: OK
  20625. schema:
  20626. items:
  20627. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20628. type: array
  20629. "500":
  20630. description: Internal Server Error
  20631. schema:
  20632. $ref: '#/definitions/app.Response'
  20633. security:
  20634. - ApiKeyAuth: []
  20635. summary: 查询敞口现货头寸(敞口/现货头寸)
  20636. tags:
  20637. - 企业风险管理(app)
  20638. /Ermcp/QueryExposureSpotDetail:
  20639. get:
  20640. parameters:
  20641. - description: 所属机构ID
  20642. in: query
  20643. name: areaUserId
  20644. required: true
  20645. type: integer
  20646. - description: 现货品种ID
  20647. in: query
  20648. name: wrstandardId
  20649. required: true
  20650. type: integer
  20651. produces:
  20652. - application/json
  20653. responses:
  20654. "200":
  20655. description: OK
  20656. schema:
  20657. items:
  20658. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20659. type: array
  20660. "500":
  20661. description: Internal Server Error
  20662. schema:
  20663. $ref: '#/definitions/app.Response'
  20664. security:
  20665. - ApiKeyAuth: []
  20666. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20667. tags:
  20668. - 企业风险管理(app)
  20669. /Ermcp/QueryFuturesCompany:
  20670. get:
  20671. produces:
  20672. - application/json
  20673. responses:
  20674. "200":
  20675. description: OK
  20676. schema:
  20677. items:
  20678. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20679. type: array
  20680. "500":
  20681. description: Internal Server Error
  20682. schema:
  20683. $ref: '#/definitions/app.Response'
  20684. security:
  20685. - ApiKeyAuth: []
  20686. summary: 查询期货公司
  20687. tags:
  20688. - 企业风险管理(app)
  20689. /Ermcp/QueryGGConvertConfig:
  20690. get:
  20691. parameters:
  20692. - description: 品种id(不填则查所有)
  20693. in: query
  20694. name: goodsgroupid
  20695. type: integer
  20696. produces:
  20697. - application/json
  20698. responses:
  20699. "200":
  20700. description: OK
  20701. schema:
  20702. items:
  20703. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  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/QueryGoodsBrand:
  20715. get:
  20716. parameters:
  20717. - description: 用户ID
  20718. in: query
  20719. name: userid
  20720. required: true
  20721. type: integer
  20722. - description: 现货商品ID
  20723. in: query
  20724. name: wrstandardid
  20725. type: integer
  20726. produces:
  20727. - application/json
  20728. responses:
  20729. "200":
  20730. description: OK
  20731. schema:
  20732. items:
  20733. $ref: '#/definitions/models.ErmcpGoodsBrand'
  20734. type: array
  20735. "500":
  20736. description: Internal Server Error
  20737. schema:
  20738. $ref: '#/definitions/app.Response'
  20739. security:
  20740. - ApiKeyAuth: []
  20741. summary: 查询商品品牌
  20742. tags:
  20743. - 企业风险管理(app)
  20744. /Ermcp/QueryGoodsModel:
  20745. get:
  20746. parameters:
  20747. - description: 用户ID
  20748. in: query
  20749. name: userid
  20750. required: true
  20751. type: integer
  20752. produces:
  20753. - application/json
  20754. responses:
  20755. "200":
  20756. description: OK
  20757. schema:
  20758. items:
  20759. $ref: '#/definitions/models.ErmcpGoodsModel'
  20760. type: array
  20761. "500":
  20762. description: Internal Server Error
  20763. schema:
  20764. $ref: '#/definitions/app.Response'
  20765. security:
  20766. - ApiKeyAuth: []
  20767. summary: 查询商品型号
  20768. tags:
  20769. - 企业风险管理(app)
  20770. /Ermcp/QueryHisExposure:
  20771. get:
  20772. parameters:
  20773. - description: 用户id
  20774. in: query
  20775. name: userid
  20776. required: true
  20777. type: integer
  20778. - description: 每个品种记录数
  20779. in: query
  20780. name: lastNum
  20781. required: true
  20782. type: integer
  20783. produces:
  20784. - application/json
  20785. responses:
  20786. "200":
  20787. description: OK
  20788. schema:
  20789. items:
  20790. $ref: '#/definitions/ermcp.HisExposureRsp'
  20791. type: array
  20792. "500":
  20793. description: Internal Server Error
  20794. schema:
  20795. $ref: '#/definitions/app.Response'
  20796. security:
  20797. - ApiKeyAuth: []
  20798. summary: 查询历史敞口(菜单:敞口/历史敞口)
  20799. tags:
  20800. - 企业风险管理(app)
  20801. /Ermcp/QueryMiddleGoods:
  20802. get:
  20803. parameters:
  20804. - description: 所属机构ID
  20805. in: query
  20806. name: userid
  20807. required: true
  20808. type: integer
  20809. - description: 状态 0-停用 1-正常
  20810. in: query
  20811. name: status
  20812. required: true
  20813. type: integer
  20814. produces:
  20815. - application/json
  20816. responses:
  20817. "200":
  20818. description: OK
  20819. schema:
  20820. items:
  20821. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  20822. type: array
  20823. "500":
  20824. description: Internal Server Error
  20825. schema:
  20826. $ref: '#/definitions/app.Response'
  20827. security:
  20828. - ApiKeyAuth: []
  20829. summary: 查询套保品种(菜单:套保品种)
  20830. tags:
  20831. - 企业风险管理(app)
  20832. /Ermcp/QueryMiddleGoodsChangeLog:
  20833. get:
  20834. parameters:
  20835. - description: 所属机构ID
  20836. in: query
  20837. name: userid
  20838. required: true
  20839. type: integer
  20840. - description: 套保品种id
  20841. in: query
  20842. name: middlegoodsid
  20843. required: true
  20844. type: integer
  20845. produces:
  20846. - application/json
  20847. responses:
  20848. "200":
  20849. description: OK
  20850. schema:
  20851. items:
  20852. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  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/QueryMiddleGoodsDetail:
  20864. get:
  20865. parameters:
  20866. - description: 所属机构ID
  20867. in: query
  20868. name: userid
  20869. required: true
  20870. type: integer
  20871. - description: 套保品种id
  20872. in: query
  20873. name: middlegoodsid
  20874. type: integer
  20875. produces:
  20876. - application/json
  20877. responses:
  20878. "200":
  20879. description: OK
  20880. schema:
  20881. items:
  20882. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  20883. type: array
  20884. "500":
  20885. description: Internal Server Error
  20886. schema:
  20887. $ref: '#/definitions/app.Response'
  20888. security:
  20889. - ApiKeyAuth: []
  20890. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  20891. tags:
  20892. - 企业风险管理(app)
  20893. /Ermcp/QueryPendingAuditInfo:
  20894. get:
  20895. parameters:
  20896. - description: 用户ID
  20897. in: query
  20898. name: UserId
  20899. required: true
  20900. type: integer
  20901. produces:
  20902. - application/json
  20903. responses:
  20904. "200":
  20905. description: OK
  20906. schema:
  20907. items:
  20908. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  20909. type: array
  20910. "500":
  20911. description: Internal Server Error
  20912. schema:
  20913. $ref: '#/definitions/app.Response'
  20914. security:
  20915. - ApiKeyAuth: []
  20916. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  20917. tags:
  20918. - 企业风险管理(app)
  20919. /Ermcp/QueryRealtimeExposure:
  20920. get:
  20921. parameters:
  20922. - description: 所属机构ID
  20923. in: query
  20924. name: userid
  20925. required: true
  20926. type: integer
  20927. produces:
  20928. - application/json
  20929. responses:
  20930. "200":
  20931. description: OK
  20932. schema:
  20933. items:
  20934. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  20935. type: array
  20936. "500":
  20937. description: Internal Server Error
  20938. schema:
  20939. $ref: '#/definitions/app.Response'
  20940. security:
  20941. - ApiKeyAuth: []
  20942. summary: 查询实时敞口
  20943. tags:
  20944. - 企业风险管理(app)
  20945. /Ermcp/QueryRealtimeExposurePosition:
  20946. get:
  20947. parameters:
  20948. - description: 用户id
  20949. in: query
  20950. name: userid
  20951. required: true
  20952. type: integer
  20953. - description: 套保商品ID
  20954. in: query
  20955. name: middleGoodsId
  20956. required: true
  20957. type: integer
  20958. produces:
  20959. - application/json
  20960. responses:
  20961. "200":
  20962. description: OK
  20963. schema:
  20964. items:
  20965. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  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/QueryRoleMenu:
  20977. get:
  20978. parameters:
  20979. - description: 登录ID
  20980. in: query
  20981. name: loginid
  20982. required: true
  20983. type: integer
  20984. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  20985. in: query
  20986. name: menutype
  20987. type: integer
  20988. produces:
  20989. - application/json
  20990. responses:
  20991. "200":
  20992. description: OK
  20993. schema:
  20994. items:
  20995. $ref: '#/definitions/models.RoleMenu'
  20996. type: array
  20997. "500":
  20998. description: Internal Server Error
  20999. schema:
  21000. $ref: '#/definitions/app.Response'
  21001. security:
  21002. - ApiKeyAuth: []
  21003. summary: 查询角色菜单和权限
  21004. tags:
  21005. - 企业风险管理(app)
  21006. /Ermcp/QueryTradeConfigTMP:
  21007. get:
  21008. parameters:
  21009. - description: 所属机构id
  21010. in: query
  21011. name: areauserid
  21012. type: integer
  21013. produces:
  21014. - application/json
  21015. responses:
  21016. "200":
  21017. description: OK
  21018. schema:
  21019. items:
  21020. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  21021. type: array
  21022. "500":
  21023. description: Internal Server Error
  21024. schema:
  21025. $ref: '#/definitions/app.Response'
  21026. security:
  21027. - ApiKeyAuth: []
  21028. summary: 查询交易模板配置
  21029. tags:
  21030. - 企业风险管理(app)
  21031. /Ermcp/QueryUserInfo:
  21032. get:
  21033. parameters:
  21034. - description: 所属机构用户ID
  21035. in: query
  21036. name: MemberUserID
  21037. required: true
  21038. type: integer
  21039. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  21040. in: query
  21041. name: queryType
  21042. required: true
  21043. type: integer
  21044. produces:
  21045. - application/json
  21046. responses:
  21047. "200":
  21048. description: OK
  21049. schema:
  21050. items:
  21051. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  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. /Ermcp/QueryWarehouseInfo:
  21063. get:
  21064. parameters:
  21065. - description: 用户ID
  21066. in: query
  21067. name: userid
  21068. required: true
  21069. type: integer
  21070. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  21071. in: query
  21072. name: status
  21073. type: string
  21074. produces:
  21075. - application/json
  21076. responses:
  21077. "200":
  21078. description: OK
  21079. schema:
  21080. items:
  21081. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  21082. type: array
  21083. "500":
  21084. description: Internal Server Error
  21085. schema:
  21086. $ref: '#/definitions/app.Response'
  21087. security:
  21088. - ApiKeyAuth: []
  21089. summary: 查询仓库信息
  21090. tags:
  21091. - 企业风险管理(app)
  21092. /Ermcp3/QryAreaExpourseContractDetail:
  21093. get:
  21094. parameters:
  21095. - description: 用户ID
  21096. in: query
  21097. name: userid
  21098. required: true
  21099. type: integer
  21100. - description: 套保商品id
  21101. in: query
  21102. name: middlegoodsid
  21103. required: true
  21104. type: integer
  21105. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21106. in: query
  21107. name: cycletype
  21108. required: true
  21109. type: integer
  21110. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21111. in: query
  21112. name: cycletime
  21113. required: true
  21114. type: string
  21115. produces:
  21116. - application/json
  21117. responses:
  21118. "200":
  21119. description: OK
  21120. schema:
  21121. items:
  21122. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  21123. type: array
  21124. "500":
  21125. description: Internal Server Error
  21126. schema:
  21127. $ref: '#/definitions/app.Response'
  21128. security:
  21129. - ApiKeyAuth: []
  21130. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  21131. tags:
  21132. - 企业风险管理v3(app)
  21133. /Ermcp3/QryAreaExpourseFutuDetail:
  21134. get:
  21135. parameters:
  21136. - description: 用户ID
  21137. in: query
  21138. name: userid
  21139. required: true
  21140. type: integer
  21141. - description: 套保商品id
  21142. in: query
  21143. name: middlegoodsid
  21144. required: true
  21145. type: integer
  21146. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21147. in: query
  21148. name: cycletype
  21149. required: true
  21150. type: integer
  21151. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21152. in: query
  21153. name: cycletime
  21154. required: true
  21155. type: string
  21156. produces:
  21157. - application/json
  21158. responses:
  21159. "200":
  21160. description: OK
  21161. schema:
  21162. items:
  21163. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  21164. type: array
  21165. "500":
  21166. description: Internal Server Error
  21167. schema:
  21168. $ref: '#/definitions/app.Response'
  21169. security:
  21170. - ApiKeyAuth: []
  21171. summary: 查询敞口期货明细(敞口报表/期货明细)
  21172. tags:
  21173. - 企业风险管理v3(app)
  21174. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  21175. get:
  21176. parameters:
  21177. - description: 用户ID
  21178. in: query
  21179. name: userid
  21180. required: true
  21181. type: integer
  21182. - description: 套保商品id
  21183. in: query
  21184. name: middlegoodsid
  21185. required: true
  21186. type: integer
  21187. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21188. in: query
  21189. name: cycletype
  21190. required: true
  21191. type: integer
  21192. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21193. in: query
  21194. name: cycletime
  21195. required: true
  21196. type: string
  21197. produces:
  21198. - application/json
  21199. responses:
  21200. "200":
  21201. description: OK
  21202. schema:
  21203. items:
  21204. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  21205. type: array
  21206. "500":
  21207. description: Internal Server Error
  21208. schema:
  21209. $ref: '#/definitions/app.Response'
  21210. security:
  21211. - ApiKeyAuth: []
  21212. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  21213. tags:
  21214. - 企业风险管理v3(app)
  21215. /Ermcp3/QryAreaExpourseParamChLogDetail:
  21216. get:
  21217. parameters:
  21218. - description: 用户ID
  21219. in: query
  21220. name: userid
  21221. required: true
  21222. type: integer
  21223. - description: 套保商品id
  21224. in: query
  21225. name: middlegoodsid
  21226. required: true
  21227. type: integer
  21228. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21229. in: query
  21230. name: cycletype
  21231. required: true
  21232. type: integer
  21233. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21234. in: query
  21235. name: cycletime
  21236. required: true
  21237. type: string
  21238. produces:
  21239. - application/json
  21240. responses:
  21241. "200":
  21242. description: OK
  21243. schema:
  21244. items:
  21245. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  21246. type: array
  21247. "500":
  21248. description: Internal Server Error
  21249. schema:
  21250. $ref: '#/definitions/app.Response'
  21251. security:
  21252. - ApiKeyAuth: []
  21253. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  21254. tags:
  21255. - 企业风险管理v3(app)
  21256. /Ermcp3/QryAreaExpourseReport:
  21257. get:
  21258. parameters:
  21259. - description: 用户ID
  21260. in: query
  21261. name: userid
  21262. required: true
  21263. type: integer
  21264. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  21265. in: query
  21266. name: querytype
  21267. required: true
  21268. type: integer
  21269. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21270. in: query
  21271. name: cycletype
  21272. required: true
  21273. type: integer
  21274. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21275. in: query
  21276. name: cycletime
  21277. required: true
  21278. type: string
  21279. produces:
  21280. - application/json
  21281. responses:
  21282. "200":
  21283. description: OK
  21284. schema:
  21285. items:
  21286. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21287. type: array
  21288. "500":
  21289. description: Internal Server Error
  21290. schema:
  21291. $ref: '#/definitions/app.Response'
  21292. security:
  21293. - ApiKeyAuth: []
  21294. summary: 查询敞口报表
  21295. tags:
  21296. - 企业风险管理v3(app)
  21297. /Ermcp3/QryAreaSpotplReport:
  21298. get:
  21299. parameters:
  21300. - description: 用户ID
  21301. in: query
  21302. name: userid
  21303. required: true
  21304. type: integer
  21305. - description: 查询类型 1-报表 2-报表明细
  21306. in: query
  21307. name: querytype
  21308. required: true
  21309. type: integer
  21310. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21311. in: query
  21312. name: cycletype
  21313. required: true
  21314. type: integer
  21315. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21316. in: query
  21317. name: cycletime
  21318. required: true
  21319. type: string
  21320. - description: 现货品种id(明细必填)
  21321. in: query
  21322. name: deliverygoodsid
  21323. type: integer
  21324. - description: 币种id(明细必填)
  21325. in: query
  21326. name: currencyid
  21327. type: integer
  21328. produces:
  21329. - application/json
  21330. responses:
  21331. "200":
  21332. description: OK
  21333. schema:
  21334. items:
  21335. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21336. type: array
  21337. "500":
  21338. description: Internal Server Error
  21339. schema:
  21340. $ref: '#/definitions/app.Response'
  21341. security:
  21342. - ApiKeyAuth: []
  21343. summary: 查询现货报表
  21344. tags:
  21345. - 企业风险管理v3(app)
  21346. /Ermcp3/QryAreaStockReport:
  21347. get:
  21348. parameters:
  21349. - description: 用户ID
  21350. in: query
  21351. name: userid
  21352. required: true
  21353. type: integer
  21354. - description: 查询类型 1-报表 2-报表明细
  21355. in: query
  21356. name: querytype
  21357. required: true
  21358. type: integer
  21359. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21360. in: query
  21361. name: cycletype
  21362. required: true
  21363. type: integer
  21364. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21365. in: query
  21366. name: cycletime
  21367. required: true
  21368. type: string
  21369. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21370. in: query
  21371. name: sumfields
  21372. type: string
  21373. - description: 品种ID
  21374. in: query
  21375. name: deliverygoodsid
  21376. type: integer
  21377. - description: 品类ID
  21378. in: query
  21379. name: wrstandardid
  21380. type: integer
  21381. - description: 品牌ID
  21382. in: query
  21383. name: spotgoodsbrandid
  21384. type: integer
  21385. - description: 仓库ID
  21386. in: query
  21387. name: warehouseinfoid
  21388. type: integer
  21389. produces:
  21390. - application/json
  21391. responses:
  21392. "200":
  21393. description: OK
  21394. schema:
  21395. items:
  21396. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21397. type: array
  21398. "500":
  21399. description: Internal Server Error
  21400. schema:
  21401. $ref: '#/definitions/app.Response'
  21402. security:
  21403. - ApiKeyAuth: []
  21404. summary: 查询库存报表
  21405. tags:
  21406. - 企业风险管理v3(app)
  21407. /Ermcp3/QryAreaSumPL:
  21408. get:
  21409. parameters:
  21410. - description: 用户ID
  21411. in: query
  21412. name: userid
  21413. required: true
  21414. type: integer
  21415. - description: 查询类型 1-报表 2-报表明细
  21416. in: query
  21417. name: querytype
  21418. required: true
  21419. type: integer
  21420. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21421. in: query
  21422. name: cycletype
  21423. required: true
  21424. type: integer
  21425. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21426. in: query
  21427. name: cycletime
  21428. required: true
  21429. type: string
  21430. - description: 币种id(明细必填)
  21431. in: query
  21432. name: currencyid
  21433. type: integer
  21434. produces:
  21435. - application/json
  21436. responses:
  21437. "200":
  21438. description: OK
  21439. schema:
  21440. items:
  21441. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21442. type: array
  21443. "500":
  21444. description: Internal Server Error
  21445. schema:
  21446. $ref: '#/definitions/app.Response'
  21447. security:
  21448. - ApiKeyAuth: []
  21449. summary: 查询汇总损益表
  21450. tags:
  21451. - 企业风险管理v3(app)
  21452. /Ermcp3/QryFinanceReport:
  21453. get:
  21454. parameters:
  21455. - description: 用户ID
  21456. in: query
  21457. name: userid
  21458. required: true
  21459. type: integer
  21460. - description: 查询类型 1-报表 2-报表明细
  21461. in: query
  21462. name: querytype
  21463. required: true
  21464. type: integer
  21465. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21466. in: query
  21467. name: cycletype
  21468. required: true
  21469. type: integer
  21470. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21471. in: query
  21472. name: cycletime
  21473. required: true
  21474. type: string
  21475. - description: 币种id(报表明细必填)
  21476. in: query
  21477. name: currencyid
  21478. type: integer
  21479. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21480. in: query
  21481. name: sumfields
  21482. type: string
  21483. produces:
  21484. - application/json
  21485. responses:
  21486. "200":
  21487. description: OK
  21488. schema:
  21489. items:
  21490. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21491. type: array
  21492. "500":
  21493. description: Internal Server Error
  21494. schema:
  21495. $ref: '#/definitions/app.Response'
  21496. security:
  21497. - ApiKeyAuth: []
  21498. summary: 查询财务报表
  21499. tags:
  21500. - 企业风险管理v3(app)
  21501. /Ermcp3/QrySCMiddleGoodsReport:
  21502. get:
  21503. parameters:
  21504. - description: 用户ID
  21505. in: query
  21506. name: userid
  21507. required: true
  21508. type: integer
  21509. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21510. in: query
  21511. name: cycletype
  21512. required: true
  21513. type: integer
  21514. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21515. in: query
  21516. name: cycletime
  21517. required: true
  21518. type: string
  21519. - description: 合同id
  21520. in: query
  21521. name: spotcontractid
  21522. type: integer
  21523. - description: 套保品种id
  21524. in: query
  21525. name: middlegoodsid
  21526. type: integer
  21527. - description: 现货品种id
  21528. in: query
  21529. name: deliverygoodsid
  21530. type: integer
  21531. - description: 现货商品id
  21532. in: query
  21533. name: wrstandardid
  21534. type: integer
  21535. - description: 合同编号(模糊匹配)
  21536. in: query
  21537. name: contractno
  21538. type: string
  21539. produces:
  21540. - application/json
  21541. responses:
  21542. "200":
  21543. description: OK
  21544. schema:
  21545. items:
  21546. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21547. type: array
  21548. "500":
  21549. description: Internal Server Error
  21550. schema:
  21551. $ref: '#/definitions/app.Response'
  21552. security:
  21553. - ApiKeyAuth: []
  21554. summary: 查询定价报表
  21555. tags:
  21556. - 企业风险管理v3(app)
  21557. /Ermcp3/QryTaFutureDataReport:
  21558. get:
  21559. parameters:
  21560. - description: 用户ID
  21561. in: query
  21562. name: userid
  21563. required: true
  21564. type: integer
  21565. - description: 查询类型 1-报表 2-报表明细
  21566. in: query
  21567. name: querytype
  21568. required: true
  21569. type: integer
  21570. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21571. in: query
  21572. name: cycletype
  21573. required: true
  21574. type: integer
  21575. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21576. in: query
  21577. name: cycletime
  21578. required: true
  21579. type: string
  21580. - description: 币种id(查明细必填)
  21581. in: query
  21582. name: currencyid
  21583. type: integer
  21584. - description: 品种id(查明细必填)
  21585. in: query
  21586. name: goodsgroupid
  21587. type: integer
  21588. - description: 商品id(查明细必填)
  21589. in: query
  21590. name: goodsid
  21591. type: integer
  21592. - description: 买卖方向(查明细必填)
  21593. in: query
  21594. name: buyorsell
  21595. type: integer
  21596. produces:
  21597. - application/json
  21598. responses:
  21599. "200":
  21600. description: OK
  21601. schema:
  21602. items:
  21603. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21604. type: array
  21605. "500":
  21606. description: Internal Server Error
  21607. schema:
  21608. $ref: '#/definitions/app.Response'
  21609. security:
  21610. - ApiKeyAuth: []
  21611. summary: 查询期货报表
  21612. tags:
  21613. - 企业风险管理v3(app)
  21614. /Ermcp3/QueryAreaStock:
  21615. get:
  21616. parameters:
  21617. - description: 用户ID
  21618. in: query
  21619. name: userid
  21620. required: true
  21621. type: integer
  21622. produces:
  21623. - application/json
  21624. responses:
  21625. "200":
  21626. description: OK
  21627. schema:
  21628. items:
  21629. $ref: '#/definitions/models.Ermcp3AreaStock'
  21630. type: array
  21631. "500":
  21632. description: Internal Server Error
  21633. schema:
  21634. $ref: '#/definitions/app.Response'
  21635. security:
  21636. - ApiKeyAuth: []
  21637. summary: 查询机构库存(库存管理/当前库存)
  21638. tags:
  21639. - 企业风险管理v3(app)
  21640. /Ermcp3/QueryAreaStockApply:
  21641. get:
  21642. parameters:
  21643. - description: 用户ID
  21644. in: query
  21645. name: userid
  21646. required: true
  21647. type: integer
  21648. - description: 用户类型 2-机构 7-企业成员
  21649. in: query
  21650. name: usertype
  21651. type: integer
  21652. - description: 现货商品ID
  21653. in: query
  21654. name: deliverygoodsid
  21655. type: integer
  21656. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21657. in: query
  21658. name: inouttype
  21659. type: string
  21660. - description: 合同ID
  21661. in: query
  21662. name: spotcontractid
  21663. type: integer
  21664. - description: 品类ID
  21665. in: query
  21666. name: wrstandardid
  21667. type: integer
  21668. - description: 品牌ID
  21669. in: query
  21670. name: spotgoodsbrandid
  21671. type: integer
  21672. - description: 仓库ID
  21673. in: query
  21674. name: warehouseinfoid
  21675. type: integer
  21676. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21677. in: query
  21678. name: applystatus
  21679. type: string
  21680. produces:
  21681. - application/json
  21682. responses:
  21683. "200":
  21684. description: OK
  21685. schema:
  21686. items:
  21687. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21688. type: array
  21689. "500":
  21690. description: Internal Server Error
  21691. schema:
  21692. $ref: '#/definitions/app.Response'
  21693. security:
  21694. - ApiKeyAuth: []
  21695. summary: 查询库存申请(出入库记录|库存审核)
  21696. tags:
  21697. - 企业风险管理v3(app)
  21698. /Ermcp3/QueryAreaStockApplySum:
  21699. get:
  21700. parameters:
  21701. - description: 合同ID
  21702. in: query
  21703. name: spotcontractid
  21704. required: true
  21705. type: integer
  21706. produces:
  21707. - application/json
  21708. responses:
  21709. "200":
  21710. description: OK
  21711. schema:
  21712. items:
  21713. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21714. type: array
  21715. "500":
  21716. description: Internal Server Error
  21717. schema:
  21718. $ref: '#/definitions/app.Response'
  21719. security:
  21720. - ApiKeyAuth: []
  21721. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21722. tags:
  21723. - 企业风险管理v3(app)
  21724. /Ermcp3/QueryDGFactoryItem:
  21725. get:
  21726. parameters:
  21727. - description: 用户id
  21728. in: query
  21729. name: userid
  21730. type: integer
  21731. - description: 用户类型 2-机构 7-企业成员
  21732. in: query
  21733. name: usertype
  21734. type: integer
  21735. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21736. in: query
  21737. name: dgfactoryitemid
  21738. type: integer
  21739. - description: 现货品种ID
  21740. in: query
  21741. name: deliverygoodsid
  21742. type: integer
  21743. - description: 要素项类型
  21744. in: query
  21745. name: dgfactoryitemtypeid
  21746. type: integer
  21747. - description: 顺序
  21748. in: query
  21749. name: orderindex
  21750. type: integer
  21751. produces:
  21752. - application/json
  21753. responses:
  21754. "200":
  21755. description: OK
  21756. schema:
  21757. items:
  21758. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  21759. type: array
  21760. "500":
  21761. description: Internal Server Error
  21762. schema:
  21763. $ref: '#/definitions/app.Response'
  21764. security:
  21765. - ApiKeyAuth: []
  21766. summary: 查询品种要素定义项
  21767. tags:
  21768. - 企业风险管理v3(app)
  21769. /Ermcp3/QueryDeliveryGoods:
  21770. get:
  21771. parameters:
  21772. - description: 用户id
  21773. in: query
  21774. name: userid
  21775. required: true
  21776. type: integer
  21777. - description: 用户类型 2-机构 7-企业成员
  21778. in: query
  21779. name: usertype
  21780. type: integer
  21781. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21782. in: query
  21783. name: excludecfg
  21784. type: integer
  21785. produces:
  21786. - application/json
  21787. responses:
  21788. "200":
  21789. description: OK
  21790. schema:
  21791. items:
  21792. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  21793. type: array
  21794. "500":
  21795. description: Internal Server Error
  21796. schema:
  21797. $ref: '#/definitions/app.Response'
  21798. security:
  21799. - ApiKeyAuth: []
  21800. summary: 查询现货商品
  21801. tags:
  21802. - 企业风险管理v3(app)
  21803. /Ermcp3/QueryDeliveryGoodsDetail:
  21804. get:
  21805. parameters:
  21806. - description: 用户id
  21807. in: query
  21808. name: userid
  21809. required: true
  21810. type: integer
  21811. - description: 用户类型 2-机构 7-企业成员
  21812. in: query
  21813. name: usertype
  21814. type: integer
  21815. - description: 现货商品id
  21816. in: query
  21817. name: deliverygoodsid
  21818. type: integer
  21819. produces:
  21820. - application/json
  21821. responses:
  21822. "200":
  21823. description: OK
  21824. schema:
  21825. items:
  21826. $ref: '#/definitions/models.XHDeliveryGoods'
  21827. type: array
  21828. "500":
  21829. description: Internal Server Error
  21830. schema:
  21831. $ref: '#/definitions/app.Response'
  21832. security:
  21833. - ApiKeyAuth: []
  21834. summary: 查询现货商品详情
  21835. tags:
  21836. - 企业风险管理v3(app)
  21837. /Ermcp3/QueryExposureDetail:
  21838. get:
  21839. parameters:
  21840. - description: 用户id
  21841. in: query
  21842. name: userid
  21843. required: true
  21844. type: integer
  21845. - description: 用户类型 2-机构 7-企业成员
  21846. in: query
  21847. name: usertype
  21848. type: integer
  21849. - description: 套保商品
  21850. in: query
  21851. name: middlegoodsid
  21852. required: true
  21853. type: integer
  21854. produces:
  21855. - application/json
  21856. responses:
  21857. "200":
  21858. description: OK
  21859. schema:
  21860. items:
  21861. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  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/QueryExposureSpot:
  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. produces:
  21885. - application/json
  21886. responses:
  21887. "200":
  21888. description: OK
  21889. schema:
  21890. items:
  21891. $ref: '#/definitions/models.Ermcp3AreaSpot'
  21892. type: array
  21893. "500":
  21894. description: Internal Server Error
  21895. schema:
  21896. $ref: '#/definitions/app.Response'
  21897. security:
  21898. - ApiKeyAuth: []
  21899. summary: 查询敞口现货头寸(敞口/现货头寸)
  21900. tags:
  21901. - 企业风险管理v3(app)
  21902. /Ermcp3/QueryExposureSpotDetail:
  21903. get:
  21904. parameters:
  21905. - description: 用户id
  21906. in: query
  21907. name: userid
  21908. required: true
  21909. type: integer
  21910. - description: 用户类型 2-机构 7-企业成员
  21911. in: query
  21912. name: usertype
  21913. type: integer
  21914. - description: 现货商品ID
  21915. in: query
  21916. name: wrstandardid
  21917. required: true
  21918. type: integer
  21919. produces:
  21920. - application/json
  21921. responses:
  21922. "200":
  21923. description: OK
  21924. schema:
  21925. items:
  21926. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  21927. type: array
  21928. "500":
  21929. description: Internal Server Error
  21930. schema:
  21931. $ref: '#/definitions/app.Response'
  21932. security:
  21933. - ApiKeyAuth: []
  21934. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21935. tags:
  21936. - 企业风险管理v3(app)
  21937. /Ermcp3/QueryGoodsGroup:
  21938. get:
  21939. parameters:
  21940. - description: 用户id
  21941. in: query
  21942. name: userid
  21943. required: true
  21944. type: integer
  21945. - description: 用户类型 2-机构 7-企业成员
  21946. in: query
  21947. name: usertype
  21948. type: integer
  21949. - description: 排除套保品中已关联的商品组 1-排除
  21950. in: query
  21951. name: excludecfg
  21952. type: integer
  21953. produces:
  21954. - application/json
  21955. responses:
  21956. "200":
  21957. description: OK
  21958. schema:
  21959. items:
  21960. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  21961. type: array
  21962. "500":
  21963. description: Internal Server Error
  21964. schema:
  21965. $ref: '#/definitions/app.Response'
  21966. security:
  21967. - ApiKeyAuth: []
  21968. summary: 查询期货商品组
  21969. tags:
  21970. - 企业风险管理v3(app)
  21971. /Ermcp3/QueryGoodsWrstandard:
  21972. get:
  21973. parameters:
  21974. - description: 用户id
  21975. in: query
  21976. name: userid
  21977. required: true
  21978. type: integer
  21979. - description: 用户类型 2-机构 7-企业成员
  21980. in: query
  21981. name: usertype
  21982. type: integer
  21983. - description: 现货商品id
  21984. in: query
  21985. name: deliverygoodsid
  21986. type: integer
  21987. produces:
  21988. - application/json
  21989. responses:
  21990. "200":
  21991. description: OK
  21992. schema:
  21993. items:
  21994. $ref: '#/definitions/models.Ermcp3Wrstandard'
  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/QueryGoodsbrand:
  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. produces:
  22018. - application/json
  22019. responses:
  22020. "200":
  22021. description: OK
  22022. schema:
  22023. items:
  22024. $ref: '#/definitions/models.Ermcp3Brand'
  22025. type: array
  22026. "500":
  22027. description: Internal Server Error
  22028. schema:
  22029. $ref: '#/definitions/app.Response'
  22030. security:
  22031. - ApiKeyAuth: []
  22032. summary: 查询商品品牌
  22033. tags:
  22034. - 企业风险管理v3(app)
  22035. /Ermcp3/QueryHedgePlan:
  22036. get:
  22037. parameters:
  22038. - description: 用户ID
  22039. in: query
  22040. name: userid
  22041. required: true
  22042. type: integer
  22043. - description: 用户类型 2-机构 7-企业成员
  22044. in: query
  22045. name: usertype
  22046. type: integer
  22047. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22048. in: query
  22049. name: hedgeplanstatus
  22050. required: true
  22051. type: string
  22052. produces:
  22053. - application/json
  22054. responses:
  22055. "200":
  22056. description: OK
  22057. schema:
  22058. items:
  22059. $ref: '#/definitions/models.Ermcp3HedgePlan'
  22060. type: array
  22061. "500":
  22062. description: Internal Server Error
  22063. schema:
  22064. $ref: '#/definitions/app.Response'
  22065. security:
  22066. - ApiKeyAuth: []
  22067. summary: 查询套保计划
  22068. tags:
  22069. - 企业风险管理v3(app)
  22070. /Ermcp3/QueryInnerTradeLink:
  22071. get:
  22072. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  22073. parameters:
  22074. - description: 外部成交单号
  22075. in: query
  22076. name: outtradeid
  22077. required: true
  22078. type: integer
  22079. produces:
  22080. - application/json
  22081. responses:
  22082. "200":
  22083. description: OK
  22084. schema:
  22085. items:
  22086. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  22087. type: array
  22088. "500":
  22089. description: Internal Server Error
  22090. schema:
  22091. $ref: '#/definitions/app.Response'
  22092. security:
  22093. - ApiKeyAuth: []
  22094. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  22095. tags:
  22096. - 企业风险管理v3(app)
  22097. /Ermcp3/QueryMiddleGoodsDetail:
  22098. get:
  22099. parameters:
  22100. - description: 用户id
  22101. in: query
  22102. name: userid
  22103. required: true
  22104. type: integer
  22105. - description: 用户类型 2-机构 7-企业成员
  22106. in: query
  22107. name: usertype
  22108. type: integer
  22109. - description: 套保品种id
  22110. in: query
  22111. name: middlegoodsid
  22112. type: integer
  22113. produces:
  22114. - application/json
  22115. responses:
  22116. "200":
  22117. description: OK
  22118. schema:
  22119. items:
  22120. $ref: '#/definitions/models.TBMiddleGoods'
  22121. type: array
  22122. "500":
  22123. description: Internal Server Error
  22124. schema:
  22125. $ref: '#/definitions/app.Response'
  22126. security:
  22127. - ApiKeyAuth: []
  22128. summary: 查询套保品种详情(套保品种/商品详情)
  22129. tags:
  22130. - 企业风险管理v3(app)
  22131. /Ermcp3/QueryOutTradeLink:
  22132. get:
  22133. description: 页面 app 现货->期现关联->外部成交单关联
  22134. parameters:
  22135. - description: 用户ID(填登录用户的userid)
  22136. in: query
  22137. name: userid
  22138. required: true
  22139. type: integer
  22140. - description: 外部订单号(模糊匹配)
  22141. in: query
  22142. name: outtradeid
  22143. type: string
  22144. - description: 合约名称/代码(模糊匹配)
  22145. in: query
  22146. name: goodsname
  22147. type: string
  22148. - description: 关联状态 0-未关联 1-已关联
  22149. in: query
  22150. name: hasinnerorder
  22151. type: integer
  22152. produces:
  22153. - application/json
  22154. responses:
  22155. "200":
  22156. description: OK
  22157. schema:
  22158. items:
  22159. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  22160. type: array
  22161. "500":
  22162. description: Internal Server Error
  22163. schema:
  22164. $ref: '#/definitions/app.Response'
  22165. security:
  22166. - ApiKeyAuth: []
  22167. summary: 查询外部成交单关联
  22168. tags:
  22169. - 企业风险管理v3(app)
  22170. /Ermcp3/QueryPaAreaAuditCfg:
  22171. get:
  22172. parameters:
  22173. - description: 用户id
  22174. in: query
  22175. name: userid
  22176. required: true
  22177. type: integer
  22178. produces:
  22179. - application/json
  22180. responses:
  22181. "200":
  22182. description: OK
  22183. schema:
  22184. items:
  22185. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  22186. type: array
  22187. "500":
  22188. description: Internal Server Error
  22189. schema:
  22190. $ref: '#/definitions/app.Response'
  22191. security:
  22192. - ApiKeyAuth: []
  22193. summary: 查询审核设置
  22194. tags:
  22195. - 企业风险管理v3(app)
  22196. /Ermcp3/QueryPaAreaSubject:
  22197. get:
  22198. parameters:
  22199. - description: 用户id
  22200. in: query
  22201. name: userid
  22202. required: true
  22203. type: integer
  22204. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  22205. in: query
  22206. name: subjectid
  22207. type: integer
  22208. - description: 主体类型 - 1:交易主体 2:业务部门
  22209. in: query
  22210. name: subjecttype
  22211. type: integer
  22212. - description: '主体状态 - 1:正常 2: 停用'
  22213. in: query
  22214. name: subjectstatus
  22215. type: integer
  22216. produces:
  22217. - application/json
  22218. responses:
  22219. "200":
  22220. description: OK
  22221. schema:
  22222. items:
  22223. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  22224. type: array
  22225. "500":
  22226. description: Internal Server Error
  22227. schema:
  22228. $ref: '#/definitions/app.Response'
  22229. security:
  22230. - ApiKeyAuth: []
  22231. summary: 查询交易主体
  22232. tags:
  22233. - 企业风险管理v3(app)
  22234. /Ermcp3/QueryPaTradeLink:
  22235. get:
  22236. description: 页面 app 现货->期现关联->期现单据关联
  22237. parameters:
  22238. - description: 用户ID
  22239. in: query
  22240. name: userid
  22241. required: true
  22242. type: integer
  22243. produces:
  22244. - application/json
  22245. responses:
  22246. "200":
  22247. description: OK
  22248. schema:
  22249. items:
  22250. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  22251. type: array
  22252. "500":
  22253. description: Internal Server Error
  22254. schema:
  22255. $ref: '#/definitions/app.Response'
  22256. security:
  22257. - ApiKeyAuth: []
  22258. summary: 查询期现单据关联
  22259. tags:
  22260. - 企业风险管理v3(app)
  22261. /Ermcp3/QueryPaTradeLinkDetail:
  22262. get:
  22263. description: 页面 app 现货->期现关联->关联记录
  22264. parameters:
  22265. - description: 用户ID(填登录用户的userid)
  22266. in: query
  22267. name: userid
  22268. required: true
  22269. type: integer
  22270. - description: 关联状态 1:成功 2:失败 3:解绑
  22271. in: query
  22272. name: linkstatus
  22273. type: integer
  22274. - description: 期货订单号(模糊匹配)
  22275. in: query
  22276. name: tradeid
  22277. type: string
  22278. - description: 现货编号(模糊匹配)
  22279. in: query
  22280. name: contractno
  22281. type: string
  22282. - description: 期货账户(模糊匹配)
  22283. in: query
  22284. name: taname
  22285. type: string
  22286. produces:
  22287. - application/json
  22288. responses:
  22289. "200":
  22290. description: OK
  22291. schema:
  22292. items:
  22293. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22294. type: array
  22295. "500":
  22296. description: Internal Server Error
  22297. schema:
  22298. $ref: '#/definitions/app.Response'
  22299. security:
  22300. - ApiKeyAuth: []
  22301. summary: 查询期现关联记录
  22302. tags:
  22303. - 企业风险管理v3(app)
  22304. /Ermcp3/QueryParamChangeApp:
  22305. get:
  22306. description: |-
  22307. 原型页面:
  22308. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22309. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22310. parameters:
  22311. - description: 用户ID
  22312. in: query
  22313. name: userid
  22314. required: true
  22315. type: integer
  22316. - description: 现货品种id
  22317. in: query
  22318. name: deliverygoodsid
  22319. type: integer
  22320. - description: 现货商品id
  22321. in: query
  22322. name: wrstandardid
  22323. type: integer
  22324. - description: 套保商品id
  22325. in: query
  22326. name: middlegoodsid
  22327. type: integer
  22328. - description: 操作类型 1:新增 2:修改
  22329. in: query
  22330. name: operatetype
  22331. type: integer
  22332. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22333. in: query
  22334. name: paramchangetype
  22335. type: integer
  22336. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22337. in: query
  22338. name: ftstatus
  22339. type: string
  22340. produces:
  22341. - application/json
  22342. responses:
  22343. "200":
  22344. description: OK
  22345. schema:
  22346. items:
  22347. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22348. type: array
  22349. "500":
  22350. description: Internal Server Error
  22351. schema:
  22352. $ref: '#/definitions/app.Response'
  22353. security:
  22354. - ApiKeyAuth: []
  22355. summary: 查询现货商品参数变更申请(流水)
  22356. tags:
  22357. - 企业风险管理v3(app)
  22358. /Ermcp3/QueryRootUserAccount:
  22359. get:
  22360. parameters:
  22361. - description: 用户ID
  22362. in: query
  22363. name: userid
  22364. required: true
  22365. type: integer
  22366. produces:
  22367. - application/json
  22368. responses:
  22369. "200":
  22370. description: OK
  22371. schema:
  22372. items:
  22373. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22374. type: array
  22375. "500":
  22376. description: Internal Server Error
  22377. schema:
  22378. $ref: '#/definitions/app.Response'
  22379. security:
  22380. - ApiKeyAuth: []
  22381. summary: 查询顶级用户信息
  22382. tags:
  22383. - 企业风险管理v3(app)
  22384. /Ermcp3/QuerySCMiddleGoods:
  22385. get:
  22386. description: |-
  22387. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22388. 现货编号 即 合同编号
  22389. parameters:
  22390. - description: 用户ID(填登录用户的userid)
  22391. in: query
  22392. name: userid
  22393. required: true
  22394. type: integer
  22395. - description: 买卖方向 0-买 1-卖
  22396. in: query
  22397. name: buyorsell
  22398. required: true
  22399. type: integer
  22400. - description: 商品组id
  22401. in: query
  22402. name: goodsgroupid
  22403. required: true
  22404. type: integer
  22405. - description: 业务类型 1:套保 2:套利
  22406. in: query
  22407. name: biztype
  22408. type: integer
  22409. - description: 现货编号(模糊匹配)
  22410. in: query
  22411. name: contractno
  22412. type: string
  22413. - description: 对手方(模糊匹配)
  22414. in: query
  22415. name: customername
  22416. type: string
  22417. - description: 现货商品名称(模糊匹配)
  22418. in: query
  22419. name: wrstandardname
  22420. type: string
  22421. produces:
  22422. - application/json
  22423. responses:
  22424. "200":
  22425. description: OK
  22426. schema:
  22427. items:
  22428. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22429. type: array
  22430. "500":
  22431. description: Internal Server Error
  22432. schema:
  22433. $ref: '#/definitions/app.Response'
  22434. security:
  22435. - ApiKeyAuth: []
  22436. summary: 查询现货订单
  22437. tags:
  22438. - 企业风险管理v3(app)
  22439. /Ermcp3/QuerySpotContract:
  22440. get:
  22441. parameters:
  22442. - description: 用户id(当指定contractid, userid可不填)
  22443. in: query
  22444. name: userid
  22445. required: true
  22446. type: integer
  22447. - description: 用户类型 2-机构 7-企业成员
  22448. in: query
  22449. name: usertype
  22450. type: integer
  22451. - description: 合同类型 1-采购, -1-销售
  22452. in: query
  22453. name: contracttype
  22454. type: integer
  22455. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  22456. in: query
  22457. name: querytype
  22458. type: string
  22459. - description: 合同ID(SpotContractId)
  22460. in: query
  22461. name: contractid
  22462. type: string
  22463. - description: 合同编号(模糊匹配)
  22464. in: query
  22465. name: contractno
  22466. type: string
  22467. - description: 商品名称(模糊匹配)
  22468. in: query
  22469. name: wrstandardname
  22470. type: string
  22471. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22472. in: query
  22473. name: status
  22474. type: string
  22475. - description: 是否只查今日的合同 1-查今日合同
  22476. in: query
  22477. name: istoday
  22478. type: integer
  22479. produces:
  22480. - application/json
  22481. responses:
  22482. "200":
  22483. description: OK
  22484. schema:
  22485. items:
  22486. $ref: '#/definitions/models.Ermcp3Contract'
  22487. type: array
  22488. "500":
  22489. description: Internal Server Error
  22490. schema:
  22491. $ref: '#/definitions/app.Response'
  22492. security:
  22493. - ApiKeyAuth: []
  22494. summary: 查询现货合同
  22495. tags:
  22496. - 企业风险管理v3(app)
  22497. /Ermcp3/QuerySpotContractBS:
  22498. get:
  22499. parameters:
  22500. - description: 用户id
  22501. in: query
  22502. name: userid
  22503. required: true
  22504. type: integer
  22505. - description: 用户类型 2-机构 7-企业成员
  22506. in: query
  22507. name: usertype
  22508. type: integer
  22509. - description: 合同类型 1-采购, -1-销售
  22510. in: query
  22511. name: contracttype
  22512. required: true
  22513. type: integer
  22514. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22515. in: query
  22516. name: querytype
  22517. type: integer
  22518. - description: 合同ID(SpotContractId)
  22519. in: query
  22520. name: contractid
  22521. type: string
  22522. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22523. in: query
  22524. name: status
  22525. type: string
  22526. - description: 是否只查今日的合同 1-查今日合同
  22527. in: query
  22528. name: istoday
  22529. type: integer
  22530. produces:
  22531. - application/json
  22532. responses:
  22533. "200":
  22534. description: OK
  22535. schema:
  22536. items:
  22537. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22538. type: array
  22539. "500":
  22540. description: Internal Server Error
  22541. schema:
  22542. $ref: '#/definitions/app.Response'
  22543. security:
  22544. - ApiKeyAuth: []
  22545. summary: 查询合同(采购/销售)
  22546. tags:
  22547. - 企业风险管理v3(app)
  22548. /Ermcp3/QuerySpotGoodsPrice:
  22549. get:
  22550. parameters:
  22551. - description: 用户ID
  22552. in: query
  22553. name: userid
  22554. required: true
  22555. type: integer
  22556. produces:
  22557. - application/json
  22558. responses:
  22559. "200":
  22560. description: OK
  22561. schema:
  22562. items:
  22563. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22564. type: array
  22565. "500":
  22566. description: Internal Server Error
  22567. schema:
  22568. $ref: '#/definitions/app.Response'
  22569. security:
  22570. - ApiKeyAuth: []
  22571. summary: 查询现货市价(现货市价)
  22572. tags:
  22573. - 企业风险管理v3(app)
  22574. /Ermcp3/QuerySpotGoodsPriceLog:
  22575. get:
  22576. parameters:
  22577. - description: 用户ID
  22578. in: query
  22579. name: userid
  22580. required: true
  22581. type: integer
  22582. - description: 现货商品ID
  22583. in: query
  22584. name: deliverygoodsid
  22585. required: true
  22586. type: integer
  22587. - description: 品牌ID
  22588. in: query
  22589. name: brandid
  22590. type: integer
  22591. - description: 品类ID
  22592. in: query
  22593. name: wrstandardid
  22594. type: integer
  22595. produces:
  22596. - application/json
  22597. responses:
  22598. "200":
  22599. description: OK
  22600. schema:
  22601. items:
  22602. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  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. /Ermcp3/QuerySubTaaccount:
  22614. get:
  22615. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22616. parameters:
  22617. - description: 母账号id
  22618. in: query
  22619. name: parentaccountid
  22620. type: integer
  22621. - description: 母账号代码
  22622. in: query
  22623. name: parentaccountcode
  22624. type: string
  22625. produces:
  22626. - application/json
  22627. responses:
  22628. "200":
  22629. description: OK
  22630. schema:
  22631. items:
  22632. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22633. type: array
  22634. "500":
  22635. description: Internal Server Error
  22636. schema:
  22637. $ref: '#/definitions/app.Response'
  22638. security:
  22639. - ApiKeyAuth: []
  22640. summary: 查询期货子账户
  22641. tags:
  22642. - 企业风险管理v3(app)
  22643. /Erms2/QueryArbitrageStrategy:
  22644. get:
  22645. parameters:
  22646. - description: 账户ID
  22647. in: query
  22648. name: userid
  22649. required: true
  22650. type: integer
  22651. - description: 商品组ID(品种ID)
  22652. in: query
  22653. name: goodsgroupid
  22654. type: string
  22655. produces:
  22656. - application/json
  22657. responses:
  22658. "200":
  22659. description: OK
  22660. schema:
  22661. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  22662. "500":
  22663. description: Internal Server Error
  22664. schema:
  22665. $ref: '#/definitions/app.Response'
  22666. security:
  22667. - ApiKeyAuth: []
  22668. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  22669. tags:
  22670. - 风险管理
  22671. /Erms2/QueryInnerTradeDetail:
  22672. get:
  22673. parameters:
  22674. - description: 资金账户
  22675. in: query
  22676. name: accountid
  22677. required: true
  22678. type: integer
  22679. produces:
  22680. - application/json
  22681. responses:
  22682. "200":
  22683. description: OK
  22684. schema:
  22685. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  22686. "500":
  22687. description: Internal Server Error
  22688. schema:
  22689. $ref: '#/definitions/app.Response'
  22690. security:
  22691. - ApiKeyAuth: []
  22692. summary: 查询内部成交单信息
  22693. tags:
  22694. - 风险管理
  22695. /Erms2/QuerySpotContract:
  22696. get:
  22697. parameters:
  22698. - description: 策略申请ID
  22699. in: query
  22700. name: asapplyid
  22701. required: true
  22702. type: integer
  22703. - description: 现货合同ID
  22704. in: query
  22705. name: spotcontractid
  22706. type: integer
  22707. produces:
  22708. - application/json
  22709. responses:
  22710. "200":
  22711. description: OK
  22712. schema:
  22713. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  22714. "500":
  22715. description: Internal Server Error
  22716. schema:
  22717. $ref: '#/definitions/app.Response'
  22718. security:
  22719. - ApiKeyAuth: []
  22720. summary: 查询现货合同表信息(指定策略ID、未结束的)
  22721. tags:
  22722. - 风险管理
  22723. /Erms3/AddErms2ASApply:
  22724. post:
  22725. parameters:
  22726. - description: 申请参数
  22727. in: body
  22728. name: jsonBody
  22729. required: true
  22730. schema:
  22731. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  22732. produces:
  22733. - application/json
  22734. responses:
  22735. "200":
  22736. description: OK
  22737. schema:
  22738. $ref: '#/definitions/app.Response'
  22739. "500":
  22740. description: Internal Server Error
  22741. schema:
  22742. $ref: '#/definitions/app.Response'
  22743. security:
  22744. - ApiKeyAuth: []
  22745. summary: 新增期现套利业务申请
  22746. tags:
  22747. - 风险管理v3
  22748. /Erms3/AddErms2SpotTradeApply:
  22749. post:
  22750. parameters:
  22751. - description: 申请参数
  22752. in: body
  22753. name: jsonBody
  22754. required: true
  22755. schema:
  22756. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  22757. produces:
  22758. - application/json
  22759. responses:
  22760. "200":
  22761. description: OK
  22762. schema:
  22763. $ref: '#/definitions/app.Response'
  22764. "500":
  22765. description: Internal Server Error
  22766. schema:
  22767. $ref: '#/definitions/app.Response'
  22768. security:
  22769. - ApiKeyAuth: []
  22770. summary: 新增现货贸易业务申请
  22771. tags:
  22772. - 风险管理v3
  22773. /Erms3/AddSpotContractApply:
  22774. post:
  22775. parameters:
  22776. - description: 申请参数
  22777. in: body
  22778. name: jsonBody
  22779. required: true
  22780. schema:
  22781. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  22782. produces:
  22783. - application/json
  22784. responses:
  22785. "200":
  22786. description: OK
  22787. schema:
  22788. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  22789. "500":
  22790. description: Internal Server Error
  22791. schema:
  22792. $ref: '#/definitions/app.Response'
  22793. security:
  22794. - ApiKeyAuth: []
  22795. summary: 新增现货合同申请
  22796. tags:
  22797. - 风险管理v3
  22798. /Erms3/AddUserInfoApply:
  22799. post:
  22800. parameters:
  22801. - description: 用户信息
  22802. in: body
  22803. name: jsonBody
  22804. required: true
  22805. schema:
  22806. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  22807. produces:
  22808. - application/json
  22809. responses:
  22810. "200":
  22811. description: OK
  22812. schema:
  22813. $ref: '#/definitions/app.Response'
  22814. "500":
  22815. description: Internal Server Error
  22816. schema:
  22817. $ref: '#/definitions/app.Response'
  22818. security:
  22819. - ApiKeyAuth: []
  22820. summary: 新增客户申请
  22821. tags:
  22822. - 风险管理v3
  22823. /Erms3/DeleteUserInfoApply:
  22824. get:
  22825. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  22826. parameters:
  22827. - description: 用户ID
  22828. in: query
  22829. name: userID
  22830. required: true
  22831. type: integer
  22832. produces:
  22833. - application/json
  22834. responses:
  22835. "200":
  22836. description: OK
  22837. schema:
  22838. $ref: '#/definitions/app.Response'
  22839. "500":
  22840. description: Internal Server Error
  22841. schema:
  22842. $ref: '#/definitions/app.Response'
  22843. security:
  22844. - ApiKeyAuth: []
  22845. summary: 删除客户申请
  22846. tags:
  22847. - 风险管理v3
  22848. /Erms3/ModifyUserInfoApply:
  22849. post:
  22850. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid": int, "userstate": 2 }'
  22851. parameters:
  22852. - description: 用户信息
  22853. in: body
  22854. name: jsonBody
  22855. required: true
  22856. schema:
  22857. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  22858. produces:
  22859. - application/json
  22860. responses:
  22861. "200":
  22862. description: OK
  22863. schema:
  22864. $ref: '#/definitions/app.Response'
  22865. "500":
  22866. description: Internal Server Error
  22867. schema:
  22868. $ref: '#/definitions/app.Response'
  22869. security:
  22870. - ApiKeyAuth: []
  22871. summary: 修改客户申请
  22872. tags:
  22873. - 风险管理v3
  22874. /Erms3/QueryBusinessInfo:
  22875. get:
  22876. parameters:
  22877. - description: 资金账号ID列表,用逗号分隔
  22878. in: query
  22879. name: accountids
  22880. required: true
  22881. type: string
  22882. - description: 状态,0为未结束 1为已结束
  22883. in: query
  22884. name: status
  22885. required: true
  22886. type: integer
  22887. produces:
  22888. - application/json
  22889. responses:
  22890. "200":
  22891. description: OK
  22892. schema:
  22893. items:
  22894. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  22895. type: array
  22896. "500":
  22897. description: Internal Server Error
  22898. schema:
  22899. $ref: '#/definitions/app.Response'
  22900. security:
  22901. - ApiKeyAuth: []
  22902. summary: 查询业务表单数据
  22903. tags:
  22904. - 风险管理v3
  22905. /Erms3/QueryPendingAuditContract:
  22906. get:
  22907. parameters:
  22908. - description: 资金账号ID列表,逗号隔开
  22909. in: query
  22910. name: accountids
  22911. required: true
  22912. type: string
  22913. - description: 合同类型 1-采购 -1-销售
  22914. in: query
  22915. name: contracttype
  22916. required: true
  22917. type: integer
  22918. - description: 合同模式 1-普通 2-回购
  22919. in: query
  22920. name: contractmode
  22921. required: true
  22922. type: integer
  22923. produces:
  22924. - application/json
  22925. responses:
  22926. "200":
  22927. description: OK
  22928. schema:
  22929. items:
  22930. $ref: '#/definitions/erms3.QryAuditContractRsp'
  22931. type: array
  22932. "500":
  22933. description: Internal Server Error
  22934. schema:
  22935. $ref: '#/definitions/app.Response'
  22936. security:
  22937. - ApiKeyAuth: []
  22938. summary: 查询待审核合同
  22939. tags:
  22940. - 风险管理v3
  22941. /Erms3/QueryPendingBusiness:
  22942. get:
  22943. parameters:
  22944. - description: 资金账号ID列表,逗号隔开
  22945. in: query
  22946. name: accountids
  22947. required: true
  22948. type: string
  22949. produces:
  22950. - application/json
  22951. responses:
  22952. "200":
  22953. description: OK
  22954. schema:
  22955. items:
  22956. $ref: '#/definitions/erms3.QryPendingBizRsp'
  22957. type: array
  22958. "500":
  22959. description: Internal Server Error
  22960. schema:
  22961. $ref: '#/definitions/app.Response'
  22962. security:
  22963. - ApiKeyAuth: []
  22964. summary: 查询待审核基差贸易业务
  22965. tags:
  22966. - 风险管理v3
  22967. /Erms3/QuerySpotContractAppleForm:
  22968. get:
  22969. parameters:
  22970. - description: 登录账号
  22971. in: query
  22972. name: loginID
  22973. required: true
  22974. type: integer
  22975. produces:
  22976. - application/json
  22977. responses:
  22978. "200":
  22979. description: OK
  22980. schema:
  22981. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  22982. "500":
  22983. description: Internal Server Error
  22984. schema:
  22985. $ref: '#/definitions/app.Response'
  22986. security:
  22987. - ApiKeyAuth: []
  22988. summary: 查询合同申请表单数据
  22989. tags:
  22990. - 风险管理v3
  22991. /Erms3/QuerySpotContractDetail:
  22992. get:
  22993. parameters:
  22994. - description: 资金账号ID列表,用逗号分隔
  22995. in: query
  22996. name: accountids
  22997. required: true
  22998. type: string
  22999. - description: 合同类型,1为采购合同 -1为销售合同
  23000. in: query
  23001. name: contracttype
  23002. required: true
  23003. type: integer
  23004. - description: 合同模式,1为普通合同 2为回购销售合同
  23005. in: query
  23006. name: contractmode
  23007. required: true
  23008. type: integer
  23009. - description: 状态,0为履约中 1为已完成
  23010. in: query
  23011. name: status
  23012. required: true
  23013. type: integer
  23014. produces:
  23015. - application/json
  23016. responses:
  23017. "200":
  23018. description: OK
  23019. schema:
  23020. items:
  23021. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  23022. type: array
  23023. "500":
  23024. description: Internal Server Error
  23025. schema:
  23026. $ref: '#/definitions/app.Response'
  23027. security:
  23028. - ApiKeyAuth: []
  23029. summary: 查询合同详细信息
  23030. tags:
  23031. - 风险管理v3
  23032. /Erms3/QueryUserInfoApplies:
  23033. get:
  23034. parameters:
  23035. - description: 页码
  23036. in: query
  23037. name: page
  23038. type: integer
  23039. - description: 每页条数
  23040. in: query
  23041. name: pagesize
  23042. type: integer
  23043. - description: 客户名称,支持模糊查询
  23044. in: query
  23045. name: userName
  23046. type: string
  23047. produces:
  23048. - application/json
  23049. responses:
  23050. "200":
  23051. description: OK
  23052. schema:
  23053. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  23054. "500":
  23055. description: Internal Server Error
  23056. schema:
  23057. $ref: '#/definitions/app.Response'
  23058. security:
  23059. - ApiKeyAuth: []
  23060. summary: 客户申请信息查询
  23061. tags:
  23062. - 风险管理v3
  23063. /Erms3/QueryUserInfos:
  23064. get:
  23065. parameters:
  23066. - description: 页码
  23067. in: query
  23068. name: page
  23069. type: integer
  23070. - description: 每页条数
  23071. in: query
  23072. name: pagesize
  23073. type: integer
  23074. - description: 客户名称,支持模糊查询
  23075. in: query
  23076. name: userName
  23077. type: string
  23078. produces:
  23079. - application/json
  23080. responses:
  23081. "200":
  23082. description: OK
  23083. schema:
  23084. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  23085. "500":
  23086. description: Internal Server Error
  23087. schema:
  23088. $ref: '#/definitions/app.Response'
  23089. security:
  23090. - ApiKeyAuth: []
  23091. summary: 客户信息查询
  23092. tags:
  23093. - 风险管理v3
  23094. /HSBY/GetHsbyMyCount:
  23095. get:
  23096. description: 说明: 不包括已完成的数量。
  23097. parameters:
  23098. - description: 资金账户列表,格式:1,2,3
  23099. in: query
  23100. name: accountIDs
  23101. required: true
  23102. type: string
  23103. produces:
  23104. - application/json
  23105. responses:
  23106. "200":
  23107. description: OK
  23108. schema:
  23109. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  23110. "500":
  23111. description: Internal Server Error
  23112. schema:
  23113. $ref: '#/definitions/app.Response'
  23114. security:
  23115. - ApiKeyAuth: []
  23116. summary: 获取我的订单与包裹数量
  23117. tags:
  23118. - 定制【海商报业】
  23119. /HSBY/QueryClientFixedADConfigs:
  23120. get:
  23121. produces:
  23122. - application/json
  23123. responses:
  23124. "200":
  23125. description: OK
  23126. schema:
  23127. $ref: '#/definitions/models.Clientfixedadconfig'
  23128. "500":
  23129. description: Internal Server Error
  23130. schema:
  23131. $ref: '#/definitions/app.Response'
  23132. security:
  23133. - ApiKeyAuth: []
  23134. summary: 获取终端固定广告配置
  23135. tags:
  23136. - 定制【海商报业】
  23137. /HSBY/QueryHsbyBuyMyTradeDetail:
  23138. get:
  23139. parameters:
  23140. - description: 页码
  23141. in: query
  23142. name: page
  23143. type: integer
  23144. - description: 每页条数
  23145. in: query
  23146. name: pagesize
  23147. type: integer
  23148. - description: 资金账户列表,格式:1,2,3
  23149. in: query
  23150. name: accountIDs
  23151. required: true
  23152. type: string
  23153. produces:
  23154. - application/json
  23155. responses:
  23156. "200":
  23157. description: OK
  23158. schema:
  23159. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  23160. "500":
  23161. description: Internal Server Error
  23162. schema:
  23163. $ref: '#/definitions/app.Response'
  23164. security:
  23165. - ApiKeyAuth: []
  23166. summary: 查询"我的订单 - 已完成"单据信息
  23167. tags:
  23168. - 定制【海商报业】
  23169. /HSBY/QueryHsbyGoodsOrderDetails:
  23170. get:
  23171. description: 说明:查询结果已按委托价格和委托时间排序
  23172. parameters:
  23173. - description: 商品ID
  23174. in: query
  23175. name: goodsID
  23176. required: true
  23177. type: integer
  23178. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  23179. in: query
  23180. name: accountIDs
  23181. type: string
  23182. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  23183. in: query
  23184. name: buyOrSell
  23185. type: integer
  23186. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  23187. in: query
  23188. name: price
  23189. type: number
  23190. - description: 档位,不传则默认为3档
  23191. in: query
  23192. name: speed
  23193. type: integer
  23194. produces:
  23195. - application/json
  23196. responses:
  23197. "200":
  23198. description: OK
  23199. schema:
  23200. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  23201. "500":
  23202. description: Internal Server Error
  23203. schema:
  23204. $ref: '#/definitions/app.Response'
  23205. security:
  23206. - ApiKeyAuth: []
  23207. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  23208. tags:
  23209. - 定制【海商报业】
  23210. /HSBY/QueryHsbyListingGoodsDetail:
  23211. get:
  23212. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  23213. parameters:
  23214. - description: 商品ID
  23215. in: query
  23216. name: goodsID
  23217. required: true
  23218. type: integer
  23219. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  23220. in: query
  23221. name: accountID
  23222. type: integer
  23223. produces:
  23224. - application/json
  23225. responses:
  23226. "200":
  23227. description: OK
  23228. schema:
  23229. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  23230. "500":
  23231. description: Internal Server Error
  23232. schema:
  23233. $ref: '#/definitions/app.Response'
  23234. security:
  23235. - ApiKeyAuth: []
  23236. summary: 查询二级市场(挂牌点选)商品信息详情
  23237. tags:
  23238. - 定制【海商报业】
  23239. /HSBY/QueryHsbyMarketGoodsDetail:
  23240. get:
  23241. parameters:
  23242. - description: 委托单号
  23243. in: query
  23244. name: orderID
  23245. required: true
  23246. type: integer
  23247. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  23248. in: query
  23249. name: accountID
  23250. type: integer
  23251. produces:
  23252. - application/json
  23253. responses:
  23254. "200":
  23255. description: OK
  23256. schema:
  23257. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23258. "500":
  23259. description: Internal Server Error
  23260. schema:
  23261. $ref: '#/definitions/app.Response'
  23262. security:
  23263. - ApiKeyAuth: []
  23264. summary: 查询三级市场(商城)商品信息详情
  23265. tags:
  23266. - 定制【海商报业】
  23267. /HSBY/QueryHsbyMarketGoodses:
  23268. get:
  23269. parameters:
  23270. - description: 页码
  23271. in: query
  23272. name: page
  23273. type: integer
  23274. - description: 每页条数
  23275. in: query
  23276. name: pagesize
  23277. type: integer
  23278. - description: 市场ID列表,格式:1,2,3
  23279. in: query
  23280. name: marketIDs
  23281. required: true
  23282. type: string
  23283. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  23284. in: query
  23285. name: accountID
  23286. required: true
  23287. type: integer
  23288. - description: 类别ID
  23289. in: query
  23290. name: categoryID
  23291. type: integer
  23292. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23293. in: query
  23294. name: goodsIDs
  23295. type: string
  23296. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  23297. in: query
  23298. name: couponTypeID
  23299. type: integer
  23300. produces:
  23301. - application/json
  23302. responses:
  23303. "200":
  23304. description: OK
  23305. schema:
  23306. $ref: '#/definitions/models.HsbyMarketGoods'
  23307. "500":
  23308. description: Internal Server Error
  23309. schema:
  23310. $ref: '#/definitions/app.Response'
  23311. security:
  23312. - ApiKeyAuth: []
  23313. summary: 查询特卖商品列表(三级商城)
  23314. tags:
  23315. - 定制【海商报业】
  23316. /HSBY/QueryHsbyMarkets:
  23317. get:
  23318. produces:
  23319. - application/json
  23320. responses:
  23321. "200":
  23322. description: OK
  23323. schema:
  23324. $ref: '#/definitions/models.HsbyMarketInfo'
  23325. "500":
  23326. description: Internal Server Error
  23327. schema:
  23328. $ref: '#/definitions/app.Response'
  23329. security:
  23330. - ApiKeyAuth: []
  23331. summary: 查询海商报业相关市场信息
  23332. tags:
  23333. - 定制【海商报业】
  23334. /HSBY/QueryHsbyMyBuyOrderDetails:
  23335. get:
  23336. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  23337. parameters:
  23338. - description: 资金账户列表,格式:1,2,3
  23339. in: query
  23340. name: accountIDs
  23341. required: true
  23342. type: string
  23343. produces:
  23344. - application/json
  23345. responses:
  23346. "200":
  23347. description: OK
  23348. schema:
  23349. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  23350. "500":
  23351. description: Internal Server Error
  23352. schema:
  23353. $ref: '#/definitions/app.Response'
  23354. security:
  23355. - ApiKeyAuth: []
  23356. summary: 查询“我的订单”信息
  23357. tags:
  23358. - 定制【海商报业】
  23359. /HSBY/QueryHsbyMyGoods:
  23360. get:
  23361. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  23362. parameters:
  23363. - description: 资金账户列表,格式:1,2,3
  23364. in: query
  23365. name: accountIDs
  23366. required: true
  23367. type: string
  23368. produces:
  23369. - application/json
  23370. responses:
  23371. "200":
  23372. description: OK
  23373. schema:
  23374. $ref: '#/definitions/models.HsbyMyGoods'
  23375. "500":
  23376. description: Internal Server Error
  23377. schema:
  23378. $ref: '#/definitions/app.Response'
  23379. security:
  23380. - ApiKeyAuth: []
  23381. summary: 查询“我的商品”信息
  23382. tags:
  23383. - 定制【海商报业】
  23384. /HSBY/QueryHsbyMyPackages:
  23385. get:
  23386. parameters:
  23387. - description: 资金账户列表,格式:1,2,3
  23388. in: query
  23389. name: accountIDs
  23390. required: true
  23391. type: string
  23392. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23393. in: query
  23394. name: takeOrderStatus
  23395. type: integer
  23396. produces:
  23397. - application/json
  23398. responses:
  23399. "200":
  23400. description: OK
  23401. schema:
  23402. $ref: '#/definitions/models.HsbyMyPackage'
  23403. "500":
  23404. description: Internal Server Error
  23405. schema:
  23406. $ref: '#/definitions/app.Response'
  23407. security:
  23408. - ApiKeyAuth: []
  23409. summary: 查询我的包裹信息
  23410. tags:
  23411. - 定制【海商报业】
  23412. /HSBY/QueryHsbyPreGoodsDetail:
  23413. get:
  23414. parameters:
  23415. - description: 商品ID
  23416. in: query
  23417. name: goodsID
  23418. required: true
  23419. type: integer
  23420. - description: 资金账户,主要用于获取预售商品购买上限
  23421. in: query
  23422. name: accountID
  23423. type: integer
  23424. produces:
  23425. - application/json
  23426. responses:
  23427. "200":
  23428. description: OK
  23429. schema:
  23430. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  23431. "500":
  23432. description: Internal Server Error
  23433. schema:
  23434. $ref: '#/definitions/app.Response'
  23435. security:
  23436. - ApiKeyAuth: []
  23437. summary: 查询一级市场(预售)商品信息详情
  23438. tags:
  23439. - 定制【海商报业】
  23440. /HSBY/QueryHsbyPreGoodses:
  23441. get:
  23442. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  23443. parameters:
  23444. - description: 页码
  23445. in: query
  23446. name: page
  23447. type: integer
  23448. - description: 每页条数
  23449. in: query
  23450. name: pagesize
  23451. type: integer
  23452. - description: 市场ID列表,格式:1,2,3
  23453. in: query
  23454. name: marketIDs
  23455. required: true
  23456. type: string
  23457. - description: 目的地(省)ID
  23458. in: query
  23459. name: descProvinceID
  23460. type: integer
  23461. - description: 目的地(市)ID
  23462. in: query
  23463. name: descCityID
  23464. type: integer
  23465. produces:
  23466. - application/json
  23467. responses:
  23468. "200":
  23469. description: OK
  23470. schema:
  23471. $ref: '#/definitions/models.HsbyPreGoods'
  23472. "500":
  23473. description: Internal Server Error
  23474. schema:
  23475. $ref: '#/definitions/app.Response'
  23476. security:
  23477. - ApiKeyAuth: []
  23478. summary: 查询新品上市商品列表(一级市场预售)
  23479. tags:
  23480. - 定制【海商报业】
  23481. /HSBY/QueryHsbySellMyDetails:
  23482. get:
  23483. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  23484. parameters:
  23485. - description: 页码
  23486. in: query
  23487. name: page
  23488. type: integer
  23489. - description: 每页条数
  23490. in: query
  23491. name: pagesize
  23492. type: integer
  23493. - description: 资金账户列表,格式:1,2,3
  23494. in: query
  23495. name: accountIDs
  23496. required: true
  23497. type: string
  23498. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  23499. in: query
  23500. name: orderType
  23501. type: integer
  23502. produces:
  23503. - application/json
  23504. responses:
  23505. "200":
  23506. description: OK
  23507. schema:
  23508. $ref: '#/definitions/models.HsbySellMyDetail'
  23509. "500":
  23510. description: Internal Server Error
  23511. schema:
  23512. $ref: '#/definitions/app.Response'
  23513. security:
  23514. - ApiKeyAuth: []
  23515. summary: 查询"我的闲置"单据信息
  23516. tags:
  23517. - 定制【海商报业】
  23518. /HSBY/QueryHsbyTopGoodses:
  23519. get:
  23520. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  23521. parameters:
  23522. - description: 页码
  23523. in: query
  23524. name: page
  23525. type: integer
  23526. - description: 每页条数
  23527. in: query
  23528. name: pagesize
  23529. type: integer
  23530. - description: 市场ID列表,格式:1,2,3
  23531. in: query
  23532. name: marketIDs
  23533. required: true
  23534. type: string
  23535. - description: 目的地(省)ID
  23536. in: query
  23537. name: descProvinceID
  23538. type: integer
  23539. - description: 目的地(市)ID
  23540. in: query
  23541. name: descCityID
  23542. type: integer
  23543. produces:
  23544. - application/json
  23545. responses:
  23546. "200":
  23547. description: OK
  23548. schema:
  23549. $ref: '#/definitions/models.HsbyTopGoods'
  23550. "500":
  23551. description: Internal Server Error
  23552. schema:
  23553. $ref: '#/definitions/app.Response'
  23554. security:
  23555. - ApiKeyAuth: []
  23556. summary: 查询热卖商品列表(二级市场挂牌点选)
  23557. tags:
  23558. - 定制【海商报业】
  23559. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  23560. get:
  23561. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  23562. parameters:
  23563. - description: 商品ID
  23564. in: query
  23565. name: goodsID
  23566. required: true
  23567. type: integer
  23568. produces:
  23569. - application/json
  23570. responses:
  23571. "200":
  23572. description: OK
  23573. schema:
  23574. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23575. "500":
  23576. description: Internal Server Error
  23577. schema:
  23578. $ref: '#/definitions/app.Response'
  23579. security:
  23580. - ApiKeyAuth: []
  23581. summary: 查询游客三级市场(商城)商品信息详情
  23582. tags:
  23583. - 定制【海商报业】
  23584. /HSBY/QueryHsbyVisitorMarketGoodses:
  23585. get:
  23586. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  23587. parameters:
  23588. - description: 页码
  23589. in: query
  23590. name: page
  23591. type: integer
  23592. - description: 每页条数
  23593. in: query
  23594. name: pagesize
  23595. type: integer
  23596. - description: 市场ID列表,格式:1,2,3
  23597. in: query
  23598. name: marketIDs
  23599. required: true
  23600. type: string
  23601. - description: 类别ID
  23602. in: query
  23603. name: categoryID
  23604. type: integer
  23605. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23606. in: query
  23607. name: goodsIDs
  23608. type: string
  23609. produces:
  23610. - application/json
  23611. responses:
  23612. "200":
  23613. description: OK
  23614. schema:
  23615. $ref: '#/definitions/models.HsbyMarketGoods'
  23616. "500":
  23617. description: Internal Server Error
  23618. schema:
  23619. $ref: '#/definitions/app.Response'
  23620. security:
  23621. - ApiKeyAuth: []
  23622. summary: 查询游客特卖商品列表(三级商城)
  23623. tags:
  23624. - 定制【海商报业】
  23625. /HSBY/QueryMyCollectionOrders:
  23626. get:
  23627. parameters:
  23628. - description: 页码
  23629. in: query
  23630. name: page
  23631. type: integer
  23632. - description: 每页条数
  23633. in: query
  23634. name: pagesize
  23635. type: integer
  23636. - description: 资金账户,格式:1,2,3
  23637. in: query
  23638. name: accountIDs
  23639. required: true
  23640. type: string
  23641. produces:
  23642. - application/json
  23643. responses:
  23644. "200":
  23645. description: OK
  23646. schema:
  23647. $ref: '#/definitions/models.HsbySellCollectionOrder'
  23648. "500":
  23649. description: Internal Server Error
  23650. schema:
  23651. $ref: '#/definitions/app.Response'
  23652. security:
  23653. - ApiKeyAuth: []
  23654. summary: 我的闲置中收款信息查询
  23655. tags:
  23656. - 定制【海商报业】
  23657. /HSBY/QueryMyCouponHolds:
  23658. get:
  23659. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  23660. parameters:
  23661. - description: 资金账户列表,格式:1,2,3
  23662. in: query
  23663. name: accountIDs
  23664. required: true
  23665. type: string
  23666. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  23667. in: query
  23668. name: holdStatus
  23669. type: string
  23670. produces:
  23671. - application/json
  23672. responses:
  23673. "200":
  23674. description: OK
  23675. schema:
  23676. $ref: '#/definitions/models.MyCouponHold'
  23677. "500":
  23678. description: Internal Server Error
  23679. schema:
  23680. $ref: '#/definitions/app.Response'
  23681. security:
  23682. - ApiKeyAuth: []
  23683. summary: 我的优惠卷持仓查询
  23684. tags:
  23685. - 定制【海商报业】
  23686. /HSBY/QueryMyCoupons:
  23687. get:
  23688. parameters:
  23689. - description: 资金账户列表,格式:1,2,3
  23690. in: query
  23691. name: accountIDs
  23692. required: true
  23693. type: string
  23694. - description: 商品ID, 一般与sellUserID配套传入
  23695. in: query
  23696. name: goodsID
  23697. type: integer
  23698. - description: 卖方UserID
  23699. in: query
  23700. name: sellUserID
  23701. type: integer
  23702. produces:
  23703. - application/json
  23704. responses:
  23705. "200":
  23706. description: OK
  23707. schema:
  23708. $ref: '#/definitions/models.MyCoupon'
  23709. "500":
  23710. description: Internal Server Error
  23711. schema:
  23712. $ref: '#/definitions/app.Response'
  23713. security:
  23714. - ApiKeyAuth: []
  23715. summary: 我的优惠卷查询
  23716. tags:
  23717. - 定制【海商报业】
  23718. /HSBY/QueryMyPayOrders:
  23719. get:
  23720. parameters:
  23721. - description: 页码
  23722. in: query
  23723. name: page
  23724. type: integer
  23725. - description: 每页条数
  23726. in: query
  23727. name: pagesize
  23728. type: integer
  23729. - description: 资金账户列表,格式:1,2,3
  23730. in: query
  23731. name: accountIDs
  23732. required: true
  23733. type: string
  23734. - description: 买方委托单号
  23735. in: query
  23736. name: buyOrderID
  23737. type: integer
  23738. - description: 卖方委托单号
  23739. in: query
  23740. name: sellOrderID
  23741. type: integer
  23742. produces:
  23743. - application/json
  23744. responses:
  23745. "200":
  23746. description: OK
  23747. schema:
  23748. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  23749. "500":
  23750. description: Internal Server Error
  23751. schema:
  23752. $ref: '#/definitions/app.Response'
  23753. security:
  23754. - ApiKeyAuth: []
  23755. summary: 获取我的订单中待付款信息
  23756. tags:
  23757. - 定制【海商报业】
  23758. /HSBY/QueryMyUsedCoupon:
  23759. get:
  23760. parameters:
  23761. - description: 资金账户列表,格式:1,2,3
  23762. in: query
  23763. name: accountIDs
  23764. required: true
  23765. type: string
  23766. produces:
  23767. - application/json
  23768. responses:
  23769. "200":
  23770. description: OK
  23771. schema:
  23772. $ref: '#/definitions/models.MyUsedCoupon'
  23773. "500":
  23774. description: Internal Server Error
  23775. schema:
  23776. $ref: '#/definitions/app.Response'
  23777. security:
  23778. - ApiKeyAuth: []
  23779. summary: 已使用优惠卷查询
  23780. tags:
  23781. - 定制【海商报业】
  23782. /HSBY/QueryProvincesAndCities:
  23783. get:
  23784. description: 查询结果只包括二级市场商品已关连的省市信息。
  23785. parameters:
  23786. - description: 省ID
  23787. in: query
  23788. name: provinceID
  23789. type: integer
  23790. produces:
  23791. - application/json
  23792. responses:
  23793. "200":
  23794. description: OK
  23795. schema:
  23796. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  23797. "500":
  23798. description: Internal Server Error
  23799. schema:
  23800. $ref: '#/definitions/app.Response'
  23801. security:
  23802. - ApiKeyAuth: []
  23803. summary: 查询省市信息(不包括区)
  23804. tags:
  23805. - 定制【海商报业】
  23806. /HSBY/SetHsbyMyPackagesStatus:
  23807. post:
  23808. parameters:
  23809. - description: 提货单号
  23810. in: query
  23811. name: takeOrderID
  23812. required: true
  23813. type: string
  23814. - description: 资金账号
  23815. in: query
  23816. name: accountID
  23817. required: true
  23818. type: integer
  23819. produces:
  23820. - application/json
  23821. responses:
  23822. "200":
  23823. description: OK
  23824. schema:
  23825. $ref: '#/definitions/app.Response'
  23826. "500":
  23827. description: Internal Server Error
  23828. schema:
  23829. $ref: '#/definitions/app.Response'
  23830. security:
  23831. - ApiKeyAuth: []
  23832. summary: 设置我的包裹已收货状态
  23833. tags:
  23834. - 定制【海商报业】
  23835. /Market/GetAllExExchanges:
  23836. get:
  23837. produces:
  23838. - application/json
  23839. responses:
  23840. "200":
  23841. description: OK
  23842. schema:
  23843. $ref: '#/definitions/models.Goods'
  23844. "500":
  23845. description: Internal Server Error
  23846. schema:
  23847. $ref: '#/definitions/app.Response'
  23848. security:
  23849. - ApiKeyAuth: []
  23850. summary: 获取所有外部交易所信息
  23851. tags:
  23852. - 通用市场
  23853. /Market/QueryGoodsesByLoginID:
  23854. get:
  23855. parameters:
  23856. - description: 登录账号
  23857. in: query
  23858. name: loginID
  23859. required: true
  23860. type: integer
  23861. - description: 市场ID列表,格式:1,2,3
  23862. in: query
  23863. name: marketIDs
  23864. type: string
  23865. produces:
  23866. - application/json
  23867. responses:
  23868. "200":
  23869. description: OK
  23870. schema:
  23871. $ref: '#/definitions/models.Goods'
  23872. "500":
  23873. description: Internal Server Error
  23874. schema:
  23875. $ref: '#/definitions/app.Response'
  23876. security:
  23877. - ApiKeyAuth: []
  23878. summary: 获取登录账号有权限的商品信息
  23879. tags:
  23880. - 通用市场
  23881. /Market/QueryMarketRun:
  23882. get:
  23883. parameters:
  23884. - description: 市场ID,不传返回所有
  23885. in: query
  23886. name: marketID
  23887. type: integer
  23888. produces:
  23889. - application/json
  23890. responses:
  23891. "200":
  23892. description: OK
  23893. schema:
  23894. $ref: '#/definitions/models.Marketrun'
  23895. "500":
  23896. description: Internal Server Error
  23897. schema:
  23898. $ref: '#/definitions/app.Response'
  23899. security:
  23900. - ApiKeyAuth: []
  23901. summary: 查询市场运行信息
  23902. tags:
  23903. - 通用市场
  23904. /Market/QueryMarketsByLoginID:
  23905. get:
  23906. parameters:
  23907. - description: 登录账号
  23908. in: query
  23909. name: loginID
  23910. required: true
  23911. type: integer
  23912. produces:
  23913. - application/json
  23914. responses:
  23915. "200":
  23916. description: OK
  23917. schema:
  23918. $ref: '#/definitions/models.Market'
  23919. "500":
  23920. description: Internal Server Error
  23921. schema:
  23922. $ref: '#/definitions/app.Response'
  23923. security:
  23924. - ApiKeyAuth: []
  23925. summary: 获取登录账号有权限的市场信息
  23926. tags:
  23927. - 通用市场
  23928. /Order/QueryHisTradeDetail:
  23929. get:
  23930. parameters:
  23931. - description: 资金账户 - 格式:1,2,3
  23932. in: query
  23933. name: accountID
  23934. required: true
  23935. type: string
  23936. - description: 成交单号
  23937. in: query
  23938. name: tradeID
  23939. type: integer
  23940. - description: 委托单号
  23941. in: query
  23942. name: orderID
  23943. type: integer
  23944. - description: 商品ID
  23945. in: query
  23946. name: goodsID
  23947. type: integer
  23948. - description: 交易模式 - 格式:1,2,3
  23949. in: query
  23950. name: tradeMode
  23951. type: string
  23952. - description: 委托单据类型
  23953. in: query
  23954. name: buildType
  23955. type: integer
  23956. - description: 成交类别 - 格式:1,2,3
  23957. in: query
  23958. name: tradeType
  23959. type: string
  23960. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23961. in: query
  23962. name: startDate
  23963. type: string
  23964. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23965. in: query
  23966. name: endDate
  23967. type: string
  23968. produces:
  23969. - application/json
  23970. responses:
  23971. "200":
  23972. description: OK
  23973. schema:
  23974. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  23975. "500":
  23976. description: Internal Server Error
  23977. schema:
  23978. $ref: '#/definitions/app.Response'
  23979. security:
  23980. - ApiKeyAuth: []
  23981. summary: 历史成交单查询(合约市场)
  23982. tags:
  23983. - 通用单据
  23984. /Order/QueryHisTradeOrderDetail:
  23985. get:
  23986. parameters:
  23987. - description: 资金账户 - 格式:1,2,3
  23988. in: query
  23989. name: accountID
  23990. required: true
  23991. type: string
  23992. - description: 交易模式 - 格式:1,2,3
  23993. in: query
  23994. name: tradeMode
  23995. type: string
  23996. - description: 委托状态 - 格式:1,2,3
  23997. in: query
  23998. name: orderStatus
  23999. type: string
  24000. - description: 委托单号
  24001. in: query
  24002. name: orderID
  24003. type: integer
  24004. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24005. in: query
  24006. name: startDate
  24007. type: string
  24008. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24009. in: query
  24010. name: endDate
  24011. type: string
  24012. produces:
  24013. - application/json
  24014. responses:
  24015. "200":
  24016. description: OK
  24017. schema:
  24018. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  24019. "500":
  24020. description: Internal Server Error
  24021. schema:
  24022. $ref: '#/definitions/app.Response'
  24023. security:
  24024. - ApiKeyAuth: []
  24025. summary: 历史委托单查询请求(合约市场)
  24026. tags:
  24027. - 通用单据
  24028. /Order/QueryTradeDetail:
  24029. get:
  24030. parameters:
  24031. - description: 资金账户 - 格式:1,2,3
  24032. in: query
  24033. name: accountID
  24034. required: true
  24035. type: string
  24036. - description: 成交单号
  24037. in: query
  24038. name: tradeID
  24039. type: integer
  24040. - description: 委托单号
  24041. in: query
  24042. name: orderID
  24043. type: integer
  24044. - description: 交易模式 - 格式:1,2,3
  24045. in: query
  24046. name: tradeMode
  24047. type: string
  24048. - description: 委托单据类型
  24049. in: query
  24050. name: buildType
  24051. type: integer
  24052. - description: 成交类别 - 格式:1,2,3
  24053. in: query
  24054. name: tradeType
  24055. type: string
  24056. - description: 商品ID
  24057. in: query
  24058. name: goodsID
  24059. type: integer
  24060. produces:
  24061. - application/json
  24062. responses:
  24063. "200":
  24064. description: OK
  24065. schema:
  24066. $ref: '#/definitions/order.QueryTradeDetailRsp'
  24067. "500":
  24068. description: Internal Server Error
  24069. schema:
  24070. $ref: '#/definitions/app.Response'
  24071. security:
  24072. - ApiKeyAuth: []
  24073. summary: 成交单查询(合约市场)
  24074. tags:
  24075. - 通用单据
  24076. /Order/QueryTradeHolderDetail:
  24077. get:
  24078. parameters:
  24079. - description: 用户id
  24080. in: query
  24081. name: userid
  24082. type: integer
  24083. - description: 资金账号, 格式 1,2,3
  24084. in: query
  24085. name: accids
  24086. type: string
  24087. - description: 交易模式, 格式 1,2,3
  24088. in: query
  24089. name: trademodes
  24090. type: string
  24091. - description: 市场id, 格式 1,2,3
  24092. in: query
  24093. name: marketids
  24094. type: string
  24095. - description: 商品id
  24096. in: query
  24097. name: goodsid
  24098. type: integer
  24099. - description: 买卖方向 0-买 1-卖
  24100. in: query
  24101. name: buyorsell
  24102. type: integer
  24103. produces:
  24104. - application/json
  24105. responses:
  24106. "200":
  24107. description: OK
  24108. schema:
  24109. items:
  24110. $ref: '#/definitions/models.TradeHolderDetail'
  24111. type: array
  24112. "500":
  24113. description: Internal Server Error
  24114. schema:
  24115. $ref: '#/definitions/app.Response'
  24116. security:
  24117. - ApiKeyAuth: []
  24118. summary: 查询持仓明细
  24119. tags:
  24120. - 通用单据
  24121. /Order/QueryTradeOrderDetail:
  24122. get:
  24123. parameters:
  24124. - description: 资金账户 - 格式:1,2,3
  24125. in: query
  24126. name: accountID
  24127. required: true
  24128. type: string
  24129. - description: 交易模式 - 格式:1,2,3
  24130. in: query
  24131. name: tradeMode
  24132. type: string
  24133. - description: 委托状态 - 格式:1,2,3
  24134. in: query
  24135. name: orderStatus
  24136. type: string
  24137. - description: 委托单号
  24138. in: query
  24139. name: orderID
  24140. type: integer
  24141. produces:
  24142. - application/json
  24143. responses:
  24144. "200":
  24145. description: OK
  24146. schema:
  24147. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  24148. "500":
  24149. description: Internal Server Error
  24150. schema:
  24151. $ref: '#/definitions/app.Response'
  24152. security:
  24153. - ApiKeyAuth: []
  24154. summary: 委托单查询请求(合约市场)
  24155. tags:
  24156. - 通用单据
  24157. /Order/QueryTradePosition:
  24158. get:
  24159. parameters:
  24160. - description: 资金账户 - 格式:1,2,3
  24161. in: query
  24162. name: accountID
  24163. required: true
  24164. type: string
  24165. - description: 交易模式 - 格式:1,2,3
  24166. in: query
  24167. name: tradeMode
  24168. type: string
  24169. produces:
  24170. - application/json
  24171. responses:
  24172. "200":
  24173. description: OK
  24174. schema:
  24175. $ref: '#/definitions/order.QueryTradePositionRsp'
  24176. "500":
  24177. description: Internal Server Error
  24178. schema:
  24179. $ref: '#/definitions/app.Response'
  24180. security:
  24181. - ApiKeyAuth: []
  24182. summary: 持仓汇总查询(合约市场)
  24183. tags:
  24184. - 通用单据
  24185. /Qhj/QueryAccountInOutApply:
  24186. get:
  24187. parameters:
  24188. - description: 用户ID
  24189. in: query
  24190. name: userid
  24191. required: true
  24192. type: integer
  24193. - description: 申请起始日期(格式yyyymmdd)
  24194. in: query
  24195. name: begindate
  24196. type: string
  24197. - description: 申请截止日期(格式yyyymmdd)
  24198. in: query
  24199. name: enddate
  24200. type: string
  24201. - description: 模糊搜索名称
  24202. in: query
  24203. name: likename
  24204. type: string
  24205. produces:
  24206. - application/json
  24207. responses:
  24208. "200":
  24209. description: OK
  24210. schema:
  24211. items:
  24212. $ref: '#/definitions/models.QhjAccountOutInApply'
  24213. type: array
  24214. "500":
  24215. description: Internal Server Error
  24216. schema:
  24217. $ref: '#/definitions/app.Response'
  24218. security:
  24219. - ApiKeyAuth: []
  24220. summary: 查询充值提现
  24221. tags:
  24222. - 大连千海金
  24223. /Qhj/QueryAreaFinanceConfig:
  24224. get:
  24225. parameters:
  24226. - description: 机构用户ID 其他做市关系,都设置为 1
  24227. in: query
  24228. name: userid
  24229. type: integer
  24230. produces:
  24231. - application/json
  24232. responses:
  24233. "200":
  24234. description: OK
  24235. schema:
  24236. items:
  24237. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  24238. type: array
  24239. "500":
  24240. description: Internal Server Error
  24241. schema:
  24242. $ref: '#/definitions/app.Response'
  24243. security:
  24244. - ApiKeyAuth: []
  24245. summary: 查询企业配置表
  24246. tags:
  24247. - 大连千海金
  24248. /Qhj/QueryBankAccountSign:
  24249. get:
  24250. parameters:
  24251. - description: 用户ID
  24252. in: query
  24253. name: userid
  24254. required: true
  24255. type: integer
  24256. produces:
  24257. - application/json
  24258. responses:
  24259. "200":
  24260. description: OK
  24261. schema:
  24262. items:
  24263. $ref: '#/definitions/models.QhjBankAccountSign'
  24264. type: array
  24265. "500":
  24266. description: Internal Server Error
  24267. schema:
  24268. $ref: '#/definitions/app.Response'
  24269. security:
  24270. - ApiKeyAuth: []
  24271. summary: 查询签约银行信息(提现账户管理)
  24272. tags:
  24273. - 大连千海金
  24274. /Qhj/QueryBankInfo:
  24275. get:
  24276. produces:
  24277. - application/json
  24278. responses:
  24279. "200":
  24280. description: OK
  24281. schema:
  24282. items:
  24283. $ref: '#/definitions/models.QhjBankInfo'
  24284. type: array
  24285. "500":
  24286. description: Internal Server Error
  24287. schema:
  24288. $ref: '#/definitions/app.Response'
  24289. security:
  24290. - ApiKeyAuth: []
  24291. summary: 查询开户行
  24292. tags:
  24293. - 大连千海金
  24294. /Qhj/QueryBrokerApply:
  24295. get:
  24296. parameters:
  24297. - description: 所属机构ID
  24298. in: query
  24299. name: userid
  24300. type: integer
  24301. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24302. in: query
  24303. name: filterstatus
  24304. type: string
  24305. produces:
  24306. - application/json
  24307. responses:
  24308. "200":
  24309. description: OK
  24310. schema:
  24311. items:
  24312. $ref: '#/definitions/models.QhjBrokerApply'
  24313. type: array
  24314. "500":
  24315. description: Internal Server Error
  24316. schema:
  24317. $ref: '#/definitions/app.Response'
  24318. security:
  24319. - ApiKeyAuth: []
  24320. summary: 查询经纪人申请
  24321. tags:
  24322. - 大连千海金
  24323. /Qhj/QueryBrokerApplyEx:
  24324. get:
  24325. parameters:
  24326. - description: 所属机构ID
  24327. in: query
  24328. name: userid
  24329. type: integer
  24330. produces:
  24331. - application/json
  24332. responses:
  24333. "200":
  24334. description: OK
  24335. schema:
  24336. items:
  24337. $ref: '#/definitions/models.QhjBrokerApplyEx'
  24338. type: array
  24339. "500":
  24340. description: Internal Server Error
  24341. schema:
  24342. $ref: '#/definitions/app.Response'
  24343. security:
  24344. - ApiKeyAuth: []
  24345. summary: 查询经纪人信息和申请记录
  24346. tags:
  24347. - 大连千海金
  24348. /Qhj/QueryBrokerRewardLog:
  24349. get:
  24350. parameters:
  24351. - description: 用户ID
  24352. in: query
  24353. name: userid
  24354. required: true
  24355. type: integer
  24356. - description: 开始交易日(yyyymmdd)
  24357. in: query
  24358. name: begindate
  24359. type: string
  24360. - description: 结束交易日(yyyymmdd)
  24361. in: query
  24362. name: enddate
  24363. type: string
  24364. produces:
  24365. - application/json
  24366. responses:
  24367. "200":
  24368. description: OK
  24369. schema:
  24370. items:
  24371. $ref: '#/definitions/models.QhjBrokerRewardLog'
  24372. type: array
  24373. "500":
  24374. description: Internal Server Error
  24375. schema:
  24376. $ref: '#/definitions/app.Response'
  24377. security:
  24378. - ApiKeyAuth: []
  24379. summary: 查询奖励流水(我的奖励)
  24380. tags:
  24381. - 大连千海金
  24382. /Qhj/QueryContract:
  24383. get:
  24384. parameters:
  24385. - description: 用户ID
  24386. in: query
  24387. name: userid
  24388. type: integer
  24389. - description: scf合同id
  24390. in: query
  24391. name: scfcontractid
  24392. type: integer
  24393. produces:
  24394. - application/json
  24395. responses:
  24396. "200":
  24397. description: OK
  24398. schema:
  24399. items:
  24400. $ref: '#/definitions/models.QhjContract'
  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/QueryContractLog:
  24412. get:
  24413. parameters:
  24414. - description: scf合同id
  24415. in: query
  24416. name: scfcontractid
  24417. required: true
  24418. type: integer
  24419. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  24420. in: query
  24421. name: amounttype
  24422. type: string
  24423. produces:
  24424. - application/json
  24425. responses:
  24426. "200":
  24427. description: OK
  24428. schema:
  24429. items:
  24430. $ref: '#/definitions/models.QhjContractLog'
  24431. type: array
  24432. "500":
  24433. description: Internal Server Error
  24434. schema:
  24435. $ref: '#/definitions/app.Response'
  24436. security:
  24437. - ApiKeyAuth: []
  24438. summary: 查询融资明细流水(融资明细详情页中的流水)
  24439. tags:
  24440. - 大连千海金
  24441. /Qhj/QueryCusBankSignBank:
  24442. get:
  24443. produces:
  24444. - application/json
  24445. responses:
  24446. "200":
  24447. description: OK
  24448. schema:
  24449. items:
  24450. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  24451. type: array
  24452. "500":
  24453. description: Internal Server Error
  24454. schema:
  24455. $ref: '#/definitions/app.Response'
  24456. security:
  24457. - ApiKeyAuth: []
  24458. summary: 查询托管银行
  24459. tags:
  24460. - 大连千海金
  24461. /Qhj/QueryCustomerInfo:
  24462. get:
  24463. parameters:
  24464. - description: 用户ID
  24465. in: query
  24466. name: userid
  24467. required: true
  24468. type: integer
  24469. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24470. in: query
  24471. name: querytype
  24472. required: true
  24473. type: integer
  24474. - description: 客户类型 1-个人 2-企业
  24475. in: query
  24476. name: userinfotype
  24477. type: integer
  24478. - description: 客户名称(模糊匹配)
  24479. in: query
  24480. name: customername
  24481. type: string
  24482. - description: 昵称(模糊匹配)
  24483. in: query
  24484. name: nickname
  24485. type: string
  24486. - description: 是否包含子级 1-包含
  24487. in: query
  24488. name: includesub
  24489. type: integer
  24490. produces:
  24491. - application/json
  24492. responses:
  24493. "200":
  24494. description: OK
  24495. schema:
  24496. items:
  24497. $ref: '#/definitions/models.QhjCustomer'
  24498. type: array
  24499. "500":
  24500. description: Internal Server Error
  24501. schema:
  24502. $ref: '#/definitions/app.Response'
  24503. security:
  24504. - ApiKeyAuth: []
  24505. summary: 查询客户资料
  24506. tags:
  24507. - 大连千海金
  24508. /Qhj/QueryGoodsEx:
  24509. get:
  24510. parameters:
  24511. - description: 商品id
  24512. in: query
  24513. name: goodsid
  24514. type: integer
  24515. produces:
  24516. - application/json
  24517. responses:
  24518. "200":
  24519. description: OK
  24520. schema:
  24521. items:
  24522. $ref: '#/definitions/models.Qhjgoodsex'
  24523. type: array
  24524. "500":
  24525. description: Internal Server Error
  24526. schema:
  24527. $ref: '#/definitions/app.Response'
  24528. security:
  24529. - ApiKeyAuth: []
  24530. summary: 交易商品扩展表
  24531. tags:
  24532. - 大连千海金
  24533. /Qhj/QueryMyTeam:
  24534. get:
  24535. parameters:
  24536. - description: 用户ID
  24537. in: query
  24538. name: userid
  24539. required: true
  24540. type: integer
  24541. produces:
  24542. - application/json
  24543. responses:
  24544. "200":
  24545. description: OK
  24546. schema:
  24547. items:
  24548. $ref: '#/definitions/models.QhjMyTeamEx'
  24549. type: array
  24550. "500":
  24551. description: Internal Server Error
  24552. schema:
  24553. $ref: '#/definitions/app.Response'
  24554. security:
  24555. - ApiKeyAuth: []
  24556. summary: 查询我的团队
  24557. tags:
  24558. - 大连千海金
  24559. /Qhj/QueryMyTeamOrder:
  24560. get:
  24561. parameters:
  24562. - description: 页码
  24563. in: query
  24564. name: page
  24565. type: integer
  24566. - description: 每页条数
  24567. in: query
  24568. name: pagesize
  24569. type: integer
  24570. - description: 用户ID
  24571. in: query
  24572. name: userid
  24573. required: true
  24574. type: integer
  24575. - description: 交易模式
  24576. in: query
  24577. name: trademode
  24578. type: integer
  24579. - description: 名称(模糊搜索账户)
  24580. in: query
  24581. name: filtername
  24582. type: string
  24583. produces:
  24584. - application/json
  24585. responses:
  24586. "200":
  24587. description: OK
  24588. schema:
  24589. items:
  24590. $ref: '#/definitions/models.QhjTeamOrder'
  24591. type: array
  24592. "500":
  24593. description: Internal Server Error
  24594. schema:
  24595. $ref: '#/definitions/app.Response'
  24596. security:
  24597. - ApiKeyAuth: []
  24598. summary: 查询团队订单(我的团队/团队订单)
  24599. tags:
  24600. - 大连千海金
  24601. /Qhj/QueryParentAreaList:
  24602. get:
  24603. parameters:
  24604. - description: 用户ID
  24605. in: query
  24606. name: userid
  24607. required: true
  24608. type: integer
  24609. produces:
  24610. - application/json
  24611. responses:
  24612. "200":
  24613. description: OK
  24614. schema:
  24615. items:
  24616. $ref: '#/definitions/models.QhjParentAreaList'
  24617. type: array
  24618. "500":
  24619. description: Internal Server Error
  24620. schema:
  24621. $ref: '#/definitions/app.Response'
  24622. security:
  24623. - ApiKeyAuth: []
  24624. summary: 查询所属机构列表
  24625. tags:
  24626. - 大连千海金
  24627. /Qhj/QueryPayOrder:
  24628. get:
  24629. parameters:
  24630. - description: 资金账号id
  24631. in: query
  24632. name: accountid
  24633. required: true
  24634. type: integer
  24635. - description: 成交单号
  24636. in: query
  24637. name: tradeid
  24638. type: integer
  24639. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24640. in: query
  24641. name: payflag
  24642. type: string
  24643. produces:
  24644. - application/json
  24645. responses:
  24646. "200":
  24647. description: OK
  24648. schema:
  24649. items:
  24650. $ref: '#/definitions/models.QhjPayOrder'
  24651. type: array
  24652. "500":
  24653. description: Internal Server Error
  24654. schema:
  24655. $ref: '#/definitions/app.Response'
  24656. security:
  24657. - ApiKeyAuth: []
  24658. summary: 查询待付款单据
  24659. tags:
  24660. - 大连千海金
  24661. /Qhj/QueryPickArea:
  24662. get:
  24663. parameters:
  24664. - description: 用户ID
  24665. in: query
  24666. name: userid
  24667. type: integer
  24668. produces:
  24669. - application/json
  24670. responses:
  24671. "200":
  24672. description: OK
  24673. schema:
  24674. items:
  24675. $ref: '#/definitions/models.QhjPickArea'
  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/QueryPickGoods:
  24687. get:
  24688. parameters:
  24689. - description: 交易商品id
  24690. in: query
  24691. name: goodsid
  24692. required: true
  24693. type: integer
  24694. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24695. in: query
  24696. name: status
  24697. type: string
  24698. produces:
  24699. - application/json
  24700. responses:
  24701. "200":
  24702. description: OK
  24703. schema:
  24704. items:
  24705. $ref: '#/definitions/models.QhjPickGoods'
  24706. type: array
  24707. "500":
  24708. description: Internal Server Error
  24709. schema:
  24710. $ref: '#/definitions/app.Response'
  24711. security:
  24712. - ApiKeyAuth: []
  24713. summary: 查询提货商品
  24714. tags:
  24715. - 大连千海金
  24716. /Qhj/QueryRSTriggerLog:
  24717. get:
  24718. parameters:
  24719. - description: 用户ID
  24720. in: query
  24721. name: userid
  24722. type: integer
  24723. - description: 定投策略id
  24724. in: query
  24725. name: regularlystrategyid
  24726. type: integer
  24727. - description: 商品id
  24728. in: query
  24729. name: goodsid
  24730. type: integer
  24731. - description: 开始交易日(yyyymmdd)
  24732. in: query
  24733. name: begindate
  24734. type: string
  24735. - description: 结束交易日(yyyymmdd)
  24736. in: query
  24737. name: enddate
  24738. type: string
  24739. - description: 名称(模糊搜索账户)
  24740. in: query
  24741. name: filtername
  24742. type: string
  24743. produces:
  24744. - application/json
  24745. responses:
  24746. "200":
  24747. description: OK
  24748. schema:
  24749. items:
  24750. $ref: '#/definitions/models.QhjRSTriggerLog'
  24751. type: array
  24752. "500":
  24753. description: Internal Server Error
  24754. schema:
  24755. $ref: '#/definitions/app.Response'
  24756. security:
  24757. - ApiKeyAuth: []
  24758. summary: 查询定投记录(定投管理/详情/定投记录)
  24759. tags:
  24760. - 大连千海金
  24761. /Qhj/QueryRStrategy:
  24762. get:
  24763. parameters:
  24764. - description: 用户ID
  24765. in: query
  24766. name: userid
  24767. type: integer
  24768. - description: 商品id
  24769. in: query
  24770. name: goodsid
  24771. type: integer
  24772. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  24773. in: query
  24774. name: status
  24775. type: string
  24776. - description: 名称(模糊搜索账户)
  24777. in: query
  24778. name: filtername
  24779. type: string
  24780. produces:
  24781. - application/json
  24782. responses:
  24783. "200":
  24784. description: OK
  24785. schema:
  24786. items:
  24787. $ref: '#/definitions/models.QhjRStrategy'
  24788. type: array
  24789. "500":
  24790. description: Internal Server Error
  24791. schema:
  24792. $ref: '#/definitions/app.Response'
  24793. security:
  24794. - ApiKeyAuth: []
  24795. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  24796. tags:
  24797. - 大连千海金
  24798. /Qhj/QueryReckonPriceLog:
  24799. get:
  24800. parameters:
  24801. - description: 商品ID
  24802. in: query
  24803. name: goodsid
  24804. type: integer
  24805. - description: 交易日 格式(yyyymmdd)
  24806. in: query
  24807. name: tradedate
  24808. type: string
  24809. produces:
  24810. - application/json
  24811. responses:
  24812. "200":
  24813. description: OK
  24814. schema:
  24815. items:
  24816. $ref: '#/definitions/models.QhjReckonPriceLog'
  24817. type: array
  24818. "500":
  24819. description: Internal Server Error
  24820. schema:
  24821. $ref: '#/definitions/app.Response'
  24822. security:
  24823. - ApiKeyAuth: []
  24824. summary: 查询定投价(结算价)
  24825. tags:
  24826. - 大连千海金
  24827. /Qhj/QueryScoreLog:
  24828. get:
  24829. parameters:
  24830. - description: 用户ID
  24831. in: query
  24832. name: userid
  24833. required: true
  24834. type: integer
  24835. - description: 开始交易日(yyyymmdd)
  24836. in: query
  24837. name: begindate
  24838. type: string
  24839. - description: 结束交易日(yyyymmdd)
  24840. in: query
  24841. name: enddate
  24842. type: string
  24843. - description: 最近多少条
  24844. in: query
  24845. name: lastnum
  24846. type: integer
  24847. produces:
  24848. - application/json
  24849. responses:
  24850. "200":
  24851. description: OK
  24852. schema:
  24853. items:
  24854. $ref: '#/definitions/models.QhjScoreLog'
  24855. type: array
  24856. "500":
  24857. description: Internal Server Error
  24858. schema:
  24859. $ref: '#/definitions/app.Response'
  24860. security:
  24861. - ApiKeyAuth: []
  24862. summary: 查询积分流水(我的积分)
  24863. tags:
  24864. - 大连千海金
  24865. /Qhj/QuerySiteColumnDetail:
  24866. get:
  24867. parameters:
  24868. - description: 用户ID
  24869. in: query
  24870. name: userid
  24871. required: true
  24872. type: integer
  24873. produces:
  24874. - application/json
  24875. responses:
  24876. "200":
  24877. description: OK
  24878. schema:
  24879. items:
  24880. $ref: '#/definitions/models.QhjSiteColumnDetail'
  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/QueryTradeGoodsPickup:
  24892. get:
  24893. parameters:
  24894. - description: 用户ID
  24895. in: query
  24896. name: userid
  24897. required: true
  24898. type: integer
  24899. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  24900. in: query
  24901. name: takeorderstatus
  24902. type: integer
  24903. produces:
  24904. - application/json
  24905. responses:
  24906. "200":
  24907. description: OK
  24908. schema:
  24909. items:
  24910. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  24911. type: array
  24912. "500":
  24913. description: Internal Server Error
  24914. schema:
  24915. $ref: '#/definitions/app.Response'
  24916. security:
  24917. - ApiKeyAuth: []
  24918. summary: 查询提货
  24919. tags:
  24920. - 大连千海金
  24921. /Qhj/QueryUserCollectConfig:
  24922. get:
  24923. parameters:
  24924. - description: 用户ID
  24925. in: query
  24926. name: userid
  24927. required: true
  24928. type: integer
  24929. produces:
  24930. - application/json
  24931. responses:
  24932. "200":
  24933. description: OK
  24934. schema:
  24935. items:
  24936. $ref: '#/definitions/models.UserCollectConfig'
  24937. type: array
  24938. "500":
  24939. description: Internal Server Error
  24940. schema:
  24941. $ref: '#/definitions/app.Response'
  24942. security:
  24943. - ApiKeyAuth: []
  24944. summary: 查询提现账户设置
  24945. tags:
  24946. - 大连千海金
  24947. /Qhj/QueryUserReceiveInfo:
  24948. get:
  24949. parameters:
  24950. - description: 用户ID
  24951. in: query
  24952. name: userid
  24953. required: true
  24954. type: integer
  24955. produces:
  24956. - application/json
  24957. responses:
  24958. "200":
  24959. description: OK
  24960. schema:
  24961. items:
  24962. $ref: '#/definitions/models.UserReceiveInfo'
  24963. type: array
  24964. "500":
  24965. description: Internal Server Error
  24966. schema:
  24967. $ref: '#/definitions/app.Response'
  24968. security:
  24969. - ApiKeyAuth: []
  24970. summary: 查询收货地址信息
  24971. tags:
  24972. - 大连千海金
  24973. /QhjMgr/QueryAccountInOutApply:
  24974. get:
  24975. parameters:
  24976. - description: 查询类型 1-提现(出金) 2-充值(出金)
  24977. in: query
  24978. name: querytype
  24979. required: true
  24980. type: integer
  24981. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  24982. in: query
  24983. name: applystatus
  24984. type: integer
  24985. - description: 申请起始日期(格式yyyymmdd)
  24986. in: query
  24987. name: begindate
  24988. type: string
  24989. - description: 申请截止日期(格式yyyymmdd)
  24990. in: query
  24991. name: enddate
  24992. type: string
  24993. - description: 模糊搜索名称
  24994. in: query
  24995. name: likename
  24996. type: string
  24997. produces:
  24998. - application/json
  24999. responses:
  25000. "200":
  25001. description: OK
  25002. schema:
  25003. items:
  25004. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  25005. type: array
  25006. "500":
  25007. description: Internal Server Error
  25008. schema:
  25009. $ref: '#/definitions/app.Response'
  25010. security:
  25011. - ApiKeyAuth: []
  25012. summary: 查询充值提现
  25013. tags:
  25014. - 大连千海金(PCWeb)
  25015. /QhjMgr/QueryBrokerApply:
  25016. get:
  25017. parameters:
  25018. - description: 所属机构ID
  25019. in: query
  25020. name: userid
  25021. type: integer
  25022. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25023. in: query
  25024. name: filterstatus
  25025. type: string
  25026. - description: 名称(模糊匹配)
  25027. in: query
  25028. name: filtername
  25029. type: string
  25030. - description: 是否包含子级 1-包含
  25031. in: query
  25032. name: includesub
  25033. type: integer
  25034. produces:
  25035. - application/json
  25036. responses:
  25037. "200":
  25038. description: OK
  25039. schema:
  25040. items:
  25041. $ref: '#/definitions/models.QhjMgrBrokerApply'
  25042. type: array
  25043. "500":
  25044. description: Internal Server Error
  25045. schema:
  25046. $ref: '#/definitions/app.Response'
  25047. security:
  25048. - ApiKeyAuth: []
  25049. summary: 查询经纪人申请
  25050. tags:
  25051. - 大连千海金(PCWeb)
  25052. /QhjMgr/QueryBrokerRewardReport:
  25053. get:
  25054. parameters:
  25055. - description: 所属机构ID
  25056. in: query
  25057. name: userid
  25058. required: true
  25059. type: integer
  25060. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25061. in: query
  25062. name: cycletype
  25063. required: true
  25064. type: integer
  25065. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  25066. in: query
  25067. name: cycletime
  25068. required: true
  25069. type: string
  25070. - description: 名称(模糊匹配)
  25071. in: query
  25072. name: filtername
  25073. type: string
  25074. - description: 是否包含子级 1-包含
  25075. in: query
  25076. name: includesub
  25077. type: integer
  25078. produces:
  25079. - application/json
  25080. responses:
  25081. "200":
  25082. description: OK
  25083. schema:
  25084. items:
  25085. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  25086. type: array
  25087. "500":
  25088. description: Internal Server Error
  25089. schema:
  25090. $ref: '#/definitions/app.Response'
  25091. security:
  25092. - ApiKeyAuth: []
  25093. summary: 查询经纪人奖励报表(废弃)
  25094. tags:
  25095. - 大连千海金(PCWeb)
  25096. /QhjMgr/QueryContract:
  25097. get:
  25098. parameters:
  25099. - description: 用户ID
  25100. in: query
  25101. name: userid
  25102. type: integer
  25103. - description: 商品id
  25104. in: query
  25105. name: goodsid
  25106. type: integer
  25107. - description: 名称(模糊搜索账户)
  25108. in: query
  25109. name: filtername
  25110. type: string
  25111. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  25112. in: query
  25113. name: risklevel
  25114. type: string
  25115. - description: 开始交易日(yyyymmdd)
  25116. in: query
  25117. name: begindate
  25118. type: string
  25119. - description: 结束交易日(yyyymmdd)
  25120. in: query
  25121. name: enddate
  25122. type: string
  25123. produces:
  25124. - application/json
  25125. responses:
  25126. "200":
  25127. description: OK
  25128. schema:
  25129. items:
  25130. $ref: '#/definitions/models.QhjMgrContract'
  25131. type: array
  25132. "500":
  25133. description: Internal Server Error
  25134. schema:
  25135. $ref: '#/definitions/app.Response'
  25136. security:
  25137. - ApiKeyAuth: []
  25138. summary: 查询融资信息(合同)
  25139. tags:
  25140. - 大连千海金(PCWeb)
  25141. /QhjMgr/QueryCustomerInfo:
  25142. get:
  25143. parameters:
  25144. - description: 用户ID
  25145. in: query
  25146. name: userid
  25147. required: true
  25148. type: integer
  25149. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  25150. in: query
  25151. name: querytype
  25152. required: true
  25153. type: integer
  25154. - description: 客户类型 1-个人 2-企业
  25155. in: query
  25156. name: userinfotype
  25157. type: integer
  25158. - description: 客户名称(模糊匹配)
  25159. in: query
  25160. name: customername
  25161. type: string
  25162. - description: 昵称(模糊匹配)
  25163. in: query
  25164. name: nickname
  25165. type: string
  25166. - description: 所属客户经理(模糊匹配)
  25167. in: query
  25168. name: brokername
  25169. type: string
  25170. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)
  25171. in: query
  25172. name: birthday
  25173. type: string
  25174. - description: 是否包含子级 1-包含
  25175. in: query
  25176. name: includesub
  25177. type: integer
  25178. produces:
  25179. - application/json
  25180. responses:
  25181. "200":
  25182. description: OK
  25183. schema:
  25184. items:
  25185. $ref: '#/definitions/models.QhjMgrCustomer'
  25186. type: array
  25187. "500":
  25188. description: Internal Server Error
  25189. schema:
  25190. $ref: '#/definitions/app.Response'
  25191. security:
  25192. - ApiKeyAuth: []
  25193. summary: 查询客户资料
  25194. tags:
  25195. - 大连千海金(PCWeb)
  25196. /QhjMgr/QueryPickGoods:
  25197. get:
  25198. parameters:
  25199. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25200. in: query
  25201. name: status
  25202. type: string
  25203. produces:
  25204. - application/json
  25205. responses:
  25206. "200":
  25207. description: OK
  25208. schema:
  25209. items:
  25210. $ref: '#/definitions/models.QhjMgrPickGoods'
  25211. type: array
  25212. "500":
  25213. description: Internal Server Error
  25214. schema:
  25215. $ref: '#/definitions/app.Response'
  25216. security:
  25217. - ApiKeyAuth: []
  25218. summary: 查询提货商品
  25219. tags:
  25220. - 大连千海金(PCWeb)
  25221. /QhjMgr/QuerySubArea:
  25222. get:
  25223. parameters:
  25224. - description: 用户ID
  25225. in: query
  25226. name: userid
  25227. required: true
  25228. type: integer
  25229. produces:
  25230. - application/json
  25231. responses:
  25232. "200":
  25233. description: OK
  25234. schema:
  25235. items:
  25236. $ref: '#/definitions/models.QhjMgrSubArea'
  25237. type: array
  25238. "500":
  25239. description: Internal Server Error
  25240. schema:
  25241. $ref: '#/definitions/app.Response'
  25242. security:
  25243. - ApiKeyAuth: []
  25244. summary: 查询子机构列表
  25245. tags:
  25246. - 大连千海金(PCWeb)
  25247. /QhjMgr/QueryTradeDetail:
  25248. get:
  25249. parameters:
  25250. - description: 用户ID
  25251. in: query
  25252. name: userid
  25253. required: true
  25254. type: integer
  25255. - description: 用户类型 1-个人 2-企业
  25256. in: query
  25257. name: userinfotype
  25258. type: integer
  25259. - description: 交易模式
  25260. in: query
  25261. name: trademode
  25262. type: integer
  25263. - description: 商品id
  25264. in: query
  25265. name: goodsid
  25266. type: integer
  25267. - description: 名称(模糊搜索账户)
  25268. in: query
  25269. name: filtername
  25270. type: string
  25271. - description: 开始交易日(yyyymmdd)
  25272. in: query
  25273. name: begindate
  25274. type: string
  25275. - description: 结束交易日(yyyymmdd)
  25276. in: query
  25277. name: enddate
  25278. type: string
  25279. - description: 是否包含子级 1-包含
  25280. in: query
  25281. name: includesub
  25282. type: integer
  25283. produces:
  25284. - application/json
  25285. responses:
  25286. "200":
  25287. description: OK
  25288. schema:
  25289. items:
  25290. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  25291. type: array
  25292. "500":
  25293. description: Internal Server Error
  25294. schema:
  25295. $ref: '#/definitions/app.Response'
  25296. security:
  25297. - ApiKeyAuth: []
  25298. summary: 查询成交明细
  25299. tags:
  25300. - 大连千海金(PCWeb)
  25301. /QhjMgr/QueryTradeOrderDetail:
  25302. get:
  25303. parameters:
  25304. - description: 用户ID
  25305. in: query
  25306. name: userid
  25307. required: true
  25308. type: integer
  25309. - description: 用户类型 1-个人 2-企业
  25310. in: query
  25311. name: userinfotype
  25312. type: integer
  25313. - description: 交易模式
  25314. in: query
  25315. name: trademode
  25316. type: integer
  25317. - description: 商品id
  25318. in: query
  25319. name: goodsid
  25320. type: integer
  25321. - description: 名称(模糊搜索账户)
  25322. in: query
  25323. name: filtername
  25324. type: string
  25325. - description: 开始交易日(yyyymmdd)
  25326. in: query
  25327. name: begindate
  25328. type: string
  25329. - description: 结束交易日(yyyymmdd)
  25330. in: query
  25331. name: enddate
  25332. type: string
  25333. - description: 是否包含子级 1-包含
  25334. in: query
  25335. name: includesub
  25336. type: integer
  25337. produces:
  25338. - application/json
  25339. responses:
  25340. "200":
  25341. description: OK
  25342. schema:
  25343. items:
  25344. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  25345. type: array
  25346. "500":
  25347. description: Internal Server Error
  25348. schema:
  25349. $ref: '#/definitions/app.Response'
  25350. security:
  25351. - ApiKeyAuth: []
  25352. summary: 查询委托明细
  25353. tags:
  25354. - 大连千海金(PCWeb)
  25355. /QhjMgr/QueryTradePayOrder:
  25356. get:
  25357. parameters:
  25358. - description: 用户ID
  25359. in: query
  25360. name: userid
  25361. required: true
  25362. type: integer
  25363. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25364. in: query
  25365. name: payflag
  25366. type: string
  25367. - description: 用户类型 1-个人 2-企业
  25368. in: query
  25369. name: userinfotype
  25370. type: integer
  25371. - description: 交易模式
  25372. in: query
  25373. name: trademode
  25374. type: integer
  25375. - description: 商品id
  25376. in: query
  25377. name: goodsid
  25378. type: integer
  25379. - description: 名称(模糊搜索账户)
  25380. in: query
  25381. name: filtername
  25382. type: string
  25383. - description: 开始交易日(yyyymmdd)
  25384. in: query
  25385. name: begindate
  25386. type: string
  25387. - description: 结束交易日(yyyymmdd)
  25388. in: query
  25389. name: enddate
  25390. type: string
  25391. - description: 是否包含子级 1-包含
  25392. in: query
  25393. name: includesub
  25394. type: integer
  25395. produces:
  25396. - application/json
  25397. responses:
  25398. "200":
  25399. description: OK
  25400. schema:
  25401. items:
  25402. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  25403. type: array
  25404. "500":
  25405. description: Internal Server Error
  25406. schema:
  25407. $ref: '#/definitions/app.Response'
  25408. security:
  25409. - ApiKeyAuth: []
  25410. summary: 查询待付款单
  25411. tags:
  25412. - 大连千海金(PCWeb)
  25413. /QhjMgr/QueryTradePosition:
  25414. get:
  25415. parameters:
  25416. - description: 用户ID
  25417. in: query
  25418. name: userid
  25419. required: true
  25420. type: integer
  25421. - description: 用户类型 1-个人 2-企业
  25422. in: query
  25423. name: userinfotype
  25424. type: integer
  25425. - description: 交易模式
  25426. in: query
  25427. name: trademode
  25428. type: integer
  25429. - description: 商品id
  25430. in: query
  25431. name: goodsid
  25432. type: integer
  25433. - description: 名称(模糊搜索账户)
  25434. in: query
  25435. name: filtername
  25436. type: string
  25437. - description: 是否包含子级 1-包含
  25438. in: query
  25439. name: includesub
  25440. type: integer
  25441. produces:
  25442. - application/json
  25443. responses:
  25444. "200":
  25445. description: OK
  25446. schema:
  25447. items:
  25448. $ref: '#/definitions/models.QhjMgrPositionRsp'
  25449. type: array
  25450. "500":
  25451. description: Internal Server Error
  25452. schema:
  25453. $ref: '#/definitions/app.Response'
  25454. security:
  25455. - ApiKeyAuth: []
  25456. summary: 查询持仓汇总
  25457. tags:
  25458. - 大连千海金(PCWeb)
  25459. /QhjSys/QueryAgreementChangeLog:
  25460. get:
  25461. parameters:
  25462. - description: 协议ID
  25463. in: query
  25464. name: agreementid
  25465. type: integer
  25466. - description: 协议版本号
  25467. in: query
  25468. name: agreementversion
  25469. type: integer
  25470. - description: 协议类型 - 1:注册 2:登录 3:交易
  25471. in: query
  25472. name: agreementtype
  25473. type: integer
  25474. - description: 协议编号(模糊匹配)
  25475. in: query
  25476. name: agreementno
  25477. type: string
  25478. - description: 协议名称(模糊匹配)
  25479. in: query
  25480. name: agreementname
  25481. type: string
  25482. produces:
  25483. - application/json
  25484. responses:
  25485. "200":
  25486. description: OK
  25487. schema:
  25488. items:
  25489. $ref: '#/definitions/models.QhjAgreementChangeLog'
  25490. type: array
  25491. "500":
  25492. description: Internal Server Error
  25493. schema:
  25494. $ref: '#/definitions/app.Response'
  25495. security:
  25496. - ApiKeyAuth: []
  25497. summary: 查询协议配置变更流水
  25498. tags:
  25499. - 大连千海金(协议和签约信息)
  25500. /QhjSys/QueryAgreementConfig:
  25501. get:
  25502. parameters:
  25503. - description: 协议ID
  25504. in: query
  25505. name: agreementid
  25506. type: integer
  25507. - description: 协议版本号
  25508. in: query
  25509. name: agreementversion
  25510. type: integer
  25511. - description: 协议类型 - 1:注册 2:登录 3:交易
  25512. in: query
  25513. name: agreementtype
  25514. type: integer
  25515. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  25516. in: query
  25517. name: isvalid
  25518. type: integer
  25519. - description: 协议编号(模糊匹配)
  25520. in: query
  25521. name: agreementno
  25522. type: string
  25523. - description: 协议名称(模糊匹配)
  25524. in: query
  25525. name: agreementname
  25526. type: string
  25527. produces:
  25528. - application/json
  25529. responses:
  25530. "200":
  25531. description: OK
  25532. schema:
  25533. items:
  25534. $ref: '#/definitions/models.QhjAgreementConfig'
  25535. type: array
  25536. "500":
  25537. description: Internal Server Error
  25538. schema:
  25539. $ref: '#/definitions/app.Response'
  25540. security:
  25541. - ApiKeyAuth: []
  25542. summary: 查询协议配置
  25543. tags:
  25544. - 大连千海金(协议和签约信息)
  25545. /QhjSys/QueryCustomerSignStatus:
  25546. get:
  25547. parameters:
  25548. - description: 客户ID
  25549. in: query
  25550. name: userid
  25551. type: integer
  25552. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  25553. in: query
  25554. name: nodetype
  25555. type: integer
  25556. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25557. in: query
  25558. name: goodsid
  25559. type: integer
  25560. - description: 创建交易日(yyyyMMdd)
  25561. in: query
  25562. name: tradedate
  25563. type: string
  25564. - description: 用户名称(模糊匹配)
  25565. in: query
  25566. name: username
  25567. type: string
  25568. produces:
  25569. - application/json
  25570. responses:
  25571. "200":
  25572. description: OK
  25573. schema:
  25574. items:
  25575. $ref: '#/definitions/models.QhjCustomerSignStatus'
  25576. type: array
  25577. "500":
  25578. description: Internal Server Error
  25579. schema:
  25580. $ref: '#/definitions/app.Response'
  25581. security:
  25582. - ApiKeyAuth: []
  25583. summary: 查询客户协议签约状态
  25584. tags:
  25585. - 大连千海金(协议和签约信息)
  25586. /QhjSys/QueryNodeAgreementConfig:
  25587. get:
  25588. parameters:
  25589. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25590. in: query
  25591. name: configid
  25592. type: integer
  25593. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25594. in: query
  25595. name: nodetype
  25596. type: integer
  25597. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25598. in: query
  25599. name: goodsid
  25600. type: integer
  25601. - description: 协议ID
  25602. in: query
  25603. name: agreementid
  25604. type: integer
  25605. - description: 协议类型 - 1:注册 2:登录 3:交易
  25606. in: query
  25607. name: agreementtype
  25608. type: integer
  25609. - description: 协议版本号
  25610. in: query
  25611. name: agreementversion
  25612. type: integer
  25613. - description: 协议编号(模糊匹配)
  25614. in: query
  25615. name: agreementno
  25616. type: string
  25617. - description: 协议名称(模糊匹配)
  25618. in: query
  25619. name: agreementname
  25620. type: string
  25621. produces:
  25622. - application/json
  25623. responses:
  25624. "200":
  25625. description: OK
  25626. schema:
  25627. items:
  25628. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  25629. type: array
  25630. "500":
  25631. description: Internal Server Error
  25632. schema:
  25633. $ref: '#/definitions/app.Response'
  25634. security:
  25635. - ApiKeyAuth: []
  25636. summary: 查询协议节点配置
  25637. tags:
  25638. - 大连千海金(协议和签约信息)
  25639. /QhjSys/QueryQhjCustomerSignLog:
  25640. get:
  25641. parameters:
  25642. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  25643. in: query
  25644. name: logid
  25645. type: integer
  25646. - description: 客户ID
  25647. in: query
  25648. name: userid
  25649. type: integer
  25650. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25651. in: query
  25652. name: nodetype
  25653. type: integer
  25654. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25655. in: query
  25656. name: goodsid
  25657. type: integer
  25658. - description: 协议ID
  25659. in: query
  25660. name: agreementid
  25661. type: integer
  25662. - description: 用户名称(模糊匹配)
  25663. in: query
  25664. name: username
  25665. type: string
  25666. - description: 协议编号(模糊匹配)
  25667. in: query
  25668. name: agreementno
  25669. type: string
  25670. - description: 协议名称(模糊匹配)
  25671. in: query
  25672. name: agreementname
  25673. type: string
  25674. produces:
  25675. - application/json
  25676. responses:
  25677. "200":
  25678. description: OK
  25679. schema:
  25680. items:
  25681. $ref: '#/definitions/models.QhjCustomerSignLog'
  25682. type: array
  25683. "500":
  25684. description: Internal Server Error
  25685. schema:
  25686. $ref: '#/definitions/app.Response'
  25687. security:
  25688. - ApiKeyAuth: []
  25689. summary: 查询客户协议签约流水
  25690. tags:
  25691. - 大连千海金(协议和签约信息)
  25692. /QhjSys/QueryUserNodeCfgAndStatus:
  25693. get:
  25694. parameters:
  25695. - description: 客户ID
  25696. in: query
  25697. name: userid
  25698. type: integer
  25699. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25700. in: query
  25701. name: configid
  25702. type: integer
  25703. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25704. in: query
  25705. name: nodetype
  25706. type: string
  25707. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25708. in: query
  25709. name: goodsid
  25710. type: integer
  25711. - description: 协议ID
  25712. in: query
  25713. name: agreementid
  25714. type: integer
  25715. - description: 协议类型 - 1:注册 2:登录 3:交易
  25716. in: query
  25717. name: agreementtype
  25718. type: integer
  25719. - description: 协议版本号
  25720. in: query
  25721. name: agreementversion
  25722. type: integer
  25723. - description: 协议编号(模糊匹配)
  25724. in: query
  25725. name: agreementno
  25726. type: string
  25727. - description: 协议名称(模糊匹配)
  25728. in: query
  25729. name: agreementname
  25730. type: string
  25731. produces:
  25732. - application/json
  25733. responses:
  25734. "200":
  25735. description: OK
  25736. schema:
  25737. items:
  25738. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  25739. type: array
  25740. "500":
  25741. description: Internal Server Error
  25742. schema:
  25743. $ref: '#/definitions/app.Response'
  25744. security:
  25745. - ApiKeyAuth: []
  25746. summary: 查询用户协议节点配置和状态
  25747. tags:
  25748. - 大连千海金(协议和签约信息)
  25749. /Quote/QueryHistoryDatas:
  25750. get:
  25751. parameters:
  25752. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线'
  25753. in: query
  25754. name: cycleType
  25755. required: true
  25756. type: integer
  25757. - description: 商品代码
  25758. in: query
  25759. name: goodsCode
  25760. required: true
  25761. type: string
  25762. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25763. in: query
  25764. name: startTime
  25765. type: string
  25766. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25767. in: query
  25768. name: endTime
  25769. type: string
  25770. - description: 条数
  25771. in: query
  25772. name: count
  25773. type: integer
  25774. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25775. in: query
  25776. name: isAsc
  25777. type: boolean
  25778. produces:
  25779. - application/json
  25780. responses:
  25781. "200":
  25782. description: OK
  25783. schema:
  25784. $ref: '#/definitions/quote.HistoryData'
  25785. "500":
  25786. description: Internal Server Error
  25787. schema:
  25788. $ref: '#/definitions/app.Response'
  25789. security:
  25790. - ApiKeyAuth: []
  25791. summary: 查询行情历史数据
  25792. tags:
  25793. - 行情服务
  25794. /Quote/QueryHistoryTikDatas:
  25795. get:
  25796. parameters:
  25797. - description: 商品代码
  25798. in: query
  25799. name: goodsCode
  25800. required: true
  25801. type: string
  25802. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25803. in: query
  25804. name: startTime
  25805. type: string
  25806. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25807. in: query
  25808. name: endTime
  25809. type: string
  25810. - description: 条数
  25811. in: query
  25812. name: count
  25813. type: integer
  25814. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25815. in: query
  25816. name: isAsc
  25817. type: boolean
  25818. produces:
  25819. - application/json
  25820. responses:
  25821. "200":
  25822. description: OK
  25823. schema:
  25824. $ref: '#/definitions/quote.HistoryTikData'
  25825. "500":
  25826. description: Internal Server Error
  25827. schema:
  25828. $ref: '#/definitions/app.Response'
  25829. security:
  25830. - ApiKeyAuth: []
  25831. summary: 查询行情Tik数据
  25832. tags:
  25833. - 行情服务
  25834. /Quote/QueryQuoteDay:
  25835. get:
  25836. parameters:
  25837. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  25838. in: query
  25839. name: goodsCodes
  25840. type: string
  25841. produces:
  25842. - application/json
  25843. responses:
  25844. "200":
  25845. description: OK
  25846. schema:
  25847. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  25848. "500":
  25849. description: Internal Server Error
  25850. schema:
  25851. $ref: '#/definitions/app.Response'
  25852. security:
  25853. - ApiKeyAuth: []
  25854. summary: 获取商品盘面信息
  25855. tags:
  25856. - 行情服务
  25857. /Quote/QueryTSData:
  25858. get:
  25859. parameters:
  25860. - description: 商品代码
  25861. in: query
  25862. name: goodsCode
  25863. required: true
  25864. type: string
  25865. produces:
  25866. - application/json
  25867. responses:
  25868. "200":
  25869. description: OK
  25870. schema:
  25871. $ref: '#/definitions/quote.QueryTSDataRsp'
  25872. "500":
  25873. description: Internal Server Error
  25874. schema:
  25875. $ref: '#/definitions/app.Response'
  25876. security:
  25877. - ApiKeyAuth: []
  25878. summary: 分时图数据查询
  25879. tags:
  25880. - 行情服务
  25881. /SZDZ/QueryConvertConfig:
  25882. get:
  25883. parameters:
  25884. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  25885. in: query
  25886. name: convertType
  25887. type: integer
  25888. - description: 外部商品代码[JD\PD]
  25889. in: query
  25890. name: outerGoodsCode
  25891. type: string
  25892. - description: 内部商品ID列表[交易],格式:1,2,3
  25893. in: query
  25894. name: innerGoodsIDs
  25895. type: string
  25896. produces:
  25897. - application/json
  25898. responses:
  25899. "200":
  25900. description: OK
  25901. schema:
  25902. $ref: '#/definitions/models.Szdz3convertconfig'
  25903. "500":
  25904. description: Internal Server Error
  25905. schema:
  25906. $ref: '#/definitions/app.Response'
  25907. security:
  25908. - ApiKeyAuth: []
  25909. summary: 查询交易系统转换设置
  25910. tags:
  25911. - 定制【尚志大宗】
  25912. /SZDZ/QueryConvertLog:
  25913. get:
  25914. parameters:
  25915. - description: 资金账户 - 格式:1,2,3
  25916. in: query
  25917. name: accountID
  25918. required: true
  25919. type: string
  25920. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25921. in: query
  25922. name: startDate
  25923. type: string
  25924. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25925. in: query
  25926. name: endDate
  25927. type: string
  25928. produces:
  25929. - application/json
  25930. responses:
  25931. "200":
  25932. description: OK
  25933. schema:
  25934. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  25935. "500":
  25936. description: Internal Server Error
  25937. schema:
  25938. $ref: '#/definitions/app.Response'
  25939. security:
  25940. - ApiKeyAuth: []
  25941. summary: 交易系统转换流水查询
  25942. tags:
  25943. - 定制【尚志大宗】
  25944. /SZDZ/QueryGoodsPickup:
  25945. get:
  25946. parameters:
  25947. - description: 资金账户 - 格式:1,2,3
  25948. in: query
  25949. name: accountID
  25950. required: true
  25951. type: string
  25952. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25953. in: query
  25954. name: takeOrderStatus
  25955. type: integer
  25956. produces:
  25957. - application/json
  25958. responses:
  25959. "200":
  25960. description: OK
  25961. schema:
  25962. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  25963. "500":
  25964. description: Internal Server Error
  25965. schema:
  25966. $ref: '#/definitions/app.Response'
  25967. security:
  25968. - ApiKeyAuth: []
  25969. summary: 商品提货单查询
  25970. tags:
  25971. - 定制【尚志大宗】
  25972. /SZDZ/QueryRecieptOrder:
  25973. get:
  25974. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25975. parameters:
  25976. - description: 页码
  25977. in: query
  25978. name: page
  25979. type: integer
  25980. - description: 每页条数
  25981. in: query
  25982. name: pagesize
  25983. type: integer
  25984. - description: 商品ID
  25985. in: query
  25986. name: goodsID
  25987. required: true
  25988. type: integer
  25989. - description: 所属账户名称
  25990. in: query
  25991. name: accountName
  25992. type: string
  25993. - description: 市场ID
  25994. in: query
  25995. name: marketID
  25996. type: integer
  25997. - description: 方向 - 0:买 1:卖
  25998. in: query
  25999. name: buyorsell
  26000. required: true
  26001. type: integer
  26002. produces:
  26003. - application/json
  26004. responses:
  26005. "200":
  26006. description: OK
  26007. schema:
  26008. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  26009. "500":
  26010. description: Internal Server Error
  26011. schema:
  26012. $ref: '#/definitions/app.Response'
  26013. security:
  26014. - ApiKeyAuth: []
  26015. summary: 点选挂牌委托单据查询(摘牌大厅)
  26016. tags:
  26017. - 定制【尚志大宗】
  26018. /SZDZ/QuerySZDZTradePosition:
  26019. get:
  26020. parameters:
  26021. - description: 资金账户
  26022. in: query
  26023. name: accountID
  26024. required: true
  26025. type: integer
  26026. produces:
  26027. - application/json
  26028. responses:
  26029. "200":
  26030. description: OK
  26031. schema:
  26032. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  26033. "500":
  26034. description: Internal Server Error
  26035. schema:
  26036. $ref: '#/definitions/app.Response'
  26037. security:
  26038. - ApiKeyAuth: []
  26039. summary: 持仓汇总查询(尚志大宗)
  26040. tags:
  26041. - 定制【尚志大宗】
  26042. /SZDZ/SearchWhite:
  26043. get:
  26044. parameters:
  26045. - description: 用户ID
  26046. in: query
  26047. name: userID
  26048. required: true
  26049. type: integer
  26050. produces:
  26051. - application/json
  26052. responses:
  26053. "200":
  26054. description: OK
  26055. schema:
  26056. $ref: '#/definitions/models.Szdz3searchwhitelist'
  26057. "500":
  26058. description: Internal Server Error
  26059. schema:
  26060. $ref: '#/definitions/app.Response'
  26061. security:
  26062. - ApiKeyAuth: []
  26063. summary: 搜索白名单
  26064. tags:
  26065. - 定制【尚志大宗】
  26066. /Search/SearchGoodses:
  26067. get:
  26068. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  26069. parameters:
  26070. - description: 检索内容
  26071. in: query
  26072. name: content
  26073. required: true
  26074. type: string
  26075. - description: 交易模式,格式:1,2,3
  26076. in: query
  26077. name: tradeModes
  26078. type: string
  26079. produces:
  26080. - application/json
  26081. responses:
  26082. "200":
  26083. description: OK
  26084. schema:
  26085. $ref: '#/definitions/models.SearchGoods'
  26086. "500":
  26087. description: Internal Server Error
  26088. schema:
  26089. $ref: '#/definitions/app.Response'
  26090. summary: 检索商品信息
  26091. tags:
  26092. - 检索服务
  26093. /TaAccount/GetTaAccounts:
  26094. get:
  26095. parameters:
  26096. - description: 登录账户
  26097. in: query
  26098. name: loginID
  26099. required: true
  26100. type: integer
  26101. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  26102. in: query
  26103. name: taAccountType
  26104. type: integer
  26105. produces:
  26106. - application/json
  26107. responses:
  26108. "200":
  26109. description: OK
  26110. schema:
  26111. $ref: '#/definitions/models.Taaccount'
  26112. "500":
  26113. description: Internal Server Error
  26114. schema:
  26115. $ref: '#/definitions/app.Response'
  26116. security:
  26117. - ApiKeyAuth: []
  26118. summary: 获取资金账户信息
  26119. tags:
  26120. - 资金账户
  26121. /TaAccount/QueryAmountLog:
  26122. get:
  26123. parameters:
  26124. - description: 页码
  26125. in: query
  26126. name: page
  26127. type: integer
  26128. - description: 每页条数
  26129. in: query
  26130. name: pagesize
  26131. type: integer
  26132. - description: 资金账户 - 格式:1,2,3
  26133. in: query
  26134. name: accountID
  26135. required: true
  26136. type: string
  26137. - description: 资金操作类型 - 格式:1,2,3
  26138. in: query
  26139. name: OperateType
  26140. type: string
  26141. produces:
  26142. - application/json
  26143. responses:
  26144. "200":
  26145. description: OK
  26146. schema:
  26147. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  26148. "500":
  26149. description: Internal Server Error
  26150. schema:
  26151. $ref: '#/definitions/app.Response'
  26152. security:
  26153. - ApiKeyAuth: []
  26154. summary: 资金流水查询(当前)
  26155. tags:
  26156. - 资金账户
  26157. /TaAccount/QueryHisAmountLog:
  26158. get:
  26159. parameters:
  26160. - description: 页码
  26161. in: query
  26162. name: page
  26163. type: integer
  26164. - description: 每页条数
  26165. in: query
  26166. name: pagesize
  26167. type: integer
  26168. - description: 资金账户 - 格式:1,2,3
  26169. in: query
  26170. name: accountID
  26171. required: true
  26172. type: string
  26173. - description: 资金操作类型 - 格式:1,2,3
  26174. in: query
  26175. name: OperateType
  26176. type: string
  26177. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  26178. in: query
  26179. name: startDate
  26180. type: string
  26181. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  26182. in: query
  26183. name: endDate
  26184. type: string
  26185. produces:
  26186. - application/json
  26187. responses:
  26188. "200":
  26189. description: OK
  26190. schema:
  26191. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  26192. "500":
  26193. description: Internal Server Error
  26194. schema:
  26195. $ref: '#/definitions/app.Response'
  26196. security:
  26197. - ApiKeyAuth: []
  26198. summary: 资金流水查询(历史)
  26199. tags:
  26200. - 资金账户
  26201. /Tjmd/QueryQuoteGoodsList:
  26202. get:
  26203. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  26204. parameters:
  26205. - description: 用户类型
  26206. in: query
  26207. name: usertype
  26208. required: true
  26209. type: integer
  26210. - description: 市场id, 格式 1,2,3
  26211. in: query
  26212. name: marketids
  26213. type: string
  26214. - description: 商品组id
  26215. in: query
  26216. name: goodsgroupid
  26217. type: integer
  26218. - description: 商品id
  26219. in: query
  26220. name: goodsid
  26221. type: integer
  26222. produces:
  26223. - application/json
  26224. responses:
  26225. "200":
  26226. description: OK
  26227. schema:
  26228. items:
  26229. $ref: '#/definitions/models.TjmdQuoteGoods'
  26230. type: array
  26231. "500":
  26232. description: Internal Server Error
  26233. schema:
  26234. $ref: '#/definitions/app.Response'
  26235. security:
  26236. - ApiKeyAuth: []
  26237. summary: 查询掉期报价列表
  26238. tags:
  26239. - 天津麦顿
  26240. /Tjmd/QueryTjmdMarketSection:
  26241. get:
  26242. produces:
  26243. - application/json
  26244. responses:
  26245. "200":
  26246. description: OK
  26247. schema:
  26248. items:
  26249. $ref: '#/definitions/models.TjmdMarketSection'
  26250. type: array
  26251. "500":
  26252. description: Internal Server Error
  26253. schema:
  26254. $ref: '#/definitions/app.Response'
  26255. security:
  26256. - ApiKeyAuth: []
  26257. summary: 查询市场板块
  26258. tags:
  26259. - 天津麦顿
  26260. /Tjmd/QueryTjmdTodayAccountMargin:
  26261. get:
  26262. parameters:
  26263. - description: 市场id
  26264. in: query
  26265. name: marketid
  26266. type: string
  26267. - description: 商品id
  26268. in: query
  26269. name: goodsid
  26270. type: string
  26271. - description: 资金账号
  26272. in: query
  26273. name: accountid
  26274. type: string
  26275. produces:
  26276. - application/json
  26277. responses:
  26278. "200":
  26279. description: OK
  26280. schema:
  26281. items:
  26282. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  26283. type: array
  26284. "500":
  26285. description: Internal Server Error
  26286. schema:
  26287. $ref: '#/definitions/app.Response'
  26288. security:
  26289. - ApiKeyAuth: []
  26290. summary: 查询今日账户保证金配置
  26291. tags:
  26292. - 天津麦顿
  26293. /Tjmd/QueryTjmdTradeOrderDetail:
  26294. get:
  26295. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  26296. parameters:
  26297. - description: 页码
  26298. in: query
  26299. name: page
  26300. type: integer
  26301. - description: 每页条数
  26302. in: query
  26303. name: pagesize
  26304. type: integer
  26305. - description: 用户id
  26306. in: query
  26307. name: userid
  26308. required: true
  26309. type: integer
  26310. - description: 用户类型
  26311. in: query
  26312. name: usertype
  26313. required: true
  26314. type: integer
  26315. - description: 市场id, 格式 1,2,3
  26316. in: query
  26317. name: marketids
  26318. type: string
  26319. - description: 商品id
  26320. in: query
  26321. name: goodsid
  26322. required: true
  26323. type: integer
  26324. - description: 买卖方向 0-买 1-卖
  26325. in: query
  26326. name: buyorsell
  26327. required: true
  26328. type: integer
  26329. produces:
  26330. - application/json
  26331. responses:
  26332. "200":
  26333. description: OK
  26334. schema:
  26335. items:
  26336. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  26337. type: array
  26338. "500":
  26339. description: Internal Server Error
  26340. schema:
  26341. $ref: '#/definitions/app.Response'
  26342. security:
  26343. - ApiKeyAuth: []
  26344. summary: 查询掉期买卖大厅
  26345. tags:
  26346. - 天津麦顿
  26347. /Tjmd/QueryTjmdTransferApply:
  26348. get:
  26349. parameters:
  26350. - description: 类型 1-我的申请 2-对方申请
  26351. in: query
  26352. name: applytype
  26353. required: true
  26354. type: integer
  26355. - description: 市场id, 格式 1,2,3
  26356. in: query
  26357. name: marketids
  26358. type: string
  26359. - description: 资金账号, 格式 25000000001,25000000003
  26360. in: query
  26361. name: accountids
  26362. type: string
  26363. - description: 开始交易日(yyyymmdd)
  26364. in: query
  26365. name: begindate
  26366. type: string
  26367. - description: 结束交易日(yyyymmdd)
  26368. in: query
  26369. name: enddate
  26370. type: string
  26371. produces:
  26372. - application/json
  26373. responses:
  26374. "200":
  26375. description: OK
  26376. schema:
  26377. items:
  26378. $ref: '#/definitions/models.TjmdTransferApply'
  26379. type: array
  26380. "500":
  26381. description: Internal Server Error
  26382. schema:
  26383. $ref: '#/definitions/app.Response'
  26384. security:
  26385. - ApiKeyAuth: []
  26386. summary: 查询掉期协议单
  26387. tags:
  26388. - 天津麦顿
  26389. /Trade/QueryRecieptOrder:
  26390. get:
  26391. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26392. parameters:
  26393. - description: 页码
  26394. in: query
  26395. name: page
  26396. type: integer
  26397. - description: 每页条数
  26398. in: query
  26399. name: pagesize
  26400. type: integer
  26401. - description: 商品ID
  26402. in: query
  26403. name: goodsID
  26404. required: true
  26405. type: integer
  26406. - description: 所属账户名称
  26407. in: query
  26408. name: accountName
  26409. type: string
  26410. - description: 市场ID
  26411. in: query
  26412. name: marketID
  26413. type: integer
  26414. - description: 方向 - 0:买 1:卖
  26415. in: query
  26416. name: buyorsell
  26417. required: true
  26418. type: integer
  26419. produces:
  26420. - application/json
  26421. responses:
  26422. "200":
  26423. description: OK
  26424. schema:
  26425. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  26426. "500":
  26427. description: Internal Server Error
  26428. schema:
  26429. $ref: '#/definitions/app.Response'
  26430. security:
  26431. - ApiKeyAuth: []
  26432. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  26433. tags:
  26434. - 通用交易
  26435. /User/AddMessageBoard:
  26436. post:
  26437. parameters:
  26438. - description: 用户ID
  26439. in: query
  26440. name: userID
  26441. required: true
  26442. type: integer
  26443. - description: 留言信息
  26444. in: query
  26445. name: message
  26446. required: true
  26447. type: string
  26448. - description: 联系电话
  26449. in: query
  26450. name: contactNum
  26451. required: true
  26452. type: string
  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/AddUserFavoriteGoods:
  26470. post:
  26471. parameters:
  26472. - description: 用户ID
  26473. in: query
  26474. name: userID
  26475. required: true
  26476. type: integer
  26477. - description: 商品ID
  26478. in: query
  26479. name: goodsID
  26480. required: true
  26481. type: integer
  26482. produces:
  26483. - application/json
  26484. responses:
  26485. "200":
  26486. description: OK
  26487. schema:
  26488. $ref: '#/definitions/app.Response'
  26489. "500":
  26490. description: Internal Server Error
  26491. schema:
  26492. $ref: '#/definitions/app.Response'
  26493. security:
  26494. - ApiKeyAuth: []
  26495. summary: 添加用户商品收藏信息
  26496. tags:
  26497. - 用户信息
  26498. /User/GetLoginID:
  26499. get:
  26500. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  26501. parameters:
  26502. - description: 登录代码
  26503. in: query
  26504. name: username
  26505. required: true
  26506. type: string
  26507. produces:
  26508. - application/json
  26509. responses:
  26510. "200":
  26511. description: OK
  26512. schema:
  26513. $ref: '#/definitions/app.Response'
  26514. "500":
  26515. description: Internal Server Error
  26516. schema:
  26517. $ref: '#/definitions/app.Response'
  26518. summary: 获取登录ID
  26519. tags:
  26520. - 用户信息
  26521. /User/GetUserAccount:
  26522. get:
  26523. parameters:
  26524. - description: 用户ID
  26525. in: query
  26526. name: userID
  26527. required: true
  26528. type: integer
  26529. produces:
  26530. - application/json
  26531. responses:
  26532. "200":
  26533. description: OK
  26534. schema:
  26535. $ref: '#/definitions/models.Useraccount'
  26536. "500":
  26537. description: Internal Server Error
  26538. schema:
  26539. $ref: '#/definitions/app.Response'
  26540. security:
  26541. - ApiKeyAuth: []
  26542. summary: 获取用户账号信息
  26543. tags:
  26544. - 用户信息
  26545. /User/GetUserAuthStatus:
  26546. get:
  26547. parameters:
  26548. - description: 用户ID
  26549. in: query
  26550. name: userID
  26551. required: true
  26552. type: integer
  26553. produces:
  26554. - application/json
  26555. responses:
  26556. "200":
  26557. description: OK
  26558. schema:
  26559. $ref: '#/definitions/app.Response'
  26560. "500":
  26561. description: Internal Server Error
  26562. schema:
  26563. $ref: '#/definitions/app.Response'
  26564. security:
  26565. - ApiKeyAuth: []
  26566. summary: 获取用户实名认证状态
  26567. tags:
  26568. - 用户信息
  26569. /User/LoginQuery:
  26570. get:
  26571. parameters:
  26572. - description: 登录账号
  26573. in: query
  26574. name: loginID
  26575. required: true
  26576. type: integer
  26577. produces:
  26578. - application/json
  26579. responses:
  26580. "200":
  26581. description: OK
  26582. schema:
  26583. $ref: '#/definitions/user.LoginQueryRsp'
  26584. "500":
  26585. description: Internal Server Error
  26586. schema:
  26587. $ref: '#/definitions/app.Response'
  26588. security:
  26589. - ApiKeyAuth: []
  26590. summary: 账户登录后信息查询
  26591. tags:
  26592. - 用户信息
  26593. /User/QueryMessageBoard:
  26594. get:
  26595. parameters:
  26596. - description: 用户ID
  26597. in: query
  26598. name: userID
  26599. required: true
  26600. type: integer
  26601. produces:
  26602. - application/json
  26603. responses:
  26604. "200":
  26605. description: OK
  26606. schema:
  26607. $ref: '#/definitions/models.Messageboard'
  26608. "500":
  26609. description: Internal Server Error
  26610. schema:
  26611. $ref: '#/definitions/app.Response'
  26612. security:
  26613. - ApiKeyAuth: []
  26614. summary: 获取用户留言板信息
  26615. tags:
  26616. - 用户信息
  26617. /User/QueryUserFavoriteGoodses:
  26618. get:
  26619. parameters:
  26620. - description: 用户ID
  26621. in: query
  26622. name: userID
  26623. required: true
  26624. type: integer
  26625. produces:
  26626. - application/json
  26627. responses:
  26628. "200":
  26629. description: OK
  26630. schema:
  26631. $ref: '#/definitions/models.Userfavoritegoods'
  26632. "500":
  26633. description: Internal Server Error
  26634. schema:
  26635. $ref: '#/definitions/app.Response'
  26636. security:
  26637. - ApiKeyAuth: []
  26638. summary: 获取用户商品收藏信息
  26639. tags:
  26640. - 用户信息
  26641. /User/QueryUserInfo:
  26642. get:
  26643. parameters:
  26644. - description: 用户ID
  26645. in: query
  26646. name: userID
  26647. required: true
  26648. type: integer
  26649. - description: 是否解密
  26650. in: query
  26651. name: isDecrypt
  26652. type: boolean
  26653. produces:
  26654. - application/json
  26655. responses:
  26656. "200":
  26657. description: OK
  26658. schema:
  26659. $ref: '#/definitions/models.Userinfo'
  26660. "500":
  26661. description: Internal Server Error
  26662. schema:
  26663. $ref: '#/definitions/app.Response'
  26664. security:
  26665. - ApiKeyAuth: []
  26666. summary: 获取用户信息
  26667. tags:
  26668. - 用户信息
  26669. /User/QueryUserReferNum:
  26670. get:
  26671. parameters:
  26672. - description: 用户ID
  26673. in: query
  26674. name: userID
  26675. required: true
  26676. type: integer
  26677. produces:
  26678. - application/json
  26679. responses:
  26680. "200":
  26681. description: OK
  26682. schema:
  26683. $ref: '#/definitions/app.Response'
  26684. "500":
  26685. description: Internal Server Error
  26686. schema:
  26687. $ref: '#/definitions/app.Response'
  26688. summary: 获取用户邀请码
  26689. tags:
  26690. - 用户信息
  26691. /User/RemoveUserFavoriteGoods:
  26692. post:
  26693. parameters:
  26694. - description: 用户ID
  26695. in: query
  26696. name: userID
  26697. required: true
  26698. type: integer
  26699. - description: 商品ID
  26700. in: query
  26701. name: goodsID
  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. /User/UpdateUserAccountStatus:
  26721. post:
  26722. parameters:
  26723. - description: 用户ID
  26724. in: query
  26725. name: userID
  26726. required: true
  26727. type: integer
  26728. - description: 账户状态 - 4:正常 6:注销(停用)
  26729. in: query
  26730. name: accountStatus
  26731. required: true
  26732. type: integer
  26733. produces:
  26734. - application/json
  26735. responses:
  26736. "200":
  26737. description: OK
  26738. schema:
  26739. $ref: '#/definitions/app.Response'
  26740. "500":
  26741. description: Internal Server Error
  26742. schema:
  26743. $ref: '#/definitions/app.Response'
  26744. security:
  26745. - ApiKeyAuth: []
  26746. summary: 更新用户状态
  26747. tags:
  26748. - 用户信息
  26749. /WRTrade/GetAllDeliveryGoods:
  26750. get:
  26751. produces:
  26752. - application/json
  26753. - application/json
  26754. responses:
  26755. "200":
  26756. description: OK
  26757. schema:
  26758. $ref: '#/definitions/app.Response'
  26759. "500":
  26760. description: Internal Server Error
  26761. schema:
  26762. $ref: '#/definitions/app.Response'
  26763. security:
  26764. - ApiKeyAuth: []
  26765. - ApiKeyAuth: []
  26766. summary: 获取带仓单分类的种类信息
  26767. tags:
  26768. - 仓单贸易
  26769. - 仓单贸易
  26770. /WrTrade2/QueryDeliveryGoodsSection:
  26771. get:
  26772. produces:
  26773. - application/json
  26774. responses:
  26775. "200":
  26776. description: OK
  26777. schema:
  26778. items:
  26779. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  26780. type: array
  26781. "500":
  26782. description: Internal Server Error
  26783. schema:
  26784. $ref: '#/definitions/app.Response'
  26785. security:
  26786. - ApiKeyAuth: []
  26787. summary: 查询板块(分类)
  26788. tags:
  26789. - 仓单贸易v2
  26790. /WrTrade2/QueryFaProductDetail:
  26791. get:
  26792. description: 页面 买卖大厅 -> 选择融资方案
  26793. parameters:
  26794. - description: 仓单要素id
  26795. in: query
  26796. name: wrfactortypeid
  26797. required: true
  26798. type: integer
  26799. produces:
  26800. - application/json
  26801. responses:
  26802. "200":
  26803. description: OK
  26804. schema:
  26805. items:
  26806. $ref: '#/definitions/models.WrFAProductDetail'
  26807. type: array
  26808. "500":
  26809. description: Internal Server Error
  26810. schema:
  26811. $ref: '#/definitions/app.Response'
  26812. security:
  26813. - ApiKeyAuth: []
  26814. summary: 查询融资产品列表
  26815. tags:
  26816. - 仓单贸易v2
  26817. /WrTrade2/QueryFilterItem:
  26818. get:
  26819. parameters:
  26820. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  26821. in: query
  26822. name: itype
  26823. required: true
  26824. type: string
  26825. produces:
  26826. - application/json
  26827. responses:
  26828. "200":
  26829. description: OK
  26830. schema:
  26831. items:
  26832. $ref: '#/definitions/models.WrFilterItem'
  26833. type: array
  26834. "500":
  26835. description: Internal Server Error
  26836. schema:
  26837. $ref: '#/definitions/app.Response'
  26838. security:
  26839. - ApiKeyAuth: []
  26840. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  26841. tags:
  26842. - 仓单贸易v2
  26843. /WrTrade2/QueryFtDeliveryGoods:
  26844. get:
  26845. produces:
  26846. - application/json
  26847. responses:
  26848. "200":
  26849. description: OK
  26850. schema:
  26851. items:
  26852. $ref: '#/definitions/models.WrFtDeliveryGoods'
  26853. type: array
  26854. "500":
  26855. description: Internal Server Error
  26856. schema:
  26857. $ref: '#/definitions/app.Response'
  26858. security:
  26859. - ApiKeyAuth: []
  26860. summary: 查询品种品类筛选框列表
  26861. tags:
  26862. - 仓单贸易v2
  26863. /WrTrade2/QueryHoldLB:
  26864. get:
  26865. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  26866. parameters:
  26867. - description: 资金账号
  26868. in: query
  26869. name: accountid
  26870. required: true
  26871. type: integer
  26872. - description: 仓库id
  26873. in: query
  26874. name: warehouseid
  26875. type: integer
  26876. - description: 品种id
  26877. in: query
  26878. name: deliverygoodsid
  26879. type: integer
  26880. - description: 品类id
  26881. in: query
  26882. name: wrstandardid
  26883. type: integer
  26884. - description: 仓单要素id
  26885. in: query
  26886. name: wrfactortypeid
  26887. type: integer
  26888. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26889. in: query
  26890. name: dgitemname
  26891. type: string
  26892. produces:
  26893. - application/json
  26894. responses:
  26895. "200":
  26896. description: OK
  26897. schema:
  26898. items:
  26899. $ref: '#/definitions/models.WrHoldLB'
  26900. type: array
  26901. "500":
  26902. description: Internal Server Error
  26903. schema:
  26904. $ref: '#/definitions/app.Response'
  26905. security:
  26906. - ApiKeyAuth: []
  26907. summary: 查询仓单持有记录
  26908. tags:
  26909. - 仓单贸易v2
  26910. /WrTrade2/QueryOrderQuote:
  26911. get:
  26912. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录
  26913. parameters:
  26914. - description: 页码
  26915. in: query
  26916. name: page
  26917. type: integer
  26918. - description: 每页条数
  26919. in: query
  26920. name: pagesize
  26921. type: integer
  26922. - description: 仓单贸易市场id
  26923. in: query
  26924. name: marketid
  26925. type: integer
  26926. - description: 价格方式 - 1:固定价 2-浮动价
  26927. in: query
  26928. name: wrpricetype
  26929. required: true
  26930. type: integer
  26931. - description: 0:仓单预售 1:仓单贸易
  26932. in: query
  26933. name: haswr
  26934. type: integer
  26935. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26936. in: query
  26937. name: dgitemname
  26938. type: string
  26939. - description: 仓库id(筛选条件)
  26940. in: query
  26941. name: warehouseid
  26942. type: integer
  26943. - description: 品种id
  26944. in: query
  26945. name: deliverygoodsid
  26946. type: integer
  26947. - description: 品类id
  26948. in: query
  26949. name: wrstandardid
  26950. type: integer
  26951. - description: 仓单要素id
  26952. in: query
  26953. name: wrfactortypeid
  26954. type: integer
  26955. - description: 交收月(yyyy-mm) 仓单预售填写
  26956. in: query
  26957. name: deliverymonth
  26958. type: string
  26959. produces:
  26960. - application/json
  26961. responses:
  26962. "200":
  26963. description: OK
  26964. schema:
  26965. items:
  26966. $ref: '#/definitions/models.WrOrderQuote'
  26967. type: array
  26968. "500":
  26969. description: Internal Server Error
  26970. schema:
  26971. $ref: '#/definitions/app.Response'
  26972. security:
  26973. - ApiKeyAuth: []
  26974. summary: 查询大厅行情列表
  26975. tags:
  26976. - 仓单贸易v2
  26977. /WrTrade2/QueryOrderQuoteDetail:
  26978. get:
  26979. parameters:
  26980. - description: 页码
  26981. in: query
  26982. name: page
  26983. type: integer
  26984. - description: 每页条数
  26985. in: query
  26986. name: pagesize
  26987. type: integer
  26988. - description: 仓单贸易市场id
  26989. in: query
  26990. name: marketid
  26991. type: integer
  26992. - description: 价格方式 - 1:固定价 2-浮动价
  26993. in: query
  26994. name: wrpricetype
  26995. required: true
  26996. type: integer
  26997. - description: 0:仓单预售 1:仓单贸易
  26998. in: query
  26999. name: haswr
  27000. type: integer
  27001. - description: 仓单要素id
  27002. in: query
  27003. name: wrfactortypeid
  27004. required: true
  27005. type: integer
  27006. - description: 期货商品id(浮动价方式时填)
  27007. in: query
  27008. name: goodsid
  27009. type: integer
  27010. - description: 买卖方向 0-买 1-卖
  27011. in: query
  27012. name: buyorsell
  27013. required: true
  27014. type: integer
  27015. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  27016. in: query
  27017. name: deliverymonth
  27018. type: string
  27019. produces:
  27020. - application/json
  27021. responses:
  27022. "200":
  27023. description: OK
  27024. schema:
  27025. items:
  27026. $ref: '#/definitions/models.WrOrderQuoteDetail'
  27027. type: array
  27028. "500":
  27029. description: Internal Server Error
  27030. schema:
  27031. $ref: '#/definitions/app.Response'
  27032. security:
  27033. - ApiKeyAuth: []
  27034. summary: 查询买卖大厅
  27035. tags:
  27036. - 仓单贸易v2
  27037. /WrTrade2/QueryOrderQuoteMyq:
  27038. get:
  27039. parameters:
  27040. - description: 页码
  27041. in: query
  27042. name: page
  27043. type: integer
  27044. - description: 每页条数
  27045. in: query
  27046. name: pagesize
  27047. type: integer
  27048. - description: 用户id
  27049. in: query
  27050. name: userid
  27051. required: true
  27052. type: integer
  27053. - description: 仓单贸易市场id
  27054. in: query
  27055. name: marketid
  27056. type: integer
  27057. - description: 0:仓单预售 1:仓单贸易
  27058. in: query
  27059. name: haswr
  27060. type: integer
  27061. - description: 买卖方向 0-买 1-卖
  27062. in: query
  27063. name: buyorsell
  27064. required: true
  27065. type: integer
  27066. - description: 品种id
  27067. in: query
  27068. name: deliverygoodsid
  27069. type: integer
  27070. - description: 品类id
  27071. in: query
  27072. name: wrstandardid
  27073. type: integer
  27074. - description: 交收月(yyyy-mm) 仓单预售填写
  27075. in: query
  27076. name: deliverymonth
  27077. type: string
  27078. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27079. in: query
  27080. name: dgitemname
  27081. type: string
  27082. produces:
  27083. - application/json
  27084. responses:
  27085. "200":
  27086. description: OK
  27087. schema:
  27088. items:
  27089. $ref: '#/definitions/models.WrQuoteOrderMyq'
  27090. type: array
  27091. "500":
  27092. description: Internal Server Error
  27093. schema:
  27094. $ref: '#/definitions/app.Response'
  27095. security:
  27096. - ApiKeyAuth: []
  27097. summary: 查询贸易圈挂牌大厅
  27098. tags:
  27099. - 仓单贸易v2
  27100. /WrTrade2/QueryPerformancePlan:
  27101. get:
  27102. parameters:
  27103. - description: 用户id
  27104. in: query
  27105. name: userid
  27106. required: true
  27107. type: integer
  27108. - description: 买卖方向 0-买 1-卖
  27109. in: query
  27110. name: buyorsell
  27111. required: true
  27112. type: integer
  27113. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
  27114. in: query
  27115. name: status
  27116. type: string
  27117. - description: 开始交易日(yyyymmdd)
  27118. in: query
  27119. name: begindate
  27120. type: string
  27121. - description: 结束交易日(yyyymmdd)
  27122. in: query
  27123. name: enddate
  27124. type: string
  27125. produces:
  27126. - application/json
  27127. responses:
  27128. "200":
  27129. description: OK
  27130. schema:
  27131. items:
  27132. $ref: '#/definitions/models.WrPerformancePlan'
  27133. type: array
  27134. "500":
  27135. description: Internal Server Error
  27136. schema:
  27137. $ref: '#/definitions/app.Response'
  27138. security:
  27139. - ApiKeyAuth: []
  27140. summary: 查询履约信息
  27141. tags:
  27142. - 仓单贸易v2
  27143. /WrTrade2/QueryPermancePlanTmp:
  27144. get:
  27145. description: |-
  27146. 返回指定用户的模板和公共模板(用户id为空)
  27147. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  27148. parameters:
  27149. - description: 用户id
  27150. in: query
  27151. name: userid
  27152. type: integer
  27153. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  27154. in: query
  27155. name: tmptype
  27156. type: string
  27157. - description: 是否包含公共模板(用户id为空的) 1-包含
  27158. in: query
  27159. name: includepub
  27160. type: integer
  27161. - description: 市场id(天津麦顿指定此参数,其它不用)
  27162. in: query
  27163. name: marketid
  27164. type: integer
  27165. produces:
  27166. - application/json
  27167. responses:
  27168. "200":
  27169. description: OK
  27170. schema:
  27171. items:
  27172. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  27173. type: array
  27174. "500":
  27175. description: Internal Server Error
  27176. schema:
  27177. $ref: '#/definitions/app.Response'
  27178. security:
  27179. - ApiKeyAuth: []
  27180. summary: 查询履约模板
  27181. tags:
  27182. - 仓单贸易v2
  27183. /WrTrade2/QuerySiteColumnDetail:
  27184. get:
  27185. parameters:
  27186. - description: 页码
  27187. in: query
  27188. name: page
  27189. type: integer
  27190. - description: 每页条数
  27191. in: query
  27192. name: pagesize
  27193. type: integer
  27194. produces:
  27195. - application/json
  27196. responses:
  27197. "200":
  27198. description: OK
  27199. schema:
  27200. items:
  27201. $ref: '#/definitions/models.WrSiteColumnDetail'
  27202. type: array
  27203. "500":
  27204. description: Internal Server Error
  27205. schema:
  27206. $ref: '#/definitions/app.Response'
  27207. security:
  27208. - ApiKeyAuth: []
  27209. summary: 查询资讯
  27210. tags:
  27211. - 仓单贸易v2
  27212. /WrTrade2/QuerySpotGroupTradeSum:
  27213. get:
  27214. produces:
  27215. - application/json
  27216. responses:
  27217. "200":
  27218. description: OK
  27219. schema:
  27220. items:
  27221. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  27222. type: array
  27223. "500":
  27224. description: Internal Server Error
  27225. schema:
  27226. $ref: '#/definitions/app.Response'
  27227. security:
  27228. - ApiKeyAuth: []
  27229. summary: 查询指数
  27230. tags:
  27231. - 仓单贸易v2
  27232. /WrTrade2/QuerySpotGroupTradeSumDetail:
  27233. get:
  27234. description: 查询的结果将会按日期 从小到大 排序
  27235. parameters:
  27236. - description: 现货商品id
  27237. in: query
  27238. name: deliverygoodsid
  27239. required: true
  27240. type: integer
  27241. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  27242. in: query
  27243. name: lastnum
  27244. type: integer
  27245. produces:
  27246. - application/json
  27247. responses:
  27248. "200":
  27249. description: OK
  27250. schema:
  27251. items:
  27252. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  27253. type: array
  27254. "500":
  27255. description: Internal Server Error
  27256. schema:
  27257. $ref: '#/definitions/app.Response'
  27258. security:
  27259. - ApiKeyAuth: []
  27260. summary: 查询指数详细(价格走势图)
  27261. tags:
  27262. - 仓单贸易v2
  27263. /WrTrade2/QueryWrAverageTradePrice:
  27264. get:
  27265. parameters:
  27266. - description: 页码
  27267. in: query
  27268. name: page
  27269. type: integer
  27270. - description: 每页条数
  27271. in: query
  27272. name: pagesize
  27273. type: integer
  27274. - description: 0:仓单预售 1:仓单贸易
  27275. in: query
  27276. name: haswr
  27277. required: true
  27278. type: integer
  27279. - description: 仓单要素id
  27280. in: query
  27281. name: wrfactortypeid
  27282. required: true
  27283. type: integer
  27284. produces:
  27285. - application/json
  27286. responses:
  27287. "200":
  27288. description: OK
  27289. schema:
  27290. items:
  27291. $ref: '#/definitions/models.WrAverageTradePrice'
  27292. type: array
  27293. "500":
  27294. description: Internal Server Error
  27295. schema:
  27296. $ref: '#/definitions/app.Response'
  27297. security:
  27298. - ApiKeyAuth: []
  27299. summary: 查询成交价(历史走势)
  27300. tags:
  27301. - 仓单贸易v2
  27302. /WrTrade2/QueryWrBsGoodsInfo:
  27303. get:
  27304. description: 合约交易/买卖大厅/详情
  27305. parameters:
  27306. - description: 商品id
  27307. in: query
  27308. name: goodsid
  27309. required: true
  27310. type: integer
  27311. produces:
  27312. - application/json
  27313. responses:
  27314. "200":
  27315. description: OK
  27316. schema:
  27317. items:
  27318. $ref: '#/definitions/models.WrBsGoodsInfo'
  27319. type: array
  27320. "500":
  27321. description: Internal Server Error
  27322. schema:
  27323. $ref: '#/definitions/app.Response'
  27324. security:
  27325. - ApiKeyAuth: []
  27326. summary: 查询合约交易买卖大厅详情
  27327. tags:
  27328. - 仓单贸易v2
  27329. /WrTrade2/QueryWrBuybackDetail:
  27330. get:
  27331. parameters:
  27332. - description: 融资合同id
  27333. in: query
  27334. name: scfcontractid
  27335. type: integer
  27336. produces:
  27337. - application/json
  27338. responses:
  27339. "200":
  27340. description: OK
  27341. schema:
  27342. items:
  27343. $ref: '#/definitions/models.WrBuybackDetail'
  27344. type: array
  27345. "500":
  27346. description: Internal Server Error
  27347. schema:
  27348. $ref: '#/definitions/app.Response'
  27349. security:
  27350. - ApiKeyAuth: []
  27351. summary: 查询仓单回购明细
  27352. tags:
  27353. - 仓单贸易v2
  27354. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  27355. get:
  27356. parameters:
  27357. - description: 资金账号
  27358. in: query
  27359. name: accountid
  27360. required: true
  27361. type: integer
  27362. - description: 商品id
  27363. in: query
  27364. name: goodsid
  27365. required: true
  27366. type: integer
  27367. produces:
  27368. - application/json
  27369. responses:
  27370. "200":
  27371. description: OK
  27372. schema:
  27373. items:
  27374. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  27375. type: array
  27376. "500":
  27377. description: Internal Server Error
  27378. schema:
  27379. $ref: '#/definitions/app.Response'
  27380. security:
  27381. - ApiKeyAuth: []
  27382. summary: 查询合约交收可点选仓单
  27383. tags:
  27384. - 仓单贸易v2
  27385. /WrTrade2/QueryWrDeliveryDetail:
  27386. get:
  27387. parameters:
  27388. - description: 用户id
  27389. in: query
  27390. name: userid
  27391. required: true
  27392. type: integer
  27393. - description: 资金账号id
  27394. in: query
  27395. name: accountid
  27396. type: integer
  27397. - description: 开始交易日(yyyymmdd)
  27398. in: query
  27399. name: begindate
  27400. type: string
  27401. - description: 结束交易日(yyyymmdd)
  27402. in: query
  27403. name: enddate
  27404. type: string
  27405. produces:
  27406. - application/json
  27407. responses:
  27408. "200":
  27409. description: OK
  27410. schema:
  27411. items:
  27412. $ref: '#/definitions/models.WrDeliveryDetail'
  27413. type: array
  27414. "500":
  27415. description: Internal Server Error
  27416. schema:
  27417. $ref: '#/definitions/app.Response'
  27418. security:
  27419. - ApiKeyAuth: []
  27420. summary: 查询交收
  27421. tags:
  27422. - 仓单贸易v2
  27423. /WrTrade2/QueryWrFactorTypeInfo:
  27424. get:
  27425. parameters:
  27426. - description: 仓单要素id
  27427. in: query
  27428. name: wrfactortypeid
  27429. required: true
  27430. type: integer
  27431. produces:
  27432. - application/json
  27433. responses:
  27434. "200":
  27435. description: OK
  27436. schema:
  27437. items:
  27438. $ref: '#/definitions/models.WrFactorTypeInfo'
  27439. type: array
  27440. "500":
  27441. description: Internal Server Error
  27442. schema:
  27443. $ref: '#/definitions/app.Response'
  27444. security:
  27445. - ApiKeyAuth: []
  27446. summary: 查询仓单要素详细信息
  27447. tags:
  27448. - 仓单贸易v2
  27449. /WrTrade2/QueryWrFactorTypeInfoEx:
  27450. get:
  27451. parameters:
  27452. - description: 仓单要素id
  27453. in: query
  27454. name: wrfactortypeid
  27455. required: true
  27456. type: integer
  27457. produces:
  27458. - application/json
  27459. responses:
  27460. "200":
  27461. description: OK
  27462. schema:
  27463. items:
  27464. $ref: '#/definitions/models.WrTypeItem'
  27465. type: array
  27466. "500":
  27467. description: Internal Server Error
  27468. schema:
  27469. $ref: '#/definitions/app.Response'
  27470. security:
  27471. - ApiKeyAuth: []
  27472. summary: 查询仓单要素详细信息列表项
  27473. tags:
  27474. - 仓单贸易v2
  27475. /WrTrade2/QueryWrFinanceBuyApply:
  27476. get:
  27477. description: 页面 融资信息+ / 申请单
  27478. parameters:
  27479. - description: 用户id
  27480. in: query
  27481. name: userid
  27482. required: true
  27483. type: integer
  27484. produces:
  27485. - application/json
  27486. responses:
  27487. "200":
  27488. description: OK
  27489. schema:
  27490. items:
  27491. $ref: '#/definitions/models.WrFinanceBuyApply'
  27492. type: array
  27493. "500":
  27494. description: Internal Server Error
  27495. schema:
  27496. $ref: '#/definitions/app.Response'
  27497. security:
  27498. - ApiKeyAuth: []
  27499. summary: 查询融资购买申请
  27500. tags:
  27501. - 仓单贸易v2
  27502. /WrTrade2/QueryWrFriendApply:
  27503. get:
  27504. parameters:
  27505. - description: 用户id
  27506. in: query
  27507. name: userid
  27508. required: true
  27509. type: integer
  27510. produces:
  27511. - application/json
  27512. responses:
  27513. "200":
  27514. description: OK
  27515. schema:
  27516. items:
  27517. $ref: '#/definitions/models.WrFriendApply'
  27518. type: array
  27519. "500":
  27520. description: Internal Server Error
  27521. schema:
  27522. $ref: '#/definitions/app.Response'
  27523. security:
  27524. - ApiKeyAuth: []
  27525. summary: 查询好友申请记录
  27526. tags:
  27527. - 仓单贸易v2
  27528. /WrTrade2/QueryWrGoodsInfo:
  27529. get:
  27530. parameters:
  27531. - description: 仓单贸易市场id
  27532. in: query
  27533. name: marketid
  27534. type: integer
  27535. - description: 0:仓单预售 1:仓单贸易
  27536. in: query
  27537. name: haswr
  27538. required: true
  27539. type: integer
  27540. - description: 仓单要素id
  27541. in: query
  27542. name: wrfactortypeid
  27543. required: true
  27544. type: integer
  27545. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  27546. in: query
  27547. name: tmplateid
  27548. type: integer
  27549. produces:
  27550. - application/json
  27551. responses:
  27552. "200":
  27553. description: OK
  27554. schema:
  27555. items:
  27556. $ref: '#/definitions/models.WrGoodsInfo'
  27557. type: array
  27558. "500":
  27559. description: Internal Server Error
  27560. schema:
  27561. $ref: '#/definitions/app.Response'
  27562. security:
  27563. - ApiKeyAuth: []
  27564. summary: 查询仓单商品信息
  27565. tags:
  27566. - 仓单贸易v2
  27567. /WrTrade2/QueryWrMarketTradeConfig:
  27568. get:
  27569. parameters:
  27570. - description: 市场id
  27571. in: query
  27572. name: marketid
  27573. type: integer
  27574. produces:
  27575. - application/json
  27576. responses:
  27577. "200":
  27578. description: OK
  27579. schema:
  27580. items:
  27581. $ref: '#/definitions/models.WrMarketTradeConfig'
  27582. type: array
  27583. "500":
  27584. description: Internal Server Error
  27585. schema:
  27586. $ref: '#/definitions/app.Response'
  27587. security:
  27588. - ApiKeyAuth: []
  27589. summary: 查询市场交易参数配置
  27590. tags:
  27591. - 仓单贸易v2
  27592. /WrTrade2/QueryWrOrderDetail:
  27593. get:
  27594. description: 页面 现货仓单 | 预售仓单 -> 挂单
  27595. parameters:
  27596. - description: 页码
  27597. in: query
  27598. name: page
  27599. type: integer
  27600. - description: 每页条数
  27601. in: query
  27602. name: pagesize
  27603. type: integer
  27604. - description: 用户id
  27605. in: query
  27606. name: userid
  27607. required: true
  27608. type: integer
  27609. - description: 仓单贸易市场id
  27610. in: query
  27611. name: marketid
  27612. type: integer
  27613. - description: 0:仓单预售 1:仓单贸易
  27614. in: query
  27615. name: haswr
  27616. required: true
  27617. type: integer
  27618. - description: 开始交易日(yyyymmdd)
  27619. in: query
  27620. name: begindate
  27621. type: string
  27622. - description: 结束交易日(yyyymmdd)
  27623. in: query
  27624. name: enddate
  27625. type: string
  27626. produces:
  27627. - application/json
  27628. responses:
  27629. "200":
  27630. description: OK
  27631. schema:
  27632. items:
  27633. $ref: '#/definitions/models.WrOrderDetail'
  27634. type: array
  27635. "500":
  27636. description: Internal Server Error
  27637. schema:
  27638. $ref: '#/definitions/app.Response'
  27639. security:
  27640. - ApiKeyAuth: []
  27641. summary: 查询仓单委托单(挂单)
  27642. tags:
  27643. - 仓单贸易v2
  27644. /WrTrade2/QueryWrOutInApply:
  27645. get:
  27646. parameters:
  27647. - description: 用户id
  27648. in: query
  27649. name: userid
  27650. required: true
  27651. type: integer
  27652. - description: 开始交易日(yyyymmdd)
  27653. in: query
  27654. name: begindate
  27655. type: string
  27656. - description: 结束交易日(yyyymmdd)
  27657. in: query
  27658. name: enddate
  27659. type: string
  27660. produces:
  27661. - application/json
  27662. responses:
  27663. "200":
  27664. description: OK
  27665. schema:
  27666. items:
  27667. $ref: '#/definitions/models.WrOutInApply'
  27668. type: array
  27669. "500":
  27670. description: Internal Server Error
  27671. schema:
  27672. $ref: '#/definitions/app.Response'
  27673. security:
  27674. - ApiKeyAuth: []
  27675. summary: 查询提货申请
  27676. tags:
  27677. - 仓单贸易v2
  27678. /WrTrade2/QueryWrPerformancePlanStep:
  27679. get:
  27680. parameters:
  27681. - description: 履约计划id(performanceplanid)
  27682. in: query
  27683. name: planid
  27684. required: true
  27685. type: integer
  27686. - description: 当前步骤id
  27687. in: query
  27688. name: curstepid
  27689. type: integer
  27690. produces:
  27691. - application/json
  27692. responses:
  27693. "200":
  27694. description: OK
  27695. schema:
  27696. items:
  27697. $ref: '#/definitions/models.WrPerformancePlanStep'
  27698. type: array
  27699. "500":
  27700. description: Internal Server Error
  27701. schema:
  27702. $ref: '#/definitions/app.Response'
  27703. security:
  27704. - ApiKeyAuth: []
  27705. summary: 查询履约信息详情
  27706. tags:
  27707. - 仓单贸易v2
  27708. /WrTrade2/QueryWrPerformanceStepType:
  27709. get:
  27710. produces:
  27711. - application/json
  27712. responses:
  27713. "200":
  27714. description: OK
  27715. schema:
  27716. items:
  27717. $ref: '#/definitions/models.WrPerformanceStepType'
  27718. type: array
  27719. "500":
  27720. description: Internal Server Error
  27721. schema:
  27722. $ref: '#/definitions/app.Response'
  27723. security:
  27724. - ApiKeyAuth: []
  27725. summary: 查询履约步骤枚举
  27726. tags:
  27727. - 仓单贸易v2
  27728. /WrTrade2/QueryWrPosition:
  27729. get:
  27730. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  27731. parameters:
  27732. - description: 用户id
  27733. in: query
  27734. name: userid
  27735. required: true
  27736. type: integer
  27737. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  27738. in: query
  27739. name: querytype
  27740. required: true
  27741. type: integer
  27742. - description: 0:仓单预售 1:仓单贸易
  27743. in: query
  27744. name: haswr
  27745. required: true
  27746. type: integer
  27747. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27748. in: query
  27749. name: dgitemname
  27750. type: string
  27751. - description: 仓库id(筛选条件)
  27752. in: query
  27753. name: warehouseid
  27754. type: integer
  27755. - description: 品种id
  27756. in: query
  27757. name: deliverygoodsid
  27758. type: integer
  27759. - description: 品类id
  27760. in: query
  27761. name: wrstandardid
  27762. type: integer
  27763. produces:
  27764. - application/json
  27765. responses:
  27766. "200":
  27767. description: OK
  27768. schema:
  27769. items:
  27770. $ref: '#/definitions/models.WrPosition'
  27771. type: array
  27772. "500":
  27773. description: Internal Server Error
  27774. schema:
  27775. $ref: '#/definitions/app.Response'
  27776. security:
  27777. - ApiKeyAuth: []
  27778. summary: 查询现货(预售)仓单持仓
  27779. tags:
  27780. - 仓单贸易v2
  27781. /WrTrade2/QueryWrScfContract:
  27782. get:
  27783. parameters:
  27784. - description: 用户id
  27785. in: query
  27786. name: userid
  27787. required: true
  27788. type: integer
  27789. - description: 融资合同id
  27790. in: query
  27791. name: scfcontractid
  27792. type: integer
  27793. produces:
  27794. - application/json
  27795. responses:
  27796. "200":
  27797. description: OK
  27798. schema:
  27799. items:
  27800. $ref: '#/definitions/models.WrScfContract'
  27801. type: array
  27802. "500":
  27803. description: Internal Server Error
  27804. schema:
  27805. $ref: '#/definitions/app.Response'
  27806. security:
  27807. - ApiKeyAuth: []
  27808. summary: 查询仓单贸易融资合同
  27809. tags:
  27810. - 仓单贸易v2
  27811. /WrTrade2/QueryWrScfContractInterest:
  27812. get:
  27813. parameters:
  27814. - description: 融资合同id
  27815. in: query
  27816. name: scfcontractid
  27817. type: integer
  27818. produces:
  27819. - application/json
  27820. responses:
  27821. "200":
  27822. description: OK
  27823. schema:
  27824. items:
  27825. $ref: '#/definitions/models.WrScfContractInterest'
  27826. type: array
  27827. "500":
  27828. description: Internal Server Error
  27829. schema:
  27830. $ref: '#/definitions/app.Response'
  27831. security:
  27832. - ApiKeyAuth: []
  27833. summary: 查询融资合同费用明细
  27834. tags:
  27835. - 仓单贸易v2
  27836. /WrTrade2/QueryWrSpecialMatchOrder:
  27837. get:
  27838. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  27839. parameters:
  27840. - description: 页码
  27841. in: query
  27842. name: page
  27843. type: integer
  27844. - description: 每页条数
  27845. in: query
  27846. name: pagesize
  27847. type: integer
  27848. - description: 用户id
  27849. in: query
  27850. name: userid
  27851. required: true
  27852. type: integer
  27853. - description: 仓单贸易市场id
  27854. in: query
  27855. name: marketid
  27856. type: integer
  27857. - description: 0:仓单预售 1:仓单贸易
  27858. in: query
  27859. name: haswr
  27860. required: true
  27861. type: integer
  27862. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  27863. in: query
  27864. name: isspecified
  27865. type: integer
  27866. produces:
  27867. - application/json
  27868. responses:
  27869. "200":
  27870. description: OK
  27871. schema:
  27872. items:
  27873. $ref: '#/definitions/models.WrSpecialMatchOrder'
  27874. type: array
  27875. "500":
  27876. description: Internal Server Error
  27877. schema:
  27878. $ref: '#/definitions/app.Response'
  27879. security:
  27880. - ApiKeyAuth: []
  27881. summary: 查询指定成交
  27882. tags:
  27883. - 仓单贸易v2
  27884. /WrTrade2/QueryWrStandardFactoryItem:
  27885. get:
  27886. parameters:
  27887. - description: 品类id
  27888. in: query
  27889. name: wrstandardid
  27890. required: true
  27891. type: integer
  27892. produces:
  27893. - application/json
  27894. responses:
  27895. "200":
  27896. description: OK
  27897. schema:
  27898. items:
  27899. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  27900. type: array
  27901. "500":
  27902. description: Internal Server Error
  27903. schema:
  27904. $ref: '#/definitions/app.Response'
  27905. security:
  27906. - ApiKeyAuth: []
  27907. summary: 查询品类要素定义项
  27908. tags:
  27909. - 仓单贸易v2
  27910. /WrTrade2/QueryWrTradeBargainApply:
  27911. get:
  27912. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面 议价->对方议价 填写matchuserid=登录用户id
  27913. parameters:
  27914. - description: 议价人id(摘牌方)
  27915. in: query
  27916. name: userid
  27917. type: integer
  27918. - description: 挂牌方id(查对方议价时,填写此项)
  27919. in: query
  27920. name: matchuserid
  27921. type: integer
  27922. - description: 关联委托单id
  27923. in: query
  27924. name: wrtradeorderid
  27925. type: integer
  27926. - description: 0:仓单预售 1:仓单贸易
  27927. in: query
  27928. name: haswr
  27929. required: true
  27930. type: integer
  27931. - description: 开始交易日(yyyymmdd)
  27932. in: query
  27933. name: begindate
  27934. type: string
  27935. - description: 结束交易日(yyyymmdd)
  27936. in: query
  27937. name: enddate
  27938. type: string
  27939. produces:
  27940. - application/json
  27941. responses:
  27942. "200":
  27943. description: OK
  27944. schema:
  27945. items:
  27946. $ref: '#/definitions/models.WRTradeBargainApply'
  27947. type: array
  27948. "500":
  27949. description: Internal Server Error
  27950. schema:
  27951. $ref: '#/definitions/app.Response'
  27952. security:
  27953. - ApiKeyAuth: []
  27954. summary: 查询议价单
  27955. tags:
  27956. - 仓单贸易v2
  27957. /WrTrade2/QueryWrTradeDetail:
  27958. get:
  27959. parameters:
  27960. - description: 页码
  27961. in: query
  27962. name: page
  27963. type: integer
  27964. - description: 每页条数
  27965. in: query
  27966. name: pagesize
  27967. type: integer
  27968. - description: 用户id
  27969. in: query
  27970. name: userid
  27971. required: true
  27972. type: integer
  27973. - description: 仓单贸易市场id
  27974. in: query
  27975. name: marketid
  27976. type: integer
  27977. - description: 0:仓单预售 1:仓单贸易
  27978. in: query
  27979. name: haswr
  27980. required: true
  27981. type: integer
  27982. - description: 开始交易日(yyyymmdd)
  27983. in: query
  27984. name: begindate
  27985. type: string
  27986. - description: 结束交易日(yyyymmdd)
  27987. in: query
  27988. name: enddate
  27989. type: string
  27990. produces:
  27991. - application/json
  27992. responses:
  27993. "200":
  27994. description: OK
  27995. schema:
  27996. items:
  27997. $ref: '#/definitions/models.WrTradeDetail'
  27998. type: array
  27999. "500":
  28000. description: Internal Server Error
  28001. schema:
  28002. $ref: '#/definitions/app.Response'
  28003. security:
  28004. - ApiKeyAuth: []
  28005. summary: 查询仓单成交明细
  28006. tags:
  28007. - 仓单贸易v2
  28008. /WrTrade2/QueryWrTradeOrderDetail:
  28009. get:
  28010. parameters:
  28011. - description: 页码
  28012. in: query
  28013. name: page
  28014. type: integer
  28015. - description: 每页条数
  28016. in: query
  28017. name: pagesize
  28018. type: integer
  28019. - description: 商品id
  28020. in: query
  28021. name: goodsid
  28022. required: true
  28023. type: integer
  28024. - description: 买卖方向 0-买 1-卖
  28025. in: query
  28026. name: buyorsell
  28027. required: true
  28028. type: integer
  28029. produces:
  28030. - application/json
  28031. responses:
  28032. "200":
  28033. description: OK
  28034. schema:
  28035. items:
  28036. $ref: '#/definitions/models.WrTradeOrderDetail'
  28037. type: array
  28038. "500":
  28039. description: Internal Server Error
  28040. schema:
  28041. $ref: '#/definitions/app.Response'
  28042. security:
  28043. - ApiKeyAuth: []
  28044. summary: 查询合约交易买卖大厅
  28045. tags:
  28046. - 仓单贸易v2
  28047. /WrTrade2/QueryWrUserFriend:
  28048. get:
  28049. parameters:
  28050. - description: 用户id
  28051. in: query
  28052. name: userid
  28053. required: true
  28054. type: integer
  28055. - description: 新朋友userid, 如果填写了此项则查找新朋友
  28056. in: query
  28057. name: newuserid
  28058. type: integer
  28059. produces:
  28060. - application/json
  28061. responses:
  28062. "200":
  28063. description: OK
  28064. schema:
  28065. items:
  28066. $ref: '#/definitions/models.WrUserFriend'
  28067. type: array
  28068. "500":
  28069. description: Internal Server Error
  28070. schema:
  28071. $ref: '#/definitions/app.Response'
  28072. security:
  28073. - ApiKeyAuth: []
  28074. summary: 查询我的朋友
  28075. tags:
  28076. - 仓单贸易v2
  28077. /WrTrade2/QueryWrUserReceiptInfo:
  28078. get:
  28079. parameters:
  28080. - description: 用户id
  28081. in: query
  28082. name: userid
  28083. type: integer
  28084. - description: 发票类型 - 1:个人 2:企业
  28085. in: query
  28086. name: receipttype
  28087. type: integer
  28088. produces:
  28089. - application/json
  28090. responses:
  28091. "200":
  28092. description: OK
  28093. schema:
  28094. items:
  28095. $ref: '#/definitions/models.WrUserReceiptInfo'
  28096. type: array
  28097. "500":
  28098. description: Internal Server Error
  28099. schema:
  28100. $ref: '#/definitions/app.Response'
  28101. security:
  28102. - ApiKeyAuth: []
  28103. summary: 查询发票信息
  28104. tags:
  28105. - 仓单贸易v2
  28106. /ZJ/GetBankTip:
  28107. get:
  28108. produces:
  28109. - application/json
  28110. responses:
  28111. "200":
  28112. description: OK
  28113. schema:
  28114. type: string
  28115. "500":
  28116. description: Internal Server Error
  28117. schema:
  28118. $ref: '#/definitions/app.Response'
  28119. summary: 获取中江网银端出入金提示信息
  28120. tags:
  28121. - 中江
  28122. /ZJ/GetCusBankChannels:
  28123. get:
  28124. produces:
  28125. - application/json
  28126. responses:
  28127. "200":
  28128. description: OK
  28129. schema:
  28130. items:
  28131. type: string
  28132. type: array
  28133. "500":
  28134. description: Internal Server Error
  28135. schema:
  28136. $ref: '#/definitions/app.Response'
  28137. summary: 获取中江出入金渠道显示列表
  28138. tags:
  28139. - 中江
  28140. securityDefinitions:
  28141. ApiKeyAuth:
  28142. in: header
  28143. name: Authorization
  28144. type: apiKey
  28145. swagger: "2.0"