swagger.yaml 781 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. remark:
  35. description: 备注
  36. type: string
  37. rulekey:
  38. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  39. type: string
  40. sort:
  41. description: 排序
  42. type: integer
  43. title:
  44. description: 标题
  45. type: string
  46. type:
  47. description: 类型,1:菜单 2:按钮
  48. type: integer
  49. url:
  50. description: URL
  51. type: string
  52. type: object
  53. common.PCWebMenu:
  54. properties:
  55. auth:
  56. description: 页面权限列表
  57. items:
  58. $ref: '#/definitions/common.PCWebMenuAuth'
  59. type: array
  60. children:
  61. description: 子菜单列表
  62. items:
  63. $ref: '#/definitions/common.PCWebMenu'
  64. type: array
  65. code:
  66. description: ID,新版本中权限KEY也是这个字段
  67. type: string
  68. component:
  69. description: 路由组件
  70. type: string
  71. isshow:
  72. description: 是否显示
  73. type: boolean
  74. path:
  75. description: 路由路径
  76. type: string
  77. remark:
  78. description: 备注
  79. type: string
  80. rulekey:
  81. description: 权限主键,非空表示需要判断控制,非空值不可重复
  82. type: string
  83. sort:
  84. description: 排序
  85. type: integer
  86. title:
  87. description: 标题
  88. type: string
  89. url:
  90. description: URL
  91. type: string
  92. type: object
  93. common.PCWebMenuAuth:
  94. properties:
  95. code:
  96. description: ID,新版本中权限KEY也是这个字段
  97. type: string
  98. isshow:
  99. description: 是否显示
  100. type: boolean
  101. label:
  102. description: 标题
  103. type: string
  104. remark:
  105. description: 备注
  106. type: string
  107. rulekey:
  108. description: 权限主键,非空表示需要判断控制,非空值不可重复
  109. type: string
  110. type: object
  111. common.QueryImageConfigsRsp:
  112. properties:
  113. areauserid:
  114. description: 所属机构ID
  115. type: integer
  116. configid:
  117. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  118. type: integer
  119. createdate:
  120. description: 创建时间
  121. type: string
  122. creatorid:
  123. description: 创建人
  124. type: integer
  125. imagepath:
  126. description: 图片
  127. type: string
  128. imagetype:
  129. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  130. type: integer
  131. isshow:
  132. description: 是否展示 - 0:不展示 1:展示
  133. type: integer
  134. marketid:
  135. description: 市场ID
  136. type: integer
  137. modifierid:
  138. description: 操作人
  139. type: integer
  140. sort:
  141. description: 排序
  142. type: integer
  143. title:
  144. description: 标题
  145. type: string
  146. trademode:
  147. description: 交易模式
  148. type: integer
  149. updatedate:
  150. description: 修改时间
  151. type: string
  152. url:
  153. description: 链接(地址或商品ID)
  154. type: string
  155. urltype:
  156. description: 链接类型 - 1:直接地址 2:商品ID
  157. type: integer
  158. required:
  159. - configid
  160. type: object
  161. common.QueryNoticeRsp:
  162. properties:
  163. auditoruserid:
  164. description: 审核人
  165. type: integer
  166. auditremark:
  167. description: 审核备注
  168. type: string
  169. audittime:
  170. description: 审核日期
  171. type: string
  172. autoid:
  173. description: 自增ID
  174. type: integer
  175. content:
  176. description: 内容
  177. type: string
  178. createtime:
  179. description: 创建时间
  180. type: string
  181. creatorid:
  182. description: 建仓人
  183. type: integer
  184. endtime:
  185. description: 结束时间
  186. type: string
  187. istop:
  188. description: 是否置顶 - 0:不置顶 1:置顶
  189. type: integer
  190. msgiconurl:
  191. description: 消息图标Url
  192. type: string
  193. msgtype:
  194. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  195. type: integer
  196. publisher:
  197. description: 消息发布者
  198. type: string
  199. readed:
  200. description: 是否已读
  201. type: boolean
  202. scheduletime:
  203. description: 计划发送时间
  204. type: string
  205. sendtype:
  206. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  207. type: integer
  208. sentstatus:
  209. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  210. type: integer
  211. title:
  212. description: 标题
  213. type: string
  214. userid:
  215. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  216. type: integer
  217. required:
  218. - autoid
  219. type: object
  220. common.QueryProvincesAndCitiesRsp:
  221. properties:
  222. cities:
  223. description: 市
  224. items:
  225. $ref: '#/definitions/models.Division'
  226. type: array
  227. province:
  228. $ref: '#/definitions/models.Division'
  229. description: 省
  230. type: object
  231. common.QueryTableDefineRsp:
  232. properties:
  233. columns:
  234. description: 列头信息数组
  235. items:
  236. $ref: '#/definitions/models.Tablecolumnconfig'
  237. type: array
  238. remark:
  239. description: Remark
  240. type: string
  241. tabelmenu:
  242. description: 列表菜单
  243. type: string
  244. tablekey:
  245. description: 列表Key
  246. type: string
  247. tablename:
  248. description: 列表名称
  249. type: string
  250. tabletype:
  251. description: 列表类型 - 1:管理端 2:终端
  252. type: integer
  253. required:
  254. - tablekey
  255. type: object
  256. common.QueryTraderMenuRsp:
  257. properties:
  258. OperationMenu:
  259. description: 功能菜单
  260. items:
  261. $ref: '#/definitions/models.OperationPrimaryMenu'
  262. type: array
  263. QuoteMenu:
  264. description: 报价牌分类菜单
  265. items:
  266. $ref: '#/definitions/models.QuotePrimaryMenu'
  267. type: array
  268. type: object
  269. cptrade.Cptradepositioncancel:
  270. properties:
  271. accountid:
  272. description: 申请人账户ID
  273. type: integer
  274. applystatus:
  275. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  276. type: integer
  277. applytime:
  278. description: 申请时间
  279. type: string
  280. cancelid:
  281. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  282. type: integer
  283. cancelqty:
  284. description: 注销数量
  285. type: integer
  286. createtime:
  287. description: 创建时间
  288. type: string
  289. creatorid:
  290. description: 创建人ID
  291. type: integer
  292. creatorname:
  293. description: 创建人
  294. type: string
  295. goodscode:
  296. description: 订单商品代码
  297. type: string
  298. goodsid:
  299. description: 商品ID
  300. type: integer
  301. goodsname:
  302. description: 订单商品名称
  303. type: string
  304. goodunit:
  305. description: 报价单位
  306. type: string
  307. handlestatus:
  308. description: 处理状态
  309. type: integer
  310. marketid:
  311. description: 市场ID
  312. type: integer
  313. marketname:
  314. description: 市场名称
  315. type: string
  316. tradedate:
  317. description: 交易日(yyyyMMdd)
  318. type: string
  319. userid:
  320. description: 申请人ID
  321. type: integer
  322. required:
  323. - cancelid
  324. type: object
  325. cptrade.Cptradepresaleapply:
  326. properties:
  327. accountid:
  328. description: 申请人账户ID
  329. type: integer
  330. applyid:
  331. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  332. type: integer
  333. applyremark:
  334. description: 申请备注
  335. type: string
  336. applystatus:
  337. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  338. type: integer
  339. applytime:
  340. description: 申请时间
  341. type: string
  342. attachmenturl:
  343. description: 附件地址
  344. type: string
  345. endtime:
  346. description: 预售结束时间
  347. type: string
  348. goodscode:
  349. description: 商品代码
  350. type: string
  351. goodsid:
  352. description: 商品ID
  353. type: integer
  354. goodsname:
  355. description: 商品名称
  356. type: string
  357. goodunit:
  358. description: 报价单位
  359. type: string
  360. handlestatus:
  361. description: 处理状态
  362. type: integer
  363. marketid:
  364. description: 预售市场ID
  365. type: integer
  366. marketname:
  367. description: 预售市场名称
  368. type: string
  369. presaleqty:
  370. description: 预售数量
  371. type: integer
  372. relatedgoodscode:
  373. description: 关联交易合约代码
  374. type: string
  375. relatedgoodsid:
  376. description: 关联交易合约ID
  377. type: integer
  378. relatedgoodsname:
  379. description: 关联交易合约名称
  380. type: string
  381. starttime:
  382. description: 预售开始时间
  383. type: string
  384. tradedate:
  385. description: 交易日(yyyyMMdd)
  386. type: string
  387. trademode:
  388. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  389. type: integer
  390. userid:
  391. description: 申请人ID
  392. type: integer
  393. required:
  394. - applyid
  395. type: object
  396. cptrade.Cptradeusergoodsdata:
  397. properties:
  398. EnabledQty:
  399. description: 可用量
  400. type: integer
  401. GoodsCode:
  402. description: 订单商品代码
  403. type: string
  404. GoodsName:
  405. description: 订单商品名称
  406. type: string
  407. WRStandardCode:
  408. description: 仓单标准代码
  409. type: string
  410. WRStandardName:
  411. description: 仓单标准名称
  412. type: string
  413. accountid:
  414. description: 账户ID
  415. type: integer
  416. cancelqty:
  417. description: 注销量
  418. type: integer
  419. curpresaleqty:
  420. description: 当前预售量
  421. type: integer
  422. deliveryqty:
  423. description: 交割量
  424. type: integer
  425. freezeamount:
  426. description: 冻结金额
  427. type: number
  428. goodsid:
  429. description: 商品ID
  430. type: integer
  431. goodunit:
  432. description: 报价单位
  433. type: string
  434. hasspotfreeze:
  435. description: 是否有现货冻结 - 0:否 1:有
  436. type: integer
  437. inqty:
  438. description: 转入量(总数量)
  439. type: integer
  440. marketid:
  441. description: 市场ID
  442. type: integer
  443. presaledamount:
  444. description: 已预售总金额
  445. type: integer
  446. presaledqty:
  447. description: 已预售量
  448. type: integer
  449. userid:
  450. description: 用户ID
  451. type: integer
  452. wrstandardid:
  453. description: 仓单标准ID
  454. type: integer
  455. required:
  456. - accountid
  457. - goodsid
  458. type: object
  459. cptrade.QueryCPTradeMyBidRsp:
  460. properties:
  461. accountid:
  462. description: 账户ID[报价币种]
  463. type: integer
  464. goodsid:
  465. description: 商品ID
  466. type: integer
  467. goodunit:
  468. description: 报价单位
  469. type: string
  470. marketid:
  471. description: 市场ID
  472. type: integer
  473. orderid:
  474. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  475. type: integer
  476. orderprice:
  477. description: 委托价格
  478. type: number
  479. orderqty:
  480. description: 委托数量
  481. type: integer
  482. ordertime:
  483. description: 委托时间
  484. type: string
  485. ordertotalprice:
  486. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  487. type: number
  488. ordertotalweight:
  489. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  490. type: integer
  491. totaltotalprice:
  492. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  493. type: number
  494. tradeprice:
  495. description: 成交价格
  496. type: number
  497. tradeqty:
  498. description: 成交数量
  499. type: integer
  500. required:
  501. - accountid
  502. - goodsid
  503. - marketid
  504. - orderid
  505. - orderqty
  506. - ordertime
  507. - tradeprice
  508. - tradeqty
  509. type: object
  510. cptrade.QueryCPTradeOrderDetailRsq:
  511. properties:
  512. accountid:
  513. description: 账户ID[报价币种]
  514. type: integer
  515. buildtype:
  516. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  517. type: integer
  518. buyorsell:
  519. description: 买卖 - 0:买 1:卖
  520. type: integer
  521. cancelorderid:
  522. description: 撤单单号(撤单时填写)
  523. type: integer
  524. cancelqty:
  525. description: 撤单数量
  526. type: integer
  527. clientordertime:
  528. description: 客户端委托时间
  529. type: string
  530. clientticket:
  531. description: 客户端流水号
  532. type: string
  533. clienttype:
  534. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  535. type: integer
  536. closeexchagechargevalue:
  537. description: 平仓交易所手续费设置值
  538. type: number
  539. closefeealgorithm:
  540. description: 平仓手续费收取方式 1:比率 2:固定
  541. type: integer
  542. closefreezecharge:
  543. description: 平仓冻结手续费(先建后平操作,需要记录)
  544. type: number
  545. closememberchargevalue:
  546. description: 平仓会员手续费设置值
  547. type: number
  548. closeqty:
  549. description: 平仓数量(先建后平操作 需要记录)
  550. type: integer
  551. closetradeqty:
  552. description: 平仓成交数量(先建后平操作,需要记录)
  553. type: integer
  554. closeunfreezecharge:
  555. description: 平仓解冻手续费(先建后平操作,需要记录)
  556. type: number
  557. delistingtype:
  558. description: 摘牌类型 - 1:价格最优 2:点选成交
  559. type: integer
  560. freezecharge:
  561. description: 冻结手续费
  562. type: number
  563. freezemargin:
  564. description: 冻结保证金(冻结交易金额)
  565. type: number
  566. gcaccountid:
  567. description: 账户ID[合约币种]
  568. type: integer
  569. goodsid:
  570. description: 商品ID
  571. type: integer
  572. isconfirmexercise:
  573. description: 是否确认行权- 0:否 1:是
  574. type: integer
  575. ispreexercise:
  576. description: 是否预申报- 0:否 1:是
  577. type: integer
  578. listingselecttype:
  579. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  580. type: integer
  581. marginalgorithm:
  582. description: 保证金收取方式 1:比率 2:固定
  583. type: integer
  584. marginvalue:
  585. description: 即市保证金设置值
  586. type: number
  587. marketid:
  588. description: 市场ID
  589. type: integer
  590. marketmaxsub:
  591. description: 市价最大偏移范围
  592. type: number
  593. memberuserid:
  594. description: 所属会员UserID
  595. type: integer
  596. openexchagechargevalue:
  597. description: 建仓交易所手续费设置值
  598. type: number
  599. openfeealgorithm:
  600. description: 建仓手续费收取方式 1:比率 2:固定
  601. type: integer
  602. openfreezecharge:
  603. description: 开仓冻结手续费(先建后平操作,需要记录)
  604. type: number
  605. openmemberchargevalue:
  606. description: 建仓会员手续费设置值
  607. type: number
  608. openqty:
  609. description: 开仓数量(先建后平操作,需要记录)
  610. type: integer
  611. opentradeqty:
  612. description: 开仓成交数量(先建后平操作,需要记录)
  613. type: integer
  614. openunfreezecharge:
  615. description: 开仓解冻手续费(先建后平操作,需要记录)
  616. type: number
  617. operatetype:
  618. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  619. type: integer
  620. operatorid:
  621. description: 登录账号(LoginID)
  622. type: integer
  623. optiontype:
  624. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  625. type: integer
  626. orderprice:
  627. description: 委托价格
  628. type: number
  629. orderqty:
  630. description: 委托数量
  631. type: integer
  632. ordersrc:
  633. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  634. type: integer
  635. orderstatus:
  636. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  637. type: integer
  638. ordertime:
  639. description: 委托时间
  640. type: string
  641. preexerciseprice:
  642. description: 预申报价格
  643. type: number
  644. premium:
  645. description: 权利金
  646. type: number
  647. preorderid:
  648. description: 关联预埋单号(止盈止损单时填写)
  649. type: integer
  650. pricemode:
  651. description: '取价方式 - 1:市价 2: 限价'
  652. type: integer
  653. quoteid:
  654. description: 报价单ID
  655. type: integer
  656. relatedid:
  657. description: 关联单号(交割单)
  658. type: integer
  659. retcode:
  660. description: 错误代码
  661. type: integer
  662. sessionid:
  663. description: 会话ID
  664. type: integer
  665. strorderid:
  666. description: 委托单号
  667. type: string
  668. tradedate:
  669. description: 交易日(yyyyMMdd)
  670. type: string
  671. tradeproperty:
  672. description: 交易属性
  673. type: integer
  674. tradeqty:
  675. description: 成交数量
  676. type: integer
  677. unfreezecharge:
  678. description: 解冻手续费
  679. type: number
  680. unfreezemargin:
  681. description: 解冻保证金
  682. type: number
  683. updatetime:
  684. description: 更新时间
  685. type: string
  686. uuid:
  687. description: 发起端唯一id
  688. type: string
  689. validtime:
  690. description: 有效期限
  691. type: string
  692. validtype:
  693. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  694. type: integer
  695. volumetype:
  696. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  697. type: integer
  698. required:
  699. - accountid
  700. - buildtype
  701. - buyorsell
  702. - goodsid
  703. - marketid
  704. - memberuserid
  705. - operatetype
  706. - orderqty
  707. - ordertime
  708. - pricemode
  709. - strorderid
  710. - tradedate
  711. - validtype
  712. type: object
  713. cptrade.QueryMyCPTradeGoodsRsp:
  714. properties:
  715. accountid:
  716. description: 卖方账户ID
  717. type: integer
  718. agreeunit:
  719. description: 合约单位
  720. type: number
  721. applyid:
  722. description: 关联申请ID
  723. type: integer
  724. attachmenturl:
  725. description: 附件地址
  726. type: string
  727. createtime:
  728. description: 创建时间
  729. type: string
  730. currencyid:
  731. description: 报价货币ID
  732. type: integer
  733. decimalplace:
  734. description: 报价小数位
  735. type: integer
  736. endtime:
  737. description: 预售结束时间
  738. type: string
  739. floorprice:
  740. description: 底价[大宗式竞拍]
  741. type: number
  742. goodscode:
  743. description: 商品代码(预售)
  744. type: string
  745. goodsdetail:
  746. description: 详情[大宗]
  747. type: string
  748. goodsid:
  749. description: 商品ID(自增ID SEQ_GOODS)
  750. type: integer
  751. goodsname:
  752. description: 商品名称(预售)
  753. type: string
  754. goodunit:
  755. description: 报价单位
  756. type: string
  757. goodunitid:
  758. description: 报价单位ID
  759. type: integer
  760. marketid:
  761. description: 所属市场ID
  762. type: integer
  763. marketname:
  764. description: 预售市场名称
  765. type: string
  766. presaledamount:
  767. description: 已预售总金额(预售结束时更新)
  768. type: number
  769. presaledqty:
  770. description: 已预售量(预售结束时更新)
  771. type: integer
  772. presalemode:
  773. description: 预售模式 - 1:一口价 2:大宗式竞拍
  774. type: integer
  775. presaleqty:
  776. description: 预售数量
  777. type: integer
  778. refprice:
  779. description: 参考价格[一口价]
  780. type: number
  781. relatedgoodscode:
  782. description: 商品代码(订单)
  783. type: string
  784. relatedgoodsid:
  785. description: 关联交易合约ID
  786. type: integer
  787. relatedgoodsname:
  788. description: 商品名称(订单)
  789. type: string
  790. relatedmarketid:
  791. description: 关联交易合约市场ID
  792. type: integer
  793. sellstatus:
  794. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  795. type: integer
  796. startprice:
  797. description: 起拍价[大宗式竞拍]
  798. type: number
  799. starttime:
  800. description: 预售开始时间
  801. type: string
  802. tradedate:
  803. description: 交易日(yyyyMMdd)
  804. type: string
  805. tradeprice:
  806. description: 成交价[大宗]
  807. type: number
  808. userid:
  809. description: 卖方用户ID
  810. type: integer
  811. required:
  812. - goodscode
  813. - goodsid
  814. - goodsname
  815. - marketid
  816. - relatedgoodscode
  817. - relatedgoodsname
  818. type: object
  819. cptrade.QueryPresaleGoodsExRsp:
  820. properties:
  821. attachmenturl:
  822. description: 附件地址
  823. type: string
  824. createtime:
  825. description: 创建时间
  826. type: string
  827. endtime:
  828. description: 预售结束时间
  829. type: string
  830. floorprice:
  831. description: 底价[大宗式竞拍]
  832. type: number
  833. goodsdetail:
  834. description: 详情[大宗]
  835. type: string
  836. goodsid:
  837. description: 商品ID(预售)
  838. type: integer
  839. goodunit:
  840. description: 报价单位
  841. type: string
  842. marketid:
  843. description: 预售市场ID - 根据预售模式选择市场
  844. type: integer
  845. presaledamount:
  846. description: 已预售总金额(预售结束时更新)
  847. type: number
  848. presaledqty:
  849. description: 已预售量(预售结束时更新)
  850. type: integer
  851. presalemode:
  852. description: 预售模式 - 1:一口价 2:大宗式竞拍
  853. type: integer
  854. presaleqty:
  855. description: 预售数量
  856. type: integer
  857. refprice:
  858. description: 参考价格[一口价]
  859. type: number
  860. relatedgoodsid:
  861. description: 关联交易合约ID
  862. type: integer
  863. relatedmarketid:
  864. description: 关联交易合约市场ID
  865. type: integer
  866. sellstatus:
  867. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  868. type: integer
  869. startprice:
  870. description: 起拍价[大宗式竞拍]
  871. type: number
  872. starttime:
  873. description: 预售开始时间
  874. type: string
  875. tradedate:
  876. description: 交易日(yyyyMMdd)
  877. type: string
  878. tradeprice:
  879. description: 成交价[大宗]
  880. type: number
  881. required:
  882. - goodsid
  883. type: object
  884. delivery.QueryDeliveryRelationRsp:
  885. properties:
  886. begindate:
  887. description: 起始日期(yyyyMMdd)
  888. type: string
  889. buytemplateid:
  890. description: 买履约计划模板ID
  891. type: integer
  892. deliverygoodscode:
  893. description: 品种代码
  894. type: string
  895. deliverygoodsid:
  896. description: 交割商品
  897. type: integer
  898. deliverygoodsname:
  899. description: 品种名称
  900. type: string
  901. deliverymode:
  902. description: 交割方式 - 1:点选式 2:申报式
  903. type: integer
  904. deliverypricerule:
  905. description: 交割价规则- 1:行情价 2:建仓价
  906. type: integer
  907. deliverytype:
  908. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  909. type: integer
  910. enddate:
  911. description: 结束日期(yyyyMMdd)
  912. type: string
  913. enumdicname:
  914. description: 品类单位名称
  915. type: string
  916. goodscode:
  917. description: 商品代码
  918. type: string
  919. goodsid:
  920. description: 交易合约ID
  921. type: integer
  922. goodsname:
  923. description: 商品名称
  924. type: string
  925. marketid:
  926. description: 市场ID
  927. type: integer
  928. mindeliveryqty:
  929. description: 最小交割系数(K)
  930. type: integer
  931. p2deliveryprice:
  932. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  933. type: number
  934. p2deliveryratio:
  935. description: P2合约系数(p)
  936. type: integer
  937. p2goodsid:
  938. description: P2合约ID
  939. type: integer
  940. p2pricemode:
  941. description: P2合约价格方式 - 1:商品价 2:固定值
  942. type: integer
  943. pdeliveryprice:
  944. description: P合约价格(商品价时填写0,固定值时填写固定值)
  945. type: number
  946. pdeliveryratio:
  947. description: P合约系数(n)
  948. type: integer
  949. pgoodscode:
  950. description: p合约代码
  951. type: string
  952. pgoodsid:
  953. description: P合约ID
  954. type: integer
  955. ppricemode:
  956. description: P合约价格方式 - 1:商品价 2:固定值
  957. type: integer
  958. rratio:
  959. description: 兑换系数(R)
  960. type: integer
  961. rratio1:
  962. description: 兑换系数(交易合约)(R1)
  963. type: integer
  964. rratio2:
  965. description: 兑换系数(仓单标准)(R2)
  966. type: integer
  967. selltemplateid:
  968. description: 卖履约计划模板ID
  969. type: integer
  970. wrstandardid:
  971. description: 仓单标准ID
  972. type: integer
  973. xdeliveryratio:
  974. description: 交易合约系数(m)
  975. type: integer
  976. required:
  977. - begindate
  978. - enddate
  979. - goodsid
  980. - mindeliveryqty
  981. - xdeliveryratio
  982. type: object
  983. ermcp.ExposureDetailRsp:
  984. properties:
  985. areauserid:
  986. description: 机构ID
  987. type: integer
  988. changeQty:
  989. description: 套保变动量
  990. type: number
  991. contracttype:
  992. description: 现货合同类型 - 1:采购 -1:销售
  993. type: integer
  994. convertfactor:
  995. description: 标仓系数
  996. type: number
  997. convertratio:
  998. description: 套保系数
  999. type: number
  1000. createtime:
  1001. description: 时间
  1002. type: string
  1003. enumdicname:
  1004. description: 现货商品单位名称
  1005. type: string
  1006. logtype:
  1007. description: 类型 - 1:套保计划 2:现货合同
  1008. type: integer
  1009. middlegoodsId:
  1010. description: 套保商品id
  1011. type: integer
  1012. middlegoodscode:
  1013. description: 套保商品代码
  1014. type: string
  1015. middlegoodsname:
  1016. description: 套保商品名称
  1017. type: string
  1018. qty:
  1019. description: 数量
  1020. type: number
  1021. relateNo:
  1022. description: 现货合同/套保计划编号
  1023. type: string
  1024. wrstandardcode:
  1025. description: 现货商品代码
  1026. type: string
  1027. wrstandardid:
  1028. description: 现货商品ID
  1029. type: integer
  1030. wrstandardname:
  1031. description: 现货商品名称
  1032. type: string
  1033. type: object
  1034. ermcp.ExposureHedgePosDetailRsp:
  1035. properties:
  1036. buyorsell:
  1037. description: 买卖方向 0-买 1-卖
  1038. type: integer
  1039. channelbuildtype:
  1040. description: 开平方向 1-建仓 2-平仓
  1041. type: integer
  1042. goodscode:
  1043. description: 商品代码
  1044. type: string
  1045. goodsname:
  1046. description: 商品名称
  1047. type: string
  1048. hedgegoodsid:
  1049. description: 商品id
  1050. type: integer
  1051. tradeqty:
  1052. description: 数量(成交数量)
  1053. type: integer
  1054. tradetime:
  1055. description: 时间(成交时间)
  1056. type: string
  1057. type: object
  1058. ermcp.ExposureHedgePositionRsp:
  1059. properties:
  1060. accountid:
  1061. description: 资金账号[外部母账户]
  1062. type: integer
  1063. curbuyposition:
  1064. description: 期末买头寸
  1065. type: integer
  1066. cursellposition:
  1067. description: 期末卖头寸
  1068. type: integer
  1069. curtdbuyposition:
  1070. description: 期末今日买头寸
  1071. type: integer
  1072. curtdsellposition:
  1073. description: 期末今日卖头寸
  1074. type: integer
  1075. curydbuyposition:
  1076. description: 期末上日买头寸
  1077. type: integer
  1078. curydsellposition:
  1079. description: 期末上日卖头寸
  1080. type: integer
  1081. decreaseqty:
  1082. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1083. type: integer
  1084. fretdbuyposition:
  1085. description: 冻结今日买头寸
  1086. type: integer
  1087. fretdsellposition:
  1088. description: 冻结今日卖头寸
  1089. type: integer
  1090. freydbuyposition:
  1091. description: 冻结上日买头寸
  1092. type: integer
  1093. freydsellposition:
  1094. description: 冻结上日卖头寸
  1095. type: integer
  1096. goodscode:
  1097. description: 商品代码
  1098. type: string
  1099. goodsid:
  1100. description: 商品id
  1101. type: integer
  1102. goodsname:
  1103. description: 商品名称
  1104. type: string
  1105. hedgeaccountcode:
  1106. description: 对冲账号
  1107. type: string
  1108. hedgegoodsid:
  1109. description: 对冲合约ID
  1110. type: integer
  1111. increaseqty:
  1112. description: 增加数量 = 期末买头寸 - 期初买头寸
  1113. type: integer
  1114. marketid:
  1115. description: 市场ID
  1116. type: integer
  1117. relateduserid:
  1118. description: 关联用户id
  1119. type: integer
  1120. totalcurqty:
  1121. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1122. type: integer
  1123. totalydqty:
  1124. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1125. type: integer
  1126. tradedate:
  1127. description: 交易日(yyyyMMdd)
  1128. type: string
  1129. ydbuyposition:
  1130. description: 期初买头寸
  1131. type: integer
  1132. ydsellposition:
  1133. description: 期初卖头寸
  1134. type: integer
  1135. type: object
  1136. ermcp.ExposureSpotDetailRsp:
  1137. properties:
  1138. contracttype:
  1139. description: 合同类型 1-采购 -1-销售
  1140. type: integer
  1141. createtime:
  1142. description: 创建时间
  1143. type: string
  1144. enumdicname:
  1145. description: 现货商品单位名称
  1146. type: string
  1147. logtype:
  1148. description: 记录类型 1-套保 2-现货合同
  1149. type: integer
  1150. qty:
  1151. description: 数量
  1152. type: number
  1153. recordname:
  1154. description: 类型名称
  1155. type: string
  1156. relatedid:
  1157. description: 套保计划ID/现货合同ID
  1158. type: string
  1159. relatedno:
  1160. description: 编号
  1161. type: string
  1162. strtime:
  1163. description: 时间
  1164. type: string
  1165. wrstandardcode:
  1166. description: 现货商品代码
  1167. type: string
  1168. wrstandardname:
  1169. description: 现货商品名称
  1170. type: string
  1171. type: object
  1172. ermcp.ExposureSpotRsp:
  1173. properties:
  1174. areauserid:
  1175. description: 所属机构
  1176. type: integer
  1177. decreaseqty:
  1178. description: 减少数量=-(销售已定价数量+采购计划数量)
  1179. type: number
  1180. increaseqty:
  1181. description: 增加数量=销售计划数量+采购已定价数量
  1182. type: number
  1183. oritoalspotqty:
  1184. description: 昨日数量
  1185. type: number
  1186. totalspotqty:
  1187. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1188. type: number
  1189. updatetime:
  1190. description: 更新时间
  1191. type: string
  1192. wrstandardcode:
  1193. description: 现货品种代码
  1194. type: string
  1195. wrstandardid:
  1196. description: 现货商品ID
  1197. type: integer
  1198. wrstandardname:
  1199. description: 现货品种
  1200. type: string
  1201. type: object
  1202. ermcp.HisExposureRsp:
  1203. properties:
  1204. data:
  1205. description: 历史敞口
  1206. items:
  1207. $ref: '#/definitions/models.ErmcpHisExposure'
  1208. type: array
  1209. enumdicname:
  1210. description: 单位名称
  1211. type: string
  1212. middlegoodscode:
  1213. description: 套保品种代码
  1214. type: string
  1215. middlegoodsid:
  1216. description: 套保品种ID
  1217. type: integer
  1218. middlegoodsname:
  1219. description: 套保品种名称
  1220. type: string
  1221. type: object
  1222. ermcp.PendingAuditCntRsp:
  1223. properties:
  1224. areastockqty:
  1225. description: '待审核数量: 库存申请'
  1226. type: integer
  1227. businessdjqty:
  1228. description: '待审核数量: 点价'
  1229. type: integer
  1230. businessfpqty:
  1231. description: '待审核数量: 发票'
  1232. type: integer
  1233. businessjsqty:
  1234. description: '待审核数量: 结算'
  1235. type: integer
  1236. businesskxqty:
  1237. description: '待审核数量: 款项'
  1238. type: integer
  1239. hedgeplanqty:
  1240. description: '待审核数量: 套保计划'
  1241. type: integer
  1242. spotcontractqty:
  1243. description: '待审核数量: 现货合同'
  1244. type: integer
  1245. userqty:
  1246. description: '待审核数量: 用户'
  1247. type: integer
  1248. type: object
  1249. ermcp.QryAvalidGPRsp:
  1250. properties:
  1251. goodsgroupid:
  1252. description: 期货品种id
  1253. type: integer
  1254. goodsgroupname:
  1255. description: 期货品种名称
  1256. type: string
  1257. goodunitid:
  1258. description: 品种单位id
  1259. type: integer
  1260. goodunitname:
  1261. description: 品种单位名称
  1262. type: string
  1263. outergroupcode:
  1264. description: 期货品种代码
  1265. type: string
  1266. type: object
  1267. ermcp.QryBusinessDjRsp:
  1268. properties:
  1269. amount:
  1270. description: 点价金额=(点价价格+升贴水)*点价数量
  1271. type: number
  1272. applyid:
  1273. description: 申请人
  1274. type: string
  1275. applyname:
  1276. description: 申请人名称
  1277. type: string
  1278. applystatus:
  1279. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1280. type: integer
  1281. applytime:
  1282. description: 申请时间
  1283. type: string
  1284. attachurl:
  1285. description: 附件
  1286. type: string
  1287. auditid:
  1288. description: 审核人ID
  1289. type: string
  1290. auditname:
  1291. description: 审核人名称
  1292. type: string
  1293. auditremark:
  1294. description: 审核备注
  1295. type: string
  1296. audittime:
  1297. description: 审核时间
  1298. type: string
  1299. buyusername:
  1300. description: 采购方名称
  1301. type: string
  1302. contractno:
  1303. description: 合同编号
  1304. type: string
  1305. contractstatus:
  1306. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1307. type: integer
  1308. contracttype:
  1309. description: 现货合同类型 - 1:采购 -1:销售
  1310. type: integer
  1311. deliverygoodscode:
  1312. description: 现货品种代码
  1313. type: string
  1314. deliverygoodsid:
  1315. description: 现货商品ID
  1316. type: integer
  1317. deliverygoodsname:
  1318. description: 现货品种名称
  1319. type: string
  1320. enumdicname:
  1321. description: 单位名称
  1322. type: string
  1323. goodscode:
  1324. description: 点价合约
  1325. type: string
  1326. goodsname:
  1327. description: 商品名称
  1328. type: string
  1329. operateapplyid:
  1330. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1331. type: string
  1332. operateapplytype:
  1333. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1334. type: integer
  1335. pricedPrice:
  1336. description: 点价价格(非必填)
  1337. type: number
  1338. pricedQty:
  1339. description: 点价数量(非必填)
  1340. type: number
  1341. pricemove:
  1342. description: 升贴水
  1343. type: number
  1344. pricetype:
  1345. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1346. type: integer
  1347. relatedid:
  1348. description: 现货合同ID
  1349. type: string
  1350. sellusername:
  1351. description: 销售方名字
  1352. type: string
  1353. userid:
  1354. description: 用户ID
  1355. type: integer
  1356. wrstandardcode:
  1357. description: 品类代码
  1358. type: string
  1359. wrstandardid:
  1360. description: 品类id
  1361. type: integer
  1362. wrstandardname:
  1363. description: 品类名称
  1364. type: string
  1365. type: object
  1366. ermcp.QryBussinessFpRsp:
  1367. properties:
  1368. applyid:
  1369. description: 申请人
  1370. type: string
  1371. applyname:
  1372. description: 申请人名称
  1373. type: string
  1374. applystatus:
  1375. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1376. type: integer
  1377. applytime:
  1378. description: 申请时间
  1379. type: string
  1380. attachurl:
  1381. description: 附件
  1382. type: string
  1383. auditid:
  1384. description: 审核人ID
  1385. type: string
  1386. auditname:
  1387. description: 审核人名称
  1388. type: string
  1389. auditremark:
  1390. description: 审核备注
  1391. type: string
  1392. audittime:
  1393. description: 审核时间
  1394. type: string
  1395. buyusername:
  1396. description: 采购方名称
  1397. type: string
  1398. contractno:
  1399. description: 合同编号
  1400. type: string
  1401. contractstatus:
  1402. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1403. type: integer
  1404. contracttype:
  1405. description: 现货合同类型 - 1:采购 -1:销售
  1406. type: integer
  1407. deliverygoodscode:
  1408. description: 现货品种代码
  1409. type: string
  1410. deliverygoodsid:
  1411. description: 现货商品ID
  1412. type: integer
  1413. deliverygoodsname:
  1414. description: 现货品种名称
  1415. type: string
  1416. enumdicname:
  1417. description: 单位名称
  1418. type: string
  1419. goodscode:
  1420. description: 点价合约
  1421. type: string
  1422. goodsname:
  1423. description: 商品名称
  1424. type: string
  1425. invoiceAmount:
  1426. description: 已开收票金额(销售为开票,采购为收票)
  1427. type: number
  1428. operateapplyid:
  1429. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1430. type: string
  1431. operateapplytype:
  1432. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1433. type: integer
  1434. pricemove:
  1435. description: 升贴水
  1436. type: number
  1437. pricetype:
  1438. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1439. type: integer
  1440. relatedid:
  1441. description: 现货合同ID
  1442. type: string
  1443. sellusername:
  1444. description: 销售方名字
  1445. type: string
  1446. userid:
  1447. description: 用户ID
  1448. type: integer
  1449. wrstandardcode:
  1450. description: 品类代码
  1451. type: string
  1452. wrstandardid:
  1453. description: 品类id
  1454. type: integer
  1455. wrstandardname:
  1456. description: 品类名称
  1457. type: string
  1458. type: object
  1459. ermcp.QryBussinessJsExRsp:
  1460. properties:
  1461. applyid:
  1462. description: 申请人
  1463. type: string
  1464. applyname:
  1465. description: 申请人名称
  1466. type: string
  1467. applystatus:
  1468. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1469. type: integer
  1470. applytime:
  1471. description: 申请时间
  1472. type: string
  1473. attachurl:
  1474. description: 附件
  1475. type: string
  1476. auditid:
  1477. description: 审核人ID
  1478. type: string
  1479. auditname:
  1480. description: 审核人名称
  1481. type: string
  1482. auditremark:
  1483. description: 审核备注
  1484. type: string
  1485. audittime:
  1486. description: 审核时间
  1487. type: string
  1488. buyusername:
  1489. description: 采购方名称
  1490. type: string
  1491. contractno:
  1492. description: 合同编号
  1493. type: string
  1494. contractstatus:
  1495. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1496. type: integer
  1497. contracttype:
  1498. description: 现货合同类型 - 1:采购 -1:销售
  1499. type: integer
  1500. deliverygoodscode:
  1501. description: 现货品种代码
  1502. type: string
  1503. deliverygoodsid:
  1504. description: 现货商品ID
  1505. type: integer
  1506. deliverygoodsname:
  1507. description: 现货品种名称
  1508. type: string
  1509. enumdicname:
  1510. description: 单位名称
  1511. type: string
  1512. goodscode:
  1513. description: 点价合约
  1514. type: string
  1515. goodsname:
  1516. description: 商品名称
  1517. type: string
  1518. operateapplyid:
  1519. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1520. type: string
  1521. operateapplytype:
  1522. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1523. type: integer
  1524. pricemove:
  1525. description: 升贴水
  1526. type: number
  1527. pricetype:
  1528. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1529. type: integer
  1530. reckontype:
  1531. description: 结算类型
  1532. type: string
  1533. reckonvalue:
  1534. description: 值
  1535. type: number
  1536. relatedid:
  1537. description: 现货合同ID
  1538. type: string
  1539. sellusername:
  1540. description: 销售方名字
  1541. type: string
  1542. userid:
  1543. description: 用户ID
  1544. type: integer
  1545. wrstandardcode:
  1546. description: 品类代码
  1547. type: string
  1548. wrstandardid:
  1549. description: 品类id
  1550. type: integer
  1551. wrstandardname:
  1552. description: 品类名称
  1553. type: string
  1554. type: object
  1555. ermcp.QryBussinessJsRsp:
  1556. properties:
  1557. addmargin:
  1558. description: 追加保证金(非必填)
  1559. type: number
  1560. applyid:
  1561. description: 申请人
  1562. type: string
  1563. applyname:
  1564. description: 申请人名称
  1565. type: string
  1566. applystatus:
  1567. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1568. type: integer
  1569. applytime:
  1570. description: 申请时间
  1571. type: string
  1572. attachurl:
  1573. description: 附件
  1574. type: string
  1575. auditid:
  1576. description: 审核人ID
  1577. type: string
  1578. auditname:
  1579. description: 审核人名称
  1580. type: string
  1581. auditremark:
  1582. description: 审核备注
  1583. type: string
  1584. audittime:
  1585. description: 审核时间
  1586. type: string
  1587. buyusername:
  1588. description: 采购方名称
  1589. type: string
  1590. contractno:
  1591. description: 合同编号
  1592. type: string
  1593. contractstatus:
  1594. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1595. type: integer
  1596. contracttype:
  1597. description: 现货合同类型 - 1:采购 -1:销售
  1598. type: integer
  1599. decmargin:
  1600. description: 减少保证金(非必填)
  1601. type: number
  1602. deliverygoodscode:
  1603. description: 现货品种代码
  1604. type: string
  1605. deliverygoodsid:
  1606. description: 现货商品ID
  1607. type: integer
  1608. deliverygoodsname:
  1609. description: 现货品种名称
  1610. type: string
  1611. enumdicname:
  1612. description: 单位名称
  1613. type: string
  1614. goodscode:
  1615. description: 点价合约
  1616. type: string
  1617. goodsname:
  1618. description: 商品名称
  1619. type: string
  1620. operateapplyid:
  1621. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1622. type: string
  1623. operateapplytype:
  1624. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1625. type: integer
  1626. pricemove:
  1627. description: 升贴水
  1628. type: number
  1629. pricetype:
  1630. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1631. type: integer
  1632. reckonadjustamount:
  1633. description: 结算调整金额(非必填)
  1634. type: number
  1635. reckonosamount:
  1636. description: 结算溢短金额(非必填)
  1637. type: number
  1638. reckonotheramount:
  1639. description: 结算其他费用(非必填)
  1640. type: number
  1641. reckonrealqty:
  1642. description: 结算实际数量(非必填)
  1643. type: number
  1644. relatedid:
  1645. description: 现货合同ID
  1646. type: string
  1647. sellusername:
  1648. description: 销售方名字
  1649. type: string
  1650. userid:
  1651. description: 用户ID
  1652. type: integer
  1653. wrstandardcode:
  1654. description: 品类代码
  1655. type: string
  1656. wrstandardid:
  1657. description: 品类id
  1658. type: integer
  1659. wrstandardname:
  1660. description: 品类名称
  1661. type: string
  1662. type: object
  1663. ermcp.QryBussinessKxRsp:
  1664. properties:
  1665. applyid:
  1666. description: 申请人
  1667. type: string
  1668. applyname:
  1669. description: 申请人名称
  1670. type: string
  1671. applystatus:
  1672. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1673. type: integer
  1674. applytime:
  1675. description: 申请时间
  1676. type: string
  1677. attachurl:
  1678. description: 附件
  1679. type: string
  1680. auditid:
  1681. description: 审核人ID
  1682. type: string
  1683. auditname:
  1684. description: 审核人名称
  1685. type: string
  1686. auditremark:
  1687. description: 审核备注
  1688. type: string
  1689. audittime:
  1690. description: 审核时间
  1691. type: string
  1692. buyusername:
  1693. description: 采购方名称
  1694. type: string
  1695. contractno:
  1696. description: 合同编号
  1697. type: string
  1698. contractstatus:
  1699. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1700. type: integer
  1701. contracttype:
  1702. description: 现货合同类型 - 1:采购 -1:销售
  1703. type: integer
  1704. deductamount:
  1705. description: 退款(非必填)
  1706. type: number
  1707. deliverygoodscode:
  1708. description: 现货品种代码
  1709. type: string
  1710. deliverygoodsid:
  1711. description: 现货商品ID
  1712. type: integer
  1713. deliverygoodsname:
  1714. description: 现货品种名称
  1715. type: string
  1716. enumdicname:
  1717. description: 单位名称
  1718. type: string
  1719. goodscode:
  1720. description: 点价合约
  1721. type: string
  1722. goodsname:
  1723. description: 商品名称
  1724. type: string
  1725. kxtype:
  1726. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1727. type: integer
  1728. operateapplyid:
  1729. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1730. type: string
  1731. operateapplytype:
  1732. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1733. type: integer
  1734. payamount:
  1735. description: 收付款(非必填)
  1736. type: number
  1737. pricemove:
  1738. description: 升贴水
  1739. type: number
  1740. pricetype:
  1741. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1742. type: integer
  1743. relatedid:
  1744. description: 现货合同ID
  1745. type: string
  1746. sellusername:
  1747. description: 销售方名字
  1748. type: string
  1749. userid:
  1750. description: 用户ID
  1751. type: integer
  1752. wrstandardcode:
  1753. description: 品类代码
  1754. type: string
  1755. wrstandardid:
  1756. description: 品类id
  1757. type: integer
  1758. wrstandardname:
  1759. description: 品类名称
  1760. type: string
  1761. type: object
  1762. ermcp.QryGGCovertCfgRsp:
  1763. properties:
  1764. convertratio:
  1765. description: 折算系数
  1766. type: number
  1767. destgoodsgroupid:
  1768. description: 目标品种ID
  1769. type: integer
  1770. dstcode:
  1771. description: 目录品种代码
  1772. type: string
  1773. dstexchangecode:
  1774. description: 目标期货交易所
  1775. type: string
  1776. dstname:
  1777. description: 目标品种名称
  1778. type: string
  1779. dstunitid:
  1780. description: 目标品种单位ID
  1781. type: integer
  1782. dstunitidname:
  1783. description: 目标品种单位名称
  1784. type: string
  1785. modifytime:
  1786. description: 修改时间
  1787. type: string
  1788. srccode:
  1789. description: 源品种代码
  1790. type: string
  1791. srcexchangecode:
  1792. description: 源期货交易所
  1793. type: string
  1794. srcgoodsgroupid:
  1795. description: 源品种ID
  1796. type: integer
  1797. srcname:
  1798. description: 源品种名称
  1799. type: string
  1800. srcunitid:
  1801. description: 源品种单位ID
  1802. type: integer
  1803. srcunitidname:
  1804. description: 源品种单位名称
  1805. type: string
  1806. type: object
  1807. ermcp.QryMGChangeLogRsp:
  1808. properties:
  1809. aftervalue:
  1810. description: 变更后
  1811. type: number
  1812. applyid:
  1813. description: 操作人
  1814. type: integer
  1815. applyname:
  1816. description: 操作人名称
  1817. type: string
  1818. applysrc:
  1819. description: 操作来源 - 1:管理端 2:终端
  1820. type: integer
  1821. beforevalue:
  1822. description: 变更前
  1823. type: number
  1824. changelogtype:
  1825. description: 变更流水类型 - 1:套保比率变更
  1826. type: integer
  1827. handlestatus:
  1828. description: 处理状态
  1829. type: integer
  1830. logdatetime:
  1831. description: 流水日期
  1832. type: string
  1833. logid:
  1834. description: 流水ID
  1835. type: integer
  1836. logremark:
  1837. description: 流水备注
  1838. type: string
  1839. middlegoodsid:
  1840. description: 套保品种ID
  1841. type: integer
  1842. tradedate:
  1843. description: 交易日(yyyyMMdd)
  1844. type: string
  1845. updatetime:
  1846. description: 更新时间
  1847. type: string
  1848. type: object
  1849. ermcp.QryMiddleGoodsDetailRsp:
  1850. properties:
  1851. cvList:
  1852. description: 期货品种折算列表
  1853. items:
  1854. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1855. type: array
  1856. mg:
  1857. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1858. description: 套保品种基本信息
  1859. wrcList:
  1860. description: 现货品种列表(现货商品折算配置)
  1861. items:
  1862. $ref: '#/definitions/models.WRSConverTDetail'
  1863. type: array
  1864. type: object
  1865. ermcp.QryMiddleGoodsRsp:
  1866. properties:
  1867. areauserid:
  1868. description: 机构用户ID
  1869. type: integer
  1870. createtime:
  1871. description: 修改时间
  1872. type: string
  1873. enumdicname:
  1874. description: 单位名称
  1875. type: string
  1876. evaluateratio:
  1877. description: 估价系数
  1878. type: number
  1879. goodsgroupid:
  1880. description: 关联期货品种ID
  1881. type: integer
  1882. goodsunitid:
  1883. description: 单位ID
  1884. type: integer
  1885. isvalid:
  1886. description: 状态 0-无效(停用) 1-有效(正常)
  1887. type: integer
  1888. middlegoodscode:
  1889. description: 套保品种代码
  1890. type: string
  1891. middlegoodsid:
  1892. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1893. type: integer
  1894. middlegoodsname:
  1895. description: 套保品种名称
  1896. type: string
  1897. modifytime:
  1898. description: 修改时间
  1899. type: string
  1900. needarbitrageratio:
  1901. description: 套利比例
  1902. type: number
  1903. needhedgeratio:
  1904. description: 套保比率
  1905. type: number
  1906. qtydecimalplace:
  1907. description: 数量小数位
  1908. type: integer
  1909. relatedgoodsid:
  1910. description: 关联交易商品ID
  1911. type: integer
  1912. relatedgoodstype:
  1913. description: 关联商品类型 - 1:期货合约 2:现货品种
  1914. type: integer
  1915. remark:
  1916. description: 备注
  1917. type: string
  1918. type: object
  1919. ermcp.QryOPLogRsp:
  1920. properties:
  1921. aftervalue:
  1922. description: 变更后
  1923. type: number
  1924. applyid:
  1925. description: 操作人ID
  1926. type: string
  1927. applyname:
  1928. description: 操作人名称
  1929. type: string
  1930. beforevalue:
  1931. description: 变更前
  1932. type: number
  1933. biztype:
  1934. description: 业务类型 - 1:套保计划 2:现货合同
  1935. type: integer
  1936. contracttype:
  1937. description: 现货合同类型 - 1:采购 -1:销售
  1938. type: integer
  1939. logvalue:
  1940. description: 数值
  1941. type: number
  1942. operatelogtype:
  1943. description: 操作流水类型
  1944. type: integer
  1945. operatelogtypedesc:
  1946. description: 操作流水类型名称
  1947. type: string
  1948. relatedid:
  1949. description: 现货合同ID\套保计划
  1950. type: string
  1951. updatetime:
  1952. description: 更新时间
  1953. type: string
  1954. type: object
  1955. ermcp.QryUserInfoRsp:
  1956. properties:
  1957. address:
  1958. description: 通讯地址
  1959. type: string
  1960. attachment1:
  1961. description: 附件1
  1962. type: string
  1963. audittime:
  1964. description: 审核时间
  1965. type: string
  1966. cardbackphotourl:
  1967. description: 证件反面图片地址
  1968. type: string
  1969. cardfrontphotourl:
  1970. description: 证件正面图片地址
  1971. type: string
  1972. cardnum:
  1973. description: 证件号码
  1974. type: string
  1975. cardtype:
  1976. description: 证件类型
  1977. type: integer
  1978. cardtypename:
  1979. description: 证件类型名称
  1980. type: string
  1981. cityid:
  1982. description: 市
  1983. type: integer
  1984. contactname:
  1985. description: 联系人
  1986. type: string
  1987. countryid:
  1988. description: 国家
  1989. type: integer
  1990. createtime:
  1991. description: 创建时间
  1992. type: string
  1993. customername:
  1994. description: 企业名称
  1995. type: string
  1996. districtid:
  1997. description: 区域
  1998. type: integer
  1999. email:
  2000. description: 邮件
  2001. type: string
  2002. legalpersonname:
  2003. description: 法人姓名(企业)
  2004. type: string
  2005. memberuserid:
  2006. description: 所属机构ID
  2007. type: integer
  2008. mobile:
  2009. description: 手机号码
  2010. type: string
  2011. modifytime:
  2012. description: 修改时间
  2013. type: string
  2014. nickname:
  2015. description: 昵称
  2016. type: string
  2017. provinceid:
  2018. description: 省
  2019. type: integer
  2020. remark:
  2021. description: 备注
  2022. type: string
  2023. status:
  2024. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2025. type: integer
  2026. statusdesc:
  2027. description: 账户状态中文描述
  2028. type: string
  2029. taxpayernum:
  2030. description: 纳税人识别号
  2031. type: string
  2032. telphone:
  2033. description: 联系电话
  2034. type: string
  2035. userid:
  2036. description: 用户ID
  2037. type: integer
  2038. userinfotype:
  2039. description: 客户类型
  2040. type: string
  2041. type: object
  2042. ermcp.QryWarehouseRsp:
  2043. properties:
  2044. address:
  2045. description: 详细地址
  2046. type: string
  2047. areauserid:
  2048. description: 所属机构
  2049. type: integer
  2050. autoid:
  2051. description: 自增ID(仓库ID)
  2052. type: integer
  2053. cityid:
  2054. description: 市
  2055. type: integer
  2056. contactname:
  2057. description: 联系人
  2058. type: string
  2059. contactnum:
  2060. description: 联系电话
  2061. type: string
  2062. countryid:
  2063. description: 国家
  2064. type: integer
  2065. createtime:
  2066. description: 创建时间
  2067. type: string
  2068. districtid:
  2069. description: 区
  2070. type: integer
  2071. hasvideo:
  2072. description: 是否有视频 - 0:无 1:有
  2073. type: integer
  2074. provinceid:
  2075. description: 省
  2076. type: integer
  2077. remark:
  2078. description: 审核备注
  2079. type: string
  2080. videourl:
  2081. description: 视频地址
  2082. type: string
  2083. warehousecode:
  2084. description: 仓库代码
  2085. type: string
  2086. warehousename:
  2087. description: 仓库名称
  2088. type: string
  2089. warehousestatus:
  2090. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2091. type: integer
  2092. warehousetype:
  2093. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2094. type: integer
  2095. type: object
  2096. ermcp.QueryErmcpTradePositionRsp:
  2097. properties:
  2098. agreeunit:
  2099. description: 合约单位
  2100. type: number
  2101. buyorsell:
  2102. description: 方向 - 0:买 1:卖
  2103. type: integer
  2104. curpositionqty:
  2105. description: 持仓(总仓数量, 期末头寸)
  2106. type: integer
  2107. curtdposition:
  2108. description: 今仓数量(期末今日头寸)
  2109. type: integer
  2110. curtdpositionenabled:
  2111. description: 今仓可用
  2112. type: integer
  2113. decimalplace:
  2114. description: 报价小数位
  2115. type: integer
  2116. enableqty:
  2117. description: 可用(总仓可用)
  2118. type: integer
  2119. exexchangename:
  2120. description: 外部交易所名称
  2121. type: string
  2122. goodscode:
  2123. description: 商品代码(内部)
  2124. type: string
  2125. goodsid:
  2126. description: 商品ID(自增ID SEQ_GOODS)
  2127. type: integer
  2128. goodsname:
  2129. description: 商品名称
  2130. type: string
  2131. last:
  2132. description: 现价
  2133. type: number
  2134. marketid:
  2135. description: 所属市场ID
  2136. type: integer
  2137. openaverageprice:
  2138. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2139. type: number
  2140. opencost:
  2141. description: 开仓成本
  2142. type: number
  2143. openpl:
  2144. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2145. type: number
  2146. outgoodscode:
  2147. description: 商品代码(外部)
  2148. type: string
  2149. positionaverageprice:
  2150. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2151. type: number
  2152. positioncost:
  2153. description: 持仓成本
  2154. type: number
  2155. positionpl:
  2156. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2157. type: number
  2158. positionplrate:
  2159. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2160. type: number
  2161. usedmargin:
  2162. description: 占用保证金
  2163. type: number
  2164. type: object
  2165. ermcp.RealtimeExposurePositionRsp:
  2166. properties:
  2167. agreeunit:
  2168. description: 合约单位
  2169. type: string
  2170. areauserid:
  2171. description: 所属机构id
  2172. type: integer
  2173. convertratio:
  2174. description: 期货品种系数(折算系数)
  2175. type: number
  2176. curqty:
  2177. description: 当前持仓
  2178. type: integer
  2179. diffhedgeqty:
  2180. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2181. type: number
  2182. diffqty:
  2183. description: 持仓变动量=当前持仓-昨日持仓
  2184. type: integer
  2185. goodscode:
  2186. description: 商品代码
  2187. type: string
  2188. goodsid:
  2189. description: 商品id
  2190. type: integer
  2191. goodsname:
  2192. description: 商品名称
  2193. type: string
  2194. middlegoodsid:
  2195. description: 套保商品id
  2196. type: integer
  2197. ydqty:
  2198. description: 昨日持仓
  2199. type: integer
  2200. type: object
  2201. ermcp.RealtimeExposureRsp:
  2202. properties:
  2203. AreaUserID:
  2204. description: 所属机构
  2205. type: integer
  2206. BuyFutureQty:
  2207. description: 买入期货数量
  2208. type: number
  2209. BuyPlanQty:
  2210. description: 采购计划数量
  2211. type: number
  2212. BuyPricedQty:
  2213. description: 采购合同已定价数量
  2214. type: number
  2215. MiddleGoodsCode:
  2216. description: 套保品种代码
  2217. type: string
  2218. MiddleGoodsHedgeRatio:
  2219. description: 套保比例
  2220. type: number
  2221. MiddleGoodsID:
  2222. description: 套保品种
  2223. type: integer
  2224. MiddleGoodsName:
  2225. description: 套保品种名称
  2226. type: string
  2227. NeedHedgeExposoure:
  2228. description: 应套保敞口(套保敞口)
  2229. type: number
  2230. NeedHedgeRatio:
  2231. description: 应套保敞口比例
  2232. type: number
  2233. OriBuyFutureQty:
  2234. description: 期初买入期货数量
  2235. type: number
  2236. OriBuyPlanQty:
  2237. description: 期初采购计划数量
  2238. type: number
  2239. OriBuyPricedQty:
  2240. description: 期初采购合同已定价数量
  2241. type: number
  2242. OriSellFutureQty:
  2243. description: 期初卖出期货数量
  2244. type: number
  2245. OriSellPlanQty:
  2246. description: 期初销售计划数量
  2247. type: number
  2248. OriSellPricedQty:
  2249. description: 期初销售合同已定价数量
  2250. type: number
  2251. SellFutureQty:
  2252. description: 卖出期货数量
  2253. type: number
  2254. SellPlanQty:
  2255. description: 销售计划数量
  2256. type: number
  2257. SellPricedQty:
  2258. description: 销售合同已定价数量
  2259. type: number
  2260. TotalExposure:
  2261. description: 总敞口 平安:净敞口
  2262. type: number
  2263. TotalFutureQty:
  2264. description: 期货总量 平安:保值净持仓量
  2265. type: number
  2266. TotalHedgeRatio:
  2267. description: 敞口比例
  2268. type: number
  2269. TotalNeedHedgeQty:
  2270. description: 应套保总量(现货应套保总量)
  2271. type: number
  2272. TotalSpotQty:
  2273. description: 现货总量 平安:采销定价净值
  2274. type: number
  2275. arbitrageqty:
  2276. description: 套利量
  2277. type: number
  2278. diffArbitrageQty:
  2279. description: 套利变动量
  2280. type: number
  2281. diffExposoureQty:
  2282. description: 变动量(套保敞口)
  2283. type: number
  2284. diffFutuQty:
  2285. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2286. type: number
  2287. diffHedgeQty:
  2288. description: 套保变动量
  2289. type: number
  2290. diffQty:
  2291. description: 变动量(总敞口) 平安:净敞口今日变动
  2292. type: number
  2293. diffSpotHedgeQty:
  2294. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2295. type: number
  2296. diffSpotQty:
  2297. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2298. type: number
  2299. enumdicname:
  2300. description: 单位名称
  2301. type: string
  2302. hedgeqty:
  2303. description: 套保量
  2304. type: number
  2305. needarbitrageqty:
  2306. description: 应套利量
  2307. type: number
  2308. needarbitrageratio:
  2309. description: 套利比例
  2310. type: number
  2311. needhedgeqty:
  2312. description: 应套保量
  2313. type: number
  2314. oriTotalFutuQty:
  2315. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2316. type: number
  2317. oriTotalSpotQty:
  2318. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2319. type: number
  2320. oriarbitrageqty:
  2321. description: 期初套利量
  2322. type: number
  2323. orihedgeqty:
  2324. description: 期初套保量
  2325. type: number
  2326. orineedhedgeexposoure:
  2327. description: 期初套保敞口
  2328. type: number
  2329. oritotalexposure:
  2330. description: 期初总敞口
  2331. type: number
  2332. oritotalfutureqty:
  2333. description: 期初期货总量
  2334. type: number
  2335. oritotalneedhedgeqty:
  2336. description: 期初现货应套保量
  2337. type: number
  2338. type: object
  2339. erms2.QueryArbitrageStrategyRsp:
  2340. properties:
  2341. applybasis:
  2342. description: 申请基差
  2343. type: number
  2344. asapplyid:
  2345. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2346. type: string
  2347. asname:
  2348. description: 策略名称
  2349. type: string
  2350. asno:
  2351. description: 策略编号
  2352. type: string
  2353. basischangepl:
  2354. description: 基差变动损益[结算更新]
  2355. type: number
  2356. biztype:
  2357. description: 业务类型 - 1:正向套利 -1:反向套利
  2358. type: integer
  2359. closetradedate:
  2360. description: 完结交易日(yyyyMMdd)
  2361. type: string
  2362. curbasis:
  2363. description: 当前基差[结算更新]
  2364. type: number
  2365. deliverygoodsid:
  2366. description: 现货品种ID
  2367. type: integer
  2368. futureavgprice:
  2369. description: 期货建仓均价
  2370. type: number
  2371. futurecloseamount:
  2372. description: 期货平仓金额
  2373. type: number
  2374. futurecloseqty:
  2375. description: 期货平仓数量
  2376. type: number
  2377. futureopenamount:
  2378. description: 期货开仓金额
  2379. type: number
  2380. futureopenqty:
  2381. description: 期货开仓数量
  2382. type: number
  2383. futurepl:
  2384. description: 期货总盈亏[结算更新]
  2385. type: number
  2386. futureqty:
  2387. description: 期货持仓数量
  2388. type: number
  2389. futurequote:
  2390. description: 期货额度
  2391. type: number
  2392. goodsgroupid:
  2393. description: 期货品种ID
  2394. type: integer
  2395. marketid:
  2396. description: 市场ID
  2397. type: integer
  2398. netexposure:
  2399. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2400. type: number
  2401. netexposurepl:
  2402. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2403. type: number
  2404. netexposurerate:
  2405. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2406. type: number
  2407. openbasis:
  2408. description: 建仓基差
  2409. type: number
  2410. pricedspotqty:
  2411. description: 已定价现货数量
  2412. type: number
  2413. pricedspotqtynotax:
  2414. description: 已定价现货不含税数量
  2415. type: number
  2416. remark:
  2417. description: 备注
  2418. type: string
  2419. spotavgprice:
  2420. description: 现货均价
  2421. type: number
  2422. spotbuyamount:
  2423. description: 现货采购金额
  2424. type: number
  2425. spotbuyqty:
  2426. description: 现货采购数量
  2427. type: number
  2428. spotpl:
  2429. description: 现货总盈亏[结算更新]
  2430. type: number
  2431. spotquota:
  2432. description: 现货额度
  2433. type: number
  2434. spotsellamount:
  2435. description: 现货销售金额
  2436. type: number
  2437. spotsellqty:
  2438. description: 现货销售数量
  2439. type: number
  2440. spotusedquota:
  2441. description: 现货占用资金
  2442. type: number
  2443. strategystatus:
  2444. description: 策略状态 - 0:未结束 1:已结束
  2445. type: integer
  2446. totalpl:
  2447. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2448. type: number
  2449. tradedate:
  2450. description: 交易日(yyyyMMdd)
  2451. type: string
  2452. updatetime:
  2453. description: 更新时间
  2454. type: string
  2455. usedquota:
  2456. description: 已占用资金
  2457. type: number
  2458. userid:
  2459. description: 所属机构
  2460. type: integer
  2461. required:
  2462. - asapplyid
  2463. type: object
  2464. erms2.QueryInnerTradeDetailRsp:
  2465. properties:
  2466. accountid:
  2467. description: 账号ID
  2468. type: integer
  2469. agreeunit:
  2470. description: 合约单位
  2471. type: number
  2472. asapplyid:
  2473. description: 策略申请ID
  2474. type: integer
  2475. asname:
  2476. description: 策略名称
  2477. type: string
  2478. asno:
  2479. description: 策略编号
  2480. type: string
  2481. buyorsell:
  2482. description: 方向 - 0:买 1:卖
  2483. type: integer
  2484. channelbuildtype:
  2485. description: 委托单据类型 0:无 1:建仓 2:平仓
  2486. type: integer
  2487. closetype:
  2488. description: 平仓方式 - 0:无 1:平今 2:平昨
  2489. type: integer
  2490. decimalplace:
  2491. description: 报价小数位
  2492. type: integer
  2493. detailtype:
  2494. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2495. type: integer
  2496. exexchangecode:
  2497. description: 外部交易所代码
  2498. type: string
  2499. exexchangename:
  2500. description: 外部交易所名称
  2501. type: string
  2502. goodscode:
  2503. description: 商品代码(合约)
  2504. type: string
  2505. goodsgroupid:
  2506. description: 商品组ID(品种ID)
  2507. type: integer
  2508. goodsgroupname:
  2509. description: 商品组名称(品种)
  2510. type: string
  2511. goodsid:
  2512. description: 商品ID
  2513. type: integer
  2514. goodsname:
  2515. description: 商品名称(合约)
  2516. type: string
  2517. goodunit:
  2518. description: 报价单位
  2519. type: string
  2520. marketid:
  2521. description: 市场ID
  2522. type: integer
  2523. orderid:
  2524. description: 委托单号
  2525. type: string
  2526. outgoodscode:
  2527. description: 商品代码(外部)
  2528. type: string
  2529. relatedouttradeid:
  2530. description: 关联外部成交单ID
  2531. type: string
  2532. remark:
  2533. description: 备注
  2534. type: string
  2535. spotcontractid:
  2536. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2537. type: integer
  2538. spotcontractno:
  2539. description: 现货合同编号
  2540. type: string
  2541. tradeid:
  2542. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2543. type: string
  2544. tradeprice:
  2545. description: 成交价格
  2546. type: number
  2547. tradeqty:
  2548. description: 成交数量
  2549. type: integer
  2550. tradetime:
  2551. description: 成交时间
  2552. type: string
  2553. updatetime:
  2554. description: 更新时间
  2555. type: string
  2556. required:
  2557. - asapplyid
  2558. - buyorsell
  2559. - goodscode
  2560. - goodsgroupid
  2561. - goodsgroupname
  2562. - goodsname
  2563. - tradeid
  2564. type: object
  2565. erms2.QuerySpotContractRsp:
  2566. properties:
  2567. accountid:
  2568. description: 资金账户ID
  2569. type: integer
  2570. areauserid:
  2571. description: 所属机构
  2572. type: integer
  2573. closedate:
  2574. description: 终止日期
  2575. type: string
  2576. closeremark:
  2577. description: 结束备注
  2578. type: string
  2579. closetradedate:
  2580. description: 完结交易日(yyyyMMdd)
  2581. type: string
  2582. closetype:
  2583. description: 终止类型 - 1:违约 2:提前终止
  2584. type: integer
  2585. contractamount:
  2586. description: 合同金额
  2587. type: number
  2588. contractattachment:
  2589. description: 合同附件
  2590. type: string
  2591. contractno:
  2592. description: 现货合同编号
  2593. type: string
  2594. contractqty:
  2595. description: 合同数量(数值) (用于计算)
  2596. type: number
  2597. contractqtychar:
  2598. description: 合同数量\已订价数量 (用于显示)
  2599. type: string
  2600. contractstatus:
  2601. description: 合同状态 - 0:未结束 1:已结束
  2602. type: integer
  2603. contracttype:
  2604. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2605. type: integer
  2606. customeraccountid:
  2607. description: 客户资金账户ID
  2608. type: integer
  2609. customeruserid:
  2610. description: 客户ID
  2611. type: integer
  2612. deliverygoodsdesc:
  2613. description: 品种说明
  2614. type: string
  2615. deliverygoodsid:
  2616. description: 现货品种ID
  2617. type: integer
  2618. handlestatus:
  2619. description: 处理状态
  2620. type: integer
  2621. invoiceatt:
  2622. description: 发票附件
  2623. type: string
  2624. invoicedatetime:
  2625. description: 开收票更新时间
  2626. type: string
  2627. invoiceopentime:
  2628. description: 开票时间
  2629. type: string
  2630. invoiceremark:
  2631. description: 发票备注
  2632. type: string
  2633. invoicestatus:
  2634. description: 开收票状态 - 0:未开票 1:已开票
  2635. type: integer
  2636. lastdate:
  2637. description: 交货时间
  2638. type: string
  2639. marketid:
  2640. description: 市场ID
  2641. type: integer
  2642. paydatetime:
  2643. description: 收付款更新时间
  2644. type: string
  2645. payremark:
  2646. description: 收付款备注
  2647. type: string
  2648. paystatus:
  2649. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2650. type: integer
  2651. positionqty:
  2652. description: 头寸数量 - 合同数量去小数部分
  2653. type: integer
  2654. producttype:
  2655. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2656. type: integer
  2657. relatedqty:
  2658. description: 已关联数量
  2659. type: number
  2660. relatedstatus:
  2661. description: 关联完结状态 - 0:未结束 1:已结束
  2662. type: integer
  2663. remark:
  2664. description: 备注
  2665. type: string
  2666. signdate:
  2667. description: 签订日期
  2668. type: string
  2669. spotcontractid:
  2670. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2671. type: string
  2672. spotdatetime:
  2673. description: 收发货更新时间
  2674. type: string
  2675. spotprice:
  2676. description: 价格
  2677. type: number
  2678. spotremark:
  2679. description: 收发货备注
  2680. type: string
  2681. spotstatus:
  2682. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2683. type: integer
  2684. tradedate:
  2685. description: 交易日(yyyyMMdd)
  2686. type: string
  2687. userid:
  2688. description: 业务员用户ID
  2689. type: integer
  2690. warehouseid:
  2691. description: 仓库ID
  2692. type: integer
  2693. wrfactortypeid:
  2694. description: 仓单要素类型ID
  2695. type: integer
  2696. wrstandardid:
  2697. description: 仓单标准ID(SEQ_WRSTANDARD)
  2698. type: integer
  2699. required:
  2700. - spotcontractid
  2701. type: object
  2702. erms3.AddErms2ASApplyReq:
  2703. properties:
  2704. applybasis:
  2705. description: 申请基差
  2706. type: number
  2707. applystatus:
  2708. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2709. type: integer
  2710. asapplyid:
  2711. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2712. type: integer
  2713. asname:
  2714. description: 策略名称
  2715. type: string
  2716. asno:
  2717. description: 策略编号
  2718. type: string
  2719. auditid:
  2720. description: 审核人
  2721. type: integer
  2722. auditremark:
  2723. description: 审核备注
  2724. type: string
  2725. audittime:
  2726. description: 审核时间
  2727. type: string
  2728. biztype:
  2729. description: 业务类型 - 1:正向套利 2:反向套利
  2730. type: integer
  2731. createtime:
  2732. description: 创建时间
  2733. type: string
  2734. creatorid:
  2735. description: 创建人
  2736. type: integer
  2737. deliverygoodsid:
  2738. description: 现货品种ID
  2739. type: integer
  2740. futurequote:
  2741. description: 期货额度
  2742. type: number
  2743. goodsgroupid:
  2744. description: 期货品种ID
  2745. type: integer
  2746. marketid:
  2747. description: 市场ID
  2748. type: integer
  2749. remark:
  2750. description: 备注
  2751. type: string
  2752. spotquota:
  2753. description: 现货额度
  2754. type: number
  2755. tradedate:
  2756. description: 交易日(yyyyMMdd)
  2757. type: string
  2758. userid:
  2759. description: 所属机构
  2760. type: integer
  2761. required:
  2762. - asapplyid
  2763. type: object
  2764. erms3.AddErms2SpotTradeApplyReq:
  2765. properties:
  2766. applyjsondetail:
  2767. description: 申请明细(JSON)
  2768. type: string
  2769. applystatus:
  2770. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2771. type: integer
  2772. areauserid:
  2773. description: 所属机构
  2774. type: integer
  2775. auditid:
  2776. description: 审核人
  2777. type: integer
  2778. auditremark:
  2779. description: 审核备注
  2780. type: string
  2781. audittime:
  2782. description: 审核时间
  2783. type: string
  2784. createtime:
  2785. description: 创建时间
  2786. type: string
  2787. creatorid:
  2788. description: 创建人
  2789. type: integer
  2790. deliverygoodsid:
  2791. description: 现货品种ID
  2792. type: integer
  2793. futureaccountid:
  2794. description: 期货资金账户
  2795. type: integer
  2796. goodsgroupid:
  2797. description: 期货品种
  2798. type: integer
  2799. marketid:
  2800. description: 市场ID
  2801. type: integer
  2802. remark:
  2803. description: 备注
  2804. type: string
  2805. spotaccountid:
  2806. description: 现货资金账户
  2807. type: integer
  2808. spottradeid:
  2809. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2810. type: integer
  2811. spottradename:
  2812. description: 业务名称
  2813. type: string
  2814. spottradeno:
  2815. description: 业务编号
  2816. type: string
  2817. tradedate:
  2818. description: 交易日(yyyyMMdd)
  2819. type: string
  2820. wrstandardid:
  2821. description: 仓单标准ID
  2822. type: integer
  2823. required:
  2824. - spottradeid
  2825. type: object
  2826. erms3.AddSpotContractApplyReq:
  2827. properties:
  2828. accountid:
  2829. description: 资金账户ID
  2830. type: integer
  2831. areauserid:
  2832. description: 所属机构
  2833. type: integer
  2834. contractattachment:
  2835. description: 合同附件
  2836. type: string
  2837. contractno:
  2838. description: 现货合同编号
  2839. type: string
  2840. contracttype:
  2841. description: 现货合同类型 - 1:采购 -1:销售
  2842. type: integer
  2843. creatorid:
  2844. description: 申请人
  2845. type: integer
  2846. customeraccountid:
  2847. description: 客户资金账户ID
  2848. type: integer
  2849. customeruserid:
  2850. description: 客户ID
  2851. type: integer
  2852. details:
  2853. description: 明细
  2854. items:
  2855. $ref: '#/definitions/erms3.SoptContractDetail'
  2856. type: array
  2857. orimargin:
  2858. description: 初始保证金
  2859. type: number
  2860. remark:
  2861. description: 备注
  2862. type: string
  2863. signdate:
  2864. description: 签订日期
  2865. type: string
  2866. required:
  2867. - accountid
  2868. - areauserid
  2869. - contractno
  2870. - contracttype
  2871. - customeraccountid
  2872. - customeruserid
  2873. - details
  2874. - orimargin
  2875. - signdate
  2876. type: object
  2877. erms3.AddSpotContractApplyRsp:
  2878. properties:
  2879. contractno:
  2880. description: 现货合同编号
  2881. type: string
  2882. spotcontractid:
  2883. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2884. type: integer
  2885. required:
  2886. - contractno
  2887. type: object
  2888. erms3.AddUserInfoApplyReq:
  2889. properties:
  2890. accountid:
  2891. description: 交易系统帐号Id (加密存储)
  2892. type: integer
  2893. areacode:
  2894. description: 机构代码
  2895. type: string
  2896. areaid:
  2897. description: 机构Id
  2898. type: integer
  2899. attachment1:
  2900. description: 附件1
  2901. type: string
  2902. attachment2:
  2903. description: 附件2
  2904. type: string
  2905. attachment3:
  2906. description: 附件3
  2907. type: string
  2908. attachment4:
  2909. description: 附件4
  2910. type: string
  2911. attachment5:
  2912. description: 附件5
  2913. type: string
  2914. auditedby:
  2915. description: 审核人
  2916. type: string
  2917. auditime:
  2918. description: 审核时间
  2919. type: string
  2920. auditsrc:
  2921. description: 审核来源 - 1:管理端 2:终端
  2922. type: integer
  2923. bankaccount:
  2924. description: 银行帐号 (加密存储)
  2925. type: string
  2926. bankaccountname:
  2927. description: 收款人名称
  2928. type: string
  2929. bankcardbackphotourl:
  2930. description: 银行卡背面照地址
  2931. type: string
  2932. bankcardfrontphotourl:
  2933. description: 银行卡正面照地址
  2934. type: string
  2935. bankid:
  2936. description: 银行编码
  2937. type: string
  2938. bankname:
  2939. description: 银行名称
  2940. type: string
  2941. bankpictureurl:
  2942. description: 银行卡正面地址
  2943. type: string
  2944. biznature:
  2945. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2946. type: integer
  2947. bizscope:
  2948. description: 企业经营范围(企业)
  2949. type: string
  2950. biztype:
  2951. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2952. type: integer
  2953. brokerid:
  2954. description: 经纪人ID(加密存储)
  2955. type: string
  2956. cardaddress:
  2957. description: 证件地址 (加密存储)
  2958. type: string
  2959. cardbackphotourl:
  2960. description: 背面证件照地址
  2961. type: string
  2962. cardfrontphotourl:
  2963. description: 正面证件照地址
  2964. type: string
  2965. cardnum:
  2966. description: 证件号码 (加密存储)
  2967. type: string
  2968. cardtype:
  2969. description: 证件类型
  2970. type: integer
  2971. cityid:
  2972. description: 市
  2973. type: integer
  2974. company:
  2975. description: 公司(个人)
  2976. type: string
  2977. contactcardbackphotourl:
  2978. description: 联系人证件背面图片地址
  2979. type: string
  2980. contactcardfrontphotourl:
  2981. description: 联系人证件正面图片地址
  2982. type: string
  2983. contactname:
  2984. description: 联系人
  2985. type: string
  2986. countryid:
  2987. description: 国家
  2988. type: integer
  2989. createtime:
  2990. description: 开户申请时间
  2991. type: string
  2992. cusbankid:
  2993. description: 签约类型
  2994. type: string
  2995. cusbankname:
  2996. description: 签约类型名称
  2997. type: string
  2998. customername:
  2999. description: 客户名称(企业名称)
  3000. type: string
  3001. districtid:
  3002. description: 地区
  3003. type: integer
  3004. email:
  3005. description: Email地址(加密存储)
  3006. type: string
  3007. halfbodyphotourl:
  3008. description: 半身照地址
  3009. type: string
  3010. headurl:
  3011. description: 头像地址
  3012. type: string
  3013. ipaddress:
  3014. description: IP地址
  3015. type: string
  3016. isvalidate:
  3017. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3018. type: string
  3019. legalcardbackphotourl:
  3020. description: 法人身份证背面照地址
  3021. type: string
  3022. legalcardfrontphotourl:
  3023. description: 法人身份证正面照地址
  3024. type: string
  3025. legalpersonname:
  3026. description: 法人姓名(企业)
  3027. type: string
  3028. logincode:
  3029. description: 登录帐号 (加密存储)
  3030. type: string
  3031. memberareaid:
  3032. description: 所属会员ID
  3033. type: integer
  3034. mobile2:
  3035. description: 手机号码[明文-尚志]
  3036. type: string
  3037. mobilephone:
  3038. description: 手机号码 (加密存储)
  3039. type: string
  3040. modifiedby:
  3041. description: 修改人帐号
  3042. type: integer
  3043. modifiedtime:
  3044. description: 修改时间
  3045. type: string
  3046. nickname:
  3047. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3048. type: string
  3049. openmode:
  3050. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3051. type: integer
  3052. otherurl:
  3053. description: 其它图片地址[使用分号分隔]
  3054. type: string
  3055. postalcode:
  3056. description: 邮政编码
  3057. type: string
  3058. provinceid:
  3059. description: 省
  3060. type: integer
  3061. proxystatementurl:
  3062. description: 授权委托书
  3063. type: string
  3064. qq:
  3065. description: QQ(加密存储
  3066. type: string
  3067. referral:
  3068. description: 推荐人编码
  3069. type: string
  3070. remark:
  3071. description: 备注
  3072. type: string
  3073. removebeforestatus:
  3074. description: REMOVEBEFORESTATUS
  3075. type: integer
  3076. sex:
  3077. description: 性别 - 0:女 1:男
  3078. type: integer
  3079. signedstatus:
  3080. description: 账户一号签签约状态
  3081. type: integer
  3082. signpdfurl:
  3083. description: 签约pdf文件
  3084. type: string
  3085. subbranch:
  3086. description: 开户支行
  3087. type: string
  3088. taxpayernum:
  3089. description: 纳税人识别号
  3090. type: string
  3091. telphone:
  3092. description: 联系电话(加密存储)
  3093. type: string
  3094. userid:
  3095. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3096. type: integer
  3097. userinfotype:
  3098. description: 用户信息类型 - 1:个人 2:企业
  3099. type: integer
  3100. username:
  3101. description: 用户姓名
  3102. type: string
  3103. userstate:
  3104. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3105. type: integer
  3106. usertype:
  3107. description: 用户类型 - 1:投资者 2:机构
  3108. type: integer
  3109. videourl:
  3110. description: 视频地址
  3111. type: string
  3112. wechat:
  3113. description: 微信号 (加密存储)
  3114. type: string
  3115. required:
  3116. - userid
  3117. type: object
  3118. erms3.CustomerInfo:
  3119. properties:
  3120. accountids:
  3121. description: 资金账户ID列表
  3122. items:
  3123. type: integer
  3124. type: array
  3125. customername:
  3126. description: 名称(企业名称)
  3127. type: string
  3128. mobile:
  3129. description: 手机号码
  3130. type: string
  3131. userid:
  3132. description: 用户ID
  3133. type: integer
  3134. required:
  3135. - userid
  3136. type: object
  3137. erms3.ModifyUserInfoApplyReq:
  3138. properties:
  3139. accountid:
  3140. description: 交易系统帐号Id (加密存储)
  3141. type: integer
  3142. areacode:
  3143. description: 机构代码
  3144. type: string
  3145. areaid:
  3146. description: 机构Id
  3147. type: integer
  3148. attachment1:
  3149. description: 附件1
  3150. type: string
  3151. attachment2:
  3152. description: 附件2
  3153. type: string
  3154. attachment3:
  3155. description: 附件3
  3156. type: string
  3157. attachment4:
  3158. description: 附件4
  3159. type: string
  3160. attachment5:
  3161. description: 附件5
  3162. type: string
  3163. auditedby:
  3164. description: 审核人
  3165. type: string
  3166. auditime:
  3167. description: 审核时间
  3168. type: string
  3169. auditsrc:
  3170. description: 审核来源 - 1:管理端 2:终端
  3171. type: integer
  3172. bankaccount:
  3173. description: 银行帐号 (加密存储)
  3174. type: string
  3175. bankaccountname:
  3176. description: 收款人名称
  3177. type: string
  3178. bankcardbackphotourl:
  3179. description: 银行卡背面照地址
  3180. type: string
  3181. bankcardfrontphotourl:
  3182. description: 银行卡正面照地址
  3183. type: string
  3184. bankid:
  3185. description: 银行编码
  3186. type: string
  3187. bankname:
  3188. description: 银行名称
  3189. type: string
  3190. bankpictureurl:
  3191. description: 银行卡正面地址
  3192. type: string
  3193. biznature:
  3194. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3195. type: integer
  3196. bizscope:
  3197. description: 企业经营范围(企业)
  3198. type: string
  3199. biztype:
  3200. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3201. type: integer
  3202. brokerid:
  3203. description: 经纪人ID(加密存储)
  3204. type: string
  3205. cardaddress:
  3206. description: 证件地址 (加密存储)
  3207. type: string
  3208. cardbackphotourl:
  3209. description: 背面证件照地址
  3210. type: string
  3211. cardfrontphotourl:
  3212. description: 正面证件照地址
  3213. type: string
  3214. cardnum:
  3215. description: 证件号码 (加密存储)
  3216. type: string
  3217. cardtype:
  3218. description: 证件类型
  3219. type: integer
  3220. cityid:
  3221. description: 市
  3222. type: integer
  3223. company:
  3224. description: 公司(个人)
  3225. type: string
  3226. contactcardbackphotourl:
  3227. description: 联系人证件背面图片地址
  3228. type: string
  3229. contactcardfrontphotourl:
  3230. description: 联系人证件正面图片地址
  3231. type: string
  3232. contactname:
  3233. description: 联系人
  3234. type: string
  3235. countryid:
  3236. description: 国家
  3237. type: integer
  3238. createtime:
  3239. description: 开户申请时间
  3240. type: string
  3241. cusbankid:
  3242. description: 签约类型
  3243. type: string
  3244. cusbankname:
  3245. description: 签约类型名称
  3246. type: string
  3247. customername:
  3248. description: 客户名称(企业名称)
  3249. type: string
  3250. districtid:
  3251. description: 地区
  3252. type: integer
  3253. email:
  3254. description: Email地址(加密存储)
  3255. type: string
  3256. halfbodyphotourl:
  3257. description: 半身照地址
  3258. type: string
  3259. headurl:
  3260. description: 头像地址
  3261. type: string
  3262. ipaddress:
  3263. description: IP地址
  3264. type: string
  3265. isvalidate:
  3266. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3267. type: string
  3268. legalcardbackphotourl:
  3269. description: 法人身份证背面照地址
  3270. type: string
  3271. legalcardfrontphotourl:
  3272. description: 法人身份证正面照地址
  3273. type: string
  3274. legalpersonname:
  3275. description: 法人姓名(企业)
  3276. type: string
  3277. logincode:
  3278. description: 登录帐号 (加密存储)
  3279. type: string
  3280. memberareaid:
  3281. description: 所属会员ID
  3282. type: integer
  3283. mobile2:
  3284. description: 手机号码[明文-尚志]
  3285. type: string
  3286. mobilephone:
  3287. description: 手机号码 (加密存储)
  3288. type: string
  3289. modifiedby:
  3290. description: 修改人帐号
  3291. type: integer
  3292. modifiedtime:
  3293. description: 修改时间
  3294. type: string
  3295. nickname:
  3296. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3297. type: string
  3298. openmode:
  3299. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3300. type: integer
  3301. otherurl:
  3302. description: 其它图片地址[使用分号分隔]
  3303. type: string
  3304. postalcode:
  3305. description: 邮政编码
  3306. type: string
  3307. provinceid:
  3308. description: 省
  3309. type: integer
  3310. proxystatementurl:
  3311. description: 授权委托书
  3312. type: string
  3313. qq:
  3314. description: QQ(加密存储
  3315. type: string
  3316. referral:
  3317. description: 推荐人编码
  3318. type: string
  3319. remark:
  3320. description: 备注
  3321. type: string
  3322. removebeforestatus:
  3323. description: REMOVEBEFORESTATUS
  3324. type: integer
  3325. sex:
  3326. description: 性别 - 0:女 1:男
  3327. type: integer
  3328. signedstatus:
  3329. description: 账户一号签签约状态
  3330. type: integer
  3331. signpdfurl:
  3332. description: 签约pdf文件
  3333. type: string
  3334. subbranch:
  3335. description: 开户支行
  3336. type: string
  3337. taxpayernum:
  3338. description: 纳税人识别号
  3339. type: string
  3340. telphone:
  3341. description: 联系电话(加密存储)
  3342. type: string
  3343. userid:
  3344. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3345. type: integer
  3346. userinfotype:
  3347. description: 用户信息类型 - 1:个人 2:企业
  3348. type: integer
  3349. username:
  3350. description: 用户姓名
  3351. type: string
  3352. userstate:
  3353. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3354. type: integer
  3355. usertype:
  3356. description: 用户类型 - 1:投资者 2:机构
  3357. type: integer
  3358. videourl:
  3359. description: 视频地址
  3360. type: string
  3361. wechat:
  3362. description: 微信号 (加密存储)
  3363. type: string
  3364. required:
  3365. - userid
  3366. type: object
  3367. erms3.QryAuditContractRsp:
  3368. properties:
  3369. accountid:
  3370. description: 交易员ID
  3371. type: string
  3372. applystatus:
  3373. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3374. type: integer
  3375. curdeliveryqty:
  3376. description: 未交收量
  3377. type: integer
  3378. customername:
  3379. description: 采购方ID
  3380. type: string
  3381. deliverygoodsid:
  3382. description: 品种ID
  3383. type: string
  3384. deliveryqty:
  3385. description: 交收量
  3386. type: integer
  3387. enumdicname:
  3388. description: 单位名称
  3389. type: string
  3390. matchaccountid:
  3391. description: 业务员ID
  3392. type: string
  3393. matchcustomername:
  3394. description: 销售方ID
  3395. type: string
  3396. pricedqty:
  3397. description: 定价量
  3398. type: number
  3399. signdate:
  3400. description: 签订日期
  3401. type: string
  3402. spotcontractid:
  3403. description: 合同ID
  3404. type: string
  3405. totaldqty:
  3406. description: 合同量
  3407. type: number
  3408. unpricedqty:
  3409. description: 未定价量
  3410. type: number
  3411. wrstandardname:
  3412. description: 商品名称
  3413. type: string
  3414. required:
  3415. - matchcustomername
  3416. - spotcontractid
  3417. type: object
  3418. erms3.QryPendingBizRsp:
  3419. properties:
  3420. accountid:
  3421. description: 现货账户
  3422. type: string
  3423. areaname:
  3424. description: 所属部门
  3425. type: string
  3426. bizid:
  3427. description: 业务ID
  3428. type: string
  3429. bizname:
  3430. description: 业务名称
  3431. type: string
  3432. status:
  3433. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3434. type: integer
  3435. type:
  3436. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3437. type: integer
  3438. type: object
  3439. erms3.QueryBusinessInfoRsp:
  3440. properties:
  3441. businessid:
  3442. description: 业务ID.
  3443. type: integer
  3444. buyamount:
  3445. description: 采购额.
  3446. type: number
  3447. buyqty:
  3448. description: 采购量.
  3449. type: string
  3450. futurepl:
  3451. description: 期货盈亏.
  3452. type: number
  3453. futureqty:
  3454. description: 期货敞口.
  3455. type: string
  3456. goodsid:
  3457. description: 商品名称/商品代码.
  3458. type: string
  3459. hedgingqty:
  3460. description: 套保量.
  3461. type: string
  3462. sellamount:
  3463. description: 销售额.
  3464. type: number
  3465. sellqty:
  3466. description: 销售量.
  3467. type: string
  3468. spotmarketvalue:
  3469. description: 现货市值.
  3470. type: number
  3471. spotpl:
  3472. description: 浮动权益.
  3473. type: number
  3474. spotqty:
  3475. description: 现货量.
  3476. type: string
  3477. statu:
  3478. description: 状态,0-未结束 1-已结束.
  3479. type: integer
  3480. totalpl:
  3481. description: 总盈亏.
  3482. type: number
  3483. totalqty:
  3484. description: 总敞口.
  3485. type: string
  3486. type:
  3487. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3488. type: integer
  3489. type: object
  3490. erms3.QuerySpotContractAppleFormRsp:
  3491. properties:
  3492. goodses:
  3493. description: 合约列表
  3494. items:
  3495. $ref: '#/definitions/models.GoodsIDAndName'
  3496. type: array
  3497. oppositeusers:
  3498. description: 对方账号列表
  3499. items:
  3500. $ref: '#/definitions/erms3.CustomerInfo'
  3501. type: array
  3502. ouruser:
  3503. $ref: '#/definitions/erms3.CustomerInfo'
  3504. description: 我方账号
  3505. warehouseinfos:
  3506. description: 仓库信息列表
  3507. items:
  3508. $ref: '#/definitions/models.Warehouseinfo'
  3509. type: array
  3510. wrstandards:
  3511. description: 仓单标准列表
  3512. items:
  3513. $ref: '#/definitions/models.WRStandardInfo'
  3514. type: array
  3515. type: object
  3516. erms3.QuerySpotContractInfoRsp:
  3517. properties:
  3518. accountid:
  3519. description: 表示交易员ID.
  3520. type: integer
  3521. curdeliveryqty:
  3522. description: 表示未交收量.
  3523. type: number
  3524. customername:
  3525. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3526. type: string
  3527. deliverygoodsid:
  3528. description: 表示品种ID.
  3529. type: string
  3530. deliveryqty:
  3531. description: 表示交收量.
  3532. type: number
  3533. matchaccountid:
  3534. description: 表示业务员ID.
  3535. type: integer
  3536. matchcustomername:
  3537. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3538. type: string
  3539. priceqty:
  3540. description: 表示定价量.
  3541. type: number
  3542. relatedbizid:
  3543. description: 表示业务ID.
  3544. type: string
  3545. signdate:
  3546. description: 表示签订日期.
  3547. type: string
  3548. spotcontractid:
  3549. description: 合同ID
  3550. type: string
  3551. status:
  3552. description: 表示状态,0-履约中 1-已完成.
  3553. type: integer
  3554. totalqty:
  3555. description: 表示合同量.
  3556. type: number
  3557. unpricedqty:
  3558. description: 表示未定价量.
  3559. type: number
  3560. wrstandardname:
  3561. description: 表示商品ID.
  3562. type: string
  3563. type: object
  3564. erms3.QueryUserInfoAppliesRsp:
  3565. properties:
  3566. biznature:
  3567. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3568. type: integer
  3569. contactname:
  3570. description: 联系人
  3571. type: string
  3572. createtime:
  3573. description: 开户申请时间
  3574. type: string
  3575. userid:
  3576. description: 用户ID(自增ID)
  3577. type: integer
  3578. userinfotype:
  3579. description: 用户信息类型 - 1:个人 2:企业
  3580. type: integer
  3581. username:
  3582. description: 用户姓名
  3583. type: string
  3584. userstate:
  3585. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3586. type: integer
  3587. required:
  3588. - userid
  3589. type: object
  3590. erms3.QueryUserInfosRsp:
  3591. properties:
  3592. biznature:
  3593. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3594. type: integer
  3595. contactname:
  3596. description: 联系人
  3597. type: string
  3598. customername:
  3599. description: 客户名称(企业名称)
  3600. type: string
  3601. userid:
  3602. description: 用户ID
  3603. type: integer
  3604. userinfotype:
  3605. description: 用户信息类型 - 1:个人 2:企业
  3606. type: integer
  3607. userstatus:
  3608. description: 用户状态 - 1:正常 2:注销
  3609. type: integer
  3610. required:
  3611. - userid
  3612. type: object
  3613. erms3.SoptContractDetail:
  3614. properties:
  3615. deliverygoodsdesc:
  3616. description: 现货品种说明
  3617. type: string
  3618. deliverygoodsid:
  3619. description: 现货品种ID
  3620. type: integer
  3621. deliverygoodsname:
  3622. description: 现货品种名称
  3623. type: string
  3624. pointdesc:
  3625. description: 点价描述
  3626. type: string
  3627. producttype:
  3628. description: 产品类型 1:标准仓单 2:等标 3:非标
  3629. type: integer
  3630. producttypename:
  3631. description: 产品类型名称
  3632. type: string
  3633. spotPointOrderVoList:
  3634. description: 点价列表
  3635. items:
  3636. $ref: '#/definitions/erms3.SpotPointOrder'
  3637. type: array
  3638. spotPriceOrderList:
  3639. description: 定价列表
  3640. items:
  3641. $ref: '#/definitions/erms3.SpotPriceOrder'
  3642. type: array
  3643. unitname:
  3644. description: 单位名称
  3645. type: string
  3646. warehouseid:
  3647. description: 仓库ID
  3648. type: integer
  3649. warehousename:
  3650. description: 仓库名称
  3651. type: string
  3652. wrstandardid:
  3653. description: 交易标的ID
  3654. type: integer
  3655. wrstandardname:
  3656. description: 交易标的名称
  3657. type: string
  3658. required:
  3659. - deliverygoodsid
  3660. - producttype
  3661. - unitname
  3662. - warehouseid
  3663. - wrstandardid
  3664. - wrstandardname
  3665. type: object
  3666. erms3.SpotPointOrder:
  3667. properties:
  3668. basic:
  3669. description: 基差
  3670. type: number
  3671. deliveryenddate:
  3672. description: 交收结束日期
  3673. type: string
  3674. deliverystartdate:
  3675. description: 交收开始日期
  3676. type: string
  3677. enddate:
  3678. description: 点价结束日期
  3679. type: string
  3680. goodsid:
  3681. description: 商品ID
  3682. type: integer
  3683. goodsname:
  3684. description: 商品名称
  3685. type: string
  3686. qty:
  3687. description: 数量
  3688. type: number
  3689. startdate:
  3690. description: 点价开始日期
  3691. type: string
  3692. required:
  3693. - basic
  3694. - goodsid
  3695. - qty
  3696. type: object
  3697. erms3.SpotPriceOrder:
  3698. properties:
  3699. amount:
  3700. description: 金额
  3701. type: number
  3702. deliveryenddate:
  3703. description: 交收结束日期
  3704. type: string
  3705. deliverystartdate:
  3706. description: 交收开始日期
  3707. type: string
  3708. price:
  3709. description: 价格
  3710. type: number
  3711. qty:
  3712. description: 数量
  3713. type: number
  3714. required:
  3715. - amount
  3716. - price
  3717. - qty
  3718. type: object
  3719. hsby.GetHsbyMyCountRsp:
  3720. properties:
  3721. myCouponCount:
  3722. description: 我的优惠卷数量
  3723. type: integer
  3724. myOrderDetailListingCount:
  3725. description: 我的订单求购中数量
  3726. type: integer
  3727. myOrderDetailPreCount:
  3728. description: 我的订单抢购中数量
  3729. type: integer
  3730. myPackageUnReceiveCount:
  3731. description: 我的包裹待收货数量
  3732. type: integer
  3733. myPackageUnSendCount:
  3734. description: 我的包裹待发货数量
  3735. type: integer
  3736. myPayOrderCount:
  3737. description: 我的订单待付款数量
  3738. type: integer
  3739. type: object
  3740. hsby.QueryProvincesAndCitiesRsp:
  3741. properties:
  3742. cities:
  3743. description: 市
  3744. items:
  3745. $ref: '#/definitions/models.Division'
  3746. type: array
  3747. province:
  3748. $ref: '#/definitions/models.Division'
  3749. description: 省
  3750. type: object
  3751. models.Arearole:
  3752. properties:
  3753. createtime:
  3754. description: 创建时间
  3755. type: string
  3756. creatorid:
  3757. description: 创建人ID
  3758. type: integer
  3759. fromuserid:
  3760. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3761. type: integer
  3762. isreturnscore:
  3763. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3764. type: integer
  3765. modifierid:
  3766. description: 修改人ID
  3767. type: integer
  3768. modifytime:
  3769. description: 修改时间
  3770. type: string
  3771. orgtype:
  3772. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3773. type: integer
  3774. outuserid:
  3775. description: 外部账户[场外期权做市商]
  3776. type: string
  3777. parentuserid:
  3778. description: 上级组织机构(组织机构)
  3779. type: integer
  3780. roletype:
  3781. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3782. type: integer
  3783. rootuserid:
  3784. description: 顶级组织机构用户ID(组织机构)
  3785. type: integer
  3786. shoppassword:
  3787. description: 商城店铺登陆密码(商城店铺角色使用)
  3788. type: string
  3789. sublevelpath:
  3790. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3791. type: string
  3792. suborgtype:
  3793. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3794. type: integer
  3795. tradeaccountid:
  3796. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3797. type: integer
  3798. transurl:
  3799. description: 物流地址(物流机构)
  3800. type: string
  3801. userid:
  3802. description: 机构用户ID其他做市关系,都设置为 1
  3803. type: integer
  3804. required:
  3805. - roletype
  3806. - userid
  3807. type: object
  3808. models.Clientfixedadconfig:
  3809. properties:
  3810. adsort:
  3811. description: 排序
  3812. type: integer
  3813. adtype:
  3814. description: 广告位类型 - 1:新品抢购(HSBY)
  3815. type: integer
  3816. areauserid:
  3817. description: 所属机构ID
  3818. type: integer
  3819. createdate:
  3820. description: 创建时间
  3821. type: string
  3822. creatorid:
  3823. description: 创建人
  3824. type: integer
  3825. imagepath:
  3826. description: 图片
  3827. type: string
  3828. isshow:
  3829. description: 是否展示 - 0:不展示 1:展示
  3830. type: integer
  3831. modifierid:
  3832. description: 操作人
  3833. type: integer
  3834. recsize:
  3835. description: 推荐尺寸
  3836. type: string
  3837. title:
  3838. description: 标题
  3839. type: string
  3840. updatedate:
  3841. description: 更新时间
  3842. type: string
  3843. urlcontent:
  3844. description: 链接(地址或商品ID)
  3845. type: string
  3846. urltype:
  3847. description: 链接类型 - 1:直接地址 2:商品ID
  3848. type: integer
  3849. required:
  3850. - adsort
  3851. - adtype
  3852. type: object
  3853. models.Division:
  3854. properties:
  3855. autoid:
  3856. description: 自增ID
  3857. type: integer
  3858. divisioncode:
  3859. description: 行政代码
  3860. type: string
  3861. divisionlevel:
  3862. description: 行政级别
  3863. type: string
  3864. divisionname:
  3865. description: 行政名称
  3866. type: string
  3867. modifierid:
  3868. description: 修改人
  3869. type: integer
  3870. modifytime:
  3871. description: 修改时间
  3872. type: string
  3873. parentcode:
  3874. description: 上级行政代码
  3875. type: string
  3876. pathname:
  3877. description: 路径名称
  3878. type: string
  3879. postcode:
  3880. description: 邮政编码
  3881. type: string
  3882. separablename:
  3883. description: 可拆分的全称
  3884. type: string
  3885. shortcode:
  3886. description: 地区简码
  3887. type: string
  3888. required:
  3889. - autoid
  3890. - divisioncode
  3891. type: object
  3892. models.Enumdicitem:
  3893. properties:
  3894. autoid:
  3895. description: 自增ID
  3896. type: integer
  3897. bankmappedvalue:
  3898. description: 银行服务对应值
  3899. type: string
  3900. enumdiccode:
  3901. description: 所属枚举代码
  3902. type: string
  3903. enumdicid:
  3904. description: 所属枚举ID
  3905. type: integer
  3906. enumdicname:
  3907. description: 枚举项名称
  3908. type: string
  3909. enumitemname:
  3910. description: 枚举项值
  3911. type: integer
  3912. enumitemstatus:
  3913. description: 枚举项状态 - 1.启用 2.不启用
  3914. type: integer
  3915. enumitemvalue:
  3916. description: 通用值 - [币种通用简写]
  3917. type: string
  3918. param1:
  3919. description: 参数1[币种:币种小数位]
  3920. type: string
  3921. param2:
  3922. description: 参数1[币种:币种显示单位]
  3923. type: string
  3924. remark:
  3925. description: 备注
  3926. type: string
  3927. required:
  3928. - autoid
  3929. - enumdiccode
  3930. - enumdicid
  3931. - enumitemname
  3932. type: object
  3933. models.Ermcp3AreaSpot:
  3934. properties:
  3935. areauserid:
  3936. description: 所属机构
  3937. type: integer
  3938. convertratio:
  3939. description: 套保系数
  3940. type: number
  3941. decreaseqty:
  3942. description: 减少数量=-(销售已定价数量+采购计划数量)
  3943. type: number
  3944. enumdicname:
  3945. description: 单位名称
  3946. type: string
  3947. increaseqty:
  3948. description: 增加数量=销售计划数量+采购已定价数量
  3949. type: number
  3950. oritoalspotqty:
  3951. description: 昨日数量
  3952. type: number
  3953. totalspotqty:
  3954. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3955. type: number
  3956. unitid:
  3957. description: 现货商品单位id
  3958. type: integer
  3959. updatetime:
  3960. description: 更新时间
  3961. type: string
  3962. wrstandardcode:
  3963. description: 现货商品代码
  3964. type: string
  3965. wrstandardid:
  3966. description: 现货商品ID(SEQ_WRSTANDARD)
  3967. type: integer
  3968. wrstandardname:
  3969. description: 现货商品名称
  3970. type: string
  3971. type: object
  3972. models.Ermcp3AreaSpotDetail:
  3973. properties:
  3974. contracttype:
  3975. description: 合同类型 1-采购 -1-销售
  3976. type: integer
  3977. createtime:
  3978. description: 创建时间
  3979. type: string
  3980. enumdicname:
  3981. description: 现货商品单位名称
  3982. type: string
  3983. logtype:
  3984. description: 记录类型 1-套保 2-现货合同
  3985. type: integer
  3986. qty:
  3987. description: 数量
  3988. type: number
  3989. recordname:
  3990. description: 类型名称
  3991. type: string
  3992. relatedid:
  3993. description: 套保计划ID/现货合同ID
  3994. type: string
  3995. relatedno:
  3996. description: 编号
  3997. type: string
  3998. strtime:
  3999. description: 时间
  4000. type: string
  4001. wrstandardcode:
  4002. description: 现货商品代码
  4003. type: string
  4004. wrstandardid:
  4005. description: 现货商品ID(SEQ_WRSTANDARD)
  4006. type: integer
  4007. wrstandardname:
  4008. description: 现货商品名称
  4009. type: string
  4010. type: object
  4011. models.Ermcp3AreaSpotPLReport:
  4012. properties:
  4013. accountid:
  4014. description: 期货账户ID (作废, 默认为0)
  4015. type: integer
  4016. accountname:
  4017. description: 机构名称
  4018. type: string
  4019. actualpl:
  4020. description: 现货损益
  4021. type: number
  4022. areauserid:
  4023. description: 所属机构\交易用户ID
  4024. type: integer
  4025. begindate:
  4026. description: 开始交易日
  4027. type: string
  4028. biztype:
  4029. description: 业务类型 - 1:套保 2:套利
  4030. type: integer
  4031. brandname:
  4032. description: 品牌名称
  4033. type: string
  4034. curamount:
  4035. description: 期末额
  4036. type: number
  4037. curaverageprice:
  4038. description: 期末均价
  4039. type: number
  4040. curbuyamount:
  4041. description: 期末采购总额
  4042. type: number
  4043. curbuyqty:
  4044. description: 期末采购总量
  4045. type: number
  4046. curmarketvalue:
  4047. description: 参考市值(期末市值)
  4048. type: number
  4049. curqty:
  4050. description: 期末量
  4051. type: number
  4052. currencyid:
  4053. description: 结算币种ID【原值】
  4054. type: integer
  4055. currencyname:
  4056. description: 币种名称
  4057. type: string
  4058. cursellamount:
  4059. description: 期末销售总额
  4060. type: number
  4061. cursellqty:
  4062. description: 期末销售总量
  4063. type: number
  4064. curspotprice:
  4065. description: 参考市价(最新价)
  4066. type: number
  4067. cycletime:
  4068. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4069. type: string
  4070. cycletype:
  4071. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4072. type: integer
  4073. deliverygoodscode:
  4074. description: 现货商品代码
  4075. type: string
  4076. deliverygoodsid:
  4077. description: 现货品种ID
  4078. type: integer
  4079. deliverygoodsname:
  4080. description: 现货商品名称
  4081. type: string
  4082. enddate:
  4083. description: 结束交易日
  4084. type: string
  4085. enumdicname:
  4086. description: 现货商品单位名称
  4087. type: string
  4088. floatpl:
  4089. description: 浮动损益
  4090. type: number
  4091. goodsunitid:
  4092. description: 现货商品单位id
  4093. type: integer
  4094. oriamount:
  4095. description: 期初额
  4096. type: number
  4097. oriaverageprice:
  4098. description: 期初均价
  4099. type: number
  4100. oribuyamount:
  4101. description: 期初采购总额
  4102. type: number
  4103. oribuyqty:
  4104. description: 期初采购总量
  4105. type: number
  4106. oriqty:
  4107. description: 期初量
  4108. type: number
  4109. orisellamount:
  4110. description: 期初销售总额
  4111. type: number
  4112. orisellqty:
  4113. description: 期初销售总量
  4114. type: number
  4115. reckondate:
  4116. description: 日照时期(yyyyMMdd)
  4117. type: string
  4118. spotgoodsbrandid:
  4119. description: 现货品牌ID
  4120. type: integer
  4121. todaybuyamount:
  4122. description: 今日采购额(今采购额)
  4123. type: number
  4124. todaybuyaverageprice:
  4125. description: 今日采购均价
  4126. type: number
  4127. todaybuyqty:
  4128. description: 今日采购量(今采购量)
  4129. type: number
  4130. todayinqty:
  4131. description: 今日入库量(今入库量)
  4132. type: number
  4133. todayoutqty:
  4134. description: 今日出库量(今出库量)
  4135. type: number
  4136. todaysellamount:
  4137. description: 今日销售额(今销售额)
  4138. type: number
  4139. todaysellaverageprice:
  4140. description: 今日销售均价
  4141. type: number
  4142. todaysellqty:
  4143. description: 今日销售量(今销售量)
  4144. type: number
  4145. unitid:
  4146. description: 品类单位id
  4147. type: integer
  4148. unitidname:
  4149. description: 品类单位名称
  4150. type: string
  4151. updatetime:
  4152. description: 更新时间
  4153. type: string
  4154. wrfactortypeid:
  4155. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4156. type: integer
  4157. wrstandardcode:
  4158. description: 品类代码
  4159. type: string
  4160. wrstandardid:
  4161. description: 现货品类ID
  4162. type: integer
  4163. wrstandardname:
  4164. description: 品类名称
  4165. type: string
  4166. type: object
  4167. models.Ermcp3AreaStock:
  4168. properties:
  4169. brandname:
  4170. description: 品牌名称
  4171. type: string
  4172. curstock:
  4173. description: 期末库存量(今日量)
  4174. type: number
  4175. deliverygoodscode:
  4176. description: 现货品种代码
  4177. type: string
  4178. deliverygoodsid:
  4179. description: 现货品种id
  4180. type: integer
  4181. deliverygoodsname:
  4182. description: 现货品种名称
  4183. type: string
  4184. enumdicname:
  4185. description: 单位名称
  4186. type: string
  4187. goodsunitid:
  4188. description: 现货商品单位id
  4189. type: integer
  4190. oristock:
  4191. description: 期初库存量(昨日量)
  4192. type: number
  4193. spotgoodsbrandid:
  4194. description: 现货品牌ID
  4195. type: integer
  4196. todaybuyinqty:
  4197. description: 今日采购入库量
  4198. type: number
  4199. todayproduceinqty:
  4200. description: 今日生产入库量
  4201. type: number
  4202. todayproduceoutqty:
  4203. description: 今日生产出库量
  4204. type: number
  4205. todayselloutqty:
  4206. description: 今日销售出库量
  4207. type: number
  4208. unitid:
  4209. description: 单位id
  4210. type: integer
  4211. updatetime:
  4212. description: 更新时间
  4213. type: string
  4214. userid:
  4215. description: 机构ID
  4216. type: integer
  4217. username:
  4218. description: 机构名称
  4219. type: string
  4220. warehousecode:
  4221. description: 仓库代码
  4222. type: string
  4223. warehouseinfoid:
  4224. description: 仓库ID
  4225. type: string
  4226. warehousename:
  4227. description: 仓库名称
  4228. type: string
  4229. warehousetype:
  4230. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4231. type: integer
  4232. wrstandardcode:
  4233. description: 品类代码
  4234. type: string
  4235. wrstandardid:
  4236. description: 品类ID
  4237. type: string
  4238. wrstandardname:
  4239. description: 品类名称
  4240. type: string
  4241. required:
  4242. - userid
  4243. type: object
  4244. models.Ermcp3AreaStockApply:
  4245. properties:
  4246. applyid:
  4247. description: 申请人
  4248. type: integer
  4249. applyname:
  4250. description: 申请人名称
  4251. type: string
  4252. applyremark:
  4253. description: 申请备注
  4254. type: string
  4255. applysrc:
  4256. description: 申请来源 - 1:管理端 2:终端
  4257. type: integer
  4258. applystatus:
  4259. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4260. type: integer
  4261. applytime:
  4262. description: 申请时间
  4263. type: string
  4264. auditid:
  4265. description: 审核人
  4266. type: integer
  4267. auditname:
  4268. description: 审核人名称
  4269. type: string
  4270. auditremark:
  4271. description: 审核备注
  4272. type: string
  4273. auditsrc:
  4274. description: 审核来源 - 1:管理端 2:终端
  4275. type: integer
  4276. audittime:
  4277. description: 审核时间
  4278. type: string
  4279. audittradedate:
  4280. description: 审核交易日(yyyyMMdd)
  4281. type: string
  4282. brandname:
  4283. description: 品牌名称
  4284. type: string
  4285. buynickname:
  4286. description: 采购方昵称
  4287. type: string
  4288. buyuserid:
  4289. description: 采购方userid
  4290. type: integer
  4291. buyusername:
  4292. description: 采购方名称
  4293. type: string
  4294. contractno:
  4295. description: 合同编号
  4296. type: string
  4297. contractqty:
  4298. description: 合同量
  4299. type: number
  4300. contracttype:
  4301. description: 现货合同类型 - 1:采购 -1:销售
  4302. type: integer
  4303. deliverygoodscode:
  4304. description: 现货品种代码
  4305. type: string
  4306. deliverygoodsid:
  4307. description: 现货品种id
  4308. type: integer
  4309. deliverygoodsname:
  4310. description: 现货品种名称
  4311. type: string
  4312. detailjson:
  4313. description: 明细数据
  4314. type: string
  4315. enumdicname:
  4316. description: 现货商品单位名称
  4317. type: string
  4318. inoutapplyid:
  4319. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4320. type: string
  4321. inouttype:
  4322. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4323. type: integer
  4324. pricetype:
  4325. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4326. type: integer
  4327. qty:
  4328. description: 数量
  4329. type: number
  4330. sellnickname:
  4331. description: 销售方昵称
  4332. type: string
  4333. selluserid:
  4334. description: 销售方userid
  4335. type: integer
  4336. sellusername:
  4337. description: 销售方名称
  4338. type: string
  4339. spotcontractid:
  4340. description: 关联现货合同ID
  4341. type: string
  4342. spotgoodsbrandid:
  4343. description: 现货品牌ID
  4344. type: integer
  4345. unitid:
  4346. description: 单位id
  4347. type: integer
  4348. userid:
  4349. description: 机构ID
  4350. type: integer
  4351. warehousecode:
  4352. description: 仓库代码
  4353. type: string
  4354. warehouseinfoid:
  4355. description: 现货仓库ID
  4356. type: string
  4357. warehousename:
  4358. description: 仓库名称
  4359. type: string
  4360. warehousetype:
  4361. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4362. type: integer
  4363. wrstandardcode:
  4364. description: 品类代码
  4365. type: string
  4366. wrstandardid:
  4367. description: 品类ID
  4368. type: integer
  4369. wrstandardname:
  4370. description: 品类名称
  4371. type: string
  4372. type: object
  4373. models.Ermcp3AreaStockApplySum:
  4374. properties:
  4375. brandname:
  4376. description: 品牌名称
  4377. type: string
  4378. inouttype:
  4379. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4380. type: integer
  4381. spotcontractid:
  4382. description: 关联现货合同ID
  4383. type: string
  4384. spotgoodsbrandid:
  4385. description: 品牌id
  4386. type: integer
  4387. totalqty:
  4388. description: 总数量
  4389. type: number
  4390. wrstandardid:
  4391. description: 品类id
  4392. type: integer
  4393. wrstandardname:
  4394. description: 品类名称
  4395. type: string
  4396. type: object
  4397. models.Ermcp3AreaStockReportEx:
  4398. properties:
  4399. begindate:
  4400. description: 开始交易日
  4401. type: string
  4402. brandname:
  4403. description: 品牌名称
  4404. type: string
  4405. curstock:
  4406. description: 期末库存量
  4407. type: number
  4408. cycletime:
  4409. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4410. type: string
  4411. cycletype:
  4412. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4413. type: integer
  4414. deliverygoodscode:
  4415. description: 现货品种代码
  4416. type: string
  4417. deliverygoodsid:
  4418. description: 现货品种id
  4419. type: integer
  4420. deliverygoodsname:
  4421. description: 现货品种名称
  4422. type: string
  4423. diffqty:
  4424. description: 库存变化量 = 期末 - 期初
  4425. type: number
  4426. enddate:
  4427. description: 结束交易日
  4428. type: string
  4429. enumdicname:
  4430. description: 单位名称
  4431. type: string
  4432. goodsunitid:
  4433. description: 现货单位id
  4434. type: integer
  4435. oristock:
  4436. description: 期初库存量
  4437. type: number
  4438. reckondate:
  4439. description: 日照时期(yyyyMMdd)
  4440. type: string
  4441. spotgoodsbrandid:
  4442. description: 现货品牌ID
  4443. type: integer
  4444. todaybuyinqty:
  4445. description: 今采购入库量
  4446. type: number
  4447. todayproduceinqty:
  4448. description: 今内部入库量
  4449. type: number
  4450. todayproduceoutqty:
  4451. description: 今内部出库量
  4452. type: number
  4453. todayselloutqty:
  4454. description: 今销售出库量
  4455. type: number
  4456. unbuyinqty:
  4457. description: 采购未入库量(数据库未找到相关字段?)
  4458. type: number
  4459. unitid:
  4460. description: 品类单位id
  4461. type: integer
  4462. unselloutqty:
  4463. description: 销售未出库量(数据库未找到相关字段?)
  4464. type: number
  4465. updatetime:
  4466. description: 更新时间
  4467. type: string
  4468. userid:
  4469. description: 机构ID
  4470. type: integer
  4471. username:
  4472. description: 机构名称
  4473. type: string
  4474. warehousecode:
  4475. description: 仓库代码
  4476. type: string
  4477. warehouseinfoid:
  4478. description: 仓库ID
  4479. type: string
  4480. warehousename:
  4481. description: 仓库名称
  4482. type: string
  4483. warehousetype:
  4484. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4485. type: integer
  4486. wrstandardcode:
  4487. description: 品类代码
  4488. type: string
  4489. wrstandardid:
  4490. description: 品类ID
  4491. type: integer
  4492. wrstandardname:
  4493. description: 品类名称
  4494. type: string
  4495. type: object
  4496. models.Ermcp3ArealSumPL:
  4497. properties:
  4498. accountname:
  4499. description: 机构名称
  4500. type: string
  4501. areauserid:
  4502. description: 所属机构\交易用户ID
  4503. type: integer
  4504. begindate:
  4505. description: 开始交易日
  4506. type: string
  4507. currencyid:
  4508. description: 结算币种ID
  4509. type: integer
  4510. currencyname:
  4511. description: 币种名称
  4512. type: string
  4513. cycletime:
  4514. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4515. type: string
  4516. cycletype:
  4517. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4518. type: integer
  4519. enddate:
  4520. description: 结束交易日
  4521. type: string
  4522. enumdicname:
  4523. description: 单位名称(套保品种)
  4524. type: string
  4525. futureactualpl:
  4526. description: 期货损益
  4527. type: number
  4528. futurefloatpl:
  4529. description: 期货浮动损益
  4530. type: number
  4531. futurespotratio:
  4532. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4533. type: number
  4534. goodsunitid:
  4535. description: 套保品种单位id
  4536. type: integer
  4537. hedgeexposurepl:
  4538. description: 套保敞口损益
  4539. type: number
  4540. middlegoodscode:
  4541. description: 套保品种代码
  4542. type: string
  4543. middlegoodsid:
  4544. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4545. type: integer
  4546. middlegoodsname:
  4547. description: 套保品种名称
  4548. type: string
  4549. reckondate:
  4550. description: 日照时期(yyyyMMdd)
  4551. type: string
  4552. spotactualpl:
  4553. description: 现货损益
  4554. type: number
  4555. spotfloatpl:
  4556. description: 现货浮动损益
  4557. type: number
  4558. sumactualpl:
  4559. description: 实际损益 = (ActualPL + FutureActualPL)
  4560. type: number
  4561. sumpl:
  4562. description: 总敞口损益 | 汇总损益
  4563. type: number
  4564. totalfutureqty:
  4565. description: 期货头寸总量
  4566. type: number
  4567. totalneedhedgeqty:
  4568. description: 应套保总量
  4569. type: number
  4570. totalspotqty:
  4571. description: 现货头寸总量
  4572. type: number
  4573. updatetime:
  4574. description: 更新时间
  4575. type: string
  4576. type: object
  4577. models.Ermcp3Brand:
  4578. properties:
  4579. areauserid:
  4580. description: 用户id
  4581. type: integer
  4582. brandid:
  4583. description: 品牌id
  4584. type: integer
  4585. brandname:
  4586. description: 品牌名称
  4587. type: string
  4588. deliverygoodsid:
  4589. description: 品种ID
  4590. type: integer
  4591. isvalid:
  4592. description: 是否有效
  4593. type: integer
  4594. type: object
  4595. models.Ermcp3Contract:
  4596. properties:
  4597. accountid:
  4598. description: 期货账户id
  4599. type: string
  4600. amount:
  4601. description: 金额 [1:一口价、3:暂定价]
  4602. type: number
  4603. attachment:
  4604. description: 附件
  4605. type: string
  4606. auditremark:
  4607. description: 审核意见
  4608. type: string
  4609. audittime:
  4610. description: 审核时间
  4611. type: string
  4612. biztype:
  4613. description: 业务类型 1-套保 2-套利
  4614. type: integer
  4615. brandname:
  4616. description: 品牌名称
  4617. type: string
  4618. buynickname:
  4619. description: 销售方昵称
  4620. type: string
  4621. buyuserid:
  4622. description: 采购方ID
  4623. type: integer
  4624. buyusername:
  4625. description: 采购方名称
  4626. type: string
  4627. contracctstatus:
  4628. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4629. type: integer
  4630. contractmargin:
  4631. description: 合同保证金
  4632. type: number
  4633. contractno:
  4634. description: 现货合同编号
  4635. type: string
  4636. contracttype:
  4637. description: 现货合同类型 - 1:采购 -1:销售
  4638. type: integer
  4639. convertfactor:
  4640. description: 标仓系数(品类)
  4641. type: number
  4642. createtime:
  4643. description: 创建时间
  4644. type: string
  4645. currencyid:
  4646. description: 币种id
  4647. type: integer
  4648. currencyname:
  4649. description: 币种名称
  4650. type: string
  4651. deliveryenddate:
  4652. description: 交收期(结束)
  4653. type: string
  4654. deliverygoodscode:
  4655. description: 现货品种代码
  4656. type: string
  4657. deliverygoodsid:
  4658. description: 现货品种ID
  4659. type: integer
  4660. deliverygoodsname:
  4661. description: 现货品种名称
  4662. type: string
  4663. deliverystartdate:
  4664. description: 交收期(开始)
  4665. type: string
  4666. enddate:
  4667. description: 点价结束日期 [2:点价 3:暂定价]
  4668. type: string
  4669. enumdicname:
  4670. description: 单位名称
  4671. type: string
  4672. goodscode:
  4673. description: 点价合约代码
  4674. type: string
  4675. goodsid:
  4676. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4677. type: integer
  4678. goodsname:
  4679. description: 点价商品名称
  4680. type: string
  4681. margin:
  4682. description: 当前保证金
  4683. type: number
  4684. meruserid:
  4685. description: 跟单员id
  4686. type: integer
  4687. meruserlogincode:
  4688. description: 跟单员登录代码
  4689. type: string
  4690. merusername:
  4691. description: 跟单员名称
  4692. type: string
  4693. price:
  4694. description: 价格\暂定价 [1:一口价、3:暂定价]
  4695. type: number
  4696. pricemove:
  4697. description: 升贴水 [2:点价 3:暂定价]
  4698. type: number
  4699. pricetype:
  4700. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4701. type: integer
  4702. producttype:
  4703. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4704. type: integer
  4705. qty:
  4706. description: 数量
  4707. type: number
  4708. remark:
  4709. description: 备注
  4710. type: string
  4711. saleuserid:
  4712. description: 业务员id
  4713. type: integer
  4714. saleuserlogincode:
  4715. description: 业务员登录代码
  4716. type: string
  4717. saleusername:
  4718. description: 业务员名称
  4719. type: string
  4720. sellnickname:
  4721. description: 采购方昵称
  4722. type: string
  4723. selluserid:
  4724. description: 销售方ID
  4725. type: integer
  4726. sellusername:
  4727. description: 销售方名称
  4728. type: string
  4729. spotcontractid:
  4730. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4731. type: string
  4732. spotgoodsbrandid:
  4733. description: 现货品牌ID(DGFactoryItem表的ID)
  4734. type: integer
  4735. spotgoodsdesc:
  4736. description: 商品型号
  4737. type: string
  4738. startdate:
  4739. description: 点价开始日期 [2:点价 3:暂定价]
  4740. type: string
  4741. subjectid:
  4742. description: 交易主体ID
  4743. type: integer
  4744. subjectname:
  4745. description: 交易主体名称
  4746. type: string
  4747. tradeuserid:
  4748. description: 交易员id
  4749. type: integer
  4750. tradeuserlogincode:
  4751. description: 交易员登录代码
  4752. type: string
  4753. tradeusername:
  4754. description: 交易员名称
  4755. type: string
  4756. unitid:
  4757. description: 单位id(取品类上的单位id)
  4758. type: integer
  4759. updatetime:
  4760. description: 更新时间
  4761. type: string
  4762. userid:
  4763. description: 所属机构ID
  4764. type: integer
  4765. vatrate:
  4766. description: 增值税率
  4767. type: number
  4768. wrstandardcode:
  4769. description: 品类代码
  4770. type: string
  4771. wrstandardid:
  4772. description: 品类ID
  4773. type: integer
  4774. wrstandardname:
  4775. description: 品类名称
  4776. type: string
  4777. type: object
  4778. models.Ermcp3ExposureContractDetail:
  4779. properties:
  4780. biztype:
  4781. description: 业务类型 1-套保 2-套利
  4782. type: integer
  4783. brandname:
  4784. description: 品牌名称
  4785. type: string
  4786. buyuserid:
  4787. description: 采购方id
  4788. type: integer
  4789. buyusername:
  4790. description: 采购方名称
  4791. type: string
  4792. contractno:
  4793. description: 合同编号
  4794. type: string
  4795. contracttype:
  4796. description: 现货合同类型 - 1:采购 -1:销售
  4797. type: integer
  4798. convertfactor:
  4799. description: 标仓系数
  4800. type: number
  4801. convertratio:
  4802. description: 折算系数(套保品种)
  4803. type: number
  4804. curqty:
  4805. description: 今定价量
  4806. type: number
  4807. deliverygoodscode:
  4808. description: 现货商品代码
  4809. type: string
  4810. deliverygoodsid:
  4811. description: 现货商品id
  4812. type: integer
  4813. deliverygoodsname:
  4814. description: 现货商品名称
  4815. type: string
  4816. diffhedgeqty:
  4817. description: 套保变动量
  4818. type: number
  4819. diffneedhedgeqty:
  4820. description: 应套保变动量
  4821. type: number
  4822. diffqty:
  4823. description: 套保品种今变动量
  4824. type: number
  4825. enumdicname:
  4826. description: 单位名称
  4827. type: string
  4828. mgunitname:
  4829. description: 套保品种单位名称
  4830. type: string
  4831. middlegoodscode:
  4832. description: 套保品种代码
  4833. type: string
  4834. middlegoodsid:
  4835. description: 套保品种id
  4836. type: integer
  4837. middlegoodsname:
  4838. description: 套保品种名称
  4839. type: string
  4840. needarbitrageratio:
  4841. description: 应套利比例
  4842. type: number
  4843. needhedgeratio:
  4844. description: 应套保比例
  4845. type: number
  4846. pricedqty:
  4847. description: 已定价量
  4848. type: number
  4849. qty:
  4850. description: 合同量
  4851. type: number
  4852. selluserid:
  4853. description: 销售方id
  4854. type: integer
  4855. sellusername:
  4856. description: 销售方名称
  4857. type: string
  4858. spotcontractid:
  4859. description: 合同id
  4860. type: string
  4861. todaypricedqty:
  4862. description: 今定价量
  4863. type: number
  4864. tradedate:
  4865. description: 交易日
  4866. type: string
  4867. unitid:
  4868. description: 品类单位id
  4869. type: integer
  4870. userid:
  4871. description: 机构id
  4872. type: integer
  4873. username:
  4874. description: 交易用户
  4875. type: string
  4876. wrstandardcode:
  4877. description: 品类代码
  4878. type: string
  4879. wrstandardid:
  4880. description: 品类id
  4881. type: integer
  4882. wrstandardname:
  4883. description: 品类名称
  4884. type: string
  4885. type: object
  4886. models.Ermcp3ExposureDetail:
  4887. properties:
  4888. areauserid:
  4889. description: 机构ID
  4890. type: integer
  4891. changeQty:
  4892. description: 套保变动量
  4893. type: number
  4894. contracttype:
  4895. description: 现货合同类型 - 1:采购 -1:销售
  4896. type: integer
  4897. convertfactor:
  4898. description: 标仓系数
  4899. type: number
  4900. convertratio:
  4901. description: 折算系数
  4902. type: number
  4903. createtime:
  4904. description: 时间
  4905. type: string
  4906. enumdicname:
  4907. description: 现货商品单位名称
  4908. type: string
  4909. logtype:
  4910. description: 类型 - 1:套保计划 2:现货合同
  4911. type: integer
  4912. mgunitid:
  4913. description: 套保品种单位id
  4914. type: integer
  4915. mgunitidname:
  4916. description: 套保品种单位名称
  4917. type: string
  4918. middlegoodsId:
  4919. description: 套保商品id
  4920. type: integer
  4921. middlegoodscode:
  4922. description: 套保商品代码
  4923. type: string
  4924. middlegoodsname:
  4925. description: 套保商品名称
  4926. type: string
  4927. qty:
  4928. description: 数量
  4929. type: number
  4930. relateNo:
  4931. description: 现货合同/套保计划编号
  4932. type: string
  4933. unitid:
  4934. description: 现货商品单位id
  4935. type: integer
  4936. wrstandardcode:
  4937. description: 现货商品代码
  4938. type: string
  4939. wrstandardid:
  4940. description: 现货商品ID(SEQ_WRSTANDARD)
  4941. type: integer
  4942. wrstandardname:
  4943. description: 现货商品名称
  4944. type: string
  4945. type: object
  4946. models.Ermcp3ExposureFutuDetail:
  4947. properties:
  4948. accountid:
  4949. description: 交易账户id
  4950. type: integer
  4951. accountname:
  4952. description: 交易账户
  4953. type: string
  4954. begindate:
  4955. description: 开始交易日
  4956. type: string
  4957. buyorsell:
  4958. description: 方向 0-买 1-卖
  4959. type: integer
  4960. diffmgqty:
  4961. description: 套保品种今变化量
  4962. type: number
  4963. diffneedqty:
  4964. description: 应套保总量变化量
  4965. type: number
  4966. difftradeqty:
  4967. description: 交易品种今变化量
  4968. type: number
  4969. enddate:
  4970. description: 结束交易日
  4971. type: string
  4972. enumdicname:
  4973. description: 单位名称
  4974. type: string
  4975. goodscode:
  4976. description: 商品代码
  4977. type: string
  4978. goodsid:
  4979. description: 商品id
  4980. type: integer
  4981. goodsname:
  4982. description: 商品名称
  4983. type: string
  4984. holdqty:
  4985. description: 期末持仓量
  4986. type: number
  4987. middlegoodscode:
  4988. description: 套保商品代码
  4989. type: string
  4990. middlegoodsid:
  4991. description: 套保商品id
  4992. type: integer
  4993. middlegoodsname:
  4994. description: 套保商品名称
  4995. type: string
  4996. oriholdqty:
  4997. description: 期初持仓量
  4998. type: number
  4999. todaycloseqty:
  5000. description: 今平仓量
  5001. type: number
  5002. todayopenqty:
  5003. description: 今开仓量
  5004. type: number
  5005. tradedate:
  5006. description: 交易日
  5007. type: string
  5008. username:
  5009. description: 用户名称(交易用户)
  5010. type: string
  5011. type: object
  5012. models.Ermcp3ExposureHedgeplanDetail:
  5013. properties:
  5014. biztype:
  5015. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5016. type: integer
  5017. changqty:
  5018. description: 应套保总量变化量
  5019. type: number
  5020. contracttype:
  5021. description: 计划类型 - 1:采购 -1:销售
  5022. type: integer
  5023. convertratio:
  5024. description: 折算系数(套保品种)
  5025. type: number
  5026. deliverygoodscode:
  5027. description: 现货商品代码
  5028. type: string
  5029. deliverygoodsid:
  5030. description: 现货商品id
  5031. type: integer
  5032. deliverygoodsname:
  5033. description: 现货商吕名称
  5034. type: string
  5035. dgunitid:
  5036. description: 现货商品单位id
  5037. type: integer
  5038. dgunitidname:
  5039. description: 单位名称(现货商品)
  5040. type: string
  5041. diffqty:
  5042. description: 套保品种今变动量
  5043. type: number
  5044. enumdicname:
  5045. description: 单位名称(品类)
  5046. type: string
  5047. hedgeplanid:
  5048. description: 套保计划id
  5049. type: string
  5050. hedgeplanno:
  5051. description: 套保计划名称
  5052. type: string
  5053. hedgeplanstatus:
  5054. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5055. type: integer
  5056. mgunitidname:
  5057. description: 单位名称(套保商品)
  5058. type: string
  5059. middlegoodscode:
  5060. description: 套保品种代码
  5061. type: string
  5062. middlegoodsid:
  5063. description: 套保品种id
  5064. type: integer
  5065. middlegoodsname:
  5066. description: 套保品种名称
  5067. type: string
  5068. needarbitrageratio:
  5069. description: 应套利比例
  5070. type: number
  5071. needhedgeratio:
  5072. description: 应套保比例
  5073. type: number
  5074. pricedqty:
  5075. description: 已定价量
  5076. type: number
  5077. qty:
  5078. description: 合同量
  5079. type: number
  5080. tradedate:
  5081. description: 交易日(登记日)
  5082. type: string
  5083. unitid:
  5084. description: 品类单位id
  5085. type: integer
  5086. userid:
  5087. description: 机构id
  5088. type: integer
  5089. wrstandardcode:
  5090. description: 品类代码
  5091. type: string
  5092. wrstandardid:
  5093. description: 品类id
  5094. type: integer
  5095. wrstandardname:
  5096. description: 品类名称
  5097. type: string
  5098. type: object
  5099. models.Ermcp3ExposureParamChLog:
  5100. properties:
  5101. accountid:
  5102. description: 期货账户ID (作废, 默认为0)
  5103. type: integer
  5104. aftervalue:
  5105. description: 应套保\套利量变更后(调整后应套保总量)
  5106. type: number
  5107. areauserid:
  5108. description: 所属机构\交易用户ID
  5109. type: integer
  5110. beforevalue:
  5111. description: 应套保\套利量变更前(调整前应套保总量)
  5112. type: number
  5113. begindate:
  5114. description: 开始交易日
  5115. type: string
  5116. changelogtype:
  5117. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5118. type: integer
  5119. curvalue:
  5120. description: 当前套保\套利量(套保总量|套利总量)
  5121. type: number
  5122. diffvalue:
  5123. description: 应套保总量变化量
  5124. type: number
  5125. enddate:
  5126. description: 结束交易日
  5127. type: string
  5128. logdatetime:
  5129. description: 流水日期
  5130. type: string
  5131. logid:
  5132. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5133. type: string
  5134. middlegoodscode:
  5135. description: 套保品种代码
  5136. type: string
  5137. middlegoodsid:
  5138. description: 套保品种
  5139. type: integer
  5140. middlegoodsname:
  5141. description: 套保品种名称
  5142. type: string
  5143. paramaftervalue:
  5144. description: 参数变更后(调整后参数值)
  5145. type: number
  5146. parambeforevalue:
  5147. description: 参数变更前(调整前参数值)
  5148. type: number
  5149. tradedate:
  5150. description: 交易日(yyyyMMdd)
  5151. type: string
  5152. type: object
  5153. models.Ermcp3ExpourseReport:
  5154. properties:
  5155. accountid:
  5156. description: 期货账户ID (作废, 默认为0)
  5157. type: integer
  5158. accountname:
  5159. description: 机构名称
  5160. type: string
  5161. arbitrageqty:
  5162. description: 套利量
  5163. type: number
  5164. areauserid:
  5165. description: 所属机构\交易用户ID
  5166. type: integer
  5167. begindate:
  5168. description: 开始交易日
  5169. type: string
  5170. buyfutureqty:
  5171. description: 买入期货数量
  5172. type: number
  5173. buyplanqty:
  5174. description: 采购计划数量
  5175. type: number
  5176. buypricedqty:
  5177. description: 采购合同已定价数量
  5178. type: number
  5179. cycletime:
  5180. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5181. type: string
  5182. cycletype:
  5183. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5184. type: integer
  5185. diffexposure:
  5186. description: 变动量(套保敞口)
  5187. type: number
  5188. difffutuqty:
  5189. description: 变动量(期货)
  5190. type: number
  5191. diffhedgeqty:
  5192. description: 变动量(现货应套保总量)
  5193. type: number
  5194. diffmgqtya:
  5195. description: 套保变动量
  5196. type: number
  5197. diffmgqtyb:
  5198. description: 套利变动量
  5199. type: number
  5200. diffqty:
  5201. description: 变动量(总敞口)
  5202. type: number
  5203. diffspotqty:
  5204. description: 变动量(现货)
  5205. type: number
  5206. enddate:
  5207. description: 结束交易日
  5208. type: string
  5209. enumdicname:
  5210. description: 单位名称
  5211. type: string
  5212. hedgeqty:
  5213. description: 套保量
  5214. type: number
  5215. mgneedhedgeratio:
  5216. description: 套保比例(套保品的)
  5217. type: number
  5218. middlegoodsid:
  5219. description: 套保品种ID
  5220. type: integer
  5221. middlegoodsname:
  5222. description: 套保商品名称
  5223. type: string
  5224. middlgoodscode:
  5225. description: 套保商品代码
  5226. type: string
  5227. needarbitrageqty:
  5228. description: 应套利量
  5229. type: number
  5230. needarbitrageratio:
  5231. description: 套利比例(套保品的)
  5232. type: number
  5233. needhedgeexposoure:
  5234. description: 应套保敞口(套保敞口)
  5235. type: number
  5236. needhedgeqty:
  5237. description: 应套保量
  5238. type: number
  5239. needhedgeratio:
  5240. description: 应套保敞口比例
  5241. type: number
  5242. oriarbitrageqty:
  5243. description: 期初套利量
  5244. type: number
  5245. oribuyfutureqty:
  5246. description: 期初买入期货数量
  5247. type: number
  5248. oribuyplanqty:
  5249. description: 期初采购计划数量
  5250. type: number
  5251. oribuypricedqty:
  5252. description: 期初采购合同已定价数量
  5253. type: number
  5254. orihedgeqty:
  5255. description: 期初套保量
  5256. type: number
  5257. orineedarbitrageqty:
  5258. description: 期初应套利量
  5259. type: number
  5260. orineedhedgeexposoure:
  5261. description: 期初应套保敞口
  5262. type: number
  5263. orineedhedgeqty:
  5264. description: 期初应套保量
  5265. type: number
  5266. orisellfutureqty:
  5267. description: 期初卖出期货数量
  5268. type: number
  5269. orisellplanqty:
  5270. description: 期初销售计划数量
  5271. type: number
  5272. orisellpricedqty:
  5273. description: 期初销售合同已定价数量
  5274. type: number
  5275. oritotalexposure:
  5276. description: 期初实时总敞口
  5277. type: number
  5278. oritotalfutureqty:
  5279. description: 期初期货头寸总量
  5280. type: number
  5281. oritotalneedhedgeqty:
  5282. description: 期初应套保总量
  5283. type: number
  5284. oritotalspotqty:
  5285. description: 期初现货头寸总量
  5286. type: number
  5287. reckondate:
  5288. description: 日照时期(yyyyMMdd)
  5289. type: string
  5290. sellfutureqty:
  5291. description: 卖出期货数量
  5292. type: number
  5293. sellplanqty:
  5294. description: 销售计划数量
  5295. type: number
  5296. sellpricedqty:
  5297. description: 销售合同已定价数量
  5298. type: number
  5299. totalexposure:
  5300. description: 实时总敞口(总敞口)
  5301. type: number
  5302. totalfutureqty:
  5303. description: 期货头寸总量(期货总量)
  5304. type: number
  5305. totalhedgeratio:
  5306. description: 敞口比例
  5307. type: number
  5308. totalneedhedgeqty:
  5309. description: 应套保总量(现货应套保总量)
  5310. type: number
  5311. totalspotqty:
  5312. description: 现货头寸总量
  5313. type: number
  5314. unitid:
  5315. description: 单位id
  5316. type: integer
  5317. updatetime:
  5318. description: 更新时间
  5319. type: string
  5320. type: object
  5321. models.Ermcp3FinanceReport:
  5322. properties:
  5323. accountname:
  5324. description: 机构名称
  5325. type: string
  5326. areauserid:
  5327. description: 所属机构\交易用户ID
  5328. type: integer
  5329. begindate:
  5330. description: 开始交易日
  5331. type: string
  5332. biztype:
  5333. description: 业务类型 - 1:套保 2:套利
  5334. type: integer
  5335. brandname:
  5336. description: 品牌名称
  5337. type: string
  5338. buypreinvoicedamount:
  5339. description: 采购预收票额(预收票额)
  5340. type: number
  5341. buyprepaidamount:
  5342. description: 采购预付款额(预付货款额)
  5343. type: number
  5344. buytodayinvoiceamount:
  5345. description: 采购今收票额(今收票额)
  5346. type: number
  5347. buytodayrefundamount:
  5348. description: 采购今收退款额(今收退款额)
  5349. type: number
  5350. buytodaysettleamount:
  5351. description: 采购今付款额(今付货款额)
  5352. type: number
  5353. buyuninvoicedamount:
  5354. description: 采购应收票额(应收票额)
  5355. type: number
  5356. buyunpaidamount:
  5357. description: 采购应付款额(应付货款额)
  5358. type: number
  5359. currencyid:
  5360. description: 结算币种ID
  5361. type: integer
  5362. currencyname:
  5363. description: 币种名称
  5364. type: string
  5365. cycletime:
  5366. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5367. type: string
  5368. cycletype:
  5369. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5370. type: integer
  5371. deliverygoodscode:
  5372. description: 现货品种代码
  5373. type: string
  5374. deliverygoodsid:
  5375. description: 现货品种ID
  5376. type: integer
  5377. deliverygoodsname:
  5378. description: 现货品种名称
  5379. type: string
  5380. enddate:
  5381. description: 结束交易日
  5382. type: string
  5383. reckondate:
  5384. description: 日照时期(yyyyMMdd)
  5385. type: string
  5386. sellpreinvoicedamount:
  5387. description: 销售预开票额(预开票额)
  5388. type: number
  5389. sellprepaidamount:
  5390. description: 销售预收款额(预收货款额)
  5391. type: number
  5392. selltodayinvoiceamount:
  5393. description: 销售今开票额(今开票额)
  5394. type: number
  5395. selltodayrefundamount:
  5396. description: 销售今付退款额(今付退款额)
  5397. type: number
  5398. selltodaysettleamount:
  5399. description: 销售今收款额(今收货款额)
  5400. type: number
  5401. selluninvoicedamount:
  5402. description: 销售应开票额(应开票额)
  5403. type: number
  5404. sellunpaidamount:
  5405. description: 销售应收款额(应收货款额)
  5406. type: number
  5407. spotgoodsbrandid:
  5408. description: 现货品牌ID
  5409. type: integer
  5410. todaypaysum:
  5411. description: 今付款合计
  5412. type: number
  5413. todayreceivesum:
  5414. description: 今收款合计
  5415. type: number
  5416. updatetime:
  5417. description: 更新时间
  5418. type: string
  5419. wrfactortypeid:
  5420. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5421. type: integer
  5422. wrstandardcode:
  5423. description: 品类代码
  5424. type: string
  5425. wrstandardid:
  5426. description: 现货商品ID
  5427. type: integer
  5428. wrstandardname:
  5429. description: 品类名称
  5430. type: string
  5431. type: object
  5432. models.Ermcp3GoodsGroup:
  5433. properties:
  5434. agreeunit:
  5435. description: 合约单位
  5436. type: number
  5437. areauserid:
  5438. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5439. type: integer
  5440. canshort:
  5441. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5442. type: integer
  5443. closepricemode:
  5444. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5445. type: integer
  5446. createtime:
  5447. description: 创建时间
  5448. type: string
  5449. creatorid:
  5450. description: 创建人
  5451. type: integer
  5452. currencyid:
  5453. description: 报价货币ID
  5454. type: integer
  5455. decimalplace:
  5456. description: 报价小数位
  5457. type: integer
  5458. enumdicname:
  5459. description: 单位名称
  5460. type: string
  5461. exchangefullname:
  5462. description: 交易所全称
  5463. type: string
  5464. excludecfg:
  5465. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5466. type: integer
  5467. exexchangecode:
  5468. description: 交易所代码
  5469. type: string
  5470. exexchangeid:
  5471. description: 外部交易所ID[通道交易]
  5472. type: integer
  5473. exexchangename:
  5474. description: 交易所名称
  5475. type: string
  5476. goodsgroupid:
  5477. description: 商品组ID(自增ID)
  5478. type: integer
  5479. goodsgroupname:
  5480. description: 商品组名称
  5481. type: string
  5482. goodsgroupstatus:
  5483. description: 商品组状态 - 1:正常 2:注销
  5484. type: integer
  5485. goodunitid:
  5486. description: 报价单位ID
  5487. type: integer
  5488. groupcategroyid:
  5489. description: 品种分类ID
  5490. type: integer
  5491. innerdealmode:
  5492. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5493. type: integer
  5494. marketid:
  5495. description: 所属市场ID
  5496. type: integer
  5497. modifierid:
  5498. description: 修改人
  5499. type: integer
  5500. modifytime:
  5501. description: 修改时间
  5502. type: string
  5503. outerdealmode:
  5504. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5505. type: integer
  5506. outergroupcode:
  5507. description: 外部商品组代码[通道交易]
  5508. type: string
  5509. quoteminunit:
  5510. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5511. type: integer
  5512. quotesourcegroupid:
  5513. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5514. type: integer
  5515. syncgoodsqty:
  5516. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5517. type: integer
  5518. required:
  5519. - areauserid
  5520. type: object
  5521. models.Ermcp3HedgePlan:
  5522. properties:
  5523. accountid:
  5524. description: 资金账号
  5525. type: integer
  5526. areauserid:
  5527. description: 用户ID
  5528. type: integer
  5529. auditid:
  5530. description: 审核id
  5531. type: integer
  5532. auditname:
  5533. description: 审核人名称
  5534. type: string
  5535. auditremark:
  5536. description: 审核备注
  5537. type: string
  5538. auditsrc:
  5539. description: 审核来源 1-管理端 2-终端
  5540. type: integer
  5541. audittime:
  5542. description: 审核时间
  5543. type: string
  5544. contracttype:
  5545. description: 计划类型 - 1:采购 -1:销售
  5546. type: integer
  5547. convertfactor:
  5548. description: 标仓系数
  5549. type: number
  5550. createtime:
  5551. description: 创建时间
  5552. type: string
  5553. currencyid:
  5554. description: 币种id
  5555. type: integer
  5556. currencyname:
  5557. description: 币种名称
  5558. type: string
  5559. deliverygoodscode:
  5560. description: 现货品种代码
  5561. type: string
  5562. deliverygoodsid:
  5563. description: 现货品种ID
  5564. type: integer
  5565. deliverygoodsname:
  5566. description: 现货品种名称
  5567. type: string
  5568. enumdicname:
  5569. description: 单位名称(现货商品)
  5570. type: string
  5571. hedgeplanid:
  5572. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5573. type: string
  5574. hedgeplanno:
  5575. description: 套保计划编号(名称)
  5576. type: string
  5577. hedgeplanstatus:
  5578. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5579. type: integer
  5580. planqty:
  5581. description: 计划数量
  5582. type: number
  5583. plantime:
  5584. description: 计划时间
  5585. type: string
  5586. producttype:
  5587. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5588. type: integer
  5589. remark:
  5590. description: 备注
  5591. type: string
  5592. spotgoodsdesc:
  5593. description: 商品型号
  5594. type: string
  5595. taaccountname:
  5596. description: 资金账号名称
  5597. type: string
  5598. tradeuserid:
  5599. description: 交易用户id
  5600. type: integer
  5601. tradeusername:
  5602. description: 交易用户名称
  5603. type: string
  5604. unitid:
  5605. description: 单位id(现货商品)
  5606. type: integer
  5607. updatetime:
  5608. description: 更新时间
  5609. type: string
  5610. vatrate:
  5611. description: 增值税率
  5612. type: number
  5613. wrstandardcode:
  5614. description: 品类代码
  5615. type: string
  5616. wrstandardid:
  5617. description: 品类id
  5618. type: integer
  5619. wrstandardname:
  5620. description: 品类名称
  5621. type: string
  5622. wrunitid:
  5623. description: 品类单位id
  5624. type: integer
  5625. wrunitidame:
  5626. description: 品类单位名称
  5627. type: string
  5628. type: object
  5629. models.Ermcp3InnerTradeLink:
  5630. properties:
  5631. accountid:
  5632. description: 期货账号代码 | 资金账号ID
  5633. type: integer
  5634. buyorsell:
  5635. description: 方向 - 0:买 1:卖
  5636. type: integer
  5637. channelbuildtype:
  5638. description: 委托单据类型 0:无 1:建仓 2:平仓
  5639. type: integer
  5640. currencyid:
  5641. description: 币种id
  5642. type: integer
  5643. currencyname:
  5644. description: 结算币种 名称
  5645. type: string
  5646. goodscode:
  5647. description: 商品代码
  5648. type: string
  5649. goodsid:
  5650. description: 商品ID
  5651. type: integer
  5652. goodsname:
  5653. description: 商品名称
  5654. type: string
  5655. outtradeid:
  5656. description: 外部成交单号
  5657. type: string
  5658. taname:
  5659. description: 期货账户名称
  5660. type: string
  5661. tradeid:
  5662. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5663. type: string
  5664. tradeprice:
  5665. description: 成交价格
  5666. type: number
  5667. tradeqty:
  5668. description: 期货成交数量
  5669. type: integer
  5670. tradetime:
  5671. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5672. type: string
  5673. username:
  5674. description: 用户名称
  5675. type: string
  5676. type: object
  5677. models.Ermcp3OutTradeLink:
  5678. properties:
  5679. buyorsell:
  5680. description: 买卖方向 - 0:买 1:卖
  5681. type: integer
  5682. channelbuildtype:
  5683. description: 开平标志- 0:无 1:建仓 2:平仓
  5684. type: integer
  5685. currencyname:
  5686. description: 币种名称
  5687. type: string
  5688. exexchangecode:
  5689. description: 交易所代码
  5690. type: string
  5691. exexchangename:
  5692. description: 交易所名称
  5693. type: string
  5694. goodscode:
  5695. description: 合约代码
  5696. type: string
  5697. goodsid:
  5698. description: 合约id
  5699. type: integer
  5700. goodsname:
  5701. description: 合约名称
  5702. type: string
  5703. hasinnerorder:
  5704. description: 是否有内部单关联 - 0:无 1:有
  5705. type: integer
  5706. hedgeaccountcode:
  5707. description: 外部账号 | 对冲账号
  5708. type: string
  5709. outtradeid:
  5710. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5711. type: string
  5712. tradeprice:
  5713. description: 成交价格
  5714. type: number
  5715. tradeqty:
  5716. description: 成交数量
  5717. type: integer
  5718. tradetime:
  5719. description: 成交时间
  5720. type: string
  5721. type: object
  5722. models.Ermcp3PaAreaAuditCfg:
  5723. properties:
  5724. areauserid:
  5725. description: 用户ID
  5726. type: integer
  5727. buyinauditflag:
  5728. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5729. type: integer
  5730. costratioauditflag:
  5731. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5732. type: integer
  5733. customerauditflag:
  5734. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5735. type: integer
  5736. deliveryauditflag:
  5737. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5738. type: integer
  5739. invoiceauditflag:
  5740. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5741. type: integer
  5742. mgneedhedgeratioauditflag:
  5743. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5744. type: integer
  5745. moneyauditflag:
  5746. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5747. type: integer
  5748. operatorid:
  5749. description: 操作人
  5750. type: integer
  5751. operatorsrc:
  5752. description: 操作来源 - 1:管理端 2:终端
  5753. type: integer
  5754. pointpriceauditflag:
  5755. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5756. type: integer
  5757. produceinauditflag:
  5758. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5759. type: integer
  5760. produceoutauditflag:
  5761. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5762. type: integer
  5763. selloutauditflag:
  5764. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5765. type: integer
  5766. sgconvertratioauditflag:
  5767. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5768. type: integer
  5769. sgvtaratioauditflag:
  5770. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5771. type: integer
  5772. spotcontractauditflag:
  5773. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5774. type: integer
  5775. updatetime:
  5776. description: 更新时间
  5777. type: string
  5778. type: object
  5779. models.Ermcp3PaAreaSubject:
  5780. properties:
  5781. areauserid:
  5782. description: 所属机构
  5783. type: integer
  5784. canmodify:
  5785. description: 是否可修改 - 0:否 1:是
  5786. type: integer
  5787. createtime:
  5788. description: 创建时间
  5789. type: string
  5790. creatorid:
  5791. description: 创建人ID
  5792. type: string
  5793. creatorsrc:
  5794. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5795. type: integer
  5796. modifierid:
  5797. description: 修改人
  5798. type: string
  5799. modifiersrc:
  5800. description: 修改人来源 - 1:管理端 2:终端
  5801. type: integer
  5802. modifytime:
  5803. description: 修改时间
  5804. type: string
  5805. parentsubjectid:
  5806. description: 上级主体ID
  5807. type: string
  5808. remark:
  5809. description: 备注
  5810. type: string
  5811. subjectid:
  5812. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5813. type: integer
  5814. subjectname:
  5815. description: 主体名称
  5816. type: string
  5817. subjectstatus:
  5818. description: '主体状态 - 1:正常 2: 停用'
  5819. type: integer
  5820. subjecttype:
  5821. description: 主体类型 - 1:交易主体 2:业务部门
  5822. type: integer
  5823. type: object
  5824. models.Ermcp3PaTradeLink:
  5825. properties:
  5826. accountid:
  5827. description: 期货账户代码 | 账号ID
  5828. type: integer
  5829. agreeunit:
  5830. description: 合约乘数
  5831. type: number
  5832. buyorsell:
  5833. description: 方向 - 0:买 1:卖
  5834. type: integer
  5835. channelbuildtype:
  5836. description: 委托单据类型 0:无 1:建仓 2:平仓
  5837. type: integer
  5838. charge:
  5839. description: 手续费
  5840. type: number
  5841. closepl:
  5842. description: 平仓盈亏
  5843. type: number
  5844. closetype:
  5845. description: 平仓方式 - 0:无 1:平今 2:平昨
  5846. type: integer
  5847. convertratio:
  5848. description: 折算系数
  5849. type: number
  5850. enumdicname:
  5851. description: 单位名称
  5852. type: string
  5853. executeprice:
  5854. description: 执行价 [期权]
  5855. type: integer
  5856. goodscode:
  5857. description: 合约代码
  5858. type: string
  5859. goodsgroupid:
  5860. description: 对冲品种ID[期货合约商品组ID]
  5861. type: integer
  5862. goodsid:
  5863. description: 商品ID
  5864. type: integer
  5865. goodsname:
  5866. description: 合约名称
  5867. type: string
  5868. goodunitid:
  5869. description: 单位id
  5870. type: integer
  5871. hedgeflag:
  5872. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  5873. type: integer
  5874. marketid:
  5875. description: 市场ID
  5876. type: integer
  5877. middlegoodsid:
  5878. description: 套保品种ID
  5879. type: integer
  5880. middlegoodsqty:
  5881. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  5882. type: number
  5883. optioncode:
  5884. description: 期权代码 [期权]
  5885. type: string
  5886. ordertype:
  5887. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  5888. type: integer
  5889. ordertypename:
  5890. description: 订单类型
  5891. type: string
  5892. parentaccountid:
  5893. description: 所属母账户
  5894. type: integer
  5895. premium:
  5896. description: 权利金 [期权]
  5897. type: number
  5898. relatedlot:
  5899. description: 已关联数量(已关联数量手) | db:关联手数
  5900. type: number
  5901. relatedouttradeid:
  5902. description: 关联外部成交单ID
  5903. type: string
  5904. relatedqty:
  5905. description: 关联数量
  5906. type: number
  5907. spotcontractid:
  5908. description: 现货合同ID [4:套期保值\10\11]
  5909. type: string
  5910. taname:
  5911. description: 期货账户名称
  5912. type: string
  5913. tradeamount:
  5914. description: 成交金额(账户)
  5915. type: number
  5916. tradedate:
  5917. description: 交易日(yyyyMMdd)
  5918. type: string
  5919. tradeid:
  5920. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5921. type: string
  5922. tradelot:
  5923. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  5924. type: integer
  5925. tradeprice:
  5926. description: 成交价格
  5927. type: number
  5928. tradetime:
  5929. description: 时间 | db:成交时间
  5930. type: string
  5931. tradetype:
  5932. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  5933. type: integer
  5934. userid:
  5935. description: 所属机构 - 所属母账户的UserID
  5936. type: string
  5937. username:
  5938. description: 用户名称
  5939. type: string
  5940. type: object
  5941. models.Ermcp3ParamChangeApp:
  5942. properties:
  5943. aftervalue:
  5944. description: 变更后
  5945. type: number
  5946. applicationid:
  5947. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  5948. type: string
  5949. applyid:
  5950. description: 申请人
  5951. type: string
  5952. applyname:
  5953. description: 申请人名称(代码)
  5954. type: string
  5955. applyremark:
  5956. description: 申请备注
  5957. type: string
  5958. applysrc:
  5959. description: 申请来源 - 1:管理端 2:终端
  5960. type: integer
  5961. applystatus:
  5962. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5963. type: integer
  5964. applytime:
  5965. description: 申请时间
  5966. type: string
  5967. areauserid:
  5968. description: 所属机构用户ID
  5969. type: integer
  5970. auditid:
  5971. description: 审核人
  5972. type: string
  5973. auditname:
  5974. description: 审核人名称(代码)
  5975. type: string
  5976. auditremark:
  5977. description: 审核备注
  5978. type: string
  5979. auditsrc:
  5980. description: 审核来源 - 1:管理端 2:终端
  5981. type: integer
  5982. audittime:
  5983. description: 审核时间
  5984. type: string
  5985. audittradedate:
  5986. description: 审核交易日(yyyyMMdd)
  5987. type: string
  5988. beforevalue:
  5989. description: 变更前
  5990. type: number
  5991. deliverygoodscode:
  5992. description: 品种代码
  5993. type: string
  5994. deliverygoodsid:
  5995. description: 品种id
  5996. type: integer
  5997. deliverygoodsname:
  5998. description: 品种名称
  5999. type: string
  6000. middlegoodscode:
  6001. description: 套保品种代码
  6002. type: string
  6003. middlegoodsid:
  6004. description: 套保品种ID [ParamChangeType = 2,3,4]
  6005. type: integer
  6006. middlegoodsname:
  6007. description: 套保品种名称
  6008. type: string
  6009. operatetype:
  6010. description: 操作类型 - 1:新增 2:修改
  6011. type: integer
  6012. paramchangetype:
  6013. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6014. type: integer
  6015. wrstandardcode:
  6016. description: 现货商品代码
  6017. type: string
  6018. wrstandardid:
  6019. description: 现货商品ID [ParamChangeType = 1,2,3]
  6020. type: integer
  6021. wrstandardname:
  6022. description: 现货商品名称
  6023. type: string
  6024. type: object
  6025. models.Ermcp3RootUserAccount:
  6026. properties:
  6027. accountname:
  6028. description: 账户名称(机构名称)
  6029. type: string
  6030. accountstatus:
  6031. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6032. type: integer
  6033. applysrc:
  6034. description: 申请来源 - 1:管理端 2:终端
  6035. type: integer
  6036. auditremark:
  6037. description: 审核备注
  6038. type: string
  6039. auditsrc:
  6040. description: 审核来源 - 1:管理端 2:终端
  6041. type: integer
  6042. audittime:
  6043. description: 审核时间
  6044. type: string
  6045. audituserid:
  6046. description: 审核人
  6047. type: integer
  6048. broker:
  6049. description: 所属经纪人ID
  6050. type: integer
  6051. canceltime:
  6052. description: 销户时间
  6053. type: string
  6054. canceluserid:
  6055. description: 销户人
  6056. type: integer
  6057. canrecommend:
  6058. description: 是否可推荐 - 0:不可 1;可
  6059. type: integer
  6060. createtime:
  6061. description: 创建时间
  6062. type: string
  6063. creatorid:
  6064. description: 创建人
  6065. type: integer
  6066. hasauth:
  6067. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6068. type: integer
  6069. isanonymous:
  6070. description: 是否匿名下单 - 0:否 1:是
  6071. type: integer
  6072. maxinvestornum:
  6073. description: 最大用户数(经纪会员下投资者个数)
  6074. type: integer
  6075. memberuserid:
  6076. description: 所属会员ID
  6077. type: integer
  6078. modifierid:
  6079. description: 修改人
  6080. type: integer
  6081. modifyremark:
  6082. description: 变更备注
  6083. type: string
  6084. modifystatus:
  6085. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6086. type: integer
  6087. modifytime:
  6088. description: 修改时间
  6089. type: string
  6090. parenttopuser:
  6091. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6092. type: string
  6093. parentuserid:
  6094. description: 所属机构ID
  6095. type: integer
  6096. reckonaccountid:
  6097. description: 默认结算资金账号ID(机构分润使用) 作废
  6098. type: integer
  6099. refercount:
  6100. description: 推荐总人数
  6101. type: integer
  6102. refereeuserid:
  6103. description: 推荐人ID
  6104. type: integer
  6105. refernum:
  6106. description: 推荐码
  6107. type: string
  6108. rootuserid:
  6109. description: 根用户ID
  6110. type: integer
  6111. subaccountlevel:
  6112. description: 子账户层数
  6113. type: integer
  6114. subarealevelpath:
  6115. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6116. type: string
  6117. userid:
  6118. description: 用户ID
  6119. type: integer
  6120. usertype:
  6121. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6122. type: integer
  6123. type: object
  6124. models.Ermcp3SCMiddleGoods:
  6125. properties:
  6126. biztype:
  6127. description: 业务类型 1:套保 2:套利
  6128. type: integer
  6129. contractno:
  6130. description: 合同编号
  6131. type: string
  6132. contracttype:
  6133. description: 合同类型 1:采购 -1:销售
  6134. type: integer
  6135. convertratio:
  6136. description: 折算系数
  6137. type: number
  6138. customername:
  6139. description: 对手手名称
  6140. type: string
  6141. customeruserid:
  6142. description: 对手id
  6143. type: integer
  6144. deliverygoodscode:
  6145. description: 现货品种代码
  6146. type: string
  6147. deliverygoodsid:
  6148. description: 现货品种ID
  6149. type: integer
  6150. deliverygoodsname:
  6151. description: 现货品种名称
  6152. type: string
  6153. enumdicname:
  6154. description: 现货单位名称
  6155. type: string
  6156. middlegoodsid:
  6157. description: 套保品种ID
  6158. type: integer
  6159. middlegoodspricedqty3:
  6160. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6161. type: number
  6162. needhedgeratio:
  6163. description: 套保比例
  6164. type: number
  6165. pricedqty:
  6166. description: 已定价量
  6167. type: number
  6168. relatedmiddlegoodsqty:
  6169. description: 已关联量(套保品种)(期货)
  6170. type: number
  6171. spotcontractid:
  6172. description: 合同编号
  6173. type: string
  6174. unitid:
  6175. description: 现货单位id
  6176. type: integer
  6177. userid:
  6178. description: 用户id
  6179. type: integer
  6180. vatrate:
  6181. description: 增值税率
  6182. type: number
  6183. wrstandardcode:
  6184. description: 现货商品代码
  6185. type: string
  6186. wrstandardid:
  6187. description: 现货商品id
  6188. type: integer
  6189. wrstandardname:
  6190. description: 现货商品名称
  6191. type: string
  6192. type: object
  6193. models.Ermcp3SCMiddleGoodsReport:
  6194. properties:
  6195. begindate:
  6196. description: 开始交易日
  6197. type: string
  6198. contractno:
  6199. description: 合同编号
  6200. type: string
  6201. contracttype:
  6202. description: 合同类型 1:采购 -1:销售
  6203. type: integer
  6204. convertratio:
  6205. description: 折算系数
  6206. type: number
  6207. cycletime:
  6208. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6209. type: string
  6210. cycletype:
  6211. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6212. type: integer
  6213. deliverygoodscode:
  6214. description: 品种代码
  6215. type: string
  6216. deliverygoodsid:
  6217. description: 现货品种ID
  6218. type: integer
  6219. deliverygoodsname:
  6220. description: 品种名称
  6221. type: string
  6222. diffprice:
  6223. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6224. type: number
  6225. diffqty:
  6226. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6227. type: number
  6228. enddate:
  6229. description: 结束交易日
  6230. type: string
  6231. hedgeplanqty:
  6232. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6233. type: number
  6234. matchname:
  6235. description: 交易对手方(个人:用户名称 企业:简称)
  6236. type: string
  6237. middlegoodscode:
  6238. description: 套保品种代码
  6239. type: string
  6240. middlegoodsid:
  6241. description: 套保品种ID
  6242. type: integer
  6243. middlegoodsname:
  6244. description: 套保品种名称
  6245. type: string
  6246. middlegoodspricedqty:
  6247. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6248. type: number
  6249. middlegoodspricedqty2:
  6250. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6251. type: number
  6252. middlegoodspricedqty3:
  6253. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6254. type: number
  6255. needhedgeratio:
  6256. description: 套保系数
  6257. type: number
  6258. pricedamount:
  6259. description: 已定价额(现货)
  6260. type: number
  6261. pricedamount2:
  6262. description: 已定价额(现货-基价额)
  6263. type: number
  6264. pricedqty:
  6265. description: 已定价量(现货)
  6266. type: number
  6267. reckondate:
  6268. description: 日照时期(yyyyMMdd)
  6269. type: string
  6270. relatedmiddlegoodsamount:
  6271. description: 已关联额(期货)
  6272. type: number
  6273. relatedmiddlegoodsqty:
  6274. description: 已关联量(套保品种)(期货)
  6275. type: number
  6276. spotcontractid:
  6277. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6278. type: string
  6279. todayavgfutuprice:
  6280. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  6281. type: number
  6282. todayavgprice:
  6283. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6284. type: number
  6285. todayavgprice2:
  6286. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6287. type: number
  6288. todaypricedamount:
  6289. description: 今日定价额(现货)
  6290. type: number
  6291. todaypricedamount2:
  6292. description: 今日定价额(现货-基价额)
  6293. type: number
  6294. todaypricedqty:
  6295. description: 今日定价量(现货)
  6296. type: number
  6297. todayrelatedfutureqty:
  6298. description: 今日关联量(期货)
  6299. type: number
  6300. todayrelatedmiddlegoodsamount:
  6301. description: 今日关联额(期货)
  6302. type: number
  6303. todayrelatedmiddlegoodsqty:
  6304. description: 今日关联量(套保品-期货)
  6305. type: number
  6306. updatetime:
  6307. description: 更新时间
  6308. type: string
  6309. userid:
  6310. description: 合同所属用户id
  6311. type: integer
  6312. vatrate:
  6313. description: 增值税率
  6314. type: number
  6315. wrstandardcode:
  6316. description: 商品(品类) 代码
  6317. type: string
  6318. wrstandardid:
  6319. description: 现货商品ID
  6320. type: integer
  6321. wrstandardname:
  6322. description: 商品(品类) 名称
  6323. type: string
  6324. type: object
  6325. models.Ermcp3SellBuyContract:
  6326. properties:
  6327. accountid:
  6328. description: 期货账户id
  6329. type: string
  6330. accountname:
  6331. description: 账户名称
  6332. type: string
  6333. attachment:
  6334. description: 附件
  6335. type: string
  6336. audittime:
  6337. description: 审核时间
  6338. type: string
  6339. biztype:
  6340. description: 业务类型 1-套保 2-套利
  6341. type: integer
  6342. brandname:
  6343. description: 品牌名称
  6344. type: string
  6345. contracctstatus:
  6346. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6347. type: integer
  6348. contractmargin:
  6349. description: 合同保证金
  6350. type: number
  6351. contractno:
  6352. description: 合同编号
  6353. type: string
  6354. contracttype:
  6355. description: 合同类型 1-采购, -1-销售
  6356. type: integer
  6357. convertfactor:
  6358. description: 标仓系数(品类)
  6359. type: number
  6360. createtime:
  6361. description: 创建时间
  6362. type: string
  6363. currencyid:
  6364. description: 币种id
  6365. type: integer
  6366. currencyname:
  6367. description: 币种名称
  6368. type: string
  6369. daikaiamount:
  6370. description: 应收(开)票额
  6371. type: number
  6372. deliveryenddate:
  6373. description: 交割结束日
  6374. type: string
  6375. deliverygoodscode:
  6376. description: 现货品种代码
  6377. type: string
  6378. deliverygoodsid:
  6379. description: 现货商品ID
  6380. type: integer
  6381. deliverygoodsname:
  6382. description: 现货品种名称
  6383. type: string
  6384. deliverystartdate:
  6385. description: 交割开始日
  6386. type: string
  6387. enddate:
  6388. description: 点价结束日
  6389. type: string
  6390. enumdicname:
  6391. description: 单位名称
  6392. type: string
  6393. goodscode:
  6394. description: 点价商品代码
  6395. type: string
  6396. goodsid:
  6397. description: 点价商品ID
  6398. type: integer
  6399. goodsname:
  6400. description: 点价商品名称
  6401. type: string
  6402. invoiceamount:
  6403. description: 已开票额
  6404. type: number
  6405. loanamount:
  6406. description: 贷款总额=已定价额+调整金额
  6407. type: number
  6408. margin:
  6409. description: 保证金
  6410. type: number
  6411. meruserid:
  6412. description: 跟单员id
  6413. type: integer
  6414. meruserlogincode:
  6415. description: 跟单员登录代码
  6416. type: string
  6417. merusername:
  6418. description: 跟单员名称
  6419. type: string
  6420. nickname:
  6421. description: 账户昵称
  6422. type: string
  6423. payamount:
  6424. description: 已收付额(收款或付款)
  6425. type: number
  6426. preinvoiceamount:
  6427. description: 预收(开)票额
  6428. type: number
  6429. prepayamount:
  6430. description: 预收付额
  6431. type: number
  6432. price:
  6433. description: 价格
  6434. type: number
  6435. pricedamount:
  6436. description: 已定价额
  6437. type: number
  6438. pricedavg:
  6439. description: 已点均价
  6440. type: number
  6441. pricedqty:
  6442. description: 已定价量
  6443. type: number
  6444. pricemove:
  6445. description: 升贴水
  6446. type: number
  6447. pricetype:
  6448. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6449. type: integer
  6450. producttype:
  6451. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6452. type: integer
  6453. qty:
  6454. description: 合同量
  6455. type: number
  6456. reckonadjustamount:
  6457. description: 调整金额
  6458. type: number
  6459. reckonedamount:
  6460. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6461. type: number
  6462. reckonotheramount:
  6463. description: 其它费用
  6464. type: number
  6465. reckonrealqty:
  6466. description: 已确定量
  6467. type: number
  6468. remark:
  6469. description: 备注
  6470. type: string
  6471. saleuserid:
  6472. description: 业务员id
  6473. type: integer
  6474. saleuserlogincode:
  6475. description: 业务员登录代码
  6476. type: string
  6477. saleusername:
  6478. description: 业务员名称
  6479. type: string
  6480. spotcontractid:
  6481. description: 合同ID
  6482. type: string
  6483. spotgoodsbrandid:
  6484. description: 现货品牌ID(DGFactoryItem表的ID)
  6485. type: integer
  6486. spotgoodsdesc:
  6487. description: 商品型号(商品规格)
  6488. type: string
  6489. startdate:
  6490. description: 点价开始日
  6491. type: string
  6492. subjectid:
  6493. description: 交易主体ID
  6494. type: integer
  6495. subjectname:
  6496. description: 交易主体名称
  6497. type: string
  6498. totalamount:
  6499. description: 合计总额
  6500. type: number
  6501. tradeuserid:
  6502. description: 交易员id
  6503. type: integer
  6504. tradeuserlogincode:
  6505. description: 交易员登录代码
  6506. type: string
  6507. tradeusername:
  6508. description: 交易员名称
  6509. type: string
  6510. unpayamount:
  6511. description: 应收付款额(应支付或应收款)
  6512. type: number
  6513. unpricedqty:
  6514. description: 未定价量
  6515. type: number
  6516. unsureqty:
  6517. description: 未确定量
  6518. type: number
  6519. userid:
  6520. description: 机构ID
  6521. type: integer
  6522. vatrate:
  6523. description: 增值税率
  6524. type: number
  6525. wrstandardcode:
  6526. description: 品类代码
  6527. type: string
  6528. wrstandardid:
  6529. description: 品类ID
  6530. type: integer
  6531. wrstandardname:
  6532. description: 品类名称
  6533. type: string
  6534. type: object
  6535. models.Ermcp3SpotGoodsPrice:
  6536. properties:
  6537. areauserid:
  6538. description: 所属机构id
  6539. type: integer
  6540. brandname:
  6541. description: 品牌名称
  6542. type: string
  6543. currencyid:
  6544. description: 报价货币ID
  6545. type: integer
  6546. currencyname:
  6547. description: 币种名称
  6548. type: string
  6549. deliverygoodscode:
  6550. description: 现货商品代码
  6551. type: string
  6552. deliverygoodsid:
  6553. description: 现货商品id
  6554. type: integer
  6555. deliverygoodsname:
  6556. description: 现货商品名称
  6557. type: string
  6558. enumdicname:
  6559. description: 现货商品单位名称
  6560. type: string
  6561. gbenumdicname:
  6562. description: 品类单位名称
  6563. type: string
  6564. gmunitid:
  6565. description: 品类单位id
  6566. type: integer
  6567. isvalid:
  6568. description: 是否有效 - 0:无效 1:有效
  6569. type: integer
  6570. operateid:
  6571. description: 最后操作人
  6572. type: integer
  6573. operatesrc:
  6574. description: 最后操作来源 - 1:管理端 2:终端
  6575. type: integer
  6576. operatetime:
  6577. description: 最后操作时间
  6578. type: string
  6579. operatorname:
  6580. description: 操作人名称
  6581. type: string
  6582. spotgoodsbrandid:
  6583. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6584. type: integer
  6585. spotgoodsprice:
  6586. description: 现货价格
  6587. type: number
  6588. tradedate:
  6589. description: 交易日(yyyyMMdd)
  6590. type: string
  6591. unitid:
  6592. description: 现货商品单位id
  6593. type: integer
  6594. wrstandardcode:
  6595. description: 品类代码
  6596. type: string
  6597. wrstandardid:
  6598. description: 现货品类ID(通用则为0)
  6599. type: integer
  6600. wrstandardname:
  6601. description: 品类名称
  6602. type: string
  6603. type: object
  6604. models.Ermcp3SpotGoodsPriceLog:
  6605. properties:
  6606. areauserid:
  6607. description: 所属机构id
  6608. type: integer
  6609. brandname:
  6610. description: 品牌名称
  6611. type: string
  6612. currencyid:
  6613. description: 报价货币ID
  6614. type: integer
  6615. deliverygoodscode:
  6616. description: 现货商品代码
  6617. type: string
  6618. deliverygoodsid:
  6619. description: 现货商品id
  6620. type: integer
  6621. deliverygoodsname:
  6622. description: 现货商品名称
  6623. type: string
  6624. enumdicname:
  6625. description: 现货商品单位名称
  6626. type: string
  6627. gbenumdicname:
  6628. description: 品类单位名称
  6629. type: string
  6630. gmunitid:
  6631. description: 品类单位id
  6632. type: integer
  6633. logid:
  6634. description: 日志id
  6635. type: integer
  6636. operateid:
  6637. description: 最后操作人
  6638. type: integer
  6639. operatesrc:
  6640. description: 最后操作来源 - 1:管理端 2:终端
  6641. type: integer
  6642. operatetime:
  6643. description: 最后操作时间
  6644. type: string
  6645. operatorname:
  6646. description: 操作人名称
  6647. type: string
  6648. spotgoodsbrandid:
  6649. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6650. type: integer
  6651. spotgoodsprice:
  6652. description: 现货价格
  6653. type: number
  6654. tradedate:
  6655. description: 交易日(yyyyMMdd)
  6656. type: string
  6657. unitid:
  6658. description: 现货商品单位id
  6659. type: integer
  6660. wrstandardcode:
  6661. description: 品类代码
  6662. type: string
  6663. wrstandardid:
  6664. description: 现货品类ID(通用则为0)
  6665. type: integer
  6666. wrstandardname:
  6667. description: 品类名称
  6668. type: string
  6669. type: object
  6670. models.Ermcp3SubTaaccount:
  6671. properties:
  6672. accountid:
  6673. description: 资金账户ID
  6674. type: integer
  6675. parentaccountcode:
  6676. description: 所属根账号代码(母账号代码)
  6677. type: string
  6678. parentaccountid:
  6679. description: 所属根账号(母账号)
  6680. type: integer
  6681. taname:
  6682. description: 资金账号名称
  6683. type: string
  6684. tradestatus:
  6685. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6686. type: integer
  6687. username:
  6688. description: 交易用户
  6689. type: string
  6690. type: object
  6691. models.Ermcp3TaFutuReDataReport:
  6692. properties:
  6693. accountid:
  6694. description: 交易账户
  6695. type: integer
  6696. accountname:
  6697. description: 交易账号名称
  6698. type: string
  6699. agreeunit:
  6700. description: 商品合约单位
  6701. type: number
  6702. begindate:
  6703. description: 开始交易日
  6704. type: string
  6705. buyorsell:
  6706. description: 持仓方向
  6707. type: integer
  6708. charge:
  6709. description: 手续费
  6710. type: number
  6711. closeavgprice:
  6712. description: 平仓均价
  6713. type: number
  6714. closepl:
  6715. description: 平仓损益
  6716. type: number
  6717. currencyid:
  6718. description: 结算币种ID
  6719. type: integer
  6720. currencyname:
  6721. description: 币种名称
  6722. type: string
  6723. cycletime:
  6724. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6725. type: string
  6726. cycletype:
  6727. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6728. type: integer
  6729. enddate:
  6730. description: 结束交易日
  6731. type: string
  6732. enumdicname:
  6733. description: 单位名称
  6734. type: string
  6735. floatpl:
  6736. description: 浮动损益
  6737. type: number
  6738. goodscode:
  6739. description: 交易合约代码
  6740. type: string
  6741. goodsgroupid:
  6742. description: 交易品种
  6743. type: integer
  6744. goodsgroupname:
  6745. description: 交易品种名称
  6746. type: string
  6747. goodsgroupspotqty:
  6748. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6749. type: number
  6750. goodsid:
  6751. description: 交易合约
  6752. type: integer
  6753. goodsname:
  6754. description: 交易合约名称
  6755. type: string
  6756. goodunitid:
  6757. description: 交易合约单位id
  6758. type: integer
  6759. holdamount:
  6760. description: 期末持仓额
  6761. type: number
  6762. holdqty:
  6763. description: 期末持仓量
  6764. type: number
  6765. lastholdamount:
  6766. description: 当前持仓额
  6767. type: number
  6768. lastprice:
  6769. description: 最新价
  6770. type: number
  6771. middlegoodsid:
  6772. description: 套保品种id
  6773. type: integer
  6774. middlegoodsname:
  6775. description: 套保商品名称
  6776. type: string
  6777. middlegoodsqty:
  6778. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6779. type: number
  6780. middlgoodscode:
  6781. description: 套保商品代码
  6782. type: string
  6783. openamount:
  6784. description: 期末开仓额
  6785. type: number
  6786. openavgprice:
  6787. description: 开仓均价
  6788. type: number
  6789. oriholdamount:
  6790. description: 期初持仓额
  6791. type: number
  6792. oriholdqty:
  6793. description: 期初持仓量
  6794. type: number
  6795. oriopenamount:
  6796. description: 期初开仓额
  6797. type: number
  6798. outergroupcode:
  6799. description: 交易品种代码
  6800. type: string
  6801. qtydecimalplace:
  6802. description: 成交量小数位
  6803. type: integer
  6804. reckondate:
  6805. description: 日照时期(yyyyMMdd)
  6806. type: string
  6807. reckonholdamount:
  6808. description: 结算持仓额
  6809. type: number
  6810. reckonpl:
  6811. description: 结算损益
  6812. type: number
  6813. reckonpl2:
  6814. description: 结算逐笔盈亏
  6815. type: number
  6816. reckonprice:
  6817. description: 结算价
  6818. type: number
  6819. relateduserid:
  6820. description: 账户关联用户ID
  6821. type: integer
  6822. todaycloseamount:
  6823. description: 今平仓额
  6824. type: number
  6825. todaycloseqty:
  6826. description: 今平仓量
  6827. type: number
  6828. todaygoodsgroupspotqty:
  6829. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6830. type: number
  6831. todaymiddlegoodsqty:
  6832. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6833. type: number
  6834. todayopenamount:
  6835. description: 今开仓额
  6836. type: number
  6837. todayopenqty:
  6838. description: 今开仓量
  6839. type: number
  6840. userid:
  6841. description: 账户所属用户ID
  6842. type: integer
  6843. type: object
  6844. models.Ermcp3TradeLinkDetail:
  6845. properties:
  6846. accountid:
  6847. description: 资金账号
  6848. type: integer
  6849. agreeunit:
  6850. description: 合约乘数
  6851. type: number
  6852. areauserid:
  6853. description: 所属机构
  6854. type: string
  6855. bizsubjectid:
  6856. description: 归属业务部门ID - SubjectID
  6857. type: string
  6858. buyorsell:
  6859. description: 方向 - 0:买 1:卖
  6860. type: integer
  6861. channelbuildtype:
  6862. description: 委托单据类型 0:无 1:建仓 2:平仓
  6863. type: integer
  6864. contractno:
  6865. description: 现货编号 (合同编号)
  6866. type: string
  6867. convertratio:
  6868. description: 折算系数
  6869. type: number
  6870. createtime:
  6871. description: 关联时间 | 创建时间
  6872. type: string
  6873. creatorid:
  6874. description: 创建人ID
  6875. type: string
  6876. creatorsrc:
  6877. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6878. type: integer
  6879. enumdicname:
  6880. description: 单位名称
  6881. type: string
  6882. goodscode:
  6883. description: 合约代码
  6884. type: string
  6885. goodsgroupid:
  6886. description: 对冲品种ID[期货合约商品组ID]
  6887. type: integer
  6888. goodsid:
  6889. description: 商品ID
  6890. type: integer
  6891. goodsname:
  6892. description: 合约名称
  6893. type: string
  6894. hedgeflag:
  6895. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6896. type: integer
  6897. linkdetailid:
  6898. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  6899. type: string
  6900. linkstatus:
  6901. description: 关联状态 - 1:成功 2:失败 3:解绑
  6902. type: integer
  6903. middlegoodscode:
  6904. description: 套保品种代码
  6905. type: string
  6906. middlegoodsid:
  6907. description: 套保品种ID
  6908. type: integer
  6909. middlegoodsname:
  6910. description: 套保品种名称
  6911. type: string
  6912. relatedlot:
  6913. description: 关联手数
  6914. type: number
  6915. relatedmode:
  6916. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  6917. type: integer
  6918. relatedqty:
  6919. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  6920. type: number
  6921. retcode:
  6922. description: 返回码
  6923. type: integer
  6924. saleuserid:
  6925. description: 业务员ID
  6926. type: string
  6927. spotcontractid:
  6928. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  6929. type: string
  6930. taname:
  6931. description: 期货账户
  6932. type: string
  6933. tradedate:
  6934. description: 关联交易日(yyyyMMdd)
  6935. type: string
  6936. tradeid:
  6937. description: 期货订单号 | 内部成交单ID
  6938. type: string
  6939. tradelot:
  6940. description: 成交数量 | 成交手数
  6941. type: integer
  6942. tradeprice:
  6943. description: 成交价格
  6944. type: number
  6945. tradetime:
  6946. description: 期货成交时间
  6947. type: string
  6948. tradetradedate:
  6949. description: 成交交易日(yyyyMMdd)
  6950. type: string
  6951. username:
  6952. description: 用户名称
  6953. type: string
  6954. type: object
  6955. models.Ermcp3Wrstandard:
  6956. properties:
  6957. areauserid:
  6958. description: 所属机构
  6959. type: integer
  6960. cantrade:
  6961. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  6962. type: integer
  6963. convertfactor:
  6964. description: 标仓系数
  6965. type: number
  6966. createtime:
  6967. description: 创建时间
  6968. type: string
  6969. creatorid:
  6970. description: 创建人
  6971. type: integer
  6972. deliverygoodsid:
  6973. description: 现货品种ID
  6974. type: integer
  6975. enumdicname:
  6976. description: 品类单位名称
  6977. type: string
  6978. isvalid:
  6979. description: 是否有效 0-无效(停用) 1-有效(正常)
  6980. type: integer
  6981. minivalue:
  6982. description: 最小变动值
  6983. type: integer
  6984. minivaluedp:
  6985. description: 最小变动值小数位
  6986. type: integer
  6987. realminivalue:
  6988. description: 实际最小变动值
  6989. type: integer
  6990. realminivaluedp:
  6991. description: 实际最小变动值小数位
  6992. type: integer
  6993. remark:
  6994. description: 备注
  6995. type: string
  6996. unitid:
  6997. description: 品类单位ID
  6998. type: integer
  6999. updatetime:
  7000. description: 更新时间
  7001. type: string
  7002. wrstandardcode:
  7003. description: 品类代码
  7004. type: string
  7005. wrstandardid:
  7006. description: 品类ID(SEQ_WRSTANDARD)
  7007. type: integer
  7008. wrstandardname:
  7009. description: 品类名称
  7010. type: string
  7011. type: object
  7012. models.ErmcpBizGroupEx:
  7013. properties:
  7014. acclist:
  7015. description: 账号列表
  7016. items:
  7017. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7018. type: array
  7019. bizgroupid:
  7020. description: 业务分组id
  7021. type: integer
  7022. biztype:
  7023. description: 业务类型 1-套保 2-套利
  7024. type: integer
  7025. wrlist:
  7026. description: 现货商品表
  7027. items:
  7028. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7029. type: array
  7030. type: object
  7031. models.ErmcpBizGroupSpotGoods:
  7032. properties:
  7033. areauserid:
  7034. description: 所属机构id
  7035. type: integer
  7036. bizgroupid:
  7037. description: 分组id
  7038. type: integer
  7039. biztype:
  7040. description: 业务类型 1-套保 2-套利
  7041. type: integer
  7042. deliverygoodscode:
  7043. description: 现货商品代码
  7044. type: string
  7045. deliverygoodsid:
  7046. description: 现货商品id
  7047. type: integer
  7048. deliverygoodsname:
  7049. description: 现货商品名称
  7050. type: string
  7051. unitid:
  7052. description: 现货商品单位id
  7053. type: integer
  7054. type: object
  7055. models.ErmcpBizGroupTaAccount:
  7056. properties:
  7057. accountid:
  7058. description: 账号id
  7059. type: integer
  7060. accountname:
  7061. description: 账号名称
  7062. type: string
  7063. areauserid:
  7064. description: 所属机构id
  7065. type: integer
  7066. bizgroupid:
  7067. description: 业务分组id
  7068. type: integer
  7069. ismain:
  7070. description: 是否主账号 1-是 0-否
  7071. type: integer
  7072. type: object
  7073. models.ErmcpDGFactoryItem:
  7074. properties:
  7075. areauserid:
  7076. description: 用户id
  7077. type: integer
  7078. deliverygoodsid:
  7079. description: 现货品种ID
  7080. type: integer
  7081. dgfactoryitemid:
  7082. description: 选择项ID(SEQ_DGFACTORYITEM)
  7083. type: integer
  7084. dgfactoryitemtypeid:
  7085. description: 要素项类型
  7086. type: integer
  7087. dgfactoryitemvalue:
  7088. description: 要素项值(类型为仓库时填写仓库名称)
  7089. type: string
  7090. isvalid:
  7091. description: 是否有效 - 0:无效 1:有效
  7092. type: integer
  7093. orderindex:
  7094. description: 顺序
  7095. type: integer
  7096. warehouseid:
  7097. description: 仓库ID(类型为仓库时填写)
  7098. type: integer
  7099. type: object
  7100. models.ErmcpDeliveryGoods:
  7101. properties:
  7102. agreeunit:
  7103. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7104. type: integer
  7105. areauserid:
  7106. description: 所属机构
  7107. type: integer
  7108. auditflag:
  7109. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7110. type: integer
  7111. categoryid:
  7112. description: 类别ID(SEQ_WRCATEGORY)
  7113. type: integer
  7114. deliverygoodscode:
  7115. description: 现货品种代码
  7116. type: string
  7117. deliverygoodsid:
  7118. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7119. type: integer
  7120. deliverygoodsname:
  7121. description: 现货品种名称
  7122. type: string
  7123. deliverygoodstype:
  7124. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7125. type: integer
  7126. dgstatus:
  7127. description: 品种状态 - 作废 - 0:未激活 1:正常
  7128. type: integer
  7129. enumdicname:
  7130. description: 现货品种单位名称
  7131. type: string
  7132. goodsunitid:
  7133. description: 现货品种单位ID
  7134. type: integer
  7135. isvalid:
  7136. description: 是否有效 - 0:无效 1:有效
  7137. type: integer
  7138. qtydecimalplace:
  7139. description: 成交量小数位
  7140. type: integer
  7141. remark:
  7142. description: 备注
  7143. type: string
  7144. standardqty:
  7145. description: 标准数量(库位数量) [标准品特有]
  7146. type: integer
  7147. standardqtyrange:
  7148. description: 标准数量偏差范围 [标准品特有]
  7149. type: integer
  7150. type: object
  7151. models.ErmcpFuturesCompany:
  7152. properties:
  7153. brokerid:
  7154. description: 经纪公司代码
  7155. type: string
  7156. channeladdress:
  7157. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7158. type: string
  7159. channelid:
  7160. description: 对冲渠道ID
  7161. type: string
  7162. createtime:
  7163. description: 创建时间
  7164. type: string
  7165. creatorid:
  7166. description: 创建人
  7167. type: string
  7168. fcid:
  7169. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7170. type: integer
  7171. fcname:
  7172. description: 期货公司名称
  7173. type: string
  7174. isvalid:
  7175. description: 是否有效 - 0:无效 1:有效
  7176. type: integer
  7177. mhpaddress:
  7178. description: MHP服务地址(IP:Port)
  7179. type: string
  7180. riskrulegroupid:
  7181. description: 风控规则组ID
  7182. type: string
  7183. tradefeetmpid:
  7184. description: 手续费模板ID[TradeConfigTmpType为2]
  7185. type: string
  7186. trademargintmpid:
  7187. description: 保证金模板ID [TradeConfigTmpType为1]
  7188. type: string
  7189. traderatetmpid:
  7190. description: 汇率模板ID[TradeConfigTmpType为3]
  7191. type: string
  7192. updatetime:
  7193. description: 更新时间
  7194. type: string
  7195. updatorid:
  7196. description: 更新人
  7197. type: string
  7198. type: object
  7199. models.ErmcpGGConvertCfg:
  7200. properties:
  7201. convertratio:
  7202. description: 折算系数
  7203. type: number
  7204. destgoodsgroupid:
  7205. description: 目标品种ID
  7206. type: integer
  7207. dstcode:
  7208. description: 目录品种代码
  7209. type: string
  7210. dstexchangecode:
  7211. description: 目标期货交易所
  7212. type: string
  7213. dstname:
  7214. description: 目标品种名称
  7215. type: string
  7216. dstunitid:
  7217. description: 目标品种单位ID
  7218. type: integer
  7219. dstunitidname:
  7220. description: 目标品种单位名称
  7221. type: string
  7222. modifytime:
  7223. description: 修改时间
  7224. type: string
  7225. srccode:
  7226. description: 源品种代码
  7227. type: string
  7228. srcexchangecode:
  7229. description: 源期货交易所
  7230. type: string
  7231. srcgoodsgroupid:
  7232. description: 源品种ID
  7233. type: integer
  7234. srcname:
  7235. description: 源品种名称
  7236. type: string
  7237. srcunitid:
  7238. description: 源品种单位ID
  7239. type: integer
  7240. srcunitidname:
  7241. description: 源品种单位名称
  7242. type: string
  7243. type: object
  7244. models.ErmcpGoods:
  7245. properties:
  7246. agreeunit:
  7247. description: 合约单位
  7248. type: number
  7249. areauserid:
  7250. description: 所属机构
  7251. type: integer
  7252. auditaccountid:
  7253. description: 审核操作员账号
  7254. type: integer
  7255. audittime:
  7256. description: 审核时间
  7257. type: string
  7258. cancelaccountid:
  7259. description: 注销操作员账号
  7260. type: integer
  7261. canceltime:
  7262. description: 注销时间
  7263. type: string
  7264. closepricemode:
  7265. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7266. type: integer
  7267. closepriceparam:
  7268. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7269. type: number
  7270. createtime:
  7271. description: 创建时间
  7272. type: string
  7273. creatorid:
  7274. description: 创建人
  7275. type: integer
  7276. currencyid:
  7277. description: 报价货币ID
  7278. type: integer
  7279. cutmode:
  7280. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7281. type: integer
  7282. decimalplace:
  7283. description: 报价小数位
  7284. type: integer
  7285. delistingdate:
  7286. description: 商品退市时间(状态:退市) -- 已作废
  7287. type: string
  7288. delistingmode:
  7289. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7290. type: integer
  7291. deliveryflag:
  7292. description: 交割标志 - 0:不可交割 1:可交割
  7293. type: integer
  7294. enumdicname:
  7295. description: 单位名称
  7296. type: string
  7297. forceclosemode:
  7298. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7299. type: integer
  7300. forceclosevalue:
  7301. description: 定期强平参数 [收益权]
  7302. type: integer
  7303. goodscode:
  7304. description: 商品代码(内部)
  7305. type: string
  7306. goodscurrencyid:
  7307. description: 合约货币ID
  7308. type: integer
  7309. goodsgroupid:
  7310. description: 所属商品组ID
  7311. type: integer
  7312. goodsid:
  7313. description: 商品ID(自增ID SEQ_GOODS)
  7314. type: integer
  7315. goodsname:
  7316. description: 商品名称
  7317. type: string
  7318. goodsquotetype:
  7319. description: '合约报价类型: 1-直接报价 2-间接报价'
  7320. type: integer
  7321. goodsstatus:
  7322. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7323. type: integer
  7324. goodstradetype:
  7325. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7326. type: integer
  7327. goodunitid:
  7328. description: 报价单位ID
  7329. type: integer
  7330. hasquoter:
  7331. description: 是否有报价商 - 0:无报价商 1:有报价商
  7332. type: integer
  7333. hqprotecttime:
  7334. description: 行情保护时间(秒)
  7335. type: integer
  7336. innerdealmode:
  7337. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7338. type: integer
  7339. isbuylimited:
  7340. description: 是否限制建仓量 - 0:不限制 1:限制
  7341. type: integer
  7342. isvisible:
  7343. description: 游客是否可见 - 0:不可见 1:可见
  7344. type: integer
  7345. lasttradedate:
  7346. description: 最后交易日期(状态:待退市)
  7347. type: string
  7348. listingdate:
  7349. description: 交易开始日期
  7350. type: string
  7351. marketid:
  7352. description: 所属市场ID
  7353. type: integer
  7354. modifierid:
  7355. description: 修改人
  7356. type: integer
  7357. modifystatus:
  7358. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7359. type: integer
  7360. modifytime:
  7361. description: 修改时间
  7362. type: string
  7363. outerdealmode:
  7364. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7365. type: integer
  7366. outgoodscode:
  7367. description: 商品代码(外部)
  7368. type: string
  7369. pictureurl:
  7370. description: 商品图片
  7371. type: string
  7372. qtydecimalplace:
  7373. description: 成交量小数位
  7374. type: integer
  7375. quotegear:
  7376. description: 行情档位(1-10)
  7377. type: integer
  7378. quoteminunit:
  7379. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7380. type: integer
  7381. quoteshowtype:
  7382. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7383. type: integer
  7384. quoteshowtypeinterval:
  7385. description: 行情报价间隔时间(秒)(成交价时为0)
  7386. type: integer
  7387. relatedgoodsid:
  7388. description: 关联参考商品ID
  7389. type: integer
  7390. remark:
  7391. description: 备注
  7392. type: string
  7393. trademode:
  7394. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  7395. type: integer
  7396. required:
  7397. - goodscode
  7398. - goodsid
  7399. - goodsname
  7400. - marketid
  7401. type: object
  7402. models.ErmcpGoodsBrand:
  7403. properties:
  7404. areauserid:
  7405. description: 所属机构
  7406. type: integer
  7407. brandid:
  7408. description: BrandID(SEQ_SPOTGOODSBRAND)
  7409. type: integer
  7410. brandname:
  7411. description: 品牌名称
  7412. type: string
  7413. createtime:
  7414. description: 创建时间
  7415. type: string
  7416. creatorid:
  7417. description: 创建人
  7418. type: integer
  7419. creatorsrc:
  7420. description: 创建人来源 - 1:管理端 2:终端
  7421. type: integer
  7422. deliverygoodsid:
  7423. description: 现货品种ID
  7424. type: integer
  7425. isvalid:
  7426. description: 是否有效 - 0:无效 1:有效
  7427. type: integer
  7428. updatetime:
  7429. description: 更新时间
  7430. type: string
  7431. updatorid:
  7432. description: 更新人
  7433. type: integer
  7434. updatorsrc:
  7435. description: 更新人来源 - 1:管理端 2:终端
  7436. type: integer
  7437. wrstandardid:
  7438. description: 现货商品ID
  7439. type: integer
  7440. type: object
  7441. models.ErmcpGoodsModel:
  7442. properties:
  7443. areauserid:
  7444. description: 所属机构
  7445. type: integer
  7446. convertfactor:
  7447. description: 标仓系数
  7448. type: number
  7449. createtime:
  7450. description: 创建时间
  7451. type: string
  7452. creatorid:
  7453. description: 创建人
  7454. type: integer
  7455. creatorsrc:
  7456. description: 创建人来源 - 1:管理端 2:终端
  7457. type: integer
  7458. deliverygoodsid:
  7459. description: 现货品种ID
  7460. type: integer
  7461. isvalid:
  7462. description: 是否有效 - 0:无效 1:有效
  7463. type: integer
  7464. modelid:
  7465. description: ModelID(SEQ_SPOTGOODSMODEL)
  7466. type: integer
  7467. modelname:
  7468. description: 型号名称
  7469. type: string
  7470. updatetime:
  7471. description: 更新时间
  7472. type: string
  7473. updatorid:
  7474. description: 更新人
  7475. type: integer
  7476. updatorsrc:
  7477. description: 更新人来源 - 1:管理端 2:终端
  7478. type: integer
  7479. wrstandardid:
  7480. description: 现货商品ID
  7481. type: integer
  7482. type: object
  7483. models.ErmcpHisExposure:
  7484. properties:
  7485. needhedgeexposoure:
  7486. description: 应套保敞口
  7487. type: number
  7488. reckondate:
  7489. description: 日照时期(yyyyMMdd)
  7490. type: string
  7491. totalexposure:
  7492. description: 总敞口
  7493. type: number
  7494. type: object
  7495. models.ErmcpLoginTaAccount:
  7496. properties:
  7497. accountid:
  7498. description: 账号id
  7499. type: integer
  7500. accountname:
  7501. description: 账号名称
  7502. type: string
  7503. type: object
  7504. models.ErmcpLoginUser:
  7505. properties:
  7506. acclist:
  7507. description: 关联资金账号
  7508. items:
  7509. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7510. type: array
  7511. accountname:
  7512. description: 用户名称
  7513. type: string
  7514. clientroleid:
  7515. description: 角色id(usertype=2)
  7516. type: integer
  7517. createtime:
  7518. description: 创建时间
  7519. type: string
  7520. logincode:
  7521. description: 登录代码
  7522. type: string
  7523. loginid:
  7524. description: 登录id(LOGINID)
  7525. type: integer
  7526. loginname:
  7527. description: 登录名称(loginaccount表中的accountname字段)
  7528. type: string
  7529. loginstatus:
  7530. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7531. type: integer
  7532. memberuserid:
  7533. description: 所属会员id
  7534. type: integer
  7535. mobile:
  7536. description: 手机号
  7537. type: string
  7538. modifytime:
  7539. description: 修改时间
  7540. type: string
  7541. password:
  7542. description: 密码(不可解密)
  7543. type: string
  7544. rolename:
  7545. description: 角色名称
  7546. type: string
  7547. rolestatus:
  7548. description: 角色状态 1-启用 2-停用
  7549. type: integer
  7550. roletype:
  7551. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7552. type: string
  7553. userid:
  7554. description: 用户id
  7555. type: integer
  7556. usertype:
  7557. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7558. type: integer
  7559. type: object
  7560. models.ErmcpLoginUserEx:
  7561. properties:
  7562. accountstatus:
  7563. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7564. type: integer
  7565. mobile:
  7566. description: 手机号
  7567. type: string
  7568. querytype:
  7569. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7570. type: integer
  7571. roleid:
  7572. description: 角色id(交易账户->用户id)
  7573. type: integer
  7574. rolename:
  7575. description: 角色名称(交易账户->用户名称)
  7576. type: string
  7577. userlist:
  7578. description: 用户列表
  7579. items:
  7580. $ref: '#/definitions/models.ErmcpLoginUser'
  7581. type: array
  7582. usertype:
  7583. description: 用户类型 2-机构 7-企业成员(云平台)
  7584. type: integer
  7585. type: object
  7586. models.ErmcpMiddleGoodsModel:
  7587. properties:
  7588. areauserid:
  7589. description: 机构用户ID
  7590. type: integer
  7591. createtime:
  7592. description: 修改时间
  7593. type: string
  7594. enumdicname:
  7595. description: 单位名称
  7596. type: string
  7597. evaluateratio:
  7598. description: 估价系数
  7599. type: number
  7600. goodsgroupid:
  7601. description: 关联期货品种ID
  7602. type: integer
  7603. goodsunitid:
  7604. description: 单位ID
  7605. type: integer
  7606. isvalid:
  7607. description: 状态 0-无效(停用) 1-有效(正常)
  7608. type: integer
  7609. middlegoodscode:
  7610. description: 套保品种代码
  7611. type: string
  7612. middlegoodsid:
  7613. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7614. type: integer
  7615. middlegoodsname:
  7616. description: 套保品种名称
  7617. type: string
  7618. modifytime:
  7619. description: 修改时间
  7620. type: string
  7621. needarbitrageratio:
  7622. description: 套利比例
  7623. type: number
  7624. needhedgeratio:
  7625. description: 套保比率
  7626. type: number
  7627. qtydecimalplace:
  7628. description: 数量小数位
  7629. type: integer
  7630. relatedgoodsid:
  7631. description: 关联交易商品ID
  7632. type: integer
  7633. relatedgoodstype:
  7634. description: 关联商品类型 - 1:期货合约 2:现货品种
  7635. type: integer
  7636. remark:
  7637. description: 备注
  7638. type: string
  7639. type: object
  7640. models.ErmcpMiddlegoodsRelateGoods:
  7641. properties:
  7642. agreeunit:
  7643. description: 合约乘数
  7644. type: number
  7645. convertratio:
  7646. description: 折算系数
  7647. type: number
  7648. enumdicname:
  7649. description: 单位名称(交易商品)
  7650. type: string
  7651. goodscode:
  7652. description: 交易商品代码
  7653. type: string
  7654. goodsgroupid:
  7655. description: 交易品种id
  7656. type: integer
  7657. goodsid:
  7658. description: 商品Id
  7659. type: integer
  7660. goodsname:
  7661. description: 交易商品名称
  7662. type: string
  7663. goodunitid:
  7664. description: 交易商品单位id
  7665. type: integer
  7666. middlegoodsid:
  7667. description: 套保商品id
  7668. type: integer
  7669. middlegoodsname:
  7670. description: 套保商品名称
  7671. type: string
  7672. middlegoodsswcode:
  7673. description: 套保商品代码
  7674. type: string
  7675. needarbitrageratio:
  7676. description: 应套利比例
  7677. type: number
  7678. needhedgeratio:
  7679. description: 应套保比例
  7680. type: number
  7681. type: object
  7682. models.ErmcpRole:
  7683. properties:
  7684. areauserid:
  7685. description: 所属机构
  7686. type: integer
  7687. autoid:
  7688. description: 角色ID(自增ID)
  7689. type: integer
  7690. modifierid:
  7691. description: 修改人(创建人)
  7692. type: integer
  7693. modifiername:
  7694. description: 修改人名称
  7695. type: string
  7696. modifytime:
  7697. description: 修改时间(创建时间)
  7698. type: string
  7699. rolename:
  7700. description: 角色名称
  7701. type: string
  7702. rolestatus:
  7703. description: 角色状态 - 1:启用 2:停用
  7704. type: integer
  7705. roletype:
  7706. description: 角色类型 - 1- 管理端 2- 交易端
  7707. type: integer
  7708. type: object
  7709. models.ErmcpRoleMenu:
  7710. properties:
  7711. iconame:
  7712. description: 菜单图标
  7713. type: string
  7714. ishadrole:
  7715. description: 是否有权限
  7716. type: boolean
  7717. menutype:
  7718. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  7719. type: integer
  7720. parentcode:
  7721. description: 上级资源代码
  7722. type: string
  7723. remark:
  7724. description: 菜单备注
  7725. type: string
  7726. resourcecode:
  7727. description: 菜单代码
  7728. type: string
  7729. resourcelevel:
  7730. description: 级别
  7731. type: integer
  7732. resourcename:
  7733. description: 菜单名称
  7734. type: string
  7735. roleid:
  7736. description: 角色id
  7737. type: integer
  7738. sort:
  7739. description: 排序
  7740. type: integer
  7741. url:
  7742. description: URL
  7743. type: string
  7744. userid:
  7745. description: 用户id
  7746. type: integer
  7747. type: object
  7748. models.ErmcpRoleMenuEx:
  7749. properties:
  7750. menu:
  7751. $ref: '#/definitions/models.ErmcpRoleMenu'
  7752. description: 父级菜单
  7753. subMenu:
  7754. description: 子级菜单
  7755. items:
  7756. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7757. type: array
  7758. type: object
  7759. models.ErmcpTaAccount:
  7760. properties:
  7761. accountid:
  7762. description: 账户id
  7763. type: integer
  7764. accountname:
  7765. description: 账户名称
  7766. type: string
  7767. currencyid:
  7768. description: 币种id
  7769. type: integer
  7770. hedgeaccountcode:
  7771. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7772. type: string
  7773. ismain:
  7774. description: 是否主账户 0-否 1-是
  7775. type: integer
  7776. parentaccountid:
  7777. description: 父账户id
  7778. type: integer
  7779. relateduserid:
  7780. description: 关联userid
  7781. type: integer
  7782. tradefeetmpid:
  7783. description: 手续费模板id
  7784. type: integer
  7785. tradefeetmpname:
  7786. description: 手续费模板名称
  7787. type: string
  7788. trademargintmpid:
  7789. description: 保证金模板id
  7790. type: integer
  7791. trademargintmpname:
  7792. description: 保证金模板名称
  7793. type: string
  7794. traderatetmpid:
  7795. description: 汇率模板id
  7796. type: integer
  7797. traderatetmpname:
  7798. description: 汇率模板名称
  7799. type: string
  7800. tradestatus:
  7801. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7802. type: integer
  7803. userid:
  7804. description: 用户id
  7805. type: integer
  7806. type: object
  7807. models.ErmcpTaAccountEx:
  7808. properties:
  7809. mainAcc:
  7810. $ref: '#/definitions/models.ErmcpTaAccountM'
  7811. description: 主账号
  7812. subacclist:
  7813. description: 子账号列表
  7814. items:
  7815. $ref: '#/definitions/models.ErmcpTaAccount'
  7816. type: array
  7817. type: object
  7818. models.ErmcpTaAccountInfo:
  7819. properties:
  7820. accountid:
  7821. description: 资金账户ID
  7822. type: integer
  7823. accountname:
  7824. description: 账户名称
  7825. type: string
  7826. balance:
  7827. description: 期初余额
  7828. type: number
  7829. capitalbalance:
  7830. description: 本金余额[外部子账户实际出入金余额]
  7831. type: number
  7832. closepl:
  7833. description: 今日平仓盈亏
  7834. type: number
  7835. creditdecrease:
  7836. description: 今日授信减少
  7837. type: number
  7838. creditincrease:
  7839. description: 今日授信增加
  7840. type: number
  7841. curdebt:
  7842. description: 期末欠款
  7843. type: number
  7844. currencyid:
  7845. description: 货币ID
  7846. type: integer
  7847. currentbalance:
  7848. description: 期末余额
  7849. type: number
  7850. freezecharge:
  7851. description: 手续费冻结
  7852. type: number
  7853. freezemargin:
  7854. description: 冻结保证金
  7855. type: number
  7856. fromaccountid:
  7857. description: 所属上级账户
  7858. type: integer
  7859. inamount:
  7860. description: 今日入金金额(包括三方入金)
  7861. type: number
  7862. ismain:
  7863. description: 是否母账号 0:不是母账户 1:是母账户
  7864. type: integer
  7865. mortgagecredit:
  7866. description: 授信金额
  7867. type: number
  7868. oridebt:
  7869. description: 期初欠款
  7870. type: number
  7871. orifreezecharge:
  7872. description: 期初手续费冻结
  7873. type: number
  7874. orifreezemargin:
  7875. description: 期初冻结保证金
  7876. type: number
  7877. orimortgagecredit:
  7878. description: 期初授信金额
  7879. type: number
  7880. oriothercredit:
  7881. description: 期初其它授信金额
  7882. type: number
  7883. oriotherfreezemargin:
  7884. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7885. type: number
  7886. orioutamountfreeze:
  7887. description: 期初出金冻结
  7888. type: number
  7889. oriusedmargin:
  7890. description: 期初占用保证金
  7891. type: number
  7892. othercredit:
  7893. description: 其它授信金额
  7894. type: number
  7895. othercreditdecrease:
  7896. description: 今日其它授信减少
  7897. type: number
  7898. othercreditincrease:
  7899. description: 今日其它授信增加
  7900. type: number
  7901. otherfreezemargin:
  7902. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7903. type: number
  7904. outamount:
  7905. description: 今日出金金额(包括三方出金)
  7906. type: number
  7907. outamountfreeze:
  7908. description: 出金冻结
  7909. type: number
  7910. outthreshold:
  7911. description: 出金阈值
  7912. type: number
  7913. parentaccountid:
  7914. description: 所属根账号
  7915. type: integer
  7916. paycharge:
  7917. description: 今日手续费支出
  7918. type: number
  7919. relateduserid:
  7920. description: 关联用户
  7921. type: integer
  7922. signstatus:
  7923. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7924. type: integer
  7925. sublevelpath:
  7926. description: 账号层级路径(逗号分隔,首尾加逗号)
  7927. type: string
  7928. taaccounttype:
  7929. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7930. type: integer
  7931. thirdinamount:
  7932. description: 今日三方入金
  7933. type: number
  7934. thirdoutamount:
  7935. description: 今日三方出金
  7936. type: number
  7937. tradestatus:
  7938. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7939. type: integer
  7940. transferamount:
  7941. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7942. type: number
  7943. usedmargin:
  7944. description: 占用保证金
  7945. type: number
  7946. userid:
  7947. description: 用户ID
  7948. type: integer
  7949. type: object
  7950. models.ErmcpTaAccountM:
  7951. properties:
  7952. accountid:
  7953. description: 账户id
  7954. type: integer
  7955. accountname:
  7956. description: 账户名称
  7957. type: string
  7958. currencyid:
  7959. description: 币种id
  7960. type: integer
  7961. fcid:
  7962. description: 期货公司id
  7963. type: integer
  7964. fcname:
  7965. description: 期货公司代码
  7966. type: string
  7967. hedgeaccountcode:
  7968. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7969. type: string
  7970. ismain:
  7971. description: 是否主账户 0-否 1-是
  7972. type: integer
  7973. parentaccountid:
  7974. description: 父账户id
  7975. type: integer
  7976. relateduserid:
  7977. description: 关联userid
  7978. type: integer
  7979. tradefeetmpid:
  7980. description: 手续费模板id
  7981. type: integer
  7982. tradefeetmpname:
  7983. description: 手续费模板名称
  7984. type: string
  7985. trademargintmpid:
  7986. description: 保证金模板id
  7987. type: integer
  7988. trademargintmpname:
  7989. description: 保证金模板名称
  7990. type: string
  7991. traderatetmpid:
  7992. description: 汇率模板id
  7993. type: integer
  7994. traderatetmpname:
  7995. description: 汇率模板名称
  7996. type: string
  7997. tradestatus:
  7998. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7999. type: integer
  8000. userid:
  8001. description: 用户id
  8002. type: integer
  8003. type: object
  8004. models.ErmcpTradeConfigTMP:
  8005. properties:
  8006. areauserid:
  8007. description: 所属机构
  8008. type: integer
  8009. basiccurrencyid:
  8010. description: 基本币种ID[汇率] - 目标币种
  8011. type: integer
  8012. mainaccountid:
  8013. description: 主账户ID
  8014. type: integer
  8015. modifierid:
  8016. description: 修改人
  8017. type: integer
  8018. remark:
  8019. description: 备注
  8020. type: string
  8021. tradeconfigtmpid:
  8022. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8023. type: integer
  8024. tradeconfigtmpname:
  8025. description: 交易配置模板名称
  8026. type: string
  8027. tradeconfigtmptype:
  8028. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8029. type: integer
  8030. updatetime:
  8031. description: 更新时间
  8032. type: string
  8033. type: object
  8034. models.Externalexchange:
  8035. properties:
  8036. autoid:
  8037. description: AutoID - SEQ_EXTERNALEXCHANGE
  8038. type: integer
  8039. exchangefullname:
  8040. description: 外部交易所全称
  8041. type: string
  8042. exexchangecode:
  8043. description: 外部交易所代码
  8044. type: string
  8045. exexchangename:
  8046. description: 外部交易所名称(简称)
  8047. type: string
  8048. ismarketprice:
  8049. description: 是否支持市价 - 0:不支持 1:支持
  8050. type: integer
  8051. quotegear:
  8052. description: 行情档位(1-10)
  8053. type: integer
  8054. showbrokerflag:
  8055. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8056. type: integer
  8057. updatetime:
  8058. description: 更新时间
  8059. type: string
  8060. required:
  8061. - autoid
  8062. type: object
  8063. models.Funcmenulist:
  8064. properties:
  8065. iconame:
  8066. description: 菜单图标
  8067. type: string
  8068. menutype:
  8069. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8070. type: integer
  8071. parentcode:
  8072. description: 上级资源代码
  8073. type: string
  8074. remark:
  8075. description: 备注
  8076. type: string
  8077. resourcecode:
  8078. description: 资源代码
  8079. type: string
  8080. resourcelevel:
  8081. description: 级别 1-一级 2-二级 3-三级 4-四级
  8082. type: integer
  8083. resourcename:
  8084. description: 资源名
  8085. type: string
  8086. sort:
  8087. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8088. type: integer
  8089. url:
  8090. description: URL
  8091. type: string
  8092. required:
  8093. - resourcecode
  8094. type: object
  8095. models.Goods:
  8096. properties:
  8097. agreeunit:
  8098. description: 合约单位
  8099. type: number
  8100. areauserid:
  8101. description: 所属机构
  8102. type: integer
  8103. auditaccountid:
  8104. description: 审核操作员账号
  8105. type: integer
  8106. audittime:
  8107. description: 审核时间
  8108. type: string
  8109. cancelaccountid:
  8110. description: 注销操作员账号
  8111. type: integer
  8112. canceltime:
  8113. description: 注销时间
  8114. type: string
  8115. closepricemode:
  8116. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8117. type: integer
  8118. closepriceparam:
  8119. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8120. type: number
  8121. createtime:
  8122. description: 创建时间
  8123. type: string
  8124. creatorid:
  8125. description: 创建人
  8126. type: integer
  8127. currencyid:
  8128. description: 报价货币ID
  8129. type: integer
  8130. cutmode:
  8131. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8132. type: integer
  8133. decimalplace:
  8134. description: 报价小数位
  8135. type: integer
  8136. delistingdate:
  8137. description: 商品退市时间(状态:退市) -- 已作废
  8138. type: string
  8139. delistingmode:
  8140. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8141. type: integer
  8142. deliveryflag:
  8143. description: 交割标志 - 0:不可交割 1:可交割
  8144. type: integer
  8145. forceclosemode:
  8146. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8147. type: integer
  8148. forceclosevalue:
  8149. description: 定期强平参数 [收益权]
  8150. type: integer
  8151. goodscode:
  8152. description: 商品代码(内部)
  8153. type: string
  8154. goodscurrencyid:
  8155. description: 合约货币ID
  8156. type: integer
  8157. goodsgroupid:
  8158. description: 所属商品组ID
  8159. type: integer
  8160. goodsid:
  8161. description: 商品ID(自增ID SEQ_GOODS)
  8162. type: integer
  8163. goodsname:
  8164. description: 商品名称
  8165. type: string
  8166. goodsquotetype:
  8167. description: '合约报价类型: 1-直接报价 2-间接报价'
  8168. type: integer
  8169. goodsstatus:
  8170. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8171. type: integer
  8172. goodstradetype:
  8173. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8174. type: integer
  8175. goodunitid:
  8176. description: 报价单位ID
  8177. type: integer
  8178. hasquoter:
  8179. description: 是否有报价商 - 0:无报价商 1:有报价商
  8180. type: integer
  8181. hqprotecttime:
  8182. description: 行情保护时间(秒)
  8183. type: integer
  8184. innerdealmode:
  8185. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8186. type: integer
  8187. isbuylimited:
  8188. description: 是否限制建仓量 - 0:不限制 1:限制
  8189. type: integer
  8190. isvisible:
  8191. description: 游客是否可见 - 0:不可见 1:可见
  8192. type: integer
  8193. lasttradedate:
  8194. description: 最后交易日期(状态:待退市)
  8195. type: string
  8196. listingdate:
  8197. description: 交易开始日期
  8198. type: string
  8199. marketid:
  8200. description: 所属市场ID
  8201. type: integer
  8202. modifierid:
  8203. description: 修改人
  8204. type: integer
  8205. modifystatus:
  8206. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8207. type: integer
  8208. modifytime:
  8209. description: 修改时间
  8210. type: string
  8211. outerdealmode:
  8212. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8213. type: integer
  8214. outgoodscode:
  8215. description: 商品代码(外部)
  8216. type: string
  8217. pictureurl:
  8218. description: 商品图片
  8219. type: string
  8220. qtydecimalplace:
  8221. description: 成交量小数位
  8222. type: integer
  8223. quotegear:
  8224. description: 行情档位(1-10)
  8225. type: integer
  8226. quoteminunit:
  8227. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8228. type: integer
  8229. quoteshowtype:
  8230. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8231. type: integer
  8232. quoteshowtypeinterval:
  8233. description: 行情报价间隔时间(秒)(成交价时为0)
  8234. type: integer
  8235. remark:
  8236. description: 备注
  8237. type: string
  8238. required:
  8239. - goodscode
  8240. - goodsid
  8241. - goodsname
  8242. - marketid
  8243. type: object
  8244. models.GoodsIDAndName:
  8245. properties:
  8246. goodscode:
  8247. description: 商品代码(内部)
  8248. type: string
  8249. goodsid:
  8250. description: 商品ID(自增ID SEQ_GOODS)
  8251. type: integer
  8252. goodsname:
  8253. description: 商品名称
  8254. type: string
  8255. marketid:
  8256. description: 所属市场ID
  8257. type: integer
  8258. required:
  8259. - goodscode
  8260. - goodsid
  8261. - goodsname
  8262. - marketid
  8263. type: object
  8264. models.Goodsgroup:
  8265. properties:
  8266. agreeunit:
  8267. description: 合约单位
  8268. type: number
  8269. canshort:
  8270. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8271. type: integer
  8272. closepricemode:
  8273. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8274. type: integer
  8275. closepriceparam:
  8276. description: 强平最新价浮动比例 - 方式为2时使用
  8277. type: number
  8278. createtime:
  8279. description: 创建时间
  8280. type: string
  8281. creatorid:
  8282. description: 创建人
  8283. type: integer
  8284. currencyid:
  8285. description: 报价货币ID
  8286. type: integer
  8287. decimalplace:
  8288. description: 报价小数位
  8289. type: integer
  8290. exercisetype:
  8291. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8292. type: integer
  8293. exexchangeid:
  8294. description: 外部交易所ID[通道交易]
  8295. type: integer
  8296. goodsgroupid:
  8297. description: 商品组ID(自增ID)
  8298. type: integer
  8299. goodsgroupname:
  8300. description: 商品组名称
  8301. type: string
  8302. goodsgroupstatus:
  8303. description: 商品组状态 - 1:正常 2:注销
  8304. type: integer
  8305. goodunitid:
  8306. description: 报价单位ID
  8307. type: integer
  8308. innerdealmode:
  8309. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8310. type: integer
  8311. isbuylimited:
  8312. description: 是否限制建仓量 - 0:不限制 1:限制
  8313. type: integer
  8314. marketid:
  8315. description: 所属市场ID
  8316. type: integer
  8317. modifierid:
  8318. description: 修改人
  8319. type: integer
  8320. modifytime:
  8321. description: 修改时间
  8322. type: string
  8323. outerdealmode:
  8324. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8325. type: integer
  8326. outergroupcode:
  8327. description: 外部商品组代码[通道交易]
  8328. type: string
  8329. premiumdecimalplace:
  8330. description: 权利金小数位[场外期权]
  8331. type: integer
  8332. premiumspreadalgorithm:
  8333. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8334. type: integer
  8335. premiumspreadvalue:
  8336. description: 权利金点差值[场外期权]
  8337. type: number
  8338. qtydecimalplace:
  8339. description: 成交量小数位
  8340. type: integer
  8341. quotegear:
  8342. description: 行情档位(1-10)
  8343. type: integer
  8344. quoteminunit:
  8345. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8346. type: integer
  8347. quoterid:
  8348. description: 报价商ID[场外期权]
  8349. type: integer
  8350. quotesourcegroupid:
  8351. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8352. type: integer
  8353. syncgoodsqty:
  8354. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8355. type: integer
  8356. required:
  8357. - goodsgroupid
  8358. - goodsgroupname
  8359. - goodsgroupstatus
  8360. - marketid
  8361. type: object
  8362. models.Goodssortbypreposition:
  8363. properties:
  8364. goodscode:
  8365. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8366. type: string
  8367. goodsgroupcode:
  8368. description: 品种代码
  8369. type: string
  8370. prepositionqty:
  8371. description: 昨持仓量
  8372. type: integer
  8373. sortindex:
  8374. description: 排序
  8375. type: integer
  8376. tradedate:
  8377. description: 交易日
  8378. type: string
  8379. updatetime:
  8380. description: 更新时间
  8381. type: string
  8382. required:
  8383. - goodscode
  8384. - tradedate
  8385. type: object
  8386. models.Hedgeinnerholderdetail:
  8387. properties:
  8388. accountid:
  8389. description: 账号ID
  8390. type: integer
  8391. buyorsell:
  8392. description: 方向 - 0:买 1:卖
  8393. type: integer
  8394. freezeqty:
  8395. description: 冻结数量 - 按单平使用
  8396. type: integer
  8397. goodsid:
  8398. description: 商品ID
  8399. type: integer
  8400. holderamount:
  8401. description: 持仓金额 [商品币种]
  8402. type: number
  8403. holderdays:
  8404. description: 剩余冻结天数
  8405. type: integer
  8406. holderprice:
  8407. description: 持仓价格
  8408. type: number
  8409. holderqty:
  8410. description: 持仓数量
  8411. type: integer
  8412. marketid:
  8413. description: 市场ID
  8414. type: integer
  8415. openprice:
  8416. description: 建仓价格
  8417. type: number
  8418. openqty:
  8419. description: 建仓数量
  8420. type: integer
  8421. parentaccountid:
  8422. description: 所属母账户
  8423. type: integer
  8424. releaseamount:
  8425. description: 释放持仓金额[商品币种]
  8426. type: number
  8427. tradeamount:
  8428. description: 成交金额[账户]
  8429. type: number
  8430. tradedate:
  8431. description: 交易日(yyyyMMdd)
  8432. type: string
  8433. tradeid:
  8434. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8435. type: string
  8436. tradetime:
  8437. description: 交易时间
  8438. type: string
  8439. required:
  8440. - buyorsell
  8441. - tradeid
  8442. type: object
  8443. models.Hedgemarketopenlog:
  8444. properties:
  8445. accountid:
  8446. description: 资金账号[外部母账户]
  8447. type: integer
  8448. fcname:
  8449. description: 期货公司名称
  8450. type: string
  8451. handlestatus:
  8452. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8453. type: integer
  8454. marketid:
  8455. description: 市场ID
  8456. type: integer
  8457. status:
  8458. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8459. type: integer
  8460. tradedate:
  8461. description: 交易日(yyyyMMdd)
  8462. type: string
  8463. updatetime:
  8464. description: 更新时间
  8465. type: string
  8466. required:
  8467. - accountid
  8468. type: object
  8469. models.HsbyBuyMyPayOrder:
  8470. properties:
  8471. agreeunit:
  8472. description: 合约单位
  8473. type: number
  8474. buyaccountid:
  8475. description: 买方账号ID[报价币种]
  8476. type: integer
  8477. buyorderid:
  8478. description: 买方委托单号
  8479. type: string
  8480. createtime:
  8481. description: 创建时间
  8482. type: string
  8483. currencysign:
  8484. description: 货币符号
  8485. type: string
  8486. decimalplace:
  8487. description: 报价小数位
  8488. type: integer
  8489. goodscode:
  8490. description: 商品代码(内部)
  8491. type: string
  8492. goodsid:
  8493. description: 商品ID
  8494. type: integer
  8495. goodsname:
  8496. description: 商品名称
  8497. type: string
  8498. marketid:
  8499. description: 市场ID
  8500. type: integer
  8501. offamount:
  8502. description: 优惠金额
  8503. type: number
  8504. originalamount:
  8505. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8506. type: number
  8507. payamount:
  8508. description: 支付金额 = TradeAmount + TradeCharge
  8509. type: number
  8510. payflag:
  8511. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8512. type: integer
  8513. paylimitedtime:
  8514. description: 支付期限
  8515. type: string
  8516. paytime:
  8517. description: 付款时间
  8518. type: string
  8519. picurls1:
  8520. description: 预售商品介绍图片[多张用逗号分隔]
  8521. type: string
  8522. picurls2:
  8523. description: 挂牌商品介绍图片[多张用逗号分隔]
  8524. type: string
  8525. sellaccountid:
  8526. description: 卖方账号ID[报价币种]
  8527. type: integer
  8528. sellorderid:
  8529. description: 卖方委托单号
  8530. type: string
  8531. tradeamount:
  8532. description: 成交金额
  8533. type: number
  8534. tradecharge:
  8535. description: 成交手续费(买方)
  8536. type: number
  8537. tradedate:
  8538. description: 交易日(yyyyMMdd)
  8539. type: string
  8540. tradeid:
  8541. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8542. type: string
  8543. trademode:
  8544. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8545. type: integer
  8546. tradeprice:
  8547. description: 成交价格
  8548. type: number
  8549. tradeqty:
  8550. description: 成交数量
  8551. type: integer
  8552. vendorname1:
  8553. description: 预售商品供应商名称
  8554. type: string
  8555. vendorname2:
  8556. description: 挂牌商品供应商名称
  8557. type: string
  8558. required:
  8559. - goodscode
  8560. - goodsname
  8561. - tradeid
  8562. - trademode
  8563. type: object
  8564. models.HsbyBuyMyTradeDetail:
  8565. properties:
  8566. accountid:
  8567. description: 账户ID[报价币种]
  8568. type: integer
  8569. agreeunit:
  8570. description: 合约单位
  8571. type: number
  8572. amount:
  8573. description: 金额 = 价格 * 数量 * 合约单位
  8574. type: number
  8575. buyorsell:
  8576. description: 买卖 - 0:买 1:卖
  8577. type: integer
  8578. currencysign:
  8579. description: 货币符号
  8580. type: string
  8581. decimalplace:
  8582. description: 报价小数位
  8583. type: integer
  8584. goodscode:
  8585. description: 商品代码(内部)
  8586. type: string
  8587. goodsid:
  8588. description: 商品ID
  8589. type: integer
  8590. goodsname:
  8591. description: 商品名称
  8592. type: string
  8593. marketid:
  8594. description: 市场ID
  8595. type: integer
  8596. orderamount:
  8597. description: 委托金额
  8598. type: number
  8599. orderid:
  8600. description: 单号(成交单号)
  8601. type: string
  8602. picurls1:
  8603. description: 预售商品介绍图片[多张用逗号分隔]
  8604. type: string
  8605. picurls2:
  8606. description: 挂牌商品介绍图片[多张用逗号分隔]
  8607. type: string
  8608. price:
  8609. description: 价格
  8610. type: number
  8611. qty:
  8612. description: 数量
  8613. type: integer
  8614. time:
  8615. description: 时间
  8616. type: string
  8617. trademode:
  8618. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8619. type: integer
  8620. vendorname1:
  8621. description: 预售商品供应商名称
  8622. type: string
  8623. vendorname2:
  8624. description: 挂牌商品供应商名称
  8625. type: string
  8626. required:
  8627. - accountid
  8628. - buyorsell
  8629. - goodscode
  8630. - goodsid
  8631. - goodsname
  8632. - marketid
  8633. - orderid
  8634. - qty
  8635. - time
  8636. - trademode
  8637. type: object
  8638. models.HsbyGoodsOrderDetail:
  8639. properties:
  8640. buyorsell:
  8641. description: 买卖 - 0:买 1:卖
  8642. type: integer
  8643. currencysign:
  8644. description: 货币符号
  8645. type: string
  8646. customername:
  8647. description: 客户名称(企业名称),已脱敏
  8648. type: string
  8649. enableqty:
  8650. description: 可用数量
  8651. type: integer
  8652. goodunit:
  8653. description: 报价单位
  8654. type: string
  8655. orderid:
  8656. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8657. type: string
  8658. orderprice:
  8659. description: 委托价格
  8660. type: number
  8661. ordertime:
  8662. description: 委托时间
  8663. type: string
  8664. required:
  8665. - buyorsell
  8666. - orderid
  8667. - ordertime
  8668. type: object
  8669. models.HsbyListingGoodsDetail:
  8670. properties:
  8671. agreeunit:
  8672. description: 合约单位
  8673. type: number
  8674. buymaxqty:
  8675. description: 购买上限 [71] - 0为不限
  8676. type: integer
  8677. currency:
  8678. description: 货币
  8679. type: string
  8680. currencysign:
  8681. description: 货币符号
  8682. type: string
  8683. decimalplace:
  8684. description: 报价小数位
  8685. type: integer
  8686. desccityid:
  8687. description: 目的地(市)ID
  8688. type: integer
  8689. descprovinceid:
  8690. description: 目的地(省)ID
  8691. type: integer
  8692. goodscode:
  8693. description: 商品代码(内部)
  8694. type: string
  8695. goodsdesc:
  8696. description: 商品详情
  8697. type: string
  8698. goodsid:
  8699. description: 商品ID(自增ID SEQ_GOODS)
  8700. type: integer
  8701. goodsname:
  8702. description: 商品名称
  8703. type: string
  8704. goodsprice:
  8705. description: 商品价格
  8706. type: number
  8707. hotindex:
  8708. description: 景点热度
  8709. type: integer
  8710. last:
  8711. description: 现价
  8712. type: number
  8713. limitdown:
  8714. description: 跌停价
  8715. type: number
  8716. limitup:
  8717. description: 涨停价
  8718. type: number
  8719. lotsize:
  8720. description: 手数最小变动单位
  8721. type: integer
  8722. marketid:
  8723. description: 所属市场ID
  8724. type: integer
  8725. picurls:
  8726. description: 介绍图片[多张用逗号分隔]
  8727. type: string
  8728. quoteminunit:
  8729. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8730. type: integer
  8731. stepvalue:
  8732. description: 价格最小变动单位
  8733. type: number
  8734. trademode:
  8735. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8736. type: integer
  8737. vendorattr:
  8738. description: 供应商附件(多张,逗号分隔)
  8739. type: string
  8740. vendorname:
  8741. description: 供应商名称
  8742. type: string
  8743. vendorphone:
  8744. description: 供应商客服电话
  8745. type: string
  8746. videourls:
  8747. description: 介绍视频[多张用逗号分隔]
  8748. type: string
  8749. required:
  8750. - goodscode
  8751. - goodsid
  8752. - goodsname
  8753. - marketid
  8754. - trademode
  8755. type: object
  8756. models.HsbyMarketGoods:
  8757. properties:
  8758. accountid:
  8759. description: 账户ID[报价币种]
  8760. type: integer
  8761. agreeunit:
  8762. description: 合约单位
  8763. type: number
  8764. buyorsell:
  8765. description: 买卖 - 0:买 1:卖
  8766. type: integer
  8767. categoryid:
  8768. description: 类别ID(WRCATEGORY)
  8769. type: integer
  8770. currency:
  8771. description: 货币
  8772. type: string
  8773. currencysign:
  8774. description: 货币符号
  8775. type: string
  8776. customername:
  8777. description: 卖家名称
  8778. type: string
  8779. decimalplace:
  8780. description: 报价小数位
  8781. type: integer
  8782. goodscode:
  8783. description: 商品代码(内部)
  8784. type: string
  8785. goodsid:
  8786. description: 商品ID
  8787. type: integer
  8788. goodsname:
  8789. description: 商品名称
  8790. type: string
  8791. goodsprice:
  8792. description: 商品价格
  8793. type: number
  8794. hascoupon:
  8795. description: 是否可用优惠卷
  8796. type: boolean
  8797. hotindex:
  8798. description: 景点热度
  8799. type: integer
  8800. marketid:
  8801. description: 市场ID
  8802. type: integer
  8803. orderid:
  8804. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8805. type: string
  8806. orderprice:
  8807. description: 委托价格
  8808. type: number
  8809. orderstatus:
  8810. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8811. type: integer
  8812. picurls:
  8813. description: 介绍图片[多张用逗号分隔]
  8814. type: string
  8815. quoteminunit:
  8816. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8817. type: integer
  8818. sellUserID:
  8819. description: 卖方UserID
  8820. type: integer
  8821. trademode:
  8822. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8823. type: integer
  8824. videourls:
  8825. description: 介绍视频[多张用逗号分隔]
  8826. type: string
  8827. required:
  8828. - accountid
  8829. - buyorsell
  8830. - goodscode
  8831. - goodsid
  8832. - goodsname
  8833. - marketid
  8834. - orderid
  8835. - trademode
  8836. type: object
  8837. models.HsbyMarketGoodsDetail:
  8838. properties:
  8839. accountid:
  8840. description: 账户ID[报价币种]
  8841. type: integer
  8842. agreeunit:
  8843. description: 合约单位
  8844. type: number
  8845. buymaxqty:
  8846. description: 购买上限 [71] - 0为不限
  8847. type: integer
  8848. buyorsell:
  8849. description: 买卖 - 0:买 1:卖
  8850. type: integer
  8851. cancelqty:
  8852. description: 撤单数量
  8853. type: integer
  8854. categoryid:
  8855. description: 类别ID(WRCATEGORY)
  8856. type: integer
  8857. currency:
  8858. description: 货币
  8859. type: string
  8860. currencysign:
  8861. description: 货币符号
  8862. type: string
  8863. customername:
  8864. description: 卖家名称
  8865. type: string
  8866. decimalplace:
  8867. description: 报价小数位
  8868. type: integer
  8869. goodscode:
  8870. description: 商品代码(内部)
  8871. type: string
  8872. goodsdesc:
  8873. description: 商品详情
  8874. type: string
  8875. goodsid:
  8876. description: 商品ID
  8877. type: integer
  8878. goodsname:
  8879. description: 商品名称
  8880. type: string
  8881. goodsprice:
  8882. description: 商品价格
  8883. type: number
  8884. hotindex:
  8885. description: 景点热度
  8886. type: integer
  8887. lotsize:
  8888. description: 手数最小变动单位
  8889. type: integer
  8890. marketid:
  8891. description: 市场ID
  8892. type: integer
  8893. orderid:
  8894. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8895. type: string
  8896. orderprice:
  8897. description: 委托价格
  8898. type: number
  8899. orderqty:
  8900. description: 委托数量
  8901. type: integer
  8902. orderstatus:
  8903. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8904. type: integer
  8905. picurls:
  8906. description: 介绍图片[多张用逗号分隔]
  8907. type: string
  8908. quoteminunit:
  8909. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8910. type: integer
  8911. sellUserID:
  8912. description: 卖方UserID
  8913. type: integer
  8914. trademode:
  8915. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8916. type: integer
  8917. tradeqty:
  8918. description: 成交数量
  8919. type: integer
  8920. vendorattr:
  8921. description: 供应商附件(多张,逗号分隔)
  8922. type: string
  8923. vendorname:
  8924. description: 供应商名称
  8925. type: string
  8926. vendorphone:
  8927. description: 供应商客服电话
  8928. type: string
  8929. videourls:
  8930. description: 介绍视频[多张用逗号分隔]
  8931. type: string
  8932. required:
  8933. - accountid
  8934. - buyorsell
  8935. - goodscode
  8936. - goodsid
  8937. - goodsname
  8938. - marketid
  8939. - orderid
  8940. - orderqty
  8941. - trademode
  8942. type: object
  8943. models.HsbyMarketInfo:
  8944. properties:
  8945. marketid:
  8946. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8947. type: integer
  8948. marketname:
  8949. description: 市场名称
  8950. type: string
  8951. marketstatus:
  8952. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8953. type: integer
  8954. trademode:
  8955. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8956. type: integer
  8957. required:
  8958. - marketid
  8959. - marketstatus
  8960. - trademode
  8961. type: object
  8962. models.HsbyMyGoods:
  8963. properties:
  8964. accountid:
  8965. description: 账号Id
  8966. type: integer
  8967. agreeunit:
  8968. description: 合约单位
  8969. type: number
  8970. buyaverageprice:
  8971. description: 持仓均价
  8972. type: number
  8973. buycurholderamount:
  8974. description: 买当前持仓总金额[商品币种]
  8975. type: number
  8976. buycurpositionqty:
  8977. description: 买当前持仓总数量
  8978. type: integer
  8979. buymaxqty:
  8980. description: 购买上限 [71] - 0为不限
  8981. type: integer
  8982. currencysign:
  8983. description: 货币符号
  8984. type: string
  8985. decimalplace:
  8986. description: 报价小数位
  8987. type: integer
  8988. enableqty:
  8989. description: 可用数量
  8990. type: integer
  8991. goodscode:
  8992. description: 商品代码(内部)
  8993. type: string
  8994. goodsid:
  8995. description: 商品Id
  8996. type: integer
  8997. goodsname:
  8998. description: 商品名称
  8999. type: string
  9000. goodsprice:
  9001. description: 商品价格
  9002. type: number
  9003. goodsstatus:
  9004. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9005. type: integer
  9006. last:
  9007. description: 现价(仅使用于挂牌点选)
  9008. type: number
  9009. limitdown:
  9010. description: 跌停价(仅使用于挂牌点选)
  9011. type: number
  9012. limitup:
  9013. description: 涨停价(仅使用于挂牌点选)
  9014. type: number
  9015. lotsize:
  9016. description: 手数最小变动单位
  9017. type: integer
  9018. marketid:
  9019. description: 所属市场ID
  9020. type: integer
  9021. picurls:
  9022. description: 介绍图片[多张用逗号分隔]
  9023. type: string
  9024. quoteminunit:
  9025. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9026. type: integer
  9027. stepvalue:
  9028. description: 价格最小变动单位
  9029. type: number
  9030. trademode:
  9031. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9032. type: integer
  9033. required:
  9034. - accountid
  9035. - goodscode
  9036. - goodsid
  9037. - goodsname
  9038. - marketid
  9039. - trademode
  9040. type: object
  9041. models.HsbyMyPackage:
  9042. properties:
  9043. accountid:
  9044. description: 账户ID
  9045. type: integer
  9046. address:
  9047. description: 提货人详细地址
  9048. type: string
  9049. agreeunit:
  9050. description: 合约单位
  9051. type: number
  9052. amount:
  9053. description: 提货金额
  9054. type: number
  9055. auditer:
  9056. description: 审核人
  9057. type: integer
  9058. audittime:
  9059. description: 审核时间
  9060. type: string
  9061. averageprice:
  9062. description: 均价
  9063. type: number
  9064. cardnum:
  9065. description: 提货人证件号码
  9066. type: string
  9067. cardtypeid:
  9068. description: 提货人证件类型
  9069. type: integer
  9070. checkremark:
  9071. description: 审核备注
  9072. type: string
  9073. currencysign:
  9074. description: 货币符号
  9075. type: string
  9076. decimalplace:
  9077. description: 报价小数位
  9078. type: integer
  9079. goodscode:
  9080. description: 商品代码(内部)
  9081. type: string
  9082. goodsid:
  9083. description: 商品ID
  9084. type: integer
  9085. goodsname:
  9086. description: 商品名称
  9087. type: string
  9088. handlestatus:
  9089. description: 处理状态
  9090. type: integer
  9091. marketid:
  9092. description: 市场ID
  9093. type: integer
  9094. phonenum:
  9095. description: 提货人联系方式
  9096. type: string
  9097. picurls:
  9098. description: 介绍图片[多张用逗号分隔]
  9099. type: string
  9100. qty:
  9101. description: 提货数量
  9102. type: number
  9103. recivername:
  9104. description: 提货人姓名
  9105. type: string
  9106. reqtime:
  9107. description: 更新时间
  9108. type: string
  9109. takemode:
  9110. description: 提货方式 - 2:自提 3:配送
  9111. type: integer
  9112. takeorderid:
  9113. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9114. type: string
  9115. takeorderstatus:
  9116. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9117. type: integer
  9118. takeremark:
  9119. description: 提货备注
  9120. type: string
  9121. tradedate:
  9122. description: 交易日(yyyyMMdd)
  9123. type: string
  9124. trademode:
  9125. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9126. type: integer
  9127. userid:
  9128. description: 用户ID
  9129. type: integer
  9130. vendorname:
  9131. description: 供应商名称
  9132. type: string
  9133. required:
  9134. - goodscode
  9135. - goodsname
  9136. - takeorderid
  9137. - trademode
  9138. type: object
  9139. models.HsbyPreGoods:
  9140. properties:
  9141. agreeunit:
  9142. description: 合约单位
  9143. type: number
  9144. currency:
  9145. description: 货币
  9146. type: string
  9147. currencysign:
  9148. description: 货币符号
  9149. type: string
  9150. decimalplace:
  9151. description: 报价小数位
  9152. type: integer
  9153. desccityid:
  9154. description: 目的地(市)
  9155. type: integer
  9156. descprovinceid:
  9157. description: 目的地(省)
  9158. type: integer
  9159. enableqty:
  9160. description: 剩余数量
  9161. type: integer
  9162. goodscode:
  9163. description: 商品代码(内部)
  9164. type: string
  9165. goodsid:
  9166. description: 商品ID(自增ID SEQ_GOODS)
  9167. type: integer
  9168. goodsname:
  9169. description: 商品名称
  9170. type: string
  9171. goodsstatus:
  9172. description: 商品状态- 2:未上市 3:上市
  9173. type: integer
  9174. lasttradedate:
  9175. description: 最后交易日期(状态:待退市)
  9176. type: string
  9177. listingdate:
  9178. description: 交易开始日期
  9179. type: string
  9180. marketid:
  9181. description: 所属市场ID
  9182. type: integer
  9183. picurls:
  9184. description: 介绍图片[多张用逗号分隔]
  9185. type: string
  9186. presaledqty:
  9187. description: 已预售量(预售结束时更新)
  9188. type: integer
  9189. presaleqty:
  9190. description: 预售数量
  9191. type: integer
  9192. quoteminunit:
  9193. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9194. type: integer
  9195. refprice:
  9196. description: 参考价格[一口价]
  9197. type: number
  9198. relatedgoodsid:
  9199. description: 关联交易合约ID
  9200. type: integer
  9201. trademode:
  9202. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9203. type: integer
  9204. videourls:
  9205. description: 介绍视频[多张用逗号分隔]
  9206. type: string
  9207. required:
  9208. - goodscode
  9209. - goodsid
  9210. - goodsname
  9211. - marketid
  9212. - trademode
  9213. type: object
  9214. models.HsbyPreGoodsDetail:
  9215. properties:
  9216. agreeunit:
  9217. description: 合约单位
  9218. type: number
  9219. buymaxqty:
  9220. description: 购买上限 [71] - 0为不限
  9221. type: integer
  9222. currency:
  9223. description: 货币
  9224. type: string
  9225. currencysign:
  9226. description: 货币符号
  9227. type: string
  9228. customername:
  9229. description: 发行单位
  9230. type: string
  9231. decimalplace:
  9232. description: 报价小数位
  9233. type: integer
  9234. desccityid:
  9235. description: 目的地(市)ID
  9236. type: integer
  9237. descprovinceid:
  9238. description: 目的地(省)ID
  9239. type: integer
  9240. enableqty:
  9241. description: 剩余数量
  9242. type: integer
  9243. goodscode:
  9244. description: 商品代码(内部)
  9245. type: string
  9246. goodsdesc:
  9247. description: 商品详情
  9248. type: string
  9249. goodsid:
  9250. description: 商品ID(自增ID SEQ_GOODS)
  9251. type: integer
  9252. goodsname:
  9253. description: 商品名称
  9254. type: string
  9255. goodsstatus:
  9256. description: 商品状态- 2:未上市 3:上市
  9257. type: integer
  9258. goodunit:
  9259. description: 报价单位
  9260. type: string
  9261. lasttradedate:
  9262. description: 最后交易日期(状态:待退市)
  9263. type: string
  9264. listingdate:
  9265. description: 交易开始日期
  9266. type: string
  9267. lotsize:
  9268. description: 手数最小变动单位
  9269. type: integer
  9270. marketid:
  9271. description: 所属市场ID
  9272. type: integer
  9273. picurls:
  9274. description: 介绍图片[多张用逗号分隔]
  9275. type: string
  9276. presaledqty:
  9277. description: 已预售量(预售结束时更新)
  9278. type: integer
  9279. presaleqty:
  9280. description: 预售数量
  9281. type: integer
  9282. quoteminunit:
  9283. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9284. type: integer
  9285. refprice:
  9286. description: 参考价格[一口价]
  9287. type: number
  9288. relatedgoodsid:
  9289. description: 关联交易合约ID
  9290. type: integer
  9291. stepvalue:
  9292. description: 价格最小变动单位
  9293. type: number
  9294. trademode:
  9295. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9296. type: integer
  9297. vendorattr:
  9298. description: 供应商附件(多张,逗号分隔)
  9299. type: string
  9300. vendorname:
  9301. description: 供应商名称
  9302. type: string
  9303. vendorphone:
  9304. description: 供应商客服电话
  9305. type: string
  9306. videourls:
  9307. description: 介绍视频[多张用逗号分隔]
  9308. type: string
  9309. required:
  9310. - goodscode
  9311. - goodsid
  9312. - goodsname
  9313. - marketid
  9314. - trademode
  9315. type: object
  9316. models.HsbySellCollectionOrder:
  9317. properties:
  9318. agreeunit:
  9319. description: 合约单位
  9320. type: number
  9321. buyaccountid:
  9322. description: 买方账号ID[报价币种]
  9323. type: integer
  9324. buyorderid:
  9325. description: 买方委托单号
  9326. type: string
  9327. createtime:
  9328. description: 创建时间
  9329. type: string
  9330. currencysign:
  9331. description: 货币符号
  9332. type: string
  9333. decimalplace:
  9334. description: 报价小数位
  9335. type: integer
  9336. goodscode:
  9337. description: 商品代码(内部)
  9338. type: string
  9339. goodsid:
  9340. description: 商品ID
  9341. type: integer
  9342. goodsname:
  9343. description: 商品名称
  9344. type: string
  9345. marketid:
  9346. description: 市场ID
  9347. type: integer
  9348. offamount:
  9349. description: 优惠金额
  9350. type: number
  9351. payamount:
  9352. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9353. type: number
  9354. payflag:
  9355. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9356. type: integer
  9357. paylimitedtime:
  9358. description: 支付期限
  9359. type: string
  9360. paytime:
  9361. description: 付款时间
  9362. type: string
  9363. picurls:
  9364. description: 商品介绍图片[多张用逗号分隔]
  9365. type: string
  9366. sellaccountid:
  9367. description: 卖方账号ID[报价币种]
  9368. type: integer
  9369. sellorderid:
  9370. description: 卖方委托单号
  9371. type: string
  9372. tradeamount:
  9373. description: 成交金额
  9374. type: number
  9375. tradecharge:
  9376. description: 成交手续费(买方)
  9377. type: number
  9378. tradedate:
  9379. description: 交易日(yyyyMMdd)
  9380. type: string
  9381. tradeid:
  9382. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9383. type: string
  9384. trademode:
  9385. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9386. type: integer
  9387. tradeprice:
  9388. description: 成交价格
  9389. type: number
  9390. tradeqty:
  9391. description: 成交数量
  9392. type: integer
  9393. required:
  9394. - goodscode
  9395. - goodsname
  9396. - tradeid
  9397. - trademode
  9398. type: object
  9399. models.HsbySellMyDetail:
  9400. properties:
  9401. accountid:
  9402. description: 账户ID[报价币种]
  9403. type: integer
  9404. agreeunit:
  9405. description: 合约单位
  9406. type: number
  9407. buyorsell:
  9408. description: 买卖 - 0:买 1:卖
  9409. type: integer
  9410. currencysign:
  9411. description: 货币符号
  9412. type: string
  9413. decimalplace:
  9414. description: 报价小数位
  9415. type: integer
  9416. goodscode:
  9417. description: 商品代码(内部)
  9418. type: string
  9419. goodsid:
  9420. description: 商品ID
  9421. type: integer
  9422. goodsname:
  9423. description: 商品名称
  9424. type: string
  9425. marketid:
  9426. description: 市场ID
  9427. type: integer
  9428. orderid:
  9429. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9430. type: string
  9431. ordertype:
  9432. description: 单据类型:0 - 发布中, 1 - 已完成
  9433. type: integer
  9434. picurls:
  9435. description: 介绍图片[多张用逗号分隔]
  9436. type: string
  9437. price:
  9438. description: 价格
  9439. type: number
  9440. qty:
  9441. description: 数量
  9442. type: integer
  9443. time:
  9444. description: 时间
  9445. type: string
  9446. trademode:
  9447. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9448. type: integer
  9449. vendorname:
  9450. description: 供应商名称
  9451. type: string
  9452. required:
  9453. - accountid
  9454. - buyorsell
  9455. - goodscode
  9456. - goodsid
  9457. - goodsname
  9458. - marketid
  9459. - orderid
  9460. - time
  9461. - trademode
  9462. type: object
  9463. models.HsbyTopGoods:
  9464. properties:
  9465. agreeunit:
  9466. description: 合约单位
  9467. type: number
  9468. currency:
  9469. description: 货币
  9470. type: string
  9471. currencysign:
  9472. description: 货币符号
  9473. type: string
  9474. decimalplace:
  9475. description: 报价小数位
  9476. type: integer
  9477. desccityid:
  9478. description: 目的地(市)
  9479. type: integer
  9480. descprovinceid:
  9481. description: 目的地(省)
  9482. type: integer
  9483. goodscode:
  9484. description: 商品代码(内部)
  9485. type: string
  9486. goodsid:
  9487. description: 商品ID(自增ID SEQ_GOODS)
  9488. type: integer
  9489. goodsname:
  9490. description: 商品名称
  9491. type: string
  9492. hotindex:
  9493. description: 景点热度
  9494. type: integer
  9495. last:
  9496. description: 现价
  9497. type: number
  9498. marketid:
  9499. description: 所属市场ID
  9500. type: integer
  9501. picurls:
  9502. description: 介绍图片[多张用逗号分隔]
  9503. type: string
  9504. quoteminunit:
  9505. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9506. type: integer
  9507. trademode:
  9508. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9509. type: integer
  9510. videourls:
  9511. description: 介绍视频[多张用逗号分隔]
  9512. type: string
  9513. required:
  9514. - goodscode
  9515. - goodsid
  9516. - goodsname
  9517. - marketid
  9518. - trademode
  9519. type: object
  9520. models.HybsMyBuyOrderDetail:
  9521. properties:
  9522. accountid:
  9523. description: 账户ID[报价币种]
  9524. type: integer
  9525. agreeunit:
  9526. description: 合约单位
  9527. type: number
  9528. buyorsell:
  9529. description: 买卖 - 0:买 1:卖
  9530. type: integer
  9531. cancelqty:
  9532. description: 撤单数量
  9533. type: integer
  9534. currencysign:
  9535. description: 货币符号
  9536. type: string
  9537. decimalplace:
  9538. description: 报价小数位
  9539. type: integer
  9540. goodscode:
  9541. description: 商品代码(内部)
  9542. type: string
  9543. goodsid:
  9544. description: 商品ID
  9545. type: integer
  9546. goodsname:
  9547. description: 商品名称
  9548. type: string
  9549. listingselecttype:
  9550. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9551. type: integer
  9552. marketid:
  9553. description: 市场ID
  9554. type: integer
  9555. mybuystatus:
  9556. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9557. type: integer
  9558. orderamount:
  9559. description: 委托金额
  9560. type: number
  9561. orderid:
  9562. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9563. type: string
  9564. orderprice:
  9565. description: 委托价格
  9566. type: number
  9567. orderqty:
  9568. description: 委托数量
  9569. type: integer
  9570. orderstatus:
  9571. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  9572. type: integer
  9573. ordertime:
  9574. description: 委托时间
  9575. type: string
  9576. picurls1:
  9577. description: 预售商品介绍图片[多张用逗号分隔]
  9578. type: string
  9579. picurls2:
  9580. description: 挂牌商品介绍图片[多张用逗号分隔]
  9581. type: string
  9582. trademode:
  9583. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9584. type: integer
  9585. tradeqty:
  9586. description: 成交数量
  9587. type: integer
  9588. vendorname1:
  9589. description: 预售商品供应商名称
  9590. type: string
  9591. vendorname2:
  9592. description: 挂牌商品供应商名称
  9593. type: string
  9594. required:
  9595. - accountid
  9596. - buyorsell
  9597. - goodscode
  9598. - goodsid
  9599. - goodsname
  9600. - marketid
  9601. - orderid
  9602. - orderqty
  9603. - ordertime
  9604. - trademode
  9605. type: object
  9606. models.Loginaccount:
  9607. properties:
  9608. accountname:
  9609. description: 账户名称
  9610. type: string
  9611. canoutin:
  9612. description: 是否可出入金 - 0:不可 1:可
  9613. type: integer
  9614. clientroleid:
  9615. description: 终端角色ID
  9616. type: integer
  9617. haslogined:
  9618. description: 是否已登录 - 0:未登录 1:已登录
  9619. type: integer
  9620. hasupdatedpwd:
  9621. description: 是否已更改密码 - 0:未修改 1:已修改
  9622. type: integer
  9623. lastloginip:
  9624. description: 最新登录地址
  9625. type: string
  9626. lastloginmode:
  9627. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9628. type: integer
  9629. lastloginremark:
  9630. description: 最新登录描述
  9631. type: string
  9632. lastlogintime:
  9633. description: 最新登录时间
  9634. type: string
  9635. logincode:
  9636. description: 登录代码
  9637. type: string
  9638. loginfailnum:
  9639. description: 连续登录失败次数(登录成功时清零)
  9640. type: integer
  9641. loginid:
  9642. description: 登陆账号
  9643. type: integer
  9644. loginport:
  9645. description: 最新登录端口
  9646. type: integer
  9647. loginstatus:
  9648. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9649. type: integer
  9650. loginusertype:
  9651. description: 登录账号类型 - 1:投资者 2:机构交易员
  9652. type: integer
  9653. mobile:
  9654. description: 手机号码(加密存储)
  9655. type: string
  9656. modifierid:
  9657. description: 修改人
  9658. type: integer
  9659. modifysrc:
  9660. description: 审核来源 - 1:管理端 2:终端
  9661. type: integer
  9662. modifytime:
  9663. description: 修改时间
  9664. type: string
  9665. password:
  9666. description: 登陆密码
  9667. type: string
  9668. pwdwrongcount:
  9669. description: 密码错误次数
  9670. type: integer
  9671. relateduserid:
  9672. description: 关联用户ID(机构)
  9673. type: integer
  9674. taaccountrighttype:
  9675. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9676. type: integer
  9677. unfreezetime:
  9678. description: 账户解冻时间
  9679. type: string
  9680. userid:
  9681. description: 用户ID
  9682. type: integer
  9683. required:
  9684. - loginid
  9685. type: object
  9686. models.MainAccountInfo:
  9687. properties:
  9688. accountid:
  9689. description: 账号id
  9690. type: integer
  9691. accountname:
  9692. description: 账号名称(taaccount表中的名称)
  9693. type: string
  9694. appid:
  9695. description: AppID
  9696. type: string
  9697. authcode:
  9698. description: 授权码
  9699. type: string
  9700. brokerid:
  9701. description: 经纪商id
  9702. type: string
  9703. fcid:
  9704. description: 期货公司id
  9705. type: integer
  9706. fcname:
  9707. description: 期货公司代码
  9708. type: string
  9709. hedgeaccountcode:
  9710. description: 外部账号代码(主账号登录代码)
  9711. type: string
  9712. hedgeaccountpwd:
  9713. description: 密码
  9714. type: string
  9715. ismain:
  9716. description: 是否主账号
  9717. type: integer
  9718. relateduserid:
  9719. description: 关联用户id
  9720. type: integer
  9721. userid:
  9722. description: 关联用户id
  9723. type: integer
  9724. type: object
  9725. models.Market:
  9726. properties:
  9727. auctionwrtype:
  9728. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9729. type: integer
  9730. canacceptquote:
  9731. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9732. type: integer
  9733. cangoodsexercise:
  9734. description: '[期权]是否可现货行权- 0:否 1:是'
  9735. type: integer
  9736. cangoodsexercisetype:
  9737. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9738. type: integer
  9739. canmanualquotestrike:
  9740. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9741. type: integer
  9742. canmutistage:
  9743. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9744. type: integer
  9745. canpreexercise:
  9746. description: '[期权]是否可预申报- 0:否 1:是'
  9747. type: integer
  9748. clearinterval:
  9749. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9750. type: integer
  9751. contracttmp:
  9752. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9753. type: string
  9754. exchareaid:
  9755. description: 所属交易所,可以没有
  9756. type: integer
  9757. goodstype:
  9758. description: 商品类型 - 1:交易商品 2:仓单商品
  9759. type: integer
  9760. hasrebate:
  9761. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9762. type: integer
  9763. hastradecredit:
  9764. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9765. type: integer
  9766. haswr:
  9767. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9768. type: integer
  9769. isdeductmargin:
  9770. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9771. type: integer
  9772. isrecordsource:
  9773. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9774. type: integer
  9775. isreleasemargin:
  9776. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9777. type: integer
  9778. marginformula:
  9779. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9780. type: integer
  9781. marginformula2:
  9782. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9783. type: integer
  9784. marketid:
  9785. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9786. type: integer
  9787. marketname:
  9788. description: 市场名称
  9789. type: string
  9790. marketserviceid:
  9791. description: 市场服务ID
  9792. type: integer
  9793. marketstatus:
  9794. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9795. type: integer
  9796. markettype:
  9797. description: 市场类型- 1:非交易服务 2:交易服务
  9798. type: integer
  9799. matchermode:
  9800. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9801. type: integer
  9802. openmethod:
  9803. description: 开盘模式 - 0 自动 1手动
  9804. type: integer
  9805. otcuserid:
  9806. description: 场外期权做市商[场外期权]
  9807. type: integer
  9808. outersynctime:
  9809. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9810. type: string
  9811. pendingflag:
  9812. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9813. type: integer
  9814. pendingtime:
  9815. description: 待开市时间[通道交易-对冲](HH:mm)
  9816. type: string
  9817. performancetempid:
  9818. description: 履约计划模板ID - 作废
  9819. type: integer
  9820. premiumquotemode:
  9821. description: 权利金报价方式 - 1:自动 2:手动
  9822. type: integer
  9823. rebateratio:
  9824. description: 返利比率[竞价式]
  9825. type: number
  9826. reckonorder:
  9827. description: 结算顺序
  9828. type: integer
  9829. reckonpricealgorithm:
  9830. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价'
  9831. type: integer
  9832. reckonpriceparam:
  9833. description: 结算价参数
  9834. type: integer
  9835. reckontime:
  9836. description: 结算时间[通道交易-对冲](HH:mm)
  9837. type: string
  9838. roleprioritytype:
  9839. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9840. type: integer
  9841. selllistingauditflag:
  9842. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9843. type: integer
  9844. trademarkettype:
  9845. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9846. type: integer
  9847. trademode:
  9848. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9849. type: integer
  9850. tradeproperty:
  9851. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权
  9852. type: integer
  9853. tradetype:
  9854. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9855. type: integer
  9856. required:
  9857. - marketid
  9858. - marketstatus
  9859. - openmethod
  9860. - reckonpricealgorithm
  9861. - trademode
  9862. - tradeproperty
  9863. type: object
  9864. models.Marketrun:
  9865. properties:
  9866. afternexttradedate:
  9867. description: 下下交易日
  9868. type: string
  9869. clearquoteflag:
  9870. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9871. type: integer
  9872. lastreckondate:
  9873. description: 最新交易日(结算成功)
  9874. type: string
  9875. machinedate:
  9876. description: 机器时间
  9877. type: string
  9878. manualflag:
  9879. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9880. type: integer
  9881. marketid:
  9882. description: 市场ID
  9883. type: integer
  9884. nexttradedate:
  9885. description: 下一交易日
  9886. type: string
  9887. pretradedate:
  9888. description: 上一交易日
  9889. type: string
  9890. reckonflag:
  9891. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9892. type: integer
  9893. runstatus:
  9894. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内) 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始 62.今日免清算
  9895. type: integer
  9896. sectionid:
  9897. description: 时间段号[多时段时用]
  9898. type: integer
  9899. tradedate:
  9900. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9901. type: string
  9902. tradedate2:
  9903. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9904. type: string
  9905. updatetime:
  9906. description: 更新时间
  9907. type: string
  9908. required:
  9909. - marketid
  9910. - nexttradedate
  9911. - reckonflag
  9912. - runstatus
  9913. - tradedate
  9914. - tradedate2
  9915. type: object
  9916. models.Messageboard:
  9917. properties:
  9918. contactnum:
  9919. description: 联系电话
  9920. type: string
  9921. createtime:
  9922. description: 创建时间
  9923. type: string
  9924. message:
  9925. description: 留言信息
  9926. type: string
  9927. messageboardid:
  9928. description: 留言簿ID(SEQ_MessageBoard)
  9929. type: integer
  9930. userid:
  9931. description: 用户ID
  9932. type: integer
  9933. required:
  9934. - messageboardid
  9935. type: object
  9936. models.MyCoupon:
  9937. properties:
  9938. accountid:
  9939. description: 资金账户ID
  9940. type: integer
  9941. areauserid:
  9942. description: 所属机构
  9943. type: integer
  9944. conditionvalue:
  9945. description: 条件阈值(可为0)
  9946. type: number
  9947. couponcategroy:
  9948. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9949. type: integer
  9950. couponname:
  9951. description: 优惠券名称
  9952. type: string
  9953. coupontypeid:
  9954. description: 优惠券类型ID
  9955. type: string
  9956. couponvalue:
  9957. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9958. type: number
  9959. curfreezeqty:
  9960. description: 期末冻结数量
  9961. type: integer
  9962. curqty:
  9963. description: 期末数量
  9964. type: integer
  9965. isgeneral:
  9966. description: 是否通用券 - 0:否 1:是
  9967. type: integer
  9968. isunusable:
  9969. description: 是否不可用
  9970. type: boolean
  9971. limitedflag:
  9972. description: 是否指定商品 - 0:不限 1:限制
  9973. type: integer
  9974. limitedgoodsids:
  9975. description: 指定商品IDs[逗号分隔,前后加逗号]
  9976. type: string
  9977. orifreezeqty:
  9978. description: 期初冻结数量
  9979. type: integer
  9980. oriqty:
  9981. description: 期初数量
  9982. type: integer
  9983. reasontype:
  9984. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9985. type: integer
  9986. todaydecrease:
  9987. description: 今日减少
  9988. type: integer
  9989. todayincrease:
  9990. description: 今日增加
  9991. type: integer
  9992. userid:
  9993. description: 用户ID
  9994. type: integer
  9995. userscope:
  9996. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9997. type: string
  9998. required:
  9999. - accountid
  10000. - coupontypeid
  10001. type: object
  10002. models.MyCouponHold:
  10003. properties:
  10004. accountid:
  10005. description: 资金账户ID
  10006. type: integer
  10007. conditionvalue:
  10008. description: 条件阈值(可为0)
  10009. type: number
  10010. couponcategroy:
  10011. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10012. type: integer
  10013. couponholdid:
  10014. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  10015. type: string
  10016. couponname:
  10017. description: 优惠券名称
  10018. type: string
  10019. coupontypeid:
  10020. description: 优惠券类型ID - SEQ_COUPONTYPE
  10021. type: string
  10022. couponvalue:
  10023. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10024. type: number
  10025. createtime:
  10026. description: 创建时间
  10027. type: string
  10028. enddate:
  10029. description: 结束日期
  10030. type: string
  10031. giveapplyid:
  10032. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10033. type: integer
  10034. holdstatus:
  10035. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10036. type: integer
  10037. isgeneral:
  10038. description: 是否通用券 - 0:否 1:是
  10039. type: integer
  10040. limitedflag:
  10041. description: 是否指定商品 - 0:不限 1:限制
  10042. type: integer
  10043. limitedgoodsids:
  10044. description: 指定商品IDs[逗号分隔]
  10045. type: string
  10046. qty:
  10047. description: 数量(按1平铺)
  10048. type: integer
  10049. startdate:
  10050. description: 开始日期
  10051. type: string
  10052. userid:
  10053. description: 用户ID
  10054. type: integer
  10055. userscope:
  10056. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10057. type: string
  10058. required:
  10059. - couponholdid
  10060. type: object
  10061. models.MyUsedCoupon:
  10062. properties:
  10063. accountid:
  10064. description: 资金账户ID(买方)
  10065. type: integer
  10066. conditionvalue:
  10067. description: 条件阈值(可为0)
  10068. type: number
  10069. couponcategroy:
  10070. description: 种类 - 1:现金券 2:折扣券
  10071. type: integer
  10072. couponname:
  10073. description: 优惠券名称
  10074. type: string
  10075. coupontypeid:
  10076. description: 优惠券类型ID(买方)
  10077. type: string
  10078. couponvalue:
  10079. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10080. type: number
  10081. createtime:
  10082. description: 创建时间
  10083. type: string
  10084. goodsid:
  10085. description: 商品ID
  10086. type: integer
  10087. handlestatus:
  10088. description: 处理状态
  10089. type: integer
  10090. marketid:
  10091. description: 市场ID
  10092. type: integer
  10093. offamount:
  10094. description: 优惠金额
  10095. type: number
  10096. orderid:
  10097. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10098. type: string
  10099. sellaccountid:
  10100. description: 资金账户ID(卖方)
  10101. type: integer
  10102. tradeamount:
  10103. description: 成交金额
  10104. type: number
  10105. tradeid:
  10106. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10107. type: string
  10108. usedqty:
  10109. description: 使用数量
  10110. type: integer
  10111. required:
  10112. - coupontypeid
  10113. - orderid
  10114. type: object
  10115. models.OperationPrimaryMenu:
  10116. properties:
  10117. Children:
  10118. description: 二级功能菜单
  10119. items:
  10120. $ref: '#/definitions/models.OperationSecondaryMenu'
  10121. type: array
  10122. Key:
  10123. description: 菜单KEY
  10124. type: string
  10125. Label:
  10126. description: 菜单标题
  10127. type: string
  10128. type: object
  10129. models.OperationSecondaryMenu:
  10130. properties:
  10131. Key:
  10132. description: 菜单KEY
  10133. type: string
  10134. Label:
  10135. description: 菜单标题
  10136. type: string
  10137. TabList:
  10138. description: 三级功能菜单
  10139. items:
  10140. $ref: '#/definitions/models.OperationTabMenu'
  10141. type: array
  10142. type: object
  10143. models.OperationTabMenu:
  10144. properties:
  10145. Key:
  10146. description: 菜单KEY
  10147. type: string
  10148. Label:
  10149. description: 菜单标题
  10150. type: string
  10151. type: object
  10152. models.QhjAccountOutInApply:
  10153. properties:
  10154. accountcode:
  10155. description: 资金账号
  10156. type: string
  10157. accountname:
  10158. description: 用户名称(名称)
  10159. type: string
  10160. accountpwd:
  10161. description: 资金密码
  10162. type: string
  10163. accountticket:
  10164. description: 最新账户服务流水号
  10165. type: string
  10166. amount:
  10167. description: 金额
  10168. type: number
  10169. applyremark:
  10170. description: 申请备注
  10171. type: string
  10172. applystatus:
  10173. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10174. type: integer
  10175. auditid:
  10176. description: 审核人
  10177. type: integer
  10178. audittime:
  10179. description: 审核时间
  10180. type: string
  10181. bank_apply_ticket:
  10182. description: 银行申请流水
  10183. type: string
  10184. bankaccountname:
  10185. description: 银行账户名
  10186. type: string
  10187. bankaccountno:
  10188. description: 银行卡号
  10189. type: string
  10190. bankid:
  10191. description: 银行编号
  10192. type: string
  10193. bankticket:
  10194. description: 银行流水
  10195. type: string
  10196. branchbankid:
  10197. description: 银行支行号
  10198. type: string
  10199. branchbankname:
  10200. description: 银行支行名称
  10201. type: string
  10202. capamountout:
  10203. description: 出金(劣后本金) - 外部子账户
  10204. type: number
  10205. certificatephotourl:
  10206. description: 凭证地址
  10207. type: string
  10208. charge:
  10209. description: 手续费
  10210. type: number
  10211. checkerrorflag:
  10212. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10213. type: integer
  10214. currency:
  10215. description: 币种
  10216. type: string
  10217. cusbankid:
  10218. description: 托管银行编号
  10219. type: string
  10220. exchticket:
  10221. description: 银行服务流水号
  10222. type: string
  10223. executetype:
  10224. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  10225. type: integer
  10226. extendinfo:
  10227. description: 扩展信息
  10228. type: string
  10229. extoperateid:
  10230. description: 交易服务流水号
  10231. type: integer
  10232. infamount:
  10233. description: 劣后金额(自有)
  10234. type: number
  10235. logincode:
  10236. description: 登录账号(账号)
  10237. type: string
  10238. netaddr:
  10239. description: 调转网址
  10240. type: string
  10241. priamount:
  10242. description: 优先金额(授信)
  10243. type: number
  10244. reauditid:
  10245. description: 复审人
  10246. type: integer
  10247. reauditremark:
  10248. description: 复审备注
  10249. type: string
  10250. reaudittime:
  10251. description: 复审时间
  10252. type: string
  10253. relatedorderid:
  10254. description: 三方关联ID
  10255. type: string
  10256. remark:
  10257. description: 备注
  10258. type: string
  10259. remark2:
  10260. description: 备注(失败原因)
  10261. type: string
  10262. soucreamount:
  10263. description: 原始出入金金额
  10264. type: number
  10265. soucrecurrencyid:
  10266. description: 原始出入金币种
  10267. type: integer
  10268. tradedate:
  10269. description: 交易日(yyyyMMdd)
  10270. type: string
  10271. updatetime:
  10272. description: 更新时间(申请时间)
  10273. type: string
  10274. userid:
  10275. description: 用户id
  10276. type: integer
  10277. userinfotype:
  10278. description: 账户类型 1-个人 2-企业
  10279. type: integer
  10280. type: object
  10281. models.QhjAgreementChangeLog:
  10282. properties:
  10283. agreementcontent:
  10284. description: 协议内容
  10285. type: string
  10286. agreementfrequency:
  10287. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10288. type: integer
  10289. agreementid:
  10290. description: 协议ID
  10291. type: integer
  10292. agreementname:
  10293. description: 协议名称
  10294. type: string
  10295. agreementno:
  10296. description: 协议编号
  10297. type: string
  10298. agreementtype:
  10299. description: 协议类型 - 1:注册 2:登录 3:交易
  10300. type: integer
  10301. agreementversion:
  10302. description: 协议版本号
  10303. type: integer
  10304. logid:
  10305. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10306. type: integer
  10307. reviserid:
  10308. description: 修改人
  10309. type: integer
  10310. revisersrc:
  10311. description: 修改来源 - 1:管理端 2:终端
  10312. type: integer
  10313. updatetime:
  10314. description: 更新时间
  10315. type: string
  10316. type: object
  10317. models.QhjAgreementConfig:
  10318. properties:
  10319. agreementcontent:
  10320. description: 协议内容
  10321. type: string
  10322. agreementfrequency:
  10323. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10324. type: integer
  10325. agreementid:
  10326. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10327. type: integer
  10328. agreementname:
  10329. description: 协议名称
  10330. type: string
  10331. agreementno:
  10332. description: 协议编号
  10333. type: string
  10334. agreementtype:
  10335. description: 协议类型 - 1:注册 2:登录 3:交易
  10336. type: integer
  10337. agreementversion:
  10338. description: 协议版本号(从1开始每次修改加1)
  10339. type: integer
  10340. createtime:
  10341. description: 创建时间
  10342. type: string
  10343. creatorid:
  10344. description: 创建人
  10345. type: integer
  10346. creatorsrc:
  10347. description: 创建来源 - 1:管理端 2:终端
  10348. type: integer
  10349. isvalid:
  10350. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10351. type: integer
  10352. reviserid:
  10353. description: 修改人
  10354. type: integer
  10355. revisersrc:
  10356. description: 修改来源 - 1:管理端 2:终端
  10357. type: integer
  10358. updatetime:
  10359. description: 更新时间
  10360. type: string
  10361. type: object
  10362. models.QhjAreaFinanceConfig:
  10363. properties:
  10364. additionalratio:
  10365. description: 追加款比例
  10366. type: number
  10367. advanceratio:
  10368. description: 预付款比例
  10369. type: number
  10370. alarmratio:
  10371. description: 告警比例
  10372. type: number
  10373. consumptiondirectreward:
  10374. description: 消费直推奖励值
  10375. type: number
  10376. consumptionenabled:
  10377. description: 是否启用消费奖励 - 0:不启用 1:启用
  10378. type: integer
  10379. consumptionindirectreward:
  10380. description: 消费间推奖励值
  10381. type: number
  10382. consumptionmodel:
  10383. description: 消费奖励方式 - 1:比率 2:固定
  10384. type: integer
  10385. customerservicenum:
  10386. description: 客服电话
  10387. type: string
  10388. dayinterestrate:
  10389. description: 日利率
  10390. type: number
  10391. disableconsumptiontips:
  10392. description: 关闭消费奖励提示
  10393. type: string
  10394. modifierid:
  10395. description: 修改人ID
  10396. type: integer
  10397. modifysrc:
  10398. description: 审核来源 - 1:管理端 2:终端
  10399. type: integer
  10400. modifytime:
  10401. description: 修改时间
  10402. type: string
  10403. promotionvalue:
  10404. description: 推广奖励值(固定)
  10405. type: number
  10406. scoreconfigvalue1:
  10407. description: 提货积分配置1
  10408. type: integer
  10409. scoreconfigvalue2:
  10410. description: 提货积分配置2
  10411. type: integer
  10412. userid:
  10413. description: 机构用户ID其他做市关系,都设置为 1
  10414. type: integer
  10415. username:
  10416. description: 用户名称
  10417. type: string
  10418. type: object
  10419. models.QhjBankAccountSign:
  10420. properties:
  10421. accountcode:
  10422. description: 资金账号
  10423. type: string
  10424. accountname:
  10425. description: 资金账号对应的账号名(UserName)
  10426. type: string
  10427. accountname2:
  10428. description: 资金账号对应的账号名(UserName) - 密文
  10429. type: string
  10430. accounttype:
  10431. description: 账户类型(UserType)
  10432. type: integer
  10433. applicationtime:
  10434. description: 最后一次更新的时间
  10435. type: string
  10436. applyexchticket:
  10437. description: 申请流水
  10438. type: string
  10439. auditid:
  10440. description: 审核人
  10441. type: integer
  10442. audittime:
  10443. description: 审核时间
  10444. type: string
  10445. bankaccountname:
  10446. description: 签约银行卡账号名
  10447. type: string
  10448. bankaccountname2:
  10449. description: 签约银行卡账号名 - 密文
  10450. type: string
  10451. bankaccountno:
  10452. description: 银行卡号
  10453. type: string
  10454. bankaccountno2:
  10455. description: 银行卡号 - 密文
  10456. type: string
  10457. bankaccounttype:
  10458. description: 银行账户类型 - 1-对私; 2-对公
  10459. type: integer
  10460. bankcardtype:
  10461. description: 银行卡类型
  10462. type: integer
  10463. bankchildaccount:
  10464. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10465. type: string
  10466. bankcity:
  10467. description: 开户行城市
  10468. type: string
  10469. bankid:
  10470. description: 签约银行ID
  10471. type: string
  10472. bankname:
  10473. description: 签约银行名称
  10474. type: string
  10475. bankprovince:
  10476. description: 开户行省份
  10477. type: string
  10478. branchbankid:
  10479. description: 签约银行支行号
  10480. type: string
  10481. branchbankname:
  10482. description: 签约银行支行名称
  10483. type: string
  10484. cardno:
  10485. description: 证件号码
  10486. type: string
  10487. cardno2:
  10488. description: 证件号码 - 密文
  10489. type: string
  10490. cardtype:
  10491. description: 证件类型
  10492. type: string
  10493. currency:
  10494. description: 币种
  10495. type: string
  10496. cusbankid:
  10497. description: 托管银行编号
  10498. type: string
  10499. direct:
  10500. description: 方向(可以判断那方先发起的签约)
  10501. type: integer
  10502. exchticket:
  10503. description: 最后一次签约成功的流水号
  10504. type: string
  10505. extendinfo:
  10506. description: 扩展信息(JSON字符串)
  10507. type: string
  10508. mobilephone:
  10509. description: 手机号
  10510. type: string
  10511. mobilephone2:
  10512. description: 手机号 - 密文
  10513. type: string
  10514. netaddr:
  10515. description: 调转网址
  10516. type: string
  10517. relateduserid:
  10518. description: 关联使用者userid
  10519. type: integer
  10520. signstatus:
  10521. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核
  10522. type: integer
  10523. updatetime:
  10524. description: 更新时间(签解约更新时间)
  10525. type: string
  10526. type: object
  10527. models.QhjBankInfo:
  10528. properties:
  10529. bankid:
  10530. description: 银行ID
  10531. type: string
  10532. bankname:
  10533. description: 银行名称
  10534. type: string
  10535. clearbankno:
  10536. description: 清算系统银行编号
  10537. type: string
  10538. orderindex:
  10539. description: 排序顺序
  10540. type: integer
  10541. status:
  10542. description: 状态 - 0:正常 1:注销
  10543. type: integer
  10544. type: object
  10545. models.QhjBrokerApply:
  10546. properties:
  10547. applicantid:
  10548. description: 申请人
  10549. type: integer
  10550. applysrc:
  10551. description: 申请来源 - 1:管理端 2:终端
  10552. type: integer
  10553. applystatus:
  10554. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10555. type: integer
  10556. applytime:
  10557. description: 申请时间
  10558. type: string
  10559. auditorid:
  10560. description: 审核人
  10561. type: integer
  10562. auditremark:
  10563. description: 审核备注
  10564. type: string
  10565. auditsrc:
  10566. description: 审核来源 - 1:管理端 2:终端
  10567. type: integer
  10568. audittime:
  10569. description: 审核时间
  10570. type: string
  10571. audittradedate:
  10572. description: 审核交易日(yyyyMMdd)
  10573. type: string
  10574. brokerapplyid:
  10575. description: 申请ID(SEQ_BROKERAPPLY)
  10576. type: integer
  10577. cardbackphotourl:
  10578. description: 证件背面图片地址
  10579. type: string
  10580. cardfrontphotourl:
  10581. description: 证件正面图片地址
  10582. type: string
  10583. cardnum:
  10584. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10585. type: string
  10586. customername:
  10587. description: 姓名
  10588. type: string
  10589. logincode:
  10590. description: 登录代码
  10591. type: string
  10592. mobile:
  10593. description: 手机号码
  10594. type: string
  10595. parentuserid:
  10596. description: 所属机构id
  10597. type: integer
  10598. parentusername:
  10599. description: 所属机构名称
  10600. type: string
  10601. refereeuserid:
  10602. description: 推荐人id(经纪人)
  10603. type: integer
  10604. refernum:
  10605. description: 推荐码
  10606. type: string
  10607. remark:
  10608. description: 备注
  10609. type: string
  10610. subarealevelpath:
  10611. description: 层级路径
  10612. type: string
  10613. tradedate:
  10614. description: 交易日(yyyyMMdd)
  10615. type: string
  10616. userid:
  10617. description: 申请人用户ID
  10618. type: integer
  10619. userinfotype:
  10620. description: 用户类型 1-个人 2-企业
  10621. type: integer
  10622. username:
  10623. description: 用户名称
  10624. type: string
  10625. type: object
  10626. models.QhjBrokerApplyEx:
  10627. properties:
  10628. applylist:
  10629. description: 经纪人申请记录(只返回最新一条)
  10630. items:
  10631. $ref: '#/definitions/models.QhjBrokerApply'
  10632. type: array
  10633. canrecommend:
  10634. description: 是否经纪人 0-不是 1-是
  10635. type: integer
  10636. refernum:
  10637. description: 推荐码
  10638. type: string
  10639. userid:
  10640. description: 用户id
  10641. type: integer
  10642. userinfotype:
  10643. description: 用户类型 1-个人 2-企业
  10644. type: integer
  10645. type: object
  10646. models.QhjBrokerRewardLog:
  10647. properties:
  10648. accountid:
  10649. description: 资金账号ID
  10650. type: integer
  10651. createtime:
  10652. description: 创建时间(时间)
  10653. type: string
  10654. handlestatus:
  10655. description: 处理状态
  10656. type: integer
  10657. logid:
  10658. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10659. type: string
  10660. marketid:
  10661. description: 市场ID
  10662. type: integer
  10663. mmaccountid:
  10664. description: 做市商资金账号ID
  10665. type: string
  10666. mmuserid:
  10667. description: 做市商用户ID
  10668. type: string
  10669. rewardamount:
  10670. description: 奖励金额
  10671. type: number
  10672. rewardmodel:
  10673. description: 消费奖励方式 - 1:比率 2:固定
  10674. type: integer
  10675. rewardtype:
  10676. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10677. type: integer
  10678. rewardvalue:
  10679. description: 配置奖励值
  10680. type: number
  10681. srcamount:
  10682. description: 成交金额 [消费奖励] (金额)
  10683. type: number
  10684. srcgoodsid:
  10685. description: 来源商品ID [消费奖励]
  10686. type: string
  10687. srctime:
  10688. description: 来源时间 (成交时间) [消费奖励]
  10689. type: string
  10690. srctradeid:
  10691. description: 来源成交单ID [消费奖励] - 排除提货成交
  10692. type: string
  10693. srcuserid:
  10694. description: 来源用户ID(推广账户)
  10695. type: string
  10696. srcusername:
  10697. description: 推广账户名称
  10698. type: string
  10699. tradedate:
  10700. description: 交易日(yyyyMMdd)
  10701. type: string
  10702. userid:
  10703. description: 经纪人用户ID
  10704. type: integer
  10705. type: object
  10706. models.QhjContract:
  10707. properties:
  10708. contractconfirmtime:
  10709. description: 合同确认时间(时间)
  10710. type: string
  10711. currisklevel:
  10712. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10713. type: integer
  10714. decimalplace:
  10715. description: 商品报价小数位
  10716. type: integer
  10717. enumdicname:
  10718. description: 单位名称
  10719. type: string
  10720. goodscode:
  10721. description: 商品代码
  10722. type: string
  10723. goodsid:
  10724. description: 商品ID [5:融资单]
  10725. type: integer
  10726. goodsname:
  10727. description: 商品名称
  10728. type: string
  10729. goodunitid:
  10730. description: 商品单位id
  10731. type: integer
  10732. initmargin:
  10733. description: 初始保证金(首付款)
  10734. type: number
  10735. lenderamount:
  10736. description: 贷款金额(总额|订单总额)
  10737. type: number
  10738. marginratio:
  10739. description: 保证金比率(首付比例)
  10740. type: number
  10741. payamount:
  10742. description: 已付(已付货款)
  10743. type: number
  10744. reckonrecovermargin:
  10745. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10746. type: number
  10747. recoveredmargin:
  10748. description: 已追缴保证金
  10749. type: number
  10750. remainamount:
  10751. description: 合同剩余金额(融资额)
  10752. type: number
  10753. scfcontractid:
  10754. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10755. type: string
  10756. scfcontractstatus:
  10757. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  10758. type: integer
  10759. scfcontracttype:
  10760. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10761. type: integer
  10762. totalinterest:
  10763. description: 已计总利息(利息)
  10764. type: number
  10765. tradeprice:
  10766. description: 成交价格(成本价格)
  10767. type: number
  10768. userid:
  10769. description: 用户ID
  10770. type: integer
  10771. username:
  10772. description: 用户名称
  10773. type: string
  10774. wrqty:
  10775. description: 仓单数量(数量)
  10776. type: number
  10777. type: object
  10778. models.QhjContractLog:
  10779. properties:
  10780. amount:
  10781. description: 支付金额
  10782. type: number
  10783. amounttype:
  10784. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10785. type: integer
  10786. logid:
  10787. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10788. type: string
  10789. remainamount:
  10790. description: 剩余货款
  10791. type: number
  10792. scfcontractid:
  10793. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10794. type: integer
  10795. updatetime:
  10796. description: 更新时间
  10797. type: string
  10798. type: object
  10799. models.QhjCusBankSignBankEx:
  10800. properties:
  10801. banklst:
  10802. description: 银行列表
  10803. items:
  10804. $ref: '#/definitions/models.QhjBankInfo'
  10805. type: array
  10806. canallot:
  10807. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10808. type: integer
  10809. canallotquery:
  10810. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10811. type: integer
  10812. canbindcard:
  10813. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10814. type: integer
  10815. caninamount:
  10816. description: 是否可入金 - 0:不可 1:可以
  10817. type: integer
  10818. caninamount2:
  10819. description: 是否可入金(网银端) - 0:不可 1:可以
  10820. type: integer
  10821. canmodifybankcard:
  10822. description: 是否可修改银行卡号 - 0:不可 1:可以
  10823. type: integer
  10824. canmodifyphone:
  10825. description: 是否可修改手机号 - 0:不可 1:可以
  10826. type: integer
  10827. canmodifysigninfo:
  10828. description: 是否可修改签约信息 - 0:不可 1:可以
  10829. type: integer
  10830. canoutamount:
  10831. description: 是否可出金 - 0:不可 1:可以
  10832. type: integer
  10833. canoutamount2:
  10834. description: 是否可出金(网银端) - 0:不可 1:可以
  10835. type: integer
  10836. canrelease:
  10837. description: 是否可解约 - 0:不可 1:可以
  10838. type: integer
  10839. canrelease2:
  10840. description: 是否可解约(网银端) - 0:不可 1:可以
  10841. type: integer
  10842. cansign:
  10843. description: 是否可签约 - 0:不可 1:可以
  10844. type: integer
  10845. cansign2:
  10846. description: 是否可签约(网银端) - 0:不可 1:可以
  10847. type: integer
  10848. currency:
  10849. description: 币种
  10850. type: string
  10851. cusbankid:
  10852. description: 托管银行编号(对应清算中心TRAN_NO)
  10853. type: string
  10854. cusbankname:
  10855. description: 银行业务名称
  10856. type: string
  10857. cusbankshortname:
  10858. description: 银行业务简称
  10859. type: string
  10860. exchbankid:
  10861. description: 交易所开户银行ID
  10862. type: string
  10863. exchpaybankaccname:
  10864. description: 交易所支出结算账户户名
  10865. type: string
  10866. exchpaybankaccno:
  10867. description: 交易所支出结算账户
  10868. type: string
  10869. isneedcheck:
  10870. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10871. type: integer
  10872. isneedclear:
  10873. description: 是否需要清算 - 0:不需要 1:需要
  10874. type: integer
  10875. lastcheckstatus:
  10876. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10877. type: integer
  10878. lastchecktime:
  10879. description: 最后对账时间
  10880. type: string
  10881. lastclearstatus:
  10882. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10883. type: integer
  10884. lastcleartime:
  10885. description: 最后清算时间
  10886. type: string
  10887. lastsignintime:
  10888. description: 最后签到时间
  10889. type: string
  10890. lastsignouttime:
  10891. description: 最后签退时间
  10892. type: string
  10893. riskinfo:
  10894. description: 签约风险提示书
  10895. type: string
  10896. signstatus:
  10897. description: 当前签到/签退状态 - 1:签到 2:签退
  10898. type: integer
  10899. tradedate:
  10900. description: 交易日(yyyyMMdd)
  10901. type: string
  10902. updatetime:
  10903. description: 当前签到/签退更新时间
  10904. type: string
  10905. type: object
  10906. models.QhjCustomer:
  10907. properties:
  10908. address:
  10909. description: 通讯地址
  10910. type: string
  10911. attachment1:
  10912. description: 附件1
  10913. type: string
  10914. attachment2:
  10915. description: 附件2
  10916. type: string
  10917. audittime:
  10918. description: 审核时间
  10919. type: string
  10920. cardbackphotourl:
  10921. description: 证件反面图片地址
  10922. type: string
  10923. cardfrontphotourl:
  10924. description: 证件正面图片地址
  10925. type: string
  10926. cardnum:
  10927. description: 证件号码
  10928. type: string
  10929. cardtype:
  10930. description: 证件类型
  10931. type: integer
  10932. cardtypename:
  10933. description: 证件类型名称
  10934. type: string
  10935. cityid:
  10936. description: 市
  10937. type: integer
  10938. cityname:
  10939. description: 城市名称
  10940. type: string
  10941. contactname:
  10942. description: 联系人
  10943. type: string
  10944. countryid:
  10945. description: 国家
  10946. type: integer
  10947. countryname:
  10948. description: 国家名称
  10949. type: string
  10950. createtime:
  10951. description: 创建时间
  10952. type: string
  10953. customername:
  10954. description: 客户名称
  10955. type: string
  10956. districtid:
  10957. description: 区域
  10958. type: integer
  10959. districtname:
  10960. description: 地区名称
  10961. type: string
  10962. email:
  10963. description: 邮件
  10964. type: string
  10965. legalpersonname:
  10966. description: 法人姓名(企业)
  10967. type: string
  10968. logincode:
  10969. description: 登录账号(代码)
  10970. type: string
  10971. memberuserid:
  10972. description: 所属机构ID(所属会员)
  10973. type: integer
  10974. memberusername:
  10975. description: 所属会员名称
  10976. type: string
  10977. mobile:
  10978. description: 手机号码
  10979. type: string
  10980. modifytime:
  10981. description: 修改时间
  10982. type: string
  10983. nickname:
  10984. description: 昵称
  10985. type: string
  10986. parentuserid:
  10987. description: 上级机构(所属机构)
  10988. type: integer
  10989. parentusername:
  10990. description: 所属机构名称
  10991. type: string
  10992. provinceid:
  10993. description: 省
  10994. type: integer
  10995. provincename:
  10996. description: 省名称
  10997. type: string
  10998. proxystatementurl:
  10999. description: 授权委托书
  11000. type: string
  11001. remark:
  11002. description: 备注
  11003. type: string
  11004. status:
  11005. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  11006. type: integer
  11007. statusdesc:
  11008. description: 账户状态中文描述
  11009. type: string
  11010. taxpayernum:
  11011. description: 纳税人识别号
  11012. type: string
  11013. telphone:
  11014. description: 联系电话
  11015. type: string
  11016. userid:
  11017. description: 用户ID
  11018. type: integer
  11019. userinfotype:
  11020. description: 客户类型 1-个人 2-企业
  11021. type: integer
  11022. username:
  11023. description: 用户名称
  11024. type: string
  11025. type: object
  11026. models.QhjCustomerSignLog:
  11027. properties:
  11028. agreementcontent:
  11029. description: 协议内容
  11030. type: string
  11031. agreementid:
  11032. description: 协议ID
  11033. type: integer
  11034. agreementname:
  11035. description: 协议名称
  11036. type: string
  11037. agreementno:
  11038. description: 协议编号
  11039. type: string
  11040. agreementtype:
  11041. description: 协议类型 - 1:注册 2:登录 3:交易
  11042. type: integer
  11043. agreementversion:
  11044. description: 协议版本号
  11045. type: integer
  11046. createtime:
  11047. description: 创建时间
  11048. type: string
  11049. goodscode:
  11050. description: 商品代码
  11051. type: string
  11052. goodsid:
  11053. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11054. type: integer
  11055. goodsname:
  11056. description: 商品名称
  11057. type: string
  11058. logid:
  11059. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11060. type: integer
  11061. nodetype:
  11062. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11063. type: integer
  11064. signadressurl:
  11065. description: 签约文件地址
  11066. type: string
  11067. signtimestamp:
  11068. description: 签约状态时间戳
  11069. type: string
  11070. userid:
  11071. description: 客户ID
  11072. type: integer
  11073. username:
  11074. description: 客户名称
  11075. type: string
  11076. type: object
  11077. models.QhjCustomerSignStatus:
  11078. properties:
  11079. createtime:
  11080. description: 创建时间
  11081. type: string
  11082. goodscode:
  11083. description: 商品代码
  11084. type: string
  11085. goodsid:
  11086. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11087. type: integer
  11088. goodsname:
  11089. description: 商品名称
  11090. type: string
  11091. nodetype:
  11092. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11093. type: integer
  11094. signtimestamp:
  11095. description: 签约状态时间戳
  11096. type: string
  11097. tradedate:
  11098. description: 创建交易日(yyyyMMdd)
  11099. type: string
  11100. updatetime:
  11101. description: 更新时间
  11102. type: string
  11103. userid:
  11104. description: 客户ID
  11105. type: integer
  11106. username:
  11107. description: 客户名称
  11108. type: string
  11109. type: object
  11110. models.QhjMgrAccountOutInApply:
  11111. properties:
  11112. accountcode:
  11113. description: 资金账号
  11114. type: string
  11115. accountname:
  11116. description: 用户名称(名称)
  11117. type: string
  11118. accountpwd:
  11119. description: 资金密码
  11120. type: string
  11121. accountticket:
  11122. description: 最新账户服务流水号
  11123. type: string
  11124. amount:
  11125. description: 金额
  11126. type: number
  11127. applyremark:
  11128. description: 申请备注
  11129. type: string
  11130. applystatus:
  11131. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11132. type: integer
  11133. auditid:
  11134. description: 审核人
  11135. type: integer
  11136. audittime:
  11137. description: 审核时间
  11138. type: string
  11139. bank_apply_ticket:
  11140. description: 银行申请流水
  11141. type: string
  11142. bankaccountname:
  11143. description: 银行账户名
  11144. type: string
  11145. bankaccountno:
  11146. description: 银行卡号
  11147. type: string
  11148. bankid:
  11149. description: 银行编号
  11150. type: string
  11151. bankname:
  11152. description: 银行名称
  11153. type: string
  11154. bankticket:
  11155. description: 银行流水
  11156. type: string
  11157. branchbankid:
  11158. description: 银行支行号
  11159. type: string
  11160. branchbankname:
  11161. description: 银行支行名称
  11162. type: string
  11163. capamountout:
  11164. description: 出金(劣后本金) - 外部子账户
  11165. type: number
  11166. certificatephotourl:
  11167. description: 凭证地址
  11168. type: string
  11169. charge:
  11170. description: 手续费
  11171. type: number
  11172. checkerrorflag:
  11173. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11174. type: integer
  11175. currency:
  11176. description: 币种
  11177. type: string
  11178. cusbankid:
  11179. description: 托管银行编号
  11180. type: string
  11181. exchticket:
  11182. description: 银行服务流水号
  11183. type: string
  11184. executetype:
  11185. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  11186. type: integer
  11187. extendinfo:
  11188. description: 扩展信息
  11189. type: string
  11190. extoperateid:
  11191. description: 交易服务流水号
  11192. type: integer
  11193. infamount:
  11194. description: 劣后金额(自有)
  11195. type: number
  11196. logincode:
  11197. description: 登录账号(账号)
  11198. type: string
  11199. netaddr:
  11200. description: 调转网址
  11201. type: string
  11202. priamount:
  11203. description: 优先金额(授信)
  11204. type: number
  11205. reauditid:
  11206. description: 复审人
  11207. type: integer
  11208. reauditremark:
  11209. description: 复审备注
  11210. type: string
  11211. reaudittime:
  11212. description: 复审时间
  11213. type: string
  11214. relatedorderid:
  11215. description: 三方关联ID
  11216. type: string
  11217. remark:
  11218. description: 备注
  11219. type: string
  11220. remark2:
  11221. description: 备注(失败原因)
  11222. type: string
  11223. soucreamount:
  11224. description: 原始出入金金额
  11225. type: number
  11226. soucrecurrencyid:
  11227. description: 原始出入金币种
  11228. type: integer
  11229. tradedate:
  11230. description: 交易日(yyyyMMdd)
  11231. type: string
  11232. updatetime:
  11233. description: 更新时间(申请时间)
  11234. type: string
  11235. userid:
  11236. description: 用户id
  11237. type: integer
  11238. userinfotype:
  11239. description: 账户类型 1-个人 2-企业
  11240. type: integer
  11241. type: object
  11242. models.QhjMgrBrokerApply:
  11243. properties:
  11244. applicantid:
  11245. description: 申请人
  11246. type: integer
  11247. applysrc:
  11248. description: 申请来源 - 1:管理端 2:终端
  11249. type: integer
  11250. applystatus:
  11251. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11252. type: integer
  11253. applytime:
  11254. description: 申请时间
  11255. type: string
  11256. auditorid:
  11257. description: 审核人
  11258. type: integer
  11259. auditremark:
  11260. description: 审核备注
  11261. type: string
  11262. auditsrc:
  11263. description: 审核来源 - 1:管理端 2:终端
  11264. type: integer
  11265. audittime:
  11266. description: 审核时间
  11267. type: string
  11268. audittradedate:
  11269. description: 审核交易日(yyyyMMdd)
  11270. type: string
  11271. brokerapplyid:
  11272. description: 申请ID(SEQ_BROKERAPPLY)
  11273. type: integer
  11274. cardbackphotourl:
  11275. description: 证件背面图片地址
  11276. type: string
  11277. cardfrontphotourl:
  11278. description: 证件正面图片地址
  11279. type: string
  11280. cardnum:
  11281. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11282. type: string
  11283. customername:
  11284. description: 姓名
  11285. type: string
  11286. filterstatus:
  11287. description: 筛选条件
  11288. type: string
  11289. logincode:
  11290. description: 登录代码
  11291. type: string
  11292. mobile:
  11293. description: 手机号码
  11294. type: string
  11295. parentuserid:
  11296. description: 所属机构id
  11297. type: integer
  11298. parentusername:
  11299. description: 所属机构名称
  11300. type: string
  11301. refereeuserid:
  11302. description: 推荐人id(经纪人)
  11303. type: integer
  11304. refernum:
  11305. description: 推荐码
  11306. type: string
  11307. remark:
  11308. description: 备注
  11309. type: string
  11310. subarealevelpath:
  11311. description: 层级路径
  11312. type: string
  11313. tradedate:
  11314. description: 交易日(yyyyMMdd)
  11315. type: string
  11316. userid:
  11317. description: 申请人用户ID
  11318. type: integer
  11319. userinfotype:
  11320. description: 用户类型 1-个人 2-企业
  11321. type: integer
  11322. username:
  11323. description: 用户名称
  11324. type: string
  11325. type: object
  11326. models.QhjMgrBrokerRewardReport:
  11327. properties:
  11328. createtime:
  11329. description: 创建时间(注册时间)
  11330. type: string
  11331. cycletime:
  11332. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11333. type: string
  11334. cycletype:
  11335. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11336. type: integer
  11337. directtotalnum:
  11338. description: 直推总人数【期末】
  11339. type: integer
  11340. indirecttotalnum:
  11341. description: 间推总人数【期末】
  11342. type: integer
  11343. mobile:
  11344. description: 电话号码
  11345. type: string
  11346. refereeuserid:
  11347. description: 推荐人id(经纪人id)
  11348. type: integer
  11349. refereeusername:
  11350. description: 推荐人名称(经纪人) 上级经纪人名称
  11351. type: string
  11352. refernum:
  11353. description: 推荐码
  11354. type: string
  11355. subarealevelpath:
  11356. description: 用户层级路径
  11357. type: string
  11358. todayrewardamount:
  11359. description: 奖励总金额【汇总】
  11360. type: number
  11361. updatetime:
  11362. description: 更新时间
  11363. type: string
  11364. userid:
  11365. description: 经纪人用户ID
  11366. type: integer
  11367. userinfotype:
  11368. description: 用户类型 1-个人 2-企业
  11369. type: integer
  11370. username:
  11371. description: 用户名称
  11372. type: string
  11373. type: object
  11374. models.QhjMgrContract:
  11375. properties:
  11376. contractconfirmtime:
  11377. description: 合同确认时间(时间)
  11378. type: string
  11379. currisklevel:
  11380. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11381. type: integer
  11382. decimalplace:
  11383. description: 商品报价小数位
  11384. type: integer
  11385. enumdicname:
  11386. description: 单位名称
  11387. type: string
  11388. goodscode:
  11389. description: 商品代码
  11390. type: string
  11391. goodsid:
  11392. description: 商品ID [5:融资单]
  11393. type: integer
  11394. goodsname:
  11395. description: 商品名称
  11396. type: string
  11397. goodunitid:
  11398. description: 商品单位id
  11399. type: integer
  11400. initmargin:
  11401. description: 初始保证金(首付款)
  11402. type: number
  11403. lenderamount:
  11404. description: 贷款金额(总额|订单总额)
  11405. type: number
  11406. logincode:
  11407. description: 账号(登录代码)
  11408. type: string
  11409. marginratio:
  11410. description: 保证金比率(首付比例)
  11411. type: number
  11412. mobile:
  11413. description: 电话号码(用户资料里的电话)
  11414. type: string
  11415. payamount:
  11416. description: 已付(已付货款)
  11417. type: number
  11418. reckonrecovermargin:
  11419. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11420. type: number
  11421. recoveredmargin:
  11422. description: 已追缴保证金
  11423. type: number
  11424. remainamount:
  11425. description: 合同剩余金额(融资额)
  11426. type: number
  11427. scfcontractid:
  11428. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11429. type: string
  11430. scfcontractstatus:
  11431. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  11432. type: integer
  11433. scfcontracttype:
  11434. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11435. type: integer
  11436. totalinterest:
  11437. description: 已计总利息(利息)
  11438. type: number
  11439. tradedate:
  11440. description: 交易日
  11441. type: string
  11442. tradeprice:
  11443. description: 成交价格(成本价格)
  11444. type: number
  11445. userid:
  11446. description: 用户ID
  11447. type: integer
  11448. userinfotype:
  11449. description: 用户类型 1-个人 2-企业
  11450. type: integer
  11451. username:
  11452. description: 用户名称
  11453. type: string
  11454. wrqty:
  11455. description: 仓单数量(数量)
  11456. type: number
  11457. type: object
  11458. models.QhjMgrCustomer:
  11459. properties:
  11460. address:
  11461. description: 通讯地址
  11462. type: string
  11463. attachment1:
  11464. description: 附件1
  11465. type: string
  11466. audittime:
  11467. description: 审核时间
  11468. type: string
  11469. birthday:
  11470. description: 生日
  11471. type: string
  11472. brokerid:
  11473. description: 所属客户经理id
  11474. type: integer
  11475. brokername:
  11476. description: 所属客户经理名称
  11477. type: string
  11478. cardbackphotourl:
  11479. description: 证件反面图片地址
  11480. type: string
  11481. cardfrontphotourl:
  11482. description: 证件正面图片地址
  11483. type: string
  11484. cardnum:
  11485. description: 证件号码
  11486. type: string
  11487. cardtype:
  11488. description: 证件类型
  11489. type: integer
  11490. cardtypename:
  11491. description: 证件类型名称
  11492. type: string
  11493. cityid:
  11494. description: 市
  11495. type: integer
  11496. cityname:
  11497. description: 城市名称
  11498. type: string
  11499. contactname:
  11500. description: 联系人
  11501. type: string
  11502. countryid:
  11503. description: 国家
  11504. type: integer
  11505. countryname:
  11506. description: 国家名称
  11507. type: string
  11508. createtime:
  11509. description: 创建时间
  11510. type: string
  11511. customername:
  11512. description: 客户名称
  11513. type: string
  11514. districtid:
  11515. description: 区域
  11516. type: integer
  11517. districtname:
  11518. description: 地区名称
  11519. type: string
  11520. email:
  11521. description: 邮件
  11522. type: string
  11523. legalpersonname:
  11524. description: 法人姓名(企业)
  11525. type: string
  11526. logincode:
  11527. description: 登录账号(代码)
  11528. type: string
  11529. memberuserid:
  11530. description: 所属机构ID(所属会员)
  11531. type: integer
  11532. memberusername:
  11533. description: 所属会员名称
  11534. type: string
  11535. mobile:
  11536. description: 手机号码
  11537. type: string
  11538. modifytime:
  11539. description: 修改时间
  11540. type: string
  11541. nickname:
  11542. description: 昵称
  11543. type: string
  11544. parentuserid:
  11545. description: 上级机构(所属机构)
  11546. type: integer
  11547. parentusername:
  11548. description: 所属机构名称
  11549. type: string
  11550. provinceid:
  11551. description: 省
  11552. type: integer
  11553. provincename:
  11554. description: 省名称
  11555. type: string
  11556. proxystatementurl:
  11557. description: 授权委托书
  11558. type: string
  11559. querytype:
  11560. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11561. type: integer
  11562. remark:
  11563. description: 备注
  11564. type: string
  11565. sex:
  11566. description: 性别 0-女 1-男
  11567. type: integer
  11568. status:
  11569. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11570. type: integer
  11571. statusdesc:
  11572. description: 账户状态中文描述
  11573. type: string
  11574. taxpayernum:
  11575. description: 纳税人识别号
  11576. type: string
  11577. telphone:
  11578. description: 联系电话
  11579. type: string
  11580. userid:
  11581. description: 用户ID
  11582. type: integer
  11583. userinfotype:
  11584. description: 客户类型 1-个人 2-企业
  11585. type: integer
  11586. username:
  11587. description: 用户名称
  11588. type: string
  11589. type: object
  11590. models.QhjMgrPickGoods:
  11591. properties:
  11592. enumdicname:
  11593. description: 单位名称(提货商品)
  11594. type: string
  11595. goodsid:
  11596. description: 商品id
  11597. type: integer
  11598. imageaddress:
  11599. description: 图片
  11600. type: string
  11601. modifierid:
  11602. description: 修改人
  11603. type: integer
  11604. modifiername:
  11605. description: 修改人名称
  11606. type: string
  11607. modifysrc:
  11608. description: 修改来源 - 1:管理端 2:终端
  11609. type: integer
  11610. pickupgoodsagreeunit:
  11611. description: 合约乘数
  11612. type: number
  11613. pickupgoodsdesc:
  11614. description: 描述
  11615. type: string
  11616. pickupgoodsid:
  11617. description: 提货商品ID
  11618. type: string
  11619. pickupgoodsname:
  11620. description: 提货商品名称
  11621. type: string
  11622. pickupgoodsstatus:
  11623. description: 状态 - 1:正常 2:停用 3:注销
  11624. type: integer
  11625. pickupgoodsunitid:
  11626. description: 单位ID
  11627. type: integer
  11628. pickupratio:
  11629. description: 提货系数
  11630. type: number
  11631. preparedays:
  11632. description: 备货期(天)
  11633. type: integer
  11634. remark:
  11635. description: 备注
  11636. type: string
  11637. updatetime:
  11638. description: 更新时间
  11639. type: string
  11640. type: object
  11641. models.QhjMgrPositionRsp:
  11642. properties:
  11643. accountid:
  11644. description: 账号Id
  11645. type: integer
  11646. accountname:
  11647. description: 用户名称
  11648. type: string
  11649. agreeunit:
  11650. description: 合约乘数
  11651. type: number
  11652. averageprice:
  11653. description: 均价
  11654. type: number
  11655. avialqty:
  11656. description: 可用数量
  11657. type: number
  11658. decimalplace:
  11659. description: 报价小数位
  11660. type: integer
  11661. enumdicname:
  11662. description: 单位名称(商品)
  11663. type: string
  11664. frozenqty:
  11665. description: 冻结数量
  11666. type: number
  11667. goodscode:
  11668. description: 商品代码(内部)
  11669. type: string
  11670. goodsid:
  11671. description: 商品Id
  11672. type: integer
  11673. goodsname:
  11674. description: 商品名称
  11675. type: string
  11676. goodunitid:
  11677. description: 报价单位ID
  11678. type: integer
  11679. holderamount:
  11680. description: 金额
  11681. type: number
  11682. holderqty:
  11683. description: 持有数量
  11684. type: number
  11685. holdertype:
  11686. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11687. type: integer
  11688. logincode:
  11689. description: 登录代码(账户)
  11690. type: string
  11691. marketid:
  11692. description: 市场id
  11693. type: integer
  11694. qtydecimalplace:
  11695. description: 成交量小数位
  11696. type: integer
  11697. trademode:
  11698. description: 交易模式
  11699. type: integer
  11700. userid:
  11701. description: 用户id
  11702. type: integer
  11703. userinfotype:
  11704. description: 账户类型 1-个人 2-企业
  11705. type: integer
  11706. type: object
  11707. models.QhjMgrSubArea:
  11708. properties:
  11709. accountname:
  11710. description: 账户名称(机构名称)
  11711. type: string
  11712. memberuserid:
  11713. description: 所属会员ID
  11714. type: integer
  11715. parenttopuser:
  11716. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11717. type: string
  11718. parentuserid:
  11719. description: 所属机构ID
  11720. type: integer
  11721. rootuserid:
  11722. description: 根用户ID
  11723. type: string
  11724. subaccountlevel:
  11725. description: 子账户层数
  11726. type: integer
  11727. subarealevelpath:
  11728. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11729. type: string
  11730. userid:
  11731. description: 用户ID
  11732. type: integer
  11733. usertype:
  11734. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11735. type: integer
  11736. type: object
  11737. models.QhjMgrTradeDetailRsp:
  11738. properties:
  11739. accountid:
  11740. description: 资金账号
  11741. type: integer
  11742. accountname:
  11743. description: 用户名称
  11744. type: string
  11745. agreeunit:
  11746. description: 合约乘数
  11747. type: number
  11748. buyorsell:
  11749. description: 成交类型(方向) 0:买 1:卖
  11750. type: integer
  11751. decimalplace:
  11752. description: 报价小数位
  11753. type: integer
  11754. enumdicname:
  11755. description: 单位名称(商品)
  11756. type: string
  11757. goodscode:
  11758. description: 商品代码(内部)
  11759. type: string
  11760. goodsid:
  11761. description: 商品id
  11762. type: integer
  11763. goodsname:
  11764. description: 商品名称
  11765. type: string
  11766. goodunitid:
  11767. description: 报价单位ID
  11768. type: integer
  11769. logincode:
  11770. description: 登录代码(账户)
  11771. type: string
  11772. marketid:
  11773. description: 市场id
  11774. type: integer
  11775. orderid:
  11776. description: 关联委托单号
  11777. type: string
  11778. qtydecimalplace:
  11779. description: 成交量小数位
  11780. type: integer
  11781. tradeamount:
  11782. description: 金额
  11783. type: number
  11784. tradedate:
  11785. description: 交易日
  11786. type: string
  11787. tradeid:
  11788. description: 成交单号
  11789. type: string
  11790. trademode:
  11791. description: 交易模式
  11792. type: integer
  11793. tradeprice:
  11794. description: 价格
  11795. type: number
  11796. tradeqty:
  11797. description: 数量
  11798. type: number
  11799. tradetime:
  11800. description: 成交时间
  11801. type: string
  11802. userid:
  11803. description: 用户id
  11804. type: integer
  11805. userinfotype:
  11806. description: 账户类型 1-个人 2-企业
  11807. type: integer
  11808. type: object
  11809. models.QhjMgrTradeOrderDetailRsp:
  11810. properties:
  11811. accountid:
  11812. description: 资金账号
  11813. type: integer
  11814. accountname:
  11815. description: 用户名称
  11816. type: string
  11817. agreeunit:
  11818. description: 合约乘数
  11819. type: number
  11820. amount:
  11821. description: 金额
  11822. type: number
  11823. decimalplace:
  11824. description: 报价小数位
  11825. type: integer
  11826. enumdicname:
  11827. description: 单位名称(商品)
  11828. type: string
  11829. goodscode:
  11830. description: 商品代码(内部)
  11831. type: string
  11832. goodsid:
  11833. description: 商品id
  11834. type: integer
  11835. goodsname:
  11836. description: 商品名称
  11837. type: string
  11838. goodunitid:
  11839. description: 报价单位ID
  11840. type: integer
  11841. logincode:
  11842. description: 登录代码(账户)
  11843. type: string
  11844. marketid:
  11845. description: 市场id
  11846. type: integer
  11847. orderid:
  11848. description: 关联委托单号
  11849. type: string
  11850. orderprice:
  11851. description: 价格
  11852. type: number
  11853. orderqty:
  11854. description: 数量
  11855. type: number
  11856. orderstatus:
  11857. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  11858. type: integer
  11859. ordertime:
  11860. description: 委托时间
  11861. type: string
  11862. qtydecimalplace:
  11863. description: 成交量小数位
  11864. type: integer
  11865. tradedate:
  11866. description: 交易日
  11867. type: string
  11868. trademode:
  11869. description: 交易模式
  11870. type: integer
  11871. userid:
  11872. description: 用户id
  11873. type: integer
  11874. userinfotype:
  11875. description: 账户类型 1-个人 2-企业
  11876. type: integer
  11877. type: object
  11878. models.QhjMgrTradePayOrder:
  11879. properties:
  11880. accountname:
  11881. description: 用户名称
  11882. type: string
  11883. advanceratio:
  11884. description: 首付比率
  11885. type: number
  11886. agreeunit:
  11887. description: 合约乘数
  11888. type: number
  11889. buyaccountid:
  11890. description: 买方账号ID[报价币种]
  11891. type: integer
  11892. buyorderid:
  11893. description: 买方委托单号(关联单号)
  11894. type: string
  11895. createtime:
  11896. description: 创建时间
  11897. type: string
  11898. decimalplace:
  11899. description: 报价小数位
  11900. type: integer
  11901. enumdicname:
  11902. description: 单位名称(商品)
  11903. type: string
  11904. goodscode:
  11905. description: 商品代码(内部)
  11906. type: string
  11907. goodsid:
  11908. description: 商品ID
  11909. type: integer
  11910. goodsname:
  11911. description: 商品名称
  11912. type: string
  11913. goodunitid:
  11914. description: 报价单位ID
  11915. type: integer
  11916. logincode:
  11917. description: 登录代码(账户)
  11918. type: string
  11919. marketid:
  11920. description: 市场id
  11921. type: integer
  11922. offamount:
  11923. description: 优惠金额
  11924. type: number
  11925. operatetype:
  11926. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11927. type: integer
  11928. payamount:
  11929. description: 支付金额(金额)
  11930. type: number
  11931. payflag:
  11932. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11933. type: integer
  11934. paylimitedtime:
  11935. description: 支付期限
  11936. type: string
  11937. paytime:
  11938. description: 付款时间
  11939. type: string
  11940. qtydecimalplace:
  11941. description: 成交量小数位
  11942. type: integer
  11943. sellaccountid:
  11944. description: 卖方账号ID[报价币种]
  11945. type: integer
  11946. sellorderid:
  11947. description: 卖方委托单号
  11948. type: string
  11949. tradeamount:
  11950. description: 成交金额(优惠后金额)
  11951. type: number
  11952. tradecharge:
  11953. description: 成交手续费(买方)
  11954. type: number
  11955. tradedate:
  11956. description: 交易日(yyyyMMdd)
  11957. type: string
  11958. tradeid:
  11959. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11960. type: string
  11961. trademode:
  11962. description: 交易模式
  11963. type: integer
  11964. tradeprice:
  11965. description: 成交价格(价格)
  11966. type: number
  11967. tradeqty:
  11968. description: 成交数量(数量)
  11969. type: number
  11970. tradetime:
  11971. description: 成交时间
  11972. type: string
  11973. userid:
  11974. description: 用户id
  11975. type: integer
  11976. userinfotype:
  11977. description: 账户类型 1-个人 2-企业
  11978. type: integer
  11979. type: object
  11980. models.QhjMyTeamEx:
  11981. properties:
  11982. accountname:
  11983. description: 用户名称
  11984. type: string
  11985. accountstatus:
  11986. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11987. type: integer
  11988. createtime:
  11989. description: 创建时间
  11990. type: string
  11991. mobile:
  11992. description: 手机号码
  11993. type: string
  11994. refereeuserid:
  11995. description: 推荐人id
  11996. type: integer
  11997. refernum:
  11998. description: 推荐码
  11999. type: string
  12000. subList:
  12001. items:
  12002. $ref: '#/definitions/models.QhjMyTeamEx'
  12003. type: array
  12004. userid:
  12005. description: 用户id
  12006. type: integer
  12007. userinfotype:
  12008. description: 用户类型 1-个人 2-企业
  12009. type: integer
  12010. type: object
  12011. models.QhjNodeAgreementConfig:
  12012. properties:
  12013. agreementcontent:
  12014. description: 协议内容
  12015. type: string
  12016. agreementid:
  12017. description: 协议ID
  12018. type: integer
  12019. agreementname:
  12020. description: 协议名称
  12021. type: string
  12022. agreementno:
  12023. description: 协议编号
  12024. type: string
  12025. agreementtype:
  12026. description: 协议类型 - 1:注册 2:登录 3:交易
  12027. type: integer
  12028. agreementversion:
  12029. description: 协议版本号
  12030. type: integer
  12031. configid:
  12032. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12033. type: integer
  12034. createtime:
  12035. description: 创建时间
  12036. type: string
  12037. goodsid:
  12038. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12039. type: integer
  12040. nodetype:
  12041. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12042. type: integer
  12043. type: object
  12044. models.QhjParentAreaList:
  12045. properties:
  12046. accountname:
  12047. description: 账户名称(机构名称)
  12048. type: string
  12049. userid:
  12050. description: 用户ID
  12051. type: integer
  12052. usertype:
  12053. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12054. type: integer
  12055. type: object
  12056. models.QhjPayOrder:
  12057. properties:
  12058. advanceratio:
  12059. description: 首付比率
  12060. type: number
  12061. buyaccountid:
  12062. description: 买方账号ID[报价币种]
  12063. type: integer
  12064. buyorderid:
  12065. description: 买方委托单号
  12066. type: string
  12067. createtime:
  12068. description: 创建时间
  12069. type: string
  12070. decimalplace:
  12071. description: 商品报价小数位
  12072. type: integer
  12073. enumdicname:
  12074. description: 单位名称
  12075. type: string
  12076. goodscode:
  12077. description: 商品代码
  12078. type: string
  12079. goodsid:
  12080. description: 商品ID
  12081. type: integer
  12082. goodsname:
  12083. description: 商品名称
  12084. type: string
  12085. goodunitid:
  12086. description: 商品单位id
  12087. type: integer
  12088. marketid:
  12089. description: 市场ID
  12090. type: integer
  12091. offamount:
  12092. description: 优惠金额
  12093. type: number
  12094. operatetype:
  12095. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12096. type: integer
  12097. payamount:
  12098. description: 支付金额
  12099. type: number
  12100. payflag:
  12101. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12102. type: integer
  12103. paylimitedtime:
  12104. description: 支付期限
  12105. type: string
  12106. paytime:
  12107. description: 付款时间
  12108. type: string
  12109. qtydecimalplace:
  12110. description: 成交量小数位
  12111. type: integer
  12112. sellaccountid:
  12113. description: 卖方账号ID[报价币种]
  12114. type: integer
  12115. sellorderid:
  12116. description: 卖方委托单号
  12117. type: string
  12118. tradeamount:
  12119. description: 成交金额(优惠后金额)
  12120. type: number
  12121. tradecharge:
  12122. description: 成交手续费(买方)
  12123. type: number
  12124. tradedate:
  12125. description: 交易日(yyyyMMdd)
  12126. type: string
  12127. tradeid:
  12128. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12129. type: string
  12130. tradeprice:
  12131. description: 成交价格
  12132. type: number
  12133. tradeqty:
  12134. description: 成交数量
  12135. type: number
  12136. type: object
  12137. models.QhjPickArea:
  12138. properties:
  12139. address:
  12140. description: 详细地址
  12141. type: string
  12142. cityid:
  12143. description: 市
  12144. type: integer
  12145. cityname:
  12146. description: 城市名称
  12147. type: string
  12148. countryid:
  12149. description: 国家
  12150. type: integer
  12151. countryname:
  12152. description: 国家名称
  12153. type: string
  12154. districtid:
  12155. description: 地区
  12156. type: integer
  12157. districtname:
  12158. description: 地区名称
  12159. type: string
  12160. fromuserid:
  12161. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12162. type: integer
  12163. fromusername:
  12164. description: 所属机构名称
  12165. type: string
  12166. provinceid:
  12167. description: 省
  12168. type: integer
  12169. provincename:
  12170. description: 省名称
  12171. type: string
  12172. suborgtype:
  12173. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12174. type: integer
  12175. userid:
  12176. description: 机构用户ID 其他做市关系,都设置为 1
  12177. type: integer
  12178. username:
  12179. description: 机构用户名称(门店门称)
  12180. type: string
  12181. type: object
  12182. models.QhjPickGoods:
  12183. properties:
  12184. enumdicname:
  12185. description: 单位名称(提货商品)
  12186. type: string
  12187. goodsid:
  12188. description: 商品id
  12189. type: integer
  12190. imageaddress:
  12191. description: 图片
  12192. type: string
  12193. modifierid:
  12194. description: 修改人
  12195. type: integer
  12196. modifiername:
  12197. description: 修改人名称
  12198. type: string
  12199. modifysrc:
  12200. description: 修改来源 - 1:管理端 2:终端
  12201. type: integer
  12202. pickupgoodsagreeunit:
  12203. description: 合约乘数
  12204. type: number
  12205. pickupgoodsdesc:
  12206. description: 描述
  12207. type: string
  12208. pickupgoodsid:
  12209. description: 提货商品ID
  12210. type: string
  12211. pickupgoodsname:
  12212. description: 提货商品名称
  12213. type: string
  12214. pickupgoodsstatus:
  12215. description: 状态 - 1:正常 2:停用 3:注销
  12216. type: integer
  12217. pickupgoodsunitid:
  12218. description: 单位ID
  12219. type: integer
  12220. pickupratio:
  12221. description: 提货系数
  12222. type: number
  12223. preparedays:
  12224. description: 备货期(天)
  12225. type: integer
  12226. remark:
  12227. description: 备注
  12228. type: string
  12229. updatetime:
  12230. description: 更新时间
  12231. type: string
  12232. type: object
  12233. models.QhjRSTriggerLog:
  12234. properties:
  12235. accountid:
  12236. description: 用户资金账户
  12237. type: integer
  12238. accountname:
  12239. description: 账号名称(ACCOUNTID对应的名称)
  12240. type: string
  12241. currencyid:
  12242. description: 币种id
  12243. type: integer
  12244. currencyname:
  12245. description: 币种名称
  12246. type: string
  12247. decimalplace:
  12248. description: 商品报价小数位
  12249. type: integer
  12250. enumdicname:
  12251. description: 单位名称
  12252. type: string
  12253. goodscode:
  12254. description: 定投商品代码
  12255. type: string
  12256. goodsid:
  12257. description: 定投商品ID
  12258. type: integer
  12259. goodsname:
  12260. description: 定投商品名称
  12261. type: string
  12262. goodunitid:
  12263. description: 定投商品单位id
  12264. type: integer
  12265. logid:
  12266. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12267. type: string
  12268. logincode:
  12269. description: 账号(登录代码)
  12270. type: string
  12271. qtydecimalplace:
  12272. description: 成交量小数位
  12273. type: integer
  12274. regularlycycle:
  12275. description: 定投频率 - 1:每周 2:每月
  12276. type: integer
  12277. regularlycyclevalue:
  12278. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12279. type: string
  12280. regularlymode:
  12281. description: 定投方式 - 1:按数量 2:按金额
  12282. type: integer
  12283. regularlymodevalue:
  12284. description: 定投方式值 - 数量或金额
  12285. type: number
  12286. regularlystrategyid:
  12287. description: 定投策略ID
  12288. type: integer
  12289. retcode:
  12290. description: 错误码
  12291. type: string
  12292. tradeid:
  12293. description: 成交单ID
  12294. type: string
  12295. triggeramount:
  12296. description: 触发金额
  12297. type: number
  12298. triggerqty:
  12299. description: 触发数量
  12300. type: number
  12301. triggerstatus:
  12302. description: 触发状态 - 1:成功 2:失败
  12303. type: integer
  12304. triggertime:
  12305. description: 触发时间
  12306. type: string
  12307. triggertradedate:
  12308. description: 触发交易日
  12309. type: string
  12310. userid:
  12311. description: 所属用户ID
  12312. type: integer
  12313. userinfotype:
  12314. description: 用户类型 1-个人 2-企业
  12315. type: integer
  12316. username:
  12317. description: 用户名称(userid对应的名称)
  12318. type: string
  12319. type: object
  12320. models.QhjRStrategy:
  12321. properties:
  12322. accountid:
  12323. description: 用户资金账户
  12324. type: integer
  12325. accountname:
  12326. description: 账号名称(ACCOUNTID对应的名称)
  12327. type: string
  12328. currencyid:
  12329. description: 币种id
  12330. type: integer
  12331. currencyname:
  12332. description: 币种名称
  12333. type: string
  12334. decimalplace:
  12335. description: 商品报价小数位
  12336. type: integer
  12337. enumdicname:
  12338. description: 单位名称
  12339. type: string
  12340. goodscode:
  12341. description: 定投商品代码
  12342. type: string
  12343. goodsid:
  12344. description: 定投商品ID
  12345. type: integer
  12346. goodsname:
  12347. description: 定投商品名称
  12348. type: string
  12349. goodunitid:
  12350. description: 定投商品单位id
  12351. type: integer
  12352. lasteffecttradedate:
  12353. description: 最新生效交易日
  12354. type: string
  12355. laststoptradedate:
  12356. description: 最新暂停交易日
  12357. type: string
  12358. lasttriggertradedate:
  12359. description: 最新触发交易日
  12360. type: string
  12361. logincode:
  12362. description: 账号(登录代码)
  12363. type: string
  12364. nexttriggeramount:
  12365. description: 下次触发金额
  12366. type: number
  12367. nexttriggerdate:
  12368. description: 下次触发日期
  12369. type: string
  12370. nexttriggerqty:
  12371. description: 下次触发数量 [按小数位放大值]
  12372. type: number
  12373. qtydecimalplace:
  12374. description: 成交量小数位
  12375. type: integer
  12376. regularlycycle:
  12377. description: 定投频率 - 1:每周 2:每月
  12378. type: integer
  12379. regularlycyclevalue:
  12380. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12381. type: string
  12382. regularlymode:
  12383. description: 定投方式 - 1:按数量 2:按金额
  12384. type: integer
  12385. regularlymodevalue:
  12386. description: 定投方式值 - 数量或金额
  12387. type: number
  12388. regularlystrategyid:
  12389. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12390. type: integer
  12391. regularlystrategystatus:
  12392. description: 策略状态 - 1:正常 2:暂停 3:终止
  12393. type: integer
  12394. remark:
  12395. description: 备注
  12396. type: string
  12397. triggersuccesstimes:
  12398. description: 累计定投成功次数
  12399. type: string
  12400. triggertotalamount:
  12401. description: 累计定投金额(成功)
  12402. type: number
  12403. triggertotalqty:
  12404. description: 累计定投数量(成功) [按小数位放大值]
  12405. type: number
  12406. triggertotaltimes:
  12407. description: 累计定投总次数
  12408. type: string
  12409. updatesrc:
  12410. description: 更新来源 - 1:管理端 2:终端
  12411. type: integer
  12412. updatetime:
  12413. description: 更新时间
  12414. type: string
  12415. updatorid:
  12416. description: 更新人
  12417. type: string
  12418. userid:
  12419. description: 所属用户ID
  12420. type: integer
  12421. userinfotype:
  12422. description: 用户类型 1-个人 2-企业
  12423. type: integer
  12424. username:
  12425. description: 用户名称(userid对应的名称)
  12426. type: string
  12427. type: object
  12428. models.QhjReckonPriceLog:
  12429. properties:
  12430. decimalplace:
  12431. description: 商品报价小数位
  12432. type: integer
  12433. goodscode:
  12434. description: 商品代码
  12435. type: string
  12436. goodsid:
  12437. description: 商品ID
  12438. type: integer
  12439. goodsname:
  12440. description: 商品名称
  12441. type: string
  12442. lastreckonprice:
  12443. description: 上日结算价
  12444. type: number
  12445. nextdnlimitprice:
  12446. description: 下个交易日跌停价
  12447. type: number
  12448. nexttrade:
  12449. description: 下个交易日
  12450. type: string
  12451. nextuplimitprice:
  12452. description: 下个交易日涨停价
  12453. type: number
  12454. reckonprice:
  12455. description: 今日结算价(定投价)
  12456. type: number
  12457. reckontime:
  12458. description: 结算时间
  12459. type: string
  12460. totalholderqty:
  12461. description: 总持仓数
  12462. type: integer
  12463. totalstock:
  12464. description: 总库存
  12465. type: integer
  12466. tradedate:
  12467. description: 交易日
  12468. type: string
  12469. updowncount:
  12470. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12471. type: integer
  12472. updownflag:
  12473. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12474. type: integer
  12475. updownrate:
  12476. description: 今日涨跌幅
  12477. type: number
  12478. updownrate_2d:
  12479. description: 连续两日涨跌幅
  12480. type: number
  12481. updownrate_3d:
  12482. description: 连续三日涨跌幅
  12483. type: number
  12484. type: object
  12485. models.QhjScoreLog:
  12486. properties:
  12487. accountid:
  12488. description: 账户ID
  12489. type: integer
  12490. createtime:
  12491. description: 创建时间(时间)
  12492. type: string
  12493. goodsid:
  12494. description: 商品ID
  12495. type: integer
  12496. hasuploaded:
  12497. description: 是否已同步(千海金) 0:未同步 1;已同步
  12498. type: integer
  12499. logid:
  12500. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12501. type: string
  12502. marketid:
  12503. description: 市场ID
  12504. type: integer
  12505. relatedamount:
  12506. description: 关联金额
  12507. type: number
  12508. relatedorderid:
  12509. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12510. type: string
  12511. scoreconfigvalue1:
  12512. description: 积分配置1
  12513. type: integer
  12514. scoreconfigvalue2:
  12515. description: 积分配置1
  12516. type: integer
  12517. scoretype:
  12518. description: 积分类型 - 1:提货积分
  12519. type: integer
  12520. scorevalue:
  12521. description: 积分
  12522. type: number
  12523. tradedate:
  12524. description: 交易日(yyyyMMdd)
  12525. type: string
  12526. uploadedtime:
  12527. description: 同步时间
  12528. type: string
  12529. userid:
  12530. description: 用户ID
  12531. type: integer
  12532. type: object
  12533. models.QhjSiteColumnDetail:
  12534. properties:
  12535. author:
  12536. description: 作者
  12537. type: string
  12538. brief:
  12539. description: 简介
  12540. type: string
  12541. columnid:
  12542. description: 所属栏目
  12543. type: integer
  12544. context:
  12545. description: 内容
  12546. type: string
  12547. coverimage:
  12548. description: 封面图片
  12549. type: string
  12550. creaedate:
  12551. description: 创建时间
  12552. type: string
  12553. creatorid:
  12554. description: 创建人
  12555. type: integer
  12556. hits:
  12557. description: 点击数
  12558. type: integer
  12559. id:
  12560. description: ID(SEQ_SITE_COLUMNDETAIL)
  12561. type: integer
  12562. isshow:
  12563. description: 是否展示 - 0:不展示 1:展示
  12564. type: integer
  12565. istop:
  12566. description: 是否置顶 - 0:不置 1:置顶
  12567. type: integer
  12568. modifierid:
  12569. description: 操作人
  12570. type: integer
  12571. publishdate:
  12572. description: 发布日期
  12573. type: string
  12574. status:
  12575. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12576. type: integer
  12577. title:
  12578. description: 标题
  12579. type: string
  12580. updatedate:
  12581. description: 修改时间
  12582. type: string
  12583. userid:
  12584. description: 用户ID(默认为0, 核心为为机构用户ID)
  12585. type: integer
  12586. username:
  12587. description: 用户名称
  12588. type: string
  12589. type: object
  12590. models.QhjTeamOrder:
  12591. properties:
  12592. accountid:
  12593. description: 账户ID[报价币种]
  12594. type: integer
  12595. accountname:
  12596. description: 账户名称
  12597. type: string
  12598. agreeunit:
  12599. description: 合约乘数
  12600. type: number
  12601. buyorsell:
  12602. description: 方向 - 0:买 1:卖
  12603. type: integer
  12604. decimalplace:
  12605. description: 报价小数位
  12606. type: integer
  12607. enumdicname:
  12608. description: 单位名称
  12609. type: string
  12610. goodscode:
  12611. description: 商品代码(内部)
  12612. type: string
  12613. goodsid:
  12614. description: 商品ID
  12615. type: integer
  12616. goodsname:
  12617. description: 商品名称
  12618. type: string
  12619. goodunitid:
  12620. description: 报价单位ID
  12621. type: integer
  12622. marketid:
  12623. description: 市场ID
  12624. type: integer
  12625. marketname:
  12626. description: 市场名称
  12627. type: string
  12628. qtydecimalplace:
  12629. description: 成交量小数位
  12630. type: integer
  12631. refereeuserid:
  12632. description: 推荐人ID
  12633. type: integer
  12634. tradeamount:
  12635. description: 成交金额[账户币种,用于所有权]
  12636. type: number
  12637. tradedate:
  12638. description: 交易日(yyyyMMdd)
  12639. type: string
  12640. trademode:
  12641. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  12642. type: integer
  12643. tradeprice:
  12644. description: 成交价格
  12645. type: number
  12646. tradeqty:
  12647. description: 成交数量
  12648. type: number
  12649. tradetime:
  12650. description: 成交时间
  12651. type: string
  12652. userid:
  12653. description: 用户ID
  12654. type: integer
  12655. type: object
  12656. models.QhjTradeGoodsPickup:
  12657. properties:
  12658. accountid:
  12659. description: 账户ID
  12660. type: integer
  12661. address:
  12662. description: 提货人详细地址
  12663. type: string
  12664. amount:
  12665. description: 提货金额
  12666. type: number
  12667. artradedate:
  12668. description: 自动收货交易日(yyyyMMdd)
  12669. type: string
  12670. auditer:
  12671. description: 审核人
  12672. type: integer
  12673. auditsrc:
  12674. description: 更新来源 - 1:管理端 2:终端
  12675. type: integer
  12676. audittime:
  12677. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12678. type: string
  12679. audittradedate:
  12680. description: 审核交易日(yyyyMMdd)
  12681. type: string
  12682. cardnum:
  12683. description: 提货人证件号码
  12684. type: string
  12685. cardtypeid:
  12686. description: 提货人证件类型
  12687. type: integer
  12688. checkremark:
  12689. description: 审核备注
  12690. type: string
  12691. cityid:
  12692. description: 市
  12693. type: integer
  12694. cityname:
  12695. description: 城市名称
  12696. type: string
  12697. confirmtime:
  12698. description: 取货时间 或 收货时间
  12699. type: string
  12700. countryid:
  12701. description: 国家
  12702. type: integer
  12703. countryname:
  12704. description: 国家名称
  12705. type: string
  12706. decimalplace:
  12707. description: 商品报价小数位
  12708. type: integer
  12709. districtid:
  12710. description: 地区
  12711. type: integer
  12712. districtname:
  12713. description: 地区名称
  12714. type: string
  12715. enumdicname:
  12716. description: 单位名称(提货商品)
  12717. type: string
  12718. expresscompany:
  12719. description: 物流公司
  12720. type: string
  12721. expressnum:
  12722. description: 物流单号
  12723. type: string
  12724. goodsagreeunit:
  12725. description: 交易商品乘数
  12726. type: number
  12727. goodscode:
  12728. description: 商品代码
  12729. type: string
  12730. goodsid:
  12731. description: 商品ID
  12732. type: integer
  12733. goodsname:
  12734. description: 商品名称
  12735. type: string
  12736. goodsqty:
  12737. description: 交易商品手数(69模式按成交量小数位放大取整)
  12738. type: number
  12739. handlestatus:
  12740. description: 处理状态
  12741. type: integer
  12742. logincode:
  12743. description: 账号(登录代码, 有可能为空)
  12744. type: string
  12745. marketid:
  12746. description: 市场ID
  12747. type: integer
  12748. phonenum:
  12749. description: 提货人联系方式
  12750. type: string
  12751. pickupgoodsagreeunit:
  12752. description: 提货商品合约乘数
  12753. type: number
  12754. pickupgoodsid:
  12755. description: 提货商品ID
  12756. type: string
  12757. pickupgoodsname:
  12758. description: 提货商品名称
  12759. type: string
  12760. pickupgoodsqty:
  12761. description: 提货商品手数(数量)
  12762. type: number
  12763. pickupgoodsunitid:
  12764. description: 单位ID(提货商品)
  12765. type: integer
  12766. pickupratio:
  12767. description: 提货系数
  12768. type: number
  12769. preparedays:
  12770. description: 备货期(天)-提货单明细表
  12771. type: integer
  12772. provinceid:
  12773. description: 省
  12774. type: integer
  12775. provincename:
  12776. description: 省名称
  12777. type: string
  12778. qty:
  12779. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12780. type: number
  12781. qtydecimalplace:
  12782. description: 商品数量小数位
  12783. type: integer
  12784. recivername:
  12785. description: 提货人姓名
  12786. type: string
  12787. reqtime:
  12788. description: 提货申请时间
  12789. type: string
  12790. storeuserid:
  12791. description: 门店用户ID (千海金)
  12792. type: integer
  12793. storeusername:
  12794. description: 门店用户名称
  12795. type: string
  12796. takemode:
  12797. description: 提货方式 - 2:自提 3:配送(邮寄)
  12798. type: integer
  12799. takeorderid:
  12800. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12801. type: string
  12802. takeorderstatus:
  12803. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  12804. type: integer
  12805. takeremark:
  12806. description: 提货备注
  12807. type: string
  12808. tradedate:
  12809. description: 交易日(yyyyMMdd)
  12810. type: string
  12811. updatetime:
  12812. description: 更新时间
  12813. type: string
  12814. userid:
  12815. description: 用户ID
  12816. type: integer
  12817. userinfotype:
  12818. description: 客户类型 1-个人 2-企业
  12819. type: integer
  12820. username:
  12821. description: 用户名称
  12822. type: string
  12823. type: object
  12824. models.QhjUserNodeCfgAndStatus:
  12825. properties:
  12826. agreementcontent:
  12827. description: 协议内容
  12828. type: string
  12829. agreementid:
  12830. description: 协议ID
  12831. type: integer
  12832. agreementname:
  12833. description: 协议名称
  12834. type: string
  12835. agreementno:
  12836. description: 协议编号
  12837. type: string
  12838. agreementtype:
  12839. description: 协议类型 - 1:注册 2:登录 3:交易
  12840. type: integer
  12841. agreementversion:
  12842. description: 协议版本号
  12843. type: integer
  12844. configid:
  12845. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12846. type: integer
  12847. createtime:
  12848. description: 创建时间
  12849. type: string
  12850. goodsid:
  12851. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12852. type: integer
  12853. nodetype:
  12854. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12855. type: integer
  12856. signtimestamp:
  12857. description: 签约状态时间戳(最近一次)
  12858. type: string
  12859. tradedate:
  12860. description: 签约交易日(yyyyMMdd)
  12861. type: string
  12862. userid:
  12863. description: 客户ID
  12864. type: integer
  12865. type: object
  12866. models.Qhjgoodsex:
  12867. properties:
  12868. canfinance:
  12869. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12870. type: integer
  12871. canregularlybuy:
  12872. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12873. type: integer
  12874. defaulttradeuserid:
  12875. description: 默认交易用户ID
  12876. type: integer
  12877. deliverygoodsid:
  12878. description: 现货品种ID
  12879. type: integer
  12880. goodsid:
  12881. description: 商品ID(自增ID SEQ_GOODS)
  12882. type: integer
  12883. minamount:
  12884. description: 最小购买金额
  12885. type: number
  12886. regularlybuyminamount:
  12887. description: 定投最小金额
  12888. type: number
  12889. regularlybuyminqty:
  12890. description: 定投最小数量
  12891. type: number
  12892. spotgoodsbrandid:
  12893. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12894. type: integer
  12895. visibilityforenterprise:
  12896. description: 企业客户是否可见 - 0:不可见 1:可见
  12897. type: integer
  12898. visibilityforpersonal:
  12899. description: 个人客户是否可见 - 0:不可见 1:可见
  12900. type: integer
  12901. wrstandardid:
  12902. description: 现货商品ID
  12903. type: integer
  12904. type: object
  12905. models.QueryErrorInfosRsp:
  12906. properties:
  12907. description:
  12908. description: 异常描述
  12909. type: string
  12910. errorcode:
  12911. description: 异常代码
  12912. type: string
  12913. errorid:
  12914. description: 异常ID
  12915. type: integer
  12916. modulecode:
  12917. description: 所属模块
  12918. type: string
  12919. operatecode:
  12920. description: 所属操作
  12921. type: string
  12922. rownumber:
  12923. description: 行号
  12924. type: string
  12925. required:
  12926. - errorid
  12927. type: object
  12928. models.QueryHedgeOrderDetailRsp:
  12929. properties:
  12930. accountid:
  12931. description: 账户ID
  12932. type: integer
  12933. buyorsell:
  12934. description: 买卖 - 0:买 1:卖
  12935. type: integer
  12936. cancellogincode:
  12937. description: 撤单人
  12938. type: string
  12939. channelbuildtype:
  12940. description: 开平标志 - 0:无 1:建仓 2:平仓
  12941. type: integer
  12942. channelinnerorderstatus:
  12943. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交
  12944. type: integer
  12945. channeloperatetype:
  12946. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12947. type: integer
  12948. closetype:
  12949. description: 平仓方式 - 0:无 1:平今 2:平昨
  12950. type: integer
  12951. curexchangerate:
  12952. description: 当前汇率
  12953. type: number
  12954. exchangefullname:
  12955. description: 外部交易所全称
  12956. type: string
  12957. goodscode:
  12958. description: 商品代码(内部)
  12959. type: string
  12960. goodsid:
  12961. description: 商品ID
  12962. type: integer
  12963. goodsname:
  12964. description: 商品名称
  12965. type: string
  12966. marketid:
  12967. description: 市场ID
  12968. type: integer
  12969. openfreezemargin:
  12970. description: 冻结保证金(冻结交易金额)
  12971. type: number
  12972. orderid:
  12973. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12974. type: string
  12975. orderlogincode:
  12976. description: 委托人
  12977. type: string
  12978. orderprice:
  12979. description: 委托价格(账户)
  12980. type: number
  12981. orderqty:
  12982. description: 委托数量
  12983. type: integer
  12984. ordertime:
  12985. description: 委托时间
  12986. type: string
  12987. pricemode:
  12988. description: '取价方式 - 1:市价 2: 限价'
  12989. type: integer
  12990. tradedate:
  12991. description: 交易日(yyyyMMdd)
  12992. type: string
  12993. tradeqty:
  12994. description: 成交数量
  12995. type: integer
  12996. type: object
  12997. models.QueryHedgeTradeDetailRsp:
  12998. properties:
  12999. accountid:
  13000. description: 账号ID
  13001. type: integer
  13002. buyorsell:
  13003. description: 方向 - 0:买 1:卖
  13004. type: integer
  13005. channelbuildtype:
  13006. description: 委托单据类型 0:无 1:建仓 2:平仓
  13007. type: integer
  13008. closecharge:
  13009. description: 平仓手续费(账户)
  13010. type: number
  13011. closecharge2:
  13012. description: 平仓手续费(商品)
  13013. type: number
  13014. closepl:
  13015. description: 平仓盈亏(账户)
  13016. type: number
  13017. closepl2:
  13018. description: 平仓盈亏(商品)
  13019. type: number
  13020. closepl3:
  13021. description: 平仓盈亏(账户)(逐笔)
  13022. type: number
  13023. closepl4:
  13024. description: 平仓盈亏(商品)(逐笔)
  13025. type: number
  13026. closetype:
  13027. description: 平仓方式 - 0:无 1:平今 2:平昨
  13028. type: integer
  13029. curexchangerate:
  13030. description: 当前汇率
  13031. type: number
  13032. exchangefullname:
  13033. description: 外部交易所全称
  13034. type: string
  13035. goodscode:
  13036. description: 商品代码(内部)
  13037. type: string
  13038. goodsid:
  13039. description: 商品ID
  13040. type: integer
  13041. goodsname:
  13042. description: 商品名称
  13043. type: string
  13044. marketid:
  13045. description: 市场ID
  13046. type: integer
  13047. opencharge:
  13048. description: 建仓手续费(账户)
  13049. type: number
  13050. opencharge2:
  13051. description: 建仓手续费(商品)
  13052. type: number
  13053. orderid:
  13054. description: 委托单号
  13055. type: string
  13056. orderlogincode:
  13057. description: 委托人
  13058. type: string
  13059. tradeamount:
  13060. description: 成交金额(账户)
  13061. type: number
  13062. tradedate:
  13063. description: 交易日(yyyyMMdd)
  13064. type: string
  13065. tradeid:
  13066. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13067. type: string
  13068. tradeprice:
  13069. description: 成交价格
  13070. type: number
  13071. tradeqty:
  13072. description: 成交数量
  13073. type: integer
  13074. tradetime:
  13075. description: 成交时间
  13076. type: string
  13077. tradetype:
  13078. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13079. type: integer
  13080. type: object
  13081. models.QuotePrimaryMenu:
  13082. properties:
  13083. Index:
  13084. description: 序号
  13085. type: integer
  13086. Key:
  13087. description: 键名
  13088. type: string
  13089. Name:
  13090. description: 菜单名称
  13091. type: string
  13092. SubMenus:
  13093. description: 子菜单
  13094. items:
  13095. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13096. type: array
  13097. SubTitleType:
  13098. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13099. type: integer
  13100. TradeModes:
  13101. description: 包含市场交易类型
  13102. type: string
  13103. type: object
  13104. models.QuoteSecondaryMenu:
  13105. properties:
  13106. ExExchangeCode:
  13107. description: 外部交易所代码
  13108. type: string
  13109. ExExchangeID:
  13110. description: 外部交易所ID
  13111. type: integer
  13112. GoodsGroupIDs:
  13113. description: 商品组ID列表
  13114. items:
  13115. type: integer
  13116. type: array
  13117. Index:
  13118. description: 序号
  13119. type: integer
  13120. MarketID:
  13121. description: 市场ID
  13122. type: integer
  13123. MenuTitle:
  13124. description: 菜单标题(市场名称或外部交易所名称)
  13125. type: string
  13126. TradeMode:
  13127. description: 交易模式
  13128. type: integer
  13129. type: object
  13130. models.RoleMenu:
  13131. properties:
  13132. hasright:
  13133. description: 是否有权限 0-没有权限 1-有权限
  13134. type: integer
  13135. iconame:
  13136. description: 菜单图标
  13137. type: string
  13138. menutype:
  13139. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13140. type: integer
  13141. parentcode:
  13142. description: 上级资源代码
  13143. type: string
  13144. remark:
  13145. description: 菜单备注
  13146. type: string
  13147. resourcecode:
  13148. description: 菜单代码
  13149. type: string
  13150. resourcelevel:
  13151. description: 级别
  13152. type: integer
  13153. resourcename:
  13154. description: 菜单名称
  13155. type: string
  13156. roleid:
  13157. description: 角色id
  13158. type: integer
  13159. sort:
  13160. description: 排序
  13161. type: integer
  13162. subMenu:
  13163. description: 子级菜单(结构同上层一样, swag解析不出来)
  13164. items:
  13165. $ref: '#/definitions/models.RoleMenu'
  13166. type: array
  13167. url:
  13168. description: URL
  13169. type: string
  13170. userid:
  13171. description: 用户id
  13172. type: integer
  13173. type: object
  13174. models.SearchGoods:
  13175. properties:
  13176. goodscode:
  13177. description: 商品代码(内部)
  13178. type: string
  13179. goodsid:
  13180. description: 商品ID(自增ID SEQ_GOODS)
  13181. type: integer
  13182. goodsname:
  13183. description: 商品名称
  13184. type: string
  13185. marketid:
  13186. description: 所属市场ID
  13187. type: integer
  13188. marketname:
  13189. description: 市场名称
  13190. type: string
  13191. trademode:
  13192. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  13193. type: integer
  13194. required:
  13195. - goodscode
  13196. - goodsid
  13197. - goodsname
  13198. - marketid
  13199. - trademode
  13200. type: object
  13201. models.Systemparam:
  13202. properties:
  13203. loginid:
  13204. description: 更新用户账号,登录账号
  13205. type: string
  13206. modifyflag:
  13207. description: 修改标志0 不允许修改 1 允许修改
  13208. type: integer
  13209. paramcode:
  13210. description: 参数代码
  13211. type: string
  13212. paramname:
  13213. description: 参数名
  13214. type: string
  13215. paramtype:
  13216. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13217. type: integer
  13218. paramvalue:
  13219. description: 参数值
  13220. type: string
  13221. paramvalue2:
  13222. description: 参数值(CLOB)
  13223. type: string
  13224. regexpress:
  13225. description: 正则表达式
  13226. type: string
  13227. remark:
  13228. description: 备注
  13229. type: string
  13230. serverip:
  13231. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13232. type: string
  13233. showflag:
  13234. description: 是否显示0 不显示 1 显示
  13235. type: integer
  13236. updatetime:
  13237. description: 更新时间
  13238. type: string
  13239. userid:
  13240. description: 更新用户ID
  13241. type: integer
  13242. required:
  13243. - paramcode
  13244. type: object
  13245. models.Szdz3convertconfig:
  13246. properties:
  13247. canin:
  13248. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13249. type: integer
  13250. canout:
  13251. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13252. type: integer
  13253. converttype:
  13254. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  13255. type: integer
  13256. createtime:
  13257. description: 创建时间
  13258. type: string
  13259. creatorid:
  13260. description: 创建人
  13261. type: integer
  13262. daymaxvalue:
  13263. description: 当日最大转入限制
  13264. type: number
  13265. freezedays:
  13266. description: 冻结天数 [5:花生米转交易]
  13267. type: integer
  13268. innergoodsid:
  13269. description: 内部商品ID[交易]
  13270. type: integer
  13271. inratio:
  13272. description: 目标值
  13273. type: integer
  13274. modifierid:
  13275. description: 修改人
  13276. type: integer
  13277. modifytime:
  13278. description: 修改时间
  13279. type: string
  13280. outergoodscode:
  13281. description: 外部商品代码[JD\PD]
  13282. type: string
  13283. outratio:
  13284. description: 源值
  13285. type: integer
  13286. pddecimalplace:
  13287. description: PD小数位
  13288. type: integer
  13289. timemaxvalue:
  13290. description: 单次最大转入限制
  13291. type: number
  13292. timeminvalue:
  13293. description: 单次最小转入限制
  13294. type: number
  13295. required:
  13296. - converttype
  13297. - innergoodsid
  13298. - outergoodscode
  13299. type: object
  13300. models.Szdz3searchwhitelist:
  13301. properties:
  13302. createtime:
  13303. description: 创建时间
  13304. type: string
  13305. creatorid:
  13306. description: 创建人
  13307. type: integer
  13308. modifierid:
  13309. description: 修改人
  13310. type: integer
  13311. modifytime:
  13312. description: 修改时间
  13313. type: string
  13314. userid:
  13315. description: 用户ID
  13316. type: integer
  13317. required:
  13318. - userid
  13319. type: object
  13320. models.TBGoods:
  13321. properties:
  13322. agreeunit:
  13323. description: 合约乘数
  13324. type: number
  13325. enumdicname:
  13326. description: 单位名称
  13327. type: string
  13328. goodscode:
  13329. description: 商品代码(内部)
  13330. type: string
  13331. goodsid:
  13332. description: 商品ID(自增ID SEQ_GOODS)
  13333. type: integer
  13334. goodsname:
  13335. description: 商品名称
  13336. type: string
  13337. type: object
  13338. models.TBGoodsGroup:
  13339. properties:
  13340. GDLST:
  13341. description: 商品列表
  13342. items:
  13343. $ref: '#/definitions/models.TBGoods'
  13344. type: array
  13345. convertratio:
  13346. description: 折算系数
  13347. type: number
  13348. enumdicname:
  13349. description: 单位名称
  13350. type: string
  13351. exexchangecode:
  13352. description: 交易所代码
  13353. type: string
  13354. exexchangename:
  13355. description: 交易所名称
  13356. type: string
  13357. goodsgroupid:
  13358. description: 商品组ID(自增ID)
  13359. type: integer
  13360. goodsgroupname:
  13361. description: 商品组名称
  13362. type: string
  13363. goodunitid:
  13364. description: 报价单位ID
  13365. type: integer
  13366. type: object
  13367. models.TBMiddleGoods:
  13368. properties:
  13369. GPLST:
  13370. description: 期货品种列表
  13371. items:
  13372. $ref: '#/definitions/models.TBGoodsGroup'
  13373. type: array
  13374. WDLST:
  13375. description: 商品信息列表(现货品类)
  13376. items:
  13377. $ref: '#/definitions/models.TBWrstandard'
  13378. type: array
  13379. areauserid:
  13380. description: 机构用户ID
  13381. type: integer
  13382. enumdicname:
  13383. description: 单位名称
  13384. type: string
  13385. goodsunitid:
  13386. description: 套保品种单位id
  13387. type: integer
  13388. middlegoodscode:
  13389. description: 套保品种代码
  13390. type: string
  13391. middlegoodsid:
  13392. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13393. type: integer
  13394. middlegoodsname:
  13395. description: 套保品种名称
  13396. type: string
  13397. needarbitrageratio:
  13398. description: 套利比率
  13399. type: number
  13400. needhedgeratio:
  13401. description: 套保比率
  13402. type: number
  13403. type: object
  13404. models.TBWrstandard:
  13405. properties:
  13406. convertratio:
  13407. description: 折算系数
  13408. type: number
  13409. deliverygoodsname:
  13410. description: 品种名称
  13411. type: string
  13412. enumdicname:
  13413. description: 单位名称
  13414. type: string
  13415. vatrate:
  13416. description: 增值税率
  13417. type: number
  13418. wrstandardcode:
  13419. description: 现货商品代码
  13420. type: string
  13421. wrstandardid:
  13422. description: 现货商品ID(SEQ_WRSTANDARD)
  13423. type: integer
  13424. wrstandardname:
  13425. description: 现货商品名称
  13426. type: string
  13427. type: object
  13428. models.Taaccount:
  13429. properties:
  13430. accountflag:
  13431. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13432. type: integer
  13433. accountid:
  13434. description: 资金账户ID
  13435. type: integer
  13436. accountname:
  13437. description: 账户名称
  13438. type: string
  13439. balance:
  13440. description: 期初余额
  13441. type: number
  13442. capitalbalance:
  13443. description: 本金余额[外部子账户实际出入金余额]
  13444. type: number
  13445. changeflag:
  13446. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13447. type: integer
  13448. changetime:
  13449. description: 账户状态变更时间
  13450. type: string
  13451. closepl:
  13452. description: 今日平仓盈亏
  13453. type: number
  13454. creditdecrease:
  13455. description: 今日授信减少
  13456. type: number
  13457. creditincrease:
  13458. description: 今日授信增加
  13459. type: number
  13460. curamount:
  13461. description: 总市值(从持仓中统计)
  13462. type: number
  13463. currencyid:
  13464. description: 货币ID
  13465. type: integer
  13466. currentbalance:
  13467. description: 期末余额
  13468. type: number
  13469. freezecharge:
  13470. description: 手续费冻结
  13471. type: number
  13472. freezemargin:
  13473. description: 冻结保证金
  13474. type: number
  13475. fromaccountid:
  13476. description: 所属上级账户
  13477. type: integer
  13478. inamount:
  13479. description: 今日入金金额(包括三方入金)
  13480. type: number
  13481. ismain:
  13482. description: 是否母账号 0:不是母账户 1:是母账户
  13483. type: integer
  13484. ismarketaccount:
  13485. description: 是否机构接单账号 0:不是 1:是
  13486. type: integer
  13487. isreckonaccount:
  13488. description: 是否机构分润账号 0:不是 1:是
  13489. type: integer
  13490. mortgagecredit:
  13491. description: 授信金额
  13492. type: number
  13493. orifreezecharge:
  13494. description: 期初手续费冻结
  13495. type: number
  13496. orifreezemargin:
  13497. description: 期初冻结保证金
  13498. type: number
  13499. orimortgagecredit:
  13500. description: 期初授信金额
  13501. type: number
  13502. oriothercredit:
  13503. description: 期初其它授信金额
  13504. type: number
  13505. oriotherfreezemargin:
  13506. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13507. type: number
  13508. orioutamountfreeze:
  13509. description: 期初出金冻结
  13510. type: number
  13511. oriusedmargin:
  13512. description: 期初占用保证金
  13513. type: number
  13514. othercredit:
  13515. description: 其它授信金额
  13516. type: number
  13517. othercreditdecrease:
  13518. description: 今日其它授信减少
  13519. type: number
  13520. othercreditincrease:
  13521. description: 今日其它授信增加
  13522. type: number
  13523. otherfreezemargin:
  13524. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13525. type: number
  13526. otherincome:
  13527. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13528. type: number
  13529. otherpay:
  13530. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13531. type: number
  13532. outamount:
  13533. description: 今日出金金额(包括三方出金)
  13534. type: number
  13535. outamountfreeze:
  13536. description: 出金冻结
  13537. type: number
  13538. outthreshold:
  13539. description: 出金阈值
  13540. type: number
  13541. parentaccountid:
  13542. description: 所属根账号
  13543. type: integer
  13544. paycharge:
  13545. description: 今日手续费支出
  13546. type: number
  13547. relatedaccountstatus:
  13548. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13549. type: integer
  13550. relateduserid:
  13551. description: 关联用户
  13552. type: integer
  13553. remainamount:
  13554. description: 融资额(从融资合同中统计)
  13555. type: number
  13556. serivcegroup:
  13557. description: 服务分组
  13558. type: integer
  13559. signstatus:
  13560. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13561. type: integer
  13562. sublevelpath:
  13563. description: 账号层级路径(逗号分隔,首尾加逗号)
  13564. type: string
  13565. taaccounttype:
  13566. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13567. type: integer
  13568. thirdinamount:
  13569. description: 今日三方入金
  13570. type: number
  13571. thirdoutamount:
  13572. description: 今日三方出金
  13573. type: number
  13574. tradestatus:
  13575. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13576. type: integer
  13577. tradestatuschangetime:
  13578. description: 激活时间
  13579. type: string
  13580. transferamount:
  13581. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13582. type: number
  13583. usedmargin:
  13584. description: 占用保证金
  13585. type: number
  13586. userid:
  13587. description: 用户ID
  13588. type: integer
  13589. required:
  13590. - accountid
  13591. - userid
  13592. type: object
  13593. models.Tablecolumnconfig:
  13594. properties:
  13595. aligntype:
  13596. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13597. type: integer
  13598. autoid:
  13599. description: AutoID
  13600. type: integer
  13601. columnfield:
  13602. description: 列字段
  13603. type: string
  13604. columntitle:
  13605. description: 列Title
  13606. type: string
  13607. columnwidth:
  13608. description: 列宽
  13609. type: string
  13610. formatterstring:
  13611. description: 格式化字符
  13612. type: string
  13613. formattertype:
  13614. description: 格式化类型
  13615. type: string
  13616. groupname:
  13617. description: 表头分组名称
  13618. type: string
  13619. isshow:
  13620. description: 是否显示 - 0:不显示 1:显示
  13621. type: integer
  13622. needsummary:
  13623. description: 是否需要汇总 - 0:不需要 1:需要
  13624. type: integer
  13625. orderindex:
  13626. description: 顺序
  13627. type: integer
  13628. remark:
  13629. description: 备注
  13630. type: string
  13631. summarytype:
  13632. description: 汇总类型 - 1:加总 2:最后一个
  13633. type: integer
  13634. tablekey:
  13635. description: 列表Key
  13636. type: string
  13637. required:
  13638. - autoid
  13639. type: object
  13640. models.TjmdMarketSection:
  13641. properties:
  13642. marketsectionid:
  13643. description: 市场版块ID(SEQ_MARKETSECTION)
  13644. type: integer
  13645. marketsectionname:
  13646. description: 市场版块名称
  13647. type: string
  13648. mlist:
  13649. description: 市场列表(板块下面有多少个市场)
  13650. items:
  13651. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  13652. type: array
  13653. orderindex:
  13654. description: 排序
  13655. type: integer
  13656. remark:
  13657. description: 备注
  13658. type: string
  13659. type: object
  13660. models.TjmdMarketSectionConfig:
  13661. properties:
  13662. auctionwrtype:
  13663. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  13664. type: integer
  13665. canacceptquote:
  13666. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  13667. type: integer
  13668. cangoodsexercise:
  13669. description: '[期权]是否可现货行权- 0:否 1:是'
  13670. type: integer
  13671. cangoodsexercisetype:
  13672. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  13673. type: integer
  13674. canmanualquotestrike:
  13675. description: 是否可手动报行权价- 0:否 1:是 [期权]
  13676. type: integer
  13677. canmutistage:
  13678. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  13679. type: integer
  13680. canpreexercise:
  13681. description: '[期权]是否可预申报- 0:否 1:是'
  13682. type: integer
  13683. clearinterval:
  13684. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  13685. type: integer
  13686. contracttmp:
  13687. description: 合同模板[荷兰式][竞价式][仓单贸易]
  13688. type: string
  13689. exchareaid:
  13690. description: 所属交易所,可以没有
  13691. type: integer
  13692. financemarketid:
  13693. description: 融资回购市场ID [仓单贸易]
  13694. type: integer
  13695. goodstype:
  13696. description: 商品类型 - 1:交易商品 2:仓单商品
  13697. type: integer
  13698. hasrebate:
  13699. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  13700. type: integer
  13701. hastradecredit:
  13702. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  13703. type: integer
  13704. haswr:
  13705. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  13706. type: integer
  13707. isdeductmargin:
  13708. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  13709. type: integer
  13710. isrecordsource:
  13711. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  13712. type: integer
  13713. isreleasemargin:
  13714. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  13715. type: integer
  13716. isupdatereckonprice:
  13717. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  13718. type: integer
  13719. listingmode:
  13720. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  13721. type: integer
  13722. marginformula:
  13723. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13724. type: integer
  13725. marginformula2:
  13726. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13727. type: integer
  13728. marketid:
  13729. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  13730. type: integer
  13731. marketname:
  13732. description: 市场名称
  13733. type: string
  13734. marketsectionid:
  13735. description: 市场版块ID(SEQ_MARKETSECTION)
  13736. type: integer
  13737. marketserviceid:
  13738. description: 市场服务ID
  13739. type: integer
  13740. marketstatus:
  13741. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  13742. type: integer
  13743. markettype:
  13744. description: 市场类型- 1:非交易服务 2:交易服务
  13745. type: integer
  13746. matchermode:
  13747. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  13748. type: integer
  13749. nowrquotaflag:
  13750. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  13751. type: integer
  13752. openmethod:
  13753. description: 开盘模式 - 0 自动 1手动
  13754. type: integer
  13755. orderindex:
  13756. description: 排序
  13757. type: integer
  13758. otcuserid:
  13759. description: 场外期权做市商[场外期权]
  13760. type: integer
  13761. outersynctime:
  13762. description: 外部同步时间点(h24:mi:ss)[场外期权]
  13763. type: string
  13764. paylaterflag:
  13765. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  13766. type: integer
  13767. pendingflag:
  13768. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  13769. type: integer
  13770. pendingtime:
  13771. description: 待开市时间[通道交易-对冲](HH:mm)
  13772. type: string
  13773. performancetempid:
  13774. description: 履约计划模板ID - 作废
  13775. type: integer
  13776. premiumquotemode:
  13777. description: 权利金报价方式 - 1:自动 2:手动
  13778. type: integer
  13779. rebateratio:
  13780. description: 返利比率[竞价式]
  13781. type: number
  13782. reckonorder:
  13783. description: 结算顺序
  13784. type: integer
  13785. reckonpricealgorithm:
  13786. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价'
  13787. type: integer
  13788. reckonpriceparam:
  13789. description: 结算价参数
  13790. type: integer
  13791. reckontime:
  13792. description: 结算时间[通道交易-对冲](HH:mm)
  13793. type: string
  13794. roleprioritytype:
  13795. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  13796. type: integer
  13797. selllistingauditflag:
  13798. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  13799. type: integer
  13800. trademarkettype:
  13801. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  13802. type: integer
  13803. trademode:
  13804. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  13805. type: integer
  13806. tradeproperty:
  13807. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权
  13808. type: integer
  13809. tradetype:
  13810. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  13811. type: integer
  13812. updatereckonpriceinterval:
  13813. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  13814. type: integer
  13815. type: object
  13816. models.TjmdQuoteGoods:
  13817. properties:
  13818. buyqty:
  13819. description: 买量(暂不做, 无值, 保留字段)
  13820. type: number
  13821. goodscode:
  13822. description: 合约代码
  13823. type: string
  13824. goodsgroupid:
  13825. description: 商品组ID(自增ID)
  13826. type: integer
  13827. goodsgroupname:
  13828. description: 商品组名称
  13829. type: string
  13830. goodsid:
  13831. description: 合约id
  13832. type: integer
  13833. goodsname:
  13834. description: 合约名称
  13835. type: string
  13836. refgoodscode:
  13837. description: 标的合约代码
  13838. type: string
  13839. refgoodsid:
  13840. description: 标的合约id
  13841. type: integer
  13842. refgoodsname:
  13843. description: 标的合约名称
  13844. type: string
  13845. sellqty:
  13846. description: 卖量(暂不做, 无值, 保留字段)
  13847. type: number
  13848. type: object
  13849. models.TjmdTodayAccountMargin:
  13850. properties:
  13851. accountid:
  13852. description: 账号ID
  13853. type: integer
  13854. goodsid:
  13855. description: 商品ID
  13856. type: integer
  13857. infoc:
  13858. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13859. description: 配置参数
  13860. marketid:
  13861. description: 市场ID
  13862. type: integer
  13863. type: object
  13864. models.TjmdTradeOrderDetail:
  13865. properties:
  13866. buyorsell:
  13867. description: 买卖方向 0-买 1-卖
  13868. type: integer
  13869. goodsid:
  13870. description: 商品id
  13871. type: integer
  13872. marketmaxsub:
  13873. description: 市价最大偏移范围 [浮动价 - 点差]
  13874. type: number
  13875. orderid:
  13876. description: 委托单号
  13877. type: string
  13878. orderprice:
  13879. description: 委托价格
  13880. type: number
  13881. orderqty:
  13882. description: 委托数量
  13883. type: integer
  13884. pricemode:
  13885. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13886. type: integer
  13887. userid:
  13888. description: 用户id
  13889. type: integer
  13890. username:
  13891. description: 用户名称(已脱敏)
  13892. type: string
  13893. type: object
  13894. models.TjmdTransferApply:
  13895. properties:
  13896. applyid:
  13897. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13898. type: integer
  13899. applystatus:
  13900. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  13901. type: integer
  13902. applytime:
  13903. description: 申请时间(时间)
  13904. type: string
  13905. auditremark:
  13906. description: 审核备注(拒绝原因?)
  13907. type: string
  13908. begindate:
  13909. description: 开始交易日(yyyymmdd)
  13910. type: string
  13911. buyorsell:
  13912. description: 买卖 - 0:买 1:卖
  13913. type: integer
  13914. enddate:
  13915. description: 结束交易日(yyyymmdd)
  13916. type: string
  13917. goodscode:
  13918. description: 商品代码
  13919. type: string
  13920. goodsid:
  13921. description: 商品ID
  13922. type: integer
  13923. goodsname:
  13924. description: 商品名称
  13925. type: string
  13926. marketid:
  13927. description: 市场ID
  13928. type: integer
  13929. qty:
  13930. description: 转让数量(数量)
  13931. type: number
  13932. tradeid:
  13933. description: 成交单号(关联持仓)
  13934. type: string
  13935. transferamount:
  13936. description: 转让总金额(金额)
  13937. type: number
  13938. transferprice:
  13939. description: 转让价格(协议价格)
  13940. type: number
  13941. type: object
  13942. models.TradeHolderDetail:
  13943. properties:
  13944. accountid:
  13945. description: 账号ID
  13946. type: integer
  13947. agreeunit:
  13948. description: 合约乘数
  13949. type: number
  13950. buyorsell:
  13951. description: 方向 - 0:买 1:卖
  13952. type: integer
  13953. currencyid:
  13954. description: 商品币种id
  13955. type: integer
  13956. currencyname:
  13957. description: 币种名称
  13958. type: string
  13959. decimalplace:
  13960. description: 商品价格小数位
  13961. type: integer
  13962. enumdicname:
  13963. description: 商品单位名称
  13964. type: string
  13965. expirecycle:
  13966. description: 行权周期(天) - 1:滚动行权时填写
  13967. type: integer
  13968. expiredate:
  13969. description: 行权日(yyyyMMdd) - 到期日
  13970. type: string
  13971. expiretype:
  13972. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13973. type: integer
  13974. freezeqty:
  13975. description: 冻结数量
  13976. type: number
  13977. goodscode:
  13978. description: 商品代码
  13979. type: string
  13980. goodsid:
  13981. description: 商品ID
  13982. type: integer
  13983. goodsname:
  13984. description: 商品名称
  13985. type: string
  13986. goodunitid:
  13987. description: 商品单位id
  13988. type: integer
  13989. holderamount:
  13990. description: 持仓金额
  13991. type: number
  13992. holdercredit:
  13993. description: 持仓授信金额
  13994. type: number
  13995. holderdays:
  13996. description: 剩余冻结天数
  13997. type: integer
  13998. holderprice:
  13999. description: 持仓价格
  14000. type: number
  14001. holderqty:
  14002. description: 持仓数量
  14003. type: number
  14004. isconfirmexercise:
  14005. description: 是否确认行权- 0:否 1:是
  14006. type: integer
  14007. ispreexercise:
  14008. description: 是否预申报- 0:否 1:是 2:不可行权
  14009. type: integer
  14010. marketid:
  14011. description: 市场id
  14012. type: integer
  14013. marketname:
  14014. description: 市场名称
  14015. type: string
  14016. openprice:
  14017. description: 建仓价格
  14018. type: number
  14019. openqty:
  14020. description: 建仓数量
  14021. type: number
  14022. optiontype:
  14023. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14024. type: integer
  14025. preexerciseprice:
  14026. description: 预申报价格
  14027. type: number
  14028. premium:
  14029. description: 权利金
  14030. type: number
  14031. qtydecimalplace:
  14032. description: 商品成交量小数位
  14033. type: integer
  14034. refgoodscode:
  14035. description: 标的合约代码
  14036. type: string
  14037. refgoodsid:
  14038. description: 标的合约id
  14039. type: integer
  14040. releaseamount:
  14041. description: 释放持仓金额
  14042. type: number
  14043. releaseholdercredit:
  14044. description: 释放持仓授信金额
  14045. type: number
  14046. taname:
  14047. description: 资金账号名称
  14048. type: string
  14049. tradeamount:
  14050. description: 成交金额
  14051. type: number
  14052. tradedate:
  14053. description: 交易日(yyyyMMdd)
  14054. type: string
  14055. tradeid:
  14056. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14057. type: string
  14058. trademode:
  14059. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期
  14060. type: integer
  14061. tradeproperty:
  14062. description: 交易属性
  14063. type: integer
  14064. tradetime:
  14065. description: 交易时间
  14066. type: string
  14067. userid:
  14068. description: 用户id
  14069. type: integer
  14070. username:
  14071. description: 用户名称
  14072. type: string
  14073. type: object
  14074. models.UserCollectConfig:
  14075. properties:
  14076. accountstatus:
  14077. description: 账户状态 - 1:正常 2:停用 3:注销
  14078. type: integer
  14079. collectaccountname:
  14080. description: 收款人账户名称
  14081. type: string
  14082. collectaccountno:
  14083. description: 收款人账户
  14084. type: string
  14085. collectbankname:
  14086. description: 收款人开户行
  14087. type: string
  14088. collectbranchbankname:
  14089. description: 收款人开户支行
  14090. type: string
  14091. collectconfigid:
  14092. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  14093. type: string
  14094. remark:
  14095. description: 备注
  14096. type: string
  14097. userid:
  14098. description: 收款人用户ID
  14099. type: integer
  14100. type: object
  14101. models.UserReceiveInfo:
  14102. properties:
  14103. address:
  14104. description: 提货人详细地址
  14105. type: string
  14106. autoid:
  14107. description: AutoID
  14108. type: integer
  14109. cardnum:
  14110. description: 证件号码(加密存储)
  14111. type: string
  14112. cardtypeid:
  14113. description: 证件类型
  14114. type: integer
  14115. cityid:
  14116. description: 市
  14117. type: integer
  14118. cityname:
  14119. description: 城市名称
  14120. type: string
  14121. countryid:
  14122. description: 国家
  14123. type: integer
  14124. countryname:
  14125. description: 国家名称
  14126. type: string
  14127. districtid:
  14128. description: 地区
  14129. type: integer
  14130. districtname:
  14131. description: 地区名称
  14132. type: string
  14133. hasencrypt:
  14134. description: 数据是否已加密 - 0:未加密 1:已加密
  14135. type: integer
  14136. isdefault:
  14137. description: 是否默认地址 - 0:否 1:是
  14138. type: integer
  14139. phonenum:
  14140. description: 提货人联系方式(加密存储)
  14141. type: string
  14142. provinceid:
  14143. description: 省
  14144. type: integer
  14145. provincename:
  14146. description: 省名称
  14147. type: string
  14148. receivername:
  14149. description: 提货人姓名
  14150. type: string
  14151. takeremark:
  14152. description: 提货备注
  14153. type: string
  14154. userid:
  14155. description: 用户ID
  14156. type: integer
  14157. type: object
  14158. models.Useraccount:
  14159. properties:
  14160. accountname:
  14161. description: 账户名称(机构名称)
  14162. type: string
  14163. accountstatus:
  14164. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14165. type: integer
  14166. applysrc:
  14167. description: 申请来源 - 1:管理端 2:终端
  14168. type: integer
  14169. auditremark:
  14170. description: 审核备注
  14171. type: string
  14172. auditsrc:
  14173. description: 审核来源 - 1:管理端 2:终端
  14174. type: integer
  14175. audittime:
  14176. description: 审核时间
  14177. type: string
  14178. audituserid:
  14179. description: 审核人
  14180. type: integer
  14181. broker:
  14182. description: 所属经纪人ID
  14183. type: integer
  14184. canceltime:
  14185. description: 销户时间
  14186. type: string
  14187. canceluserid:
  14188. description: 销户人
  14189. type: integer
  14190. canrecommend:
  14191. description: 是否可推荐 - 0:不可 1;可
  14192. type: integer
  14193. createtime:
  14194. description: 创建时间
  14195. type: string
  14196. creatorid:
  14197. description: 创建人
  14198. type: integer
  14199. hasauth:
  14200. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  14201. type: integer
  14202. isanonymous:
  14203. description: 是否匿名下单 - 0:否 1:是
  14204. type: integer
  14205. maxinvestornum:
  14206. description: 最大用户数(经纪会员下投资者个数)
  14207. type: integer
  14208. memberuserid:
  14209. description: 所属会员ID
  14210. type: integer
  14211. modifierid:
  14212. description: 修改人
  14213. type: integer
  14214. modifyremark:
  14215. description: 变更备注
  14216. type: string
  14217. modifystatus:
  14218. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14219. type: integer
  14220. modifytime:
  14221. description: 修改时间
  14222. type: string
  14223. parenttopuser:
  14224. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14225. type: string
  14226. parentuserid:
  14227. description: 所属机构ID
  14228. type: integer
  14229. reckonaccountid:
  14230. description: 默认结算资金账号ID(机构分润使用) 作废
  14231. type: integer
  14232. refercount:
  14233. description: 推荐总人数
  14234. type: integer
  14235. refereeuserid:
  14236. description: 推荐人ID
  14237. type: integer
  14238. refernum:
  14239. description: 推荐码
  14240. type: string
  14241. rootuserid:
  14242. description: 根用户ID
  14243. type: integer
  14244. subaccountlevel:
  14245. description: 子账户层数
  14246. type: integer
  14247. subarealevelpath:
  14248. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14249. type: string
  14250. userid:
  14251. description: 用户ID
  14252. type: integer
  14253. usertype:
  14254. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14255. type: integer
  14256. required:
  14257. - userid
  14258. type: object
  14259. models.Userfavoritegoods:
  14260. properties:
  14261. goodsid:
  14262. description: 商品ID
  14263. type: integer
  14264. required:
  14265. - goodsid
  14266. type: object
  14267. models.Userinfo:
  14268. properties:
  14269. address:
  14270. description: 地址
  14271. type: string
  14272. attachment1:
  14273. description: 附件1
  14274. type: string
  14275. attachment2:
  14276. description: 附件2
  14277. type: string
  14278. bankaccount:
  14279. description: 银行帐号 (加密存储)
  14280. type: string
  14281. bankaccountname:
  14282. description: 收款人名称
  14283. type: string
  14284. bankcardfrontphotourl:
  14285. description: 银行卡正面照地址
  14286. type: string
  14287. bankid:
  14288. description: 银行编码
  14289. type: string
  14290. bankname:
  14291. description: 银行名称
  14292. type: string
  14293. biznature:
  14294. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14295. type: integer
  14296. bizscope:
  14297. description: 企业经营范围(企业)
  14298. type: string
  14299. cardbackphotourl:
  14300. description: 证件背面图片地址
  14301. type: string
  14302. cardfrontphotourl:
  14303. description: 证件正面图片地址
  14304. type: string
  14305. cardnum:
  14306. description: 证件号码(加密存储)
  14307. type: string
  14308. cardtypeid:
  14309. description: 证件类型ID
  14310. type: integer
  14311. cityid:
  14312. description: 市
  14313. type: integer
  14314. company:
  14315. description: 公司(个人)
  14316. type: string
  14317. contactname:
  14318. description: 联系人
  14319. type: string
  14320. countryid:
  14321. description: 国家
  14322. type: integer
  14323. createtime:
  14324. description: 创建时间
  14325. type: string
  14326. creatorid:
  14327. description: 创建人
  14328. type: integer
  14329. customername:
  14330. description: 客户名称(企业名称)
  14331. type: string
  14332. districtid:
  14333. description: 地区
  14334. type: integer
  14335. email:
  14336. description: 邮件(加密存储)
  14337. type: string
  14338. fax:
  14339. description: 传真(加密存储)
  14340. type: string
  14341. halfbodyphotourl:
  14342. description: 半身照地址
  14343. type: string
  14344. hasencrypt:
  14345. description: 数据是否已加密 - 0:未加密 1:已加密
  14346. type: integer
  14347. headurl:
  14348. description: 头像地址
  14349. type: string
  14350. legalcardbackphotourl:
  14351. description: 法人身份证背面照地址
  14352. type: string
  14353. legalcardfrontphotourl:
  14354. description: 法人身份证正面照地址
  14355. type: string
  14356. legalpersonname:
  14357. description: 法人姓名(企业)
  14358. type: string
  14359. mobile:
  14360. description: 手机号码(加密存储)
  14361. type: string
  14362. mobile2:
  14363. description: 手机号码[明文-尚志]
  14364. type: string
  14365. modifierid:
  14366. description: 修改人
  14367. type: integer
  14368. modifiertime:
  14369. description: 修改时间
  14370. type: string
  14371. needinvoice:
  14372. description: 是否需要发票 - 0:不需要 1:需要
  14373. type: integer
  14374. nickname:
  14375. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14376. type: string
  14377. openmode:
  14378. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14379. type: integer
  14380. otherurl:
  14381. description: 其它图片地址[使用分号分隔]
  14382. type: string
  14383. postalcode:
  14384. description: 邮政编码
  14385. type: string
  14386. provinceid:
  14387. description: 省
  14388. type: integer
  14389. qq:
  14390. description: QQ(加密存储
  14391. type: string
  14392. remark:
  14393. description: 备注
  14394. type: string
  14395. sex:
  14396. description: '用户性别 0: 女 1: 男'
  14397. type: integer
  14398. signpdfurl:
  14399. description: 签约pdf文件
  14400. type: string
  14401. telphone:
  14402. description: 联系电话(加密存储)
  14403. type: string
  14404. userid:
  14405. description: 用户ID
  14406. type: integer
  14407. userinfotype:
  14408. description: 用户信息类型 - 1:个人 2:企业
  14409. type: integer
  14410. userstatus:
  14411. description: 用户状态 - 1:正常 2:注销
  14412. type: integer
  14413. usertype:
  14414. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14415. type: integer
  14416. wechat:
  14417. description: 微信(加密存储)
  14418. type: string
  14419. wskhinfo:
  14420. description: 开户申请信息(JSON)
  14421. type: string
  14422. required:
  14423. - userid
  14424. type: object
  14425. models.WRSConverTDetail:
  14426. properties:
  14427. convertratio:
  14428. description: 套保系数
  14429. type: number
  14430. deliverygoodscode:
  14431. description: 现货商品代码
  14432. type: string
  14433. deliverygoodsid:
  14434. description: 现货品种ID
  14435. type: integer
  14436. deliverygoodsname:
  14437. description: 现货商品名称
  14438. type: string
  14439. enumdicname:
  14440. description: 单位名称
  14441. type: string
  14442. goodsunitid:
  14443. description: 套保品种单位id
  14444. type: integer
  14445. middlegoodscode:
  14446. description: 套保品种代码
  14447. type: string
  14448. middlegoodsid:
  14449. description: 套保品种ID
  14450. type: integer
  14451. middlegoodsname:
  14452. description: 套保品种名称
  14453. type: string
  14454. modifytime:
  14455. description: 修改时间
  14456. type: string
  14457. wrstandardid:
  14458. description: 品类ID
  14459. type: integer
  14460. type: object
  14461. models.WRStandardInfo:
  14462. properties:
  14463. areauserid:
  14464. description: 所属机构
  14465. type: integer
  14466. convertfactor:
  14467. description: 标仓系数
  14468. type: number
  14469. createtime:
  14470. description: 创建时间
  14471. type: string
  14472. creatorid:
  14473. description: 创建人
  14474. type: integer
  14475. deliverygoodsid:
  14476. description: 品种ID
  14477. type: integer
  14478. deliverygoodsname:
  14479. description: 交割商品名称
  14480. type: string
  14481. factoryitemjson:
  14482. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID, 逗号分隔'
  14483. type: string
  14484. isvalid:
  14485. description: 是否有效 - 0:无效 1:有效
  14486. type: integer
  14487. minivalue:
  14488. description: 最小变动值
  14489. type: integer
  14490. minivaluedp:
  14491. description: 最小变动值小数位
  14492. type: integer
  14493. realminivalue:
  14494. description: 实际最小变动值
  14495. type: integer
  14496. realminivaluedp:
  14497. description: 实际最小变动值小数位
  14498. type: integer
  14499. remark:
  14500. description: 备注
  14501. type: string
  14502. unitid:
  14503. description: 单位ID
  14504. type: integer
  14505. unitname:
  14506. description: 单位
  14507. type: string
  14508. updatetime:
  14509. description: 更新时间
  14510. type: string
  14511. updatorid:
  14512. description: 更新人
  14513. type: integer
  14514. wrsstatus:
  14515. description: 状态 - 作废 - 0:未激活 1:正常
  14516. type: integer
  14517. wrstandardcode:
  14518. description: 现货品类代码
  14519. type: string
  14520. wrstandardid:
  14521. description: 现货品类ID(SEQ_WRSTANDARD)
  14522. type: integer
  14523. wrstandardname:
  14524. description: 现货品类名称
  14525. type: string
  14526. required:
  14527. - wrstandardid
  14528. type: object
  14529. models.WRTradeBargainApply:
  14530. properties:
  14531. accountid:
  14532. description: 摘牌资金账号
  14533. type: integer
  14534. applyprice:
  14535. description: 申请价格(议价价格)
  14536. type: string
  14537. applyqty:
  14538. description: 摘牌数量(议价数量)
  14539. type: number
  14540. applyremark:
  14541. description: 申请备注
  14542. type: string
  14543. applystatus:
  14544. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14545. type: integer
  14546. applytime:
  14547. description: 申请时间(议价时间)
  14548. type: string
  14549. begindate:
  14550. description: 开始交易日(yyyymmdd)
  14551. type: string
  14552. buyorsell:
  14553. description: 买卖(挂牌类型) - 0:买 1:卖
  14554. type: integer
  14555. confirmremark:
  14556. description: 确认备注
  14557. type: string
  14558. confirmtime:
  14559. description: 确认时间
  14560. type: string
  14561. confirmuserid:
  14562. description: 确认人
  14563. type: integer
  14564. deliverygoodscode:
  14565. description: 品种代码
  14566. type: string
  14567. deliverygoodsid:
  14568. description: 品种ID
  14569. type: integer
  14570. deliverygoodsname:
  14571. description: 品种名称
  14572. type: string
  14573. deliverymonth:
  14574. description: 交收月
  14575. type: string
  14576. enddate:
  14577. description: 结束交易日(yyyymmdd)
  14578. type: string
  14579. enumdicname:
  14580. description: 单位名称
  14581. type: string
  14582. fixedprice:
  14583. description: 挂牌价格
  14584. type: number
  14585. handlestatus:
  14586. description: 处理状态
  14587. type: integer
  14588. marginvalue:
  14589. description: 履约保证金比例
  14590. type: number
  14591. marketid:
  14592. description: 市场ID
  14593. type: integer
  14594. matchaccountid:
  14595. description: 挂牌方资金账号
  14596. type: integer
  14597. matchuserid:
  14598. description: 挂牌方用户id
  14599. type: integer
  14600. matchusername:
  14601. description: 挂牌方用户名称(已脱敏)
  14602. type: string
  14603. minivalue:
  14604. description: 现货商品最小变动值
  14605. type: integer
  14606. optioncompare:
  14607. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14608. type: string
  14609. orderqty:
  14610. description: 挂牌数量
  14611. type: integer
  14612. refprice:
  14613. description: 参考价格
  14614. type: string
  14615. retcode:
  14616. description: 委托返回代码
  14617. type: integer
  14618. templatename:
  14619. description: 履约方式(履约模板名称)
  14620. type: string
  14621. tradedate:
  14622. description: 交易日(yyyyMMdd)
  14623. type: string
  14624. userid:
  14625. description: 摘牌人用户ID(议价人ID)
  14626. type: integer
  14627. username:
  14628. description: 议价人名字(已脱敏)
  14629. type: string
  14630. validtime:
  14631. description: 有效期限
  14632. type: string
  14633. warehouseid:
  14634. description: 仓库ID
  14635. type: integer
  14636. warehousename:
  14637. description: 仓库名称
  14638. type: string
  14639. wrbargainid:
  14640. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14641. type: string
  14642. wrfactortypeid:
  14643. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14644. type: string
  14645. wrfactortypename:
  14646. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14647. type: string
  14648. wrstandardcode:
  14649. description: 现货商品代码
  14650. type: string
  14651. wrstandardid:
  14652. description: 现货商品ID
  14653. type: integer
  14654. wrstandardname:
  14655. description: 商品名称
  14656. type: string
  14657. wrtradeorderid:
  14658. description: 关联委托单ID
  14659. type: string
  14660. wrtypename:
  14661. description: 商品
  14662. type: string
  14663. type: object
  14664. models.Warehouseinfo:
  14665. properties:
  14666. address:
  14667. description: 详细地址
  14668. type: string
  14669. areauserid:
  14670. description: 所属机构
  14671. type: integer
  14672. autoid:
  14673. description: 自增ID
  14674. type: integer
  14675. cityid:
  14676. description: 市
  14677. type: integer
  14678. contactname:
  14679. description: 联系人
  14680. type: string
  14681. contactnum:
  14682. description: 联系电话
  14683. type: string
  14684. countryid:
  14685. description: 国家
  14686. type: integer
  14687. createtime:
  14688. description: 创建时间
  14689. type: string
  14690. districtid:
  14691. description: 区
  14692. type: integer
  14693. hasvideo:
  14694. description: 是否有视频 - 0:无 1:有
  14695. type: integer
  14696. provinceid:
  14697. description: 省
  14698. type: integer
  14699. remark:
  14700. description: 审核备注
  14701. type: string
  14702. videourl:
  14703. description: 视频地址
  14704. type: string
  14705. warehousecode:
  14706. description: 仓库代码
  14707. type: string
  14708. warehousename:
  14709. description: 仓库名称
  14710. type: string
  14711. warehousestatus:
  14712. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14713. type: integer
  14714. warehousetype:
  14715. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14716. type: integer
  14717. required:
  14718. - autoid
  14719. - warehousecode
  14720. type: object
  14721. models.WrAverageTradePrice:
  14722. properties:
  14723. averageprice:
  14724. description: 成交均价
  14725. type: number
  14726. tradedate:
  14727. description: 交易日yyyymm
  14728. type: string
  14729. type: object
  14730. models.WrBsGoodsInfo:
  14731. properties:
  14732. buyorsell:
  14733. description: 买卖方向 0-买 1-卖
  14734. type: integer
  14735. goodsid:
  14736. description: 交易合约ID
  14737. type: integer
  14738. lstitem:
  14739. description: 商品信息项
  14740. items:
  14741. $ref: '#/definitions/models.WrTypeItem'
  14742. type: array
  14743. lststep:
  14744. description: 履约规则
  14745. items:
  14746. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14747. type: array
  14748. type: object
  14749. models.WrBuybackDetail:
  14750. properties:
  14751. buybackamount:
  14752. description: 回购金额
  14753. type: number
  14754. buybackqty:
  14755. description: 回购数量
  14756. type: number
  14757. buybackreleasemargin:
  14758. description: 回购释放保证金
  14759. type: number
  14760. buybacktime:
  14761. description: 回购时间
  14762. type: string
  14763. errordesc:
  14764. description: 错误描述
  14765. type: string
  14766. handlestatus:
  14767. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14768. type: integer
  14769. relatedwrid:
  14770. description: 关联仓单ID
  14771. type: integer
  14772. scfcontractid:
  14773. description: SCF合同ID
  14774. type: string
  14775. scfwrbuybackid:
  14776. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14777. type: integer
  14778. tradedate:
  14779. description: 交易日(yyyyMMdd)
  14780. type: string
  14781. type: object
  14782. models.WrDeliveryAvalidHoldLB:
  14783. properties:
  14784. accountid:
  14785. description: 资金账号
  14786. type: integer
  14787. avalidqty:
  14788. description: 数量(可点选数量)
  14789. type: number
  14790. deliverygoodsid:
  14791. description: 品种id
  14792. type: integer
  14793. enumdicname:
  14794. description: 单位名称
  14795. type: string
  14796. goodsid:
  14797. description: x合约商品id
  14798. type: integer
  14799. ladingbillid:
  14800. description: 提单id
  14801. type: string
  14802. pgoodscode:
  14803. description: p商品代码(点价合约)
  14804. type: string
  14805. pgoodsid:
  14806. description: p商品id(点价合约)
  14807. type: integer
  14808. pgoodsname:
  14809. description: p商品名称(点价合约)
  14810. type: string
  14811. pricemove:
  14812. description: 升贴水
  14813. type: number
  14814. subnum:
  14815. description: 提单子id
  14816. type: integer
  14817. userid:
  14818. description: 用户id
  14819. type: integer
  14820. username:
  14821. description: 仓单持有人
  14822. type: string
  14823. warehousecode:
  14824. description: 仓库代码
  14825. type: string
  14826. warehouseid:
  14827. description: 仓库id
  14828. type: integer
  14829. warehousename:
  14830. description: 仓库名称
  14831. type: string
  14832. wrfactortypeid:
  14833. description: 仓单要素id
  14834. type: string
  14835. wrstandardcode:
  14836. description: 品代码
  14837. type: string
  14838. wrstandardid:
  14839. description: 品类d
  14840. type: integer
  14841. wrstandardname:
  14842. description: 品类名称
  14843. type: string
  14844. wrtypename:
  14845. description: 商品
  14846. type: string
  14847. xgoodscode:
  14848. description: x合约代码
  14849. type: string
  14850. xgoodsname:
  14851. description: x合约名称
  14852. type: string
  14853. type: object
  14854. models.WrDeliveryDetail:
  14855. properties:
  14856. accountid:
  14857. description: 账号ID
  14858. type: integer
  14859. averageprice:
  14860. description: 交割均价 = 交割金额 / 交割数量
  14861. type: number
  14862. begindate:
  14863. description: 开始交易日(yyyymmdd)
  14864. type: string
  14865. buyorsell:
  14866. description: 方向 - 0:买 1:卖
  14867. type: integer
  14868. deliveryamount:
  14869. description: 货款金额(X总货款+P总货款)
  14870. type: number
  14871. deliveryid:
  14872. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14873. type: string
  14874. deliveryorderid:
  14875. description: 申报单号
  14876. type: string
  14877. deliverypricemove:
  14878. description: 升贴水(升贴水总额)
  14879. type: number
  14880. deliveryqty:
  14881. description: 交收数量(点选数量)
  14882. type: number
  14883. deliverystatus:
  14884. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14885. type: integer
  14886. deliverytime:
  14887. description: 交割时间
  14888. type: string
  14889. deliverytotalamount:
  14890. description: 交收金额
  14891. type: number
  14892. enddate:
  14893. description: 结束交易日(yyyymmdd)
  14894. type: string
  14895. enumdicname:
  14896. description: 单位名称
  14897. type: string
  14898. matchaccountid:
  14899. description: 对手账号ID
  14900. type: integer
  14901. matchusername:
  14902. description: 对手方名称(仓单持有人)
  14903. type: string
  14904. p1goodsremainamount:
  14905. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  14906. type: number
  14907. pdeliverycloseqty:
  14908. description: p合约平仓数量
  14909. type: number
  14910. pdeliveryprice:
  14911. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  14912. type: number
  14913. pgoodscode:
  14914. description: 商品代码
  14915. type: string
  14916. pgoodsid:
  14917. description: p点选合约id
  14918. type: integer
  14919. pgoodsname:
  14920. description: 商品名称
  14921. type: string
  14922. ppricemode:
  14923. description: 点价价格方式 - 1:商品价 2:固定值
  14924. type: integer
  14925. tradedate:
  14926. description: 交易日(yyyymmdd)
  14927. type: string
  14928. userid:
  14929. description: 用户id
  14930. type: integer
  14931. username:
  14932. description: 用户名称
  14933. type: string
  14934. warehousename:
  14935. description: 仓库名称
  14936. type: string
  14937. wrfactortypeid:
  14938. description: 仓单要素类型ID
  14939. type: string
  14940. wrtypename:
  14941. description: 商品
  14942. type: string
  14943. xdeliverycloseqty:
  14944. description: 合约数量
  14945. type: number
  14946. xgoodsamount:
  14947. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  14948. type: number
  14949. xgoodscode:
  14950. description: 商品代码
  14951. type: string
  14952. xgoodsid:
  14953. description: x交易合约ID
  14954. type: integer
  14955. xgoodsname:
  14956. description: 商品名称
  14957. type: string
  14958. type: object
  14959. models.WrDeliveryGoodsSection:
  14960. properties:
  14961. dglst:
  14962. description: 板块商品列表
  14963. items:
  14964. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  14965. type: array
  14966. imagepath:
  14967. description: 图片地址
  14968. type: string
  14969. orderindex:
  14970. description: 排序
  14971. type: integer
  14972. sectionid:
  14973. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数
  14974. type: integer
  14975. sectionname:
  14976. description: 版块名称
  14977. type: string
  14978. sectiontype:
  14979. description: 版块类型 - 1:指数版块 2:普通版块
  14980. type: integer
  14981. type: object
  14982. models.WrDeliveryGoodsSectionConfig:
  14983. properties:
  14984. deliverygoodscode:
  14985. description: 现货商品代码
  14986. type: string
  14987. deliverygoodsid:
  14988. description: 现货品种ID(SEQ_DELIVERYGOODS)
  14989. type: integer
  14990. deliverygoodsname:
  14991. description: 现货商品名称
  14992. type: string
  14993. orderindex:
  14994. description: 排序
  14995. type: integer
  14996. type: object
  14997. models.WrFAProductDetail:
  14998. properties:
  14999. accountid:
  15000. description: 资金账号
  15001. type: integer
  15002. areauserid:
  15003. description: 金融机构ID
  15004. type: integer
  15005. financingdays:
  15006. description: 天数(天)
  15007. type: integer
  15008. interestminlen:
  15009. description: 最小起息天数
  15010. type: integer
  15011. interestrate:
  15012. description: 利率
  15013. type: number
  15014. interestratemode:
  15015. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15016. type: integer
  15017. interestsettlemode:
  15018. description: 结息方式 - 1:按日结息 3:按月结息
  15019. type: integer
  15020. interestsettlevalue:
  15021. description: 结息方式值
  15022. type: integer
  15023. isautoloan:
  15024. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  15025. type: integer
  15026. loantag:
  15027. description: '放款标识: "放款快" 或者为空'
  15028. type: string
  15029. marginratio:
  15030. description: 保证金比率质押率 - [仓单质押]
  15031. type: number
  15032. productdetailid:
  15033. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  15034. type: integer
  15035. productid:
  15036. description: 金融产品ID
  15037. type: integer
  15038. productname:
  15039. description: 产品名称
  15040. type: string
  15041. updatetime:
  15042. description: 更新时间
  15043. type: string
  15044. username:
  15045. description: 融出方
  15046. type: string
  15047. type: object
  15048. models.WrFactorTypeInfo:
  15049. properties:
  15050. deliverygoodscode:
  15051. description: 品种代码
  15052. type: string
  15053. deliverygoodsname:
  15054. description: 品种名称
  15055. type: string
  15056. dgfactoryitemid:
  15057. description: 选择项id
  15058. type: integer
  15059. dgfactoryitemtypeid:
  15060. description: 要素选择项ID (1-仓库 2-品牌)
  15061. type: integer
  15062. dgfactoryitemvalue:
  15063. description: 要素项值
  15064. type: string
  15065. itemtypename:
  15066. description: 要素项名称
  15067. type: string
  15068. optioncompare:
  15069. description: 选择比较串
  15070. type: string
  15071. warehouseid:
  15072. description: 仓库id
  15073. type: integer
  15074. wrfactortypeid:
  15075. description: 仓单要素ID
  15076. type: string
  15077. wrfactortypename:
  15078. description: 要素名称
  15079. type: string
  15080. wrfactortypename2:
  15081. description: 要素名称(不含仓库)
  15082. type: string
  15083. wrstandardcode:
  15084. description: 品类代码
  15085. type: string
  15086. wrstandardid:
  15087. description: 品类id
  15088. type: integer
  15089. wrstandardname:
  15090. description: 品类名称
  15091. type: string
  15092. type: object
  15093. models.WrFilterItem:
  15094. properties:
  15095. itemcode:
  15096. description: 代码
  15097. type: string
  15098. itemid:
  15099. description: 项id
  15100. type: integer
  15101. itemname:
  15102. description: 名称
  15103. type: string
  15104. itemtype:
  15105. description: 类型 1-品种 2-品类(商品) 3-仓库
  15106. type: integer
  15107. type: object
  15108. models.WrFinanceBuyApply:
  15109. properties:
  15110. applydate:
  15111. description: 申请时间
  15112. type: string
  15113. applystatus:
  15114. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  15115. type: integer
  15116. applyuserid:
  15117. description: 申请人
  15118. type: integer
  15119. auditdate:
  15120. description: 审核时间
  15121. type: string
  15122. auditremark:
  15123. description: 审核备注
  15124. type: string
  15125. audituserid:
  15126. description: 审核人
  15127. type: integer
  15128. buyaccountid:
  15129. description: 买方资金账号
  15130. type: integer
  15131. buyorsell:
  15132. description: 买卖 - 0:买 1:卖
  15133. type: integer
  15134. buyuserid:
  15135. description: 买方用户ID
  15136. type: integer
  15137. buyusername:
  15138. description: 买方名称
  15139. type: string
  15140. buywrtradeorderid:
  15141. description: 融资方买委托单ID
  15142. type: string
  15143. deliverygoodscode:
  15144. description: 品种代码
  15145. type: string
  15146. deliverygoodsid:
  15147. description: 品种ID
  15148. type: integer
  15149. deliverygoodsname:
  15150. description: 品种名称
  15151. type: string
  15152. deliverymonth:
  15153. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  15154. type: string
  15155. enumdicname:
  15156. description: 单位名称
  15157. type: string
  15158. financeaccountid:
  15159. description: 融资方资金帐户ID
  15160. type: integer
  15161. financeapplyid:
  15162. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15163. type: string
  15164. financeareauserid:
  15165. description: 融资方用户ID
  15166. type: string
  15167. financename:
  15168. description: 融出方名称
  15169. type: string
  15170. financetype:
  15171. description: 融资类型 1-融资回购
  15172. type: integer
  15173. financingdays:
  15174. description: 天数(天)
  15175. type: integer
  15176. freezebuymargin:
  15177. description: 冻结融资保证金(买方)
  15178. type: number
  15179. handleremark:
  15180. description: 处理备注
  15181. type: string
  15182. handlestatus:
  15183. description: 处理状态
  15184. type: integer
  15185. interestminlen:
  15186. description: 最小起息天数
  15187. type: integer
  15188. interestrate:
  15189. description: 利率
  15190. type: number
  15191. interestratemode:
  15192. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15193. type: integer
  15194. interestsettlemode:
  15195. description: 结息方式 - 1:按日结息 3:按月结息
  15196. type: integer
  15197. interestsettlevalue:
  15198. description: 结息方式值
  15199. type: integer
  15200. isautoloan:
  15201. description: 是否自动放款 - 0:手动 1:自动
  15202. type: integer
  15203. marginratio:
  15204. description: 保证金比率质押率 - [仓单质押]
  15205. type: number
  15206. marketid:
  15207. description: 市场ID
  15208. type: integer
  15209. minivalue:
  15210. description: 现货商品最小变动值
  15211. type: integer
  15212. optioncompare:
  15213. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15214. type: string
  15215. orderqty:
  15216. description: 委托数量(商品数量)
  15217. type: number
  15218. productdetailid:
  15219. description: 产品组合ID
  15220. type: integer
  15221. productid:
  15222. description: 金融产品ID
  15223. type: integer
  15224. productname:
  15225. description: 产品名称
  15226. type: string
  15227. remark:
  15228. description: 备注
  15229. type: string
  15230. scfcontractid:
  15231. description: 仓单回购合同ID
  15232. type: string
  15233. sellaccountid:
  15234. description: 卖方资金账号
  15235. type: integer
  15236. selluserid:
  15237. description: 卖方用户ID
  15238. type: integer
  15239. sellwrtradeorderid:
  15240. description: 卖方委托单ID
  15241. type: string
  15242. tradeamount:
  15243. description: 成交金额(借款金额)
  15244. type: number
  15245. tradedate:
  15246. description: 交易日(yyyyMMdd)
  15247. type: string
  15248. tradeprice:
  15249. description: 成交价格
  15250. type: number
  15251. warehouseid:
  15252. description: 仓库ID
  15253. type: integer
  15254. warehousename:
  15255. description: 仓库名称
  15256. type: string
  15257. wrfactortypeid:
  15258. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15259. type: string
  15260. wrfactortypename:
  15261. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15262. type: string
  15263. wrpricetype:
  15264. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15265. type: integer
  15266. wrstandardcode:
  15267. description: 现货商品代码
  15268. type: string
  15269. wrstandardid:
  15270. description: 现货商品ID
  15271. type: integer
  15272. wrstandardname:
  15273. description: 商品名称
  15274. type: string
  15275. wrtypename:
  15276. description: 商品
  15277. type: string
  15278. type: object
  15279. models.WrFriendApply:
  15280. properties:
  15281. applicantid:
  15282. description: 申请人
  15283. type: integer
  15284. applyname:
  15285. description: 申请人名称
  15286. type: string
  15287. applysrc:
  15288. description: 申请来源 - 1:管理端 2:终端
  15289. type: integer
  15290. applystatus:
  15291. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15292. type: integer
  15293. applytime:
  15294. description: 申请时间
  15295. type: string
  15296. auditname:
  15297. description: 审核人名称
  15298. type: string
  15299. auditorid:
  15300. description: 审核人
  15301. type: integer
  15302. auditremark:
  15303. description: 审核备注
  15304. type: string
  15305. auditsrc:
  15306. description: 审核来源 - 1:管理端 2:终端
  15307. type: integer
  15308. audittime:
  15309. description: 审核时间
  15310. type: string
  15311. friendapplyid:
  15312. description: 申请ID(SEQ_FRIENDAPPLY)
  15313. type: string
  15314. friendname:
  15315. description: 好友名字(已脱敏)
  15316. type: string
  15317. frienduserid:
  15318. description: 好友用户ID
  15319. type: string
  15320. remark:
  15321. description: 备注
  15322. type: string
  15323. userid:
  15324. description: 申请人用户ID
  15325. type: integer
  15326. type: object
  15327. models.WrFtDeliveryGoods:
  15328. properties:
  15329. deliverygoodscode:
  15330. description: 品种代码
  15331. type: string
  15332. deliverygoodsid:
  15333. description: 品种ID
  15334. type: integer
  15335. deliverygoodsname:
  15336. description: 品种名称
  15337. type: string
  15338. wdlst:
  15339. description: 商品列表
  15340. items:
  15341. $ref: '#/definitions/models.WrFtWrstandard'
  15342. type: array
  15343. type: object
  15344. models.WrFtWrstandard:
  15345. properties:
  15346. enumdicname:
  15347. description: 单位名称
  15348. type: string
  15349. minivalue:
  15350. description: 最小变动值
  15351. type: integer
  15352. wrstandardcode:
  15353. description: 现货商品代码
  15354. type: string
  15355. wrstandardid:
  15356. description: 现货商品ID
  15357. type: integer
  15358. wrstandardname:
  15359. description: 商品名称
  15360. type: string
  15361. type: object
  15362. models.WrGoodsInfo:
  15363. properties:
  15364. haswr:
  15365. description: 0:仓单预售 1:仓单贸易
  15366. type: integer
  15367. lstitem:
  15368. description: 商品信息项
  15369. items:
  15370. $ref: '#/definitions/models.WrTypeItem'
  15371. type: array
  15372. lststep:
  15373. description: 履约规则
  15374. items:
  15375. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15376. type: array
  15377. marketid:
  15378. description: 市场id
  15379. type: integer
  15380. type: object
  15381. models.WrGoodsPerformanceStep:
  15382. properties:
  15383. autoid:
  15384. description: AutoID
  15385. type: integer
  15386. isauto:
  15387. description: 是否自动 - 0:不自动 1:自动
  15388. type: integer
  15389. remark:
  15390. description: 备注
  15391. type: string
  15392. stepdate:
  15393. description: 天数信息(T+N)
  15394. type: string
  15395. stepdays:
  15396. description: 距离上一步天数
  15397. type: integer
  15398. stepindex:
  15399. description: 步骤序号
  15400. type: integer
  15401. stepinfo:
  15402. description: 步骤信息(步骤名称+步骤值)
  15403. type: string
  15404. steptypeid:
  15405. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15406. type: integer
  15407. steptypename:
  15408. description: 步骤名称
  15409. type: string
  15410. stepvalue:
  15411. description: 步骤值
  15412. type: number
  15413. templateid:
  15414. description: 履约计划模板ID
  15415. type: integer
  15416. type: object
  15417. models.WrHoldLB:
  15418. properties:
  15419. accountid:
  15420. description: 持有人帐户ID
  15421. type: integer
  15422. createtime:
  15423. description: 创建时间(过户时间)
  15424. type: string
  15425. deliverygoodscode:
  15426. description: 品种代码
  15427. type: string
  15428. deliverygoodsid:
  15429. description: 品种ID
  15430. type: integer
  15431. deliverygoodsname:
  15432. description: 品种名称
  15433. type: string
  15434. enableqty:
  15435. description: 可用数量
  15436. type: number
  15437. enumdicname:
  15438. description: 单位名称
  15439. type: string
  15440. freezerqty:
  15441. description: 冻结数量
  15442. type: number
  15443. ladingbillid:
  15444. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15445. type: string
  15446. minivalue:
  15447. description: 现货商品最小变动值
  15448. type: integer
  15449. optioncompare:
  15450. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15451. type: string
  15452. parentsubnum:
  15453. description: 拆分父子单号
  15454. type: integer
  15455. pledgeqty:
  15456. description: 质押数量
  15457. type: number
  15458. qty:
  15459. description: 数量
  15460. type: number
  15461. subnum:
  15462. description: 提单子单号
  15463. type: integer
  15464. tradedate:
  15465. description: 交易日(yyyyMMdd)
  15466. type: string
  15467. userid:
  15468. description: 持有人ID
  15469. type: integer
  15470. warehouseid:
  15471. description: 仓库ID
  15472. type: integer
  15473. warehousename:
  15474. description: 仓库名称
  15475. type: string
  15476. wrfactortypeid:
  15477. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15478. type: string
  15479. wrfactortypename:
  15480. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15481. type: string
  15482. wrholdeno:
  15483. description: 仓单编号
  15484. type: string
  15485. wrid:
  15486. description: 仓单变更ID
  15487. type: string
  15488. wrstandardcode:
  15489. description: 现货商品代码
  15490. type: string
  15491. wrstandardid:
  15492. description: 现货商品ID
  15493. type: integer
  15494. wrstandardname:
  15495. description: 商品名称
  15496. type: string
  15497. wrtypename:
  15498. description: 商品
  15499. type: string
  15500. type: object
  15501. models.WrMarketTradeConfig:
  15502. properties:
  15503. basisdownratio:
  15504. description: 浮动价基差下限比例(仓单贸易)
  15505. type: number
  15506. basisupratio:
  15507. description: 浮动价基差上限比例(仓单贸易)
  15508. type: number
  15509. buychargealgorithm:
  15510. description: 买方手续费收取方式 1:比率 2:固定
  15511. type: integer
  15512. buychargealgorithm2:
  15513. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15514. type: integer
  15515. buychargealgorithmvalue:
  15516. description: 买方手续费设置值(交易所部分)
  15517. type: number
  15518. buychargealgorithmvalue2:
  15519. description: 买方手续费设置值(会员部分)
  15520. type: number
  15521. buychargealgorithmvalue3:
  15522. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15523. type: number
  15524. buychargealgorithmvalue4:
  15525. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15526. type: number
  15527. buyfirstmarginalgorithm:
  15528. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15529. type: integer
  15530. buyfirstmarginvalue:
  15531. description: 买方出价保证金设置值 - [竞拍]
  15532. type: number
  15533. buymarginalgorithm:
  15534. description: 买方保证金方式 - 1:比率 2:固定
  15535. type: integer
  15536. buymarginvalue:
  15537. description: 买方保证金设置值
  15538. type: number
  15539. buyreleaseratio:
  15540. description: 买方释放比率[2:分步履约]
  15541. type: number
  15542. executemode:
  15543. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15544. type: integer
  15545. executeside:
  15546. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15547. type: integer
  15548. failedchargealgorithm:
  15549. description: 流拍手续费收取方式 1:比率 2:固定
  15550. type: integer
  15551. failedchargevalue:
  15552. description: 流拍手续费设置值
  15553. type: number
  15554. failedchargevalue2:
  15555. description: 流拍卖方手续费设置值
  15556. type: number
  15557. holddays:
  15558. description: 合同期限[2:分步履约]
  15559. type: integer
  15560. marketid:
  15561. description: 市场ID-仓单贸易、竞拍、预售
  15562. type: integer
  15563. minqty:
  15564. description: 最小执行量[2:分步履约]
  15565. type: number
  15566. modifierid:
  15567. description: 修改人
  15568. type: integer
  15569. performancetempid:
  15570. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)
  15571. type: integer
  15572. performancetempid2:
  15573. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行
  15574. type: integer
  15575. performanceway:
  15576. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15577. type: integer
  15578. sellchargealgorithm:
  15579. description: 卖方手续费收取方式 1:比率 2:固定
  15580. type: integer
  15581. sellchargealgorithm2:
  15582. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15583. type: integer
  15584. sellchargealgorithmvalue:
  15585. description: 卖方手续费设置值(交易所部分)
  15586. type: number
  15587. sellchargealgorithmvalue2:
  15588. description: 卖方手续费设置值(会员部分)
  15589. type: number
  15590. sellchargealgorithmvalue3:
  15591. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15592. type: number
  15593. sellchargealgorithmvalue4:
  15594. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15595. type: number
  15596. sellmarginalgorithm:
  15597. description: 卖方保证金方式 - 1:比率 2:固定
  15598. type: integer
  15599. sellmarginvalue:
  15600. description: 卖方保证金设置值
  15601. type: number
  15602. sellmarginvalue2:
  15603. description: 卖方保证金设置值(无仓单)
  15604. type: number
  15605. sellreleaseratio:
  15606. description: 卖方释放比率[2:分步履约]
  15607. type: number
  15608. updatetime:
  15609. description: 更新时间
  15610. type: string
  15611. type: object
  15612. models.WrOrderDetail:
  15613. properties:
  15614. accountid:
  15615. description: 交易账号(资金账号)
  15616. type: integer
  15617. allfriendsflag:
  15618. description: 是否全好友可见 - 0:否 1:是
  15619. type: integer
  15620. amount:
  15621. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  15622. type: number
  15623. begindate:
  15624. description: 开始交易日(yyyymmdd)
  15625. type: string
  15626. buyorsell:
  15627. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15628. type: integer
  15629. canbargain:
  15630. description: 是否可议价 - 0:不可 1:可
  15631. type: integer
  15632. cancelqty:
  15633. description: 撤销数量
  15634. type: number
  15635. canpart:
  15636. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15637. type: integer
  15638. delistminqty:
  15639. description: 起摘数量
  15640. type: integer
  15641. deliverygoodscode:
  15642. description: 品种代码
  15643. type: string
  15644. deliverygoodsid:
  15645. description: 品种ID
  15646. type: integer
  15647. deliverygoodsname:
  15648. description: 品种名称
  15649. type: string
  15650. deliverymonth:
  15651. description: 交收月
  15652. type: string
  15653. enddate:
  15654. description: 结束交易日(yyyymmdd)
  15655. type: string
  15656. enumdicname:
  15657. description: 单位名称
  15658. type: string
  15659. fixedprice:
  15660. description: 固定价格 - [挂牌]
  15661. type: number
  15662. freezemargin:
  15663. description: 冻结保证金(保证金)
  15664. type: number
  15665. futupricemove:
  15666. description: 期货升贴水
  15667. type: number
  15668. futushow:
  15669. description: 期货合约/升贴水
  15670. type: string
  15671. goodscode:
  15672. description: 期货合约
  15673. type: string
  15674. goodsid:
  15675. description: 期货商品id
  15676. type: integer
  15677. goodsname:
  15678. description: 商品名称
  15679. type: string
  15680. haswr:
  15681. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15682. type: integer
  15683. isspecified:
  15684. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15685. type: integer
  15686. ladingbillid:
  15687. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15688. type: string
  15689. marginvalue:
  15690. description: 保证金设置值(履约保证金)
  15691. type: number
  15692. marketid:
  15693. description: 市场ID
  15694. type: integer
  15695. matchusername:
  15696. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15697. type: string
  15698. minivalue:
  15699. description: 现货商品最小变动值
  15700. type: integer
  15701. optioncompare:
  15702. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15703. type: string
  15704. orderqty:
  15705. description: 委托数量
  15706. type: number
  15707. ordertime:
  15708. description: 委托时间(挂牌时间)
  15709. type: string
  15710. performancetemplateid:
  15711. description: 履约模板id
  15712. type: integer
  15713. pricemove:
  15714. description: 升贴水(浮动价时填写) - [挂牌]
  15715. type: number
  15716. taname:
  15717. description: 交易用户名称(资金账号名称)
  15718. type: string
  15719. tradedate:
  15720. description: 交易日(yyyyMMdd)
  15721. type: string
  15722. tradeprice:
  15723. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15724. type: number
  15725. tradeqty:
  15726. description: 成交数量
  15727. type: number
  15728. userid:
  15729. description: 用户ID
  15730. type: integer
  15731. validtime:
  15732. description: 挂牌有效期
  15733. type: string
  15734. warehouseid:
  15735. description: 仓库ID
  15736. type: integer
  15737. warehousename:
  15738. description: 仓库名称
  15739. type: string
  15740. wrfactortypeid:
  15741. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15742. type: string
  15743. wrfactortypename:
  15744. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15745. type: string
  15746. wrpricetype:
  15747. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15748. type: integer
  15749. wrstandardcode:
  15750. description: 现货商品代码
  15751. type: string
  15752. wrstandardid:
  15753. description: 现货商品ID
  15754. type: integer
  15755. wrstandardname:
  15756. description: 商品名称
  15757. type: string
  15758. wrtradeorderid:
  15759. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15760. type: string
  15761. wrtradeorderstatus:
  15762. 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:撤单解冻贷款失败
  15763. type: integer
  15764. wrtradetype:
  15765. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15766. type: integer
  15767. wrtypename:
  15768. description: 商品
  15769. type: string
  15770. type: object
  15771. models.WrOrderQuote:
  15772. properties:
  15773. buyprice:
  15774. description: 买价
  15775. type: number
  15776. buypricemove:
  15777. description: 买升贴水(基差)
  15778. type: number
  15779. buyqty:
  15780. description: 买量
  15781. type: number
  15782. deliverygoodscode:
  15783. description: 品种代码
  15784. type: string
  15785. deliverygoodsid:
  15786. description: 品种id
  15787. type: integer
  15788. deliverygoodsname:
  15789. description: 品种名称
  15790. type: string
  15791. deliverymonth:
  15792. description: 交收月
  15793. type: string
  15794. enumdicname:
  15795. description: 单位名称
  15796. type: string
  15797. goodscode:
  15798. description: 商品合约(浮动价列表才有)
  15799. type: string
  15800. goodsid:
  15801. description: 商品id(浮动价列表才有)
  15802. type: integer
  15803. minivalue:
  15804. description: 现货商品最小变动值
  15805. type: integer
  15806. sellprice:
  15807. description: 卖价
  15808. type: number
  15809. sellpricemove:
  15810. description: 卖升贴水(基差)
  15811. type: number
  15812. sellqty:
  15813. description: 卖量
  15814. type: number
  15815. warehousecode:
  15816. description: 仓库代码
  15817. type: string
  15818. warehouseid:
  15819. description: 仓库id
  15820. type: integer
  15821. warehousename:
  15822. description: 仓库名称
  15823. type: string
  15824. wrfactortypeid:
  15825. description: 仓单要素id
  15826. type: string
  15827. wrfactortypename:
  15828. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15829. type: string
  15830. wrgoodsname:
  15831. description: 商品(商品名称+仓库要素名称 拼接)
  15832. type: string
  15833. wrstandardcode:
  15834. description: 商品代码
  15835. type: string
  15836. wrstandardid:
  15837. description: 商品id
  15838. type: integer
  15839. wrstandardname:
  15840. description: 商品名称
  15841. type: string
  15842. type: object
  15843. models.WrOrderQuoteDetail:
  15844. properties:
  15845. buyorsell:
  15846. description: 买卖 - 0:买 1:卖
  15847. type: integer
  15848. delistminqty:
  15849. description: 起摘数量
  15850. type: number
  15851. deliverymonth:
  15852. description: 交收月
  15853. type: string
  15854. enumdicname:
  15855. description: 单位名称
  15856. type: string
  15857. fixedprice:
  15858. description: 买(卖)价
  15859. type: number
  15860. minivalue:
  15861. description: 现货商品最小变动值
  15862. type: integer
  15863. orderqty:
  15864. description: 买(卖)量(=委托量-成交量)
  15865. type: number
  15866. ordertime:
  15867. description: 委托时间
  15868. type: string
  15869. pricemove:
  15870. description: 买(卖)升贴水- 基差
  15871. type: number
  15872. userid:
  15873. description: 购买方(销售方)用户ID
  15874. type: integer
  15875. username:
  15876. description: 购买方(销售方)
  15877. type: string
  15878. wrtradeorderid:
  15879. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15880. type: string
  15881. type: object
  15882. models.WrOutInApply:
  15883. properties:
  15884. applyid:
  15885. description: 申请单id
  15886. type: string
  15887. applystatus:
  15888. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  15889. type: integer
  15890. applytime:
  15891. description: 申请时间
  15892. type: string
  15893. applytype:
  15894. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15895. type: integer
  15896. begindate:
  15897. description: 开始交易日(yyyymmdd)
  15898. type: string
  15899. deliverygoodscode:
  15900. description: 品种代码
  15901. type: string
  15902. deliverygoodsid:
  15903. description: 品种ID
  15904. type: integer
  15905. deliverygoodsname:
  15906. description: 品种名称
  15907. type: string
  15908. enddate:
  15909. description: 结束交易日(yyyymmdd)
  15910. type: string
  15911. enumdicname:
  15912. description: 单位名称
  15913. type: string
  15914. expresscompany:
  15915. description: 物流公司
  15916. type: string
  15917. expressnum:
  15918. description: 物流单号
  15919. type: string
  15920. minivalue:
  15921. description: 现货商品最小变动值
  15922. type: integer
  15923. optioncompare:
  15924. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15925. type: string
  15926. qty:
  15927. description: 数量
  15928. type: integer
  15929. userid:
  15930. description: 用户id
  15931. type: integer
  15932. warehouseid:
  15933. description: 仓库ID
  15934. type: integer
  15935. warehousename:
  15936. description: 仓库名称
  15937. type: string
  15938. wrfactortypeid:
  15939. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15940. type: string
  15941. wrfactortypename:
  15942. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15943. type: string
  15944. wrstandardcode:
  15945. description: 现货商品代码
  15946. type: string
  15947. wrstandardid:
  15948. description: 现货商品ID
  15949. type: integer
  15950. wrstandardname:
  15951. description: 商品名称
  15952. type: string
  15953. wrtypename:
  15954. description: 商品
  15955. type: string
  15956. type: object
  15957. models.WrPerformancePlan:
  15958. properties:
  15959. activatemonth:
  15960. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  15961. type: string
  15962. amount:
  15963. description: 履约金额(总金额)
  15964. type: number
  15965. buyaccountid:
  15966. description: 买方账号
  15967. type: integer
  15968. buyerfreezeamount:
  15969. description: 履约冻结(买履约)
  15970. type: number
  15971. buyerfreezeamountremain:
  15972. description: 履约冻结剩余(买履约)
  15973. type: number
  15974. buyorsell:
  15975. description: 买卖方向 0-买 1-卖
  15976. type: integer
  15977. buypaidamount:
  15978. description: 买方已冻/已扣金额 (已付金额)
  15979. type: number
  15980. buyusername:
  15981. description: 买方名字
  15982. type: string
  15983. contractid:
  15984. description: 合同ID
  15985. type: integer
  15986. createtime:
  15987. description: 创建时间
  15988. type: string
  15989. creatorid:
  15990. description: 创建人
  15991. type: integer
  15992. curstepdeadline:
  15993. description: 当前步骤到期时间
  15994. type: string
  15995. curstepid:
  15996. description: 当前步骤ID
  15997. type: string
  15998. curstepname:
  15999. description: 当前步骤名称
  16000. type: string
  16001. deliverygoodscode:
  16002. description: 品种代码
  16003. type: string
  16004. deliverygoodsid:
  16005. description: 品种ID
  16006. type: integer
  16007. deliverygoodsname:
  16008. description: 品种名称
  16009. type: string
  16010. enumdicname:
  16011. description: 单位名称
  16012. type: string
  16013. expressfee:
  16014. description: 运费
  16015. type: number
  16016. expressfeeconfirmed:
  16017. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  16018. type: integer
  16019. hasovershort:
  16020. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  16021. type: integer
  16022. haswr:
  16023. description: 类型 0-仓单预售 1-仓单贸易
  16024. type: integer
  16025. marketid:
  16026. description: 市场ID
  16027. type: integer
  16028. middleaccountid:
  16029. description: 中间商资金账号ID
  16030. type: integer
  16031. middleuserid:
  16032. description: 中间商用户ID
  16033. type: integer
  16034. minivalue:
  16035. description: 现货商品最小变动值
  16036. type: integer
  16037. optioncompare:
  16038. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16039. type: string
  16040. overshortamount:
  16041. description: 溢短金额
  16042. type: number
  16043. overshortqty:
  16044. description: 溢短数量
  16045. type: number
  16046. paymenttype:
  16047. description: 付款方式 - 1:冻结 2:扣款
  16048. type: integer
  16049. performanceplanid:
  16050. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  16051. type: string
  16052. performancestatus:
  16053. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
  16054. type: integer
  16055. performancetype:
  16056. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  16057. type: integer
  16058. qty:
  16059. description: 履约数量
  16060. type: number
  16061. relatedorderid:
  16062. description: 关联单号(履约类型的关联单号)
  16063. type: string
  16064. remark:
  16065. description: 备注
  16066. type: string
  16067. sellaccountid:
  16068. description: 卖方账号
  16069. type: integer
  16070. sellerfreezeamount:
  16071. description: 履约冻结(卖履约)
  16072. type: number
  16073. sellerfreezeamountremain:
  16074. description: 履约冻结剩余(卖履约)
  16075. type: number
  16076. sellreceivedamount:
  16077. description: 卖方已收金额
  16078. type: number
  16079. sellusername:
  16080. description: 卖方名字
  16081. type: string
  16082. shipremark:
  16083. description: 发货备注[物流单号]
  16084. type: string
  16085. starttime:
  16086. description: 开始时间
  16087. type: string
  16088. steptypeid:
  16089. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16090. type: integer
  16091. typename:
  16092. description: 履约类型 名称
  16093. type: string
  16094. unpaidamount:
  16095. description: 剩余款(待支付金额)
  16096. type: number
  16097. userid:
  16098. description: 用户id
  16099. type: integer
  16100. warehouseid:
  16101. description: 仓库ID
  16102. type: integer
  16103. warehousename:
  16104. description: 仓库名称
  16105. type: string
  16106. wrfactortypeid:
  16107. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16108. type: string
  16109. wrfactortypename:
  16110. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16111. type: string
  16112. wrstandardcode:
  16113. description: 现货商品代码
  16114. type: string
  16115. wrstandardid:
  16116. description: 现货商品ID
  16117. type: integer
  16118. wrstandardname:
  16119. description: 商品名称
  16120. type: string
  16121. wrtransferuserid:
  16122. description: 仓单受让用户
  16123. type: integer
  16124. wrtypename:
  16125. description: 商品
  16126. type: string
  16127. required:
  16128. - userid
  16129. type: object
  16130. models.WrPerformancePlanStep:
  16131. properties:
  16132. delaydays:
  16133. description: 延期申请天数
  16134. type: integer
  16135. deliverygoodscode:
  16136. description: 品种代码
  16137. type: string
  16138. deliverygoodsid:
  16139. description: 品种ID
  16140. type: integer
  16141. deliverygoodsname:
  16142. description: 品种名称
  16143. type: string
  16144. endtime:
  16145. description: 结束日期
  16146. type: string
  16147. enumdicname:
  16148. description: 单位名称
  16149. type: string
  16150. executeside:
  16151. description: 步骤执行方 - 1:买方 2:卖方
  16152. type: integer
  16153. handlestatus:
  16154. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  16155. type: integer
  16156. isauto:
  16157. description: 是否自动 - 0:不自动 1:自动
  16158. type: integer
  16159. islastreceivestep:
  16160. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  16161. type: integer
  16162. minivalue:
  16163. description: 现货商品最小变动值
  16164. type: integer
  16165. optioncompare:
  16166. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16167. type: string
  16168. overdays:
  16169. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  16170. type: integer
  16171. performancestepid:
  16172. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  16173. type: string
  16174. planid:
  16175. description: 所属履约计划ID
  16176. type: string
  16177. realamount:
  16178. description: 实际完成金额
  16179. type: number
  16180. relatedorderid:
  16181. description: 关联单号
  16182. type: string
  16183. remaindays:
  16184. description: 剩余天数
  16185. type: integer
  16186. remark:
  16187. description: 错误备注
  16188. type: string
  16189. starttime:
  16190. description: 开始日期
  16191. type: string
  16192. stepamount:
  16193. description: 步骤金额
  16194. type: number
  16195. stepdays:
  16196. description: 距离上一步天数(分钟)
  16197. type: integer
  16198. stepindex:
  16199. description: 步骤序号
  16200. type: integer
  16201. steplanchtype:
  16202. description: 步骤启动类型 - 1:系统自动 2:手动
  16203. type: integer
  16204. stepremark:
  16205. description: 步骤备注
  16206. type: string
  16207. stepstatus:
  16208. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  16209. type: integer
  16210. steptypeid:
  16211. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16212. type: integer
  16213. steptypename:
  16214. description: 步骤名称
  16215. type: string
  16216. stepvalue:
  16217. description: 步骤值
  16218. type: number
  16219. warehouseid:
  16220. description: 仓库ID
  16221. type: integer
  16222. warehousename:
  16223. description: 仓库名称
  16224. type: string
  16225. wrfactortypeid:
  16226. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16227. type: string
  16228. wrfactortypename:
  16229. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16230. type: string
  16231. wrstandardcode:
  16232. description: 现货商品代码
  16233. type: string
  16234. wrstandardid:
  16235. description: 现货商品ID
  16236. type: integer
  16237. wrstandardname:
  16238. description: 商品名称
  16239. type: string
  16240. wrtypename:
  16241. description: 商品
  16242. type: string
  16243. type: object
  16244. models.WrPerformanceStepType:
  16245. properties:
  16246. canauto:
  16247. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16248. type: integer
  16249. steptypeid:
  16250. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16251. type: integer
  16252. steptypename:
  16253. description: 步骤类型名称
  16254. type: string
  16255. type: object
  16256. models.WrPerformanceTemplateEx:
  16257. properties:
  16258. autoid:
  16259. description: AutoID 模板id
  16260. type: integer
  16261. createtime:
  16262. description: 创建时间
  16263. type: string
  16264. creatorid:
  16265. description: 创建人
  16266. type: integer
  16267. lstStep:
  16268. description: 步骤信息列表
  16269. items:
  16270. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16271. type: array
  16272. paymenttype:
  16273. description: 支付方式 - 1:冻结 2:扣款
  16274. type: integer
  16275. takemode:
  16276. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16277. type: integer
  16278. templatename:
  16279. description: 模板名称
  16280. type: string
  16281. templatetype:
  16282. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16283. type: integer
  16284. userid:
  16285. description: 所属用户
  16286. type: integer
  16287. type: object
  16288. models.WrPosition:
  16289. properties:
  16290. accountid:
  16291. description: 帐户ID
  16292. type: integer
  16293. buyexcuteqty:
  16294. description: 采购履约中数量
  16295. type: number
  16296. creditcurqty:
  16297. description: 授信当前数量(预售仓单:预售当前量)
  16298. type: number
  16299. creditenableqty:
  16300. description: '授信可用数量(预售仓单: 可用数量)'
  16301. type: number
  16302. creditfreezeqty:
  16303. description: '授信冻结数量(预售仓单: 当前数量)'
  16304. type: number
  16305. credittotalqty:
  16306. description: 授信总数量(预售仓单:预售总量)
  16307. type: number
  16308. credittradeqty:
  16309. description: 授信成交数量(预售仓单:成交总量)
  16310. type: number
  16311. deliverygoodscode:
  16312. description: 品种代码
  16313. type: string
  16314. deliverygoodsid:
  16315. description: 品种ID
  16316. type: integer
  16317. deliverygoodsname:
  16318. description: 品种名称
  16319. type: string
  16320. enalbeqty:
  16321. description: 可用数量
  16322. type: number
  16323. enumdicname:
  16324. description: 单位名称
  16325. type: string
  16326. freezeqty:
  16327. description: 总冻结数量
  16328. type: number
  16329. haswr:
  16330. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16331. type: integer
  16332. minivalue:
  16333. description: 现货商品最小变动值
  16334. type: integer
  16335. modifytime:
  16336. description: 修改时间(过户时间)
  16337. type: string
  16338. optioncompare:
  16339. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16340. type: string
  16341. pledgeqty:
  16342. description: 质押数量
  16343. type: number
  16344. querytype:
  16345. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16346. type: integer
  16347. sellexcuteqty:
  16348. description: 销售履约中数量
  16349. type: number
  16350. totalqty:
  16351. description: 总数量(库存数量)
  16352. type: number
  16353. warehouseid:
  16354. description: 仓库ID
  16355. type: integer
  16356. warehousename:
  16357. description: 仓库名称
  16358. type: string
  16359. wrfactortypeid:
  16360. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16361. type: string
  16362. wrfactortypename:
  16363. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16364. type: string
  16365. wrpositionid:
  16366. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16367. type: string
  16368. wrpositionno:
  16369. description: 仓单编号
  16370. type: string
  16371. wrstandardcode:
  16372. description: 现货商品代码
  16373. type: string
  16374. wrstandardid:
  16375. description: 现货商品ID
  16376. type: integer
  16377. wrstandardname:
  16378. description: 商品名称
  16379. type: string
  16380. wrtypename:
  16381. description: 商品
  16382. type: string
  16383. wruserid:
  16384. description: 持有人ID
  16385. type: integer
  16386. type: object
  16387. models.WrQuoteOrderMyq:
  16388. properties:
  16389. buyorsell:
  16390. description: 买卖 - 0:买 1:卖
  16391. type: integer
  16392. canbargain:
  16393. description: 是否可议价 - 0:不可 1:可
  16394. type: integer
  16395. canpart:
  16396. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16397. type: integer
  16398. delistminqty:
  16399. description: 起摘数量
  16400. type: number
  16401. deliverygoodscode:
  16402. description: 品种代码
  16403. type: string
  16404. deliverygoodsid:
  16405. description: 品种ID
  16406. type: integer
  16407. deliverygoodsname:
  16408. description: 品种名称
  16409. type: string
  16410. deliverymonth:
  16411. description: 交收月
  16412. type: string
  16413. enumdicname:
  16414. description: 单位名称
  16415. type: string
  16416. fixedprice:
  16417. description: 买(卖)价
  16418. type: number
  16419. goodscode:
  16420. description: 商品合约代码
  16421. type: string
  16422. marginflag:
  16423. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16424. type: integer
  16425. marginvalue:
  16426. description: 保证金设置值
  16427. type: number
  16428. minivalue:
  16429. description: 现货商品最小变动值
  16430. type: integer
  16431. orderqty:
  16432. description: 买(卖)量(=委托量-成交量)
  16433. type: number
  16434. ordertime:
  16435. description: 委托时间
  16436. type: string
  16437. performancetemplateid:
  16438. description: 履约模板id
  16439. type: integer
  16440. pricemove:
  16441. description: 买(卖)升贴水- 基差
  16442. type: number
  16443. templatename:
  16444. description: 履约模板名称
  16445. type: string
  16446. userid:
  16447. description: 购买方(销售方)用户ID
  16448. type: integer
  16449. username:
  16450. description: 购买方(销售方)
  16451. type: string
  16452. validtime:
  16453. description: 有效期限
  16454. type: string
  16455. validtype:
  16456. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16457. type: integer
  16458. warehousename:
  16459. description: 仓库名称
  16460. type: string
  16461. wrfactortypeid:
  16462. description: 仓单要素id
  16463. type: string
  16464. wrstandardcode:
  16465. description: 现货商品代码
  16466. type: string
  16467. wrstandardid:
  16468. description: 现货商品ID
  16469. type: integer
  16470. wrstandardname:
  16471. description: 商品名称
  16472. type: string
  16473. wrtradeorderid:
  16474. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16475. type: string
  16476. wrtypename:
  16477. description: 商品
  16478. type: string
  16479. type: object
  16480. models.WrScfContract:
  16481. properties:
  16482. borroweruserid:
  16483. description: 借款用户ID
  16484. type: integer
  16485. buybackwrpositionqty:
  16486. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16487. type: number
  16488. closeinterest:
  16489. description: 已结利息 -> 已结费用
  16490. type: number
  16491. currisklevel:
  16492. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16493. type: integer
  16494. deadline:
  16495. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16496. type: string
  16497. deliverygoodscode:
  16498. description: 品种代码
  16499. type: string
  16500. deliverygoodsid:
  16501. description: 品种ID
  16502. type: integer
  16503. deliverygoodsname:
  16504. description: 品种名称
  16505. type: string
  16506. enumdicname:
  16507. description: 单位名称
  16508. type: string
  16509. financingdays:
  16510. description: 天数(天)
  16511. type: integer
  16512. initmargin:
  16513. description: 保证金 - [仓单回购]
  16514. type: number
  16515. interestamount:
  16516. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16517. type: number
  16518. interestdebt:
  16519. description: 利息欠款(记录负数) -> 费用欠款
  16520. type: number
  16521. interestminlen:
  16522. description: 最小起息天数
  16523. type: integer
  16524. interestrate:
  16525. description: 利率
  16526. type: number
  16527. interestratemode:
  16528. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16529. type: integer
  16530. interestsettlemode:
  16531. description: 结息方式 - 1:按日结息 3:按月结息
  16532. type: integer
  16533. interestsettlevalue:
  16534. description: 结息方式值
  16535. type: integer
  16536. isautoloan:
  16537. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16538. type: integer
  16539. lastcloseinterestday:
  16540. description: 最近结息日(yyyyMMdd)
  16541. type: string
  16542. lenderamount:
  16543. description: 贷款金额 -> 借款金额
  16544. type: number
  16545. lenderuserid:
  16546. description: 贷款方用户ID -> 融出方用户ID
  16547. type: integer
  16548. lenderusername:
  16549. description: 融出方
  16550. type: string
  16551. marginratio:
  16552. description: 保证金比率质押率 - [仓单质押]
  16553. type: number
  16554. marketid:
  16555. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16556. type: integer
  16557. minivalue:
  16558. description: 现货商品最小变动值
  16559. type: integer
  16560. optioncompare:
  16561. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16562. type: string
  16563. pricemove:
  16564. description: 估值升贴水值
  16565. type: number
  16566. productdetailid:
  16567. description: 产品组合ID
  16568. type: integer
  16569. productid:
  16570. description: 金融产品ID
  16571. type: integer
  16572. productname:
  16573. description: 产品名称
  16574. type: string
  16575. remainamount:
  16576. description: 合同剩余金额 -> 剩余金额
  16577. type: number
  16578. remainwrpositionqty:
  16579. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16580. type: number
  16581. remark:
  16582. description: 备注
  16583. type: string
  16584. scfcontractid:
  16585. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16586. type: string
  16587. scfcontractstatus:
  16588. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  16589. type: integer
  16590. scfcontracttype:
  16591. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16592. type: integer
  16593. startinterestday:
  16594. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16595. type: string
  16596. totalinterest:
  16597. description: 已计利息 -> 已计费用
  16598. type: number
  16599. unpaidinterest:
  16600. description: 未结费用
  16601. type: number
  16602. updatetime:
  16603. description: 更新时间
  16604. type: string
  16605. warehouseid:
  16606. description: 仓库ID
  16607. type: integer
  16608. warehousename:
  16609. description: 仓库名称
  16610. type: string
  16611. wrfactortypeid:
  16612. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16613. type: string
  16614. wrfactortypename:
  16615. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16616. type: string
  16617. wrqty:
  16618. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16619. type: number
  16620. wrstandardcode:
  16621. description: 现货商品代码
  16622. type: string
  16623. wrstandardid:
  16624. description: 现货商品ID
  16625. type: integer
  16626. wrstandardname:
  16627. description: 商品名称
  16628. type: string
  16629. wrtypename:
  16630. description: 商品
  16631. type: string
  16632. type: object
  16633. models.WrScfContractInterest:
  16634. properties:
  16635. closeinterest:
  16636. description: 已结利息
  16637. type: number
  16638. closeintereststatus:
  16639. description: 结息状态 - 1:未结 2:已结
  16640. type: integer
  16641. closetime:
  16642. description: 结息时间
  16643. type: string
  16644. closetradedate:
  16645. description: 结息交易日
  16646. type: string
  16647. creatorid:
  16648. description: 操作人ID
  16649. type: integer
  16650. dayrate:
  16651. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16652. type: number
  16653. interest:
  16654. description: 利息
  16655. type: number
  16656. interestamount:
  16657. description: 计息金额
  16658. type: number
  16659. interestday:
  16660. description: 计息日(yyyyMMdd)
  16661. type: string
  16662. scfcontractid:
  16663. description: SCF合同ID
  16664. type: string
  16665. scfcontractinterestid:
  16666. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16667. type: integer
  16668. updatetime:
  16669. description: 更新时间
  16670. type: string
  16671. type: object
  16672. models.WrSiteColumnDetail:
  16673. properties:
  16674. brief:
  16675. description: 简介
  16676. type: string
  16677. context:
  16678. description: 内容
  16679. type: string
  16680. coverimage:
  16681. description: 封面图片
  16682. type: string
  16683. creaedate:
  16684. description: 创建时间
  16685. type: string
  16686. id:
  16687. description: ID(SEQ_SITE_COLUMNDETAIL)
  16688. type: integer
  16689. istop:
  16690. description: 是否置顶 - 0:不置 1:置顶
  16691. type: integer
  16692. publishdate:
  16693. description: 发布日期
  16694. type: string
  16695. title:
  16696. description: 标题
  16697. type: string
  16698. updatedate:
  16699. description: 修改时间
  16700. type: string
  16701. type: object
  16702. models.WrSpecialMatchOrder:
  16703. properties:
  16704. amount:
  16705. description: 金额 = 数量 * 价格
  16706. type: number
  16707. buyorsell:
  16708. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16709. type: integer
  16710. cancelqty:
  16711. description: 撤销数量
  16712. type: number
  16713. deliverygoodscode:
  16714. description: 品种代码
  16715. type: string
  16716. deliverygoodsid:
  16717. description: 品种ID
  16718. type: integer
  16719. deliverygoodsname:
  16720. description: 品种名称
  16721. type: string
  16722. enumdicname:
  16723. description: 单位名称
  16724. type: string
  16725. fixedprice:
  16726. description: 固定价格(价格)
  16727. type: number
  16728. haswr:
  16729. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16730. type: integer
  16731. isspecified:
  16732. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  16733. type: integer
  16734. marketid:
  16735. description: 市场ID
  16736. type: integer
  16737. matchuserid:
  16738. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16739. type: integer
  16740. matchusername:
  16741. description: 指定方
  16742. type: string
  16743. minivalue:
  16744. description: 现货商品最小变动值
  16745. type: integer
  16746. optioncompare:
  16747. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16748. type: string
  16749. orderqty:
  16750. description: 委托数量
  16751. type: number
  16752. ordertime:
  16753. description: 委托时间
  16754. type: string
  16755. pricemove:
  16756. description: 升贴水(浮动价时填写) - [挂牌]
  16757. type: number
  16758. tradedate:
  16759. description: 交易日(yyyyMMdd)
  16760. type: string
  16761. tradeprice:
  16762. description: 成交价格
  16763. type: number
  16764. tradeqty:
  16765. description: 成交数量
  16766. type: number
  16767. userid:
  16768. description: 用户ID
  16769. type: integer
  16770. username:
  16771. description: 发起方
  16772. type: string
  16773. warehouseid:
  16774. description: 仓库ID
  16775. type: integer
  16776. warehousename:
  16777. description: 仓库名称
  16778. type: string
  16779. wrfactortypeid:
  16780. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16781. type: string
  16782. wrfactortypename:
  16783. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16784. type: string
  16785. wrpricetype:
  16786. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16787. type: integer
  16788. wrstandardcode:
  16789. description: 现货商品代码
  16790. type: string
  16791. wrstandardid:
  16792. description: 现货商品ID
  16793. type: integer
  16794. wrstandardname:
  16795. description: 商品名称
  16796. type: string
  16797. wrtradeorderid:
  16798. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16799. type: string
  16800. wrtradeorderstatus:
  16801. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16802. type: integer
  16803. wrtradetype:
  16804. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16805. type: integer
  16806. wrtypename:
  16807. description: 商品
  16808. type: string
  16809. type: object
  16810. models.WrSpotGroupTradeSum:
  16811. properties:
  16812. deliverygoodscode:
  16813. description: 现货品种代码
  16814. type: string
  16815. deliverygoodsid:
  16816. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16817. type: integer
  16818. deliverygoodsname:
  16819. description: 现货品种名称
  16820. type: string
  16821. lastavgprice:
  16822. description: 上上个交易日价格(前2天价格)
  16823. type: string
  16824. lastreckondate:
  16825. description: 上上个交易日(前2天交易日)
  16826. type: string
  16827. reckondate:
  16828. description: 上个交易日(前1天交易日)
  16829. type: string
  16830. todayavgprice:
  16831. description: 上个交易日价格(前1天价格)
  16832. type: string
  16833. updown:
  16834. description: 涨跌
  16835. type: string
  16836. updownratio:
  16837. description: 涨幅(已格式化, 直接显示即可)
  16838. type: string
  16839. type: object
  16840. models.WrSpotGroupTradeSumDetail:
  16841. properties:
  16842. deliverygoodsid:
  16843. description: 现货商品id
  16844. type: integer
  16845. price:
  16846. description: 价格
  16847. type: number
  16848. reckondate:
  16849. description: 日期(yyymmdd, 如:20211031)
  16850. type: string
  16851. type: object
  16852. models.WrSpotGroupTradeSumEx:
  16853. properties:
  16854. lst:
  16855. description: 指数列表
  16856. items:
  16857. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  16858. type: array
  16859. prereckondate:
  16860. description: 上上个交易日(yyymmdd)
  16861. type: string
  16862. reckondate:
  16863. description: 上个交易日(yyyymmdd)
  16864. type: string
  16865. type: object
  16866. models.WrStandardFactoryItem:
  16867. properties:
  16868. dgfactoryitemid:
  16869. description: 选择项id
  16870. type: integer
  16871. dgfactoryitemvalue:
  16872. description: 要素项值
  16873. type: string
  16874. warehouseid:
  16875. description: 仓库id
  16876. type: integer
  16877. type: object
  16878. models.WrStandardFactoryItemEx:
  16879. properties:
  16880. dgfactoryitemtypeid:
  16881. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16882. type: integer
  16883. itemlst:
  16884. description: 要素项列表
  16885. items:
  16886. $ref: '#/definitions/models.WrStandardFactoryItem'
  16887. type: array
  16888. itemtypename:
  16889. description: 要素项类型名称
  16890. type: string
  16891. wrstandardid:
  16892. description: 品类
  16893. type: integer
  16894. type: object
  16895. models.WrTradeDetail:
  16896. properties:
  16897. accountid:
  16898. description: 资金账号
  16899. type: integer
  16900. begindate:
  16901. description: 开始交易日(yyyymmdd)
  16902. type: string
  16903. buyorsell:
  16904. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16905. type: integer
  16906. chargevalue:
  16907. description: 手续费
  16908. type: number
  16909. deliverygoodscode:
  16910. description: 品种代码
  16911. type: string
  16912. deliverygoodsid:
  16913. description: 品种ID
  16914. type: integer
  16915. deliverygoodsname:
  16916. description: 品种名称
  16917. type: string
  16918. deliverymonth:
  16919. description: 交收月
  16920. type: string
  16921. enddate:
  16922. description: 结束交易日(yyyymmdd)
  16923. type: string
  16924. enumdicname:
  16925. description: 单位名称
  16926. type: string
  16927. haswr:
  16928. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16929. type: integer
  16930. marketid:
  16931. description: 市场ID
  16932. type: integer
  16933. matchaccountid:
  16934. description: 对手账号
  16935. type: integer
  16936. matchusername:
  16937. description: 对手方
  16938. type: string
  16939. minivalue:
  16940. description: 现货商品最小变动值
  16941. type: integer
  16942. optioncompare:
  16943. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16944. type: string
  16945. tradedate:
  16946. description: 交易日(yyyyMMdd)
  16947. type: string
  16948. tradeprice:
  16949. description: 成交价格
  16950. type: number
  16951. tradeqty:
  16952. description: 成交数量
  16953. type: number
  16954. tradetime:
  16955. description: 成交时间
  16956. type: string
  16957. userid:
  16958. description: 用户ID
  16959. type: integer
  16960. warehouseid:
  16961. description: 仓库ID
  16962. type: integer
  16963. warehousename:
  16964. description: 仓库名称
  16965. type: string
  16966. wrfactortypeid:
  16967. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16968. type: string
  16969. wrfactortypename:
  16970. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16971. type: string
  16972. wrstandardcode:
  16973. description: 现货商品代码
  16974. type: string
  16975. wrstandardid:
  16976. description: 现货商品ID
  16977. type: integer
  16978. wrstandardname:
  16979. description: 商品名称
  16980. type: string
  16981. wrtradedetailid:
  16982. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  16983. type: string
  16984. wrtradetype:
  16985. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16986. type: integer
  16987. wrtypename:
  16988. description: 商品
  16989. type: string
  16990. type: object
  16991. models.WrTradeOrderDetail:
  16992. properties:
  16993. buyorsell:
  16994. description: 买卖方向 0-买 1-卖
  16995. type: integer
  16996. goodsid:
  16997. description: 商品id
  16998. type: integer
  16999. orderid:
  17000. description: 委托单号
  17001. type: string
  17002. orderprice:
  17003. description: 委托价格
  17004. type: number
  17005. orderqty:
  17006. description: 委托数量
  17007. type: integer
  17008. userid:
  17009. description: 用户id
  17010. type: integer
  17011. username:
  17012. description: 用户名称(已脱敏)
  17013. type: string
  17014. type: object
  17015. models.WrTypeItem:
  17016. properties:
  17017. name:
  17018. description: 名称
  17019. type: string
  17020. value:
  17021. description: 值
  17022. type: string
  17023. type: object
  17024. models.WrUserFriend:
  17025. properties:
  17026. friendname:
  17027. description: 朋友名称(已脱敏)
  17028. type: string
  17029. frienduserid:
  17030. description: 朋友id
  17031. type: integer
  17032. isfriend:
  17033. description: 是否好友 0-不是 1-是
  17034. type: integer
  17035. userid:
  17036. description: 用户id
  17037. type: integer
  17038. type: object
  17039. models.WrUserReceiptInfo:
  17040. properties:
  17041. address:
  17042. description: 地址[发票类型:企业]
  17043. type: string
  17044. autoid:
  17045. description: AutoID
  17046. type: integer
  17047. contactinfo:
  17048. description: 联系方式
  17049. type: string
  17050. idnum:
  17051. description: 身份证号码[发票类型:个人]
  17052. type: string
  17053. isdefault:
  17054. description: 是否默认地址 - 0:否 1:是
  17055. type: integer
  17056. receiptaccount:
  17057. description: 发票帐号[发票类型:企业]
  17058. type: string
  17059. receiptbank:
  17060. description: 发票开户行[发票类型:企业]
  17061. type: string
  17062. receipttype:
  17063. description: 发票类型 - 1:个人 2:企业
  17064. type: integer
  17065. taxpayerid:
  17066. description: 纳税人识别号
  17067. type: string
  17068. userid:
  17069. description: 用户ID
  17070. type: integer
  17071. username:
  17072. description: 户名(个人姓名或企业名称)
  17073. type: string
  17074. type: object
  17075. models.XHBRAND:
  17076. properties:
  17077. brandid:
  17078. description: 品牌id
  17079. type: integer
  17080. brandname:
  17081. description: 品牌名称
  17082. type: string
  17083. isvalid:
  17084. description: 是否有效 0-无效 1-有效
  17085. type: integer
  17086. type: object
  17087. models.XHDeliveryGoods:
  17088. properties:
  17089. areauserid:
  17090. description: 所属机构
  17091. type: integer
  17092. bdlst:
  17093. description: 品牌列表
  17094. items:
  17095. $ref: '#/definitions/models.XHBRAND'
  17096. type: array
  17097. deliverygoodscode:
  17098. description: 现货品种代码
  17099. type: string
  17100. deliverygoodsid:
  17101. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17102. type: integer
  17103. deliverygoodsname:
  17104. description: 现货品种名称
  17105. type: string
  17106. dgstatus:
  17107. description: 品种状态 - 作废 - 0:未激活 1:正常
  17108. type: integer
  17109. isvalid:
  17110. description: 是否有效 - 0:无效 1:有效
  17111. type: integer
  17112. remark:
  17113. description: 备注
  17114. type: string
  17115. unitid:
  17116. description: 单位id(目前看,数据库中是空值)
  17117. type: integer
  17118. wdlst:
  17119. description: 品类(现货商品)列表
  17120. items:
  17121. $ref: '#/definitions/models.XHWrstandard'
  17122. type: array
  17123. type: object
  17124. models.XHMiddleGoods:
  17125. properties:
  17126. GPLST:
  17127. description: 期货品种列表
  17128. items:
  17129. $ref: '#/definitions/models.TBGoodsGroup'
  17130. type: array
  17131. convertratio:
  17132. description: 拆算系数
  17133. type: number
  17134. costratio:
  17135. description: 成本权重
  17136. type: number
  17137. deliverygoodsid:
  17138. description: 现货商品id
  17139. type: integer
  17140. enumdicname:
  17141. description: 单位名称
  17142. type: string
  17143. middlegoodscode:
  17144. description: 套保品种代码
  17145. type: string
  17146. middlegoodsid:
  17147. description: 套保品种id
  17148. type: integer
  17149. middlegoodsname:
  17150. description: 套保品种名称
  17151. type: string
  17152. unitid:
  17153. description: 单位id
  17154. type: integer
  17155. type: object
  17156. models.XHWrstandard:
  17157. properties:
  17158. deliverygoodsid:
  17159. description: 品种ID
  17160. type: integer
  17161. enumdicname:
  17162. description: 单位名称
  17163. type: string
  17164. mglst:
  17165. description: 套保品列表
  17166. items:
  17167. $ref: '#/definitions/models.XHMiddleGoods'
  17168. type: array
  17169. unitid:
  17170. description: 单位id
  17171. type: integer
  17172. vatrate:
  17173. description: 增值税率
  17174. type: number
  17175. wrstandardcode:
  17176. description: 现货商品代码
  17177. type: string
  17178. wrstandardid:
  17179. description: 现货商品ID(SEQ_WRSTANDARD)
  17180. type: integer
  17181. wrstandardname:
  17182. description: 现货商品名称
  17183. type: string
  17184. type: object
  17185. order.QueryHisTradeDetailRsp:
  17186. properties:
  17187. accountid:
  17188. description: 账户ID[报价币种]
  17189. type: integer
  17190. advanceratio:
  17191. description: 首付比率
  17192. type: number
  17193. buildtype:
  17194. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17195. type: integer
  17196. buyorsell:
  17197. description: 方向 - 0:买 1:卖
  17198. type: integer
  17199. charge:
  17200. description: 手续费
  17201. type: number
  17202. closecharge:
  17203. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17204. type: number
  17205. closeexchagechargevalue:
  17206. description: 平仓交易所手续费设置值
  17207. type: number
  17208. closefeealgorithm:
  17209. description: 平仓手续费收取方式 1:比率 2:固定
  17210. type: integer
  17211. closememberchargevalue:
  17212. description: 平仓会员手续费设置值
  17213. type: number
  17214. closepl:
  17215. description: 平仓盈亏
  17216. type: number
  17217. closepl2:
  17218. description: 平仓盈亏[逐笔]
  17219. type: number
  17220. closeqty:
  17221. description: 平仓数量(先建后平操作 需要记录)
  17222. type: number
  17223. creditamount:
  17224. description: 授信金额
  17225. type: number
  17226. decimalplace:
  17227. description: 商品报价小数位
  17228. type: integer
  17229. enumdicname:
  17230. description: 单位名称
  17231. type: string
  17232. gcaccountid:
  17233. description: 账户ID[合约币种]
  17234. type: integer
  17235. goodscode:
  17236. description: 商品代码
  17237. type: string
  17238. goodsid:
  17239. description: 商品ID
  17240. type: integer
  17241. goodsname:
  17242. description: 商品名称
  17243. type: string
  17244. goodunitid:
  17245. description: 商品单位id
  17246. type: integer
  17247. histradedate:
  17248. description: 历史交易日
  17249. type: string
  17250. intclosepl:
  17251. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17252. type: integer
  17253. isconfirmexercise:
  17254. description: 是否确认行权- 0:否 1:是
  17255. type: integer
  17256. ismain:
  17257. description: 是否主单 - 0:不是 1:是
  17258. type: integer
  17259. ispreexercise:
  17260. description: 是否预申报- 0:否 1:是
  17261. type: integer
  17262. isreckoned:
  17263. description: 是否结算 - 0:未结算 1:已结算
  17264. type: integer
  17265. isvaliddata:
  17266. description: 是否有效 - 0:无效 1:有效
  17267. type: integer
  17268. listingselecttype:
  17269. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17270. type: integer
  17271. marketid:
  17272. description: 市场ID
  17273. type: integer
  17274. marketname:
  17275. description: 市场名称
  17276. type: string
  17277. matchaccountid:
  17278. description: 对手账号id
  17279. type: integer
  17280. memberuserid:
  17281. description: 会员id 个人投资者 需要填写
  17282. type: integer
  17283. opencharge:
  17284. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17285. type: number
  17286. openexchagechargevalue:
  17287. description: 建仓交易所手续费设置值
  17288. type: number
  17289. openfeealgorithm:
  17290. description: 建仓手续费收取方式 1:比率 2:固定
  17291. type: integer
  17292. openmemberchargevalue:
  17293. description: 建仓会员手续费设置值
  17294. type: number
  17295. openqty:
  17296. description: 开仓数量(先建后平操作 需要记录)
  17297. type: number
  17298. optiontype:
  17299. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17300. type: integer
  17301. orderid:
  17302. description: 委托单号
  17303. type: string
  17304. payamount:
  17305. description: 支付金额(付款金额)
  17306. type: number
  17307. performanceplanid:
  17308. description: 履约计划ID[期权]
  17309. type: integer
  17310. performancestatus:
  17311. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17312. type: integer
  17313. preexerciseprice:
  17314. description: 预申报价格
  17315. type: number
  17316. premium:
  17317. description: 权利金 - [持仓单的权利金]
  17318. type: number
  17319. qtydecimalplace:
  17320. description: 商品报价小数位
  17321. type: integer
  17322. recvamount:
  17323. description: 到账金额 = 成交金额 - 手续费
  17324. type: number
  17325. relatedouttradeid:
  17326. description: 关联外部成交单ID
  17327. type: integer
  17328. status:
  17329. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17330. type: integer
  17331. totalamount:
  17332. description: 订单总额 = 成交金额 + 手续费
  17333. type: number
  17334. tradeamount:
  17335. description: 成交金额[账户币种,用于所有权]
  17336. type: number
  17337. tradedate:
  17338. description: 交易日(yyyyMMdd)
  17339. type: string
  17340. tradeid:
  17341. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17342. type: string
  17343. trademode:
  17344. description: 交易模式
  17345. type: integer
  17346. tradeprice:
  17347. description: 成交价格
  17348. type: number
  17349. tradeproperty:
  17350. description: 交易属性
  17351. type: integer
  17352. tradeqty:
  17353. description: 成交数量
  17354. type: number
  17355. tradetime:
  17356. description: 成交时间
  17357. type: string
  17358. tradetype:
  17359. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17360. type: integer
  17361. required:
  17362. - accountid
  17363. - buyorsell
  17364. - goodsid
  17365. - histradedate
  17366. - marketid
  17367. - memberuserid
  17368. - orderid
  17369. - tradeamount
  17370. - tradedate
  17371. - tradeid
  17372. - tradeprice
  17373. - tradeqty
  17374. - tradetime
  17375. type: object
  17376. order.QueryHisTradeOrderDetailRsp:
  17377. properties:
  17378. accountid:
  17379. description: 账户ID[报价币种]
  17380. type: integer
  17381. buildtype:
  17382. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17383. type: integer
  17384. buyorsell:
  17385. description: 买卖 - 0:买 1:卖
  17386. type: integer
  17387. cancelorderid:
  17388. description: 撤单单号(撤单时填写)
  17389. type: string
  17390. cancelqty:
  17391. description: 撤单数量
  17392. type: number
  17393. clientordertime:
  17394. description: 客户端委托时间
  17395. type: string
  17396. clientticket:
  17397. description: 客户端流水号
  17398. type: string
  17399. clienttype:
  17400. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17401. type: integer
  17402. closeexchagechargevalue:
  17403. description: 平仓交易所手续费设置值
  17404. type: number
  17405. closefeealgorithm:
  17406. description: 平仓手续费收取方式 1:比率 2:固定
  17407. type: integer
  17408. closefreezecharge:
  17409. description: 平仓冻结手续费(先建后平操作,需要记录)
  17410. type: number
  17411. closememberchargevalue:
  17412. description: 平仓会员手续费设置值
  17413. type: number
  17414. closeqty:
  17415. description: 平仓数量(先建后平操作 需要记录)
  17416. type: number
  17417. closetradeqty:
  17418. description: 平仓成交数量(先建后平操作,需要记录)
  17419. type: number
  17420. closeunfreezecharge:
  17421. description: 平仓解冻手续费(先建后平操作,需要记录)
  17422. type: number
  17423. decimalplace:
  17424. description: 商品报价小数位
  17425. type: integer
  17426. delistingtype:
  17427. description: 摘牌类型 - 1:价格最优 2:点选成交
  17428. type: integer
  17429. enumdicname:
  17430. description: 单位名称
  17431. type: string
  17432. freezecharge:
  17433. description: 冻结手续费
  17434. type: number
  17435. freezemargin:
  17436. description: 冻结保证金(冻结交易金额)
  17437. type: number
  17438. gcaccountid:
  17439. description: 账户ID[合约币种]
  17440. type: integer
  17441. goodscode:
  17442. description: 商品代码
  17443. type: string
  17444. goodsid:
  17445. description: 商品ID
  17446. type: integer
  17447. goodsname:
  17448. description: 商品名称
  17449. type: string
  17450. goodunitid:
  17451. description: 商品单位id
  17452. type: integer
  17453. histradedate:
  17454. description: 历史交易日
  17455. type: string
  17456. isconfirmexercise:
  17457. description: 是否确认行权- 0:否 1:是
  17458. type: integer
  17459. ispreexercise:
  17460. description: 是否预申报- 0:否 1:是
  17461. type: integer
  17462. isvaliddata:
  17463. description: 是否有效 - 0:无效 1:有效
  17464. type: integer
  17465. listingselecttype:
  17466. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17467. type: integer
  17468. marginalgorithm:
  17469. description: 保证金收取方式 1:比率 2:固定
  17470. type: integer
  17471. marginvalue:
  17472. description: 即市保证金设置值
  17473. type: number
  17474. marketid:
  17475. description: 市场ID
  17476. type: integer
  17477. marketmaxsub:
  17478. description: 市价最大偏移范围
  17479. type: number
  17480. marketname:
  17481. description: 市场名称
  17482. type: string
  17483. memberuserid:
  17484. description: 所属会员UserID
  17485. type: integer
  17486. openexchagechargevalue:
  17487. description: 建仓交易所手续费设置值
  17488. type: number
  17489. openfeealgorithm:
  17490. description: 建仓手续费收取方式 1:比率 2:固定
  17491. type: integer
  17492. openfreezecharge:
  17493. description: 开仓冻结手续费(先建后平操作,需要记录)
  17494. type: number
  17495. openmemberchargevalue:
  17496. description: 建仓会员手续费设置值
  17497. type: number
  17498. openqty:
  17499. description: 开仓数量(先建后平操作,需要记录)
  17500. type: number
  17501. opentradeqty:
  17502. description: 开仓成交数量(先建后平操作,需要记录)
  17503. type: number
  17504. openunfreezecharge:
  17505. description: 开仓解冻手续费(先建后平操作,需要记录)
  17506. type: number
  17507. operatetype:
  17508. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17509. type: integer
  17510. operatorid:
  17511. description: 登录账号(LoginID)
  17512. type: integer
  17513. optiontype:
  17514. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17515. type: integer
  17516. orderid:
  17517. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17518. type: string
  17519. orderprice:
  17520. description: 委托价格
  17521. type: number
  17522. orderqty:
  17523. description: 委托数量
  17524. type: number
  17525. ordersrc:
  17526. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17527. type: integer
  17528. orderstatus:
  17529. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17530. type: integer
  17531. ordertime:
  17532. description: 委托时间
  17533. type: string
  17534. preexerciseprice:
  17535. description: 预申报价格
  17536. type: number
  17537. premium:
  17538. description: 权利金
  17539. type: number
  17540. preorderid:
  17541. description: 关联预埋单号(止盈止损单时填写)
  17542. type: string
  17543. pricemode:
  17544. description: '取价方式 - 1:市价 2: 限价'
  17545. type: integer
  17546. qtydecimalplace:
  17547. description: 成交量小数位
  17548. type: integer
  17549. quoteid:
  17550. description: 报价单ID
  17551. type: integer
  17552. relatedid:
  17553. description: 关联单号(交割单)
  17554. type: string
  17555. retcode:
  17556. description: 错误代码
  17557. type: integer
  17558. sessionid:
  17559. description: 会话ID
  17560. type: integer
  17561. tradedate:
  17562. description: 交易日(yyyyMMdd)
  17563. type: string
  17564. trademode:
  17565. description: 交易模式
  17566. type: integer
  17567. tradeproperty:
  17568. description: 交易属性
  17569. type: integer
  17570. tradeqty:
  17571. description: 成交数量
  17572. type: number
  17573. unfreezecharge:
  17574. description: 解冻手续费
  17575. type: number
  17576. unfreezemargin:
  17577. description: 解冻保证金
  17578. type: number
  17579. updatetime:
  17580. description: 更新时间
  17581. type: string
  17582. uuid:
  17583. description: 发起端唯一id
  17584. type: string
  17585. validtime:
  17586. description: 有效期限
  17587. type: string
  17588. validtype:
  17589. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17590. type: integer
  17591. volumetype:
  17592. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17593. type: integer
  17594. required:
  17595. - accountid
  17596. - buildtype
  17597. - buyorsell
  17598. - goodsid
  17599. - histradedate
  17600. - marketid
  17601. - memberuserid
  17602. - operatetype
  17603. - orderid
  17604. - orderqty
  17605. - ordertime
  17606. - pricemode
  17607. - tradedate
  17608. - validtype
  17609. type: object
  17610. order.QueryTradeDetailRsp:
  17611. properties:
  17612. accountid:
  17613. description: 账户ID[报价币种]
  17614. type: integer
  17615. advanceratio:
  17616. description: 首付比率
  17617. type: number
  17618. buildtype:
  17619. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17620. type: integer
  17621. buyorsell:
  17622. description: 方向 - 0:买 1:卖
  17623. type: integer
  17624. charge:
  17625. description: 手续费
  17626. type: number
  17627. closecharge:
  17628. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17629. type: number
  17630. closeexchagechargevalue:
  17631. description: 平仓交易所手续费设置值
  17632. type: number
  17633. closefeealgorithm:
  17634. description: 平仓手续费收取方式 1:比率 2:固定
  17635. type: integer
  17636. closememberchargevalue:
  17637. description: 平仓会员手续费设置值
  17638. type: number
  17639. closepl:
  17640. description: 平仓盈亏
  17641. type: number
  17642. closepl2:
  17643. description: 平仓盈亏[逐笔]
  17644. type: number
  17645. closeqty:
  17646. description: 平仓数量(先建后平操作 需要记录)
  17647. type: number
  17648. creditamount:
  17649. description: 授信金额
  17650. type: number
  17651. decimalplace:
  17652. description: 商品报价小数位
  17653. type: integer
  17654. enumdicname:
  17655. description: 单位名称
  17656. type: string
  17657. gcaccountid:
  17658. description: 账户ID[合约币种]
  17659. type: integer
  17660. goodscode:
  17661. description: 商品代码
  17662. type: string
  17663. goodsid:
  17664. description: 商品ID
  17665. type: integer
  17666. goodsname:
  17667. description: 商品名称
  17668. type: string
  17669. goodunitid:
  17670. description: 商品单位id
  17671. type: integer
  17672. intclosepl:
  17673. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17674. type: integer
  17675. isconfirmexercise:
  17676. description: 是否确认行权- 0:否 1:是
  17677. type: integer
  17678. ismain:
  17679. description: 是否主单 - 0:不是 1:是
  17680. type: integer
  17681. ispreexercise:
  17682. description: 是否预申报- 0:否 1:是
  17683. type: integer
  17684. isreckoned:
  17685. description: 是否结算 - 0:未结算 1:已结算
  17686. type: integer
  17687. listingselecttype:
  17688. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17689. type: integer
  17690. marketid:
  17691. description: 市场ID
  17692. type: integer
  17693. marketname:
  17694. description: 市场名称
  17695. type: string
  17696. matchaccountid:
  17697. description: 对手账号id
  17698. type: integer
  17699. memberuserid:
  17700. description: 会员id 个人投资者 需要填写
  17701. type: integer
  17702. opencharge:
  17703. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17704. type: number
  17705. openexchagechargevalue:
  17706. description: 建仓交易所手续费设置值
  17707. type: number
  17708. openfeealgorithm:
  17709. description: 建仓手续费收取方式 1:比率 2:固定
  17710. type: integer
  17711. openmemberchargevalue:
  17712. description: 建仓会员手续费设置值
  17713. type: number
  17714. openqty:
  17715. description: 开仓数量(先建后平操作 需要记录)
  17716. type: number
  17717. optiontype:
  17718. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17719. type: integer
  17720. orderid:
  17721. description: 委托单号
  17722. type: string
  17723. payamount:
  17724. description: 支付金额(付款金额)
  17725. type: number
  17726. performanceplanid:
  17727. description: 履约计划ID[期权]
  17728. type: integer
  17729. performancestatus:
  17730. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17731. type: integer
  17732. preexerciseprice:
  17733. description: 预申报价格
  17734. type: number
  17735. premium:
  17736. description: 权利金 - [持仓单的权利金]
  17737. type: number
  17738. qtydecimalplace:
  17739. description: 商品报价小数位
  17740. type: integer
  17741. recvamount:
  17742. description: 到账金额 = 成交金额 - 手续费
  17743. type: number
  17744. relatedouttradeid:
  17745. description: 关联外部成交单ID
  17746. type: integer
  17747. status:
  17748. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17749. type: integer
  17750. totalamount:
  17751. description: 订单总额 = 成交金额 + 手续费
  17752. type: number
  17753. tradeamount:
  17754. description: 成交金额[账户币种,用于所有权]
  17755. type: number
  17756. tradedate:
  17757. description: 交易日(yyyyMMdd)
  17758. type: string
  17759. tradeid:
  17760. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17761. type: string
  17762. trademode:
  17763. description: 交易模式
  17764. type: integer
  17765. tradeprice:
  17766. description: 成交价格
  17767. type: number
  17768. tradeproperty:
  17769. description: 交易属性
  17770. type: integer
  17771. tradeqty:
  17772. description: 成交数量
  17773. type: number
  17774. tradetime:
  17775. description: 成交时间
  17776. type: string
  17777. tradetype:
  17778. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17779. type: integer
  17780. required:
  17781. - accountid
  17782. - buyorsell
  17783. - goodsid
  17784. - marketid
  17785. - memberuserid
  17786. - orderid
  17787. - tradeamount
  17788. - tradedate
  17789. - tradeid
  17790. - tradeprice
  17791. - tradeqty
  17792. - tradetime
  17793. type: object
  17794. order.QueryTradeOrderDetailRsp:
  17795. properties:
  17796. accountid:
  17797. description: 账户ID[报价币种]
  17798. type: integer
  17799. buildtype:
  17800. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17801. type: integer
  17802. buyorsell:
  17803. description: 买卖 - 0:买 1:卖
  17804. type: integer
  17805. cancelorderid:
  17806. description: 撤单单号(撤单时填写)
  17807. type: string
  17808. cancelqty:
  17809. description: 撤单数量
  17810. type: number
  17811. clienttype:
  17812. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17813. type: integer
  17814. closefreezecharge:
  17815. description: 平仓冻结手续费(先建后平操作,需要记录)
  17816. type: number
  17817. closeqty:
  17818. description: 平仓数量(先建后平操作 需要记录)
  17819. type: number
  17820. closetradeqty:
  17821. description: 平仓成交数量(先建后平操作,需要记录)
  17822. type: number
  17823. closeunfreezecharge:
  17824. description: 平仓解冻手续费(先建后平操作,需要记录)
  17825. type: number
  17826. decimalplace:
  17827. description: 商品报价小数位
  17828. type: integer
  17829. delistingtype:
  17830. description: 摘牌类型 - 1:价格最优 2:点选成交
  17831. type: integer
  17832. enableqty:
  17833. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17834. type: number
  17835. enumdicname:
  17836. description: 单位名称
  17837. type: string
  17838. freezecharge:
  17839. description: 冻结手续费
  17840. type: number
  17841. freezemargin:
  17842. description: 冻结保证金(冻结交易金额)
  17843. type: number
  17844. goodscode:
  17845. description: 商品代码
  17846. type: string
  17847. goodsid:
  17848. description: 商品ID
  17849. type: integer
  17850. goodsname:
  17851. description: 商品名称
  17852. type: string
  17853. goodunitid:
  17854. description: 商品单位id
  17855. type: integer
  17856. listingselecttype:
  17857. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17858. type: integer
  17859. marketid:
  17860. description: 市场ID
  17861. type: integer
  17862. marketname:
  17863. description: 市场名称
  17864. type: string
  17865. openfreezecharge:
  17866. description: 开仓冻结手续费(先建后平操作,需要记录)
  17867. type: number
  17868. openqty:
  17869. description: 开仓数量(先建后平操作,需要记录)
  17870. type: number
  17871. opentradeqty:
  17872. description: 开仓成交数量(先建后平操作,需要记录)
  17873. type: number
  17874. openunfreezecharge:
  17875. description: 开仓解冻手续费(先建后平操作,需要记录)
  17876. type: number
  17877. operatetype:
  17878. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17879. type: integer
  17880. operatorid:
  17881. description: 登录账号(LoginID)
  17882. type: integer
  17883. orderid:
  17884. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17885. type: string
  17886. orderprice:
  17887. description: 委托价格
  17888. type: number
  17889. orderqty:
  17890. description: 委托数量
  17891. type: number
  17892. ordersrc:
  17893. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17894. type: integer
  17895. orderstatus:
  17896. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17897. type: integer
  17898. ordertime:
  17899. description: 委托时间
  17900. type: string
  17901. preorderid:
  17902. description: 关联预埋单号(止盈止损单时填写)
  17903. type: string
  17904. pricemode:
  17905. description: '取价方式 - 1:市价 2: 限价'
  17906. type: integer
  17907. qtydecimalplace:
  17908. description: 商品报价小数位
  17909. type: integer
  17910. relatedid:
  17911. description: 关联单号(交割单)
  17912. type: string
  17913. tradedate:
  17914. description: 交易日(yyyyMMdd)
  17915. type: string
  17916. trademode:
  17917. description: 交易模式
  17918. type: integer
  17919. tradeqty:
  17920. description: 成交数量
  17921. type: number
  17922. unfreezecharge:
  17923. description: 解冻手续费
  17924. type: number
  17925. unfreezemargin:
  17926. description: 解冻保证金
  17927. type: number
  17928. validtime:
  17929. description: 有效期限
  17930. type: string
  17931. validtype:
  17932. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17933. type: integer
  17934. volumetype:
  17935. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17936. type: integer
  17937. required:
  17938. - accountid
  17939. - buildtype
  17940. - buyorsell
  17941. - goodsid
  17942. - marketid
  17943. - operatetype
  17944. - orderqty
  17945. - ordertime
  17946. - pricemode
  17947. - tradedate
  17948. - validtype
  17949. type: object
  17950. order.QueryTradePositionRsp:
  17951. properties:
  17952. accountid:
  17953. description: 资金账户
  17954. type: integer
  17955. agreeunit:
  17956. description: 合约单位
  17957. type: number
  17958. averageprice:
  17959. description: 持仓均价
  17960. type: number
  17961. buyorsell:
  17962. description: 方向 - 0:买 1:卖
  17963. type: integer
  17964. closetotalqty:
  17965. description: 平仓总数量
  17966. type: number
  17967. curholderamount:
  17968. description: 当前持仓总金额[商品币种]
  17969. type: number
  17970. curpositionqty:
  17971. description: 当前持仓总数量
  17972. type: number
  17973. currencyid:
  17974. description: 报价货币ID
  17975. type: integer
  17976. curtdposition:
  17977. description: 期末今日头寸
  17978. type: number
  17979. decimalplace:
  17980. description: 报价小数位
  17981. type: integer
  17982. enableqty:
  17983. description: 可用量
  17984. type: number
  17985. fretdposition:
  17986. description: 冻结今日头寸
  17987. type: number
  17988. frozenqty:
  17989. description: 持仓冻结数量
  17990. type: number
  17991. goodscode:
  17992. description: 商品代码
  17993. type: string
  17994. goodsid:
  17995. description: 商品Id
  17996. type: integer
  17997. goodsname:
  17998. description: 商品名称
  17999. type: string
  18000. goodunit:
  18001. description: 报价单位
  18002. type: string
  18003. goodunitid:
  18004. description: 报价单位ID
  18005. type: integer
  18006. holderamount:
  18007. description: 期初持仓总金额[商品币种]
  18008. type: number
  18009. lastprice:
  18010. description: 最新价
  18011. type: number
  18012. marketamount:
  18013. description: 市值
  18014. type: number
  18015. marketid:
  18016. description: 所属市场ID
  18017. type: integer
  18018. openreqqty:
  18019. description: 开仓申请数量(用于比较最大持仓数量)
  18020. type: number
  18021. opentotalqty:
  18022. description: 开仓总数量
  18023. type: number
  18024. otherfrozenqty:
  18025. description: 持仓其他冻结数量(交割冻结)
  18026. type: number
  18027. positionpl:
  18028. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  18029. type: number
  18030. positionplrate:
  18031. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  18032. type: number
  18033. positionqty:
  18034. description: 期初持仓数量
  18035. type: number
  18036. qtydecimalplace:
  18037. description: 成交量小数位
  18038. type: integer
  18039. refgoodscode:
  18040. description: 参考商品代码
  18041. type: string
  18042. refgoodsid:
  18043. description: 参考商品ID
  18044. type: integer
  18045. tnqty:
  18046. description: T+N冻结总量
  18047. type: number
  18048. tnusedqty:
  18049. description: T+N使用量(可以使用T+N的冻结数量)
  18050. type: number
  18051. trademode:
  18052. description: 交易模式
  18053. type: integer
  18054. tradeproperty:
  18055. description: 交易属性
  18056. type: integer
  18057. usedmargin:
  18058. description: 占用保证金[商品币种]
  18059. type: number
  18060. required:
  18061. - goodsid
  18062. type: object
  18063. pb.GoodsMarginCfgStruct:
  18064. properties:
  18065. CustomerTypeID:
  18066. description: 投资者客户类型
  18067. type: integer
  18068. GoodsID:
  18069. description: 商品ID
  18070. type: integer
  18071. IsDefault:
  18072. description: 是否默认标志位
  18073. type: integer
  18074. LockMarginValue:
  18075. description: 锁仓保证金
  18076. type: number
  18077. MarginAlgorithm:
  18078. description: 保证金计算方式
  18079. type: integer
  18080. MarketMarginValue:
  18081. description: 即市保证金值
  18082. type: number
  18083. RealMarginAlgorithm:
  18084. description: 实付保证金计算方式
  18085. type: integer
  18086. RealMarginValue:
  18087. description: 实付比例
  18088. type: number
  18089. ReckonMarginValue:
  18090. description: 结算保证金值
  18091. type: number
  18092. type: object
  18093. quote.HistoryData:
  18094. properties:
  18095. c:
  18096. description: 收盘价
  18097. type: number
  18098. f:
  18099. description: 是否补充数据
  18100. type: boolean
  18101. h:
  18102. description: 最高价
  18103. type: number
  18104. hv:
  18105. description: 持仓量
  18106. type: integer
  18107. l:
  18108. description: 最低价
  18109. type: number
  18110. o:
  18111. description: 开盘价
  18112. type: number
  18113. s:
  18114. description: 结算价,日线周期(包括)以上才有
  18115. type: number
  18116. ts:
  18117. description: 时间
  18118. type: string
  18119. tt:
  18120. description: 总金额
  18121. type: number
  18122. tv:
  18123. description: 总量(成交量)
  18124. type: integer
  18125. type: object
  18126. quote.HistoryTikData:
  18127. properties:
  18128. AV:
  18129. description: 卖量
  18130. type: integer
  18131. Ask:
  18132. description: 卖价
  18133. type: number
  18134. BV:
  18135. description: 买量
  18136. type: integer
  18137. Bid:
  18138. description: 买价
  18139. type: number
  18140. HI:
  18141. description: 单笔持仓
  18142. type: integer
  18143. HV:
  18144. description: 持仓量
  18145. type: integer
  18146. PE:
  18147. description: 现价
  18148. type: number
  18149. TDR:
  18150. description: 交易方向,0:买 1:卖
  18151. type: integer
  18152. TK:
  18153. description: 交易类型
  18154. type: integer
  18155. TS:
  18156. description: 行情时间文本
  18157. type: string
  18158. TT:
  18159. description: 现金额
  18160. type: number
  18161. Vol:
  18162. description: 现量
  18163. type: integer
  18164. type: object
  18165. quote.QueryQuoteDayRsp:
  18166. properties:
  18167. ask:
  18168. description: 卖1
  18169. type: number
  18170. ask2:
  18171. description: 卖2
  18172. type: number
  18173. ask3:
  18174. description: 卖3
  18175. type: number
  18176. ask4:
  18177. description: 卖4
  18178. type: number
  18179. ask5:
  18180. description: 卖5
  18181. type: number
  18182. ask6:
  18183. description: 卖6
  18184. type: number
  18185. ask7:
  18186. description: 卖7
  18187. type: number
  18188. ask8:
  18189. description: 卖8
  18190. type: number
  18191. ask9:
  18192. description: 卖9
  18193. type: number
  18194. ask10:
  18195. description: 卖10
  18196. type: number
  18197. askorderid:
  18198. description: 卖单号1
  18199. type: integer
  18200. askorderid2:
  18201. description: 卖单号2
  18202. type: integer
  18203. askorderid3:
  18204. description: 卖单号3
  18205. type: integer
  18206. askorderid4:
  18207. description: 卖单号4
  18208. type: integer
  18209. askorderid5:
  18210. description: 卖单号5
  18211. type: integer
  18212. askordervolume:
  18213. description: 卖单量1
  18214. type: integer
  18215. askordervolume2:
  18216. description: 卖单量2
  18217. type: integer
  18218. askordervolume3:
  18219. description: 卖单量3
  18220. type: integer
  18221. askordervolume4:
  18222. description: 卖单量4
  18223. type: integer
  18224. askordervolume5:
  18225. description: 卖单量5
  18226. type: integer
  18227. askordervolume6:
  18228. description: 卖单量6
  18229. type: integer
  18230. askordervolume7:
  18231. description: 卖单量7
  18232. type: integer
  18233. askordervolume8:
  18234. description: 卖单量8
  18235. type: integer
  18236. askordervolume9:
  18237. description: 卖单量9
  18238. type: integer
  18239. askordervolume10:
  18240. description: 卖单量10
  18241. type: integer
  18242. askqueueinfo:
  18243. description: 大利市卖港股用
  18244. type: string
  18245. askvolume:
  18246. description: 卖量1
  18247. type: integer
  18248. askvolume2:
  18249. description: 卖量2
  18250. type: integer
  18251. askvolume3:
  18252. description: 卖量3
  18253. type: integer
  18254. askvolume4:
  18255. description: 卖量4
  18256. type: integer
  18257. askvolume5:
  18258. description: 卖量5
  18259. type: integer
  18260. askvolume6:
  18261. description: 卖量6
  18262. type: integer
  18263. askvolume7:
  18264. description: 卖量7
  18265. type: integer
  18266. askvolume8:
  18267. description: 卖量8
  18268. type: integer
  18269. askvolume9:
  18270. description: 卖量9
  18271. type: integer
  18272. askvolume10:
  18273. description: 卖量10
  18274. type: integer
  18275. averageprice:
  18276. description: 均价
  18277. type: number
  18278. bid:
  18279. description: 买1
  18280. type: number
  18281. bid2:
  18282. description: 买2
  18283. type: number
  18284. bid3:
  18285. description: 买3
  18286. type: number
  18287. bid4:
  18288. description: 买4
  18289. type: number
  18290. bid5:
  18291. description: 买5
  18292. type: number
  18293. bid6:
  18294. description: 买6
  18295. type: number
  18296. bid7:
  18297. description: 买7
  18298. type: number
  18299. bid8:
  18300. description: 买8
  18301. type: number
  18302. bid9:
  18303. description: 买9
  18304. type: number
  18305. bid10:
  18306. description: 买10
  18307. type: number
  18308. bidorderid:
  18309. description: 买单号1
  18310. type: integer
  18311. bidorderid2:
  18312. description: 买单号2
  18313. type: integer
  18314. bidorderid3:
  18315. description: 买单号3
  18316. type: integer
  18317. bidorderid4:
  18318. description: 买单号4
  18319. type: integer
  18320. bidorderid5:
  18321. description: 买单号5
  18322. type: integer
  18323. bidordervolume:
  18324. description: 买单量1
  18325. type: integer
  18326. bidordervolume2:
  18327. description: 买单量2
  18328. type: integer
  18329. bidordervolume3:
  18330. description: 买单量3
  18331. type: integer
  18332. bidordervolume4:
  18333. description: 买单量4
  18334. type: integer
  18335. bidordervolume5:
  18336. description: 买单量5
  18337. type: integer
  18338. bidordervolume6:
  18339. description: 买单量6
  18340. type: integer
  18341. bidordervolume7:
  18342. description: 买单量7
  18343. type: integer
  18344. bidordervolume8:
  18345. description: 买单量8
  18346. type: integer
  18347. bidordervolume9:
  18348. description: 买单量9
  18349. type: integer
  18350. bidordervolume10:
  18351. description: 买单量10
  18352. type: integer
  18353. bidqueueinfo:
  18354. description: 大利市买港股用
  18355. type: string
  18356. bidvolume:
  18357. description: 买量1
  18358. type: integer
  18359. bidvolume2:
  18360. description: 买量2
  18361. type: integer
  18362. bidvolume3:
  18363. description: 买量3
  18364. type: integer
  18365. bidvolume4:
  18366. description: 买量4
  18367. type: integer
  18368. bidvolume5:
  18369. description: 买量5
  18370. type: integer
  18371. bidvolume6:
  18372. description: 买量6
  18373. type: integer
  18374. bidvolume7:
  18375. description: 买量7
  18376. type: integer
  18377. bidvolume8:
  18378. description: 买量8
  18379. type: integer
  18380. bidvolume9:
  18381. description: 买量9
  18382. type: integer
  18383. bidvolume10:
  18384. description: 买量10
  18385. type: integer
  18386. calloptionpremiums:
  18387. description: 认购期权1
  18388. type: integer
  18389. calloptionpremiums2:
  18390. description: 认购期权2
  18391. type: integer
  18392. calloptionpremiums3:
  18393. description: 认购期权3
  18394. type: integer
  18395. calloptionpremiums4:
  18396. description: 认购期权4
  18397. type: integer
  18398. calloptionpremiums5:
  18399. description: 认购期权5
  18400. type: integer
  18401. cleartime:
  18402. description: 清盘时间
  18403. type: integer
  18404. exchangecode:
  18405. description: 交易所代码
  18406. type: integer
  18407. exchangedate:
  18408. description: 交易日
  18409. type: integer
  18410. goodscode:
  18411. description: 商品代码
  18412. type: string
  18413. grepmarketprice:
  18414. description: 暗盘价 港股专用
  18415. type: number
  18416. highest:
  18417. description: 最高价
  18418. type: number
  18419. holdincrement:
  18420. description: 单笔持仓
  18421. type: integer
  18422. holdvolume:
  18423. description: 持仓
  18424. type: integer
  18425. iep:
  18426. description: 平衡价 港股专用
  18427. type: number
  18428. iev:
  18429. description: 平衡量 港股专用
  18430. type: number
  18431. inventory:
  18432. description: 库存
  18433. type: integer
  18434. iscleared:
  18435. description: 是否清盘标志
  18436. type: integer
  18437. issettled:
  18438. description: 是否结算标志
  18439. type: integer
  18440. last:
  18441. description: 最新价
  18442. type: number
  18443. lastlot:
  18444. description: 最新成交手数
  18445. type: integer
  18446. lasttime:
  18447. description: 行情时间(只有现价变化行情时间才变化)
  18448. type: string
  18449. lastturnover:
  18450. description: 最新成交金额
  18451. type: number
  18452. lastvolume:
  18453. description: 最新成交量
  18454. type: integer
  18455. limitdown:
  18456. description: 跌停价
  18457. type: number
  18458. limitup:
  18459. description: 涨停价
  18460. type: number
  18461. lowest:
  18462. description: 最低价
  18463. type: number
  18464. nontotalholdervolume:
  18465. description: 非交易持仓量
  18466. type: integer
  18467. nontotallot:
  18468. description: 非交易总手数
  18469. type: integer
  18470. nontotalturnover:
  18471. description: 非交易总金额
  18472. type: integer
  18473. nontotalvolume:
  18474. description: 非交易总量
  18475. type: integer
  18476. opened:
  18477. description: 开盘价
  18478. type: number
  18479. opentime:
  18480. description: 开盘时间
  18481. type: string
  18482. orderid:
  18483. description: 序号
  18484. type: integer
  18485. preclose:
  18486. description: 昨收
  18487. type: number
  18488. preholdvolume:
  18489. description: 昨持仓
  18490. type: integer
  18491. presettle:
  18492. description: 昨结价
  18493. type: number
  18494. publictradetype:
  18495. description: 公共交易标志类型 港股专用
  18496. type: string
  18497. putoptionpremiums:
  18498. description: 认沽期权1
  18499. type: integer
  18500. putoptionpremiums2:
  18501. description: 认沽期权2
  18502. type: integer
  18503. putoptionpremiums3:
  18504. description: 认沽期权3
  18505. type: integer
  18506. putoptionpremiums4:
  18507. description: 认沽期权4
  18508. type: integer
  18509. putoptionpremiums5:
  18510. description: 认沽期权5
  18511. type: integer
  18512. settle:
  18513. description: 结算价
  18514. type: number
  18515. strikeprice:
  18516. description: 发行价
  18517. type: number
  18518. totalaskvolume:
  18519. description: 内盘
  18520. type: integer
  18521. totalbidvolume:
  18522. description: 外盘
  18523. type: integer
  18524. totallot:
  18525. description: 总手数
  18526. type: integer
  18527. totalturnover:
  18528. description: 总金额
  18529. type: number
  18530. totalvolume:
  18531. description: 总量
  18532. type: integer
  18533. utclasttime:
  18534. description: utc的行情时间
  18535. type: string
  18536. type: object
  18537. quote.QueryTSDataRsp:
  18538. properties:
  18539. Count:
  18540. description: 交易日应有数据个数
  18541. type: integer
  18542. decimalPlace:
  18543. description: 小数位
  18544. type: integer
  18545. endTime:
  18546. description: 结束时间
  18547. type: string
  18548. goodsCode:
  18549. description: 商品代码
  18550. type: string
  18551. historyDatas:
  18552. description: 历史数据
  18553. items:
  18554. $ref: '#/definitions/quote.HistoryData'
  18555. type: array
  18556. outGoodsCode:
  18557. description: 外部商品代码
  18558. type: string
  18559. preSettle:
  18560. description: 昨结价
  18561. type: number
  18562. runSteps:
  18563. description: 交易日开休市计划
  18564. items:
  18565. $ref: '#/definitions/quote.TSDataRunStep'
  18566. type: array
  18567. startTime:
  18568. description: 开始时间
  18569. type: string
  18570. tradeDate:
  18571. description: 交易日
  18572. type: string
  18573. type: object
  18574. quote.TSDataRunStep:
  18575. properties:
  18576. end:
  18577. description: 真实结束时间
  18578. type: string
  18579. endflag:
  18580. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18581. type: integer
  18582. endtime:
  18583. description: 结束时间(HH:mm)
  18584. type: string
  18585. endweekday:
  18586. description: 结束周几
  18587. type: integer
  18588. groupid:
  18589. description: 分组ID
  18590. type: integer
  18591. runstep:
  18592. description: 运行阶段 - 2:连续交易
  18593. type: integer
  18594. sectionid:
  18595. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几
  18596. type: integer
  18597. start:
  18598. description: 真实开始时间
  18599. type: string
  18600. startflag:
  18601. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18602. type: integer
  18603. starttime:
  18604. description: 起始时间(HH:mm)
  18605. type: string
  18606. startweekday:
  18607. description: 起始周几
  18608. type: integer
  18609. tradeweekday:
  18610. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18611. type: integer
  18612. type: object
  18613. szdz.QueryConvertLogRsp:
  18614. properties:
  18615. accountid:
  18616. description: 资金账户ID
  18617. type: integer
  18618. clientticket:
  18619. description: 客户端流水号
  18620. type: string
  18621. converttype:
  18622. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18623. type: integer
  18624. createtime:
  18625. description: 记账时间
  18626. type: string
  18627. daymaxvalue:
  18628. description: 配置当日最大转入限制
  18629. type: number
  18630. daymaxvalue2:
  18631. description: 配置当日最大转入限制(转入)
  18632. type: number
  18633. goodscode:
  18634. description: 商品代码
  18635. type: string
  18636. goodsname:
  18637. description: 商品名称
  18638. type: string
  18639. handlestatus:
  18640. description: 处理状态
  18641. type: integer
  18642. innergoodsid:
  18643. description: 内部商品ID
  18644. type: integer
  18645. inratio:
  18646. description: 配置转入比值
  18647. type: integer
  18648. invalue:
  18649. description: 目标值
  18650. type: number
  18651. logid:
  18652. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18653. type: integer
  18654. mobile:
  18655. description: 手机号码(加密存储)
  18656. type: string
  18657. outergoodscode:
  18658. description: 外部商品代码[JD\PD]
  18659. type: string
  18660. outratio:
  18661. description: 配置转出比值
  18662. type: integer
  18663. outvalue:
  18664. description: 源值
  18665. type: number
  18666. pddecimalplace:
  18667. description: PD小数位
  18668. type: integer
  18669. qty:
  18670. description: 数量
  18671. type: string
  18672. remark:
  18673. description: 备注
  18674. type: string
  18675. sessionid:
  18676. description: 会话ID
  18677. type: integer
  18678. timemaxvalue:
  18679. description: 配置单次最大转入限制
  18680. type: number
  18681. timemaxvalue2:
  18682. description: 配置单次最大转入限制(转入)
  18683. type: number
  18684. timeminvalue:
  18685. description: 配置单次最小数量限制
  18686. type: number
  18687. timeminvalue2:
  18688. description: 配置单次最小数量限制(转入)
  18689. type: number
  18690. tradedate:
  18691. description: 交易日(yyyyMMdd)
  18692. type: string
  18693. userid:
  18694. description: 用户ID
  18695. type: integer
  18696. required:
  18697. - logid
  18698. type: object
  18699. szdz.QueryGoodsPickupRsp:
  18700. properties:
  18701. accountid:
  18702. description: 账户ID
  18703. type: integer
  18704. address:
  18705. description: 提货人详细地址
  18706. type: string
  18707. auditer:
  18708. description: 审核人
  18709. type: integer
  18710. audittime:
  18711. description: 审核时间
  18712. type: string
  18713. cardnum:
  18714. description: 提货人证件号码
  18715. type: string
  18716. cardtypeid:
  18717. description: 提货人证件类型
  18718. type: integer
  18719. checkremark:
  18720. description: 审核备注
  18721. type: string
  18722. goodscode:
  18723. description: 商品代码
  18724. type: string
  18725. goodsid:
  18726. description: 商品ID
  18727. type: integer
  18728. goodsname:
  18729. description: 商品名称
  18730. type: string
  18731. handlestatus:
  18732. description: 处理状态
  18733. type: integer
  18734. marketid:
  18735. description: 市场ID
  18736. type: integer
  18737. phonenum:
  18738. description: 提货人联系方式
  18739. type: string
  18740. qty:
  18741. description: 提货数量
  18742. type: number
  18743. recivername:
  18744. description: 提货人姓名
  18745. type: string
  18746. reqtime:
  18747. description: 更新时间
  18748. type: string
  18749. takemode:
  18750. description: 提货方式 - 2:自提 3:配送
  18751. type: integer
  18752. takeorderid:
  18753. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18754. type: string
  18755. takeorderstatus:
  18756. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18757. type: integer
  18758. takeremark:
  18759. description: 提货备注
  18760. type: string
  18761. tradedate:
  18762. description: 交易日(yyyyMMdd)
  18763. type: string
  18764. userid:
  18765. description: 用户ID
  18766. type: integer
  18767. required:
  18768. - takeorderid
  18769. type: object
  18770. szdz.QueryRecieptOrderRsp:
  18771. properties:
  18772. accountName:
  18773. description: 所属账号名称(已脱敏)
  18774. type: string
  18775. accountid:
  18776. description: 资金账号
  18777. type: integer
  18778. buyorsell:
  18779. description: 方向 - 0:买 1:卖
  18780. type: integer
  18781. enableqty:
  18782. description: 可摘数量
  18783. type: integer
  18784. goodscode:
  18785. description: 商品代码
  18786. type: string
  18787. goodsid:
  18788. description: 商品ID
  18789. type: integer
  18790. goodsname:
  18791. description: 商品名称
  18792. type: string
  18793. orderid:
  18794. description: 委托单号
  18795. type: string
  18796. orderprice:
  18797. description: 委托价格
  18798. type: number
  18799. ordertime:
  18800. description: 委托时间
  18801. type: string
  18802. tradedate:
  18803. description: 交易日(yyyyMMdd)
  18804. type: string
  18805. required:
  18806. - ordertime
  18807. type: object
  18808. szdz.QuerySZDZTradePositionRsp:
  18809. properties:
  18810. accountid:
  18811. description: 账号Id
  18812. type: integer
  18813. agreeunit:
  18814. description: 合约单位
  18815. type: number
  18816. averageprice:
  18817. description: 持仓均价
  18818. type: number
  18819. buyorsell:
  18820. description: 方向 - 0:买 1:卖
  18821. type: integer
  18822. closetotalqty:
  18823. description: 平仓总数量
  18824. type: integer
  18825. curholderamount:
  18826. description: 当前持仓总金额
  18827. type: number
  18828. curpositionqty:
  18829. description: 当前持仓总数量
  18830. type: integer
  18831. currencyid:
  18832. description: 报价货币ID
  18833. type: integer
  18834. curtdposition:
  18835. description: 期末今日头寸
  18836. type: integer
  18837. decimalplace:
  18838. description: 报价小数位
  18839. type: integer
  18840. enableqty:
  18841. description: 可用量
  18842. type: integer
  18843. fretdposition:
  18844. description: 冻结今日头寸
  18845. type: integer
  18846. frozenqty:
  18847. description: 持仓冻结数量
  18848. type: integer
  18849. goodscode:
  18850. description: 商品代码(内部)
  18851. type: string
  18852. goodsid:
  18853. description: 商品Id
  18854. type: integer
  18855. goodsname:
  18856. description: 商品名称
  18857. type: string
  18858. goodunit:
  18859. description: 报价单位
  18860. type: string
  18861. goodunitid:
  18862. description: 报价单位ID
  18863. type: integer
  18864. holderamount:
  18865. description: 期初持仓总金额
  18866. type: number
  18867. marketid:
  18868. description: 市场ID
  18869. type: integer
  18870. openreqqty:
  18871. description: 开仓申请数量
  18872. type: integer
  18873. opentotalqty:
  18874. description: 开仓总数量
  18875. type: integer
  18876. otherfrozenqty:
  18877. description: 持仓其他冻结数量(交割冻结)
  18878. type: integer
  18879. positionqty:
  18880. description: 期初持仓数量
  18881. type: integer
  18882. szdz3freezqty:
  18883. description: 尚志大宗转换冻结总数量
  18884. type: integer
  18885. tnqty:
  18886. description: T+N冻结总量
  18887. type: integer
  18888. tnusedqty:
  18889. description: T+N使用量
  18890. type: integer
  18891. trademode:
  18892. description: 交易模式
  18893. type: integer
  18894. usedmargin:
  18895. description: 占用保证金
  18896. type: number
  18897. type: object
  18898. taaccount.QueryAmountLogRsp:
  18899. properties:
  18900. OPERATETYPENAME:
  18901. description: 资金操作类型名称
  18902. type: string
  18903. accountid:
  18904. description: 资金账户ID
  18905. type: integer
  18906. agoodscode:
  18907. description: 竞拍商品代码
  18908. type: string
  18909. agoodsname:
  18910. description: 竞拍商品名称
  18911. type: string
  18912. amount:
  18913. description: 资金金额
  18914. type: number
  18915. amountadjusttype:
  18916. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18917. type: integer
  18918. autoid:
  18919. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18920. type: integer
  18921. balance:
  18922. description: 期初余额
  18923. type: number
  18924. businesscode:
  18925. description: 业务编号
  18926. type: integer
  18927. createtime:
  18928. description: 发生时间
  18929. type: string
  18930. currencyid:
  18931. description: 币种ID
  18932. type: integer
  18933. currentbalance:
  18934. description: 期末余额(变动后金额)
  18935. type: number
  18936. dgoodscode:
  18937. description: 交割商品代码
  18938. type: string
  18939. dgoodsname:
  18940. description: 交割商品名称
  18941. type: string
  18942. goodscode:
  18943. description: 商品代码
  18944. type: string
  18945. goodsid:
  18946. description: 商品ID
  18947. type: integer
  18948. goodsname:
  18949. description: 商品名称
  18950. type: string
  18951. marketid:
  18952. description: 市场ID
  18953. type: integer
  18954. marketname:
  18955. description: 市场名称
  18956. type: string
  18957. moneyticket:
  18958. description: 资金流水号:银行端流水号
  18959. type: integer
  18960. operatetype:
  18961. 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:营销收款
  18962. type: integer
  18963. relationorderid:
  18964. description: 关联单号
  18965. type: string
  18966. remark:
  18967. description: 备注
  18968. type: string
  18969. trademode:
  18970. description: 交易模式
  18971. type: integer
  18972. required:
  18973. - accountid
  18974. - amount
  18975. - amountadjusttype
  18976. - autoid
  18977. - balance
  18978. - createtime
  18979. - currentbalance
  18980. - operatetype
  18981. type: object
  18982. taaccount.QueryHisAmountLogRsp:
  18983. properties:
  18984. OPERATETYPENAME:
  18985. description: 资金操作类型名称
  18986. type: string
  18987. accountid:
  18988. description: 资金账户ID
  18989. type: integer
  18990. agoodscode:
  18991. description: 竞拍商品代码
  18992. type: string
  18993. agoodsname:
  18994. description: 竞拍商品名称
  18995. type: string
  18996. amount:
  18997. description: 资金金额
  18998. type: number
  18999. amountadjusttype:
  19000. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19001. type: integer
  19002. autoid:
  19003. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19004. type: integer
  19005. balance:
  19006. description: 期初余额
  19007. type: number
  19008. businesscode:
  19009. description: 业务编号
  19010. type: integer
  19011. createtime:
  19012. description: 发生时间
  19013. type: string
  19014. currencyid:
  19015. description: 币种ID
  19016. type: integer
  19017. currentbalance:
  19018. description: 期末余额(变动后金额)
  19019. type: number
  19020. dgoodscode:
  19021. description: 交割商品代码
  19022. type: string
  19023. dgoodsname:
  19024. description: 交割商品名称
  19025. type: string
  19026. goodscode:
  19027. description: 商品代码
  19028. type: string
  19029. goodsid:
  19030. description: 商品ID
  19031. type: integer
  19032. goodsname:
  19033. description: 商品名称
  19034. type: string
  19035. histradedate:
  19036. description: 历史交易日
  19037. type: string
  19038. isvaliddata:
  19039. description: 是否有效 - 0:无效 1:有效
  19040. type: integer
  19041. marketid:
  19042. description: 市场ID
  19043. type: integer
  19044. marketname:
  19045. description: 市场名称
  19046. type: string
  19047. moneyticket:
  19048. description: 资金流水号:银行端流水号
  19049. type: integer
  19050. operatetype:
  19051. 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:营销收款
  19052. type: integer
  19053. relationorderid:
  19054. description: 关联单号
  19055. type: string
  19056. remark:
  19057. description: 备注
  19058. type: string
  19059. trademode:
  19060. description: 交易模式
  19061. type: integer
  19062. required:
  19063. - accountid
  19064. - amount
  19065. - amountadjusttype
  19066. - autoid
  19067. - balance
  19068. - createtime
  19069. - currentbalance
  19070. - histradedate
  19071. - operatetype
  19072. type: object
  19073. trade.QueryRecieptOrderRsp:
  19074. properties:
  19075. accountName:
  19076. description: 所属账号名称(已脱敏)
  19077. type: string
  19078. accountid:
  19079. description: 资金账号
  19080. type: integer
  19081. buyorsell:
  19082. description: 方向 - 0:买 1:卖
  19083. type: integer
  19084. enableqty:
  19085. description: 可摘数量
  19086. type: integer
  19087. goodscode:
  19088. description: 商品代码
  19089. type: string
  19090. goodsid:
  19091. description: 商品ID
  19092. type: integer
  19093. goodsname:
  19094. description: 商品名称
  19095. type: string
  19096. orderid:
  19097. description: 委托单号
  19098. type: string
  19099. orderprice:
  19100. description: 委托价格
  19101. type: number
  19102. ordertime:
  19103. description: 委托时间
  19104. type: string
  19105. tradedate:
  19106. description: 交易日(yyyyMMdd)
  19107. type: string
  19108. required:
  19109. - ordertime
  19110. type: object
  19111. user.LoginQueryRsp:
  19112. properties:
  19113. areaRoles:
  19114. description: 所属角色信息
  19115. items:
  19116. $ref: '#/definitions/models.Arearole'
  19117. type: array
  19118. externalExchanges:
  19119. description: 外部交易所
  19120. items:
  19121. $ref: '#/definitions/models.Externalexchange'
  19122. type: array
  19123. goodsgroups:
  19124. description: 商品组
  19125. items:
  19126. $ref: '#/definitions/models.Goodsgroup'
  19127. type: array
  19128. loginAccount:
  19129. $ref: '#/definitions/models.Loginaccount'
  19130. description: 登录账号
  19131. markets:
  19132. description: 市场
  19133. items:
  19134. $ref: '#/definitions/models.Market'
  19135. type: array
  19136. systemParams:
  19137. description: 系统参数
  19138. items:
  19139. $ref: '#/definitions/models.Systemparam'
  19140. type: array
  19141. userAccount:
  19142. $ref: '#/definitions/models.Useraccount'
  19143. description: 用户账号
  19144. userInfo:
  19145. $ref: '#/definitions/models.Userinfo'
  19146. description: 用户信息
  19147. username:
  19148. description: 用户姓名
  19149. type: string
  19150. type: object
  19151. info:
  19152. contact: {}
  19153. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  19154. termsOfService: http://www.muchinfo.cn
  19155. title: MTP2.0 查询服务 API
  19156. version: "1.0"
  19157. paths:
  19158. /CPTrade/QueryCPTradeMyBidInfos:
  19159. get:
  19160. parameters:
  19161. - description: 资金账户
  19162. in: query
  19163. name: accountid
  19164. required: true
  19165. type: integer
  19166. - description: 预售市场ID
  19167. in: query
  19168. name: marketid
  19169. type: integer
  19170. - description: 预售商品ID
  19171. in: query
  19172. name: goodsid
  19173. type: integer
  19174. produces:
  19175. - application/json
  19176. responses:
  19177. "200":
  19178. description: OK
  19179. schema:
  19180. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  19181. "500":
  19182. description: Internal Server Error
  19183. schema:
  19184. $ref: '#/definitions/app.Response'
  19185. security:
  19186. - ApiKeyAuth: []
  19187. summary: 查询产能预售我的出价信息
  19188. tags:
  19189. - 产能预售
  19190. /CPTrade/QueryCPTradeOrderDetail:
  19191. get:
  19192. parameters:
  19193. - description: 预售商品ID
  19194. in: query
  19195. name: goodsid
  19196. type: integer
  19197. - description: 预售市场ID
  19198. in: query
  19199. name: marketid
  19200. type: integer
  19201. - description: 预售商品ID列表 - 格式:1,2,3
  19202. in: query
  19203. name: goodsids
  19204. type: string
  19205. produces:
  19206. - application/json
  19207. responses:
  19208. "200":
  19209. description: OK
  19210. schema:
  19211. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  19212. "500":
  19213. description: Internal Server Error
  19214. schema:
  19215. $ref: '#/definitions/app.Response'
  19216. security:
  19217. - ApiKeyAuth: []
  19218. summary: 查询产能预售委托单信息
  19219. tags:
  19220. - 产能预售
  19221. /CPTrade/QueryMyCPTradeGoods:
  19222. get:
  19223. parameters:
  19224. - description: 资金账户
  19225. in: query
  19226. name: accountid
  19227. required: true
  19228. type: integer
  19229. produces:
  19230. - application/json
  19231. responses:
  19232. "200":
  19233. description: OK
  19234. schema:
  19235. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  19236. "500":
  19237. description: Internal Server Error
  19238. schema:
  19239. $ref: '#/definitions/app.Response'
  19240. security:
  19241. - ApiKeyAuth: []
  19242. summary: 查询我的预售信息
  19243. tags:
  19244. - 产能预售
  19245. /CPTrade/QueryPositionCancel:
  19246. get:
  19247. parameters:
  19248. - description: 账户ID
  19249. in: query
  19250. name: userid
  19251. required: true
  19252. type: integer
  19253. - description: 注销ID
  19254. in: query
  19255. name: cancelid
  19256. type: integer
  19257. - description: 资金账户ID
  19258. in: query
  19259. name: accountid
  19260. type: integer
  19261. produces:
  19262. - application/json
  19263. responses:
  19264. "200":
  19265. description: OK
  19266. schema:
  19267. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19268. "500":
  19269. description: Internal Server Error
  19270. schema:
  19271. $ref: '#/definitions/app.Response'
  19272. security:
  19273. - ApiKeyAuth: []
  19274. summary: 查询远期订单注销申请信息
  19275. tags:
  19276. - 产能预售
  19277. /CPTrade/QueryPreasleApply:
  19278. get:
  19279. parameters:
  19280. - description: 账户ID
  19281. in: query
  19282. name: userid
  19283. required: true
  19284. type: integer
  19285. - description: 申请ID
  19286. in: query
  19287. name: applyid
  19288. type: integer
  19289. - description: 资金账户ID
  19290. in: query
  19291. name: accountid
  19292. type: integer
  19293. produces:
  19294. - application/json
  19295. responses:
  19296. "200":
  19297. description: OK
  19298. schema:
  19299. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19300. "500":
  19301. description: Internal Server Error
  19302. schema:
  19303. $ref: '#/definitions/app.Response'
  19304. security:
  19305. - ApiKeyAuth: []
  19306. summary: 查询产能预售申请信息
  19307. tags:
  19308. - 产能预售
  19309. /CPTrade/QueryPresaleGoodsEx:
  19310. get:
  19311. parameters:
  19312. - description: 预售商品ID
  19313. in: query
  19314. name: goodsid
  19315. type: integer
  19316. - description: 预售市场ID
  19317. in: query
  19318. name: marketid
  19319. type: integer
  19320. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19321. in: query
  19322. name: presalemode
  19323. type: integer
  19324. - description: 预售商品ID列表 - 格式:1,2,3
  19325. in: query
  19326. name: goodsids
  19327. type: string
  19328. - description: 预售商品代码
  19329. in: query
  19330. name: goodscode
  19331. type: string
  19332. produces:
  19333. - application/json
  19334. responses:
  19335. "200":
  19336. description: OK
  19337. schema:
  19338. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19339. "500":
  19340. description: Internal Server Error
  19341. schema:
  19342. $ref: '#/definitions/app.Response'
  19343. security:
  19344. - ApiKeyAuth: []
  19345. summary: 查询产能预售商品扩展信息
  19346. tags:
  19347. - 产能预售
  19348. /CPTrade/QueryUserGoodsData:
  19349. get:
  19350. parameters:
  19351. - description: 资金账户ID
  19352. in: query
  19353. name: accountid
  19354. required: true
  19355. type: integer
  19356. produces:
  19357. - application/json
  19358. responses:
  19359. "200":
  19360. description: OK
  19361. schema:
  19362. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19363. "500":
  19364. description: Internal Server Error
  19365. schema:
  19366. $ref: '#/definitions/app.Response'
  19367. security:
  19368. - ApiKeyAuth: []
  19369. summary: 查询远期订单信息
  19370. tags:
  19371. - 产能预售
  19372. /Common/GetAllEnums:
  19373. get:
  19374. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19375. parameters:
  19376. - description: 起始自增ID
  19377. in: query
  19378. name: autoid
  19379. type: integer
  19380. produces:
  19381. - application/json
  19382. responses:
  19383. "200":
  19384. description: OK
  19385. schema:
  19386. $ref: '#/definitions/models.Enumdicitem'
  19387. "500":
  19388. description: Internal Server Error
  19389. schema:
  19390. $ref: '#/definitions/app.Response'
  19391. summary: 获取所有枚举信息
  19392. tags:
  19393. - 通用服务
  19394. /Common/GetClientMenus:
  19395. get:
  19396. parameters:
  19397. - description: 登录账号
  19398. in: query
  19399. name: loginID
  19400. required: true
  19401. type: integer
  19402. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19403. in: query
  19404. name: clientType
  19405. type: integer
  19406. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19407. in: query
  19408. name: name
  19409. type: string
  19410. produces:
  19411. - application/json
  19412. responses:
  19413. "200":
  19414. description: OK
  19415. schema:
  19416. items:
  19417. $ref: '#/definitions/common.ClientMenu'
  19418. type: array
  19419. "500":
  19420. description: Internal Server Error
  19421. schema:
  19422. $ref: '#/definitions/app.Response'
  19423. security:
  19424. - ApiKeyAuth: []
  19425. summary: 获取交易端菜单
  19426. tags:
  19427. - 通用服务
  19428. /Common/GetDivisions:
  19429. get:
  19430. produces:
  19431. - application/json
  19432. responses:
  19433. "200":
  19434. description: OK
  19435. schema:
  19436. $ref: '#/definitions/models.Division'
  19437. "500":
  19438. description: Internal Server Error
  19439. schema:
  19440. $ref: '#/definitions/app.Response'
  19441. summary: 查询区域信息
  19442. tags:
  19443. - 通用服务
  19444. /Common/GetPCWebMenus:
  19445. get:
  19446. parameters:
  19447. - description: 登录账号
  19448. in: query
  19449. name: loginID
  19450. required: true
  19451. type: integer
  19452. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19453. in: query
  19454. name: name
  19455. type: string
  19456. produces:
  19457. - application/json
  19458. responses:
  19459. "200":
  19460. description: OK
  19461. schema:
  19462. items:
  19463. $ref: '#/definitions/common.PCWebMenu'
  19464. type: array
  19465. "500":
  19466. description: Internal Server Error
  19467. schema:
  19468. $ref: '#/definitions/app.Response'
  19469. security:
  19470. - ApiKeyAuth: []
  19471. summary: 获取PCWeb交易端菜单
  19472. tags:
  19473. - 通用服务
  19474. /Common/GetServerTime:
  19475. get:
  19476. produces:
  19477. - application/json
  19478. responses:
  19479. "200":
  19480. description: OK
  19481. schema:
  19482. $ref: '#/definitions/app.Response'
  19483. "500":
  19484. description: Internal Server Error
  19485. schema:
  19486. $ref: '#/definitions/app.Response'
  19487. summary: 获取服务器时间
  19488. tags:
  19489. - 通用服务
  19490. /Common/NoticeReaded:
  19491. post:
  19492. parameters:
  19493. - description: 登录账号
  19494. in: query
  19495. name: loginID
  19496. required: true
  19497. type: integer
  19498. - description: 通知公告ID
  19499. in: query
  19500. name: noticeID
  19501. required: true
  19502. type: integer
  19503. produces:
  19504. - application/json
  19505. responses:
  19506. "200":
  19507. description: OK
  19508. schema:
  19509. $ref: '#/definitions/app.Response'
  19510. "500":
  19511. description: Internal Server Error
  19512. schema:
  19513. $ref: '#/definitions/app.Response'
  19514. security:
  19515. - ApiKeyAuth: []
  19516. summary: 通知公告设置已读请求
  19517. tags:
  19518. - 通用服务
  19519. /Common/QueryErrorInfos:
  19520. get:
  19521. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19522. parameters:
  19523. - description: 起始行号前索引
  19524. in: query
  19525. name: rowNumber
  19526. type: string
  19527. produces:
  19528. - application/json
  19529. responses:
  19530. "200":
  19531. description: OK
  19532. schema:
  19533. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19534. "500":
  19535. description: Internal Server Error
  19536. schema:
  19537. $ref: '#/definitions/app.Response'
  19538. summary: 获取数据库错误信息
  19539. tags:
  19540. - 通用服务
  19541. /Common/QueryImageConfigs:
  19542. get:
  19543. parameters:
  19544. - description: 用户id
  19545. in: query
  19546. name: userId
  19547. type: integer
  19548. - description: 类型 - 1:App首页轮播 2:我的
  19549. in: query
  19550. name: imageType
  19551. type: integer
  19552. produces:
  19553. - application/json
  19554. responses:
  19555. "200":
  19556. description: OK
  19557. schema:
  19558. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19559. "500":
  19560. description: Internal Server Error
  19561. schema:
  19562. $ref: '#/definitions/app.Response'
  19563. summary: 查询轮播图配置信息
  19564. tags:
  19565. - 通用服务
  19566. /Common/QueryNotice:
  19567. get:
  19568. parameters:
  19569. - description: 页码
  19570. in: query
  19571. name: page
  19572. type: integer
  19573. - description: 每页条数
  19574. in: query
  19575. name: pagesize
  19576. type: integer
  19577. - description: 登录账号
  19578. in: query
  19579. name: loginID
  19580. required: true
  19581. type: integer
  19582. - description: 消息类型 - 1:公告通知 2:系统消息
  19583. in: query
  19584. name: msgType
  19585. type: integer
  19586. - description: 是否只获取未读信息
  19587. in: query
  19588. name: onlyUnRead
  19589. type: boolean
  19590. - description: 自增ID,传入后会返回这个ID后面的记录
  19591. in: query
  19592. name: lastID
  19593. type: integer
  19594. produces:
  19595. - application/json
  19596. responses:
  19597. "200":
  19598. description: OK
  19599. schema:
  19600. $ref: '#/definitions/common.QueryNoticeRsp'
  19601. "500":
  19602. description: Internal Server Error
  19603. schema:
  19604. $ref: '#/definitions/app.Response'
  19605. security:
  19606. - ApiKeyAuth: []
  19607. summary: 通知公告系统消息查询
  19608. tags:
  19609. - 通用服务
  19610. /Common/QueryProvincesAndCities:
  19611. get:
  19612. parameters:
  19613. - description: 省ID
  19614. in: query
  19615. name: provinceID
  19616. type: integer
  19617. produces:
  19618. - application/json
  19619. responses:
  19620. "200":
  19621. description: OK
  19622. schema:
  19623. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19624. "500":
  19625. description: Internal Server Error
  19626. schema:
  19627. $ref: '#/definitions/app.Response'
  19628. summary: 查询省市信息(不包括区)
  19629. tags:
  19630. - 通用服务
  19631. /Common/QueryTableDefine:
  19632. get:
  19633. parameters:
  19634. - description: 表key
  19635. in: query
  19636. name: tableKey
  19637. type: string
  19638. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19639. in: query
  19640. name: tableType
  19641. type: integer
  19642. produces:
  19643. - application/json
  19644. responses:
  19645. "200":
  19646. description: OK
  19647. schema:
  19648. $ref: '#/definitions/common.QueryTableDefineRsp'
  19649. "500":
  19650. description: Internal Server Error
  19651. schema:
  19652. $ref: '#/definitions/app.Response'
  19653. summary: 查询交易端列表头信息
  19654. tags:
  19655. - 通用服务
  19656. /Common/QueryTraderMenu:
  19657. get:
  19658. parameters:
  19659. - description: 登录账号
  19660. in: query
  19661. name: loginid
  19662. required: true
  19663. type: integer
  19664. produces:
  19665. - application/json
  19666. responses:
  19667. "200":
  19668. description: OK
  19669. schema:
  19670. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19671. "500":
  19672. description: Internal Server Error
  19673. schema:
  19674. $ref: '#/definitions/app.Response'
  19675. summary: 查询交易端菜单
  19676. tags:
  19677. - 通用服务
  19678. /Delivery/QueryDeliveryRelation:
  19679. get:
  19680. parameters:
  19681. - description: 商品ID
  19682. in: query
  19683. name: goodsid
  19684. type: integer
  19685. - description: 品种ID
  19686. in: query
  19687. name: deliverygoodsid
  19688. type: integer
  19689. - description: 市场ID
  19690. in: query
  19691. name: marketid
  19692. type: integer
  19693. produces:
  19694. - application/json
  19695. responses:
  19696. "200":
  19697. description: OK
  19698. schema:
  19699. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19700. "500":
  19701. description: Internal Server Error
  19702. schema:
  19703. $ref: '#/definitions/app.Response'
  19704. security:
  19705. - ApiKeyAuth: []
  19706. summary: 查询商品交割关系表
  19707. tags:
  19708. - 交割服务
  19709. /Ermcp/GetErmcpGoods:
  19710. get:
  19711. parameters:
  19712. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19713. in: query
  19714. name: lastUpdateTime
  19715. type: string
  19716. produces:
  19717. - application/json
  19718. responses:
  19719. "200":
  19720. description: OK
  19721. schema:
  19722. $ref: '#/definitions/models.ErmcpGoods'
  19723. "500":
  19724. description: Internal Server Error
  19725. schema:
  19726. $ref: '#/definitions/app.Response'
  19727. security:
  19728. - ApiKeyAuth: []
  19729. summary: 查询企业风管期货商品信息
  19730. tags:
  19731. - 企业风险管理(app)
  19732. /Ermcp/GetErmcpGoodsSortByPosition:
  19733. get:
  19734. parameters:
  19735. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19736. in: query
  19737. name: sortIndex
  19738. type: string
  19739. produces:
  19740. - application/json
  19741. responses:
  19742. "200":
  19743. description: OK
  19744. schema:
  19745. $ref: '#/definitions/models.Goodssortbypreposition'
  19746. "500":
  19747. description: Internal Server Error
  19748. schema:
  19749. $ref: '#/definitions/app.Response'
  19750. security:
  19751. - ApiKeyAuth: []
  19752. summary: 查询企业风管期货主力、次主力商品信息
  19753. tags:
  19754. - 企业风险管理(app)
  19755. /Ermcp/GetErmcpOutAccountStatus:
  19756. get:
  19757. parameters:
  19758. - description: 登录账号
  19759. in: query
  19760. name: loginID
  19761. required: true
  19762. type: integer
  19763. produces:
  19764. - application/json
  19765. responses:
  19766. "200":
  19767. description: OK
  19768. schema:
  19769. $ref: '#/definitions/models.Hedgemarketopenlog'
  19770. "500":
  19771. description: Internal Server Error
  19772. schema:
  19773. $ref: '#/definitions/app.Response'
  19774. security:
  19775. - ApiKeyAuth: []
  19776. summary: 获取目标登录账号当前对冲账号在线状态
  19777. tags:
  19778. - 企业风险管理(app)
  19779. /Ermcp/GetErmcpRoleFuncMenuLists:
  19780. get:
  19781. parameters:
  19782. - description: 登录账号
  19783. in: query
  19784. name: loginID
  19785. required: true
  19786. type: integer
  19787. produces:
  19788. - application/json
  19789. responses:
  19790. "200":
  19791. description: OK
  19792. schema:
  19793. $ref: '#/definitions/models.Funcmenulist'
  19794. "500":
  19795. description: Internal Server Error
  19796. schema:
  19797. $ref: '#/definitions/app.Response'
  19798. security:
  19799. - ApiKeyAuth: []
  19800. summary: 获取企业风管终端权限
  19801. tags:
  19802. - 企业风险管理(app)
  19803. /Ermcp/QueryAccMgrBizGroupSet:
  19804. get:
  19805. parameters:
  19806. - description: 用户ID
  19807. in: query
  19808. name: userid
  19809. required: true
  19810. type: integer
  19811. - description: 现货商品id
  19812. in: query
  19813. name: deliverygoodsid
  19814. type: integer
  19815. produces:
  19816. - application/json
  19817. responses:
  19818. "200":
  19819. description: OK
  19820. schema:
  19821. items:
  19822. $ref: '#/definitions/models.ErmcpBizGroupEx'
  19823. type: array
  19824. "500":
  19825. description: Internal Server Error
  19826. schema:
  19827. $ref: '#/definitions/app.Response'
  19828. security:
  19829. - ApiKeyAuth: []
  19830. summary: 查询业务类型分组(账户管理/账户设置)
  19831. tags:
  19832. - 企业风险管理(app)
  19833. /Ermcp/QueryAccMgrLoginUser:
  19834. get:
  19835. parameters:
  19836. - description: 用户ID
  19837. in: query
  19838. name: userid
  19839. required: true
  19840. type: integer
  19841. - description: 用户类型 2-机构 7-企业成员
  19842. in: query
  19843. name: usertype
  19844. type: integer
  19845. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  19846. in: query
  19847. name: querytype
  19848. required: true
  19849. type: integer
  19850. produces:
  19851. - application/json
  19852. responses:
  19853. "200":
  19854. description: OK
  19855. schema:
  19856. items:
  19857. $ref: '#/definitions/models.ErmcpLoginUserEx'
  19858. type: array
  19859. "500":
  19860. description: Internal Server Error
  19861. schema:
  19862. $ref: '#/definitions/app.Response'
  19863. security:
  19864. - ApiKeyAuth: []
  19865. summary: 查询账户管理登录账号(账户管理/登录账号)
  19866. tags:
  19867. - 企业风险管理(app)
  19868. /Ermcp/QueryAccMgrMainAccountInfo:
  19869. get:
  19870. parameters:
  19871. - description: 用户ID
  19872. in: query
  19873. name: userid
  19874. type: integer
  19875. - description: 主账号id
  19876. in: query
  19877. name: accountid
  19878. type: integer
  19879. produces:
  19880. - application/json
  19881. responses:
  19882. "200":
  19883. description: OK
  19884. schema:
  19885. items:
  19886. $ref: '#/definitions/models.MainAccountInfo'
  19887. type: array
  19888. "500":
  19889. description: Internal Server Error
  19890. schema:
  19891. $ref: '#/definitions/app.Response'
  19892. security:
  19893. - ApiKeyAuth: []
  19894. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  19895. tags:
  19896. - 企业风险管理(app)
  19897. /Ermcp/QueryAccMgrRole:
  19898. get:
  19899. parameters:
  19900. - description: 用户ID
  19901. in: query
  19902. name: userid
  19903. required: true
  19904. type: integer
  19905. produces:
  19906. - application/json
  19907. responses:
  19908. "200":
  19909. description: OK
  19910. schema:
  19911. items:
  19912. $ref: '#/definitions/models.ErmcpRole'
  19913. type: array
  19914. "500":
  19915. description: Internal Server Error
  19916. schema:
  19917. $ref: '#/definitions/app.Response'
  19918. security:
  19919. - ApiKeyAuth: []
  19920. summary: 查询账户管理角色设置(账户管理/角色设置)
  19921. tags:
  19922. - 企业风险管理(app)
  19923. /Ermcp/QueryAccMgrRoleMenu:
  19924. get:
  19925. parameters:
  19926. - description: 用户ID
  19927. in: query
  19928. name: userid
  19929. required: true
  19930. type: integer
  19931. - description: 角色id(可多个,逗号隔开)
  19932. in: query
  19933. name: roleid
  19934. type: string
  19935. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  19936. in: query
  19937. name: menutype
  19938. type: integer
  19939. produces:
  19940. - application/json
  19941. responses:
  19942. "200":
  19943. description: OK
  19944. schema:
  19945. items:
  19946. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  19947. type: array
  19948. "500":
  19949. description: Internal Server Error
  19950. schema:
  19951. $ref: '#/definitions/app.Response'
  19952. security:
  19953. - ApiKeyAuth: []
  19954. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  19955. tags:
  19956. - 企业风险管理(app)
  19957. /Ermcp/QueryAccMgrTaAccountInfo:
  19958. get:
  19959. parameters:
  19960. - description: 用户ID
  19961. in: query
  19962. name: userid
  19963. required: true
  19964. type: integer
  19965. - description: 账号id
  19966. in: query
  19967. name: accountid
  19968. type: integer
  19969. produces:
  19970. - application/json
  19971. responses:
  19972. "200":
  19973. description: OK
  19974. schema:
  19975. items:
  19976. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  19977. type: array
  19978. "500":
  19979. description: Internal Server Error
  19980. schema:
  19981. $ref: '#/definitions/app.Response'
  19982. security:
  19983. - ApiKeyAuth: []
  19984. summary: 查询账户管理授信(账户管理/账户设置/授信)
  19985. tags:
  19986. - 企业风险管理(app)
  19987. /Ermcp/QueryAccMgrTaaccount:
  19988. get:
  19989. parameters:
  19990. - description: 用户ID
  19991. in: query
  19992. name: userid
  19993. required: true
  19994. type: integer
  19995. produces:
  19996. - application/json
  19997. responses:
  19998. "200":
  19999. description: OK
  20000. schema:
  20001. items:
  20002. $ref: '#/definitions/models.ErmcpTaAccountEx'
  20003. type: array
  20004. "500":
  20005. description: Internal Server Error
  20006. schema:
  20007. $ref: '#/definitions/app.Response'
  20008. security:
  20009. - ApiKeyAuth: []
  20010. summary: 查询账户管理期货账号(账户管理/期货账号)
  20011. tags:
  20012. - 企业风险管理(app)
  20013. /Ermcp/QueryAvaildGoodsGroup:
  20014. get:
  20015. parameters:
  20016. - description: 所属机构ID
  20017. in: query
  20018. name: userid
  20019. required: true
  20020. type: integer
  20021. produces:
  20022. - application/json
  20023. responses:
  20024. "200":
  20025. description: OK
  20026. schema:
  20027. items:
  20028. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  20029. type: array
  20030. "500":
  20031. description: Internal Server Error
  20032. schema:
  20033. $ref: '#/definitions/app.Response'
  20034. security:
  20035. - ApiKeyAuth: []
  20036. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  20037. tags:
  20038. - 企业风险管理(app)
  20039. /Ermcp/QueryBusinessDj:
  20040. get:
  20041. parameters:
  20042. - description: 用户ID
  20043. in: query
  20044. name: UserId
  20045. required: true
  20046. type: integer
  20047. - description: 用户类型 2-机构 7-企业成员
  20048. in: query
  20049. name: usertype
  20050. type: integer
  20051. - description: 现货合同ID, 不填则查所有
  20052. in: query
  20053. name: relatedid
  20054. type: string
  20055. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20056. in: query
  20057. name: applystatus
  20058. type: string
  20059. produces:
  20060. - application/json
  20061. responses:
  20062. "200":
  20063. description: OK
  20064. schema:
  20065. items:
  20066. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  20067. type: array
  20068. "500":
  20069. description: Internal Server Error
  20070. schema:
  20071. $ref: '#/definitions/app.Response'
  20072. security:
  20073. - ApiKeyAuth: []
  20074. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  20075. tags:
  20076. - 企业风险管理(app)
  20077. /Ermcp/QueryBusinessFp:
  20078. get:
  20079. parameters:
  20080. - description: 用户ID
  20081. in: query
  20082. name: UserId
  20083. required: true
  20084. type: integer
  20085. - description: 用户类型 2-机构 7-企业成员
  20086. in: query
  20087. name: usertype
  20088. type: integer
  20089. - description: 现货合同ID, 不填则查所有
  20090. in: query
  20091. name: relatedid
  20092. type: string
  20093. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20094. in: query
  20095. name: applystatus
  20096. type: string
  20097. produces:
  20098. - application/json
  20099. responses:
  20100. "200":
  20101. description: OK
  20102. schema:
  20103. items:
  20104. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  20105. type: array
  20106. "500":
  20107. description: Internal Server Error
  20108. schema:
  20109. $ref: '#/definitions/app.Response'
  20110. security:
  20111. - ApiKeyAuth: []
  20112. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  20113. tags:
  20114. - 企业风险管理(app)
  20115. /Ermcp/QueryBusinessJs:
  20116. get:
  20117. parameters:
  20118. - description: 用户ID
  20119. in: query
  20120. name: UserId
  20121. required: true
  20122. type: integer
  20123. - description: 用户类型 2-机构 7-企业成员
  20124. in: query
  20125. name: usertype
  20126. type: integer
  20127. - description: 现货合同ID, 不填则查所有
  20128. in: query
  20129. name: relatedid
  20130. type: string
  20131. - description: 操作申请id
  20132. in: query
  20133. name: operateapplyid
  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.QryBussinessJsRsp'
  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/QueryBusinessJsEx:
  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: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20174. in: query
  20175. name: applystatus
  20176. type: string
  20177. produces:
  20178. - application/json
  20179. responses:
  20180. "200":
  20181. description: OK
  20182. schema:
  20183. items:
  20184. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  20185. type: array
  20186. "500":
  20187. description: Internal Server Error
  20188. schema:
  20189. $ref: '#/definitions/app.Response'
  20190. security:
  20191. - ApiKeyAuth: []
  20192. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  20193. tags:
  20194. - 企业风险管理(app)
  20195. /Ermcp/QueryBusinessKx:
  20196. get:
  20197. parameters:
  20198. - description: 用户ID
  20199. in: query
  20200. name: UserId
  20201. required: true
  20202. type: integer
  20203. - description: 用户类型 2-机构 7-企业成员
  20204. in: query
  20205. name: usertype
  20206. type: integer
  20207. - description: 现货合同ID, 不填则查所有
  20208. in: query
  20209. name: relatedid
  20210. type: string
  20211. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20212. in: query
  20213. name: applystatus
  20214. type: string
  20215. produces:
  20216. - application/json
  20217. responses:
  20218. "200":
  20219. description: OK
  20220. schema:
  20221. items:
  20222. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  20223. type: array
  20224. "500":
  20225. description: Internal Server Error
  20226. schema:
  20227. $ref: '#/definitions/app.Response'
  20228. security:
  20229. - ApiKeyAuth: []
  20230. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  20231. tags:
  20232. - 企业风险管理(app)
  20233. /Ermcp/QueryChangeLog:
  20234. get:
  20235. parameters:
  20236. - description: 合同ID
  20237. in: query
  20238. name: RelatedId
  20239. required: true
  20240. type: string
  20241. produces:
  20242. - application/json
  20243. responses:
  20244. "200":
  20245. description: OK
  20246. schema:
  20247. items:
  20248. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20249. type: array
  20250. "500":
  20251. description: Internal Server Error
  20252. schema:
  20253. $ref: '#/definitions/app.Response'
  20254. security:
  20255. - ApiKeyAuth: []
  20256. summary: 查询变更记录
  20257. tags:
  20258. - 企业风险管理(app)
  20259. /Ermcp/QueryErmcpHisOrderDetails:
  20260. get:
  20261. parameters:
  20262. - description: 资金账户ID
  20263. in: query
  20264. name: accountID
  20265. required: true
  20266. type: integer
  20267. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20268. in: query
  20269. name: startDate
  20270. type: string
  20271. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20272. in: query
  20273. name: endDate
  20274. type: string
  20275. produces:
  20276. - application/json
  20277. responses:
  20278. "200":
  20279. description: OK
  20280. schema:
  20281. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20282. "500":
  20283. description: Internal Server Error
  20284. schema:
  20285. $ref: '#/definitions/app.Response'
  20286. security:
  20287. - ApiKeyAuth: []
  20288. summary: 获取企业风管期货历史委托单信息
  20289. tags:
  20290. - 企业风险管理(app)
  20291. /Ermcp/QueryErmcpHisTradeDetails:
  20292. get:
  20293. parameters:
  20294. - description: 资金账户ID
  20295. in: query
  20296. name: accountID
  20297. required: true
  20298. type: integer
  20299. - description: 商品ID
  20300. in: query
  20301. name: goodsID
  20302. type: integer
  20303. - description: 买卖方向,0:买 1:卖
  20304. in: query
  20305. name: buyOrSell
  20306. type: integer
  20307. - description: 关联委托单号
  20308. in: query
  20309. name: orderID
  20310. type: integer
  20311. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20312. in: query
  20313. name: startDate
  20314. type: string
  20315. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20316. in: query
  20317. name: endDate
  20318. type: string
  20319. produces:
  20320. - application/json
  20321. responses:
  20322. "200":
  20323. description: OK
  20324. schema:
  20325. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20326. "500":
  20327. description: Internal Server Error
  20328. schema:
  20329. $ref: '#/definitions/app.Response'
  20330. security:
  20331. - ApiKeyAuth: []
  20332. summary: 获取企业风管期货历史成交单信息
  20333. tags:
  20334. - 企业风险管理(app)
  20335. /Ermcp/QueryErmcpInnerHolderDetails:
  20336. get:
  20337. parameters:
  20338. - description: 资金账户ID
  20339. in: query
  20340. name: accountID
  20341. required: true
  20342. type: integer
  20343. - description: 商品ID
  20344. in: query
  20345. name: goodsID
  20346. type: integer
  20347. - description: 买卖方向,0:买 1:卖
  20348. in: query
  20349. name: buyOrSell
  20350. type: integer
  20351. produces:
  20352. - application/json
  20353. responses:
  20354. "200":
  20355. description: OK
  20356. schema:
  20357. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20358. "500":
  20359. description: Internal Server Error
  20360. schema:
  20361. $ref: '#/definitions/app.Response'
  20362. security:
  20363. - ApiKeyAuth: []
  20364. summary: 获取企业风管期货内部持仓单信息
  20365. tags:
  20366. - 企业风险管理(app)
  20367. /Ermcp/QueryErmcpOrderDetails:
  20368. get:
  20369. parameters:
  20370. - description: 资金账户ID
  20371. in: query
  20372. name: accountID
  20373. required: true
  20374. type: integer
  20375. produces:
  20376. - application/json
  20377. responses:
  20378. "200":
  20379. description: OK
  20380. schema:
  20381. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20382. "500":
  20383. description: Internal Server Error
  20384. schema:
  20385. $ref: '#/definitions/app.Response'
  20386. security:
  20387. - ApiKeyAuth: []
  20388. summary: 获取企业风管期货委托单信息
  20389. tags:
  20390. - 企业风险管理(app)
  20391. /Ermcp/QueryErmcpTradeDetails:
  20392. get:
  20393. parameters:
  20394. - description: 资金账户ID
  20395. in: query
  20396. name: accountID
  20397. required: true
  20398. type: integer
  20399. - description: 商品ID
  20400. in: query
  20401. name: goodsID
  20402. type: integer
  20403. - description: 买卖方向,0:买 1:卖
  20404. in: query
  20405. name: buyOrSell
  20406. type: integer
  20407. - description: 关联委托单号
  20408. in: query
  20409. name: orderID
  20410. type: integer
  20411. produces:
  20412. - application/json
  20413. responses:
  20414. "200":
  20415. description: OK
  20416. schema:
  20417. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20418. "500":
  20419. description: Internal Server Error
  20420. schema:
  20421. $ref: '#/definitions/app.Response'
  20422. security:
  20423. - ApiKeyAuth: []
  20424. summary: 获取企业风管期货成交单信息
  20425. tags:
  20426. - 企业风险管理(app)
  20427. /Ermcp/QueryErmcpTradePosition:
  20428. get:
  20429. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20430. parameters:
  20431. - description: 资金账户ID
  20432. in: query
  20433. name: accountID
  20434. required: true
  20435. type: integer
  20436. - description: 所属市场ID
  20437. in: query
  20438. name: marketID
  20439. type: integer
  20440. produces:
  20441. - application/json
  20442. responses:
  20443. "200":
  20444. description: OK
  20445. schema:
  20446. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20447. "500":
  20448. description: Internal Server Error
  20449. schema:
  20450. $ref: '#/definitions/app.Response'
  20451. security:
  20452. - ApiKeyAuth: []
  20453. summary: 获取企业风管期货持仓头寸信息
  20454. tags:
  20455. - 企业风险管理(app)
  20456. /Ermcp/QueryExposureDetail:
  20457. get:
  20458. parameters:
  20459. - description: 所属机构ID
  20460. in: query
  20461. name: areaUserId
  20462. required: true
  20463. type: integer
  20464. - description: 套保商品
  20465. in: query
  20466. name: middleGoodsId
  20467. required: true
  20468. type: integer
  20469. produces:
  20470. - application/json
  20471. responses:
  20472. "200":
  20473. description: OK
  20474. schema:
  20475. items:
  20476. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20477. type: array
  20478. "500":
  20479. description: Internal Server Error
  20480. schema:
  20481. $ref: '#/definitions/app.Response'
  20482. security:
  20483. - ApiKeyAuth: []
  20484. summary: 查询敞口现货明细
  20485. tags:
  20486. - 企业风险管理(app)
  20487. /Ermcp/QueryExposureGoods:
  20488. get:
  20489. parameters:
  20490. - description: 套保商品id
  20491. in: query
  20492. name: middlegoodsid
  20493. required: true
  20494. type: integer
  20495. produces:
  20496. - application/json
  20497. responses:
  20498. "200":
  20499. description: OK
  20500. schema:
  20501. items:
  20502. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20503. type: array
  20504. "500":
  20505. description: Internal Server Error
  20506. schema:
  20507. $ref: '#/definitions/app.Response'
  20508. security:
  20509. - ApiKeyAuth: []
  20510. summary: 查询敞口主力合约
  20511. tags:
  20512. - 企业风险管理(app)
  20513. /Ermcp/QueryExposureHedgePosition:
  20514. get:
  20515. parameters:
  20516. - description: 用户id
  20517. in: query
  20518. name: userid
  20519. required: true
  20520. type: integer
  20521. produces:
  20522. - application/json
  20523. responses:
  20524. "200":
  20525. description: OK
  20526. schema:
  20527. items:
  20528. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20529. type: array
  20530. "500":
  20531. description: Internal Server Error
  20532. schema:
  20533. $ref: '#/definitions/app.Response'
  20534. security:
  20535. - ApiKeyAuth: []
  20536. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20537. tags:
  20538. - 企业风险管理(app)
  20539. /Ermcp/QueryExposureHedgePositionDetail:
  20540. get:
  20541. parameters:
  20542. - description: 所属机构ID
  20543. in: query
  20544. name: userid
  20545. required: true
  20546. type: integer
  20547. - description: 商品id
  20548. in: query
  20549. name: goodsId
  20550. required: true
  20551. type: integer
  20552. produces:
  20553. - application/json
  20554. responses:
  20555. "200":
  20556. description: OK
  20557. schema:
  20558. items:
  20559. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20560. type: array
  20561. "500":
  20562. description: Internal Server Error
  20563. schema:
  20564. $ref: '#/definitions/app.Response'
  20565. security:
  20566. - ApiKeyAuth: []
  20567. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20568. tags:
  20569. - 企业风险管理(app)
  20570. /Ermcp/QueryExposureSpot:
  20571. get:
  20572. parameters:
  20573. - description: 所属机构ID
  20574. in: query
  20575. name: areaUserId
  20576. required: true
  20577. type: integer
  20578. produces:
  20579. - application/json
  20580. responses:
  20581. "200":
  20582. description: OK
  20583. schema:
  20584. items:
  20585. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20586. type: array
  20587. "500":
  20588. description: Internal Server Error
  20589. schema:
  20590. $ref: '#/definitions/app.Response'
  20591. security:
  20592. - ApiKeyAuth: []
  20593. summary: 查询敞口现货头寸(敞口/现货头寸)
  20594. tags:
  20595. - 企业风险管理(app)
  20596. /Ermcp/QueryExposureSpotDetail:
  20597. get:
  20598. parameters:
  20599. - description: 所属机构ID
  20600. in: query
  20601. name: areaUserId
  20602. required: true
  20603. type: integer
  20604. - description: 现货品种ID
  20605. in: query
  20606. name: wrstandardId
  20607. required: true
  20608. type: integer
  20609. produces:
  20610. - application/json
  20611. responses:
  20612. "200":
  20613. description: OK
  20614. schema:
  20615. items:
  20616. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20617. type: array
  20618. "500":
  20619. description: Internal Server Error
  20620. schema:
  20621. $ref: '#/definitions/app.Response'
  20622. security:
  20623. - ApiKeyAuth: []
  20624. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20625. tags:
  20626. - 企业风险管理(app)
  20627. /Ermcp/QueryFuturesCompany:
  20628. get:
  20629. produces:
  20630. - application/json
  20631. responses:
  20632. "200":
  20633. description: OK
  20634. schema:
  20635. items:
  20636. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20637. type: array
  20638. "500":
  20639. description: Internal Server Error
  20640. schema:
  20641. $ref: '#/definitions/app.Response'
  20642. security:
  20643. - ApiKeyAuth: []
  20644. summary: 查询期货公司
  20645. tags:
  20646. - 企业风险管理(app)
  20647. /Ermcp/QueryGGConvertConfig:
  20648. get:
  20649. parameters:
  20650. - description: 品种id(不填则查所有)
  20651. in: query
  20652. name: goodsgroupid
  20653. type: integer
  20654. produces:
  20655. - application/json
  20656. responses:
  20657. "200":
  20658. description: OK
  20659. schema:
  20660. items:
  20661. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20662. type: array
  20663. "500":
  20664. description: Internal Server Error
  20665. schema:
  20666. $ref: '#/definitions/app.Response'
  20667. security:
  20668. - ApiKeyAuth: []
  20669. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20670. tags:
  20671. - 企业风险管理(app)
  20672. /Ermcp/QueryGoodsBrand:
  20673. get:
  20674. parameters:
  20675. - description: 用户ID
  20676. in: query
  20677. name: userid
  20678. required: true
  20679. type: integer
  20680. - description: 现货商品ID
  20681. in: query
  20682. name: wrstandardid
  20683. type: integer
  20684. produces:
  20685. - application/json
  20686. responses:
  20687. "200":
  20688. description: OK
  20689. schema:
  20690. items:
  20691. $ref: '#/definitions/models.ErmcpGoodsBrand'
  20692. type: array
  20693. "500":
  20694. description: Internal Server Error
  20695. schema:
  20696. $ref: '#/definitions/app.Response'
  20697. security:
  20698. - ApiKeyAuth: []
  20699. summary: 查询商品品牌
  20700. tags:
  20701. - 企业风险管理(app)
  20702. /Ermcp/QueryGoodsModel:
  20703. get:
  20704. parameters:
  20705. - description: 用户ID
  20706. in: query
  20707. name: userid
  20708. required: true
  20709. type: integer
  20710. produces:
  20711. - application/json
  20712. responses:
  20713. "200":
  20714. description: OK
  20715. schema:
  20716. items:
  20717. $ref: '#/definitions/models.ErmcpGoodsModel'
  20718. type: array
  20719. "500":
  20720. description: Internal Server Error
  20721. schema:
  20722. $ref: '#/definitions/app.Response'
  20723. security:
  20724. - ApiKeyAuth: []
  20725. summary: 查询商品型号
  20726. tags:
  20727. - 企业风险管理(app)
  20728. /Ermcp/QueryHisExposure:
  20729. get:
  20730. parameters:
  20731. - description: 用户id
  20732. in: query
  20733. name: userid
  20734. required: true
  20735. type: integer
  20736. - description: 每个品种记录数
  20737. in: query
  20738. name: lastNum
  20739. required: true
  20740. type: integer
  20741. produces:
  20742. - application/json
  20743. responses:
  20744. "200":
  20745. description: OK
  20746. schema:
  20747. items:
  20748. $ref: '#/definitions/ermcp.HisExposureRsp'
  20749. type: array
  20750. "500":
  20751. description: Internal Server Error
  20752. schema:
  20753. $ref: '#/definitions/app.Response'
  20754. security:
  20755. - ApiKeyAuth: []
  20756. summary: 查询历史敞口(菜单:敞口/历史敞口)
  20757. tags:
  20758. - 企业风险管理(app)
  20759. /Ermcp/QueryMiddleGoods:
  20760. get:
  20761. parameters:
  20762. - description: 所属机构ID
  20763. in: query
  20764. name: userid
  20765. required: true
  20766. type: integer
  20767. - description: 状态 0-停用 1-正常
  20768. in: query
  20769. name: status
  20770. required: true
  20771. type: integer
  20772. produces:
  20773. - application/json
  20774. responses:
  20775. "200":
  20776. description: OK
  20777. schema:
  20778. items:
  20779. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  20780. type: array
  20781. "500":
  20782. description: Internal Server Error
  20783. schema:
  20784. $ref: '#/definitions/app.Response'
  20785. security:
  20786. - ApiKeyAuth: []
  20787. summary: 查询套保品种(菜单:套保品种)
  20788. tags:
  20789. - 企业风险管理(app)
  20790. /Ermcp/QueryMiddleGoodsChangeLog:
  20791. get:
  20792. parameters:
  20793. - description: 所属机构ID
  20794. in: query
  20795. name: userid
  20796. required: true
  20797. type: integer
  20798. - description: 套保品种id
  20799. in: query
  20800. name: middlegoodsid
  20801. required: true
  20802. type: integer
  20803. produces:
  20804. - application/json
  20805. responses:
  20806. "200":
  20807. description: OK
  20808. schema:
  20809. items:
  20810. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  20811. type: array
  20812. "500":
  20813. description: Internal Server Error
  20814. schema:
  20815. $ref: '#/definitions/app.Response'
  20816. security:
  20817. - ApiKeyAuth: []
  20818. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  20819. tags:
  20820. - 企业风险管理(app)
  20821. /Ermcp/QueryMiddleGoodsDetail:
  20822. get:
  20823. parameters:
  20824. - description: 所属机构ID
  20825. in: query
  20826. name: userid
  20827. required: true
  20828. type: integer
  20829. - description: 套保品种id
  20830. in: query
  20831. name: middlegoodsid
  20832. type: integer
  20833. produces:
  20834. - application/json
  20835. responses:
  20836. "200":
  20837. description: OK
  20838. schema:
  20839. items:
  20840. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  20841. type: array
  20842. "500":
  20843. description: Internal Server Error
  20844. schema:
  20845. $ref: '#/definitions/app.Response'
  20846. security:
  20847. - ApiKeyAuth: []
  20848. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  20849. tags:
  20850. - 企业风险管理(app)
  20851. /Ermcp/QueryPendingAuditInfo:
  20852. get:
  20853. parameters:
  20854. - description: 用户ID
  20855. in: query
  20856. name: UserId
  20857. required: true
  20858. type: integer
  20859. produces:
  20860. - application/json
  20861. responses:
  20862. "200":
  20863. description: OK
  20864. schema:
  20865. items:
  20866. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  20867. type: array
  20868. "500":
  20869. description: Internal Server Error
  20870. schema:
  20871. $ref: '#/definitions/app.Response'
  20872. security:
  20873. - ApiKeyAuth: []
  20874. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  20875. tags:
  20876. - 企业风险管理(app)
  20877. /Ermcp/QueryRealtimeExposure:
  20878. get:
  20879. parameters:
  20880. - description: 所属机构ID
  20881. in: query
  20882. name: userid
  20883. required: true
  20884. type: integer
  20885. produces:
  20886. - application/json
  20887. responses:
  20888. "200":
  20889. description: OK
  20890. schema:
  20891. items:
  20892. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  20893. type: array
  20894. "500":
  20895. description: Internal Server Error
  20896. schema:
  20897. $ref: '#/definitions/app.Response'
  20898. security:
  20899. - ApiKeyAuth: []
  20900. summary: 查询实时敞口
  20901. tags:
  20902. - 企业风险管理(app)
  20903. /Ermcp/QueryRealtimeExposurePosition:
  20904. get:
  20905. parameters:
  20906. - description: 用户id
  20907. in: query
  20908. name: userid
  20909. required: true
  20910. type: integer
  20911. - description: 套保商品ID
  20912. in: query
  20913. name: middleGoodsId
  20914. required: true
  20915. type: integer
  20916. produces:
  20917. - application/json
  20918. responses:
  20919. "200":
  20920. description: OK
  20921. schema:
  20922. items:
  20923. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  20924. type: array
  20925. "500":
  20926. description: Internal Server Error
  20927. schema:
  20928. $ref: '#/definitions/app.Response'
  20929. security:
  20930. - ApiKeyAuth: []
  20931. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  20932. tags:
  20933. - 企业风险管理(app)
  20934. /Ermcp/QueryRoleMenu:
  20935. get:
  20936. parameters:
  20937. - description: 登录ID
  20938. in: query
  20939. name: loginid
  20940. required: true
  20941. type: integer
  20942. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  20943. in: query
  20944. name: menutype
  20945. type: integer
  20946. produces:
  20947. - application/json
  20948. responses:
  20949. "200":
  20950. description: OK
  20951. schema:
  20952. items:
  20953. $ref: '#/definitions/models.RoleMenu'
  20954. type: array
  20955. "500":
  20956. description: Internal Server Error
  20957. schema:
  20958. $ref: '#/definitions/app.Response'
  20959. security:
  20960. - ApiKeyAuth: []
  20961. summary: 查询角色菜单和权限
  20962. tags:
  20963. - 企业风险管理(app)
  20964. /Ermcp/QueryTradeConfigTMP:
  20965. get:
  20966. parameters:
  20967. - description: 所属机构id
  20968. in: query
  20969. name: areauserid
  20970. type: integer
  20971. produces:
  20972. - application/json
  20973. responses:
  20974. "200":
  20975. description: OK
  20976. schema:
  20977. items:
  20978. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  20979. type: array
  20980. "500":
  20981. description: Internal Server Error
  20982. schema:
  20983. $ref: '#/definitions/app.Response'
  20984. security:
  20985. - ApiKeyAuth: []
  20986. summary: 查询交易模板配置
  20987. tags:
  20988. - 企业风险管理(app)
  20989. /Ermcp/QueryUserInfo:
  20990. get:
  20991. parameters:
  20992. - description: 所属机构用户ID
  20993. in: query
  20994. name: MemberUserID
  20995. required: true
  20996. type: integer
  20997. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  20998. in: query
  20999. name: queryType
  21000. required: true
  21001. type: integer
  21002. produces:
  21003. - application/json
  21004. responses:
  21005. "200":
  21006. description: OK
  21007. schema:
  21008. items:
  21009. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  21010. type: array
  21011. "500":
  21012. description: Internal Server Error
  21013. schema:
  21014. $ref: '#/definitions/app.Response'
  21015. security:
  21016. - ApiKeyAuth: []
  21017. summary: 查询客户资料
  21018. tags:
  21019. - 企业风险管理(app)
  21020. /Ermcp/QueryWarehouseInfo:
  21021. get:
  21022. parameters:
  21023. - description: 用户ID
  21024. in: query
  21025. name: userid
  21026. required: true
  21027. type: integer
  21028. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  21029. in: query
  21030. name: status
  21031. type: string
  21032. produces:
  21033. - application/json
  21034. responses:
  21035. "200":
  21036. description: OK
  21037. schema:
  21038. items:
  21039. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  21040. type: array
  21041. "500":
  21042. description: Internal Server Error
  21043. schema:
  21044. $ref: '#/definitions/app.Response'
  21045. security:
  21046. - ApiKeyAuth: []
  21047. summary: 查询仓库信息
  21048. tags:
  21049. - 企业风险管理(app)
  21050. /Ermcp3/QryAreaExpourseContractDetail:
  21051. get:
  21052. parameters:
  21053. - description: 用户ID
  21054. in: query
  21055. name: userid
  21056. required: true
  21057. type: integer
  21058. - description: 套保商品id
  21059. in: query
  21060. name: middlegoodsid
  21061. required: true
  21062. type: integer
  21063. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21064. in: query
  21065. name: cycletype
  21066. required: true
  21067. type: integer
  21068. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21069. in: query
  21070. name: cycletime
  21071. required: true
  21072. type: string
  21073. produces:
  21074. - application/json
  21075. responses:
  21076. "200":
  21077. description: OK
  21078. schema:
  21079. items:
  21080. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  21081. type: array
  21082. "500":
  21083. description: Internal Server Error
  21084. schema:
  21085. $ref: '#/definitions/app.Response'
  21086. security:
  21087. - ApiKeyAuth: []
  21088. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  21089. tags:
  21090. - 企业风险管理v3(app)
  21091. /Ermcp3/QryAreaExpourseFutuDetail:
  21092. get:
  21093. parameters:
  21094. - description: 用户ID
  21095. in: query
  21096. name: userid
  21097. required: true
  21098. type: integer
  21099. - description: 套保商品id
  21100. in: query
  21101. name: middlegoodsid
  21102. required: true
  21103. type: integer
  21104. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21105. in: query
  21106. name: cycletype
  21107. required: true
  21108. type: integer
  21109. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21110. in: query
  21111. name: cycletime
  21112. required: true
  21113. type: string
  21114. produces:
  21115. - application/json
  21116. responses:
  21117. "200":
  21118. description: OK
  21119. schema:
  21120. items:
  21121. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  21122. type: array
  21123. "500":
  21124. description: Internal Server Error
  21125. schema:
  21126. $ref: '#/definitions/app.Response'
  21127. security:
  21128. - ApiKeyAuth: []
  21129. summary: 查询敞口期货明细(敞口报表/期货明细)
  21130. tags:
  21131. - 企业风险管理v3(app)
  21132. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  21133. get:
  21134. parameters:
  21135. - description: 用户ID
  21136. in: query
  21137. name: userid
  21138. required: true
  21139. type: integer
  21140. - description: 套保商品id
  21141. in: query
  21142. name: middlegoodsid
  21143. required: true
  21144. type: integer
  21145. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21146. in: query
  21147. name: cycletype
  21148. required: true
  21149. type: integer
  21150. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21151. in: query
  21152. name: cycletime
  21153. required: true
  21154. type: string
  21155. produces:
  21156. - application/json
  21157. responses:
  21158. "200":
  21159. description: OK
  21160. schema:
  21161. items:
  21162. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  21163. type: array
  21164. "500":
  21165. description: Internal Server Error
  21166. schema:
  21167. $ref: '#/definitions/app.Response'
  21168. security:
  21169. - ApiKeyAuth: []
  21170. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  21171. tags:
  21172. - 企业风险管理v3(app)
  21173. /Ermcp3/QryAreaExpourseParamChLogDetail:
  21174. get:
  21175. parameters:
  21176. - description: 用户ID
  21177. in: query
  21178. name: userid
  21179. required: true
  21180. type: integer
  21181. - description: 套保商品id
  21182. in: query
  21183. name: middlegoodsid
  21184. required: true
  21185. type: integer
  21186. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21187. in: query
  21188. name: cycletype
  21189. required: true
  21190. type: integer
  21191. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21192. in: query
  21193. name: cycletime
  21194. required: true
  21195. type: string
  21196. produces:
  21197. - application/json
  21198. responses:
  21199. "200":
  21200. description: OK
  21201. schema:
  21202. items:
  21203. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  21204. type: array
  21205. "500":
  21206. description: Internal Server Error
  21207. schema:
  21208. $ref: '#/definitions/app.Response'
  21209. security:
  21210. - ApiKeyAuth: []
  21211. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  21212. tags:
  21213. - 企业风险管理v3(app)
  21214. /Ermcp3/QryAreaExpourseReport:
  21215. get:
  21216. parameters:
  21217. - description: 用户ID
  21218. in: query
  21219. name: userid
  21220. required: true
  21221. type: integer
  21222. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  21223. in: query
  21224. name: querytype
  21225. required: true
  21226. type: integer
  21227. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21228. in: query
  21229. name: cycletype
  21230. required: true
  21231. type: integer
  21232. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21233. in: query
  21234. name: cycletime
  21235. required: true
  21236. type: string
  21237. produces:
  21238. - application/json
  21239. responses:
  21240. "200":
  21241. description: OK
  21242. schema:
  21243. items:
  21244. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21245. type: array
  21246. "500":
  21247. description: Internal Server Error
  21248. schema:
  21249. $ref: '#/definitions/app.Response'
  21250. security:
  21251. - ApiKeyAuth: []
  21252. summary: 查询敞口报表
  21253. tags:
  21254. - 企业风险管理v3(app)
  21255. /Ermcp3/QryAreaSpotplReport:
  21256. get:
  21257. parameters:
  21258. - description: 用户ID
  21259. in: query
  21260. name: userid
  21261. required: true
  21262. type: integer
  21263. - description: 查询类型 1-报表 2-报表明细
  21264. in: query
  21265. name: querytype
  21266. required: true
  21267. type: integer
  21268. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21269. in: query
  21270. name: cycletype
  21271. required: true
  21272. type: integer
  21273. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21274. in: query
  21275. name: cycletime
  21276. required: true
  21277. type: string
  21278. - description: 现货品种id(明细必填)
  21279. in: query
  21280. name: deliverygoodsid
  21281. type: integer
  21282. - description: 币种id(明细必填)
  21283. in: query
  21284. name: currencyid
  21285. type: integer
  21286. produces:
  21287. - application/json
  21288. responses:
  21289. "200":
  21290. description: OK
  21291. schema:
  21292. items:
  21293. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21294. type: array
  21295. "500":
  21296. description: Internal Server Error
  21297. schema:
  21298. $ref: '#/definitions/app.Response'
  21299. security:
  21300. - ApiKeyAuth: []
  21301. summary: 查询现货报表
  21302. tags:
  21303. - 企业风险管理v3(app)
  21304. /Ermcp3/QryAreaStockReport:
  21305. get:
  21306. parameters:
  21307. - description: 用户ID
  21308. in: query
  21309. name: userid
  21310. required: true
  21311. type: integer
  21312. - description: 查询类型 1-报表 2-报表明细
  21313. in: query
  21314. name: querytype
  21315. required: true
  21316. type: integer
  21317. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21318. in: query
  21319. name: cycletype
  21320. required: true
  21321. type: integer
  21322. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21323. in: query
  21324. name: cycletime
  21325. required: true
  21326. type: string
  21327. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21328. in: query
  21329. name: sumfields
  21330. type: string
  21331. - description: 品种ID
  21332. in: query
  21333. name: deliverygoodsid
  21334. type: integer
  21335. - description: 品类ID
  21336. in: query
  21337. name: wrstandardid
  21338. type: integer
  21339. - description: 品牌ID
  21340. in: query
  21341. name: spotgoodsbrandid
  21342. type: integer
  21343. - description: 仓库ID
  21344. in: query
  21345. name: warehouseinfoid
  21346. type: integer
  21347. produces:
  21348. - application/json
  21349. responses:
  21350. "200":
  21351. description: OK
  21352. schema:
  21353. items:
  21354. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21355. type: array
  21356. "500":
  21357. description: Internal Server Error
  21358. schema:
  21359. $ref: '#/definitions/app.Response'
  21360. security:
  21361. - ApiKeyAuth: []
  21362. summary: 查询库存报表
  21363. tags:
  21364. - 企业风险管理v3(app)
  21365. /Ermcp3/QryAreaSumPL:
  21366. get:
  21367. parameters:
  21368. - description: 用户ID
  21369. in: query
  21370. name: userid
  21371. required: true
  21372. type: integer
  21373. - description: 查询类型 1-报表 2-报表明细
  21374. in: query
  21375. name: querytype
  21376. required: true
  21377. type: integer
  21378. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21379. in: query
  21380. name: cycletype
  21381. required: true
  21382. type: integer
  21383. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21384. in: query
  21385. name: cycletime
  21386. required: true
  21387. type: string
  21388. - description: 币种id(明细必填)
  21389. in: query
  21390. name: currencyid
  21391. type: integer
  21392. produces:
  21393. - application/json
  21394. responses:
  21395. "200":
  21396. description: OK
  21397. schema:
  21398. items:
  21399. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21400. type: array
  21401. "500":
  21402. description: Internal Server Error
  21403. schema:
  21404. $ref: '#/definitions/app.Response'
  21405. security:
  21406. - ApiKeyAuth: []
  21407. summary: 查询汇总损益表
  21408. tags:
  21409. - 企业风险管理v3(app)
  21410. /Ermcp3/QryFinanceReport:
  21411. get:
  21412. parameters:
  21413. - description: 用户ID
  21414. in: query
  21415. name: userid
  21416. required: true
  21417. type: integer
  21418. - description: 查询类型 1-报表 2-报表明细
  21419. in: query
  21420. name: querytype
  21421. required: true
  21422. type: integer
  21423. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21424. in: query
  21425. name: cycletype
  21426. required: true
  21427. type: integer
  21428. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21429. in: query
  21430. name: cycletime
  21431. required: true
  21432. type: string
  21433. - description: 币种id(报表明细必填)
  21434. in: query
  21435. name: currencyid
  21436. type: integer
  21437. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21438. in: query
  21439. name: sumfields
  21440. type: string
  21441. produces:
  21442. - application/json
  21443. responses:
  21444. "200":
  21445. description: OK
  21446. schema:
  21447. items:
  21448. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21449. type: array
  21450. "500":
  21451. description: Internal Server Error
  21452. schema:
  21453. $ref: '#/definitions/app.Response'
  21454. security:
  21455. - ApiKeyAuth: []
  21456. summary: 查询财务报表
  21457. tags:
  21458. - 企业风险管理v3(app)
  21459. /Ermcp3/QrySCMiddleGoodsReport:
  21460. get:
  21461. parameters:
  21462. - description: 用户ID
  21463. in: query
  21464. name: userid
  21465. required: true
  21466. type: integer
  21467. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21468. in: query
  21469. name: cycletype
  21470. required: true
  21471. type: integer
  21472. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21473. in: query
  21474. name: cycletime
  21475. required: true
  21476. type: string
  21477. - description: 合同id
  21478. in: query
  21479. name: spotcontractid
  21480. type: integer
  21481. - description: 套保品种id
  21482. in: query
  21483. name: middlegoodsid
  21484. type: integer
  21485. - description: 现货品种id
  21486. in: query
  21487. name: deliverygoodsid
  21488. type: integer
  21489. - description: 现货商品id
  21490. in: query
  21491. name: wrstandardid
  21492. type: integer
  21493. - description: 合同编号(模糊匹配)
  21494. in: query
  21495. name: contractno
  21496. type: string
  21497. produces:
  21498. - application/json
  21499. responses:
  21500. "200":
  21501. description: OK
  21502. schema:
  21503. items:
  21504. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21505. type: array
  21506. "500":
  21507. description: Internal Server Error
  21508. schema:
  21509. $ref: '#/definitions/app.Response'
  21510. security:
  21511. - ApiKeyAuth: []
  21512. summary: 查询定价报表
  21513. tags:
  21514. - 企业风险管理v3(app)
  21515. /Ermcp3/QryTaFutureDataReport:
  21516. get:
  21517. parameters:
  21518. - description: 用户ID
  21519. in: query
  21520. name: userid
  21521. required: true
  21522. type: integer
  21523. - description: 查询类型 1-报表 2-报表明细
  21524. in: query
  21525. name: querytype
  21526. required: true
  21527. type: integer
  21528. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21529. in: query
  21530. name: cycletype
  21531. required: true
  21532. type: integer
  21533. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21534. in: query
  21535. name: cycletime
  21536. required: true
  21537. type: string
  21538. - description: 币种id(查明细必填)
  21539. in: query
  21540. name: currencyid
  21541. type: integer
  21542. - description: 品种id(查明细必填)
  21543. in: query
  21544. name: goodsgroupid
  21545. type: integer
  21546. - description: 商品id(查明细必填)
  21547. in: query
  21548. name: goodsid
  21549. type: integer
  21550. - description: 买卖方向(查明细必填)
  21551. in: query
  21552. name: buyorsell
  21553. type: integer
  21554. produces:
  21555. - application/json
  21556. responses:
  21557. "200":
  21558. description: OK
  21559. schema:
  21560. items:
  21561. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21562. type: array
  21563. "500":
  21564. description: Internal Server Error
  21565. schema:
  21566. $ref: '#/definitions/app.Response'
  21567. security:
  21568. - ApiKeyAuth: []
  21569. summary: 查询期货报表
  21570. tags:
  21571. - 企业风险管理v3(app)
  21572. /Ermcp3/QueryAreaStock:
  21573. get:
  21574. parameters:
  21575. - description: 用户ID
  21576. in: query
  21577. name: userid
  21578. required: true
  21579. type: integer
  21580. produces:
  21581. - application/json
  21582. responses:
  21583. "200":
  21584. description: OK
  21585. schema:
  21586. items:
  21587. $ref: '#/definitions/models.Ermcp3AreaStock'
  21588. type: array
  21589. "500":
  21590. description: Internal Server Error
  21591. schema:
  21592. $ref: '#/definitions/app.Response'
  21593. security:
  21594. - ApiKeyAuth: []
  21595. summary: 查询机构库存(库存管理/当前库存)
  21596. tags:
  21597. - 企业风险管理v3(app)
  21598. /Ermcp3/QueryAreaStockApply:
  21599. get:
  21600. parameters:
  21601. - description: 用户ID
  21602. in: query
  21603. name: userid
  21604. required: true
  21605. type: integer
  21606. - description: 用户类型 2-机构 7-企业成员
  21607. in: query
  21608. name: usertype
  21609. type: integer
  21610. - description: 现货商品ID
  21611. in: query
  21612. name: deliverygoodsid
  21613. type: integer
  21614. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21615. in: query
  21616. name: inouttype
  21617. type: string
  21618. - description: 合同ID
  21619. in: query
  21620. name: spotcontractid
  21621. type: integer
  21622. - description: 品类ID
  21623. in: query
  21624. name: wrstandardid
  21625. type: integer
  21626. - description: 品牌ID
  21627. in: query
  21628. name: spotgoodsbrandid
  21629. type: integer
  21630. - description: 仓库ID
  21631. in: query
  21632. name: warehouseinfoid
  21633. type: integer
  21634. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21635. in: query
  21636. name: applystatus
  21637. type: string
  21638. produces:
  21639. - application/json
  21640. responses:
  21641. "200":
  21642. description: OK
  21643. schema:
  21644. items:
  21645. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21646. type: array
  21647. "500":
  21648. description: Internal Server Error
  21649. schema:
  21650. $ref: '#/definitions/app.Response'
  21651. security:
  21652. - ApiKeyAuth: []
  21653. summary: 查询库存申请(出入库记录|库存审核)
  21654. tags:
  21655. - 企业风险管理v3(app)
  21656. /Ermcp3/QueryAreaStockApplySum:
  21657. get:
  21658. parameters:
  21659. - description: 合同ID
  21660. in: query
  21661. name: spotcontractid
  21662. required: true
  21663. type: integer
  21664. produces:
  21665. - application/json
  21666. responses:
  21667. "200":
  21668. description: OK
  21669. schema:
  21670. items:
  21671. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21672. type: array
  21673. "500":
  21674. description: Internal Server Error
  21675. schema:
  21676. $ref: '#/definitions/app.Response'
  21677. security:
  21678. - ApiKeyAuth: []
  21679. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21680. tags:
  21681. - 企业风险管理v3(app)
  21682. /Ermcp3/QueryDGFactoryItem:
  21683. get:
  21684. parameters:
  21685. - description: 用户id
  21686. in: query
  21687. name: userid
  21688. type: integer
  21689. - description: 用户类型 2-机构 7-企业成员
  21690. in: query
  21691. name: usertype
  21692. type: integer
  21693. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21694. in: query
  21695. name: dgfactoryitemid
  21696. type: integer
  21697. - description: 现货品种ID
  21698. in: query
  21699. name: deliverygoodsid
  21700. type: integer
  21701. - description: 要素项类型
  21702. in: query
  21703. name: dgfactoryitemtypeid
  21704. type: integer
  21705. - description: 顺序
  21706. in: query
  21707. name: orderindex
  21708. type: integer
  21709. produces:
  21710. - application/json
  21711. responses:
  21712. "200":
  21713. description: OK
  21714. schema:
  21715. items:
  21716. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  21717. type: array
  21718. "500":
  21719. description: Internal Server Error
  21720. schema:
  21721. $ref: '#/definitions/app.Response'
  21722. security:
  21723. - ApiKeyAuth: []
  21724. summary: 查询品种要素定义项
  21725. tags:
  21726. - 企业风险管理v3(app)
  21727. /Ermcp3/QueryDeliveryGoods:
  21728. get:
  21729. parameters:
  21730. - description: 用户id
  21731. in: query
  21732. name: userid
  21733. required: true
  21734. type: integer
  21735. - description: 用户类型 2-机构 7-企业成员
  21736. in: query
  21737. name: usertype
  21738. type: integer
  21739. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21740. in: query
  21741. name: excludecfg
  21742. type: integer
  21743. produces:
  21744. - application/json
  21745. responses:
  21746. "200":
  21747. description: OK
  21748. schema:
  21749. items:
  21750. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  21751. type: array
  21752. "500":
  21753. description: Internal Server Error
  21754. schema:
  21755. $ref: '#/definitions/app.Response'
  21756. security:
  21757. - ApiKeyAuth: []
  21758. summary: 查询现货商品
  21759. tags:
  21760. - 企业风险管理v3(app)
  21761. /Ermcp3/QueryDeliveryGoodsDetail:
  21762. get:
  21763. parameters:
  21764. - description: 用户id
  21765. in: query
  21766. name: userid
  21767. required: true
  21768. type: integer
  21769. - description: 用户类型 2-机构 7-企业成员
  21770. in: query
  21771. name: usertype
  21772. type: integer
  21773. - description: 现货商品id
  21774. in: query
  21775. name: deliverygoodsid
  21776. type: integer
  21777. produces:
  21778. - application/json
  21779. responses:
  21780. "200":
  21781. description: OK
  21782. schema:
  21783. items:
  21784. $ref: '#/definitions/models.XHDeliveryGoods'
  21785. type: array
  21786. "500":
  21787. description: Internal Server Error
  21788. schema:
  21789. $ref: '#/definitions/app.Response'
  21790. security:
  21791. - ApiKeyAuth: []
  21792. summary: 查询现货商品详情
  21793. tags:
  21794. - 企业风险管理v3(app)
  21795. /Ermcp3/QueryExposureDetail:
  21796. get:
  21797. parameters:
  21798. - description: 用户id
  21799. in: query
  21800. name: userid
  21801. required: true
  21802. type: integer
  21803. - description: 用户类型 2-机构 7-企业成员
  21804. in: query
  21805. name: usertype
  21806. type: integer
  21807. - description: 套保商品
  21808. in: query
  21809. name: middlegoodsid
  21810. required: true
  21811. type: integer
  21812. produces:
  21813. - application/json
  21814. responses:
  21815. "200":
  21816. description: OK
  21817. schema:
  21818. items:
  21819. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  21820. type: array
  21821. "500":
  21822. description: Internal Server Error
  21823. schema:
  21824. $ref: '#/definitions/app.Response'
  21825. security:
  21826. - ApiKeyAuth: []
  21827. summary: 查询敞口现货明细
  21828. tags:
  21829. - 企业风险管理v3(app)
  21830. /Ermcp3/QueryExposureSpot:
  21831. get:
  21832. parameters:
  21833. - description: 用户id
  21834. in: query
  21835. name: userid
  21836. required: true
  21837. type: integer
  21838. - description: 用户类型 2-机构 7-企业成员
  21839. in: query
  21840. name: usertype
  21841. type: integer
  21842. produces:
  21843. - application/json
  21844. responses:
  21845. "200":
  21846. description: OK
  21847. schema:
  21848. items:
  21849. $ref: '#/definitions/models.Ermcp3AreaSpot'
  21850. type: array
  21851. "500":
  21852. description: Internal Server Error
  21853. schema:
  21854. $ref: '#/definitions/app.Response'
  21855. security:
  21856. - ApiKeyAuth: []
  21857. summary: 查询敞口现货头寸(敞口/现货头寸)
  21858. tags:
  21859. - 企业风险管理v3(app)
  21860. /Ermcp3/QueryExposureSpotDetail:
  21861. get:
  21862. parameters:
  21863. - description: 用户id
  21864. in: query
  21865. name: userid
  21866. required: true
  21867. type: integer
  21868. - description: 用户类型 2-机构 7-企业成员
  21869. in: query
  21870. name: usertype
  21871. type: integer
  21872. - description: 现货商品ID
  21873. in: query
  21874. name: wrstandardid
  21875. required: true
  21876. type: integer
  21877. produces:
  21878. - application/json
  21879. responses:
  21880. "200":
  21881. description: OK
  21882. schema:
  21883. items:
  21884. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  21885. type: array
  21886. "500":
  21887. description: Internal Server Error
  21888. schema:
  21889. $ref: '#/definitions/app.Response'
  21890. security:
  21891. - ApiKeyAuth: []
  21892. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21893. tags:
  21894. - 企业风险管理v3(app)
  21895. /Ermcp3/QueryGoodsGroup:
  21896. get:
  21897. parameters:
  21898. - description: 用户id
  21899. in: query
  21900. name: userid
  21901. required: true
  21902. type: integer
  21903. - description: 用户类型 2-机构 7-企业成员
  21904. in: query
  21905. name: usertype
  21906. type: integer
  21907. - description: 排除套保品中已关联的商品组 1-排除
  21908. in: query
  21909. name: excludecfg
  21910. type: integer
  21911. produces:
  21912. - application/json
  21913. responses:
  21914. "200":
  21915. description: OK
  21916. schema:
  21917. items:
  21918. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  21919. type: array
  21920. "500":
  21921. description: Internal Server Error
  21922. schema:
  21923. $ref: '#/definitions/app.Response'
  21924. security:
  21925. - ApiKeyAuth: []
  21926. summary: 查询期货商品组
  21927. tags:
  21928. - 企业风险管理v3(app)
  21929. /Ermcp3/QueryGoodsWrstandard:
  21930. get:
  21931. parameters:
  21932. - description: 用户id
  21933. in: query
  21934. name: userid
  21935. required: true
  21936. type: integer
  21937. - description: 用户类型 2-机构 7-企业成员
  21938. in: query
  21939. name: usertype
  21940. type: integer
  21941. - description: 现货商品id
  21942. in: query
  21943. name: deliverygoodsid
  21944. type: integer
  21945. produces:
  21946. - application/json
  21947. responses:
  21948. "200":
  21949. description: OK
  21950. schema:
  21951. items:
  21952. $ref: '#/definitions/models.Ermcp3Wrstandard'
  21953. type: array
  21954. "500":
  21955. description: Internal Server Error
  21956. schema:
  21957. $ref: '#/definitions/app.Response'
  21958. security:
  21959. - ApiKeyAuth: []
  21960. summary: 查询商品品类
  21961. tags:
  21962. - 企业风险管理v3(app)
  21963. /Ermcp3/QueryGoodsbrand:
  21964. get:
  21965. parameters:
  21966. - description: 用户id
  21967. in: query
  21968. name: userid
  21969. required: true
  21970. type: integer
  21971. - description: 用户类型 2-机构 7-企业成员
  21972. in: query
  21973. name: usertype
  21974. type: integer
  21975. produces:
  21976. - application/json
  21977. responses:
  21978. "200":
  21979. description: OK
  21980. schema:
  21981. items:
  21982. $ref: '#/definitions/models.Ermcp3Brand'
  21983. type: array
  21984. "500":
  21985. description: Internal Server Error
  21986. schema:
  21987. $ref: '#/definitions/app.Response'
  21988. security:
  21989. - ApiKeyAuth: []
  21990. summary: 查询商品品牌
  21991. tags:
  21992. - 企业风险管理v3(app)
  21993. /Ermcp3/QueryHedgePlan:
  21994. get:
  21995. parameters:
  21996. - description: 用户ID
  21997. in: query
  21998. name: userid
  21999. required: true
  22000. type: integer
  22001. - description: 用户类型 2-机构 7-企业成员
  22002. in: query
  22003. name: usertype
  22004. type: integer
  22005. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22006. in: query
  22007. name: hedgeplanstatus
  22008. required: true
  22009. type: string
  22010. produces:
  22011. - application/json
  22012. responses:
  22013. "200":
  22014. description: OK
  22015. schema:
  22016. items:
  22017. $ref: '#/definitions/models.Ermcp3HedgePlan'
  22018. type: array
  22019. "500":
  22020. description: Internal Server Error
  22021. schema:
  22022. $ref: '#/definitions/app.Response'
  22023. security:
  22024. - ApiKeyAuth: []
  22025. summary: 查询套保计划
  22026. tags:
  22027. - 企业风险管理v3(app)
  22028. /Ermcp3/QueryInnerTradeLink:
  22029. get:
  22030. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  22031. parameters:
  22032. - description: 外部成交单号
  22033. in: query
  22034. name: outtradeid
  22035. required: true
  22036. type: integer
  22037. produces:
  22038. - application/json
  22039. responses:
  22040. "200":
  22041. description: OK
  22042. schema:
  22043. items:
  22044. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  22045. type: array
  22046. "500":
  22047. description: Internal Server Error
  22048. schema:
  22049. $ref: '#/definitions/app.Response'
  22050. security:
  22051. - ApiKeyAuth: []
  22052. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  22053. tags:
  22054. - 企业风险管理v3(app)
  22055. /Ermcp3/QueryMiddleGoodsDetail:
  22056. get:
  22057. parameters:
  22058. - description: 用户id
  22059. in: query
  22060. name: userid
  22061. required: true
  22062. type: integer
  22063. - description: 用户类型 2-机构 7-企业成员
  22064. in: query
  22065. name: usertype
  22066. type: integer
  22067. - description: 套保品种id
  22068. in: query
  22069. name: middlegoodsid
  22070. type: integer
  22071. produces:
  22072. - application/json
  22073. responses:
  22074. "200":
  22075. description: OK
  22076. schema:
  22077. items:
  22078. $ref: '#/definitions/models.TBMiddleGoods'
  22079. type: array
  22080. "500":
  22081. description: Internal Server Error
  22082. schema:
  22083. $ref: '#/definitions/app.Response'
  22084. security:
  22085. - ApiKeyAuth: []
  22086. summary: 查询套保品种详情(套保品种/商品详情)
  22087. tags:
  22088. - 企业风险管理v3(app)
  22089. /Ermcp3/QueryOutTradeLink:
  22090. get:
  22091. description: 页面 app 现货->期现关联->外部成交单关联
  22092. parameters:
  22093. - description: 用户ID(填登录用户的userid)
  22094. in: query
  22095. name: userid
  22096. required: true
  22097. type: integer
  22098. - description: 外部订单号(模糊匹配)
  22099. in: query
  22100. name: outtradeid
  22101. type: string
  22102. - description: 合约名称/代码(模糊匹配)
  22103. in: query
  22104. name: goodsname
  22105. type: string
  22106. - description: 关联状态 0-未关联 1-已关联
  22107. in: query
  22108. name: hasinnerorder
  22109. type: integer
  22110. produces:
  22111. - application/json
  22112. responses:
  22113. "200":
  22114. description: OK
  22115. schema:
  22116. items:
  22117. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  22118. type: array
  22119. "500":
  22120. description: Internal Server Error
  22121. schema:
  22122. $ref: '#/definitions/app.Response'
  22123. security:
  22124. - ApiKeyAuth: []
  22125. summary: 查询外部成交单关联
  22126. tags:
  22127. - 企业风险管理v3(app)
  22128. /Ermcp3/QueryPaAreaAuditCfg:
  22129. get:
  22130. parameters:
  22131. - description: 用户id
  22132. in: query
  22133. name: userid
  22134. required: true
  22135. type: integer
  22136. produces:
  22137. - application/json
  22138. responses:
  22139. "200":
  22140. description: OK
  22141. schema:
  22142. items:
  22143. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  22144. type: array
  22145. "500":
  22146. description: Internal Server Error
  22147. schema:
  22148. $ref: '#/definitions/app.Response'
  22149. security:
  22150. - ApiKeyAuth: []
  22151. summary: 查询审核设置
  22152. tags:
  22153. - 企业风险管理v3(app)
  22154. /Ermcp3/QueryPaAreaSubject:
  22155. get:
  22156. parameters:
  22157. - description: 用户id
  22158. in: query
  22159. name: userid
  22160. required: true
  22161. type: integer
  22162. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  22163. in: query
  22164. name: subjectid
  22165. type: integer
  22166. - description: 主体类型 - 1:交易主体 2:业务部门
  22167. in: query
  22168. name: subjecttype
  22169. type: integer
  22170. - description: '主体状态 - 1:正常 2: 停用'
  22171. in: query
  22172. name: subjectstatus
  22173. type: integer
  22174. produces:
  22175. - application/json
  22176. responses:
  22177. "200":
  22178. description: OK
  22179. schema:
  22180. items:
  22181. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  22182. type: array
  22183. "500":
  22184. description: Internal Server Error
  22185. schema:
  22186. $ref: '#/definitions/app.Response'
  22187. security:
  22188. - ApiKeyAuth: []
  22189. summary: 查询交易主体
  22190. tags:
  22191. - 企业风险管理v3(app)
  22192. /Ermcp3/QueryPaTradeLink:
  22193. get:
  22194. description: 页面 app 现货->期现关联->期现单据关联
  22195. parameters:
  22196. - description: 用户ID
  22197. in: query
  22198. name: userid
  22199. required: true
  22200. type: integer
  22201. produces:
  22202. - application/json
  22203. responses:
  22204. "200":
  22205. description: OK
  22206. schema:
  22207. items:
  22208. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  22209. type: array
  22210. "500":
  22211. description: Internal Server Error
  22212. schema:
  22213. $ref: '#/definitions/app.Response'
  22214. security:
  22215. - ApiKeyAuth: []
  22216. summary: 查询期现单据关联
  22217. tags:
  22218. - 企业风险管理v3(app)
  22219. /Ermcp3/QueryPaTradeLinkDetail:
  22220. get:
  22221. description: 页面 app 现货->期现关联->关联记录
  22222. parameters:
  22223. - description: 用户ID(填登录用户的userid)
  22224. in: query
  22225. name: userid
  22226. required: true
  22227. type: integer
  22228. - description: 关联状态 1:成功 2:失败 3:解绑
  22229. in: query
  22230. name: linkstatus
  22231. type: integer
  22232. - description: 期货订单号(模糊匹配)
  22233. in: query
  22234. name: tradeid
  22235. type: string
  22236. - description: 现货编号(模糊匹配)
  22237. in: query
  22238. name: contractno
  22239. type: string
  22240. - description: 期货账户(模糊匹配)
  22241. in: query
  22242. name: taname
  22243. type: string
  22244. produces:
  22245. - application/json
  22246. responses:
  22247. "200":
  22248. description: OK
  22249. schema:
  22250. items:
  22251. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22252. type: array
  22253. "500":
  22254. description: Internal Server Error
  22255. schema:
  22256. $ref: '#/definitions/app.Response'
  22257. security:
  22258. - ApiKeyAuth: []
  22259. summary: 查询期现关联记录
  22260. tags:
  22261. - 企业风险管理v3(app)
  22262. /Ermcp3/QueryParamChangeApp:
  22263. get:
  22264. description: |-
  22265. 原型页面:
  22266. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22267. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22268. parameters:
  22269. - description: 用户ID
  22270. in: query
  22271. name: userid
  22272. required: true
  22273. type: integer
  22274. - description: 现货品种id
  22275. in: query
  22276. name: deliverygoodsid
  22277. type: integer
  22278. - description: 现货商品id
  22279. in: query
  22280. name: wrstandardid
  22281. type: integer
  22282. - description: 套保商品id
  22283. in: query
  22284. name: middlegoodsid
  22285. type: integer
  22286. - description: 操作类型 1:新增 2:修改
  22287. in: query
  22288. name: operatetype
  22289. type: integer
  22290. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22291. in: query
  22292. name: paramchangetype
  22293. type: integer
  22294. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22295. in: query
  22296. name: ftstatus
  22297. type: string
  22298. produces:
  22299. - application/json
  22300. responses:
  22301. "200":
  22302. description: OK
  22303. schema:
  22304. items:
  22305. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22306. type: array
  22307. "500":
  22308. description: Internal Server Error
  22309. schema:
  22310. $ref: '#/definitions/app.Response'
  22311. security:
  22312. - ApiKeyAuth: []
  22313. summary: 查询现货商品参数变更申请(流水)
  22314. tags:
  22315. - 企业风险管理v3(app)
  22316. /Ermcp3/QueryRootUserAccount:
  22317. get:
  22318. parameters:
  22319. - description: 用户ID
  22320. in: query
  22321. name: userid
  22322. required: true
  22323. type: integer
  22324. produces:
  22325. - application/json
  22326. responses:
  22327. "200":
  22328. description: OK
  22329. schema:
  22330. items:
  22331. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22332. type: array
  22333. "500":
  22334. description: Internal Server Error
  22335. schema:
  22336. $ref: '#/definitions/app.Response'
  22337. security:
  22338. - ApiKeyAuth: []
  22339. summary: 查询顶级用户信息
  22340. tags:
  22341. - 企业风险管理v3(app)
  22342. /Ermcp3/QuerySCMiddleGoods:
  22343. get:
  22344. description: |-
  22345. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22346. 现货编号 即 合同编号
  22347. parameters:
  22348. - description: 用户ID(填登录用户的userid)
  22349. in: query
  22350. name: userid
  22351. required: true
  22352. type: integer
  22353. - description: 买卖方向 0-买 1-卖
  22354. in: query
  22355. name: buyorsell
  22356. required: true
  22357. type: integer
  22358. - description: 商品组id
  22359. in: query
  22360. name: goodsgroupid
  22361. required: true
  22362. type: integer
  22363. - description: 业务类型 1:套保 2:套利
  22364. in: query
  22365. name: biztype
  22366. type: integer
  22367. - description: 现货编号(模糊匹配)
  22368. in: query
  22369. name: contractno
  22370. type: string
  22371. - description: 对手方(模糊匹配)
  22372. in: query
  22373. name: customername
  22374. type: string
  22375. - description: 现货商品名称(模糊匹配)
  22376. in: query
  22377. name: wrstandardname
  22378. type: string
  22379. produces:
  22380. - application/json
  22381. responses:
  22382. "200":
  22383. description: OK
  22384. schema:
  22385. items:
  22386. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22387. type: array
  22388. "500":
  22389. description: Internal Server Error
  22390. schema:
  22391. $ref: '#/definitions/app.Response'
  22392. security:
  22393. - ApiKeyAuth: []
  22394. summary: 查询现货订单
  22395. tags:
  22396. - 企业风险管理v3(app)
  22397. /Ermcp3/QuerySpotContract:
  22398. get:
  22399. parameters:
  22400. - description: 用户id(当指定contractid, userid可不填)
  22401. in: query
  22402. name: userid
  22403. required: true
  22404. type: integer
  22405. - description: 用户类型 2-机构 7-企业成员
  22406. in: query
  22407. name: usertype
  22408. type: integer
  22409. - description: 合同类型 1-采购, -1-销售
  22410. in: query
  22411. name: contracttype
  22412. type: integer
  22413. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  22414. in: query
  22415. name: querytype
  22416. type: string
  22417. - description: 合同ID(SpotContractId)
  22418. in: query
  22419. name: contractid
  22420. type: string
  22421. - description: 合同编号(模糊匹配)
  22422. in: query
  22423. name: contractno
  22424. type: string
  22425. - description: 商品名称(模糊匹配)
  22426. in: query
  22427. name: wrstandardname
  22428. type: string
  22429. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22430. in: query
  22431. name: status
  22432. type: string
  22433. - description: 是否只查今日的合同 1-查今日合同
  22434. in: query
  22435. name: istoday
  22436. type: integer
  22437. produces:
  22438. - application/json
  22439. responses:
  22440. "200":
  22441. description: OK
  22442. schema:
  22443. items:
  22444. $ref: '#/definitions/models.Ermcp3Contract'
  22445. type: array
  22446. "500":
  22447. description: Internal Server Error
  22448. schema:
  22449. $ref: '#/definitions/app.Response'
  22450. security:
  22451. - ApiKeyAuth: []
  22452. summary: 查询现货合同
  22453. tags:
  22454. - 企业风险管理v3(app)
  22455. /Ermcp3/QuerySpotContractBS:
  22456. get:
  22457. parameters:
  22458. - description: 用户id
  22459. in: query
  22460. name: userid
  22461. required: true
  22462. type: integer
  22463. - description: 用户类型 2-机构 7-企业成员
  22464. in: query
  22465. name: usertype
  22466. type: integer
  22467. - description: 合同类型 1-采购, -1-销售
  22468. in: query
  22469. name: contracttype
  22470. required: true
  22471. type: integer
  22472. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22473. in: query
  22474. name: querytype
  22475. type: integer
  22476. - description: 合同ID(SpotContractId)
  22477. in: query
  22478. name: contractid
  22479. type: string
  22480. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22481. in: query
  22482. name: status
  22483. type: string
  22484. - description: 是否只查今日的合同 1-查今日合同
  22485. in: query
  22486. name: istoday
  22487. type: integer
  22488. produces:
  22489. - application/json
  22490. responses:
  22491. "200":
  22492. description: OK
  22493. schema:
  22494. items:
  22495. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22496. type: array
  22497. "500":
  22498. description: Internal Server Error
  22499. schema:
  22500. $ref: '#/definitions/app.Response'
  22501. security:
  22502. - ApiKeyAuth: []
  22503. summary: 查询合同(采购/销售)
  22504. tags:
  22505. - 企业风险管理v3(app)
  22506. /Ermcp3/QuerySpotGoodsPrice:
  22507. get:
  22508. parameters:
  22509. - description: 用户ID
  22510. in: query
  22511. name: userid
  22512. required: true
  22513. type: integer
  22514. produces:
  22515. - application/json
  22516. responses:
  22517. "200":
  22518. description: OK
  22519. schema:
  22520. items:
  22521. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22522. type: array
  22523. "500":
  22524. description: Internal Server Error
  22525. schema:
  22526. $ref: '#/definitions/app.Response'
  22527. security:
  22528. - ApiKeyAuth: []
  22529. summary: 查询现货市价(现货市价)
  22530. tags:
  22531. - 企业风险管理v3(app)
  22532. /Ermcp3/QuerySpotGoodsPriceLog:
  22533. get:
  22534. parameters:
  22535. - description: 用户ID
  22536. in: query
  22537. name: userid
  22538. required: true
  22539. type: integer
  22540. - description: 现货商品ID
  22541. in: query
  22542. name: deliverygoodsid
  22543. required: true
  22544. type: integer
  22545. - description: 品牌ID
  22546. in: query
  22547. name: brandid
  22548. type: integer
  22549. - description: 品类ID
  22550. in: query
  22551. name: wrstandardid
  22552. type: integer
  22553. produces:
  22554. - application/json
  22555. responses:
  22556. "200":
  22557. description: OK
  22558. schema:
  22559. items:
  22560. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22561. type: array
  22562. "500":
  22563. description: Internal Server Error
  22564. schema:
  22565. $ref: '#/definitions/app.Response'
  22566. security:
  22567. - ApiKeyAuth: []
  22568. summary: 查询现货市价详情(现货市价/详情)
  22569. tags:
  22570. - 企业风险管理v3(app)
  22571. /Ermcp3/QuerySubTaaccount:
  22572. get:
  22573. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22574. parameters:
  22575. - description: 母账号id
  22576. in: query
  22577. name: parentaccountid
  22578. type: integer
  22579. - description: 母账号代码
  22580. in: query
  22581. name: parentaccountcode
  22582. type: string
  22583. produces:
  22584. - application/json
  22585. responses:
  22586. "200":
  22587. description: OK
  22588. schema:
  22589. items:
  22590. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22591. type: array
  22592. "500":
  22593. description: Internal Server Error
  22594. schema:
  22595. $ref: '#/definitions/app.Response'
  22596. security:
  22597. - ApiKeyAuth: []
  22598. summary: 查询期货子账户
  22599. tags:
  22600. - 企业风险管理v3(app)
  22601. /Erms2/QueryArbitrageStrategy:
  22602. get:
  22603. parameters:
  22604. - description: 账户ID
  22605. in: query
  22606. name: userid
  22607. required: true
  22608. type: integer
  22609. - description: 商品组ID(品种ID)
  22610. in: query
  22611. name: goodsgroupid
  22612. type: string
  22613. produces:
  22614. - application/json
  22615. responses:
  22616. "200":
  22617. description: OK
  22618. schema:
  22619. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  22620. "500":
  22621. description: Internal Server Error
  22622. schema:
  22623. $ref: '#/definitions/app.Response'
  22624. security:
  22625. - ApiKeyAuth: []
  22626. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  22627. tags:
  22628. - 风险管理
  22629. /Erms2/QueryInnerTradeDetail:
  22630. get:
  22631. parameters:
  22632. - description: 资金账户
  22633. in: query
  22634. name: accountid
  22635. required: true
  22636. type: integer
  22637. produces:
  22638. - application/json
  22639. responses:
  22640. "200":
  22641. description: OK
  22642. schema:
  22643. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  22644. "500":
  22645. description: Internal Server Error
  22646. schema:
  22647. $ref: '#/definitions/app.Response'
  22648. security:
  22649. - ApiKeyAuth: []
  22650. summary: 查询内部成交单信息
  22651. tags:
  22652. - 风险管理
  22653. /Erms2/QuerySpotContract:
  22654. get:
  22655. parameters:
  22656. - description: 策略申请ID
  22657. in: query
  22658. name: asapplyid
  22659. required: true
  22660. type: integer
  22661. - description: 现货合同ID
  22662. in: query
  22663. name: spotcontractid
  22664. type: integer
  22665. produces:
  22666. - application/json
  22667. responses:
  22668. "200":
  22669. description: OK
  22670. schema:
  22671. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  22672. "500":
  22673. description: Internal Server Error
  22674. schema:
  22675. $ref: '#/definitions/app.Response'
  22676. security:
  22677. - ApiKeyAuth: []
  22678. summary: 查询现货合同表信息(指定策略ID、未结束的)
  22679. tags:
  22680. - 风险管理
  22681. /Erms3/AddErms2ASApply:
  22682. post:
  22683. parameters:
  22684. - description: 申请参数
  22685. in: body
  22686. name: jsonBody
  22687. required: true
  22688. schema:
  22689. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  22690. produces:
  22691. - application/json
  22692. responses:
  22693. "200":
  22694. description: OK
  22695. schema:
  22696. $ref: '#/definitions/app.Response'
  22697. "500":
  22698. description: Internal Server Error
  22699. schema:
  22700. $ref: '#/definitions/app.Response'
  22701. security:
  22702. - ApiKeyAuth: []
  22703. summary: 新增期现套利业务申请
  22704. tags:
  22705. - 风险管理v3
  22706. /Erms3/AddErms2SpotTradeApply:
  22707. post:
  22708. parameters:
  22709. - description: 申请参数
  22710. in: body
  22711. name: jsonBody
  22712. required: true
  22713. schema:
  22714. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  22715. produces:
  22716. - application/json
  22717. responses:
  22718. "200":
  22719. description: OK
  22720. schema:
  22721. $ref: '#/definitions/app.Response'
  22722. "500":
  22723. description: Internal Server Error
  22724. schema:
  22725. $ref: '#/definitions/app.Response'
  22726. security:
  22727. - ApiKeyAuth: []
  22728. summary: 新增现货贸易业务申请
  22729. tags:
  22730. - 风险管理v3
  22731. /Erms3/AddSpotContractApply:
  22732. post:
  22733. parameters:
  22734. - description: 申请参数
  22735. in: body
  22736. name: jsonBody
  22737. required: true
  22738. schema:
  22739. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  22740. produces:
  22741. - application/json
  22742. responses:
  22743. "200":
  22744. description: OK
  22745. schema:
  22746. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  22747. "500":
  22748. description: Internal Server Error
  22749. schema:
  22750. $ref: '#/definitions/app.Response'
  22751. security:
  22752. - ApiKeyAuth: []
  22753. summary: 新增现货合同申请
  22754. tags:
  22755. - 风险管理v3
  22756. /Erms3/AddUserInfoApply:
  22757. post:
  22758. parameters:
  22759. - description: 用户信息
  22760. in: body
  22761. name: jsonBody
  22762. required: true
  22763. schema:
  22764. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  22765. produces:
  22766. - application/json
  22767. responses:
  22768. "200":
  22769. description: OK
  22770. schema:
  22771. $ref: '#/definitions/app.Response'
  22772. "500":
  22773. description: Internal Server Error
  22774. schema:
  22775. $ref: '#/definitions/app.Response'
  22776. security:
  22777. - ApiKeyAuth: []
  22778. summary: 新增客户申请
  22779. tags:
  22780. - 风险管理v3
  22781. /Erms3/DeleteUserInfoApply:
  22782. get:
  22783. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  22784. parameters:
  22785. - description: 用户ID
  22786. in: query
  22787. name: userID
  22788. required: true
  22789. type: integer
  22790. produces:
  22791. - application/json
  22792. responses:
  22793. "200":
  22794. description: OK
  22795. schema:
  22796. $ref: '#/definitions/app.Response'
  22797. "500":
  22798. description: Internal Server Error
  22799. schema:
  22800. $ref: '#/definitions/app.Response'
  22801. security:
  22802. - ApiKeyAuth: []
  22803. summary: 删除客户申请
  22804. tags:
  22805. - 风险管理v3
  22806. /Erms3/ModifyUserInfoApply:
  22807. post:
  22808. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid": int, "userstate": 2 }'
  22809. parameters:
  22810. - description: 用户信息
  22811. in: body
  22812. name: jsonBody
  22813. required: true
  22814. schema:
  22815. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  22816. produces:
  22817. - application/json
  22818. responses:
  22819. "200":
  22820. description: OK
  22821. schema:
  22822. $ref: '#/definitions/app.Response'
  22823. "500":
  22824. description: Internal Server Error
  22825. schema:
  22826. $ref: '#/definitions/app.Response'
  22827. security:
  22828. - ApiKeyAuth: []
  22829. summary: 修改客户申请
  22830. tags:
  22831. - 风险管理v3
  22832. /Erms3/QueryBusinessInfo:
  22833. get:
  22834. parameters:
  22835. - description: 资金账号ID列表,用逗号分隔
  22836. in: query
  22837. name: accountids
  22838. required: true
  22839. type: string
  22840. - description: 状态,0为未结束 1为已结束
  22841. in: query
  22842. name: status
  22843. required: true
  22844. type: integer
  22845. produces:
  22846. - application/json
  22847. responses:
  22848. "200":
  22849. description: OK
  22850. schema:
  22851. items:
  22852. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  22853. type: array
  22854. "500":
  22855. description: Internal Server Error
  22856. schema:
  22857. $ref: '#/definitions/app.Response'
  22858. security:
  22859. - ApiKeyAuth: []
  22860. summary: 查询业务表单数据
  22861. tags:
  22862. - 风险管理v3
  22863. /Erms3/QueryPendingAuditContract:
  22864. get:
  22865. parameters:
  22866. - description: 资金账号ID列表,逗号隔开
  22867. in: query
  22868. name: accountids
  22869. required: true
  22870. type: string
  22871. - description: 合同类型 1-采购 -1-销售
  22872. in: query
  22873. name: contracttype
  22874. required: true
  22875. type: integer
  22876. - description: 合同模式 1-普通 2-回购
  22877. in: query
  22878. name: contractmode
  22879. required: true
  22880. type: integer
  22881. produces:
  22882. - application/json
  22883. responses:
  22884. "200":
  22885. description: OK
  22886. schema:
  22887. items:
  22888. $ref: '#/definitions/erms3.QryAuditContractRsp'
  22889. type: array
  22890. "500":
  22891. description: Internal Server Error
  22892. schema:
  22893. $ref: '#/definitions/app.Response'
  22894. security:
  22895. - ApiKeyAuth: []
  22896. summary: 查询待审核合同
  22897. tags:
  22898. - 风险管理v3
  22899. /Erms3/QueryPendingBusiness:
  22900. get:
  22901. parameters:
  22902. - description: 资金账号ID列表,逗号隔开
  22903. in: query
  22904. name: accountids
  22905. required: true
  22906. type: string
  22907. produces:
  22908. - application/json
  22909. responses:
  22910. "200":
  22911. description: OK
  22912. schema:
  22913. items:
  22914. $ref: '#/definitions/erms3.QryPendingBizRsp'
  22915. type: array
  22916. "500":
  22917. description: Internal Server Error
  22918. schema:
  22919. $ref: '#/definitions/app.Response'
  22920. security:
  22921. - ApiKeyAuth: []
  22922. summary: 查询待审核基差贸易业务
  22923. tags:
  22924. - 风险管理v3
  22925. /Erms3/QuerySpotContractAppleForm:
  22926. get:
  22927. parameters:
  22928. - description: 登录账号
  22929. in: query
  22930. name: loginID
  22931. required: true
  22932. type: integer
  22933. produces:
  22934. - application/json
  22935. responses:
  22936. "200":
  22937. description: OK
  22938. schema:
  22939. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  22940. "500":
  22941. description: Internal Server Error
  22942. schema:
  22943. $ref: '#/definitions/app.Response'
  22944. security:
  22945. - ApiKeyAuth: []
  22946. summary: 查询合同申请表单数据
  22947. tags:
  22948. - 风险管理v3
  22949. /Erms3/QuerySpotContractDetail:
  22950. get:
  22951. parameters:
  22952. - description: 资金账号ID列表,用逗号分隔
  22953. in: query
  22954. name: accountids
  22955. required: true
  22956. type: string
  22957. - description: 合同类型,1为采购合同 -1为销售合同
  22958. in: query
  22959. name: contracttype
  22960. required: true
  22961. type: integer
  22962. - description: 合同模式,1为普通合同 2为回购销售合同
  22963. in: query
  22964. name: contractmode
  22965. required: true
  22966. type: integer
  22967. - description: 状态,0为履约中 1为已完成
  22968. in: query
  22969. name: status
  22970. required: true
  22971. type: integer
  22972. produces:
  22973. - application/json
  22974. responses:
  22975. "200":
  22976. description: OK
  22977. schema:
  22978. items:
  22979. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  22980. type: array
  22981. "500":
  22982. description: Internal Server Error
  22983. schema:
  22984. $ref: '#/definitions/app.Response'
  22985. security:
  22986. - ApiKeyAuth: []
  22987. summary: 查询合同详细信息
  22988. tags:
  22989. - 风险管理v3
  22990. /Erms3/QueryUserInfoApplies:
  22991. get:
  22992. parameters:
  22993. - description: 页码
  22994. in: query
  22995. name: page
  22996. type: integer
  22997. - description: 每页条数
  22998. in: query
  22999. name: pagesize
  23000. type: integer
  23001. - description: 客户名称,支持模糊查询
  23002. in: query
  23003. name: userName
  23004. type: string
  23005. produces:
  23006. - application/json
  23007. responses:
  23008. "200":
  23009. description: OK
  23010. schema:
  23011. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  23012. "500":
  23013. description: Internal Server Error
  23014. schema:
  23015. $ref: '#/definitions/app.Response'
  23016. security:
  23017. - ApiKeyAuth: []
  23018. summary: 客户申请信息查询
  23019. tags:
  23020. - 风险管理v3
  23021. /Erms3/QueryUserInfos:
  23022. get:
  23023. parameters:
  23024. - description: 页码
  23025. in: query
  23026. name: page
  23027. type: integer
  23028. - description: 每页条数
  23029. in: query
  23030. name: pagesize
  23031. type: integer
  23032. - description: 客户名称,支持模糊查询
  23033. in: query
  23034. name: userName
  23035. type: string
  23036. produces:
  23037. - application/json
  23038. responses:
  23039. "200":
  23040. description: OK
  23041. schema:
  23042. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  23043. "500":
  23044. description: Internal Server Error
  23045. schema:
  23046. $ref: '#/definitions/app.Response'
  23047. security:
  23048. - ApiKeyAuth: []
  23049. summary: 客户信息查询
  23050. tags:
  23051. - 风险管理v3
  23052. /HSBY/GetHsbyMyCount:
  23053. get:
  23054. description: 说明: 不包括已完成的数量。
  23055. parameters:
  23056. - description: 资金账户列表,格式:1,2,3
  23057. in: query
  23058. name: accountIDs
  23059. required: true
  23060. type: string
  23061. produces:
  23062. - application/json
  23063. responses:
  23064. "200":
  23065. description: OK
  23066. schema:
  23067. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  23068. "500":
  23069. description: Internal Server Error
  23070. schema:
  23071. $ref: '#/definitions/app.Response'
  23072. security:
  23073. - ApiKeyAuth: []
  23074. summary: 获取我的订单与包裹数量
  23075. tags:
  23076. - 定制【海商报业】
  23077. /HSBY/QueryClientFixedADConfigs:
  23078. get:
  23079. produces:
  23080. - application/json
  23081. responses:
  23082. "200":
  23083. description: OK
  23084. schema:
  23085. $ref: '#/definitions/models.Clientfixedadconfig'
  23086. "500":
  23087. description: Internal Server Error
  23088. schema:
  23089. $ref: '#/definitions/app.Response'
  23090. security:
  23091. - ApiKeyAuth: []
  23092. summary: 获取终端固定广告配置
  23093. tags:
  23094. - 定制【海商报业】
  23095. /HSBY/QueryHsbyBuyMyTradeDetail:
  23096. get:
  23097. parameters:
  23098. - description: 页码
  23099. in: query
  23100. name: page
  23101. type: integer
  23102. - description: 每页条数
  23103. in: query
  23104. name: pagesize
  23105. type: integer
  23106. - description: 资金账户列表,格式:1,2,3
  23107. in: query
  23108. name: accountIDs
  23109. required: true
  23110. type: string
  23111. produces:
  23112. - application/json
  23113. responses:
  23114. "200":
  23115. description: OK
  23116. schema:
  23117. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  23118. "500":
  23119. description: Internal Server Error
  23120. schema:
  23121. $ref: '#/definitions/app.Response'
  23122. security:
  23123. - ApiKeyAuth: []
  23124. summary: 查询"我的订单 - 已完成"单据信息
  23125. tags:
  23126. - 定制【海商报业】
  23127. /HSBY/QueryHsbyGoodsOrderDetails:
  23128. get:
  23129. description: 说明:查询结果已按委托价格和委托时间排序
  23130. parameters:
  23131. - description: 商品ID
  23132. in: query
  23133. name: goodsID
  23134. required: true
  23135. type: integer
  23136. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  23137. in: query
  23138. name: accountIDs
  23139. type: string
  23140. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  23141. in: query
  23142. name: buyOrSell
  23143. type: integer
  23144. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  23145. in: query
  23146. name: price
  23147. type: number
  23148. - description: 档位,不传则默认为3档
  23149. in: query
  23150. name: speed
  23151. type: integer
  23152. produces:
  23153. - application/json
  23154. responses:
  23155. "200":
  23156. description: OK
  23157. schema:
  23158. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  23159. "500":
  23160. description: Internal Server Error
  23161. schema:
  23162. $ref: '#/definitions/app.Response'
  23163. security:
  23164. - ApiKeyAuth: []
  23165. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  23166. tags:
  23167. - 定制【海商报业】
  23168. /HSBY/QueryHsbyListingGoodsDetail:
  23169. get:
  23170. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  23171. parameters:
  23172. - description: 商品ID
  23173. in: query
  23174. name: goodsID
  23175. required: true
  23176. type: integer
  23177. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  23178. in: query
  23179. name: accountID
  23180. type: integer
  23181. produces:
  23182. - application/json
  23183. responses:
  23184. "200":
  23185. description: OK
  23186. schema:
  23187. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  23188. "500":
  23189. description: Internal Server Error
  23190. schema:
  23191. $ref: '#/definitions/app.Response'
  23192. security:
  23193. - ApiKeyAuth: []
  23194. summary: 查询二级市场(挂牌点选)商品信息详情
  23195. tags:
  23196. - 定制【海商报业】
  23197. /HSBY/QueryHsbyMarketGoodsDetail:
  23198. get:
  23199. parameters:
  23200. - description: 委托单号
  23201. in: query
  23202. name: orderID
  23203. required: true
  23204. type: integer
  23205. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  23206. in: query
  23207. name: accountID
  23208. type: integer
  23209. produces:
  23210. - application/json
  23211. responses:
  23212. "200":
  23213. description: OK
  23214. schema:
  23215. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23216. "500":
  23217. description: Internal Server Error
  23218. schema:
  23219. $ref: '#/definitions/app.Response'
  23220. security:
  23221. - ApiKeyAuth: []
  23222. summary: 查询三级市场(商城)商品信息详情
  23223. tags:
  23224. - 定制【海商报业】
  23225. /HSBY/QueryHsbyMarketGoodses:
  23226. get:
  23227. parameters:
  23228. - description: 页码
  23229. in: query
  23230. name: page
  23231. type: integer
  23232. - description: 每页条数
  23233. in: query
  23234. name: pagesize
  23235. type: integer
  23236. - description: 市场ID列表,格式:1,2,3
  23237. in: query
  23238. name: marketIDs
  23239. required: true
  23240. type: string
  23241. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  23242. in: query
  23243. name: accountID
  23244. required: true
  23245. type: integer
  23246. - description: 类别ID
  23247. in: query
  23248. name: categoryID
  23249. type: integer
  23250. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23251. in: query
  23252. name: goodsIDs
  23253. type: string
  23254. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  23255. in: query
  23256. name: couponTypeID
  23257. type: integer
  23258. produces:
  23259. - application/json
  23260. responses:
  23261. "200":
  23262. description: OK
  23263. schema:
  23264. $ref: '#/definitions/models.HsbyMarketGoods'
  23265. "500":
  23266. description: Internal Server Error
  23267. schema:
  23268. $ref: '#/definitions/app.Response'
  23269. security:
  23270. - ApiKeyAuth: []
  23271. summary: 查询特卖商品列表(三级商城)
  23272. tags:
  23273. - 定制【海商报业】
  23274. /HSBY/QueryHsbyMarkets:
  23275. get:
  23276. produces:
  23277. - application/json
  23278. responses:
  23279. "200":
  23280. description: OK
  23281. schema:
  23282. $ref: '#/definitions/models.HsbyMarketInfo'
  23283. "500":
  23284. description: Internal Server Error
  23285. schema:
  23286. $ref: '#/definitions/app.Response'
  23287. security:
  23288. - ApiKeyAuth: []
  23289. summary: 查询海商报业相关市场信息
  23290. tags:
  23291. - 定制【海商报业】
  23292. /HSBY/QueryHsbyMyBuyOrderDetails:
  23293. get:
  23294. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  23295. parameters:
  23296. - description: 资金账户列表,格式:1,2,3
  23297. in: query
  23298. name: accountIDs
  23299. required: true
  23300. type: string
  23301. produces:
  23302. - application/json
  23303. responses:
  23304. "200":
  23305. description: OK
  23306. schema:
  23307. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  23308. "500":
  23309. description: Internal Server Error
  23310. schema:
  23311. $ref: '#/definitions/app.Response'
  23312. security:
  23313. - ApiKeyAuth: []
  23314. summary: 查询“我的订单”信息
  23315. tags:
  23316. - 定制【海商报业】
  23317. /HSBY/QueryHsbyMyGoods:
  23318. get:
  23319. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  23320. parameters:
  23321. - description: 资金账户列表,格式:1,2,3
  23322. in: query
  23323. name: accountIDs
  23324. required: true
  23325. type: string
  23326. produces:
  23327. - application/json
  23328. responses:
  23329. "200":
  23330. description: OK
  23331. schema:
  23332. $ref: '#/definitions/models.HsbyMyGoods'
  23333. "500":
  23334. description: Internal Server Error
  23335. schema:
  23336. $ref: '#/definitions/app.Response'
  23337. security:
  23338. - ApiKeyAuth: []
  23339. summary: 查询“我的商品”信息
  23340. tags:
  23341. - 定制【海商报业】
  23342. /HSBY/QueryHsbyMyPackages:
  23343. get:
  23344. parameters:
  23345. - description: 资金账户列表,格式:1,2,3
  23346. in: query
  23347. name: accountIDs
  23348. required: true
  23349. type: string
  23350. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23351. in: query
  23352. name: takeOrderStatus
  23353. type: integer
  23354. produces:
  23355. - application/json
  23356. responses:
  23357. "200":
  23358. description: OK
  23359. schema:
  23360. $ref: '#/definitions/models.HsbyMyPackage'
  23361. "500":
  23362. description: Internal Server Error
  23363. schema:
  23364. $ref: '#/definitions/app.Response'
  23365. security:
  23366. - ApiKeyAuth: []
  23367. summary: 查询我的包裹信息
  23368. tags:
  23369. - 定制【海商报业】
  23370. /HSBY/QueryHsbyPreGoodsDetail:
  23371. get:
  23372. parameters:
  23373. - description: 商品ID
  23374. in: query
  23375. name: goodsID
  23376. required: true
  23377. type: integer
  23378. - description: 资金账户,主要用于获取预售商品购买上限
  23379. in: query
  23380. name: accountID
  23381. type: integer
  23382. produces:
  23383. - application/json
  23384. responses:
  23385. "200":
  23386. description: OK
  23387. schema:
  23388. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  23389. "500":
  23390. description: Internal Server Error
  23391. schema:
  23392. $ref: '#/definitions/app.Response'
  23393. security:
  23394. - ApiKeyAuth: []
  23395. summary: 查询一级市场(预售)商品信息详情
  23396. tags:
  23397. - 定制【海商报业】
  23398. /HSBY/QueryHsbyPreGoodses:
  23399. get:
  23400. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  23401. parameters:
  23402. - description: 页码
  23403. in: query
  23404. name: page
  23405. type: integer
  23406. - description: 每页条数
  23407. in: query
  23408. name: pagesize
  23409. type: integer
  23410. - description: 市场ID列表,格式:1,2,3
  23411. in: query
  23412. name: marketIDs
  23413. required: true
  23414. type: string
  23415. - description: 目的地(省)ID
  23416. in: query
  23417. name: descProvinceID
  23418. type: integer
  23419. - description: 目的地(市)ID
  23420. in: query
  23421. name: descCityID
  23422. type: integer
  23423. produces:
  23424. - application/json
  23425. responses:
  23426. "200":
  23427. description: OK
  23428. schema:
  23429. $ref: '#/definitions/models.HsbyPreGoods'
  23430. "500":
  23431. description: Internal Server Error
  23432. schema:
  23433. $ref: '#/definitions/app.Response'
  23434. security:
  23435. - ApiKeyAuth: []
  23436. summary: 查询新品上市商品列表(一级市场预售)
  23437. tags:
  23438. - 定制【海商报业】
  23439. /HSBY/QueryHsbySellMyDetails:
  23440. get:
  23441. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  23442. parameters:
  23443. - description: 页码
  23444. in: query
  23445. name: page
  23446. type: integer
  23447. - description: 每页条数
  23448. in: query
  23449. name: pagesize
  23450. type: integer
  23451. - description: 资金账户列表,格式:1,2,3
  23452. in: query
  23453. name: accountIDs
  23454. required: true
  23455. type: string
  23456. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  23457. in: query
  23458. name: orderType
  23459. type: integer
  23460. produces:
  23461. - application/json
  23462. responses:
  23463. "200":
  23464. description: OK
  23465. schema:
  23466. $ref: '#/definitions/models.HsbySellMyDetail'
  23467. "500":
  23468. description: Internal Server Error
  23469. schema:
  23470. $ref: '#/definitions/app.Response'
  23471. security:
  23472. - ApiKeyAuth: []
  23473. summary: 查询"我的闲置"单据信息
  23474. tags:
  23475. - 定制【海商报业】
  23476. /HSBY/QueryHsbyTopGoodses:
  23477. get:
  23478. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  23479. parameters:
  23480. - description: 页码
  23481. in: query
  23482. name: page
  23483. type: integer
  23484. - description: 每页条数
  23485. in: query
  23486. name: pagesize
  23487. type: integer
  23488. - description: 市场ID列表,格式:1,2,3
  23489. in: query
  23490. name: marketIDs
  23491. required: true
  23492. type: string
  23493. - description: 目的地(省)ID
  23494. in: query
  23495. name: descProvinceID
  23496. type: integer
  23497. - description: 目的地(市)ID
  23498. in: query
  23499. name: descCityID
  23500. type: integer
  23501. produces:
  23502. - application/json
  23503. responses:
  23504. "200":
  23505. description: OK
  23506. schema:
  23507. $ref: '#/definitions/models.HsbyTopGoods'
  23508. "500":
  23509. description: Internal Server Error
  23510. schema:
  23511. $ref: '#/definitions/app.Response'
  23512. security:
  23513. - ApiKeyAuth: []
  23514. summary: 查询热卖商品列表(二级市场挂牌点选)
  23515. tags:
  23516. - 定制【海商报业】
  23517. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  23518. get:
  23519. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  23520. parameters:
  23521. - description: 商品ID
  23522. in: query
  23523. name: goodsID
  23524. required: true
  23525. type: integer
  23526. produces:
  23527. - application/json
  23528. responses:
  23529. "200":
  23530. description: OK
  23531. schema:
  23532. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23533. "500":
  23534. description: Internal Server Error
  23535. schema:
  23536. $ref: '#/definitions/app.Response'
  23537. security:
  23538. - ApiKeyAuth: []
  23539. summary: 查询游客三级市场(商城)商品信息详情
  23540. tags:
  23541. - 定制【海商报业】
  23542. /HSBY/QueryHsbyVisitorMarketGoodses:
  23543. get:
  23544. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  23545. parameters:
  23546. - description: 页码
  23547. in: query
  23548. name: page
  23549. type: integer
  23550. - description: 每页条数
  23551. in: query
  23552. name: pagesize
  23553. type: integer
  23554. - description: 市场ID列表,格式:1,2,3
  23555. in: query
  23556. name: marketIDs
  23557. required: true
  23558. type: string
  23559. - description: 类别ID
  23560. in: query
  23561. name: categoryID
  23562. type: integer
  23563. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23564. in: query
  23565. name: goodsIDs
  23566. type: string
  23567. produces:
  23568. - application/json
  23569. responses:
  23570. "200":
  23571. description: OK
  23572. schema:
  23573. $ref: '#/definitions/models.HsbyMarketGoods'
  23574. "500":
  23575. description: Internal Server Error
  23576. schema:
  23577. $ref: '#/definitions/app.Response'
  23578. security:
  23579. - ApiKeyAuth: []
  23580. summary: 查询游客特卖商品列表(三级商城)
  23581. tags:
  23582. - 定制【海商报业】
  23583. /HSBY/QueryMyCollectionOrders:
  23584. get:
  23585. parameters:
  23586. - description: 页码
  23587. in: query
  23588. name: page
  23589. type: integer
  23590. - description: 每页条数
  23591. in: query
  23592. name: pagesize
  23593. type: integer
  23594. - description: 资金账户,格式:1,2,3
  23595. in: query
  23596. name: accountIDs
  23597. required: true
  23598. type: string
  23599. produces:
  23600. - application/json
  23601. responses:
  23602. "200":
  23603. description: OK
  23604. schema:
  23605. $ref: '#/definitions/models.HsbySellCollectionOrder'
  23606. "500":
  23607. description: Internal Server Error
  23608. schema:
  23609. $ref: '#/definitions/app.Response'
  23610. security:
  23611. - ApiKeyAuth: []
  23612. summary: 我的闲置中收款信息查询
  23613. tags:
  23614. - 定制【海商报业】
  23615. /HSBY/QueryMyCouponHolds:
  23616. get:
  23617. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  23618. parameters:
  23619. - description: 资金账户列表,格式:1,2,3
  23620. in: query
  23621. name: accountIDs
  23622. required: true
  23623. type: string
  23624. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  23625. in: query
  23626. name: holdStatus
  23627. type: string
  23628. produces:
  23629. - application/json
  23630. responses:
  23631. "200":
  23632. description: OK
  23633. schema:
  23634. $ref: '#/definitions/models.MyCouponHold'
  23635. "500":
  23636. description: Internal Server Error
  23637. schema:
  23638. $ref: '#/definitions/app.Response'
  23639. security:
  23640. - ApiKeyAuth: []
  23641. summary: 我的优惠卷持仓查询
  23642. tags:
  23643. - 定制【海商报业】
  23644. /HSBY/QueryMyCoupons:
  23645. get:
  23646. parameters:
  23647. - description: 资金账户列表,格式:1,2,3
  23648. in: query
  23649. name: accountIDs
  23650. required: true
  23651. type: string
  23652. - description: 商品ID, 一般与sellUserID配套传入
  23653. in: query
  23654. name: goodsID
  23655. type: integer
  23656. - description: 卖方UserID
  23657. in: query
  23658. name: sellUserID
  23659. type: integer
  23660. produces:
  23661. - application/json
  23662. responses:
  23663. "200":
  23664. description: OK
  23665. schema:
  23666. $ref: '#/definitions/models.MyCoupon'
  23667. "500":
  23668. description: Internal Server Error
  23669. schema:
  23670. $ref: '#/definitions/app.Response'
  23671. security:
  23672. - ApiKeyAuth: []
  23673. summary: 我的优惠卷查询
  23674. tags:
  23675. - 定制【海商报业】
  23676. /HSBY/QueryMyPayOrders:
  23677. get:
  23678. parameters:
  23679. - description: 页码
  23680. in: query
  23681. name: page
  23682. type: integer
  23683. - description: 每页条数
  23684. in: query
  23685. name: pagesize
  23686. type: integer
  23687. - description: 资金账户列表,格式:1,2,3
  23688. in: query
  23689. name: accountIDs
  23690. required: true
  23691. type: string
  23692. - description: 买方委托单号
  23693. in: query
  23694. name: buyOrderID
  23695. type: integer
  23696. - description: 卖方委托单号
  23697. in: query
  23698. name: sellOrderID
  23699. type: integer
  23700. produces:
  23701. - application/json
  23702. responses:
  23703. "200":
  23704. description: OK
  23705. schema:
  23706. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  23707. "500":
  23708. description: Internal Server Error
  23709. schema:
  23710. $ref: '#/definitions/app.Response'
  23711. security:
  23712. - ApiKeyAuth: []
  23713. summary: 获取我的订单中待付款信息
  23714. tags:
  23715. - 定制【海商报业】
  23716. /HSBY/QueryMyUsedCoupon:
  23717. get:
  23718. parameters:
  23719. - description: 资金账户列表,格式:1,2,3
  23720. in: query
  23721. name: accountIDs
  23722. required: true
  23723. type: string
  23724. produces:
  23725. - application/json
  23726. responses:
  23727. "200":
  23728. description: OK
  23729. schema:
  23730. $ref: '#/definitions/models.MyUsedCoupon'
  23731. "500":
  23732. description: Internal Server Error
  23733. schema:
  23734. $ref: '#/definitions/app.Response'
  23735. security:
  23736. - ApiKeyAuth: []
  23737. summary: 已使用优惠卷查询
  23738. tags:
  23739. - 定制【海商报业】
  23740. /HSBY/QueryProvincesAndCities:
  23741. get:
  23742. description: 查询结果只包括二级市场商品已关连的省市信息。
  23743. parameters:
  23744. - description: 省ID
  23745. in: query
  23746. name: provinceID
  23747. type: integer
  23748. produces:
  23749. - application/json
  23750. responses:
  23751. "200":
  23752. description: OK
  23753. schema:
  23754. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  23755. "500":
  23756. description: Internal Server Error
  23757. schema:
  23758. $ref: '#/definitions/app.Response'
  23759. security:
  23760. - ApiKeyAuth: []
  23761. summary: 查询省市信息(不包括区)
  23762. tags:
  23763. - 定制【海商报业】
  23764. /HSBY/SetHsbyMyPackagesStatus:
  23765. post:
  23766. parameters:
  23767. - description: 提货单号
  23768. in: query
  23769. name: takeOrderID
  23770. required: true
  23771. type: string
  23772. - description: 资金账号
  23773. in: query
  23774. name: accountID
  23775. required: true
  23776. type: integer
  23777. produces:
  23778. - application/json
  23779. responses:
  23780. "200":
  23781. description: OK
  23782. schema:
  23783. $ref: '#/definitions/app.Response'
  23784. "500":
  23785. description: Internal Server Error
  23786. schema:
  23787. $ref: '#/definitions/app.Response'
  23788. security:
  23789. - ApiKeyAuth: []
  23790. summary: 设置我的包裹已收货状态
  23791. tags:
  23792. - 定制【海商报业】
  23793. /Market/GetAllExExchanges:
  23794. get:
  23795. produces:
  23796. - application/json
  23797. responses:
  23798. "200":
  23799. description: OK
  23800. schema:
  23801. $ref: '#/definitions/models.Goods'
  23802. "500":
  23803. description: Internal Server Error
  23804. schema:
  23805. $ref: '#/definitions/app.Response'
  23806. security:
  23807. - ApiKeyAuth: []
  23808. summary: 获取所有外部交易所信息
  23809. tags:
  23810. - 通用市场
  23811. /Market/QueryGoodsesByLoginID:
  23812. get:
  23813. parameters:
  23814. - description: 登录账号
  23815. in: query
  23816. name: loginID
  23817. required: true
  23818. type: integer
  23819. - description: 市场ID列表,格式:1,2,3
  23820. in: query
  23821. name: marketIDs
  23822. type: string
  23823. produces:
  23824. - application/json
  23825. responses:
  23826. "200":
  23827. description: OK
  23828. schema:
  23829. $ref: '#/definitions/models.Goods'
  23830. "500":
  23831. description: Internal Server Error
  23832. schema:
  23833. $ref: '#/definitions/app.Response'
  23834. security:
  23835. - ApiKeyAuth: []
  23836. summary: 获取登录账号有权限的商品信息
  23837. tags:
  23838. - 通用市场
  23839. /Market/QueryMarketRun:
  23840. get:
  23841. parameters:
  23842. - description: 市场ID,不传返回所有
  23843. in: query
  23844. name: marketID
  23845. type: integer
  23846. produces:
  23847. - application/json
  23848. responses:
  23849. "200":
  23850. description: OK
  23851. schema:
  23852. $ref: '#/definitions/models.Marketrun'
  23853. "500":
  23854. description: Internal Server Error
  23855. schema:
  23856. $ref: '#/definitions/app.Response'
  23857. security:
  23858. - ApiKeyAuth: []
  23859. summary: 查询市场运行信息
  23860. tags:
  23861. - 通用市场
  23862. /Market/QueryMarketsByLoginID:
  23863. get:
  23864. parameters:
  23865. - description: 登录账号
  23866. in: query
  23867. name: loginID
  23868. required: true
  23869. type: integer
  23870. produces:
  23871. - application/json
  23872. responses:
  23873. "200":
  23874. description: OK
  23875. schema:
  23876. $ref: '#/definitions/models.Market'
  23877. "500":
  23878. description: Internal Server Error
  23879. schema:
  23880. $ref: '#/definitions/app.Response'
  23881. security:
  23882. - ApiKeyAuth: []
  23883. summary: 获取登录账号有权限的市场信息
  23884. tags:
  23885. - 通用市场
  23886. /Order/QueryHisTradeDetail:
  23887. get:
  23888. parameters:
  23889. - description: 资金账户 - 格式:1,2,3
  23890. in: query
  23891. name: accountID
  23892. required: true
  23893. type: string
  23894. - description: 成交单号
  23895. in: query
  23896. name: tradeID
  23897. type: integer
  23898. - description: 委托单号
  23899. in: query
  23900. name: orderID
  23901. type: integer
  23902. - description: 商品ID
  23903. in: query
  23904. name: goodsID
  23905. type: integer
  23906. - description: 交易模式 - 格式:1,2,3
  23907. in: query
  23908. name: tradeMode
  23909. type: string
  23910. - description: 委托单据类型
  23911. in: query
  23912. name: buildType
  23913. type: integer
  23914. - description: 成交类别 - 格式:1,2,3
  23915. in: query
  23916. name: tradeType
  23917. type: string
  23918. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23919. in: query
  23920. name: startDate
  23921. type: string
  23922. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23923. in: query
  23924. name: endDate
  23925. type: string
  23926. produces:
  23927. - application/json
  23928. responses:
  23929. "200":
  23930. description: OK
  23931. schema:
  23932. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  23933. "500":
  23934. description: Internal Server Error
  23935. schema:
  23936. $ref: '#/definitions/app.Response'
  23937. security:
  23938. - ApiKeyAuth: []
  23939. summary: 历史成交单查询(合约市场)
  23940. tags:
  23941. - 通用单据
  23942. /Order/QueryHisTradeOrderDetail:
  23943. get:
  23944. parameters:
  23945. - description: 资金账户 - 格式:1,2,3
  23946. in: query
  23947. name: accountID
  23948. required: true
  23949. type: string
  23950. - description: 交易模式 - 格式:1,2,3
  23951. in: query
  23952. name: tradeMode
  23953. type: string
  23954. - description: 委托状态 - 格式:1,2,3
  23955. in: query
  23956. name: orderStatus
  23957. type: string
  23958. - description: 委托单号
  23959. in: query
  23960. name: orderID
  23961. type: integer
  23962. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23963. in: query
  23964. name: startDate
  23965. type: string
  23966. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23967. in: query
  23968. name: endDate
  23969. type: string
  23970. produces:
  23971. - application/json
  23972. responses:
  23973. "200":
  23974. description: OK
  23975. schema:
  23976. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  23977. "500":
  23978. description: Internal Server Error
  23979. schema:
  23980. $ref: '#/definitions/app.Response'
  23981. security:
  23982. - ApiKeyAuth: []
  23983. summary: 历史委托单查询请求(合约市场)
  23984. tags:
  23985. - 通用单据
  23986. /Order/QueryTradeDetail:
  23987. get:
  23988. parameters:
  23989. - description: 资金账户 - 格式:1,2,3
  23990. in: query
  23991. name: accountID
  23992. required: true
  23993. type: string
  23994. - description: 成交单号
  23995. in: query
  23996. name: tradeID
  23997. type: integer
  23998. - description: 委托单号
  23999. in: query
  24000. name: orderID
  24001. type: integer
  24002. - description: 交易模式 - 格式:1,2,3
  24003. in: query
  24004. name: tradeMode
  24005. type: string
  24006. - description: 委托单据类型
  24007. in: query
  24008. name: buildType
  24009. type: integer
  24010. - description: 成交类别 - 格式:1,2,3
  24011. in: query
  24012. name: tradeType
  24013. type: string
  24014. - description: 商品ID
  24015. in: query
  24016. name: goodsID
  24017. type: integer
  24018. produces:
  24019. - application/json
  24020. responses:
  24021. "200":
  24022. description: OK
  24023. schema:
  24024. $ref: '#/definitions/order.QueryTradeDetailRsp'
  24025. "500":
  24026. description: Internal Server Error
  24027. schema:
  24028. $ref: '#/definitions/app.Response'
  24029. security:
  24030. - ApiKeyAuth: []
  24031. summary: 成交单查询(合约市场)
  24032. tags:
  24033. - 通用单据
  24034. /Order/QueryTradeHolderDetail:
  24035. get:
  24036. parameters:
  24037. - description: 用户id
  24038. in: query
  24039. name: userid
  24040. type: integer
  24041. - description: 资金账号, 格式 1,2,3
  24042. in: query
  24043. name: accids
  24044. type: string
  24045. - description: 交易模式, 格式 1,2,3
  24046. in: query
  24047. name: trademodes
  24048. type: string
  24049. - description: 市场id, 格式 1,2,3
  24050. in: query
  24051. name: marketids
  24052. type: string
  24053. - description: 商品id
  24054. in: query
  24055. name: goodsid
  24056. type: integer
  24057. - description: 买卖方向 0-买 1-卖
  24058. in: query
  24059. name: buyorsell
  24060. type: integer
  24061. produces:
  24062. - application/json
  24063. responses:
  24064. "200":
  24065. description: OK
  24066. schema:
  24067. items:
  24068. $ref: '#/definitions/models.TradeHolderDetail'
  24069. type: array
  24070. "500":
  24071. description: Internal Server Error
  24072. schema:
  24073. $ref: '#/definitions/app.Response'
  24074. security:
  24075. - ApiKeyAuth: []
  24076. summary: 查询持仓明细
  24077. tags:
  24078. - 通用单据
  24079. /Order/QueryTradeOrderDetail:
  24080. get:
  24081. parameters:
  24082. - description: 资金账户 - 格式:1,2,3
  24083. in: query
  24084. name: accountID
  24085. required: true
  24086. type: string
  24087. - description: 交易模式 - 格式:1,2,3
  24088. in: query
  24089. name: tradeMode
  24090. type: string
  24091. - description: 委托状态 - 格式:1,2,3
  24092. in: query
  24093. name: orderStatus
  24094. type: string
  24095. - description: 委托单号
  24096. in: query
  24097. name: orderID
  24098. type: integer
  24099. produces:
  24100. - application/json
  24101. responses:
  24102. "200":
  24103. description: OK
  24104. schema:
  24105. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  24106. "500":
  24107. description: Internal Server Error
  24108. schema:
  24109. $ref: '#/definitions/app.Response'
  24110. security:
  24111. - ApiKeyAuth: []
  24112. summary: 委托单查询请求(合约市场)
  24113. tags:
  24114. - 通用单据
  24115. /Order/QueryTradePosition:
  24116. get:
  24117. parameters:
  24118. - description: 资金账户 - 格式:1,2,3
  24119. in: query
  24120. name: accountID
  24121. required: true
  24122. type: string
  24123. - description: 交易模式 - 格式:1,2,3
  24124. in: query
  24125. name: tradeMode
  24126. type: string
  24127. produces:
  24128. - application/json
  24129. responses:
  24130. "200":
  24131. description: OK
  24132. schema:
  24133. $ref: '#/definitions/order.QueryTradePositionRsp'
  24134. "500":
  24135. description: Internal Server Error
  24136. schema:
  24137. $ref: '#/definitions/app.Response'
  24138. security:
  24139. - ApiKeyAuth: []
  24140. summary: 持仓汇总查询(合约市场)
  24141. tags:
  24142. - 通用单据
  24143. /Qhj/QueryAccountInOutApply:
  24144. get:
  24145. parameters:
  24146. - description: 用户ID
  24147. in: query
  24148. name: userid
  24149. required: true
  24150. type: integer
  24151. - description: 申请起始日期(格式yyyymmdd)
  24152. in: query
  24153. name: begindate
  24154. type: string
  24155. - description: 申请截止日期(格式yyyymmdd)
  24156. in: query
  24157. name: enddate
  24158. type: string
  24159. - description: 模糊搜索名称
  24160. in: query
  24161. name: likename
  24162. type: string
  24163. produces:
  24164. - application/json
  24165. responses:
  24166. "200":
  24167. description: OK
  24168. schema:
  24169. items:
  24170. $ref: '#/definitions/models.QhjAccountOutInApply'
  24171. type: array
  24172. "500":
  24173. description: Internal Server Error
  24174. schema:
  24175. $ref: '#/definitions/app.Response'
  24176. security:
  24177. - ApiKeyAuth: []
  24178. summary: 查询充值提现
  24179. tags:
  24180. - 大连千海金
  24181. /Qhj/QueryAreaFinanceConfig:
  24182. get:
  24183. parameters:
  24184. - description: 机构用户ID 其他做市关系,都设置为 1
  24185. in: query
  24186. name: userid
  24187. type: integer
  24188. produces:
  24189. - application/json
  24190. responses:
  24191. "200":
  24192. description: OK
  24193. schema:
  24194. items:
  24195. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  24196. type: array
  24197. "500":
  24198. description: Internal Server Error
  24199. schema:
  24200. $ref: '#/definitions/app.Response'
  24201. security:
  24202. - ApiKeyAuth: []
  24203. summary: 查询企业配置表
  24204. tags:
  24205. - 大连千海金
  24206. /Qhj/QueryBankAccountSign:
  24207. get:
  24208. parameters:
  24209. - description: 用户ID
  24210. in: query
  24211. name: userid
  24212. required: true
  24213. type: integer
  24214. produces:
  24215. - application/json
  24216. responses:
  24217. "200":
  24218. description: OK
  24219. schema:
  24220. items:
  24221. $ref: '#/definitions/models.QhjBankAccountSign'
  24222. type: array
  24223. "500":
  24224. description: Internal Server Error
  24225. schema:
  24226. $ref: '#/definitions/app.Response'
  24227. security:
  24228. - ApiKeyAuth: []
  24229. summary: 查询签约银行信息(提现账户管理)
  24230. tags:
  24231. - 大连千海金
  24232. /Qhj/QueryBankInfo:
  24233. get:
  24234. produces:
  24235. - application/json
  24236. responses:
  24237. "200":
  24238. description: OK
  24239. schema:
  24240. items:
  24241. $ref: '#/definitions/models.QhjBankInfo'
  24242. type: array
  24243. "500":
  24244. description: Internal Server Error
  24245. schema:
  24246. $ref: '#/definitions/app.Response'
  24247. security:
  24248. - ApiKeyAuth: []
  24249. summary: 查询开户行
  24250. tags:
  24251. - 大连千海金
  24252. /Qhj/QueryBrokerApply:
  24253. get:
  24254. parameters:
  24255. - description: 所属机构ID
  24256. in: query
  24257. name: userid
  24258. type: integer
  24259. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24260. in: query
  24261. name: filterstatus
  24262. type: string
  24263. produces:
  24264. - application/json
  24265. responses:
  24266. "200":
  24267. description: OK
  24268. schema:
  24269. items:
  24270. $ref: '#/definitions/models.QhjBrokerApply'
  24271. type: array
  24272. "500":
  24273. description: Internal Server Error
  24274. schema:
  24275. $ref: '#/definitions/app.Response'
  24276. security:
  24277. - ApiKeyAuth: []
  24278. summary: 查询经纪人申请
  24279. tags:
  24280. - 大连千海金
  24281. /Qhj/QueryBrokerApplyEx:
  24282. get:
  24283. parameters:
  24284. - description: 所属机构ID
  24285. in: query
  24286. name: userid
  24287. type: integer
  24288. produces:
  24289. - application/json
  24290. responses:
  24291. "200":
  24292. description: OK
  24293. schema:
  24294. items:
  24295. $ref: '#/definitions/models.QhjBrokerApplyEx'
  24296. type: array
  24297. "500":
  24298. description: Internal Server Error
  24299. schema:
  24300. $ref: '#/definitions/app.Response'
  24301. security:
  24302. - ApiKeyAuth: []
  24303. summary: 查询经纪人信息和申请记录
  24304. tags:
  24305. - 大连千海金
  24306. /Qhj/QueryBrokerRewardLog:
  24307. get:
  24308. parameters:
  24309. - description: 用户ID
  24310. in: query
  24311. name: userid
  24312. required: true
  24313. type: integer
  24314. - description: 开始交易日(yyyymmdd)
  24315. in: query
  24316. name: begindate
  24317. type: string
  24318. - description: 结束交易日(yyyymmdd)
  24319. in: query
  24320. name: enddate
  24321. type: string
  24322. produces:
  24323. - application/json
  24324. responses:
  24325. "200":
  24326. description: OK
  24327. schema:
  24328. items:
  24329. $ref: '#/definitions/models.QhjBrokerRewardLog'
  24330. type: array
  24331. "500":
  24332. description: Internal Server Error
  24333. schema:
  24334. $ref: '#/definitions/app.Response'
  24335. security:
  24336. - ApiKeyAuth: []
  24337. summary: 查询奖励流水(我的奖励)
  24338. tags:
  24339. - 大连千海金
  24340. /Qhj/QueryContract:
  24341. get:
  24342. parameters:
  24343. - description: 用户ID
  24344. in: query
  24345. name: userid
  24346. type: integer
  24347. - description: scf合同id
  24348. in: query
  24349. name: scfcontractid
  24350. type: integer
  24351. produces:
  24352. - application/json
  24353. responses:
  24354. "200":
  24355. description: OK
  24356. schema:
  24357. items:
  24358. $ref: '#/definitions/models.QhjContract'
  24359. type: array
  24360. "500":
  24361. description: Internal Server Error
  24362. schema:
  24363. $ref: '#/definitions/app.Response'
  24364. security:
  24365. - ApiKeyAuth: []
  24366. summary: 查询融资明细(合同)
  24367. tags:
  24368. - 大连千海金
  24369. /Qhj/QueryContractLog:
  24370. get:
  24371. parameters:
  24372. - description: scf合同id
  24373. in: query
  24374. name: scfcontractid
  24375. required: true
  24376. type: integer
  24377. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  24378. in: query
  24379. name: amounttype
  24380. type: string
  24381. produces:
  24382. - application/json
  24383. responses:
  24384. "200":
  24385. description: OK
  24386. schema:
  24387. items:
  24388. $ref: '#/definitions/models.QhjContractLog'
  24389. type: array
  24390. "500":
  24391. description: Internal Server Error
  24392. schema:
  24393. $ref: '#/definitions/app.Response'
  24394. security:
  24395. - ApiKeyAuth: []
  24396. summary: 查询融资明细流水(融资明细详情页中的流水)
  24397. tags:
  24398. - 大连千海金
  24399. /Qhj/QueryCusBankSignBank:
  24400. get:
  24401. produces:
  24402. - application/json
  24403. responses:
  24404. "200":
  24405. description: OK
  24406. schema:
  24407. items:
  24408. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  24409. type: array
  24410. "500":
  24411. description: Internal Server Error
  24412. schema:
  24413. $ref: '#/definitions/app.Response'
  24414. security:
  24415. - ApiKeyAuth: []
  24416. summary: 查询托管银行
  24417. tags:
  24418. - 大连千海金
  24419. /Qhj/QueryCustomerInfo:
  24420. get:
  24421. parameters:
  24422. - description: 用户ID
  24423. in: query
  24424. name: userid
  24425. required: true
  24426. type: integer
  24427. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24428. in: query
  24429. name: querytype
  24430. required: true
  24431. type: integer
  24432. - description: 客户类型 1-个人 2-企业
  24433. in: query
  24434. name: userinfotype
  24435. type: integer
  24436. - description: 客户名称(模糊匹配)
  24437. in: query
  24438. name: customername
  24439. type: string
  24440. - description: 昵称(模糊匹配)
  24441. in: query
  24442. name: nickname
  24443. type: string
  24444. - description: 是否包含子级 1-包含
  24445. in: query
  24446. name: includesub
  24447. type: integer
  24448. produces:
  24449. - application/json
  24450. responses:
  24451. "200":
  24452. description: OK
  24453. schema:
  24454. items:
  24455. $ref: '#/definitions/models.QhjCustomer'
  24456. type: array
  24457. "500":
  24458. description: Internal Server Error
  24459. schema:
  24460. $ref: '#/definitions/app.Response'
  24461. security:
  24462. - ApiKeyAuth: []
  24463. summary: 查询客户资料
  24464. tags:
  24465. - 大连千海金
  24466. /Qhj/QueryGoodsEx:
  24467. get:
  24468. parameters:
  24469. - description: 商品id
  24470. in: query
  24471. name: goodsid
  24472. type: integer
  24473. produces:
  24474. - application/json
  24475. responses:
  24476. "200":
  24477. description: OK
  24478. schema:
  24479. items:
  24480. $ref: '#/definitions/models.Qhjgoodsex'
  24481. type: array
  24482. "500":
  24483. description: Internal Server Error
  24484. schema:
  24485. $ref: '#/definitions/app.Response'
  24486. security:
  24487. - ApiKeyAuth: []
  24488. summary: 交易商品扩展表
  24489. tags:
  24490. - 大连千海金
  24491. /Qhj/QueryMyTeam:
  24492. get:
  24493. parameters:
  24494. - description: 用户ID
  24495. in: query
  24496. name: userid
  24497. required: true
  24498. type: integer
  24499. produces:
  24500. - application/json
  24501. responses:
  24502. "200":
  24503. description: OK
  24504. schema:
  24505. items:
  24506. $ref: '#/definitions/models.QhjMyTeamEx'
  24507. type: array
  24508. "500":
  24509. description: Internal Server Error
  24510. schema:
  24511. $ref: '#/definitions/app.Response'
  24512. security:
  24513. - ApiKeyAuth: []
  24514. summary: 查询我的团队
  24515. tags:
  24516. - 大连千海金
  24517. /Qhj/QueryMyTeamOrder:
  24518. get:
  24519. parameters:
  24520. - description: 页码
  24521. in: query
  24522. name: page
  24523. type: integer
  24524. - description: 每页条数
  24525. in: query
  24526. name: pagesize
  24527. type: integer
  24528. - description: 用户ID
  24529. in: query
  24530. name: userid
  24531. required: true
  24532. type: integer
  24533. - description: 交易模式
  24534. in: query
  24535. name: trademode
  24536. type: integer
  24537. - description: 名称(模糊搜索账户)
  24538. in: query
  24539. name: filtername
  24540. type: string
  24541. produces:
  24542. - application/json
  24543. responses:
  24544. "200":
  24545. description: OK
  24546. schema:
  24547. items:
  24548. $ref: '#/definitions/models.QhjTeamOrder'
  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/QueryParentAreaList:
  24560. get:
  24561. parameters:
  24562. - description: 用户ID
  24563. in: query
  24564. name: userid
  24565. required: true
  24566. type: integer
  24567. produces:
  24568. - application/json
  24569. responses:
  24570. "200":
  24571. description: OK
  24572. schema:
  24573. items:
  24574. $ref: '#/definitions/models.QhjParentAreaList'
  24575. type: array
  24576. "500":
  24577. description: Internal Server Error
  24578. schema:
  24579. $ref: '#/definitions/app.Response'
  24580. security:
  24581. - ApiKeyAuth: []
  24582. summary: 查询所属机构列表
  24583. tags:
  24584. - 大连千海金
  24585. /Qhj/QueryPayOrder:
  24586. get:
  24587. parameters:
  24588. - description: 资金账号id
  24589. in: query
  24590. name: accountid
  24591. required: true
  24592. type: integer
  24593. - description: 成交单号
  24594. in: query
  24595. name: tradeid
  24596. type: integer
  24597. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24598. in: query
  24599. name: payflag
  24600. type: string
  24601. produces:
  24602. - application/json
  24603. responses:
  24604. "200":
  24605. description: OK
  24606. schema:
  24607. items:
  24608. $ref: '#/definitions/models.QhjPayOrder'
  24609. type: array
  24610. "500":
  24611. description: Internal Server Error
  24612. schema:
  24613. $ref: '#/definitions/app.Response'
  24614. security:
  24615. - ApiKeyAuth: []
  24616. summary: 查询待付款单据
  24617. tags:
  24618. - 大连千海金
  24619. /Qhj/QueryPickArea:
  24620. get:
  24621. parameters:
  24622. - description: 用户ID
  24623. in: query
  24624. name: userid
  24625. type: integer
  24626. produces:
  24627. - application/json
  24628. responses:
  24629. "200":
  24630. description: OK
  24631. schema:
  24632. items:
  24633. $ref: '#/definitions/models.QhjPickArea'
  24634. type: array
  24635. "500":
  24636. description: Internal Server Error
  24637. schema:
  24638. $ref: '#/definitions/app.Response'
  24639. security:
  24640. - ApiKeyAuth: []
  24641. summary: 查询提货门店
  24642. tags:
  24643. - 大连千海金
  24644. /Qhj/QueryPickGoods:
  24645. get:
  24646. parameters:
  24647. - description: 交易商品id
  24648. in: query
  24649. name: goodsid
  24650. required: true
  24651. type: integer
  24652. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24653. in: query
  24654. name: status
  24655. type: string
  24656. produces:
  24657. - application/json
  24658. responses:
  24659. "200":
  24660. description: OK
  24661. schema:
  24662. items:
  24663. $ref: '#/definitions/models.QhjPickGoods'
  24664. type: array
  24665. "500":
  24666. description: Internal Server Error
  24667. schema:
  24668. $ref: '#/definitions/app.Response'
  24669. security:
  24670. - ApiKeyAuth: []
  24671. summary: 查询提货商品
  24672. tags:
  24673. - 大连千海金
  24674. /Qhj/QueryRSTriggerLog:
  24675. get:
  24676. parameters:
  24677. - description: 用户ID
  24678. in: query
  24679. name: userid
  24680. type: integer
  24681. - description: 定投策略id
  24682. in: query
  24683. name: regularlystrategyid
  24684. type: integer
  24685. - description: 商品id
  24686. in: query
  24687. name: goodsid
  24688. type: integer
  24689. - description: 开始交易日(yyyymmdd)
  24690. in: query
  24691. name: begindate
  24692. type: string
  24693. - description: 结束交易日(yyyymmdd)
  24694. in: query
  24695. name: enddate
  24696. type: string
  24697. - description: 名称(模糊搜索账户)
  24698. in: query
  24699. name: filtername
  24700. type: string
  24701. produces:
  24702. - application/json
  24703. responses:
  24704. "200":
  24705. description: OK
  24706. schema:
  24707. items:
  24708. $ref: '#/definitions/models.QhjRSTriggerLog'
  24709. type: array
  24710. "500":
  24711. description: Internal Server Error
  24712. schema:
  24713. $ref: '#/definitions/app.Response'
  24714. security:
  24715. - ApiKeyAuth: []
  24716. summary: 查询定投记录(定投管理/详情/定投记录)
  24717. tags:
  24718. - 大连千海金
  24719. /Qhj/QueryRStrategy:
  24720. get:
  24721. parameters:
  24722. - description: 用户ID
  24723. in: query
  24724. name: userid
  24725. type: integer
  24726. - description: 商品id
  24727. in: query
  24728. name: goodsid
  24729. type: integer
  24730. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  24731. in: query
  24732. name: status
  24733. type: string
  24734. - description: 名称(模糊搜索账户)
  24735. in: query
  24736. name: filtername
  24737. type: string
  24738. produces:
  24739. - application/json
  24740. responses:
  24741. "200":
  24742. description: OK
  24743. schema:
  24744. items:
  24745. $ref: '#/definitions/models.QhjRStrategy'
  24746. type: array
  24747. "500":
  24748. description: Internal Server Error
  24749. schema:
  24750. $ref: '#/definitions/app.Response'
  24751. security:
  24752. - ApiKeyAuth: []
  24753. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  24754. tags:
  24755. - 大连千海金
  24756. /Qhj/QueryReckonPriceLog:
  24757. get:
  24758. parameters:
  24759. - description: 商品ID
  24760. in: query
  24761. name: goodsid
  24762. type: integer
  24763. - description: 交易日 格式(yyyymmdd)
  24764. in: query
  24765. name: tradedate
  24766. type: string
  24767. produces:
  24768. - application/json
  24769. responses:
  24770. "200":
  24771. description: OK
  24772. schema:
  24773. items:
  24774. $ref: '#/definitions/models.QhjReckonPriceLog'
  24775. type: array
  24776. "500":
  24777. description: Internal Server Error
  24778. schema:
  24779. $ref: '#/definitions/app.Response'
  24780. security:
  24781. - ApiKeyAuth: []
  24782. summary: 查询定投价(结算价)
  24783. tags:
  24784. - 大连千海金
  24785. /Qhj/QueryScoreLog:
  24786. get:
  24787. parameters:
  24788. - description: 用户ID
  24789. in: query
  24790. name: userid
  24791. required: true
  24792. type: integer
  24793. - description: 开始交易日(yyyymmdd)
  24794. in: query
  24795. name: begindate
  24796. type: string
  24797. - description: 结束交易日(yyyymmdd)
  24798. in: query
  24799. name: enddate
  24800. type: string
  24801. - description: 最近多少条
  24802. in: query
  24803. name: lastnum
  24804. type: integer
  24805. produces:
  24806. - application/json
  24807. responses:
  24808. "200":
  24809. description: OK
  24810. schema:
  24811. items:
  24812. $ref: '#/definitions/models.QhjScoreLog'
  24813. type: array
  24814. "500":
  24815. description: Internal Server Error
  24816. schema:
  24817. $ref: '#/definitions/app.Response'
  24818. security:
  24819. - ApiKeyAuth: []
  24820. summary: 查询积分流水(我的积分)
  24821. tags:
  24822. - 大连千海金
  24823. /Qhj/QuerySiteColumnDetail:
  24824. get:
  24825. parameters:
  24826. - description: 用户ID
  24827. in: query
  24828. name: userid
  24829. required: true
  24830. type: integer
  24831. produces:
  24832. - application/json
  24833. responses:
  24834. "200":
  24835. description: OK
  24836. schema:
  24837. items:
  24838. $ref: '#/definitions/models.QhjSiteColumnDetail'
  24839. type: array
  24840. "500":
  24841. description: Internal Server Error
  24842. schema:
  24843. $ref: '#/definitions/app.Response'
  24844. security:
  24845. - ApiKeyAuth: []
  24846. summary: 查询资讯
  24847. tags:
  24848. - 大连千海金
  24849. /Qhj/QueryTradeGoodsPickup:
  24850. get:
  24851. parameters:
  24852. - description: 用户ID
  24853. in: query
  24854. name: userid
  24855. required: true
  24856. type: integer
  24857. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  24858. in: query
  24859. name: takeorderstatus
  24860. type: integer
  24861. produces:
  24862. - application/json
  24863. responses:
  24864. "200":
  24865. description: OK
  24866. schema:
  24867. items:
  24868. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  24869. type: array
  24870. "500":
  24871. description: Internal Server Error
  24872. schema:
  24873. $ref: '#/definitions/app.Response'
  24874. security:
  24875. - ApiKeyAuth: []
  24876. summary: 查询提货
  24877. tags:
  24878. - 大连千海金
  24879. /Qhj/QueryUserCollectConfig:
  24880. get:
  24881. parameters:
  24882. - description: 用户ID
  24883. in: query
  24884. name: userid
  24885. required: true
  24886. type: integer
  24887. produces:
  24888. - application/json
  24889. responses:
  24890. "200":
  24891. description: OK
  24892. schema:
  24893. items:
  24894. $ref: '#/definitions/models.UserCollectConfig'
  24895. type: array
  24896. "500":
  24897. description: Internal Server Error
  24898. schema:
  24899. $ref: '#/definitions/app.Response'
  24900. security:
  24901. - ApiKeyAuth: []
  24902. summary: 查询提现账户设置
  24903. tags:
  24904. - 大连千海金
  24905. /Qhj/QueryUserReceiveInfo:
  24906. get:
  24907. parameters:
  24908. - description: 用户ID
  24909. in: query
  24910. name: userid
  24911. required: true
  24912. type: integer
  24913. produces:
  24914. - application/json
  24915. responses:
  24916. "200":
  24917. description: OK
  24918. schema:
  24919. items:
  24920. $ref: '#/definitions/models.UserReceiveInfo'
  24921. type: array
  24922. "500":
  24923. description: Internal Server Error
  24924. schema:
  24925. $ref: '#/definitions/app.Response'
  24926. security:
  24927. - ApiKeyAuth: []
  24928. summary: 查询收货地址信息
  24929. tags:
  24930. - 大连千海金
  24931. /QhjMgr/QueryAccountInOutApply:
  24932. get:
  24933. parameters:
  24934. - description: 查询类型 1-提现(出金) 2-充值(出金)
  24935. in: query
  24936. name: querytype
  24937. required: true
  24938. type: integer
  24939. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  24940. in: query
  24941. name: applystatus
  24942. type: integer
  24943. - description: 申请起始日期(格式yyyymmdd)
  24944. in: query
  24945. name: begindate
  24946. type: string
  24947. - description: 申请截止日期(格式yyyymmdd)
  24948. in: query
  24949. name: enddate
  24950. type: string
  24951. - description: 模糊搜索名称
  24952. in: query
  24953. name: likename
  24954. type: string
  24955. produces:
  24956. - application/json
  24957. responses:
  24958. "200":
  24959. description: OK
  24960. schema:
  24961. items:
  24962. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  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. - 大连千海金(PCWeb)
  24973. /QhjMgr/QueryBrokerApply:
  24974. get:
  24975. parameters:
  24976. - description: 所属机构ID
  24977. in: query
  24978. name: userid
  24979. type: integer
  24980. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24981. in: query
  24982. name: filterstatus
  24983. type: string
  24984. - description: 名称(模糊匹配)
  24985. in: query
  24986. name: filtername
  24987. type: string
  24988. - description: 是否包含子级 1-包含
  24989. in: query
  24990. name: includesub
  24991. type: integer
  24992. produces:
  24993. - application/json
  24994. responses:
  24995. "200":
  24996. description: OK
  24997. schema:
  24998. items:
  24999. $ref: '#/definitions/models.QhjMgrBrokerApply'
  25000. type: array
  25001. "500":
  25002. description: Internal Server Error
  25003. schema:
  25004. $ref: '#/definitions/app.Response'
  25005. security:
  25006. - ApiKeyAuth: []
  25007. summary: 查询经纪人申请
  25008. tags:
  25009. - 大连千海金(PCWeb)
  25010. /QhjMgr/QueryBrokerRewardReport:
  25011. get:
  25012. parameters:
  25013. - description: 所属机构ID
  25014. in: query
  25015. name: userid
  25016. required: true
  25017. type: integer
  25018. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25019. in: query
  25020. name: cycletype
  25021. required: true
  25022. type: integer
  25023. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  25024. in: query
  25025. name: cycletime
  25026. required: true
  25027. type: string
  25028. - description: 名称(模糊匹配)
  25029. in: query
  25030. name: filtername
  25031. type: string
  25032. - description: 是否包含子级 1-包含
  25033. in: query
  25034. name: includesub
  25035. type: integer
  25036. produces:
  25037. - application/json
  25038. responses:
  25039. "200":
  25040. description: OK
  25041. schema:
  25042. items:
  25043. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  25044. type: array
  25045. "500":
  25046. description: Internal Server Error
  25047. schema:
  25048. $ref: '#/definitions/app.Response'
  25049. security:
  25050. - ApiKeyAuth: []
  25051. summary: 查询经纪人奖励报表(废弃)
  25052. tags:
  25053. - 大连千海金(PCWeb)
  25054. /QhjMgr/QueryContract:
  25055. get:
  25056. parameters:
  25057. - description: 用户ID
  25058. in: query
  25059. name: userid
  25060. type: integer
  25061. - description: 商品id
  25062. in: query
  25063. name: goodsid
  25064. type: integer
  25065. - description: 名称(模糊搜索账户)
  25066. in: query
  25067. name: filtername
  25068. type: string
  25069. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  25070. in: query
  25071. name: risklevel
  25072. type: string
  25073. - description: 开始交易日(yyyymmdd)
  25074. in: query
  25075. name: begindate
  25076. type: string
  25077. - description: 结束交易日(yyyymmdd)
  25078. in: query
  25079. name: enddate
  25080. type: string
  25081. produces:
  25082. - application/json
  25083. responses:
  25084. "200":
  25085. description: OK
  25086. schema:
  25087. items:
  25088. $ref: '#/definitions/models.QhjMgrContract'
  25089. type: array
  25090. "500":
  25091. description: Internal Server Error
  25092. schema:
  25093. $ref: '#/definitions/app.Response'
  25094. security:
  25095. - ApiKeyAuth: []
  25096. summary: 查询融资信息(合同)
  25097. tags:
  25098. - 大连千海金(PCWeb)
  25099. /QhjMgr/QueryCustomerInfo:
  25100. get:
  25101. parameters:
  25102. - description: 用户ID
  25103. in: query
  25104. name: userid
  25105. required: true
  25106. type: integer
  25107. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  25108. in: query
  25109. name: querytype
  25110. required: true
  25111. type: integer
  25112. - description: 客户类型 1-个人 2-企业
  25113. in: query
  25114. name: userinfotype
  25115. type: integer
  25116. - description: 客户名称(模糊匹配)
  25117. in: query
  25118. name: customername
  25119. type: string
  25120. - description: 昵称(模糊匹配)
  25121. in: query
  25122. name: nickname
  25123. type: string
  25124. - description: 所属客户经理(模糊匹配)
  25125. in: query
  25126. name: brokername
  25127. type: string
  25128. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)
  25129. in: query
  25130. name: birthday
  25131. type: string
  25132. - description: 是否包含子级 1-包含
  25133. in: query
  25134. name: includesub
  25135. type: integer
  25136. produces:
  25137. - application/json
  25138. responses:
  25139. "200":
  25140. description: OK
  25141. schema:
  25142. items:
  25143. $ref: '#/definitions/models.QhjMgrCustomer'
  25144. type: array
  25145. "500":
  25146. description: Internal Server Error
  25147. schema:
  25148. $ref: '#/definitions/app.Response'
  25149. security:
  25150. - ApiKeyAuth: []
  25151. summary: 查询客户资料
  25152. tags:
  25153. - 大连千海金(PCWeb)
  25154. /QhjMgr/QueryPickGoods:
  25155. get:
  25156. parameters:
  25157. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25158. in: query
  25159. name: status
  25160. type: string
  25161. produces:
  25162. - application/json
  25163. responses:
  25164. "200":
  25165. description: OK
  25166. schema:
  25167. items:
  25168. $ref: '#/definitions/models.QhjMgrPickGoods'
  25169. type: array
  25170. "500":
  25171. description: Internal Server Error
  25172. schema:
  25173. $ref: '#/definitions/app.Response'
  25174. security:
  25175. - ApiKeyAuth: []
  25176. summary: 查询提货商品
  25177. tags:
  25178. - 大连千海金(PCWeb)
  25179. /QhjMgr/QuerySubArea:
  25180. get:
  25181. parameters:
  25182. - description: 用户ID
  25183. in: query
  25184. name: userid
  25185. required: true
  25186. type: integer
  25187. produces:
  25188. - application/json
  25189. responses:
  25190. "200":
  25191. description: OK
  25192. schema:
  25193. items:
  25194. $ref: '#/definitions/models.QhjMgrSubArea'
  25195. type: array
  25196. "500":
  25197. description: Internal Server Error
  25198. schema:
  25199. $ref: '#/definitions/app.Response'
  25200. security:
  25201. - ApiKeyAuth: []
  25202. summary: 查询子机构列表
  25203. tags:
  25204. - 大连千海金(PCWeb)
  25205. /QhjMgr/QueryTradeDetail:
  25206. get:
  25207. parameters:
  25208. - description: 用户ID
  25209. in: query
  25210. name: userid
  25211. required: true
  25212. type: integer
  25213. - description: 用户类型 1-个人 2-企业
  25214. in: query
  25215. name: userinfotype
  25216. type: integer
  25217. - description: 交易模式
  25218. in: query
  25219. name: trademode
  25220. type: integer
  25221. - description: 商品id
  25222. in: query
  25223. name: goodsid
  25224. type: integer
  25225. - description: 名称(模糊搜索账户)
  25226. in: query
  25227. name: filtername
  25228. type: string
  25229. - description: 开始交易日(yyyymmdd)
  25230. in: query
  25231. name: begindate
  25232. type: string
  25233. - description: 结束交易日(yyyymmdd)
  25234. in: query
  25235. name: enddate
  25236. type: string
  25237. - description: 是否包含子级 1-包含
  25238. in: query
  25239. name: includesub
  25240. type: integer
  25241. produces:
  25242. - application/json
  25243. responses:
  25244. "200":
  25245. description: OK
  25246. schema:
  25247. items:
  25248. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  25249. type: array
  25250. "500":
  25251. description: Internal Server Error
  25252. schema:
  25253. $ref: '#/definitions/app.Response'
  25254. security:
  25255. - ApiKeyAuth: []
  25256. summary: 查询成交明细
  25257. tags:
  25258. - 大连千海金(PCWeb)
  25259. /QhjMgr/QueryTradeOrderDetail:
  25260. get:
  25261. parameters:
  25262. - description: 用户ID
  25263. in: query
  25264. name: userid
  25265. required: true
  25266. type: integer
  25267. - description: 用户类型 1-个人 2-企业
  25268. in: query
  25269. name: userinfotype
  25270. type: integer
  25271. - description: 交易模式
  25272. in: query
  25273. name: trademode
  25274. type: integer
  25275. - description: 商品id
  25276. in: query
  25277. name: goodsid
  25278. type: integer
  25279. - description: 名称(模糊搜索账户)
  25280. in: query
  25281. name: filtername
  25282. type: string
  25283. - description: 开始交易日(yyyymmdd)
  25284. in: query
  25285. name: begindate
  25286. type: string
  25287. - description: 结束交易日(yyyymmdd)
  25288. in: query
  25289. name: enddate
  25290. type: string
  25291. - description: 是否包含子级 1-包含
  25292. in: query
  25293. name: includesub
  25294. type: integer
  25295. produces:
  25296. - application/json
  25297. responses:
  25298. "200":
  25299. description: OK
  25300. schema:
  25301. items:
  25302. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  25303. type: array
  25304. "500":
  25305. description: Internal Server Error
  25306. schema:
  25307. $ref: '#/definitions/app.Response'
  25308. security:
  25309. - ApiKeyAuth: []
  25310. summary: 查询委托明细
  25311. tags:
  25312. - 大连千海金(PCWeb)
  25313. /QhjMgr/QueryTradePayOrder:
  25314. get:
  25315. parameters:
  25316. - description: 用户ID
  25317. in: query
  25318. name: userid
  25319. required: true
  25320. type: integer
  25321. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25322. in: query
  25323. name: payflag
  25324. type: string
  25325. - description: 用户类型 1-个人 2-企业
  25326. in: query
  25327. name: userinfotype
  25328. type: integer
  25329. - description: 交易模式
  25330. in: query
  25331. name: trademode
  25332. type: integer
  25333. - description: 商品id
  25334. in: query
  25335. name: goodsid
  25336. type: integer
  25337. - description: 名称(模糊搜索账户)
  25338. in: query
  25339. name: filtername
  25340. type: string
  25341. - description: 开始交易日(yyyymmdd)
  25342. in: query
  25343. name: begindate
  25344. type: string
  25345. - description: 结束交易日(yyyymmdd)
  25346. in: query
  25347. name: enddate
  25348. type: string
  25349. - description: 是否包含子级 1-包含
  25350. in: query
  25351. name: includesub
  25352. type: integer
  25353. produces:
  25354. - application/json
  25355. responses:
  25356. "200":
  25357. description: OK
  25358. schema:
  25359. items:
  25360. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  25361. type: array
  25362. "500":
  25363. description: Internal Server Error
  25364. schema:
  25365. $ref: '#/definitions/app.Response'
  25366. security:
  25367. - ApiKeyAuth: []
  25368. summary: 查询待付款单
  25369. tags:
  25370. - 大连千海金(PCWeb)
  25371. /QhjMgr/QueryTradePosition:
  25372. get:
  25373. parameters:
  25374. - description: 用户ID
  25375. in: query
  25376. name: userid
  25377. required: true
  25378. type: integer
  25379. - description: 用户类型 1-个人 2-企业
  25380. in: query
  25381. name: userinfotype
  25382. type: integer
  25383. - description: 交易模式
  25384. in: query
  25385. name: trademode
  25386. type: integer
  25387. - description: 商品id
  25388. in: query
  25389. name: goodsid
  25390. type: integer
  25391. - description: 名称(模糊搜索账户)
  25392. in: query
  25393. name: filtername
  25394. type: string
  25395. - description: 是否包含子级 1-包含
  25396. in: query
  25397. name: includesub
  25398. type: integer
  25399. produces:
  25400. - application/json
  25401. responses:
  25402. "200":
  25403. description: OK
  25404. schema:
  25405. items:
  25406. $ref: '#/definitions/models.QhjMgrPositionRsp'
  25407. type: array
  25408. "500":
  25409. description: Internal Server Error
  25410. schema:
  25411. $ref: '#/definitions/app.Response'
  25412. security:
  25413. - ApiKeyAuth: []
  25414. summary: 查询持仓汇总
  25415. tags:
  25416. - 大连千海金(PCWeb)
  25417. /QhjSys/QueryAgreementChangeLog:
  25418. get:
  25419. parameters:
  25420. - description: 协议ID
  25421. in: query
  25422. name: agreementid
  25423. type: integer
  25424. - description: 协议版本号
  25425. in: query
  25426. name: agreementversion
  25427. type: integer
  25428. - description: 协议类型 - 1:注册 2:登录 3:交易
  25429. in: query
  25430. name: agreementtype
  25431. type: integer
  25432. - description: 协议编号(模糊匹配)
  25433. in: query
  25434. name: agreementno
  25435. type: string
  25436. - description: 协议名称(模糊匹配)
  25437. in: query
  25438. name: agreementname
  25439. type: string
  25440. produces:
  25441. - application/json
  25442. responses:
  25443. "200":
  25444. description: OK
  25445. schema:
  25446. items:
  25447. $ref: '#/definitions/models.QhjAgreementChangeLog'
  25448. type: array
  25449. "500":
  25450. description: Internal Server Error
  25451. schema:
  25452. $ref: '#/definitions/app.Response'
  25453. security:
  25454. - ApiKeyAuth: []
  25455. summary: 查询协议配置变更流水
  25456. tags:
  25457. - 大连千海金(协议和签约信息)
  25458. /QhjSys/QueryAgreementConfig:
  25459. get:
  25460. parameters:
  25461. - description: 协议ID
  25462. in: query
  25463. name: agreementid
  25464. type: integer
  25465. - description: 协议版本号
  25466. in: query
  25467. name: agreementversion
  25468. type: integer
  25469. - description: 协议类型 - 1:注册 2:登录 3:交易
  25470. in: query
  25471. name: agreementtype
  25472. type: integer
  25473. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  25474. in: query
  25475. name: isvalid
  25476. type: integer
  25477. - description: 协议编号(模糊匹配)
  25478. in: query
  25479. name: agreementno
  25480. type: string
  25481. - description: 协议名称(模糊匹配)
  25482. in: query
  25483. name: agreementname
  25484. type: string
  25485. produces:
  25486. - application/json
  25487. responses:
  25488. "200":
  25489. description: OK
  25490. schema:
  25491. items:
  25492. $ref: '#/definitions/models.QhjAgreementConfig'
  25493. type: array
  25494. "500":
  25495. description: Internal Server Error
  25496. schema:
  25497. $ref: '#/definitions/app.Response'
  25498. security:
  25499. - ApiKeyAuth: []
  25500. summary: 查询协议配置
  25501. tags:
  25502. - 大连千海金(协议和签约信息)
  25503. /QhjSys/QueryCustomerSignStatus:
  25504. get:
  25505. parameters:
  25506. - description: 客户ID
  25507. in: query
  25508. name: userid
  25509. type: integer
  25510. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  25511. in: query
  25512. name: nodetype
  25513. type: integer
  25514. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25515. in: query
  25516. name: goodsid
  25517. type: integer
  25518. - description: 创建交易日(yyyyMMdd)
  25519. in: query
  25520. name: tradedate
  25521. type: string
  25522. - description: 用户名称(模糊匹配)
  25523. in: query
  25524. name: username
  25525. type: string
  25526. produces:
  25527. - application/json
  25528. responses:
  25529. "200":
  25530. description: OK
  25531. schema:
  25532. items:
  25533. $ref: '#/definitions/models.QhjCustomerSignStatus'
  25534. type: array
  25535. "500":
  25536. description: Internal Server Error
  25537. schema:
  25538. $ref: '#/definitions/app.Response'
  25539. security:
  25540. - ApiKeyAuth: []
  25541. summary: 查询客户协议签约状态
  25542. tags:
  25543. - 大连千海金(协议和签约信息)
  25544. /QhjSys/QueryNodeAgreementConfig:
  25545. get:
  25546. parameters:
  25547. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25548. in: query
  25549. name: configid
  25550. type: integer
  25551. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25552. in: query
  25553. name: nodetype
  25554. type: integer
  25555. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25556. in: query
  25557. name: goodsid
  25558. type: integer
  25559. - description: 协议ID
  25560. in: query
  25561. name: agreementid
  25562. type: integer
  25563. - description: 协议类型 - 1:注册 2:登录 3:交易
  25564. in: query
  25565. name: agreementtype
  25566. type: integer
  25567. - description: 协议版本号
  25568. in: query
  25569. name: agreementversion
  25570. type: integer
  25571. - description: 协议编号(模糊匹配)
  25572. in: query
  25573. name: agreementno
  25574. type: string
  25575. - description: 协议名称(模糊匹配)
  25576. in: query
  25577. name: agreementname
  25578. type: string
  25579. produces:
  25580. - application/json
  25581. responses:
  25582. "200":
  25583. description: OK
  25584. schema:
  25585. items:
  25586. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  25587. type: array
  25588. "500":
  25589. description: Internal Server Error
  25590. schema:
  25591. $ref: '#/definitions/app.Response'
  25592. security:
  25593. - ApiKeyAuth: []
  25594. summary: 查询协议节点配置
  25595. tags:
  25596. - 大连千海金(协议和签约信息)
  25597. /QhjSys/QueryQhjCustomerSignLog:
  25598. get:
  25599. parameters:
  25600. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  25601. in: query
  25602. name: logid
  25603. type: integer
  25604. - description: 客户ID
  25605. in: query
  25606. name: userid
  25607. type: integer
  25608. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25609. in: query
  25610. name: nodetype
  25611. type: integer
  25612. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25613. in: query
  25614. name: goodsid
  25615. type: integer
  25616. - description: 协议ID
  25617. in: query
  25618. name: agreementid
  25619. type: integer
  25620. - description: 用户名称(模糊匹配)
  25621. in: query
  25622. name: username
  25623. type: string
  25624. - description: 协议编号(模糊匹配)
  25625. in: query
  25626. name: agreementno
  25627. type: string
  25628. - description: 协议名称(模糊匹配)
  25629. in: query
  25630. name: agreementname
  25631. type: string
  25632. produces:
  25633. - application/json
  25634. responses:
  25635. "200":
  25636. description: OK
  25637. schema:
  25638. items:
  25639. $ref: '#/definitions/models.QhjCustomerSignLog'
  25640. type: array
  25641. "500":
  25642. description: Internal Server Error
  25643. schema:
  25644. $ref: '#/definitions/app.Response'
  25645. security:
  25646. - ApiKeyAuth: []
  25647. summary: 查询客户协议签约流水
  25648. tags:
  25649. - 大连千海金(协议和签约信息)
  25650. /QhjSys/QueryUserNodeCfgAndStatus:
  25651. get:
  25652. parameters:
  25653. - description: 客户ID
  25654. in: query
  25655. name: userid
  25656. type: integer
  25657. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25658. in: query
  25659. name: configid
  25660. type: integer
  25661. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25662. in: query
  25663. name: nodetype
  25664. type: string
  25665. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25666. in: query
  25667. name: goodsid
  25668. type: integer
  25669. - description: 协议ID
  25670. in: query
  25671. name: agreementid
  25672. type: integer
  25673. - description: 协议类型 - 1:注册 2:登录 3:交易
  25674. in: query
  25675. name: agreementtype
  25676. type: integer
  25677. - description: 协议版本号
  25678. in: query
  25679. name: agreementversion
  25680. type: integer
  25681. - description: 协议编号(模糊匹配)
  25682. in: query
  25683. name: agreementno
  25684. type: string
  25685. - description: 协议名称(模糊匹配)
  25686. in: query
  25687. name: agreementname
  25688. type: string
  25689. produces:
  25690. - application/json
  25691. responses:
  25692. "200":
  25693. description: OK
  25694. schema:
  25695. items:
  25696. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  25697. type: array
  25698. "500":
  25699. description: Internal Server Error
  25700. schema:
  25701. $ref: '#/definitions/app.Response'
  25702. security:
  25703. - ApiKeyAuth: []
  25704. summary: 查询用户协议节点配置和状态
  25705. tags:
  25706. - 大连千海金(协议和签约信息)
  25707. /Quote/QueryHistoryDatas:
  25708. get:
  25709. parameters:
  25710. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线'
  25711. in: query
  25712. name: cycleType
  25713. required: true
  25714. type: integer
  25715. - description: 商品代码
  25716. in: query
  25717. name: goodsCode
  25718. required: true
  25719. type: string
  25720. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25721. in: query
  25722. name: startTime
  25723. type: string
  25724. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25725. in: query
  25726. name: endTime
  25727. type: string
  25728. - description: 条数
  25729. in: query
  25730. name: count
  25731. type: integer
  25732. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25733. in: query
  25734. name: isAsc
  25735. type: boolean
  25736. produces:
  25737. - application/json
  25738. responses:
  25739. "200":
  25740. description: OK
  25741. schema:
  25742. $ref: '#/definitions/quote.HistoryData'
  25743. "500":
  25744. description: Internal Server Error
  25745. schema:
  25746. $ref: '#/definitions/app.Response'
  25747. security:
  25748. - ApiKeyAuth: []
  25749. summary: 查询行情历史数据
  25750. tags:
  25751. - 行情服务
  25752. /Quote/QueryHistoryTikDatas:
  25753. get:
  25754. parameters:
  25755. - description: 商品代码
  25756. in: query
  25757. name: goodsCode
  25758. required: true
  25759. type: string
  25760. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25761. in: query
  25762. name: startTime
  25763. type: string
  25764. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25765. in: query
  25766. name: endTime
  25767. type: string
  25768. - description: 条数
  25769. in: query
  25770. name: count
  25771. type: integer
  25772. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25773. in: query
  25774. name: isAsc
  25775. type: boolean
  25776. produces:
  25777. - application/json
  25778. responses:
  25779. "200":
  25780. description: OK
  25781. schema:
  25782. $ref: '#/definitions/quote.HistoryTikData'
  25783. "500":
  25784. description: Internal Server Error
  25785. schema:
  25786. $ref: '#/definitions/app.Response'
  25787. security:
  25788. - ApiKeyAuth: []
  25789. summary: 查询行情Tik数据
  25790. tags:
  25791. - 行情服务
  25792. /Quote/QueryQuoteDay:
  25793. get:
  25794. parameters:
  25795. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  25796. in: query
  25797. name: goodsCodes
  25798. required: true
  25799. type: string
  25800. produces:
  25801. - application/json
  25802. responses:
  25803. "200":
  25804. description: OK
  25805. schema:
  25806. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  25807. "500":
  25808. description: Internal Server Error
  25809. schema:
  25810. $ref: '#/definitions/app.Response'
  25811. security:
  25812. - ApiKeyAuth: []
  25813. summary: 获取商品盘面信息
  25814. tags:
  25815. - 行情服务
  25816. /Quote/QueryTSData:
  25817. get:
  25818. parameters:
  25819. - description: 商品代码
  25820. in: query
  25821. name: goodsCode
  25822. required: true
  25823. type: string
  25824. produces:
  25825. - application/json
  25826. responses:
  25827. "200":
  25828. description: OK
  25829. schema:
  25830. $ref: '#/definitions/quote.QueryTSDataRsp'
  25831. "500":
  25832. description: Internal Server Error
  25833. schema:
  25834. $ref: '#/definitions/app.Response'
  25835. security:
  25836. - ApiKeyAuth: []
  25837. summary: 分时图数据查询
  25838. tags:
  25839. - 行情服务
  25840. /SZDZ/QueryConvertConfig:
  25841. get:
  25842. parameters:
  25843. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  25844. in: query
  25845. name: convertType
  25846. type: integer
  25847. - description: 外部商品代码[JD\PD]
  25848. in: query
  25849. name: outerGoodsCode
  25850. type: string
  25851. - description: 内部商品ID列表[交易],格式:1,2,3
  25852. in: query
  25853. name: innerGoodsIDs
  25854. type: string
  25855. produces:
  25856. - application/json
  25857. responses:
  25858. "200":
  25859. description: OK
  25860. schema:
  25861. $ref: '#/definitions/models.Szdz3convertconfig'
  25862. "500":
  25863. description: Internal Server Error
  25864. schema:
  25865. $ref: '#/definitions/app.Response'
  25866. security:
  25867. - ApiKeyAuth: []
  25868. summary: 查询交易系统转换设置
  25869. tags:
  25870. - 定制【尚志大宗】
  25871. /SZDZ/QueryConvertLog:
  25872. get:
  25873. parameters:
  25874. - description: 资金账户 - 格式:1,2,3
  25875. in: query
  25876. name: accountID
  25877. required: true
  25878. type: string
  25879. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25880. in: query
  25881. name: startDate
  25882. type: string
  25883. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25884. in: query
  25885. name: endDate
  25886. type: string
  25887. produces:
  25888. - application/json
  25889. responses:
  25890. "200":
  25891. description: OK
  25892. schema:
  25893. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  25894. "500":
  25895. description: Internal Server Error
  25896. schema:
  25897. $ref: '#/definitions/app.Response'
  25898. security:
  25899. - ApiKeyAuth: []
  25900. summary: 交易系统转换流水查询
  25901. tags:
  25902. - 定制【尚志大宗】
  25903. /SZDZ/QueryGoodsPickup:
  25904. get:
  25905. parameters:
  25906. - description: 资金账户 - 格式:1,2,3
  25907. in: query
  25908. name: accountID
  25909. required: true
  25910. type: string
  25911. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25912. in: query
  25913. name: takeOrderStatus
  25914. type: integer
  25915. produces:
  25916. - application/json
  25917. responses:
  25918. "200":
  25919. description: OK
  25920. schema:
  25921. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  25922. "500":
  25923. description: Internal Server Error
  25924. schema:
  25925. $ref: '#/definitions/app.Response'
  25926. security:
  25927. - ApiKeyAuth: []
  25928. summary: 商品提货单查询
  25929. tags:
  25930. - 定制【尚志大宗】
  25931. /SZDZ/QueryRecieptOrder:
  25932. get:
  25933. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25934. parameters:
  25935. - description: 页码
  25936. in: query
  25937. name: page
  25938. type: integer
  25939. - description: 每页条数
  25940. in: query
  25941. name: pagesize
  25942. type: integer
  25943. - description: 商品ID
  25944. in: query
  25945. name: goodsID
  25946. required: true
  25947. type: integer
  25948. - description: 所属账户名称
  25949. in: query
  25950. name: accountName
  25951. type: string
  25952. - description: 市场ID
  25953. in: query
  25954. name: marketID
  25955. type: integer
  25956. - description: 方向 - 0:买 1:卖
  25957. in: query
  25958. name: buyorsell
  25959. required: true
  25960. type: integer
  25961. produces:
  25962. - application/json
  25963. responses:
  25964. "200":
  25965. description: OK
  25966. schema:
  25967. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  25968. "500":
  25969. description: Internal Server Error
  25970. schema:
  25971. $ref: '#/definitions/app.Response'
  25972. security:
  25973. - ApiKeyAuth: []
  25974. summary: 点选挂牌委托单据查询(摘牌大厅)
  25975. tags:
  25976. - 定制【尚志大宗】
  25977. /SZDZ/QuerySZDZTradePosition:
  25978. get:
  25979. parameters:
  25980. - description: 资金账户
  25981. in: query
  25982. name: accountID
  25983. required: true
  25984. type: integer
  25985. produces:
  25986. - application/json
  25987. responses:
  25988. "200":
  25989. description: OK
  25990. schema:
  25991. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  25992. "500":
  25993. description: Internal Server Error
  25994. schema:
  25995. $ref: '#/definitions/app.Response'
  25996. security:
  25997. - ApiKeyAuth: []
  25998. summary: 持仓汇总查询(尚志大宗)
  25999. tags:
  26000. - 定制【尚志大宗】
  26001. /SZDZ/SearchWhite:
  26002. get:
  26003. parameters:
  26004. - description: 用户ID
  26005. in: query
  26006. name: userID
  26007. required: true
  26008. type: integer
  26009. produces:
  26010. - application/json
  26011. responses:
  26012. "200":
  26013. description: OK
  26014. schema:
  26015. $ref: '#/definitions/models.Szdz3searchwhitelist'
  26016. "500":
  26017. description: Internal Server Error
  26018. schema:
  26019. $ref: '#/definitions/app.Response'
  26020. security:
  26021. - ApiKeyAuth: []
  26022. summary: 搜索白名单
  26023. tags:
  26024. - 定制【尚志大宗】
  26025. /Search/SearchGoodses:
  26026. get:
  26027. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  26028. parameters:
  26029. - description: 检索内容
  26030. in: query
  26031. name: content
  26032. required: true
  26033. type: string
  26034. - description: 交易模式,格式:1,2,3
  26035. in: query
  26036. name: tradeModes
  26037. type: string
  26038. produces:
  26039. - application/json
  26040. responses:
  26041. "200":
  26042. description: OK
  26043. schema:
  26044. $ref: '#/definitions/models.SearchGoods'
  26045. "500":
  26046. description: Internal Server Error
  26047. schema:
  26048. $ref: '#/definitions/app.Response'
  26049. summary: 检索商品信息
  26050. tags:
  26051. - 检索服务
  26052. /TaAccount/GetTaAccounts:
  26053. get:
  26054. parameters:
  26055. - description: 登录账户
  26056. in: query
  26057. name: loginID
  26058. required: true
  26059. type: integer
  26060. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  26061. in: query
  26062. name: taAccountType
  26063. type: integer
  26064. produces:
  26065. - application/json
  26066. responses:
  26067. "200":
  26068. description: OK
  26069. schema:
  26070. $ref: '#/definitions/models.Taaccount'
  26071. "500":
  26072. description: Internal Server Error
  26073. schema:
  26074. $ref: '#/definitions/app.Response'
  26075. security:
  26076. - ApiKeyAuth: []
  26077. summary: 获取资金账户信息
  26078. tags:
  26079. - 资金账户
  26080. /TaAccount/QueryAmountLog:
  26081. get:
  26082. parameters:
  26083. - description: 页码
  26084. in: query
  26085. name: page
  26086. type: integer
  26087. - description: 每页条数
  26088. in: query
  26089. name: pagesize
  26090. type: integer
  26091. - description: 资金账户 - 格式:1,2,3
  26092. in: query
  26093. name: accountID
  26094. required: true
  26095. type: string
  26096. - description: 资金操作类型 - 格式:1,2,3
  26097. in: query
  26098. name: OperateType
  26099. type: string
  26100. produces:
  26101. - application/json
  26102. responses:
  26103. "200":
  26104. description: OK
  26105. schema:
  26106. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  26107. "500":
  26108. description: Internal Server Error
  26109. schema:
  26110. $ref: '#/definitions/app.Response'
  26111. security:
  26112. - ApiKeyAuth: []
  26113. summary: 资金流水查询(当前)
  26114. tags:
  26115. - 资金账户
  26116. /TaAccount/QueryHisAmountLog:
  26117. get:
  26118. parameters:
  26119. - description: 页码
  26120. in: query
  26121. name: page
  26122. type: integer
  26123. - description: 每页条数
  26124. in: query
  26125. name: pagesize
  26126. type: integer
  26127. - description: 资金账户 - 格式:1,2,3
  26128. in: query
  26129. name: accountID
  26130. required: true
  26131. type: string
  26132. - description: 资金操作类型 - 格式:1,2,3
  26133. in: query
  26134. name: OperateType
  26135. type: string
  26136. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  26137. in: query
  26138. name: startDate
  26139. type: string
  26140. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  26141. in: query
  26142. name: endDate
  26143. type: string
  26144. produces:
  26145. - application/json
  26146. responses:
  26147. "200":
  26148. description: OK
  26149. schema:
  26150. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  26151. "500":
  26152. description: Internal Server Error
  26153. schema:
  26154. $ref: '#/definitions/app.Response'
  26155. security:
  26156. - ApiKeyAuth: []
  26157. summary: 资金流水查询(历史)
  26158. tags:
  26159. - 资金账户
  26160. /Tjmd/QueryQuoteGoodsList:
  26161. get:
  26162. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  26163. parameters:
  26164. - description: 用户类型
  26165. in: query
  26166. name: usertype
  26167. required: true
  26168. type: integer
  26169. - description: 市场id, 格式 1,2,3
  26170. in: query
  26171. name: marketids
  26172. type: string
  26173. - description: 商品组id
  26174. in: query
  26175. name: goodsgroupid
  26176. type: integer
  26177. - description: 商品id
  26178. in: query
  26179. name: goodsid
  26180. type: integer
  26181. produces:
  26182. - application/json
  26183. responses:
  26184. "200":
  26185. description: OK
  26186. schema:
  26187. items:
  26188. $ref: '#/definitions/models.TjmdQuoteGoods'
  26189. type: array
  26190. "500":
  26191. description: Internal Server Error
  26192. schema:
  26193. $ref: '#/definitions/app.Response'
  26194. security:
  26195. - ApiKeyAuth: []
  26196. summary: 查询掉期报价列表
  26197. tags:
  26198. - 天津麦顿
  26199. /Tjmd/QueryTjmdMarketSection:
  26200. get:
  26201. produces:
  26202. - application/json
  26203. responses:
  26204. "200":
  26205. description: OK
  26206. schema:
  26207. items:
  26208. $ref: '#/definitions/models.TjmdMarketSection'
  26209. type: array
  26210. "500":
  26211. description: Internal Server Error
  26212. schema:
  26213. $ref: '#/definitions/app.Response'
  26214. security:
  26215. - ApiKeyAuth: []
  26216. summary: 查询市场板块
  26217. tags:
  26218. - 天津麦顿
  26219. /Tjmd/QueryTjmdTodayAccountMargin:
  26220. get:
  26221. parameters:
  26222. - description: 市场id
  26223. in: query
  26224. name: marketid
  26225. type: string
  26226. - description: 商品id
  26227. in: query
  26228. name: goodsid
  26229. type: string
  26230. - description: 资金账号
  26231. in: query
  26232. name: accountid
  26233. type: string
  26234. produces:
  26235. - application/json
  26236. responses:
  26237. "200":
  26238. description: OK
  26239. schema:
  26240. items:
  26241. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  26242. type: array
  26243. "500":
  26244. description: Internal Server Error
  26245. schema:
  26246. $ref: '#/definitions/app.Response'
  26247. security:
  26248. - ApiKeyAuth: []
  26249. summary: 查询今日账户保证金配置
  26250. tags:
  26251. - 天津麦顿
  26252. /Tjmd/QueryTjmdTradeOrderDetail:
  26253. get:
  26254. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  26255. parameters:
  26256. - description: 页码
  26257. in: query
  26258. name: page
  26259. type: integer
  26260. - description: 每页条数
  26261. in: query
  26262. name: pagesize
  26263. type: integer
  26264. - description: 用户id
  26265. in: query
  26266. name: userid
  26267. required: true
  26268. type: integer
  26269. - description: 用户类型
  26270. in: query
  26271. name: usertype
  26272. required: true
  26273. type: integer
  26274. - description: 市场id, 格式 1,2,3
  26275. in: query
  26276. name: marketids
  26277. type: string
  26278. - description: 商品id
  26279. in: query
  26280. name: goodsid
  26281. required: true
  26282. type: integer
  26283. - description: 买卖方向 0-买 1-卖
  26284. in: query
  26285. name: buyorsell
  26286. required: true
  26287. type: integer
  26288. produces:
  26289. - application/json
  26290. responses:
  26291. "200":
  26292. description: OK
  26293. schema:
  26294. items:
  26295. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  26296. type: array
  26297. "500":
  26298. description: Internal Server Error
  26299. schema:
  26300. $ref: '#/definitions/app.Response'
  26301. security:
  26302. - ApiKeyAuth: []
  26303. summary: 查询掉期买卖大厅
  26304. tags:
  26305. - 天津麦顿
  26306. /Tjmd/QueryTjmdTransferApply:
  26307. get:
  26308. parameters:
  26309. - description: 类型 1-我的申请 2-对方申请
  26310. in: query
  26311. name: applytype
  26312. required: true
  26313. type: integer
  26314. - description: 市场id, 格式 1,2,3
  26315. in: query
  26316. name: marketids
  26317. type: string
  26318. - description: 资金账号, 格式 25000000001,25000000003
  26319. in: query
  26320. name: accountids
  26321. type: string
  26322. - description: 开始交易日(yyyymmdd)
  26323. in: query
  26324. name: begindate
  26325. type: string
  26326. - description: 结束交易日(yyyymmdd)
  26327. in: query
  26328. name: enddate
  26329. type: string
  26330. produces:
  26331. - application/json
  26332. responses:
  26333. "200":
  26334. description: OK
  26335. schema:
  26336. items:
  26337. $ref: '#/definitions/models.TjmdTransferApply'
  26338. type: array
  26339. "500":
  26340. description: Internal Server Error
  26341. schema:
  26342. $ref: '#/definitions/app.Response'
  26343. security:
  26344. - ApiKeyAuth: []
  26345. summary: 查询掉期协议单
  26346. tags:
  26347. - 天津麦顿
  26348. /Trade/QueryRecieptOrder:
  26349. get:
  26350. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26351. parameters:
  26352. - description: 页码
  26353. in: query
  26354. name: page
  26355. type: integer
  26356. - description: 每页条数
  26357. in: query
  26358. name: pagesize
  26359. type: integer
  26360. - description: 商品ID
  26361. in: query
  26362. name: goodsID
  26363. required: true
  26364. type: integer
  26365. - description: 所属账户名称
  26366. in: query
  26367. name: accountName
  26368. type: string
  26369. - description: 市场ID
  26370. in: query
  26371. name: marketID
  26372. type: integer
  26373. - description: 方向 - 0:买 1:卖
  26374. in: query
  26375. name: buyorsell
  26376. required: true
  26377. type: integer
  26378. produces:
  26379. - application/json
  26380. responses:
  26381. "200":
  26382. description: OK
  26383. schema:
  26384. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  26385. "500":
  26386. description: Internal Server Error
  26387. schema:
  26388. $ref: '#/definitions/app.Response'
  26389. security:
  26390. - ApiKeyAuth: []
  26391. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  26392. tags:
  26393. - 通用交易
  26394. /User/AddMessageBoard:
  26395. post:
  26396. parameters:
  26397. - description: 用户ID
  26398. in: query
  26399. name: userID
  26400. required: true
  26401. type: integer
  26402. - description: 留言信息
  26403. in: query
  26404. name: message
  26405. required: true
  26406. type: string
  26407. - description: 联系电话
  26408. in: query
  26409. name: contactNum
  26410. required: true
  26411. type: string
  26412. produces:
  26413. - application/json
  26414. responses:
  26415. "200":
  26416. description: OK
  26417. schema:
  26418. $ref: '#/definitions/app.Response'
  26419. "500":
  26420. description: Internal Server Error
  26421. schema:
  26422. $ref: '#/definitions/app.Response'
  26423. security:
  26424. - ApiKeyAuth: []
  26425. summary: 添加用户留言板信息
  26426. tags:
  26427. - 用户信息
  26428. /User/AddUserFavoriteGoods:
  26429. post:
  26430. parameters:
  26431. - description: 用户ID
  26432. in: query
  26433. name: userID
  26434. required: true
  26435. type: integer
  26436. - description: 商品ID
  26437. in: query
  26438. name: goodsID
  26439. required: true
  26440. type: integer
  26441. produces:
  26442. - application/json
  26443. responses:
  26444. "200":
  26445. description: OK
  26446. schema:
  26447. $ref: '#/definitions/app.Response'
  26448. "500":
  26449. description: Internal Server Error
  26450. schema:
  26451. $ref: '#/definitions/app.Response'
  26452. security:
  26453. - ApiKeyAuth: []
  26454. summary: 添加用户商品收藏信息
  26455. tags:
  26456. - 用户信息
  26457. /User/GetLoginID:
  26458. get:
  26459. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  26460. parameters:
  26461. - description: 登录代码
  26462. in: query
  26463. name: username
  26464. required: true
  26465. type: string
  26466. produces:
  26467. - application/json
  26468. responses:
  26469. "200":
  26470. description: OK
  26471. schema:
  26472. $ref: '#/definitions/app.Response'
  26473. "500":
  26474. description: Internal Server Error
  26475. schema:
  26476. $ref: '#/definitions/app.Response'
  26477. summary: 获取登录ID
  26478. tags:
  26479. - 用户信息
  26480. /User/GetUserAccount:
  26481. get:
  26482. parameters:
  26483. - description: 用户ID
  26484. in: query
  26485. name: userID
  26486. required: true
  26487. type: integer
  26488. produces:
  26489. - application/json
  26490. responses:
  26491. "200":
  26492. description: OK
  26493. schema:
  26494. $ref: '#/definitions/models.Useraccount'
  26495. "500":
  26496. description: Internal Server Error
  26497. schema:
  26498. $ref: '#/definitions/app.Response'
  26499. security:
  26500. - ApiKeyAuth: []
  26501. summary: 获取用户账号信息
  26502. tags:
  26503. - 用户信息
  26504. /User/GetUserAuthStatus:
  26505. get:
  26506. parameters:
  26507. - description: 用户ID
  26508. in: query
  26509. name: userID
  26510. required: true
  26511. type: integer
  26512. produces:
  26513. - application/json
  26514. responses:
  26515. "200":
  26516. description: OK
  26517. schema:
  26518. $ref: '#/definitions/app.Response'
  26519. "500":
  26520. description: Internal Server Error
  26521. schema:
  26522. $ref: '#/definitions/app.Response'
  26523. security:
  26524. - ApiKeyAuth: []
  26525. summary: 获取用户实名认证状态
  26526. tags:
  26527. - 用户信息
  26528. /User/LoginQuery:
  26529. get:
  26530. parameters:
  26531. - description: 登录账号
  26532. in: query
  26533. name: loginID
  26534. required: true
  26535. type: integer
  26536. produces:
  26537. - application/json
  26538. responses:
  26539. "200":
  26540. description: OK
  26541. schema:
  26542. $ref: '#/definitions/user.LoginQueryRsp'
  26543. "500":
  26544. description: Internal Server Error
  26545. schema:
  26546. $ref: '#/definitions/app.Response'
  26547. security:
  26548. - ApiKeyAuth: []
  26549. summary: 账户登录后信息查询
  26550. tags:
  26551. - 用户信息
  26552. /User/QueryMessageBoard:
  26553. get:
  26554. parameters:
  26555. - description: 用户ID
  26556. in: query
  26557. name: userID
  26558. required: true
  26559. type: integer
  26560. produces:
  26561. - application/json
  26562. responses:
  26563. "200":
  26564. description: OK
  26565. schema:
  26566. $ref: '#/definitions/models.Messageboard'
  26567. "500":
  26568. description: Internal Server Error
  26569. schema:
  26570. $ref: '#/definitions/app.Response'
  26571. security:
  26572. - ApiKeyAuth: []
  26573. summary: 获取用户留言板信息
  26574. tags:
  26575. - 用户信息
  26576. /User/QueryUserFavoriteGoodses:
  26577. get:
  26578. parameters:
  26579. - description: 用户ID
  26580. in: query
  26581. name: userID
  26582. required: true
  26583. type: integer
  26584. produces:
  26585. - application/json
  26586. responses:
  26587. "200":
  26588. description: OK
  26589. schema:
  26590. $ref: '#/definitions/models.Userfavoritegoods'
  26591. "500":
  26592. description: Internal Server Error
  26593. schema:
  26594. $ref: '#/definitions/app.Response'
  26595. security:
  26596. - ApiKeyAuth: []
  26597. summary: 获取用户商品收藏信息
  26598. tags:
  26599. - 用户信息
  26600. /User/QueryUserInfo:
  26601. get:
  26602. parameters:
  26603. - description: 用户ID
  26604. in: query
  26605. name: userID
  26606. required: true
  26607. type: integer
  26608. - description: 是否解密
  26609. in: query
  26610. name: isDecrypt
  26611. type: boolean
  26612. produces:
  26613. - application/json
  26614. responses:
  26615. "200":
  26616. description: OK
  26617. schema:
  26618. $ref: '#/definitions/models.Userinfo'
  26619. "500":
  26620. description: Internal Server Error
  26621. schema:
  26622. $ref: '#/definitions/app.Response'
  26623. security:
  26624. - ApiKeyAuth: []
  26625. summary: 获取用户信息
  26626. tags:
  26627. - 用户信息
  26628. /User/QueryUserReferNum:
  26629. get:
  26630. parameters:
  26631. - description: 用户ID
  26632. in: query
  26633. name: userID
  26634. required: true
  26635. type: integer
  26636. produces:
  26637. - application/json
  26638. responses:
  26639. "200":
  26640. description: OK
  26641. schema:
  26642. $ref: '#/definitions/app.Response'
  26643. "500":
  26644. description: Internal Server Error
  26645. schema:
  26646. $ref: '#/definitions/app.Response'
  26647. summary: 获取用户邀请码
  26648. tags:
  26649. - 用户信息
  26650. /User/RemoveUserFavoriteGoods:
  26651. post:
  26652. parameters:
  26653. - description: 用户ID
  26654. in: query
  26655. name: userID
  26656. required: true
  26657. type: integer
  26658. - description: 商品ID
  26659. in: query
  26660. name: goodsID
  26661. required: true
  26662. type: integer
  26663. produces:
  26664. - application/json
  26665. responses:
  26666. "200":
  26667. description: OK
  26668. schema:
  26669. $ref: '#/definitions/app.Response'
  26670. "500":
  26671. description: Internal Server Error
  26672. schema:
  26673. $ref: '#/definitions/app.Response'
  26674. security:
  26675. - ApiKeyAuth: []
  26676. summary: 移除用户商品收藏信息
  26677. tags:
  26678. - 用户信息
  26679. /User/UpdateUserAccountStatus:
  26680. post:
  26681. parameters:
  26682. - description: 用户ID
  26683. in: query
  26684. name: userID
  26685. required: true
  26686. type: integer
  26687. - description: 账户状态 - 4:正常 6:注销(停用)
  26688. in: query
  26689. name: accountStatus
  26690. required: true
  26691. type: integer
  26692. produces:
  26693. - application/json
  26694. responses:
  26695. "200":
  26696. description: OK
  26697. schema:
  26698. $ref: '#/definitions/app.Response'
  26699. "500":
  26700. description: Internal Server Error
  26701. schema:
  26702. $ref: '#/definitions/app.Response'
  26703. security:
  26704. - ApiKeyAuth: []
  26705. summary: 更新用户状态
  26706. tags:
  26707. - 用户信息
  26708. /WRTrade/GetAllDeliveryGoods:
  26709. get:
  26710. produces:
  26711. - application/json
  26712. - application/json
  26713. responses:
  26714. "200":
  26715. description: OK
  26716. schema:
  26717. $ref: '#/definitions/app.Response'
  26718. "500":
  26719. description: Internal Server Error
  26720. schema:
  26721. $ref: '#/definitions/app.Response'
  26722. security:
  26723. - ApiKeyAuth: []
  26724. - ApiKeyAuth: []
  26725. summary: 获取带仓单分类的种类信息
  26726. tags:
  26727. - 仓单贸易
  26728. - 仓单贸易
  26729. /WrTrade2/QueryDeliveryGoodsSection:
  26730. get:
  26731. produces:
  26732. - application/json
  26733. responses:
  26734. "200":
  26735. description: OK
  26736. schema:
  26737. items:
  26738. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  26739. type: array
  26740. "500":
  26741. description: Internal Server Error
  26742. schema:
  26743. $ref: '#/definitions/app.Response'
  26744. security:
  26745. - ApiKeyAuth: []
  26746. summary: 查询板块(分类)
  26747. tags:
  26748. - 仓单贸易v2
  26749. /WrTrade2/QueryFaProductDetail:
  26750. get:
  26751. description: 页面 买卖大厅 -> 选择融资方案
  26752. parameters:
  26753. - description: 仓单要素id
  26754. in: query
  26755. name: wrfactortypeid
  26756. required: true
  26757. type: integer
  26758. produces:
  26759. - application/json
  26760. responses:
  26761. "200":
  26762. description: OK
  26763. schema:
  26764. items:
  26765. $ref: '#/definitions/models.WrFAProductDetail'
  26766. type: array
  26767. "500":
  26768. description: Internal Server Error
  26769. schema:
  26770. $ref: '#/definitions/app.Response'
  26771. security:
  26772. - ApiKeyAuth: []
  26773. summary: 查询融资产品列表
  26774. tags:
  26775. - 仓单贸易v2
  26776. /WrTrade2/QueryFilterItem:
  26777. get:
  26778. parameters:
  26779. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  26780. in: query
  26781. name: itype
  26782. required: true
  26783. type: string
  26784. produces:
  26785. - application/json
  26786. responses:
  26787. "200":
  26788. description: OK
  26789. schema:
  26790. items:
  26791. $ref: '#/definitions/models.WrFilterItem'
  26792. type: array
  26793. "500":
  26794. description: Internal Server Error
  26795. schema:
  26796. $ref: '#/definitions/app.Response'
  26797. security:
  26798. - ApiKeyAuth: []
  26799. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  26800. tags:
  26801. - 仓单贸易v2
  26802. /WrTrade2/QueryFtDeliveryGoods:
  26803. get:
  26804. produces:
  26805. - application/json
  26806. responses:
  26807. "200":
  26808. description: OK
  26809. schema:
  26810. items:
  26811. $ref: '#/definitions/models.WrFtDeliveryGoods'
  26812. type: array
  26813. "500":
  26814. description: Internal Server Error
  26815. schema:
  26816. $ref: '#/definitions/app.Response'
  26817. security:
  26818. - ApiKeyAuth: []
  26819. summary: 查询品种品类筛选框列表
  26820. tags:
  26821. - 仓单贸易v2
  26822. /WrTrade2/QueryHoldLB:
  26823. get:
  26824. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  26825. parameters:
  26826. - description: 资金账号
  26827. in: query
  26828. name: accountid
  26829. required: true
  26830. type: integer
  26831. - description: 仓库id
  26832. in: query
  26833. name: warehouseid
  26834. type: integer
  26835. - description: 品种id
  26836. in: query
  26837. name: deliverygoodsid
  26838. type: integer
  26839. - description: 品类id
  26840. in: query
  26841. name: wrstandardid
  26842. type: integer
  26843. - description: 仓单要素id
  26844. in: query
  26845. name: wrfactortypeid
  26846. type: integer
  26847. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26848. in: query
  26849. name: dgitemname
  26850. type: string
  26851. produces:
  26852. - application/json
  26853. responses:
  26854. "200":
  26855. description: OK
  26856. schema:
  26857. items:
  26858. $ref: '#/definitions/models.WrHoldLB'
  26859. type: array
  26860. "500":
  26861. description: Internal Server Error
  26862. schema:
  26863. $ref: '#/definitions/app.Response'
  26864. security:
  26865. - ApiKeyAuth: []
  26866. summary: 查询仓单持有记录
  26867. tags:
  26868. - 仓单贸易v2
  26869. /WrTrade2/QueryOrderQuote:
  26870. get:
  26871. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录
  26872. parameters:
  26873. - description: 页码
  26874. in: query
  26875. name: page
  26876. type: integer
  26877. - description: 每页条数
  26878. in: query
  26879. name: pagesize
  26880. type: integer
  26881. - description: 仓单贸易市场id
  26882. in: query
  26883. name: marketid
  26884. type: integer
  26885. - description: 价格方式 - 1:固定价 2-浮动价
  26886. in: query
  26887. name: wrpricetype
  26888. required: true
  26889. type: integer
  26890. - description: 0:仓单预售 1:仓单贸易
  26891. in: query
  26892. name: haswr
  26893. type: integer
  26894. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26895. in: query
  26896. name: dgitemname
  26897. type: string
  26898. - description: 仓库id(筛选条件)
  26899. in: query
  26900. name: warehouseid
  26901. type: integer
  26902. - description: 品种id
  26903. in: query
  26904. name: deliverygoodsid
  26905. type: integer
  26906. - description: 品类id
  26907. in: query
  26908. name: wrstandardid
  26909. type: integer
  26910. - description: 仓单要素id
  26911. in: query
  26912. name: wrfactortypeid
  26913. type: integer
  26914. - description: 交收月(yyyy-mm) 仓单预售填写
  26915. in: query
  26916. name: deliverymonth
  26917. type: string
  26918. produces:
  26919. - application/json
  26920. responses:
  26921. "200":
  26922. description: OK
  26923. schema:
  26924. items:
  26925. $ref: '#/definitions/models.WrOrderQuote'
  26926. type: array
  26927. "500":
  26928. description: Internal Server Error
  26929. schema:
  26930. $ref: '#/definitions/app.Response'
  26931. security:
  26932. - ApiKeyAuth: []
  26933. summary: 查询大厅行情列表
  26934. tags:
  26935. - 仓单贸易v2
  26936. /WrTrade2/QueryOrderQuoteDetail:
  26937. get:
  26938. parameters:
  26939. - description: 页码
  26940. in: query
  26941. name: page
  26942. type: integer
  26943. - description: 每页条数
  26944. in: query
  26945. name: pagesize
  26946. type: integer
  26947. - description: 仓单贸易市场id
  26948. in: query
  26949. name: marketid
  26950. type: integer
  26951. - description: 价格方式 - 1:固定价 2-浮动价
  26952. in: query
  26953. name: wrpricetype
  26954. required: true
  26955. type: integer
  26956. - description: 0:仓单预售 1:仓单贸易
  26957. in: query
  26958. name: haswr
  26959. type: integer
  26960. - description: 仓单要素id
  26961. in: query
  26962. name: wrfactortypeid
  26963. required: true
  26964. type: integer
  26965. - description: 期货商品id(浮动价方式时填)
  26966. in: query
  26967. name: goodsid
  26968. type: integer
  26969. - description: 买卖方向 0-买 1-卖
  26970. in: query
  26971. name: buyorsell
  26972. required: true
  26973. type: integer
  26974. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  26975. in: query
  26976. name: deliverymonth
  26977. type: string
  26978. produces:
  26979. - application/json
  26980. responses:
  26981. "200":
  26982. description: OK
  26983. schema:
  26984. items:
  26985. $ref: '#/definitions/models.WrOrderQuoteDetail'
  26986. type: array
  26987. "500":
  26988. description: Internal Server Error
  26989. schema:
  26990. $ref: '#/definitions/app.Response'
  26991. security:
  26992. - ApiKeyAuth: []
  26993. summary: 查询买卖大厅
  26994. tags:
  26995. - 仓单贸易v2
  26996. /WrTrade2/QueryOrderQuoteMyq:
  26997. get:
  26998. parameters:
  26999. - description: 页码
  27000. in: query
  27001. name: page
  27002. type: integer
  27003. - description: 每页条数
  27004. in: query
  27005. name: pagesize
  27006. type: integer
  27007. - description: 用户id
  27008. in: query
  27009. name: userid
  27010. required: true
  27011. type: integer
  27012. - description: 仓单贸易市场id
  27013. in: query
  27014. name: marketid
  27015. type: integer
  27016. - description: 0:仓单预售 1:仓单贸易
  27017. in: query
  27018. name: haswr
  27019. type: integer
  27020. - description: 买卖方向 0-买 1-卖
  27021. in: query
  27022. name: buyorsell
  27023. required: true
  27024. type: integer
  27025. - description: 品种id
  27026. in: query
  27027. name: deliverygoodsid
  27028. type: integer
  27029. - description: 品类id
  27030. in: query
  27031. name: wrstandardid
  27032. type: integer
  27033. - description: 交收月(yyyy-mm) 仓单预售填写
  27034. in: query
  27035. name: deliverymonth
  27036. type: string
  27037. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27038. in: query
  27039. name: dgitemname
  27040. type: string
  27041. produces:
  27042. - application/json
  27043. responses:
  27044. "200":
  27045. description: OK
  27046. schema:
  27047. items:
  27048. $ref: '#/definitions/models.WrQuoteOrderMyq'
  27049. type: array
  27050. "500":
  27051. description: Internal Server Error
  27052. schema:
  27053. $ref: '#/definitions/app.Response'
  27054. security:
  27055. - ApiKeyAuth: []
  27056. summary: 查询贸易圈挂牌大厅
  27057. tags:
  27058. - 仓单贸易v2
  27059. /WrTrade2/QueryPerformancePlan:
  27060. get:
  27061. parameters:
  27062. - description: 用户id
  27063. in: query
  27064. name: userid
  27065. required: true
  27066. type: integer
  27067. - description: 买卖方向 0-买 1-卖
  27068. in: query
  27069. name: buyorsell
  27070. required: true
  27071. type: integer
  27072. produces:
  27073. - application/json
  27074. responses:
  27075. "200":
  27076. description: OK
  27077. schema:
  27078. items:
  27079. $ref: '#/definitions/models.WrPerformancePlan'
  27080. type: array
  27081. "500":
  27082. description: Internal Server Error
  27083. schema:
  27084. $ref: '#/definitions/app.Response'
  27085. security:
  27086. - ApiKeyAuth: []
  27087. summary: 查询履约信息
  27088. tags:
  27089. - 仓单贸易v2
  27090. /WrTrade2/QueryPermancePlanTmp:
  27091. get:
  27092. description: 返回指定用户的模板和公共模板(用户id为空)
  27093. parameters:
  27094. - description: 用户id
  27095. in: query
  27096. name: userid
  27097. type: integer
  27098. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  27099. in: query
  27100. name: tmptype
  27101. type: string
  27102. - description: 是否包含公共模板(用户id为空的) 1-包含
  27103. in: query
  27104. name: includepub
  27105. type: integer
  27106. produces:
  27107. - application/json
  27108. responses:
  27109. "200":
  27110. description: OK
  27111. schema:
  27112. items:
  27113. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  27114. type: array
  27115. "500":
  27116. description: Internal Server Error
  27117. schema:
  27118. $ref: '#/definitions/app.Response'
  27119. security:
  27120. - ApiKeyAuth: []
  27121. summary: 查询履约模板
  27122. tags:
  27123. - 仓单贸易v2
  27124. /WrTrade2/QuerySiteColumnDetail:
  27125. get:
  27126. parameters:
  27127. - description: 页码
  27128. in: query
  27129. name: page
  27130. type: integer
  27131. - description: 每页条数
  27132. in: query
  27133. name: pagesize
  27134. type: integer
  27135. produces:
  27136. - application/json
  27137. responses:
  27138. "200":
  27139. description: OK
  27140. schema:
  27141. items:
  27142. $ref: '#/definitions/models.WrSiteColumnDetail'
  27143. type: array
  27144. "500":
  27145. description: Internal Server Error
  27146. schema:
  27147. $ref: '#/definitions/app.Response'
  27148. security:
  27149. - ApiKeyAuth: []
  27150. summary: 查询资讯
  27151. tags:
  27152. - 仓单贸易v2
  27153. /WrTrade2/QuerySpotGroupTradeSum:
  27154. get:
  27155. produces:
  27156. - application/json
  27157. responses:
  27158. "200":
  27159. description: OK
  27160. schema:
  27161. items:
  27162. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  27163. type: array
  27164. "500":
  27165. description: Internal Server Error
  27166. schema:
  27167. $ref: '#/definitions/app.Response'
  27168. security:
  27169. - ApiKeyAuth: []
  27170. summary: 查询指数
  27171. tags:
  27172. - 仓单贸易v2
  27173. /WrTrade2/QuerySpotGroupTradeSumDetail:
  27174. get:
  27175. description: 查询的结果将会按日期 从小到大 排序
  27176. parameters:
  27177. - description: 现货商品id
  27178. in: query
  27179. name: deliverygoodsid
  27180. required: true
  27181. type: integer
  27182. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  27183. in: query
  27184. name: lastnum
  27185. type: integer
  27186. produces:
  27187. - application/json
  27188. responses:
  27189. "200":
  27190. description: OK
  27191. schema:
  27192. items:
  27193. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  27194. type: array
  27195. "500":
  27196. description: Internal Server Error
  27197. schema:
  27198. $ref: '#/definitions/app.Response'
  27199. security:
  27200. - ApiKeyAuth: []
  27201. summary: 查询指数详细(价格走势图)
  27202. tags:
  27203. - 仓单贸易v2
  27204. /WrTrade2/QueryWrAverageTradePrice:
  27205. get:
  27206. parameters:
  27207. - description: 页码
  27208. in: query
  27209. name: page
  27210. type: integer
  27211. - description: 每页条数
  27212. in: query
  27213. name: pagesize
  27214. type: integer
  27215. - description: 0:仓单预售 1:仓单贸易
  27216. in: query
  27217. name: haswr
  27218. required: true
  27219. type: integer
  27220. - description: 仓单要素id
  27221. in: query
  27222. name: wrfactortypeid
  27223. required: true
  27224. type: integer
  27225. produces:
  27226. - application/json
  27227. responses:
  27228. "200":
  27229. description: OK
  27230. schema:
  27231. items:
  27232. $ref: '#/definitions/models.WrAverageTradePrice'
  27233. type: array
  27234. "500":
  27235. description: Internal Server Error
  27236. schema:
  27237. $ref: '#/definitions/app.Response'
  27238. security:
  27239. - ApiKeyAuth: []
  27240. summary: 查询成交价(历史走势)
  27241. tags:
  27242. - 仓单贸易v2
  27243. /WrTrade2/QueryWrBsGoodsInfo:
  27244. get:
  27245. description: 合约交易/买卖大厅/详情
  27246. parameters:
  27247. - description: 商品id
  27248. in: query
  27249. name: goodsid
  27250. required: true
  27251. type: integer
  27252. produces:
  27253. - application/json
  27254. responses:
  27255. "200":
  27256. description: OK
  27257. schema:
  27258. items:
  27259. $ref: '#/definitions/models.WrBsGoodsInfo'
  27260. type: array
  27261. "500":
  27262. description: Internal Server Error
  27263. schema:
  27264. $ref: '#/definitions/app.Response'
  27265. security:
  27266. - ApiKeyAuth: []
  27267. summary: 查询合约交易买卖大厅详情
  27268. tags:
  27269. - 仓单贸易v2
  27270. /WrTrade2/QueryWrBuybackDetail:
  27271. get:
  27272. parameters:
  27273. - description: 融资合同id
  27274. in: query
  27275. name: scfcontractid
  27276. type: integer
  27277. produces:
  27278. - application/json
  27279. responses:
  27280. "200":
  27281. description: OK
  27282. schema:
  27283. items:
  27284. $ref: '#/definitions/models.WrBuybackDetail'
  27285. type: array
  27286. "500":
  27287. description: Internal Server Error
  27288. schema:
  27289. $ref: '#/definitions/app.Response'
  27290. security:
  27291. - ApiKeyAuth: []
  27292. summary: 查询仓单回购明细
  27293. tags:
  27294. - 仓单贸易v2
  27295. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  27296. get:
  27297. parameters:
  27298. - description: 资金账号
  27299. in: query
  27300. name: accountid
  27301. required: true
  27302. type: integer
  27303. - description: 商品id
  27304. in: query
  27305. name: goodsid
  27306. required: true
  27307. type: integer
  27308. produces:
  27309. - application/json
  27310. responses:
  27311. "200":
  27312. description: OK
  27313. schema:
  27314. items:
  27315. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  27316. type: array
  27317. "500":
  27318. description: Internal Server Error
  27319. schema:
  27320. $ref: '#/definitions/app.Response'
  27321. security:
  27322. - ApiKeyAuth: []
  27323. summary: 查询合约交收可点选仓单
  27324. tags:
  27325. - 仓单贸易v2
  27326. /WrTrade2/QueryWrDeliveryDetail:
  27327. get:
  27328. parameters:
  27329. - description: 用户id
  27330. in: query
  27331. name: userid
  27332. required: true
  27333. type: integer
  27334. - description: 资金账号id
  27335. in: query
  27336. name: accountid
  27337. type: integer
  27338. - description: 开始交易日(yyyymmdd)
  27339. in: query
  27340. name: begindate
  27341. type: string
  27342. - description: 结束交易日(yyyymmdd)
  27343. in: query
  27344. name: enddate
  27345. type: string
  27346. produces:
  27347. - application/json
  27348. responses:
  27349. "200":
  27350. description: OK
  27351. schema:
  27352. items:
  27353. $ref: '#/definitions/models.WrDeliveryDetail'
  27354. type: array
  27355. "500":
  27356. description: Internal Server Error
  27357. schema:
  27358. $ref: '#/definitions/app.Response'
  27359. security:
  27360. - ApiKeyAuth: []
  27361. summary: 查询交收
  27362. tags:
  27363. - 仓单贸易v2
  27364. /WrTrade2/QueryWrFactorTypeInfo:
  27365. get:
  27366. parameters:
  27367. - description: 仓单要素id
  27368. in: query
  27369. name: wrfactortypeid
  27370. required: true
  27371. type: integer
  27372. produces:
  27373. - application/json
  27374. responses:
  27375. "200":
  27376. description: OK
  27377. schema:
  27378. items:
  27379. $ref: '#/definitions/models.WrFactorTypeInfo'
  27380. type: array
  27381. "500":
  27382. description: Internal Server Error
  27383. schema:
  27384. $ref: '#/definitions/app.Response'
  27385. security:
  27386. - ApiKeyAuth: []
  27387. summary: 查询仓单要素详细信息
  27388. tags:
  27389. - 仓单贸易v2
  27390. /WrTrade2/QueryWrFactorTypeInfoEx:
  27391. get:
  27392. parameters:
  27393. - description: 仓单要素id
  27394. in: query
  27395. name: wrfactortypeid
  27396. required: true
  27397. type: integer
  27398. produces:
  27399. - application/json
  27400. responses:
  27401. "200":
  27402. description: OK
  27403. schema:
  27404. items:
  27405. $ref: '#/definitions/models.WrTypeItem'
  27406. type: array
  27407. "500":
  27408. description: Internal Server Error
  27409. schema:
  27410. $ref: '#/definitions/app.Response'
  27411. security:
  27412. - ApiKeyAuth: []
  27413. summary: 查询仓单要素详细信息列表项
  27414. tags:
  27415. - 仓单贸易v2
  27416. /WrTrade2/QueryWrFinanceBuyApply:
  27417. get:
  27418. description: 页面 融资信息+ / 申请单
  27419. parameters:
  27420. - description: 用户id
  27421. in: query
  27422. name: userid
  27423. required: true
  27424. type: integer
  27425. produces:
  27426. - application/json
  27427. responses:
  27428. "200":
  27429. description: OK
  27430. schema:
  27431. items:
  27432. $ref: '#/definitions/models.WrFinanceBuyApply'
  27433. type: array
  27434. "500":
  27435. description: Internal Server Error
  27436. schema:
  27437. $ref: '#/definitions/app.Response'
  27438. security:
  27439. - ApiKeyAuth: []
  27440. summary: 查询融资购买申请
  27441. tags:
  27442. - 仓单贸易v2
  27443. /WrTrade2/QueryWrFriendApply:
  27444. get:
  27445. parameters:
  27446. - description: 用户id
  27447. in: query
  27448. name: userid
  27449. required: true
  27450. type: integer
  27451. produces:
  27452. - application/json
  27453. responses:
  27454. "200":
  27455. description: OK
  27456. schema:
  27457. items:
  27458. $ref: '#/definitions/models.WrFriendApply'
  27459. type: array
  27460. "500":
  27461. description: Internal Server Error
  27462. schema:
  27463. $ref: '#/definitions/app.Response'
  27464. security:
  27465. - ApiKeyAuth: []
  27466. summary: 查询好友申请记录
  27467. tags:
  27468. - 仓单贸易v2
  27469. /WrTrade2/QueryWrGoodsInfo:
  27470. get:
  27471. parameters:
  27472. - description: 仓单贸易市场id
  27473. in: query
  27474. name: marketid
  27475. type: integer
  27476. - description: 0:仓单预售 1:仓单贸易
  27477. in: query
  27478. name: haswr
  27479. required: true
  27480. type: integer
  27481. - description: 仓单要素id
  27482. in: query
  27483. name: wrfactortypeid
  27484. required: true
  27485. type: integer
  27486. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  27487. in: query
  27488. name: tmplateid
  27489. type: integer
  27490. produces:
  27491. - application/json
  27492. responses:
  27493. "200":
  27494. description: OK
  27495. schema:
  27496. items:
  27497. $ref: '#/definitions/models.WrGoodsInfo'
  27498. type: array
  27499. "500":
  27500. description: Internal Server Error
  27501. schema:
  27502. $ref: '#/definitions/app.Response'
  27503. security:
  27504. - ApiKeyAuth: []
  27505. summary: 查询仓单商品信息
  27506. tags:
  27507. - 仓单贸易v2
  27508. /WrTrade2/QueryWrMarketTradeConfig:
  27509. get:
  27510. parameters:
  27511. - description: 市场id
  27512. in: query
  27513. name: marketid
  27514. type: integer
  27515. produces:
  27516. - application/json
  27517. responses:
  27518. "200":
  27519. description: OK
  27520. schema:
  27521. items:
  27522. $ref: '#/definitions/models.WrMarketTradeConfig'
  27523. type: array
  27524. "500":
  27525. description: Internal Server Error
  27526. schema:
  27527. $ref: '#/definitions/app.Response'
  27528. security:
  27529. - ApiKeyAuth: []
  27530. summary: 查询市场交易参数配置
  27531. tags:
  27532. - 仓单贸易v2
  27533. /WrTrade2/QueryWrOrderDetail:
  27534. get:
  27535. description: 页面 现货仓单 | 预售仓单 -> 挂单
  27536. parameters:
  27537. - description: 页码
  27538. in: query
  27539. name: page
  27540. type: integer
  27541. - description: 每页条数
  27542. in: query
  27543. name: pagesize
  27544. type: integer
  27545. - description: 用户id
  27546. in: query
  27547. name: userid
  27548. required: true
  27549. type: integer
  27550. - description: 仓单贸易市场id
  27551. in: query
  27552. name: marketid
  27553. type: integer
  27554. - description: 0:仓单预售 1:仓单贸易
  27555. in: query
  27556. name: haswr
  27557. required: true
  27558. type: integer
  27559. - description: 开始交易日(yyyymmdd)
  27560. in: query
  27561. name: begindate
  27562. type: string
  27563. - description: 结束交易日(yyyymmdd)
  27564. in: query
  27565. name: enddate
  27566. type: string
  27567. produces:
  27568. - application/json
  27569. responses:
  27570. "200":
  27571. description: OK
  27572. schema:
  27573. items:
  27574. $ref: '#/definitions/models.WrOrderDetail'
  27575. type: array
  27576. "500":
  27577. description: Internal Server Error
  27578. schema:
  27579. $ref: '#/definitions/app.Response'
  27580. security:
  27581. - ApiKeyAuth: []
  27582. summary: 查询仓单委托单(挂单)
  27583. tags:
  27584. - 仓单贸易v2
  27585. /WrTrade2/QueryWrOutInApply:
  27586. get:
  27587. parameters:
  27588. - description: 用户id
  27589. in: query
  27590. name: userid
  27591. required: true
  27592. type: integer
  27593. - description: 开始交易日(yyyymmdd)
  27594. in: query
  27595. name: begindate
  27596. type: string
  27597. - description: 结束交易日(yyyymmdd)
  27598. in: query
  27599. name: enddate
  27600. type: string
  27601. produces:
  27602. - application/json
  27603. responses:
  27604. "200":
  27605. description: OK
  27606. schema:
  27607. items:
  27608. $ref: '#/definitions/models.WrOutInApply'
  27609. type: array
  27610. "500":
  27611. description: Internal Server Error
  27612. schema:
  27613. $ref: '#/definitions/app.Response'
  27614. security:
  27615. - ApiKeyAuth: []
  27616. summary: 查询提货申请
  27617. tags:
  27618. - 仓单贸易v2
  27619. /WrTrade2/QueryWrPerformancePlanStep:
  27620. get:
  27621. parameters:
  27622. - description: 履约计划id(performanceplanid)
  27623. in: query
  27624. name: planid
  27625. required: true
  27626. type: integer
  27627. - description: 当前步骤id
  27628. in: query
  27629. name: curstepid
  27630. type: integer
  27631. produces:
  27632. - application/json
  27633. responses:
  27634. "200":
  27635. description: OK
  27636. schema:
  27637. items:
  27638. $ref: '#/definitions/models.WrPerformancePlanStep'
  27639. type: array
  27640. "500":
  27641. description: Internal Server Error
  27642. schema:
  27643. $ref: '#/definitions/app.Response'
  27644. security:
  27645. - ApiKeyAuth: []
  27646. summary: 查询履约信息详情
  27647. tags:
  27648. - 仓单贸易v2
  27649. /WrTrade2/QueryWrPerformanceStepType:
  27650. get:
  27651. produces:
  27652. - application/json
  27653. responses:
  27654. "200":
  27655. description: OK
  27656. schema:
  27657. items:
  27658. $ref: '#/definitions/models.WrPerformanceStepType'
  27659. type: array
  27660. "500":
  27661. description: Internal Server Error
  27662. schema:
  27663. $ref: '#/definitions/app.Response'
  27664. security:
  27665. - ApiKeyAuth: []
  27666. summary: 查询履约步骤枚举
  27667. tags:
  27668. - 仓单贸易v2
  27669. /WrTrade2/QueryWrPosition:
  27670. get:
  27671. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  27672. parameters:
  27673. - description: 用户id
  27674. in: query
  27675. name: userid
  27676. required: true
  27677. type: integer
  27678. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  27679. in: query
  27680. name: querytype
  27681. required: true
  27682. type: integer
  27683. - description: 0:仓单预售 1:仓单贸易
  27684. in: query
  27685. name: haswr
  27686. required: true
  27687. type: integer
  27688. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27689. in: query
  27690. name: dgitemname
  27691. type: string
  27692. - description: 仓库id(筛选条件)
  27693. in: query
  27694. name: warehouseid
  27695. type: integer
  27696. - description: 品种id
  27697. in: query
  27698. name: deliverygoodsid
  27699. type: integer
  27700. - description: 品类id
  27701. in: query
  27702. name: wrstandardid
  27703. type: integer
  27704. produces:
  27705. - application/json
  27706. responses:
  27707. "200":
  27708. description: OK
  27709. schema:
  27710. items:
  27711. $ref: '#/definitions/models.WrPosition'
  27712. type: array
  27713. "500":
  27714. description: Internal Server Error
  27715. schema:
  27716. $ref: '#/definitions/app.Response'
  27717. security:
  27718. - ApiKeyAuth: []
  27719. summary: 查询现货(预售)仓单持仓
  27720. tags:
  27721. - 仓单贸易v2
  27722. /WrTrade2/QueryWrScfContract:
  27723. get:
  27724. parameters:
  27725. - description: 用户id
  27726. in: query
  27727. name: userid
  27728. required: true
  27729. type: integer
  27730. - description: 融资合同id
  27731. in: query
  27732. name: scfcontractid
  27733. type: integer
  27734. produces:
  27735. - application/json
  27736. responses:
  27737. "200":
  27738. description: OK
  27739. schema:
  27740. items:
  27741. $ref: '#/definitions/models.WrScfContract'
  27742. type: array
  27743. "500":
  27744. description: Internal Server Error
  27745. schema:
  27746. $ref: '#/definitions/app.Response'
  27747. security:
  27748. - ApiKeyAuth: []
  27749. summary: 查询仓单贸易融资合同
  27750. tags:
  27751. - 仓单贸易v2
  27752. /WrTrade2/QueryWrScfContractInterest:
  27753. get:
  27754. parameters:
  27755. - description: 融资合同id
  27756. in: query
  27757. name: scfcontractid
  27758. type: integer
  27759. produces:
  27760. - application/json
  27761. responses:
  27762. "200":
  27763. description: OK
  27764. schema:
  27765. items:
  27766. $ref: '#/definitions/models.WrScfContractInterest'
  27767. type: array
  27768. "500":
  27769. description: Internal Server Error
  27770. schema:
  27771. $ref: '#/definitions/app.Response'
  27772. security:
  27773. - ApiKeyAuth: []
  27774. summary: 查询融资合同费用明细
  27775. tags:
  27776. - 仓单贸易v2
  27777. /WrTrade2/QueryWrSpecialMatchOrder:
  27778. get:
  27779. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  27780. parameters:
  27781. - description: 页码
  27782. in: query
  27783. name: page
  27784. type: integer
  27785. - description: 每页条数
  27786. in: query
  27787. name: pagesize
  27788. type: integer
  27789. - description: 用户id
  27790. in: query
  27791. name: userid
  27792. required: true
  27793. type: integer
  27794. - description: 仓单贸易市场id
  27795. in: query
  27796. name: marketid
  27797. type: integer
  27798. - description: 0:仓单预售 1:仓单贸易
  27799. in: query
  27800. name: haswr
  27801. required: true
  27802. type: integer
  27803. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  27804. in: query
  27805. name: isspecified
  27806. type: integer
  27807. produces:
  27808. - application/json
  27809. responses:
  27810. "200":
  27811. description: OK
  27812. schema:
  27813. items:
  27814. $ref: '#/definitions/models.WrSpecialMatchOrder'
  27815. type: array
  27816. "500":
  27817. description: Internal Server Error
  27818. schema:
  27819. $ref: '#/definitions/app.Response'
  27820. security:
  27821. - ApiKeyAuth: []
  27822. summary: 查询指定成交
  27823. tags:
  27824. - 仓单贸易v2
  27825. /WrTrade2/QueryWrStandardFactoryItem:
  27826. get:
  27827. parameters:
  27828. - description: 品类id
  27829. in: query
  27830. name: wrstandardid
  27831. required: true
  27832. type: integer
  27833. produces:
  27834. - application/json
  27835. responses:
  27836. "200":
  27837. description: OK
  27838. schema:
  27839. items:
  27840. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  27841. type: array
  27842. "500":
  27843. description: Internal Server Error
  27844. schema:
  27845. $ref: '#/definitions/app.Response'
  27846. security:
  27847. - ApiKeyAuth: []
  27848. summary: 查询品类要素定义项
  27849. tags:
  27850. - 仓单贸易v2
  27851. /WrTrade2/QueryWrTradeBargainApply:
  27852. get:
  27853. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面 议价->对方议价 填写matchuserid=登录用户id
  27854. parameters:
  27855. - description: 议价人id(摘牌方)
  27856. in: query
  27857. name: userid
  27858. type: integer
  27859. - description: 挂牌方id(查对方议价时,填写此项)
  27860. in: query
  27861. name: matchuserid
  27862. type: integer
  27863. - description: 关联委托单id
  27864. in: query
  27865. name: wrtradeorderid
  27866. type: integer
  27867. - description: 0:仓单预售 1:仓单贸易
  27868. in: query
  27869. name: haswr
  27870. required: true
  27871. type: integer
  27872. - description: 开始交易日(yyyymmdd)
  27873. in: query
  27874. name: begindate
  27875. type: string
  27876. - description: 结束交易日(yyyymmdd)
  27877. in: query
  27878. name: enddate
  27879. type: string
  27880. produces:
  27881. - application/json
  27882. responses:
  27883. "200":
  27884. description: OK
  27885. schema:
  27886. items:
  27887. $ref: '#/definitions/models.WRTradeBargainApply'
  27888. type: array
  27889. "500":
  27890. description: Internal Server Error
  27891. schema:
  27892. $ref: '#/definitions/app.Response'
  27893. security:
  27894. - ApiKeyAuth: []
  27895. summary: 查询议价单
  27896. tags:
  27897. - 仓单贸易v2
  27898. /WrTrade2/QueryWrTradeDetail:
  27899. get:
  27900. parameters:
  27901. - description: 页码
  27902. in: query
  27903. name: page
  27904. type: integer
  27905. - description: 每页条数
  27906. in: query
  27907. name: pagesize
  27908. type: integer
  27909. - description: 用户id
  27910. in: query
  27911. name: userid
  27912. required: true
  27913. type: integer
  27914. - description: 仓单贸易市场id
  27915. in: query
  27916. name: marketid
  27917. type: integer
  27918. - description: 0:仓单预售 1:仓单贸易
  27919. in: query
  27920. name: haswr
  27921. required: true
  27922. type: integer
  27923. - description: 开始交易日(yyyymmdd)
  27924. in: query
  27925. name: begindate
  27926. type: string
  27927. - description: 结束交易日(yyyymmdd)
  27928. in: query
  27929. name: enddate
  27930. type: string
  27931. produces:
  27932. - application/json
  27933. responses:
  27934. "200":
  27935. description: OK
  27936. schema:
  27937. items:
  27938. $ref: '#/definitions/models.WrTradeDetail'
  27939. type: array
  27940. "500":
  27941. description: Internal Server Error
  27942. schema:
  27943. $ref: '#/definitions/app.Response'
  27944. security:
  27945. - ApiKeyAuth: []
  27946. summary: 查询仓单成交明细
  27947. tags:
  27948. - 仓单贸易v2
  27949. /WrTrade2/QueryWrTradeOrderDetail:
  27950. get:
  27951. parameters:
  27952. - description: 页码
  27953. in: query
  27954. name: page
  27955. type: integer
  27956. - description: 每页条数
  27957. in: query
  27958. name: pagesize
  27959. type: integer
  27960. - description: 商品id
  27961. in: query
  27962. name: goodsid
  27963. required: true
  27964. type: integer
  27965. - description: 买卖方向 0-买 1-卖
  27966. in: query
  27967. name: buyorsell
  27968. required: true
  27969. type: integer
  27970. produces:
  27971. - application/json
  27972. responses:
  27973. "200":
  27974. description: OK
  27975. schema:
  27976. items:
  27977. $ref: '#/definitions/models.WrTradeOrderDetail'
  27978. type: array
  27979. "500":
  27980. description: Internal Server Error
  27981. schema:
  27982. $ref: '#/definitions/app.Response'
  27983. security:
  27984. - ApiKeyAuth: []
  27985. summary: 查询合约交易买卖大厅
  27986. tags:
  27987. - 仓单贸易v2
  27988. /WrTrade2/QueryWrUserFriend:
  27989. get:
  27990. parameters:
  27991. - description: 用户id
  27992. in: query
  27993. name: userid
  27994. required: true
  27995. type: integer
  27996. - description: 新朋友userid, 如果填写了此项则查找新朋友
  27997. in: query
  27998. name: newuserid
  27999. type: integer
  28000. produces:
  28001. - application/json
  28002. responses:
  28003. "200":
  28004. description: OK
  28005. schema:
  28006. items:
  28007. $ref: '#/definitions/models.WrUserFriend'
  28008. type: array
  28009. "500":
  28010. description: Internal Server Error
  28011. schema:
  28012. $ref: '#/definitions/app.Response'
  28013. security:
  28014. - ApiKeyAuth: []
  28015. summary: 查询我的朋友
  28016. tags:
  28017. - 仓单贸易v2
  28018. /WrTrade2/QueryWrUserReceiptInfo:
  28019. get:
  28020. parameters:
  28021. - description: 用户id
  28022. in: query
  28023. name: userid
  28024. type: integer
  28025. - description: 发票类型 - 1:个人 2:企业
  28026. in: query
  28027. name: receipttype
  28028. type: integer
  28029. produces:
  28030. - application/json
  28031. responses:
  28032. "200":
  28033. description: OK
  28034. schema:
  28035. items:
  28036. $ref: '#/definitions/models.WrUserReceiptInfo'
  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. /ZJ/GetBankTip:
  28048. get:
  28049. produces:
  28050. - application/json
  28051. responses:
  28052. "200":
  28053. description: OK
  28054. schema:
  28055. type: string
  28056. "500":
  28057. description: Internal Server Error
  28058. schema:
  28059. $ref: '#/definitions/app.Response'
  28060. summary: 获取中江网银端出入金提示信息
  28061. tags:
  28062. - 中江
  28063. /ZJ/GetCusBankChannels:
  28064. get:
  28065. produces:
  28066. - application/json
  28067. responses:
  28068. "200":
  28069. description: OK
  28070. schema:
  28071. items:
  28072. type: string
  28073. type: array
  28074. "500":
  28075. description: Internal Server Error
  28076. schema:
  28077. $ref: '#/definitions/app.Response'
  28078. summary: 获取中江出入金渠道显示列表
  28079. tags:
  28080. - 中江
  28081. securityDefinitions:
  28082. ApiKeyAuth:
  28083. in: header
  28084. name: Authorization
  28085. type: apiKey
  28086. swagger: "2.0"