swagger.yaml 763 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505
  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. requireauth:
  81. description: 是否需要权限判断
  82. type: boolean
  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. requireauth:
  108. description: 是否需要权限判断
  109. type: boolean
  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. audittime:
  1294. description: 审核时间
  1295. type: string
  1296. buyusername:
  1297. description: 采购方名称
  1298. type: string
  1299. contractno:
  1300. description: 合同编号
  1301. type: string
  1302. contractstatus:
  1303. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1304. type: integer
  1305. contracttype:
  1306. description: 现货合同类型 - 1:采购 -1:销售
  1307. type: integer
  1308. deliverygoodscode:
  1309. description: 现货品种代码
  1310. type: string
  1311. deliverygoodsid:
  1312. description: 现货商品ID
  1313. type: integer
  1314. deliverygoodsname:
  1315. description: 现货品种名称
  1316. type: string
  1317. enumdicname:
  1318. description: 单位名称
  1319. type: string
  1320. goodscode:
  1321. description: 点价合约
  1322. type: string
  1323. goodsname:
  1324. description: 商品名称
  1325. type: string
  1326. operateapplyid:
  1327. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1328. type: string
  1329. operateapplytype:
  1330. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1331. type: integer
  1332. pricedPrice:
  1333. description: 点价价格(非必填)
  1334. type: number
  1335. pricedQty:
  1336. description: 点价数量(非必填)
  1337. type: number
  1338. pricemove:
  1339. description: 升贴水
  1340. type: number
  1341. pricetype:
  1342. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1343. type: integer
  1344. relatedid:
  1345. description: 现货合同ID
  1346. type: string
  1347. sellusername:
  1348. description: 销售方名字
  1349. type: string
  1350. userid:
  1351. description: 用户ID
  1352. type: integer
  1353. wrstandardcode:
  1354. description: 品类代码
  1355. type: string
  1356. wrstandardid:
  1357. description: 品类id
  1358. type: integer
  1359. wrstandardname:
  1360. description: 品类名称
  1361. type: string
  1362. type: object
  1363. ermcp.QryBussinessFpRsp:
  1364. properties:
  1365. applyid:
  1366. description: 申请人
  1367. type: string
  1368. applyname:
  1369. description: 申请人名称
  1370. type: string
  1371. applystatus:
  1372. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1373. type: integer
  1374. applytime:
  1375. description: 申请时间
  1376. type: string
  1377. attachurl:
  1378. description: 附件
  1379. type: string
  1380. auditid:
  1381. description: 审核人ID
  1382. type: string
  1383. auditname:
  1384. description: 审核人名称
  1385. type: string
  1386. audittime:
  1387. description: 审核时间
  1388. type: string
  1389. buyusername:
  1390. description: 采购方名称
  1391. type: string
  1392. contractno:
  1393. description: 合同编号
  1394. type: string
  1395. contractstatus:
  1396. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1397. type: integer
  1398. contracttype:
  1399. description: 现货合同类型 - 1:采购 -1:销售
  1400. type: integer
  1401. deliverygoodscode:
  1402. description: 现货品种代码
  1403. type: string
  1404. deliverygoodsid:
  1405. description: 现货商品ID
  1406. type: integer
  1407. deliverygoodsname:
  1408. description: 现货品种名称
  1409. type: string
  1410. enumdicname:
  1411. description: 单位名称
  1412. type: string
  1413. goodscode:
  1414. description: 点价合约
  1415. type: string
  1416. goodsname:
  1417. description: 商品名称
  1418. type: string
  1419. invoiceAmount:
  1420. description: 已开收票金额(销售为开票,采购为收票)
  1421. type: number
  1422. operateapplyid:
  1423. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1424. type: string
  1425. operateapplytype:
  1426. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1427. type: integer
  1428. pricemove:
  1429. description: 升贴水
  1430. type: number
  1431. pricetype:
  1432. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1433. type: integer
  1434. relatedid:
  1435. description: 现货合同ID
  1436. type: string
  1437. sellusername:
  1438. description: 销售方名字
  1439. type: string
  1440. userid:
  1441. description: 用户ID
  1442. type: integer
  1443. wrstandardcode:
  1444. description: 品类代码
  1445. type: string
  1446. wrstandardid:
  1447. description: 品类id
  1448. type: integer
  1449. wrstandardname:
  1450. description: 品类名称
  1451. type: string
  1452. type: object
  1453. ermcp.QryBussinessJsExRsp:
  1454. properties:
  1455. applyid:
  1456. description: 申请人
  1457. type: string
  1458. applyname:
  1459. description: 申请人名称
  1460. type: string
  1461. applystatus:
  1462. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1463. type: integer
  1464. applytime:
  1465. description: 申请时间
  1466. type: string
  1467. attachurl:
  1468. description: 附件
  1469. type: string
  1470. auditid:
  1471. description: 审核人ID
  1472. type: string
  1473. auditname:
  1474. description: 审核人名称
  1475. type: string
  1476. audittime:
  1477. description: 审核时间
  1478. type: string
  1479. buyusername:
  1480. description: 采购方名称
  1481. type: string
  1482. contractno:
  1483. description: 合同编号
  1484. type: string
  1485. contractstatus:
  1486. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1487. type: integer
  1488. contracttype:
  1489. description: 现货合同类型 - 1:采购 -1:销售
  1490. type: integer
  1491. deliverygoodscode:
  1492. description: 现货品种代码
  1493. type: string
  1494. deliverygoodsid:
  1495. description: 现货商品ID
  1496. type: integer
  1497. deliverygoodsname:
  1498. description: 现货品种名称
  1499. type: string
  1500. enumdicname:
  1501. description: 单位名称
  1502. type: string
  1503. goodscode:
  1504. description: 点价合约
  1505. type: string
  1506. goodsname:
  1507. description: 商品名称
  1508. type: string
  1509. operateapplyid:
  1510. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1511. type: string
  1512. operateapplytype:
  1513. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1514. type: integer
  1515. pricemove:
  1516. description: 升贴水
  1517. type: number
  1518. pricetype:
  1519. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1520. type: integer
  1521. reckontype:
  1522. description: 结算类型
  1523. type: string
  1524. reckonvalue:
  1525. description: 值
  1526. type: number
  1527. relatedid:
  1528. description: 现货合同ID
  1529. type: string
  1530. sellusername:
  1531. description: 销售方名字
  1532. type: string
  1533. userid:
  1534. description: 用户ID
  1535. type: integer
  1536. wrstandardcode:
  1537. description: 品类代码
  1538. type: string
  1539. wrstandardid:
  1540. description: 品类id
  1541. type: integer
  1542. wrstandardname:
  1543. description: 品类名称
  1544. type: string
  1545. type: object
  1546. ermcp.QryBussinessJsRsp:
  1547. properties:
  1548. addmargin:
  1549. description: 追加保证金(非必填)
  1550. type: number
  1551. applyid:
  1552. description: 申请人
  1553. type: string
  1554. applyname:
  1555. description: 申请人名称
  1556. type: string
  1557. applystatus:
  1558. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1559. type: integer
  1560. applytime:
  1561. description: 申请时间
  1562. type: string
  1563. attachurl:
  1564. description: 附件
  1565. type: string
  1566. auditid:
  1567. description: 审核人ID
  1568. type: string
  1569. auditname:
  1570. description: 审核人名称
  1571. type: string
  1572. audittime:
  1573. description: 审核时间
  1574. type: string
  1575. buyusername:
  1576. description: 采购方名称
  1577. type: string
  1578. contractno:
  1579. description: 合同编号
  1580. type: string
  1581. contractstatus:
  1582. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1583. type: integer
  1584. contracttype:
  1585. description: 现货合同类型 - 1:采购 -1:销售
  1586. type: integer
  1587. decmargin:
  1588. description: 减少保证金(非必填)
  1589. type: number
  1590. deliverygoodscode:
  1591. description: 现货品种代码
  1592. type: string
  1593. deliverygoodsid:
  1594. description: 现货商品ID
  1595. type: integer
  1596. deliverygoodsname:
  1597. description: 现货品种名称
  1598. type: string
  1599. enumdicname:
  1600. description: 单位名称
  1601. type: string
  1602. goodscode:
  1603. description: 点价合约
  1604. type: string
  1605. goodsname:
  1606. description: 商品名称
  1607. type: string
  1608. operateapplyid:
  1609. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1610. type: string
  1611. operateapplytype:
  1612. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1613. type: integer
  1614. pricemove:
  1615. description: 升贴水
  1616. type: number
  1617. pricetype:
  1618. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1619. type: integer
  1620. reckonadjustamount:
  1621. description: 结算调整金额(非必填)
  1622. type: number
  1623. reckonosamount:
  1624. description: 结算溢短金额(非必填)
  1625. type: number
  1626. reckonotheramount:
  1627. description: 结算其他费用(非必填)
  1628. type: number
  1629. reckonrealqty:
  1630. description: 结算实际数量(非必填)
  1631. type: number
  1632. relatedid:
  1633. description: 现货合同ID
  1634. type: string
  1635. sellusername:
  1636. description: 销售方名字
  1637. type: string
  1638. userid:
  1639. description: 用户ID
  1640. type: integer
  1641. wrstandardcode:
  1642. description: 品类代码
  1643. type: string
  1644. wrstandardid:
  1645. description: 品类id
  1646. type: integer
  1647. wrstandardname:
  1648. description: 品类名称
  1649. type: string
  1650. type: object
  1651. ermcp.QryBussinessKxRsp:
  1652. properties:
  1653. applyid:
  1654. description: 申请人
  1655. type: string
  1656. applyname:
  1657. description: 申请人名称
  1658. type: string
  1659. applystatus:
  1660. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1661. type: integer
  1662. applytime:
  1663. description: 申请时间
  1664. type: string
  1665. attachurl:
  1666. description: 附件
  1667. type: string
  1668. auditid:
  1669. description: 审核人ID
  1670. type: string
  1671. auditname:
  1672. description: 审核人名称
  1673. type: string
  1674. audittime:
  1675. description: 审核时间
  1676. type: string
  1677. buyusername:
  1678. description: 采购方名称
  1679. type: string
  1680. contractno:
  1681. description: 合同编号
  1682. type: string
  1683. contractstatus:
  1684. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1685. type: integer
  1686. contracttype:
  1687. description: 现货合同类型 - 1:采购 -1:销售
  1688. type: integer
  1689. deductamount:
  1690. description: 退款(非必填)
  1691. type: number
  1692. deliverygoodscode:
  1693. description: 现货品种代码
  1694. type: string
  1695. deliverygoodsid:
  1696. description: 现货商品ID
  1697. type: integer
  1698. deliverygoodsname:
  1699. description: 现货品种名称
  1700. type: string
  1701. enumdicname:
  1702. description: 单位名称
  1703. type: string
  1704. goodscode:
  1705. description: 点价合约
  1706. type: string
  1707. goodsname:
  1708. description: 商品名称
  1709. type: string
  1710. kxtype:
  1711. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1712. type: integer
  1713. operateapplyid:
  1714. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1715. type: string
  1716. operateapplytype:
  1717. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1718. type: integer
  1719. payamount:
  1720. description: 收付款(非必填)
  1721. type: number
  1722. pricemove:
  1723. description: 升贴水
  1724. type: number
  1725. pricetype:
  1726. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1727. type: integer
  1728. relatedid:
  1729. description: 现货合同ID
  1730. type: string
  1731. sellusername:
  1732. description: 销售方名字
  1733. type: string
  1734. userid:
  1735. description: 用户ID
  1736. type: integer
  1737. wrstandardcode:
  1738. description: 品类代码
  1739. type: string
  1740. wrstandardid:
  1741. description: 品类id
  1742. type: integer
  1743. wrstandardname:
  1744. description: 品类名称
  1745. type: string
  1746. type: object
  1747. ermcp.QryGGCovertCfgRsp:
  1748. properties:
  1749. convertratio:
  1750. description: 折算系数
  1751. type: number
  1752. destgoodsgroupid:
  1753. description: 目标品种ID
  1754. type: integer
  1755. dstcode:
  1756. description: 目录品种代码
  1757. type: string
  1758. dstexchangecode:
  1759. description: 目标期货交易所
  1760. type: string
  1761. dstname:
  1762. description: 目标品种名称
  1763. type: string
  1764. dstunitid:
  1765. description: 目标品种单位ID
  1766. type: integer
  1767. dstunitidname:
  1768. description: 目标品种单位名称
  1769. type: string
  1770. modifytime:
  1771. description: 修改时间
  1772. type: string
  1773. srccode:
  1774. description: 源品种代码
  1775. type: string
  1776. srcexchangecode:
  1777. description: 源期货交易所
  1778. type: string
  1779. srcgoodsgroupid:
  1780. description: 源品种ID
  1781. type: integer
  1782. srcname:
  1783. description: 源品种名称
  1784. type: string
  1785. srcunitid:
  1786. description: 源品种单位ID
  1787. type: integer
  1788. srcunitidname:
  1789. description: 源品种单位名称
  1790. type: string
  1791. type: object
  1792. ermcp.QryMGChangeLogRsp:
  1793. properties:
  1794. aftervalue:
  1795. description: 变更后
  1796. type: number
  1797. applyid:
  1798. description: 操作人
  1799. type: integer
  1800. applyname:
  1801. description: 操作人名称
  1802. type: string
  1803. applysrc:
  1804. description: 操作来源 - 1:管理端 2:终端
  1805. type: integer
  1806. beforevalue:
  1807. description: 变更前
  1808. type: number
  1809. changelogtype:
  1810. description: 变更流水类型 - 1:套保比率变更
  1811. type: integer
  1812. handlestatus:
  1813. description: 处理状态
  1814. type: integer
  1815. logdatetime:
  1816. description: 流水日期
  1817. type: string
  1818. logid:
  1819. description: 流水ID
  1820. type: integer
  1821. logremark:
  1822. description: 流水备注
  1823. type: string
  1824. middlegoodsid:
  1825. description: 套保品种ID
  1826. type: integer
  1827. tradedate:
  1828. description: 交易日(yyyyMMdd)
  1829. type: string
  1830. updatetime:
  1831. description: 更新时间
  1832. type: string
  1833. type: object
  1834. ermcp.QryMiddleGoodsDetailRsp:
  1835. properties:
  1836. cvList:
  1837. description: 期货品种折算列表
  1838. items:
  1839. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1840. type: array
  1841. mg:
  1842. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1843. description: 套保品种基本信息
  1844. wrcList:
  1845. description: 现货品种列表(现货商品折算配置)
  1846. items:
  1847. $ref: '#/definitions/models.WRSConverTDetail'
  1848. type: array
  1849. type: object
  1850. ermcp.QryMiddleGoodsRsp:
  1851. properties:
  1852. areauserid:
  1853. description: 机构用户ID
  1854. type: integer
  1855. createtime:
  1856. description: 修改时间
  1857. type: string
  1858. enumdicname:
  1859. description: 单位名称
  1860. type: string
  1861. evaluateratio:
  1862. description: 估价系数
  1863. type: number
  1864. goodsgroupid:
  1865. description: 关联期货品种ID
  1866. type: integer
  1867. goodsunitid:
  1868. description: 单位ID
  1869. type: integer
  1870. isvalid:
  1871. description: 状态 0-无效(停用) 1-有效(正常)
  1872. type: integer
  1873. middlegoodscode:
  1874. description: 套保品种代码
  1875. type: string
  1876. middlegoodsid:
  1877. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1878. type: integer
  1879. middlegoodsname:
  1880. description: 套保品种名称
  1881. type: string
  1882. modifytime:
  1883. description: 修改时间
  1884. type: string
  1885. needarbitrageratio:
  1886. description: 套利比例
  1887. type: number
  1888. needhedgeratio:
  1889. description: 套保比率
  1890. type: number
  1891. qtydecimalplace:
  1892. description: 数量小数位
  1893. type: integer
  1894. relatedgoodsid:
  1895. description: 关联交易商品ID
  1896. type: integer
  1897. relatedgoodstype:
  1898. description: 关联商品类型 - 1:期货合约 2:现货品种
  1899. type: integer
  1900. remark:
  1901. description: 备注
  1902. type: string
  1903. type: object
  1904. ermcp.QryOPLogRsp:
  1905. properties:
  1906. aftervalue:
  1907. description: 变更后
  1908. type: number
  1909. applyid:
  1910. description: 操作人ID
  1911. type: string
  1912. applyname:
  1913. description: 操作人名称
  1914. type: string
  1915. beforevalue:
  1916. description: 变更前
  1917. type: number
  1918. biztype:
  1919. description: 业务类型 - 1:套保计划 2:现货合同
  1920. type: integer
  1921. contracttype:
  1922. description: 现货合同类型 - 1:采购 -1:销售
  1923. type: integer
  1924. logvalue:
  1925. description: 数值
  1926. type: number
  1927. operatelogtype:
  1928. description: 操作流水类型
  1929. type: integer
  1930. operatelogtypedesc:
  1931. description: 操作流水类型名称
  1932. type: string
  1933. relatedid:
  1934. description: 现货合同ID\套保计划
  1935. type: string
  1936. updatetime:
  1937. description: 更新时间
  1938. type: string
  1939. type: object
  1940. ermcp.QryUserInfoRsp:
  1941. properties:
  1942. address:
  1943. description: 通讯地址
  1944. type: string
  1945. attachment1:
  1946. description: 附件1
  1947. type: string
  1948. audittime:
  1949. description: 审核时间
  1950. type: string
  1951. cardbackphotourl:
  1952. description: 证件反面图片地址
  1953. type: string
  1954. cardfrontphotourl:
  1955. description: 证件正面图片地址
  1956. type: string
  1957. cardnum:
  1958. description: 证件号码
  1959. type: string
  1960. cardtype:
  1961. description: 证件类型
  1962. type: integer
  1963. cardtypename:
  1964. description: 证件类型名称
  1965. type: string
  1966. cityid:
  1967. description: 市
  1968. type: integer
  1969. contactname:
  1970. description: 联系人
  1971. type: string
  1972. countryid:
  1973. description: 国家
  1974. type: integer
  1975. createtime:
  1976. description: 创建时间
  1977. type: string
  1978. customername:
  1979. description: 企业名称
  1980. type: string
  1981. districtid:
  1982. description: 区域
  1983. type: integer
  1984. email:
  1985. description: 邮件
  1986. type: string
  1987. legalpersonname:
  1988. description: 法人姓名(企业)
  1989. type: string
  1990. memberuserid:
  1991. description: 所属机构ID
  1992. type: integer
  1993. mobile:
  1994. description: 手机号码
  1995. type: string
  1996. modifytime:
  1997. description: 修改时间
  1998. type: string
  1999. nickname:
  2000. description: 昵称
  2001. type: string
  2002. provinceid:
  2003. description: 省
  2004. type: integer
  2005. remark:
  2006. description: 备注
  2007. type: string
  2008. status:
  2009. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2010. type: integer
  2011. statusdesc:
  2012. description: 账户状态中文描述
  2013. type: string
  2014. taxpayernum:
  2015. description: 纳税人识别号
  2016. type: string
  2017. telphone:
  2018. description: 联系电话
  2019. type: string
  2020. userid:
  2021. description: 用户ID
  2022. type: integer
  2023. userinfotype:
  2024. description: 客户类型
  2025. type: string
  2026. type: object
  2027. ermcp.QryWarehouseRsp:
  2028. properties:
  2029. address:
  2030. description: 详细地址
  2031. type: string
  2032. areauserid:
  2033. description: 所属机构
  2034. type: integer
  2035. autoid:
  2036. description: 自增ID(仓库ID)
  2037. type: integer
  2038. cityid:
  2039. description: 市
  2040. type: integer
  2041. contactname:
  2042. description: 联系人
  2043. type: string
  2044. contactnum:
  2045. description: 联系电话
  2046. type: string
  2047. countryid:
  2048. description: 国家
  2049. type: integer
  2050. createtime:
  2051. description: 创建时间
  2052. type: string
  2053. districtid:
  2054. description: 区
  2055. type: integer
  2056. hasvideo:
  2057. description: 是否有视频 - 0:无 1:有
  2058. type: integer
  2059. provinceid:
  2060. description: 省
  2061. type: integer
  2062. remark:
  2063. description: 审核备注
  2064. type: string
  2065. videourl:
  2066. description: 视频地址
  2067. type: string
  2068. warehousecode:
  2069. description: 仓库代码
  2070. type: string
  2071. warehousename:
  2072. description: 仓库名称
  2073. type: string
  2074. warehousestatus:
  2075. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2076. type: integer
  2077. warehousetype:
  2078. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2079. type: integer
  2080. type: object
  2081. ermcp.QueryErmcpTradePositionRsp:
  2082. properties:
  2083. agreeunit:
  2084. description: 合约单位
  2085. type: number
  2086. buyorsell:
  2087. description: 方向 - 0:买 1:卖
  2088. type: integer
  2089. curpositionqty:
  2090. description: 持仓(总仓数量, 期末头寸)
  2091. type: integer
  2092. curtdposition:
  2093. description: 今仓数量(期末今日头寸)
  2094. type: integer
  2095. curtdpositionenabled:
  2096. description: 今仓可用
  2097. type: integer
  2098. decimalplace:
  2099. description: 报价小数位
  2100. type: integer
  2101. enableqty:
  2102. description: 可用(总仓可用)
  2103. type: integer
  2104. exexchangename:
  2105. description: 外部交易所名称
  2106. type: string
  2107. goodscode:
  2108. description: 商品代码(内部)
  2109. type: string
  2110. goodsid:
  2111. description: 商品ID(自增ID SEQ_GOODS)
  2112. type: integer
  2113. goodsname:
  2114. description: 商品名称
  2115. type: string
  2116. last:
  2117. description: 现价
  2118. type: number
  2119. marketid:
  2120. description: 所属市场ID
  2121. type: integer
  2122. openaverageprice:
  2123. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2124. type: number
  2125. opencost:
  2126. description: 开仓成本
  2127. type: number
  2128. openpl:
  2129. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2130. type: number
  2131. outgoodscode:
  2132. description: 商品代码(外部)
  2133. type: string
  2134. positionaverageprice:
  2135. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2136. type: number
  2137. positioncost:
  2138. description: 持仓成本
  2139. type: number
  2140. positionpl:
  2141. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2142. type: number
  2143. positionplrate:
  2144. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2145. type: number
  2146. usedmargin:
  2147. description: 占用保证金
  2148. type: number
  2149. type: object
  2150. ermcp.RealtimeExposurePositionRsp:
  2151. properties:
  2152. agreeunit:
  2153. description: 合约单位
  2154. type: string
  2155. areauserid:
  2156. description: 所属机构id
  2157. type: integer
  2158. convertratio:
  2159. description: 期货品种系数(折算系数)
  2160. type: number
  2161. curqty:
  2162. description: 当前持仓
  2163. type: integer
  2164. diffhedgeqty:
  2165. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2166. type: number
  2167. diffqty:
  2168. description: 持仓变动量=当前持仓-昨日持仓
  2169. type: integer
  2170. goodscode:
  2171. description: 商品代码
  2172. type: string
  2173. goodsid:
  2174. description: 商品id
  2175. type: integer
  2176. goodsname:
  2177. description: 商品名称
  2178. type: string
  2179. middlegoodsid:
  2180. description: 套保商品id
  2181. type: integer
  2182. ydqty:
  2183. description: 昨日持仓
  2184. type: integer
  2185. type: object
  2186. ermcp.RealtimeExposureRsp:
  2187. properties:
  2188. AreaUserID:
  2189. description: 所属机构
  2190. type: integer
  2191. BuyFutureQty:
  2192. description: 买入期货数量
  2193. type: number
  2194. BuyPlanQty:
  2195. description: 采购计划数量
  2196. type: number
  2197. BuyPricedQty:
  2198. description: 采购合同已定价数量
  2199. type: number
  2200. MiddleGoodsCode:
  2201. description: 套保品种代码
  2202. type: string
  2203. MiddleGoodsHedgeRatio:
  2204. description: 套保比例
  2205. type: number
  2206. MiddleGoodsID:
  2207. description: 套保品种
  2208. type: integer
  2209. MiddleGoodsName:
  2210. description: 套保品种名称
  2211. type: string
  2212. NeedHedgeExposoure:
  2213. description: 应套保敞口(套保敞口)
  2214. type: number
  2215. NeedHedgeRatio:
  2216. description: 应套保敞口比例
  2217. type: number
  2218. OriBuyFutureQty:
  2219. description: 期初买入期货数量
  2220. type: number
  2221. OriBuyPlanQty:
  2222. description: 期初采购计划数量
  2223. type: number
  2224. OriBuyPricedQty:
  2225. description: 期初采购合同已定价数量
  2226. type: number
  2227. OriSellFutureQty:
  2228. description: 期初卖出期货数量
  2229. type: number
  2230. OriSellPlanQty:
  2231. description: 期初销售计划数量
  2232. type: number
  2233. OriSellPricedQty:
  2234. description: 期初销售合同已定价数量
  2235. type: number
  2236. SellFutureQty:
  2237. description: 卖出期货数量
  2238. type: number
  2239. SellPlanQty:
  2240. description: 销售计划数量
  2241. type: number
  2242. SellPricedQty:
  2243. description: 销售合同已定价数量
  2244. type: number
  2245. TotalExposure:
  2246. description: 总敞口 平安:净敞口
  2247. type: number
  2248. TotalFutureQty:
  2249. description: 期货总量 平安:保值净持仓量
  2250. type: number
  2251. TotalHedgeRatio:
  2252. description: 敞口比例
  2253. type: number
  2254. TotalNeedHedgeQty:
  2255. description: 应套保总量(现货应套保总量)
  2256. type: number
  2257. TotalSpotQty:
  2258. description: 现货总量 平安:采销定价净值
  2259. type: number
  2260. arbitrageqty:
  2261. description: 套利量
  2262. type: number
  2263. diffArbitrageQty:
  2264. description: 套利变动量
  2265. type: number
  2266. diffExposoureQty:
  2267. description: 变动量(套保敞口)
  2268. type: number
  2269. diffFutuQty:
  2270. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2271. type: number
  2272. diffHedgeQty:
  2273. description: 套保变动量
  2274. type: number
  2275. diffQty:
  2276. description: 变动量(总敞口) 平安:净敞口今日变动
  2277. type: number
  2278. diffSpotHedgeQty:
  2279. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2280. type: number
  2281. diffSpotQty:
  2282. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2283. type: number
  2284. enumdicname:
  2285. description: 单位名称
  2286. type: string
  2287. hedgeqty:
  2288. description: 套保量
  2289. type: number
  2290. needarbitrageqty:
  2291. description: 应套利量
  2292. type: number
  2293. needarbitrageratio:
  2294. description: 套利比例
  2295. type: number
  2296. needhedgeqty:
  2297. description: 应套保量
  2298. type: number
  2299. oriTotalFutuQty:
  2300. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2301. type: number
  2302. oriTotalSpotQty:
  2303. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2304. type: number
  2305. oriarbitrageqty:
  2306. description: 期初套利量
  2307. type: number
  2308. orihedgeqty:
  2309. description: 期初套保量
  2310. type: number
  2311. orineedhedgeexposoure:
  2312. description: 期初套保敞口
  2313. type: number
  2314. oritotalexposure:
  2315. description: 期初总敞口
  2316. type: number
  2317. oritotalfutureqty:
  2318. description: 期初期货总量
  2319. type: number
  2320. oritotalneedhedgeqty:
  2321. description: 期初现货应套保量
  2322. type: number
  2323. type: object
  2324. erms2.QueryArbitrageStrategyRsp:
  2325. properties:
  2326. applybasis:
  2327. description: 申请基差
  2328. type: number
  2329. asapplyid:
  2330. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2331. type: string
  2332. asname:
  2333. description: 策略名称
  2334. type: string
  2335. asno:
  2336. description: 策略编号
  2337. type: string
  2338. basischangepl:
  2339. description: 基差变动损益[结算更新]
  2340. type: number
  2341. biztype:
  2342. description: 业务类型 - 1:正向套利 -1:反向套利
  2343. type: integer
  2344. closetradedate:
  2345. description: 完结交易日(yyyyMMdd)
  2346. type: string
  2347. curbasis:
  2348. description: 当前基差[结算更新]
  2349. type: number
  2350. deliverygoodsid:
  2351. description: 现货品种ID
  2352. type: integer
  2353. futureavgprice:
  2354. description: 期货建仓均价
  2355. type: number
  2356. futurecloseamount:
  2357. description: 期货平仓金额
  2358. type: number
  2359. futurecloseqty:
  2360. description: 期货平仓数量
  2361. type: number
  2362. futureopenamount:
  2363. description: 期货开仓金额
  2364. type: number
  2365. futureopenqty:
  2366. description: 期货开仓数量
  2367. type: number
  2368. futurepl:
  2369. description: 期货总盈亏[结算更新]
  2370. type: number
  2371. futureqty:
  2372. description: 期货持仓数量
  2373. type: number
  2374. futurequote:
  2375. description: 期货额度
  2376. type: number
  2377. goodsgroupid:
  2378. description: 期货品种ID
  2379. type: integer
  2380. marketid:
  2381. description: 市场ID
  2382. type: integer
  2383. netexposure:
  2384. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2385. type: number
  2386. netexposurepl:
  2387. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2388. type: number
  2389. netexposurerate:
  2390. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2391. type: number
  2392. openbasis:
  2393. description: 建仓基差
  2394. type: number
  2395. pricedspotqty:
  2396. description: 已定价现货数量
  2397. type: number
  2398. pricedspotqtynotax:
  2399. description: 已定价现货不含税数量
  2400. type: number
  2401. remark:
  2402. description: 备注
  2403. type: string
  2404. spotavgprice:
  2405. description: 现货均价
  2406. type: number
  2407. spotbuyamount:
  2408. description: 现货采购金额
  2409. type: number
  2410. spotbuyqty:
  2411. description: 现货采购数量
  2412. type: number
  2413. spotpl:
  2414. description: 现货总盈亏[结算更新]
  2415. type: number
  2416. spotquota:
  2417. description: 现货额度
  2418. type: number
  2419. spotsellamount:
  2420. description: 现货销售金额
  2421. type: number
  2422. spotsellqty:
  2423. description: 现货销售数量
  2424. type: number
  2425. spotusedquota:
  2426. description: 现货占用资金
  2427. type: number
  2428. strategystatus:
  2429. description: 策略状态 - 0:未结束 1:已结束
  2430. type: integer
  2431. totalpl:
  2432. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2433. type: number
  2434. tradedate:
  2435. description: 交易日(yyyyMMdd)
  2436. type: string
  2437. updatetime:
  2438. description: 更新时间
  2439. type: string
  2440. usedquota:
  2441. description: 已占用资金
  2442. type: number
  2443. userid:
  2444. description: 所属机构
  2445. type: integer
  2446. required:
  2447. - asapplyid
  2448. type: object
  2449. erms2.QueryInnerTradeDetailRsp:
  2450. properties:
  2451. accountid:
  2452. description: 账号ID
  2453. type: integer
  2454. agreeunit:
  2455. description: 合约单位
  2456. type: number
  2457. asapplyid:
  2458. description: 策略申请ID
  2459. type: integer
  2460. asname:
  2461. description: 策略名称
  2462. type: string
  2463. asno:
  2464. description: 策略编号
  2465. type: string
  2466. buyorsell:
  2467. description: 方向 - 0:买 1:卖
  2468. type: integer
  2469. channelbuildtype:
  2470. description: 委托单据类型 0:无 1:建仓 2:平仓
  2471. type: integer
  2472. closetype:
  2473. description: 平仓方式 - 0:无 1:平今 2:平昨
  2474. type: integer
  2475. decimalplace:
  2476. description: 报价小数位
  2477. type: integer
  2478. detailtype:
  2479. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2480. type: integer
  2481. exexchangecode:
  2482. description: 外部交易所代码
  2483. type: string
  2484. exexchangename:
  2485. description: 外部交易所名称
  2486. type: string
  2487. goodscode:
  2488. description: 商品代码(合约)
  2489. type: string
  2490. goodsgroupid:
  2491. description: 商品组ID(品种ID)
  2492. type: integer
  2493. goodsgroupname:
  2494. description: 商品组名称(品种)
  2495. type: string
  2496. goodsid:
  2497. description: 商品ID
  2498. type: integer
  2499. goodsname:
  2500. description: 商品名称(合约)
  2501. type: string
  2502. goodunit:
  2503. description: 报价单位
  2504. type: string
  2505. marketid:
  2506. description: 市场ID
  2507. type: integer
  2508. orderid:
  2509. description: 委托单号
  2510. type: string
  2511. outgoodscode:
  2512. description: 商品代码(外部)
  2513. type: string
  2514. relatedouttradeid:
  2515. description: 关联外部成交单ID
  2516. type: string
  2517. remark:
  2518. description: 备注
  2519. type: string
  2520. spotcontractid:
  2521. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2522. type: integer
  2523. spotcontractno:
  2524. description: 现货合同编号
  2525. type: string
  2526. tradeid:
  2527. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2528. type: string
  2529. tradeprice:
  2530. description: 成交价格
  2531. type: number
  2532. tradeqty:
  2533. description: 成交数量
  2534. type: integer
  2535. tradetime:
  2536. description: 成交时间
  2537. type: string
  2538. updatetime:
  2539. description: 更新时间
  2540. type: string
  2541. required:
  2542. - asapplyid
  2543. - buyorsell
  2544. - goodscode
  2545. - goodsgroupid
  2546. - goodsgroupname
  2547. - goodsname
  2548. - tradeid
  2549. type: object
  2550. erms2.QuerySpotContractRsp:
  2551. properties:
  2552. accountid:
  2553. description: 资金账户ID
  2554. type: integer
  2555. areauserid:
  2556. description: 所属机构
  2557. type: integer
  2558. closedate:
  2559. description: 终止日期
  2560. type: string
  2561. closeremark:
  2562. description: 结束备注
  2563. type: string
  2564. closetradedate:
  2565. description: 完结交易日(yyyyMMdd)
  2566. type: string
  2567. closetype:
  2568. description: 终止类型 - 1:违约 2:提前终止
  2569. type: integer
  2570. contractamount:
  2571. description: 合同金额
  2572. type: number
  2573. contractattachment:
  2574. description: 合同附件
  2575. type: string
  2576. contractno:
  2577. description: 现货合同编号
  2578. type: string
  2579. contractqty:
  2580. description: 合同数量(数值) (用于计算)
  2581. type: number
  2582. contractqtychar:
  2583. description: 合同数量\已订价数量 (用于显示)
  2584. type: string
  2585. contractstatus:
  2586. description: 合同状态 - 0:未结束 1:已结束
  2587. type: integer
  2588. contracttype:
  2589. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2590. type: integer
  2591. customeraccountid:
  2592. description: 客户资金账户ID
  2593. type: integer
  2594. customeruserid:
  2595. description: 客户ID
  2596. type: integer
  2597. deliverygoodsdesc:
  2598. description: 品种说明
  2599. type: string
  2600. deliverygoodsid:
  2601. description: 现货品种ID
  2602. type: integer
  2603. handlestatus:
  2604. description: 处理状态
  2605. type: integer
  2606. invoiceatt:
  2607. description: 发票附件
  2608. type: string
  2609. invoicedatetime:
  2610. description: 开收票更新时间
  2611. type: string
  2612. invoiceopentime:
  2613. description: 开票时间
  2614. type: string
  2615. invoiceremark:
  2616. description: 发票备注
  2617. type: string
  2618. invoicestatus:
  2619. description: 开收票状态 - 0:未开票 1:已开票
  2620. type: integer
  2621. lastdate:
  2622. description: 交货时间
  2623. type: string
  2624. marketid:
  2625. description: 市场ID
  2626. type: integer
  2627. paydatetime:
  2628. description: 收付款更新时间
  2629. type: string
  2630. payremark:
  2631. description: 收付款备注
  2632. type: string
  2633. paystatus:
  2634. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2635. type: integer
  2636. positionqty:
  2637. description: 头寸数量 - 合同数量去小数部分
  2638. type: integer
  2639. producttype:
  2640. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2641. type: integer
  2642. relatedqty:
  2643. description: 已关联数量
  2644. type: number
  2645. relatedstatus:
  2646. description: 关联完结状态 - 0:未结束 1:已结束
  2647. type: integer
  2648. remark:
  2649. description: 备注
  2650. type: string
  2651. signdate:
  2652. description: 签订日期
  2653. type: string
  2654. spotcontractid:
  2655. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2656. type: string
  2657. spotdatetime:
  2658. description: 收发货更新时间
  2659. type: string
  2660. spotprice:
  2661. description: 价格
  2662. type: number
  2663. spotremark:
  2664. description: 收发货备注
  2665. type: string
  2666. spotstatus:
  2667. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2668. type: integer
  2669. tradedate:
  2670. description: 交易日(yyyyMMdd)
  2671. type: string
  2672. userid:
  2673. description: 业务员用户ID
  2674. type: integer
  2675. warehouseid:
  2676. description: 仓库ID
  2677. type: integer
  2678. wrfactortypeid:
  2679. description: 仓单要素类型ID
  2680. type: integer
  2681. wrstandardid:
  2682. description: 仓单标准ID(SEQ_WRSTANDARD)
  2683. type: integer
  2684. required:
  2685. - spotcontractid
  2686. type: object
  2687. erms3.AddErms2ASApplyReq:
  2688. properties:
  2689. applybasis:
  2690. description: 申请基差
  2691. type: number
  2692. applystatus:
  2693. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2694. type: integer
  2695. asapplyid:
  2696. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2697. type: integer
  2698. asname:
  2699. description: 策略名称
  2700. type: string
  2701. asno:
  2702. description: 策略编号
  2703. type: string
  2704. auditid:
  2705. description: 审核人
  2706. type: integer
  2707. auditremark:
  2708. description: 审核备注
  2709. type: string
  2710. audittime:
  2711. description: 审核时间
  2712. type: string
  2713. biztype:
  2714. description: 业务类型 - 1:正向套利 2:反向套利
  2715. type: integer
  2716. createtime:
  2717. description: 创建时间
  2718. type: string
  2719. creatorid:
  2720. description: 创建人
  2721. type: integer
  2722. deliverygoodsid:
  2723. description: 现货品种ID
  2724. type: integer
  2725. futurequote:
  2726. description: 期货额度
  2727. type: number
  2728. goodsgroupid:
  2729. description: 期货品种ID
  2730. type: integer
  2731. marketid:
  2732. description: 市场ID
  2733. type: integer
  2734. remark:
  2735. description: 备注
  2736. type: string
  2737. spotquota:
  2738. description: 现货额度
  2739. type: number
  2740. tradedate:
  2741. description: 交易日(yyyyMMdd)
  2742. type: string
  2743. userid:
  2744. description: 所属机构
  2745. type: integer
  2746. required:
  2747. - asapplyid
  2748. type: object
  2749. erms3.AddErms2SpotTradeApplyReq:
  2750. properties:
  2751. applyjsondetail:
  2752. description: 申请明细(JSON)
  2753. type: string
  2754. applystatus:
  2755. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2756. type: integer
  2757. areauserid:
  2758. description: 所属机构
  2759. type: integer
  2760. auditid:
  2761. description: 审核人
  2762. type: integer
  2763. auditremark:
  2764. description: 审核备注
  2765. type: string
  2766. audittime:
  2767. description: 审核时间
  2768. type: string
  2769. createtime:
  2770. description: 创建时间
  2771. type: string
  2772. creatorid:
  2773. description: 创建人
  2774. type: integer
  2775. deliverygoodsid:
  2776. description: 现货品种ID
  2777. type: integer
  2778. futureaccountid:
  2779. description: 期货资金账户
  2780. type: integer
  2781. goodsgroupid:
  2782. description: 期货品种
  2783. type: integer
  2784. marketid:
  2785. description: 市场ID
  2786. type: integer
  2787. remark:
  2788. description: 备注
  2789. type: string
  2790. spotaccountid:
  2791. description: 现货资金账户
  2792. type: integer
  2793. spottradeid:
  2794. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2795. type: integer
  2796. spottradename:
  2797. description: 业务名称
  2798. type: string
  2799. spottradeno:
  2800. description: 业务编号
  2801. type: string
  2802. tradedate:
  2803. description: 交易日(yyyyMMdd)
  2804. type: string
  2805. wrstandardid:
  2806. description: 仓单标准ID
  2807. type: integer
  2808. required:
  2809. - spottradeid
  2810. type: object
  2811. erms3.AddSpotContractApplyReq:
  2812. properties:
  2813. accountid:
  2814. description: 资金账户ID
  2815. type: integer
  2816. areauserid:
  2817. description: 所属机构
  2818. type: integer
  2819. contractattachment:
  2820. description: 合同附件
  2821. type: string
  2822. contractno:
  2823. description: 现货合同编号
  2824. type: string
  2825. contracttype:
  2826. description: 现货合同类型 - 1:采购 -1:销售
  2827. type: integer
  2828. creatorid:
  2829. description: 申请人
  2830. type: integer
  2831. customeraccountid:
  2832. description: 客户资金账户ID
  2833. type: integer
  2834. customeruserid:
  2835. description: 客户ID
  2836. type: integer
  2837. details:
  2838. description: 明细
  2839. items:
  2840. $ref: '#/definitions/erms3.SoptContractDetail'
  2841. type: array
  2842. orimargin:
  2843. description: 初始保证金
  2844. type: number
  2845. remark:
  2846. description: 备注
  2847. type: string
  2848. signdate:
  2849. description: 签订日期
  2850. type: string
  2851. required:
  2852. - accountid
  2853. - areauserid
  2854. - contractno
  2855. - contracttype
  2856. - customeraccountid
  2857. - customeruserid
  2858. - details
  2859. - orimargin
  2860. - signdate
  2861. type: object
  2862. erms3.AddSpotContractApplyRsp:
  2863. properties:
  2864. contractno:
  2865. description: 现货合同编号
  2866. type: string
  2867. spotcontractid:
  2868. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2869. type: integer
  2870. required:
  2871. - contractno
  2872. type: object
  2873. erms3.AddUserInfoApplyReq:
  2874. properties:
  2875. accountid:
  2876. description: 交易系统帐号Id (加密存储)
  2877. type: integer
  2878. areacode:
  2879. description: 机构代码
  2880. type: string
  2881. areaid:
  2882. description: 机构Id
  2883. type: integer
  2884. attachment1:
  2885. description: 附件1
  2886. type: string
  2887. attachment2:
  2888. description: 附件2
  2889. type: string
  2890. attachment3:
  2891. description: 附件3
  2892. type: string
  2893. attachment4:
  2894. description: 附件4
  2895. type: string
  2896. attachment5:
  2897. description: 附件5
  2898. type: string
  2899. auditedby:
  2900. description: 审核人
  2901. type: string
  2902. auditime:
  2903. description: 审核时间
  2904. type: string
  2905. auditsrc:
  2906. description: 审核来源 - 1:管理端 2:终端
  2907. type: integer
  2908. bankaccount:
  2909. description: 银行帐号 (加密存储)
  2910. type: string
  2911. bankaccountname:
  2912. description: 收款人名称
  2913. type: string
  2914. bankcardbackphotourl:
  2915. description: 银行卡背面照地址
  2916. type: string
  2917. bankcardfrontphotourl:
  2918. description: 银行卡正面照地址
  2919. type: string
  2920. bankid:
  2921. description: 银行编码
  2922. type: string
  2923. bankname:
  2924. description: 银行名称
  2925. type: string
  2926. bankpictureurl:
  2927. description: 银行卡正面地址
  2928. type: string
  2929. biznature:
  2930. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2931. type: integer
  2932. bizscope:
  2933. description: 企业经营范围(企业)
  2934. type: string
  2935. biztype:
  2936. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2937. type: integer
  2938. brokerid:
  2939. description: 经纪人ID(加密存储)
  2940. type: string
  2941. cardaddress:
  2942. description: 证件地址 (加密存储)
  2943. type: string
  2944. cardbackphotourl:
  2945. description: 背面证件照地址
  2946. type: string
  2947. cardfrontphotourl:
  2948. description: 正面证件照地址
  2949. type: string
  2950. cardnum:
  2951. description: 证件号码 (加密存储)
  2952. type: string
  2953. cardtype:
  2954. description: 证件类型
  2955. type: integer
  2956. cityid:
  2957. description: 市
  2958. type: integer
  2959. company:
  2960. description: 公司(个人)
  2961. type: string
  2962. contactcardbackphotourl:
  2963. description: 联系人证件背面图片地址
  2964. type: string
  2965. contactcardfrontphotourl:
  2966. description: 联系人证件正面图片地址
  2967. type: string
  2968. contactname:
  2969. description: 联系人
  2970. type: string
  2971. countryid:
  2972. description: 国家
  2973. type: integer
  2974. createtime:
  2975. description: 开户申请时间
  2976. type: string
  2977. cusbankid:
  2978. description: 签约类型
  2979. type: string
  2980. cusbankname:
  2981. description: 签约类型名称
  2982. type: string
  2983. customername:
  2984. description: 客户名称(企业名称)
  2985. type: string
  2986. districtid:
  2987. description: 地区
  2988. type: integer
  2989. email:
  2990. description: Email地址(加密存储)
  2991. type: string
  2992. halfbodyphotourl:
  2993. description: 半身照地址
  2994. type: string
  2995. headurl:
  2996. description: 头像地址
  2997. type: string
  2998. ipaddress:
  2999. description: IP地址
  3000. type: string
  3001. isvalidate:
  3002. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3003. type: string
  3004. legalcardbackphotourl:
  3005. description: 法人身份证背面照地址
  3006. type: string
  3007. legalcardfrontphotourl:
  3008. description: 法人身份证正面照地址
  3009. type: string
  3010. legalpersonname:
  3011. description: 法人姓名(企业)
  3012. type: string
  3013. logincode:
  3014. description: 登录帐号 (加密存储)
  3015. type: string
  3016. memberareaid:
  3017. description: 所属会员ID
  3018. type: integer
  3019. mobile2:
  3020. description: 手机号码[明文-尚志]
  3021. type: string
  3022. mobilephone:
  3023. description: 手机号码 (加密存储)
  3024. type: string
  3025. modifiedby:
  3026. description: 修改人帐号
  3027. type: integer
  3028. modifiedtime:
  3029. description: 修改时间
  3030. type: string
  3031. nickname:
  3032. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3033. type: string
  3034. openmode:
  3035. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3036. type: integer
  3037. otherurl:
  3038. description: 其它图片地址[使用分号分隔]
  3039. type: string
  3040. postalcode:
  3041. description: 邮政编码
  3042. type: string
  3043. provinceid:
  3044. description: 省
  3045. type: integer
  3046. proxystatementurl:
  3047. description: 授权委托书
  3048. type: string
  3049. qq:
  3050. description: QQ(加密存储
  3051. type: string
  3052. referral:
  3053. description: 推荐人编码
  3054. type: string
  3055. remark:
  3056. description: 备注
  3057. type: string
  3058. removebeforestatus:
  3059. description: REMOVEBEFORESTATUS
  3060. type: integer
  3061. sex:
  3062. description: 性别 - 0:女 1:男
  3063. type: integer
  3064. signedstatus:
  3065. description: 账户一号签签约状态
  3066. type: integer
  3067. signpdfurl:
  3068. description: 签约pdf文件
  3069. type: string
  3070. subbranch:
  3071. description: 开户支行
  3072. type: string
  3073. taxpayernum:
  3074. description: 纳税人识别号
  3075. type: string
  3076. telphone:
  3077. description: 联系电话(加密存储)
  3078. type: string
  3079. userid:
  3080. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3081. type: integer
  3082. userinfotype:
  3083. description: 用户信息类型 - 1:个人 2:企业
  3084. type: integer
  3085. username:
  3086. description: 用户姓名
  3087. type: string
  3088. userstate:
  3089. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3090. type: integer
  3091. usertype:
  3092. description: 用户类型 - 1:投资者 2:机构
  3093. type: integer
  3094. videourl:
  3095. description: 视频地址
  3096. type: string
  3097. wechat:
  3098. description: 微信号 (加密存储)
  3099. type: string
  3100. required:
  3101. - userid
  3102. type: object
  3103. erms3.CustomerInfo:
  3104. properties:
  3105. accountids:
  3106. description: 资金账户ID列表
  3107. items:
  3108. type: integer
  3109. type: array
  3110. customername:
  3111. description: 名称(企业名称)
  3112. type: string
  3113. mobile:
  3114. description: 手机号码
  3115. type: string
  3116. userid:
  3117. description: 用户ID
  3118. type: integer
  3119. required:
  3120. - userid
  3121. type: object
  3122. erms3.ModifyUserInfoApplyReq:
  3123. properties:
  3124. accountid:
  3125. description: 交易系统帐号Id (加密存储)
  3126. type: integer
  3127. areacode:
  3128. description: 机构代码
  3129. type: string
  3130. areaid:
  3131. description: 机构Id
  3132. type: integer
  3133. attachment1:
  3134. description: 附件1
  3135. type: string
  3136. attachment2:
  3137. description: 附件2
  3138. type: string
  3139. attachment3:
  3140. description: 附件3
  3141. type: string
  3142. attachment4:
  3143. description: 附件4
  3144. type: string
  3145. attachment5:
  3146. description: 附件5
  3147. type: string
  3148. auditedby:
  3149. description: 审核人
  3150. type: string
  3151. auditime:
  3152. description: 审核时间
  3153. type: string
  3154. auditsrc:
  3155. description: 审核来源 - 1:管理端 2:终端
  3156. type: integer
  3157. bankaccount:
  3158. description: 银行帐号 (加密存储)
  3159. type: string
  3160. bankaccountname:
  3161. description: 收款人名称
  3162. type: string
  3163. bankcardbackphotourl:
  3164. description: 银行卡背面照地址
  3165. type: string
  3166. bankcardfrontphotourl:
  3167. description: 银行卡正面照地址
  3168. type: string
  3169. bankid:
  3170. description: 银行编码
  3171. type: string
  3172. bankname:
  3173. description: 银行名称
  3174. type: string
  3175. bankpictureurl:
  3176. description: 银行卡正面地址
  3177. type: string
  3178. biznature:
  3179. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3180. type: integer
  3181. bizscope:
  3182. description: 企业经营范围(企业)
  3183. type: string
  3184. biztype:
  3185. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3186. type: integer
  3187. brokerid:
  3188. description: 经纪人ID(加密存储)
  3189. type: string
  3190. cardaddress:
  3191. description: 证件地址 (加密存储)
  3192. type: string
  3193. cardbackphotourl:
  3194. description: 背面证件照地址
  3195. type: string
  3196. cardfrontphotourl:
  3197. description: 正面证件照地址
  3198. type: string
  3199. cardnum:
  3200. description: 证件号码 (加密存储)
  3201. type: string
  3202. cardtype:
  3203. description: 证件类型
  3204. type: integer
  3205. cityid:
  3206. description: 市
  3207. type: integer
  3208. company:
  3209. description: 公司(个人)
  3210. type: string
  3211. contactcardbackphotourl:
  3212. description: 联系人证件背面图片地址
  3213. type: string
  3214. contactcardfrontphotourl:
  3215. description: 联系人证件正面图片地址
  3216. type: string
  3217. contactname:
  3218. description: 联系人
  3219. type: string
  3220. countryid:
  3221. description: 国家
  3222. type: integer
  3223. createtime:
  3224. description: 开户申请时间
  3225. type: string
  3226. cusbankid:
  3227. description: 签约类型
  3228. type: string
  3229. cusbankname:
  3230. description: 签约类型名称
  3231. type: string
  3232. customername:
  3233. description: 客户名称(企业名称)
  3234. type: string
  3235. districtid:
  3236. description: 地区
  3237. type: integer
  3238. email:
  3239. description: Email地址(加密存储)
  3240. type: string
  3241. halfbodyphotourl:
  3242. description: 半身照地址
  3243. type: string
  3244. headurl:
  3245. description: 头像地址
  3246. type: string
  3247. ipaddress:
  3248. description: IP地址
  3249. type: string
  3250. isvalidate:
  3251. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3252. type: string
  3253. legalcardbackphotourl:
  3254. description: 法人身份证背面照地址
  3255. type: string
  3256. legalcardfrontphotourl:
  3257. description: 法人身份证正面照地址
  3258. type: string
  3259. legalpersonname:
  3260. description: 法人姓名(企业)
  3261. type: string
  3262. logincode:
  3263. description: 登录帐号 (加密存储)
  3264. type: string
  3265. memberareaid:
  3266. description: 所属会员ID
  3267. type: integer
  3268. mobile2:
  3269. description: 手机号码[明文-尚志]
  3270. type: string
  3271. mobilephone:
  3272. description: 手机号码 (加密存储)
  3273. type: string
  3274. modifiedby:
  3275. description: 修改人帐号
  3276. type: integer
  3277. modifiedtime:
  3278. description: 修改时间
  3279. type: string
  3280. nickname:
  3281. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3282. type: string
  3283. openmode:
  3284. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3285. type: integer
  3286. otherurl:
  3287. description: 其它图片地址[使用分号分隔]
  3288. type: string
  3289. postalcode:
  3290. description: 邮政编码
  3291. type: string
  3292. provinceid:
  3293. description: 省
  3294. type: integer
  3295. proxystatementurl:
  3296. description: 授权委托书
  3297. type: string
  3298. qq:
  3299. description: QQ(加密存储
  3300. type: string
  3301. referral:
  3302. description: 推荐人编码
  3303. type: string
  3304. remark:
  3305. description: 备注
  3306. type: string
  3307. removebeforestatus:
  3308. description: REMOVEBEFORESTATUS
  3309. type: integer
  3310. sex:
  3311. description: 性别 - 0:女 1:男
  3312. type: integer
  3313. signedstatus:
  3314. description: 账户一号签签约状态
  3315. type: integer
  3316. signpdfurl:
  3317. description: 签约pdf文件
  3318. type: string
  3319. subbranch:
  3320. description: 开户支行
  3321. type: string
  3322. taxpayernum:
  3323. description: 纳税人识别号
  3324. type: string
  3325. telphone:
  3326. description: 联系电话(加密存储)
  3327. type: string
  3328. userid:
  3329. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3330. type: integer
  3331. userinfotype:
  3332. description: 用户信息类型 - 1:个人 2:企业
  3333. type: integer
  3334. username:
  3335. description: 用户姓名
  3336. type: string
  3337. userstate:
  3338. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3339. type: integer
  3340. usertype:
  3341. description: 用户类型 - 1:投资者 2:机构
  3342. type: integer
  3343. videourl:
  3344. description: 视频地址
  3345. type: string
  3346. wechat:
  3347. description: 微信号 (加密存储)
  3348. type: string
  3349. required:
  3350. - userid
  3351. type: object
  3352. erms3.QryAuditContractRsp:
  3353. properties:
  3354. accountid:
  3355. description: 交易员ID
  3356. type: string
  3357. applystatus:
  3358. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3359. type: integer
  3360. curdeliveryqty:
  3361. description: 未交收量
  3362. type: integer
  3363. customername:
  3364. description: 采购方ID
  3365. type: string
  3366. deliverygoodsid:
  3367. description: 品种ID
  3368. type: string
  3369. deliveryqty:
  3370. description: 交收量
  3371. type: integer
  3372. enumdicname:
  3373. description: 单位名称
  3374. type: string
  3375. matchaccountid:
  3376. description: 业务员ID
  3377. type: string
  3378. matchcustomername:
  3379. description: 销售方ID
  3380. type: string
  3381. pricedqty:
  3382. description: 定价量
  3383. type: number
  3384. signdate:
  3385. description: 签订日期
  3386. type: string
  3387. spotcontractid:
  3388. description: 合同ID
  3389. type: string
  3390. totaldqty:
  3391. description: 合同量
  3392. type: number
  3393. unpricedqty:
  3394. description: 未定价量
  3395. type: number
  3396. wrstandardname:
  3397. description: 商品名称
  3398. type: string
  3399. required:
  3400. - matchcustomername
  3401. - spotcontractid
  3402. type: object
  3403. erms3.QryPendingBizRsp:
  3404. properties:
  3405. accountid:
  3406. description: 现货账户
  3407. type: string
  3408. areaname:
  3409. description: 所属部门
  3410. type: string
  3411. bizid:
  3412. description: 业务ID
  3413. type: string
  3414. bizname:
  3415. description: 业务名称
  3416. type: string
  3417. status:
  3418. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3419. type: integer
  3420. type:
  3421. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3422. type: integer
  3423. type: object
  3424. erms3.QueryBusinessInfoRsp:
  3425. properties:
  3426. businessid:
  3427. description: 业务ID.
  3428. type: integer
  3429. buyamount:
  3430. description: 采购额.
  3431. type: number
  3432. buyqty:
  3433. description: 采购量.
  3434. type: string
  3435. futurepl:
  3436. description: 期货盈亏.
  3437. type: number
  3438. futureqty:
  3439. description: 期货敞口.
  3440. type: string
  3441. goodsid:
  3442. description: 商品名称/商品代码.
  3443. type: string
  3444. hedgingqty:
  3445. description: 套保量.
  3446. type: string
  3447. sellamount:
  3448. description: 销售额.
  3449. type: number
  3450. sellqty:
  3451. description: 销售量.
  3452. type: string
  3453. spotmarketvalue:
  3454. description: 现货市值.
  3455. type: number
  3456. spotpl:
  3457. description: 浮动权益.
  3458. type: number
  3459. spotqty:
  3460. description: 现货量.
  3461. type: string
  3462. statu:
  3463. description: 状态,0-未结束 1-已结束.
  3464. type: integer
  3465. totalpl:
  3466. description: 总盈亏.
  3467. type: number
  3468. totalqty:
  3469. description: 总敞口.
  3470. type: string
  3471. type:
  3472. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3473. type: integer
  3474. type: object
  3475. erms3.QuerySpotContractAppleFormRsp:
  3476. properties:
  3477. goodses:
  3478. description: 合约列表
  3479. items:
  3480. $ref: '#/definitions/models.GoodsIDAndName'
  3481. type: array
  3482. oppositeusers:
  3483. description: 对方账号列表
  3484. items:
  3485. $ref: '#/definitions/erms3.CustomerInfo'
  3486. type: array
  3487. ouruser:
  3488. $ref: '#/definitions/erms3.CustomerInfo'
  3489. description: 我方账号
  3490. warehouseinfos:
  3491. description: 仓库信息列表
  3492. items:
  3493. $ref: '#/definitions/models.Warehouseinfo'
  3494. type: array
  3495. wrstandards:
  3496. description: 仓单标准列表
  3497. items:
  3498. $ref: '#/definitions/models.WRStandardInfo'
  3499. type: array
  3500. type: object
  3501. erms3.QuerySpotContractInfoRsp:
  3502. properties:
  3503. accountid:
  3504. description: 表示交易员ID.
  3505. type: integer
  3506. curdeliveryqty:
  3507. description: 表示未交收量.
  3508. type: number
  3509. customername:
  3510. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3511. type: string
  3512. deliverygoodsid:
  3513. description: 表示品种ID.
  3514. type: string
  3515. deliveryqty:
  3516. description: 表示交收量.
  3517. type: number
  3518. matchaccountid:
  3519. description: 表示业务员ID.
  3520. type: integer
  3521. matchcustomername:
  3522. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3523. type: string
  3524. priceqty:
  3525. description: 表示定价量.
  3526. type: number
  3527. relatedbizid:
  3528. description: 表示业务ID.
  3529. type: string
  3530. signdate:
  3531. description: 表示签订日期.
  3532. type: string
  3533. spotcontractid:
  3534. description: 合同ID
  3535. type: string
  3536. status:
  3537. description: 表示状态,0-履约中 1-已完成.
  3538. type: integer
  3539. totalqty:
  3540. description: 表示合同量.
  3541. type: number
  3542. unpricedqty:
  3543. description: 表示未定价量.
  3544. type: number
  3545. wrstandardname:
  3546. description: 表示商品ID.
  3547. type: string
  3548. type: object
  3549. erms3.QueryUserInfoAppliesRsp:
  3550. properties:
  3551. biznature:
  3552. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3553. type: integer
  3554. contactname:
  3555. description: 联系人
  3556. type: string
  3557. createtime:
  3558. description: 开户申请时间
  3559. type: string
  3560. userid:
  3561. description: 用户ID(自增ID)
  3562. type: integer
  3563. userinfotype:
  3564. description: 用户信息类型 - 1:个人 2:企业
  3565. type: integer
  3566. username:
  3567. description: 用户姓名
  3568. type: string
  3569. userstate:
  3570. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3571. type: integer
  3572. required:
  3573. - userid
  3574. type: object
  3575. erms3.QueryUserInfosRsp:
  3576. properties:
  3577. biznature:
  3578. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3579. type: integer
  3580. contactname:
  3581. description: 联系人
  3582. type: string
  3583. customername:
  3584. description: 客户名称(企业名称)
  3585. type: string
  3586. userid:
  3587. description: 用户ID
  3588. type: integer
  3589. userinfotype:
  3590. description: 用户信息类型 - 1:个人 2:企业
  3591. type: integer
  3592. userstatus:
  3593. description: 用户状态 - 1:正常 2:注销
  3594. type: integer
  3595. required:
  3596. - userid
  3597. type: object
  3598. erms3.SoptContractDetail:
  3599. properties:
  3600. deliverygoodsdesc:
  3601. description: 现货品种说明
  3602. type: string
  3603. deliverygoodsid:
  3604. description: 现货品种ID
  3605. type: integer
  3606. deliverygoodsname:
  3607. description: 现货品种名称
  3608. type: string
  3609. pointdesc:
  3610. description: 点价描述
  3611. type: string
  3612. producttype:
  3613. description: 产品类型 1:标准仓单 2:等标 3:非标
  3614. type: integer
  3615. producttypename:
  3616. description: 产品类型名称
  3617. type: string
  3618. spotPointOrderVoList:
  3619. description: 点价列表
  3620. items:
  3621. $ref: '#/definitions/erms3.SpotPointOrder'
  3622. type: array
  3623. spotPriceOrderList:
  3624. description: 定价列表
  3625. items:
  3626. $ref: '#/definitions/erms3.SpotPriceOrder'
  3627. type: array
  3628. unitname:
  3629. description: 单位名称
  3630. type: string
  3631. warehouseid:
  3632. description: 仓库ID
  3633. type: integer
  3634. warehousename:
  3635. description: 仓库名称
  3636. type: string
  3637. wrstandardid:
  3638. description: 交易标的ID
  3639. type: integer
  3640. wrstandardname:
  3641. description: 交易标的名称
  3642. type: string
  3643. required:
  3644. - deliverygoodsid
  3645. - producttype
  3646. - unitname
  3647. - warehouseid
  3648. - wrstandardid
  3649. - wrstandardname
  3650. type: object
  3651. erms3.SpotPointOrder:
  3652. properties:
  3653. basic:
  3654. description: 基差
  3655. type: number
  3656. deliveryenddate:
  3657. description: 交收结束日期
  3658. type: string
  3659. deliverystartdate:
  3660. description: 交收开始日期
  3661. type: string
  3662. enddate:
  3663. description: 点价结束日期
  3664. type: string
  3665. goodsid:
  3666. description: 商品ID
  3667. type: integer
  3668. goodsname:
  3669. description: 商品名称
  3670. type: string
  3671. qty:
  3672. description: 数量
  3673. type: number
  3674. startdate:
  3675. description: 点价开始日期
  3676. type: string
  3677. required:
  3678. - basic
  3679. - goodsid
  3680. - qty
  3681. type: object
  3682. erms3.SpotPriceOrder:
  3683. properties:
  3684. amount:
  3685. description: 金额
  3686. type: number
  3687. deliveryenddate:
  3688. description: 交收结束日期
  3689. type: string
  3690. deliverystartdate:
  3691. description: 交收开始日期
  3692. type: string
  3693. price:
  3694. description: 价格
  3695. type: number
  3696. qty:
  3697. description: 数量
  3698. type: number
  3699. required:
  3700. - amount
  3701. - price
  3702. - qty
  3703. type: object
  3704. hsby.GetHsbyMyCountRsp:
  3705. properties:
  3706. myCouponCount:
  3707. description: 我的优惠卷数量
  3708. type: integer
  3709. myOrderDetailListingCount:
  3710. description: 我的订单求购中数量
  3711. type: integer
  3712. myOrderDetailPreCount:
  3713. description: 我的订单抢购中数量
  3714. type: integer
  3715. myPackageUnReceiveCount:
  3716. description: 我的包裹待收货数量
  3717. type: integer
  3718. myPackageUnSendCount:
  3719. description: 我的包裹待发货数量
  3720. type: integer
  3721. myPayOrderCount:
  3722. description: 我的订单待付款数量
  3723. type: integer
  3724. type: object
  3725. hsby.QueryProvincesAndCitiesRsp:
  3726. properties:
  3727. cities:
  3728. description: 市
  3729. items:
  3730. $ref: '#/definitions/models.Division'
  3731. type: array
  3732. province:
  3733. $ref: '#/definitions/models.Division'
  3734. description: 省
  3735. type: object
  3736. models.Arearole:
  3737. properties:
  3738. createtime:
  3739. description: 创建时间
  3740. type: string
  3741. creatorid:
  3742. description: 创建人ID
  3743. type: integer
  3744. fromuserid:
  3745. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3746. type: integer
  3747. isreturnscore:
  3748. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3749. type: integer
  3750. modifierid:
  3751. description: 修改人ID
  3752. type: integer
  3753. modifytime:
  3754. description: 修改时间
  3755. type: string
  3756. orgtype:
  3757. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3758. type: integer
  3759. outuserid:
  3760. description: 外部账户[场外期权做市商]
  3761. type: string
  3762. parentuserid:
  3763. description: 上级组织机构(组织机构)
  3764. type: integer
  3765. roletype:
  3766. 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:门店
  3767. type: integer
  3768. rootuserid:
  3769. description: 顶级组织机构用户ID(组织机构)
  3770. type: integer
  3771. shoppassword:
  3772. description: 商城店铺登陆密码(商城店铺角色使用)
  3773. type: string
  3774. sublevelpath:
  3775. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3776. type: string
  3777. suborgtype:
  3778. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3779. type: integer
  3780. tradeaccountid:
  3781. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3782. type: integer
  3783. transurl:
  3784. description: 物流地址(物流机构)
  3785. type: string
  3786. userid:
  3787. description: 机构用户ID其他做市关系,都设置为 1
  3788. type: integer
  3789. required:
  3790. - roletype
  3791. - userid
  3792. type: object
  3793. models.Clientfixedadconfig:
  3794. properties:
  3795. adsort:
  3796. description: 排序
  3797. type: integer
  3798. adtype:
  3799. description: 广告位类型 - 1:新品抢购(HSBY)
  3800. type: integer
  3801. areauserid:
  3802. description: 所属机构ID
  3803. type: integer
  3804. createdate:
  3805. description: 创建时间
  3806. type: string
  3807. creatorid:
  3808. description: 创建人
  3809. type: integer
  3810. imagepath:
  3811. description: 图片
  3812. type: string
  3813. isshow:
  3814. description: 是否展示 - 0:不展示 1:展示
  3815. type: integer
  3816. modifierid:
  3817. description: 操作人
  3818. type: integer
  3819. recsize:
  3820. description: 推荐尺寸
  3821. type: string
  3822. title:
  3823. description: 标题
  3824. type: string
  3825. updatedate:
  3826. description: 更新时间
  3827. type: string
  3828. urlcontent:
  3829. description: 链接(地址或商品ID)
  3830. type: string
  3831. urltype:
  3832. description: 链接类型 - 1:直接地址 2:商品ID
  3833. type: integer
  3834. required:
  3835. - adsort
  3836. - adtype
  3837. type: object
  3838. models.Division:
  3839. properties:
  3840. autoid:
  3841. description: 自增ID
  3842. type: integer
  3843. divisioncode:
  3844. description: 行政代码
  3845. type: string
  3846. divisionlevel:
  3847. description: 行政级别
  3848. type: string
  3849. divisionname:
  3850. description: 行政名称
  3851. type: string
  3852. modifierid:
  3853. description: 修改人
  3854. type: integer
  3855. modifytime:
  3856. description: 修改时间
  3857. type: string
  3858. parentcode:
  3859. description: 上级行政代码
  3860. type: string
  3861. pathname:
  3862. description: 路径名称
  3863. type: string
  3864. postcode:
  3865. description: 邮政编码
  3866. type: string
  3867. separablename:
  3868. description: 可拆分的全称
  3869. type: string
  3870. shortcode:
  3871. description: 地区简码
  3872. type: string
  3873. required:
  3874. - autoid
  3875. - divisioncode
  3876. type: object
  3877. models.Enumdicitem:
  3878. properties:
  3879. autoid:
  3880. description: 自增ID
  3881. type: integer
  3882. bankmappedvalue:
  3883. description: 银行服务对应值
  3884. type: string
  3885. enumdiccode:
  3886. description: 所属枚举代码
  3887. type: string
  3888. enumdicid:
  3889. description: 所属枚举ID
  3890. type: integer
  3891. enumdicname:
  3892. description: 枚举项名称
  3893. type: string
  3894. enumitemname:
  3895. description: 枚举项值
  3896. type: integer
  3897. enumitemstatus:
  3898. description: 枚举项状态 - 1.启用 2.不启用
  3899. type: integer
  3900. enumitemvalue:
  3901. description: 通用值 - [币种通用简写]
  3902. type: string
  3903. param1:
  3904. description: 参数1[币种:币种小数位]
  3905. type: string
  3906. param2:
  3907. description: 参数1[币种:币种显示单位]
  3908. type: string
  3909. remark:
  3910. description: 备注
  3911. type: string
  3912. required:
  3913. - autoid
  3914. - enumdiccode
  3915. - enumdicid
  3916. - enumitemname
  3917. type: object
  3918. models.Ermcp3AreaSpot:
  3919. properties:
  3920. areauserid:
  3921. description: 所属机构
  3922. type: integer
  3923. convertratio:
  3924. description: 套保系数
  3925. type: number
  3926. decreaseqty:
  3927. description: 减少数量=-(销售已定价数量+采购计划数量)
  3928. type: number
  3929. enumdicname:
  3930. description: 单位名称
  3931. type: string
  3932. increaseqty:
  3933. description: 增加数量=销售计划数量+采购已定价数量
  3934. type: number
  3935. oritoalspotqty:
  3936. description: 昨日数量
  3937. type: number
  3938. totalspotqty:
  3939. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3940. type: number
  3941. unitid:
  3942. description: 现货商品单位id
  3943. type: integer
  3944. updatetime:
  3945. description: 更新时间
  3946. type: string
  3947. wrstandardcode:
  3948. description: 现货商品代码
  3949. type: string
  3950. wrstandardid:
  3951. description: 现货商品ID(SEQ_WRSTANDARD)
  3952. type: integer
  3953. wrstandardname:
  3954. description: 现货商品名称
  3955. type: string
  3956. type: object
  3957. models.Ermcp3AreaSpotDetail:
  3958. properties:
  3959. contracttype:
  3960. description: 合同类型 1-采购 -1-销售
  3961. type: integer
  3962. createtime:
  3963. description: 创建时间
  3964. type: string
  3965. enumdicname:
  3966. description: 现货商品单位名称
  3967. type: string
  3968. logtype:
  3969. description: 记录类型 1-套保 2-现货合同
  3970. type: integer
  3971. qty:
  3972. description: 数量
  3973. type: number
  3974. recordname:
  3975. description: 类型名称
  3976. type: string
  3977. relatedid:
  3978. description: 套保计划ID/现货合同ID
  3979. type: string
  3980. relatedno:
  3981. description: 编号
  3982. type: string
  3983. strtime:
  3984. description: 时间
  3985. type: string
  3986. wrstandardcode:
  3987. description: 现货商品代码
  3988. type: string
  3989. wrstandardid:
  3990. description: 现货商品ID(SEQ_WRSTANDARD)
  3991. type: integer
  3992. wrstandardname:
  3993. description: 现货商品名称
  3994. type: string
  3995. type: object
  3996. models.Ermcp3AreaSpotPLReport:
  3997. properties:
  3998. accountid:
  3999. description: 期货账户ID (作废, 默认为0)
  4000. type: integer
  4001. accountname:
  4002. description: 机构名称
  4003. type: string
  4004. actualpl:
  4005. description: 现货损益
  4006. type: number
  4007. areauserid:
  4008. description: 所属机构\交易用户ID
  4009. type: integer
  4010. begindate:
  4011. description: 开始交易日
  4012. type: string
  4013. biztype:
  4014. description: 业务类型 - 1:套保 2:套利
  4015. type: integer
  4016. brandname:
  4017. description: 品牌名称
  4018. type: string
  4019. curamount:
  4020. description: 期末额
  4021. type: number
  4022. curaverageprice:
  4023. description: 期末均价
  4024. type: number
  4025. curbuyamount:
  4026. description: 期末采购总额
  4027. type: number
  4028. curbuyqty:
  4029. description: 期末采购总量
  4030. type: number
  4031. curmarketvalue:
  4032. description: 参考市值(期末市值)
  4033. type: number
  4034. curqty:
  4035. description: 期末量
  4036. type: number
  4037. currencyid:
  4038. description: 结算币种ID【原值】
  4039. type: integer
  4040. currencyname:
  4041. description: 币种名称
  4042. type: string
  4043. cursellamount:
  4044. description: 期末销售总额
  4045. type: number
  4046. cursellqty:
  4047. description: 期末销售总量
  4048. type: number
  4049. curspotprice:
  4050. description: 参考市价(最新价)
  4051. type: number
  4052. cycletime:
  4053. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4054. type: string
  4055. cycletype:
  4056. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4057. type: integer
  4058. deliverygoodscode:
  4059. description: 现货商品代码
  4060. type: string
  4061. deliverygoodsid:
  4062. description: 现货品种ID
  4063. type: integer
  4064. deliverygoodsname:
  4065. description: 现货商品名称
  4066. type: string
  4067. enddate:
  4068. description: 结束交易日
  4069. type: string
  4070. enumdicname:
  4071. description: 现货商品单位名称
  4072. type: string
  4073. floatpl:
  4074. description: 浮动损益
  4075. type: number
  4076. goodsunitid:
  4077. description: 现货商品单位id
  4078. type: integer
  4079. oriamount:
  4080. description: 期初额
  4081. type: number
  4082. oriaverageprice:
  4083. description: 期初均价
  4084. type: number
  4085. oribuyamount:
  4086. description: 期初采购总额
  4087. type: number
  4088. oribuyqty:
  4089. description: 期初采购总量
  4090. type: number
  4091. oriqty:
  4092. description: 期初量
  4093. type: number
  4094. orisellamount:
  4095. description: 期初销售总额
  4096. type: number
  4097. orisellqty:
  4098. description: 期初销售总量
  4099. type: number
  4100. reckondate:
  4101. description: 日照时期(yyyyMMdd)
  4102. type: string
  4103. spotgoodsbrandid:
  4104. description: 现货品牌ID
  4105. type: integer
  4106. todaybuyamount:
  4107. description: 今日采购额(今采购额)
  4108. type: number
  4109. todaybuyaverageprice:
  4110. description: 今日采购均价
  4111. type: number
  4112. todaybuyqty:
  4113. description: 今日采购量(今采购量)
  4114. type: number
  4115. todayinqty:
  4116. description: 今日入库量(今入库量)
  4117. type: number
  4118. todayoutqty:
  4119. description: 今日出库量(今出库量)
  4120. type: number
  4121. todaysellamount:
  4122. description: 今日销售额(今销售额)
  4123. type: number
  4124. todaysellaverageprice:
  4125. description: 今日销售均价
  4126. type: number
  4127. todaysellqty:
  4128. description: 今日销售量(今销售量)
  4129. type: number
  4130. unitid:
  4131. description: 品类单位id
  4132. type: integer
  4133. unitidname:
  4134. description: 品类单位名称
  4135. type: string
  4136. updatetime:
  4137. description: 更新时间
  4138. type: string
  4139. wrfactortypeid:
  4140. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4141. type: integer
  4142. wrstandardcode:
  4143. description: 品类代码
  4144. type: string
  4145. wrstandardid:
  4146. description: 现货品类ID
  4147. type: integer
  4148. wrstandardname:
  4149. description: 品类名称
  4150. type: string
  4151. type: object
  4152. models.Ermcp3AreaStock:
  4153. properties:
  4154. brandname:
  4155. description: 品牌名称
  4156. type: string
  4157. curstock:
  4158. description: 期末库存量(今日量)
  4159. type: number
  4160. deliverygoodscode:
  4161. description: 现货品种代码
  4162. type: string
  4163. deliverygoodsid:
  4164. description: 现货品种id
  4165. type: integer
  4166. deliverygoodsname:
  4167. description: 现货品种名称
  4168. type: string
  4169. enumdicname:
  4170. description: 单位名称
  4171. type: string
  4172. goodsunitid:
  4173. description: 现货商品单位id
  4174. type: integer
  4175. oristock:
  4176. description: 期初库存量(昨日量)
  4177. type: number
  4178. spotgoodsbrandid:
  4179. description: 现货品牌ID
  4180. type: integer
  4181. todaybuyinqty:
  4182. description: 今日采购入库量
  4183. type: number
  4184. todayproduceinqty:
  4185. description: 今日生产入库量
  4186. type: number
  4187. todayproduceoutqty:
  4188. description: 今日生产出库量
  4189. type: number
  4190. todayselloutqty:
  4191. description: 今日销售出库量
  4192. type: number
  4193. unitid:
  4194. description: 单位id
  4195. type: integer
  4196. updatetime:
  4197. description: 更新时间
  4198. type: string
  4199. userid:
  4200. description: 机构ID
  4201. type: integer
  4202. username:
  4203. description: 机构名称
  4204. type: string
  4205. warehousecode:
  4206. description: 仓库代码
  4207. type: string
  4208. warehouseinfoid:
  4209. description: 仓库ID
  4210. type: string
  4211. warehousename:
  4212. description: 仓库名称
  4213. type: string
  4214. warehousetype:
  4215. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4216. type: integer
  4217. wrstandardcode:
  4218. description: 品类代码
  4219. type: string
  4220. wrstandardid:
  4221. description: 品类ID
  4222. type: string
  4223. wrstandardname:
  4224. description: 品类名称
  4225. type: string
  4226. required:
  4227. - userid
  4228. type: object
  4229. models.Ermcp3AreaStockApply:
  4230. properties:
  4231. applyid:
  4232. description: 申请人
  4233. type: integer
  4234. applyname:
  4235. description: 申请人名称
  4236. type: string
  4237. applyremark:
  4238. description: 申请备注
  4239. type: string
  4240. applysrc:
  4241. description: 申请来源 - 1:管理端 2:终端
  4242. type: integer
  4243. applystatus:
  4244. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4245. type: integer
  4246. applytime:
  4247. description: 申请时间
  4248. type: string
  4249. auditid:
  4250. description: 审核人
  4251. type: integer
  4252. auditname:
  4253. description: 审核人名称
  4254. type: string
  4255. auditremark:
  4256. description: 审核备注
  4257. type: string
  4258. auditsrc:
  4259. description: 审核来源 - 1:管理端 2:终端
  4260. type: integer
  4261. audittime:
  4262. description: 审核时间
  4263. type: string
  4264. audittradedate:
  4265. description: 审核交易日(yyyyMMdd)
  4266. type: string
  4267. brandname:
  4268. description: 品牌名称
  4269. type: string
  4270. buynickname:
  4271. description: 采购方昵称
  4272. type: string
  4273. buyuserid:
  4274. description: 采购方userid
  4275. type: integer
  4276. buyusername:
  4277. description: 采购方名称
  4278. type: string
  4279. contractno:
  4280. description: 合同编号
  4281. type: string
  4282. contractqty:
  4283. description: 合同量
  4284. type: number
  4285. contracttype:
  4286. description: 现货合同类型 - 1:采购 -1:销售
  4287. type: integer
  4288. deliverygoodscode:
  4289. description: 现货品种代码
  4290. type: string
  4291. deliverygoodsid:
  4292. description: 现货品种id
  4293. type: integer
  4294. deliverygoodsname:
  4295. description: 现货品种名称
  4296. type: string
  4297. detailjson:
  4298. description: 明细数据
  4299. type: string
  4300. enumdicname:
  4301. description: 现货商品单位名称
  4302. type: string
  4303. inoutapplyid:
  4304. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4305. type: string
  4306. inouttype:
  4307. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4308. type: integer
  4309. pricetype:
  4310. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4311. type: integer
  4312. qty:
  4313. description: 数量
  4314. type: number
  4315. sellnickname:
  4316. description: 销售方昵称
  4317. type: string
  4318. selluserid:
  4319. description: 销售方userid
  4320. type: integer
  4321. sellusername:
  4322. description: 销售方名称
  4323. type: string
  4324. spotcontractid:
  4325. description: 关联现货合同ID
  4326. type: string
  4327. spotgoodsbrandid:
  4328. description: 现货品牌ID
  4329. type: integer
  4330. unitid:
  4331. description: 单位id
  4332. type: integer
  4333. userid:
  4334. description: 机构ID
  4335. type: integer
  4336. warehousecode:
  4337. description: 仓库代码
  4338. type: string
  4339. warehouseinfoid:
  4340. description: 现货仓库ID
  4341. type: string
  4342. warehousename:
  4343. description: 仓库名称
  4344. type: string
  4345. warehousetype:
  4346. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4347. type: integer
  4348. wrstandardcode:
  4349. description: 品类代码
  4350. type: string
  4351. wrstandardid:
  4352. description: 品类ID
  4353. type: integer
  4354. wrstandardname:
  4355. description: 品类名称
  4356. type: string
  4357. type: object
  4358. models.Ermcp3AreaStockApplySum:
  4359. properties:
  4360. brandname:
  4361. description: 品牌名称
  4362. type: string
  4363. inouttype:
  4364. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4365. type: integer
  4366. spotcontractid:
  4367. description: 关联现货合同ID
  4368. type: string
  4369. spotgoodsbrandid:
  4370. description: 品牌id
  4371. type: integer
  4372. totalqty:
  4373. description: 总数量
  4374. type: number
  4375. wrstandardid:
  4376. description: 品类id
  4377. type: integer
  4378. wrstandardname:
  4379. description: 品类名称
  4380. type: string
  4381. type: object
  4382. models.Ermcp3AreaStockReportEx:
  4383. properties:
  4384. begindate:
  4385. description: 开始交易日
  4386. type: string
  4387. brandname:
  4388. description: 品牌名称
  4389. type: string
  4390. curstock:
  4391. description: 期末库存量
  4392. type: number
  4393. cycletime:
  4394. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4395. type: string
  4396. cycletype:
  4397. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4398. type: integer
  4399. deliverygoodscode:
  4400. description: 现货品种代码
  4401. type: string
  4402. deliverygoodsid:
  4403. description: 现货品种id
  4404. type: integer
  4405. deliverygoodsname:
  4406. description: 现货品种名称
  4407. type: string
  4408. diffqty:
  4409. description: 库存变化量 = 期末 - 期初
  4410. type: number
  4411. enddate:
  4412. description: 结束交易日
  4413. type: string
  4414. enumdicname:
  4415. description: 单位名称
  4416. type: string
  4417. goodsunitid:
  4418. description: 现货单位id
  4419. type: integer
  4420. oristock:
  4421. description: 期初库存量
  4422. type: number
  4423. reckondate:
  4424. description: 日照时期(yyyyMMdd)
  4425. type: string
  4426. spotgoodsbrandid:
  4427. description: 现货品牌ID
  4428. type: integer
  4429. todaybuyinqty:
  4430. description: 今采购入库量
  4431. type: number
  4432. todayproduceinqty:
  4433. description: 今内部入库量
  4434. type: number
  4435. todayproduceoutqty:
  4436. description: 今内部出库量
  4437. type: number
  4438. todayselloutqty:
  4439. description: 今销售出库量
  4440. type: number
  4441. unbuyinqty:
  4442. description: 采购未入库量(数据库未找到相关字段?)
  4443. type: number
  4444. unitid:
  4445. description: 品类单位id
  4446. type: integer
  4447. unselloutqty:
  4448. description: 销售未出库量(数据库未找到相关字段?)
  4449. type: number
  4450. updatetime:
  4451. description: 更新时间
  4452. type: string
  4453. userid:
  4454. description: 机构ID
  4455. type: integer
  4456. username:
  4457. description: 机构名称
  4458. type: string
  4459. warehousecode:
  4460. description: 仓库代码
  4461. type: string
  4462. warehouseinfoid:
  4463. description: 仓库ID
  4464. type: string
  4465. warehousename:
  4466. description: 仓库名称
  4467. type: string
  4468. warehousetype:
  4469. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4470. type: integer
  4471. wrstandardcode:
  4472. description: 品类代码
  4473. type: string
  4474. wrstandardid:
  4475. description: 品类ID
  4476. type: integer
  4477. wrstandardname:
  4478. description: 品类名称
  4479. type: string
  4480. type: object
  4481. models.Ermcp3ArealSumPL:
  4482. properties:
  4483. accountname:
  4484. description: 机构名称
  4485. type: string
  4486. areauserid:
  4487. description: 所属机构\交易用户ID
  4488. type: integer
  4489. begindate:
  4490. description: 开始交易日
  4491. type: string
  4492. currencyid:
  4493. description: 结算币种ID
  4494. type: integer
  4495. currencyname:
  4496. description: 币种名称
  4497. type: string
  4498. cycletime:
  4499. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4500. type: string
  4501. cycletype:
  4502. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4503. type: integer
  4504. enddate:
  4505. description: 结束交易日
  4506. type: string
  4507. enumdicname:
  4508. description: 单位名称(套保品种)
  4509. type: string
  4510. futureactualpl:
  4511. description: 期货损益
  4512. type: number
  4513. futurefloatpl:
  4514. description: 期货浮动损益
  4515. type: number
  4516. futurespotratio:
  4517. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4518. type: number
  4519. goodsunitid:
  4520. description: 套保品种单位id
  4521. type: integer
  4522. hedgeexposurepl:
  4523. description: 套保敞口损益
  4524. type: number
  4525. middlegoodscode:
  4526. description: 套保品种代码
  4527. type: string
  4528. middlegoodsid:
  4529. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4530. type: integer
  4531. middlegoodsname:
  4532. description: 套保品种名称
  4533. type: string
  4534. reckondate:
  4535. description: 日照时期(yyyyMMdd)
  4536. type: string
  4537. spotactualpl:
  4538. description: 现货损益
  4539. type: number
  4540. spotfloatpl:
  4541. description: 现货浮动损益
  4542. type: number
  4543. sumactualpl:
  4544. description: 实际损益 = (ActualPL + FutureActualPL)
  4545. type: number
  4546. sumpl:
  4547. description: 总敞口损益 | 汇总损益
  4548. type: number
  4549. totalfutureqty:
  4550. description: 期货头寸总量
  4551. type: number
  4552. totalneedhedgeqty:
  4553. description: 应套保总量
  4554. type: number
  4555. totalspotqty:
  4556. description: 现货头寸总量
  4557. type: number
  4558. updatetime:
  4559. description: 更新时间
  4560. type: string
  4561. type: object
  4562. models.Ermcp3Brand:
  4563. properties:
  4564. areauserid:
  4565. description: 用户id
  4566. type: integer
  4567. brandid:
  4568. description: 品牌id
  4569. type: integer
  4570. brandname:
  4571. description: 品牌名称
  4572. type: string
  4573. deliverygoodsid:
  4574. description: 品种ID
  4575. type: integer
  4576. isvalid:
  4577. description: 是否有效
  4578. type: integer
  4579. type: object
  4580. models.Ermcp3Contract:
  4581. properties:
  4582. accountid:
  4583. description: 期货账户id
  4584. type: string
  4585. amount:
  4586. description: 金额 [1:一口价、3:暂定价]
  4587. type: number
  4588. attachment:
  4589. description: 附件
  4590. type: string
  4591. auditremark:
  4592. description: 审核意见
  4593. type: string
  4594. audittime:
  4595. description: 审核时间
  4596. type: string
  4597. biztype:
  4598. description: 业务类型 1-套保 2-套利
  4599. type: integer
  4600. brandname:
  4601. description: 品牌名称
  4602. type: string
  4603. buynickname:
  4604. description: 销售方昵称
  4605. type: string
  4606. buyuserid:
  4607. description: 采购方ID
  4608. type: integer
  4609. buyusername:
  4610. description: 采购方名称
  4611. type: string
  4612. contracctstatus:
  4613. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4614. type: integer
  4615. contractmargin:
  4616. description: 合同保证金
  4617. type: number
  4618. contractno:
  4619. description: 现货合同编号
  4620. type: string
  4621. contracttype:
  4622. description: 现货合同类型 - 1:采购 -1:销售
  4623. type: integer
  4624. convertfactor:
  4625. description: 标仓系数(品类)
  4626. type: number
  4627. createtime:
  4628. description: 创建时间
  4629. type: string
  4630. currencyid:
  4631. description: 币种id
  4632. type: integer
  4633. currencyname:
  4634. description: 币种名称
  4635. type: string
  4636. deliveryenddate:
  4637. description: 交收期(结束)
  4638. type: string
  4639. deliverygoodscode:
  4640. description: 现货品种代码
  4641. type: string
  4642. deliverygoodsid:
  4643. description: 现货品种ID
  4644. type: integer
  4645. deliverygoodsname:
  4646. description: 现货品种名称
  4647. type: string
  4648. deliverystartdate:
  4649. description: 交收期(开始)
  4650. type: string
  4651. enddate:
  4652. description: 点价结束日期 [2:点价 3:暂定价]
  4653. type: string
  4654. enumdicname:
  4655. description: 单位名称
  4656. type: string
  4657. goodscode:
  4658. description: 点价合约代码
  4659. type: string
  4660. goodsid:
  4661. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4662. type: integer
  4663. goodsname:
  4664. description: 点价商品名称
  4665. type: string
  4666. margin:
  4667. description: 当前保证金
  4668. type: number
  4669. meruserid:
  4670. description: 跟单员id
  4671. type: integer
  4672. meruserlogincode:
  4673. description: 跟单员登录代码
  4674. type: string
  4675. merusername:
  4676. description: 跟单员名称
  4677. type: string
  4678. price:
  4679. description: 价格\暂定价 [1:一口价、3:暂定价]
  4680. type: number
  4681. pricemove:
  4682. description: 升贴水 [2:点价 3:暂定价]
  4683. type: number
  4684. pricetype:
  4685. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4686. type: integer
  4687. producttype:
  4688. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4689. type: integer
  4690. qty:
  4691. description: 数量
  4692. type: number
  4693. remark:
  4694. description: 备注
  4695. type: string
  4696. saleuserid:
  4697. description: 业务员id
  4698. type: integer
  4699. saleuserlogincode:
  4700. description: 业务员登录代码
  4701. type: string
  4702. saleusername:
  4703. description: 业务员名称
  4704. type: string
  4705. sellnickname:
  4706. description: 采购方昵称
  4707. type: string
  4708. selluserid:
  4709. description: 销售方ID
  4710. type: integer
  4711. sellusername:
  4712. description: 销售方名称
  4713. type: string
  4714. spotcontractid:
  4715. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4716. type: string
  4717. spotgoodsbrandid:
  4718. description: 现货品牌ID(DGFactoryItem表的ID)
  4719. type: integer
  4720. spotgoodsdesc:
  4721. description: 商品型号
  4722. type: string
  4723. startdate:
  4724. description: 点价开始日期 [2:点价 3:暂定价]
  4725. type: string
  4726. subjectid:
  4727. description: 交易主体ID
  4728. type: string
  4729. subjectname:
  4730. description: 交易主体名称
  4731. type: string
  4732. tradeuserid:
  4733. description: 交易员id
  4734. type: integer
  4735. tradeuserlogincode:
  4736. description: 交易员登录代码
  4737. type: string
  4738. tradeusername:
  4739. description: 交易员名称
  4740. type: string
  4741. unitid:
  4742. description: 单位id(取品类上的单位id)
  4743. type: integer
  4744. updatetime:
  4745. description: 更新时间
  4746. type: string
  4747. userid:
  4748. description: 所属机构ID
  4749. type: integer
  4750. vatrate:
  4751. description: 增值税率
  4752. type: number
  4753. wrstandardcode:
  4754. description: 品类代码
  4755. type: string
  4756. wrstandardid:
  4757. description: 品类ID
  4758. type: integer
  4759. wrstandardname:
  4760. description: 品类名称
  4761. type: string
  4762. type: object
  4763. models.Ermcp3ExposureContractDetail:
  4764. properties:
  4765. biztype:
  4766. description: 业务类型 1-套保 2-套利
  4767. type: integer
  4768. brandname:
  4769. description: 品牌名称
  4770. type: string
  4771. buyuserid:
  4772. description: 采购方id
  4773. type: integer
  4774. buyusername:
  4775. description: 采购方名称
  4776. type: string
  4777. contractno:
  4778. description: 合同编号
  4779. type: string
  4780. contracttype:
  4781. description: 现货合同类型 - 1:采购 -1:销售
  4782. type: integer
  4783. convertfactor:
  4784. description: 标仓系数
  4785. type: number
  4786. convertratio:
  4787. description: 折算系数(套保品种)
  4788. type: number
  4789. curqty:
  4790. description: 今定价量
  4791. type: number
  4792. deliverygoodscode:
  4793. description: 现货商品代码
  4794. type: string
  4795. deliverygoodsid:
  4796. description: 现货商品id
  4797. type: integer
  4798. deliverygoodsname:
  4799. description: 现货商品名称
  4800. type: string
  4801. diffhedgeqty:
  4802. description: 套保变动量
  4803. type: number
  4804. diffneedhedgeqty:
  4805. description: 应套保变动量
  4806. type: number
  4807. diffqty:
  4808. description: 套保品种今变动量
  4809. type: number
  4810. enumdicname:
  4811. description: 单位名称
  4812. type: string
  4813. mgunitname:
  4814. description: 套保品种单位名称
  4815. type: string
  4816. middlegoodscode:
  4817. description: 套保品种代码
  4818. type: string
  4819. middlegoodsid:
  4820. description: 套保品种id
  4821. type: integer
  4822. middlegoodsname:
  4823. description: 套保品种名称
  4824. type: string
  4825. needarbitrageratio:
  4826. description: 应套利比例
  4827. type: number
  4828. needhedgeratio:
  4829. description: 应套保比例
  4830. type: number
  4831. pricedqty:
  4832. description: 已定价量
  4833. type: number
  4834. qty:
  4835. description: 合同量
  4836. type: number
  4837. selluserid:
  4838. description: 销售方id
  4839. type: integer
  4840. sellusername:
  4841. description: 销售方名称
  4842. type: string
  4843. spotcontractid:
  4844. description: 合同id
  4845. type: string
  4846. todaypricedqty:
  4847. description: 今定价量
  4848. type: number
  4849. tradedate:
  4850. description: 交易日
  4851. type: string
  4852. unitid:
  4853. description: 品类单位id
  4854. type: integer
  4855. userid:
  4856. description: 机构id
  4857. type: integer
  4858. username:
  4859. description: 交易用户
  4860. type: string
  4861. wrstandardcode:
  4862. description: 品类代码
  4863. type: string
  4864. wrstandardid:
  4865. description: 品类id
  4866. type: integer
  4867. wrstandardname:
  4868. description: 品类名称
  4869. type: string
  4870. type: object
  4871. models.Ermcp3ExposureDetail:
  4872. properties:
  4873. areauserid:
  4874. description: 机构ID
  4875. type: integer
  4876. changeQty:
  4877. description: 套保变动量
  4878. type: number
  4879. contracttype:
  4880. description: 现货合同类型 - 1:采购 -1:销售
  4881. type: integer
  4882. convertfactor:
  4883. description: 标仓系数
  4884. type: number
  4885. convertratio:
  4886. description: 折算系数
  4887. type: number
  4888. createtime:
  4889. description: 时间
  4890. type: string
  4891. enumdicname:
  4892. description: 现货商品单位名称
  4893. type: string
  4894. logtype:
  4895. description: 类型 - 1:套保计划 2:现货合同
  4896. type: integer
  4897. mgunitid:
  4898. description: 套保品种单位id
  4899. type: integer
  4900. mgunitidname:
  4901. description: 套保品种单位名称
  4902. type: string
  4903. middlegoodsId:
  4904. description: 套保商品id
  4905. type: integer
  4906. middlegoodscode:
  4907. description: 套保商品代码
  4908. type: string
  4909. middlegoodsname:
  4910. description: 套保商品名称
  4911. type: string
  4912. qty:
  4913. description: 数量
  4914. type: number
  4915. relateNo:
  4916. description: 现货合同/套保计划编号
  4917. type: string
  4918. unitid:
  4919. description: 现货商品单位id
  4920. type: integer
  4921. wrstandardcode:
  4922. description: 现货商品代码
  4923. type: string
  4924. wrstandardid:
  4925. description: 现货商品ID(SEQ_WRSTANDARD)
  4926. type: integer
  4927. wrstandardname:
  4928. description: 现货商品名称
  4929. type: string
  4930. type: object
  4931. models.Ermcp3ExposureFutuDetail:
  4932. properties:
  4933. accountid:
  4934. description: 交易账户id
  4935. type: integer
  4936. accountname:
  4937. description: 交易账户
  4938. type: string
  4939. begindate:
  4940. description: 开始交易日
  4941. type: string
  4942. buyorsell:
  4943. description: 方向 0-买 1-卖
  4944. type: integer
  4945. diffmgqty:
  4946. description: 套保品种今变化量
  4947. type: number
  4948. diffneedqty:
  4949. description: 应套保总量变化量
  4950. type: number
  4951. difftradeqty:
  4952. description: 交易品种今变化量
  4953. type: number
  4954. enddate:
  4955. description: 结束交易日
  4956. type: string
  4957. enumdicname:
  4958. description: 单位名称
  4959. type: string
  4960. goodscode:
  4961. description: 商品代码
  4962. type: string
  4963. goodsid:
  4964. description: 商品id
  4965. type: integer
  4966. goodsname:
  4967. description: 商品名称
  4968. type: string
  4969. holdqty:
  4970. description: 期末持仓量
  4971. type: number
  4972. middlegoodscode:
  4973. description: 套保商品代码
  4974. type: string
  4975. middlegoodsid:
  4976. description: 套保商品id
  4977. type: integer
  4978. middlegoodsname:
  4979. description: 套保商品名称
  4980. type: string
  4981. oriholdqty:
  4982. description: 期初持仓量
  4983. type: number
  4984. todaycloseqty:
  4985. description: 今平仓量
  4986. type: number
  4987. todayopenqty:
  4988. description: 今开仓量
  4989. type: number
  4990. tradedate:
  4991. description: 交易日
  4992. type: string
  4993. type: object
  4994. models.Ermcp3ExposureHedgeplanDetail:
  4995. properties:
  4996. biztype:
  4997. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4998. type: integer
  4999. changqty:
  5000. description: 应套保总量变化量
  5001. type: number
  5002. contracttype:
  5003. description: 计划类型 - 1:采购 -1:销售
  5004. type: integer
  5005. convertratio:
  5006. description: 折算系数(套保品种)
  5007. type: number
  5008. deliverygoodscode:
  5009. description: 现货商品代码
  5010. type: string
  5011. deliverygoodsid:
  5012. description: 现货商品id
  5013. type: integer
  5014. deliverygoodsname:
  5015. description: 现货商吕名称
  5016. type: string
  5017. dgunitid:
  5018. description: 现货商品单位id
  5019. type: integer
  5020. dgunitidname:
  5021. description: 单位名称(现货商品)
  5022. type: string
  5023. diffqty:
  5024. description: 套保品种今变动量
  5025. type: number
  5026. enumdicname:
  5027. description: 单位名称(品类)
  5028. type: string
  5029. hedgeplanid:
  5030. description: 套保计划id
  5031. type: string
  5032. hedgeplanno:
  5033. description: 套保计划名称
  5034. type: string
  5035. hedgeplanstatus:
  5036. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5037. type: integer
  5038. mgunitidname:
  5039. description: 单位名称(套保商品)
  5040. type: string
  5041. middlegoodscode:
  5042. description: 套保品种代码
  5043. type: string
  5044. middlegoodsid:
  5045. description: 套保品种id
  5046. type: integer
  5047. middlegoodsname:
  5048. description: 套保品种名称
  5049. type: string
  5050. needarbitrageratio:
  5051. description: 应套利比例
  5052. type: number
  5053. needhedgeratio:
  5054. description: 应套保比例
  5055. type: number
  5056. pricedqty:
  5057. description: 已定价量
  5058. type: number
  5059. qty:
  5060. description: 合同量
  5061. type: number
  5062. tradedate:
  5063. description: 交易日(登记日)
  5064. type: string
  5065. unitid:
  5066. description: 品类单位id
  5067. type: integer
  5068. userid:
  5069. description: 机构id
  5070. type: integer
  5071. wrstandardcode:
  5072. description: 品类代码
  5073. type: string
  5074. wrstandardid:
  5075. description: 品类id
  5076. type: integer
  5077. wrstandardname:
  5078. description: 品类名称
  5079. type: string
  5080. type: object
  5081. models.Ermcp3ExposureParamChLog:
  5082. properties:
  5083. accountid:
  5084. description: 期货账户ID (作废, 默认为0)
  5085. type: integer
  5086. aftervalue:
  5087. description: 应套保\套利量变更后(调整后应套保总量)
  5088. type: number
  5089. areauserid:
  5090. description: 所属机构\交易用户ID
  5091. type: integer
  5092. beforevalue:
  5093. description: 应套保\套利量变更前(调整前应套保总量)
  5094. type: number
  5095. begindate:
  5096. description: 开始交易日
  5097. type: string
  5098. changelogtype:
  5099. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5100. type: integer
  5101. curvalue:
  5102. description: 当前套保\套利量(套保总量|套利总量)
  5103. type: number
  5104. diffvalue:
  5105. description: 应套保总量变化量
  5106. type: number
  5107. enddate:
  5108. description: 结束交易日
  5109. type: string
  5110. logdatetime:
  5111. description: 流水日期
  5112. type: string
  5113. logid:
  5114. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5115. type: string
  5116. middlegoodscode:
  5117. description: 套保品种代码
  5118. type: string
  5119. middlegoodsid:
  5120. description: 套保品种
  5121. type: integer
  5122. middlegoodsname:
  5123. description: 套保品种名称
  5124. type: string
  5125. paramaftervalue:
  5126. description: 参数变更后(调整后参数值)
  5127. type: number
  5128. parambeforevalue:
  5129. description: 参数变更前(调整前参数值)
  5130. type: number
  5131. tradedate:
  5132. description: 交易日(yyyyMMdd)
  5133. type: string
  5134. type: object
  5135. models.Ermcp3ExpourseReport:
  5136. properties:
  5137. accountid:
  5138. description: 期货账户ID (作废, 默认为0)
  5139. type: integer
  5140. accountname:
  5141. description: 机构名称
  5142. type: string
  5143. arbitrageqty:
  5144. description: 套利量
  5145. type: number
  5146. areauserid:
  5147. description: 所属机构\交易用户ID
  5148. type: integer
  5149. begindate:
  5150. description: 开始交易日
  5151. type: string
  5152. buyfutureqty:
  5153. description: 买入期货数量
  5154. type: number
  5155. buyplanqty:
  5156. description: 采购计划数量
  5157. type: number
  5158. buypricedqty:
  5159. description: 采购合同已定价数量
  5160. type: number
  5161. cycletime:
  5162. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5163. type: string
  5164. cycletype:
  5165. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5166. type: integer
  5167. diffexposure:
  5168. description: 变动量(套保敞口)
  5169. type: number
  5170. difffutuqty:
  5171. description: 变动量(期货)
  5172. type: number
  5173. diffhedgeqty:
  5174. description: 变动量(现货应套保总量)
  5175. type: number
  5176. diffmgqtya:
  5177. description: 套保变动量
  5178. type: number
  5179. diffmgqtyb:
  5180. description: 套利变动量
  5181. type: number
  5182. diffqty:
  5183. description: 变动量(总敞口)
  5184. type: number
  5185. diffspotqty:
  5186. description: 变动量(现货)
  5187. type: number
  5188. enddate:
  5189. description: 结束交易日
  5190. type: string
  5191. enumdicname:
  5192. description: 单位名称
  5193. type: string
  5194. hedgeqty:
  5195. description: 套保量
  5196. type: number
  5197. mgneedhedgeratio:
  5198. description: 套保比例(套保品的)
  5199. type: number
  5200. middlegoodsid:
  5201. description: 套保品种ID
  5202. type: integer
  5203. middlegoodsname:
  5204. description: 套保商品名称
  5205. type: string
  5206. middlgoodscode:
  5207. description: 套保商品代码
  5208. type: string
  5209. needarbitrageqty:
  5210. description: 应套利量
  5211. type: number
  5212. needarbitrageratio:
  5213. description: 套利比例(套保品的)
  5214. type: number
  5215. needhedgeexposoure:
  5216. description: 应套保敞口(套保敞口)
  5217. type: number
  5218. needhedgeqty:
  5219. description: 应套保量
  5220. type: number
  5221. needhedgeratio:
  5222. description: 应套保敞口比例
  5223. type: number
  5224. oriarbitrageqty:
  5225. description: 期初套利量
  5226. type: number
  5227. oribuyfutureqty:
  5228. description: 期初买入期货数量
  5229. type: number
  5230. oribuyplanqty:
  5231. description: 期初采购计划数量
  5232. type: number
  5233. oribuypricedqty:
  5234. description: 期初采购合同已定价数量
  5235. type: number
  5236. orihedgeqty:
  5237. description: 期初套保量
  5238. type: number
  5239. orineedarbitrageqty:
  5240. description: 期初应套利量
  5241. type: number
  5242. orineedhedgeexposoure:
  5243. description: 期初应套保敞口
  5244. type: number
  5245. orineedhedgeqty:
  5246. description: 期初应套保量
  5247. type: number
  5248. orisellfutureqty:
  5249. description: 期初卖出期货数量
  5250. type: number
  5251. orisellplanqty:
  5252. description: 期初销售计划数量
  5253. type: number
  5254. orisellpricedqty:
  5255. description: 期初销售合同已定价数量
  5256. type: number
  5257. oritotalexposure:
  5258. description: 期初实时总敞口
  5259. type: number
  5260. oritotalfutureqty:
  5261. description: 期初期货头寸总量
  5262. type: number
  5263. oritotalneedhedgeqty:
  5264. description: 期初应套保总量
  5265. type: number
  5266. oritotalspotqty:
  5267. description: 期初现货头寸总量
  5268. type: number
  5269. reckondate:
  5270. description: 日照时期(yyyyMMdd)
  5271. type: string
  5272. sellfutureqty:
  5273. description: 卖出期货数量
  5274. type: number
  5275. sellplanqty:
  5276. description: 销售计划数量
  5277. type: number
  5278. sellpricedqty:
  5279. description: 销售合同已定价数量
  5280. type: number
  5281. totalexposure:
  5282. description: 实时总敞口(总敞口)
  5283. type: number
  5284. totalfutureqty:
  5285. description: 期货头寸总量(期货总量)
  5286. type: number
  5287. totalhedgeratio:
  5288. description: 敞口比例
  5289. type: number
  5290. totalneedhedgeqty:
  5291. description: 应套保总量(现货应套保总量)
  5292. type: number
  5293. totalspotqty:
  5294. description: 现货头寸总量
  5295. type: number
  5296. unitid:
  5297. description: 单位id
  5298. type: integer
  5299. updatetime:
  5300. description: 更新时间
  5301. type: string
  5302. type: object
  5303. models.Ermcp3FinanceReport:
  5304. properties:
  5305. accountname:
  5306. description: 机构名称
  5307. type: string
  5308. areauserid:
  5309. description: 所属机构\交易用户ID
  5310. type: integer
  5311. begindate:
  5312. description: 开始交易日
  5313. type: string
  5314. biztype:
  5315. description: 业务类型 - 1:套保 2:套利
  5316. type: integer
  5317. brandname:
  5318. description: 品牌名称
  5319. type: string
  5320. buypreinvoicedamount:
  5321. description: 采购预收票额(预收票额)
  5322. type: number
  5323. buyprepaidamount:
  5324. description: 采购预付款额(预付货款额)
  5325. type: number
  5326. buytodayinvoiceamount:
  5327. description: 采购今收票额(今收票额)
  5328. type: number
  5329. buytodayrefundamount:
  5330. description: 采购今收退款额(今收退款额)
  5331. type: number
  5332. buytodaysettleamount:
  5333. description: 采购今付款额(今付货款额)
  5334. type: number
  5335. buyuninvoicedamount:
  5336. description: 采购应收票额(应收票额)
  5337. type: number
  5338. buyunpaidamount:
  5339. description: 采购应付款额(应付货款额)
  5340. type: number
  5341. currencyid:
  5342. description: 结算币种ID
  5343. type: integer
  5344. currencyname:
  5345. description: 币种名称
  5346. type: string
  5347. cycletime:
  5348. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5349. type: string
  5350. cycletype:
  5351. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5352. type: integer
  5353. deliverygoodscode:
  5354. description: 现货品种代码
  5355. type: string
  5356. deliverygoodsid:
  5357. description: 现货品种ID
  5358. type: integer
  5359. deliverygoodsname:
  5360. description: 现货品种名称
  5361. type: string
  5362. enddate:
  5363. description: 结束交易日
  5364. type: string
  5365. reckondate:
  5366. description: 日照时期(yyyyMMdd)
  5367. type: string
  5368. sellpreinvoicedamount:
  5369. description: 销售预开票额(预开票额)
  5370. type: number
  5371. sellprepaidamount:
  5372. description: 销售预收款额(预收货款额)
  5373. type: number
  5374. selltodayinvoiceamount:
  5375. description: 销售今开票额(今开票额)
  5376. type: number
  5377. selltodayrefundamount:
  5378. description: 销售今付退款额(今付退款额)
  5379. type: number
  5380. selltodaysettleamount:
  5381. description: 销售今收款额(今收货款额)
  5382. type: number
  5383. selluninvoicedamount:
  5384. description: 销售应开票额(应开票额)
  5385. type: number
  5386. sellunpaidamount:
  5387. description: 销售应收款额(应收货款额)
  5388. type: number
  5389. spotgoodsbrandid:
  5390. description: 现货品牌ID
  5391. type: integer
  5392. todaypaysum:
  5393. description: 今付款合计
  5394. type: number
  5395. todayreceivesum:
  5396. description: 今收款合计
  5397. type: number
  5398. updatetime:
  5399. description: 更新时间
  5400. type: string
  5401. wrfactortypeid:
  5402. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5403. type: integer
  5404. wrstandardcode:
  5405. description: 品类代码
  5406. type: string
  5407. wrstandardid:
  5408. description: 现货商品ID
  5409. type: integer
  5410. wrstandardname:
  5411. description: 品类名称
  5412. type: string
  5413. type: object
  5414. models.Ermcp3GoodsGroup:
  5415. properties:
  5416. agreeunit:
  5417. description: 合约单位
  5418. type: number
  5419. areauserid:
  5420. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5421. type: integer
  5422. canshort:
  5423. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5424. type: integer
  5425. closepricemode:
  5426. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5427. type: integer
  5428. createtime:
  5429. description: 创建时间
  5430. type: string
  5431. creatorid:
  5432. description: 创建人
  5433. type: integer
  5434. currencyid:
  5435. description: 报价货币ID
  5436. type: integer
  5437. decimalplace:
  5438. description: 报价小数位
  5439. type: integer
  5440. enumdicname:
  5441. description: 单位名称
  5442. type: string
  5443. exchangefullname:
  5444. description: 交易所全称
  5445. type: string
  5446. excludecfg:
  5447. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5448. type: integer
  5449. exexchangecode:
  5450. description: 交易所代码
  5451. type: string
  5452. exexchangeid:
  5453. description: 外部交易所ID[通道交易]
  5454. type: integer
  5455. exexchangename:
  5456. description: 交易所名称
  5457. type: string
  5458. goodsgroupid:
  5459. description: 商品组ID(自增ID)
  5460. type: integer
  5461. goodsgroupname:
  5462. description: 商品组名称
  5463. type: string
  5464. goodsgroupstatus:
  5465. description: 商品组状态 - 1:正常 2:注销
  5466. type: integer
  5467. goodunitid:
  5468. description: 报价单位ID
  5469. type: integer
  5470. groupcategroyid:
  5471. description: 品种分类ID
  5472. type: integer
  5473. innerdealmode:
  5474. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5475. type: integer
  5476. marketid:
  5477. description: 所属市场ID
  5478. type: integer
  5479. modifierid:
  5480. description: 修改人
  5481. type: integer
  5482. modifytime:
  5483. description: 修改时间
  5484. type: string
  5485. outerdealmode:
  5486. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5487. type: integer
  5488. outergroupcode:
  5489. description: 外部商品组代码[通道交易]
  5490. type: string
  5491. quoteminunit:
  5492. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5493. type: integer
  5494. quotesourcegroupid:
  5495. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5496. type: integer
  5497. syncgoodsqty:
  5498. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5499. type: integer
  5500. required:
  5501. - areauserid
  5502. type: object
  5503. models.Ermcp3HedgePlan:
  5504. properties:
  5505. accountid:
  5506. description: 资金账号
  5507. type: integer
  5508. areauserid:
  5509. description: 用户ID
  5510. type: integer
  5511. auditid:
  5512. description: 审核id
  5513. type: integer
  5514. auditname:
  5515. description: 审核人名称
  5516. type: string
  5517. auditremark:
  5518. description: 审核备注
  5519. type: string
  5520. auditsrc:
  5521. description: 审核来源 1-管理端 2-终端
  5522. type: integer
  5523. audittime:
  5524. description: 审核时间
  5525. type: string
  5526. contracttype:
  5527. description: 计划类型 - 1:采购 -1:销售
  5528. type: integer
  5529. convertfactor:
  5530. description: 标仓系数
  5531. type: number
  5532. createtime:
  5533. description: 创建时间
  5534. type: string
  5535. currencyid:
  5536. description: 币种id
  5537. type: integer
  5538. currencyname:
  5539. description: 币种名称
  5540. type: string
  5541. deliverygoodscode:
  5542. description: 现货品种代码
  5543. type: string
  5544. deliverygoodsid:
  5545. description: 现货品种ID
  5546. type: integer
  5547. deliverygoodsname:
  5548. description: 现货品种名称
  5549. type: string
  5550. enumdicname:
  5551. description: 单位名称(现货商品)
  5552. type: string
  5553. hedgeplanid:
  5554. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5555. type: string
  5556. hedgeplanno:
  5557. description: 套保计划编号(名称)
  5558. type: string
  5559. hedgeplanstatus:
  5560. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5561. type: integer
  5562. planqty:
  5563. description: 计划数量
  5564. type: number
  5565. plantime:
  5566. description: 计划时间
  5567. type: string
  5568. producttype:
  5569. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5570. type: integer
  5571. remark:
  5572. description: 备注
  5573. type: string
  5574. spotgoodsdesc:
  5575. description: 商品型号
  5576. type: string
  5577. taaccountname:
  5578. description: 资金账号名称
  5579. type: string
  5580. tradeuserid:
  5581. description: 交易用户id
  5582. type: integer
  5583. tradeusername:
  5584. description: 交易用户名称
  5585. type: string
  5586. unitid:
  5587. description: 单位id(现货商品)
  5588. type: integer
  5589. updatetime:
  5590. description: 更新时间
  5591. type: string
  5592. vatrate:
  5593. description: 增值税率
  5594. type: number
  5595. wrstandardcode:
  5596. description: 品类代码
  5597. type: string
  5598. wrstandardid:
  5599. description: 品类id
  5600. type: integer
  5601. wrstandardname:
  5602. description: 品类名称
  5603. type: string
  5604. wrunitid:
  5605. description: 品类单位id
  5606. type: integer
  5607. wrunitidame:
  5608. description: 品类单位名称
  5609. type: string
  5610. type: object
  5611. models.Ermcp3InnerTradeLink:
  5612. properties:
  5613. accountid:
  5614. description: 期货账号代码 | 资金账号ID
  5615. type: integer
  5616. buyorsell:
  5617. description: 方向 - 0:买 1:卖
  5618. type: integer
  5619. channelbuildtype:
  5620. description: 委托单据类型 0:无 1:建仓 2:平仓
  5621. type: integer
  5622. currencyid:
  5623. description: 币种id
  5624. type: integer
  5625. currencyname:
  5626. description: 结算币种 名称
  5627. type: string
  5628. goodscode:
  5629. description: 商品代码
  5630. type: string
  5631. goodsid:
  5632. description: 商品ID
  5633. type: integer
  5634. goodsname:
  5635. description: 商品名称
  5636. type: string
  5637. outtradeid:
  5638. description: 外部成交单号
  5639. type: string
  5640. taname:
  5641. description: 期货账户名称
  5642. type: string
  5643. tradeid:
  5644. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5645. type: string
  5646. tradeprice:
  5647. description: 成交价格
  5648. type: number
  5649. tradeqty:
  5650. description: 期货成交数量
  5651. type: integer
  5652. tradetime:
  5653. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5654. type: string
  5655. username:
  5656. description: 用户名称
  5657. type: string
  5658. type: object
  5659. models.Ermcp3OutTradeLink:
  5660. properties:
  5661. buyorsell:
  5662. description: 买卖方向 - 0:买 1:卖
  5663. type: integer
  5664. channelbuildtype:
  5665. description: 开平标志- 0:无 1:建仓 2:平仓
  5666. type: integer
  5667. currencyname:
  5668. description: 币种名称
  5669. type: string
  5670. exexchangecode:
  5671. description: 交易所代码
  5672. type: string
  5673. exexchangename:
  5674. description: 交易所名称
  5675. type: string
  5676. goodscode:
  5677. description: 合约代码
  5678. type: string
  5679. goodsid:
  5680. description: 合约id
  5681. type: integer
  5682. goodsname:
  5683. description: 合约名称
  5684. type: string
  5685. hasinnerorder:
  5686. description: 是否有内部单关联 - 0:无 1:有
  5687. type: integer
  5688. hedgeaccountcode:
  5689. description: 外部账号 | 对冲账号
  5690. type: string
  5691. outtradeid:
  5692. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5693. type: string
  5694. tradeprice:
  5695. description: 成交价格
  5696. type: number
  5697. tradeqty:
  5698. description: 成交数量
  5699. type: integer
  5700. tradetime:
  5701. description: 成交时间
  5702. type: string
  5703. type: object
  5704. models.Ermcp3PaAreaAuditCfg:
  5705. properties:
  5706. areauserid:
  5707. description: 用户ID
  5708. type: integer
  5709. buyinauditflag:
  5710. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5711. type: integer
  5712. costratioauditflag:
  5713. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5714. type: integer
  5715. customerauditflag:
  5716. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5717. type: integer
  5718. deliveryauditflag:
  5719. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5720. type: integer
  5721. invoiceauditflag:
  5722. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5723. type: integer
  5724. mgneedhedgeratioauditflag:
  5725. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5726. type: integer
  5727. moneyauditflag:
  5728. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5729. type: integer
  5730. operatorid:
  5731. description: 操作人
  5732. type: integer
  5733. operatorsrc:
  5734. description: 操作来源 - 1:管理端 2:终端
  5735. type: integer
  5736. pointpriceauditflag:
  5737. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5738. type: integer
  5739. produceinauditflag:
  5740. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5741. type: integer
  5742. produceoutauditflag:
  5743. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5744. type: integer
  5745. selloutauditflag:
  5746. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5747. type: integer
  5748. sgconvertratioauditflag:
  5749. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5750. type: integer
  5751. sgvtaratioauditflag:
  5752. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5753. type: integer
  5754. spotcontractauditflag:
  5755. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5756. type: integer
  5757. updatetime:
  5758. description: 更新时间
  5759. type: string
  5760. type: object
  5761. models.Ermcp3PaAreaSubject:
  5762. properties:
  5763. areauserid:
  5764. description: 所属机构
  5765. type: integer
  5766. canmodify:
  5767. description: 是否可修改 - 0:否 1:是
  5768. type: integer
  5769. createtime:
  5770. description: 创建时间
  5771. type: string
  5772. creatorid:
  5773. description: 创建人ID
  5774. type: string
  5775. creatorsrc:
  5776. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5777. type: integer
  5778. modifierid:
  5779. description: 修改人
  5780. type: string
  5781. modifiersrc:
  5782. description: 修改人来源 - 1:管理端 2:终端
  5783. type: integer
  5784. modifytime:
  5785. description: 修改时间
  5786. type: string
  5787. parentsubjectid:
  5788. description: 上级主体ID
  5789. type: string
  5790. remark:
  5791. description: 备注
  5792. type: string
  5793. subjectid:
  5794. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5795. type: integer
  5796. subjectname:
  5797. description: 主体名称
  5798. type: string
  5799. subjectstatus:
  5800. description: '主体状态 - 1:正常 2: 停用'
  5801. type: integer
  5802. subjecttype:
  5803. description: 主体类型 - 1:交易主体 2:业务部门
  5804. type: integer
  5805. type: object
  5806. models.Ermcp3PaTradeLink:
  5807. properties:
  5808. accountid:
  5809. description: 期货账户代码 | 账号ID
  5810. type: integer
  5811. agreeunit:
  5812. description: 合约乘数
  5813. type: number
  5814. buyorsell:
  5815. description: 方向 - 0:买 1:卖
  5816. type: integer
  5817. channelbuildtype:
  5818. description: 委托单据类型 0:无 1:建仓 2:平仓
  5819. type: integer
  5820. charge:
  5821. description: 手续费
  5822. type: number
  5823. closepl:
  5824. description: 平仓盈亏
  5825. type: number
  5826. closetype:
  5827. description: 平仓方式 - 0:无 1:平今 2:平昨
  5828. type: integer
  5829. convertratio:
  5830. description: 折算系数
  5831. type: number
  5832. enumdicname:
  5833. description: 单位名称
  5834. type: string
  5835. executeprice:
  5836. description: 执行价 [期权]
  5837. type: integer
  5838. goodscode:
  5839. description: 合约代码
  5840. type: string
  5841. goodsgroupid:
  5842. description: 对冲品种ID[期货合约商品组ID]
  5843. type: integer
  5844. goodsid:
  5845. description: 商品ID
  5846. type: integer
  5847. goodsname:
  5848. description: 合约名称
  5849. type: string
  5850. goodunitid:
  5851. description: 单位id
  5852. type: integer
  5853. hedgeflag:
  5854. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  5855. type: integer
  5856. marketid:
  5857. description: 市场ID
  5858. type: integer
  5859. middlegoodsid:
  5860. description: 套保品种ID
  5861. type: integer
  5862. middlegoodsqty:
  5863. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  5864. type: number
  5865. optioncode:
  5866. description: 期权代码 [期权]
  5867. type: string
  5868. ordertype:
  5869. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  5870. type: integer
  5871. ordertypename:
  5872. description: 订单类型
  5873. type: string
  5874. parentaccountid:
  5875. description: 所属母账户
  5876. type: integer
  5877. premium:
  5878. description: 权利金 [期权]
  5879. type: number
  5880. relatedlot:
  5881. description: 已关联数量(已关联数量手) | db:关联手数
  5882. type: number
  5883. relatedouttradeid:
  5884. description: 关联外部成交单ID
  5885. type: string
  5886. relatedqty:
  5887. description: 关联数量
  5888. type: number
  5889. spotcontractid:
  5890. description: 现货合同ID [4:套期保值\10\11]
  5891. type: string
  5892. taname:
  5893. description: 期货账户名称
  5894. type: string
  5895. tradeamount:
  5896. description: 成交金额(账户)
  5897. type: number
  5898. tradedate:
  5899. description: 交易日(yyyyMMdd)
  5900. type: string
  5901. tradeid:
  5902. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5903. type: string
  5904. tradelot:
  5905. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  5906. type: integer
  5907. tradeprice:
  5908. description: 成交价格
  5909. type: number
  5910. tradetime:
  5911. description: 时间 | db:成交时间
  5912. type: string
  5913. tradetype:
  5914. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  5915. type: integer
  5916. userid:
  5917. description: 所属机构 - 所属母账户的UserID
  5918. type: string
  5919. username:
  5920. description: 用户名称
  5921. type: string
  5922. type: object
  5923. models.Ermcp3ParamChangeApp:
  5924. properties:
  5925. aftervalue:
  5926. description: 变更后
  5927. type: number
  5928. applicationid:
  5929. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  5930. type: string
  5931. applyid:
  5932. description: 申请人
  5933. type: string
  5934. applyname:
  5935. description: 申请人名称(代码)
  5936. type: string
  5937. applyremark:
  5938. description: 申请备注
  5939. type: string
  5940. applysrc:
  5941. description: 申请来源 - 1:管理端 2:终端
  5942. type: integer
  5943. applystatus:
  5944. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5945. type: integer
  5946. applytime:
  5947. description: 申请时间
  5948. type: string
  5949. areauserid:
  5950. description: 所属机构用户ID
  5951. type: integer
  5952. auditid:
  5953. description: 审核人
  5954. type: string
  5955. auditname:
  5956. description: 审核人名称(代码)
  5957. type: string
  5958. auditremark:
  5959. description: 审核备注
  5960. type: string
  5961. auditsrc:
  5962. description: 审核来源 - 1:管理端 2:终端
  5963. type: integer
  5964. audittime:
  5965. description: 审核时间
  5966. type: string
  5967. audittradedate:
  5968. description: 审核交易日(yyyyMMdd)
  5969. type: string
  5970. beforevalue:
  5971. description: 变更前
  5972. type: number
  5973. deliverygoodscode:
  5974. description: 品种代码
  5975. type: string
  5976. deliverygoodsid:
  5977. description: 品种id
  5978. type: integer
  5979. deliverygoodsname:
  5980. description: 品种名称
  5981. type: string
  5982. middlegoodscode:
  5983. description: 套保品种代码
  5984. type: string
  5985. middlegoodsid:
  5986. description: 套保品种ID [ParamChangeType = 2,3,4]
  5987. type: integer
  5988. middlegoodsname:
  5989. description: 套保品种名称
  5990. type: string
  5991. operatetype:
  5992. description: 操作类型 - 1:新增 2:修改
  5993. type: integer
  5994. paramchangetype:
  5995. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  5996. type: integer
  5997. wrstandardcode:
  5998. description: 现货商品代码
  5999. type: string
  6000. wrstandardid:
  6001. description: 现货商品ID [ParamChangeType = 1,2,3]
  6002. type: integer
  6003. wrstandardname:
  6004. description: 现货商品名称
  6005. type: string
  6006. type: object
  6007. models.Ermcp3RootUserAccount:
  6008. properties:
  6009. accountname:
  6010. description: 账户名称(机构名称)
  6011. type: string
  6012. accountstatus:
  6013. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6014. type: integer
  6015. applysrc:
  6016. description: 申请来源 - 1:管理端 2:终端
  6017. type: integer
  6018. auditremark:
  6019. description: 审核备注
  6020. type: string
  6021. auditsrc:
  6022. description: 审核来源 - 1:管理端 2:终端
  6023. type: integer
  6024. audittime:
  6025. description: 审核时间
  6026. type: string
  6027. audituserid:
  6028. description: 审核人
  6029. type: integer
  6030. broker:
  6031. description: 所属经纪人ID
  6032. type: integer
  6033. canceltime:
  6034. description: 销户时间
  6035. type: string
  6036. canceluserid:
  6037. description: 销户人
  6038. type: integer
  6039. canrecommend:
  6040. description: 是否可推荐 - 0:不可 1;可
  6041. type: integer
  6042. createtime:
  6043. description: 创建时间
  6044. type: string
  6045. creatorid:
  6046. description: 创建人
  6047. type: integer
  6048. hasauth:
  6049. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6050. type: integer
  6051. isanonymous:
  6052. description: 是否匿名下单 - 0:否 1:是
  6053. type: integer
  6054. maxinvestornum:
  6055. description: 最大用户数(经纪会员下投资者个数)
  6056. type: integer
  6057. memberuserid:
  6058. description: 所属会员ID
  6059. type: integer
  6060. modifierid:
  6061. description: 修改人
  6062. type: integer
  6063. modifyremark:
  6064. description: 变更备注
  6065. type: string
  6066. modifystatus:
  6067. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6068. type: integer
  6069. modifytime:
  6070. description: 修改时间
  6071. type: string
  6072. parenttopuser:
  6073. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6074. type: string
  6075. parentuserid:
  6076. description: 所属机构ID
  6077. type: integer
  6078. reckonaccountid:
  6079. description: 默认结算资金账号ID(机构分润使用) 作废
  6080. type: integer
  6081. refercount:
  6082. description: 推荐总人数
  6083. type: integer
  6084. refereeuserid:
  6085. description: 推荐人ID
  6086. type: integer
  6087. refernum:
  6088. description: 推荐码
  6089. type: string
  6090. rootuserid:
  6091. description: 根用户ID
  6092. type: integer
  6093. subaccountlevel:
  6094. description: 子账户层数
  6095. type: integer
  6096. subarealevelpath:
  6097. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6098. type: string
  6099. userid:
  6100. description: 用户ID
  6101. type: integer
  6102. usertype:
  6103. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6104. type: integer
  6105. type: object
  6106. models.Ermcp3SCMiddleGoods:
  6107. properties:
  6108. contractno:
  6109. description: 合同编号
  6110. type: string
  6111. contracttype:
  6112. description: 合同类型 1:采购 -1:销售
  6113. type: integer
  6114. customername:
  6115. description: 对手手名称
  6116. type: string
  6117. customeruserid:
  6118. description: 对手id
  6119. type: integer
  6120. deliverygoodscode:
  6121. description: 现货品种代码
  6122. type: string
  6123. deliverygoodsid:
  6124. description: 现货品种ID
  6125. type: integer
  6126. deliverygoodsname:
  6127. description: 现货品种名称
  6128. type: string
  6129. enumdicname:
  6130. description: 现货单位名称
  6131. type: string
  6132. middlegoodsid:
  6133. description: 套保品种ID
  6134. type: integer
  6135. middlegoodspricedqty3:
  6136. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6137. type: number
  6138. needhedgeratio:
  6139. description: 套保比例
  6140. type: number
  6141. pricedqty:
  6142. description: 已定价量
  6143. type: number
  6144. relatedmiddlegoodsqty:
  6145. description: 已关联量(套保品种)(期货)
  6146. type: number
  6147. spotcontractid:
  6148. description: 合同编号
  6149. type: string
  6150. unitid:
  6151. description: 现货单位id
  6152. type: integer
  6153. userid:
  6154. description: 用户id
  6155. type: integer
  6156. vatrate:
  6157. description: 增值税率
  6158. type: number
  6159. wrstandardcode:
  6160. description: 现货商品代码
  6161. type: string
  6162. wrstandardid:
  6163. description: 现货商品id
  6164. type: integer
  6165. wrstandardname:
  6166. description: 现货商品名称
  6167. type: string
  6168. type: object
  6169. models.Ermcp3SCMiddleGoodsReport:
  6170. properties:
  6171. begindate:
  6172. description: 开始交易日
  6173. type: string
  6174. contractno:
  6175. description: 合同编号
  6176. type: string
  6177. contracttype:
  6178. description: 合同类型 1:采购 -1:销售
  6179. type: integer
  6180. convertratio:
  6181. description: 折算系数
  6182. type: number
  6183. cycletime:
  6184. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6185. type: string
  6186. cycletype:
  6187. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6188. type: integer
  6189. deliverygoodscode:
  6190. description: 品种代码
  6191. type: string
  6192. deliverygoodsid:
  6193. description: 现货品种ID
  6194. type: integer
  6195. deliverygoodsname:
  6196. description: 品种名称
  6197. type: string
  6198. diffprice:
  6199. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6200. type: number
  6201. diffqty:
  6202. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6203. type: number
  6204. enddate:
  6205. description: 结束交易日
  6206. type: string
  6207. hedgeplanqty:
  6208. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6209. type: number
  6210. matchname:
  6211. description: 交易对手方(个人:用户名称 企业:简称)
  6212. type: string
  6213. middlegoodscode:
  6214. description: 套保品种代码
  6215. type: string
  6216. middlegoodsid:
  6217. description: 套保品种ID
  6218. type: integer
  6219. middlegoodsname:
  6220. description: 套保品种名称
  6221. type: string
  6222. middlegoodspricedqty:
  6223. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6224. type: number
  6225. middlegoodspricedqty2:
  6226. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6227. type: number
  6228. middlegoodspricedqty3:
  6229. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6230. type: number
  6231. needhedgeratio:
  6232. description: 套保系数
  6233. type: number
  6234. pricedamount:
  6235. description: 已定价额(现货)
  6236. type: number
  6237. pricedamount2:
  6238. description: 已定价额(现货-基价额)
  6239. type: number
  6240. pricedqty:
  6241. description: 已定价量(现货)
  6242. type: number
  6243. reckondate:
  6244. description: 日照时期(yyyyMMdd)
  6245. type: string
  6246. relatedmiddlegoodsamount:
  6247. description: 已关联额(期货)
  6248. type: number
  6249. relatedmiddlegoodsqty:
  6250. description: 已关联量(套保品种)(期货)
  6251. type: number
  6252. spotcontractid:
  6253. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6254. type: string
  6255. todayavgfutuprice:
  6256. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /TodayRelatedMiddleGoodsQty
  6257. type: number
  6258. todayavgprice:
  6259. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6260. type: number
  6261. todayavgprice2:
  6262. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6263. type: number
  6264. todaypricedamount:
  6265. description: 今日定价额(现货)
  6266. type: number
  6267. todaypricedamount2:
  6268. description: 今日定价额(现货-基价额)
  6269. type: number
  6270. todaypricedqty:
  6271. description: 今日定价量(现货)
  6272. type: number
  6273. todayrelatedmiddlegoodsamount:
  6274. description: 今日关联额(期货)
  6275. type: number
  6276. todayrelatedmiddlegoodsqty:
  6277. description: 今日关联量(期货)
  6278. type: number
  6279. updatetime:
  6280. description: 更新时间
  6281. type: string
  6282. userid:
  6283. description: 合同所属用户id
  6284. type: integer
  6285. vatrate:
  6286. description: 增值税率
  6287. type: number
  6288. wrstandardcode:
  6289. description: 商品(品类) 代码
  6290. type: string
  6291. wrstandardid:
  6292. description: 现货商品ID
  6293. type: integer
  6294. wrstandardname:
  6295. description: 商品(品类) 名称
  6296. type: string
  6297. type: object
  6298. models.Ermcp3SellBuyContract:
  6299. properties:
  6300. accountid:
  6301. description: 期货账户id
  6302. type: string
  6303. accountname:
  6304. description: 账户名称
  6305. type: string
  6306. attachment:
  6307. description: 附件
  6308. type: string
  6309. audittime:
  6310. description: 审核时间
  6311. type: string
  6312. biztype:
  6313. description: 业务类型 1-套保 2-套利
  6314. type: integer
  6315. brandname:
  6316. description: 品牌名称
  6317. type: string
  6318. contracctstatus:
  6319. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6320. type: integer
  6321. contractmargin:
  6322. description: 合同保证金
  6323. type: number
  6324. contractno:
  6325. description: 合同编号
  6326. type: string
  6327. contracttype:
  6328. description: 合同类型 1-采购, -1-销售
  6329. type: integer
  6330. convertfactor:
  6331. description: 标仓系数(品类)
  6332. type: number
  6333. createtime:
  6334. description: 创建时间
  6335. type: string
  6336. currencyid:
  6337. description: 币种id
  6338. type: integer
  6339. currencyname:
  6340. description: 币种名称
  6341. type: string
  6342. daikaiamount:
  6343. description: 应收(开)票额
  6344. type: number
  6345. deliveryenddate:
  6346. description: 交割结束日
  6347. type: string
  6348. deliverygoodscode:
  6349. description: 现货品种代码
  6350. type: string
  6351. deliverygoodsid:
  6352. description: 现货商品ID
  6353. type: integer
  6354. deliverygoodsname:
  6355. description: 现货品种名称
  6356. type: string
  6357. deliverystartdate:
  6358. description: 交割开始日
  6359. type: string
  6360. enddate:
  6361. description: 点价结束日
  6362. type: string
  6363. enumdicname:
  6364. description: 单位名称
  6365. type: string
  6366. goodscode:
  6367. description: 点价商品代码
  6368. type: string
  6369. goodsid:
  6370. description: 点价商品ID
  6371. type: integer
  6372. goodsname:
  6373. description: 点价商品名称
  6374. type: string
  6375. invoiceamount:
  6376. description: 已开票额
  6377. type: number
  6378. loanamount:
  6379. description: 贷款总额=已定价额+调整金额
  6380. type: number
  6381. margin:
  6382. description: 保证金
  6383. type: number
  6384. meruserid:
  6385. description: 跟单员id
  6386. type: integer
  6387. meruserlogincode:
  6388. description: 跟单员登录代码
  6389. type: string
  6390. merusername:
  6391. description: 跟单员名称
  6392. type: string
  6393. nickname:
  6394. description: 账户昵称
  6395. type: string
  6396. payamount:
  6397. description: 已收付额(收款或付款)
  6398. type: number
  6399. preinvoiceamount:
  6400. description: 预收(开)票额
  6401. type: number
  6402. prepayamount:
  6403. description: 预收付额
  6404. type: number
  6405. price:
  6406. description: 价格
  6407. type: number
  6408. pricedamount:
  6409. description: 已定价额
  6410. type: number
  6411. pricedavg:
  6412. description: 已点均价
  6413. type: number
  6414. pricedqty:
  6415. description: 已定价量
  6416. type: number
  6417. pricemove:
  6418. description: 升贴水
  6419. type: number
  6420. pricetype:
  6421. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6422. type: integer
  6423. producttype:
  6424. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6425. type: integer
  6426. qty:
  6427. description: 合同量
  6428. type: number
  6429. reckonadjustamount:
  6430. description: 调整金额
  6431. type: number
  6432. reckonedamount:
  6433. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6434. type: number
  6435. reckonotheramount:
  6436. description: 其它费用
  6437. type: number
  6438. reckonrealqty:
  6439. description: 已确定量
  6440. type: number
  6441. remark:
  6442. description: 备注
  6443. type: string
  6444. saleuserid:
  6445. description: 业务员id
  6446. type: integer
  6447. saleuserlogincode:
  6448. description: 业务员登录代码
  6449. type: string
  6450. saleusername:
  6451. description: 业务员名称
  6452. type: string
  6453. spotcontractid:
  6454. description: 合同ID
  6455. type: string
  6456. spotgoodsbrandid:
  6457. description: 现货品牌ID(DGFactoryItem表的ID)
  6458. type: integer
  6459. spotgoodsdesc:
  6460. description: 商品型号(商品规格)
  6461. type: string
  6462. startdate:
  6463. description: 点价开始日
  6464. type: string
  6465. subjectid:
  6466. description: 交易主体ID
  6467. type: string
  6468. subjectname:
  6469. description: 交易主体名称
  6470. type: string
  6471. totalamount:
  6472. description: 合计总额
  6473. type: number
  6474. tradeuserid:
  6475. description: 交易员id
  6476. type: integer
  6477. tradeuserlogincode:
  6478. description: 交易员登录代码
  6479. type: string
  6480. tradeusername:
  6481. description: 交易员名称
  6482. type: string
  6483. unpayamount:
  6484. description: 应收付款额(应支付或应收款)
  6485. type: number
  6486. unpricedqty:
  6487. description: 未定价量
  6488. type: number
  6489. unsureqty:
  6490. description: 未确定量
  6491. type: number
  6492. userid:
  6493. description: 机构ID
  6494. type: integer
  6495. vatrate:
  6496. description: 增值税率
  6497. type: number
  6498. wrstandardcode:
  6499. description: 品类代码
  6500. type: string
  6501. wrstandardid:
  6502. description: 品类ID
  6503. type: integer
  6504. wrstandardname:
  6505. description: 品类名称
  6506. type: string
  6507. type: object
  6508. models.Ermcp3SpotGoodsPrice:
  6509. properties:
  6510. areauserid:
  6511. description: 所属机构id
  6512. type: integer
  6513. brandname:
  6514. description: 品牌名称
  6515. type: string
  6516. currencyid:
  6517. description: 报价货币ID
  6518. type: integer
  6519. currencyname:
  6520. description: 币种名称
  6521. type: string
  6522. deliverygoodscode:
  6523. description: 现货商品代码
  6524. type: string
  6525. deliverygoodsid:
  6526. description: 现货商品id
  6527. type: integer
  6528. deliverygoodsname:
  6529. description: 现货商品名称
  6530. type: string
  6531. enumdicname:
  6532. description: 现货商品单位名称
  6533. type: string
  6534. gbenumdicname:
  6535. description: 品类单位名称
  6536. type: string
  6537. gmunitid:
  6538. description: 品类单位id
  6539. type: integer
  6540. isvalid:
  6541. description: 是否有效 - 0:无效 1:有效
  6542. type: integer
  6543. operateid:
  6544. description: 最后操作人
  6545. type: integer
  6546. operatesrc:
  6547. description: 最后操作来源 - 1:管理端 2:终端
  6548. type: integer
  6549. operatetime:
  6550. description: 最后操作时间
  6551. type: string
  6552. operatorname:
  6553. description: 操作人名称
  6554. type: string
  6555. spotgoodsbrandid:
  6556. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6557. type: integer
  6558. spotgoodsprice:
  6559. description: 现货价格
  6560. type: number
  6561. tradedate:
  6562. description: 交易日(yyyyMMdd)
  6563. type: string
  6564. unitid:
  6565. description: 现货商品单位id
  6566. type: integer
  6567. wrstandardcode:
  6568. description: 品类代码
  6569. type: string
  6570. wrstandardid:
  6571. description: 现货品类ID(通用则为0)
  6572. type: integer
  6573. wrstandardname:
  6574. description: 品类名称
  6575. type: string
  6576. type: object
  6577. models.Ermcp3SpotGoodsPriceLog:
  6578. properties:
  6579. areauserid:
  6580. description: 所属机构id
  6581. type: integer
  6582. brandname:
  6583. description: 品牌名称
  6584. type: string
  6585. currencyid:
  6586. description: 报价货币ID
  6587. type: integer
  6588. deliverygoodscode:
  6589. description: 现货商品代码
  6590. type: string
  6591. deliverygoodsid:
  6592. description: 现货商品id
  6593. type: integer
  6594. deliverygoodsname:
  6595. description: 现货商品名称
  6596. type: string
  6597. enumdicname:
  6598. description: 现货商品单位名称
  6599. type: string
  6600. gbenumdicname:
  6601. description: 品类单位名称
  6602. type: string
  6603. gmunitid:
  6604. description: 品类单位id
  6605. type: integer
  6606. logid:
  6607. description: 日志id
  6608. type: integer
  6609. operateid:
  6610. description: 最后操作人
  6611. type: integer
  6612. operatesrc:
  6613. description: 最后操作来源 - 1:管理端 2:终端
  6614. type: integer
  6615. operatetime:
  6616. description: 最后操作时间
  6617. type: string
  6618. operatorname:
  6619. description: 操作人名称
  6620. type: string
  6621. spotgoodsbrandid:
  6622. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6623. type: integer
  6624. spotgoodsprice:
  6625. description: 现货价格
  6626. type: number
  6627. tradedate:
  6628. description: 交易日(yyyyMMdd)
  6629. type: string
  6630. unitid:
  6631. description: 现货商品单位id
  6632. type: integer
  6633. wrstandardcode:
  6634. description: 品类代码
  6635. type: string
  6636. wrstandardid:
  6637. description: 现货品类ID(通用则为0)
  6638. type: integer
  6639. wrstandardname:
  6640. description: 品类名称
  6641. type: string
  6642. type: object
  6643. models.Ermcp3SubTaaccount:
  6644. properties:
  6645. accountid:
  6646. description: 资金账户ID
  6647. type: integer
  6648. parentaccountcode:
  6649. description: 所属根账号代码(母账号代码)
  6650. type: string
  6651. parentaccountid:
  6652. description: 所属根账号(母账号)
  6653. type: integer
  6654. taname:
  6655. description: 资金账号名称
  6656. type: string
  6657. tradestatus:
  6658. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6659. type: integer
  6660. username:
  6661. description: 交易用户
  6662. type: string
  6663. type: object
  6664. models.Ermcp3TaFutuReDataReport:
  6665. properties:
  6666. accountid:
  6667. description: 交易账户
  6668. type: integer
  6669. accountname:
  6670. description: 交易账号名称
  6671. type: string
  6672. agreeunit:
  6673. description: 商品合约单位
  6674. type: number
  6675. begindate:
  6676. description: 开始交易日
  6677. type: string
  6678. buyorsell:
  6679. description: 持仓方向
  6680. type: integer
  6681. charge:
  6682. description: 手续费
  6683. type: number
  6684. closeavgprice:
  6685. description: 平仓均价
  6686. type: number
  6687. closepl:
  6688. description: 平仓损益
  6689. type: number
  6690. currencyid:
  6691. description: 结算币种ID
  6692. type: integer
  6693. currencyname:
  6694. description: 币种名称
  6695. type: string
  6696. cycletime:
  6697. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6698. type: string
  6699. cycletype:
  6700. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6701. type: integer
  6702. enddate:
  6703. description: 结束交易日
  6704. type: string
  6705. enumdicname:
  6706. description: 单位名称
  6707. type: string
  6708. floatpl:
  6709. description: 浮动损益
  6710. type: number
  6711. goodscode:
  6712. description: 交易合约代码
  6713. type: string
  6714. goodsgroupid:
  6715. description: 交易品种
  6716. type: integer
  6717. goodsgroupname:
  6718. description: 交易品种名称
  6719. type: string
  6720. goodsgroupspotqty:
  6721. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6722. type: number
  6723. goodsid:
  6724. description: 交易合约
  6725. type: integer
  6726. goodsname:
  6727. description: 交易合约名称
  6728. type: string
  6729. goodunitid:
  6730. description: 交易合约单位id
  6731. type: integer
  6732. holdamount:
  6733. description: 期末持仓额
  6734. type: number
  6735. holdqty:
  6736. description: 期末持仓量
  6737. type: number
  6738. lastholdamount:
  6739. description: 当前持仓额
  6740. type: number
  6741. lastprice:
  6742. description: 最新价
  6743. type: number
  6744. middlegoodsid:
  6745. description: 套保品种id
  6746. type: integer
  6747. middlegoodsname:
  6748. description: 套保商品名称
  6749. type: string
  6750. middlegoodsqty:
  6751. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6752. type: number
  6753. middlgoodscode:
  6754. description: 套保商品代码
  6755. type: string
  6756. openamount:
  6757. description: 期末开仓额
  6758. type: number
  6759. openavgprice:
  6760. description: 开仓均价
  6761. type: number
  6762. oriholdamount:
  6763. description: 期初持仓额
  6764. type: number
  6765. oriholdqty:
  6766. description: 期初持仓量
  6767. type: number
  6768. oriopenamount:
  6769. description: 期初开仓额
  6770. type: number
  6771. outergroupcode:
  6772. description: 交易品种代码
  6773. type: string
  6774. qtydecimalplace:
  6775. description: 成交量小数位
  6776. type: integer
  6777. reckondate:
  6778. description: 日照时期(yyyyMMdd)
  6779. type: string
  6780. reckonholdamount:
  6781. description: 结算持仓额
  6782. type: number
  6783. reckonpl:
  6784. description: 结算损益
  6785. type: number
  6786. reckonpl2:
  6787. description: 结算逐笔盈亏
  6788. type: number
  6789. reckonprice:
  6790. description: 结算价
  6791. type: number
  6792. relateduserid:
  6793. description: 账户关联用户ID
  6794. type: integer
  6795. todaycloseamount:
  6796. description: 今平仓额
  6797. type: number
  6798. todaycloseqty:
  6799. description: 今平仓量
  6800. type: number
  6801. todaygoodsgroupspotqty:
  6802. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6803. type: number
  6804. todaymiddlegoodsqty:
  6805. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6806. type: number
  6807. todayopenamount:
  6808. description: 今开仓额
  6809. type: number
  6810. todayopenqty:
  6811. description: 今开仓量
  6812. type: number
  6813. userid:
  6814. description: 账户所属用户ID
  6815. type: integer
  6816. type: object
  6817. models.Ermcp3TradeLinkDetail:
  6818. properties:
  6819. accountid:
  6820. description: 资金账号
  6821. type: integer
  6822. agreeunit:
  6823. description: 合约乘数
  6824. type: number
  6825. areauserid:
  6826. description: 所属机构
  6827. type: string
  6828. bizsubjectid:
  6829. description: 归属业务部门ID - SubjectID
  6830. type: string
  6831. buyorsell:
  6832. description: 方向 - 0:买 1:卖
  6833. type: integer
  6834. channelbuildtype:
  6835. description: 委托单据类型 0:无 1:建仓 2:平仓
  6836. type: integer
  6837. contractno:
  6838. description: 现货编号 (合同编号)
  6839. type: string
  6840. convertratio:
  6841. description: 折算系数
  6842. type: number
  6843. createtime:
  6844. description: 关联时间 | 创建时间
  6845. type: string
  6846. creatorid:
  6847. description: 创建人ID
  6848. type: string
  6849. creatorsrc:
  6850. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6851. type: integer
  6852. enumdicname:
  6853. description: 单位名称
  6854. type: string
  6855. goodscode:
  6856. description: 合约代码
  6857. type: string
  6858. goodsgroupid:
  6859. description: 对冲品种ID[期货合约商品组ID]
  6860. type: integer
  6861. goodsid:
  6862. description: 商品ID
  6863. type: integer
  6864. goodsname:
  6865. description: 合约名称
  6866. type: string
  6867. hedgeflag:
  6868. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6869. type: integer
  6870. linkdetailid:
  6871. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  6872. type: string
  6873. linkstatus:
  6874. description: 关联状态 - 1:成功 2:失败
  6875. type: integer
  6876. middlegoodsid:
  6877. description: 套保品种ID
  6878. type: integer
  6879. relatedlot:
  6880. description: 关联手数
  6881. type: number
  6882. relatedmode:
  6883. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  6884. type: integer
  6885. relatedqty:
  6886. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  6887. type: number
  6888. retcode:
  6889. description: 返回码
  6890. type: integer
  6891. saleuserid:
  6892. description: 业务员ID
  6893. type: string
  6894. spotcontractid:
  6895. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  6896. type: string
  6897. taname:
  6898. description: 期货账户
  6899. type: string
  6900. tradedate:
  6901. description: 关联交易日(yyyyMMdd)
  6902. type: string
  6903. tradeid:
  6904. description: 期货订单号 | 内部成交单ID
  6905. type: string
  6906. tradelot:
  6907. description: 成交数量 | 成交手数
  6908. type: integer
  6909. tradeprice:
  6910. description: 成交价格
  6911. type: number
  6912. tradetime:
  6913. description: 期货成交时间
  6914. type: string
  6915. tradetradedate:
  6916. description: 成交交易日(yyyyMMdd)
  6917. type: string
  6918. username:
  6919. description: 用户名称
  6920. type: string
  6921. type: object
  6922. models.Ermcp3Wrstandard:
  6923. properties:
  6924. areauserid:
  6925. description: 所属机构
  6926. type: integer
  6927. cantrade:
  6928. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  6929. type: integer
  6930. convertfactor:
  6931. description: 标仓系数
  6932. type: number
  6933. createtime:
  6934. description: 创建时间
  6935. type: string
  6936. creatorid:
  6937. description: 创建人
  6938. type: integer
  6939. deliverygoodsid:
  6940. description: 现货品种ID
  6941. type: integer
  6942. enumdicname:
  6943. description: 品类单位名称
  6944. type: string
  6945. isvalid:
  6946. description: 是否有效 0-无效(停用) 1-有效(正常)
  6947. type: integer
  6948. minivalue:
  6949. description: 最小变动值
  6950. type: integer
  6951. minivaluedp:
  6952. description: 最小变动值小数位
  6953. type: integer
  6954. realminivalue:
  6955. description: 实际最小变动值
  6956. type: integer
  6957. realminivaluedp:
  6958. description: 实际最小变动值小数位
  6959. type: integer
  6960. remark:
  6961. description: 备注
  6962. type: string
  6963. unitid:
  6964. description: 品类单位ID
  6965. type: integer
  6966. updatetime:
  6967. description: 更新时间
  6968. type: string
  6969. wrstandardcode:
  6970. description: 品类代码
  6971. type: string
  6972. wrstandardid:
  6973. description: 品类ID(SEQ_WRSTANDARD)
  6974. type: integer
  6975. wrstandardname:
  6976. description: 品类名称
  6977. type: string
  6978. type: object
  6979. models.ErmcpBizGroupEx:
  6980. properties:
  6981. acclist:
  6982. description: 账号列表
  6983. items:
  6984. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  6985. type: array
  6986. bizgroupid:
  6987. description: 业务分组id
  6988. type: integer
  6989. biztype:
  6990. description: 业务类型 1-套保 2-套利
  6991. type: integer
  6992. wrlist:
  6993. description: 现货商品表
  6994. items:
  6995. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  6996. type: array
  6997. type: object
  6998. models.ErmcpBizGroupSpotGoods:
  6999. properties:
  7000. areauserid:
  7001. description: 所属机构id
  7002. type: integer
  7003. bizgroupid:
  7004. description: 分组id
  7005. type: integer
  7006. biztype:
  7007. description: 业务类型 1-套保 2-套利
  7008. type: integer
  7009. deliverygoodscode:
  7010. description: 现货商品代码
  7011. type: string
  7012. deliverygoodsid:
  7013. description: 现货商品id
  7014. type: integer
  7015. deliverygoodsname:
  7016. description: 现货商品名称
  7017. type: string
  7018. unitid:
  7019. description: 现货商品单位id
  7020. type: integer
  7021. type: object
  7022. models.ErmcpBizGroupTaAccount:
  7023. properties:
  7024. accountid:
  7025. description: 账号id
  7026. type: integer
  7027. accountname:
  7028. description: 账号名称
  7029. type: string
  7030. areauserid:
  7031. description: 所属机构id
  7032. type: integer
  7033. bizgroupid:
  7034. description: 业务分组id
  7035. type: integer
  7036. ismain:
  7037. description: 是否主账号 1-是 0-否
  7038. type: integer
  7039. type: object
  7040. models.ErmcpDGFactoryItem:
  7041. properties:
  7042. areauserid:
  7043. description: 用户id
  7044. type: integer
  7045. deliverygoodsid:
  7046. description: 现货品种ID
  7047. type: integer
  7048. dgfactoryitemid:
  7049. description: 选择项ID(SEQ_DGFACTORYITEM)
  7050. type: integer
  7051. dgfactoryitemtypeid:
  7052. description: 要素项类型
  7053. type: integer
  7054. dgfactoryitemvalue:
  7055. description: 要素项值(类型为仓库时填写仓库名称)
  7056. type: string
  7057. isvalid:
  7058. description: 是否有效 - 0:无效 1:有效
  7059. type: integer
  7060. orderindex:
  7061. description: 顺序
  7062. type: integer
  7063. warehouseid:
  7064. description: 仓库ID(类型为仓库时填写)
  7065. type: integer
  7066. type: object
  7067. models.ErmcpDeliveryGoods:
  7068. properties:
  7069. agreeunit:
  7070. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7071. type: integer
  7072. areauserid:
  7073. description: 所属机构
  7074. type: integer
  7075. auditflag:
  7076. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7077. type: integer
  7078. categoryid:
  7079. description: 类别ID(SEQ_WRCATEGORY)
  7080. type: integer
  7081. deliverygoodscode:
  7082. description: 现货品种代码
  7083. type: string
  7084. deliverygoodsid:
  7085. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7086. type: integer
  7087. deliverygoodsname:
  7088. description: 现货品种名称
  7089. type: string
  7090. deliverygoodstype:
  7091. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7092. type: integer
  7093. dgstatus:
  7094. description: 品种状态 - 作废 - 0:未激活 1:正常
  7095. type: integer
  7096. enumdicname:
  7097. description: 现货品种单位名称
  7098. type: string
  7099. goodsunitid:
  7100. description: 现货品种单位ID
  7101. type: integer
  7102. isvalid:
  7103. description: 是否有效 - 0:无效 1:有效
  7104. type: integer
  7105. qtydecimalplace:
  7106. description: 成交量小数位
  7107. type: integer
  7108. remark:
  7109. description: 备注
  7110. type: string
  7111. standardqty:
  7112. description: 标准数量(库位数量) [标准品特有]
  7113. type: integer
  7114. standardqtyrange:
  7115. description: 标准数量偏差范围 [标准品特有]
  7116. type: integer
  7117. type: object
  7118. models.ErmcpFuturesCompany:
  7119. properties:
  7120. brokerid:
  7121. description: 经纪公司代码
  7122. type: string
  7123. channeladdress:
  7124. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7125. type: string
  7126. channelid:
  7127. description: 对冲渠道ID
  7128. type: string
  7129. createtime:
  7130. description: 创建时间
  7131. type: string
  7132. creatorid:
  7133. description: 创建人
  7134. type: string
  7135. fcid:
  7136. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7137. type: integer
  7138. fcname:
  7139. description: 期货公司名称
  7140. type: string
  7141. isvalid:
  7142. description: 是否有效 - 0:无效 1:有效
  7143. type: integer
  7144. mhpaddress:
  7145. description: MHP服务地址(IP:Port)
  7146. type: string
  7147. riskrulegroupid:
  7148. description: 风控规则组ID
  7149. type: string
  7150. tradefeetmpid:
  7151. description: 手续费模板ID[TradeConfigTmpType为2]
  7152. type: string
  7153. trademargintmpid:
  7154. description: 保证金模板ID [TradeConfigTmpType为1]
  7155. type: string
  7156. traderatetmpid:
  7157. description: 汇率模板ID[TradeConfigTmpType为3]
  7158. type: string
  7159. updatetime:
  7160. description: 更新时间
  7161. type: string
  7162. updatorid:
  7163. description: 更新人
  7164. type: string
  7165. type: object
  7166. models.ErmcpGGConvertCfg:
  7167. properties:
  7168. convertratio:
  7169. description: 折算系数
  7170. type: number
  7171. destgoodsgroupid:
  7172. description: 目标品种ID
  7173. type: integer
  7174. dstcode:
  7175. description: 目录品种代码
  7176. type: string
  7177. dstexchangecode:
  7178. description: 目标期货交易所
  7179. type: string
  7180. dstname:
  7181. description: 目标品种名称
  7182. type: string
  7183. dstunitid:
  7184. description: 目标品种单位ID
  7185. type: integer
  7186. dstunitidname:
  7187. description: 目标品种单位名称
  7188. type: string
  7189. modifytime:
  7190. description: 修改时间
  7191. type: string
  7192. srccode:
  7193. description: 源品种代码
  7194. type: string
  7195. srcexchangecode:
  7196. description: 源期货交易所
  7197. type: string
  7198. srcgoodsgroupid:
  7199. description: 源品种ID
  7200. type: integer
  7201. srcname:
  7202. description: 源品种名称
  7203. type: string
  7204. srcunitid:
  7205. description: 源品种单位ID
  7206. type: integer
  7207. srcunitidname:
  7208. description: 源品种单位名称
  7209. type: string
  7210. type: object
  7211. models.ErmcpGoods:
  7212. properties:
  7213. agreeunit:
  7214. description: 合约单位
  7215. type: number
  7216. areauserid:
  7217. description: 所属机构
  7218. type: integer
  7219. auditaccountid:
  7220. description: 审核操作员账号
  7221. type: integer
  7222. audittime:
  7223. description: 审核时间
  7224. type: string
  7225. cancelaccountid:
  7226. description: 注销操作员账号
  7227. type: integer
  7228. canceltime:
  7229. description: 注销时间
  7230. type: string
  7231. closepricemode:
  7232. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7233. type: integer
  7234. closepriceparam:
  7235. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7236. type: number
  7237. createtime:
  7238. description: 创建时间
  7239. type: string
  7240. creatorid:
  7241. description: 创建人
  7242. type: integer
  7243. currencyid:
  7244. description: 报价货币ID
  7245. type: integer
  7246. cutmode:
  7247. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7248. type: integer
  7249. decimalplace:
  7250. description: 报价小数位
  7251. type: integer
  7252. delistingdate:
  7253. description: 商品退市时间(状态:退市) -- 已作废
  7254. type: string
  7255. delistingmode:
  7256. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7257. type: integer
  7258. deliveryflag:
  7259. description: 交割标志 - 0:不可交割 1:可交割
  7260. type: integer
  7261. enumdicname:
  7262. description: 单位名称
  7263. type: string
  7264. forceclosemode:
  7265. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7266. type: integer
  7267. forceclosevalue:
  7268. description: 定期强平参数 [收益权]
  7269. type: integer
  7270. goodscode:
  7271. description: 商品代码(内部)
  7272. type: string
  7273. goodscurrencyid:
  7274. description: 合约货币ID
  7275. type: integer
  7276. goodsgroupid:
  7277. description: 所属商品组ID
  7278. type: integer
  7279. goodsid:
  7280. description: 商品ID(自增ID SEQ_GOODS)
  7281. type: integer
  7282. goodsname:
  7283. description: 商品名称
  7284. type: string
  7285. goodsquotetype:
  7286. description: '合约报价类型: 1-直接报价 2-间接报价'
  7287. type: integer
  7288. goodsstatus:
  7289. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7290. type: integer
  7291. goodstradetype:
  7292. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7293. type: integer
  7294. goodunitid:
  7295. description: 报价单位ID
  7296. type: integer
  7297. hasquoter:
  7298. description: 是否有报价商 - 0:无报价商 1:有报价商
  7299. type: integer
  7300. hqprotecttime:
  7301. description: 行情保护时间(秒)
  7302. type: integer
  7303. innerdealmode:
  7304. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7305. type: integer
  7306. isbuylimited:
  7307. description: 是否限制建仓量 - 0:不限制 1:限制
  7308. type: integer
  7309. isvisible:
  7310. description: 游客是否可见 - 0:不可见 1:可见
  7311. type: integer
  7312. lasttradedate:
  7313. description: 最后交易日期(状态:待退市)
  7314. type: string
  7315. listingdate:
  7316. description: 交易开始日期
  7317. type: string
  7318. marketid:
  7319. description: 所属市场ID
  7320. type: integer
  7321. modifierid:
  7322. description: 修改人
  7323. type: integer
  7324. modifystatus:
  7325. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7326. type: integer
  7327. modifytime:
  7328. description: 修改时间
  7329. type: string
  7330. outerdealmode:
  7331. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7332. type: integer
  7333. outgoodscode:
  7334. description: 商品代码(外部)
  7335. type: string
  7336. pictureurl:
  7337. description: 商品图片
  7338. type: string
  7339. qtydecimalplace:
  7340. description: 成交量小数位
  7341. type: integer
  7342. quotegear:
  7343. description: 行情档位(1-10)
  7344. type: integer
  7345. quoteminunit:
  7346. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7347. type: integer
  7348. quoteshowtype:
  7349. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7350. type: integer
  7351. quoteshowtypeinterval:
  7352. description: 行情报价间隔时间(秒)(成交价时为0)
  7353. type: integer
  7354. relatedgoodsid:
  7355. description: 关联参考商品ID
  7356. type: integer
  7357. remark:
  7358. description: 备注
  7359. type: string
  7360. trademode:
  7361. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  7362. type: integer
  7363. required:
  7364. - goodscode
  7365. - goodsid
  7366. - goodsname
  7367. - marketid
  7368. type: object
  7369. models.ErmcpGoodsBrand:
  7370. properties:
  7371. areauserid:
  7372. description: 所属机构
  7373. type: integer
  7374. brandid:
  7375. description: BrandID(SEQ_SPOTGOODSBRAND)
  7376. type: integer
  7377. brandname:
  7378. description: 品牌名称
  7379. type: string
  7380. createtime:
  7381. description: 创建时间
  7382. type: string
  7383. creatorid:
  7384. description: 创建人
  7385. type: integer
  7386. creatorsrc:
  7387. description: 创建人来源 - 1:管理端 2:终端
  7388. type: integer
  7389. deliverygoodsid:
  7390. description: 现货品种ID
  7391. type: integer
  7392. isvalid:
  7393. description: 是否有效 - 0:无效 1:有效
  7394. type: integer
  7395. updatetime:
  7396. description: 更新时间
  7397. type: string
  7398. updatorid:
  7399. description: 更新人
  7400. type: integer
  7401. updatorsrc:
  7402. description: 更新人来源 - 1:管理端 2:终端
  7403. type: integer
  7404. wrstandardid:
  7405. description: 现货商品ID
  7406. type: integer
  7407. type: object
  7408. models.ErmcpGoodsModel:
  7409. properties:
  7410. areauserid:
  7411. description: 所属机构
  7412. type: integer
  7413. convertfactor:
  7414. description: 标仓系数
  7415. type: number
  7416. createtime:
  7417. description: 创建时间
  7418. type: string
  7419. creatorid:
  7420. description: 创建人
  7421. type: integer
  7422. creatorsrc:
  7423. description: 创建人来源 - 1:管理端 2:终端
  7424. type: integer
  7425. deliverygoodsid:
  7426. description: 现货品种ID
  7427. type: integer
  7428. isvalid:
  7429. description: 是否有效 - 0:无效 1:有效
  7430. type: integer
  7431. modelid:
  7432. description: ModelID(SEQ_SPOTGOODSMODEL)
  7433. type: integer
  7434. modelname:
  7435. description: 型号名称
  7436. type: string
  7437. updatetime:
  7438. description: 更新时间
  7439. type: string
  7440. updatorid:
  7441. description: 更新人
  7442. type: integer
  7443. updatorsrc:
  7444. description: 更新人来源 - 1:管理端 2:终端
  7445. type: integer
  7446. wrstandardid:
  7447. description: 现货商品ID
  7448. type: integer
  7449. type: object
  7450. models.ErmcpHisExposure:
  7451. properties:
  7452. needhedgeexposoure:
  7453. description: 应套保敞口
  7454. type: number
  7455. reckondate:
  7456. description: 日照时期(yyyyMMdd)
  7457. type: string
  7458. totalexposure:
  7459. description: 总敞口
  7460. type: number
  7461. type: object
  7462. models.ErmcpLoginTaAccount:
  7463. properties:
  7464. accountid:
  7465. description: 账号id
  7466. type: integer
  7467. accountname:
  7468. description: 账号名称
  7469. type: string
  7470. type: object
  7471. models.ErmcpLoginUser:
  7472. properties:
  7473. acclist:
  7474. description: 关联资金账号
  7475. items:
  7476. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7477. type: array
  7478. accountname:
  7479. description: 用户名称
  7480. type: string
  7481. clientroleid:
  7482. description: 角色id(usertype=2)
  7483. type: integer
  7484. createtime:
  7485. description: 创建时间
  7486. type: string
  7487. logincode:
  7488. description: 登录代码
  7489. type: string
  7490. loginid:
  7491. description: 登录id(LOGINID)
  7492. type: integer
  7493. loginname:
  7494. description: 登录名称(loginaccount表中的accountname字段)
  7495. type: string
  7496. loginstatus:
  7497. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7498. type: integer
  7499. memberuserid:
  7500. description: 所属会员id
  7501. type: integer
  7502. mobile:
  7503. description: 手机号
  7504. type: string
  7505. modifytime:
  7506. description: 修改时间
  7507. type: string
  7508. password:
  7509. description: 密码(不可解密)
  7510. type: string
  7511. rolename:
  7512. description: 角色名称
  7513. type: string
  7514. rolestatus:
  7515. description: 角色状态 1-启用 2-停用
  7516. type: integer
  7517. roletype:
  7518. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7519. type: string
  7520. userid:
  7521. description: 用户id
  7522. type: integer
  7523. usertype:
  7524. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7525. type: integer
  7526. type: object
  7527. models.ErmcpLoginUserEx:
  7528. properties:
  7529. accountstatus:
  7530. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7531. type: integer
  7532. mobile:
  7533. description: 手机号
  7534. type: string
  7535. querytype:
  7536. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7537. type: integer
  7538. roleid:
  7539. description: 角色id(交易账户->用户id)
  7540. type: integer
  7541. rolename:
  7542. description: 角色名称(交易账户->用户名称)
  7543. type: string
  7544. userlist:
  7545. description: 用户列表
  7546. items:
  7547. $ref: '#/definitions/models.ErmcpLoginUser'
  7548. type: array
  7549. usertype:
  7550. description: 用户类型 2-机构 7-企业成员(云平台)
  7551. type: integer
  7552. type: object
  7553. models.ErmcpMiddleGoodsModel:
  7554. properties:
  7555. areauserid:
  7556. description: 机构用户ID
  7557. type: integer
  7558. createtime:
  7559. description: 修改时间
  7560. type: string
  7561. enumdicname:
  7562. description: 单位名称
  7563. type: string
  7564. evaluateratio:
  7565. description: 估价系数
  7566. type: number
  7567. goodsgroupid:
  7568. description: 关联期货品种ID
  7569. type: integer
  7570. goodsunitid:
  7571. description: 单位ID
  7572. type: integer
  7573. isvalid:
  7574. description: 状态 0-无效(停用) 1-有效(正常)
  7575. type: integer
  7576. middlegoodscode:
  7577. description: 套保品种代码
  7578. type: string
  7579. middlegoodsid:
  7580. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7581. type: integer
  7582. middlegoodsname:
  7583. description: 套保品种名称
  7584. type: string
  7585. modifytime:
  7586. description: 修改时间
  7587. type: string
  7588. needarbitrageratio:
  7589. description: 套利比例
  7590. type: number
  7591. needhedgeratio:
  7592. description: 套保比率
  7593. type: number
  7594. qtydecimalplace:
  7595. description: 数量小数位
  7596. type: integer
  7597. relatedgoodsid:
  7598. description: 关联交易商品ID
  7599. type: integer
  7600. relatedgoodstype:
  7601. description: 关联商品类型 - 1:期货合约 2:现货品种
  7602. type: integer
  7603. remark:
  7604. description: 备注
  7605. type: string
  7606. type: object
  7607. models.ErmcpMiddlegoodsRelateGoods:
  7608. properties:
  7609. agreeunit:
  7610. description: 合约乘数
  7611. type: number
  7612. convertratio:
  7613. description: 折算系数
  7614. type: number
  7615. enumdicname:
  7616. description: 单位名称(交易商品)
  7617. type: string
  7618. goodscode:
  7619. description: 交易商品代码
  7620. type: string
  7621. goodsgroupid:
  7622. description: 交易品种id
  7623. type: integer
  7624. goodsid:
  7625. description: 商品Id
  7626. type: integer
  7627. goodsname:
  7628. description: 交易商品名称
  7629. type: string
  7630. goodunitid:
  7631. description: 交易商品单位id
  7632. type: integer
  7633. middlegoodsid:
  7634. description: 套保商品id
  7635. type: integer
  7636. middlegoodsname:
  7637. description: 套保商品名称
  7638. type: string
  7639. middlegoodsswcode:
  7640. description: 套保商品代码
  7641. type: string
  7642. needarbitrageratio:
  7643. description: 应套利比例
  7644. type: number
  7645. needhedgeratio:
  7646. description: 应套保比例
  7647. type: number
  7648. type: object
  7649. models.ErmcpRole:
  7650. properties:
  7651. areauserid:
  7652. description: 所属机构
  7653. type: integer
  7654. autoid:
  7655. description: 角色ID(自增ID)
  7656. type: integer
  7657. modifierid:
  7658. description: 修改人(创建人)
  7659. type: integer
  7660. modifiername:
  7661. description: 修改人名称
  7662. type: string
  7663. modifytime:
  7664. description: 修改时间(创建时间)
  7665. type: string
  7666. rolename:
  7667. description: 角色名称
  7668. type: string
  7669. rolestatus:
  7670. description: 角色状态 - 1:启用 2:停用
  7671. type: integer
  7672. roletype:
  7673. description: 角色类型 - 1- 管理端 2- 交易端
  7674. type: integer
  7675. type: object
  7676. models.ErmcpRoleMenu:
  7677. properties:
  7678. iconame:
  7679. description: 菜单图标
  7680. type: string
  7681. ishadrole:
  7682. description: 是否有权限
  7683. type: boolean
  7684. menutype:
  7685. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  7686. type: integer
  7687. parentcode:
  7688. description: 上级资源代码
  7689. type: string
  7690. remark:
  7691. description: 菜单备注
  7692. type: string
  7693. resourcecode:
  7694. description: 菜单代码
  7695. type: string
  7696. resourcelevel:
  7697. description: 级别
  7698. type: integer
  7699. resourcename:
  7700. description: 菜单名称
  7701. type: string
  7702. roleid:
  7703. description: 角色id
  7704. type: integer
  7705. sort:
  7706. description: 排序
  7707. type: integer
  7708. url:
  7709. description: URL
  7710. type: string
  7711. userid:
  7712. description: 用户id
  7713. type: integer
  7714. type: object
  7715. models.ErmcpRoleMenuEx:
  7716. properties:
  7717. menu:
  7718. $ref: '#/definitions/models.ErmcpRoleMenu'
  7719. description: 父级菜单
  7720. subMenu:
  7721. description: 子级菜单
  7722. items:
  7723. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7724. type: array
  7725. type: object
  7726. models.ErmcpTaAccount:
  7727. properties:
  7728. accountid:
  7729. description: 账户id
  7730. type: integer
  7731. accountname:
  7732. description: 账户名称
  7733. type: string
  7734. currencyid:
  7735. description: 币种id
  7736. type: integer
  7737. hedgeaccountcode:
  7738. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7739. type: string
  7740. ismain:
  7741. description: 是否主账户 0-否 1-是
  7742. type: integer
  7743. parentaccountid:
  7744. description: 父账户id
  7745. type: integer
  7746. relateduserid:
  7747. description: 关联userid
  7748. type: integer
  7749. tradefeetmpid:
  7750. description: 手续费模板id
  7751. type: integer
  7752. tradefeetmpname:
  7753. description: 手续费模板名称
  7754. type: string
  7755. trademargintmpid:
  7756. description: 保证金模板id
  7757. type: integer
  7758. trademargintmpname:
  7759. description: 保证金模板名称
  7760. type: string
  7761. traderatetmpid:
  7762. description: 汇率模板id
  7763. type: integer
  7764. traderatetmpname:
  7765. description: 汇率模板名称
  7766. type: string
  7767. tradestatus:
  7768. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7769. type: integer
  7770. userid:
  7771. description: 用户id
  7772. type: integer
  7773. type: object
  7774. models.ErmcpTaAccountEx:
  7775. properties:
  7776. mainAcc:
  7777. $ref: '#/definitions/models.ErmcpTaAccountM'
  7778. description: 主账号
  7779. subacclist:
  7780. description: 子账号列表
  7781. items:
  7782. $ref: '#/definitions/models.ErmcpTaAccount'
  7783. type: array
  7784. type: object
  7785. models.ErmcpTaAccountInfo:
  7786. properties:
  7787. accountid:
  7788. description: 资金账户ID
  7789. type: integer
  7790. accountname:
  7791. description: 账户名称
  7792. type: string
  7793. balance:
  7794. description: 期初余额
  7795. type: number
  7796. capitalbalance:
  7797. description: 本金余额[外部子账户实际出入金余额]
  7798. type: number
  7799. closepl:
  7800. description: 今日平仓盈亏
  7801. type: number
  7802. creditdecrease:
  7803. description: 今日授信减少
  7804. type: number
  7805. creditincrease:
  7806. description: 今日授信增加
  7807. type: number
  7808. curdebt:
  7809. description: 期末欠款
  7810. type: number
  7811. currencyid:
  7812. description: 货币ID
  7813. type: integer
  7814. currentbalance:
  7815. description: 期末余额
  7816. type: number
  7817. freezecharge:
  7818. description: 手续费冻结
  7819. type: number
  7820. freezemargin:
  7821. description: 冻结保证金
  7822. type: number
  7823. fromaccountid:
  7824. description: 所属上级账户
  7825. type: integer
  7826. inamount:
  7827. description: 今日入金金额(包括三方入金)
  7828. type: number
  7829. ismain:
  7830. description: 是否母账号 0:不是母账户 1:是母账户
  7831. type: integer
  7832. mortgagecredit:
  7833. description: 授信金额
  7834. type: number
  7835. oridebt:
  7836. description: 期初欠款
  7837. type: number
  7838. orifreezecharge:
  7839. description: 期初手续费冻结
  7840. type: number
  7841. orifreezemargin:
  7842. description: 期初冻结保证金
  7843. type: number
  7844. orimortgagecredit:
  7845. description: 期初授信金额
  7846. type: number
  7847. oriothercredit:
  7848. description: 期初其它授信金额
  7849. type: number
  7850. oriotherfreezemargin:
  7851. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7852. type: number
  7853. orioutamountfreeze:
  7854. description: 期初出金冻结
  7855. type: number
  7856. oriusedmargin:
  7857. description: 期初占用保证金
  7858. type: number
  7859. othercredit:
  7860. description: 其它授信金额
  7861. type: number
  7862. othercreditdecrease:
  7863. description: 今日其它授信减少
  7864. type: number
  7865. othercreditincrease:
  7866. description: 今日其它授信增加
  7867. type: number
  7868. otherfreezemargin:
  7869. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7870. type: number
  7871. outamount:
  7872. description: 今日出金金额(包括三方出金)
  7873. type: number
  7874. outamountfreeze:
  7875. description: 出金冻结
  7876. type: number
  7877. outthreshold:
  7878. description: 出金阈值
  7879. type: number
  7880. parentaccountid:
  7881. description: 所属根账号
  7882. type: integer
  7883. paycharge:
  7884. description: 今日手续费支出
  7885. type: number
  7886. relateduserid:
  7887. description: 关联用户
  7888. type: integer
  7889. signstatus:
  7890. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7891. type: integer
  7892. sublevelpath:
  7893. description: 账号层级路径(逗号分隔,首尾加逗号)
  7894. type: string
  7895. taaccounttype:
  7896. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7897. type: integer
  7898. thirdinamount:
  7899. description: 今日三方入金
  7900. type: number
  7901. thirdoutamount:
  7902. description: 今日三方出金
  7903. type: number
  7904. tradestatus:
  7905. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7906. type: integer
  7907. transferamount:
  7908. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7909. type: number
  7910. usedmargin:
  7911. description: 占用保证金
  7912. type: number
  7913. userid:
  7914. description: 用户ID
  7915. type: integer
  7916. type: object
  7917. models.ErmcpTaAccountM:
  7918. properties:
  7919. accountid:
  7920. description: 账户id
  7921. type: integer
  7922. accountname:
  7923. description: 账户名称
  7924. type: string
  7925. currencyid:
  7926. description: 币种id
  7927. type: integer
  7928. fcid:
  7929. description: 期货公司id
  7930. type: integer
  7931. fcname:
  7932. description: 期货公司代码
  7933. type: string
  7934. hedgeaccountcode:
  7935. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7936. type: string
  7937. ismain:
  7938. description: 是否主账户 0-否 1-是
  7939. type: integer
  7940. parentaccountid:
  7941. description: 父账户id
  7942. type: integer
  7943. relateduserid:
  7944. description: 关联userid
  7945. type: integer
  7946. tradefeetmpid:
  7947. description: 手续费模板id
  7948. type: integer
  7949. tradefeetmpname:
  7950. description: 手续费模板名称
  7951. type: string
  7952. trademargintmpid:
  7953. description: 保证金模板id
  7954. type: integer
  7955. trademargintmpname:
  7956. description: 保证金模板名称
  7957. type: string
  7958. traderatetmpid:
  7959. description: 汇率模板id
  7960. type: integer
  7961. traderatetmpname:
  7962. description: 汇率模板名称
  7963. type: string
  7964. tradestatus:
  7965. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7966. type: integer
  7967. userid:
  7968. description: 用户id
  7969. type: integer
  7970. type: object
  7971. models.ErmcpTradeConfigTMP:
  7972. properties:
  7973. areauserid:
  7974. description: 所属机构
  7975. type: integer
  7976. basiccurrencyid:
  7977. description: 基本币种ID[汇率] - 目标币种
  7978. type: integer
  7979. mainaccountid:
  7980. description: 主账户ID
  7981. type: integer
  7982. modifierid:
  7983. description: 修改人
  7984. type: integer
  7985. remark:
  7986. description: 备注
  7987. type: string
  7988. tradeconfigtmpid:
  7989. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7990. type: integer
  7991. tradeconfigtmpname:
  7992. description: 交易配置模板名称
  7993. type: string
  7994. tradeconfigtmptype:
  7995. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7996. type: integer
  7997. updatetime:
  7998. description: 更新时间
  7999. type: string
  8000. type: object
  8001. models.Externalexchange:
  8002. properties:
  8003. autoid:
  8004. description: AutoID - SEQ_EXTERNALEXCHANGE
  8005. type: integer
  8006. exchangefullname:
  8007. description: 外部交易所全称
  8008. type: string
  8009. exexchangecode:
  8010. description: 外部交易所代码
  8011. type: string
  8012. exexchangename:
  8013. description: 外部交易所名称(简称)
  8014. type: string
  8015. ismarketprice:
  8016. description: 是否支持市价 - 0:不支持 1:支持
  8017. type: integer
  8018. quotegear:
  8019. description: 行情档位(1-10)
  8020. type: integer
  8021. showbrokerflag:
  8022. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8023. type: integer
  8024. updatetime:
  8025. description: 更新时间
  8026. type: string
  8027. required:
  8028. - autoid
  8029. type: object
  8030. models.Funcmenulist:
  8031. properties:
  8032. iconame:
  8033. description: 菜单图标
  8034. type: string
  8035. menutype:
  8036. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8037. type: integer
  8038. parentcode:
  8039. description: 上级资源代码
  8040. type: string
  8041. remark:
  8042. description: 备注
  8043. type: string
  8044. resourcecode:
  8045. description: 资源代码
  8046. type: string
  8047. resourcelevel:
  8048. description: 级别 1-一级 2-二级 3-三级 4-四级
  8049. type: integer
  8050. resourcename:
  8051. description: 资源名
  8052. type: string
  8053. sort:
  8054. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8055. type: integer
  8056. url:
  8057. description: URL
  8058. type: string
  8059. required:
  8060. - resourcecode
  8061. type: object
  8062. models.Goods:
  8063. properties:
  8064. agreeunit:
  8065. description: 合约单位
  8066. type: number
  8067. areauserid:
  8068. description: 所属机构
  8069. type: integer
  8070. auditaccountid:
  8071. description: 审核操作员账号
  8072. type: integer
  8073. audittime:
  8074. description: 审核时间
  8075. type: string
  8076. cancelaccountid:
  8077. description: 注销操作员账号
  8078. type: integer
  8079. canceltime:
  8080. description: 注销时间
  8081. type: string
  8082. closepricemode:
  8083. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8084. type: integer
  8085. closepriceparam:
  8086. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8087. type: number
  8088. createtime:
  8089. description: 创建时间
  8090. type: string
  8091. creatorid:
  8092. description: 创建人
  8093. type: integer
  8094. currencyid:
  8095. description: 报价货币ID
  8096. type: integer
  8097. cutmode:
  8098. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8099. type: integer
  8100. decimalplace:
  8101. description: 报价小数位
  8102. type: integer
  8103. delistingdate:
  8104. description: 商品退市时间(状态:退市) -- 已作废
  8105. type: string
  8106. delistingmode:
  8107. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8108. type: integer
  8109. deliveryflag:
  8110. description: 交割标志 - 0:不可交割 1:可交割
  8111. type: integer
  8112. forceclosemode:
  8113. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8114. type: integer
  8115. forceclosevalue:
  8116. description: 定期强平参数 [收益权]
  8117. type: integer
  8118. goodscode:
  8119. description: 商品代码(内部)
  8120. type: string
  8121. goodscurrencyid:
  8122. description: 合约货币ID
  8123. type: integer
  8124. goodsgroupid:
  8125. description: 所属商品组ID
  8126. type: integer
  8127. goodsid:
  8128. description: 商品ID(自增ID SEQ_GOODS)
  8129. type: integer
  8130. goodsname:
  8131. description: 商品名称
  8132. type: string
  8133. goodsquotetype:
  8134. description: '合约报价类型: 1-直接报价 2-间接报价'
  8135. type: integer
  8136. goodsstatus:
  8137. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8138. type: integer
  8139. goodstradetype:
  8140. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8141. type: integer
  8142. goodunitid:
  8143. description: 报价单位ID
  8144. type: integer
  8145. hasquoter:
  8146. description: 是否有报价商 - 0:无报价商 1:有报价商
  8147. type: integer
  8148. hqprotecttime:
  8149. description: 行情保护时间(秒)
  8150. type: integer
  8151. innerdealmode:
  8152. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8153. type: integer
  8154. isbuylimited:
  8155. description: 是否限制建仓量 - 0:不限制 1:限制
  8156. type: integer
  8157. isvisible:
  8158. description: 游客是否可见 - 0:不可见 1:可见
  8159. type: integer
  8160. lasttradedate:
  8161. description: 最后交易日期(状态:待退市)
  8162. type: string
  8163. listingdate:
  8164. description: 交易开始日期
  8165. type: string
  8166. marketid:
  8167. description: 所属市场ID
  8168. type: integer
  8169. modifierid:
  8170. description: 修改人
  8171. type: integer
  8172. modifystatus:
  8173. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8174. type: integer
  8175. modifytime:
  8176. description: 修改时间
  8177. type: string
  8178. outerdealmode:
  8179. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8180. type: integer
  8181. outgoodscode:
  8182. description: 商品代码(外部)
  8183. type: string
  8184. pictureurl:
  8185. description: 商品图片
  8186. type: string
  8187. qtydecimalplace:
  8188. description: 成交量小数位
  8189. type: integer
  8190. quotegear:
  8191. description: 行情档位(1-10)
  8192. type: integer
  8193. quoteminunit:
  8194. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8195. type: integer
  8196. quoteshowtype:
  8197. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8198. type: integer
  8199. quoteshowtypeinterval:
  8200. description: 行情报价间隔时间(秒)(成交价时为0)
  8201. type: integer
  8202. remark:
  8203. description: 备注
  8204. type: string
  8205. required:
  8206. - goodscode
  8207. - goodsid
  8208. - goodsname
  8209. - marketid
  8210. type: object
  8211. models.GoodsIDAndName:
  8212. properties:
  8213. goodscode:
  8214. description: 商品代码(内部)
  8215. type: string
  8216. goodsid:
  8217. description: 商品ID(自增ID SEQ_GOODS)
  8218. type: integer
  8219. goodsname:
  8220. description: 商品名称
  8221. type: string
  8222. marketid:
  8223. description: 所属市场ID
  8224. type: integer
  8225. required:
  8226. - goodscode
  8227. - goodsid
  8228. - goodsname
  8229. - marketid
  8230. type: object
  8231. models.Goodsgroup:
  8232. properties:
  8233. agreeunit:
  8234. description: 合约单位
  8235. type: number
  8236. canshort:
  8237. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8238. type: integer
  8239. closepricemode:
  8240. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8241. type: integer
  8242. closepriceparam:
  8243. description: 强平最新价浮动比例 - 方式为2时使用
  8244. type: number
  8245. createtime:
  8246. description: 创建时间
  8247. type: string
  8248. creatorid:
  8249. description: 创建人
  8250. type: integer
  8251. currencyid:
  8252. description: 报价货币ID
  8253. type: integer
  8254. decimalplace:
  8255. description: 报价小数位
  8256. type: integer
  8257. exercisetype:
  8258. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8259. type: integer
  8260. exexchangeid:
  8261. description: 外部交易所ID[通道交易]
  8262. type: integer
  8263. goodsgroupid:
  8264. description: 商品组ID(自增ID)
  8265. type: integer
  8266. goodsgroupname:
  8267. description: 商品组名称
  8268. type: string
  8269. goodsgroupstatus:
  8270. description: 商品组状态 - 1:正常 2:注销
  8271. type: integer
  8272. goodunitid:
  8273. description: 报价单位ID
  8274. type: integer
  8275. innerdealmode:
  8276. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8277. type: integer
  8278. isbuylimited:
  8279. description: 是否限制建仓量 - 0:不限制 1:限制
  8280. type: integer
  8281. marketid:
  8282. description: 所属市场ID
  8283. type: integer
  8284. modifierid:
  8285. description: 修改人
  8286. type: integer
  8287. modifytime:
  8288. description: 修改时间
  8289. type: string
  8290. outerdealmode:
  8291. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8292. type: integer
  8293. outergroupcode:
  8294. description: 外部商品组代码[通道交易]
  8295. type: string
  8296. premiumdecimalplace:
  8297. description: 权利金小数位[场外期权]
  8298. type: integer
  8299. premiumspreadalgorithm:
  8300. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8301. type: integer
  8302. premiumspreadvalue:
  8303. description: 权利金点差值[场外期权]
  8304. type: number
  8305. qtydecimalplace:
  8306. description: 成交量小数位
  8307. type: integer
  8308. quotegear:
  8309. description: 行情档位(1-10)
  8310. type: integer
  8311. quoteminunit:
  8312. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8313. type: integer
  8314. quoterid:
  8315. description: 报价商ID[场外期权]
  8316. type: integer
  8317. quotesourcegroupid:
  8318. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8319. type: integer
  8320. syncgoodsqty:
  8321. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8322. type: integer
  8323. required:
  8324. - goodsgroupid
  8325. - goodsgroupname
  8326. - goodsgroupstatus
  8327. - marketid
  8328. type: object
  8329. models.Goodssortbypreposition:
  8330. properties:
  8331. goodscode:
  8332. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8333. type: string
  8334. goodsgroupcode:
  8335. description: 品种代码
  8336. type: string
  8337. prepositionqty:
  8338. description: 昨持仓量
  8339. type: integer
  8340. sortindex:
  8341. description: 排序
  8342. type: integer
  8343. tradedate:
  8344. description: 交易日
  8345. type: string
  8346. updatetime:
  8347. description: 更新时间
  8348. type: string
  8349. required:
  8350. - goodscode
  8351. - tradedate
  8352. type: object
  8353. models.Hedgeinnerholderdetail:
  8354. properties:
  8355. accountid:
  8356. description: 账号ID
  8357. type: integer
  8358. buyorsell:
  8359. description: 方向 - 0:买 1:卖
  8360. type: integer
  8361. freezeqty:
  8362. description: 冻结数量 - 按单平使用
  8363. type: integer
  8364. goodsid:
  8365. description: 商品ID
  8366. type: integer
  8367. holderamount:
  8368. description: 持仓金额 [商品币种]
  8369. type: number
  8370. holderdays:
  8371. description: 剩余冻结天数
  8372. type: integer
  8373. holderprice:
  8374. description: 持仓价格
  8375. type: number
  8376. holderqty:
  8377. description: 持仓数量
  8378. type: integer
  8379. marketid:
  8380. description: 市场ID
  8381. type: integer
  8382. openprice:
  8383. description: 建仓价格
  8384. type: number
  8385. openqty:
  8386. description: 建仓数量
  8387. type: integer
  8388. parentaccountid:
  8389. description: 所属母账户
  8390. type: integer
  8391. releaseamount:
  8392. description: 释放持仓金额[商品币种]
  8393. type: number
  8394. tradeamount:
  8395. description: 成交金额[账户]
  8396. type: number
  8397. tradedate:
  8398. description: 交易日(yyyyMMdd)
  8399. type: string
  8400. tradeid:
  8401. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8402. type: string
  8403. tradetime:
  8404. description: 交易时间
  8405. type: string
  8406. required:
  8407. - buyorsell
  8408. - tradeid
  8409. type: object
  8410. models.Hedgemarketopenlog:
  8411. properties:
  8412. accountid:
  8413. description: 资金账号[外部母账户]
  8414. type: integer
  8415. fcname:
  8416. description: 期货公司名称
  8417. type: string
  8418. handlestatus:
  8419. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8420. type: integer
  8421. marketid:
  8422. description: 市场ID
  8423. type: integer
  8424. status:
  8425. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8426. type: integer
  8427. tradedate:
  8428. description: 交易日(yyyyMMdd)
  8429. type: string
  8430. updatetime:
  8431. description: 更新时间
  8432. type: string
  8433. required:
  8434. - accountid
  8435. type: object
  8436. models.HsbyBuyMyPayOrder:
  8437. properties:
  8438. agreeunit:
  8439. description: 合约单位
  8440. type: number
  8441. buyaccountid:
  8442. description: 买方账号ID[报价币种]
  8443. type: integer
  8444. buyorderid:
  8445. description: 买方委托单号
  8446. type: string
  8447. createtime:
  8448. description: 创建时间
  8449. type: string
  8450. currencysign:
  8451. description: 货币符号
  8452. type: string
  8453. decimalplace:
  8454. description: 报价小数位
  8455. type: integer
  8456. goodscode:
  8457. description: 商品代码(内部)
  8458. type: string
  8459. goodsid:
  8460. description: 商品ID
  8461. type: integer
  8462. goodsname:
  8463. description: 商品名称
  8464. type: string
  8465. marketid:
  8466. description: 市场ID
  8467. type: integer
  8468. offamount:
  8469. description: 优惠金额
  8470. type: number
  8471. originalamount:
  8472. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8473. type: number
  8474. payamount:
  8475. description: 支付金额 = TradeAmount + TradeCharge
  8476. type: number
  8477. payflag:
  8478. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8479. type: integer
  8480. paylimitedtime:
  8481. description: 支付期限
  8482. type: string
  8483. paytime:
  8484. description: 付款时间
  8485. type: string
  8486. picurls1:
  8487. description: 预售商品介绍图片[多张用逗号分隔]
  8488. type: string
  8489. picurls2:
  8490. description: 挂牌商品介绍图片[多张用逗号分隔]
  8491. type: string
  8492. sellaccountid:
  8493. description: 卖方账号ID[报价币种]
  8494. type: integer
  8495. sellorderid:
  8496. description: 卖方委托单号
  8497. type: string
  8498. tradeamount:
  8499. description: 成交金额
  8500. type: number
  8501. tradecharge:
  8502. description: 成交手续费(买方)
  8503. type: number
  8504. tradedate:
  8505. description: 交易日(yyyyMMdd)
  8506. type: string
  8507. tradeid:
  8508. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8509. type: string
  8510. trademode:
  8511. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8512. type: integer
  8513. tradeprice:
  8514. description: 成交价格
  8515. type: number
  8516. tradeqty:
  8517. description: 成交数量
  8518. type: integer
  8519. vendorname1:
  8520. description: 预售商品供应商名称
  8521. type: string
  8522. vendorname2:
  8523. description: 挂牌商品供应商名称
  8524. type: string
  8525. required:
  8526. - goodscode
  8527. - goodsname
  8528. - tradeid
  8529. - trademode
  8530. type: object
  8531. models.HsbyBuyMyTradeDetail:
  8532. properties:
  8533. accountid:
  8534. description: 账户ID[报价币种]
  8535. type: integer
  8536. agreeunit:
  8537. description: 合约单位
  8538. type: number
  8539. amount:
  8540. description: 金额 = 价格 * 数量 * 合约单位
  8541. type: number
  8542. buyorsell:
  8543. description: 买卖 - 0:买 1:卖
  8544. type: integer
  8545. currencysign:
  8546. description: 货币符号
  8547. type: string
  8548. decimalplace:
  8549. description: 报价小数位
  8550. type: integer
  8551. goodscode:
  8552. description: 商品代码(内部)
  8553. type: string
  8554. goodsid:
  8555. description: 商品ID
  8556. type: integer
  8557. goodsname:
  8558. description: 商品名称
  8559. type: string
  8560. marketid:
  8561. description: 市场ID
  8562. type: integer
  8563. orderamount:
  8564. description: 委托金额
  8565. type: number
  8566. orderid:
  8567. description: 单号(成交单号)
  8568. type: string
  8569. picurls1:
  8570. description: 预售商品介绍图片[多张用逗号分隔]
  8571. type: string
  8572. picurls2:
  8573. description: 挂牌商品介绍图片[多张用逗号分隔]
  8574. type: string
  8575. price:
  8576. description: 价格
  8577. type: number
  8578. qty:
  8579. description: 数量
  8580. type: integer
  8581. time:
  8582. description: 时间
  8583. type: string
  8584. trademode:
  8585. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8586. type: integer
  8587. vendorname1:
  8588. description: 预售商品供应商名称
  8589. type: string
  8590. vendorname2:
  8591. description: 挂牌商品供应商名称
  8592. type: string
  8593. required:
  8594. - accountid
  8595. - buyorsell
  8596. - goodscode
  8597. - goodsid
  8598. - goodsname
  8599. - marketid
  8600. - orderid
  8601. - qty
  8602. - time
  8603. - trademode
  8604. type: object
  8605. models.HsbyGoodsOrderDetail:
  8606. properties:
  8607. buyorsell:
  8608. description: 买卖 - 0:买 1:卖
  8609. type: integer
  8610. currencysign:
  8611. description: 货币符号
  8612. type: string
  8613. customername:
  8614. description: 客户名称(企业名称),已脱敏
  8615. type: string
  8616. enableqty:
  8617. description: 可用数量
  8618. type: integer
  8619. goodunit:
  8620. description: 报价单位
  8621. type: string
  8622. orderid:
  8623. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8624. type: string
  8625. orderprice:
  8626. description: 委托价格
  8627. type: number
  8628. ordertime:
  8629. description: 委托时间
  8630. type: string
  8631. required:
  8632. - buyorsell
  8633. - orderid
  8634. - ordertime
  8635. type: object
  8636. models.HsbyListingGoodsDetail:
  8637. properties:
  8638. agreeunit:
  8639. description: 合约单位
  8640. type: number
  8641. buymaxqty:
  8642. description: 购买上限 [71] - 0为不限
  8643. type: integer
  8644. currency:
  8645. description: 货币
  8646. type: string
  8647. currencysign:
  8648. description: 货币符号
  8649. type: string
  8650. decimalplace:
  8651. description: 报价小数位
  8652. type: integer
  8653. desccityid:
  8654. description: 目的地(市)ID
  8655. type: integer
  8656. descprovinceid:
  8657. description: 目的地(省)ID
  8658. type: integer
  8659. goodscode:
  8660. description: 商品代码(内部)
  8661. type: string
  8662. goodsdesc:
  8663. description: 商品详情
  8664. type: string
  8665. goodsid:
  8666. description: 商品ID(自增ID SEQ_GOODS)
  8667. type: integer
  8668. goodsname:
  8669. description: 商品名称
  8670. type: string
  8671. goodsprice:
  8672. description: 商品价格
  8673. type: number
  8674. hotindex:
  8675. description: 景点热度
  8676. type: integer
  8677. last:
  8678. description: 现价
  8679. type: number
  8680. limitdown:
  8681. description: 跌停价
  8682. type: number
  8683. limitup:
  8684. description: 涨停价
  8685. type: number
  8686. lotsize:
  8687. description: 手数最小变动单位
  8688. type: integer
  8689. marketid:
  8690. description: 所属市场ID
  8691. type: integer
  8692. picurls:
  8693. description: 介绍图片[多张用逗号分隔]
  8694. type: string
  8695. quoteminunit:
  8696. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8697. type: integer
  8698. stepvalue:
  8699. description: 价格最小变动单位
  8700. type: number
  8701. trademode:
  8702. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8703. type: integer
  8704. vendorattr:
  8705. description: 供应商附件(多张,逗号分隔)
  8706. type: string
  8707. vendorname:
  8708. description: 供应商名称
  8709. type: string
  8710. vendorphone:
  8711. description: 供应商客服电话
  8712. type: string
  8713. videourls:
  8714. description: 介绍视频[多张用逗号分隔]
  8715. type: string
  8716. required:
  8717. - goodscode
  8718. - goodsid
  8719. - goodsname
  8720. - marketid
  8721. - trademode
  8722. type: object
  8723. models.HsbyMarketGoods:
  8724. properties:
  8725. accountid:
  8726. description: 账户ID[报价币种]
  8727. type: integer
  8728. agreeunit:
  8729. description: 合约单位
  8730. type: number
  8731. buyorsell:
  8732. description: 买卖 - 0:买 1:卖
  8733. type: integer
  8734. categoryid:
  8735. description: 类别ID(WRCATEGORY)
  8736. type: integer
  8737. currency:
  8738. description: 货币
  8739. type: string
  8740. currencysign:
  8741. description: 货币符号
  8742. type: string
  8743. customername:
  8744. description: 卖家名称
  8745. type: string
  8746. decimalplace:
  8747. description: 报价小数位
  8748. type: integer
  8749. goodscode:
  8750. description: 商品代码(内部)
  8751. type: string
  8752. goodsid:
  8753. description: 商品ID
  8754. type: integer
  8755. goodsname:
  8756. description: 商品名称
  8757. type: string
  8758. goodsprice:
  8759. description: 商品价格
  8760. type: number
  8761. hascoupon:
  8762. description: 是否可用优惠卷
  8763. type: boolean
  8764. hotindex:
  8765. description: 景点热度
  8766. type: integer
  8767. marketid:
  8768. description: 市场ID
  8769. type: integer
  8770. orderid:
  8771. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8772. type: string
  8773. orderprice:
  8774. description: 委托价格
  8775. type: number
  8776. orderstatus:
  8777. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8778. type: integer
  8779. picurls:
  8780. description: 介绍图片[多张用逗号分隔]
  8781. type: string
  8782. quoteminunit:
  8783. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8784. type: integer
  8785. sellUserID:
  8786. description: 卖方UserID
  8787. type: integer
  8788. trademode:
  8789. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8790. type: integer
  8791. videourls:
  8792. description: 介绍视频[多张用逗号分隔]
  8793. type: string
  8794. required:
  8795. - accountid
  8796. - buyorsell
  8797. - goodscode
  8798. - goodsid
  8799. - goodsname
  8800. - marketid
  8801. - orderid
  8802. - trademode
  8803. type: object
  8804. models.HsbyMarketGoodsDetail:
  8805. properties:
  8806. accountid:
  8807. description: 账户ID[报价币种]
  8808. type: integer
  8809. agreeunit:
  8810. description: 合约单位
  8811. type: number
  8812. buymaxqty:
  8813. description: 购买上限 [71] - 0为不限
  8814. type: integer
  8815. buyorsell:
  8816. description: 买卖 - 0:买 1:卖
  8817. type: integer
  8818. cancelqty:
  8819. description: 撤单数量
  8820. type: integer
  8821. categoryid:
  8822. description: 类别ID(WRCATEGORY)
  8823. type: integer
  8824. currency:
  8825. description: 货币
  8826. type: string
  8827. currencysign:
  8828. description: 货币符号
  8829. type: string
  8830. customername:
  8831. description: 卖家名称
  8832. type: string
  8833. decimalplace:
  8834. description: 报价小数位
  8835. type: integer
  8836. goodscode:
  8837. description: 商品代码(内部)
  8838. type: string
  8839. goodsdesc:
  8840. description: 商品详情
  8841. type: string
  8842. goodsid:
  8843. description: 商品ID
  8844. type: integer
  8845. goodsname:
  8846. description: 商品名称
  8847. type: string
  8848. goodsprice:
  8849. description: 商品价格
  8850. type: number
  8851. hotindex:
  8852. description: 景点热度
  8853. type: integer
  8854. lotsize:
  8855. description: 手数最小变动单位
  8856. type: integer
  8857. marketid:
  8858. description: 市场ID
  8859. type: integer
  8860. orderid:
  8861. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8862. type: string
  8863. orderprice:
  8864. description: 委托价格
  8865. type: number
  8866. orderqty:
  8867. description: 委托数量
  8868. type: integer
  8869. orderstatus:
  8870. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8871. type: integer
  8872. picurls:
  8873. description: 介绍图片[多张用逗号分隔]
  8874. type: string
  8875. quoteminunit:
  8876. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8877. type: integer
  8878. sellUserID:
  8879. description: 卖方UserID
  8880. type: integer
  8881. trademode:
  8882. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8883. type: integer
  8884. tradeqty:
  8885. description: 成交数量
  8886. type: integer
  8887. vendorattr:
  8888. description: 供应商附件(多张,逗号分隔)
  8889. type: string
  8890. vendorname:
  8891. description: 供应商名称
  8892. type: string
  8893. vendorphone:
  8894. description: 供应商客服电话
  8895. type: string
  8896. videourls:
  8897. description: 介绍视频[多张用逗号分隔]
  8898. type: string
  8899. required:
  8900. - accountid
  8901. - buyorsell
  8902. - goodscode
  8903. - goodsid
  8904. - goodsname
  8905. - marketid
  8906. - orderid
  8907. - orderqty
  8908. - trademode
  8909. type: object
  8910. models.HsbyMarketInfo:
  8911. properties:
  8912. marketid:
  8913. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8914. type: integer
  8915. marketname:
  8916. description: 市场名称
  8917. type: string
  8918. marketstatus:
  8919. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8920. type: integer
  8921. trademode:
  8922. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8923. type: integer
  8924. required:
  8925. - marketid
  8926. - marketstatus
  8927. - trademode
  8928. type: object
  8929. models.HsbyMyGoods:
  8930. properties:
  8931. accountid:
  8932. description: 账号Id
  8933. type: integer
  8934. agreeunit:
  8935. description: 合约单位
  8936. type: number
  8937. buyaverageprice:
  8938. description: 持仓均价
  8939. type: number
  8940. buycurholderamount:
  8941. description: 买当前持仓总金额[商品币种]
  8942. type: number
  8943. buycurpositionqty:
  8944. description: 买当前持仓总数量
  8945. type: integer
  8946. buymaxqty:
  8947. description: 购买上限 [71] - 0为不限
  8948. type: integer
  8949. currencysign:
  8950. description: 货币符号
  8951. type: string
  8952. decimalplace:
  8953. description: 报价小数位
  8954. type: integer
  8955. enableqty:
  8956. description: 可用数量
  8957. type: integer
  8958. goodscode:
  8959. description: 商品代码(内部)
  8960. type: string
  8961. goodsid:
  8962. description: 商品Id
  8963. type: integer
  8964. goodsname:
  8965. description: 商品名称
  8966. type: string
  8967. goodsprice:
  8968. description: 商品价格
  8969. type: number
  8970. goodsstatus:
  8971. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8972. type: integer
  8973. last:
  8974. description: 现价(仅使用于挂牌点选)
  8975. type: number
  8976. limitdown:
  8977. description: 跌停价(仅使用于挂牌点选)
  8978. type: number
  8979. limitup:
  8980. description: 涨停价(仅使用于挂牌点选)
  8981. type: number
  8982. lotsize:
  8983. description: 手数最小变动单位
  8984. type: integer
  8985. marketid:
  8986. description: 所属市场ID
  8987. type: integer
  8988. picurls:
  8989. description: 介绍图片[多张用逗号分隔]
  8990. type: string
  8991. quoteminunit:
  8992. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8993. type: integer
  8994. stepvalue:
  8995. description: 价格最小变动单位
  8996. type: number
  8997. trademode:
  8998. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8999. type: integer
  9000. required:
  9001. - accountid
  9002. - goodscode
  9003. - goodsid
  9004. - goodsname
  9005. - marketid
  9006. - trademode
  9007. type: object
  9008. models.HsbyMyPackage:
  9009. properties:
  9010. accountid:
  9011. description: 账户ID
  9012. type: integer
  9013. address:
  9014. description: 提货人详细地址
  9015. type: string
  9016. agreeunit:
  9017. description: 合约单位
  9018. type: number
  9019. amount:
  9020. description: 提货金额
  9021. type: number
  9022. auditer:
  9023. description: 审核人
  9024. type: integer
  9025. audittime:
  9026. description: 审核时间
  9027. type: string
  9028. averageprice:
  9029. description: 均价
  9030. type: number
  9031. cardnum:
  9032. description: 提货人证件号码
  9033. type: string
  9034. cardtypeid:
  9035. description: 提货人证件类型
  9036. type: integer
  9037. checkremark:
  9038. description: 审核备注
  9039. type: string
  9040. currencysign:
  9041. description: 货币符号
  9042. type: string
  9043. decimalplace:
  9044. description: 报价小数位
  9045. type: integer
  9046. goodscode:
  9047. description: 商品代码(内部)
  9048. type: string
  9049. goodsid:
  9050. description: 商品ID
  9051. type: integer
  9052. goodsname:
  9053. description: 商品名称
  9054. type: string
  9055. handlestatus:
  9056. description: 处理状态
  9057. type: integer
  9058. marketid:
  9059. description: 市场ID
  9060. type: integer
  9061. phonenum:
  9062. description: 提货人联系方式
  9063. type: string
  9064. picurls:
  9065. description: 介绍图片[多张用逗号分隔]
  9066. type: string
  9067. qty:
  9068. description: 提货数量
  9069. type: number
  9070. recivername:
  9071. description: 提货人姓名
  9072. type: string
  9073. reqtime:
  9074. description: 更新时间
  9075. type: string
  9076. takemode:
  9077. description: 提货方式 - 2:自提 3:配送
  9078. type: integer
  9079. takeorderid:
  9080. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9081. type: string
  9082. takeorderstatus:
  9083. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9084. type: integer
  9085. takeremark:
  9086. description: 提货备注
  9087. type: string
  9088. tradedate:
  9089. description: 交易日(yyyyMMdd)
  9090. type: string
  9091. trademode:
  9092. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9093. type: integer
  9094. userid:
  9095. description: 用户ID
  9096. type: integer
  9097. vendorname:
  9098. description: 供应商名称
  9099. type: string
  9100. required:
  9101. - goodscode
  9102. - goodsname
  9103. - takeorderid
  9104. - trademode
  9105. type: object
  9106. models.HsbyPreGoods:
  9107. properties:
  9108. agreeunit:
  9109. description: 合约单位
  9110. type: number
  9111. currency:
  9112. description: 货币
  9113. type: string
  9114. currencysign:
  9115. description: 货币符号
  9116. type: string
  9117. decimalplace:
  9118. description: 报价小数位
  9119. type: integer
  9120. desccityid:
  9121. description: 目的地(市)
  9122. type: integer
  9123. descprovinceid:
  9124. description: 目的地(省)
  9125. type: integer
  9126. enableqty:
  9127. description: 剩余数量
  9128. type: integer
  9129. goodscode:
  9130. description: 商品代码(内部)
  9131. type: string
  9132. goodsid:
  9133. description: 商品ID(自增ID SEQ_GOODS)
  9134. type: integer
  9135. goodsname:
  9136. description: 商品名称
  9137. type: string
  9138. goodsstatus:
  9139. description: 商品状态- 2:未上市 3:上市
  9140. type: integer
  9141. lasttradedate:
  9142. description: 最后交易日期(状态:待退市)
  9143. type: string
  9144. listingdate:
  9145. description: 交易开始日期
  9146. type: string
  9147. marketid:
  9148. description: 所属市场ID
  9149. type: integer
  9150. picurls:
  9151. description: 介绍图片[多张用逗号分隔]
  9152. type: string
  9153. presaledqty:
  9154. description: 已预售量(预售结束时更新)
  9155. type: integer
  9156. presaleqty:
  9157. description: 预售数量
  9158. type: integer
  9159. quoteminunit:
  9160. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9161. type: integer
  9162. refprice:
  9163. description: 参考价格[一口价]
  9164. type: number
  9165. relatedgoodsid:
  9166. description: 关联交易合约ID
  9167. type: integer
  9168. trademode:
  9169. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9170. type: integer
  9171. videourls:
  9172. description: 介绍视频[多张用逗号分隔]
  9173. type: string
  9174. required:
  9175. - goodscode
  9176. - goodsid
  9177. - goodsname
  9178. - marketid
  9179. - trademode
  9180. type: object
  9181. models.HsbyPreGoodsDetail:
  9182. properties:
  9183. agreeunit:
  9184. description: 合约单位
  9185. type: number
  9186. buymaxqty:
  9187. description: 购买上限 [71] - 0为不限
  9188. type: integer
  9189. currency:
  9190. description: 货币
  9191. type: string
  9192. currencysign:
  9193. description: 货币符号
  9194. type: string
  9195. customername:
  9196. description: 发行单位
  9197. type: string
  9198. decimalplace:
  9199. description: 报价小数位
  9200. type: integer
  9201. desccityid:
  9202. description: 目的地(市)ID
  9203. type: integer
  9204. descprovinceid:
  9205. description: 目的地(省)ID
  9206. type: integer
  9207. enableqty:
  9208. description: 剩余数量
  9209. type: integer
  9210. goodscode:
  9211. description: 商品代码(内部)
  9212. type: string
  9213. goodsdesc:
  9214. description: 商品详情
  9215. type: string
  9216. goodsid:
  9217. description: 商品ID(自增ID SEQ_GOODS)
  9218. type: integer
  9219. goodsname:
  9220. description: 商品名称
  9221. type: string
  9222. goodsstatus:
  9223. description: 商品状态- 2:未上市 3:上市
  9224. type: integer
  9225. goodunit:
  9226. description: 报价单位
  9227. type: string
  9228. lasttradedate:
  9229. description: 最后交易日期(状态:待退市)
  9230. type: string
  9231. listingdate:
  9232. description: 交易开始日期
  9233. type: string
  9234. lotsize:
  9235. description: 手数最小变动单位
  9236. type: integer
  9237. marketid:
  9238. description: 所属市场ID
  9239. type: integer
  9240. picurls:
  9241. description: 介绍图片[多张用逗号分隔]
  9242. type: string
  9243. presaledqty:
  9244. description: 已预售量(预售结束时更新)
  9245. type: integer
  9246. presaleqty:
  9247. description: 预售数量
  9248. type: integer
  9249. quoteminunit:
  9250. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9251. type: integer
  9252. refprice:
  9253. description: 参考价格[一口价]
  9254. type: number
  9255. relatedgoodsid:
  9256. description: 关联交易合约ID
  9257. type: integer
  9258. stepvalue:
  9259. description: 价格最小变动单位
  9260. type: number
  9261. trademode:
  9262. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9263. type: integer
  9264. vendorattr:
  9265. description: 供应商附件(多张,逗号分隔)
  9266. type: string
  9267. vendorname:
  9268. description: 供应商名称
  9269. type: string
  9270. vendorphone:
  9271. description: 供应商客服电话
  9272. type: string
  9273. videourls:
  9274. description: 介绍视频[多张用逗号分隔]
  9275. type: string
  9276. required:
  9277. - goodscode
  9278. - goodsid
  9279. - goodsname
  9280. - marketid
  9281. - trademode
  9282. type: object
  9283. models.HsbySellCollectionOrder:
  9284. properties:
  9285. agreeunit:
  9286. description: 合约单位
  9287. type: number
  9288. buyaccountid:
  9289. description: 买方账号ID[报价币种]
  9290. type: integer
  9291. buyorderid:
  9292. description: 买方委托单号
  9293. type: string
  9294. createtime:
  9295. description: 创建时间
  9296. type: string
  9297. currencysign:
  9298. description: 货币符号
  9299. type: string
  9300. decimalplace:
  9301. description: 报价小数位
  9302. type: integer
  9303. goodscode:
  9304. description: 商品代码(内部)
  9305. type: string
  9306. goodsid:
  9307. description: 商品ID
  9308. type: integer
  9309. goodsname:
  9310. description: 商品名称
  9311. type: string
  9312. marketid:
  9313. description: 市场ID
  9314. type: integer
  9315. offamount:
  9316. description: 优惠金额
  9317. type: number
  9318. payamount:
  9319. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9320. type: number
  9321. payflag:
  9322. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9323. type: integer
  9324. paylimitedtime:
  9325. description: 支付期限
  9326. type: string
  9327. paytime:
  9328. description: 付款时间
  9329. type: string
  9330. picurls:
  9331. description: 商品介绍图片[多张用逗号分隔]
  9332. type: string
  9333. sellaccountid:
  9334. description: 卖方账号ID[报价币种]
  9335. type: integer
  9336. sellorderid:
  9337. description: 卖方委托单号
  9338. type: string
  9339. tradeamount:
  9340. description: 成交金额
  9341. type: number
  9342. tradecharge:
  9343. description: 成交手续费(买方)
  9344. type: number
  9345. tradedate:
  9346. description: 交易日(yyyyMMdd)
  9347. type: string
  9348. tradeid:
  9349. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9350. type: string
  9351. trademode:
  9352. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9353. type: integer
  9354. tradeprice:
  9355. description: 成交价格
  9356. type: number
  9357. tradeqty:
  9358. description: 成交数量
  9359. type: integer
  9360. required:
  9361. - goodscode
  9362. - goodsname
  9363. - tradeid
  9364. - trademode
  9365. type: object
  9366. models.HsbySellMyDetail:
  9367. properties:
  9368. accountid:
  9369. description: 账户ID[报价币种]
  9370. type: integer
  9371. agreeunit:
  9372. description: 合约单位
  9373. type: number
  9374. buyorsell:
  9375. description: 买卖 - 0:买 1:卖
  9376. type: integer
  9377. currencysign:
  9378. description: 货币符号
  9379. type: string
  9380. decimalplace:
  9381. description: 报价小数位
  9382. type: integer
  9383. goodscode:
  9384. description: 商品代码(内部)
  9385. type: string
  9386. goodsid:
  9387. description: 商品ID
  9388. type: integer
  9389. goodsname:
  9390. description: 商品名称
  9391. type: string
  9392. marketid:
  9393. description: 市场ID
  9394. type: integer
  9395. orderid:
  9396. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9397. type: string
  9398. ordertype:
  9399. description: 单据类型:0 - 发布中, 1 - 已完成
  9400. type: integer
  9401. picurls:
  9402. description: 介绍图片[多张用逗号分隔]
  9403. type: string
  9404. price:
  9405. description: 价格
  9406. type: number
  9407. qty:
  9408. description: 数量
  9409. type: integer
  9410. time:
  9411. description: 时间
  9412. type: string
  9413. trademode:
  9414. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9415. type: integer
  9416. vendorname:
  9417. description: 供应商名称
  9418. type: string
  9419. required:
  9420. - accountid
  9421. - buyorsell
  9422. - goodscode
  9423. - goodsid
  9424. - goodsname
  9425. - marketid
  9426. - orderid
  9427. - time
  9428. - trademode
  9429. type: object
  9430. models.HsbyTopGoods:
  9431. properties:
  9432. agreeunit:
  9433. description: 合约单位
  9434. type: number
  9435. currency:
  9436. description: 货币
  9437. type: string
  9438. currencysign:
  9439. description: 货币符号
  9440. type: string
  9441. decimalplace:
  9442. description: 报价小数位
  9443. type: integer
  9444. desccityid:
  9445. description: 目的地(市)
  9446. type: integer
  9447. descprovinceid:
  9448. description: 目的地(省)
  9449. type: integer
  9450. goodscode:
  9451. description: 商品代码(内部)
  9452. type: string
  9453. goodsid:
  9454. description: 商品ID(自增ID SEQ_GOODS)
  9455. type: integer
  9456. goodsname:
  9457. description: 商品名称
  9458. type: string
  9459. hotindex:
  9460. description: 景点热度
  9461. type: integer
  9462. last:
  9463. description: 现价
  9464. type: number
  9465. marketid:
  9466. description: 所属市场ID
  9467. type: integer
  9468. picurls:
  9469. description: 介绍图片[多张用逗号分隔]
  9470. type: string
  9471. quoteminunit:
  9472. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9473. type: integer
  9474. trademode:
  9475. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9476. type: integer
  9477. videourls:
  9478. description: 介绍视频[多张用逗号分隔]
  9479. type: string
  9480. required:
  9481. - goodscode
  9482. - goodsid
  9483. - goodsname
  9484. - marketid
  9485. - trademode
  9486. type: object
  9487. models.HybsMyBuyOrderDetail:
  9488. properties:
  9489. accountid:
  9490. description: 账户ID[报价币种]
  9491. type: integer
  9492. agreeunit:
  9493. description: 合约单位
  9494. type: number
  9495. buyorsell:
  9496. description: 买卖 - 0:买 1:卖
  9497. type: integer
  9498. cancelqty:
  9499. description: 撤单数量
  9500. type: integer
  9501. currencysign:
  9502. description: 货币符号
  9503. type: string
  9504. decimalplace:
  9505. description: 报价小数位
  9506. type: integer
  9507. goodscode:
  9508. description: 商品代码(内部)
  9509. type: string
  9510. goodsid:
  9511. description: 商品ID
  9512. type: integer
  9513. goodsname:
  9514. description: 商品名称
  9515. type: string
  9516. listingselecttype:
  9517. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9518. type: integer
  9519. marketid:
  9520. description: 市场ID
  9521. type: integer
  9522. mybuystatus:
  9523. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9524. type: integer
  9525. orderamount:
  9526. description: 委托金额
  9527. type: number
  9528. orderid:
  9529. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9530. type: string
  9531. orderprice:
  9532. description: 委托价格
  9533. type: number
  9534. orderqty:
  9535. description: 委托数量
  9536. type: integer
  9537. orderstatus:
  9538. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  9539. type: integer
  9540. ordertime:
  9541. description: 委托时间
  9542. type: string
  9543. picurls1:
  9544. description: 预售商品介绍图片[多张用逗号分隔]
  9545. type: string
  9546. picurls2:
  9547. description: 挂牌商品介绍图片[多张用逗号分隔]
  9548. type: string
  9549. trademode:
  9550. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9551. type: integer
  9552. tradeqty:
  9553. description: 成交数量
  9554. type: integer
  9555. vendorname1:
  9556. description: 预售商品供应商名称
  9557. type: string
  9558. vendorname2:
  9559. description: 挂牌商品供应商名称
  9560. type: string
  9561. required:
  9562. - accountid
  9563. - buyorsell
  9564. - goodscode
  9565. - goodsid
  9566. - goodsname
  9567. - marketid
  9568. - orderid
  9569. - orderqty
  9570. - ordertime
  9571. - trademode
  9572. type: object
  9573. models.Loginaccount:
  9574. properties:
  9575. accountname:
  9576. description: 账户名称
  9577. type: string
  9578. canoutin:
  9579. description: 是否可出入金 - 0:不可 1:可
  9580. type: integer
  9581. clientroleid:
  9582. description: 终端角色ID
  9583. type: integer
  9584. haslogined:
  9585. description: 是否已登录 - 0:未登录 1:已登录
  9586. type: integer
  9587. hasupdatedpwd:
  9588. description: 是否已更改密码 - 0:未修改 1:已修改
  9589. type: integer
  9590. lastloginip:
  9591. description: 最新登录地址
  9592. type: string
  9593. lastloginmode:
  9594. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9595. type: integer
  9596. lastloginremark:
  9597. description: 最新登录描述
  9598. type: string
  9599. lastlogintime:
  9600. description: 最新登录时间
  9601. type: string
  9602. logincode:
  9603. description: 登录代码
  9604. type: string
  9605. loginfailnum:
  9606. description: 连续登录失败次数(登录成功时清零)
  9607. type: integer
  9608. loginid:
  9609. description: 登陆账号
  9610. type: integer
  9611. loginport:
  9612. description: 最新登录端口
  9613. type: integer
  9614. loginstatus:
  9615. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9616. type: integer
  9617. loginusertype:
  9618. description: 登录账号类型 - 1:投资者 2:机构交易员
  9619. type: integer
  9620. mobile:
  9621. description: 手机号码(加密存储)
  9622. type: string
  9623. modifierid:
  9624. description: 修改人
  9625. type: integer
  9626. modifysrc:
  9627. description: 审核来源 - 1:管理端 2:终端
  9628. type: integer
  9629. modifytime:
  9630. description: 修改时间
  9631. type: string
  9632. password:
  9633. description: 登陆密码
  9634. type: string
  9635. pwdwrongcount:
  9636. description: 密码错误次数
  9637. type: integer
  9638. relateduserid:
  9639. description: 关联用户ID(机构)
  9640. type: integer
  9641. taaccountrighttype:
  9642. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9643. type: integer
  9644. unfreezetime:
  9645. description: 账户解冻时间
  9646. type: string
  9647. userid:
  9648. description: 用户ID
  9649. type: integer
  9650. required:
  9651. - loginid
  9652. type: object
  9653. models.MainAccountInfo:
  9654. properties:
  9655. accountid:
  9656. description: 账号id
  9657. type: integer
  9658. accountname:
  9659. description: 账号名称(taaccount表中的名称)
  9660. type: string
  9661. appid:
  9662. description: AppID
  9663. type: string
  9664. authcode:
  9665. description: 授权码
  9666. type: string
  9667. brokerid:
  9668. description: 经纪商id
  9669. type: string
  9670. fcid:
  9671. description: 期货公司id
  9672. type: integer
  9673. fcname:
  9674. description: 期货公司代码
  9675. type: string
  9676. hedgeaccountcode:
  9677. description: 外部账号代码(主账号登录代码)
  9678. type: string
  9679. hedgeaccountpwd:
  9680. description: 密码
  9681. type: string
  9682. ismain:
  9683. description: 是否主账号
  9684. type: integer
  9685. relateduserid:
  9686. description: 关联用户id
  9687. type: integer
  9688. userid:
  9689. description: 关联用户id
  9690. type: integer
  9691. type: object
  9692. models.Market:
  9693. properties:
  9694. auctionwrtype:
  9695. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9696. type: integer
  9697. canacceptquote:
  9698. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9699. type: integer
  9700. cangoodsexercise:
  9701. description: '[期权]是否可现货行权- 0:否 1:是'
  9702. type: integer
  9703. cangoodsexercisetype:
  9704. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9705. type: integer
  9706. canmanualquotestrike:
  9707. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9708. type: integer
  9709. canmutistage:
  9710. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9711. type: integer
  9712. canpreexercise:
  9713. description: '[期权]是否可预申报- 0:否 1:是'
  9714. type: integer
  9715. clearinterval:
  9716. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9717. type: integer
  9718. contracttmp:
  9719. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9720. type: string
  9721. exchareaid:
  9722. description: 所属交易所,可以没有
  9723. type: integer
  9724. goodstype:
  9725. description: 商品类型 - 1:交易商品 2:仓单商品
  9726. type: integer
  9727. hasrebate:
  9728. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9729. type: integer
  9730. hastradecredit:
  9731. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9732. type: integer
  9733. haswr:
  9734. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9735. type: integer
  9736. isdeductmargin:
  9737. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9738. type: integer
  9739. isrecordsource:
  9740. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9741. type: integer
  9742. isreleasemargin:
  9743. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9744. type: integer
  9745. marginformula:
  9746. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9747. type: integer
  9748. marginformula2:
  9749. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9750. type: integer
  9751. marketid:
  9752. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9753. type: integer
  9754. marketname:
  9755. description: 市场名称
  9756. type: string
  9757. marketserviceid:
  9758. description: 市场服务ID
  9759. type: integer
  9760. marketstatus:
  9761. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9762. type: integer
  9763. markettype:
  9764. description: 市场类型- 1:非交易服务 2:交易服务
  9765. type: integer
  9766. matchermode:
  9767. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9768. type: integer
  9769. openmethod:
  9770. description: 开盘模式 - 0 自动 1手动
  9771. type: integer
  9772. otcuserid:
  9773. description: 场外期权做市商[场外期权]
  9774. type: integer
  9775. outersynctime:
  9776. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9777. type: string
  9778. pendingflag:
  9779. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9780. type: integer
  9781. pendingtime:
  9782. description: 待开市时间[通道交易-对冲](HH:mm)
  9783. type: string
  9784. performancetempid:
  9785. description: 履约计划模板ID - 作废
  9786. type: integer
  9787. premiumquotemode:
  9788. description: 权利金报价方式 - 1:自动 2:手动
  9789. type: integer
  9790. rebateratio:
  9791. description: 返利比率[竞价式]
  9792. type: number
  9793. reckonorder:
  9794. description: 结算顺序
  9795. type: integer
  9796. reckonpricealgorithm:
  9797. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价'
  9798. type: integer
  9799. reckonpriceparam:
  9800. description: 结算价参数
  9801. type: integer
  9802. reckontime:
  9803. description: 结算时间[通道交易-对冲](HH:mm)
  9804. type: string
  9805. roleprioritytype:
  9806. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9807. type: integer
  9808. selllistingauditflag:
  9809. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9810. type: integer
  9811. trademarkettype:
  9812. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9813. type: integer
  9814. trademode:
  9815. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9816. type: integer
  9817. tradeproperty:
  9818. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权
  9819. type: integer
  9820. tradetype:
  9821. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9822. type: integer
  9823. required:
  9824. - marketid
  9825. - marketstatus
  9826. - openmethod
  9827. - reckonpricealgorithm
  9828. - trademode
  9829. - tradeproperty
  9830. type: object
  9831. models.Marketrun:
  9832. properties:
  9833. afternexttradedate:
  9834. description: 下下交易日
  9835. type: string
  9836. clearquoteflag:
  9837. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9838. type: integer
  9839. lastreckondate:
  9840. description: 最新交易日(结算成功)
  9841. type: string
  9842. machinedate:
  9843. description: 机器时间
  9844. type: string
  9845. manualflag:
  9846. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9847. type: integer
  9848. marketid:
  9849. description: 市场ID
  9850. type: integer
  9851. nexttradedate:
  9852. description: 下一交易日
  9853. type: string
  9854. pretradedate:
  9855. description: 上一交易日
  9856. type: string
  9857. reckonflag:
  9858. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9859. type: integer
  9860. runstatus:
  9861. 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.今日免清算
  9862. type: integer
  9863. sectionid:
  9864. description: 时间段号[多时段时用]
  9865. type: integer
  9866. tradedate:
  9867. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9868. type: string
  9869. tradedate2:
  9870. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9871. type: string
  9872. updatetime:
  9873. description: 更新时间
  9874. type: string
  9875. required:
  9876. - marketid
  9877. - nexttradedate
  9878. - reckonflag
  9879. - runstatus
  9880. - tradedate
  9881. - tradedate2
  9882. type: object
  9883. models.Messageboard:
  9884. properties:
  9885. contactnum:
  9886. description: 联系电话
  9887. type: string
  9888. createtime:
  9889. description: 创建时间
  9890. type: string
  9891. message:
  9892. description: 留言信息
  9893. type: string
  9894. messageboardid:
  9895. description: 留言簿ID(SEQ_MessageBoard)
  9896. type: integer
  9897. userid:
  9898. description: 用户ID
  9899. type: integer
  9900. required:
  9901. - messageboardid
  9902. type: object
  9903. models.MyCoupon:
  9904. properties:
  9905. accountid:
  9906. description: 资金账户ID
  9907. type: integer
  9908. areauserid:
  9909. description: 所属机构
  9910. type: integer
  9911. conditionvalue:
  9912. description: 条件阈值(可为0)
  9913. type: number
  9914. couponcategroy:
  9915. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9916. type: integer
  9917. couponname:
  9918. description: 优惠券名称
  9919. type: string
  9920. coupontypeid:
  9921. description: 优惠券类型ID
  9922. type: string
  9923. couponvalue:
  9924. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9925. type: number
  9926. curfreezeqty:
  9927. description: 期末冻结数量
  9928. type: integer
  9929. curqty:
  9930. description: 期末数量
  9931. type: integer
  9932. isgeneral:
  9933. description: 是否通用券 - 0:否 1:是
  9934. type: integer
  9935. isunusable:
  9936. description: 是否不可用
  9937. type: boolean
  9938. limitedflag:
  9939. description: 是否指定商品 - 0:不限 1:限制
  9940. type: integer
  9941. limitedgoodsids:
  9942. description: 指定商品IDs[逗号分隔,前后加逗号]
  9943. type: string
  9944. orifreezeqty:
  9945. description: 期初冻结数量
  9946. type: integer
  9947. oriqty:
  9948. description: 期初数量
  9949. type: integer
  9950. reasontype:
  9951. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9952. type: integer
  9953. todaydecrease:
  9954. description: 今日减少
  9955. type: integer
  9956. todayincrease:
  9957. description: 今日增加
  9958. type: integer
  9959. userid:
  9960. description: 用户ID
  9961. type: integer
  9962. userscope:
  9963. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9964. type: string
  9965. required:
  9966. - accountid
  9967. - coupontypeid
  9968. type: object
  9969. models.MyCouponHold:
  9970. properties:
  9971. accountid:
  9972. description: 资金账户ID
  9973. type: integer
  9974. conditionvalue:
  9975. description: 条件阈值(可为0)
  9976. type: number
  9977. couponcategroy:
  9978. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9979. type: integer
  9980. couponholdid:
  9981. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9982. type: string
  9983. couponname:
  9984. description: 优惠券名称
  9985. type: string
  9986. coupontypeid:
  9987. description: 优惠券类型ID - SEQ_COUPONTYPE
  9988. type: string
  9989. couponvalue:
  9990. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9991. type: number
  9992. createtime:
  9993. description: 创建时间
  9994. type: string
  9995. enddate:
  9996. description: 结束日期
  9997. type: string
  9998. giveapplyid:
  9999. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10000. type: integer
  10001. holdstatus:
  10002. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10003. type: integer
  10004. isgeneral:
  10005. description: 是否通用券 - 0:否 1:是
  10006. type: integer
  10007. limitedflag:
  10008. description: 是否指定商品 - 0:不限 1:限制
  10009. type: integer
  10010. limitedgoodsids:
  10011. description: 指定商品IDs[逗号分隔]
  10012. type: string
  10013. qty:
  10014. description: 数量(按1平铺)
  10015. type: integer
  10016. startdate:
  10017. description: 开始日期
  10018. type: string
  10019. userid:
  10020. description: 用户ID
  10021. type: integer
  10022. userscope:
  10023. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10024. type: string
  10025. required:
  10026. - couponholdid
  10027. type: object
  10028. models.MyUsedCoupon:
  10029. properties:
  10030. accountid:
  10031. description: 资金账户ID(买方)
  10032. type: integer
  10033. conditionvalue:
  10034. description: 条件阈值(可为0)
  10035. type: number
  10036. couponcategroy:
  10037. description: 种类 - 1:现金券 2:折扣券
  10038. type: integer
  10039. couponname:
  10040. description: 优惠券名称
  10041. type: string
  10042. coupontypeid:
  10043. description: 优惠券类型ID(买方)
  10044. type: string
  10045. couponvalue:
  10046. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10047. type: number
  10048. createtime:
  10049. description: 创建时间
  10050. type: string
  10051. goodsid:
  10052. description: 商品ID
  10053. type: integer
  10054. handlestatus:
  10055. description: 处理状态
  10056. type: integer
  10057. marketid:
  10058. description: 市场ID
  10059. type: integer
  10060. offamount:
  10061. description: 优惠金额
  10062. type: number
  10063. orderid:
  10064. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10065. type: string
  10066. sellaccountid:
  10067. description: 资金账户ID(卖方)
  10068. type: integer
  10069. tradeamount:
  10070. description: 成交金额
  10071. type: number
  10072. tradeid:
  10073. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10074. type: string
  10075. usedqty:
  10076. description: 使用数量
  10077. type: integer
  10078. required:
  10079. - coupontypeid
  10080. - orderid
  10081. type: object
  10082. models.OperationPrimaryMenu:
  10083. properties:
  10084. Children:
  10085. description: 二级功能菜单
  10086. items:
  10087. $ref: '#/definitions/models.OperationSecondaryMenu'
  10088. type: array
  10089. Key:
  10090. description: 菜单KEY
  10091. type: string
  10092. Label:
  10093. description: 菜单标题
  10094. type: string
  10095. type: object
  10096. models.OperationSecondaryMenu:
  10097. properties:
  10098. Key:
  10099. description: 菜单KEY
  10100. type: string
  10101. Label:
  10102. description: 菜单标题
  10103. type: string
  10104. TabList:
  10105. description: 三级功能菜单
  10106. items:
  10107. $ref: '#/definitions/models.OperationTabMenu'
  10108. type: array
  10109. type: object
  10110. models.OperationTabMenu:
  10111. properties:
  10112. Key:
  10113. description: 菜单KEY
  10114. type: string
  10115. Label:
  10116. description: 菜单标题
  10117. type: string
  10118. type: object
  10119. models.QhjAccountOutInApply:
  10120. properties:
  10121. accountcode:
  10122. description: 资金账号
  10123. type: string
  10124. accountname:
  10125. description: 用户名称(名称)
  10126. type: string
  10127. accountpwd:
  10128. description: 资金密码
  10129. type: string
  10130. accountticket:
  10131. description: 最新账户服务流水号
  10132. type: string
  10133. amount:
  10134. description: 金额
  10135. type: number
  10136. applyremark:
  10137. description: 申请备注
  10138. type: string
  10139. applystatus:
  10140. 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: 复审通过,账户冻结金额检查中;'
  10141. type: integer
  10142. auditid:
  10143. description: 审核人
  10144. type: integer
  10145. audittime:
  10146. description: 审核时间
  10147. type: string
  10148. bank_apply_ticket:
  10149. description: 银行申请流水
  10150. type: string
  10151. bankaccountname:
  10152. description: 银行账户名
  10153. type: string
  10154. bankaccountno:
  10155. description: 银行卡号
  10156. type: string
  10157. bankid:
  10158. description: 银行编号
  10159. type: string
  10160. bankticket:
  10161. description: 银行流水
  10162. type: string
  10163. branchbankid:
  10164. description: 银行支行号
  10165. type: string
  10166. branchbankname:
  10167. description: 银行支行名称
  10168. type: string
  10169. capamountout:
  10170. description: 出金(劣后本金) - 外部子账户
  10171. type: number
  10172. certificatephotourl:
  10173. description: 凭证地址
  10174. type: string
  10175. charge:
  10176. description: 手续费
  10177. type: number
  10178. checkerrorflag:
  10179. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10180. type: integer
  10181. currency:
  10182. description: 币种
  10183. type: string
  10184. cusbankid:
  10185. description: 托管银行编号
  10186. type: string
  10187. exchticket:
  10188. description: 银行服务流水号
  10189. type: string
  10190. executetype:
  10191. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  10192. type: integer
  10193. extendinfo:
  10194. description: 扩展信息
  10195. type: string
  10196. extoperateid:
  10197. description: 交易服务流水号
  10198. type: integer
  10199. infamount:
  10200. description: 劣后金额(自有)
  10201. type: number
  10202. logincode:
  10203. description: 登录账号(账号)
  10204. type: string
  10205. netaddr:
  10206. description: 调转网址
  10207. type: string
  10208. priamount:
  10209. description: 优先金额(授信)
  10210. type: number
  10211. reauditid:
  10212. description: 复审人
  10213. type: integer
  10214. reauditremark:
  10215. description: 复审备注
  10216. type: string
  10217. reaudittime:
  10218. description: 复审时间
  10219. type: string
  10220. relatedorderid:
  10221. description: 三方关联ID
  10222. type: string
  10223. remark:
  10224. description: 备注
  10225. type: string
  10226. remark2:
  10227. description: 备注(失败原因)
  10228. type: string
  10229. soucreamount:
  10230. description: 原始出入金金额
  10231. type: number
  10232. soucrecurrencyid:
  10233. description: 原始出入金币种
  10234. type: integer
  10235. tradedate:
  10236. description: 交易日(yyyyMMdd)
  10237. type: string
  10238. updatetime:
  10239. description: 更新时间(申请时间)
  10240. type: string
  10241. userid:
  10242. description: 用户id
  10243. type: integer
  10244. userinfotype:
  10245. description: 账户类型 1-个人 2-企业
  10246. type: integer
  10247. type: object
  10248. models.QhjAgreementChangeLog:
  10249. properties:
  10250. agreementcontent:
  10251. description: 协议内容
  10252. type: string
  10253. agreementfrequency:
  10254. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10255. type: integer
  10256. agreementid:
  10257. description: 协议ID
  10258. type: integer
  10259. agreementname:
  10260. description: 协议名称
  10261. type: string
  10262. agreementno:
  10263. description: 协议编号
  10264. type: string
  10265. agreementtype:
  10266. description: 协议类型 - 1:注册 2:登录 3:交易
  10267. type: integer
  10268. agreementversion:
  10269. description: 协议版本号
  10270. type: integer
  10271. logid:
  10272. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10273. type: integer
  10274. reviserid:
  10275. description: 修改人
  10276. type: integer
  10277. revisersrc:
  10278. description: 修改来源 - 1:管理端 2:终端
  10279. type: integer
  10280. updatetime:
  10281. description: 更新时间
  10282. type: string
  10283. type: object
  10284. models.QhjAgreementConfig:
  10285. properties:
  10286. agreementcontent:
  10287. description: 协议内容
  10288. type: string
  10289. agreementfrequency:
  10290. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10291. type: integer
  10292. agreementid:
  10293. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10294. type: integer
  10295. agreementname:
  10296. description: 协议名称
  10297. type: string
  10298. agreementno:
  10299. description: 协议编号
  10300. type: string
  10301. agreementtype:
  10302. description: 协议类型 - 1:注册 2:登录 3:交易
  10303. type: integer
  10304. agreementversion:
  10305. description: 协议版本号(从1开始每次修改加1)
  10306. type: integer
  10307. createtime:
  10308. description: 创建时间
  10309. type: string
  10310. creatorid:
  10311. description: 创建人
  10312. type: integer
  10313. creatorsrc:
  10314. description: 创建来源 - 1:管理端 2:终端
  10315. type: integer
  10316. isvalid:
  10317. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10318. type: integer
  10319. reviserid:
  10320. description: 修改人
  10321. type: integer
  10322. revisersrc:
  10323. description: 修改来源 - 1:管理端 2:终端
  10324. type: integer
  10325. updatetime:
  10326. description: 更新时间
  10327. type: string
  10328. type: object
  10329. models.QhjAreaFinanceConfig:
  10330. properties:
  10331. additionalratio:
  10332. description: 追加款比例
  10333. type: number
  10334. advanceratio:
  10335. description: 预付款比例
  10336. type: number
  10337. alarmratio:
  10338. description: 告警比例
  10339. type: number
  10340. consumptiondirectreward:
  10341. description: 消费直推奖励值
  10342. type: number
  10343. consumptionenabled:
  10344. description: 是否启用消费奖励 - 0:不启用 1:启用
  10345. type: integer
  10346. consumptionindirectreward:
  10347. description: 消费间推奖励值
  10348. type: number
  10349. consumptionmodel:
  10350. description: 消费奖励方式 - 1:比率 2:固定
  10351. type: integer
  10352. customerservicenum:
  10353. description: 客服电话
  10354. type: string
  10355. dayinterestrate:
  10356. description: 日利率
  10357. type: number
  10358. disableconsumptiontips:
  10359. description: 关闭消费奖励提示
  10360. type: string
  10361. modifierid:
  10362. description: 修改人ID
  10363. type: integer
  10364. modifysrc:
  10365. description: 审核来源 - 1:管理端 2:终端
  10366. type: integer
  10367. modifytime:
  10368. description: 修改时间
  10369. type: string
  10370. promotionvalue:
  10371. description: 推广奖励值(固定)
  10372. type: number
  10373. scoreconfigvalue1:
  10374. description: 提货积分配置1
  10375. type: integer
  10376. scoreconfigvalue2:
  10377. description: 提货积分配置2
  10378. type: integer
  10379. userid:
  10380. description: 机构用户ID其他做市关系,都设置为 1
  10381. type: integer
  10382. username:
  10383. description: 用户名称
  10384. type: string
  10385. type: object
  10386. models.QhjBankAccountSign:
  10387. properties:
  10388. accountcode:
  10389. description: 资金账号
  10390. type: string
  10391. accountname:
  10392. description: 资金账号对应的账号名(UserName)
  10393. type: string
  10394. accountname2:
  10395. description: 资金账号对应的账号名(UserName) - 密文
  10396. type: string
  10397. accounttype:
  10398. description: 账户类型(UserType)
  10399. type: integer
  10400. applicationtime:
  10401. description: 最后一次更新的时间
  10402. type: string
  10403. applyexchticket:
  10404. description: 申请流水
  10405. type: string
  10406. auditid:
  10407. description: 审核人
  10408. type: integer
  10409. audittime:
  10410. description: 审核时间
  10411. type: string
  10412. bankaccountname:
  10413. description: 签约银行卡账号名
  10414. type: string
  10415. bankaccountname2:
  10416. description: 签约银行卡账号名 - 密文
  10417. type: string
  10418. bankaccountno:
  10419. description: 银行卡号
  10420. type: string
  10421. bankaccountno2:
  10422. description: 银行卡号 - 密文
  10423. type: string
  10424. bankaccounttype:
  10425. description: 银行账户类型 - 1-对私; 2-对公
  10426. type: integer
  10427. bankcardtype:
  10428. description: 银行卡类型
  10429. type: integer
  10430. bankchildaccount:
  10431. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10432. type: string
  10433. bankcity:
  10434. description: 开户行城市
  10435. type: string
  10436. bankid:
  10437. description: 签约银行ID
  10438. type: string
  10439. bankname:
  10440. description: 签约银行名称
  10441. type: string
  10442. bankprovince:
  10443. description: 开户行省份
  10444. type: string
  10445. branchbankid:
  10446. description: 签约银行支行号
  10447. type: string
  10448. branchbankname:
  10449. description: 签约银行支行名称
  10450. type: string
  10451. cardno:
  10452. description: 证件号码
  10453. type: string
  10454. cardno2:
  10455. description: 证件号码 - 密文
  10456. type: string
  10457. cardtype:
  10458. description: 证件类型
  10459. type: string
  10460. currency:
  10461. description: 币种
  10462. type: string
  10463. cusbankid:
  10464. description: 托管银行编号
  10465. type: string
  10466. direct:
  10467. description: 方向(可以判断那方先发起的签约)
  10468. type: integer
  10469. exchticket:
  10470. description: 最后一次签约成功的流水号
  10471. type: string
  10472. extendinfo:
  10473. description: 扩展信息(JSON字符串)
  10474. type: string
  10475. mobilephone:
  10476. description: 手机号
  10477. type: string
  10478. mobilephone2:
  10479. description: 手机号 - 密文
  10480. type: string
  10481. netaddr:
  10482. description: 调转网址
  10483. type: string
  10484. relateduserid:
  10485. description: 关联使用者userid
  10486. type: integer
  10487. signstatus:
  10488. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核
  10489. type: integer
  10490. updatetime:
  10491. description: 更新时间(签解约更新时间)
  10492. type: string
  10493. type: object
  10494. models.QhjBankInfo:
  10495. properties:
  10496. bankid:
  10497. description: 银行ID
  10498. type: string
  10499. bankname:
  10500. description: 银行名称
  10501. type: string
  10502. clearbankno:
  10503. description: 清算系统银行编号
  10504. type: string
  10505. orderindex:
  10506. description: 排序顺序
  10507. type: integer
  10508. status:
  10509. description: 状态 - 0:正常 1:注销
  10510. type: integer
  10511. type: object
  10512. models.QhjBrokerApply:
  10513. properties:
  10514. applicantid:
  10515. description: 申请人
  10516. type: integer
  10517. applysrc:
  10518. description: 申请来源 - 1:管理端 2:终端
  10519. type: integer
  10520. applystatus:
  10521. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10522. type: integer
  10523. applytime:
  10524. description: 申请时间
  10525. type: string
  10526. auditorid:
  10527. description: 审核人
  10528. type: integer
  10529. auditremark:
  10530. description: 审核备注
  10531. type: string
  10532. auditsrc:
  10533. description: 审核来源 - 1:管理端 2:终端
  10534. type: integer
  10535. audittime:
  10536. description: 审核时间
  10537. type: string
  10538. audittradedate:
  10539. description: 审核交易日(yyyyMMdd)
  10540. type: string
  10541. brokerapplyid:
  10542. description: 申请ID(SEQ_BROKERAPPLY)
  10543. type: integer
  10544. cardbackphotourl:
  10545. description: 证件背面图片地址
  10546. type: string
  10547. cardfrontphotourl:
  10548. description: 证件正面图片地址
  10549. type: string
  10550. cardnum:
  10551. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10552. type: string
  10553. customername:
  10554. description: 姓名
  10555. type: string
  10556. logincode:
  10557. description: 登录代码
  10558. type: string
  10559. mobile:
  10560. description: 手机号码
  10561. type: string
  10562. parentuserid:
  10563. description: 所属机构id
  10564. type: integer
  10565. parentusername:
  10566. description: 所属机构名称
  10567. type: string
  10568. refereeuserid:
  10569. description: 推荐人id(经纪人)
  10570. type: integer
  10571. refernum:
  10572. description: 推荐码
  10573. type: string
  10574. remark:
  10575. description: 备注
  10576. type: string
  10577. subarealevelpath:
  10578. description: 层级路径
  10579. type: string
  10580. tradedate:
  10581. description: 交易日(yyyyMMdd)
  10582. type: string
  10583. userid:
  10584. description: 申请人用户ID
  10585. type: integer
  10586. userinfotype:
  10587. description: 用户类型 1-个人 2-企业
  10588. type: integer
  10589. username:
  10590. description: 用户名称
  10591. type: string
  10592. type: object
  10593. models.QhjBrokerApplyEx:
  10594. properties:
  10595. applylist:
  10596. description: 经纪人申请记录(只返回最新一条)
  10597. items:
  10598. $ref: '#/definitions/models.QhjBrokerApply'
  10599. type: array
  10600. canrecommend:
  10601. description: 是否经纪人 0-不是 1-是
  10602. type: integer
  10603. refernum:
  10604. description: 推荐码
  10605. type: string
  10606. userid:
  10607. description: 用户id
  10608. type: integer
  10609. userinfotype:
  10610. description: 用户类型 1-个人 2-企业
  10611. type: integer
  10612. type: object
  10613. models.QhjBrokerRewardLog:
  10614. properties:
  10615. accountid:
  10616. description: 资金账号ID
  10617. type: integer
  10618. createtime:
  10619. description: 创建时间(时间)
  10620. type: string
  10621. handlestatus:
  10622. description: 处理状态
  10623. type: integer
  10624. logid:
  10625. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10626. type: string
  10627. marketid:
  10628. description: 市场ID
  10629. type: integer
  10630. mmaccountid:
  10631. description: 做市商资金账号ID
  10632. type: string
  10633. mmuserid:
  10634. description: 做市商用户ID
  10635. type: string
  10636. rewardamount:
  10637. description: 奖励金额
  10638. type: number
  10639. rewardmodel:
  10640. description: 消费奖励方式 - 1:比率 2:固定
  10641. type: integer
  10642. rewardtype:
  10643. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10644. type: integer
  10645. rewardvalue:
  10646. description: 配置奖励值
  10647. type: number
  10648. srcamount:
  10649. description: 成交金额 [消费奖励] (金额)
  10650. type: number
  10651. srcgoodsid:
  10652. description: 来源商品ID [消费奖励]
  10653. type: string
  10654. srctime:
  10655. description: 来源时间 (成交时间) [消费奖励]
  10656. type: string
  10657. srctradeid:
  10658. description: 来源成交单ID [消费奖励] - 排除提货成交
  10659. type: string
  10660. srcuserid:
  10661. description: 来源用户ID(推广账户)
  10662. type: string
  10663. srcusername:
  10664. description: 推广账户名称
  10665. type: string
  10666. tradedate:
  10667. description: 交易日(yyyyMMdd)
  10668. type: string
  10669. userid:
  10670. description: 经纪人用户ID
  10671. type: integer
  10672. type: object
  10673. models.QhjContract:
  10674. properties:
  10675. contractconfirmtime:
  10676. description: 合同确认时间(时间)
  10677. type: string
  10678. currisklevel:
  10679. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10680. type: integer
  10681. decimalplace:
  10682. description: 商品报价小数位
  10683. type: integer
  10684. enumdicname:
  10685. description: 单位名称
  10686. type: string
  10687. goodscode:
  10688. description: 商品代码
  10689. type: string
  10690. goodsid:
  10691. description: 商品ID [5:融资单]
  10692. type: integer
  10693. goodsname:
  10694. description: 商品名称
  10695. type: string
  10696. goodunitid:
  10697. description: 商品单位id
  10698. type: integer
  10699. initmargin:
  10700. description: 初始保证金(首付款)
  10701. type: number
  10702. lenderamount:
  10703. description: 贷款金额(总额|订单总额)
  10704. type: number
  10705. marginratio:
  10706. description: 保证金比率(首付比例)
  10707. type: number
  10708. payamount:
  10709. description: 已付(已付货款)
  10710. type: number
  10711. reckonrecovermargin:
  10712. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10713. type: number
  10714. recoveredmargin:
  10715. description: 已追缴保证金
  10716. type: number
  10717. remainamount:
  10718. description: 合同剩余金额(融资额)
  10719. type: number
  10720. scfcontractid:
  10721. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10722. type: string
  10723. scfcontractstatus:
  10724. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  10725. type: integer
  10726. scfcontracttype:
  10727. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10728. type: integer
  10729. totalinterest:
  10730. description: 已计总利息(利息)
  10731. type: number
  10732. tradeprice:
  10733. description: 成交价格(成本价格)
  10734. type: number
  10735. userid:
  10736. description: 用户ID
  10737. type: integer
  10738. username:
  10739. description: 用户名称
  10740. type: string
  10741. wrqty:
  10742. description: 仓单数量(数量)
  10743. type: number
  10744. type: object
  10745. models.QhjContractLog:
  10746. properties:
  10747. amount:
  10748. description: 支付金额
  10749. type: number
  10750. amounttype:
  10751. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10752. type: integer
  10753. logid:
  10754. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10755. type: string
  10756. remainamount:
  10757. description: 剩余货款
  10758. type: number
  10759. scfcontractid:
  10760. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10761. type: integer
  10762. updatetime:
  10763. description: 更新时间
  10764. type: string
  10765. type: object
  10766. models.QhjCusBankSignBankEx:
  10767. properties:
  10768. banklst:
  10769. description: 银行列表
  10770. items:
  10771. $ref: '#/definitions/models.QhjBankInfo'
  10772. type: array
  10773. canallot:
  10774. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10775. type: integer
  10776. canallotquery:
  10777. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10778. type: integer
  10779. canbindcard:
  10780. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10781. type: integer
  10782. caninamount:
  10783. description: 是否可入金 - 0:不可 1:可以
  10784. type: integer
  10785. caninamount2:
  10786. description: 是否可入金(网银端) - 0:不可 1:可以
  10787. type: integer
  10788. canmodifybankcard:
  10789. description: 是否可修改银行卡号 - 0:不可 1:可以
  10790. type: integer
  10791. canmodifyphone:
  10792. description: 是否可修改手机号 - 0:不可 1:可以
  10793. type: integer
  10794. canmodifysigninfo:
  10795. description: 是否可修改签约信息 - 0:不可 1:可以
  10796. type: integer
  10797. canoutamount:
  10798. description: 是否可出金 - 0:不可 1:可以
  10799. type: integer
  10800. canoutamount2:
  10801. description: 是否可出金(网银端) - 0:不可 1:可以
  10802. type: integer
  10803. canrelease:
  10804. description: 是否可解约 - 0:不可 1:可以
  10805. type: integer
  10806. canrelease2:
  10807. description: 是否可解约(网银端) - 0:不可 1:可以
  10808. type: integer
  10809. cansign:
  10810. description: 是否可签约 - 0:不可 1:可以
  10811. type: integer
  10812. cansign2:
  10813. description: 是否可签约(网银端) - 0:不可 1:可以
  10814. type: integer
  10815. currency:
  10816. description: 币种
  10817. type: string
  10818. cusbankid:
  10819. description: 托管银行编号(对应清算中心TRAN_NO)
  10820. type: string
  10821. cusbankname:
  10822. description: 银行业务名称
  10823. type: string
  10824. cusbankshortname:
  10825. description: 银行业务简称
  10826. type: string
  10827. exchbankid:
  10828. description: 交易所开户银行ID
  10829. type: string
  10830. exchpaybankaccname:
  10831. description: 交易所支出结算账户户名
  10832. type: string
  10833. exchpaybankaccno:
  10834. description: 交易所支出结算账户
  10835. type: string
  10836. isneedcheck:
  10837. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10838. type: integer
  10839. isneedclear:
  10840. description: 是否需要清算 - 0:不需要 1:需要
  10841. type: integer
  10842. lastcheckstatus:
  10843. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10844. type: integer
  10845. lastchecktime:
  10846. description: 最后对账时间
  10847. type: string
  10848. lastclearstatus:
  10849. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10850. type: integer
  10851. lastcleartime:
  10852. description: 最后清算时间
  10853. type: string
  10854. lastsignintime:
  10855. description: 最后签到时间
  10856. type: string
  10857. lastsignouttime:
  10858. description: 最后签退时间
  10859. type: string
  10860. riskinfo:
  10861. description: 签约风险提示书
  10862. type: string
  10863. signstatus:
  10864. description: 当前签到/签退状态 - 1:签到 2:签退
  10865. type: integer
  10866. tradedate:
  10867. description: 交易日(yyyyMMdd)
  10868. type: string
  10869. updatetime:
  10870. description: 当前签到/签退更新时间
  10871. type: string
  10872. type: object
  10873. models.QhjCustomer:
  10874. properties:
  10875. address:
  10876. description: 通讯地址
  10877. type: string
  10878. attachment1:
  10879. description: 附件1
  10880. type: string
  10881. audittime:
  10882. description: 审核时间
  10883. type: string
  10884. cardbackphotourl:
  10885. description: 证件反面图片地址
  10886. type: string
  10887. cardfrontphotourl:
  10888. description: 证件正面图片地址
  10889. type: string
  10890. cardnum:
  10891. description: 证件号码
  10892. type: string
  10893. cardtype:
  10894. description: 证件类型
  10895. type: integer
  10896. cardtypename:
  10897. description: 证件类型名称
  10898. type: string
  10899. cityid:
  10900. description: 市
  10901. type: integer
  10902. cityname:
  10903. description: 城市名称
  10904. type: string
  10905. contactname:
  10906. description: 联系人
  10907. type: string
  10908. countryid:
  10909. description: 国家
  10910. type: integer
  10911. countryname:
  10912. description: 国家名称
  10913. type: string
  10914. createtime:
  10915. description: 创建时间
  10916. type: string
  10917. customername:
  10918. description: 客户名称
  10919. type: string
  10920. districtid:
  10921. description: 区域
  10922. type: integer
  10923. districtname:
  10924. description: 地区名称
  10925. type: string
  10926. email:
  10927. description: 邮件
  10928. type: string
  10929. legalpersonname:
  10930. description: 法人姓名(企业)
  10931. type: string
  10932. logincode:
  10933. description: 登录账号(代码)
  10934. type: string
  10935. memberuserid:
  10936. description: 所属机构ID(所属会员)
  10937. type: integer
  10938. memberusername:
  10939. description: 所属会员名称
  10940. type: string
  10941. mobile:
  10942. description: 手机号码
  10943. type: string
  10944. modifytime:
  10945. description: 修改时间
  10946. type: string
  10947. nickname:
  10948. description: 昵称
  10949. type: string
  10950. parentuserid:
  10951. description: 上级机构(所属机构)
  10952. type: integer
  10953. parentusername:
  10954. description: 所属机构名称
  10955. type: string
  10956. provinceid:
  10957. description: 省
  10958. type: integer
  10959. provincename:
  10960. description: 省名称
  10961. type: string
  10962. proxystatementurl:
  10963. description: 授权委托书
  10964. type: string
  10965. remark:
  10966. description: 备注
  10967. type: string
  10968. status:
  10969. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10970. type: integer
  10971. statusdesc:
  10972. description: 账户状态中文描述
  10973. type: string
  10974. taxpayernum:
  10975. description: 纳税人识别号
  10976. type: string
  10977. telphone:
  10978. description: 联系电话
  10979. type: string
  10980. userid:
  10981. description: 用户ID
  10982. type: integer
  10983. userinfotype:
  10984. description: 客户类型 1-个人 2-企业
  10985. type: integer
  10986. username:
  10987. description: 用户名称
  10988. type: string
  10989. type: object
  10990. models.QhjCustomerSignLog:
  10991. properties:
  10992. agreementcontent:
  10993. description: 协议内容
  10994. type: string
  10995. agreementid:
  10996. description: 协议ID
  10997. type: integer
  10998. agreementname:
  10999. description: 协议名称
  11000. type: string
  11001. agreementno:
  11002. description: 协议编号
  11003. type: string
  11004. agreementtype:
  11005. description: 协议类型 - 1:注册 2:登录 3:交易
  11006. type: integer
  11007. agreementversion:
  11008. description: 协议版本号
  11009. type: integer
  11010. createtime:
  11011. description: 创建时间
  11012. type: string
  11013. goodscode:
  11014. description: 商品代码
  11015. type: string
  11016. goodsid:
  11017. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11018. type: integer
  11019. goodsname:
  11020. description: 商品名称
  11021. type: string
  11022. logid:
  11023. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11024. type: integer
  11025. nodetype:
  11026. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11027. type: integer
  11028. signadressurl:
  11029. description: 签约文件地址
  11030. type: string
  11031. signtimestamp:
  11032. description: 签约状态时间戳
  11033. type: string
  11034. userid:
  11035. description: 客户ID
  11036. type: integer
  11037. username:
  11038. description: 客户名称
  11039. type: string
  11040. type: object
  11041. models.QhjCustomerSignStatus:
  11042. properties:
  11043. createtime:
  11044. description: 创建时间
  11045. type: string
  11046. goodscode:
  11047. description: 商品代码
  11048. type: string
  11049. goodsid:
  11050. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11051. type: integer
  11052. goodsname:
  11053. description: 商品名称
  11054. type: string
  11055. nodetype:
  11056. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11057. type: integer
  11058. signtimestamp:
  11059. description: 签约状态时间戳
  11060. type: string
  11061. tradedate:
  11062. description: 创建交易日(yyyyMMdd)
  11063. type: string
  11064. updatetime:
  11065. description: 更新时间
  11066. type: string
  11067. userid:
  11068. description: 客户ID
  11069. type: integer
  11070. username:
  11071. description: 客户名称
  11072. type: string
  11073. type: object
  11074. models.QhjMgrAccountOutInApply:
  11075. properties:
  11076. accountcode:
  11077. description: 资金账号
  11078. type: string
  11079. accountname:
  11080. description: 用户名称(名称)
  11081. type: string
  11082. accountpwd:
  11083. description: 资金密码
  11084. type: string
  11085. accountticket:
  11086. description: 最新账户服务流水号
  11087. type: string
  11088. amount:
  11089. description: 金额
  11090. type: number
  11091. applyremark:
  11092. description: 申请备注
  11093. type: string
  11094. applystatus:
  11095. 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: 复审通过,账户冻结金额检查中;'
  11096. type: integer
  11097. auditid:
  11098. description: 审核人
  11099. type: integer
  11100. audittime:
  11101. description: 审核时间
  11102. type: string
  11103. bank_apply_ticket:
  11104. description: 银行申请流水
  11105. type: string
  11106. bankaccountname:
  11107. description: 银行账户名
  11108. type: string
  11109. bankaccountno:
  11110. description: 银行卡号
  11111. type: string
  11112. bankid:
  11113. description: 银行编号
  11114. type: string
  11115. bankname:
  11116. description: 银行名称
  11117. type: string
  11118. bankticket:
  11119. description: 银行流水
  11120. type: string
  11121. branchbankid:
  11122. description: 银行支行号
  11123. type: string
  11124. branchbankname:
  11125. description: 银行支行名称
  11126. type: string
  11127. capamountout:
  11128. description: 出金(劣后本金) - 外部子账户
  11129. type: number
  11130. certificatephotourl:
  11131. description: 凭证地址
  11132. type: string
  11133. charge:
  11134. description: 手续费
  11135. type: number
  11136. checkerrorflag:
  11137. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11138. type: integer
  11139. currency:
  11140. description: 币种
  11141. type: string
  11142. cusbankid:
  11143. description: 托管银行编号
  11144. type: string
  11145. exchticket:
  11146. description: 银行服务流水号
  11147. type: string
  11148. executetype:
  11149. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  11150. type: integer
  11151. extendinfo:
  11152. description: 扩展信息
  11153. type: string
  11154. extoperateid:
  11155. description: 交易服务流水号
  11156. type: integer
  11157. infamount:
  11158. description: 劣后金额(自有)
  11159. type: number
  11160. logincode:
  11161. description: 登录账号(账号)
  11162. type: string
  11163. netaddr:
  11164. description: 调转网址
  11165. type: string
  11166. priamount:
  11167. description: 优先金额(授信)
  11168. type: number
  11169. reauditid:
  11170. description: 复审人
  11171. type: integer
  11172. reauditremark:
  11173. description: 复审备注
  11174. type: string
  11175. reaudittime:
  11176. description: 复审时间
  11177. type: string
  11178. relatedorderid:
  11179. description: 三方关联ID
  11180. type: string
  11181. remark:
  11182. description: 备注
  11183. type: string
  11184. remark2:
  11185. description: 备注(失败原因)
  11186. type: string
  11187. soucreamount:
  11188. description: 原始出入金金额
  11189. type: number
  11190. soucrecurrencyid:
  11191. description: 原始出入金币种
  11192. type: integer
  11193. tradedate:
  11194. description: 交易日(yyyyMMdd)
  11195. type: string
  11196. updatetime:
  11197. description: 更新时间(申请时间)
  11198. type: string
  11199. userid:
  11200. description: 用户id
  11201. type: integer
  11202. userinfotype:
  11203. description: 账户类型 1-个人 2-企业
  11204. type: integer
  11205. type: object
  11206. models.QhjMgrBrokerApply:
  11207. properties:
  11208. applicantid:
  11209. description: 申请人
  11210. type: integer
  11211. applysrc:
  11212. description: 申请来源 - 1:管理端 2:终端
  11213. type: integer
  11214. applystatus:
  11215. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11216. type: integer
  11217. applytime:
  11218. description: 申请时间
  11219. type: string
  11220. auditorid:
  11221. description: 审核人
  11222. type: integer
  11223. auditremark:
  11224. description: 审核备注
  11225. type: string
  11226. auditsrc:
  11227. description: 审核来源 - 1:管理端 2:终端
  11228. type: integer
  11229. audittime:
  11230. description: 审核时间
  11231. type: string
  11232. audittradedate:
  11233. description: 审核交易日(yyyyMMdd)
  11234. type: string
  11235. brokerapplyid:
  11236. description: 申请ID(SEQ_BROKERAPPLY)
  11237. type: integer
  11238. cardbackphotourl:
  11239. description: 证件背面图片地址
  11240. type: string
  11241. cardfrontphotourl:
  11242. description: 证件正面图片地址
  11243. type: string
  11244. cardnum:
  11245. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11246. type: string
  11247. customername:
  11248. description: 姓名
  11249. type: string
  11250. filterstatus:
  11251. description: 筛选条件
  11252. type: string
  11253. logincode:
  11254. description: 登录代码
  11255. type: string
  11256. mobile:
  11257. description: 手机号码
  11258. type: string
  11259. parentuserid:
  11260. description: 所属机构id
  11261. type: integer
  11262. parentusername:
  11263. description: 所属机构名称
  11264. type: string
  11265. refereeuserid:
  11266. description: 推荐人id(经纪人)
  11267. type: integer
  11268. refernum:
  11269. description: 推荐码
  11270. type: string
  11271. remark:
  11272. description: 备注
  11273. type: string
  11274. subarealevelpath:
  11275. description: 层级路径
  11276. type: string
  11277. tradedate:
  11278. description: 交易日(yyyyMMdd)
  11279. type: string
  11280. userid:
  11281. description: 申请人用户ID
  11282. type: integer
  11283. userinfotype:
  11284. description: 用户类型 1-个人 2-企业
  11285. type: integer
  11286. username:
  11287. description: 用户名称
  11288. type: string
  11289. type: object
  11290. models.QhjMgrBrokerRewardReport:
  11291. properties:
  11292. createtime:
  11293. description: 创建时间(注册时间)
  11294. type: string
  11295. cycletime:
  11296. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11297. type: string
  11298. cycletype:
  11299. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11300. type: integer
  11301. directtotalnum:
  11302. description: 直推总人数【期末】
  11303. type: integer
  11304. indirecttotalnum:
  11305. description: 间推总人数【期末】
  11306. type: integer
  11307. mobile:
  11308. description: 电话号码
  11309. type: string
  11310. refereeuserid:
  11311. description: 推荐人id(经纪人id)
  11312. type: integer
  11313. refereeusername:
  11314. description: 推荐人名称(经纪人) 上级经纪人名称
  11315. type: string
  11316. refernum:
  11317. description: 推荐码
  11318. type: string
  11319. subarealevelpath:
  11320. description: 用户层级路径
  11321. type: string
  11322. todayrewardamount:
  11323. description: 奖励总金额【汇总】
  11324. type: number
  11325. updatetime:
  11326. description: 更新时间
  11327. type: string
  11328. userid:
  11329. description: 经纪人用户ID
  11330. type: integer
  11331. userinfotype:
  11332. description: 用户类型 1-个人 2-企业
  11333. type: integer
  11334. username:
  11335. description: 用户名称
  11336. type: string
  11337. type: object
  11338. models.QhjMgrContract:
  11339. properties:
  11340. contractconfirmtime:
  11341. description: 合同确认时间(时间)
  11342. type: string
  11343. currisklevel:
  11344. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11345. type: integer
  11346. decimalplace:
  11347. description: 商品报价小数位
  11348. type: integer
  11349. enumdicname:
  11350. description: 单位名称
  11351. type: string
  11352. goodscode:
  11353. description: 商品代码
  11354. type: string
  11355. goodsid:
  11356. description: 商品ID [5:融资单]
  11357. type: integer
  11358. goodsname:
  11359. description: 商品名称
  11360. type: string
  11361. goodunitid:
  11362. description: 商品单位id
  11363. type: integer
  11364. initmargin:
  11365. description: 初始保证金(首付款)
  11366. type: number
  11367. lenderamount:
  11368. description: 贷款金额(总额|订单总额)
  11369. type: number
  11370. logincode:
  11371. description: 账号(登录代码)
  11372. type: string
  11373. marginratio:
  11374. description: 保证金比率(首付比例)
  11375. type: number
  11376. mobile:
  11377. description: 电话号码(用户资料里的电话)
  11378. type: string
  11379. payamount:
  11380. description: 已付(已付货款)
  11381. type: number
  11382. reckonrecovermargin:
  11383. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11384. type: number
  11385. recoveredmargin:
  11386. description: 已追缴保证金
  11387. type: number
  11388. remainamount:
  11389. description: 合同剩余金额(融资额)
  11390. type: number
  11391. scfcontractid:
  11392. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11393. type: string
  11394. scfcontractstatus:
  11395. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  11396. type: integer
  11397. scfcontracttype:
  11398. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11399. type: integer
  11400. totalinterest:
  11401. description: 已计总利息(利息)
  11402. type: number
  11403. tradedate:
  11404. description: 交易日
  11405. type: string
  11406. tradeprice:
  11407. description: 成交价格(成本价格)
  11408. type: number
  11409. userid:
  11410. description: 用户ID
  11411. type: integer
  11412. userinfotype:
  11413. description: 用户类型 1-个人 2-企业
  11414. type: integer
  11415. username:
  11416. description: 用户名称
  11417. type: string
  11418. wrqty:
  11419. description: 仓单数量(数量)
  11420. type: number
  11421. type: object
  11422. models.QhjMgrCustomer:
  11423. properties:
  11424. address:
  11425. description: 通讯地址
  11426. type: string
  11427. attachment1:
  11428. description: 附件1
  11429. type: string
  11430. audittime:
  11431. description: 审核时间
  11432. type: string
  11433. birthday:
  11434. description: 生日
  11435. type: string
  11436. brokerid:
  11437. description: 所属客户经理id
  11438. type: integer
  11439. brokername:
  11440. description: 所属客户经理名称
  11441. type: string
  11442. cardbackphotourl:
  11443. description: 证件反面图片地址
  11444. type: string
  11445. cardfrontphotourl:
  11446. description: 证件正面图片地址
  11447. type: string
  11448. cardnum:
  11449. description: 证件号码
  11450. type: string
  11451. cardtype:
  11452. description: 证件类型
  11453. type: integer
  11454. cardtypename:
  11455. description: 证件类型名称
  11456. type: string
  11457. cityid:
  11458. description: 市
  11459. type: integer
  11460. cityname:
  11461. description: 城市名称
  11462. type: string
  11463. contactname:
  11464. description: 联系人
  11465. type: string
  11466. countryid:
  11467. description: 国家
  11468. type: integer
  11469. countryname:
  11470. description: 国家名称
  11471. type: string
  11472. createtime:
  11473. description: 创建时间
  11474. type: string
  11475. customername:
  11476. description: 客户名称
  11477. type: string
  11478. districtid:
  11479. description: 区域
  11480. type: integer
  11481. districtname:
  11482. description: 地区名称
  11483. type: string
  11484. email:
  11485. description: 邮件
  11486. type: string
  11487. legalpersonname:
  11488. description: 法人姓名(企业)
  11489. type: string
  11490. logincode:
  11491. description: 登录账号(代码)
  11492. type: string
  11493. memberuserid:
  11494. description: 所属机构ID(所属会员)
  11495. type: integer
  11496. memberusername:
  11497. description: 所属会员名称
  11498. type: string
  11499. mobile:
  11500. description: 手机号码
  11501. type: string
  11502. modifytime:
  11503. description: 修改时间
  11504. type: string
  11505. nickname:
  11506. description: 昵称
  11507. type: string
  11508. parentuserid:
  11509. description: 上级机构(所属机构)
  11510. type: integer
  11511. parentusername:
  11512. description: 所属机构名称
  11513. type: string
  11514. provinceid:
  11515. description: 省
  11516. type: integer
  11517. provincename:
  11518. description: 省名称
  11519. type: string
  11520. proxystatementurl:
  11521. description: 授权委托书
  11522. type: string
  11523. querytype:
  11524. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11525. type: integer
  11526. remark:
  11527. description: 备注
  11528. type: string
  11529. sex:
  11530. description: 性别 0-女 1-男
  11531. type: integer
  11532. status:
  11533. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11534. type: integer
  11535. statusdesc:
  11536. description: 账户状态中文描述
  11537. type: string
  11538. taxpayernum:
  11539. description: 纳税人识别号
  11540. type: string
  11541. telphone:
  11542. description: 联系电话
  11543. type: string
  11544. userid:
  11545. description: 用户ID
  11546. type: integer
  11547. userinfotype:
  11548. description: 客户类型 1-个人 2-企业
  11549. type: integer
  11550. username:
  11551. description: 用户名称
  11552. type: string
  11553. type: object
  11554. models.QhjMgrPickGoods:
  11555. properties:
  11556. enumdicname:
  11557. description: 单位名称(提货商品)
  11558. type: string
  11559. goodsid:
  11560. description: 商品id
  11561. type: integer
  11562. imageaddress:
  11563. description: 图片
  11564. type: string
  11565. modifierid:
  11566. description: 修改人
  11567. type: integer
  11568. modifiername:
  11569. description: 修改人名称
  11570. type: string
  11571. modifysrc:
  11572. description: 修改来源 - 1:管理端 2:终端
  11573. type: integer
  11574. pickupgoodsagreeunit:
  11575. description: 合约乘数
  11576. type: number
  11577. pickupgoodsdesc:
  11578. description: 描述
  11579. type: string
  11580. pickupgoodsid:
  11581. description: 提货商品ID
  11582. type: string
  11583. pickupgoodsname:
  11584. description: 提货商品名称
  11585. type: string
  11586. pickupgoodsstatus:
  11587. description: 状态 - 1:正常 2:停用 3:注销
  11588. type: integer
  11589. pickupgoodsunitid:
  11590. description: 单位ID
  11591. type: integer
  11592. pickupratio:
  11593. description: 提货系数
  11594. type: number
  11595. preparedays:
  11596. description: 备货期(天)
  11597. type: integer
  11598. remark:
  11599. description: 备注
  11600. type: string
  11601. updatetime:
  11602. description: 更新时间
  11603. type: string
  11604. type: object
  11605. models.QhjMgrPositionRsp:
  11606. properties:
  11607. accountid:
  11608. description: 账号Id
  11609. type: integer
  11610. accountname:
  11611. description: 用户名称
  11612. type: string
  11613. agreeunit:
  11614. description: 合约乘数
  11615. type: number
  11616. averageprice:
  11617. description: 均价
  11618. type: number
  11619. avialqty:
  11620. description: 可用数量
  11621. type: number
  11622. decimalplace:
  11623. description: 报价小数位
  11624. type: integer
  11625. enumdicname:
  11626. description: 单位名称(商品)
  11627. type: string
  11628. frozenqty:
  11629. description: 冻结数量
  11630. type: number
  11631. goodscode:
  11632. description: 商品代码(内部)
  11633. type: string
  11634. goodsid:
  11635. description: 商品Id
  11636. type: integer
  11637. goodsname:
  11638. description: 商品名称
  11639. type: string
  11640. goodunitid:
  11641. description: 报价单位ID
  11642. type: integer
  11643. holderamount:
  11644. description: 金额
  11645. type: number
  11646. holderqty:
  11647. description: 持有数量
  11648. type: number
  11649. holdertype:
  11650. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11651. type: integer
  11652. logincode:
  11653. description: 登录代码(账户)
  11654. type: string
  11655. marketid:
  11656. description: 市场id
  11657. type: integer
  11658. qtydecimalplace:
  11659. description: 成交量小数位
  11660. type: integer
  11661. trademode:
  11662. description: 交易模式
  11663. type: integer
  11664. userid:
  11665. description: 用户id
  11666. type: integer
  11667. userinfotype:
  11668. description: 账户类型 1-个人 2-企业
  11669. type: integer
  11670. type: object
  11671. models.QhjMgrSubArea:
  11672. properties:
  11673. accountname:
  11674. description: 账户名称(机构名称)
  11675. type: string
  11676. memberuserid:
  11677. description: 所属会员ID
  11678. type: integer
  11679. parenttopuser:
  11680. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11681. type: string
  11682. parentuserid:
  11683. description: 所属机构ID
  11684. type: integer
  11685. rootuserid:
  11686. description: 根用户ID
  11687. type: string
  11688. subaccountlevel:
  11689. description: 子账户层数
  11690. type: integer
  11691. subarealevelpath:
  11692. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11693. type: string
  11694. userid:
  11695. description: 用户ID
  11696. type: integer
  11697. usertype:
  11698. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11699. type: integer
  11700. type: object
  11701. models.QhjMgrTradeDetailRsp:
  11702. properties:
  11703. accountid:
  11704. description: 资金账号
  11705. type: integer
  11706. accountname:
  11707. description: 用户名称
  11708. type: string
  11709. agreeunit:
  11710. description: 合约乘数
  11711. type: number
  11712. buyorsell:
  11713. description: 成交类型(方向) 0:买 1:卖
  11714. type: integer
  11715. decimalplace:
  11716. description: 报价小数位
  11717. type: integer
  11718. enumdicname:
  11719. description: 单位名称(商品)
  11720. type: string
  11721. goodscode:
  11722. description: 商品代码(内部)
  11723. type: string
  11724. goodsid:
  11725. description: 商品id
  11726. type: integer
  11727. goodsname:
  11728. description: 商品名称
  11729. type: string
  11730. goodunitid:
  11731. description: 报价单位ID
  11732. type: integer
  11733. logincode:
  11734. description: 登录代码(账户)
  11735. type: string
  11736. marketid:
  11737. description: 市场id
  11738. type: integer
  11739. orderid:
  11740. description: 关联委托单号
  11741. type: string
  11742. qtydecimalplace:
  11743. description: 成交量小数位
  11744. type: integer
  11745. tradeamount:
  11746. description: 金额
  11747. type: number
  11748. tradedate:
  11749. description: 交易日
  11750. type: string
  11751. tradeid:
  11752. description: 成交单号
  11753. type: string
  11754. trademode:
  11755. description: 交易模式
  11756. type: integer
  11757. tradeprice:
  11758. description: 价格
  11759. type: number
  11760. tradeqty:
  11761. description: 数量
  11762. type: number
  11763. tradetime:
  11764. description: 成交时间
  11765. type: string
  11766. userid:
  11767. description: 用户id
  11768. type: integer
  11769. userinfotype:
  11770. description: 账户类型 1-个人 2-企业
  11771. type: integer
  11772. type: object
  11773. models.QhjMgrTradeOrderDetailRsp:
  11774. properties:
  11775. accountid:
  11776. description: 资金账号
  11777. type: integer
  11778. accountname:
  11779. description: 用户名称
  11780. type: string
  11781. agreeunit:
  11782. description: 合约乘数
  11783. type: number
  11784. amount:
  11785. description: 金额
  11786. type: number
  11787. decimalplace:
  11788. description: 报价小数位
  11789. type: integer
  11790. enumdicname:
  11791. description: 单位名称(商品)
  11792. type: string
  11793. goodscode:
  11794. description: 商品代码(内部)
  11795. type: string
  11796. goodsid:
  11797. description: 商品id
  11798. type: integer
  11799. goodsname:
  11800. description: 商品名称
  11801. type: string
  11802. goodunitid:
  11803. description: 报价单位ID
  11804. type: integer
  11805. logincode:
  11806. description: 登录代码(账户)
  11807. type: string
  11808. marketid:
  11809. description: 市场id
  11810. type: integer
  11811. orderid:
  11812. description: 关联委托单号
  11813. type: string
  11814. orderprice:
  11815. description: 价格
  11816. type: number
  11817. orderqty:
  11818. description: 数量
  11819. type: number
  11820. orderstatus:
  11821. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  11822. type: integer
  11823. ordertime:
  11824. description: 委托时间
  11825. type: string
  11826. qtydecimalplace:
  11827. description: 成交量小数位
  11828. type: integer
  11829. tradedate:
  11830. description: 交易日
  11831. type: string
  11832. trademode:
  11833. description: 交易模式
  11834. type: integer
  11835. userid:
  11836. description: 用户id
  11837. type: integer
  11838. userinfotype:
  11839. description: 账户类型 1-个人 2-企业
  11840. type: integer
  11841. type: object
  11842. models.QhjMgrTradePayOrder:
  11843. properties:
  11844. accountname:
  11845. description: 用户名称
  11846. type: string
  11847. advanceratio:
  11848. description: 首付比率
  11849. type: number
  11850. agreeunit:
  11851. description: 合约乘数
  11852. type: number
  11853. buyaccountid:
  11854. description: 买方账号ID[报价币种]
  11855. type: integer
  11856. buyorderid:
  11857. description: 买方委托单号(关联单号)
  11858. type: string
  11859. createtime:
  11860. description: 创建时间
  11861. type: string
  11862. decimalplace:
  11863. description: 报价小数位
  11864. type: integer
  11865. enumdicname:
  11866. description: 单位名称(商品)
  11867. type: string
  11868. goodscode:
  11869. description: 商品代码(内部)
  11870. type: string
  11871. goodsid:
  11872. description: 商品ID
  11873. type: integer
  11874. goodsname:
  11875. description: 商品名称
  11876. type: string
  11877. goodunitid:
  11878. description: 报价单位ID
  11879. type: integer
  11880. logincode:
  11881. description: 登录代码(账户)
  11882. type: string
  11883. marketid:
  11884. description: 市场id
  11885. type: integer
  11886. offamount:
  11887. description: 优惠金额
  11888. type: number
  11889. operatetype:
  11890. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11891. type: integer
  11892. payamount:
  11893. description: 支付金额(金额)
  11894. type: number
  11895. payflag:
  11896. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11897. type: integer
  11898. paylimitedtime:
  11899. description: 支付期限
  11900. type: string
  11901. paytime:
  11902. description: 付款时间
  11903. type: string
  11904. qtydecimalplace:
  11905. description: 成交量小数位
  11906. type: integer
  11907. sellaccountid:
  11908. description: 卖方账号ID[报价币种]
  11909. type: integer
  11910. sellorderid:
  11911. description: 卖方委托单号
  11912. type: string
  11913. tradeamount:
  11914. description: 成交金额(优惠后金额)
  11915. type: number
  11916. tradecharge:
  11917. description: 成交手续费(买方)
  11918. type: number
  11919. tradedate:
  11920. description: 交易日(yyyyMMdd)
  11921. type: string
  11922. tradeid:
  11923. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11924. type: string
  11925. trademode:
  11926. description: 交易模式
  11927. type: integer
  11928. tradeprice:
  11929. description: 成交价格(价格)
  11930. type: number
  11931. tradeqty:
  11932. description: 成交数量(数量)
  11933. type: number
  11934. tradetime:
  11935. description: 成交时间
  11936. type: string
  11937. userid:
  11938. description: 用户id
  11939. type: integer
  11940. userinfotype:
  11941. description: 账户类型 1-个人 2-企业
  11942. type: integer
  11943. type: object
  11944. models.QhjMyTeamEx:
  11945. properties:
  11946. accountname:
  11947. description: 用户名称
  11948. type: string
  11949. accountstatus:
  11950. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11951. type: integer
  11952. createtime:
  11953. description: 创建时间
  11954. type: string
  11955. mobile:
  11956. description: 手机号码
  11957. type: string
  11958. refereeuserid:
  11959. description: 推荐人id
  11960. type: integer
  11961. refernum:
  11962. description: 推荐码
  11963. type: string
  11964. subList:
  11965. items:
  11966. $ref: '#/definitions/models.QhjMyTeamEx'
  11967. type: array
  11968. userid:
  11969. description: 用户id
  11970. type: integer
  11971. userinfotype:
  11972. description: 用户类型 1-个人 2-企业
  11973. type: integer
  11974. type: object
  11975. models.QhjNodeAgreementConfig:
  11976. properties:
  11977. agreementcontent:
  11978. description: 协议内容
  11979. type: string
  11980. agreementid:
  11981. description: 协议ID
  11982. type: integer
  11983. agreementname:
  11984. description: 协议名称
  11985. type: string
  11986. agreementno:
  11987. description: 协议编号
  11988. type: string
  11989. agreementtype:
  11990. description: 协议类型 - 1:注册 2:登录 3:交易
  11991. type: integer
  11992. agreementversion:
  11993. description: 协议版本号
  11994. type: integer
  11995. configid:
  11996. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11997. type: integer
  11998. createtime:
  11999. description: 创建时间
  12000. type: string
  12001. goodsid:
  12002. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12003. type: integer
  12004. nodetype:
  12005. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12006. type: integer
  12007. type: object
  12008. models.QhjParentAreaList:
  12009. properties:
  12010. accountname:
  12011. description: 账户名称(机构名称)
  12012. type: string
  12013. userid:
  12014. description: 用户ID
  12015. type: integer
  12016. usertype:
  12017. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12018. type: integer
  12019. type: object
  12020. models.QhjPayOrder:
  12021. properties:
  12022. advanceratio:
  12023. description: 首付比率
  12024. type: number
  12025. buyaccountid:
  12026. description: 买方账号ID[报价币种]
  12027. type: integer
  12028. buyorderid:
  12029. description: 买方委托单号
  12030. type: string
  12031. createtime:
  12032. description: 创建时间
  12033. type: string
  12034. decimalplace:
  12035. description: 商品报价小数位
  12036. type: integer
  12037. enumdicname:
  12038. description: 单位名称
  12039. type: string
  12040. goodscode:
  12041. description: 商品代码
  12042. type: string
  12043. goodsid:
  12044. description: 商品ID
  12045. type: integer
  12046. goodsname:
  12047. description: 商品名称
  12048. type: string
  12049. goodunitid:
  12050. description: 商品单位id
  12051. type: integer
  12052. marketid:
  12053. description: 市场ID
  12054. type: integer
  12055. offamount:
  12056. description: 优惠金额
  12057. type: number
  12058. operatetype:
  12059. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12060. type: integer
  12061. payamount:
  12062. description: 支付金额
  12063. type: number
  12064. payflag:
  12065. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12066. type: integer
  12067. paylimitedtime:
  12068. description: 支付期限
  12069. type: string
  12070. paytime:
  12071. description: 付款时间
  12072. type: string
  12073. qtydecimalplace:
  12074. description: 成交量小数位
  12075. type: integer
  12076. sellaccountid:
  12077. description: 卖方账号ID[报价币种]
  12078. type: integer
  12079. sellorderid:
  12080. description: 卖方委托单号
  12081. type: string
  12082. tradeamount:
  12083. description: 成交金额(优惠后金额)
  12084. type: number
  12085. tradecharge:
  12086. description: 成交手续费(买方)
  12087. type: number
  12088. tradedate:
  12089. description: 交易日(yyyyMMdd)
  12090. type: string
  12091. tradeid:
  12092. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12093. type: string
  12094. tradeprice:
  12095. description: 成交价格
  12096. type: number
  12097. tradeqty:
  12098. description: 成交数量
  12099. type: number
  12100. type: object
  12101. models.QhjPickArea:
  12102. properties:
  12103. address:
  12104. description: 详细地址
  12105. type: string
  12106. cityid:
  12107. description: 市
  12108. type: integer
  12109. cityname:
  12110. description: 城市名称
  12111. type: string
  12112. countryid:
  12113. description: 国家
  12114. type: integer
  12115. countryname:
  12116. description: 国家名称
  12117. type: string
  12118. districtid:
  12119. description: 地区
  12120. type: integer
  12121. districtname:
  12122. description: 地区名称
  12123. type: string
  12124. fromuserid:
  12125. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12126. type: integer
  12127. fromusername:
  12128. description: 所属机构名称
  12129. type: string
  12130. provinceid:
  12131. description: 省
  12132. type: integer
  12133. provincename:
  12134. description: 省名称
  12135. type: string
  12136. suborgtype:
  12137. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12138. type: integer
  12139. userid:
  12140. description: 机构用户ID 其他做市关系,都设置为 1
  12141. type: integer
  12142. username:
  12143. description: 机构用户名称(门店门称)
  12144. type: string
  12145. type: object
  12146. models.QhjPickGoods:
  12147. properties:
  12148. enumdicname:
  12149. description: 单位名称(提货商品)
  12150. type: string
  12151. goodsid:
  12152. description: 商品id
  12153. type: integer
  12154. imageaddress:
  12155. description: 图片
  12156. type: string
  12157. modifierid:
  12158. description: 修改人
  12159. type: integer
  12160. modifiername:
  12161. description: 修改人名称
  12162. type: string
  12163. modifysrc:
  12164. description: 修改来源 - 1:管理端 2:终端
  12165. type: integer
  12166. pickupgoodsagreeunit:
  12167. description: 合约乘数
  12168. type: number
  12169. pickupgoodsdesc:
  12170. description: 描述
  12171. type: string
  12172. pickupgoodsid:
  12173. description: 提货商品ID
  12174. type: string
  12175. pickupgoodsname:
  12176. description: 提货商品名称
  12177. type: string
  12178. pickupgoodsstatus:
  12179. description: 状态 - 1:正常 2:停用 3:注销
  12180. type: integer
  12181. pickupgoodsunitid:
  12182. description: 单位ID
  12183. type: integer
  12184. pickupratio:
  12185. description: 提货系数
  12186. type: number
  12187. preparedays:
  12188. description: 备货期(天)
  12189. type: integer
  12190. remark:
  12191. description: 备注
  12192. type: string
  12193. updatetime:
  12194. description: 更新时间
  12195. type: string
  12196. type: object
  12197. models.QhjRSTriggerLog:
  12198. properties:
  12199. accountid:
  12200. description: 用户资金账户
  12201. type: integer
  12202. accountname:
  12203. description: 账号名称(ACCOUNTID对应的名称)
  12204. type: string
  12205. currencyid:
  12206. description: 币种id
  12207. type: integer
  12208. currencyname:
  12209. description: 币种名称
  12210. type: string
  12211. decimalplace:
  12212. description: 商品报价小数位
  12213. type: integer
  12214. enumdicname:
  12215. description: 单位名称
  12216. type: string
  12217. goodscode:
  12218. description: 定投商品代码
  12219. type: string
  12220. goodsid:
  12221. description: 定投商品ID
  12222. type: integer
  12223. goodsname:
  12224. description: 定投商品名称
  12225. type: string
  12226. goodunitid:
  12227. description: 定投商品单位id
  12228. type: integer
  12229. logid:
  12230. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12231. type: string
  12232. logincode:
  12233. description: 账号(登录代码)
  12234. type: string
  12235. qtydecimalplace:
  12236. description: 成交量小数位
  12237. type: integer
  12238. regularlycycle:
  12239. description: 定投频率 - 1:每周 2:每月
  12240. type: integer
  12241. regularlycyclevalue:
  12242. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12243. type: string
  12244. regularlymode:
  12245. description: 定投方式 - 1:按数量 2:按金额
  12246. type: integer
  12247. regularlymodevalue:
  12248. description: 定投方式值 - 数量或金额
  12249. type: number
  12250. regularlystrategyid:
  12251. description: 定投策略ID
  12252. type: integer
  12253. retcode:
  12254. description: 错误码
  12255. type: string
  12256. tradeid:
  12257. description: 成交单ID
  12258. type: string
  12259. triggeramount:
  12260. description: 触发金额
  12261. type: number
  12262. triggerqty:
  12263. description: 触发数量
  12264. type: number
  12265. triggerstatus:
  12266. description: 触发状态 - 1:成功 2:失败
  12267. type: integer
  12268. triggertime:
  12269. description: 触发时间
  12270. type: string
  12271. triggertradedate:
  12272. description: 触发交易日
  12273. type: string
  12274. userid:
  12275. description: 所属用户ID
  12276. type: integer
  12277. userinfotype:
  12278. description: 用户类型 1-个人 2-企业
  12279. type: integer
  12280. username:
  12281. description: 用户名称(userid对应的名称)
  12282. type: string
  12283. type: object
  12284. models.QhjRStrategy:
  12285. properties:
  12286. accountid:
  12287. description: 用户资金账户
  12288. type: integer
  12289. accountname:
  12290. description: 账号名称(ACCOUNTID对应的名称)
  12291. type: string
  12292. currencyid:
  12293. description: 币种id
  12294. type: integer
  12295. currencyname:
  12296. description: 币种名称
  12297. type: string
  12298. decimalplace:
  12299. description: 商品报价小数位
  12300. type: integer
  12301. enumdicname:
  12302. description: 单位名称
  12303. type: string
  12304. goodscode:
  12305. description: 定投商品代码
  12306. type: string
  12307. goodsid:
  12308. description: 定投商品ID
  12309. type: integer
  12310. goodsname:
  12311. description: 定投商品名称
  12312. type: string
  12313. goodunitid:
  12314. description: 定投商品单位id
  12315. type: integer
  12316. lasteffecttradedate:
  12317. description: 最新生效交易日
  12318. type: string
  12319. laststoptradedate:
  12320. description: 最新暂停交易日
  12321. type: string
  12322. lasttriggertradedate:
  12323. description: 最新触发交易日
  12324. type: string
  12325. logincode:
  12326. description: 账号(登录代码)
  12327. type: string
  12328. nexttriggeramount:
  12329. description: 下次触发金额
  12330. type: number
  12331. nexttriggerdate:
  12332. description: 下次触发日期
  12333. type: string
  12334. nexttriggerqty:
  12335. description: 下次触发数量 [按小数位放大值]
  12336. type: number
  12337. qtydecimalplace:
  12338. description: 成交量小数位
  12339. type: integer
  12340. regularlycycle:
  12341. description: 定投频率 - 1:每周 2:每月
  12342. type: integer
  12343. regularlycyclevalue:
  12344. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12345. type: string
  12346. regularlymode:
  12347. description: 定投方式 - 1:按数量 2:按金额
  12348. type: integer
  12349. regularlymodevalue:
  12350. description: 定投方式值 - 数量或金额
  12351. type: number
  12352. regularlystrategyid:
  12353. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12354. type: integer
  12355. regularlystrategystatus:
  12356. description: 策略状态 - 1:正常 2:暂停 3:终止
  12357. type: integer
  12358. remark:
  12359. description: 备注
  12360. type: string
  12361. triggersuccesstimes:
  12362. description: 累计定投成功次数
  12363. type: string
  12364. triggertotalamount:
  12365. description: 累计定投金额(成功)
  12366. type: number
  12367. triggertotalqty:
  12368. description: 累计定投数量(成功) [按小数位放大值]
  12369. type: number
  12370. triggertotaltimes:
  12371. description: 累计定投总次数
  12372. type: string
  12373. updatesrc:
  12374. description: 更新来源 - 1:管理端 2:终端
  12375. type: integer
  12376. updatetime:
  12377. description: 更新时间
  12378. type: string
  12379. updatorid:
  12380. description: 更新人
  12381. type: string
  12382. userid:
  12383. description: 所属用户ID
  12384. type: integer
  12385. userinfotype:
  12386. description: 用户类型 1-个人 2-企业
  12387. type: integer
  12388. username:
  12389. description: 用户名称(userid对应的名称)
  12390. type: string
  12391. type: object
  12392. models.QhjReckonPriceLog:
  12393. properties:
  12394. decimalplace:
  12395. description: 商品报价小数位
  12396. type: integer
  12397. goodscode:
  12398. description: 商品代码
  12399. type: string
  12400. goodsid:
  12401. description: 商品ID
  12402. type: integer
  12403. goodsname:
  12404. description: 商品名称
  12405. type: string
  12406. lastreckonprice:
  12407. description: 上日结算价
  12408. type: number
  12409. nextdnlimitprice:
  12410. description: 下个交易日跌停价
  12411. type: number
  12412. nexttrade:
  12413. description: 下个交易日
  12414. type: string
  12415. nextuplimitprice:
  12416. description: 下个交易日涨停价
  12417. type: number
  12418. reckonprice:
  12419. description: 今日结算价(定投价)
  12420. type: number
  12421. reckontime:
  12422. description: 结算时间
  12423. type: string
  12424. totalholderqty:
  12425. description: 总持仓数
  12426. type: integer
  12427. totalstock:
  12428. description: 总库存
  12429. type: integer
  12430. tradedate:
  12431. description: 交易日
  12432. type: string
  12433. updowncount:
  12434. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12435. type: integer
  12436. updownflag:
  12437. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12438. type: integer
  12439. updownrate:
  12440. description: 今日涨跌幅
  12441. type: number
  12442. updownrate_2d:
  12443. description: 连续两日涨跌幅
  12444. type: number
  12445. updownrate_3d:
  12446. description: 连续三日涨跌幅
  12447. type: number
  12448. type: object
  12449. models.QhjScoreLog:
  12450. properties:
  12451. accountid:
  12452. description: 账户ID
  12453. type: integer
  12454. createtime:
  12455. description: 创建时间(时间)
  12456. type: string
  12457. goodsid:
  12458. description: 商品ID
  12459. type: integer
  12460. hasuploaded:
  12461. description: 是否已同步(千海金) 0:未同步 1;已同步
  12462. type: integer
  12463. logid:
  12464. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12465. type: string
  12466. marketid:
  12467. description: 市场ID
  12468. type: integer
  12469. relatedamount:
  12470. description: 关联金额
  12471. type: number
  12472. relatedorderid:
  12473. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12474. type: string
  12475. scoreconfigvalue1:
  12476. description: 积分配置1
  12477. type: integer
  12478. scoreconfigvalue2:
  12479. description: 积分配置1
  12480. type: integer
  12481. scoretype:
  12482. description: 积分类型 - 1:提货积分
  12483. type: integer
  12484. scorevalue:
  12485. description: 积分
  12486. type: number
  12487. tradedate:
  12488. description: 交易日(yyyyMMdd)
  12489. type: string
  12490. uploadedtime:
  12491. description: 同步时间
  12492. type: string
  12493. userid:
  12494. description: 用户ID
  12495. type: integer
  12496. type: object
  12497. models.QhjSiteColumnDetail:
  12498. properties:
  12499. author:
  12500. description: 作者
  12501. type: string
  12502. brief:
  12503. description: 简介
  12504. type: string
  12505. columnid:
  12506. description: 所属栏目
  12507. type: integer
  12508. context:
  12509. description: 内容
  12510. type: string
  12511. coverimage:
  12512. description: 封面图片
  12513. type: string
  12514. creaedate:
  12515. description: 创建时间
  12516. type: string
  12517. creatorid:
  12518. description: 创建人
  12519. type: integer
  12520. hits:
  12521. description: 点击数
  12522. type: integer
  12523. id:
  12524. description: ID(SEQ_SITE_COLUMNDETAIL)
  12525. type: integer
  12526. isshow:
  12527. description: 是否展示 - 0:不展示 1:展示
  12528. type: integer
  12529. istop:
  12530. description: 是否置顶 - 0:不置 1:置顶
  12531. type: integer
  12532. modifierid:
  12533. description: 操作人
  12534. type: integer
  12535. publishdate:
  12536. description: 发布日期
  12537. type: string
  12538. status:
  12539. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12540. type: integer
  12541. title:
  12542. description: 标题
  12543. type: string
  12544. updatedate:
  12545. description: 修改时间
  12546. type: string
  12547. userid:
  12548. description: 用户ID(默认为0, 核心为为机构用户ID)
  12549. type: integer
  12550. username:
  12551. description: 用户名称
  12552. type: string
  12553. type: object
  12554. models.QhjTeamOrder:
  12555. properties:
  12556. accountid:
  12557. description: 账户ID[报价币种]
  12558. type: integer
  12559. accountname:
  12560. description: 账户名称
  12561. type: string
  12562. agreeunit:
  12563. description: 合约乘数
  12564. type: number
  12565. buyorsell:
  12566. description: 方向 - 0:买 1:卖
  12567. type: integer
  12568. decimalplace:
  12569. description: 报价小数位
  12570. type: integer
  12571. enumdicname:
  12572. description: 单位名称
  12573. type: string
  12574. goodscode:
  12575. description: 商品代码(内部)
  12576. type: string
  12577. goodsid:
  12578. description: 商品ID
  12579. type: integer
  12580. goodsname:
  12581. description: 商品名称
  12582. type: string
  12583. goodunitid:
  12584. description: 报价单位ID
  12585. type: integer
  12586. marketid:
  12587. description: 市场ID
  12588. type: integer
  12589. marketname:
  12590. description: 市场名称
  12591. type: string
  12592. qtydecimalplace:
  12593. description: 成交量小数位
  12594. type: integer
  12595. refereeuserid:
  12596. description: 推荐人ID
  12597. type: integer
  12598. tradeamount:
  12599. description: 成交金额[账户币种,用于所有权]
  12600. type: number
  12601. tradedate:
  12602. description: 交易日(yyyyMMdd)
  12603. type: string
  12604. trademode:
  12605. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  12606. type: integer
  12607. tradeprice:
  12608. description: 成交价格
  12609. type: number
  12610. tradeqty:
  12611. description: 成交数量
  12612. type: number
  12613. tradetime:
  12614. description: 成交时间
  12615. type: string
  12616. userid:
  12617. description: 用户ID
  12618. type: integer
  12619. type: object
  12620. models.QhjTradeGoodsPickup:
  12621. properties:
  12622. accountid:
  12623. description: 账户ID
  12624. type: integer
  12625. address:
  12626. description: 提货人详细地址
  12627. type: string
  12628. amount:
  12629. description: 提货金额
  12630. type: number
  12631. artradedate:
  12632. description: 自动收货交易日(yyyyMMdd)
  12633. type: string
  12634. auditer:
  12635. description: 审核人
  12636. type: integer
  12637. auditsrc:
  12638. description: 更新来源 - 1:管理端 2:终端
  12639. type: integer
  12640. audittime:
  12641. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12642. type: string
  12643. audittradedate:
  12644. description: 审核交易日(yyyyMMdd)
  12645. type: string
  12646. cardnum:
  12647. description: 提货人证件号码
  12648. type: string
  12649. cardtypeid:
  12650. description: 提货人证件类型
  12651. type: integer
  12652. checkremark:
  12653. description: 审核备注
  12654. type: string
  12655. cityid:
  12656. description: 市
  12657. type: integer
  12658. cityname:
  12659. description: 城市名称
  12660. type: string
  12661. confirmtime:
  12662. description: 取货时间 或 收货时间
  12663. type: string
  12664. countryid:
  12665. description: 国家
  12666. type: integer
  12667. countryname:
  12668. description: 国家名称
  12669. type: string
  12670. decimalplace:
  12671. description: 商品报价小数位
  12672. type: integer
  12673. districtid:
  12674. description: 地区
  12675. type: integer
  12676. districtname:
  12677. description: 地区名称
  12678. type: string
  12679. enumdicname:
  12680. description: 单位名称(提货商品)
  12681. type: string
  12682. expresscompany:
  12683. description: 物流公司
  12684. type: string
  12685. expressnum:
  12686. description: 物流单号
  12687. type: string
  12688. goodsagreeunit:
  12689. description: 交易商品乘数
  12690. type: number
  12691. goodscode:
  12692. description: 商品代码
  12693. type: string
  12694. goodsid:
  12695. description: 商品ID
  12696. type: integer
  12697. goodsname:
  12698. description: 商品名称
  12699. type: string
  12700. goodsqty:
  12701. description: 交易商品手数(69模式按成交量小数位放大取整)
  12702. type: number
  12703. handlestatus:
  12704. description: 处理状态
  12705. type: integer
  12706. logincode:
  12707. description: 账号(登录代码, 有可能为空)
  12708. type: string
  12709. marketid:
  12710. description: 市场ID
  12711. type: integer
  12712. phonenum:
  12713. description: 提货人联系方式
  12714. type: string
  12715. pickupgoodsagreeunit:
  12716. description: 提货商品合约乘数
  12717. type: number
  12718. pickupgoodsid:
  12719. description: 提货商品ID
  12720. type: string
  12721. pickupgoodsname:
  12722. description: 提货商品名称
  12723. type: string
  12724. pickupgoodsqty:
  12725. description: 提货商品手数(数量)
  12726. type: number
  12727. pickupgoodsunitid:
  12728. description: 单位ID(提货商品)
  12729. type: integer
  12730. pickupratio:
  12731. description: 提货系数
  12732. type: number
  12733. preparedays:
  12734. description: 备货期(天)-提货单明细表
  12735. type: integer
  12736. provinceid:
  12737. description: 省
  12738. type: integer
  12739. provincename:
  12740. description: 省名称
  12741. type: string
  12742. qty:
  12743. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12744. type: number
  12745. qtydecimalplace:
  12746. description: 商品数量小数位
  12747. type: integer
  12748. recivername:
  12749. description: 提货人姓名
  12750. type: string
  12751. reqtime:
  12752. description: 提货申请时间
  12753. type: string
  12754. storeuserid:
  12755. description: 门店用户ID (千海金)
  12756. type: integer
  12757. storeusername:
  12758. description: 门店用户名称
  12759. type: string
  12760. takemode:
  12761. description: 提货方式 - 2:自提 3:配送(邮寄)
  12762. type: integer
  12763. takeorderid:
  12764. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12765. type: string
  12766. takeorderstatus:
  12767. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  12768. type: integer
  12769. takeremark:
  12770. description: 提货备注
  12771. type: string
  12772. tradedate:
  12773. description: 交易日(yyyyMMdd)
  12774. type: string
  12775. updatetime:
  12776. description: 更新时间
  12777. type: string
  12778. userid:
  12779. description: 用户ID
  12780. type: integer
  12781. userinfotype:
  12782. description: 客户类型 1-个人 2-企业
  12783. type: integer
  12784. username:
  12785. description: 用户名称
  12786. type: string
  12787. type: object
  12788. models.QhjUserNodeCfgAndStatus:
  12789. properties:
  12790. agreementcontent:
  12791. description: 协议内容
  12792. type: string
  12793. agreementid:
  12794. description: 协议ID
  12795. type: integer
  12796. agreementname:
  12797. description: 协议名称
  12798. type: string
  12799. agreementno:
  12800. description: 协议编号
  12801. type: string
  12802. agreementtype:
  12803. description: 协议类型 - 1:注册 2:登录 3:交易
  12804. type: integer
  12805. agreementversion:
  12806. description: 协议版本号
  12807. type: integer
  12808. configid:
  12809. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12810. type: integer
  12811. createtime:
  12812. description: 创建时间
  12813. type: string
  12814. goodsid:
  12815. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12816. type: integer
  12817. nodetype:
  12818. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12819. type: integer
  12820. signtimestamp:
  12821. description: 签约状态时间戳(最近一次)
  12822. type: string
  12823. tradedate:
  12824. description: 签约交易日(yyyyMMdd)
  12825. type: string
  12826. userid:
  12827. description: 客户ID
  12828. type: integer
  12829. type: object
  12830. models.Qhjgoodsex:
  12831. properties:
  12832. canfinance:
  12833. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12834. type: integer
  12835. canregularlybuy:
  12836. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12837. type: integer
  12838. defaulttradeuserid:
  12839. description: 默认交易用户ID
  12840. type: integer
  12841. deliverygoodsid:
  12842. description: 现货品种ID
  12843. type: integer
  12844. goodsid:
  12845. description: 商品ID(自增ID SEQ_GOODS)
  12846. type: integer
  12847. minamount:
  12848. description: 最小购买金额
  12849. type: number
  12850. regularlybuyminamount:
  12851. description: 定投最小金额
  12852. type: number
  12853. regularlybuyminqty:
  12854. description: 定投最小数量
  12855. type: number
  12856. spotgoodsbrandid:
  12857. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12858. type: integer
  12859. visibilityforenterprise:
  12860. description: 企业客户是否可见 - 0:不可见 1:可见
  12861. type: integer
  12862. visibilityforpersonal:
  12863. description: 个人客户是否可见 - 0:不可见 1:可见
  12864. type: integer
  12865. wrstandardid:
  12866. description: 现货商品ID
  12867. type: integer
  12868. type: object
  12869. models.QueryErrorInfosRsp:
  12870. properties:
  12871. description:
  12872. description: 异常描述
  12873. type: string
  12874. errorcode:
  12875. description: 异常代码
  12876. type: string
  12877. errorid:
  12878. description: 异常ID
  12879. type: integer
  12880. modulecode:
  12881. description: 所属模块
  12882. type: string
  12883. operatecode:
  12884. description: 所属操作
  12885. type: string
  12886. rownumber:
  12887. description: 行号
  12888. type: string
  12889. required:
  12890. - errorid
  12891. type: object
  12892. models.QueryHedgeOrderDetailRsp:
  12893. properties:
  12894. accountid:
  12895. description: 账户ID
  12896. type: integer
  12897. buyorsell:
  12898. description: 买卖 - 0:买 1:卖
  12899. type: integer
  12900. cancellogincode:
  12901. description: 撤单人
  12902. type: string
  12903. channelbuildtype:
  12904. description: 开平标志 - 0:无 1:建仓 2:平仓
  12905. type: integer
  12906. channelinnerorderstatus:
  12907. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交
  12908. type: integer
  12909. channeloperatetype:
  12910. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12911. type: integer
  12912. closetype:
  12913. description: 平仓方式 - 0:无 1:平今 2:平昨
  12914. type: integer
  12915. curexchangerate:
  12916. description: 当前汇率
  12917. type: number
  12918. exchangefullname:
  12919. description: 外部交易所全称
  12920. type: string
  12921. goodscode:
  12922. description: 商品代码(内部)
  12923. type: string
  12924. goodsid:
  12925. description: 商品ID
  12926. type: integer
  12927. goodsname:
  12928. description: 商品名称
  12929. type: string
  12930. marketid:
  12931. description: 市场ID
  12932. type: integer
  12933. openfreezemargin:
  12934. description: 冻结保证金(冻结交易金额)
  12935. type: number
  12936. orderid:
  12937. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12938. type: string
  12939. orderlogincode:
  12940. description: 委托人
  12941. type: string
  12942. orderprice:
  12943. description: 委托价格(账户)
  12944. type: number
  12945. orderqty:
  12946. description: 委托数量
  12947. type: integer
  12948. ordertime:
  12949. description: 委托时间
  12950. type: string
  12951. pricemode:
  12952. description: '取价方式 - 1:市价 2: 限价'
  12953. type: integer
  12954. tradedate:
  12955. description: 交易日(yyyyMMdd)
  12956. type: string
  12957. tradeqty:
  12958. description: 成交数量
  12959. type: integer
  12960. type: object
  12961. models.QueryHedgeTradeDetailRsp:
  12962. properties:
  12963. accountid:
  12964. description: 账号ID
  12965. type: integer
  12966. buyorsell:
  12967. description: 方向 - 0:买 1:卖
  12968. type: integer
  12969. channelbuildtype:
  12970. description: 委托单据类型 0:无 1:建仓 2:平仓
  12971. type: integer
  12972. closecharge:
  12973. description: 平仓手续费(账户)
  12974. type: number
  12975. closecharge2:
  12976. description: 平仓手续费(商品)
  12977. type: number
  12978. closepl:
  12979. description: 平仓盈亏(账户)
  12980. type: number
  12981. closepl2:
  12982. description: 平仓盈亏(商品)
  12983. type: number
  12984. closepl3:
  12985. description: 平仓盈亏(账户)(逐笔)
  12986. type: number
  12987. closepl4:
  12988. description: 平仓盈亏(商品)(逐笔)
  12989. type: number
  12990. closetype:
  12991. description: 平仓方式 - 0:无 1:平今 2:平昨
  12992. type: integer
  12993. curexchangerate:
  12994. description: 当前汇率
  12995. type: number
  12996. exchangefullname:
  12997. description: 外部交易所全称
  12998. type: string
  12999. goodscode:
  13000. description: 商品代码(内部)
  13001. type: string
  13002. goodsid:
  13003. description: 商品ID
  13004. type: integer
  13005. goodsname:
  13006. description: 商品名称
  13007. type: string
  13008. marketid:
  13009. description: 市场ID
  13010. type: integer
  13011. opencharge:
  13012. description: 建仓手续费(账户)
  13013. type: number
  13014. opencharge2:
  13015. description: 建仓手续费(商品)
  13016. type: number
  13017. orderid:
  13018. description: 委托单号
  13019. type: string
  13020. orderlogincode:
  13021. description: 委托人
  13022. type: string
  13023. tradeamount:
  13024. description: 成交金额(账户)
  13025. type: number
  13026. tradedate:
  13027. description: 交易日(yyyyMMdd)
  13028. type: string
  13029. tradeid:
  13030. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13031. type: string
  13032. tradeprice:
  13033. description: 成交价格
  13034. type: number
  13035. tradeqty:
  13036. description: 成交数量
  13037. type: integer
  13038. tradetime:
  13039. description: 成交时间
  13040. type: string
  13041. tradetype:
  13042. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13043. type: integer
  13044. type: object
  13045. models.QuotePrimaryMenu:
  13046. properties:
  13047. Index:
  13048. description: 序号
  13049. type: integer
  13050. Key:
  13051. description: 键名
  13052. type: string
  13053. Name:
  13054. description: 菜单名称
  13055. type: string
  13056. SubMenus:
  13057. description: 子菜单
  13058. items:
  13059. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13060. type: array
  13061. SubTitleType:
  13062. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13063. type: integer
  13064. TradeModes:
  13065. description: 包含市场交易类型
  13066. type: string
  13067. type: object
  13068. models.QuoteSecondaryMenu:
  13069. properties:
  13070. ExExchangeCode:
  13071. description: 外部交易所代码
  13072. type: string
  13073. ExExchangeID:
  13074. description: 外部交易所ID
  13075. type: integer
  13076. GoodsGroupIDs:
  13077. description: 商品组ID列表
  13078. items:
  13079. type: integer
  13080. type: array
  13081. Index:
  13082. description: 序号
  13083. type: integer
  13084. MarketID:
  13085. description: 市场ID
  13086. type: integer
  13087. MenuTitle:
  13088. description: 菜单标题(市场名称或外部交易所名称)
  13089. type: string
  13090. TradeMode:
  13091. description: 交易模式
  13092. type: integer
  13093. type: object
  13094. models.RoleMenu:
  13095. properties:
  13096. hasright:
  13097. description: 是否有权限 0-没有权限 1-有权限
  13098. type: integer
  13099. iconame:
  13100. description: 菜单图标
  13101. type: string
  13102. menutype:
  13103. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13104. type: integer
  13105. parentcode:
  13106. description: 上级资源代码
  13107. type: string
  13108. remark:
  13109. description: 菜单备注
  13110. type: string
  13111. resourcecode:
  13112. description: 菜单代码
  13113. type: string
  13114. resourcelevel:
  13115. description: 级别
  13116. type: integer
  13117. resourcename:
  13118. description: 菜单名称
  13119. type: string
  13120. roleid:
  13121. description: 角色id
  13122. type: integer
  13123. sort:
  13124. description: 排序
  13125. type: integer
  13126. subMenu:
  13127. description: 子级菜单(结构同上层一样, swag解析不出来)
  13128. items:
  13129. $ref: '#/definitions/models.RoleMenu'
  13130. type: array
  13131. url:
  13132. description: URL
  13133. type: string
  13134. userid:
  13135. description: 用户id
  13136. type: integer
  13137. type: object
  13138. models.SearchGoods:
  13139. properties:
  13140. goodscode:
  13141. description: 商品代码(内部)
  13142. type: string
  13143. goodsid:
  13144. description: 商品ID(自增ID SEQ_GOODS)
  13145. type: integer
  13146. goodsname:
  13147. description: 商品名称
  13148. type: string
  13149. marketid:
  13150. description: 所属市场ID
  13151. type: integer
  13152. marketname:
  13153. description: 市场名称
  13154. type: string
  13155. trademode:
  13156. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  13157. type: integer
  13158. required:
  13159. - goodscode
  13160. - goodsid
  13161. - goodsname
  13162. - marketid
  13163. - trademode
  13164. type: object
  13165. models.Systemparam:
  13166. properties:
  13167. loginid:
  13168. description: 更新用户账号,登录账号
  13169. type: string
  13170. modifyflag:
  13171. description: 修改标志0 不允许修改 1 允许修改
  13172. type: integer
  13173. paramcode:
  13174. description: 参数代码
  13175. type: string
  13176. paramname:
  13177. description: 参数名
  13178. type: string
  13179. paramtype:
  13180. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13181. type: integer
  13182. paramvalue:
  13183. description: 参数值
  13184. type: string
  13185. paramvalue2:
  13186. description: 参数值(CLOB)
  13187. type: string
  13188. regexpress:
  13189. description: 正则表达式
  13190. type: string
  13191. remark:
  13192. description: 备注
  13193. type: string
  13194. serverip:
  13195. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13196. type: string
  13197. showflag:
  13198. description: 是否显示0 不显示 1 显示
  13199. type: integer
  13200. updatetime:
  13201. description: 更新时间
  13202. type: string
  13203. userid:
  13204. description: 更新用户ID
  13205. type: integer
  13206. required:
  13207. - paramcode
  13208. type: object
  13209. models.Szdz3convertconfig:
  13210. properties:
  13211. canin:
  13212. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13213. type: integer
  13214. canout:
  13215. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13216. type: integer
  13217. converttype:
  13218. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  13219. type: integer
  13220. createtime:
  13221. description: 创建时间
  13222. type: string
  13223. creatorid:
  13224. description: 创建人
  13225. type: integer
  13226. daymaxvalue:
  13227. description: 当日最大转入限制
  13228. type: number
  13229. freezedays:
  13230. description: 冻结天数 [5:花生米转交易]
  13231. type: integer
  13232. innergoodsid:
  13233. description: 内部商品ID[交易]
  13234. type: integer
  13235. inratio:
  13236. description: 目标值
  13237. type: integer
  13238. modifierid:
  13239. description: 修改人
  13240. type: integer
  13241. modifytime:
  13242. description: 修改时间
  13243. type: string
  13244. outergoodscode:
  13245. description: 外部商品代码[JD\PD]
  13246. type: string
  13247. outratio:
  13248. description: 源值
  13249. type: integer
  13250. pddecimalplace:
  13251. description: PD小数位
  13252. type: integer
  13253. timemaxvalue:
  13254. description: 单次最大转入限制
  13255. type: number
  13256. timeminvalue:
  13257. description: 单次最小转入限制
  13258. type: number
  13259. required:
  13260. - converttype
  13261. - innergoodsid
  13262. - outergoodscode
  13263. type: object
  13264. models.Szdz3searchwhitelist:
  13265. properties:
  13266. createtime:
  13267. description: 创建时间
  13268. type: string
  13269. creatorid:
  13270. description: 创建人
  13271. type: integer
  13272. modifierid:
  13273. description: 修改人
  13274. type: integer
  13275. modifytime:
  13276. description: 修改时间
  13277. type: string
  13278. userid:
  13279. description: 用户ID
  13280. type: integer
  13281. required:
  13282. - userid
  13283. type: object
  13284. models.TBGoods:
  13285. properties:
  13286. agreeunit:
  13287. description: 合约乘数
  13288. type: number
  13289. enumdicname:
  13290. description: 单位名称
  13291. type: string
  13292. goodscode:
  13293. description: 商品代码(内部)
  13294. type: string
  13295. goodsid:
  13296. description: 商品ID(自增ID SEQ_GOODS)
  13297. type: integer
  13298. goodsname:
  13299. description: 商品名称
  13300. type: string
  13301. type: object
  13302. models.TBGoodsGroup:
  13303. properties:
  13304. convertratio:
  13305. description: 折算系数
  13306. type: number
  13307. enumdicname:
  13308. description: 单位名称
  13309. type: string
  13310. exexchangecode:
  13311. description: 交易所代码
  13312. type: string
  13313. exexchangename:
  13314. description: 交易所名称
  13315. type: string
  13316. gdlst:
  13317. description: 商品列表
  13318. items:
  13319. $ref: '#/definitions/models.TBGoods'
  13320. type: array
  13321. goodsgroupid:
  13322. description: 商品组ID(自增ID)
  13323. type: integer
  13324. goodsgroupname:
  13325. description: 商品组名称
  13326. type: string
  13327. goodunitid:
  13328. description: 报价单位ID
  13329. type: integer
  13330. type: object
  13331. models.TBMiddleGoods:
  13332. properties:
  13333. areauserid:
  13334. description: 机构用户ID
  13335. type: integer
  13336. enumdicname:
  13337. description: 单位名称
  13338. type: string
  13339. gplst:
  13340. description: 期货品种列表
  13341. items:
  13342. $ref: '#/definitions/models.TBGoodsGroup'
  13343. type: array
  13344. middlegoodscode:
  13345. description: 套保品种代码
  13346. type: string
  13347. middlegoodsid:
  13348. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13349. type: integer
  13350. middlegoodsname:
  13351. description: 套保品种名称
  13352. type: string
  13353. needarbitrageratio:
  13354. description: 套利比率
  13355. type: number
  13356. needhedgeratio:
  13357. description: 套保比率
  13358. type: number
  13359. wdlst:
  13360. description: 商品信息列表(现货品类)
  13361. items:
  13362. $ref: '#/definitions/models.TBWrstandard'
  13363. type: array
  13364. type: object
  13365. models.TBWrstandard:
  13366. properties:
  13367. convertratio:
  13368. description: 折算系数
  13369. type: number
  13370. deliverygoodsname:
  13371. description: 品种名称
  13372. type: string
  13373. enumdicname:
  13374. description: 单位名称
  13375. type: string
  13376. vatrate:
  13377. description: 增值税率
  13378. type: number
  13379. wrstandardcode:
  13380. description: 现货商品代码
  13381. type: string
  13382. wrstandardid:
  13383. description: 现货商品ID(SEQ_WRSTANDARD)
  13384. type: integer
  13385. wrstandardname:
  13386. description: 现货商品名称
  13387. type: string
  13388. type: object
  13389. models.Taaccount:
  13390. properties:
  13391. accountflag:
  13392. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13393. type: integer
  13394. accountid:
  13395. description: 资金账户ID
  13396. type: integer
  13397. accountname:
  13398. description: 账户名称
  13399. type: string
  13400. balance:
  13401. description: 期初余额
  13402. type: number
  13403. capitalbalance:
  13404. description: 本金余额[外部子账户实际出入金余额]
  13405. type: number
  13406. changeflag:
  13407. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13408. type: integer
  13409. changetime:
  13410. description: 账户状态变更时间
  13411. type: string
  13412. closepl:
  13413. description: 今日平仓盈亏
  13414. type: number
  13415. creditdecrease:
  13416. description: 今日授信减少
  13417. type: number
  13418. creditincrease:
  13419. description: 今日授信增加
  13420. type: number
  13421. curamount:
  13422. description: 总市值(从持仓中统计)
  13423. type: number
  13424. currencyid:
  13425. description: 货币ID
  13426. type: integer
  13427. currentbalance:
  13428. description: 期末余额
  13429. type: number
  13430. freezecharge:
  13431. description: 手续费冻结
  13432. type: number
  13433. freezemargin:
  13434. description: 冻结保证金
  13435. type: number
  13436. fromaccountid:
  13437. description: 所属上级账户
  13438. type: integer
  13439. inamount:
  13440. description: 今日入金金额(包括三方入金)
  13441. type: number
  13442. ismain:
  13443. description: 是否母账号 0:不是母账户 1:是母账户
  13444. type: integer
  13445. ismarketaccount:
  13446. description: 是否机构接单账号 0:不是 1:是
  13447. type: integer
  13448. isreckonaccount:
  13449. description: 是否机构分润账号 0:不是 1:是
  13450. type: integer
  13451. mortgagecredit:
  13452. description: 授信金额
  13453. type: number
  13454. orifreezecharge:
  13455. description: 期初手续费冻结
  13456. type: number
  13457. orifreezemargin:
  13458. description: 期初冻结保证金
  13459. type: number
  13460. orimortgagecredit:
  13461. description: 期初授信金额
  13462. type: number
  13463. oriothercredit:
  13464. description: 期初其它授信金额
  13465. type: number
  13466. oriotherfreezemargin:
  13467. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13468. type: number
  13469. orioutamountfreeze:
  13470. description: 期初出金冻结
  13471. type: number
  13472. oriusedmargin:
  13473. description: 期初占用保证金
  13474. type: number
  13475. othercredit:
  13476. description: 其它授信金额
  13477. type: number
  13478. othercreditdecrease:
  13479. description: 今日其它授信减少
  13480. type: number
  13481. othercreditincrease:
  13482. description: 今日其它授信增加
  13483. type: number
  13484. otherfreezemargin:
  13485. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13486. type: number
  13487. otherincome:
  13488. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13489. type: number
  13490. otherpay:
  13491. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13492. type: number
  13493. outamount:
  13494. description: 今日出金金额(包括三方出金)
  13495. type: number
  13496. outamountfreeze:
  13497. description: 出金冻结
  13498. type: number
  13499. outthreshold:
  13500. description: 出金阈值
  13501. type: number
  13502. parentaccountid:
  13503. description: 所属根账号
  13504. type: integer
  13505. paycharge:
  13506. description: 今日手续费支出
  13507. type: number
  13508. relatedaccountstatus:
  13509. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13510. type: integer
  13511. relateduserid:
  13512. description: 关联用户
  13513. type: integer
  13514. remainamount:
  13515. description: 融资额(从融资合同中统计)
  13516. type: number
  13517. serivcegroup:
  13518. description: 服务分组
  13519. type: integer
  13520. signstatus:
  13521. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13522. type: integer
  13523. sublevelpath:
  13524. description: 账号层级路径(逗号分隔,首尾加逗号)
  13525. type: string
  13526. taaccounttype:
  13527. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13528. type: integer
  13529. thirdinamount:
  13530. description: 今日三方入金
  13531. type: number
  13532. thirdoutamount:
  13533. description: 今日三方出金
  13534. type: number
  13535. tradestatus:
  13536. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13537. type: integer
  13538. tradestatuschangetime:
  13539. description: 激活时间
  13540. type: string
  13541. transferamount:
  13542. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13543. type: number
  13544. usedmargin:
  13545. description: 占用保证金
  13546. type: number
  13547. userid:
  13548. description: 用户ID
  13549. type: integer
  13550. required:
  13551. - accountid
  13552. - userid
  13553. type: object
  13554. models.Tablecolumnconfig:
  13555. properties:
  13556. aligntype:
  13557. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13558. type: integer
  13559. autoid:
  13560. description: AutoID
  13561. type: integer
  13562. columnfield:
  13563. description: 列字段
  13564. type: string
  13565. columntitle:
  13566. description: 列Title
  13567. type: string
  13568. columnwidth:
  13569. description: 列宽
  13570. type: string
  13571. formatterstring:
  13572. description: 格式化字符
  13573. type: string
  13574. formattertype:
  13575. description: 格式化类型
  13576. type: string
  13577. groupname:
  13578. description: 表头分组名称
  13579. type: string
  13580. isshow:
  13581. description: 是否显示 - 0:不显示 1:显示
  13582. type: integer
  13583. needsummary:
  13584. description: 是否需要汇总 - 0:不需要 1:需要
  13585. type: integer
  13586. orderindex:
  13587. description: 顺序
  13588. type: integer
  13589. remark:
  13590. description: 备注
  13591. type: string
  13592. summarytype:
  13593. description: 汇总类型 - 1:加总 2:最后一个
  13594. type: integer
  13595. tablekey:
  13596. description: 列表Key
  13597. type: string
  13598. required:
  13599. - autoid
  13600. type: object
  13601. models.TjmdQuoteGoods:
  13602. properties:
  13603. buyqty:
  13604. description: 买量(暂不做, 无值, 保留字段)
  13605. type: number
  13606. goodscode:
  13607. description: 合约代码
  13608. type: string
  13609. goodsgroupid:
  13610. description: 商品组ID(自增ID)
  13611. type: integer
  13612. goodsgroupname:
  13613. description: 商品组名称
  13614. type: string
  13615. goodsid:
  13616. description: 合约id
  13617. type: integer
  13618. goodsname:
  13619. description: 合约名称
  13620. type: string
  13621. refgoodscode:
  13622. description: 标的合约代码
  13623. type: string
  13624. refgoodsid:
  13625. description: 标的合约id
  13626. type: integer
  13627. refgoodsname:
  13628. description: 标的合约名称
  13629. type: string
  13630. sellqty:
  13631. description: 卖量(暂不做, 无值, 保留字段)
  13632. type: number
  13633. type: object
  13634. models.TjmdTodayAccountMargin:
  13635. properties:
  13636. accountid:
  13637. description: 账号ID
  13638. type: integer
  13639. goodsid:
  13640. description: 商品ID
  13641. type: integer
  13642. infoc:
  13643. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13644. description: 配置参数
  13645. marketid:
  13646. description: 市场ID
  13647. type: integer
  13648. type: object
  13649. models.TjmdTradeOrderDetail:
  13650. properties:
  13651. buyorsell:
  13652. description: 买卖方向 0-买 1-卖
  13653. type: integer
  13654. goodsid:
  13655. description: 商品id
  13656. type: integer
  13657. marketmaxsub:
  13658. description: 市价最大偏移范围 [浮动价 - 点差]
  13659. type: number
  13660. orderid:
  13661. description: 委托单号
  13662. type: string
  13663. orderprice:
  13664. description: 委托价格
  13665. type: number
  13666. orderqty:
  13667. description: 委托数量
  13668. type: integer
  13669. pricemode:
  13670. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13671. type: integer
  13672. userid:
  13673. description: 用户id
  13674. type: integer
  13675. username:
  13676. description: 用户名称(已脱敏)
  13677. type: string
  13678. type: object
  13679. models.TjmdTransferApply:
  13680. properties:
  13681. applyid:
  13682. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13683. type: integer
  13684. applystatus:
  13685. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  13686. type: integer
  13687. applytime:
  13688. description: 申请时间(时间)
  13689. type: string
  13690. auditremark:
  13691. description: 审核备注(拒绝原因?)
  13692. type: string
  13693. buyorsell:
  13694. description: 买卖 - 0:买 1:卖
  13695. type: integer
  13696. goodscode:
  13697. description: 商品代码
  13698. type: string
  13699. goodsid:
  13700. description: 商品ID
  13701. type: integer
  13702. goodsname:
  13703. description: 商品名称
  13704. type: string
  13705. marketid:
  13706. description: 市场ID
  13707. type: integer
  13708. qty:
  13709. description: 转让数量(数量)
  13710. type: number
  13711. tradeid:
  13712. description: 成交单号(关联持仓)
  13713. type: string
  13714. transferamount:
  13715. description: 转让总金额(金额)
  13716. type: number
  13717. transferprice:
  13718. description: 转让价格(协议价格)
  13719. type: number
  13720. type: object
  13721. models.TradeHolderDetail:
  13722. properties:
  13723. accountid:
  13724. description: 账号ID
  13725. type: integer
  13726. agreeunit:
  13727. description: 合约乘数
  13728. type: number
  13729. buyorsell:
  13730. description: 方向 - 0:买 1:卖
  13731. type: integer
  13732. currencyid:
  13733. description: 商品币种id
  13734. type: integer
  13735. currencyname:
  13736. description: 币种名称
  13737. type: string
  13738. decimalplace:
  13739. description: 商品价格小数位
  13740. type: integer
  13741. enumdicname:
  13742. description: 商品单位名称
  13743. type: string
  13744. expirecycle:
  13745. description: 行权周期(天) - 1:滚动行权时填写
  13746. type: integer
  13747. expiredate:
  13748. description: 行权日(yyyyMMdd) - 到期日
  13749. type: string
  13750. expiretype:
  13751. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13752. type: integer
  13753. freezeqty:
  13754. description: 冻结数量
  13755. type: number
  13756. goodscode:
  13757. description: 商品代码
  13758. type: string
  13759. goodsid:
  13760. description: 商品ID
  13761. type: integer
  13762. goodsname:
  13763. description: 商品名称
  13764. type: string
  13765. goodunitid:
  13766. description: 商品单位id
  13767. type: integer
  13768. holderamount:
  13769. description: 持仓金额
  13770. type: number
  13771. holdercredit:
  13772. description: 持仓授信金额
  13773. type: number
  13774. holderdays:
  13775. description: 剩余冻结天数
  13776. type: integer
  13777. holderprice:
  13778. description: 持仓价格
  13779. type: number
  13780. holderqty:
  13781. description: 持仓数量
  13782. type: number
  13783. isconfirmexercise:
  13784. description: 是否确认行权- 0:否 1:是
  13785. type: integer
  13786. ispreexercise:
  13787. description: 是否预申报- 0:否 1:是 2:不可行权
  13788. type: integer
  13789. marketid:
  13790. description: 市场id
  13791. type: integer
  13792. marketname:
  13793. description: 市场名称
  13794. type: string
  13795. openprice:
  13796. description: 建仓价格
  13797. type: number
  13798. openqty:
  13799. description: 建仓数量
  13800. type: number
  13801. optiontype:
  13802. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13803. type: integer
  13804. preexerciseprice:
  13805. description: 预申报价格
  13806. type: number
  13807. premium:
  13808. description: 权利金
  13809. type: number
  13810. qtydecimalplace:
  13811. description: 商品成交量小数位
  13812. type: integer
  13813. refgoodscode:
  13814. description: 标的合约代码
  13815. type: string
  13816. refgoodsid:
  13817. description: 标的合约id
  13818. type: integer
  13819. releaseamount:
  13820. description: 释放持仓金额
  13821. type: number
  13822. releaseholdercredit:
  13823. description: 释放持仓授信金额
  13824. type: number
  13825. taname:
  13826. description: 资金账号名称
  13827. type: string
  13828. tradeamount:
  13829. description: 成交金额
  13830. type: number
  13831. tradedate:
  13832. description: 交易日(yyyyMMdd)
  13833. type: string
  13834. tradeid:
  13835. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13836. type: string
  13837. trademode:
  13838. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期
  13839. type: integer
  13840. tradeproperty:
  13841. description: 交易属性
  13842. type: integer
  13843. tradetime:
  13844. description: 交易时间
  13845. type: string
  13846. userid:
  13847. description: 用户id
  13848. type: integer
  13849. username:
  13850. description: 用户名称
  13851. type: string
  13852. type: object
  13853. models.UserCollectConfig:
  13854. properties:
  13855. accountstatus:
  13856. description: 账户状态 - 1:正常 2:停用 3:注销
  13857. type: integer
  13858. collectaccountname:
  13859. description: 收款人账户名称
  13860. type: string
  13861. collectaccountno:
  13862. description: 收款人账户
  13863. type: string
  13864. collectbankname:
  13865. description: 收款人开户行
  13866. type: string
  13867. collectbranchbankname:
  13868. description: 收款人开户支行
  13869. type: string
  13870. collectconfigid:
  13871. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  13872. type: string
  13873. remark:
  13874. description: 备注
  13875. type: string
  13876. userid:
  13877. description: 收款人用户ID
  13878. type: integer
  13879. type: object
  13880. models.UserReceiveInfo:
  13881. properties:
  13882. address:
  13883. description: 提货人详细地址
  13884. type: string
  13885. autoid:
  13886. description: AutoID
  13887. type: integer
  13888. cardnum:
  13889. description: 证件号码(加密存储)
  13890. type: string
  13891. cardtypeid:
  13892. description: 证件类型
  13893. type: integer
  13894. cityid:
  13895. description: 市
  13896. type: integer
  13897. cityname:
  13898. description: 城市名称
  13899. type: string
  13900. countryid:
  13901. description: 国家
  13902. type: integer
  13903. countryname:
  13904. description: 国家名称
  13905. type: string
  13906. districtid:
  13907. description: 地区
  13908. type: integer
  13909. districtname:
  13910. description: 地区名称
  13911. type: string
  13912. hasencrypt:
  13913. description: 数据是否已加密 - 0:未加密 1:已加密
  13914. type: integer
  13915. isdefault:
  13916. description: 是否默认地址 - 0:否 1:是
  13917. type: integer
  13918. phonenum:
  13919. description: 提货人联系方式(加密存储)
  13920. type: string
  13921. provinceid:
  13922. description: 省
  13923. type: integer
  13924. provincename:
  13925. description: 省名称
  13926. type: string
  13927. receivername:
  13928. description: 提货人姓名
  13929. type: string
  13930. takeremark:
  13931. description: 提货备注
  13932. type: string
  13933. userid:
  13934. description: 用户ID
  13935. type: integer
  13936. type: object
  13937. models.Useraccount:
  13938. properties:
  13939. accountname:
  13940. description: 账户名称(机构名称)
  13941. type: string
  13942. accountstatus:
  13943. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13944. type: integer
  13945. applysrc:
  13946. description: 申请来源 - 1:管理端 2:终端
  13947. type: integer
  13948. auditremark:
  13949. description: 审核备注
  13950. type: string
  13951. auditsrc:
  13952. description: 审核来源 - 1:管理端 2:终端
  13953. type: integer
  13954. audittime:
  13955. description: 审核时间
  13956. type: string
  13957. audituserid:
  13958. description: 审核人
  13959. type: integer
  13960. broker:
  13961. description: 所属经纪人ID
  13962. type: integer
  13963. canceltime:
  13964. description: 销户时间
  13965. type: string
  13966. canceluserid:
  13967. description: 销户人
  13968. type: integer
  13969. canrecommend:
  13970. description: 是否可推荐 - 0:不可 1;可
  13971. type: integer
  13972. createtime:
  13973. description: 创建时间
  13974. type: string
  13975. creatorid:
  13976. description: 创建人
  13977. type: integer
  13978. hasauth:
  13979. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  13980. type: integer
  13981. isanonymous:
  13982. description: 是否匿名下单 - 0:否 1:是
  13983. type: integer
  13984. maxinvestornum:
  13985. description: 最大用户数(经纪会员下投资者个数)
  13986. type: integer
  13987. memberuserid:
  13988. description: 所属会员ID
  13989. type: integer
  13990. modifierid:
  13991. description: 修改人
  13992. type: integer
  13993. modifyremark:
  13994. description: 变更备注
  13995. type: string
  13996. modifystatus:
  13997. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  13998. type: integer
  13999. modifytime:
  14000. description: 修改时间
  14001. type: string
  14002. parenttopuser:
  14003. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14004. type: string
  14005. parentuserid:
  14006. description: 所属机构ID
  14007. type: integer
  14008. reckonaccountid:
  14009. description: 默认结算资金账号ID(机构分润使用) 作废
  14010. type: integer
  14011. refercount:
  14012. description: 推荐总人数
  14013. type: integer
  14014. refereeuserid:
  14015. description: 推荐人ID
  14016. type: integer
  14017. refernum:
  14018. description: 推荐码
  14019. type: string
  14020. rootuserid:
  14021. description: 根用户ID
  14022. type: integer
  14023. subaccountlevel:
  14024. description: 子账户层数
  14025. type: integer
  14026. subarealevelpath:
  14027. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14028. type: string
  14029. userid:
  14030. description: 用户ID
  14031. type: integer
  14032. usertype:
  14033. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14034. type: integer
  14035. required:
  14036. - userid
  14037. type: object
  14038. models.Userfavoritegoods:
  14039. properties:
  14040. goodsid:
  14041. description: 商品ID
  14042. type: integer
  14043. required:
  14044. - goodsid
  14045. type: object
  14046. models.Userinfo:
  14047. properties:
  14048. address:
  14049. description: 地址
  14050. type: string
  14051. attachment1:
  14052. description: 附件1
  14053. type: string
  14054. attachment2:
  14055. description: 附件2
  14056. type: string
  14057. bankaccount:
  14058. description: 银行帐号 (加密存储)
  14059. type: string
  14060. bankaccountname:
  14061. description: 收款人名称
  14062. type: string
  14063. bankcardfrontphotourl:
  14064. description: 银行卡正面照地址
  14065. type: string
  14066. bankid:
  14067. description: 银行编码
  14068. type: string
  14069. bankname:
  14070. description: 银行名称
  14071. type: string
  14072. biznature:
  14073. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14074. type: integer
  14075. bizscope:
  14076. description: 企业经营范围(企业)
  14077. type: string
  14078. cardbackphotourl:
  14079. description: 证件背面图片地址
  14080. type: string
  14081. cardfrontphotourl:
  14082. description: 证件正面图片地址
  14083. type: string
  14084. cardnum:
  14085. description: 证件号码(加密存储)
  14086. type: string
  14087. cardtypeid:
  14088. description: 证件类型ID
  14089. type: integer
  14090. cityid:
  14091. description: 市
  14092. type: integer
  14093. company:
  14094. description: 公司(个人)
  14095. type: string
  14096. contactname:
  14097. description: 联系人
  14098. type: string
  14099. countryid:
  14100. description: 国家
  14101. type: integer
  14102. createtime:
  14103. description: 创建时间
  14104. type: string
  14105. creatorid:
  14106. description: 创建人
  14107. type: integer
  14108. customername:
  14109. description: 客户名称(企业名称)
  14110. type: string
  14111. districtid:
  14112. description: 地区
  14113. type: integer
  14114. email:
  14115. description: 邮件(加密存储)
  14116. type: string
  14117. fax:
  14118. description: 传真(加密存储)
  14119. type: string
  14120. halfbodyphotourl:
  14121. description: 半身照地址
  14122. type: string
  14123. hasencrypt:
  14124. description: 数据是否已加密 - 0:未加密 1:已加密
  14125. type: integer
  14126. headurl:
  14127. description: 头像地址
  14128. type: string
  14129. legalcardbackphotourl:
  14130. description: 法人身份证背面照地址
  14131. type: string
  14132. legalcardfrontphotourl:
  14133. description: 法人身份证正面照地址
  14134. type: string
  14135. legalpersonname:
  14136. description: 法人姓名(企业)
  14137. type: string
  14138. mobile:
  14139. description: 手机号码(加密存储)
  14140. type: string
  14141. mobile2:
  14142. description: 手机号码[明文-尚志]
  14143. type: string
  14144. modifierid:
  14145. description: 修改人
  14146. type: integer
  14147. modifiertime:
  14148. description: 修改时间
  14149. type: string
  14150. needinvoice:
  14151. description: 是否需要发票 - 0:不需要 1:需要
  14152. type: integer
  14153. nickname:
  14154. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14155. type: string
  14156. openmode:
  14157. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14158. type: integer
  14159. otherurl:
  14160. description: 其它图片地址[使用分号分隔]
  14161. type: string
  14162. postalcode:
  14163. description: 邮政编码
  14164. type: string
  14165. provinceid:
  14166. description: 省
  14167. type: integer
  14168. qq:
  14169. description: QQ(加密存储
  14170. type: string
  14171. remark:
  14172. description: 备注
  14173. type: string
  14174. sex:
  14175. description: '用户性别 0: 女 1: 男'
  14176. type: integer
  14177. signpdfurl:
  14178. description: 签约pdf文件
  14179. type: string
  14180. telphone:
  14181. description: 联系电话(加密存储)
  14182. type: string
  14183. userid:
  14184. description: 用户ID
  14185. type: integer
  14186. userinfotype:
  14187. description: 用户信息类型 - 1:个人 2:企业
  14188. type: integer
  14189. userstatus:
  14190. description: 用户状态 - 1:正常 2:注销
  14191. type: integer
  14192. usertype:
  14193. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14194. type: integer
  14195. wechat:
  14196. description: 微信(加密存储)
  14197. type: string
  14198. wskhinfo:
  14199. description: 开户申请信息(JSON)
  14200. type: string
  14201. required:
  14202. - userid
  14203. type: object
  14204. models.WRSConverTDetail:
  14205. properties:
  14206. convertratio:
  14207. description: 套保系数
  14208. type: number
  14209. deliverygoodscode:
  14210. description: 现货商品代码
  14211. type: string
  14212. deliverygoodsid:
  14213. description: 现货品种ID
  14214. type: integer
  14215. deliverygoodsname:
  14216. description: 现货商品名称
  14217. type: string
  14218. enumdicname:
  14219. description: 单位名称
  14220. type: string
  14221. goodsunitid:
  14222. description: 套保品种单位id
  14223. type: integer
  14224. middlegoodscode:
  14225. description: 套保品种代码
  14226. type: string
  14227. middlegoodsid:
  14228. description: 套保品种ID
  14229. type: integer
  14230. middlegoodsname:
  14231. description: 套保品种名称
  14232. type: string
  14233. modifytime:
  14234. description: 修改时间
  14235. type: string
  14236. wrstandardid:
  14237. description: 品类ID
  14238. type: integer
  14239. type: object
  14240. models.WRStandardInfo:
  14241. properties:
  14242. areauserid:
  14243. description: 所属机构
  14244. type: integer
  14245. convertfactor:
  14246. description: 标仓系数
  14247. type: number
  14248. createtime:
  14249. description: 创建时间
  14250. type: string
  14251. creatorid:
  14252. description: 创建人
  14253. type: integer
  14254. deliverygoodsid:
  14255. description: 品种ID
  14256. type: integer
  14257. deliverygoodsname:
  14258. description: 交割商品名称
  14259. type: string
  14260. factoryitemjson:
  14261. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID, 逗号分隔'
  14262. type: string
  14263. isvalid:
  14264. description: 是否有效 - 0:无效 1:有效
  14265. type: integer
  14266. minivalue:
  14267. description: 最小变动值
  14268. type: integer
  14269. minivaluedp:
  14270. description: 最小变动值小数位
  14271. type: integer
  14272. realminivalue:
  14273. description: 实际最小变动值
  14274. type: integer
  14275. realminivaluedp:
  14276. description: 实际最小变动值小数位
  14277. type: integer
  14278. remark:
  14279. description: 备注
  14280. type: string
  14281. unitid:
  14282. description: 单位ID
  14283. type: integer
  14284. unitname:
  14285. description: 单位
  14286. type: string
  14287. updatetime:
  14288. description: 更新时间
  14289. type: string
  14290. updatorid:
  14291. description: 更新人
  14292. type: integer
  14293. wrsstatus:
  14294. description: 状态 - 作废 - 0:未激活 1:正常
  14295. type: integer
  14296. wrstandardcode:
  14297. description: 现货品类代码
  14298. type: string
  14299. wrstandardid:
  14300. description: 现货品类ID(SEQ_WRSTANDARD)
  14301. type: integer
  14302. wrstandardname:
  14303. description: 现货品类名称
  14304. type: string
  14305. required:
  14306. - wrstandardid
  14307. type: object
  14308. models.WRTradeBargainApply:
  14309. properties:
  14310. accountid:
  14311. description: 摘牌资金账号
  14312. type: integer
  14313. applyprice:
  14314. description: 申请价格(议价价格)
  14315. type: string
  14316. applyqty:
  14317. description: 摘牌数量(议价数量)
  14318. type: number
  14319. applyremark:
  14320. description: 申请备注
  14321. type: string
  14322. applystatus:
  14323. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14324. type: integer
  14325. applytime:
  14326. description: 申请时间(议价时间)
  14327. type: string
  14328. buyorsell:
  14329. description: 买卖(挂牌类型) - 0:买 1:卖
  14330. type: integer
  14331. confirmremark:
  14332. description: 确认备注
  14333. type: string
  14334. confirmtime:
  14335. description: 确认时间
  14336. type: string
  14337. confirmuserid:
  14338. description: 确认人
  14339. type: integer
  14340. deliverygoodscode:
  14341. description: 品种代码
  14342. type: string
  14343. deliverygoodsid:
  14344. description: 品种ID
  14345. type: integer
  14346. deliverygoodsname:
  14347. description: 品种名称
  14348. type: string
  14349. deliverymonth:
  14350. description: 交收月
  14351. type: string
  14352. enumdicname:
  14353. description: 单位名称
  14354. type: string
  14355. fixedprice:
  14356. description: 挂牌价格
  14357. type: number
  14358. handlestatus:
  14359. description: 处理状态
  14360. type: integer
  14361. marginvalue:
  14362. description: 履约保证金比例
  14363. type: number
  14364. marketid:
  14365. description: 市场ID
  14366. type: integer
  14367. matchaccountid:
  14368. description: 挂牌方资金账号
  14369. type: integer
  14370. matchuserid:
  14371. description: 挂牌方用户id
  14372. type: integer
  14373. matchusername:
  14374. description: 挂牌方用户名称(已脱敏)
  14375. type: string
  14376. minivalue:
  14377. description: 现货商品最小变动值
  14378. type: integer
  14379. optioncompare:
  14380. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14381. type: string
  14382. orderqty:
  14383. description: 挂牌数量
  14384. type: integer
  14385. refprice:
  14386. description: 参考价格
  14387. type: string
  14388. retcode:
  14389. description: 委托返回代码
  14390. type: integer
  14391. templatename:
  14392. description: 履约方式(履约模板名称)
  14393. type: string
  14394. tradedate:
  14395. description: 交易日(yyyyMMdd)
  14396. type: string
  14397. userid:
  14398. description: 摘牌人用户ID(议价人ID)
  14399. type: integer
  14400. username:
  14401. description: 议价人名字(已脱敏)
  14402. type: string
  14403. validtime:
  14404. description: 有效期限
  14405. type: string
  14406. warehouseid:
  14407. description: 仓库ID
  14408. type: integer
  14409. warehousename:
  14410. description: 仓库名称
  14411. type: string
  14412. wrbargainid:
  14413. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14414. type: string
  14415. wrfactortypeid:
  14416. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14417. type: string
  14418. wrfactortypename:
  14419. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14420. type: string
  14421. wrstandardcode:
  14422. description: 现货商品代码
  14423. type: string
  14424. wrstandardid:
  14425. description: 现货商品ID
  14426. type: integer
  14427. wrstandardname:
  14428. description: 商品名称
  14429. type: string
  14430. wrtradeorderid:
  14431. description: 关联委托单ID
  14432. type: string
  14433. wrtypename:
  14434. description: 商品
  14435. type: string
  14436. type: object
  14437. models.Warehouseinfo:
  14438. properties:
  14439. address:
  14440. description: 详细地址
  14441. type: string
  14442. areauserid:
  14443. description: 所属机构
  14444. type: integer
  14445. autoid:
  14446. description: 自增ID
  14447. type: integer
  14448. cityid:
  14449. description: 市
  14450. type: integer
  14451. contactname:
  14452. description: 联系人
  14453. type: string
  14454. contactnum:
  14455. description: 联系电话
  14456. type: string
  14457. countryid:
  14458. description: 国家
  14459. type: integer
  14460. createtime:
  14461. description: 创建时间
  14462. type: string
  14463. districtid:
  14464. description: 区
  14465. type: integer
  14466. hasvideo:
  14467. description: 是否有视频 - 0:无 1:有
  14468. type: integer
  14469. provinceid:
  14470. description: 省
  14471. type: integer
  14472. remark:
  14473. description: 审核备注
  14474. type: string
  14475. videourl:
  14476. description: 视频地址
  14477. type: string
  14478. warehousecode:
  14479. description: 仓库代码
  14480. type: string
  14481. warehousename:
  14482. description: 仓库名称
  14483. type: string
  14484. warehousestatus:
  14485. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14486. type: integer
  14487. warehousetype:
  14488. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14489. type: integer
  14490. required:
  14491. - autoid
  14492. - warehousecode
  14493. type: object
  14494. models.WrAverageTradePrice:
  14495. properties:
  14496. averageprice:
  14497. description: 成交均价
  14498. type: number
  14499. tradedate:
  14500. description: 交易日yyyymm
  14501. type: string
  14502. type: object
  14503. models.WrBsGoodsInfo:
  14504. properties:
  14505. buyorsell:
  14506. description: 买卖方向 0-买 1-卖
  14507. type: integer
  14508. goodsid:
  14509. description: 交易合约ID
  14510. type: integer
  14511. lstitem:
  14512. description: 商品信息项
  14513. items:
  14514. $ref: '#/definitions/models.WrTypeItem'
  14515. type: array
  14516. lststep:
  14517. description: 履约规则
  14518. items:
  14519. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14520. type: array
  14521. type: object
  14522. models.WrBuybackDetail:
  14523. properties:
  14524. buybackamount:
  14525. description: 回购金额
  14526. type: number
  14527. buybackqty:
  14528. description: 回购数量
  14529. type: number
  14530. buybackreleasemargin:
  14531. description: 回购释放保证金
  14532. type: number
  14533. buybacktime:
  14534. description: 回购时间
  14535. type: string
  14536. errordesc:
  14537. description: 错误描述
  14538. type: string
  14539. handlestatus:
  14540. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14541. type: integer
  14542. relatedwrid:
  14543. description: 关联仓单ID
  14544. type: integer
  14545. scfcontractid:
  14546. description: SCF合同ID
  14547. type: string
  14548. scfwrbuybackid:
  14549. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14550. type: integer
  14551. tradedate:
  14552. description: 交易日(yyyyMMdd)
  14553. type: string
  14554. type: object
  14555. models.WrDeliveryAvalidHoldLB:
  14556. properties:
  14557. accountid:
  14558. description: 资金账号
  14559. type: integer
  14560. avalidqty:
  14561. description: 数量(可点选数量)
  14562. type: number
  14563. deliverygoodsid:
  14564. description: 品种id
  14565. type: integer
  14566. enumdicname:
  14567. description: 单位名称
  14568. type: string
  14569. goodsid:
  14570. description: x合约商品id
  14571. type: integer
  14572. ladingbillid:
  14573. description: 提单id
  14574. type: string
  14575. pgoodscode:
  14576. description: p商品代码(点价合约)
  14577. type: string
  14578. pgoodsid:
  14579. description: p商品id(点价合约)
  14580. type: integer
  14581. pgoodsname:
  14582. description: p商品名称(点价合约)
  14583. type: string
  14584. pricemove:
  14585. description: 升贴水
  14586. type: number
  14587. subnum:
  14588. description: 提单子id
  14589. type: integer
  14590. userid:
  14591. description: 用户id
  14592. type: integer
  14593. username:
  14594. description: 仓单持有人
  14595. type: string
  14596. warehousecode:
  14597. description: 仓库代码
  14598. type: string
  14599. warehouseid:
  14600. description: 仓库id
  14601. type: integer
  14602. warehousename:
  14603. description: 仓库名称
  14604. type: string
  14605. wrfactortypeid:
  14606. description: 仓单要素id
  14607. type: string
  14608. wrstandardcode:
  14609. description: 品代码
  14610. type: string
  14611. wrstandardid:
  14612. description: 品类d
  14613. type: integer
  14614. wrstandardname:
  14615. description: 品类名称
  14616. type: string
  14617. wrtypename:
  14618. description: 商品
  14619. type: string
  14620. xgoodscode:
  14621. description: x合约代码
  14622. type: string
  14623. xgoodsname:
  14624. description: x合约名称
  14625. type: string
  14626. type: object
  14627. models.WrDeliveryDetail:
  14628. properties:
  14629. accountid:
  14630. description: 账号ID
  14631. type: integer
  14632. averageprice:
  14633. description: 交割均价 = 交割金额 / 交割数量
  14634. type: number
  14635. buyorsell:
  14636. description: 方向 - 0:买 1:卖
  14637. type: integer
  14638. deliveryamount:
  14639. description: 货款金额(X总货款+P总货款)
  14640. type: number
  14641. deliveryid:
  14642. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14643. type: string
  14644. deliveryorderid:
  14645. description: 申报单号
  14646. type: string
  14647. deliverypricemove:
  14648. description: 升贴水(升贴水总额)
  14649. type: number
  14650. deliveryqty:
  14651. description: 交收数量(点选数量)
  14652. type: number
  14653. deliverystatus:
  14654. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14655. type: integer
  14656. deliverytime:
  14657. description: 交割时间
  14658. type: string
  14659. deliverytotalamount:
  14660. description: 交收金额
  14661. type: number
  14662. enumdicname:
  14663. description: 单位名称
  14664. type: string
  14665. matchaccountid:
  14666. description: 对手账号ID
  14667. type: integer
  14668. matchusername:
  14669. description: 对手方名称(仓单持有人)
  14670. type: string
  14671. p1goodsremainamount:
  14672. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  14673. type: number
  14674. pdeliverycloseqty:
  14675. description: p合约平仓数量
  14676. type: number
  14677. pdeliveryprice:
  14678. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  14679. type: number
  14680. pgoodscode:
  14681. description: 商品代码
  14682. type: string
  14683. pgoodsid:
  14684. description: p点选合约id
  14685. type: integer
  14686. pgoodsname:
  14687. description: 商品名称
  14688. type: string
  14689. ppricemode:
  14690. description: 点价价格方式 - 1:商品价 2:固定值
  14691. type: integer
  14692. tradedate:
  14693. description: 交易日(yyyymmdd)
  14694. type: string
  14695. userid:
  14696. description: 用户id
  14697. type: integer
  14698. username:
  14699. description: 用户名称
  14700. type: string
  14701. warehousename:
  14702. description: 仓库名称
  14703. type: string
  14704. wrfactortypeid:
  14705. description: 仓单要素类型ID
  14706. type: string
  14707. wrtypename:
  14708. description: 商品
  14709. type: string
  14710. xdeliverycloseqty:
  14711. description: 合约数量
  14712. type: number
  14713. xgoodsamount:
  14714. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  14715. type: number
  14716. xgoodscode:
  14717. description: 商品代码
  14718. type: string
  14719. xgoodsid:
  14720. description: x交易合约ID
  14721. type: integer
  14722. xgoodsname:
  14723. description: 商品名称
  14724. type: string
  14725. type: object
  14726. models.WrFAProductDetail:
  14727. properties:
  14728. accountid:
  14729. description: 资金账号
  14730. type: integer
  14731. areauserid:
  14732. description: 金融机构ID
  14733. type: integer
  14734. financingdays:
  14735. description: 天数(天)
  14736. type: integer
  14737. interestminlen:
  14738. description: 最小起息天数
  14739. type: integer
  14740. interestrate:
  14741. description: 利率
  14742. type: number
  14743. interestratemode:
  14744. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14745. type: integer
  14746. interestsettlemode:
  14747. description: 结息方式 - 1:按日结息 3:按月结息
  14748. type: integer
  14749. interestsettlevalue:
  14750. description: 结息方式值
  14751. type: integer
  14752. isautoloan:
  14753. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  14754. type: integer
  14755. loantag:
  14756. description: '放款标识: "放款快" 或者为空'
  14757. type: string
  14758. marginratio:
  14759. description: 保证金比率质押率 - [仓单质押]
  14760. type: number
  14761. productdetailid:
  14762. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  14763. type: integer
  14764. productid:
  14765. description: 金融产品ID
  14766. type: integer
  14767. productname:
  14768. description: 产品名称
  14769. type: string
  14770. updatetime:
  14771. description: 更新时间
  14772. type: string
  14773. username:
  14774. description: 融出方
  14775. type: string
  14776. type: object
  14777. models.WrFactorTypeInfo:
  14778. properties:
  14779. deliverygoodscode:
  14780. description: 品种代码
  14781. type: string
  14782. deliverygoodsname:
  14783. description: 品种名称
  14784. type: string
  14785. dgfactoryitemid:
  14786. description: 选择项id
  14787. type: integer
  14788. dgfactoryitemtypeid:
  14789. description: 要素选择项ID (1-仓库 2-品牌)
  14790. type: integer
  14791. dgfactoryitemvalue:
  14792. description: 要素项值
  14793. type: string
  14794. itemtypename:
  14795. description: 要素项名称
  14796. type: string
  14797. optioncompare:
  14798. description: 选择比较串
  14799. type: string
  14800. warehouseid:
  14801. description: 仓库id
  14802. type: integer
  14803. wrfactortypeid:
  14804. description: 仓单要素ID
  14805. type: string
  14806. wrfactortypename:
  14807. description: 要素名称
  14808. type: string
  14809. wrfactortypename2:
  14810. description: 要素名称(不含仓库)
  14811. type: string
  14812. wrstandardcode:
  14813. description: 品类代码
  14814. type: string
  14815. wrstandardid:
  14816. description: 品类id
  14817. type: integer
  14818. wrstandardname:
  14819. description: 品类名称
  14820. type: string
  14821. type: object
  14822. models.WrFilterItem:
  14823. properties:
  14824. itemcode:
  14825. description: 代码
  14826. type: string
  14827. itemid:
  14828. description: 项id
  14829. type: integer
  14830. itemname:
  14831. description: 名称
  14832. type: string
  14833. itemtype:
  14834. description: 类型 1-品种 2-品类(商品) 3-仓库
  14835. type: integer
  14836. type: object
  14837. models.WrFinanceBuyApply:
  14838. properties:
  14839. applydate:
  14840. description: 申请时间
  14841. type: string
  14842. applystatus:
  14843. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  14844. type: integer
  14845. applyuserid:
  14846. description: 申请人
  14847. type: integer
  14848. auditdate:
  14849. description: 审核时间
  14850. type: string
  14851. auditremark:
  14852. description: 审核备注
  14853. type: string
  14854. audituserid:
  14855. description: 审核人
  14856. type: integer
  14857. buyaccountid:
  14858. description: 买方资金账号
  14859. type: integer
  14860. buyorsell:
  14861. description: 买卖 - 0:买 1:卖
  14862. type: integer
  14863. buyuserid:
  14864. description: 买方用户ID
  14865. type: integer
  14866. buyusername:
  14867. description: 买方名称
  14868. type: string
  14869. buywrtradeorderid:
  14870. description: 融资方买委托单ID
  14871. type: string
  14872. deliverygoodscode:
  14873. description: 品种代码
  14874. type: string
  14875. deliverygoodsid:
  14876. description: 品种ID
  14877. type: integer
  14878. deliverygoodsname:
  14879. description: 品种名称
  14880. type: string
  14881. deliverymonth:
  14882. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  14883. type: string
  14884. enumdicname:
  14885. description: 单位名称
  14886. type: string
  14887. financeaccountid:
  14888. description: 融资方资金帐户ID
  14889. type: integer
  14890. financeapplyid:
  14891. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14892. type: string
  14893. financeareauserid:
  14894. description: 融资方用户ID
  14895. type: string
  14896. financename:
  14897. description: 融出方名称
  14898. type: string
  14899. financetype:
  14900. description: 融资类型 1-融资回购
  14901. type: integer
  14902. financingdays:
  14903. description: 天数(天)
  14904. type: integer
  14905. freezebuymargin:
  14906. description: 冻结融资保证金(买方)
  14907. type: number
  14908. handleremark:
  14909. description: 处理备注
  14910. type: string
  14911. handlestatus:
  14912. description: 处理状态
  14913. type: integer
  14914. interestminlen:
  14915. description: 最小起息天数
  14916. type: integer
  14917. interestrate:
  14918. description: 利率
  14919. type: number
  14920. interestratemode:
  14921. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14922. type: integer
  14923. interestsettlemode:
  14924. description: 结息方式 - 1:按日结息 3:按月结息
  14925. type: integer
  14926. interestsettlevalue:
  14927. description: 结息方式值
  14928. type: integer
  14929. isautoloan:
  14930. description: 是否自动放款 - 0:手动 1:自动
  14931. type: integer
  14932. marginratio:
  14933. description: 保证金比率质押率 - [仓单质押]
  14934. type: number
  14935. marketid:
  14936. description: 市场ID
  14937. type: integer
  14938. minivalue:
  14939. description: 现货商品最小变动值
  14940. type: integer
  14941. optioncompare:
  14942. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14943. type: string
  14944. orderqty:
  14945. description: 委托数量(商品数量)
  14946. type: number
  14947. productdetailid:
  14948. description: 产品组合ID
  14949. type: integer
  14950. productid:
  14951. description: 金融产品ID
  14952. type: integer
  14953. productname:
  14954. description: 产品名称
  14955. type: string
  14956. remark:
  14957. description: 备注
  14958. type: string
  14959. scfcontractid:
  14960. description: 仓单回购合同ID
  14961. type: string
  14962. sellaccountid:
  14963. description: 卖方资金账号
  14964. type: integer
  14965. selluserid:
  14966. description: 卖方用户ID
  14967. type: integer
  14968. sellwrtradeorderid:
  14969. description: 卖方委托单ID
  14970. type: string
  14971. tradeamount:
  14972. description: 成交金额(借款金额)
  14973. type: number
  14974. tradedate:
  14975. description: 交易日(yyyyMMdd)
  14976. type: string
  14977. tradeprice:
  14978. description: 成交价格
  14979. type: number
  14980. warehouseid:
  14981. description: 仓库ID
  14982. type: integer
  14983. warehousename:
  14984. description: 仓库名称
  14985. type: string
  14986. wrfactortypeid:
  14987. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14988. type: string
  14989. wrfactortypename:
  14990. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14991. type: string
  14992. wrpricetype:
  14993. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  14994. type: integer
  14995. wrstandardcode:
  14996. description: 现货商品代码
  14997. type: string
  14998. wrstandardid:
  14999. description: 现货商品ID
  15000. type: integer
  15001. wrstandardname:
  15002. description: 商品名称
  15003. type: string
  15004. wrtypename:
  15005. description: 商品
  15006. type: string
  15007. type: object
  15008. models.WrFriendApply:
  15009. properties:
  15010. applicantid:
  15011. description: 申请人
  15012. type: integer
  15013. applyname:
  15014. description: 申请人名称
  15015. type: string
  15016. applysrc:
  15017. description: 申请来源 - 1:管理端 2:终端
  15018. type: integer
  15019. applystatus:
  15020. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15021. type: integer
  15022. applytime:
  15023. description: 申请时间
  15024. type: string
  15025. auditname:
  15026. description: 审核人名称
  15027. type: string
  15028. auditorid:
  15029. description: 审核人
  15030. type: integer
  15031. auditremark:
  15032. description: 审核备注
  15033. type: string
  15034. auditsrc:
  15035. description: 审核来源 - 1:管理端 2:终端
  15036. type: integer
  15037. audittime:
  15038. description: 审核时间
  15039. type: string
  15040. friendapplyid:
  15041. description: 申请ID(SEQ_FRIENDAPPLY)
  15042. type: string
  15043. friendname:
  15044. description: 好友名字(已脱敏)
  15045. type: string
  15046. frienduserid:
  15047. description: 好友用户ID
  15048. type: string
  15049. remark:
  15050. description: 备注
  15051. type: string
  15052. userid:
  15053. description: 申请人用户ID
  15054. type: integer
  15055. type: object
  15056. models.WrFtDeliveryGoods:
  15057. properties:
  15058. deliverygoodscode:
  15059. description: 品种代码
  15060. type: string
  15061. deliverygoodsid:
  15062. description: 品种ID
  15063. type: integer
  15064. deliverygoodsname:
  15065. description: 品种名称
  15066. type: string
  15067. wdlst:
  15068. description: 商品列表
  15069. items:
  15070. $ref: '#/definitions/models.WrFtWrstandard'
  15071. type: array
  15072. type: object
  15073. models.WrFtWrstandard:
  15074. properties:
  15075. enumdicname:
  15076. description: 单位名称
  15077. type: string
  15078. minivalue:
  15079. description: 最小变动值
  15080. type: integer
  15081. wrstandardcode:
  15082. description: 现货商品代码
  15083. type: string
  15084. wrstandardid:
  15085. description: 现货商品ID
  15086. type: integer
  15087. wrstandardname:
  15088. description: 商品名称
  15089. type: string
  15090. type: object
  15091. models.WrGoodsInfo:
  15092. properties:
  15093. haswr:
  15094. description: 0:仓单预售 1:仓单贸易
  15095. type: integer
  15096. lstitem:
  15097. description: 商品信息项
  15098. items:
  15099. $ref: '#/definitions/models.WrTypeItem'
  15100. type: array
  15101. lststep:
  15102. description: 履约规则
  15103. items:
  15104. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15105. type: array
  15106. marketid:
  15107. description: 市场id
  15108. type: integer
  15109. type: object
  15110. models.WrGoodsPerformanceStep:
  15111. properties:
  15112. autoid:
  15113. description: AutoID
  15114. type: integer
  15115. isauto:
  15116. description: 是否自动 - 0:不自动 1:自动
  15117. type: integer
  15118. remark:
  15119. description: 备注
  15120. type: string
  15121. stepdate:
  15122. description: 天数信息(T+N)
  15123. type: string
  15124. stepdays:
  15125. description: 距离上一步天数
  15126. type: integer
  15127. stepindex:
  15128. description: 步骤序号
  15129. type: integer
  15130. stepinfo:
  15131. description: 步骤信息(步骤名称+步骤值)
  15132. type: string
  15133. steptypeid:
  15134. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15135. type: integer
  15136. steptypename:
  15137. description: 步骤名称
  15138. type: string
  15139. stepvalue:
  15140. description: 步骤值
  15141. type: number
  15142. templateid:
  15143. description: 履约计划模板ID
  15144. type: integer
  15145. type: object
  15146. models.WrHoldLB:
  15147. properties:
  15148. accountid:
  15149. description: 持有人帐户ID
  15150. type: integer
  15151. createtime:
  15152. description: 创建时间(过户时间)
  15153. type: string
  15154. deliverygoodscode:
  15155. description: 品种代码
  15156. type: string
  15157. deliverygoodsid:
  15158. description: 品种ID
  15159. type: integer
  15160. deliverygoodsname:
  15161. description: 品种名称
  15162. type: string
  15163. enableqty:
  15164. description: 可用数量
  15165. type: number
  15166. enumdicname:
  15167. description: 单位名称
  15168. type: string
  15169. freezerqty:
  15170. description: 冻结数量
  15171. type: number
  15172. ladingbillid:
  15173. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15174. type: string
  15175. minivalue:
  15176. description: 现货商品最小变动值
  15177. type: integer
  15178. optioncompare:
  15179. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15180. type: string
  15181. parentsubnum:
  15182. description: 拆分父子单号
  15183. type: integer
  15184. pledgeqty:
  15185. description: 质押数量
  15186. type: number
  15187. qty:
  15188. description: 数量
  15189. type: number
  15190. subnum:
  15191. description: 提单子单号
  15192. type: integer
  15193. tradedate:
  15194. description: 交易日(yyyyMMdd)
  15195. type: string
  15196. userid:
  15197. description: 持有人ID
  15198. type: integer
  15199. warehouseid:
  15200. description: 仓库ID
  15201. type: integer
  15202. warehousename:
  15203. description: 仓库名称
  15204. type: string
  15205. wrfactortypeid:
  15206. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15207. type: string
  15208. wrfactortypename:
  15209. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15210. type: string
  15211. wrholdeno:
  15212. description: 仓单编号
  15213. type: string
  15214. wrid:
  15215. description: 仓单变更ID
  15216. type: string
  15217. wrstandardcode:
  15218. description: 现货商品代码
  15219. type: string
  15220. wrstandardid:
  15221. description: 现货商品ID
  15222. type: integer
  15223. wrstandardname:
  15224. description: 商品名称
  15225. type: string
  15226. wrtypename:
  15227. description: 商品
  15228. type: string
  15229. type: object
  15230. models.WrMarketTradeConfig:
  15231. properties:
  15232. basisdownratio:
  15233. description: 浮动价基差下限比例(仓单贸易)
  15234. type: number
  15235. basisupratio:
  15236. description: 浮动价基差上限比例(仓单贸易)
  15237. type: number
  15238. buychargealgorithm:
  15239. description: 买方手续费收取方式 1:比率 2:固定
  15240. type: integer
  15241. buychargealgorithm2:
  15242. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15243. type: integer
  15244. buychargealgorithmvalue:
  15245. description: 买方手续费设置值(交易所部分)
  15246. type: number
  15247. buychargealgorithmvalue2:
  15248. description: 买方手续费设置值(会员部分)
  15249. type: number
  15250. buychargealgorithmvalue3:
  15251. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15252. type: number
  15253. buychargealgorithmvalue4:
  15254. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15255. type: number
  15256. buyfirstmarginalgorithm:
  15257. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15258. type: integer
  15259. buyfirstmarginvalue:
  15260. description: 买方出价保证金设置值 - [竞拍]
  15261. type: number
  15262. buymarginalgorithm:
  15263. description: 买方保证金方式 - 1:比率 2:固定
  15264. type: integer
  15265. buymarginvalue:
  15266. description: 买方保证金设置值
  15267. type: number
  15268. buyreleaseratio:
  15269. description: 买方释放比率[2:分步履约]
  15270. type: number
  15271. executemode:
  15272. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15273. type: integer
  15274. executeside:
  15275. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15276. type: integer
  15277. failedchargealgorithm:
  15278. description: 流拍手续费收取方式 1:比率 2:固定
  15279. type: integer
  15280. failedchargevalue:
  15281. description: 流拍手续费设置值
  15282. type: number
  15283. failedchargevalue2:
  15284. description: 流拍卖方手续费设置值
  15285. type: number
  15286. holddays:
  15287. description: 合同期限[2:分步履约]
  15288. type: integer
  15289. marketid:
  15290. description: 市场ID-仓单贸易、竞拍、预售
  15291. type: integer
  15292. minqty:
  15293. description: 最小执行量[2:分步履约]
  15294. type: number
  15295. modifierid:
  15296. description: 修改人
  15297. type: integer
  15298. performancetempid:
  15299. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)
  15300. type: integer
  15301. performancetempid2:
  15302. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行
  15303. type: integer
  15304. performanceway:
  15305. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15306. type: integer
  15307. sellchargealgorithm:
  15308. description: 卖方手续费收取方式 1:比率 2:固定
  15309. type: integer
  15310. sellchargealgorithm2:
  15311. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15312. type: integer
  15313. sellchargealgorithmvalue:
  15314. description: 卖方手续费设置值(交易所部分)
  15315. type: number
  15316. sellchargealgorithmvalue2:
  15317. description: 卖方手续费设置值(会员部分)
  15318. type: number
  15319. sellchargealgorithmvalue3:
  15320. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15321. type: number
  15322. sellchargealgorithmvalue4:
  15323. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15324. type: number
  15325. sellmarginalgorithm:
  15326. description: 卖方保证金方式 - 1:比率 2:固定
  15327. type: integer
  15328. sellmarginvalue:
  15329. description: 卖方保证金设置值
  15330. type: number
  15331. sellmarginvalue2:
  15332. description: 卖方保证金设置值(无仓单)
  15333. type: number
  15334. sellreleaseratio:
  15335. description: 卖方释放比率[2:分步履约]
  15336. type: number
  15337. updatetime:
  15338. description: 更新时间
  15339. type: string
  15340. type: object
  15341. models.WrOrderDetail:
  15342. properties:
  15343. accountid:
  15344. description: 交易账号(资金账号)
  15345. type: integer
  15346. allfriendsflag:
  15347. description: 是否全好友可见 - 0:否 1:是
  15348. type: integer
  15349. amount:
  15350. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  15351. type: number
  15352. buyorsell:
  15353. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15354. type: integer
  15355. canbargain:
  15356. description: 是否可议价 - 0:不可 1:可
  15357. type: integer
  15358. cancelqty:
  15359. description: 撤销数量
  15360. type: number
  15361. canpart:
  15362. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15363. type: integer
  15364. delistminqty:
  15365. description: 起摘数量
  15366. type: integer
  15367. deliverygoodscode:
  15368. description: 品种代码
  15369. type: string
  15370. deliverygoodsid:
  15371. description: 品种ID
  15372. type: integer
  15373. deliverygoodsname:
  15374. description: 品种名称
  15375. type: string
  15376. deliverymonth:
  15377. description: 交收月
  15378. type: string
  15379. enumdicname:
  15380. description: 单位名称
  15381. type: string
  15382. fixedprice:
  15383. description: 固定价格 - [挂牌]
  15384. type: number
  15385. freezemargin:
  15386. description: 冻结保证金(保证金)
  15387. type: number
  15388. futupricemove:
  15389. description: 期货升贴水
  15390. type: number
  15391. futushow:
  15392. description: 期货合约/升贴水
  15393. type: string
  15394. goodscode:
  15395. description: 期货合约
  15396. type: string
  15397. goodsid:
  15398. description: 期货商品id
  15399. type: integer
  15400. goodsname:
  15401. description: 商品名称
  15402. type: string
  15403. haswr:
  15404. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15405. type: integer
  15406. isspecified:
  15407. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15408. type: integer
  15409. ladingbillid:
  15410. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15411. type: string
  15412. marginvalue:
  15413. description: 保证金设置值(履约保证金)
  15414. type: number
  15415. marketid:
  15416. description: 市场ID
  15417. type: integer
  15418. matchusername:
  15419. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15420. type: string
  15421. minivalue:
  15422. description: 现货商品最小变动值
  15423. type: integer
  15424. optioncompare:
  15425. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15426. type: string
  15427. orderqty:
  15428. description: 委托数量
  15429. type: number
  15430. ordertime:
  15431. description: 委托时间(挂牌时间)
  15432. type: string
  15433. performancetemplateid:
  15434. description: 履约模板id
  15435. type: integer
  15436. pricemove:
  15437. description: 升贴水(浮动价时填写) - [挂牌]
  15438. type: number
  15439. taname:
  15440. description: 交易用户名称(资金账号名称)
  15441. type: string
  15442. tradedate:
  15443. description: 交易日(yyyyMMdd)
  15444. type: string
  15445. tradeprice:
  15446. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15447. type: number
  15448. tradeqty:
  15449. description: 成交数量
  15450. type: number
  15451. userid:
  15452. description: 用户ID
  15453. type: integer
  15454. validtime:
  15455. description: 挂牌有效期
  15456. type: string
  15457. warehouseid:
  15458. description: 仓库ID
  15459. type: integer
  15460. warehousename:
  15461. description: 仓库名称
  15462. type: string
  15463. wrfactortypeid:
  15464. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15465. type: string
  15466. wrfactortypename:
  15467. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15468. type: string
  15469. wrpricetype:
  15470. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15471. type: integer
  15472. wrstandardcode:
  15473. description: 现货商品代码
  15474. type: string
  15475. wrstandardid:
  15476. description: 现货商品ID
  15477. type: integer
  15478. wrstandardname:
  15479. description: 商品名称
  15480. type: string
  15481. wrtradeorderid:
  15482. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15483. type: string
  15484. wrtradeorderstatus:
  15485. 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:撤单解冻贷款失败
  15486. type: integer
  15487. wrtradetype:
  15488. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15489. type: integer
  15490. wrtypename:
  15491. description: 商品
  15492. type: string
  15493. type: object
  15494. models.WrOrderQuote:
  15495. properties:
  15496. buyprice:
  15497. description: 买价
  15498. type: number
  15499. buypricemove:
  15500. description: 买升贴水(基差)
  15501. type: number
  15502. buyqty:
  15503. description: 买量
  15504. type: number
  15505. deliverygoodscode:
  15506. description: 品种代码
  15507. type: string
  15508. deliverygoodsid:
  15509. description: 品种id
  15510. type: integer
  15511. deliverygoodsname:
  15512. description: 品种名称
  15513. type: string
  15514. deliverymonth:
  15515. description: 交收月
  15516. type: string
  15517. enumdicname:
  15518. description: 单位名称
  15519. type: string
  15520. goodscode:
  15521. description: 商品合约(浮动价列表才有)
  15522. type: string
  15523. goodsid:
  15524. description: 商品id(浮动价列表才有)
  15525. type: integer
  15526. minivalue:
  15527. description: 现货商品最小变动值
  15528. type: integer
  15529. sellprice:
  15530. description: 卖价
  15531. type: number
  15532. sellpricemove:
  15533. description: 卖升贴水(基差)
  15534. type: number
  15535. sellqty:
  15536. description: 卖量
  15537. type: number
  15538. warehousecode:
  15539. description: 仓库代码
  15540. type: string
  15541. warehouseid:
  15542. description: 仓库id
  15543. type: integer
  15544. warehousename:
  15545. description: 仓库名称
  15546. type: string
  15547. wrfactortypeid:
  15548. description: 仓单要素id
  15549. type: string
  15550. wrfactortypename:
  15551. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15552. type: string
  15553. wrgoodsname:
  15554. description: 商品(商品名称+仓库要素名称 拼接)
  15555. type: string
  15556. wrstandardcode:
  15557. description: 商品代码
  15558. type: string
  15559. wrstandardid:
  15560. description: 商品id
  15561. type: integer
  15562. wrstandardname:
  15563. description: 商品名称
  15564. type: string
  15565. type: object
  15566. models.WrOrderQuoteDetail:
  15567. properties:
  15568. buyorsell:
  15569. description: 买卖 - 0:买 1:卖
  15570. type: integer
  15571. delistminqty:
  15572. description: 起摘数量
  15573. type: number
  15574. deliverymonth:
  15575. description: 交收月
  15576. type: string
  15577. enumdicname:
  15578. description: 单位名称
  15579. type: string
  15580. fixedprice:
  15581. description: 买(卖)价
  15582. type: number
  15583. minivalue:
  15584. description: 现货商品最小变动值
  15585. type: integer
  15586. orderqty:
  15587. description: 买(卖)量(=委托量-成交量)
  15588. type: number
  15589. ordertime:
  15590. description: 委托时间
  15591. type: string
  15592. pricemove:
  15593. description: 买(卖)升贴水- 基差
  15594. type: number
  15595. userid:
  15596. description: 购买方(销售方)用户ID
  15597. type: integer
  15598. username:
  15599. description: 购买方(销售方)
  15600. type: string
  15601. wrtradeorderid:
  15602. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15603. type: string
  15604. type: object
  15605. models.WrOutInApply:
  15606. properties:
  15607. applyid:
  15608. description: 申请单id
  15609. type: string
  15610. applystatus:
  15611. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  15612. type: integer
  15613. applytime:
  15614. description: 申请时间
  15615. type: string
  15616. applytype:
  15617. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15618. type: integer
  15619. deliverygoodscode:
  15620. description: 品种代码
  15621. type: string
  15622. deliverygoodsid:
  15623. description: 品种ID
  15624. type: integer
  15625. deliverygoodsname:
  15626. description: 品种名称
  15627. type: string
  15628. enumdicname:
  15629. description: 单位名称
  15630. type: string
  15631. expresscompany:
  15632. description: 物流公司
  15633. type: string
  15634. expressnum:
  15635. description: 物流单号
  15636. type: string
  15637. minivalue:
  15638. description: 现货商品最小变动值
  15639. type: integer
  15640. optioncompare:
  15641. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15642. type: string
  15643. qty:
  15644. description: 数量
  15645. type: integer
  15646. userid:
  15647. description: 用户id
  15648. type: integer
  15649. warehouseid:
  15650. description: 仓库ID
  15651. type: integer
  15652. warehousename:
  15653. description: 仓库名称
  15654. type: string
  15655. wrfactortypeid:
  15656. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15657. type: string
  15658. wrfactortypename:
  15659. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15660. type: string
  15661. wrstandardcode:
  15662. description: 现货商品代码
  15663. type: string
  15664. wrstandardid:
  15665. description: 现货商品ID
  15666. type: integer
  15667. wrstandardname:
  15668. description: 商品名称
  15669. type: string
  15670. wrtypename:
  15671. description: 商品
  15672. type: string
  15673. type: object
  15674. models.WrPerformancePlan:
  15675. properties:
  15676. activatemonth:
  15677. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  15678. type: string
  15679. amount:
  15680. description: 履约金额(总金额)
  15681. type: number
  15682. buyaccountid:
  15683. description: 买方账号
  15684. type: integer
  15685. buyerfreezeamount:
  15686. description: 履约冻结(买履约)
  15687. type: number
  15688. buyerfreezeamountremain:
  15689. description: 履约冻结剩余(买履约)
  15690. type: number
  15691. buyorsell:
  15692. description: 买卖方向 0-买 1-卖
  15693. type: integer
  15694. buypaidamount:
  15695. description: 买方已冻/已扣金额 (已付金额)
  15696. type: number
  15697. buyusername:
  15698. description: 买方名字
  15699. type: string
  15700. contractid:
  15701. description: 合同ID
  15702. type: integer
  15703. createtime:
  15704. description: 创建时间
  15705. type: string
  15706. creatorid:
  15707. description: 创建人
  15708. type: integer
  15709. curstepdeadline:
  15710. description: 当前步骤到期时间
  15711. type: string
  15712. curstepid:
  15713. description: 当前步骤ID
  15714. type: string
  15715. curstepname:
  15716. description: 当前步骤名称
  15717. type: string
  15718. deliverygoodscode:
  15719. description: 品种代码
  15720. type: string
  15721. deliverygoodsid:
  15722. description: 品种ID
  15723. type: integer
  15724. deliverygoodsname:
  15725. description: 品种名称
  15726. type: string
  15727. enumdicname:
  15728. description: 单位名称
  15729. type: string
  15730. expressfee:
  15731. description: 运费
  15732. type: number
  15733. expressfeeconfirmed:
  15734. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  15735. type: integer
  15736. hasovershort:
  15737. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  15738. type: integer
  15739. haswr:
  15740. description: 类型 0-仓单预售 1-仓单贸易
  15741. type: integer
  15742. marketid:
  15743. description: 市场ID
  15744. type: integer
  15745. middleaccountid:
  15746. description: 中间商资金账号ID
  15747. type: integer
  15748. middleuserid:
  15749. description: 中间商用户ID
  15750. type: integer
  15751. minivalue:
  15752. description: 现货商品最小变动值
  15753. type: integer
  15754. optioncompare:
  15755. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15756. type: string
  15757. overshortamount:
  15758. description: 溢短金额
  15759. type: number
  15760. overshortqty:
  15761. description: 溢短数量
  15762. type: number
  15763. paymenttype:
  15764. description: 付款方式 - 1:冻结 2:扣款
  15765. type: integer
  15766. performanceplanid:
  15767. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  15768. type: string
  15769. performancestatus:
  15770. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
  15771. type: integer
  15772. performancetype:
  15773. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  15774. type: integer
  15775. qty:
  15776. description: 履约数量
  15777. type: number
  15778. relatedorderid:
  15779. description: 关联单号(履约类型的关联单号)
  15780. type: string
  15781. remark:
  15782. description: 备注
  15783. type: string
  15784. sellaccountid:
  15785. description: 卖方账号
  15786. type: integer
  15787. sellerfreezeamount:
  15788. description: 履约冻结(卖履约)
  15789. type: number
  15790. sellerfreezeamountremain:
  15791. description: 履约冻结剩余(卖履约)
  15792. type: number
  15793. sellreceivedamount:
  15794. description: 卖方已收金额
  15795. type: number
  15796. sellusername:
  15797. description: 卖方名字
  15798. type: string
  15799. shipremark:
  15800. description: 发货备注[物流单号]
  15801. type: string
  15802. starttime:
  15803. description: 开始时间
  15804. type: string
  15805. steptypeid:
  15806. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15807. type: integer
  15808. typename:
  15809. description: 履约类型 名称
  15810. type: string
  15811. unpaidamount:
  15812. description: 剩余款(待支付金额)
  15813. type: number
  15814. userid:
  15815. description: 用户id
  15816. type: integer
  15817. warehouseid:
  15818. description: 仓库ID
  15819. type: integer
  15820. warehousename:
  15821. description: 仓库名称
  15822. type: string
  15823. wrfactortypeid:
  15824. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15825. type: string
  15826. wrfactortypename:
  15827. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15828. type: string
  15829. wrstandardcode:
  15830. description: 现货商品代码
  15831. type: string
  15832. wrstandardid:
  15833. description: 现货商品ID
  15834. type: integer
  15835. wrstandardname:
  15836. description: 商品名称
  15837. type: string
  15838. wrtransferuserid:
  15839. description: 仓单受让用户
  15840. type: integer
  15841. wrtypename:
  15842. description: 商品
  15843. type: string
  15844. required:
  15845. - userid
  15846. type: object
  15847. models.WrPerformancePlanStep:
  15848. properties:
  15849. delaydays:
  15850. description: 延期申请天数
  15851. type: integer
  15852. deliverygoodscode:
  15853. description: 品种代码
  15854. type: string
  15855. deliverygoodsid:
  15856. description: 品种ID
  15857. type: integer
  15858. deliverygoodsname:
  15859. description: 品种名称
  15860. type: string
  15861. endtime:
  15862. description: 结束日期
  15863. type: string
  15864. enumdicname:
  15865. description: 单位名称
  15866. type: string
  15867. executeside:
  15868. description: 步骤执行方 - 1:买方 2:卖方
  15869. type: integer
  15870. handlestatus:
  15871. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  15872. type: integer
  15873. isauto:
  15874. description: 是否自动 - 0:不自动 1:自动
  15875. type: integer
  15876. islastreceivestep:
  15877. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  15878. type: integer
  15879. minivalue:
  15880. description: 现货商品最小变动值
  15881. type: integer
  15882. optioncompare:
  15883. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15884. type: string
  15885. overdays:
  15886. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  15887. type: integer
  15888. performancestepid:
  15889. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  15890. type: string
  15891. planid:
  15892. description: 所属履约计划ID
  15893. type: string
  15894. realamount:
  15895. description: 实际完成金额
  15896. type: number
  15897. relatedorderid:
  15898. description: 关联单号
  15899. type: string
  15900. remaindays:
  15901. description: 剩余天数
  15902. type: integer
  15903. remark:
  15904. description: 错误备注
  15905. type: string
  15906. starttime:
  15907. description: 开始日期
  15908. type: string
  15909. stepamount:
  15910. description: 步骤金额
  15911. type: number
  15912. stepdays:
  15913. description: 距离上一步天数(分钟)
  15914. type: integer
  15915. stepindex:
  15916. description: 步骤序号
  15917. type: integer
  15918. steplanchtype:
  15919. description: 步骤启动类型 - 1:系统自动 2:手动
  15920. type: integer
  15921. stepremark:
  15922. description: 步骤备注
  15923. type: string
  15924. stepstatus:
  15925. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  15926. type: integer
  15927. steptypeid:
  15928. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15929. type: integer
  15930. steptypename:
  15931. description: 步骤名称
  15932. type: string
  15933. stepvalue:
  15934. description: 步骤值
  15935. type: number
  15936. warehouseid:
  15937. description: 仓库ID
  15938. type: integer
  15939. warehousename:
  15940. description: 仓库名称
  15941. type: string
  15942. wrfactortypeid:
  15943. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15944. type: string
  15945. wrfactortypename:
  15946. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15947. type: string
  15948. wrstandardcode:
  15949. description: 现货商品代码
  15950. type: string
  15951. wrstandardid:
  15952. description: 现货商品ID
  15953. type: integer
  15954. wrstandardname:
  15955. description: 商品名称
  15956. type: string
  15957. wrtypename:
  15958. description: 商品
  15959. type: string
  15960. type: object
  15961. models.WrPerformanceStepType:
  15962. properties:
  15963. canauto:
  15964. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  15965. type: integer
  15966. steptypeid:
  15967. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  15968. type: integer
  15969. steptypename:
  15970. description: 步骤类型名称
  15971. type: string
  15972. type: object
  15973. models.WrPerformanceTemplateEx:
  15974. properties:
  15975. autoid:
  15976. description: AutoID 模板id
  15977. type: integer
  15978. createtime:
  15979. description: 创建时间
  15980. type: string
  15981. creatorid:
  15982. description: 创建人
  15983. type: integer
  15984. lstStep:
  15985. description: 步骤信息列表
  15986. items:
  15987. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15988. type: array
  15989. paymenttype:
  15990. description: 支付方式 - 1:冻结 2:扣款
  15991. type: integer
  15992. takemode:
  15993. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  15994. type: integer
  15995. templatename:
  15996. description: 模板名称
  15997. type: string
  15998. templatetype:
  15999. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16000. type: integer
  16001. userid:
  16002. description: 所属用户
  16003. type: integer
  16004. type: object
  16005. models.WrPosition:
  16006. properties:
  16007. accountid:
  16008. description: 帐户ID
  16009. type: integer
  16010. buyexcuteqty:
  16011. description: 采购履约中数量
  16012. type: number
  16013. creditcurqty:
  16014. description: 授信当前数量(预售仓单:预售当前量)
  16015. type: number
  16016. creditenableqty:
  16017. description: '授信可用数量(预售仓单: 可用数量)'
  16018. type: number
  16019. creditfreezeqty:
  16020. description: '授信冻结数量(预售仓单: 当前数量)'
  16021. type: number
  16022. credittotalqty:
  16023. description: 授信总数量(预售仓单:预售总量)
  16024. type: number
  16025. credittradeqty:
  16026. description: 授信成交数量(预售仓单:成交总量)
  16027. type: number
  16028. deliverygoodscode:
  16029. description: 品种代码
  16030. type: string
  16031. deliverygoodsid:
  16032. description: 品种ID
  16033. type: integer
  16034. deliverygoodsname:
  16035. description: 品种名称
  16036. type: string
  16037. enalbeqty:
  16038. description: 可用数量
  16039. type: number
  16040. enumdicname:
  16041. description: 单位名称
  16042. type: string
  16043. freezeqty:
  16044. description: 总冻结数量
  16045. type: number
  16046. haswr:
  16047. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16048. type: integer
  16049. minivalue:
  16050. description: 现货商品最小变动值
  16051. type: integer
  16052. modifytime:
  16053. description: 修改时间(过户时间)
  16054. type: string
  16055. optioncompare:
  16056. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16057. type: string
  16058. pledgeqty:
  16059. description: 质押数量
  16060. type: number
  16061. querytype:
  16062. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16063. type: integer
  16064. sellexcuteqty:
  16065. description: 销售履约中数量
  16066. type: number
  16067. totalqty:
  16068. description: 总数量(库存数量)
  16069. type: number
  16070. warehouseid:
  16071. description: 仓库ID
  16072. type: integer
  16073. warehousename:
  16074. description: 仓库名称
  16075. type: string
  16076. wrfactortypeid:
  16077. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16078. type: string
  16079. wrfactortypename:
  16080. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16081. type: string
  16082. wrpositionid:
  16083. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16084. type: string
  16085. wrpositionno:
  16086. description: 仓单编号
  16087. type: string
  16088. wrstandardcode:
  16089. description: 现货商品代码
  16090. type: string
  16091. wrstandardid:
  16092. description: 现货商品ID
  16093. type: integer
  16094. wrstandardname:
  16095. description: 商品名称
  16096. type: string
  16097. wrtypename:
  16098. description: 商品
  16099. type: string
  16100. wruserid:
  16101. description: 持有人ID
  16102. type: integer
  16103. type: object
  16104. models.WrQuoteOrderMyq:
  16105. properties:
  16106. buyorsell:
  16107. description: 买卖 - 0:买 1:卖
  16108. type: integer
  16109. canbargain:
  16110. description: 是否可议价 - 0:不可 1:可
  16111. type: integer
  16112. canpart:
  16113. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16114. type: integer
  16115. delistminqty:
  16116. description: 起摘数量
  16117. type: number
  16118. deliverygoodscode:
  16119. description: 品种代码
  16120. type: string
  16121. deliverygoodsid:
  16122. description: 品种ID
  16123. type: integer
  16124. deliverygoodsname:
  16125. description: 品种名称
  16126. type: string
  16127. deliverymonth:
  16128. description: 交收月
  16129. type: string
  16130. enumdicname:
  16131. description: 单位名称
  16132. type: string
  16133. fixedprice:
  16134. description: 买(卖)价
  16135. type: number
  16136. goodscode:
  16137. description: 商品合约代码
  16138. type: string
  16139. marginflag:
  16140. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16141. type: integer
  16142. marginvalue:
  16143. description: 保证金设置值
  16144. type: number
  16145. minivalue:
  16146. description: 现货商品最小变动值
  16147. type: integer
  16148. orderqty:
  16149. description: 买(卖)量(=委托量-成交量)
  16150. type: number
  16151. ordertime:
  16152. description: 委托时间
  16153. type: string
  16154. performancetemplateid:
  16155. description: 履约模板id
  16156. type: integer
  16157. pricemove:
  16158. description: 买(卖)升贴水- 基差
  16159. type: number
  16160. templatename:
  16161. description: 履约模板名称
  16162. type: string
  16163. userid:
  16164. description: 购买方(销售方)用户ID
  16165. type: integer
  16166. username:
  16167. description: 购买方(销售方)
  16168. type: string
  16169. validtime:
  16170. description: 有效期限
  16171. type: string
  16172. validtype:
  16173. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16174. type: integer
  16175. warehousename:
  16176. description: 仓库名称
  16177. type: string
  16178. wrfactortypeid:
  16179. description: 仓单要素id
  16180. type: string
  16181. wrstandardcode:
  16182. description: 现货商品代码
  16183. type: string
  16184. wrstandardid:
  16185. description: 现货商品ID
  16186. type: integer
  16187. wrstandardname:
  16188. description: 商品名称
  16189. type: string
  16190. wrtradeorderid:
  16191. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16192. type: string
  16193. wrtypename:
  16194. description: 商品
  16195. type: string
  16196. type: object
  16197. models.WrScfContract:
  16198. properties:
  16199. borroweruserid:
  16200. description: 借款用户ID
  16201. type: integer
  16202. buybackwrpositionqty:
  16203. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16204. type: number
  16205. closeinterest:
  16206. description: 已结利息 -> 已结费用
  16207. type: number
  16208. currisklevel:
  16209. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16210. type: integer
  16211. deadline:
  16212. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16213. type: string
  16214. deliverygoodscode:
  16215. description: 品种代码
  16216. type: string
  16217. deliverygoodsid:
  16218. description: 品种ID
  16219. type: integer
  16220. deliverygoodsname:
  16221. description: 品种名称
  16222. type: string
  16223. enumdicname:
  16224. description: 单位名称
  16225. type: string
  16226. financingdays:
  16227. description: 天数(天)
  16228. type: integer
  16229. initmargin:
  16230. description: 保证金 - [仓单回购]
  16231. type: number
  16232. interestamount:
  16233. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16234. type: number
  16235. interestdebt:
  16236. description: 利息欠款(记录负数) -> 费用欠款
  16237. type: number
  16238. interestminlen:
  16239. description: 最小起息天数
  16240. type: integer
  16241. interestrate:
  16242. description: 利率
  16243. type: number
  16244. interestratemode:
  16245. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16246. type: integer
  16247. interestsettlemode:
  16248. description: 结息方式 - 1:按日结息 3:按月结息
  16249. type: integer
  16250. interestsettlevalue:
  16251. description: 结息方式值
  16252. type: integer
  16253. isautoloan:
  16254. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16255. type: integer
  16256. lastcloseinterestday:
  16257. description: 最近结息日(yyyyMMdd)
  16258. type: string
  16259. lenderamount:
  16260. description: 贷款金额 -> 借款金额
  16261. type: number
  16262. lenderuserid:
  16263. description: 贷款方用户ID -> 融出方用户ID
  16264. type: integer
  16265. lenderusername:
  16266. description: 融出方
  16267. type: string
  16268. marginratio:
  16269. description: 保证金比率质押率 - [仓单质押]
  16270. type: number
  16271. marketid:
  16272. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16273. type: integer
  16274. minivalue:
  16275. description: 现货商品最小变动值
  16276. type: integer
  16277. optioncompare:
  16278. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16279. type: string
  16280. pricemove:
  16281. description: 估值升贴水值
  16282. type: number
  16283. productdetailid:
  16284. description: 产品组合ID
  16285. type: integer
  16286. productid:
  16287. description: 金融产品ID
  16288. type: integer
  16289. productname:
  16290. description: 产品名称
  16291. type: string
  16292. remainamount:
  16293. description: 合同剩余金额 -> 剩余金额
  16294. type: number
  16295. remainwrpositionqty:
  16296. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16297. type: number
  16298. remark:
  16299. description: 备注
  16300. type: string
  16301. scfcontractid:
  16302. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16303. type: string
  16304. scfcontractstatus:
  16305. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  16306. type: integer
  16307. scfcontracttype:
  16308. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16309. type: integer
  16310. startinterestday:
  16311. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16312. type: string
  16313. totalinterest:
  16314. description: 已计利息 -> 已计费用
  16315. type: number
  16316. unpaidinterest:
  16317. description: 未结费用
  16318. type: number
  16319. updatetime:
  16320. description: 更新时间
  16321. type: string
  16322. warehouseid:
  16323. description: 仓库ID
  16324. type: integer
  16325. warehousename:
  16326. description: 仓库名称
  16327. type: string
  16328. wrfactortypeid:
  16329. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16330. type: string
  16331. wrfactortypename:
  16332. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16333. type: string
  16334. wrqty:
  16335. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16336. type: number
  16337. wrstandardcode:
  16338. description: 现货商品代码
  16339. type: string
  16340. wrstandardid:
  16341. description: 现货商品ID
  16342. type: integer
  16343. wrstandardname:
  16344. description: 商品名称
  16345. type: string
  16346. wrtypename:
  16347. description: 商品
  16348. type: string
  16349. type: object
  16350. models.WrScfContractInterest:
  16351. properties:
  16352. closeinterest:
  16353. description: 已结利息
  16354. type: number
  16355. closeintereststatus:
  16356. description: 结息状态 - 1:未结 2:已结
  16357. type: integer
  16358. closetime:
  16359. description: 结息时间
  16360. type: string
  16361. closetradedate:
  16362. description: 结息交易日
  16363. type: string
  16364. creatorid:
  16365. description: 操作人ID
  16366. type: integer
  16367. dayrate:
  16368. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16369. type: number
  16370. interest:
  16371. description: 利息
  16372. type: number
  16373. interestamount:
  16374. description: 计息金额
  16375. type: number
  16376. interestday:
  16377. description: 计息日(yyyyMMdd)
  16378. type: string
  16379. scfcontractid:
  16380. description: SCF合同ID
  16381. type: string
  16382. scfcontractinterestid:
  16383. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16384. type: integer
  16385. updatetime:
  16386. description: 更新时间
  16387. type: string
  16388. type: object
  16389. models.WrSpecialMatchOrder:
  16390. properties:
  16391. amount:
  16392. description: 金额 = 数量 * 价格
  16393. type: number
  16394. buyorsell:
  16395. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16396. type: integer
  16397. cancelqty:
  16398. description: 撤销数量
  16399. type: number
  16400. deliverygoodscode:
  16401. description: 品种代码
  16402. type: string
  16403. deliverygoodsid:
  16404. description: 品种ID
  16405. type: integer
  16406. deliverygoodsname:
  16407. description: 品种名称
  16408. type: string
  16409. enumdicname:
  16410. description: 单位名称
  16411. type: string
  16412. fixedprice:
  16413. description: 固定价格(价格)
  16414. type: number
  16415. haswr:
  16416. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16417. type: integer
  16418. marketid:
  16419. description: 市场ID
  16420. type: integer
  16421. matchuserid:
  16422. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16423. type: integer
  16424. matchusername:
  16425. description: 指定方
  16426. type: string
  16427. minivalue:
  16428. description: 现货商品最小变动值
  16429. type: integer
  16430. optioncompare:
  16431. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16432. type: string
  16433. orderqty:
  16434. description: 委托数量
  16435. type: number
  16436. ordertime:
  16437. description: 委托时间
  16438. type: string
  16439. pricemove:
  16440. description: 升贴水(浮动价时填写) - [挂牌]
  16441. type: number
  16442. tradedate:
  16443. description: 交易日(yyyyMMdd)
  16444. type: string
  16445. tradeprice:
  16446. description: 成交价格
  16447. type: number
  16448. tradeqty:
  16449. description: 成交数量
  16450. type: number
  16451. userid:
  16452. description: 用户ID
  16453. type: integer
  16454. username:
  16455. description: 发起方
  16456. type: string
  16457. warehouseid:
  16458. description: 仓库ID
  16459. type: integer
  16460. warehousename:
  16461. description: 仓库名称
  16462. type: string
  16463. wrfactortypeid:
  16464. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16465. type: string
  16466. wrfactortypename:
  16467. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16468. type: string
  16469. wrpricetype:
  16470. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16471. type: integer
  16472. wrstandardcode:
  16473. description: 现货商品代码
  16474. type: string
  16475. wrstandardid:
  16476. description: 现货商品ID
  16477. type: integer
  16478. wrstandardname:
  16479. description: 商品名称
  16480. type: string
  16481. wrtradeorderid:
  16482. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16483. type: string
  16484. wrtradeorderstatus:
  16485. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16486. type: integer
  16487. wrtradetype:
  16488. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16489. type: integer
  16490. wrtypename:
  16491. description: 商品
  16492. type: string
  16493. type: object
  16494. models.WrStandardFactoryItem:
  16495. properties:
  16496. dgfactoryitemid:
  16497. description: 选择项id
  16498. type: integer
  16499. dgfactoryitemvalue:
  16500. description: 要素项值
  16501. type: string
  16502. warehouseid:
  16503. description: 仓库id
  16504. type: integer
  16505. type: object
  16506. models.WrStandardFactoryItemEx:
  16507. properties:
  16508. dgfactoryitemtypeid:
  16509. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16510. type: integer
  16511. itemlst:
  16512. description: 要素项列表
  16513. items:
  16514. $ref: '#/definitions/models.WrStandardFactoryItem'
  16515. type: array
  16516. itemtypename:
  16517. description: 要素项类型名称
  16518. type: string
  16519. wrstandardid:
  16520. description: 品类
  16521. type: integer
  16522. type: object
  16523. models.WrTradeDetail:
  16524. properties:
  16525. accountid:
  16526. description: 资金账号
  16527. type: integer
  16528. buyorsell:
  16529. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16530. type: integer
  16531. chargevalue:
  16532. description: 手续费
  16533. type: number
  16534. deliverygoodscode:
  16535. description: 品种代码
  16536. type: string
  16537. deliverygoodsid:
  16538. description: 品种ID
  16539. type: integer
  16540. deliverygoodsname:
  16541. description: 品种名称
  16542. type: string
  16543. deliverymonth:
  16544. description: 交收月
  16545. type: string
  16546. enumdicname:
  16547. description: 单位名称
  16548. type: string
  16549. haswr:
  16550. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16551. type: integer
  16552. marketid:
  16553. description: 市场ID
  16554. type: integer
  16555. matchaccountid:
  16556. description: 对手账号
  16557. type: integer
  16558. matchusername:
  16559. description: 对手方
  16560. type: string
  16561. minivalue:
  16562. description: 现货商品最小变动值
  16563. type: integer
  16564. optioncompare:
  16565. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16566. type: string
  16567. tradedate:
  16568. description: 交易日(yyyyMMdd)
  16569. type: string
  16570. tradeprice:
  16571. description: 成交价格
  16572. type: number
  16573. tradeqty:
  16574. description: 成交数量
  16575. type: number
  16576. tradetime:
  16577. description: 成交时间
  16578. type: string
  16579. userid:
  16580. description: 用户ID
  16581. type: integer
  16582. warehouseid:
  16583. description: 仓库ID
  16584. type: integer
  16585. warehousename:
  16586. description: 仓库名称
  16587. type: string
  16588. wrfactortypeid:
  16589. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16590. type: string
  16591. wrfactortypename:
  16592. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16593. type: string
  16594. wrstandardcode:
  16595. description: 现货商品代码
  16596. type: string
  16597. wrstandardid:
  16598. description: 现货商品ID
  16599. type: integer
  16600. wrstandardname:
  16601. description: 商品名称
  16602. type: string
  16603. wrtradedetailid:
  16604. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  16605. type: string
  16606. wrtradetype:
  16607. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16608. type: integer
  16609. wrtypename:
  16610. description: 商品
  16611. type: string
  16612. type: object
  16613. models.WrTradeOrderDetail:
  16614. properties:
  16615. buyorsell:
  16616. description: 买卖方向 0-买 1-卖
  16617. type: integer
  16618. goodsid:
  16619. description: 商品id
  16620. type: integer
  16621. orderid:
  16622. description: 委托单号
  16623. type: string
  16624. orderprice:
  16625. description: 委托价格
  16626. type: number
  16627. orderqty:
  16628. description: 委托数量
  16629. type: integer
  16630. userid:
  16631. description: 用户id
  16632. type: integer
  16633. username:
  16634. description: 用户名称(已脱敏)
  16635. type: string
  16636. type: object
  16637. models.WrTypeItem:
  16638. properties:
  16639. name:
  16640. description: 名称
  16641. type: string
  16642. value:
  16643. description: 值
  16644. type: string
  16645. type: object
  16646. models.WrUserFriend:
  16647. properties:
  16648. friendname:
  16649. description: 朋友名称(已脱敏)
  16650. type: string
  16651. frienduserid:
  16652. description: 朋友id
  16653. type: integer
  16654. isfriend:
  16655. description: 是否好友 0-不是 1-是
  16656. type: integer
  16657. userid:
  16658. description: 用户id
  16659. type: integer
  16660. type: object
  16661. models.WrUserReceiptInfo:
  16662. properties:
  16663. address:
  16664. description: 地址[发票类型:企业]
  16665. type: string
  16666. autoid:
  16667. description: AutoID
  16668. type: integer
  16669. contactinfo:
  16670. description: 联系方式
  16671. type: string
  16672. idnum:
  16673. description: 身份证号码[发票类型:个人]
  16674. type: string
  16675. isdefault:
  16676. description: 是否默认地址 - 0:否 1:是
  16677. type: integer
  16678. receiptaccount:
  16679. description: 发票帐号[发票类型:企业]
  16680. type: string
  16681. receiptbank:
  16682. description: 发票开户行[发票类型:企业]
  16683. type: string
  16684. receipttype:
  16685. description: 发票类型 - 1:个人 2:企业
  16686. type: integer
  16687. taxpayerid:
  16688. description: 纳税人识别号
  16689. type: string
  16690. userid:
  16691. description: 用户ID
  16692. type: integer
  16693. username:
  16694. description: 户名(个人姓名或企业名称)
  16695. type: string
  16696. type: object
  16697. models.XHBRAND:
  16698. properties:
  16699. brandid:
  16700. description: 品牌id
  16701. type: integer
  16702. brandname:
  16703. description: 品牌名称
  16704. type: string
  16705. isvalid:
  16706. description: 是否有效 0-无效 1-有效
  16707. type: integer
  16708. type: object
  16709. models.XHDeliveryGoods:
  16710. properties:
  16711. areauserid:
  16712. description: 所属机构
  16713. type: integer
  16714. bdlst:
  16715. description: 品牌列表
  16716. items:
  16717. $ref: '#/definitions/models.XHBRAND'
  16718. type: array
  16719. deliverygoodscode:
  16720. description: 现货品种代码
  16721. type: string
  16722. deliverygoodsid:
  16723. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16724. type: integer
  16725. deliverygoodsname:
  16726. description: 现货品种名称
  16727. type: string
  16728. dgstatus:
  16729. description: 品种状态 - 作废 - 0:未激活 1:正常
  16730. type: integer
  16731. isvalid:
  16732. description: 是否有效 - 0:无效 1:有效
  16733. type: integer
  16734. remark:
  16735. description: 备注
  16736. type: string
  16737. unitid:
  16738. description: 单位id(目前看,数据库中是空值)
  16739. type: integer
  16740. wdlst:
  16741. description: 品类(现货商品)列表
  16742. items:
  16743. $ref: '#/definitions/models.XHWrstandard'
  16744. type: array
  16745. type: object
  16746. models.XHMiddleGoods:
  16747. properties:
  16748. convertratio:
  16749. description: 拆算系数
  16750. type: number
  16751. costratio:
  16752. description: 成本权重
  16753. type: number
  16754. deliverygoodsid:
  16755. description: 现货商品id
  16756. type: integer
  16757. enumdicname:
  16758. description: 单位名称
  16759. type: string
  16760. gplst:
  16761. description: 期货品种列表
  16762. items:
  16763. $ref: '#/definitions/models.TBGoodsGroup'
  16764. type: array
  16765. middlegoodscode:
  16766. description: 套保品种代码
  16767. type: string
  16768. middlegoodsid:
  16769. description: 套保品种id
  16770. type: integer
  16771. middlegoodsname:
  16772. description: 套保品种名称
  16773. type: string
  16774. unitid:
  16775. description: 单位id
  16776. type: integer
  16777. type: object
  16778. models.XHWrstandard:
  16779. properties:
  16780. deliverygoodsid:
  16781. description: 品种ID
  16782. type: integer
  16783. enumdicname:
  16784. description: 单位名称
  16785. type: string
  16786. mglst:
  16787. description: 套保品列表
  16788. items:
  16789. $ref: '#/definitions/models.XHMiddleGoods'
  16790. type: array
  16791. unitid:
  16792. description: 单位id
  16793. type: integer
  16794. vatrate:
  16795. description: 增值税率
  16796. type: number
  16797. wrstandardcode:
  16798. description: 现货商品代码
  16799. type: string
  16800. wrstandardid:
  16801. description: 现货商品ID(SEQ_WRSTANDARD)
  16802. type: integer
  16803. wrstandardname:
  16804. description: 现货商品名称
  16805. type: string
  16806. type: object
  16807. order.QueryHisTradeDetailRsp:
  16808. properties:
  16809. accountid:
  16810. description: 账户ID[报价币种]
  16811. type: integer
  16812. advanceratio:
  16813. description: 首付比率
  16814. type: number
  16815. buildtype:
  16816. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16817. type: integer
  16818. buyorsell:
  16819. description: 方向 - 0:买 1:卖
  16820. type: integer
  16821. charge:
  16822. description: 手续费
  16823. type: number
  16824. closecharge:
  16825. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16826. type: number
  16827. closeexchagechargevalue:
  16828. description: 平仓交易所手续费设置值
  16829. type: number
  16830. closefeealgorithm:
  16831. description: 平仓手续费收取方式 1:比率 2:固定
  16832. type: integer
  16833. closememberchargevalue:
  16834. description: 平仓会员手续费设置值
  16835. type: number
  16836. closepl:
  16837. description: 平仓盈亏
  16838. type: number
  16839. closepl2:
  16840. description: 平仓盈亏[逐笔]
  16841. type: number
  16842. closeqty:
  16843. description: 平仓数量(先建后平操作 需要记录)
  16844. type: number
  16845. creditamount:
  16846. description: 授信金额
  16847. type: number
  16848. decimalplace:
  16849. description: 商品报价小数位
  16850. type: integer
  16851. enumdicname:
  16852. description: 单位名称
  16853. type: string
  16854. gcaccountid:
  16855. description: 账户ID[合约币种]
  16856. type: integer
  16857. goodscode:
  16858. description: 商品代码
  16859. type: string
  16860. goodsid:
  16861. description: 商品ID
  16862. type: integer
  16863. goodsname:
  16864. description: 商品名称
  16865. type: string
  16866. goodunitid:
  16867. description: 商品单位id
  16868. type: integer
  16869. histradedate:
  16870. description: 历史交易日
  16871. type: string
  16872. intclosepl:
  16873. description: 整型盈亏(用于交易结算试算平衡-收益权)
  16874. type: integer
  16875. isconfirmexercise:
  16876. description: 是否确认行权- 0:否 1:是
  16877. type: integer
  16878. ismain:
  16879. description: 是否主单 - 0:不是 1:是
  16880. type: integer
  16881. ispreexercise:
  16882. description: 是否预申报- 0:否 1:是
  16883. type: integer
  16884. isreckoned:
  16885. description: 是否结算 - 0:未结算 1:已结算
  16886. type: integer
  16887. isvaliddata:
  16888. description: 是否有效 - 0:无效 1:有效
  16889. type: integer
  16890. listingselecttype:
  16891. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16892. type: integer
  16893. marketid:
  16894. description: 市场ID
  16895. type: integer
  16896. marketname:
  16897. description: 市场名称
  16898. type: string
  16899. matchaccountid:
  16900. description: 对手账号id
  16901. type: integer
  16902. memberuserid:
  16903. description: 会员id 个人投资者 需要填写
  16904. type: integer
  16905. opencharge:
  16906. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16907. type: number
  16908. openexchagechargevalue:
  16909. description: 建仓交易所手续费设置值
  16910. type: number
  16911. openfeealgorithm:
  16912. description: 建仓手续费收取方式 1:比率 2:固定
  16913. type: integer
  16914. openmemberchargevalue:
  16915. description: 建仓会员手续费设置值
  16916. type: number
  16917. openqty:
  16918. description: 开仓数量(先建后平操作 需要记录)
  16919. type: number
  16920. optiontype:
  16921. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16922. type: integer
  16923. orderid:
  16924. description: 委托单号
  16925. type: string
  16926. payamount:
  16927. description: 支付金额(付款金额)
  16928. type: number
  16929. performanceplanid:
  16930. description: 履约计划ID[期权]
  16931. type: integer
  16932. performancestatus:
  16933. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  16934. type: integer
  16935. preexerciseprice:
  16936. description: 预申报价格
  16937. type: number
  16938. premium:
  16939. description: 权利金 - [持仓单的权利金]
  16940. type: number
  16941. qtydecimalplace:
  16942. description: 商品报价小数位
  16943. type: integer
  16944. recvamount:
  16945. description: 到账金额 = 成交金额 - 手续费
  16946. type: number
  16947. relatedouttradeid:
  16948. description: 关联外部成交单ID
  16949. type: integer
  16950. status:
  16951. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  16952. type: integer
  16953. totalamount:
  16954. description: 订单总额 = 成交金额 + 手续费
  16955. type: number
  16956. tradeamount:
  16957. description: 成交金额[账户币种,用于所有权]
  16958. type: number
  16959. tradedate:
  16960. description: 交易日(yyyyMMdd)
  16961. type: string
  16962. tradeid:
  16963. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16964. type: string
  16965. trademode:
  16966. description: 交易模式
  16967. type: integer
  16968. tradeprice:
  16969. description: 成交价格
  16970. type: number
  16971. tradeproperty:
  16972. description: 交易属性
  16973. type: integer
  16974. tradeqty:
  16975. description: 成交数量
  16976. type: number
  16977. tradetime:
  16978. description: 成交时间
  16979. type: string
  16980. tradetype:
  16981. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  16982. type: integer
  16983. required:
  16984. - accountid
  16985. - buyorsell
  16986. - goodsid
  16987. - histradedate
  16988. - marketid
  16989. - memberuserid
  16990. - orderid
  16991. - tradeamount
  16992. - tradedate
  16993. - tradeid
  16994. - tradeprice
  16995. - tradeqty
  16996. - tradetime
  16997. type: object
  16998. order.QueryHisTradeOrderDetailRsp:
  16999. properties:
  17000. accountid:
  17001. description: 账户ID[报价币种]
  17002. type: integer
  17003. buildtype:
  17004. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17005. type: integer
  17006. buyorsell:
  17007. description: 买卖 - 0:买 1:卖
  17008. type: integer
  17009. cancelorderid:
  17010. description: 撤单单号(撤单时填写)
  17011. type: string
  17012. cancelqty:
  17013. description: 撤单数量
  17014. type: number
  17015. clientordertime:
  17016. description: 客户端委托时间
  17017. type: string
  17018. clientticket:
  17019. description: 客户端流水号
  17020. type: string
  17021. clienttype:
  17022. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17023. type: integer
  17024. closeexchagechargevalue:
  17025. description: 平仓交易所手续费设置值
  17026. type: number
  17027. closefeealgorithm:
  17028. description: 平仓手续费收取方式 1:比率 2:固定
  17029. type: integer
  17030. closefreezecharge:
  17031. description: 平仓冻结手续费(先建后平操作,需要记录)
  17032. type: number
  17033. closememberchargevalue:
  17034. description: 平仓会员手续费设置值
  17035. type: number
  17036. closeqty:
  17037. description: 平仓数量(先建后平操作 需要记录)
  17038. type: number
  17039. closetradeqty:
  17040. description: 平仓成交数量(先建后平操作,需要记录)
  17041. type: number
  17042. closeunfreezecharge:
  17043. description: 平仓解冻手续费(先建后平操作,需要记录)
  17044. type: number
  17045. decimalplace:
  17046. description: 商品报价小数位
  17047. type: integer
  17048. delistingtype:
  17049. description: 摘牌类型 - 1:价格最优 2:点选成交
  17050. type: integer
  17051. enumdicname:
  17052. description: 单位名称
  17053. type: string
  17054. freezecharge:
  17055. description: 冻结手续费
  17056. type: number
  17057. freezemargin:
  17058. description: 冻结保证金(冻结交易金额)
  17059. type: number
  17060. gcaccountid:
  17061. description: 账户ID[合约币种]
  17062. type: integer
  17063. goodscode:
  17064. description: 商品代码
  17065. type: string
  17066. goodsid:
  17067. description: 商品ID
  17068. type: integer
  17069. goodsname:
  17070. description: 商品名称
  17071. type: string
  17072. goodunitid:
  17073. description: 商品单位id
  17074. type: integer
  17075. histradedate:
  17076. description: 历史交易日
  17077. type: string
  17078. isconfirmexercise:
  17079. description: 是否确认行权- 0:否 1:是
  17080. type: integer
  17081. ispreexercise:
  17082. description: 是否预申报- 0:否 1:是
  17083. type: integer
  17084. isvaliddata:
  17085. description: 是否有效 - 0:无效 1:有效
  17086. type: integer
  17087. listingselecttype:
  17088. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17089. type: integer
  17090. marginalgorithm:
  17091. description: 保证金收取方式 1:比率 2:固定
  17092. type: integer
  17093. marginvalue:
  17094. description: 即市保证金设置值
  17095. type: number
  17096. marketid:
  17097. description: 市场ID
  17098. type: integer
  17099. marketmaxsub:
  17100. description: 市价最大偏移范围
  17101. type: number
  17102. marketname:
  17103. description: 市场名称
  17104. type: string
  17105. memberuserid:
  17106. description: 所属会员UserID
  17107. type: integer
  17108. openexchagechargevalue:
  17109. description: 建仓交易所手续费设置值
  17110. type: number
  17111. openfeealgorithm:
  17112. description: 建仓手续费收取方式 1:比率 2:固定
  17113. type: integer
  17114. openfreezecharge:
  17115. description: 开仓冻结手续费(先建后平操作,需要记录)
  17116. type: number
  17117. openmemberchargevalue:
  17118. description: 建仓会员手续费设置值
  17119. type: number
  17120. openqty:
  17121. description: 开仓数量(先建后平操作,需要记录)
  17122. type: number
  17123. opentradeqty:
  17124. description: 开仓成交数量(先建后平操作,需要记录)
  17125. type: number
  17126. openunfreezecharge:
  17127. description: 开仓解冻手续费(先建后平操作,需要记录)
  17128. type: number
  17129. operatetype:
  17130. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17131. type: integer
  17132. operatorid:
  17133. description: 登录账号(LoginID)
  17134. type: integer
  17135. optiontype:
  17136. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17137. type: integer
  17138. orderid:
  17139. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17140. type: string
  17141. orderprice:
  17142. description: 委托价格
  17143. type: number
  17144. orderqty:
  17145. description: 委托数量
  17146. type: number
  17147. ordersrc:
  17148. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17149. type: integer
  17150. orderstatus:
  17151. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17152. type: integer
  17153. ordertime:
  17154. description: 委托时间
  17155. type: string
  17156. preexerciseprice:
  17157. description: 预申报价格
  17158. type: number
  17159. premium:
  17160. description: 权利金
  17161. type: number
  17162. preorderid:
  17163. description: 关联预埋单号(止盈止损单时填写)
  17164. type: string
  17165. pricemode:
  17166. description: '取价方式 - 1:市价 2: 限价'
  17167. type: integer
  17168. qtydecimalplace:
  17169. description: 成交量小数位
  17170. type: integer
  17171. quoteid:
  17172. description: 报价单ID
  17173. type: integer
  17174. relatedid:
  17175. description: 关联单号(交割单)
  17176. type: string
  17177. retcode:
  17178. description: 错误代码
  17179. type: integer
  17180. sessionid:
  17181. description: 会话ID
  17182. type: integer
  17183. tradedate:
  17184. description: 交易日(yyyyMMdd)
  17185. type: string
  17186. trademode:
  17187. description: 交易模式
  17188. type: integer
  17189. tradeproperty:
  17190. description: 交易属性
  17191. type: integer
  17192. tradeqty:
  17193. description: 成交数量
  17194. type: number
  17195. unfreezecharge:
  17196. description: 解冻手续费
  17197. type: number
  17198. unfreezemargin:
  17199. description: 解冻保证金
  17200. type: number
  17201. updatetime:
  17202. description: 更新时间
  17203. type: string
  17204. uuid:
  17205. description: 发起端唯一id
  17206. type: string
  17207. validtime:
  17208. description: 有效期限
  17209. type: string
  17210. validtype:
  17211. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17212. type: integer
  17213. volumetype:
  17214. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17215. type: integer
  17216. required:
  17217. - accountid
  17218. - buildtype
  17219. - buyorsell
  17220. - goodsid
  17221. - histradedate
  17222. - marketid
  17223. - memberuserid
  17224. - operatetype
  17225. - orderid
  17226. - orderqty
  17227. - ordertime
  17228. - pricemode
  17229. - tradedate
  17230. - validtype
  17231. type: object
  17232. order.QueryTradeDetailRsp:
  17233. properties:
  17234. accountid:
  17235. description: 账户ID[报价币种]
  17236. type: integer
  17237. advanceratio:
  17238. description: 首付比率
  17239. type: number
  17240. buildtype:
  17241. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17242. type: integer
  17243. buyorsell:
  17244. description: 方向 - 0:买 1:卖
  17245. type: integer
  17246. charge:
  17247. description: 手续费
  17248. type: number
  17249. closecharge:
  17250. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17251. type: number
  17252. closeexchagechargevalue:
  17253. description: 平仓交易所手续费设置值
  17254. type: number
  17255. closefeealgorithm:
  17256. description: 平仓手续费收取方式 1:比率 2:固定
  17257. type: integer
  17258. closememberchargevalue:
  17259. description: 平仓会员手续费设置值
  17260. type: number
  17261. closepl:
  17262. description: 平仓盈亏
  17263. type: number
  17264. closepl2:
  17265. description: 平仓盈亏[逐笔]
  17266. type: number
  17267. closeqty:
  17268. description: 平仓数量(先建后平操作 需要记录)
  17269. type: number
  17270. creditamount:
  17271. description: 授信金额
  17272. type: number
  17273. decimalplace:
  17274. description: 商品报价小数位
  17275. type: integer
  17276. enumdicname:
  17277. description: 单位名称
  17278. type: string
  17279. gcaccountid:
  17280. description: 账户ID[合约币种]
  17281. type: integer
  17282. goodscode:
  17283. description: 商品代码
  17284. type: string
  17285. goodsid:
  17286. description: 商品ID
  17287. type: integer
  17288. goodsname:
  17289. description: 商品名称
  17290. type: string
  17291. goodunitid:
  17292. description: 商品单位id
  17293. type: integer
  17294. intclosepl:
  17295. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17296. type: integer
  17297. isconfirmexercise:
  17298. description: 是否确认行权- 0:否 1:是
  17299. type: integer
  17300. ismain:
  17301. description: 是否主单 - 0:不是 1:是
  17302. type: integer
  17303. ispreexercise:
  17304. description: 是否预申报- 0:否 1:是
  17305. type: integer
  17306. isreckoned:
  17307. description: 是否结算 - 0:未结算 1:已结算
  17308. type: integer
  17309. listingselecttype:
  17310. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17311. type: integer
  17312. marketid:
  17313. description: 市场ID
  17314. type: integer
  17315. marketname:
  17316. description: 市场名称
  17317. type: string
  17318. matchaccountid:
  17319. description: 对手账号id
  17320. type: integer
  17321. memberuserid:
  17322. description: 会员id 个人投资者 需要填写
  17323. type: integer
  17324. opencharge:
  17325. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17326. type: number
  17327. openexchagechargevalue:
  17328. description: 建仓交易所手续费设置值
  17329. type: number
  17330. openfeealgorithm:
  17331. description: 建仓手续费收取方式 1:比率 2:固定
  17332. type: integer
  17333. openmemberchargevalue:
  17334. description: 建仓会员手续费设置值
  17335. type: number
  17336. openqty:
  17337. description: 开仓数量(先建后平操作 需要记录)
  17338. type: number
  17339. optiontype:
  17340. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17341. type: integer
  17342. orderid:
  17343. description: 委托单号
  17344. type: string
  17345. payamount:
  17346. description: 支付金额(付款金额)
  17347. type: number
  17348. performanceplanid:
  17349. description: 履约计划ID[期权]
  17350. type: integer
  17351. performancestatus:
  17352. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17353. type: integer
  17354. preexerciseprice:
  17355. description: 预申报价格
  17356. type: number
  17357. premium:
  17358. description: 权利金 - [持仓单的权利金]
  17359. type: number
  17360. qtydecimalplace:
  17361. description: 商品报价小数位
  17362. type: integer
  17363. recvamount:
  17364. description: 到账金额 = 成交金额 - 手续费
  17365. type: number
  17366. relatedouttradeid:
  17367. description: 关联外部成交单ID
  17368. type: integer
  17369. status:
  17370. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17371. type: integer
  17372. totalamount:
  17373. description: 订单总额 = 成交金额 + 手续费
  17374. type: number
  17375. tradeamount:
  17376. description: 成交金额[账户币种,用于所有权]
  17377. type: number
  17378. tradedate:
  17379. description: 交易日(yyyyMMdd)
  17380. type: string
  17381. tradeid:
  17382. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17383. type: string
  17384. trademode:
  17385. description: 交易模式
  17386. type: integer
  17387. tradeprice:
  17388. description: 成交价格
  17389. type: number
  17390. tradeproperty:
  17391. description: 交易属性
  17392. type: integer
  17393. tradeqty:
  17394. description: 成交数量
  17395. type: number
  17396. tradetime:
  17397. description: 成交时间
  17398. type: string
  17399. tradetype:
  17400. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17401. type: integer
  17402. required:
  17403. - accountid
  17404. - buyorsell
  17405. - goodsid
  17406. - marketid
  17407. - memberuserid
  17408. - orderid
  17409. - tradeamount
  17410. - tradedate
  17411. - tradeid
  17412. - tradeprice
  17413. - tradeqty
  17414. - tradetime
  17415. type: object
  17416. order.QueryTradeOrderDetailRsp:
  17417. properties:
  17418. accountid:
  17419. description: 账户ID[报价币种]
  17420. type: integer
  17421. buildtype:
  17422. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17423. type: integer
  17424. buyorsell:
  17425. description: 买卖 - 0:买 1:卖
  17426. type: integer
  17427. cancelorderid:
  17428. description: 撤单单号(撤单时填写)
  17429. type: string
  17430. cancelqty:
  17431. description: 撤单数量
  17432. type: number
  17433. clienttype:
  17434. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17435. type: integer
  17436. closefreezecharge:
  17437. description: 平仓冻结手续费(先建后平操作,需要记录)
  17438. type: number
  17439. closeqty:
  17440. description: 平仓数量(先建后平操作 需要记录)
  17441. type: number
  17442. closetradeqty:
  17443. description: 平仓成交数量(先建后平操作,需要记录)
  17444. type: number
  17445. closeunfreezecharge:
  17446. description: 平仓解冻手续费(先建后平操作,需要记录)
  17447. type: number
  17448. decimalplace:
  17449. description: 商品报价小数位
  17450. type: integer
  17451. delistingtype:
  17452. description: 摘牌类型 - 1:价格最优 2:点选成交
  17453. type: integer
  17454. enableqty:
  17455. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17456. type: number
  17457. enumdicname:
  17458. description: 单位名称
  17459. type: string
  17460. freezecharge:
  17461. description: 冻结手续费
  17462. type: number
  17463. freezemargin:
  17464. description: 冻结保证金(冻结交易金额)
  17465. type: number
  17466. goodscode:
  17467. description: 商品代码
  17468. type: string
  17469. goodsid:
  17470. description: 商品ID
  17471. type: integer
  17472. goodsname:
  17473. description: 商品名称
  17474. type: string
  17475. goodunitid:
  17476. description: 商品单位id
  17477. type: integer
  17478. listingselecttype:
  17479. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17480. type: integer
  17481. marketid:
  17482. description: 市场ID
  17483. type: integer
  17484. marketname:
  17485. description: 市场名称
  17486. type: string
  17487. openfreezecharge:
  17488. description: 开仓冻结手续费(先建后平操作,需要记录)
  17489. type: number
  17490. openqty:
  17491. description: 开仓数量(先建后平操作,需要记录)
  17492. type: number
  17493. opentradeqty:
  17494. description: 开仓成交数量(先建后平操作,需要记录)
  17495. type: number
  17496. openunfreezecharge:
  17497. description: 开仓解冻手续费(先建后平操作,需要记录)
  17498. type: number
  17499. operatetype:
  17500. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17501. type: integer
  17502. operatorid:
  17503. description: 登录账号(LoginID)
  17504. type: integer
  17505. orderid:
  17506. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17507. type: string
  17508. orderprice:
  17509. description: 委托价格
  17510. type: number
  17511. orderqty:
  17512. description: 委托数量
  17513. type: number
  17514. ordersrc:
  17515. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17516. type: integer
  17517. orderstatus:
  17518. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17519. type: integer
  17520. ordertime:
  17521. description: 委托时间
  17522. type: string
  17523. preorderid:
  17524. description: 关联预埋单号(止盈止损单时填写)
  17525. type: string
  17526. pricemode:
  17527. description: '取价方式 - 1:市价 2: 限价'
  17528. type: integer
  17529. qtydecimalplace:
  17530. description: 商品报价小数位
  17531. type: integer
  17532. relatedid:
  17533. description: 关联单号(交割单)
  17534. type: string
  17535. tradedate:
  17536. description: 交易日(yyyyMMdd)
  17537. type: string
  17538. trademode:
  17539. description: 交易模式
  17540. type: integer
  17541. tradeqty:
  17542. description: 成交数量
  17543. type: number
  17544. unfreezecharge:
  17545. description: 解冻手续费
  17546. type: number
  17547. unfreezemargin:
  17548. description: 解冻保证金
  17549. type: number
  17550. validtime:
  17551. description: 有效期限
  17552. type: string
  17553. validtype:
  17554. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17555. type: integer
  17556. volumetype:
  17557. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17558. type: integer
  17559. required:
  17560. - accountid
  17561. - buildtype
  17562. - buyorsell
  17563. - goodsid
  17564. - marketid
  17565. - operatetype
  17566. - orderqty
  17567. - ordertime
  17568. - pricemode
  17569. - tradedate
  17570. - validtype
  17571. type: object
  17572. order.QueryTradePositionRsp:
  17573. properties:
  17574. accountid:
  17575. description: 资金账户
  17576. type: integer
  17577. agreeunit:
  17578. description: 合约单位
  17579. type: number
  17580. averageprice:
  17581. description: 持仓均价
  17582. type: number
  17583. buyorsell:
  17584. description: 方向 - 0:买 1:卖
  17585. type: integer
  17586. closetotalqty:
  17587. description: 平仓总数量
  17588. type: number
  17589. curholderamount:
  17590. description: 当前持仓总金额[商品币种]
  17591. type: number
  17592. curpositionqty:
  17593. description: 当前持仓总数量
  17594. type: number
  17595. currencyid:
  17596. description: 报价货币ID
  17597. type: integer
  17598. curtdposition:
  17599. description: 期末今日头寸
  17600. type: number
  17601. decimalplace:
  17602. description: 报价小数位
  17603. type: integer
  17604. enableqty:
  17605. description: 可用量
  17606. type: number
  17607. fretdposition:
  17608. description: 冻结今日头寸
  17609. type: number
  17610. frozenqty:
  17611. description: 持仓冻结数量
  17612. type: number
  17613. goodscode:
  17614. description: 商品代码
  17615. type: string
  17616. goodsid:
  17617. description: 商品Id
  17618. type: integer
  17619. goodsname:
  17620. description: 商品名称
  17621. type: string
  17622. goodunit:
  17623. description: 报价单位
  17624. type: string
  17625. goodunitid:
  17626. description: 报价单位ID
  17627. type: integer
  17628. holderamount:
  17629. description: 期初持仓总金额[商品币种]
  17630. type: number
  17631. lastprice:
  17632. description: 最新价
  17633. type: number
  17634. marketamount:
  17635. description: 市值
  17636. type: number
  17637. marketid:
  17638. description: 所属市场ID
  17639. type: integer
  17640. openreqqty:
  17641. description: 开仓申请数量(用于比较最大持仓数量)
  17642. type: number
  17643. opentotalqty:
  17644. description: 开仓总数量
  17645. type: number
  17646. otherfrozenqty:
  17647. description: 持仓其他冻结数量(交割冻结)
  17648. type: number
  17649. positionpl:
  17650. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  17651. type: number
  17652. positionplrate:
  17653. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  17654. type: number
  17655. positionqty:
  17656. description: 期初持仓数量
  17657. type: number
  17658. qtydecimalplace:
  17659. description: 成交量小数位
  17660. type: integer
  17661. refgoodscode:
  17662. description: 参考商品代码
  17663. type: string
  17664. refgoodsid:
  17665. description: 参考商品ID
  17666. type: integer
  17667. tnqty:
  17668. description: T+N冻结总量
  17669. type: number
  17670. tnusedqty:
  17671. description: T+N使用量(可以使用T+N的冻结数量)
  17672. type: number
  17673. trademode:
  17674. description: 交易模式
  17675. type: integer
  17676. tradeproperty:
  17677. description: 交易属性
  17678. type: integer
  17679. usedmargin:
  17680. description: 占用保证金[商品币种]
  17681. type: number
  17682. required:
  17683. - goodsid
  17684. type: object
  17685. pb.GoodsMarginCfgStruct:
  17686. properties:
  17687. CustomerTypeID:
  17688. description: 投资者客户类型
  17689. type: integer
  17690. GoodsID:
  17691. description: 商品ID
  17692. type: integer
  17693. IsDefault:
  17694. description: 是否默认标志位
  17695. type: integer
  17696. LockMarginValue:
  17697. description: 锁仓保证金
  17698. type: number
  17699. MarginAlgorithm:
  17700. description: 保证金计算方式
  17701. type: integer
  17702. MarketMarginValue:
  17703. description: 即市保证金值
  17704. type: number
  17705. RealMarginAlgorithm:
  17706. description: 实付保证金计算方式
  17707. type: integer
  17708. RealMarginValue:
  17709. description: 实付比例
  17710. type: number
  17711. ReckonMarginValue:
  17712. description: 结算保证金值
  17713. type: number
  17714. type: object
  17715. quote.HistoryData:
  17716. properties:
  17717. c:
  17718. description: 收盘价
  17719. type: number
  17720. f:
  17721. description: 是否补充数据
  17722. type: boolean
  17723. h:
  17724. description: 最高价
  17725. type: number
  17726. hv:
  17727. description: 持仓量
  17728. type: integer
  17729. l:
  17730. description: 最低价
  17731. type: number
  17732. o:
  17733. description: 开盘价
  17734. type: number
  17735. s:
  17736. description: 结算价,日线周期(包括)以上才有
  17737. type: number
  17738. ts:
  17739. description: 时间
  17740. type: string
  17741. tt:
  17742. description: 总金额
  17743. type: number
  17744. tv:
  17745. description: 总量(成交量)
  17746. type: integer
  17747. type: object
  17748. quote.HistoryTikData:
  17749. properties:
  17750. AV:
  17751. description: 卖量
  17752. type: integer
  17753. Ask:
  17754. description: 卖价
  17755. type: number
  17756. BV:
  17757. description: 买量
  17758. type: integer
  17759. Bid:
  17760. description: 买价
  17761. type: number
  17762. HI:
  17763. description: 单笔持仓
  17764. type: integer
  17765. HV:
  17766. description: 持仓量
  17767. type: integer
  17768. PE:
  17769. description: 现价
  17770. type: number
  17771. TDR:
  17772. description: 交易方向,0:买 1:卖
  17773. type: integer
  17774. TK:
  17775. description: 交易类型
  17776. type: integer
  17777. TS:
  17778. description: 行情时间文本
  17779. type: string
  17780. TT:
  17781. description: 现金额
  17782. type: number
  17783. Vol:
  17784. description: 现量
  17785. type: integer
  17786. type: object
  17787. quote.QueryQuoteDayRsp:
  17788. properties:
  17789. ask:
  17790. description: 卖1
  17791. type: number
  17792. ask2:
  17793. description: 卖2
  17794. type: number
  17795. ask3:
  17796. description: 卖3
  17797. type: number
  17798. ask4:
  17799. description: 卖4
  17800. type: number
  17801. ask5:
  17802. description: 卖5
  17803. type: number
  17804. ask6:
  17805. description: 卖6
  17806. type: number
  17807. ask7:
  17808. description: 卖7
  17809. type: number
  17810. ask8:
  17811. description: 卖8
  17812. type: number
  17813. ask9:
  17814. description: 卖9
  17815. type: number
  17816. ask10:
  17817. description: 卖10
  17818. type: number
  17819. askorderid:
  17820. description: 卖单号1
  17821. type: integer
  17822. askorderid2:
  17823. description: 卖单号2
  17824. type: integer
  17825. askorderid3:
  17826. description: 卖单号3
  17827. type: integer
  17828. askorderid4:
  17829. description: 卖单号4
  17830. type: integer
  17831. askorderid5:
  17832. description: 卖单号5
  17833. type: integer
  17834. askordervolume:
  17835. description: 卖单量1
  17836. type: integer
  17837. askordervolume2:
  17838. description: 卖单量2
  17839. type: integer
  17840. askordervolume3:
  17841. description: 卖单量3
  17842. type: integer
  17843. askordervolume4:
  17844. description: 卖单量4
  17845. type: integer
  17846. askordervolume5:
  17847. description: 卖单量5
  17848. type: integer
  17849. askordervolume6:
  17850. description: 卖单量6
  17851. type: integer
  17852. askordervolume7:
  17853. description: 卖单量7
  17854. type: integer
  17855. askordervolume8:
  17856. description: 卖单量8
  17857. type: integer
  17858. askordervolume9:
  17859. description: 卖单量9
  17860. type: integer
  17861. askordervolume10:
  17862. description: 卖单量10
  17863. type: integer
  17864. askqueueinfo:
  17865. description: 大利市卖港股用
  17866. type: string
  17867. askvolume:
  17868. description: 卖量1
  17869. type: integer
  17870. askvolume2:
  17871. description: 卖量2
  17872. type: integer
  17873. askvolume3:
  17874. description: 卖量3
  17875. type: integer
  17876. askvolume4:
  17877. description: 卖量4
  17878. type: integer
  17879. askvolume5:
  17880. description: 卖量5
  17881. type: integer
  17882. askvolume6:
  17883. description: 卖量6
  17884. type: integer
  17885. askvolume7:
  17886. description: 卖量7
  17887. type: integer
  17888. askvolume8:
  17889. description: 卖量8
  17890. type: integer
  17891. askvolume9:
  17892. description: 卖量9
  17893. type: integer
  17894. askvolume10:
  17895. description: 卖量10
  17896. type: integer
  17897. averageprice:
  17898. description: 均价
  17899. type: number
  17900. bid:
  17901. description: 买1
  17902. type: number
  17903. bid2:
  17904. description: 买2
  17905. type: number
  17906. bid3:
  17907. description: 买3
  17908. type: number
  17909. bid4:
  17910. description: 买4
  17911. type: number
  17912. bid5:
  17913. description: 买5
  17914. type: number
  17915. bid6:
  17916. description: 买6
  17917. type: number
  17918. bid7:
  17919. description: 买7
  17920. type: number
  17921. bid8:
  17922. description: 买8
  17923. type: number
  17924. bid9:
  17925. description: 买9
  17926. type: number
  17927. bid10:
  17928. description: 买10
  17929. type: number
  17930. bidorderid:
  17931. description: 买单号1
  17932. type: integer
  17933. bidorderid2:
  17934. description: 买单号2
  17935. type: integer
  17936. bidorderid3:
  17937. description: 买单号3
  17938. type: integer
  17939. bidorderid4:
  17940. description: 买单号4
  17941. type: integer
  17942. bidorderid5:
  17943. description: 买单号5
  17944. type: integer
  17945. bidordervolume:
  17946. description: 买单量1
  17947. type: integer
  17948. bidordervolume2:
  17949. description: 买单量2
  17950. type: integer
  17951. bidordervolume3:
  17952. description: 买单量3
  17953. type: integer
  17954. bidordervolume4:
  17955. description: 买单量4
  17956. type: integer
  17957. bidordervolume5:
  17958. description: 买单量5
  17959. type: integer
  17960. bidordervolume6:
  17961. description: 买单量6
  17962. type: integer
  17963. bidordervolume7:
  17964. description: 买单量7
  17965. type: integer
  17966. bidordervolume8:
  17967. description: 买单量8
  17968. type: integer
  17969. bidordervolume9:
  17970. description: 买单量9
  17971. type: integer
  17972. bidordervolume10:
  17973. description: 买单量10
  17974. type: integer
  17975. bidqueueinfo:
  17976. description: 大利市买港股用
  17977. type: string
  17978. bidvolume:
  17979. description: 买量1
  17980. type: integer
  17981. bidvolume2:
  17982. description: 买量2
  17983. type: integer
  17984. bidvolume3:
  17985. description: 买量3
  17986. type: integer
  17987. bidvolume4:
  17988. description: 买量4
  17989. type: integer
  17990. bidvolume5:
  17991. description: 买量5
  17992. type: integer
  17993. bidvolume6:
  17994. description: 买量6
  17995. type: integer
  17996. bidvolume7:
  17997. description: 买量7
  17998. type: integer
  17999. bidvolume8:
  18000. description: 买量8
  18001. type: integer
  18002. bidvolume9:
  18003. description: 买量9
  18004. type: integer
  18005. bidvolume10:
  18006. description: 买量10
  18007. type: integer
  18008. calloptionpremiums:
  18009. description: 认购期权1
  18010. type: integer
  18011. calloptionpremiums2:
  18012. description: 认购期权2
  18013. type: integer
  18014. calloptionpremiums3:
  18015. description: 认购期权3
  18016. type: integer
  18017. calloptionpremiums4:
  18018. description: 认购期权4
  18019. type: integer
  18020. calloptionpremiums5:
  18021. description: 认购期权5
  18022. type: integer
  18023. cleartime:
  18024. description: 清盘时间
  18025. type: integer
  18026. exchangecode:
  18027. description: 交易所代码
  18028. type: integer
  18029. exchangedate:
  18030. description: 交易日
  18031. type: integer
  18032. goodscode:
  18033. description: 商品代码
  18034. type: string
  18035. grepmarketprice:
  18036. description: 暗盘价 港股专用
  18037. type: number
  18038. highest:
  18039. description: 最高价
  18040. type: number
  18041. holdincrement:
  18042. description: 单笔持仓
  18043. type: integer
  18044. holdvolume:
  18045. description: 持仓
  18046. type: integer
  18047. iep:
  18048. description: 平衡价 港股专用
  18049. type: number
  18050. iev:
  18051. description: 平衡量 港股专用
  18052. type: number
  18053. inventory:
  18054. description: 库存
  18055. type: integer
  18056. iscleared:
  18057. description: 是否清盘标志
  18058. type: integer
  18059. issettled:
  18060. description: 是否结算标志
  18061. type: integer
  18062. last:
  18063. description: 最新价
  18064. type: number
  18065. lastlot:
  18066. description: 最新成交手数
  18067. type: integer
  18068. lasttime:
  18069. description: 行情时间(只有现价变化行情时间才变化)
  18070. type: string
  18071. lastturnover:
  18072. description: 最新成交金额
  18073. type: number
  18074. lastvolume:
  18075. description: 最新成交量
  18076. type: integer
  18077. limitdown:
  18078. description: 跌停价
  18079. type: number
  18080. limitup:
  18081. description: 涨停价
  18082. type: number
  18083. lowest:
  18084. description: 最低价
  18085. type: number
  18086. nontotalholdervolume:
  18087. description: 非交易持仓量
  18088. type: integer
  18089. nontotallot:
  18090. description: 非交易总手数
  18091. type: integer
  18092. nontotalturnover:
  18093. description: 非交易总金额
  18094. type: integer
  18095. nontotalvolume:
  18096. description: 非交易总量
  18097. type: integer
  18098. opened:
  18099. description: 开盘价
  18100. type: number
  18101. opentime:
  18102. description: 开盘时间
  18103. type: string
  18104. orderid:
  18105. description: 序号
  18106. type: integer
  18107. preclose:
  18108. description: 昨收
  18109. type: number
  18110. preholdvolume:
  18111. description: 昨持仓
  18112. type: integer
  18113. presettle:
  18114. description: 昨结价
  18115. type: number
  18116. publictradetype:
  18117. description: 公共交易标志类型 港股专用
  18118. type: string
  18119. putoptionpremiums:
  18120. description: 认沽期权1
  18121. type: integer
  18122. putoptionpremiums2:
  18123. description: 认沽期权2
  18124. type: integer
  18125. putoptionpremiums3:
  18126. description: 认沽期权3
  18127. type: integer
  18128. putoptionpremiums4:
  18129. description: 认沽期权4
  18130. type: integer
  18131. putoptionpremiums5:
  18132. description: 认沽期权5
  18133. type: integer
  18134. settle:
  18135. description: 结算价
  18136. type: number
  18137. strikeprice:
  18138. description: 发行价
  18139. type: number
  18140. totalaskvolume:
  18141. description: 内盘
  18142. type: integer
  18143. totalbidvolume:
  18144. description: 外盘
  18145. type: integer
  18146. totallot:
  18147. description: 总手数
  18148. type: integer
  18149. totalturnover:
  18150. description: 总金额
  18151. type: number
  18152. totalvolume:
  18153. description: 总量
  18154. type: integer
  18155. utclasttime:
  18156. description: utc的行情时间
  18157. type: string
  18158. type: object
  18159. quote.QueryTSDataRsp:
  18160. properties:
  18161. Count:
  18162. description: 交易日应有数据个数
  18163. type: integer
  18164. decimalPlace:
  18165. description: 小数位
  18166. type: integer
  18167. endTime:
  18168. description: 结束时间
  18169. type: string
  18170. goodsCode:
  18171. description: 商品代码
  18172. type: string
  18173. historyDatas:
  18174. description: 历史数据
  18175. items:
  18176. $ref: '#/definitions/quote.HistoryData'
  18177. type: array
  18178. outGoodsCode:
  18179. description: 外部商品代码
  18180. type: string
  18181. preSettle:
  18182. description: 昨结价
  18183. type: number
  18184. runSteps:
  18185. description: 交易日开休市计划
  18186. items:
  18187. $ref: '#/definitions/quote.TSDataRunStep'
  18188. type: array
  18189. startTime:
  18190. description: 开始时间
  18191. type: string
  18192. tradeDate:
  18193. description: 交易日
  18194. type: string
  18195. type: object
  18196. quote.TSDataRunStep:
  18197. properties:
  18198. end:
  18199. description: 真实结束时间
  18200. type: string
  18201. endflag:
  18202. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18203. type: integer
  18204. endtime:
  18205. description: 结束时间(HH:mm)
  18206. type: string
  18207. endweekday:
  18208. description: 结束周几
  18209. type: integer
  18210. groupid:
  18211. description: 分组ID
  18212. type: integer
  18213. runstep:
  18214. description: 运行阶段 - 2:连续交易
  18215. type: integer
  18216. sectionid:
  18217. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几
  18218. type: integer
  18219. start:
  18220. description: 真实开始时间
  18221. type: string
  18222. startflag:
  18223. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18224. type: integer
  18225. starttime:
  18226. description: 起始时间(HH:mm)
  18227. type: string
  18228. startweekday:
  18229. description: 起始周几
  18230. type: integer
  18231. tradeweekday:
  18232. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18233. type: integer
  18234. type: object
  18235. szdz.QueryConvertLogRsp:
  18236. properties:
  18237. accountid:
  18238. description: 资金账户ID
  18239. type: integer
  18240. clientticket:
  18241. description: 客户端流水号
  18242. type: string
  18243. converttype:
  18244. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18245. type: integer
  18246. createtime:
  18247. description: 记账时间
  18248. type: string
  18249. daymaxvalue:
  18250. description: 配置当日最大转入限制
  18251. type: number
  18252. daymaxvalue2:
  18253. description: 配置当日最大转入限制(转入)
  18254. type: number
  18255. goodscode:
  18256. description: 商品代码
  18257. type: string
  18258. goodsname:
  18259. description: 商品名称
  18260. type: string
  18261. handlestatus:
  18262. description: 处理状态
  18263. type: integer
  18264. innergoodsid:
  18265. description: 内部商品ID
  18266. type: integer
  18267. inratio:
  18268. description: 配置转入比值
  18269. type: integer
  18270. invalue:
  18271. description: 目标值
  18272. type: number
  18273. logid:
  18274. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18275. type: integer
  18276. mobile:
  18277. description: 手机号码(加密存储)
  18278. type: string
  18279. outergoodscode:
  18280. description: 外部商品代码[JD\PD]
  18281. type: string
  18282. outratio:
  18283. description: 配置转出比值
  18284. type: integer
  18285. outvalue:
  18286. description: 源值
  18287. type: number
  18288. pddecimalplace:
  18289. description: PD小数位
  18290. type: integer
  18291. qty:
  18292. description: 数量
  18293. type: string
  18294. remark:
  18295. description: 备注
  18296. type: string
  18297. sessionid:
  18298. description: 会话ID
  18299. type: integer
  18300. timemaxvalue:
  18301. description: 配置单次最大转入限制
  18302. type: number
  18303. timemaxvalue2:
  18304. description: 配置单次最大转入限制(转入)
  18305. type: number
  18306. timeminvalue:
  18307. description: 配置单次最小数量限制
  18308. type: number
  18309. timeminvalue2:
  18310. description: 配置单次最小数量限制(转入)
  18311. type: number
  18312. tradedate:
  18313. description: 交易日(yyyyMMdd)
  18314. type: string
  18315. userid:
  18316. description: 用户ID
  18317. type: integer
  18318. required:
  18319. - logid
  18320. type: object
  18321. szdz.QueryGoodsPickupRsp:
  18322. properties:
  18323. accountid:
  18324. description: 账户ID
  18325. type: integer
  18326. address:
  18327. description: 提货人详细地址
  18328. type: string
  18329. auditer:
  18330. description: 审核人
  18331. type: integer
  18332. audittime:
  18333. description: 审核时间
  18334. type: string
  18335. cardnum:
  18336. description: 提货人证件号码
  18337. type: string
  18338. cardtypeid:
  18339. description: 提货人证件类型
  18340. type: integer
  18341. checkremark:
  18342. description: 审核备注
  18343. type: string
  18344. goodscode:
  18345. description: 商品代码
  18346. type: string
  18347. goodsid:
  18348. description: 商品ID
  18349. type: integer
  18350. goodsname:
  18351. description: 商品名称
  18352. type: string
  18353. handlestatus:
  18354. description: 处理状态
  18355. type: integer
  18356. marketid:
  18357. description: 市场ID
  18358. type: integer
  18359. phonenum:
  18360. description: 提货人联系方式
  18361. type: string
  18362. qty:
  18363. description: 提货数量
  18364. type: number
  18365. recivername:
  18366. description: 提货人姓名
  18367. type: string
  18368. reqtime:
  18369. description: 更新时间
  18370. type: string
  18371. takemode:
  18372. description: 提货方式 - 2:自提 3:配送
  18373. type: integer
  18374. takeorderid:
  18375. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18376. type: string
  18377. takeorderstatus:
  18378. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18379. type: integer
  18380. takeremark:
  18381. description: 提货备注
  18382. type: string
  18383. tradedate:
  18384. description: 交易日(yyyyMMdd)
  18385. type: string
  18386. userid:
  18387. description: 用户ID
  18388. type: integer
  18389. required:
  18390. - takeorderid
  18391. type: object
  18392. szdz.QueryRecieptOrderRsp:
  18393. properties:
  18394. accountName:
  18395. description: 所属账号名称(已脱敏)
  18396. type: string
  18397. accountid:
  18398. description: 资金账号
  18399. type: integer
  18400. buyorsell:
  18401. description: 方向 - 0:买 1:卖
  18402. type: integer
  18403. enableqty:
  18404. description: 可摘数量
  18405. type: integer
  18406. goodscode:
  18407. description: 商品代码
  18408. type: string
  18409. goodsid:
  18410. description: 商品ID
  18411. type: integer
  18412. goodsname:
  18413. description: 商品名称
  18414. type: string
  18415. orderid:
  18416. description: 委托单号
  18417. type: string
  18418. orderprice:
  18419. description: 委托价格
  18420. type: number
  18421. ordertime:
  18422. description: 委托时间
  18423. type: string
  18424. tradedate:
  18425. description: 交易日(yyyyMMdd)
  18426. type: string
  18427. required:
  18428. - ordertime
  18429. type: object
  18430. szdz.QuerySZDZTradePositionRsp:
  18431. properties:
  18432. accountid:
  18433. description: 账号Id
  18434. type: integer
  18435. agreeunit:
  18436. description: 合约单位
  18437. type: number
  18438. averageprice:
  18439. description: 持仓均价
  18440. type: number
  18441. buyorsell:
  18442. description: 方向 - 0:买 1:卖
  18443. type: integer
  18444. closetotalqty:
  18445. description: 平仓总数量
  18446. type: integer
  18447. curholderamount:
  18448. description: 当前持仓总金额
  18449. type: number
  18450. curpositionqty:
  18451. description: 当前持仓总数量
  18452. type: integer
  18453. currencyid:
  18454. description: 报价货币ID
  18455. type: integer
  18456. curtdposition:
  18457. description: 期末今日头寸
  18458. type: integer
  18459. decimalplace:
  18460. description: 报价小数位
  18461. type: integer
  18462. enableqty:
  18463. description: 可用量
  18464. type: integer
  18465. fretdposition:
  18466. description: 冻结今日头寸
  18467. type: integer
  18468. frozenqty:
  18469. description: 持仓冻结数量
  18470. type: integer
  18471. goodscode:
  18472. description: 商品代码(内部)
  18473. type: string
  18474. goodsid:
  18475. description: 商品Id
  18476. type: integer
  18477. goodsname:
  18478. description: 商品名称
  18479. type: string
  18480. goodunit:
  18481. description: 报价单位
  18482. type: string
  18483. goodunitid:
  18484. description: 报价单位ID
  18485. type: integer
  18486. holderamount:
  18487. description: 期初持仓总金额
  18488. type: number
  18489. marketid:
  18490. description: 市场ID
  18491. type: integer
  18492. openreqqty:
  18493. description: 开仓申请数量
  18494. type: integer
  18495. opentotalqty:
  18496. description: 开仓总数量
  18497. type: integer
  18498. otherfrozenqty:
  18499. description: 持仓其他冻结数量(交割冻结)
  18500. type: integer
  18501. positionqty:
  18502. description: 期初持仓数量
  18503. type: integer
  18504. szdz3freezqty:
  18505. description: 尚志大宗转换冻结总数量
  18506. type: integer
  18507. tnqty:
  18508. description: T+N冻结总量
  18509. type: integer
  18510. tnusedqty:
  18511. description: T+N使用量
  18512. type: integer
  18513. trademode:
  18514. description: 交易模式
  18515. type: integer
  18516. usedmargin:
  18517. description: 占用保证金
  18518. type: number
  18519. type: object
  18520. taaccount.QueryAmountLogRsp:
  18521. properties:
  18522. OPERATETYPENAME:
  18523. description: 资金操作类型名称
  18524. type: string
  18525. accountid:
  18526. description: 资金账户ID
  18527. type: integer
  18528. agoodscode:
  18529. description: 竞拍商品代码
  18530. type: string
  18531. agoodsname:
  18532. description: 竞拍商品名称
  18533. type: string
  18534. amount:
  18535. description: 资金金额
  18536. type: number
  18537. amountadjusttype:
  18538. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18539. type: integer
  18540. autoid:
  18541. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18542. type: integer
  18543. balance:
  18544. description: 期初余额
  18545. type: number
  18546. businesscode:
  18547. description: 业务编号
  18548. type: integer
  18549. createtime:
  18550. description: 发生时间
  18551. type: string
  18552. currencyid:
  18553. description: 币种ID
  18554. type: integer
  18555. currentbalance:
  18556. description: 期末余额(变动后金额)
  18557. type: number
  18558. dgoodscode:
  18559. description: 交割商品代码
  18560. type: string
  18561. dgoodsname:
  18562. description: 交割商品名称
  18563. type: string
  18564. goodscode:
  18565. description: 商品代码
  18566. type: string
  18567. goodsid:
  18568. description: 商品ID
  18569. type: integer
  18570. goodsname:
  18571. description: 商品名称
  18572. type: string
  18573. marketid:
  18574. description: 市场ID
  18575. type: integer
  18576. marketname:
  18577. description: 市场名称
  18578. type: string
  18579. moneyticket:
  18580. description: 资金流水号:银行端流水号
  18581. type: integer
  18582. operatetype:
  18583. 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:营销收款
  18584. type: integer
  18585. relationorderid:
  18586. description: 关联单号
  18587. type: string
  18588. remark:
  18589. description: 备注
  18590. type: string
  18591. trademode:
  18592. description: 交易模式
  18593. type: integer
  18594. required:
  18595. - accountid
  18596. - amount
  18597. - amountadjusttype
  18598. - autoid
  18599. - balance
  18600. - createtime
  18601. - currentbalance
  18602. - operatetype
  18603. type: object
  18604. taaccount.QueryHisAmountLogRsp:
  18605. properties:
  18606. OPERATETYPENAME:
  18607. description: 资金操作类型名称
  18608. type: string
  18609. accountid:
  18610. description: 资金账户ID
  18611. type: integer
  18612. agoodscode:
  18613. description: 竞拍商品代码
  18614. type: string
  18615. agoodsname:
  18616. description: 竞拍商品名称
  18617. type: string
  18618. amount:
  18619. description: 资金金额
  18620. type: number
  18621. amountadjusttype:
  18622. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18623. type: integer
  18624. autoid:
  18625. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18626. type: integer
  18627. balance:
  18628. description: 期初余额
  18629. type: number
  18630. businesscode:
  18631. description: 业务编号
  18632. type: integer
  18633. createtime:
  18634. description: 发生时间
  18635. type: string
  18636. currencyid:
  18637. description: 币种ID
  18638. type: integer
  18639. currentbalance:
  18640. description: 期末余额(变动后金额)
  18641. type: number
  18642. dgoodscode:
  18643. description: 交割商品代码
  18644. type: string
  18645. dgoodsname:
  18646. description: 交割商品名称
  18647. type: string
  18648. goodscode:
  18649. description: 商品代码
  18650. type: string
  18651. goodsid:
  18652. description: 商品ID
  18653. type: integer
  18654. goodsname:
  18655. description: 商品名称
  18656. type: string
  18657. histradedate:
  18658. description: 历史交易日
  18659. type: string
  18660. isvaliddata:
  18661. description: 是否有效 - 0:无效 1:有效
  18662. type: integer
  18663. marketid:
  18664. description: 市场ID
  18665. type: integer
  18666. marketname:
  18667. description: 市场名称
  18668. type: string
  18669. moneyticket:
  18670. description: 资金流水号:银行端流水号
  18671. type: integer
  18672. operatetype:
  18673. 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:营销收款
  18674. type: integer
  18675. relationorderid:
  18676. description: 关联单号
  18677. type: string
  18678. remark:
  18679. description: 备注
  18680. type: string
  18681. trademode:
  18682. description: 交易模式
  18683. type: integer
  18684. required:
  18685. - accountid
  18686. - amount
  18687. - amountadjusttype
  18688. - autoid
  18689. - balance
  18690. - createtime
  18691. - currentbalance
  18692. - histradedate
  18693. - operatetype
  18694. type: object
  18695. trade.QueryRecieptOrderRsp:
  18696. properties:
  18697. accountName:
  18698. description: 所属账号名称(已脱敏)
  18699. type: string
  18700. accountid:
  18701. description: 资金账号
  18702. type: integer
  18703. buyorsell:
  18704. description: 方向 - 0:买 1:卖
  18705. type: integer
  18706. enableqty:
  18707. description: 可摘数量
  18708. type: integer
  18709. goodscode:
  18710. description: 商品代码
  18711. type: string
  18712. goodsid:
  18713. description: 商品ID
  18714. type: integer
  18715. goodsname:
  18716. description: 商品名称
  18717. type: string
  18718. orderid:
  18719. description: 委托单号
  18720. type: string
  18721. orderprice:
  18722. description: 委托价格
  18723. type: number
  18724. ordertime:
  18725. description: 委托时间
  18726. type: string
  18727. tradedate:
  18728. description: 交易日(yyyyMMdd)
  18729. type: string
  18730. required:
  18731. - ordertime
  18732. type: object
  18733. user.LoginQueryRsp:
  18734. properties:
  18735. areaRoles:
  18736. description: 所属角色信息
  18737. items:
  18738. $ref: '#/definitions/models.Arearole'
  18739. type: array
  18740. externalExchanges:
  18741. description: 外部交易所
  18742. items:
  18743. $ref: '#/definitions/models.Externalexchange'
  18744. type: array
  18745. goodsgroups:
  18746. description: 商品组
  18747. items:
  18748. $ref: '#/definitions/models.Goodsgroup'
  18749. type: array
  18750. loginAccount:
  18751. $ref: '#/definitions/models.Loginaccount'
  18752. description: 登录账号
  18753. markets:
  18754. description: 市场
  18755. items:
  18756. $ref: '#/definitions/models.Market'
  18757. type: array
  18758. systemParams:
  18759. description: 系统参数
  18760. items:
  18761. $ref: '#/definitions/models.Systemparam'
  18762. type: array
  18763. userAccount:
  18764. $ref: '#/definitions/models.Useraccount'
  18765. description: 用户账号
  18766. userInfo:
  18767. $ref: '#/definitions/models.Userinfo'
  18768. description: 用户信息
  18769. username:
  18770. description: 用户姓名
  18771. type: string
  18772. type: object
  18773. info:
  18774. contact: {}
  18775. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  18776. termsOfService: http://www.muchinfo.cn
  18777. title: MTP2.0 查询服务 API
  18778. version: "1.0"
  18779. paths:
  18780. /CPTrade/QueryCPTradeMyBidInfos:
  18781. get:
  18782. parameters:
  18783. - description: 资金账户
  18784. in: query
  18785. name: accountid
  18786. required: true
  18787. type: integer
  18788. - description: 预售市场ID
  18789. in: query
  18790. name: marketid
  18791. type: integer
  18792. - description: 预售商品ID
  18793. in: query
  18794. name: goodsid
  18795. type: integer
  18796. produces:
  18797. - application/json
  18798. responses:
  18799. "200":
  18800. description: OK
  18801. schema:
  18802. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  18803. "500":
  18804. description: Internal Server Error
  18805. schema:
  18806. $ref: '#/definitions/app.Response'
  18807. security:
  18808. - ApiKeyAuth: []
  18809. summary: 查询产能预售我的出价信息
  18810. tags:
  18811. - 产能预售
  18812. /CPTrade/QueryCPTradeOrderDetail:
  18813. get:
  18814. parameters:
  18815. - description: 预售商品ID
  18816. in: query
  18817. name: goodsid
  18818. type: integer
  18819. - description: 预售市场ID
  18820. in: query
  18821. name: marketid
  18822. type: integer
  18823. - description: 预售商品ID列表 - 格式:1,2,3
  18824. in: query
  18825. name: goodsids
  18826. type: string
  18827. produces:
  18828. - application/json
  18829. responses:
  18830. "200":
  18831. description: OK
  18832. schema:
  18833. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  18834. "500":
  18835. description: Internal Server Error
  18836. schema:
  18837. $ref: '#/definitions/app.Response'
  18838. security:
  18839. - ApiKeyAuth: []
  18840. summary: 查询产能预售委托单信息
  18841. tags:
  18842. - 产能预售
  18843. /CPTrade/QueryMyCPTradeGoods:
  18844. get:
  18845. parameters:
  18846. - description: 资金账户
  18847. in: query
  18848. name: accountid
  18849. required: true
  18850. type: integer
  18851. produces:
  18852. - application/json
  18853. responses:
  18854. "200":
  18855. description: OK
  18856. schema:
  18857. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  18858. "500":
  18859. description: Internal Server Error
  18860. schema:
  18861. $ref: '#/definitions/app.Response'
  18862. security:
  18863. - ApiKeyAuth: []
  18864. summary: 查询我的预售信息
  18865. tags:
  18866. - 产能预售
  18867. /CPTrade/QueryPositionCancel:
  18868. get:
  18869. parameters:
  18870. - description: 账户ID
  18871. in: query
  18872. name: userid
  18873. required: true
  18874. type: integer
  18875. - description: 注销ID
  18876. in: query
  18877. name: cancelid
  18878. type: integer
  18879. - description: 资金账户ID
  18880. in: query
  18881. name: accountid
  18882. type: integer
  18883. produces:
  18884. - application/json
  18885. responses:
  18886. "200":
  18887. description: OK
  18888. schema:
  18889. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  18890. "500":
  18891. description: Internal Server Error
  18892. schema:
  18893. $ref: '#/definitions/app.Response'
  18894. security:
  18895. - ApiKeyAuth: []
  18896. summary: 查询远期订单注销申请信息
  18897. tags:
  18898. - 产能预售
  18899. /CPTrade/QueryPreasleApply:
  18900. get:
  18901. parameters:
  18902. - description: 账户ID
  18903. in: query
  18904. name: userid
  18905. required: true
  18906. type: integer
  18907. - description: 申请ID
  18908. in: query
  18909. name: applyid
  18910. type: integer
  18911. - description: 资金账户ID
  18912. in: query
  18913. name: accountid
  18914. type: integer
  18915. produces:
  18916. - application/json
  18917. responses:
  18918. "200":
  18919. description: OK
  18920. schema:
  18921. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  18922. "500":
  18923. description: Internal Server Error
  18924. schema:
  18925. $ref: '#/definitions/app.Response'
  18926. security:
  18927. - ApiKeyAuth: []
  18928. summary: 查询产能预售申请信息
  18929. tags:
  18930. - 产能预售
  18931. /CPTrade/QueryPresaleGoodsEx:
  18932. get:
  18933. parameters:
  18934. - description: 预售商品ID
  18935. in: query
  18936. name: goodsid
  18937. type: integer
  18938. - description: 预售市场ID
  18939. in: query
  18940. name: marketid
  18941. type: integer
  18942. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  18943. in: query
  18944. name: presalemode
  18945. type: integer
  18946. - description: 预售商品ID列表 - 格式:1,2,3
  18947. in: query
  18948. name: goodsids
  18949. type: string
  18950. - description: 预售商品代码
  18951. in: query
  18952. name: goodscode
  18953. type: string
  18954. produces:
  18955. - application/json
  18956. responses:
  18957. "200":
  18958. description: OK
  18959. schema:
  18960. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  18961. "500":
  18962. description: Internal Server Error
  18963. schema:
  18964. $ref: '#/definitions/app.Response'
  18965. security:
  18966. - ApiKeyAuth: []
  18967. summary: 查询产能预售商品扩展信息
  18968. tags:
  18969. - 产能预售
  18970. /CPTrade/QueryUserGoodsData:
  18971. get:
  18972. parameters:
  18973. - description: 资金账户ID
  18974. in: query
  18975. name: accountid
  18976. required: true
  18977. type: integer
  18978. produces:
  18979. - application/json
  18980. responses:
  18981. "200":
  18982. description: OK
  18983. schema:
  18984. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  18985. "500":
  18986. description: Internal Server Error
  18987. schema:
  18988. $ref: '#/definitions/app.Response'
  18989. security:
  18990. - ApiKeyAuth: []
  18991. summary: 查询远期订单信息
  18992. tags:
  18993. - 产能预售
  18994. /Common/GetAllEnums:
  18995. get:
  18996. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  18997. parameters:
  18998. - description: 起始自增ID
  18999. in: query
  19000. name: autoid
  19001. type: integer
  19002. produces:
  19003. - application/json
  19004. responses:
  19005. "200":
  19006. description: OK
  19007. schema:
  19008. $ref: '#/definitions/models.Enumdicitem'
  19009. "500":
  19010. description: Internal Server Error
  19011. schema:
  19012. $ref: '#/definitions/app.Response'
  19013. summary: 获取所有枚举信息
  19014. tags:
  19015. - 通用服务
  19016. /Common/GetClientMenus:
  19017. get:
  19018. parameters:
  19019. - description: 登录账号
  19020. in: query
  19021. name: loginID
  19022. required: true
  19023. type: integer
  19024. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19025. in: query
  19026. name: clientType
  19027. type: integer
  19028. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19029. in: query
  19030. name: name
  19031. type: string
  19032. produces:
  19033. - application/json
  19034. responses:
  19035. "200":
  19036. description: OK
  19037. schema:
  19038. items:
  19039. $ref: '#/definitions/common.ClientMenu'
  19040. type: array
  19041. "500":
  19042. description: Internal Server Error
  19043. schema:
  19044. $ref: '#/definitions/app.Response'
  19045. security:
  19046. - ApiKeyAuth: []
  19047. summary: 获取交易端菜单
  19048. tags:
  19049. - 通用服务
  19050. /Common/GetDivisions:
  19051. get:
  19052. produces:
  19053. - application/json
  19054. responses:
  19055. "200":
  19056. description: OK
  19057. schema:
  19058. $ref: '#/definitions/models.Division'
  19059. "500":
  19060. description: Internal Server Error
  19061. schema:
  19062. $ref: '#/definitions/app.Response'
  19063. summary: 查询区域信息
  19064. tags:
  19065. - 通用服务
  19066. /Common/GetPCWebMenus:
  19067. get:
  19068. parameters:
  19069. - description: 登录账号
  19070. in: query
  19071. name: loginID
  19072. required: true
  19073. type: integer
  19074. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19075. in: query
  19076. name: name
  19077. type: string
  19078. produces:
  19079. - application/json
  19080. responses:
  19081. "200":
  19082. description: OK
  19083. schema:
  19084. items:
  19085. $ref: '#/definitions/common.PCWebMenu'
  19086. type: array
  19087. "500":
  19088. description: Internal Server Error
  19089. schema:
  19090. $ref: '#/definitions/app.Response'
  19091. security:
  19092. - ApiKeyAuth: []
  19093. summary: 获取PCWeb交易端菜单
  19094. tags:
  19095. - 通用服务
  19096. /Common/GetServerTime:
  19097. get:
  19098. produces:
  19099. - application/json
  19100. responses:
  19101. "200":
  19102. description: OK
  19103. schema:
  19104. $ref: '#/definitions/app.Response'
  19105. "500":
  19106. description: Internal Server Error
  19107. schema:
  19108. $ref: '#/definitions/app.Response'
  19109. summary: 获取服务器时间
  19110. tags:
  19111. - 通用服务
  19112. /Common/NoticeReaded:
  19113. post:
  19114. parameters:
  19115. - description: 登录账号
  19116. in: query
  19117. name: loginID
  19118. required: true
  19119. type: integer
  19120. - description: 通知公告ID
  19121. in: query
  19122. name: noticeID
  19123. required: true
  19124. type: integer
  19125. produces:
  19126. - application/json
  19127. responses:
  19128. "200":
  19129. description: OK
  19130. schema:
  19131. $ref: '#/definitions/app.Response'
  19132. "500":
  19133. description: Internal Server Error
  19134. schema:
  19135. $ref: '#/definitions/app.Response'
  19136. security:
  19137. - ApiKeyAuth: []
  19138. summary: 通知公告设置已读请求
  19139. tags:
  19140. - 通用服务
  19141. /Common/QueryErrorInfos:
  19142. get:
  19143. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19144. parameters:
  19145. - description: 起始行号前索引
  19146. in: query
  19147. name: rowNumber
  19148. type: string
  19149. produces:
  19150. - application/json
  19151. responses:
  19152. "200":
  19153. description: OK
  19154. schema:
  19155. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19156. "500":
  19157. description: Internal Server Error
  19158. schema:
  19159. $ref: '#/definitions/app.Response'
  19160. summary: 获取数据库错误信息
  19161. tags:
  19162. - 通用服务
  19163. /Common/QueryImageConfigs:
  19164. get:
  19165. parameters:
  19166. - description: 用户id
  19167. in: query
  19168. name: userId
  19169. type: integer
  19170. - description: 类型 - 1:App首页轮播 2:我的
  19171. in: query
  19172. name: imageType
  19173. type: integer
  19174. produces:
  19175. - application/json
  19176. responses:
  19177. "200":
  19178. description: OK
  19179. schema:
  19180. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19181. "500":
  19182. description: Internal Server Error
  19183. schema:
  19184. $ref: '#/definitions/app.Response'
  19185. summary: 查询轮播图配置信息
  19186. tags:
  19187. - 通用服务
  19188. /Common/QueryNotice:
  19189. get:
  19190. parameters:
  19191. - description: 页码
  19192. in: query
  19193. name: page
  19194. type: integer
  19195. - description: 每页条数
  19196. in: query
  19197. name: pagesize
  19198. type: integer
  19199. - description: 登录账号
  19200. in: query
  19201. name: loginID
  19202. required: true
  19203. type: integer
  19204. - description: 消息类型 - 1:公告通知 2:系统消息
  19205. in: query
  19206. name: msgType
  19207. type: integer
  19208. - description: 是否只获取未读信息
  19209. in: query
  19210. name: onlyUnRead
  19211. type: boolean
  19212. - description: 自增ID,传入后会返回这个ID后面的记录
  19213. in: query
  19214. name: lastID
  19215. type: integer
  19216. produces:
  19217. - application/json
  19218. responses:
  19219. "200":
  19220. description: OK
  19221. schema:
  19222. $ref: '#/definitions/common.QueryNoticeRsp'
  19223. "500":
  19224. description: Internal Server Error
  19225. schema:
  19226. $ref: '#/definitions/app.Response'
  19227. security:
  19228. - ApiKeyAuth: []
  19229. summary: 通知公告系统消息查询
  19230. tags:
  19231. - 通用服务
  19232. /Common/QueryProvincesAndCities:
  19233. get:
  19234. parameters:
  19235. - description: 省ID
  19236. in: query
  19237. name: provinceID
  19238. type: integer
  19239. produces:
  19240. - application/json
  19241. responses:
  19242. "200":
  19243. description: OK
  19244. schema:
  19245. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19246. "500":
  19247. description: Internal Server Error
  19248. schema:
  19249. $ref: '#/definitions/app.Response'
  19250. summary: 查询省市信息(不包括区)
  19251. tags:
  19252. - 通用服务
  19253. /Common/QueryTableDefine:
  19254. get:
  19255. parameters:
  19256. - description: 表key
  19257. in: query
  19258. name: tableKey
  19259. type: string
  19260. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19261. in: query
  19262. name: tableType
  19263. type: integer
  19264. produces:
  19265. - application/json
  19266. responses:
  19267. "200":
  19268. description: OK
  19269. schema:
  19270. $ref: '#/definitions/common.QueryTableDefineRsp'
  19271. "500":
  19272. description: Internal Server Error
  19273. schema:
  19274. $ref: '#/definitions/app.Response'
  19275. summary: 查询交易端列表头信息
  19276. tags:
  19277. - 通用服务
  19278. /Common/QueryTraderMenu:
  19279. get:
  19280. parameters:
  19281. - description: 登录账号
  19282. in: query
  19283. name: loginid
  19284. required: true
  19285. type: integer
  19286. produces:
  19287. - application/json
  19288. responses:
  19289. "200":
  19290. description: OK
  19291. schema:
  19292. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19293. "500":
  19294. description: Internal Server Error
  19295. schema:
  19296. $ref: '#/definitions/app.Response'
  19297. summary: 查询交易端菜单
  19298. tags:
  19299. - 通用服务
  19300. /Delivery/QueryDeliveryRelation:
  19301. get:
  19302. parameters:
  19303. - description: 商品ID
  19304. in: query
  19305. name: goodsid
  19306. type: integer
  19307. - description: 品种ID
  19308. in: query
  19309. name: deliverygoodsid
  19310. type: integer
  19311. - description: 市场ID
  19312. in: query
  19313. name: marketid
  19314. type: integer
  19315. produces:
  19316. - application/json
  19317. responses:
  19318. "200":
  19319. description: OK
  19320. schema:
  19321. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19322. "500":
  19323. description: Internal Server Error
  19324. schema:
  19325. $ref: '#/definitions/app.Response'
  19326. security:
  19327. - ApiKeyAuth: []
  19328. summary: 查询商品交割关系表
  19329. tags:
  19330. - 交割服务
  19331. /Ermcp/GetErmcpGoods:
  19332. get:
  19333. parameters:
  19334. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19335. in: query
  19336. name: lastUpdateTime
  19337. type: string
  19338. produces:
  19339. - application/json
  19340. responses:
  19341. "200":
  19342. description: OK
  19343. schema:
  19344. $ref: '#/definitions/models.ErmcpGoods'
  19345. "500":
  19346. description: Internal Server Error
  19347. schema:
  19348. $ref: '#/definitions/app.Response'
  19349. security:
  19350. - ApiKeyAuth: []
  19351. summary: 查询企业风管期货商品信息
  19352. tags:
  19353. - 企业风险管理(app)
  19354. /Ermcp/GetErmcpGoodsSortByPosition:
  19355. get:
  19356. parameters:
  19357. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19358. in: query
  19359. name: sortIndex
  19360. type: string
  19361. produces:
  19362. - application/json
  19363. responses:
  19364. "200":
  19365. description: OK
  19366. schema:
  19367. $ref: '#/definitions/models.Goodssortbypreposition'
  19368. "500":
  19369. description: Internal Server Error
  19370. schema:
  19371. $ref: '#/definitions/app.Response'
  19372. security:
  19373. - ApiKeyAuth: []
  19374. summary: 查询企业风管期货主力、次主力商品信息
  19375. tags:
  19376. - 企业风险管理(app)
  19377. /Ermcp/GetErmcpOutAccountStatus:
  19378. get:
  19379. parameters:
  19380. - description: 登录账号
  19381. in: query
  19382. name: loginID
  19383. required: true
  19384. type: integer
  19385. produces:
  19386. - application/json
  19387. responses:
  19388. "200":
  19389. description: OK
  19390. schema:
  19391. $ref: '#/definitions/models.Hedgemarketopenlog'
  19392. "500":
  19393. description: Internal Server Error
  19394. schema:
  19395. $ref: '#/definitions/app.Response'
  19396. security:
  19397. - ApiKeyAuth: []
  19398. summary: 获取目标登录账号当前对冲账号在线状态
  19399. tags:
  19400. - 企业风险管理(app)
  19401. /Ermcp/GetErmcpRoleFuncMenuLists:
  19402. get:
  19403. parameters:
  19404. - description: 登录账号
  19405. in: query
  19406. name: loginID
  19407. required: true
  19408. type: integer
  19409. produces:
  19410. - application/json
  19411. responses:
  19412. "200":
  19413. description: OK
  19414. schema:
  19415. $ref: '#/definitions/models.Funcmenulist'
  19416. "500":
  19417. description: Internal Server Error
  19418. schema:
  19419. $ref: '#/definitions/app.Response'
  19420. security:
  19421. - ApiKeyAuth: []
  19422. summary: 获取企业风管终端权限
  19423. tags:
  19424. - 企业风险管理(app)
  19425. /Ermcp/QueryAccMgrBizGroupSet:
  19426. get:
  19427. parameters:
  19428. - description: 用户ID
  19429. in: query
  19430. name: userid
  19431. required: true
  19432. type: integer
  19433. - description: 现货商品id
  19434. in: query
  19435. name: deliverygoodsid
  19436. type: integer
  19437. produces:
  19438. - application/json
  19439. responses:
  19440. "200":
  19441. description: OK
  19442. schema:
  19443. items:
  19444. $ref: '#/definitions/models.ErmcpBizGroupEx'
  19445. type: array
  19446. "500":
  19447. description: Internal Server Error
  19448. schema:
  19449. $ref: '#/definitions/app.Response'
  19450. security:
  19451. - ApiKeyAuth: []
  19452. summary: 查询业务类型分组(账户管理/账户设置)
  19453. tags:
  19454. - 企业风险管理(app)
  19455. /Ermcp/QueryAccMgrLoginUser:
  19456. get:
  19457. parameters:
  19458. - description: 用户ID
  19459. in: query
  19460. name: userid
  19461. required: true
  19462. type: integer
  19463. - description: 用户类型 2-机构 7-企业成员
  19464. in: query
  19465. name: usertype
  19466. type: integer
  19467. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  19468. in: query
  19469. name: querytype
  19470. required: true
  19471. type: integer
  19472. produces:
  19473. - application/json
  19474. responses:
  19475. "200":
  19476. description: OK
  19477. schema:
  19478. items:
  19479. $ref: '#/definitions/models.ErmcpLoginUserEx'
  19480. type: array
  19481. "500":
  19482. description: Internal Server Error
  19483. schema:
  19484. $ref: '#/definitions/app.Response'
  19485. security:
  19486. - ApiKeyAuth: []
  19487. summary: 查询账户管理登录账号(账户管理/登录账号)
  19488. tags:
  19489. - 企业风险管理(app)
  19490. /Ermcp/QueryAccMgrMainAccountInfo:
  19491. get:
  19492. parameters:
  19493. - description: 用户ID
  19494. in: query
  19495. name: userid
  19496. type: integer
  19497. - description: 主账号id
  19498. in: query
  19499. name: accountid
  19500. type: integer
  19501. produces:
  19502. - application/json
  19503. responses:
  19504. "200":
  19505. description: OK
  19506. schema:
  19507. items:
  19508. $ref: '#/definitions/models.MainAccountInfo'
  19509. type: array
  19510. "500":
  19511. description: Internal Server Error
  19512. schema:
  19513. $ref: '#/definitions/app.Response'
  19514. security:
  19515. - ApiKeyAuth: []
  19516. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  19517. tags:
  19518. - 企业风险管理(app)
  19519. /Ermcp/QueryAccMgrRole:
  19520. get:
  19521. parameters:
  19522. - description: 用户ID
  19523. in: query
  19524. name: userid
  19525. required: true
  19526. type: integer
  19527. produces:
  19528. - application/json
  19529. responses:
  19530. "200":
  19531. description: OK
  19532. schema:
  19533. items:
  19534. $ref: '#/definitions/models.ErmcpRole'
  19535. type: array
  19536. "500":
  19537. description: Internal Server Error
  19538. schema:
  19539. $ref: '#/definitions/app.Response'
  19540. security:
  19541. - ApiKeyAuth: []
  19542. summary: 查询账户管理角色设置(账户管理/角色设置)
  19543. tags:
  19544. - 企业风险管理(app)
  19545. /Ermcp/QueryAccMgrRoleMenu:
  19546. get:
  19547. parameters:
  19548. - description: 用户ID
  19549. in: query
  19550. name: userid
  19551. required: true
  19552. type: integer
  19553. - description: 角色id(可多个,逗号隔开)
  19554. in: query
  19555. name: roleid
  19556. type: string
  19557. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  19558. in: query
  19559. name: menutype
  19560. type: integer
  19561. produces:
  19562. - application/json
  19563. responses:
  19564. "200":
  19565. description: OK
  19566. schema:
  19567. items:
  19568. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  19569. type: array
  19570. "500":
  19571. description: Internal Server Error
  19572. schema:
  19573. $ref: '#/definitions/app.Response'
  19574. security:
  19575. - ApiKeyAuth: []
  19576. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  19577. tags:
  19578. - 企业风险管理(app)
  19579. /Ermcp/QueryAccMgrTaAccountInfo:
  19580. get:
  19581. parameters:
  19582. - description: 用户ID
  19583. in: query
  19584. name: userid
  19585. required: true
  19586. type: integer
  19587. - description: 账号id
  19588. in: query
  19589. name: accountid
  19590. type: integer
  19591. produces:
  19592. - application/json
  19593. responses:
  19594. "200":
  19595. description: OK
  19596. schema:
  19597. items:
  19598. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  19599. type: array
  19600. "500":
  19601. description: Internal Server Error
  19602. schema:
  19603. $ref: '#/definitions/app.Response'
  19604. security:
  19605. - ApiKeyAuth: []
  19606. summary: 查询账户管理授信(账户管理/账户设置/授信)
  19607. tags:
  19608. - 企业风险管理(app)
  19609. /Ermcp/QueryAccMgrTaaccount:
  19610. get:
  19611. parameters:
  19612. - description: 用户ID
  19613. in: query
  19614. name: userid
  19615. required: true
  19616. type: integer
  19617. produces:
  19618. - application/json
  19619. responses:
  19620. "200":
  19621. description: OK
  19622. schema:
  19623. items:
  19624. $ref: '#/definitions/models.ErmcpTaAccountEx'
  19625. type: array
  19626. "500":
  19627. description: Internal Server Error
  19628. schema:
  19629. $ref: '#/definitions/app.Response'
  19630. security:
  19631. - ApiKeyAuth: []
  19632. summary: 查询账户管理期货账号(账户管理/期货账号)
  19633. tags:
  19634. - 企业风险管理(app)
  19635. /Ermcp/QueryAvaildGoodsGroup:
  19636. get:
  19637. parameters:
  19638. - description: 所属机构ID
  19639. in: query
  19640. name: userid
  19641. required: true
  19642. type: integer
  19643. produces:
  19644. - application/json
  19645. responses:
  19646. "200":
  19647. description: OK
  19648. schema:
  19649. items:
  19650. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  19651. type: array
  19652. "500":
  19653. description: Internal Server Error
  19654. schema:
  19655. $ref: '#/definitions/app.Response'
  19656. security:
  19657. - ApiKeyAuth: []
  19658. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  19659. tags:
  19660. - 企业风险管理(app)
  19661. /Ermcp/QueryBusinessDj:
  19662. get:
  19663. parameters:
  19664. - description: 用户ID
  19665. in: query
  19666. name: UserId
  19667. required: true
  19668. type: integer
  19669. - description: 用户类型 2-机构 7-企业成员
  19670. in: query
  19671. name: usertype
  19672. type: integer
  19673. - description: 现货合同ID, 不填则查所有
  19674. in: query
  19675. name: relatedid
  19676. type: string
  19677. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19678. in: query
  19679. name: applystatus
  19680. type: string
  19681. produces:
  19682. - application/json
  19683. responses:
  19684. "200":
  19685. description: OK
  19686. schema:
  19687. items:
  19688. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  19689. type: array
  19690. "500":
  19691. description: Internal Server Error
  19692. schema:
  19693. $ref: '#/definitions/app.Response'
  19694. security:
  19695. - ApiKeyAuth: []
  19696. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  19697. tags:
  19698. - 企业风险管理(app)
  19699. /Ermcp/QueryBusinessFp:
  19700. get:
  19701. parameters:
  19702. - description: 用户ID
  19703. in: query
  19704. name: UserId
  19705. required: true
  19706. type: integer
  19707. - description: 用户类型 2-机构 7-企业成员
  19708. in: query
  19709. name: usertype
  19710. type: integer
  19711. - description: 现货合同ID, 不填则查所有
  19712. in: query
  19713. name: relatedid
  19714. type: string
  19715. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19716. in: query
  19717. name: applystatus
  19718. type: string
  19719. produces:
  19720. - application/json
  19721. responses:
  19722. "200":
  19723. description: OK
  19724. schema:
  19725. items:
  19726. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  19727. type: array
  19728. "500":
  19729. description: Internal Server Error
  19730. schema:
  19731. $ref: '#/definitions/app.Response'
  19732. security:
  19733. - ApiKeyAuth: []
  19734. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  19735. tags:
  19736. - 企业风险管理(app)
  19737. /Ermcp/QueryBusinessJs:
  19738. get:
  19739. parameters:
  19740. - description: 用户ID
  19741. in: query
  19742. name: UserId
  19743. required: true
  19744. type: integer
  19745. - description: 用户类型 2-机构 7-企业成员
  19746. in: query
  19747. name: usertype
  19748. type: integer
  19749. - description: 现货合同ID, 不填则查所有
  19750. in: query
  19751. name: relatedid
  19752. type: string
  19753. - description: 操作申请id
  19754. in: query
  19755. name: operateapplyid
  19756. type: string
  19757. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19758. in: query
  19759. name: applystatus
  19760. type: string
  19761. produces:
  19762. - application/json
  19763. responses:
  19764. "200":
  19765. description: OK
  19766. schema:
  19767. items:
  19768. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  19769. type: array
  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/QueryBusinessJsEx:
  19780. get:
  19781. parameters:
  19782. - description: 用户ID
  19783. in: query
  19784. name: UserId
  19785. required: true
  19786. type: integer
  19787. - description: 用户类型 2-机构 7-企业成员
  19788. in: query
  19789. name: usertype
  19790. type: integer
  19791. - description: 现货合同ID, 不填则查所有
  19792. in: query
  19793. name: relatedid
  19794. type: string
  19795. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19796. in: query
  19797. name: applystatus
  19798. type: string
  19799. produces:
  19800. - application/json
  19801. responses:
  19802. "200":
  19803. description: OK
  19804. schema:
  19805. items:
  19806. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  19807. type: array
  19808. "500":
  19809. description: Internal Server Error
  19810. schema:
  19811. $ref: '#/definitions/app.Response'
  19812. security:
  19813. - ApiKeyAuth: []
  19814. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  19815. tags:
  19816. - 企业风险管理(app)
  19817. /Ermcp/QueryBusinessKx:
  19818. get:
  19819. parameters:
  19820. - description: 用户ID
  19821. in: query
  19822. name: UserId
  19823. required: true
  19824. type: integer
  19825. - description: 用户类型 2-机构 7-企业成员
  19826. in: query
  19827. name: usertype
  19828. type: integer
  19829. - description: 现货合同ID, 不填则查所有
  19830. in: query
  19831. name: relatedid
  19832. type: string
  19833. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19834. in: query
  19835. name: applystatus
  19836. type: string
  19837. produces:
  19838. - application/json
  19839. responses:
  19840. "200":
  19841. description: OK
  19842. schema:
  19843. items:
  19844. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  19845. type: array
  19846. "500":
  19847. description: Internal Server Error
  19848. schema:
  19849. $ref: '#/definitions/app.Response'
  19850. security:
  19851. - ApiKeyAuth: []
  19852. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  19853. tags:
  19854. - 企业风险管理(app)
  19855. /Ermcp/QueryChangeLog:
  19856. get:
  19857. parameters:
  19858. - description: 合同ID
  19859. in: query
  19860. name: RelatedId
  19861. required: true
  19862. type: string
  19863. produces:
  19864. - application/json
  19865. responses:
  19866. "200":
  19867. description: OK
  19868. schema:
  19869. items:
  19870. $ref: '#/definitions/ermcp.QryOPLogRsp'
  19871. type: array
  19872. "500":
  19873. description: Internal Server Error
  19874. schema:
  19875. $ref: '#/definitions/app.Response'
  19876. security:
  19877. - ApiKeyAuth: []
  19878. summary: 查询变更记录
  19879. tags:
  19880. - 企业风险管理(app)
  19881. /Ermcp/QueryErmcpHisOrderDetails:
  19882. get:
  19883. parameters:
  19884. - description: 资金账户ID
  19885. in: query
  19886. name: accountID
  19887. required: true
  19888. type: integer
  19889. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19890. in: query
  19891. name: startDate
  19892. type: string
  19893. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19894. in: query
  19895. name: endDate
  19896. type: string
  19897. produces:
  19898. - application/json
  19899. responses:
  19900. "200":
  19901. description: OK
  19902. schema:
  19903. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  19904. "500":
  19905. description: Internal Server Error
  19906. schema:
  19907. $ref: '#/definitions/app.Response'
  19908. security:
  19909. - ApiKeyAuth: []
  19910. summary: 获取企业风管期货历史委托单信息
  19911. tags:
  19912. - 企业风险管理(app)
  19913. /Ermcp/QueryErmcpHisTradeDetails:
  19914. get:
  19915. parameters:
  19916. - description: 资金账户ID
  19917. in: query
  19918. name: accountID
  19919. required: true
  19920. type: integer
  19921. - description: 商品ID
  19922. in: query
  19923. name: goodsID
  19924. type: integer
  19925. - description: 买卖方向,0:买 1:卖
  19926. in: query
  19927. name: buyOrSell
  19928. type: integer
  19929. - description: 关联委托单号
  19930. in: query
  19931. name: orderID
  19932. type: integer
  19933. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19934. in: query
  19935. name: startDate
  19936. type: string
  19937. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19938. in: query
  19939. name: endDate
  19940. type: string
  19941. produces:
  19942. - application/json
  19943. responses:
  19944. "200":
  19945. description: OK
  19946. schema:
  19947. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  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/QueryErmcpInnerHolderDetails:
  19958. get:
  19959. parameters:
  19960. - description: 资金账户ID
  19961. in: query
  19962. name: accountID
  19963. required: true
  19964. type: integer
  19965. - description: 商品ID
  19966. in: query
  19967. name: goodsID
  19968. type: integer
  19969. - description: 买卖方向,0:买 1:卖
  19970. in: query
  19971. name: buyOrSell
  19972. type: integer
  19973. produces:
  19974. - application/json
  19975. responses:
  19976. "200":
  19977. description: OK
  19978. schema:
  19979. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  19980. "500":
  19981. description: Internal Server Error
  19982. schema:
  19983. $ref: '#/definitions/app.Response'
  19984. security:
  19985. - ApiKeyAuth: []
  19986. summary: 获取企业风管期货内部持仓单信息
  19987. tags:
  19988. - 企业风险管理(app)
  19989. /Ermcp/QueryErmcpOrderDetails:
  19990. get:
  19991. parameters:
  19992. - description: 资金账户ID
  19993. in: query
  19994. name: accountID
  19995. required: true
  19996. type: integer
  19997. produces:
  19998. - application/json
  19999. responses:
  20000. "200":
  20001. description: OK
  20002. schema:
  20003. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  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/QueryErmcpTradeDetails:
  20014. get:
  20015. parameters:
  20016. - description: 资金账户ID
  20017. in: query
  20018. name: accountID
  20019. required: true
  20020. type: integer
  20021. - description: 商品ID
  20022. in: query
  20023. name: goodsID
  20024. type: integer
  20025. - description: 买卖方向,0:买 1:卖
  20026. in: query
  20027. name: buyOrSell
  20028. type: integer
  20029. - description: 关联委托单号
  20030. in: query
  20031. name: orderID
  20032. type: integer
  20033. produces:
  20034. - application/json
  20035. responses:
  20036. "200":
  20037. description: OK
  20038. schema:
  20039. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20040. "500":
  20041. description: Internal Server Error
  20042. schema:
  20043. $ref: '#/definitions/app.Response'
  20044. security:
  20045. - ApiKeyAuth: []
  20046. summary: 获取企业风管期货成交单信息
  20047. tags:
  20048. - 企业风险管理(app)
  20049. /Ermcp/QueryErmcpTradePosition:
  20050. get:
  20051. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20052. parameters:
  20053. - description: 资金账户ID
  20054. in: query
  20055. name: accountID
  20056. required: true
  20057. type: integer
  20058. - description: 所属市场ID
  20059. in: query
  20060. name: marketID
  20061. type: integer
  20062. produces:
  20063. - application/json
  20064. responses:
  20065. "200":
  20066. description: OK
  20067. schema:
  20068. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20069. "500":
  20070. description: Internal Server Error
  20071. schema:
  20072. $ref: '#/definitions/app.Response'
  20073. security:
  20074. - ApiKeyAuth: []
  20075. summary: 获取企业风管期货持仓头寸信息
  20076. tags:
  20077. - 企业风险管理(app)
  20078. /Ermcp/QueryExposureDetail:
  20079. get:
  20080. parameters:
  20081. - description: 所属机构ID
  20082. in: query
  20083. name: areaUserId
  20084. required: true
  20085. type: integer
  20086. - description: 套保商品
  20087. in: query
  20088. name: middleGoodsId
  20089. required: true
  20090. type: integer
  20091. produces:
  20092. - application/json
  20093. responses:
  20094. "200":
  20095. description: OK
  20096. schema:
  20097. items:
  20098. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20099. type: array
  20100. "500":
  20101. description: Internal Server Error
  20102. schema:
  20103. $ref: '#/definitions/app.Response'
  20104. security:
  20105. - ApiKeyAuth: []
  20106. summary: 查询敞口现货明细
  20107. tags:
  20108. - 企业风险管理(app)
  20109. /Ermcp/QueryExposureGoods:
  20110. get:
  20111. parameters:
  20112. - description: 套保商品id
  20113. in: query
  20114. name: middlegoodsid
  20115. required: true
  20116. type: integer
  20117. produces:
  20118. - application/json
  20119. responses:
  20120. "200":
  20121. description: OK
  20122. schema:
  20123. items:
  20124. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20125. type: array
  20126. "500":
  20127. description: Internal Server Error
  20128. schema:
  20129. $ref: '#/definitions/app.Response'
  20130. security:
  20131. - ApiKeyAuth: []
  20132. summary: 查询敞口主力合约
  20133. tags:
  20134. - 企业风险管理(app)
  20135. /Ermcp/QueryExposureHedgePosition:
  20136. get:
  20137. parameters:
  20138. - description: 用户id
  20139. in: query
  20140. name: userid
  20141. required: true
  20142. type: integer
  20143. produces:
  20144. - application/json
  20145. responses:
  20146. "200":
  20147. description: OK
  20148. schema:
  20149. items:
  20150. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20151. type: array
  20152. "500":
  20153. description: Internal Server Error
  20154. schema:
  20155. $ref: '#/definitions/app.Response'
  20156. security:
  20157. - ApiKeyAuth: []
  20158. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20159. tags:
  20160. - 企业风险管理(app)
  20161. /Ermcp/QueryExposureHedgePositionDetail:
  20162. get:
  20163. parameters:
  20164. - description: 所属机构ID
  20165. in: query
  20166. name: userid
  20167. required: true
  20168. type: integer
  20169. - description: 商品id
  20170. in: query
  20171. name: goodsId
  20172. required: true
  20173. type: integer
  20174. produces:
  20175. - application/json
  20176. responses:
  20177. "200":
  20178. description: OK
  20179. schema:
  20180. items:
  20181. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20182. type: array
  20183. "500":
  20184. description: Internal Server Error
  20185. schema:
  20186. $ref: '#/definitions/app.Response'
  20187. security:
  20188. - ApiKeyAuth: []
  20189. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20190. tags:
  20191. - 企业风险管理(app)
  20192. /Ermcp/QueryExposureSpot:
  20193. get:
  20194. parameters:
  20195. - description: 所属机构ID
  20196. in: query
  20197. name: areaUserId
  20198. required: true
  20199. type: integer
  20200. produces:
  20201. - application/json
  20202. responses:
  20203. "200":
  20204. description: OK
  20205. schema:
  20206. items:
  20207. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20208. type: array
  20209. "500":
  20210. description: Internal Server Error
  20211. schema:
  20212. $ref: '#/definitions/app.Response'
  20213. security:
  20214. - ApiKeyAuth: []
  20215. summary: 查询敞口现货头寸(敞口/现货头寸)
  20216. tags:
  20217. - 企业风险管理(app)
  20218. /Ermcp/QueryExposureSpotDetail:
  20219. get:
  20220. parameters:
  20221. - description: 所属机构ID
  20222. in: query
  20223. name: areaUserId
  20224. required: true
  20225. type: integer
  20226. - description: 现货品种ID
  20227. in: query
  20228. name: wrstandardId
  20229. required: true
  20230. type: integer
  20231. produces:
  20232. - application/json
  20233. responses:
  20234. "200":
  20235. description: OK
  20236. schema:
  20237. items:
  20238. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20239. type: array
  20240. "500":
  20241. description: Internal Server Error
  20242. schema:
  20243. $ref: '#/definitions/app.Response'
  20244. security:
  20245. - ApiKeyAuth: []
  20246. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20247. tags:
  20248. - 企业风险管理(app)
  20249. /Ermcp/QueryFuturesCompany:
  20250. get:
  20251. produces:
  20252. - application/json
  20253. responses:
  20254. "200":
  20255. description: OK
  20256. schema:
  20257. items:
  20258. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20259. type: array
  20260. "500":
  20261. description: Internal Server Error
  20262. schema:
  20263. $ref: '#/definitions/app.Response'
  20264. security:
  20265. - ApiKeyAuth: []
  20266. summary: 查询期货公司
  20267. tags:
  20268. - 企业风险管理(app)
  20269. /Ermcp/QueryGGConvertConfig:
  20270. get:
  20271. parameters:
  20272. - description: 品种id(不填则查所有)
  20273. in: query
  20274. name: goodsgroupid
  20275. type: integer
  20276. produces:
  20277. - application/json
  20278. responses:
  20279. "200":
  20280. description: OK
  20281. schema:
  20282. items:
  20283. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20284. type: array
  20285. "500":
  20286. description: Internal Server Error
  20287. schema:
  20288. $ref: '#/definitions/app.Response'
  20289. security:
  20290. - ApiKeyAuth: []
  20291. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20292. tags:
  20293. - 企业风险管理(app)
  20294. /Ermcp/QueryGoodsBrand:
  20295. get:
  20296. parameters:
  20297. - description: 用户ID
  20298. in: query
  20299. name: userid
  20300. required: true
  20301. type: integer
  20302. - description: 现货商品ID
  20303. in: query
  20304. name: wrstandardid
  20305. type: integer
  20306. produces:
  20307. - application/json
  20308. responses:
  20309. "200":
  20310. description: OK
  20311. schema:
  20312. items:
  20313. $ref: '#/definitions/models.ErmcpGoodsBrand'
  20314. type: array
  20315. "500":
  20316. description: Internal Server Error
  20317. schema:
  20318. $ref: '#/definitions/app.Response'
  20319. security:
  20320. - ApiKeyAuth: []
  20321. summary: 查询商品品牌
  20322. tags:
  20323. - 企业风险管理(app)
  20324. /Ermcp/QueryGoodsModel:
  20325. get:
  20326. parameters:
  20327. - description: 用户ID
  20328. in: query
  20329. name: userid
  20330. required: true
  20331. type: integer
  20332. produces:
  20333. - application/json
  20334. responses:
  20335. "200":
  20336. description: OK
  20337. schema:
  20338. items:
  20339. $ref: '#/definitions/models.ErmcpGoodsModel'
  20340. type: array
  20341. "500":
  20342. description: Internal Server Error
  20343. schema:
  20344. $ref: '#/definitions/app.Response'
  20345. security:
  20346. - ApiKeyAuth: []
  20347. summary: 查询商品型号
  20348. tags:
  20349. - 企业风险管理(app)
  20350. /Ermcp/QueryHisExposure:
  20351. get:
  20352. parameters:
  20353. - description: 用户id
  20354. in: query
  20355. name: userid
  20356. required: true
  20357. type: integer
  20358. - description: 每个品种记录数
  20359. in: query
  20360. name: lastNum
  20361. required: true
  20362. type: integer
  20363. produces:
  20364. - application/json
  20365. responses:
  20366. "200":
  20367. description: OK
  20368. schema:
  20369. items:
  20370. $ref: '#/definitions/ermcp.HisExposureRsp'
  20371. type: array
  20372. "500":
  20373. description: Internal Server Error
  20374. schema:
  20375. $ref: '#/definitions/app.Response'
  20376. security:
  20377. - ApiKeyAuth: []
  20378. summary: 查询历史敞口(菜单:敞口/历史敞口)
  20379. tags:
  20380. - 企业风险管理(app)
  20381. /Ermcp/QueryMiddleGoods:
  20382. get:
  20383. parameters:
  20384. - description: 所属机构ID
  20385. in: query
  20386. name: userid
  20387. required: true
  20388. type: integer
  20389. - description: 状态 0-停用 1-正常
  20390. in: query
  20391. name: status
  20392. required: true
  20393. type: integer
  20394. produces:
  20395. - application/json
  20396. responses:
  20397. "200":
  20398. description: OK
  20399. schema:
  20400. items:
  20401. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  20402. type: array
  20403. "500":
  20404. description: Internal Server Error
  20405. schema:
  20406. $ref: '#/definitions/app.Response'
  20407. security:
  20408. - ApiKeyAuth: []
  20409. summary: 查询套保品种(菜单:套保品种)
  20410. tags:
  20411. - 企业风险管理(app)
  20412. /Ermcp/QueryMiddleGoodsChangeLog:
  20413. get:
  20414. parameters:
  20415. - description: 所属机构ID
  20416. in: query
  20417. name: userid
  20418. required: true
  20419. type: integer
  20420. - description: 套保品种id
  20421. in: query
  20422. name: middlegoodsid
  20423. required: true
  20424. type: integer
  20425. produces:
  20426. - application/json
  20427. responses:
  20428. "200":
  20429. description: OK
  20430. schema:
  20431. items:
  20432. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  20433. type: array
  20434. "500":
  20435. description: Internal Server Error
  20436. schema:
  20437. $ref: '#/definitions/app.Response'
  20438. security:
  20439. - ApiKeyAuth: []
  20440. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  20441. tags:
  20442. - 企业风险管理(app)
  20443. /Ermcp/QueryMiddleGoodsDetail:
  20444. get:
  20445. parameters:
  20446. - description: 所属机构ID
  20447. in: query
  20448. name: userid
  20449. required: true
  20450. type: integer
  20451. - description: 套保品种id
  20452. in: query
  20453. name: middlegoodsid
  20454. type: integer
  20455. produces:
  20456. - application/json
  20457. responses:
  20458. "200":
  20459. description: OK
  20460. schema:
  20461. items:
  20462. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  20463. type: array
  20464. "500":
  20465. description: Internal Server Error
  20466. schema:
  20467. $ref: '#/definitions/app.Response'
  20468. security:
  20469. - ApiKeyAuth: []
  20470. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  20471. tags:
  20472. - 企业风险管理(app)
  20473. /Ermcp/QueryPendingAuditInfo:
  20474. get:
  20475. parameters:
  20476. - description: 用户ID
  20477. in: query
  20478. name: UserId
  20479. required: true
  20480. type: integer
  20481. produces:
  20482. - application/json
  20483. responses:
  20484. "200":
  20485. description: OK
  20486. schema:
  20487. items:
  20488. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  20489. type: array
  20490. "500":
  20491. description: Internal Server Error
  20492. schema:
  20493. $ref: '#/definitions/app.Response'
  20494. security:
  20495. - ApiKeyAuth: []
  20496. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  20497. tags:
  20498. - 企业风险管理(app)
  20499. /Ermcp/QueryRealtimeExposure:
  20500. get:
  20501. parameters:
  20502. - description: 所属机构ID
  20503. in: query
  20504. name: userid
  20505. required: true
  20506. type: integer
  20507. produces:
  20508. - application/json
  20509. responses:
  20510. "200":
  20511. description: OK
  20512. schema:
  20513. items:
  20514. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  20515. type: array
  20516. "500":
  20517. description: Internal Server Error
  20518. schema:
  20519. $ref: '#/definitions/app.Response'
  20520. security:
  20521. - ApiKeyAuth: []
  20522. summary: 查询实时敞口
  20523. tags:
  20524. - 企业风险管理(app)
  20525. /Ermcp/QueryRealtimeExposurePosition:
  20526. get:
  20527. parameters:
  20528. - description: 用户id
  20529. in: query
  20530. name: userid
  20531. required: true
  20532. type: integer
  20533. - description: 套保商品ID
  20534. in: query
  20535. name: middleGoodsId
  20536. required: true
  20537. type: integer
  20538. produces:
  20539. - application/json
  20540. responses:
  20541. "200":
  20542. description: OK
  20543. schema:
  20544. items:
  20545. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  20546. type: array
  20547. "500":
  20548. description: Internal Server Error
  20549. schema:
  20550. $ref: '#/definitions/app.Response'
  20551. security:
  20552. - ApiKeyAuth: []
  20553. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  20554. tags:
  20555. - 企业风险管理(app)
  20556. /Ermcp/QueryRoleMenu:
  20557. get:
  20558. parameters:
  20559. - description: 登录ID
  20560. in: query
  20561. name: loginid
  20562. required: true
  20563. type: integer
  20564. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  20565. in: query
  20566. name: menutype
  20567. type: integer
  20568. produces:
  20569. - application/json
  20570. responses:
  20571. "200":
  20572. description: OK
  20573. schema:
  20574. items:
  20575. $ref: '#/definitions/models.RoleMenu'
  20576. type: array
  20577. "500":
  20578. description: Internal Server Error
  20579. schema:
  20580. $ref: '#/definitions/app.Response'
  20581. security:
  20582. - ApiKeyAuth: []
  20583. summary: 查询角色菜单和权限
  20584. tags:
  20585. - 企业风险管理(app)
  20586. /Ermcp/QueryTradeConfigTMP:
  20587. get:
  20588. parameters:
  20589. - description: 所属机构id
  20590. in: query
  20591. name: areauserid
  20592. type: integer
  20593. produces:
  20594. - application/json
  20595. responses:
  20596. "200":
  20597. description: OK
  20598. schema:
  20599. items:
  20600. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  20601. type: array
  20602. "500":
  20603. description: Internal Server Error
  20604. schema:
  20605. $ref: '#/definitions/app.Response'
  20606. security:
  20607. - ApiKeyAuth: []
  20608. summary: 查询交易模板配置
  20609. tags:
  20610. - 企业风险管理(app)
  20611. /Ermcp/QueryUserInfo:
  20612. get:
  20613. parameters:
  20614. - description: 所属机构用户ID
  20615. in: query
  20616. name: MemberUserID
  20617. required: true
  20618. type: integer
  20619. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  20620. in: query
  20621. name: queryType
  20622. required: true
  20623. type: integer
  20624. produces:
  20625. - application/json
  20626. responses:
  20627. "200":
  20628. description: OK
  20629. schema:
  20630. items:
  20631. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  20632. type: array
  20633. "500":
  20634. description: Internal Server Error
  20635. schema:
  20636. $ref: '#/definitions/app.Response'
  20637. security:
  20638. - ApiKeyAuth: []
  20639. summary: 查询客户资料
  20640. tags:
  20641. - 企业风险管理(app)
  20642. /Ermcp/QueryWarehouseInfo:
  20643. get:
  20644. parameters:
  20645. - description: 用户ID
  20646. in: query
  20647. name: userid
  20648. required: true
  20649. type: integer
  20650. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  20651. in: query
  20652. name: status
  20653. type: string
  20654. produces:
  20655. - application/json
  20656. responses:
  20657. "200":
  20658. description: OK
  20659. schema:
  20660. items:
  20661. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  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. /Ermcp3/QryAreaExpourseContractDetail:
  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: middlegoodsid
  20683. required: true
  20684. type: integer
  20685. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20686. in: query
  20687. name: cycletype
  20688. required: true
  20689. type: integer
  20690. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20691. in: query
  20692. name: cycletime
  20693. required: true
  20694. type: string
  20695. produces:
  20696. - application/json
  20697. responses:
  20698. "200":
  20699. description: OK
  20700. schema:
  20701. items:
  20702. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  20703. type: array
  20704. "500":
  20705. description: Internal Server Error
  20706. schema:
  20707. $ref: '#/definitions/app.Response'
  20708. security:
  20709. - ApiKeyAuth: []
  20710. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  20711. tags:
  20712. - 企业风险管理v3(app)
  20713. /Ermcp3/QryAreaExpourseFutuDetail:
  20714. get:
  20715. parameters:
  20716. - description: 用户ID
  20717. in: query
  20718. name: userid
  20719. required: true
  20720. type: integer
  20721. - description: 套保商品id
  20722. in: query
  20723. name: middlegoodsid
  20724. required: true
  20725. type: integer
  20726. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20727. in: query
  20728. name: cycletype
  20729. required: true
  20730. type: integer
  20731. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20732. in: query
  20733. name: cycletime
  20734. required: true
  20735. type: string
  20736. produces:
  20737. - application/json
  20738. responses:
  20739. "200":
  20740. description: OK
  20741. schema:
  20742. items:
  20743. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  20744. type: array
  20745. "500":
  20746. description: Internal Server Error
  20747. schema:
  20748. $ref: '#/definitions/app.Response'
  20749. security:
  20750. - ApiKeyAuth: []
  20751. summary: 查询敞口期货明细(敞口报表/期货明细)
  20752. tags:
  20753. - 企业风险管理v3(app)
  20754. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  20755. get:
  20756. parameters:
  20757. - description: 用户ID
  20758. in: query
  20759. name: userid
  20760. required: true
  20761. type: integer
  20762. - description: 套保商品id
  20763. in: query
  20764. name: middlegoodsid
  20765. required: true
  20766. type: integer
  20767. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20768. in: query
  20769. name: cycletype
  20770. required: true
  20771. type: integer
  20772. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20773. in: query
  20774. name: cycletime
  20775. required: true
  20776. type: string
  20777. produces:
  20778. - application/json
  20779. responses:
  20780. "200":
  20781. description: OK
  20782. schema:
  20783. items:
  20784. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  20785. type: array
  20786. "500":
  20787. description: Internal Server Error
  20788. schema:
  20789. $ref: '#/definitions/app.Response'
  20790. security:
  20791. - ApiKeyAuth: []
  20792. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  20793. tags:
  20794. - 企业风险管理v3(app)
  20795. /Ermcp3/QryAreaExpourseParamChLogDetail:
  20796. get:
  20797. parameters:
  20798. - description: 用户ID
  20799. in: query
  20800. name: userid
  20801. required: true
  20802. type: integer
  20803. - description: 套保商品id
  20804. in: query
  20805. name: middlegoodsid
  20806. required: true
  20807. type: integer
  20808. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20809. in: query
  20810. name: cycletype
  20811. required: true
  20812. type: integer
  20813. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20814. in: query
  20815. name: cycletime
  20816. required: true
  20817. type: string
  20818. produces:
  20819. - application/json
  20820. responses:
  20821. "200":
  20822. description: OK
  20823. schema:
  20824. items:
  20825. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  20826. type: array
  20827. "500":
  20828. description: Internal Server Error
  20829. schema:
  20830. $ref: '#/definitions/app.Response'
  20831. security:
  20832. - ApiKeyAuth: []
  20833. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  20834. tags:
  20835. - 企业风险管理v3(app)
  20836. /Ermcp3/QryAreaExpourseReport:
  20837. get:
  20838. parameters:
  20839. - description: 用户ID
  20840. in: query
  20841. name: userid
  20842. required: true
  20843. type: integer
  20844. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  20845. in: query
  20846. name: querytype
  20847. required: true
  20848. type: integer
  20849. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20850. in: query
  20851. name: cycletype
  20852. required: true
  20853. type: integer
  20854. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20855. in: query
  20856. name: cycletime
  20857. required: true
  20858. type: string
  20859. produces:
  20860. - application/json
  20861. responses:
  20862. "200":
  20863. description: OK
  20864. schema:
  20865. items:
  20866. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  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. - 企业风险管理v3(app)
  20877. /Ermcp3/QryAreaSpotplReport:
  20878. get:
  20879. parameters:
  20880. - description: 用户ID
  20881. in: query
  20882. name: userid
  20883. required: true
  20884. type: integer
  20885. - description: 查询类型 1-报表 2-报表明细
  20886. in: query
  20887. name: querytype
  20888. required: true
  20889. type: integer
  20890. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20891. in: query
  20892. name: cycletype
  20893. required: true
  20894. type: integer
  20895. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20896. in: query
  20897. name: cycletime
  20898. required: true
  20899. type: string
  20900. - description: 现货品种id(明细必填)
  20901. in: query
  20902. name: deliverygoodsid
  20903. type: integer
  20904. - description: 币种id(明细必填)
  20905. in: query
  20906. name: currencyid
  20907. type: integer
  20908. produces:
  20909. - application/json
  20910. responses:
  20911. "200":
  20912. description: OK
  20913. schema:
  20914. items:
  20915. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  20916. type: array
  20917. "500":
  20918. description: Internal Server Error
  20919. schema:
  20920. $ref: '#/definitions/app.Response'
  20921. security:
  20922. - ApiKeyAuth: []
  20923. summary: 查询现货报表
  20924. tags:
  20925. - 企业风险管理v3(app)
  20926. /Ermcp3/QryAreaStockReport:
  20927. get:
  20928. parameters:
  20929. - description: 用户ID
  20930. in: query
  20931. name: userid
  20932. required: true
  20933. type: integer
  20934. - description: 查询类型 1-报表 2-报表明细
  20935. in: query
  20936. name: querytype
  20937. required: true
  20938. type: integer
  20939. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20940. in: query
  20941. name: cycletype
  20942. required: true
  20943. type: integer
  20944. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20945. in: query
  20946. name: cycletime
  20947. required: true
  20948. type: string
  20949. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  20950. in: query
  20951. name: sumfields
  20952. type: string
  20953. - description: 品种ID
  20954. in: query
  20955. name: deliverygoodsid
  20956. type: integer
  20957. - description: 品类ID
  20958. in: query
  20959. name: wrstandardid
  20960. type: integer
  20961. - description: 品牌ID
  20962. in: query
  20963. name: spotgoodsbrandid
  20964. type: integer
  20965. - description: 仓库ID
  20966. in: query
  20967. name: warehouseinfoid
  20968. type: integer
  20969. produces:
  20970. - application/json
  20971. responses:
  20972. "200":
  20973. description: OK
  20974. schema:
  20975. items:
  20976. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  20977. type: array
  20978. "500":
  20979. description: Internal Server Error
  20980. schema:
  20981. $ref: '#/definitions/app.Response'
  20982. security:
  20983. - ApiKeyAuth: []
  20984. summary: 查询库存报表
  20985. tags:
  20986. - 企业风险管理v3(app)
  20987. /Ermcp3/QryAreaSumPL:
  20988. get:
  20989. parameters:
  20990. - description: 用户ID
  20991. in: query
  20992. name: userid
  20993. required: true
  20994. type: integer
  20995. - description: 查询类型 1-报表 2-报表明细
  20996. in: query
  20997. name: querytype
  20998. required: true
  20999. type: integer
  21000. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21001. in: query
  21002. name: cycletype
  21003. required: true
  21004. type: integer
  21005. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21006. in: query
  21007. name: cycletime
  21008. required: true
  21009. type: string
  21010. - description: 币种id(明细必填)
  21011. in: query
  21012. name: currencyid
  21013. type: integer
  21014. produces:
  21015. - application/json
  21016. responses:
  21017. "200":
  21018. description: OK
  21019. schema:
  21020. items:
  21021. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21022. type: array
  21023. "500":
  21024. description: Internal Server Error
  21025. schema:
  21026. $ref: '#/definitions/app.Response'
  21027. security:
  21028. - ApiKeyAuth: []
  21029. summary: 查询汇总损益表
  21030. tags:
  21031. - 企业风险管理v3(app)
  21032. /Ermcp3/QryFinanceReport:
  21033. get:
  21034. parameters:
  21035. - description: 用户ID
  21036. in: query
  21037. name: userid
  21038. required: true
  21039. type: integer
  21040. - description: 查询类型 1-报表 2-报表明细
  21041. in: query
  21042. name: querytype
  21043. required: true
  21044. type: integer
  21045. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21046. in: query
  21047. name: cycletype
  21048. required: true
  21049. type: integer
  21050. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21051. in: query
  21052. name: cycletime
  21053. required: true
  21054. type: string
  21055. - description: 币种id(报表明细必填)
  21056. in: query
  21057. name: currencyid
  21058. type: integer
  21059. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21060. in: query
  21061. name: sumfields
  21062. type: string
  21063. produces:
  21064. - application/json
  21065. responses:
  21066. "200":
  21067. description: OK
  21068. schema:
  21069. items:
  21070. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21071. type: array
  21072. "500":
  21073. description: Internal Server Error
  21074. schema:
  21075. $ref: '#/definitions/app.Response'
  21076. security:
  21077. - ApiKeyAuth: []
  21078. summary: 查询财务报表
  21079. tags:
  21080. - 企业风险管理v3(app)
  21081. /Ermcp3/QrySCMiddleGoodsReport:
  21082. get:
  21083. parameters:
  21084. - description: 用户ID
  21085. in: query
  21086. name: userid
  21087. required: true
  21088. type: integer
  21089. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21090. in: query
  21091. name: cycletype
  21092. required: true
  21093. type: integer
  21094. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21095. in: query
  21096. name: cycletime
  21097. required: true
  21098. type: string
  21099. - description: 现货合同id
  21100. in: query
  21101. name: spotcontractid
  21102. type: integer
  21103. - description: 套保品种id
  21104. in: query
  21105. name: middlegoodsid
  21106. type: integer
  21107. - description: 现货品种id
  21108. in: query
  21109. name: deliverygoodsid
  21110. type: integer
  21111. - description: 现货商品id
  21112. in: query
  21113. name: wrstandardid
  21114. type: integer
  21115. produces:
  21116. - application/json
  21117. responses:
  21118. "200":
  21119. description: OK
  21120. schema:
  21121. items:
  21122. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21123. type: array
  21124. "500":
  21125. description: Internal Server Error
  21126. schema:
  21127. $ref: '#/definitions/app.Response'
  21128. security:
  21129. - ApiKeyAuth: []
  21130. summary: 查询定价报表
  21131. tags:
  21132. - 企业风险管理v3(app)
  21133. /Ermcp3/QryTaFutureDataReport:
  21134. get:
  21135. parameters:
  21136. - description: 用户ID
  21137. in: query
  21138. name: userid
  21139. required: true
  21140. type: integer
  21141. - description: 查询类型 1-报表 2-报表明细
  21142. in: query
  21143. name: querytype
  21144. required: true
  21145. type: integer
  21146. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21147. in: query
  21148. name: cycletype
  21149. required: true
  21150. type: integer
  21151. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21152. in: query
  21153. name: cycletime
  21154. required: true
  21155. type: string
  21156. - description: 币种id(查明细必填)
  21157. in: query
  21158. name: currencyid
  21159. type: integer
  21160. - description: 品种id(查明细必填)
  21161. in: query
  21162. name: goodsgroupid
  21163. type: integer
  21164. - description: 商品id(查明细必填)
  21165. in: query
  21166. name: goodsid
  21167. type: integer
  21168. - description: 买卖方向(查明细必填)
  21169. in: query
  21170. name: buyorsell
  21171. type: integer
  21172. produces:
  21173. - application/json
  21174. responses:
  21175. "200":
  21176. description: OK
  21177. schema:
  21178. items:
  21179. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21180. type: array
  21181. "500":
  21182. description: Internal Server Error
  21183. schema:
  21184. $ref: '#/definitions/app.Response'
  21185. security:
  21186. - ApiKeyAuth: []
  21187. summary: 查询期货报表
  21188. tags:
  21189. - 企业风险管理v3(app)
  21190. /Ermcp3/QueryAreaStock:
  21191. get:
  21192. parameters:
  21193. - description: 用户ID
  21194. in: query
  21195. name: userid
  21196. required: true
  21197. type: integer
  21198. produces:
  21199. - application/json
  21200. responses:
  21201. "200":
  21202. description: OK
  21203. schema:
  21204. items:
  21205. $ref: '#/definitions/models.Ermcp3AreaStock'
  21206. type: array
  21207. "500":
  21208. description: Internal Server Error
  21209. schema:
  21210. $ref: '#/definitions/app.Response'
  21211. security:
  21212. - ApiKeyAuth: []
  21213. summary: 查询机构库存(库存管理/当前库存)
  21214. tags:
  21215. - 企业风险管理v3(app)
  21216. /Ermcp3/QueryAreaStockApply:
  21217. get:
  21218. parameters:
  21219. - description: 用户ID
  21220. in: query
  21221. name: userid
  21222. required: true
  21223. type: integer
  21224. - description: 用户类型 2-机构 7-企业成员
  21225. in: query
  21226. name: usertype
  21227. type: integer
  21228. - description: 现货商品ID
  21229. in: query
  21230. name: deliverygoodsid
  21231. type: integer
  21232. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21233. in: query
  21234. name: inouttype
  21235. type: string
  21236. - description: 合同ID
  21237. in: query
  21238. name: spotcontractid
  21239. type: integer
  21240. - description: 品类ID
  21241. in: query
  21242. name: wrstandardid
  21243. type: integer
  21244. - description: 品牌ID
  21245. in: query
  21246. name: spotgoodsbrandid
  21247. type: integer
  21248. - description: 仓库ID
  21249. in: query
  21250. name: warehouseinfoid
  21251. type: integer
  21252. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21253. in: query
  21254. name: applystatus
  21255. type: string
  21256. produces:
  21257. - application/json
  21258. responses:
  21259. "200":
  21260. description: OK
  21261. schema:
  21262. items:
  21263. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21264. type: array
  21265. "500":
  21266. description: Internal Server Error
  21267. schema:
  21268. $ref: '#/definitions/app.Response'
  21269. security:
  21270. - ApiKeyAuth: []
  21271. summary: 查询库存申请(出入库记录|库存审核)
  21272. tags:
  21273. - 企业风险管理v3(app)
  21274. /Ermcp3/QueryAreaStockApplySum:
  21275. get:
  21276. parameters:
  21277. - description: 合同ID
  21278. in: query
  21279. name: spotcontractid
  21280. required: true
  21281. type: integer
  21282. produces:
  21283. - application/json
  21284. responses:
  21285. "200":
  21286. description: OK
  21287. schema:
  21288. items:
  21289. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21290. type: array
  21291. "500":
  21292. description: Internal Server Error
  21293. schema:
  21294. $ref: '#/definitions/app.Response'
  21295. security:
  21296. - ApiKeyAuth: []
  21297. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21298. tags:
  21299. - 企业风险管理v3(app)
  21300. /Ermcp3/QueryDGFactoryItem:
  21301. get:
  21302. parameters:
  21303. - description: 用户id
  21304. in: query
  21305. name: userid
  21306. type: integer
  21307. - description: 用户类型 2-机构 7-企业成员
  21308. in: query
  21309. name: usertype
  21310. type: integer
  21311. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21312. in: query
  21313. name: dgfactoryitemid
  21314. type: integer
  21315. - description: 现货品种ID
  21316. in: query
  21317. name: deliverygoodsid
  21318. type: integer
  21319. - description: 要素项类型
  21320. in: query
  21321. name: dgfactoryitemtypeid
  21322. type: integer
  21323. - description: 顺序
  21324. in: query
  21325. name: orderindex
  21326. type: integer
  21327. produces:
  21328. - application/json
  21329. responses:
  21330. "200":
  21331. description: OK
  21332. schema:
  21333. items:
  21334. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  21335. type: array
  21336. "500":
  21337. description: Internal Server Error
  21338. schema:
  21339. $ref: '#/definitions/app.Response'
  21340. security:
  21341. - ApiKeyAuth: []
  21342. summary: 查询品种要素定义项
  21343. tags:
  21344. - 企业风险管理v3(app)
  21345. /Ermcp3/QueryDeliveryGoods:
  21346. get:
  21347. parameters:
  21348. - description: 用户id
  21349. in: query
  21350. name: userid
  21351. required: true
  21352. type: integer
  21353. - description: 用户类型 2-机构 7-企业成员
  21354. in: query
  21355. name: usertype
  21356. type: integer
  21357. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21358. in: query
  21359. name: excludecfg
  21360. type: integer
  21361. produces:
  21362. - application/json
  21363. responses:
  21364. "200":
  21365. description: OK
  21366. schema:
  21367. items:
  21368. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  21369. type: array
  21370. "500":
  21371. description: Internal Server Error
  21372. schema:
  21373. $ref: '#/definitions/app.Response'
  21374. security:
  21375. - ApiKeyAuth: []
  21376. summary: 查询现货商品
  21377. tags:
  21378. - 企业风险管理v3(app)
  21379. /Ermcp3/QueryDeliveryGoodsDetail:
  21380. get:
  21381. parameters:
  21382. - description: 用户id
  21383. in: query
  21384. name: userid
  21385. required: true
  21386. type: integer
  21387. - description: 用户类型 2-机构 7-企业成员
  21388. in: query
  21389. name: usertype
  21390. type: integer
  21391. - description: 现货商品id
  21392. in: query
  21393. name: deliverygoodsid
  21394. type: integer
  21395. produces:
  21396. - application/json
  21397. responses:
  21398. "200":
  21399. description: OK
  21400. schema:
  21401. items:
  21402. $ref: '#/definitions/models.XHDeliveryGoods'
  21403. type: array
  21404. "500":
  21405. description: Internal Server Error
  21406. schema:
  21407. $ref: '#/definitions/app.Response'
  21408. security:
  21409. - ApiKeyAuth: []
  21410. summary: 查询现货商品详情
  21411. tags:
  21412. - 企业风险管理v3(app)
  21413. /Ermcp3/QueryExposureDetail:
  21414. get:
  21415. parameters:
  21416. - description: 用户id
  21417. in: query
  21418. name: userid
  21419. required: true
  21420. type: integer
  21421. - description: 用户类型 2-机构 7-企业成员
  21422. in: query
  21423. name: usertype
  21424. type: integer
  21425. - description: 套保商品
  21426. in: query
  21427. name: middlegoodsid
  21428. required: true
  21429. type: integer
  21430. produces:
  21431. - application/json
  21432. responses:
  21433. "200":
  21434. description: OK
  21435. schema:
  21436. items:
  21437. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  21438. type: array
  21439. "500":
  21440. description: Internal Server Error
  21441. schema:
  21442. $ref: '#/definitions/app.Response'
  21443. security:
  21444. - ApiKeyAuth: []
  21445. summary: 查询敞口现货明细
  21446. tags:
  21447. - 企业风险管理v3(app)
  21448. /Ermcp3/QueryExposureSpot:
  21449. get:
  21450. parameters:
  21451. - description: 用户id
  21452. in: query
  21453. name: userid
  21454. required: true
  21455. type: integer
  21456. - description: 用户类型 2-机构 7-企业成员
  21457. in: query
  21458. name: usertype
  21459. type: integer
  21460. produces:
  21461. - application/json
  21462. responses:
  21463. "200":
  21464. description: OK
  21465. schema:
  21466. items:
  21467. $ref: '#/definitions/models.Ermcp3AreaSpot'
  21468. type: array
  21469. "500":
  21470. description: Internal Server Error
  21471. schema:
  21472. $ref: '#/definitions/app.Response'
  21473. security:
  21474. - ApiKeyAuth: []
  21475. summary: 查询敞口现货头寸(敞口/现货头寸)
  21476. tags:
  21477. - 企业风险管理v3(app)
  21478. /Ermcp3/QueryExposureSpotDetail:
  21479. get:
  21480. parameters:
  21481. - description: 用户id
  21482. in: query
  21483. name: userid
  21484. required: true
  21485. type: integer
  21486. - description: 用户类型 2-机构 7-企业成员
  21487. in: query
  21488. name: usertype
  21489. type: integer
  21490. - description: 现货商品ID
  21491. in: query
  21492. name: wrstandardid
  21493. required: true
  21494. type: integer
  21495. produces:
  21496. - application/json
  21497. responses:
  21498. "200":
  21499. description: OK
  21500. schema:
  21501. items:
  21502. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  21503. type: array
  21504. "500":
  21505. description: Internal Server Error
  21506. schema:
  21507. $ref: '#/definitions/app.Response'
  21508. security:
  21509. - ApiKeyAuth: []
  21510. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21511. tags:
  21512. - 企业风险管理v3(app)
  21513. /Ermcp3/QueryGoodsGroup:
  21514. get:
  21515. parameters:
  21516. - description: 用户id
  21517. in: query
  21518. name: userid
  21519. required: true
  21520. type: integer
  21521. - description: 用户类型 2-机构 7-企业成员
  21522. in: query
  21523. name: usertype
  21524. type: integer
  21525. - description: 排除套保品中已关联的商品组 1-排除
  21526. in: query
  21527. name: excludecfg
  21528. type: integer
  21529. produces:
  21530. - application/json
  21531. responses:
  21532. "200":
  21533. description: OK
  21534. schema:
  21535. items:
  21536. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  21537. type: array
  21538. "500":
  21539. description: Internal Server Error
  21540. schema:
  21541. $ref: '#/definitions/app.Response'
  21542. security:
  21543. - ApiKeyAuth: []
  21544. summary: 查询期货商品组
  21545. tags:
  21546. - 企业风险管理v3(app)
  21547. /Ermcp3/QueryGoodsWrstandard:
  21548. get:
  21549. parameters:
  21550. - description: 用户id
  21551. in: query
  21552. name: userid
  21553. required: true
  21554. type: integer
  21555. - description: 用户类型 2-机构 7-企业成员
  21556. in: query
  21557. name: usertype
  21558. type: integer
  21559. - description: 现货商品id
  21560. in: query
  21561. name: deliverygoodsid
  21562. type: integer
  21563. produces:
  21564. - application/json
  21565. responses:
  21566. "200":
  21567. description: OK
  21568. schema:
  21569. items:
  21570. $ref: '#/definitions/models.Ermcp3Wrstandard'
  21571. type: array
  21572. "500":
  21573. description: Internal Server Error
  21574. schema:
  21575. $ref: '#/definitions/app.Response'
  21576. security:
  21577. - ApiKeyAuth: []
  21578. summary: 查询商品品类
  21579. tags:
  21580. - 企业风险管理v3(app)
  21581. /Ermcp3/QueryGoodsbrand:
  21582. get:
  21583. parameters:
  21584. - description: 用户id
  21585. in: query
  21586. name: userid
  21587. required: true
  21588. type: integer
  21589. - description: 用户类型 2-机构 7-企业成员
  21590. in: query
  21591. name: usertype
  21592. type: integer
  21593. produces:
  21594. - application/json
  21595. responses:
  21596. "200":
  21597. description: OK
  21598. schema:
  21599. items:
  21600. $ref: '#/definitions/models.Ermcp3Brand'
  21601. type: array
  21602. "500":
  21603. description: Internal Server Error
  21604. schema:
  21605. $ref: '#/definitions/app.Response'
  21606. security:
  21607. - ApiKeyAuth: []
  21608. summary: 查询商品品牌
  21609. tags:
  21610. - 企业风险管理v3(app)
  21611. /Ermcp3/QueryHedgePlan:
  21612. get:
  21613. parameters:
  21614. - description: 用户ID
  21615. in: query
  21616. name: userid
  21617. required: true
  21618. type: integer
  21619. - description: 用户类型 2-机构 7-企业成员
  21620. in: query
  21621. name: usertype
  21622. type: integer
  21623. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  21624. in: query
  21625. name: hedgeplanstatus
  21626. required: true
  21627. type: string
  21628. produces:
  21629. - application/json
  21630. responses:
  21631. "200":
  21632. description: OK
  21633. schema:
  21634. items:
  21635. $ref: '#/definitions/models.Ermcp3HedgePlan'
  21636. type: array
  21637. "500":
  21638. description: Internal Server Error
  21639. schema:
  21640. $ref: '#/definitions/app.Response'
  21641. security:
  21642. - ApiKeyAuth: []
  21643. summary: 查询套保计划
  21644. tags:
  21645. - 企业风险管理v3(app)
  21646. /Ermcp3/QueryInnerTradeLink:
  21647. get:
  21648. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  21649. parameters:
  21650. - description: 外部成交单号
  21651. in: query
  21652. name: outtradeid
  21653. required: true
  21654. type: integer
  21655. produces:
  21656. - application/json
  21657. responses:
  21658. "200":
  21659. description: OK
  21660. schema:
  21661. items:
  21662. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  21663. type: array
  21664. "500":
  21665. description: Internal Server Error
  21666. schema:
  21667. $ref: '#/definitions/app.Response'
  21668. security:
  21669. - ApiKeyAuth: []
  21670. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  21671. tags:
  21672. - 企业风险管理v3(app)
  21673. /Ermcp3/QueryMiddleGoodsDetail:
  21674. get:
  21675. parameters:
  21676. - description: 用户id
  21677. in: query
  21678. name: userid
  21679. required: true
  21680. type: integer
  21681. - description: 用户类型 2-机构 7-企业成员
  21682. in: query
  21683. name: usertype
  21684. type: integer
  21685. - description: 套保品种id
  21686. in: query
  21687. name: middlegoodsid
  21688. type: integer
  21689. produces:
  21690. - application/json
  21691. responses:
  21692. "200":
  21693. description: OK
  21694. schema:
  21695. items:
  21696. $ref: '#/definitions/models.TBMiddleGoods'
  21697. type: array
  21698. "500":
  21699. description: Internal Server Error
  21700. schema:
  21701. $ref: '#/definitions/app.Response'
  21702. security:
  21703. - ApiKeyAuth: []
  21704. summary: 查询套保品种详情(套保品种/商品详情)
  21705. tags:
  21706. - 企业风险管理v3(app)
  21707. /Ermcp3/QueryOutTradeLink:
  21708. get:
  21709. description: 页面 app 现货->期现关联->外部成交单关联
  21710. parameters:
  21711. - description: 用户ID(填登录用户的userid)
  21712. in: query
  21713. name: userid
  21714. required: true
  21715. type: integer
  21716. - description: 外部订单号(模糊匹配)
  21717. in: query
  21718. name: outtradeid
  21719. type: string
  21720. - description: 合约名称/代码(模糊匹配)
  21721. in: query
  21722. name: goodsname
  21723. type: string
  21724. - description: 关联状态 0-未关联 1-已关联
  21725. in: query
  21726. name: hasinnerorder
  21727. type: integer
  21728. produces:
  21729. - application/json
  21730. responses:
  21731. "200":
  21732. description: OK
  21733. schema:
  21734. items:
  21735. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  21736. type: array
  21737. "500":
  21738. description: Internal Server Error
  21739. schema:
  21740. $ref: '#/definitions/app.Response'
  21741. security:
  21742. - ApiKeyAuth: []
  21743. summary: 查询外部成交单关联
  21744. tags:
  21745. - 企业风险管理v3(app)
  21746. /Ermcp3/QueryPaAreaAuditCfg:
  21747. get:
  21748. parameters:
  21749. - description: 用户id
  21750. in: query
  21751. name: userid
  21752. required: true
  21753. type: integer
  21754. produces:
  21755. - application/json
  21756. responses:
  21757. "200":
  21758. description: OK
  21759. schema:
  21760. items:
  21761. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  21762. type: array
  21763. "500":
  21764. description: Internal Server Error
  21765. schema:
  21766. $ref: '#/definitions/app.Response'
  21767. security:
  21768. - ApiKeyAuth: []
  21769. summary: 查询审核设置
  21770. tags:
  21771. - 企业风险管理v3(app)
  21772. /Ermcp3/QueryPaAreaSubject:
  21773. get:
  21774. parameters:
  21775. - description: 用户id
  21776. in: query
  21777. name: userid
  21778. required: true
  21779. type: integer
  21780. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  21781. in: query
  21782. name: subjectid
  21783. type: integer
  21784. - description: 主体类型 - 1:交易主体 2:业务部门
  21785. in: query
  21786. name: subjecttype
  21787. type: integer
  21788. - description: '主体状态 - 1:正常 2: 停用'
  21789. in: query
  21790. name: subjectstatus
  21791. type: integer
  21792. produces:
  21793. - application/json
  21794. responses:
  21795. "200":
  21796. description: OK
  21797. schema:
  21798. items:
  21799. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  21800. type: array
  21801. "500":
  21802. description: Internal Server Error
  21803. schema:
  21804. $ref: '#/definitions/app.Response'
  21805. security:
  21806. - ApiKeyAuth: []
  21807. summary: 查询交易主体
  21808. tags:
  21809. - 企业风险管理v3(app)
  21810. /Ermcp3/QueryPaTradeLink:
  21811. get:
  21812. description: 页面 app 现货->期现关联->期现单据关联
  21813. parameters:
  21814. - description: 用户ID
  21815. in: query
  21816. name: userid
  21817. required: true
  21818. type: integer
  21819. produces:
  21820. - application/json
  21821. responses:
  21822. "200":
  21823. description: OK
  21824. schema:
  21825. items:
  21826. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  21827. type: array
  21828. "500":
  21829. description: Internal Server Error
  21830. schema:
  21831. $ref: '#/definitions/app.Response'
  21832. security:
  21833. - ApiKeyAuth: []
  21834. summary: 查询期现单据关联
  21835. tags:
  21836. - 企业风险管理v3(app)
  21837. /Ermcp3/QueryPaTradeLinkDetail:
  21838. get:
  21839. description: 页面 app 现货->期现关联->关联记录
  21840. parameters:
  21841. - description: 用户ID(填登录用户的userid)
  21842. in: query
  21843. name: userid
  21844. required: true
  21845. type: integer
  21846. - description: 期货订单号(模糊匹配)
  21847. in: query
  21848. name: tradeid
  21849. type: string
  21850. - description: 现货编号(模糊匹配)
  21851. in: query
  21852. name: contractno
  21853. type: string
  21854. - description: 期货账户(模糊匹配)
  21855. in: query
  21856. name: taname
  21857. type: string
  21858. produces:
  21859. - application/json
  21860. responses:
  21861. "200":
  21862. description: OK
  21863. schema:
  21864. items:
  21865. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  21866. type: array
  21867. "500":
  21868. description: Internal Server Error
  21869. schema:
  21870. $ref: '#/definitions/app.Response'
  21871. security:
  21872. - ApiKeyAuth: []
  21873. summary: 查询期现关联记录
  21874. tags:
  21875. - 企业风险管理v3(app)
  21876. /Ermcp3/QueryParamChangeApp:
  21877. get:
  21878. description: |-
  21879. 原型页面:
  21880. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  21881. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  21882. parameters:
  21883. - description: 用户ID
  21884. in: query
  21885. name: userid
  21886. required: true
  21887. type: integer
  21888. - description: 现货品种id
  21889. in: query
  21890. name: deliverygoodsid
  21891. type: integer
  21892. - description: 现货商品id
  21893. in: query
  21894. name: wrstandardid
  21895. type: integer
  21896. - description: 套保商品id
  21897. in: query
  21898. name: middlegoodsid
  21899. type: integer
  21900. - description: 操作类型 1:新增 2:修改
  21901. in: query
  21902. name: operatetype
  21903. type: integer
  21904. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  21905. in: query
  21906. name: paramchangetype
  21907. type: integer
  21908. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21909. in: query
  21910. name: ftstatus
  21911. type: string
  21912. produces:
  21913. - application/json
  21914. responses:
  21915. "200":
  21916. description: OK
  21917. schema:
  21918. items:
  21919. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  21920. type: array
  21921. "500":
  21922. description: Internal Server Error
  21923. schema:
  21924. $ref: '#/definitions/app.Response'
  21925. security:
  21926. - ApiKeyAuth: []
  21927. summary: 查询现货商品参数变更申请(流水)
  21928. tags:
  21929. - 企业风险管理v3(app)
  21930. /Ermcp3/QueryRootUserAccount:
  21931. get:
  21932. parameters:
  21933. - description: 用户ID
  21934. in: query
  21935. name: userid
  21936. required: true
  21937. type: integer
  21938. produces:
  21939. - application/json
  21940. responses:
  21941. "200":
  21942. description: OK
  21943. schema:
  21944. items:
  21945. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  21946. type: array
  21947. "500":
  21948. description: Internal Server Error
  21949. schema:
  21950. $ref: '#/definitions/app.Response'
  21951. security:
  21952. - ApiKeyAuth: []
  21953. summary: 查询顶级用户信息
  21954. tags:
  21955. - 企业风险管理v3(app)
  21956. /Ermcp3/QuerySCMiddleGoods:
  21957. get:
  21958. description: |-
  21959. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  21960. 现货编号 即 合同编号
  21961. parameters:
  21962. - description: 用户ID(填登录用户的userid)
  21963. in: query
  21964. name: userid
  21965. required: true
  21966. type: integer
  21967. - description: 买卖方向 0-买 1-卖
  21968. in: query
  21969. name: buyorsell
  21970. required: true
  21971. type: integer
  21972. - description: 商品组id
  21973. in: query
  21974. name: goodsgroupid
  21975. required: true
  21976. type: integer
  21977. - description: 现货编号(模糊匹配)
  21978. in: query
  21979. name: contractno
  21980. type: string
  21981. - description: 对手方(模糊匹配)
  21982. in: query
  21983. name: customername
  21984. type: string
  21985. - description: 现货商品名称(模糊匹配)
  21986. in: query
  21987. name: wrstandardname
  21988. type: string
  21989. produces:
  21990. - application/json
  21991. responses:
  21992. "200":
  21993. description: OK
  21994. schema:
  21995. items:
  21996. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  21997. type: array
  21998. "500":
  21999. description: Internal Server Error
  22000. schema:
  22001. $ref: '#/definitions/app.Response'
  22002. security:
  22003. - ApiKeyAuth: []
  22004. summary: 查询现货订单
  22005. tags:
  22006. - 企业风险管理v3(app)
  22007. /Ermcp3/QuerySpotContract:
  22008. get:
  22009. parameters:
  22010. - description: 用户id(当指定contractid, userid可不填)
  22011. in: query
  22012. name: userid
  22013. required: true
  22014. type: integer
  22015. - description: 用户类型 2-机构 7-企业成员
  22016. in: query
  22017. name: usertype
  22018. type: integer
  22019. - description: 合同类型 1-采购, -1-销售
  22020. in: query
  22021. name: contracttype
  22022. type: integer
  22023. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成 (当指定contractid, querytype可不填)
  22024. in: query
  22025. name: querytype
  22026. required: true
  22027. type: integer
  22028. - description: 合同ID(SpotContractId)
  22029. in: query
  22030. name: contractid
  22031. type: string
  22032. produces:
  22033. - application/json
  22034. responses:
  22035. "200":
  22036. description: OK
  22037. schema:
  22038. items:
  22039. $ref: '#/definitions/models.Ermcp3Contract'
  22040. type: array
  22041. "500":
  22042. description: Internal Server Error
  22043. schema:
  22044. $ref: '#/definitions/app.Response'
  22045. security:
  22046. - ApiKeyAuth: []
  22047. summary: 查询现货合同
  22048. tags:
  22049. - 企业风险管理v3(app)
  22050. /Ermcp3/QuerySpotContractBS:
  22051. get:
  22052. parameters:
  22053. - description: 用户id
  22054. in: query
  22055. name: userid
  22056. required: true
  22057. type: integer
  22058. - description: 用户类型 2-机构 7-企业成员
  22059. in: query
  22060. name: usertype
  22061. type: integer
  22062. - description: 合同类型 1-采购, -1-销售
  22063. in: query
  22064. name: contracttype
  22065. required: true
  22066. type: integer
  22067. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22068. in: query
  22069. name: querytype
  22070. required: true
  22071. type: integer
  22072. - description: 合同ID(SpotContractId)
  22073. in: query
  22074. name: contractid
  22075. type: string
  22076. produces:
  22077. - application/json
  22078. responses:
  22079. "200":
  22080. description: OK
  22081. schema:
  22082. items:
  22083. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22084. type: array
  22085. "500":
  22086. description: Internal Server Error
  22087. schema:
  22088. $ref: '#/definitions/app.Response'
  22089. security:
  22090. - ApiKeyAuth: []
  22091. summary: 查询合同(采购/销售)
  22092. tags:
  22093. - 企业风险管理v3(app)
  22094. /Ermcp3/QuerySpotGoodsPrice:
  22095. get:
  22096. parameters:
  22097. - description: 用户ID
  22098. in: query
  22099. name: userid
  22100. required: true
  22101. type: integer
  22102. produces:
  22103. - application/json
  22104. responses:
  22105. "200":
  22106. description: OK
  22107. schema:
  22108. items:
  22109. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22110. type: array
  22111. "500":
  22112. description: Internal Server Error
  22113. schema:
  22114. $ref: '#/definitions/app.Response'
  22115. security:
  22116. - ApiKeyAuth: []
  22117. summary: 查询现货市价(现货市价)
  22118. tags:
  22119. - 企业风险管理v3(app)
  22120. /Ermcp3/QuerySpotGoodsPriceLog:
  22121. get:
  22122. parameters:
  22123. - description: 用户ID
  22124. in: query
  22125. name: userid
  22126. required: true
  22127. type: integer
  22128. - description: 现货商品ID
  22129. in: query
  22130. name: deliverygoodsid
  22131. required: true
  22132. type: integer
  22133. - description: 品牌ID
  22134. in: query
  22135. name: brandid
  22136. type: integer
  22137. - description: 品类ID
  22138. in: query
  22139. name: wrstandardid
  22140. type: integer
  22141. produces:
  22142. - application/json
  22143. responses:
  22144. "200":
  22145. description: OK
  22146. schema:
  22147. items:
  22148. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22149. type: array
  22150. "500":
  22151. description: Internal Server Error
  22152. schema:
  22153. $ref: '#/definitions/app.Response'
  22154. security:
  22155. - ApiKeyAuth: []
  22156. summary: 查询现货市价详情(现货市价/详情)
  22157. tags:
  22158. - 企业风险管理v3(app)
  22159. /Ermcp3/QuerySubTaaccount:
  22160. get:
  22161. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22162. parameters:
  22163. - description: 母账号id
  22164. in: query
  22165. name: parentaccountid
  22166. type: integer
  22167. - description: 母账号代码
  22168. in: query
  22169. name: parentaccountcode
  22170. type: string
  22171. produces:
  22172. - application/json
  22173. responses:
  22174. "200":
  22175. description: OK
  22176. schema:
  22177. items:
  22178. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22179. type: array
  22180. "500":
  22181. description: Internal Server Error
  22182. schema:
  22183. $ref: '#/definitions/app.Response'
  22184. security:
  22185. - ApiKeyAuth: []
  22186. summary: 查询期货子账户
  22187. tags:
  22188. - 企业风险管理v3(app)
  22189. /Erms2/QueryArbitrageStrategy:
  22190. get:
  22191. parameters:
  22192. - description: 账户ID
  22193. in: query
  22194. name: userid
  22195. required: true
  22196. type: integer
  22197. - description: 商品组ID(品种ID)
  22198. in: query
  22199. name: goodsgroupid
  22200. type: string
  22201. produces:
  22202. - application/json
  22203. responses:
  22204. "200":
  22205. description: OK
  22206. schema:
  22207. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  22208. "500":
  22209. description: Internal Server Error
  22210. schema:
  22211. $ref: '#/definitions/app.Response'
  22212. security:
  22213. - ApiKeyAuth: []
  22214. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  22215. tags:
  22216. - 风险管理
  22217. /Erms2/QueryInnerTradeDetail:
  22218. get:
  22219. parameters:
  22220. - description: 资金账户
  22221. in: query
  22222. name: accountid
  22223. required: true
  22224. type: integer
  22225. produces:
  22226. - application/json
  22227. responses:
  22228. "200":
  22229. description: OK
  22230. schema:
  22231. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  22232. "500":
  22233. description: Internal Server Error
  22234. schema:
  22235. $ref: '#/definitions/app.Response'
  22236. security:
  22237. - ApiKeyAuth: []
  22238. summary: 查询内部成交单信息
  22239. tags:
  22240. - 风险管理
  22241. /Erms2/QuerySpotContract:
  22242. get:
  22243. parameters:
  22244. - description: 策略申请ID
  22245. in: query
  22246. name: asapplyid
  22247. required: true
  22248. type: integer
  22249. - description: 现货合同ID
  22250. in: query
  22251. name: spotcontractid
  22252. type: integer
  22253. produces:
  22254. - application/json
  22255. responses:
  22256. "200":
  22257. description: OK
  22258. schema:
  22259. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  22260. "500":
  22261. description: Internal Server Error
  22262. schema:
  22263. $ref: '#/definitions/app.Response'
  22264. security:
  22265. - ApiKeyAuth: []
  22266. summary: 查询现货合同表信息(指定策略ID、未结束的)
  22267. tags:
  22268. - 风险管理
  22269. /Erms3/AddErms2ASApply:
  22270. post:
  22271. parameters:
  22272. - description: 申请参数
  22273. in: body
  22274. name: jsonBody
  22275. required: true
  22276. schema:
  22277. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  22278. produces:
  22279. - application/json
  22280. responses:
  22281. "200":
  22282. description: OK
  22283. schema:
  22284. $ref: '#/definitions/app.Response'
  22285. "500":
  22286. description: Internal Server Error
  22287. schema:
  22288. $ref: '#/definitions/app.Response'
  22289. security:
  22290. - ApiKeyAuth: []
  22291. summary: 新增期现套利业务申请
  22292. tags:
  22293. - 风险管理v3
  22294. /Erms3/AddErms2SpotTradeApply:
  22295. post:
  22296. parameters:
  22297. - description: 申请参数
  22298. in: body
  22299. name: jsonBody
  22300. required: true
  22301. schema:
  22302. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  22303. produces:
  22304. - application/json
  22305. responses:
  22306. "200":
  22307. description: OK
  22308. schema:
  22309. $ref: '#/definitions/app.Response'
  22310. "500":
  22311. description: Internal Server Error
  22312. schema:
  22313. $ref: '#/definitions/app.Response'
  22314. security:
  22315. - ApiKeyAuth: []
  22316. summary: 新增现货贸易业务申请
  22317. tags:
  22318. - 风险管理v3
  22319. /Erms3/AddSpotContractApply:
  22320. post:
  22321. parameters:
  22322. - description: 申请参数
  22323. in: body
  22324. name: jsonBody
  22325. required: true
  22326. schema:
  22327. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  22328. produces:
  22329. - application/json
  22330. responses:
  22331. "200":
  22332. description: OK
  22333. schema:
  22334. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  22335. "500":
  22336. description: Internal Server Error
  22337. schema:
  22338. $ref: '#/definitions/app.Response'
  22339. security:
  22340. - ApiKeyAuth: []
  22341. summary: 新增现货合同申请
  22342. tags:
  22343. - 风险管理v3
  22344. /Erms3/AddUserInfoApply:
  22345. post:
  22346. parameters:
  22347. - description: 用户信息
  22348. in: body
  22349. name: jsonBody
  22350. required: true
  22351. schema:
  22352. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  22353. produces:
  22354. - application/json
  22355. responses:
  22356. "200":
  22357. description: OK
  22358. schema:
  22359. $ref: '#/definitions/app.Response'
  22360. "500":
  22361. description: Internal Server Error
  22362. schema:
  22363. $ref: '#/definitions/app.Response'
  22364. security:
  22365. - ApiKeyAuth: []
  22366. summary: 新增客户申请
  22367. tags:
  22368. - 风险管理v3
  22369. /Erms3/DeleteUserInfoApply:
  22370. get:
  22371. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  22372. parameters:
  22373. - description: 用户ID
  22374. in: query
  22375. name: userID
  22376. required: true
  22377. type: integer
  22378. produces:
  22379. - application/json
  22380. responses:
  22381. "200":
  22382. description: OK
  22383. schema:
  22384. $ref: '#/definitions/app.Response'
  22385. "500":
  22386. description: Internal Server Error
  22387. schema:
  22388. $ref: '#/definitions/app.Response'
  22389. security:
  22390. - ApiKeyAuth: []
  22391. summary: 删除客户申请
  22392. tags:
  22393. - 风险管理v3
  22394. /Erms3/ModifyUserInfoApply:
  22395. post:
  22396. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid": int, "userstate": 2 }'
  22397. parameters:
  22398. - description: 用户信息
  22399. in: body
  22400. name: jsonBody
  22401. required: true
  22402. schema:
  22403. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  22404. produces:
  22405. - application/json
  22406. responses:
  22407. "200":
  22408. description: OK
  22409. schema:
  22410. $ref: '#/definitions/app.Response'
  22411. "500":
  22412. description: Internal Server Error
  22413. schema:
  22414. $ref: '#/definitions/app.Response'
  22415. security:
  22416. - ApiKeyAuth: []
  22417. summary: 修改客户申请
  22418. tags:
  22419. - 风险管理v3
  22420. /Erms3/QueryBusinessInfo:
  22421. get:
  22422. parameters:
  22423. - description: 资金账号ID列表,用逗号分隔
  22424. in: query
  22425. name: accountids
  22426. required: true
  22427. type: string
  22428. - description: 状态,0为未结束 1为已结束
  22429. in: query
  22430. name: status
  22431. required: true
  22432. type: integer
  22433. produces:
  22434. - application/json
  22435. responses:
  22436. "200":
  22437. description: OK
  22438. schema:
  22439. items:
  22440. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  22441. type: array
  22442. "500":
  22443. description: Internal Server Error
  22444. schema:
  22445. $ref: '#/definitions/app.Response'
  22446. security:
  22447. - ApiKeyAuth: []
  22448. summary: 查询业务表单数据
  22449. tags:
  22450. - 风险管理v3
  22451. /Erms3/QueryPendingAuditContract:
  22452. get:
  22453. parameters:
  22454. - description: 资金账号ID列表,逗号隔开
  22455. in: query
  22456. name: accountids
  22457. required: true
  22458. type: string
  22459. - description: 合同类型 1-采购 -1-销售
  22460. in: query
  22461. name: contracttype
  22462. required: true
  22463. type: integer
  22464. - description: 合同模式 1-普通 2-回购
  22465. in: query
  22466. name: contractmode
  22467. required: true
  22468. type: integer
  22469. produces:
  22470. - application/json
  22471. responses:
  22472. "200":
  22473. description: OK
  22474. schema:
  22475. items:
  22476. $ref: '#/definitions/erms3.QryAuditContractRsp'
  22477. type: array
  22478. "500":
  22479. description: Internal Server Error
  22480. schema:
  22481. $ref: '#/definitions/app.Response'
  22482. security:
  22483. - ApiKeyAuth: []
  22484. summary: 查询待审核合同
  22485. tags:
  22486. - 风险管理v3
  22487. /Erms3/QueryPendingBusiness:
  22488. get:
  22489. parameters:
  22490. - description: 资金账号ID列表,逗号隔开
  22491. in: query
  22492. name: accountids
  22493. required: true
  22494. type: string
  22495. produces:
  22496. - application/json
  22497. responses:
  22498. "200":
  22499. description: OK
  22500. schema:
  22501. items:
  22502. $ref: '#/definitions/erms3.QryPendingBizRsp'
  22503. type: array
  22504. "500":
  22505. description: Internal Server Error
  22506. schema:
  22507. $ref: '#/definitions/app.Response'
  22508. security:
  22509. - ApiKeyAuth: []
  22510. summary: 查询待审核基差贸易业务
  22511. tags:
  22512. - 风险管理v3
  22513. /Erms3/QuerySpotContractAppleForm:
  22514. get:
  22515. parameters:
  22516. - description: 登录账号
  22517. in: query
  22518. name: loginID
  22519. required: true
  22520. type: integer
  22521. produces:
  22522. - application/json
  22523. responses:
  22524. "200":
  22525. description: OK
  22526. schema:
  22527. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  22528. "500":
  22529. description: Internal Server Error
  22530. schema:
  22531. $ref: '#/definitions/app.Response'
  22532. security:
  22533. - ApiKeyAuth: []
  22534. summary: 查询合同申请表单数据
  22535. tags:
  22536. - 风险管理v3
  22537. /Erms3/QuerySpotContractDetail:
  22538. get:
  22539. parameters:
  22540. - description: 资金账号ID列表,用逗号分隔
  22541. in: query
  22542. name: accountids
  22543. required: true
  22544. type: string
  22545. - description: 合同类型,1为采购合同 -1为销售合同
  22546. in: query
  22547. name: contracttype
  22548. required: true
  22549. type: integer
  22550. - description: 合同模式,1为普通合同 2为回购销售合同
  22551. in: query
  22552. name: contractmode
  22553. required: true
  22554. type: integer
  22555. - description: 状态,0为履约中 1为已完成
  22556. in: query
  22557. name: status
  22558. required: true
  22559. type: integer
  22560. produces:
  22561. - application/json
  22562. responses:
  22563. "200":
  22564. description: OK
  22565. schema:
  22566. items:
  22567. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  22568. type: array
  22569. "500":
  22570. description: Internal Server Error
  22571. schema:
  22572. $ref: '#/definitions/app.Response'
  22573. security:
  22574. - ApiKeyAuth: []
  22575. summary: 查询合同详细信息
  22576. tags:
  22577. - 风险管理v3
  22578. /Erms3/QueryUserInfoApplies:
  22579. get:
  22580. parameters:
  22581. - description: 页码
  22582. in: query
  22583. name: page
  22584. type: integer
  22585. - description: 每页条数
  22586. in: query
  22587. name: pagesize
  22588. type: integer
  22589. - description: 客户名称,支持模糊查询
  22590. in: query
  22591. name: userName
  22592. type: string
  22593. produces:
  22594. - application/json
  22595. responses:
  22596. "200":
  22597. description: OK
  22598. schema:
  22599. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  22600. "500":
  22601. description: Internal Server Error
  22602. schema:
  22603. $ref: '#/definitions/app.Response'
  22604. security:
  22605. - ApiKeyAuth: []
  22606. summary: 客户申请信息查询
  22607. tags:
  22608. - 风险管理v3
  22609. /Erms3/QueryUserInfos:
  22610. get:
  22611. parameters:
  22612. - description: 页码
  22613. in: query
  22614. name: page
  22615. type: integer
  22616. - description: 每页条数
  22617. in: query
  22618. name: pagesize
  22619. type: integer
  22620. - description: 客户名称,支持模糊查询
  22621. in: query
  22622. name: userName
  22623. type: string
  22624. produces:
  22625. - application/json
  22626. responses:
  22627. "200":
  22628. description: OK
  22629. schema:
  22630. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  22631. "500":
  22632. description: Internal Server Error
  22633. schema:
  22634. $ref: '#/definitions/app.Response'
  22635. security:
  22636. - ApiKeyAuth: []
  22637. summary: 客户信息查询
  22638. tags:
  22639. - 风险管理v3
  22640. /HSBY/GetHsbyMyCount:
  22641. get:
  22642. description: 说明: 不包括已完成的数量。
  22643. parameters:
  22644. - description: 资金账户列表,格式:1,2,3
  22645. in: query
  22646. name: accountIDs
  22647. required: true
  22648. type: string
  22649. produces:
  22650. - application/json
  22651. responses:
  22652. "200":
  22653. description: OK
  22654. schema:
  22655. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  22656. "500":
  22657. description: Internal Server Error
  22658. schema:
  22659. $ref: '#/definitions/app.Response'
  22660. security:
  22661. - ApiKeyAuth: []
  22662. summary: 获取我的订单与包裹数量
  22663. tags:
  22664. - 定制【海商报业】
  22665. /HSBY/QueryClientFixedADConfigs:
  22666. get:
  22667. produces:
  22668. - application/json
  22669. responses:
  22670. "200":
  22671. description: OK
  22672. schema:
  22673. $ref: '#/definitions/models.Clientfixedadconfig'
  22674. "500":
  22675. description: Internal Server Error
  22676. schema:
  22677. $ref: '#/definitions/app.Response'
  22678. security:
  22679. - ApiKeyAuth: []
  22680. summary: 获取终端固定广告配置
  22681. tags:
  22682. - 定制【海商报业】
  22683. /HSBY/QueryHsbyBuyMyTradeDetail:
  22684. get:
  22685. parameters:
  22686. - description: 页码
  22687. in: query
  22688. name: page
  22689. type: integer
  22690. - description: 每页条数
  22691. in: query
  22692. name: pagesize
  22693. type: integer
  22694. - description: 资金账户列表,格式:1,2,3
  22695. in: query
  22696. name: accountIDs
  22697. required: true
  22698. type: string
  22699. produces:
  22700. - application/json
  22701. responses:
  22702. "200":
  22703. description: OK
  22704. schema:
  22705. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  22706. "500":
  22707. description: Internal Server Error
  22708. schema:
  22709. $ref: '#/definitions/app.Response'
  22710. security:
  22711. - ApiKeyAuth: []
  22712. summary: 查询"我的订单 - 已完成"单据信息
  22713. tags:
  22714. - 定制【海商报业】
  22715. /HSBY/QueryHsbyGoodsOrderDetails:
  22716. get:
  22717. description: 说明:查询结果已按委托价格和委托时间排序
  22718. parameters:
  22719. - description: 商品ID
  22720. in: query
  22721. name: goodsID
  22722. required: true
  22723. type: integer
  22724. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  22725. in: query
  22726. name: accountIDs
  22727. type: string
  22728. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  22729. in: query
  22730. name: buyOrSell
  22731. type: integer
  22732. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  22733. in: query
  22734. name: price
  22735. type: number
  22736. - description: 档位,不传则默认为3档
  22737. in: query
  22738. name: speed
  22739. type: integer
  22740. produces:
  22741. - application/json
  22742. responses:
  22743. "200":
  22744. description: OK
  22745. schema:
  22746. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  22747. "500":
  22748. description: Internal Server Error
  22749. schema:
  22750. $ref: '#/definitions/app.Response'
  22751. security:
  22752. - ApiKeyAuth: []
  22753. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  22754. tags:
  22755. - 定制【海商报业】
  22756. /HSBY/QueryHsbyListingGoodsDetail:
  22757. get:
  22758. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  22759. parameters:
  22760. - description: 商品ID
  22761. in: query
  22762. name: goodsID
  22763. required: true
  22764. type: integer
  22765. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  22766. in: query
  22767. name: accountID
  22768. type: integer
  22769. produces:
  22770. - application/json
  22771. responses:
  22772. "200":
  22773. description: OK
  22774. schema:
  22775. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  22776. "500":
  22777. description: Internal Server Error
  22778. schema:
  22779. $ref: '#/definitions/app.Response'
  22780. security:
  22781. - ApiKeyAuth: []
  22782. summary: 查询二级市场(挂牌点选)商品信息详情
  22783. tags:
  22784. - 定制【海商报业】
  22785. /HSBY/QueryHsbyMarketGoodsDetail:
  22786. get:
  22787. parameters:
  22788. - description: 委托单号
  22789. in: query
  22790. name: orderID
  22791. required: true
  22792. type: integer
  22793. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  22794. in: query
  22795. name: accountID
  22796. type: integer
  22797. produces:
  22798. - application/json
  22799. responses:
  22800. "200":
  22801. description: OK
  22802. schema:
  22803. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  22804. "500":
  22805. description: Internal Server Error
  22806. schema:
  22807. $ref: '#/definitions/app.Response'
  22808. security:
  22809. - ApiKeyAuth: []
  22810. summary: 查询三级市场(商城)商品信息详情
  22811. tags:
  22812. - 定制【海商报业】
  22813. /HSBY/QueryHsbyMarketGoodses:
  22814. get:
  22815. parameters:
  22816. - description: 页码
  22817. in: query
  22818. name: page
  22819. type: integer
  22820. - description: 每页条数
  22821. in: query
  22822. name: pagesize
  22823. type: integer
  22824. - description: 市场ID列表,格式:1,2,3
  22825. in: query
  22826. name: marketIDs
  22827. required: true
  22828. type: string
  22829. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  22830. in: query
  22831. name: accountID
  22832. required: true
  22833. type: integer
  22834. - description: 类别ID
  22835. in: query
  22836. name: categoryID
  22837. type: integer
  22838. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  22839. in: query
  22840. name: goodsIDs
  22841. type: string
  22842. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  22843. in: query
  22844. name: couponTypeID
  22845. type: integer
  22846. produces:
  22847. - application/json
  22848. responses:
  22849. "200":
  22850. description: OK
  22851. schema:
  22852. $ref: '#/definitions/models.HsbyMarketGoods'
  22853. "500":
  22854. description: Internal Server Error
  22855. schema:
  22856. $ref: '#/definitions/app.Response'
  22857. security:
  22858. - ApiKeyAuth: []
  22859. summary: 查询特卖商品列表(三级商城)
  22860. tags:
  22861. - 定制【海商报业】
  22862. /HSBY/QueryHsbyMarkets:
  22863. get:
  22864. produces:
  22865. - application/json
  22866. responses:
  22867. "200":
  22868. description: OK
  22869. schema:
  22870. $ref: '#/definitions/models.HsbyMarketInfo'
  22871. "500":
  22872. description: Internal Server Error
  22873. schema:
  22874. $ref: '#/definitions/app.Response'
  22875. security:
  22876. - ApiKeyAuth: []
  22877. summary: 查询海商报业相关市场信息
  22878. tags:
  22879. - 定制【海商报业】
  22880. /HSBY/QueryHsbyMyBuyOrderDetails:
  22881. get:
  22882. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  22883. parameters:
  22884. - description: 资金账户列表,格式:1,2,3
  22885. in: query
  22886. name: accountIDs
  22887. required: true
  22888. type: string
  22889. produces:
  22890. - application/json
  22891. responses:
  22892. "200":
  22893. description: OK
  22894. schema:
  22895. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  22896. "500":
  22897. description: Internal Server Error
  22898. schema:
  22899. $ref: '#/definitions/app.Response'
  22900. security:
  22901. - ApiKeyAuth: []
  22902. summary: 查询“我的订单”信息
  22903. tags:
  22904. - 定制【海商报业】
  22905. /HSBY/QueryHsbyMyGoods:
  22906. get:
  22907. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  22908. parameters:
  22909. - description: 资金账户列表,格式:1,2,3
  22910. in: query
  22911. name: accountIDs
  22912. required: true
  22913. type: string
  22914. produces:
  22915. - application/json
  22916. responses:
  22917. "200":
  22918. description: OK
  22919. schema:
  22920. $ref: '#/definitions/models.HsbyMyGoods'
  22921. "500":
  22922. description: Internal Server Error
  22923. schema:
  22924. $ref: '#/definitions/app.Response'
  22925. security:
  22926. - ApiKeyAuth: []
  22927. summary: 查询“我的商品”信息
  22928. tags:
  22929. - 定制【海商报业】
  22930. /HSBY/QueryHsbyMyPackages:
  22931. get:
  22932. parameters:
  22933. - description: 资金账户列表,格式:1,2,3
  22934. in: query
  22935. name: accountIDs
  22936. required: true
  22937. type: string
  22938. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  22939. in: query
  22940. name: takeOrderStatus
  22941. type: integer
  22942. produces:
  22943. - application/json
  22944. responses:
  22945. "200":
  22946. description: OK
  22947. schema:
  22948. $ref: '#/definitions/models.HsbyMyPackage'
  22949. "500":
  22950. description: Internal Server Error
  22951. schema:
  22952. $ref: '#/definitions/app.Response'
  22953. security:
  22954. - ApiKeyAuth: []
  22955. summary: 查询我的包裹信息
  22956. tags:
  22957. - 定制【海商报业】
  22958. /HSBY/QueryHsbyPreGoodsDetail:
  22959. get:
  22960. parameters:
  22961. - description: 商品ID
  22962. in: query
  22963. name: goodsID
  22964. required: true
  22965. type: integer
  22966. - description: 资金账户,主要用于获取预售商品购买上限
  22967. in: query
  22968. name: accountID
  22969. type: integer
  22970. produces:
  22971. - application/json
  22972. responses:
  22973. "200":
  22974. description: OK
  22975. schema:
  22976. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  22977. "500":
  22978. description: Internal Server Error
  22979. schema:
  22980. $ref: '#/definitions/app.Response'
  22981. security:
  22982. - ApiKeyAuth: []
  22983. summary: 查询一级市场(预售)商品信息详情
  22984. tags:
  22985. - 定制【海商报业】
  22986. /HSBY/QueryHsbyPreGoodses:
  22987. get:
  22988. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  22989. parameters:
  22990. - description: 页码
  22991. in: query
  22992. name: page
  22993. type: integer
  22994. - description: 每页条数
  22995. in: query
  22996. name: pagesize
  22997. type: integer
  22998. - description: 市场ID列表,格式:1,2,3
  22999. in: query
  23000. name: marketIDs
  23001. required: true
  23002. type: string
  23003. - description: 目的地(省)ID
  23004. in: query
  23005. name: descProvinceID
  23006. type: integer
  23007. - description: 目的地(市)ID
  23008. in: query
  23009. name: descCityID
  23010. type: integer
  23011. produces:
  23012. - application/json
  23013. responses:
  23014. "200":
  23015. description: OK
  23016. schema:
  23017. $ref: '#/definitions/models.HsbyPreGoods'
  23018. "500":
  23019. description: Internal Server Error
  23020. schema:
  23021. $ref: '#/definitions/app.Response'
  23022. security:
  23023. - ApiKeyAuth: []
  23024. summary: 查询新品上市商品列表(一级市场预售)
  23025. tags:
  23026. - 定制【海商报业】
  23027. /HSBY/QueryHsbySellMyDetails:
  23028. get:
  23029. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  23030. parameters:
  23031. - description: 页码
  23032. in: query
  23033. name: page
  23034. type: integer
  23035. - description: 每页条数
  23036. in: query
  23037. name: pagesize
  23038. type: integer
  23039. - description: 资金账户列表,格式:1,2,3
  23040. in: query
  23041. name: accountIDs
  23042. required: true
  23043. type: string
  23044. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  23045. in: query
  23046. name: orderType
  23047. type: integer
  23048. produces:
  23049. - application/json
  23050. responses:
  23051. "200":
  23052. description: OK
  23053. schema:
  23054. $ref: '#/definitions/models.HsbySellMyDetail'
  23055. "500":
  23056. description: Internal Server Error
  23057. schema:
  23058. $ref: '#/definitions/app.Response'
  23059. security:
  23060. - ApiKeyAuth: []
  23061. summary: 查询"我的闲置"单据信息
  23062. tags:
  23063. - 定制【海商报业】
  23064. /HSBY/QueryHsbyTopGoodses:
  23065. get:
  23066. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  23067. parameters:
  23068. - description: 页码
  23069. in: query
  23070. name: page
  23071. type: integer
  23072. - description: 每页条数
  23073. in: query
  23074. name: pagesize
  23075. type: integer
  23076. - description: 市场ID列表,格式:1,2,3
  23077. in: query
  23078. name: marketIDs
  23079. required: true
  23080. type: string
  23081. - description: 目的地(省)ID
  23082. in: query
  23083. name: descProvinceID
  23084. type: integer
  23085. - description: 目的地(市)ID
  23086. in: query
  23087. name: descCityID
  23088. type: integer
  23089. produces:
  23090. - application/json
  23091. responses:
  23092. "200":
  23093. description: OK
  23094. schema:
  23095. $ref: '#/definitions/models.HsbyTopGoods'
  23096. "500":
  23097. description: Internal Server Error
  23098. schema:
  23099. $ref: '#/definitions/app.Response'
  23100. security:
  23101. - ApiKeyAuth: []
  23102. summary: 查询热卖商品列表(二级市场挂牌点选)
  23103. tags:
  23104. - 定制【海商报业】
  23105. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  23106. get:
  23107. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  23108. parameters:
  23109. - description: 商品ID
  23110. in: query
  23111. name: goodsID
  23112. required: true
  23113. type: integer
  23114. produces:
  23115. - application/json
  23116. responses:
  23117. "200":
  23118. description: OK
  23119. schema:
  23120. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23121. "500":
  23122. description: Internal Server Error
  23123. schema:
  23124. $ref: '#/definitions/app.Response'
  23125. security:
  23126. - ApiKeyAuth: []
  23127. summary: 查询游客三级市场(商城)商品信息详情
  23128. tags:
  23129. - 定制【海商报业】
  23130. /HSBY/QueryHsbyVisitorMarketGoodses:
  23131. get:
  23132. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  23133. parameters:
  23134. - description: 页码
  23135. in: query
  23136. name: page
  23137. type: integer
  23138. - description: 每页条数
  23139. in: query
  23140. name: pagesize
  23141. type: integer
  23142. - description: 市场ID列表,格式:1,2,3
  23143. in: query
  23144. name: marketIDs
  23145. required: true
  23146. type: string
  23147. - description: 类别ID
  23148. in: query
  23149. name: categoryID
  23150. type: integer
  23151. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23152. in: query
  23153. name: goodsIDs
  23154. type: string
  23155. produces:
  23156. - application/json
  23157. responses:
  23158. "200":
  23159. description: OK
  23160. schema:
  23161. $ref: '#/definitions/models.HsbyMarketGoods'
  23162. "500":
  23163. description: Internal Server Error
  23164. schema:
  23165. $ref: '#/definitions/app.Response'
  23166. security:
  23167. - ApiKeyAuth: []
  23168. summary: 查询游客特卖商品列表(三级商城)
  23169. tags:
  23170. - 定制【海商报业】
  23171. /HSBY/QueryMyCollectionOrders:
  23172. get:
  23173. parameters:
  23174. - description: 页码
  23175. in: query
  23176. name: page
  23177. type: integer
  23178. - description: 每页条数
  23179. in: query
  23180. name: pagesize
  23181. type: integer
  23182. - description: 资金账户,格式:1,2,3
  23183. in: query
  23184. name: accountIDs
  23185. required: true
  23186. type: string
  23187. produces:
  23188. - application/json
  23189. responses:
  23190. "200":
  23191. description: OK
  23192. schema:
  23193. $ref: '#/definitions/models.HsbySellCollectionOrder'
  23194. "500":
  23195. description: Internal Server Error
  23196. schema:
  23197. $ref: '#/definitions/app.Response'
  23198. security:
  23199. - ApiKeyAuth: []
  23200. summary: 我的闲置中收款信息查询
  23201. tags:
  23202. - 定制【海商报业】
  23203. /HSBY/QueryMyCouponHolds:
  23204. get:
  23205. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  23206. parameters:
  23207. - description: 资金账户列表,格式:1,2,3
  23208. in: query
  23209. name: accountIDs
  23210. required: true
  23211. type: string
  23212. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  23213. in: query
  23214. name: holdStatus
  23215. type: string
  23216. produces:
  23217. - application/json
  23218. responses:
  23219. "200":
  23220. description: OK
  23221. schema:
  23222. $ref: '#/definitions/models.MyCouponHold'
  23223. "500":
  23224. description: Internal Server Error
  23225. schema:
  23226. $ref: '#/definitions/app.Response'
  23227. security:
  23228. - ApiKeyAuth: []
  23229. summary: 我的优惠卷持仓查询
  23230. tags:
  23231. - 定制【海商报业】
  23232. /HSBY/QueryMyCoupons:
  23233. get:
  23234. parameters:
  23235. - description: 资金账户列表,格式:1,2,3
  23236. in: query
  23237. name: accountIDs
  23238. required: true
  23239. type: string
  23240. - description: 商品ID, 一般与sellUserID配套传入
  23241. in: query
  23242. name: goodsID
  23243. type: integer
  23244. - description: 卖方UserID
  23245. in: query
  23246. name: sellUserID
  23247. type: integer
  23248. produces:
  23249. - application/json
  23250. responses:
  23251. "200":
  23252. description: OK
  23253. schema:
  23254. $ref: '#/definitions/models.MyCoupon'
  23255. "500":
  23256. description: Internal Server Error
  23257. schema:
  23258. $ref: '#/definitions/app.Response'
  23259. security:
  23260. - ApiKeyAuth: []
  23261. summary: 我的优惠卷查询
  23262. tags:
  23263. - 定制【海商报业】
  23264. /HSBY/QueryMyPayOrders:
  23265. get:
  23266. parameters:
  23267. - description: 页码
  23268. in: query
  23269. name: page
  23270. type: integer
  23271. - description: 每页条数
  23272. in: query
  23273. name: pagesize
  23274. type: integer
  23275. - description: 资金账户列表,格式:1,2,3
  23276. in: query
  23277. name: accountIDs
  23278. required: true
  23279. type: string
  23280. - description: 买方委托单号
  23281. in: query
  23282. name: buyOrderID
  23283. type: integer
  23284. - description: 卖方委托单号
  23285. in: query
  23286. name: sellOrderID
  23287. type: integer
  23288. produces:
  23289. - application/json
  23290. responses:
  23291. "200":
  23292. description: OK
  23293. schema:
  23294. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  23295. "500":
  23296. description: Internal Server Error
  23297. schema:
  23298. $ref: '#/definitions/app.Response'
  23299. security:
  23300. - ApiKeyAuth: []
  23301. summary: 获取我的订单中待付款信息
  23302. tags:
  23303. - 定制【海商报业】
  23304. /HSBY/QueryMyUsedCoupon:
  23305. get:
  23306. parameters:
  23307. - description: 资金账户列表,格式:1,2,3
  23308. in: query
  23309. name: accountIDs
  23310. required: true
  23311. type: string
  23312. produces:
  23313. - application/json
  23314. responses:
  23315. "200":
  23316. description: OK
  23317. schema:
  23318. $ref: '#/definitions/models.MyUsedCoupon'
  23319. "500":
  23320. description: Internal Server Error
  23321. schema:
  23322. $ref: '#/definitions/app.Response'
  23323. security:
  23324. - ApiKeyAuth: []
  23325. summary: 已使用优惠卷查询
  23326. tags:
  23327. - 定制【海商报业】
  23328. /HSBY/QueryProvincesAndCities:
  23329. get:
  23330. description: 查询结果只包括二级市场商品已关连的省市信息。
  23331. parameters:
  23332. - description: 省ID
  23333. in: query
  23334. name: provinceID
  23335. type: integer
  23336. produces:
  23337. - application/json
  23338. responses:
  23339. "200":
  23340. description: OK
  23341. schema:
  23342. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  23343. "500":
  23344. description: Internal Server Error
  23345. schema:
  23346. $ref: '#/definitions/app.Response'
  23347. security:
  23348. - ApiKeyAuth: []
  23349. summary: 查询省市信息(不包括区)
  23350. tags:
  23351. - 定制【海商报业】
  23352. /HSBY/SetHsbyMyPackagesStatus:
  23353. post:
  23354. parameters:
  23355. - description: 提货单号
  23356. in: query
  23357. name: takeOrderID
  23358. required: true
  23359. type: string
  23360. - description: 资金账号
  23361. in: query
  23362. name: accountID
  23363. required: true
  23364. type: integer
  23365. produces:
  23366. - application/json
  23367. responses:
  23368. "200":
  23369. description: OK
  23370. schema:
  23371. $ref: '#/definitions/app.Response'
  23372. "500":
  23373. description: Internal Server Error
  23374. schema:
  23375. $ref: '#/definitions/app.Response'
  23376. security:
  23377. - ApiKeyAuth: []
  23378. summary: 设置我的包裹已收货状态
  23379. tags:
  23380. - 定制【海商报业】
  23381. /Market/GetAllExExchanges:
  23382. get:
  23383. produces:
  23384. - application/json
  23385. responses:
  23386. "200":
  23387. description: OK
  23388. schema:
  23389. $ref: '#/definitions/models.Goods'
  23390. "500":
  23391. description: Internal Server Error
  23392. schema:
  23393. $ref: '#/definitions/app.Response'
  23394. security:
  23395. - ApiKeyAuth: []
  23396. summary: 获取所有外部交易所信息
  23397. tags:
  23398. - 通用市场
  23399. /Market/QueryGoodsesByLoginID:
  23400. get:
  23401. parameters:
  23402. - description: 登录账号
  23403. in: query
  23404. name: loginID
  23405. required: true
  23406. type: integer
  23407. - description: 市场ID列表,格式:1,2,3
  23408. in: query
  23409. name: marketIDs
  23410. type: string
  23411. produces:
  23412. - application/json
  23413. responses:
  23414. "200":
  23415. description: OK
  23416. schema:
  23417. $ref: '#/definitions/models.Goods'
  23418. "500":
  23419. description: Internal Server Error
  23420. schema:
  23421. $ref: '#/definitions/app.Response'
  23422. security:
  23423. - ApiKeyAuth: []
  23424. summary: 获取登录账号有权限的商品信息
  23425. tags:
  23426. - 通用市场
  23427. /Market/QueryMarketRun:
  23428. get:
  23429. parameters:
  23430. - description: 市场ID,不传返回所有
  23431. in: query
  23432. name: marketID
  23433. type: integer
  23434. produces:
  23435. - application/json
  23436. responses:
  23437. "200":
  23438. description: OK
  23439. schema:
  23440. $ref: '#/definitions/models.Marketrun'
  23441. "500":
  23442. description: Internal Server Error
  23443. schema:
  23444. $ref: '#/definitions/app.Response'
  23445. security:
  23446. - ApiKeyAuth: []
  23447. summary: 查询市场运行信息
  23448. tags:
  23449. - 通用市场
  23450. /Market/QueryMarketsByLoginID:
  23451. get:
  23452. parameters:
  23453. - description: 登录账号
  23454. in: query
  23455. name: loginID
  23456. required: true
  23457. type: integer
  23458. produces:
  23459. - application/json
  23460. responses:
  23461. "200":
  23462. description: OK
  23463. schema:
  23464. $ref: '#/definitions/models.Market'
  23465. "500":
  23466. description: Internal Server Error
  23467. schema:
  23468. $ref: '#/definitions/app.Response'
  23469. security:
  23470. - ApiKeyAuth: []
  23471. summary: 获取登录账号有权限的市场信息
  23472. tags:
  23473. - 通用市场
  23474. /Order/QueryHisTradeDetail:
  23475. get:
  23476. parameters:
  23477. - description: 资金账户 - 格式:1,2,3
  23478. in: query
  23479. name: accountID
  23480. required: true
  23481. type: string
  23482. - description: 成交单号
  23483. in: query
  23484. name: tradeID
  23485. type: integer
  23486. - description: 委托单号
  23487. in: query
  23488. name: orderID
  23489. type: integer
  23490. - description: 商品ID
  23491. in: query
  23492. name: goodsID
  23493. type: integer
  23494. - description: 交易模式 - 格式:1,2,3
  23495. in: query
  23496. name: tradeMode
  23497. type: string
  23498. - description: 委托单据类型
  23499. in: query
  23500. name: buildType
  23501. type: integer
  23502. - description: 成交类别 - 格式:1,2,3
  23503. in: query
  23504. name: tradeType
  23505. type: string
  23506. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23507. in: query
  23508. name: startDate
  23509. type: string
  23510. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23511. in: query
  23512. name: endDate
  23513. type: string
  23514. produces:
  23515. - application/json
  23516. responses:
  23517. "200":
  23518. description: OK
  23519. schema:
  23520. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  23521. "500":
  23522. description: Internal Server Error
  23523. schema:
  23524. $ref: '#/definitions/app.Response'
  23525. security:
  23526. - ApiKeyAuth: []
  23527. summary: 历史成交单查询(合约市场)
  23528. tags:
  23529. - 通用单据
  23530. /Order/QueryHisTradeOrderDetail:
  23531. get:
  23532. parameters:
  23533. - description: 资金账户 - 格式:1,2,3
  23534. in: query
  23535. name: accountID
  23536. required: true
  23537. type: string
  23538. - description: 交易模式 - 格式:1,2,3
  23539. in: query
  23540. name: tradeMode
  23541. type: string
  23542. - description: 委托状态 - 格式:1,2,3
  23543. in: query
  23544. name: orderStatus
  23545. type: string
  23546. - description: 委托单号
  23547. in: query
  23548. name: orderID
  23549. type: integer
  23550. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23551. in: query
  23552. name: startDate
  23553. type: string
  23554. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23555. in: query
  23556. name: endDate
  23557. type: string
  23558. produces:
  23559. - application/json
  23560. responses:
  23561. "200":
  23562. description: OK
  23563. schema:
  23564. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  23565. "500":
  23566. description: Internal Server Error
  23567. schema:
  23568. $ref: '#/definitions/app.Response'
  23569. security:
  23570. - ApiKeyAuth: []
  23571. summary: 历史委托单查询请求(合约市场)
  23572. tags:
  23573. - 通用单据
  23574. /Order/QueryTradeDetail:
  23575. get:
  23576. parameters:
  23577. - description: 资金账户 - 格式:1,2,3
  23578. in: query
  23579. name: accountID
  23580. required: true
  23581. type: string
  23582. - description: 成交单号
  23583. in: query
  23584. name: tradeID
  23585. type: integer
  23586. - description: 委托单号
  23587. in: query
  23588. name: orderID
  23589. type: integer
  23590. - description: 交易模式 - 格式:1,2,3
  23591. in: query
  23592. name: tradeMode
  23593. type: string
  23594. - description: 委托单据类型
  23595. in: query
  23596. name: buildType
  23597. type: integer
  23598. - description: 成交类别 - 格式:1,2,3
  23599. in: query
  23600. name: tradeType
  23601. type: string
  23602. - description: 商品ID
  23603. in: query
  23604. name: goodsID
  23605. type: integer
  23606. produces:
  23607. - application/json
  23608. responses:
  23609. "200":
  23610. description: OK
  23611. schema:
  23612. $ref: '#/definitions/order.QueryTradeDetailRsp'
  23613. "500":
  23614. description: Internal Server Error
  23615. schema:
  23616. $ref: '#/definitions/app.Response'
  23617. security:
  23618. - ApiKeyAuth: []
  23619. summary: 成交单查询(合约市场)
  23620. tags:
  23621. - 通用单据
  23622. /Order/QueryTradeHolderDetail:
  23623. get:
  23624. parameters:
  23625. - description: 用户id
  23626. in: query
  23627. name: userid
  23628. type: integer
  23629. - description: 资金账号, 格式 1,2,3
  23630. in: query
  23631. name: accids
  23632. type: string
  23633. - description: 交易模式, 格式 1,2,3
  23634. in: query
  23635. name: trademodes
  23636. type: string
  23637. - description: 市场id, 格式 1,2,3
  23638. in: query
  23639. name: marketids
  23640. type: string
  23641. - description: 商品id
  23642. in: query
  23643. name: goodsid
  23644. type: integer
  23645. - description: 买卖方向 0-买 1-卖
  23646. in: query
  23647. name: buyorsell
  23648. type: integer
  23649. produces:
  23650. - application/json
  23651. responses:
  23652. "200":
  23653. description: OK
  23654. schema:
  23655. items:
  23656. $ref: '#/definitions/models.TradeHolderDetail'
  23657. type: array
  23658. "500":
  23659. description: Internal Server Error
  23660. schema:
  23661. $ref: '#/definitions/app.Response'
  23662. security:
  23663. - ApiKeyAuth: []
  23664. summary: 查询持仓明细
  23665. tags:
  23666. - 通用单据
  23667. /Order/QueryTradeOrderDetail:
  23668. get:
  23669. parameters:
  23670. - description: 资金账户 - 格式:1,2,3
  23671. in: query
  23672. name: accountID
  23673. required: true
  23674. type: string
  23675. - description: 交易模式 - 格式:1,2,3
  23676. in: query
  23677. name: tradeMode
  23678. type: string
  23679. - description: 委托状态 - 格式:1,2,3
  23680. in: query
  23681. name: orderStatus
  23682. type: string
  23683. - description: 委托单号
  23684. in: query
  23685. name: orderID
  23686. type: integer
  23687. produces:
  23688. - application/json
  23689. responses:
  23690. "200":
  23691. description: OK
  23692. schema:
  23693. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  23694. "500":
  23695. description: Internal Server Error
  23696. schema:
  23697. $ref: '#/definitions/app.Response'
  23698. security:
  23699. - ApiKeyAuth: []
  23700. summary: 委托单查询请求(合约市场)
  23701. tags:
  23702. - 通用单据
  23703. /Order/QueryTradePosition:
  23704. get:
  23705. parameters:
  23706. - description: 资金账户 - 格式:1,2,3
  23707. in: query
  23708. name: accountID
  23709. required: true
  23710. type: string
  23711. - description: 交易模式 - 格式:1,2,3
  23712. in: query
  23713. name: tradeMode
  23714. type: string
  23715. produces:
  23716. - application/json
  23717. responses:
  23718. "200":
  23719. description: OK
  23720. schema:
  23721. $ref: '#/definitions/order.QueryTradePositionRsp'
  23722. "500":
  23723. description: Internal Server Error
  23724. schema:
  23725. $ref: '#/definitions/app.Response'
  23726. security:
  23727. - ApiKeyAuth: []
  23728. summary: 持仓汇总查询(合约市场)
  23729. tags:
  23730. - 通用单据
  23731. /Qhj/QueryAccountInOutApply:
  23732. get:
  23733. parameters:
  23734. - description: 用户ID
  23735. in: query
  23736. name: userid
  23737. required: true
  23738. type: integer
  23739. - description: 申请起始日期(格式yyyymmdd)
  23740. in: query
  23741. name: begindate
  23742. type: string
  23743. - description: 申请截止日期(格式yyyymmdd)
  23744. in: query
  23745. name: enddate
  23746. type: string
  23747. - description: 模糊搜索名称
  23748. in: query
  23749. name: likename
  23750. type: string
  23751. produces:
  23752. - application/json
  23753. responses:
  23754. "200":
  23755. description: OK
  23756. schema:
  23757. items:
  23758. $ref: '#/definitions/models.QhjAccountOutInApply'
  23759. type: array
  23760. "500":
  23761. description: Internal Server Error
  23762. schema:
  23763. $ref: '#/definitions/app.Response'
  23764. security:
  23765. - ApiKeyAuth: []
  23766. summary: 查询充值提现
  23767. tags:
  23768. - 大连千海金
  23769. /Qhj/QueryAreaFinanceConfig:
  23770. get:
  23771. parameters:
  23772. - description: 机构用户ID 其他做市关系,都设置为 1
  23773. in: query
  23774. name: userid
  23775. type: integer
  23776. produces:
  23777. - application/json
  23778. responses:
  23779. "200":
  23780. description: OK
  23781. schema:
  23782. items:
  23783. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  23784. type: array
  23785. "500":
  23786. description: Internal Server Error
  23787. schema:
  23788. $ref: '#/definitions/app.Response'
  23789. security:
  23790. - ApiKeyAuth: []
  23791. summary: 查询企业配置表
  23792. tags:
  23793. - 大连千海金
  23794. /Qhj/QueryBankAccountSign:
  23795. get:
  23796. parameters:
  23797. - description: 用户ID
  23798. in: query
  23799. name: userid
  23800. required: true
  23801. type: integer
  23802. produces:
  23803. - application/json
  23804. responses:
  23805. "200":
  23806. description: OK
  23807. schema:
  23808. items:
  23809. $ref: '#/definitions/models.QhjBankAccountSign'
  23810. type: array
  23811. "500":
  23812. description: Internal Server Error
  23813. schema:
  23814. $ref: '#/definitions/app.Response'
  23815. security:
  23816. - ApiKeyAuth: []
  23817. summary: 查询签约银行信息(提现账户管理)
  23818. tags:
  23819. - 大连千海金
  23820. /Qhj/QueryBankInfo:
  23821. get:
  23822. produces:
  23823. - application/json
  23824. responses:
  23825. "200":
  23826. description: OK
  23827. schema:
  23828. items:
  23829. $ref: '#/definitions/models.QhjBankInfo'
  23830. type: array
  23831. "500":
  23832. description: Internal Server Error
  23833. schema:
  23834. $ref: '#/definitions/app.Response'
  23835. security:
  23836. - ApiKeyAuth: []
  23837. summary: 查询开户行
  23838. tags:
  23839. - 大连千海金
  23840. /Qhj/QueryBrokerApply:
  23841. get:
  23842. parameters:
  23843. - description: 所属机构ID
  23844. in: query
  23845. name: userid
  23846. type: integer
  23847. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23848. in: query
  23849. name: filterstatus
  23850. type: string
  23851. produces:
  23852. - application/json
  23853. responses:
  23854. "200":
  23855. description: OK
  23856. schema:
  23857. items:
  23858. $ref: '#/definitions/models.QhjBrokerApply'
  23859. type: array
  23860. "500":
  23861. description: Internal Server Error
  23862. schema:
  23863. $ref: '#/definitions/app.Response'
  23864. security:
  23865. - ApiKeyAuth: []
  23866. summary: 查询经纪人申请
  23867. tags:
  23868. - 大连千海金
  23869. /Qhj/QueryBrokerApplyEx:
  23870. get:
  23871. parameters:
  23872. - description: 所属机构ID
  23873. in: query
  23874. name: userid
  23875. type: integer
  23876. produces:
  23877. - application/json
  23878. responses:
  23879. "200":
  23880. description: OK
  23881. schema:
  23882. items:
  23883. $ref: '#/definitions/models.QhjBrokerApplyEx'
  23884. type: array
  23885. "500":
  23886. description: Internal Server Error
  23887. schema:
  23888. $ref: '#/definitions/app.Response'
  23889. security:
  23890. - ApiKeyAuth: []
  23891. summary: 查询经纪人信息和申请记录
  23892. tags:
  23893. - 大连千海金
  23894. /Qhj/QueryBrokerRewardLog:
  23895. get:
  23896. parameters:
  23897. - description: 用户ID
  23898. in: query
  23899. name: userid
  23900. required: true
  23901. type: integer
  23902. - description: 开始交易日(yyyymmdd)
  23903. in: query
  23904. name: begindate
  23905. type: string
  23906. - description: 结束交易日(yyyymmdd)
  23907. in: query
  23908. name: enddate
  23909. type: string
  23910. produces:
  23911. - application/json
  23912. responses:
  23913. "200":
  23914. description: OK
  23915. schema:
  23916. items:
  23917. $ref: '#/definitions/models.QhjBrokerRewardLog'
  23918. type: array
  23919. "500":
  23920. description: Internal Server Error
  23921. schema:
  23922. $ref: '#/definitions/app.Response'
  23923. security:
  23924. - ApiKeyAuth: []
  23925. summary: 查询奖励流水(我的奖励)
  23926. tags:
  23927. - 大连千海金
  23928. /Qhj/QueryContract:
  23929. get:
  23930. parameters:
  23931. - description: 用户ID
  23932. in: query
  23933. name: userid
  23934. type: integer
  23935. - description: scf合同id
  23936. in: query
  23937. name: scfcontractid
  23938. type: integer
  23939. produces:
  23940. - application/json
  23941. responses:
  23942. "200":
  23943. description: OK
  23944. schema:
  23945. items:
  23946. $ref: '#/definitions/models.QhjContract'
  23947. type: array
  23948. "500":
  23949. description: Internal Server Error
  23950. schema:
  23951. $ref: '#/definitions/app.Response'
  23952. security:
  23953. - ApiKeyAuth: []
  23954. summary: 查询融资明细(合同)
  23955. tags:
  23956. - 大连千海金
  23957. /Qhj/QueryContractLog:
  23958. get:
  23959. parameters:
  23960. - description: scf合同id
  23961. in: query
  23962. name: scfcontractid
  23963. required: true
  23964. type: integer
  23965. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  23966. in: query
  23967. name: amounttype
  23968. type: string
  23969. produces:
  23970. - application/json
  23971. responses:
  23972. "200":
  23973. description: OK
  23974. schema:
  23975. items:
  23976. $ref: '#/definitions/models.QhjContractLog'
  23977. type: array
  23978. "500":
  23979. description: Internal Server Error
  23980. schema:
  23981. $ref: '#/definitions/app.Response'
  23982. security:
  23983. - ApiKeyAuth: []
  23984. summary: 查询融资明细流水(融资明细详情页中的流水)
  23985. tags:
  23986. - 大连千海金
  23987. /Qhj/QueryCusBankSignBank:
  23988. get:
  23989. produces:
  23990. - application/json
  23991. responses:
  23992. "200":
  23993. description: OK
  23994. schema:
  23995. items:
  23996. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  23997. type: array
  23998. "500":
  23999. description: Internal Server Error
  24000. schema:
  24001. $ref: '#/definitions/app.Response'
  24002. security:
  24003. - ApiKeyAuth: []
  24004. summary: 查询托管银行
  24005. tags:
  24006. - 大连千海金
  24007. /Qhj/QueryCustomerInfo:
  24008. get:
  24009. parameters:
  24010. - description: 用户ID
  24011. in: query
  24012. name: userid
  24013. required: true
  24014. type: integer
  24015. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24016. in: query
  24017. name: querytype
  24018. required: true
  24019. type: integer
  24020. - description: 客户类型 1-个人 2-企业
  24021. in: query
  24022. name: userinfotype
  24023. type: integer
  24024. - description: 客户名称(模糊匹配)
  24025. in: query
  24026. name: customername
  24027. type: string
  24028. - description: 昵称(模糊匹配)
  24029. in: query
  24030. name: nickname
  24031. type: string
  24032. - description: 是否包含子级 1-包含
  24033. in: query
  24034. name: includesub
  24035. type: integer
  24036. produces:
  24037. - application/json
  24038. responses:
  24039. "200":
  24040. description: OK
  24041. schema:
  24042. items:
  24043. $ref: '#/definitions/models.QhjCustomer'
  24044. type: array
  24045. "500":
  24046. description: Internal Server Error
  24047. schema:
  24048. $ref: '#/definitions/app.Response'
  24049. security:
  24050. - ApiKeyAuth: []
  24051. summary: 查询客户资料
  24052. tags:
  24053. - 大连千海金
  24054. /Qhj/QueryGoodsEx:
  24055. get:
  24056. parameters:
  24057. - description: 商品id
  24058. in: query
  24059. name: goodsid
  24060. type: integer
  24061. produces:
  24062. - application/json
  24063. responses:
  24064. "200":
  24065. description: OK
  24066. schema:
  24067. items:
  24068. $ref: '#/definitions/models.Qhjgoodsex'
  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. /Qhj/QueryMyTeam:
  24080. get:
  24081. parameters:
  24082. - description: 用户ID
  24083. in: query
  24084. name: userid
  24085. required: true
  24086. type: integer
  24087. produces:
  24088. - application/json
  24089. responses:
  24090. "200":
  24091. description: OK
  24092. schema:
  24093. items:
  24094. $ref: '#/definitions/models.QhjMyTeamEx'
  24095. type: array
  24096. "500":
  24097. description: Internal Server Error
  24098. schema:
  24099. $ref: '#/definitions/app.Response'
  24100. security:
  24101. - ApiKeyAuth: []
  24102. summary: 查询我的团队
  24103. tags:
  24104. - 大连千海金
  24105. /Qhj/QueryMyTeamOrder:
  24106. get:
  24107. parameters:
  24108. - description: 页码
  24109. in: query
  24110. name: page
  24111. type: integer
  24112. - description: 每页条数
  24113. in: query
  24114. name: pagesize
  24115. type: integer
  24116. - description: 用户ID
  24117. in: query
  24118. name: userid
  24119. required: true
  24120. type: integer
  24121. - description: 交易模式
  24122. in: query
  24123. name: trademode
  24124. type: integer
  24125. - description: 名称(模糊搜索账户)
  24126. in: query
  24127. name: filtername
  24128. type: string
  24129. produces:
  24130. - application/json
  24131. responses:
  24132. "200":
  24133. description: OK
  24134. schema:
  24135. items:
  24136. $ref: '#/definitions/models.QhjTeamOrder'
  24137. type: array
  24138. "500":
  24139. description: Internal Server Error
  24140. schema:
  24141. $ref: '#/definitions/app.Response'
  24142. security:
  24143. - ApiKeyAuth: []
  24144. summary: 查询团队订单(我的团队/团队订单)
  24145. tags:
  24146. - 大连千海金
  24147. /Qhj/QueryParentAreaList:
  24148. get:
  24149. parameters:
  24150. - description: 用户ID
  24151. in: query
  24152. name: userid
  24153. required: true
  24154. type: integer
  24155. produces:
  24156. - application/json
  24157. responses:
  24158. "200":
  24159. description: OK
  24160. schema:
  24161. items:
  24162. $ref: '#/definitions/models.QhjParentAreaList'
  24163. type: array
  24164. "500":
  24165. description: Internal Server Error
  24166. schema:
  24167. $ref: '#/definitions/app.Response'
  24168. security:
  24169. - ApiKeyAuth: []
  24170. summary: 查询所属机构列表
  24171. tags:
  24172. - 大连千海金
  24173. /Qhj/QueryPayOrder:
  24174. get:
  24175. parameters:
  24176. - description: 资金账号id
  24177. in: query
  24178. name: accountid
  24179. required: true
  24180. type: integer
  24181. - description: 成交单号
  24182. in: query
  24183. name: tradeid
  24184. type: integer
  24185. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24186. in: query
  24187. name: payflag
  24188. type: string
  24189. produces:
  24190. - application/json
  24191. responses:
  24192. "200":
  24193. description: OK
  24194. schema:
  24195. items:
  24196. $ref: '#/definitions/models.QhjPayOrder'
  24197. type: array
  24198. "500":
  24199. description: Internal Server Error
  24200. schema:
  24201. $ref: '#/definitions/app.Response'
  24202. security:
  24203. - ApiKeyAuth: []
  24204. summary: 查询待付款单据
  24205. tags:
  24206. - 大连千海金
  24207. /Qhj/QueryPickArea:
  24208. get:
  24209. parameters:
  24210. - description: 用户ID
  24211. in: query
  24212. name: userid
  24213. type: integer
  24214. produces:
  24215. - application/json
  24216. responses:
  24217. "200":
  24218. description: OK
  24219. schema:
  24220. items:
  24221. $ref: '#/definitions/models.QhjPickArea'
  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/QueryPickGoods:
  24233. get:
  24234. parameters:
  24235. - description: 交易商品id
  24236. in: query
  24237. name: goodsid
  24238. required: true
  24239. type: integer
  24240. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24241. in: query
  24242. name: status
  24243. type: string
  24244. produces:
  24245. - application/json
  24246. responses:
  24247. "200":
  24248. description: OK
  24249. schema:
  24250. items:
  24251. $ref: '#/definitions/models.QhjPickGoods'
  24252. type: array
  24253. "500":
  24254. description: Internal Server Error
  24255. schema:
  24256. $ref: '#/definitions/app.Response'
  24257. security:
  24258. - ApiKeyAuth: []
  24259. summary: 查询提货商品
  24260. tags:
  24261. - 大连千海金
  24262. /Qhj/QueryRSTriggerLog:
  24263. get:
  24264. parameters:
  24265. - description: 用户ID
  24266. in: query
  24267. name: userid
  24268. type: integer
  24269. - description: 定投策略id
  24270. in: query
  24271. name: regularlystrategyid
  24272. type: integer
  24273. - description: 商品id
  24274. in: query
  24275. name: goodsid
  24276. type: integer
  24277. - description: 开始交易日(yyyymmdd)
  24278. in: query
  24279. name: begindate
  24280. type: string
  24281. - description: 结束交易日(yyyymmdd)
  24282. in: query
  24283. name: enddate
  24284. type: string
  24285. - description: 名称(模糊搜索账户)
  24286. in: query
  24287. name: filtername
  24288. type: string
  24289. produces:
  24290. - application/json
  24291. responses:
  24292. "200":
  24293. description: OK
  24294. schema:
  24295. items:
  24296. $ref: '#/definitions/models.QhjRSTriggerLog'
  24297. type: array
  24298. "500":
  24299. description: Internal Server Error
  24300. schema:
  24301. $ref: '#/definitions/app.Response'
  24302. security:
  24303. - ApiKeyAuth: []
  24304. summary: 查询定投记录(定投管理/详情/定投记录)
  24305. tags:
  24306. - 大连千海金
  24307. /Qhj/QueryRStrategy:
  24308. get:
  24309. parameters:
  24310. - description: 用户ID
  24311. in: query
  24312. name: userid
  24313. type: integer
  24314. - description: 商品id
  24315. in: query
  24316. name: goodsid
  24317. type: integer
  24318. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  24319. in: query
  24320. name: status
  24321. type: string
  24322. - description: 名称(模糊搜索账户)
  24323. in: query
  24324. name: filtername
  24325. type: string
  24326. produces:
  24327. - application/json
  24328. responses:
  24329. "200":
  24330. description: OK
  24331. schema:
  24332. items:
  24333. $ref: '#/definitions/models.QhjRStrategy'
  24334. type: array
  24335. "500":
  24336. description: Internal Server Error
  24337. schema:
  24338. $ref: '#/definitions/app.Response'
  24339. security:
  24340. - ApiKeyAuth: []
  24341. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  24342. tags:
  24343. - 大连千海金
  24344. /Qhj/QueryReckonPriceLog:
  24345. get:
  24346. parameters:
  24347. - description: 商品ID
  24348. in: query
  24349. name: goodsid
  24350. type: integer
  24351. - description: 交易日 格式(yyyymmdd)
  24352. in: query
  24353. name: tradedate
  24354. type: string
  24355. produces:
  24356. - application/json
  24357. responses:
  24358. "200":
  24359. description: OK
  24360. schema:
  24361. items:
  24362. $ref: '#/definitions/models.QhjReckonPriceLog'
  24363. type: array
  24364. "500":
  24365. description: Internal Server Error
  24366. schema:
  24367. $ref: '#/definitions/app.Response'
  24368. security:
  24369. - ApiKeyAuth: []
  24370. summary: 查询定投价(结算价)
  24371. tags:
  24372. - 大连千海金
  24373. /Qhj/QueryScoreLog:
  24374. get:
  24375. parameters:
  24376. - description: 用户ID
  24377. in: query
  24378. name: userid
  24379. required: true
  24380. type: integer
  24381. - description: 开始交易日(yyyymmdd)
  24382. in: query
  24383. name: begindate
  24384. type: string
  24385. - description: 结束交易日(yyyymmdd)
  24386. in: query
  24387. name: enddate
  24388. type: string
  24389. - description: 最近多少条
  24390. in: query
  24391. name: lastnum
  24392. type: integer
  24393. produces:
  24394. - application/json
  24395. responses:
  24396. "200":
  24397. description: OK
  24398. schema:
  24399. items:
  24400. $ref: '#/definitions/models.QhjScoreLog'
  24401. type: array
  24402. "500":
  24403. description: Internal Server Error
  24404. schema:
  24405. $ref: '#/definitions/app.Response'
  24406. security:
  24407. - ApiKeyAuth: []
  24408. summary: 查询积分流水(我的积分)
  24409. tags:
  24410. - 大连千海金
  24411. /Qhj/QuerySiteColumnDetail:
  24412. get:
  24413. parameters:
  24414. - description: 用户ID
  24415. in: query
  24416. name: userid
  24417. required: true
  24418. type: integer
  24419. produces:
  24420. - application/json
  24421. responses:
  24422. "200":
  24423. description: OK
  24424. schema:
  24425. items:
  24426. $ref: '#/definitions/models.QhjSiteColumnDetail'
  24427. type: array
  24428. "500":
  24429. description: Internal Server Error
  24430. schema:
  24431. $ref: '#/definitions/app.Response'
  24432. security:
  24433. - ApiKeyAuth: []
  24434. summary: 查询资讯
  24435. tags:
  24436. - 大连千海金
  24437. /Qhj/QueryTradeGoodsPickup:
  24438. get:
  24439. parameters:
  24440. - description: 用户ID
  24441. in: query
  24442. name: userid
  24443. required: true
  24444. type: integer
  24445. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  24446. in: query
  24447. name: takeorderstatus
  24448. type: integer
  24449. produces:
  24450. - application/json
  24451. responses:
  24452. "200":
  24453. description: OK
  24454. schema:
  24455. items:
  24456. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  24457. type: array
  24458. "500":
  24459. description: Internal Server Error
  24460. schema:
  24461. $ref: '#/definitions/app.Response'
  24462. security:
  24463. - ApiKeyAuth: []
  24464. summary: 查询提货
  24465. tags:
  24466. - 大连千海金
  24467. /Qhj/QueryUserCollectConfig:
  24468. get:
  24469. parameters:
  24470. - description: 用户ID
  24471. in: query
  24472. name: userid
  24473. required: true
  24474. type: integer
  24475. produces:
  24476. - application/json
  24477. responses:
  24478. "200":
  24479. description: OK
  24480. schema:
  24481. items:
  24482. $ref: '#/definitions/models.UserCollectConfig'
  24483. type: array
  24484. "500":
  24485. description: Internal Server Error
  24486. schema:
  24487. $ref: '#/definitions/app.Response'
  24488. security:
  24489. - ApiKeyAuth: []
  24490. summary: 查询提现账户设置
  24491. tags:
  24492. - 大连千海金
  24493. /Qhj/QueryUserReceiveInfo:
  24494. get:
  24495. parameters:
  24496. - description: 用户ID
  24497. in: query
  24498. name: userid
  24499. required: true
  24500. type: integer
  24501. produces:
  24502. - application/json
  24503. responses:
  24504. "200":
  24505. description: OK
  24506. schema:
  24507. items:
  24508. $ref: '#/definitions/models.UserReceiveInfo'
  24509. type: array
  24510. "500":
  24511. description: Internal Server Error
  24512. schema:
  24513. $ref: '#/definitions/app.Response'
  24514. security:
  24515. - ApiKeyAuth: []
  24516. summary: 查询收货地址信息
  24517. tags:
  24518. - 大连千海金
  24519. /QhjMgr/QueryAccountInOutApply:
  24520. get:
  24521. parameters:
  24522. - description: 查询类型 1-提现(出金) 2-充值(出金)
  24523. in: query
  24524. name: querytype
  24525. required: true
  24526. type: integer
  24527. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  24528. in: query
  24529. name: applystatus
  24530. type: integer
  24531. - description: 申请起始日期(格式yyyymmdd)
  24532. in: query
  24533. name: begindate
  24534. type: string
  24535. - description: 申请截止日期(格式yyyymmdd)
  24536. in: query
  24537. name: enddate
  24538. type: string
  24539. - description: 模糊搜索名称
  24540. in: query
  24541. name: likename
  24542. type: string
  24543. produces:
  24544. - application/json
  24545. responses:
  24546. "200":
  24547. description: OK
  24548. schema:
  24549. items:
  24550. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  24551. type: array
  24552. "500":
  24553. description: Internal Server Error
  24554. schema:
  24555. $ref: '#/definitions/app.Response'
  24556. security:
  24557. - ApiKeyAuth: []
  24558. summary: 查询充值提现
  24559. tags:
  24560. - 大连千海金(PCWeb)
  24561. /QhjMgr/QueryBrokerApply:
  24562. get:
  24563. parameters:
  24564. - description: 所属机构ID
  24565. in: query
  24566. name: userid
  24567. type: integer
  24568. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24569. in: query
  24570. name: filterstatus
  24571. type: string
  24572. - description: 名称(模糊匹配)
  24573. in: query
  24574. name: filtername
  24575. type: string
  24576. - description: 是否包含子级 1-包含
  24577. in: query
  24578. name: includesub
  24579. type: integer
  24580. produces:
  24581. - application/json
  24582. responses:
  24583. "200":
  24584. description: OK
  24585. schema:
  24586. items:
  24587. $ref: '#/definitions/models.QhjMgrBrokerApply'
  24588. type: array
  24589. "500":
  24590. description: Internal Server Error
  24591. schema:
  24592. $ref: '#/definitions/app.Response'
  24593. security:
  24594. - ApiKeyAuth: []
  24595. summary: 查询经纪人申请
  24596. tags:
  24597. - 大连千海金(PCWeb)
  24598. /QhjMgr/QueryBrokerRewardReport:
  24599. get:
  24600. parameters:
  24601. - description: 所属机构ID
  24602. in: query
  24603. name: userid
  24604. required: true
  24605. type: integer
  24606. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24607. in: query
  24608. name: cycletype
  24609. required: true
  24610. type: integer
  24611. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  24612. in: query
  24613. name: cycletime
  24614. required: true
  24615. type: string
  24616. - description: 名称(模糊匹配)
  24617. in: query
  24618. name: filtername
  24619. type: string
  24620. - description: 是否包含子级 1-包含
  24621. in: query
  24622. name: includesub
  24623. type: integer
  24624. produces:
  24625. - application/json
  24626. responses:
  24627. "200":
  24628. description: OK
  24629. schema:
  24630. items:
  24631. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  24632. type: array
  24633. "500":
  24634. description: Internal Server Error
  24635. schema:
  24636. $ref: '#/definitions/app.Response'
  24637. security:
  24638. - ApiKeyAuth: []
  24639. summary: 查询经纪人奖励报表(废弃)
  24640. tags:
  24641. - 大连千海金(PCWeb)
  24642. /QhjMgr/QueryContract:
  24643. get:
  24644. parameters:
  24645. - description: 用户ID
  24646. in: query
  24647. name: userid
  24648. type: integer
  24649. - description: 商品id
  24650. in: query
  24651. name: goodsid
  24652. type: integer
  24653. - description: 名称(模糊搜索账户)
  24654. in: query
  24655. name: filtername
  24656. type: string
  24657. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  24658. in: query
  24659. name: risklevel
  24660. type: string
  24661. - description: 开始交易日(yyyymmdd)
  24662. in: query
  24663. name: begindate
  24664. type: string
  24665. - description: 结束交易日(yyyymmdd)
  24666. in: query
  24667. name: enddate
  24668. type: string
  24669. produces:
  24670. - application/json
  24671. responses:
  24672. "200":
  24673. description: OK
  24674. schema:
  24675. items:
  24676. $ref: '#/definitions/models.QhjMgrContract'
  24677. type: array
  24678. "500":
  24679. description: Internal Server Error
  24680. schema:
  24681. $ref: '#/definitions/app.Response'
  24682. security:
  24683. - ApiKeyAuth: []
  24684. summary: 查询融资信息(合同)
  24685. tags:
  24686. - 大连千海金(PCWeb)
  24687. /QhjMgr/QueryCustomerInfo:
  24688. get:
  24689. parameters:
  24690. - description: 用户ID
  24691. in: query
  24692. name: userid
  24693. required: true
  24694. type: integer
  24695. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24696. in: query
  24697. name: querytype
  24698. required: true
  24699. type: integer
  24700. - description: 客户类型 1-个人 2-企业
  24701. in: query
  24702. name: userinfotype
  24703. type: integer
  24704. - description: 客户名称(模糊匹配)
  24705. in: query
  24706. name: customername
  24707. type: string
  24708. - description: 昵称(模糊匹配)
  24709. in: query
  24710. name: nickname
  24711. type: string
  24712. - description: 所属客户经理(模糊匹配)
  24713. in: query
  24714. name: brokername
  24715. type: string
  24716. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)
  24717. in: query
  24718. name: birthday
  24719. type: string
  24720. - description: 是否包含子级 1-包含
  24721. in: query
  24722. name: includesub
  24723. type: integer
  24724. produces:
  24725. - application/json
  24726. responses:
  24727. "200":
  24728. description: OK
  24729. schema:
  24730. items:
  24731. $ref: '#/definitions/models.QhjMgrCustomer'
  24732. type: array
  24733. "500":
  24734. description: Internal Server Error
  24735. schema:
  24736. $ref: '#/definitions/app.Response'
  24737. security:
  24738. - ApiKeyAuth: []
  24739. summary: 查询客户资料
  24740. tags:
  24741. - 大连千海金(PCWeb)
  24742. /QhjMgr/QueryPickGoods:
  24743. get:
  24744. parameters:
  24745. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24746. in: query
  24747. name: status
  24748. type: string
  24749. produces:
  24750. - application/json
  24751. responses:
  24752. "200":
  24753. description: OK
  24754. schema:
  24755. items:
  24756. $ref: '#/definitions/models.QhjMgrPickGoods'
  24757. type: array
  24758. "500":
  24759. description: Internal Server Error
  24760. schema:
  24761. $ref: '#/definitions/app.Response'
  24762. security:
  24763. - ApiKeyAuth: []
  24764. summary: 查询提货商品
  24765. tags:
  24766. - 大连千海金(PCWeb)
  24767. /QhjMgr/QuerySubArea:
  24768. get:
  24769. parameters:
  24770. - description: 用户ID
  24771. in: query
  24772. name: userid
  24773. required: true
  24774. type: integer
  24775. produces:
  24776. - application/json
  24777. responses:
  24778. "200":
  24779. description: OK
  24780. schema:
  24781. items:
  24782. $ref: '#/definitions/models.QhjMgrSubArea'
  24783. type: array
  24784. "500":
  24785. description: Internal Server Error
  24786. schema:
  24787. $ref: '#/definitions/app.Response'
  24788. security:
  24789. - ApiKeyAuth: []
  24790. summary: 查询子机构列表
  24791. tags:
  24792. - 大连千海金(PCWeb)
  24793. /QhjMgr/QueryTradeDetail:
  24794. get:
  24795. parameters:
  24796. - description: 用户ID
  24797. in: query
  24798. name: userid
  24799. required: true
  24800. type: integer
  24801. - description: 用户类型 1-个人 2-企业
  24802. in: query
  24803. name: userinfotype
  24804. type: integer
  24805. - description: 交易模式
  24806. in: query
  24807. name: trademode
  24808. type: integer
  24809. - description: 商品id
  24810. in: query
  24811. name: goodsid
  24812. type: integer
  24813. - description: 名称(模糊搜索账户)
  24814. in: query
  24815. name: filtername
  24816. type: string
  24817. - description: 开始交易日(yyyymmdd)
  24818. in: query
  24819. name: begindate
  24820. type: string
  24821. - description: 结束交易日(yyyymmdd)
  24822. in: query
  24823. name: enddate
  24824. type: string
  24825. - description: 是否包含子级 1-包含
  24826. in: query
  24827. name: includesub
  24828. type: integer
  24829. produces:
  24830. - application/json
  24831. responses:
  24832. "200":
  24833. description: OK
  24834. schema:
  24835. items:
  24836. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  24837. type: array
  24838. "500":
  24839. description: Internal Server Error
  24840. schema:
  24841. $ref: '#/definitions/app.Response'
  24842. security:
  24843. - ApiKeyAuth: []
  24844. summary: 查询成交明细
  24845. tags:
  24846. - 大连千海金(PCWeb)
  24847. /QhjMgr/QueryTradeOrderDetail:
  24848. get:
  24849. parameters:
  24850. - description: 用户ID
  24851. in: query
  24852. name: userid
  24853. required: true
  24854. type: integer
  24855. - description: 用户类型 1-个人 2-企业
  24856. in: query
  24857. name: userinfotype
  24858. type: integer
  24859. - description: 交易模式
  24860. in: query
  24861. name: trademode
  24862. type: integer
  24863. - description: 商品id
  24864. in: query
  24865. name: goodsid
  24866. type: integer
  24867. - description: 名称(模糊搜索账户)
  24868. in: query
  24869. name: filtername
  24870. type: string
  24871. - description: 开始交易日(yyyymmdd)
  24872. in: query
  24873. name: begindate
  24874. type: string
  24875. - description: 结束交易日(yyyymmdd)
  24876. in: query
  24877. name: enddate
  24878. type: string
  24879. - description: 是否包含子级 1-包含
  24880. in: query
  24881. name: includesub
  24882. type: integer
  24883. produces:
  24884. - application/json
  24885. responses:
  24886. "200":
  24887. description: OK
  24888. schema:
  24889. items:
  24890. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  24891. type: array
  24892. "500":
  24893. description: Internal Server Error
  24894. schema:
  24895. $ref: '#/definitions/app.Response'
  24896. security:
  24897. - ApiKeyAuth: []
  24898. summary: 查询委托明细
  24899. tags:
  24900. - 大连千海金(PCWeb)
  24901. /QhjMgr/QueryTradePayOrder:
  24902. get:
  24903. parameters:
  24904. - description: 用户ID
  24905. in: query
  24906. name: userid
  24907. required: true
  24908. type: integer
  24909. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24910. in: query
  24911. name: payflag
  24912. type: string
  24913. - description: 用户类型 1-个人 2-企业
  24914. in: query
  24915. name: userinfotype
  24916. type: integer
  24917. - description: 交易模式
  24918. in: query
  24919. name: trademode
  24920. type: integer
  24921. - description: 商品id
  24922. in: query
  24923. name: goodsid
  24924. type: integer
  24925. - description: 名称(模糊搜索账户)
  24926. in: query
  24927. name: filtername
  24928. type: string
  24929. - description: 开始交易日(yyyymmdd)
  24930. in: query
  24931. name: begindate
  24932. type: string
  24933. - description: 结束交易日(yyyymmdd)
  24934. in: query
  24935. name: enddate
  24936. type: string
  24937. - description: 是否包含子级 1-包含
  24938. in: query
  24939. name: includesub
  24940. type: integer
  24941. produces:
  24942. - application/json
  24943. responses:
  24944. "200":
  24945. description: OK
  24946. schema:
  24947. items:
  24948. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  24949. type: array
  24950. "500":
  24951. description: Internal Server Error
  24952. schema:
  24953. $ref: '#/definitions/app.Response'
  24954. security:
  24955. - ApiKeyAuth: []
  24956. summary: 查询待付款单
  24957. tags:
  24958. - 大连千海金(PCWeb)
  24959. /QhjMgr/QueryTradePosition:
  24960. get:
  24961. parameters:
  24962. - description: 用户ID
  24963. in: query
  24964. name: userid
  24965. required: true
  24966. type: integer
  24967. - description: 用户类型 1-个人 2-企业
  24968. in: query
  24969. name: userinfotype
  24970. type: integer
  24971. - description: 交易模式
  24972. in: query
  24973. name: trademode
  24974. type: integer
  24975. - description: 商品id
  24976. in: query
  24977. name: goodsid
  24978. type: integer
  24979. - description: 名称(模糊搜索账户)
  24980. in: query
  24981. name: filtername
  24982. type: string
  24983. - description: 是否包含子级 1-包含
  24984. in: query
  24985. name: includesub
  24986. type: integer
  24987. produces:
  24988. - application/json
  24989. responses:
  24990. "200":
  24991. description: OK
  24992. schema:
  24993. items:
  24994. $ref: '#/definitions/models.QhjMgrPositionRsp'
  24995. type: array
  24996. "500":
  24997. description: Internal Server Error
  24998. schema:
  24999. $ref: '#/definitions/app.Response'
  25000. security:
  25001. - ApiKeyAuth: []
  25002. summary: 查询持仓汇总
  25003. tags:
  25004. - 大连千海金(PCWeb)
  25005. /QhjSys/QueryAgreementChangeLog:
  25006. get:
  25007. parameters:
  25008. - description: 协议ID
  25009. in: query
  25010. name: agreementid
  25011. type: integer
  25012. - description: 协议版本号
  25013. in: query
  25014. name: agreementversion
  25015. type: integer
  25016. - description: 协议类型 - 1:注册 2:登录 3:交易
  25017. in: query
  25018. name: agreementtype
  25019. type: integer
  25020. - description: 协议编号(模糊匹配)
  25021. in: query
  25022. name: agreementno
  25023. type: string
  25024. - description: 协议名称(模糊匹配)
  25025. in: query
  25026. name: agreementname
  25027. type: string
  25028. produces:
  25029. - application/json
  25030. responses:
  25031. "200":
  25032. description: OK
  25033. schema:
  25034. items:
  25035. $ref: '#/definitions/models.QhjAgreementChangeLog'
  25036. type: array
  25037. "500":
  25038. description: Internal Server Error
  25039. schema:
  25040. $ref: '#/definitions/app.Response'
  25041. security:
  25042. - ApiKeyAuth: []
  25043. summary: 查询协议配置变更流水
  25044. tags:
  25045. - 大连千海金(协议和签约信息)
  25046. /QhjSys/QueryAgreementConfig:
  25047. get:
  25048. parameters:
  25049. - description: 协议ID
  25050. in: query
  25051. name: agreementid
  25052. type: integer
  25053. - description: 协议版本号
  25054. in: query
  25055. name: agreementversion
  25056. type: integer
  25057. - description: 协议类型 - 1:注册 2:登录 3:交易
  25058. in: query
  25059. name: agreementtype
  25060. type: integer
  25061. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  25062. in: query
  25063. name: isvalid
  25064. type: integer
  25065. - description: 协议编号(模糊匹配)
  25066. in: query
  25067. name: agreementno
  25068. type: string
  25069. - description: 协议名称(模糊匹配)
  25070. in: query
  25071. name: agreementname
  25072. type: string
  25073. produces:
  25074. - application/json
  25075. responses:
  25076. "200":
  25077. description: OK
  25078. schema:
  25079. items:
  25080. $ref: '#/definitions/models.QhjAgreementConfig'
  25081. type: array
  25082. "500":
  25083. description: Internal Server Error
  25084. schema:
  25085. $ref: '#/definitions/app.Response'
  25086. security:
  25087. - ApiKeyAuth: []
  25088. summary: 查询协议配置
  25089. tags:
  25090. - 大连千海金(协议和签约信息)
  25091. /QhjSys/QueryCustomerSignStatus:
  25092. get:
  25093. parameters:
  25094. - description: 客户ID
  25095. in: query
  25096. name: userid
  25097. type: integer
  25098. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  25099. in: query
  25100. name: nodetype
  25101. type: integer
  25102. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25103. in: query
  25104. name: goodsid
  25105. type: integer
  25106. - description: 创建交易日(yyyyMMdd)
  25107. in: query
  25108. name: tradedate
  25109. type: string
  25110. - description: 用户名称(模糊匹配)
  25111. in: query
  25112. name: username
  25113. type: string
  25114. produces:
  25115. - application/json
  25116. responses:
  25117. "200":
  25118. description: OK
  25119. schema:
  25120. items:
  25121. $ref: '#/definitions/models.QhjCustomerSignStatus'
  25122. type: array
  25123. "500":
  25124. description: Internal Server Error
  25125. schema:
  25126. $ref: '#/definitions/app.Response'
  25127. security:
  25128. - ApiKeyAuth: []
  25129. summary: 查询客户协议签约状态
  25130. tags:
  25131. - 大连千海金(协议和签约信息)
  25132. /QhjSys/QueryNodeAgreementConfig:
  25133. get:
  25134. parameters:
  25135. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25136. in: query
  25137. name: configid
  25138. type: integer
  25139. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25140. in: query
  25141. name: nodetype
  25142. type: integer
  25143. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25144. in: query
  25145. name: goodsid
  25146. type: integer
  25147. - description: 协议ID
  25148. in: query
  25149. name: agreementid
  25150. type: integer
  25151. - description: 协议类型 - 1:注册 2:登录 3:交易
  25152. in: query
  25153. name: agreementtype
  25154. type: integer
  25155. - description: 协议版本号
  25156. in: query
  25157. name: agreementversion
  25158. type: integer
  25159. - description: 协议编号(模糊匹配)
  25160. in: query
  25161. name: agreementno
  25162. type: string
  25163. - description: 协议名称(模糊匹配)
  25164. in: query
  25165. name: agreementname
  25166. type: string
  25167. produces:
  25168. - application/json
  25169. responses:
  25170. "200":
  25171. description: OK
  25172. schema:
  25173. items:
  25174. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  25175. type: array
  25176. "500":
  25177. description: Internal Server Error
  25178. schema:
  25179. $ref: '#/definitions/app.Response'
  25180. security:
  25181. - ApiKeyAuth: []
  25182. summary: 查询协议节点配置
  25183. tags:
  25184. - 大连千海金(协议和签约信息)
  25185. /QhjSys/QueryQhjCustomerSignLog:
  25186. get:
  25187. parameters:
  25188. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  25189. in: query
  25190. name: logid
  25191. type: integer
  25192. - description: 客户ID
  25193. in: query
  25194. name: userid
  25195. type: integer
  25196. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25197. in: query
  25198. name: nodetype
  25199. type: integer
  25200. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25201. in: query
  25202. name: goodsid
  25203. type: integer
  25204. - description: 协议ID
  25205. in: query
  25206. name: agreementid
  25207. type: integer
  25208. - description: 用户名称(模糊匹配)
  25209. in: query
  25210. name: username
  25211. type: string
  25212. - description: 协议编号(模糊匹配)
  25213. in: query
  25214. name: agreementno
  25215. type: string
  25216. - description: 协议名称(模糊匹配)
  25217. in: query
  25218. name: agreementname
  25219. type: string
  25220. produces:
  25221. - application/json
  25222. responses:
  25223. "200":
  25224. description: OK
  25225. schema:
  25226. items:
  25227. $ref: '#/definitions/models.QhjCustomerSignLog'
  25228. type: array
  25229. "500":
  25230. description: Internal Server Error
  25231. schema:
  25232. $ref: '#/definitions/app.Response'
  25233. security:
  25234. - ApiKeyAuth: []
  25235. summary: 查询客户协议签约流水
  25236. tags:
  25237. - 大连千海金(协议和签约信息)
  25238. /QhjSys/QueryUserNodeCfgAndStatus:
  25239. get:
  25240. parameters:
  25241. - description: 客户ID
  25242. in: query
  25243. name: userid
  25244. type: integer
  25245. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25246. in: query
  25247. name: configid
  25248. type: integer
  25249. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25250. in: query
  25251. name: nodetype
  25252. type: string
  25253. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25254. in: query
  25255. name: goodsid
  25256. type: integer
  25257. - description: 协议ID
  25258. in: query
  25259. name: agreementid
  25260. type: integer
  25261. - description: 协议类型 - 1:注册 2:登录 3:交易
  25262. in: query
  25263. name: agreementtype
  25264. type: integer
  25265. - description: 协议版本号
  25266. in: query
  25267. name: agreementversion
  25268. type: integer
  25269. - description: 协议编号(模糊匹配)
  25270. in: query
  25271. name: agreementno
  25272. type: string
  25273. - description: 协议名称(模糊匹配)
  25274. in: query
  25275. name: agreementname
  25276. type: string
  25277. produces:
  25278. - application/json
  25279. responses:
  25280. "200":
  25281. description: OK
  25282. schema:
  25283. items:
  25284. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  25285. type: array
  25286. "500":
  25287. description: Internal Server Error
  25288. schema:
  25289. $ref: '#/definitions/app.Response'
  25290. security:
  25291. - ApiKeyAuth: []
  25292. summary: 查询用户协议节点配置和状态
  25293. tags:
  25294. - 大连千海金(协议和签约信息)
  25295. /Quote/QueryHistoryDatas:
  25296. get:
  25297. parameters:
  25298. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线'
  25299. in: query
  25300. name: cycleType
  25301. required: true
  25302. type: integer
  25303. - description: 商品代码
  25304. in: query
  25305. name: goodsCode
  25306. required: true
  25307. type: string
  25308. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25309. in: query
  25310. name: startTime
  25311. type: string
  25312. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25313. in: query
  25314. name: endTime
  25315. type: string
  25316. - description: 条数
  25317. in: query
  25318. name: count
  25319. type: integer
  25320. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25321. in: query
  25322. name: isAsc
  25323. type: boolean
  25324. produces:
  25325. - application/json
  25326. responses:
  25327. "200":
  25328. description: OK
  25329. schema:
  25330. $ref: '#/definitions/quote.HistoryData'
  25331. "500":
  25332. description: Internal Server Error
  25333. schema:
  25334. $ref: '#/definitions/app.Response'
  25335. security:
  25336. - ApiKeyAuth: []
  25337. summary: 查询行情历史数据
  25338. tags:
  25339. - 行情服务
  25340. /Quote/QueryHistoryTikDatas:
  25341. get:
  25342. parameters:
  25343. - description: 商品代码
  25344. in: query
  25345. name: goodsCode
  25346. required: true
  25347. type: string
  25348. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25349. in: query
  25350. name: startTime
  25351. type: string
  25352. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25353. in: query
  25354. name: endTime
  25355. type: string
  25356. - description: 条数
  25357. in: query
  25358. name: count
  25359. type: integer
  25360. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25361. in: query
  25362. name: isAsc
  25363. type: boolean
  25364. produces:
  25365. - application/json
  25366. responses:
  25367. "200":
  25368. description: OK
  25369. schema:
  25370. $ref: '#/definitions/quote.HistoryTikData'
  25371. "500":
  25372. description: Internal Server Error
  25373. schema:
  25374. $ref: '#/definitions/app.Response'
  25375. security:
  25376. - ApiKeyAuth: []
  25377. summary: 查询行情Tik数据
  25378. tags:
  25379. - 行情服务
  25380. /Quote/QueryQuoteDay:
  25381. get:
  25382. parameters:
  25383. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  25384. in: query
  25385. name: goodsCodes
  25386. required: true
  25387. type: string
  25388. produces:
  25389. - application/json
  25390. responses:
  25391. "200":
  25392. description: OK
  25393. schema:
  25394. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  25395. "500":
  25396. description: Internal Server Error
  25397. schema:
  25398. $ref: '#/definitions/app.Response'
  25399. security:
  25400. - ApiKeyAuth: []
  25401. summary: 获取商品盘面信息
  25402. tags:
  25403. - 行情服务
  25404. /Quote/QueryTSData:
  25405. get:
  25406. parameters:
  25407. - description: 商品代码
  25408. in: query
  25409. name: goodsCode
  25410. required: true
  25411. type: string
  25412. produces:
  25413. - application/json
  25414. responses:
  25415. "200":
  25416. description: OK
  25417. schema:
  25418. $ref: '#/definitions/quote.QueryTSDataRsp'
  25419. "500":
  25420. description: Internal Server Error
  25421. schema:
  25422. $ref: '#/definitions/app.Response'
  25423. security:
  25424. - ApiKeyAuth: []
  25425. summary: 分时图数据查询
  25426. tags:
  25427. - 行情服务
  25428. /SZDZ/QueryConvertConfig:
  25429. get:
  25430. parameters:
  25431. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  25432. in: query
  25433. name: convertType
  25434. type: integer
  25435. - description: 外部商品代码[JD\PD]
  25436. in: query
  25437. name: outerGoodsCode
  25438. type: string
  25439. - description: 内部商品ID列表[交易],格式:1,2,3
  25440. in: query
  25441. name: innerGoodsIDs
  25442. type: string
  25443. produces:
  25444. - application/json
  25445. responses:
  25446. "200":
  25447. description: OK
  25448. schema:
  25449. $ref: '#/definitions/models.Szdz3convertconfig'
  25450. "500":
  25451. description: Internal Server Error
  25452. schema:
  25453. $ref: '#/definitions/app.Response'
  25454. security:
  25455. - ApiKeyAuth: []
  25456. summary: 查询交易系统转换设置
  25457. tags:
  25458. - 定制【尚志大宗】
  25459. /SZDZ/QueryConvertLog:
  25460. get:
  25461. parameters:
  25462. - description: 资金账户 - 格式:1,2,3
  25463. in: query
  25464. name: accountID
  25465. required: true
  25466. type: string
  25467. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25468. in: query
  25469. name: startDate
  25470. type: string
  25471. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25472. in: query
  25473. name: endDate
  25474. type: string
  25475. produces:
  25476. - application/json
  25477. responses:
  25478. "200":
  25479. description: OK
  25480. schema:
  25481. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  25482. "500":
  25483. description: Internal Server Error
  25484. schema:
  25485. $ref: '#/definitions/app.Response'
  25486. security:
  25487. - ApiKeyAuth: []
  25488. summary: 交易系统转换流水查询
  25489. tags:
  25490. - 定制【尚志大宗】
  25491. /SZDZ/QueryGoodsPickup:
  25492. get:
  25493. parameters:
  25494. - description: 资金账户 - 格式:1,2,3
  25495. in: query
  25496. name: accountID
  25497. required: true
  25498. type: string
  25499. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25500. in: query
  25501. name: takeOrderStatus
  25502. type: integer
  25503. produces:
  25504. - application/json
  25505. responses:
  25506. "200":
  25507. description: OK
  25508. schema:
  25509. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  25510. "500":
  25511. description: Internal Server Error
  25512. schema:
  25513. $ref: '#/definitions/app.Response'
  25514. security:
  25515. - ApiKeyAuth: []
  25516. summary: 商品提货单查询
  25517. tags:
  25518. - 定制【尚志大宗】
  25519. /SZDZ/QueryRecieptOrder:
  25520. get:
  25521. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25522. parameters:
  25523. - description: 页码
  25524. in: query
  25525. name: page
  25526. type: integer
  25527. - description: 每页条数
  25528. in: query
  25529. name: pagesize
  25530. type: integer
  25531. - description: 商品ID
  25532. in: query
  25533. name: goodsID
  25534. required: true
  25535. type: integer
  25536. - description: 所属账户名称
  25537. in: query
  25538. name: accountName
  25539. type: string
  25540. - description: 市场ID
  25541. in: query
  25542. name: marketID
  25543. type: integer
  25544. - description: 方向 - 0:买 1:卖
  25545. in: query
  25546. name: buyorsell
  25547. required: true
  25548. type: integer
  25549. produces:
  25550. - application/json
  25551. responses:
  25552. "200":
  25553. description: OK
  25554. schema:
  25555. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  25556. "500":
  25557. description: Internal Server Error
  25558. schema:
  25559. $ref: '#/definitions/app.Response'
  25560. security:
  25561. - ApiKeyAuth: []
  25562. summary: 点选挂牌委托单据查询(摘牌大厅)
  25563. tags:
  25564. - 定制【尚志大宗】
  25565. /SZDZ/QuerySZDZTradePosition:
  25566. get:
  25567. parameters:
  25568. - description: 资金账户
  25569. in: query
  25570. name: accountID
  25571. required: true
  25572. type: integer
  25573. produces:
  25574. - application/json
  25575. responses:
  25576. "200":
  25577. description: OK
  25578. schema:
  25579. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  25580. "500":
  25581. description: Internal Server Error
  25582. schema:
  25583. $ref: '#/definitions/app.Response'
  25584. security:
  25585. - ApiKeyAuth: []
  25586. summary: 持仓汇总查询(尚志大宗)
  25587. tags:
  25588. - 定制【尚志大宗】
  25589. /SZDZ/SearchWhite:
  25590. get:
  25591. parameters:
  25592. - description: 用户ID
  25593. in: query
  25594. name: userID
  25595. required: true
  25596. type: integer
  25597. produces:
  25598. - application/json
  25599. responses:
  25600. "200":
  25601. description: OK
  25602. schema:
  25603. $ref: '#/definitions/models.Szdz3searchwhitelist'
  25604. "500":
  25605. description: Internal Server Error
  25606. schema:
  25607. $ref: '#/definitions/app.Response'
  25608. security:
  25609. - ApiKeyAuth: []
  25610. summary: 搜索白名单
  25611. tags:
  25612. - 定制【尚志大宗】
  25613. /Search/SearchGoodses:
  25614. get:
  25615. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  25616. parameters:
  25617. - description: 检索内容
  25618. in: query
  25619. name: content
  25620. required: true
  25621. type: string
  25622. - description: 交易模式,格式:1,2,3
  25623. in: query
  25624. name: tradeModes
  25625. type: string
  25626. produces:
  25627. - application/json
  25628. responses:
  25629. "200":
  25630. description: OK
  25631. schema:
  25632. $ref: '#/definitions/models.SearchGoods'
  25633. "500":
  25634. description: Internal Server Error
  25635. schema:
  25636. $ref: '#/definitions/app.Response'
  25637. summary: 检索商品信息
  25638. tags:
  25639. - 检索服务
  25640. /TaAccount/GetTaAccounts:
  25641. get:
  25642. parameters:
  25643. - description: 登录账户
  25644. in: query
  25645. name: loginID
  25646. required: true
  25647. type: integer
  25648. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  25649. in: query
  25650. name: taAccountType
  25651. type: integer
  25652. produces:
  25653. - application/json
  25654. responses:
  25655. "200":
  25656. description: OK
  25657. schema:
  25658. $ref: '#/definitions/models.Taaccount'
  25659. "500":
  25660. description: Internal Server Error
  25661. schema:
  25662. $ref: '#/definitions/app.Response'
  25663. security:
  25664. - ApiKeyAuth: []
  25665. summary: 获取资金账户信息
  25666. tags:
  25667. - 资金账户
  25668. /TaAccount/QueryAmountLog:
  25669. get:
  25670. parameters:
  25671. - description: 页码
  25672. in: query
  25673. name: page
  25674. type: integer
  25675. - description: 每页条数
  25676. in: query
  25677. name: pagesize
  25678. type: integer
  25679. - description: 资金账户 - 格式:1,2,3
  25680. in: query
  25681. name: accountID
  25682. required: true
  25683. type: string
  25684. - description: 资金操作类型 - 格式:1,2,3
  25685. in: query
  25686. name: OperateType
  25687. type: string
  25688. produces:
  25689. - application/json
  25690. responses:
  25691. "200":
  25692. description: OK
  25693. schema:
  25694. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  25695. "500":
  25696. description: Internal Server Error
  25697. schema:
  25698. $ref: '#/definitions/app.Response'
  25699. security:
  25700. - ApiKeyAuth: []
  25701. summary: 资金流水查询(当前)
  25702. tags:
  25703. - 资金账户
  25704. /TaAccount/QueryHisAmountLog:
  25705. get:
  25706. parameters:
  25707. - description: 页码
  25708. in: query
  25709. name: page
  25710. type: integer
  25711. - description: 每页条数
  25712. in: query
  25713. name: pagesize
  25714. type: integer
  25715. - description: 资金账户 - 格式:1,2,3
  25716. in: query
  25717. name: accountID
  25718. required: true
  25719. type: string
  25720. - description: 资金操作类型 - 格式:1,2,3
  25721. in: query
  25722. name: OperateType
  25723. type: string
  25724. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25725. in: query
  25726. name: startDate
  25727. type: string
  25728. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25729. in: query
  25730. name: endDate
  25731. type: string
  25732. produces:
  25733. - application/json
  25734. responses:
  25735. "200":
  25736. description: OK
  25737. schema:
  25738. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  25739. "500":
  25740. description: Internal Server Error
  25741. schema:
  25742. $ref: '#/definitions/app.Response'
  25743. security:
  25744. - ApiKeyAuth: []
  25745. summary: 资金流水查询(历史)
  25746. tags:
  25747. - 资金账户
  25748. /Tjmd/QueryQuoteGoodsList:
  25749. get:
  25750. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  25751. parameters:
  25752. - description: 用户类型
  25753. in: query
  25754. name: usertype
  25755. required: true
  25756. type: integer
  25757. - description: 市场id, 格式 1,2,3
  25758. in: query
  25759. name: marketids
  25760. type: string
  25761. - description: 商品组id
  25762. in: query
  25763. name: goodsgroupid
  25764. type: integer
  25765. - description: 商品id
  25766. in: query
  25767. name: goodsid
  25768. type: integer
  25769. produces:
  25770. - application/json
  25771. responses:
  25772. "200":
  25773. description: OK
  25774. schema:
  25775. items:
  25776. $ref: '#/definitions/models.TjmdQuoteGoods'
  25777. type: array
  25778. "500":
  25779. description: Internal Server Error
  25780. schema:
  25781. $ref: '#/definitions/app.Response'
  25782. security:
  25783. - ApiKeyAuth: []
  25784. summary: 查询掉期报价列表
  25785. tags:
  25786. - 天津麦顿
  25787. /Tjmd/QueryTjmdTodayAccountMargin:
  25788. get:
  25789. parameters:
  25790. - description: 市场id
  25791. in: query
  25792. name: marketid
  25793. type: string
  25794. - description: 商品id
  25795. in: query
  25796. name: goodsid
  25797. type: string
  25798. - description: 资金账号
  25799. in: query
  25800. name: accountid
  25801. type: string
  25802. produces:
  25803. - application/json
  25804. responses:
  25805. "200":
  25806. description: OK
  25807. schema:
  25808. items:
  25809. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  25810. type: array
  25811. "500":
  25812. description: Internal Server Error
  25813. schema:
  25814. $ref: '#/definitions/app.Response'
  25815. security:
  25816. - ApiKeyAuth: []
  25817. summary: 查询今日账户保证金配置
  25818. tags:
  25819. - 天津麦顿
  25820. /Tjmd/QueryTjmdTradeOrderDetail:
  25821. get:
  25822. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  25823. parameters:
  25824. - description: 页码
  25825. in: query
  25826. name: page
  25827. type: integer
  25828. - description: 每页条数
  25829. in: query
  25830. name: pagesize
  25831. type: integer
  25832. - description: 用户id
  25833. in: query
  25834. name: userid
  25835. required: true
  25836. type: integer
  25837. - description: 用户类型
  25838. in: query
  25839. name: usertype
  25840. required: true
  25841. type: integer
  25842. - description: 市场id, 格式 1,2,3
  25843. in: query
  25844. name: marketids
  25845. type: string
  25846. - description: 商品id
  25847. in: query
  25848. name: goodsid
  25849. required: true
  25850. type: integer
  25851. - description: 买卖方向 0-买 1-卖
  25852. in: query
  25853. name: buyorsell
  25854. required: true
  25855. type: integer
  25856. produces:
  25857. - application/json
  25858. responses:
  25859. "200":
  25860. description: OK
  25861. schema:
  25862. items:
  25863. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  25864. type: array
  25865. "500":
  25866. description: Internal Server Error
  25867. schema:
  25868. $ref: '#/definitions/app.Response'
  25869. security:
  25870. - ApiKeyAuth: []
  25871. summary: 查询掉期买卖大厅
  25872. tags:
  25873. - 天津麦顿
  25874. /Tjmd/QueryTjmdTransferApply:
  25875. get:
  25876. parameters:
  25877. - description: 类型 1-我的申请 2-对方申请
  25878. in: query
  25879. name: applytype
  25880. required: true
  25881. type: integer
  25882. - description: 市场id, 格式 1,2,3
  25883. in: query
  25884. name: marketids
  25885. type: string
  25886. - description: 资金账号, 格式 25000000001,25000000003
  25887. in: query
  25888. name: accountids
  25889. type: string
  25890. produces:
  25891. - application/json
  25892. responses:
  25893. "200":
  25894. description: OK
  25895. schema:
  25896. items:
  25897. $ref: '#/definitions/models.TjmdTransferApply'
  25898. type: array
  25899. "500":
  25900. description: Internal Server Error
  25901. schema:
  25902. $ref: '#/definitions/app.Response'
  25903. security:
  25904. - ApiKeyAuth: []
  25905. summary: 查询掉期协议单
  25906. tags:
  25907. - 天津麦顿
  25908. /Trade/QueryRecieptOrder:
  25909. get:
  25910. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25911. parameters:
  25912. - description: 页码
  25913. in: query
  25914. name: page
  25915. type: integer
  25916. - description: 每页条数
  25917. in: query
  25918. name: pagesize
  25919. type: integer
  25920. - description: 商品ID
  25921. in: query
  25922. name: goodsID
  25923. required: true
  25924. type: integer
  25925. - description: 所属账户名称
  25926. in: query
  25927. name: accountName
  25928. type: string
  25929. - description: 市场ID
  25930. in: query
  25931. name: marketID
  25932. type: integer
  25933. - description: 方向 - 0:买 1:卖
  25934. in: query
  25935. name: buyorsell
  25936. required: true
  25937. type: integer
  25938. produces:
  25939. - application/json
  25940. responses:
  25941. "200":
  25942. description: OK
  25943. schema:
  25944. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  25945. "500":
  25946. description: Internal Server Error
  25947. schema:
  25948. $ref: '#/definitions/app.Response'
  25949. security:
  25950. - ApiKeyAuth: []
  25951. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  25952. tags:
  25953. - 通用交易
  25954. /User/AddMessageBoard:
  25955. post:
  25956. parameters:
  25957. - description: 用户ID
  25958. in: query
  25959. name: userID
  25960. required: true
  25961. type: integer
  25962. - description: 留言信息
  25963. in: query
  25964. name: message
  25965. required: true
  25966. type: string
  25967. - description: 联系电话
  25968. in: query
  25969. name: contactNum
  25970. required: true
  25971. type: string
  25972. produces:
  25973. - application/json
  25974. responses:
  25975. "200":
  25976. description: OK
  25977. schema:
  25978. $ref: '#/definitions/app.Response'
  25979. "500":
  25980. description: Internal Server Error
  25981. schema:
  25982. $ref: '#/definitions/app.Response'
  25983. security:
  25984. - ApiKeyAuth: []
  25985. summary: 添加用户留言板信息
  25986. tags:
  25987. - 用户信息
  25988. /User/AddUserFavoriteGoods:
  25989. post:
  25990. parameters:
  25991. - description: 用户ID
  25992. in: query
  25993. name: userID
  25994. required: true
  25995. type: integer
  25996. - description: 商品ID
  25997. in: query
  25998. name: goodsID
  25999. required: true
  26000. type: integer
  26001. produces:
  26002. - application/json
  26003. responses:
  26004. "200":
  26005. description: OK
  26006. schema:
  26007. $ref: '#/definitions/app.Response'
  26008. "500":
  26009. description: Internal Server Error
  26010. schema:
  26011. $ref: '#/definitions/app.Response'
  26012. security:
  26013. - ApiKeyAuth: []
  26014. summary: 添加用户商品收藏信息
  26015. tags:
  26016. - 用户信息
  26017. /User/GetLoginID:
  26018. get:
  26019. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  26020. parameters:
  26021. - description: 登录代码
  26022. in: query
  26023. name: username
  26024. required: true
  26025. type: string
  26026. produces:
  26027. - application/json
  26028. responses:
  26029. "200":
  26030. description: OK
  26031. schema:
  26032. $ref: '#/definitions/app.Response'
  26033. "500":
  26034. description: Internal Server Error
  26035. schema:
  26036. $ref: '#/definitions/app.Response'
  26037. summary: 获取登录ID
  26038. tags:
  26039. - 用户信息
  26040. /User/GetUserAccount:
  26041. get:
  26042. parameters:
  26043. - description: 用户ID
  26044. in: query
  26045. name: userID
  26046. required: true
  26047. type: integer
  26048. produces:
  26049. - application/json
  26050. responses:
  26051. "200":
  26052. description: OK
  26053. schema:
  26054. $ref: '#/definitions/models.Useraccount'
  26055. "500":
  26056. description: Internal Server Error
  26057. schema:
  26058. $ref: '#/definitions/app.Response'
  26059. security:
  26060. - ApiKeyAuth: []
  26061. summary: 获取用户账号信息
  26062. tags:
  26063. - 用户信息
  26064. /User/GetUserAuthStatus:
  26065. get:
  26066. parameters:
  26067. - description: 用户ID
  26068. in: query
  26069. name: userID
  26070. required: true
  26071. type: integer
  26072. produces:
  26073. - application/json
  26074. responses:
  26075. "200":
  26076. description: OK
  26077. schema:
  26078. $ref: '#/definitions/app.Response'
  26079. "500":
  26080. description: Internal Server Error
  26081. schema:
  26082. $ref: '#/definitions/app.Response'
  26083. security:
  26084. - ApiKeyAuth: []
  26085. summary: 获取用户实名认证状态
  26086. tags:
  26087. - 用户信息
  26088. /User/LoginQuery:
  26089. get:
  26090. parameters:
  26091. - description: 登录账号
  26092. in: query
  26093. name: loginID
  26094. required: true
  26095. type: integer
  26096. produces:
  26097. - application/json
  26098. responses:
  26099. "200":
  26100. description: OK
  26101. schema:
  26102. $ref: '#/definitions/user.LoginQueryRsp'
  26103. "500":
  26104. description: Internal Server Error
  26105. schema:
  26106. $ref: '#/definitions/app.Response'
  26107. security:
  26108. - ApiKeyAuth: []
  26109. summary: 账户登录后信息查询
  26110. tags:
  26111. - 用户信息
  26112. /User/QueryMessageBoard:
  26113. get:
  26114. parameters:
  26115. - description: 用户ID
  26116. in: query
  26117. name: userID
  26118. required: true
  26119. type: integer
  26120. produces:
  26121. - application/json
  26122. responses:
  26123. "200":
  26124. description: OK
  26125. schema:
  26126. $ref: '#/definitions/models.Messageboard'
  26127. "500":
  26128. description: Internal Server Error
  26129. schema:
  26130. $ref: '#/definitions/app.Response'
  26131. security:
  26132. - ApiKeyAuth: []
  26133. summary: 获取用户留言板信息
  26134. tags:
  26135. - 用户信息
  26136. /User/QueryUserFavoriteGoodses:
  26137. get:
  26138. parameters:
  26139. - description: 用户ID
  26140. in: query
  26141. name: userID
  26142. required: true
  26143. type: integer
  26144. produces:
  26145. - application/json
  26146. responses:
  26147. "200":
  26148. description: OK
  26149. schema:
  26150. $ref: '#/definitions/models.Userfavoritegoods'
  26151. "500":
  26152. description: Internal Server Error
  26153. schema:
  26154. $ref: '#/definitions/app.Response'
  26155. security:
  26156. - ApiKeyAuth: []
  26157. summary: 获取用户商品收藏信息
  26158. tags:
  26159. - 用户信息
  26160. /User/QueryUserInfo:
  26161. get:
  26162. parameters:
  26163. - description: 用户ID
  26164. in: query
  26165. name: userID
  26166. required: true
  26167. type: integer
  26168. - description: 是否解密
  26169. in: query
  26170. name: isDecrypt
  26171. type: boolean
  26172. produces:
  26173. - application/json
  26174. responses:
  26175. "200":
  26176. description: OK
  26177. schema:
  26178. $ref: '#/definitions/models.Userinfo'
  26179. "500":
  26180. description: Internal Server Error
  26181. schema:
  26182. $ref: '#/definitions/app.Response'
  26183. security:
  26184. - ApiKeyAuth: []
  26185. summary: 获取用户信息
  26186. tags:
  26187. - 用户信息
  26188. /User/QueryUserReferNum:
  26189. get:
  26190. parameters:
  26191. - description: 用户ID
  26192. in: query
  26193. name: userID
  26194. required: true
  26195. type: integer
  26196. produces:
  26197. - application/json
  26198. responses:
  26199. "200":
  26200. description: OK
  26201. schema:
  26202. $ref: '#/definitions/app.Response'
  26203. "500":
  26204. description: Internal Server Error
  26205. schema:
  26206. $ref: '#/definitions/app.Response'
  26207. summary: 获取用户邀请码
  26208. tags:
  26209. - 用户信息
  26210. /User/RemoveUserFavoriteGoods:
  26211. post:
  26212. parameters:
  26213. - description: 用户ID
  26214. in: query
  26215. name: userID
  26216. required: true
  26217. type: integer
  26218. - description: 商品ID
  26219. in: query
  26220. name: goodsID
  26221. required: true
  26222. type: integer
  26223. produces:
  26224. - application/json
  26225. responses:
  26226. "200":
  26227. description: OK
  26228. schema:
  26229. $ref: '#/definitions/app.Response'
  26230. "500":
  26231. description: Internal Server Error
  26232. schema:
  26233. $ref: '#/definitions/app.Response'
  26234. security:
  26235. - ApiKeyAuth: []
  26236. summary: 移除用户商品收藏信息
  26237. tags:
  26238. - 用户信息
  26239. /User/UpdateUserAccountStatus:
  26240. post:
  26241. parameters:
  26242. - description: 用户ID
  26243. in: query
  26244. name: userID
  26245. required: true
  26246. type: integer
  26247. - description: 账户状态 - 4:正常 6:注销(停用)
  26248. in: query
  26249. name: accountStatus
  26250. required: true
  26251. type: integer
  26252. produces:
  26253. - application/json
  26254. responses:
  26255. "200":
  26256. description: OK
  26257. schema:
  26258. $ref: '#/definitions/app.Response'
  26259. "500":
  26260. description: Internal Server Error
  26261. schema:
  26262. $ref: '#/definitions/app.Response'
  26263. security:
  26264. - ApiKeyAuth: []
  26265. summary: 更新用户状态
  26266. tags:
  26267. - 用户信息
  26268. /WRTrade/GetAllDeliveryGoods:
  26269. get:
  26270. produces:
  26271. - application/json
  26272. - application/json
  26273. responses:
  26274. "200":
  26275. description: OK
  26276. schema:
  26277. $ref: '#/definitions/app.Response'
  26278. "500":
  26279. description: Internal Server Error
  26280. schema:
  26281. $ref: '#/definitions/app.Response'
  26282. security:
  26283. - ApiKeyAuth: []
  26284. - ApiKeyAuth: []
  26285. summary: 获取带仓单分类的种类信息
  26286. tags:
  26287. - 仓单贸易
  26288. - 仓单贸易
  26289. /WrTrade2/QueryFaProductDetail:
  26290. get:
  26291. description: 页面 买卖大厅 -> 选择融资方案
  26292. parameters:
  26293. - description: 仓单要素id
  26294. in: query
  26295. name: wrfactortypeid
  26296. required: true
  26297. type: integer
  26298. produces:
  26299. - application/json
  26300. responses:
  26301. "200":
  26302. description: OK
  26303. schema:
  26304. items:
  26305. $ref: '#/definitions/models.WrFAProductDetail'
  26306. type: array
  26307. "500":
  26308. description: Internal Server Error
  26309. schema:
  26310. $ref: '#/definitions/app.Response'
  26311. security:
  26312. - ApiKeyAuth: []
  26313. summary: 查询融资产品列表
  26314. tags:
  26315. - 仓单贸易v2
  26316. /WrTrade2/QueryFilterItem:
  26317. get:
  26318. parameters:
  26319. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  26320. in: query
  26321. name: itype
  26322. required: true
  26323. type: string
  26324. produces:
  26325. - application/json
  26326. responses:
  26327. "200":
  26328. description: OK
  26329. schema:
  26330. items:
  26331. $ref: '#/definitions/models.WrFilterItem'
  26332. type: array
  26333. "500":
  26334. description: Internal Server Error
  26335. schema:
  26336. $ref: '#/definitions/app.Response'
  26337. security:
  26338. - ApiKeyAuth: []
  26339. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  26340. tags:
  26341. - 仓单贸易v2
  26342. /WrTrade2/QueryFtDeliveryGoods:
  26343. get:
  26344. produces:
  26345. - application/json
  26346. responses:
  26347. "200":
  26348. description: OK
  26349. schema:
  26350. items:
  26351. $ref: '#/definitions/models.WrFtDeliveryGoods'
  26352. type: array
  26353. "500":
  26354. description: Internal Server Error
  26355. schema:
  26356. $ref: '#/definitions/app.Response'
  26357. security:
  26358. - ApiKeyAuth: []
  26359. summary: 查询品种品类筛选框列表
  26360. tags:
  26361. - 仓单贸易v2
  26362. /WrTrade2/QueryHoldLB:
  26363. get:
  26364. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  26365. parameters:
  26366. - description: 资金账号
  26367. in: query
  26368. name: accountid
  26369. required: true
  26370. type: integer
  26371. - description: 仓库id
  26372. in: query
  26373. name: warehouseid
  26374. type: integer
  26375. - description: 品种id
  26376. in: query
  26377. name: deliverygoodsid
  26378. type: integer
  26379. - description: 品类id
  26380. in: query
  26381. name: wrstandardid
  26382. type: integer
  26383. - description: 仓单要素id
  26384. in: query
  26385. name: wrfactortypeid
  26386. type: integer
  26387. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26388. in: query
  26389. name: dgitemname
  26390. type: string
  26391. produces:
  26392. - application/json
  26393. responses:
  26394. "200":
  26395. description: OK
  26396. schema:
  26397. items:
  26398. $ref: '#/definitions/models.WrHoldLB'
  26399. type: array
  26400. "500":
  26401. description: Internal Server Error
  26402. schema:
  26403. $ref: '#/definitions/app.Response'
  26404. security:
  26405. - ApiKeyAuth: []
  26406. summary: 查询仓单持有记录
  26407. tags:
  26408. - 仓单贸易v2
  26409. /WrTrade2/QueryOrderQuote:
  26410. get:
  26411. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录
  26412. parameters:
  26413. - description: 页码
  26414. in: query
  26415. name: page
  26416. type: integer
  26417. - description: 每页条数
  26418. in: query
  26419. name: pagesize
  26420. type: integer
  26421. - description: 仓单贸易市场id
  26422. in: query
  26423. name: marketid
  26424. type: integer
  26425. - description: 价格方式 - 1:固定价 2-浮动价
  26426. in: query
  26427. name: wrpricetype
  26428. required: true
  26429. type: integer
  26430. - description: 0:仓单预售 1:仓单贸易
  26431. in: query
  26432. name: haswr
  26433. required: true
  26434. type: integer
  26435. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26436. in: query
  26437. name: dgitemname
  26438. type: string
  26439. - description: 仓库id(筛选条件)
  26440. in: query
  26441. name: warehouseid
  26442. type: integer
  26443. - description: 品种id
  26444. in: query
  26445. name: deliverygoodsid
  26446. type: integer
  26447. - description: 品类id
  26448. in: query
  26449. name: wrstandardid
  26450. type: integer
  26451. - description: 仓单要素id
  26452. in: query
  26453. name: wrfactortypeid
  26454. type: integer
  26455. - description: 交收月(yyyy-mm) 仓单预售填写
  26456. in: query
  26457. name: deliverymonth
  26458. type: string
  26459. produces:
  26460. - application/json
  26461. responses:
  26462. "200":
  26463. description: OK
  26464. schema:
  26465. items:
  26466. $ref: '#/definitions/models.WrOrderQuote'
  26467. type: array
  26468. "500":
  26469. description: Internal Server Error
  26470. schema:
  26471. $ref: '#/definitions/app.Response'
  26472. security:
  26473. - ApiKeyAuth: []
  26474. summary: 查询大厅行情列表
  26475. tags:
  26476. - 仓单贸易v2
  26477. /WrTrade2/QueryOrderQuoteDetail:
  26478. get:
  26479. parameters:
  26480. - description: 页码
  26481. in: query
  26482. name: page
  26483. type: integer
  26484. - description: 每页条数
  26485. in: query
  26486. name: pagesize
  26487. type: integer
  26488. - description: 仓单贸易市场id
  26489. in: query
  26490. name: marketid
  26491. type: integer
  26492. - description: 价格方式 - 1:固定价 2-浮动价
  26493. in: query
  26494. name: wrpricetype
  26495. required: true
  26496. type: integer
  26497. - description: 0:仓单预售 1:仓单贸易
  26498. in: query
  26499. name: haswr
  26500. required: true
  26501. type: integer
  26502. - description: 仓单要素id
  26503. in: query
  26504. name: wrfactortypeid
  26505. required: true
  26506. type: integer
  26507. - description: 期货商品id(浮动价方式时填)
  26508. in: query
  26509. name: goodsid
  26510. type: integer
  26511. - description: 买卖方向 0-买 1-卖
  26512. in: query
  26513. name: buyorsell
  26514. required: true
  26515. type: integer
  26516. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  26517. in: query
  26518. name: deliverymonth
  26519. type: string
  26520. produces:
  26521. - application/json
  26522. responses:
  26523. "200":
  26524. description: OK
  26525. schema:
  26526. items:
  26527. $ref: '#/definitions/models.WrOrderQuoteDetail'
  26528. type: array
  26529. "500":
  26530. description: Internal Server Error
  26531. schema:
  26532. $ref: '#/definitions/app.Response'
  26533. security:
  26534. - ApiKeyAuth: []
  26535. summary: 查询买卖大厅
  26536. tags:
  26537. - 仓单贸易v2
  26538. /WrTrade2/QueryOrderQuoteMyq:
  26539. get:
  26540. parameters:
  26541. - description: 页码
  26542. in: query
  26543. name: page
  26544. type: integer
  26545. - description: 每页条数
  26546. in: query
  26547. name: pagesize
  26548. type: integer
  26549. - description: 用户id
  26550. in: query
  26551. name: userid
  26552. required: true
  26553. type: integer
  26554. - description: 仓单贸易市场id
  26555. in: query
  26556. name: marketid
  26557. type: integer
  26558. - description: 0:仓单预售 1:仓单贸易
  26559. in: query
  26560. name: haswr
  26561. required: true
  26562. type: integer
  26563. - description: 买卖方向 0-买 1-卖
  26564. in: query
  26565. name: buyorsell
  26566. required: true
  26567. type: integer
  26568. - description: 品种id
  26569. in: query
  26570. name: deliverygoodsid
  26571. type: integer
  26572. - description: 品类id
  26573. in: query
  26574. name: wrstandardid
  26575. type: integer
  26576. - description: 交收月(yyyy-mm) 仓单预售填写
  26577. in: query
  26578. name: deliverymonth
  26579. type: string
  26580. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26581. in: query
  26582. name: dgitemname
  26583. type: string
  26584. produces:
  26585. - application/json
  26586. responses:
  26587. "200":
  26588. description: OK
  26589. schema:
  26590. items:
  26591. $ref: '#/definitions/models.WrQuoteOrderMyq'
  26592. type: array
  26593. "500":
  26594. description: Internal Server Error
  26595. schema:
  26596. $ref: '#/definitions/app.Response'
  26597. security:
  26598. - ApiKeyAuth: []
  26599. summary: 查询贸易圈挂牌大厅
  26600. tags:
  26601. - 仓单贸易v2
  26602. /WrTrade2/QueryPerformancePlan:
  26603. get:
  26604. parameters:
  26605. - description: 用户id
  26606. in: query
  26607. name: userid
  26608. required: true
  26609. type: integer
  26610. - description: 买卖方向 0-买 1-卖
  26611. in: query
  26612. name: buyorsell
  26613. required: true
  26614. type: integer
  26615. produces:
  26616. - application/json
  26617. responses:
  26618. "200":
  26619. description: OK
  26620. schema:
  26621. items:
  26622. $ref: '#/definitions/models.WrPerformancePlan'
  26623. type: array
  26624. "500":
  26625. description: Internal Server Error
  26626. schema:
  26627. $ref: '#/definitions/app.Response'
  26628. security:
  26629. - ApiKeyAuth: []
  26630. summary: 查询履约信息
  26631. tags:
  26632. - 仓单贸易v2
  26633. /WrTrade2/QueryPermancePlanTmp:
  26634. get:
  26635. description: 返回指定用户的模板和公共模板(用户id为空)
  26636. parameters:
  26637. - description: 用户id
  26638. in: query
  26639. name: userid
  26640. type: integer
  26641. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  26642. in: query
  26643. name: tmptype
  26644. type: string
  26645. - description: 是否包含公共模板(用户id为空的) 1-包含
  26646. in: query
  26647. name: includepub
  26648. type: integer
  26649. produces:
  26650. - application/json
  26651. responses:
  26652. "200":
  26653. description: OK
  26654. schema:
  26655. items:
  26656. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  26657. type: array
  26658. "500":
  26659. description: Internal Server Error
  26660. schema:
  26661. $ref: '#/definitions/app.Response'
  26662. security:
  26663. - ApiKeyAuth: []
  26664. summary: 查询履约模板
  26665. tags:
  26666. - 仓单贸易v2
  26667. /WrTrade2/QueryWrAverageTradePrice:
  26668. get:
  26669. parameters:
  26670. - description: 页码
  26671. in: query
  26672. name: page
  26673. type: integer
  26674. - description: 每页条数
  26675. in: query
  26676. name: pagesize
  26677. type: integer
  26678. - description: 0:仓单预售 1:仓单贸易
  26679. in: query
  26680. name: haswr
  26681. required: true
  26682. type: integer
  26683. - description: 仓单要素id
  26684. in: query
  26685. name: wrfactortypeid
  26686. required: true
  26687. type: integer
  26688. produces:
  26689. - application/json
  26690. responses:
  26691. "200":
  26692. description: OK
  26693. schema:
  26694. items:
  26695. $ref: '#/definitions/models.WrAverageTradePrice'
  26696. type: array
  26697. "500":
  26698. description: Internal Server Error
  26699. schema:
  26700. $ref: '#/definitions/app.Response'
  26701. security:
  26702. - ApiKeyAuth: []
  26703. summary: 查询成交价(历史走势)
  26704. tags:
  26705. - 仓单贸易v2
  26706. /WrTrade2/QueryWrBsGoodsInfo:
  26707. get:
  26708. description: 合约交易/买卖大厅/详情
  26709. parameters:
  26710. - description: 商品id
  26711. in: query
  26712. name: goodsid
  26713. required: true
  26714. type: integer
  26715. produces:
  26716. - application/json
  26717. responses:
  26718. "200":
  26719. description: OK
  26720. schema:
  26721. items:
  26722. $ref: '#/definitions/models.WrBsGoodsInfo'
  26723. type: array
  26724. "500":
  26725. description: Internal Server Error
  26726. schema:
  26727. $ref: '#/definitions/app.Response'
  26728. security:
  26729. - ApiKeyAuth: []
  26730. summary: 查询合约交易买卖大厅详情
  26731. tags:
  26732. - 仓单贸易v2
  26733. /WrTrade2/QueryWrBuybackDetail:
  26734. get:
  26735. parameters:
  26736. - description: 融资合同id
  26737. in: query
  26738. name: scfcontractid
  26739. type: integer
  26740. produces:
  26741. - application/json
  26742. responses:
  26743. "200":
  26744. description: OK
  26745. schema:
  26746. items:
  26747. $ref: '#/definitions/models.WrBuybackDetail'
  26748. type: array
  26749. "500":
  26750. description: Internal Server Error
  26751. schema:
  26752. $ref: '#/definitions/app.Response'
  26753. security:
  26754. - ApiKeyAuth: []
  26755. summary: 查询仓单回购明细
  26756. tags:
  26757. - 仓单贸易v2
  26758. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  26759. get:
  26760. parameters:
  26761. - description: 资金账号
  26762. in: query
  26763. name: accountid
  26764. required: true
  26765. type: integer
  26766. - description: 商品id
  26767. in: query
  26768. name: goodsid
  26769. required: true
  26770. type: integer
  26771. produces:
  26772. - application/json
  26773. responses:
  26774. "200":
  26775. description: OK
  26776. schema:
  26777. items:
  26778. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  26779. type: array
  26780. "500":
  26781. description: Internal Server Error
  26782. schema:
  26783. $ref: '#/definitions/app.Response'
  26784. security:
  26785. - ApiKeyAuth: []
  26786. summary: 查询合约交收可点选仓单
  26787. tags:
  26788. - 仓单贸易v2
  26789. /WrTrade2/QueryWrDeliveryDetail:
  26790. get:
  26791. parameters:
  26792. - description: 用户id
  26793. in: query
  26794. name: userid
  26795. required: true
  26796. type: integer
  26797. - description: 资金账号id
  26798. in: query
  26799. name: accountid
  26800. type: integer
  26801. produces:
  26802. - application/json
  26803. responses:
  26804. "200":
  26805. description: OK
  26806. schema:
  26807. items:
  26808. $ref: '#/definitions/models.WrDeliveryDetail'
  26809. type: array
  26810. "500":
  26811. description: Internal Server Error
  26812. schema:
  26813. $ref: '#/definitions/app.Response'
  26814. security:
  26815. - ApiKeyAuth: []
  26816. summary: 查询交收
  26817. tags:
  26818. - 仓单贸易v2
  26819. /WrTrade2/QueryWrFactorTypeInfo:
  26820. get:
  26821. parameters:
  26822. - description: 仓单要素id
  26823. in: query
  26824. name: wrfactortypeid
  26825. required: true
  26826. type: integer
  26827. produces:
  26828. - application/json
  26829. responses:
  26830. "200":
  26831. description: OK
  26832. schema:
  26833. items:
  26834. $ref: '#/definitions/models.WrFactorTypeInfo'
  26835. type: array
  26836. "500":
  26837. description: Internal Server Error
  26838. schema:
  26839. $ref: '#/definitions/app.Response'
  26840. security:
  26841. - ApiKeyAuth: []
  26842. summary: 查询仓单要素详细信息
  26843. tags:
  26844. - 仓单贸易v2
  26845. /WrTrade2/QueryWrFactorTypeInfoEx:
  26846. get:
  26847. parameters:
  26848. - description: 仓单要素id
  26849. in: query
  26850. name: wrfactortypeid
  26851. required: true
  26852. type: integer
  26853. produces:
  26854. - application/json
  26855. responses:
  26856. "200":
  26857. description: OK
  26858. schema:
  26859. items:
  26860. $ref: '#/definitions/models.WrTypeItem'
  26861. type: array
  26862. "500":
  26863. description: Internal Server Error
  26864. schema:
  26865. $ref: '#/definitions/app.Response'
  26866. security:
  26867. - ApiKeyAuth: []
  26868. summary: 查询仓单要素详细信息列表项
  26869. tags:
  26870. - 仓单贸易v2
  26871. /WrTrade2/QueryWrFinanceBuyApply:
  26872. get:
  26873. description: 页面 融资信息+ / 申请单
  26874. parameters:
  26875. - description: 用户id
  26876. in: query
  26877. name: userid
  26878. required: true
  26879. type: integer
  26880. produces:
  26881. - application/json
  26882. responses:
  26883. "200":
  26884. description: OK
  26885. schema:
  26886. items:
  26887. $ref: '#/definitions/models.WrFinanceBuyApply'
  26888. type: array
  26889. "500":
  26890. description: Internal Server Error
  26891. schema:
  26892. $ref: '#/definitions/app.Response'
  26893. security:
  26894. - ApiKeyAuth: []
  26895. summary: 查询融资购买申请
  26896. tags:
  26897. - 仓单贸易v2
  26898. /WrTrade2/QueryWrFriendApply:
  26899. get:
  26900. parameters:
  26901. - description: 用户id
  26902. in: query
  26903. name: userid
  26904. required: true
  26905. type: integer
  26906. produces:
  26907. - application/json
  26908. responses:
  26909. "200":
  26910. description: OK
  26911. schema:
  26912. items:
  26913. $ref: '#/definitions/models.WrFriendApply'
  26914. type: array
  26915. "500":
  26916. description: Internal Server Error
  26917. schema:
  26918. $ref: '#/definitions/app.Response'
  26919. security:
  26920. - ApiKeyAuth: []
  26921. summary: 查询好友申请记录
  26922. tags:
  26923. - 仓单贸易v2
  26924. /WrTrade2/QueryWrGoodsInfo:
  26925. get:
  26926. parameters:
  26927. - description: 仓单贸易市场id
  26928. in: query
  26929. name: marketid
  26930. type: integer
  26931. - description: 0:仓单预售 1:仓单贸易
  26932. in: query
  26933. name: haswr
  26934. required: true
  26935. type: integer
  26936. - description: 仓单要素id
  26937. in: query
  26938. name: wrfactortypeid
  26939. required: true
  26940. type: integer
  26941. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  26942. in: query
  26943. name: tmplateid
  26944. type: integer
  26945. produces:
  26946. - application/json
  26947. responses:
  26948. "200":
  26949. description: OK
  26950. schema:
  26951. items:
  26952. $ref: '#/definitions/models.WrGoodsInfo'
  26953. type: array
  26954. "500":
  26955. description: Internal Server Error
  26956. schema:
  26957. $ref: '#/definitions/app.Response'
  26958. security:
  26959. - ApiKeyAuth: []
  26960. summary: 查询仓单商品信息
  26961. tags:
  26962. - 仓单贸易v2
  26963. /WrTrade2/QueryWrMarketTradeConfig:
  26964. get:
  26965. parameters:
  26966. - description: 市场id
  26967. in: query
  26968. name: marketid
  26969. type: integer
  26970. produces:
  26971. - application/json
  26972. responses:
  26973. "200":
  26974. description: OK
  26975. schema:
  26976. items:
  26977. $ref: '#/definitions/models.WrMarketTradeConfig'
  26978. type: array
  26979. "500":
  26980. description: Internal Server Error
  26981. schema:
  26982. $ref: '#/definitions/app.Response'
  26983. security:
  26984. - ApiKeyAuth: []
  26985. summary: 查询市场交易参数配置
  26986. tags:
  26987. - 仓单贸易v2
  26988. /WrTrade2/QueryWrOrderDetail:
  26989. get:
  26990. description: 页面 现货仓单 | 预售仓单 -> 挂单
  26991. parameters:
  26992. - description: 页码
  26993. in: query
  26994. name: page
  26995. type: integer
  26996. - description: 每页条数
  26997. in: query
  26998. name: pagesize
  26999. type: integer
  27000. - description: 用户id
  27001. in: query
  27002. name: userid
  27003. required: true
  27004. type: integer
  27005. - description: 仓单贸易市场id
  27006. in: query
  27007. name: marketid
  27008. type: integer
  27009. - description: 0:仓单预售 1:仓单贸易
  27010. in: query
  27011. name: haswr
  27012. required: true
  27013. type: integer
  27014. produces:
  27015. - application/json
  27016. responses:
  27017. "200":
  27018. description: OK
  27019. schema:
  27020. items:
  27021. $ref: '#/definitions/models.WrOrderDetail'
  27022. type: array
  27023. "500":
  27024. description: Internal Server Error
  27025. schema:
  27026. $ref: '#/definitions/app.Response'
  27027. security:
  27028. - ApiKeyAuth: []
  27029. summary: 查询仓单委托单(挂单)
  27030. tags:
  27031. - 仓单贸易v2
  27032. /WrTrade2/QueryWrOutInApply:
  27033. get:
  27034. parameters:
  27035. - description: 用户id
  27036. in: query
  27037. name: userid
  27038. required: true
  27039. type: integer
  27040. produces:
  27041. - application/json
  27042. responses:
  27043. "200":
  27044. description: OK
  27045. schema:
  27046. items:
  27047. $ref: '#/definitions/models.WrOutInApply'
  27048. type: array
  27049. "500":
  27050. description: Internal Server Error
  27051. schema:
  27052. $ref: '#/definitions/app.Response'
  27053. security:
  27054. - ApiKeyAuth: []
  27055. summary: 查询提货申请
  27056. tags:
  27057. - 仓单贸易v2
  27058. /WrTrade2/QueryWrPerformancePlanStep:
  27059. get:
  27060. parameters:
  27061. - description: 履约计划id(performanceplanid)
  27062. in: query
  27063. name: planid
  27064. required: true
  27065. type: integer
  27066. - description: 当前步骤id
  27067. in: query
  27068. name: curstepid
  27069. type: integer
  27070. produces:
  27071. - application/json
  27072. responses:
  27073. "200":
  27074. description: OK
  27075. schema:
  27076. items:
  27077. $ref: '#/definitions/models.WrPerformancePlanStep'
  27078. type: array
  27079. "500":
  27080. description: Internal Server Error
  27081. schema:
  27082. $ref: '#/definitions/app.Response'
  27083. security:
  27084. - ApiKeyAuth: []
  27085. summary: 查询履约信息详情
  27086. tags:
  27087. - 仓单贸易v2
  27088. /WrTrade2/QueryWrPerformanceStepType:
  27089. get:
  27090. produces:
  27091. - application/json
  27092. responses:
  27093. "200":
  27094. description: OK
  27095. schema:
  27096. items:
  27097. $ref: '#/definitions/models.WrPerformanceStepType'
  27098. type: array
  27099. "500":
  27100. description: Internal Server Error
  27101. schema:
  27102. $ref: '#/definitions/app.Response'
  27103. security:
  27104. - ApiKeyAuth: []
  27105. summary: 查询履约步骤枚举
  27106. tags:
  27107. - 仓单贸易v2
  27108. /WrTrade2/QueryWrPosition:
  27109. get:
  27110. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  27111. parameters:
  27112. - description: 用户id
  27113. in: query
  27114. name: userid
  27115. required: true
  27116. type: integer
  27117. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  27118. in: query
  27119. name: querytype
  27120. required: true
  27121. type: integer
  27122. - description: 0:仓单预售 1:仓单贸易
  27123. in: query
  27124. name: haswr
  27125. required: true
  27126. type: integer
  27127. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27128. in: query
  27129. name: dgitemname
  27130. type: string
  27131. - description: 仓库id(筛选条件)
  27132. in: query
  27133. name: warehouseid
  27134. type: integer
  27135. - description: 品种id
  27136. in: query
  27137. name: deliverygoodsid
  27138. type: integer
  27139. - description: 品类id
  27140. in: query
  27141. name: wrstandardid
  27142. type: integer
  27143. produces:
  27144. - application/json
  27145. responses:
  27146. "200":
  27147. description: OK
  27148. schema:
  27149. items:
  27150. $ref: '#/definitions/models.WrPosition'
  27151. type: array
  27152. "500":
  27153. description: Internal Server Error
  27154. schema:
  27155. $ref: '#/definitions/app.Response'
  27156. security:
  27157. - ApiKeyAuth: []
  27158. summary: 查询现货(预售)仓单持仓
  27159. tags:
  27160. - 仓单贸易v2
  27161. /WrTrade2/QueryWrScfContract:
  27162. get:
  27163. parameters:
  27164. - description: 用户id
  27165. in: query
  27166. name: userid
  27167. required: true
  27168. type: integer
  27169. - description: 融资合同id
  27170. in: query
  27171. name: scfcontractid
  27172. type: integer
  27173. produces:
  27174. - application/json
  27175. responses:
  27176. "200":
  27177. description: OK
  27178. schema:
  27179. items:
  27180. $ref: '#/definitions/models.WrScfContract'
  27181. type: array
  27182. "500":
  27183. description: Internal Server Error
  27184. schema:
  27185. $ref: '#/definitions/app.Response'
  27186. security:
  27187. - ApiKeyAuth: []
  27188. summary: 查询仓单贸易融资合同
  27189. tags:
  27190. - 仓单贸易v2
  27191. /WrTrade2/QueryWrScfContractInterest:
  27192. get:
  27193. parameters:
  27194. - description: 融资合同id
  27195. in: query
  27196. name: scfcontractid
  27197. type: integer
  27198. produces:
  27199. - application/json
  27200. responses:
  27201. "200":
  27202. description: OK
  27203. schema:
  27204. items:
  27205. $ref: '#/definitions/models.WrScfContractInterest'
  27206. type: array
  27207. "500":
  27208. description: Internal Server Error
  27209. schema:
  27210. $ref: '#/definitions/app.Response'
  27211. security:
  27212. - ApiKeyAuth: []
  27213. summary: 查询融资合同费用明细
  27214. tags:
  27215. - 仓单贸易v2
  27216. /WrTrade2/QueryWrSpecialMatchOrder:
  27217. get:
  27218. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  27219. parameters:
  27220. - description: 页码
  27221. in: query
  27222. name: page
  27223. type: integer
  27224. - description: 每页条数
  27225. in: query
  27226. name: pagesize
  27227. type: integer
  27228. - description: 用户id
  27229. in: query
  27230. name: userid
  27231. required: true
  27232. type: integer
  27233. - description: 仓单贸易市场id
  27234. in: query
  27235. name: marketid
  27236. type: integer
  27237. - description: 0:仓单预售 1:仓单贸易
  27238. in: query
  27239. name: haswr
  27240. required: true
  27241. type: integer
  27242. produces:
  27243. - application/json
  27244. responses:
  27245. "200":
  27246. description: OK
  27247. schema:
  27248. items:
  27249. $ref: '#/definitions/models.WrSpecialMatchOrder'
  27250. type: array
  27251. "500":
  27252. description: Internal Server Error
  27253. schema:
  27254. $ref: '#/definitions/app.Response'
  27255. security:
  27256. - ApiKeyAuth: []
  27257. summary: 查询指定成交
  27258. tags:
  27259. - 仓单贸易v2
  27260. /WrTrade2/QueryWrStandardFactoryItem:
  27261. get:
  27262. parameters:
  27263. - description: 品类id
  27264. in: query
  27265. name: wrstandardid
  27266. required: true
  27267. type: integer
  27268. produces:
  27269. - application/json
  27270. responses:
  27271. "200":
  27272. description: OK
  27273. schema:
  27274. items:
  27275. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  27276. type: array
  27277. "500":
  27278. description: Internal Server Error
  27279. schema:
  27280. $ref: '#/definitions/app.Response'
  27281. security:
  27282. - ApiKeyAuth: []
  27283. summary: 查询品类要素定义项
  27284. tags:
  27285. - 仓单贸易v2
  27286. /WrTrade2/QueryWrTradeBargainApply:
  27287. get:
  27288. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面 议价->对方议价 填写matchuserid=登录用户id
  27289. parameters:
  27290. - description: 议价人id(摘牌方)
  27291. in: query
  27292. name: userid
  27293. type: integer
  27294. - description: 挂牌方id(查对方议价时,填写此项)
  27295. in: query
  27296. name: matchuserid
  27297. type: integer
  27298. - description: 关联委托单id
  27299. in: query
  27300. name: wrtradeorderid
  27301. type: integer
  27302. - description: 0:仓单预售 1:仓单贸易
  27303. in: query
  27304. name: haswr
  27305. required: true
  27306. type: integer
  27307. produces:
  27308. - application/json
  27309. responses:
  27310. "200":
  27311. description: OK
  27312. schema:
  27313. items:
  27314. $ref: '#/definitions/models.WRTradeBargainApply'
  27315. type: array
  27316. "500":
  27317. description: Internal Server Error
  27318. schema:
  27319. $ref: '#/definitions/app.Response'
  27320. security:
  27321. - ApiKeyAuth: []
  27322. summary: 查询议价单
  27323. tags:
  27324. - 仓单贸易v2
  27325. /WrTrade2/QueryWrTradeDetail:
  27326. get:
  27327. parameters:
  27328. - description: 页码
  27329. in: query
  27330. name: page
  27331. type: integer
  27332. - description: 每页条数
  27333. in: query
  27334. name: pagesize
  27335. type: integer
  27336. - description: 用户id
  27337. in: query
  27338. name: userid
  27339. required: true
  27340. type: integer
  27341. - description: 仓单贸易市场id
  27342. in: query
  27343. name: marketid
  27344. type: integer
  27345. - description: 0:仓单预售 1:仓单贸易
  27346. in: query
  27347. name: haswr
  27348. required: true
  27349. type: integer
  27350. produces:
  27351. - application/json
  27352. responses:
  27353. "200":
  27354. description: OK
  27355. schema:
  27356. items:
  27357. $ref: '#/definitions/models.WrTradeDetail'
  27358. type: array
  27359. "500":
  27360. description: Internal Server Error
  27361. schema:
  27362. $ref: '#/definitions/app.Response'
  27363. security:
  27364. - ApiKeyAuth: []
  27365. summary: 查询仓单成交明细
  27366. tags:
  27367. - 仓单贸易v2
  27368. /WrTrade2/QueryWrTradeOrderDetail:
  27369. get:
  27370. parameters:
  27371. - description: 页码
  27372. in: query
  27373. name: page
  27374. type: integer
  27375. - description: 每页条数
  27376. in: query
  27377. name: pagesize
  27378. type: integer
  27379. - description: 商品id
  27380. in: query
  27381. name: goodsid
  27382. required: true
  27383. type: integer
  27384. - description: 买卖方向 0-买 1-卖
  27385. in: query
  27386. name: buyorsell
  27387. required: true
  27388. type: integer
  27389. produces:
  27390. - application/json
  27391. responses:
  27392. "200":
  27393. description: OK
  27394. schema:
  27395. items:
  27396. $ref: '#/definitions/models.WrTradeOrderDetail'
  27397. type: array
  27398. "500":
  27399. description: Internal Server Error
  27400. schema:
  27401. $ref: '#/definitions/app.Response'
  27402. security:
  27403. - ApiKeyAuth: []
  27404. summary: 查询合约交易买卖大厅
  27405. tags:
  27406. - 仓单贸易v2
  27407. /WrTrade2/QueryWrUserFriend:
  27408. get:
  27409. parameters:
  27410. - description: 用户id
  27411. in: query
  27412. name: userid
  27413. required: true
  27414. type: integer
  27415. - description: 新朋友userid, 如果填写了此项则查找新朋友
  27416. in: query
  27417. name: newuserid
  27418. type: integer
  27419. produces:
  27420. - application/json
  27421. responses:
  27422. "200":
  27423. description: OK
  27424. schema:
  27425. items:
  27426. $ref: '#/definitions/models.WrUserFriend'
  27427. type: array
  27428. "500":
  27429. description: Internal Server Error
  27430. schema:
  27431. $ref: '#/definitions/app.Response'
  27432. security:
  27433. - ApiKeyAuth: []
  27434. summary: 查询我的朋友
  27435. tags:
  27436. - 仓单贸易v2
  27437. /WrTrade2/QueryWrUserReceiptInfo:
  27438. get:
  27439. parameters:
  27440. - description: 用户id
  27441. in: query
  27442. name: userid
  27443. type: integer
  27444. - description: 发票类型 - 1:个人 2:企业
  27445. in: query
  27446. name: receipttype
  27447. type: integer
  27448. produces:
  27449. - application/json
  27450. responses:
  27451. "200":
  27452. description: OK
  27453. schema:
  27454. items:
  27455. $ref: '#/definitions/models.WrUserReceiptInfo'
  27456. type: array
  27457. "500":
  27458. description: Internal Server Error
  27459. schema:
  27460. $ref: '#/definitions/app.Response'
  27461. security:
  27462. - ApiKeyAuth: []
  27463. summary: 查询发票信息
  27464. tags:
  27465. - 仓单贸易v2
  27466. /ZJ/GetBankTip:
  27467. get:
  27468. produces:
  27469. - application/json
  27470. responses:
  27471. "200":
  27472. description: OK
  27473. schema:
  27474. type: string
  27475. "500":
  27476. description: Internal Server Error
  27477. schema:
  27478. $ref: '#/definitions/app.Response'
  27479. summary: 获取中江网银端出入金提示信息
  27480. tags:
  27481. - 中江
  27482. /ZJ/GetCusBankChannels:
  27483. get:
  27484. produces:
  27485. - application/json
  27486. responses:
  27487. "200":
  27488. description: OK
  27489. schema:
  27490. items:
  27491. type: string
  27492. type: array
  27493. "500":
  27494. description: Internal Server Error
  27495. schema:
  27496. $ref: '#/definitions/app.Response'
  27497. summary: 获取中江出入金渠道显示列表
  27498. tags:
  27499. - 中江
  27500. securityDefinitions:
  27501. ApiKeyAuth:
  27502. in: header
  27503. name: Authorization
  27504. type: apiKey
  27505. swagger: "2.0"