swagger.yaml 763 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519
  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. biztype:
  6109. description: 业务类型 1:套保 2:套利
  6110. type: integer
  6111. contractno:
  6112. description: 合同编号
  6113. type: string
  6114. contracttype:
  6115. description: 合同类型 1:采购 -1:销售
  6116. type: integer
  6117. customername:
  6118. description: 对手手名称
  6119. type: string
  6120. customeruserid:
  6121. description: 对手id
  6122. type: integer
  6123. deliverygoodscode:
  6124. description: 现货品种代码
  6125. type: string
  6126. deliverygoodsid:
  6127. description: 现货品种ID
  6128. type: integer
  6129. deliverygoodsname:
  6130. description: 现货品种名称
  6131. type: string
  6132. enumdicname:
  6133. description: 现货单位名称
  6134. type: string
  6135. middlegoodsid:
  6136. description: 套保品种ID
  6137. type: integer
  6138. middlegoodspricedqty3:
  6139. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6140. type: number
  6141. needhedgeratio:
  6142. description: 套保比例
  6143. type: number
  6144. pricedqty:
  6145. description: 已定价量
  6146. type: number
  6147. relatedmiddlegoodsqty:
  6148. description: 已关联量(套保品种)(期货)
  6149. type: number
  6150. spotcontractid:
  6151. description: 合同编号
  6152. type: string
  6153. unitid:
  6154. description: 现货单位id
  6155. type: integer
  6156. userid:
  6157. description: 用户id
  6158. type: integer
  6159. vatrate:
  6160. description: 增值税率
  6161. type: number
  6162. wrstandardcode:
  6163. description: 现货商品代码
  6164. type: string
  6165. wrstandardid:
  6166. description: 现货商品id
  6167. type: integer
  6168. wrstandardname:
  6169. description: 现货商品名称
  6170. type: string
  6171. type: object
  6172. models.Ermcp3SCMiddleGoodsReport:
  6173. properties:
  6174. begindate:
  6175. description: 开始交易日
  6176. type: string
  6177. contractno:
  6178. description: 合同编号
  6179. type: string
  6180. contracttype:
  6181. description: 合同类型 1:采购 -1:销售
  6182. type: integer
  6183. convertratio:
  6184. description: 折算系数
  6185. type: number
  6186. cycletime:
  6187. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6188. type: string
  6189. cycletype:
  6190. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6191. type: integer
  6192. deliverygoodscode:
  6193. description: 品种代码
  6194. type: string
  6195. deliverygoodsid:
  6196. description: 现货品种ID
  6197. type: integer
  6198. deliverygoodsname:
  6199. description: 品种名称
  6200. type: string
  6201. diffprice:
  6202. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6203. type: number
  6204. diffqty:
  6205. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6206. type: number
  6207. enddate:
  6208. description: 结束交易日
  6209. type: string
  6210. hedgeplanqty:
  6211. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6212. type: number
  6213. matchname:
  6214. description: 交易对手方(个人:用户名称 企业:简称)
  6215. type: string
  6216. middlegoodscode:
  6217. description: 套保品种代码
  6218. type: string
  6219. middlegoodsid:
  6220. description: 套保品种ID
  6221. type: integer
  6222. middlegoodsname:
  6223. description: 套保品种名称
  6224. type: string
  6225. middlegoodspricedqty:
  6226. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6227. type: number
  6228. middlegoodspricedqty2:
  6229. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6230. type: number
  6231. middlegoodspricedqty3:
  6232. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6233. type: number
  6234. needhedgeratio:
  6235. description: 套保系数
  6236. type: number
  6237. pricedamount:
  6238. description: 已定价额(现货)
  6239. type: number
  6240. pricedamount2:
  6241. description: 已定价额(现货-基价额)
  6242. type: number
  6243. pricedqty:
  6244. description: 已定价量(现货)
  6245. type: number
  6246. reckondate:
  6247. description: 日照时期(yyyyMMdd)
  6248. type: string
  6249. relatedmiddlegoodsamount:
  6250. description: 已关联额(期货)
  6251. type: number
  6252. relatedmiddlegoodsqty:
  6253. description: 已关联量(套保品种)(期货)
  6254. type: number
  6255. spotcontractid:
  6256. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6257. type: string
  6258. todayavgfutuprice:
  6259. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /TodayRelatedMiddleGoodsQty
  6260. type: number
  6261. todayavgprice:
  6262. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6263. type: number
  6264. todayavgprice2:
  6265. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6266. type: number
  6267. todaypricedamount:
  6268. description: 今日定价额(现货)
  6269. type: number
  6270. todaypricedamount2:
  6271. description: 今日定价额(现货-基价额)
  6272. type: number
  6273. todaypricedqty:
  6274. description: 今日定价量(现货)
  6275. type: number
  6276. todayrelatedmiddlegoodsamount:
  6277. description: 今日关联额(期货)
  6278. type: number
  6279. todayrelatedmiddlegoodsqty:
  6280. description: 今日关联量(期货)
  6281. type: number
  6282. updatetime:
  6283. description: 更新时间
  6284. type: string
  6285. userid:
  6286. description: 合同所属用户id
  6287. type: integer
  6288. vatrate:
  6289. description: 增值税率
  6290. type: number
  6291. wrstandardcode:
  6292. description: 商品(品类) 代码
  6293. type: string
  6294. wrstandardid:
  6295. description: 现货商品ID
  6296. type: integer
  6297. wrstandardname:
  6298. description: 商品(品类) 名称
  6299. type: string
  6300. type: object
  6301. models.Ermcp3SellBuyContract:
  6302. properties:
  6303. accountid:
  6304. description: 期货账户id
  6305. type: string
  6306. accountname:
  6307. description: 账户名称
  6308. type: string
  6309. attachment:
  6310. description: 附件
  6311. type: string
  6312. audittime:
  6313. description: 审核时间
  6314. type: string
  6315. biztype:
  6316. description: 业务类型 1-套保 2-套利
  6317. type: integer
  6318. brandname:
  6319. description: 品牌名称
  6320. type: string
  6321. contracctstatus:
  6322. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6323. type: integer
  6324. contractmargin:
  6325. description: 合同保证金
  6326. type: number
  6327. contractno:
  6328. description: 合同编号
  6329. type: string
  6330. contracttype:
  6331. description: 合同类型 1-采购, -1-销售
  6332. type: integer
  6333. convertfactor:
  6334. description: 标仓系数(品类)
  6335. type: number
  6336. createtime:
  6337. description: 创建时间
  6338. type: string
  6339. currencyid:
  6340. description: 币种id
  6341. type: integer
  6342. currencyname:
  6343. description: 币种名称
  6344. type: string
  6345. daikaiamount:
  6346. description: 应收(开)票额
  6347. type: number
  6348. deliveryenddate:
  6349. description: 交割结束日
  6350. type: string
  6351. deliverygoodscode:
  6352. description: 现货品种代码
  6353. type: string
  6354. deliverygoodsid:
  6355. description: 现货商品ID
  6356. type: integer
  6357. deliverygoodsname:
  6358. description: 现货品种名称
  6359. type: string
  6360. deliverystartdate:
  6361. description: 交割开始日
  6362. type: string
  6363. enddate:
  6364. description: 点价结束日
  6365. type: string
  6366. enumdicname:
  6367. description: 单位名称
  6368. type: string
  6369. goodscode:
  6370. description: 点价商品代码
  6371. type: string
  6372. goodsid:
  6373. description: 点价商品ID
  6374. type: integer
  6375. goodsname:
  6376. description: 点价商品名称
  6377. type: string
  6378. invoiceamount:
  6379. description: 已开票额
  6380. type: number
  6381. loanamount:
  6382. description: 贷款总额=已定价额+调整金额
  6383. type: number
  6384. margin:
  6385. description: 保证金
  6386. type: number
  6387. meruserid:
  6388. description: 跟单员id
  6389. type: integer
  6390. meruserlogincode:
  6391. description: 跟单员登录代码
  6392. type: string
  6393. merusername:
  6394. description: 跟单员名称
  6395. type: string
  6396. nickname:
  6397. description: 账户昵称
  6398. type: string
  6399. payamount:
  6400. description: 已收付额(收款或付款)
  6401. type: number
  6402. preinvoiceamount:
  6403. description: 预收(开)票额
  6404. type: number
  6405. prepayamount:
  6406. description: 预收付额
  6407. type: number
  6408. price:
  6409. description: 价格
  6410. type: number
  6411. pricedamount:
  6412. description: 已定价额
  6413. type: number
  6414. pricedavg:
  6415. description: 已点均价
  6416. type: number
  6417. pricedqty:
  6418. description: 已定价量
  6419. type: number
  6420. pricemove:
  6421. description: 升贴水
  6422. type: number
  6423. pricetype:
  6424. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6425. type: integer
  6426. producttype:
  6427. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6428. type: integer
  6429. qty:
  6430. description: 合同量
  6431. type: number
  6432. reckonadjustamount:
  6433. description: 调整金额
  6434. type: number
  6435. reckonedamount:
  6436. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6437. type: number
  6438. reckonotheramount:
  6439. description: 其它费用
  6440. type: number
  6441. reckonrealqty:
  6442. description: 已确定量
  6443. type: number
  6444. remark:
  6445. description: 备注
  6446. type: string
  6447. saleuserid:
  6448. description: 业务员id
  6449. type: integer
  6450. saleuserlogincode:
  6451. description: 业务员登录代码
  6452. type: string
  6453. saleusername:
  6454. description: 业务员名称
  6455. type: string
  6456. spotcontractid:
  6457. description: 合同ID
  6458. type: string
  6459. spotgoodsbrandid:
  6460. description: 现货品牌ID(DGFactoryItem表的ID)
  6461. type: integer
  6462. spotgoodsdesc:
  6463. description: 商品型号(商品规格)
  6464. type: string
  6465. startdate:
  6466. description: 点价开始日
  6467. type: string
  6468. subjectid:
  6469. description: 交易主体ID
  6470. type: string
  6471. subjectname:
  6472. description: 交易主体名称
  6473. type: string
  6474. totalamount:
  6475. description: 合计总额
  6476. type: number
  6477. tradeuserid:
  6478. description: 交易员id
  6479. type: integer
  6480. tradeuserlogincode:
  6481. description: 交易员登录代码
  6482. type: string
  6483. tradeusername:
  6484. description: 交易员名称
  6485. type: string
  6486. unpayamount:
  6487. description: 应收付款额(应支付或应收款)
  6488. type: number
  6489. unpricedqty:
  6490. description: 未定价量
  6491. type: number
  6492. unsureqty:
  6493. description: 未确定量
  6494. type: number
  6495. userid:
  6496. description: 机构ID
  6497. type: integer
  6498. vatrate:
  6499. description: 增值税率
  6500. type: number
  6501. wrstandardcode:
  6502. description: 品类代码
  6503. type: string
  6504. wrstandardid:
  6505. description: 品类ID
  6506. type: integer
  6507. wrstandardname:
  6508. description: 品类名称
  6509. type: string
  6510. type: object
  6511. models.Ermcp3SpotGoodsPrice:
  6512. properties:
  6513. areauserid:
  6514. description: 所属机构id
  6515. type: integer
  6516. brandname:
  6517. description: 品牌名称
  6518. type: string
  6519. currencyid:
  6520. description: 报价货币ID
  6521. type: integer
  6522. currencyname:
  6523. description: 币种名称
  6524. type: string
  6525. deliverygoodscode:
  6526. description: 现货商品代码
  6527. type: string
  6528. deliverygoodsid:
  6529. description: 现货商品id
  6530. type: integer
  6531. deliverygoodsname:
  6532. description: 现货商品名称
  6533. type: string
  6534. enumdicname:
  6535. description: 现货商品单位名称
  6536. type: string
  6537. gbenumdicname:
  6538. description: 品类单位名称
  6539. type: string
  6540. gmunitid:
  6541. description: 品类单位id
  6542. type: integer
  6543. isvalid:
  6544. description: 是否有效 - 0:无效 1:有效
  6545. type: integer
  6546. operateid:
  6547. description: 最后操作人
  6548. type: integer
  6549. operatesrc:
  6550. description: 最后操作来源 - 1:管理端 2:终端
  6551. type: integer
  6552. operatetime:
  6553. description: 最后操作时间
  6554. type: string
  6555. operatorname:
  6556. description: 操作人名称
  6557. type: string
  6558. spotgoodsbrandid:
  6559. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6560. type: integer
  6561. spotgoodsprice:
  6562. description: 现货价格
  6563. type: number
  6564. tradedate:
  6565. description: 交易日(yyyyMMdd)
  6566. type: string
  6567. unitid:
  6568. description: 现货商品单位id
  6569. type: integer
  6570. wrstandardcode:
  6571. description: 品类代码
  6572. type: string
  6573. wrstandardid:
  6574. description: 现货品类ID(通用则为0)
  6575. type: integer
  6576. wrstandardname:
  6577. description: 品类名称
  6578. type: string
  6579. type: object
  6580. models.Ermcp3SpotGoodsPriceLog:
  6581. properties:
  6582. areauserid:
  6583. description: 所属机构id
  6584. type: integer
  6585. brandname:
  6586. description: 品牌名称
  6587. type: string
  6588. currencyid:
  6589. description: 报价货币ID
  6590. type: integer
  6591. deliverygoodscode:
  6592. description: 现货商品代码
  6593. type: string
  6594. deliverygoodsid:
  6595. description: 现货商品id
  6596. type: integer
  6597. deliverygoodsname:
  6598. description: 现货商品名称
  6599. type: string
  6600. enumdicname:
  6601. description: 现货商品单位名称
  6602. type: string
  6603. gbenumdicname:
  6604. description: 品类单位名称
  6605. type: string
  6606. gmunitid:
  6607. description: 品类单位id
  6608. type: integer
  6609. logid:
  6610. description: 日志id
  6611. type: integer
  6612. operateid:
  6613. description: 最后操作人
  6614. type: integer
  6615. operatesrc:
  6616. description: 最后操作来源 - 1:管理端 2:终端
  6617. type: integer
  6618. operatetime:
  6619. description: 最后操作时间
  6620. type: string
  6621. operatorname:
  6622. description: 操作人名称
  6623. type: string
  6624. spotgoodsbrandid:
  6625. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6626. type: integer
  6627. spotgoodsprice:
  6628. description: 现货价格
  6629. type: number
  6630. tradedate:
  6631. description: 交易日(yyyyMMdd)
  6632. type: string
  6633. unitid:
  6634. description: 现货商品单位id
  6635. type: integer
  6636. wrstandardcode:
  6637. description: 品类代码
  6638. type: string
  6639. wrstandardid:
  6640. description: 现货品类ID(通用则为0)
  6641. type: integer
  6642. wrstandardname:
  6643. description: 品类名称
  6644. type: string
  6645. type: object
  6646. models.Ermcp3SubTaaccount:
  6647. properties:
  6648. accountid:
  6649. description: 资金账户ID
  6650. type: integer
  6651. parentaccountcode:
  6652. description: 所属根账号代码(母账号代码)
  6653. type: string
  6654. parentaccountid:
  6655. description: 所属根账号(母账号)
  6656. type: integer
  6657. taname:
  6658. description: 资金账号名称
  6659. type: string
  6660. tradestatus:
  6661. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6662. type: integer
  6663. username:
  6664. description: 交易用户
  6665. type: string
  6666. type: object
  6667. models.Ermcp3TaFutuReDataReport:
  6668. properties:
  6669. accountid:
  6670. description: 交易账户
  6671. type: integer
  6672. accountname:
  6673. description: 交易账号名称
  6674. type: string
  6675. agreeunit:
  6676. description: 商品合约单位
  6677. type: number
  6678. begindate:
  6679. description: 开始交易日
  6680. type: string
  6681. buyorsell:
  6682. description: 持仓方向
  6683. type: integer
  6684. charge:
  6685. description: 手续费
  6686. type: number
  6687. closeavgprice:
  6688. description: 平仓均价
  6689. type: number
  6690. closepl:
  6691. description: 平仓损益
  6692. type: number
  6693. currencyid:
  6694. description: 结算币种ID
  6695. type: integer
  6696. currencyname:
  6697. description: 币种名称
  6698. type: string
  6699. cycletime:
  6700. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6701. type: string
  6702. cycletype:
  6703. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6704. type: integer
  6705. enddate:
  6706. description: 结束交易日
  6707. type: string
  6708. enumdicname:
  6709. description: 单位名称
  6710. type: string
  6711. floatpl:
  6712. description: 浮动损益
  6713. type: number
  6714. goodscode:
  6715. description: 交易合约代码
  6716. type: string
  6717. goodsgroupid:
  6718. description: 交易品种
  6719. type: integer
  6720. goodsgroupname:
  6721. description: 交易品种名称
  6722. type: string
  6723. goodsgroupspotqty:
  6724. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6725. type: number
  6726. goodsid:
  6727. description: 交易合约
  6728. type: integer
  6729. goodsname:
  6730. description: 交易合约名称
  6731. type: string
  6732. goodunitid:
  6733. description: 交易合约单位id
  6734. type: integer
  6735. holdamount:
  6736. description: 期末持仓额
  6737. type: number
  6738. holdqty:
  6739. description: 期末持仓量
  6740. type: number
  6741. lastholdamount:
  6742. description: 当前持仓额
  6743. type: number
  6744. lastprice:
  6745. description: 最新价
  6746. type: number
  6747. middlegoodsid:
  6748. description: 套保品种id
  6749. type: integer
  6750. middlegoodsname:
  6751. description: 套保商品名称
  6752. type: string
  6753. middlegoodsqty:
  6754. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6755. type: number
  6756. middlgoodscode:
  6757. description: 套保商品代码
  6758. type: string
  6759. openamount:
  6760. description: 期末开仓额
  6761. type: number
  6762. openavgprice:
  6763. description: 开仓均价
  6764. type: number
  6765. oriholdamount:
  6766. description: 期初持仓额
  6767. type: number
  6768. oriholdqty:
  6769. description: 期初持仓量
  6770. type: number
  6771. oriopenamount:
  6772. description: 期初开仓额
  6773. type: number
  6774. outergroupcode:
  6775. description: 交易品种代码
  6776. type: string
  6777. qtydecimalplace:
  6778. description: 成交量小数位
  6779. type: integer
  6780. reckondate:
  6781. description: 日照时期(yyyyMMdd)
  6782. type: string
  6783. reckonholdamount:
  6784. description: 结算持仓额
  6785. type: number
  6786. reckonpl:
  6787. description: 结算损益
  6788. type: number
  6789. reckonpl2:
  6790. description: 结算逐笔盈亏
  6791. type: number
  6792. reckonprice:
  6793. description: 结算价
  6794. type: number
  6795. relateduserid:
  6796. description: 账户关联用户ID
  6797. type: integer
  6798. todaycloseamount:
  6799. description: 今平仓额
  6800. type: number
  6801. todaycloseqty:
  6802. description: 今平仓量
  6803. type: number
  6804. todaygoodsgroupspotqty:
  6805. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6806. type: number
  6807. todaymiddlegoodsqty:
  6808. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6809. type: number
  6810. todayopenamount:
  6811. description: 今开仓额
  6812. type: number
  6813. todayopenqty:
  6814. description: 今开仓量
  6815. type: number
  6816. userid:
  6817. description: 账户所属用户ID
  6818. type: integer
  6819. type: object
  6820. models.Ermcp3TradeLinkDetail:
  6821. properties:
  6822. accountid:
  6823. description: 资金账号
  6824. type: integer
  6825. agreeunit:
  6826. description: 合约乘数
  6827. type: number
  6828. areauserid:
  6829. description: 所属机构
  6830. type: string
  6831. bizsubjectid:
  6832. description: 归属业务部门ID - SubjectID
  6833. type: string
  6834. buyorsell:
  6835. description: 方向 - 0:买 1:卖
  6836. type: integer
  6837. channelbuildtype:
  6838. description: 委托单据类型 0:无 1:建仓 2:平仓
  6839. type: integer
  6840. contractno:
  6841. description: 现货编号 (合同编号)
  6842. type: string
  6843. convertratio:
  6844. description: 折算系数
  6845. type: number
  6846. createtime:
  6847. description: 关联时间 | 创建时间
  6848. type: string
  6849. creatorid:
  6850. description: 创建人ID
  6851. type: string
  6852. creatorsrc:
  6853. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6854. type: integer
  6855. enumdicname:
  6856. description: 单位名称
  6857. type: string
  6858. goodscode:
  6859. description: 合约代码
  6860. type: string
  6861. goodsgroupid:
  6862. description: 对冲品种ID[期货合约商品组ID]
  6863. type: integer
  6864. goodsid:
  6865. description: 商品ID
  6866. type: integer
  6867. goodsname:
  6868. description: 合约名称
  6869. type: string
  6870. hedgeflag:
  6871. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6872. type: integer
  6873. linkdetailid:
  6874. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  6875. type: string
  6876. linkstatus:
  6877. description: 关联状态 - 1:成功 2:失败
  6878. type: integer
  6879. middlegoodsid:
  6880. description: 套保品种ID
  6881. type: integer
  6882. relatedlot:
  6883. description: 关联手数
  6884. type: number
  6885. relatedmode:
  6886. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  6887. type: integer
  6888. relatedqty:
  6889. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  6890. type: number
  6891. retcode:
  6892. description: 返回码
  6893. type: integer
  6894. saleuserid:
  6895. description: 业务员ID
  6896. type: string
  6897. spotcontractid:
  6898. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  6899. type: string
  6900. taname:
  6901. description: 期货账户
  6902. type: string
  6903. tradedate:
  6904. description: 关联交易日(yyyyMMdd)
  6905. type: string
  6906. tradeid:
  6907. description: 期货订单号 | 内部成交单ID
  6908. type: string
  6909. tradelot:
  6910. description: 成交数量 | 成交手数
  6911. type: integer
  6912. tradeprice:
  6913. description: 成交价格
  6914. type: number
  6915. tradetime:
  6916. description: 期货成交时间
  6917. type: string
  6918. tradetradedate:
  6919. description: 成交交易日(yyyyMMdd)
  6920. type: string
  6921. username:
  6922. description: 用户名称
  6923. type: string
  6924. type: object
  6925. models.Ermcp3Wrstandard:
  6926. properties:
  6927. areauserid:
  6928. description: 所属机构
  6929. type: integer
  6930. cantrade:
  6931. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  6932. type: integer
  6933. convertfactor:
  6934. description: 标仓系数
  6935. type: number
  6936. createtime:
  6937. description: 创建时间
  6938. type: string
  6939. creatorid:
  6940. description: 创建人
  6941. type: integer
  6942. deliverygoodsid:
  6943. description: 现货品种ID
  6944. type: integer
  6945. enumdicname:
  6946. description: 品类单位名称
  6947. type: string
  6948. isvalid:
  6949. description: 是否有效 0-无效(停用) 1-有效(正常)
  6950. type: integer
  6951. minivalue:
  6952. description: 最小变动值
  6953. type: integer
  6954. minivaluedp:
  6955. description: 最小变动值小数位
  6956. type: integer
  6957. realminivalue:
  6958. description: 实际最小变动值
  6959. type: integer
  6960. realminivaluedp:
  6961. description: 实际最小变动值小数位
  6962. type: integer
  6963. remark:
  6964. description: 备注
  6965. type: string
  6966. unitid:
  6967. description: 品类单位ID
  6968. type: integer
  6969. updatetime:
  6970. description: 更新时间
  6971. type: string
  6972. wrstandardcode:
  6973. description: 品类代码
  6974. type: string
  6975. wrstandardid:
  6976. description: 品类ID(SEQ_WRSTANDARD)
  6977. type: integer
  6978. wrstandardname:
  6979. description: 品类名称
  6980. type: string
  6981. type: object
  6982. models.ErmcpBizGroupEx:
  6983. properties:
  6984. acclist:
  6985. description: 账号列表
  6986. items:
  6987. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  6988. type: array
  6989. bizgroupid:
  6990. description: 业务分组id
  6991. type: integer
  6992. biztype:
  6993. description: 业务类型 1-套保 2-套利
  6994. type: integer
  6995. wrlist:
  6996. description: 现货商品表
  6997. items:
  6998. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  6999. type: array
  7000. type: object
  7001. models.ErmcpBizGroupSpotGoods:
  7002. properties:
  7003. areauserid:
  7004. description: 所属机构id
  7005. type: integer
  7006. bizgroupid:
  7007. description: 分组id
  7008. type: integer
  7009. biztype:
  7010. description: 业务类型 1-套保 2-套利
  7011. type: integer
  7012. deliverygoodscode:
  7013. description: 现货商品代码
  7014. type: string
  7015. deliverygoodsid:
  7016. description: 现货商品id
  7017. type: integer
  7018. deliverygoodsname:
  7019. description: 现货商品名称
  7020. type: string
  7021. unitid:
  7022. description: 现货商品单位id
  7023. type: integer
  7024. type: object
  7025. models.ErmcpBizGroupTaAccount:
  7026. properties:
  7027. accountid:
  7028. description: 账号id
  7029. type: integer
  7030. accountname:
  7031. description: 账号名称
  7032. type: string
  7033. areauserid:
  7034. description: 所属机构id
  7035. type: integer
  7036. bizgroupid:
  7037. description: 业务分组id
  7038. type: integer
  7039. ismain:
  7040. description: 是否主账号 1-是 0-否
  7041. type: integer
  7042. type: object
  7043. models.ErmcpDGFactoryItem:
  7044. properties:
  7045. areauserid:
  7046. description: 用户id
  7047. type: integer
  7048. deliverygoodsid:
  7049. description: 现货品种ID
  7050. type: integer
  7051. dgfactoryitemid:
  7052. description: 选择项ID(SEQ_DGFACTORYITEM)
  7053. type: integer
  7054. dgfactoryitemtypeid:
  7055. description: 要素项类型
  7056. type: integer
  7057. dgfactoryitemvalue:
  7058. description: 要素项值(类型为仓库时填写仓库名称)
  7059. type: string
  7060. isvalid:
  7061. description: 是否有效 - 0:无效 1:有效
  7062. type: integer
  7063. orderindex:
  7064. description: 顺序
  7065. type: integer
  7066. warehouseid:
  7067. description: 仓库ID(类型为仓库时填写)
  7068. type: integer
  7069. type: object
  7070. models.ErmcpDeliveryGoods:
  7071. properties:
  7072. agreeunit:
  7073. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7074. type: integer
  7075. areauserid:
  7076. description: 所属机构
  7077. type: integer
  7078. auditflag:
  7079. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7080. type: integer
  7081. categoryid:
  7082. description: 类别ID(SEQ_WRCATEGORY)
  7083. type: integer
  7084. deliverygoodscode:
  7085. description: 现货品种代码
  7086. type: string
  7087. deliverygoodsid:
  7088. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7089. type: integer
  7090. deliverygoodsname:
  7091. description: 现货品种名称
  7092. type: string
  7093. deliverygoodstype:
  7094. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7095. type: integer
  7096. dgstatus:
  7097. description: 品种状态 - 作废 - 0:未激活 1:正常
  7098. type: integer
  7099. enumdicname:
  7100. description: 现货品种单位名称
  7101. type: string
  7102. goodsunitid:
  7103. description: 现货品种单位ID
  7104. type: integer
  7105. isvalid:
  7106. description: 是否有效 - 0:无效 1:有效
  7107. type: integer
  7108. qtydecimalplace:
  7109. description: 成交量小数位
  7110. type: integer
  7111. remark:
  7112. description: 备注
  7113. type: string
  7114. standardqty:
  7115. description: 标准数量(库位数量) [标准品特有]
  7116. type: integer
  7117. standardqtyrange:
  7118. description: 标准数量偏差范围 [标准品特有]
  7119. type: integer
  7120. type: object
  7121. models.ErmcpFuturesCompany:
  7122. properties:
  7123. brokerid:
  7124. description: 经纪公司代码
  7125. type: string
  7126. channeladdress:
  7127. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7128. type: string
  7129. channelid:
  7130. description: 对冲渠道ID
  7131. type: string
  7132. createtime:
  7133. description: 创建时间
  7134. type: string
  7135. creatorid:
  7136. description: 创建人
  7137. type: string
  7138. fcid:
  7139. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7140. type: integer
  7141. fcname:
  7142. description: 期货公司名称
  7143. type: string
  7144. isvalid:
  7145. description: 是否有效 - 0:无效 1:有效
  7146. type: integer
  7147. mhpaddress:
  7148. description: MHP服务地址(IP:Port)
  7149. type: string
  7150. riskrulegroupid:
  7151. description: 风控规则组ID
  7152. type: string
  7153. tradefeetmpid:
  7154. description: 手续费模板ID[TradeConfigTmpType为2]
  7155. type: string
  7156. trademargintmpid:
  7157. description: 保证金模板ID [TradeConfigTmpType为1]
  7158. type: string
  7159. traderatetmpid:
  7160. description: 汇率模板ID[TradeConfigTmpType为3]
  7161. type: string
  7162. updatetime:
  7163. description: 更新时间
  7164. type: string
  7165. updatorid:
  7166. description: 更新人
  7167. type: string
  7168. type: object
  7169. models.ErmcpGGConvertCfg:
  7170. properties:
  7171. convertratio:
  7172. description: 折算系数
  7173. type: number
  7174. destgoodsgroupid:
  7175. description: 目标品种ID
  7176. type: integer
  7177. dstcode:
  7178. description: 目录品种代码
  7179. type: string
  7180. dstexchangecode:
  7181. description: 目标期货交易所
  7182. type: string
  7183. dstname:
  7184. description: 目标品种名称
  7185. type: string
  7186. dstunitid:
  7187. description: 目标品种单位ID
  7188. type: integer
  7189. dstunitidname:
  7190. description: 目标品种单位名称
  7191. type: string
  7192. modifytime:
  7193. description: 修改时间
  7194. type: string
  7195. srccode:
  7196. description: 源品种代码
  7197. type: string
  7198. srcexchangecode:
  7199. description: 源期货交易所
  7200. type: string
  7201. srcgoodsgroupid:
  7202. description: 源品种ID
  7203. type: integer
  7204. srcname:
  7205. description: 源品种名称
  7206. type: string
  7207. srcunitid:
  7208. description: 源品种单位ID
  7209. type: integer
  7210. srcunitidname:
  7211. description: 源品种单位名称
  7212. type: string
  7213. type: object
  7214. models.ErmcpGoods:
  7215. properties:
  7216. agreeunit:
  7217. description: 合约单位
  7218. type: number
  7219. areauserid:
  7220. description: 所属机构
  7221. type: integer
  7222. auditaccountid:
  7223. description: 审核操作员账号
  7224. type: integer
  7225. audittime:
  7226. description: 审核时间
  7227. type: string
  7228. cancelaccountid:
  7229. description: 注销操作员账号
  7230. type: integer
  7231. canceltime:
  7232. description: 注销时间
  7233. type: string
  7234. closepricemode:
  7235. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7236. type: integer
  7237. closepriceparam:
  7238. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7239. type: number
  7240. createtime:
  7241. description: 创建时间
  7242. type: string
  7243. creatorid:
  7244. description: 创建人
  7245. type: integer
  7246. currencyid:
  7247. description: 报价货币ID
  7248. type: integer
  7249. cutmode:
  7250. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7251. type: integer
  7252. decimalplace:
  7253. description: 报价小数位
  7254. type: integer
  7255. delistingdate:
  7256. description: 商品退市时间(状态:退市) -- 已作废
  7257. type: string
  7258. delistingmode:
  7259. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7260. type: integer
  7261. deliveryflag:
  7262. description: 交割标志 - 0:不可交割 1:可交割
  7263. type: integer
  7264. enumdicname:
  7265. description: 单位名称
  7266. type: string
  7267. forceclosemode:
  7268. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7269. type: integer
  7270. forceclosevalue:
  7271. description: 定期强平参数 [收益权]
  7272. type: integer
  7273. goodscode:
  7274. description: 商品代码(内部)
  7275. type: string
  7276. goodscurrencyid:
  7277. description: 合约货币ID
  7278. type: integer
  7279. goodsgroupid:
  7280. description: 所属商品组ID
  7281. type: integer
  7282. goodsid:
  7283. description: 商品ID(自增ID SEQ_GOODS)
  7284. type: integer
  7285. goodsname:
  7286. description: 商品名称
  7287. type: string
  7288. goodsquotetype:
  7289. description: '合约报价类型: 1-直接报价 2-间接报价'
  7290. type: integer
  7291. goodsstatus:
  7292. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7293. type: integer
  7294. goodstradetype:
  7295. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7296. type: integer
  7297. goodunitid:
  7298. description: 报价单位ID
  7299. type: integer
  7300. hasquoter:
  7301. description: 是否有报价商 - 0:无报价商 1:有报价商
  7302. type: integer
  7303. hqprotecttime:
  7304. description: 行情保护时间(秒)
  7305. type: integer
  7306. innerdealmode:
  7307. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7308. type: integer
  7309. isbuylimited:
  7310. description: 是否限制建仓量 - 0:不限制 1:限制
  7311. type: integer
  7312. isvisible:
  7313. description: 游客是否可见 - 0:不可见 1:可见
  7314. type: integer
  7315. lasttradedate:
  7316. description: 最后交易日期(状态:待退市)
  7317. type: string
  7318. listingdate:
  7319. description: 交易开始日期
  7320. type: string
  7321. marketid:
  7322. description: 所属市场ID
  7323. type: integer
  7324. modifierid:
  7325. description: 修改人
  7326. type: integer
  7327. modifystatus:
  7328. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7329. type: integer
  7330. modifytime:
  7331. description: 修改时间
  7332. type: string
  7333. outerdealmode:
  7334. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7335. type: integer
  7336. outgoodscode:
  7337. description: 商品代码(外部)
  7338. type: string
  7339. pictureurl:
  7340. description: 商品图片
  7341. type: string
  7342. qtydecimalplace:
  7343. description: 成交量小数位
  7344. type: integer
  7345. quotegear:
  7346. description: 行情档位(1-10)
  7347. type: integer
  7348. quoteminunit:
  7349. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7350. type: integer
  7351. quoteshowtype:
  7352. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7353. type: integer
  7354. quoteshowtypeinterval:
  7355. description: 行情报价间隔时间(秒)(成交价时为0)
  7356. type: integer
  7357. relatedgoodsid:
  7358. description: 关联参考商品ID
  7359. type: integer
  7360. remark:
  7361. description: 备注
  7362. type: string
  7363. trademode:
  7364. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  7365. type: integer
  7366. required:
  7367. - goodscode
  7368. - goodsid
  7369. - goodsname
  7370. - marketid
  7371. type: object
  7372. models.ErmcpGoodsBrand:
  7373. properties:
  7374. areauserid:
  7375. description: 所属机构
  7376. type: integer
  7377. brandid:
  7378. description: BrandID(SEQ_SPOTGOODSBRAND)
  7379. type: integer
  7380. brandname:
  7381. description: 品牌名称
  7382. type: string
  7383. createtime:
  7384. description: 创建时间
  7385. type: string
  7386. creatorid:
  7387. description: 创建人
  7388. type: integer
  7389. creatorsrc:
  7390. description: 创建人来源 - 1:管理端 2:终端
  7391. type: integer
  7392. deliverygoodsid:
  7393. description: 现货品种ID
  7394. type: integer
  7395. isvalid:
  7396. description: 是否有效 - 0:无效 1:有效
  7397. type: integer
  7398. updatetime:
  7399. description: 更新时间
  7400. type: string
  7401. updatorid:
  7402. description: 更新人
  7403. type: integer
  7404. updatorsrc:
  7405. description: 更新人来源 - 1:管理端 2:终端
  7406. type: integer
  7407. wrstandardid:
  7408. description: 现货商品ID
  7409. type: integer
  7410. type: object
  7411. models.ErmcpGoodsModel:
  7412. properties:
  7413. areauserid:
  7414. description: 所属机构
  7415. type: integer
  7416. convertfactor:
  7417. description: 标仓系数
  7418. type: number
  7419. createtime:
  7420. description: 创建时间
  7421. type: string
  7422. creatorid:
  7423. description: 创建人
  7424. type: integer
  7425. creatorsrc:
  7426. description: 创建人来源 - 1:管理端 2:终端
  7427. type: integer
  7428. deliverygoodsid:
  7429. description: 现货品种ID
  7430. type: integer
  7431. isvalid:
  7432. description: 是否有效 - 0:无效 1:有效
  7433. type: integer
  7434. modelid:
  7435. description: ModelID(SEQ_SPOTGOODSMODEL)
  7436. type: integer
  7437. modelname:
  7438. description: 型号名称
  7439. type: string
  7440. updatetime:
  7441. description: 更新时间
  7442. type: string
  7443. updatorid:
  7444. description: 更新人
  7445. type: integer
  7446. updatorsrc:
  7447. description: 更新人来源 - 1:管理端 2:终端
  7448. type: integer
  7449. wrstandardid:
  7450. description: 现货商品ID
  7451. type: integer
  7452. type: object
  7453. models.ErmcpHisExposure:
  7454. properties:
  7455. needhedgeexposoure:
  7456. description: 应套保敞口
  7457. type: number
  7458. reckondate:
  7459. description: 日照时期(yyyyMMdd)
  7460. type: string
  7461. totalexposure:
  7462. description: 总敞口
  7463. type: number
  7464. type: object
  7465. models.ErmcpLoginTaAccount:
  7466. properties:
  7467. accountid:
  7468. description: 账号id
  7469. type: integer
  7470. accountname:
  7471. description: 账号名称
  7472. type: string
  7473. type: object
  7474. models.ErmcpLoginUser:
  7475. properties:
  7476. acclist:
  7477. description: 关联资金账号
  7478. items:
  7479. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7480. type: array
  7481. accountname:
  7482. description: 用户名称
  7483. type: string
  7484. clientroleid:
  7485. description: 角色id(usertype=2)
  7486. type: integer
  7487. createtime:
  7488. description: 创建时间
  7489. type: string
  7490. logincode:
  7491. description: 登录代码
  7492. type: string
  7493. loginid:
  7494. description: 登录id(LOGINID)
  7495. type: integer
  7496. loginname:
  7497. description: 登录名称(loginaccount表中的accountname字段)
  7498. type: string
  7499. loginstatus:
  7500. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7501. type: integer
  7502. memberuserid:
  7503. description: 所属会员id
  7504. type: integer
  7505. mobile:
  7506. description: 手机号
  7507. type: string
  7508. modifytime:
  7509. description: 修改时间
  7510. type: string
  7511. password:
  7512. description: 密码(不可解密)
  7513. type: string
  7514. rolename:
  7515. description: 角色名称
  7516. type: string
  7517. rolestatus:
  7518. description: 角色状态 1-启用 2-停用
  7519. type: integer
  7520. roletype:
  7521. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7522. type: string
  7523. userid:
  7524. description: 用户id
  7525. type: integer
  7526. usertype:
  7527. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7528. type: integer
  7529. type: object
  7530. models.ErmcpLoginUserEx:
  7531. properties:
  7532. accountstatus:
  7533. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7534. type: integer
  7535. mobile:
  7536. description: 手机号
  7537. type: string
  7538. querytype:
  7539. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7540. type: integer
  7541. roleid:
  7542. description: 角色id(交易账户->用户id)
  7543. type: integer
  7544. rolename:
  7545. description: 角色名称(交易账户->用户名称)
  7546. type: string
  7547. userlist:
  7548. description: 用户列表
  7549. items:
  7550. $ref: '#/definitions/models.ErmcpLoginUser'
  7551. type: array
  7552. usertype:
  7553. description: 用户类型 2-机构 7-企业成员(云平台)
  7554. type: integer
  7555. type: object
  7556. models.ErmcpMiddleGoodsModel:
  7557. properties:
  7558. areauserid:
  7559. description: 机构用户ID
  7560. type: integer
  7561. createtime:
  7562. description: 修改时间
  7563. type: string
  7564. enumdicname:
  7565. description: 单位名称
  7566. type: string
  7567. evaluateratio:
  7568. description: 估价系数
  7569. type: number
  7570. goodsgroupid:
  7571. description: 关联期货品种ID
  7572. type: integer
  7573. goodsunitid:
  7574. description: 单位ID
  7575. type: integer
  7576. isvalid:
  7577. description: 状态 0-无效(停用) 1-有效(正常)
  7578. type: integer
  7579. middlegoodscode:
  7580. description: 套保品种代码
  7581. type: string
  7582. middlegoodsid:
  7583. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7584. type: integer
  7585. middlegoodsname:
  7586. description: 套保品种名称
  7587. type: string
  7588. modifytime:
  7589. description: 修改时间
  7590. type: string
  7591. needarbitrageratio:
  7592. description: 套利比例
  7593. type: number
  7594. needhedgeratio:
  7595. description: 套保比率
  7596. type: number
  7597. qtydecimalplace:
  7598. description: 数量小数位
  7599. type: integer
  7600. relatedgoodsid:
  7601. description: 关联交易商品ID
  7602. type: integer
  7603. relatedgoodstype:
  7604. description: 关联商品类型 - 1:期货合约 2:现货品种
  7605. type: integer
  7606. remark:
  7607. description: 备注
  7608. type: string
  7609. type: object
  7610. models.ErmcpMiddlegoodsRelateGoods:
  7611. properties:
  7612. agreeunit:
  7613. description: 合约乘数
  7614. type: number
  7615. convertratio:
  7616. description: 折算系数
  7617. type: number
  7618. enumdicname:
  7619. description: 单位名称(交易商品)
  7620. type: string
  7621. goodscode:
  7622. description: 交易商品代码
  7623. type: string
  7624. goodsgroupid:
  7625. description: 交易品种id
  7626. type: integer
  7627. goodsid:
  7628. description: 商品Id
  7629. type: integer
  7630. goodsname:
  7631. description: 交易商品名称
  7632. type: string
  7633. goodunitid:
  7634. description: 交易商品单位id
  7635. type: integer
  7636. middlegoodsid:
  7637. description: 套保商品id
  7638. type: integer
  7639. middlegoodsname:
  7640. description: 套保商品名称
  7641. type: string
  7642. middlegoodsswcode:
  7643. description: 套保商品代码
  7644. type: string
  7645. needarbitrageratio:
  7646. description: 应套利比例
  7647. type: number
  7648. needhedgeratio:
  7649. description: 应套保比例
  7650. type: number
  7651. type: object
  7652. models.ErmcpRole:
  7653. properties:
  7654. areauserid:
  7655. description: 所属机构
  7656. type: integer
  7657. autoid:
  7658. description: 角色ID(自增ID)
  7659. type: integer
  7660. modifierid:
  7661. description: 修改人(创建人)
  7662. type: integer
  7663. modifiername:
  7664. description: 修改人名称
  7665. type: string
  7666. modifytime:
  7667. description: 修改时间(创建时间)
  7668. type: string
  7669. rolename:
  7670. description: 角色名称
  7671. type: string
  7672. rolestatus:
  7673. description: 角色状态 - 1:启用 2:停用
  7674. type: integer
  7675. roletype:
  7676. description: 角色类型 - 1- 管理端 2- 交易端
  7677. type: integer
  7678. type: object
  7679. models.ErmcpRoleMenu:
  7680. properties:
  7681. iconame:
  7682. description: 菜单图标
  7683. type: string
  7684. ishadrole:
  7685. description: 是否有权限
  7686. type: boolean
  7687. menutype:
  7688. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  7689. type: integer
  7690. parentcode:
  7691. description: 上级资源代码
  7692. type: string
  7693. remark:
  7694. description: 菜单备注
  7695. type: string
  7696. resourcecode:
  7697. description: 菜单代码
  7698. type: string
  7699. resourcelevel:
  7700. description: 级别
  7701. type: integer
  7702. resourcename:
  7703. description: 菜单名称
  7704. type: string
  7705. roleid:
  7706. description: 角色id
  7707. type: integer
  7708. sort:
  7709. description: 排序
  7710. type: integer
  7711. url:
  7712. description: URL
  7713. type: string
  7714. userid:
  7715. description: 用户id
  7716. type: integer
  7717. type: object
  7718. models.ErmcpRoleMenuEx:
  7719. properties:
  7720. menu:
  7721. $ref: '#/definitions/models.ErmcpRoleMenu'
  7722. description: 父级菜单
  7723. subMenu:
  7724. description: 子级菜单
  7725. items:
  7726. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7727. type: array
  7728. type: object
  7729. models.ErmcpTaAccount:
  7730. properties:
  7731. accountid:
  7732. description: 账户id
  7733. type: integer
  7734. accountname:
  7735. description: 账户名称
  7736. type: string
  7737. currencyid:
  7738. description: 币种id
  7739. type: integer
  7740. hedgeaccountcode:
  7741. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7742. type: string
  7743. ismain:
  7744. description: 是否主账户 0-否 1-是
  7745. type: integer
  7746. parentaccountid:
  7747. description: 父账户id
  7748. type: integer
  7749. relateduserid:
  7750. description: 关联userid
  7751. type: integer
  7752. tradefeetmpid:
  7753. description: 手续费模板id
  7754. type: integer
  7755. tradefeetmpname:
  7756. description: 手续费模板名称
  7757. type: string
  7758. trademargintmpid:
  7759. description: 保证金模板id
  7760. type: integer
  7761. trademargintmpname:
  7762. description: 保证金模板名称
  7763. type: string
  7764. traderatetmpid:
  7765. description: 汇率模板id
  7766. type: integer
  7767. traderatetmpname:
  7768. description: 汇率模板名称
  7769. type: string
  7770. tradestatus:
  7771. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7772. type: integer
  7773. userid:
  7774. description: 用户id
  7775. type: integer
  7776. type: object
  7777. models.ErmcpTaAccountEx:
  7778. properties:
  7779. mainAcc:
  7780. $ref: '#/definitions/models.ErmcpTaAccountM'
  7781. description: 主账号
  7782. subacclist:
  7783. description: 子账号列表
  7784. items:
  7785. $ref: '#/definitions/models.ErmcpTaAccount'
  7786. type: array
  7787. type: object
  7788. models.ErmcpTaAccountInfo:
  7789. properties:
  7790. accountid:
  7791. description: 资金账户ID
  7792. type: integer
  7793. accountname:
  7794. description: 账户名称
  7795. type: string
  7796. balance:
  7797. description: 期初余额
  7798. type: number
  7799. capitalbalance:
  7800. description: 本金余额[外部子账户实际出入金余额]
  7801. type: number
  7802. closepl:
  7803. description: 今日平仓盈亏
  7804. type: number
  7805. creditdecrease:
  7806. description: 今日授信减少
  7807. type: number
  7808. creditincrease:
  7809. description: 今日授信增加
  7810. type: number
  7811. curdebt:
  7812. description: 期末欠款
  7813. type: number
  7814. currencyid:
  7815. description: 货币ID
  7816. type: integer
  7817. currentbalance:
  7818. description: 期末余额
  7819. type: number
  7820. freezecharge:
  7821. description: 手续费冻结
  7822. type: number
  7823. freezemargin:
  7824. description: 冻结保证金
  7825. type: number
  7826. fromaccountid:
  7827. description: 所属上级账户
  7828. type: integer
  7829. inamount:
  7830. description: 今日入金金额(包括三方入金)
  7831. type: number
  7832. ismain:
  7833. description: 是否母账号 0:不是母账户 1:是母账户
  7834. type: integer
  7835. mortgagecredit:
  7836. description: 授信金额
  7837. type: number
  7838. oridebt:
  7839. description: 期初欠款
  7840. type: number
  7841. orifreezecharge:
  7842. description: 期初手续费冻结
  7843. type: number
  7844. orifreezemargin:
  7845. description: 期初冻结保证金
  7846. type: number
  7847. orimortgagecredit:
  7848. description: 期初授信金额
  7849. type: number
  7850. oriothercredit:
  7851. description: 期初其它授信金额
  7852. type: number
  7853. oriotherfreezemargin:
  7854. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7855. type: number
  7856. orioutamountfreeze:
  7857. description: 期初出金冻结
  7858. type: number
  7859. oriusedmargin:
  7860. description: 期初占用保证金
  7861. type: number
  7862. othercredit:
  7863. description: 其它授信金额
  7864. type: number
  7865. othercreditdecrease:
  7866. description: 今日其它授信减少
  7867. type: number
  7868. othercreditincrease:
  7869. description: 今日其它授信增加
  7870. type: number
  7871. otherfreezemargin:
  7872. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7873. type: number
  7874. outamount:
  7875. description: 今日出金金额(包括三方出金)
  7876. type: number
  7877. outamountfreeze:
  7878. description: 出金冻结
  7879. type: number
  7880. outthreshold:
  7881. description: 出金阈值
  7882. type: number
  7883. parentaccountid:
  7884. description: 所属根账号
  7885. type: integer
  7886. paycharge:
  7887. description: 今日手续费支出
  7888. type: number
  7889. relateduserid:
  7890. description: 关联用户
  7891. type: integer
  7892. signstatus:
  7893. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7894. type: integer
  7895. sublevelpath:
  7896. description: 账号层级路径(逗号分隔,首尾加逗号)
  7897. type: string
  7898. taaccounttype:
  7899. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7900. type: integer
  7901. thirdinamount:
  7902. description: 今日三方入金
  7903. type: number
  7904. thirdoutamount:
  7905. description: 今日三方出金
  7906. type: number
  7907. tradestatus:
  7908. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7909. type: integer
  7910. transferamount:
  7911. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7912. type: number
  7913. usedmargin:
  7914. description: 占用保证金
  7915. type: number
  7916. userid:
  7917. description: 用户ID
  7918. type: integer
  7919. type: object
  7920. models.ErmcpTaAccountM:
  7921. properties:
  7922. accountid:
  7923. description: 账户id
  7924. type: integer
  7925. accountname:
  7926. description: 账户名称
  7927. type: string
  7928. currencyid:
  7929. description: 币种id
  7930. type: integer
  7931. fcid:
  7932. description: 期货公司id
  7933. type: integer
  7934. fcname:
  7935. description: 期货公司代码
  7936. type: string
  7937. hedgeaccountcode:
  7938. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7939. type: string
  7940. ismain:
  7941. description: 是否主账户 0-否 1-是
  7942. type: integer
  7943. parentaccountid:
  7944. description: 父账户id
  7945. type: integer
  7946. relateduserid:
  7947. description: 关联userid
  7948. type: integer
  7949. tradefeetmpid:
  7950. description: 手续费模板id
  7951. type: integer
  7952. tradefeetmpname:
  7953. description: 手续费模板名称
  7954. type: string
  7955. trademargintmpid:
  7956. description: 保证金模板id
  7957. type: integer
  7958. trademargintmpname:
  7959. description: 保证金模板名称
  7960. type: string
  7961. traderatetmpid:
  7962. description: 汇率模板id
  7963. type: integer
  7964. traderatetmpname:
  7965. description: 汇率模板名称
  7966. type: string
  7967. tradestatus:
  7968. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7969. type: integer
  7970. userid:
  7971. description: 用户id
  7972. type: integer
  7973. type: object
  7974. models.ErmcpTradeConfigTMP:
  7975. properties:
  7976. areauserid:
  7977. description: 所属机构
  7978. type: integer
  7979. basiccurrencyid:
  7980. description: 基本币种ID[汇率] - 目标币种
  7981. type: integer
  7982. mainaccountid:
  7983. description: 主账户ID
  7984. type: integer
  7985. modifierid:
  7986. description: 修改人
  7987. type: integer
  7988. remark:
  7989. description: 备注
  7990. type: string
  7991. tradeconfigtmpid:
  7992. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7993. type: integer
  7994. tradeconfigtmpname:
  7995. description: 交易配置模板名称
  7996. type: string
  7997. tradeconfigtmptype:
  7998. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7999. type: integer
  8000. updatetime:
  8001. description: 更新时间
  8002. type: string
  8003. type: object
  8004. models.Externalexchange:
  8005. properties:
  8006. autoid:
  8007. description: AutoID - SEQ_EXTERNALEXCHANGE
  8008. type: integer
  8009. exchangefullname:
  8010. description: 外部交易所全称
  8011. type: string
  8012. exexchangecode:
  8013. description: 外部交易所代码
  8014. type: string
  8015. exexchangename:
  8016. description: 外部交易所名称(简称)
  8017. type: string
  8018. ismarketprice:
  8019. description: 是否支持市价 - 0:不支持 1:支持
  8020. type: integer
  8021. quotegear:
  8022. description: 行情档位(1-10)
  8023. type: integer
  8024. showbrokerflag:
  8025. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8026. type: integer
  8027. updatetime:
  8028. description: 更新时间
  8029. type: string
  8030. required:
  8031. - autoid
  8032. type: object
  8033. models.Funcmenulist:
  8034. properties:
  8035. iconame:
  8036. description: 菜单图标
  8037. type: string
  8038. menutype:
  8039. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8040. type: integer
  8041. parentcode:
  8042. description: 上级资源代码
  8043. type: string
  8044. remark:
  8045. description: 备注
  8046. type: string
  8047. resourcecode:
  8048. description: 资源代码
  8049. type: string
  8050. resourcelevel:
  8051. description: 级别 1-一级 2-二级 3-三级 4-四级
  8052. type: integer
  8053. resourcename:
  8054. description: 资源名
  8055. type: string
  8056. sort:
  8057. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8058. type: integer
  8059. url:
  8060. description: URL
  8061. type: string
  8062. required:
  8063. - resourcecode
  8064. type: object
  8065. models.Goods:
  8066. properties:
  8067. agreeunit:
  8068. description: 合约单位
  8069. type: number
  8070. areauserid:
  8071. description: 所属机构
  8072. type: integer
  8073. auditaccountid:
  8074. description: 审核操作员账号
  8075. type: integer
  8076. audittime:
  8077. description: 审核时间
  8078. type: string
  8079. cancelaccountid:
  8080. description: 注销操作员账号
  8081. type: integer
  8082. canceltime:
  8083. description: 注销时间
  8084. type: string
  8085. closepricemode:
  8086. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8087. type: integer
  8088. closepriceparam:
  8089. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8090. type: number
  8091. createtime:
  8092. description: 创建时间
  8093. type: string
  8094. creatorid:
  8095. description: 创建人
  8096. type: integer
  8097. currencyid:
  8098. description: 报价货币ID
  8099. type: integer
  8100. cutmode:
  8101. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8102. type: integer
  8103. decimalplace:
  8104. description: 报价小数位
  8105. type: integer
  8106. delistingdate:
  8107. description: 商品退市时间(状态:退市) -- 已作废
  8108. type: string
  8109. delistingmode:
  8110. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8111. type: integer
  8112. deliveryflag:
  8113. description: 交割标志 - 0:不可交割 1:可交割
  8114. type: integer
  8115. forceclosemode:
  8116. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8117. type: integer
  8118. forceclosevalue:
  8119. description: 定期强平参数 [收益权]
  8120. type: integer
  8121. goodscode:
  8122. description: 商品代码(内部)
  8123. type: string
  8124. goodscurrencyid:
  8125. description: 合约货币ID
  8126. type: integer
  8127. goodsgroupid:
  8128. description: 所属商品组ID
  8129. type: integer
  8130. goodsid:
  8131. description: 商品ID(自增ID SEQ_GOODS)
  8132. type: integer
  8133. goodsname:
  8134. description: 商品名称
  8135. type: string
  8136. goodsquotetype:
  8137. description: '合约报价类型: 1-直接报价 2-间接报价'
  8138. type: integer
  8139. goodsstatus:
  8140. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8141. type: integer
  8142. goodstradetype:
  8143. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8144. type: integer
  8145. goodunitid:
  8146. description: 报价单位ID
  8147. type: integer
  8148. hasquoter:
  8149. description: 是否有报价商 - 0:无报价商 1:有报价商
  8150. type: integer
  8151. hqprotecttime:
  8152. description: 行情保护时间(秒)
  8153. type: integer
  8154. innerdealmode:
  8155. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8156. type: integer
  8157. isbuylimited:
  8158. description: 是否限制建仓量 - 0:不限制 1:限制
  8159. type: integer
  8160. isvisible:
  8161. description: 游客是否可见 - 0:不可见 1:可见
  8162. type: integer
  8163. lasttradedate:
  8164. description: 最后交易日期(状态:待退市)
  8165. type: string
  8166. listingdate:
  8167. description: 交易开始日期
  8168. type: string
  8169. marketid:
  8170. description: 所属市场ID
  8171. type: integer
  8172. modifierid:
  8173. description: 修改人
  8174. type: integer
  8175. modifystatus:
  8176. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8177. type: integer
  8178. modifytime:
  8179. description: 修改时间
  8180. type: string
  8181. outerdealmode:
  8182. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8183. type: integer
  8184. outgoodscode:
  8185. description: 商品代码(外部)
  8186. type: string
  8187. pictureurl:
  8188. description: 商品图片
  8189. type: string
  8190. qtydecimalplace:
  8191. description: 成交量小数位
  8192. type: integer
  8193. quotegear:
  8194. description: 行情档位(1-10)
  8195. type: integer
  8196. quoteminunit:
  8197. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8198. type: integer
  8199. quoteshowtype:
  8200. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8201. type: integer
  8202. quoteshowtypeinterval:
  8203. description: 行情报价间隔时间(秒)(成交价时为0)
  8204. type: integer
  8205. remark:
  8206. description: 备注
  8207. type: string
  8208. required:
  8209. - goodscode
  8210. - goodsid
  8211. - goodsname
  8212. - marketid
  8213. type: object
  8214. models.GoodsIDAndName:
  8215. properties:
  8216. goodscode:
  8217. description: 商品代码(内部)
  8218. type: string
  8219. goodsid:
  8220. description: 商品ID(自增ID SEQ_GOODS)
  8221. type: integer
  8222. goodsname:
  8223. description: 商品名称
  8224. type: string
  8225. marketid:
  8226. description: 所属市场ID
  8227. type: integer
  8228. required:
  8229. - goodscode
  8230. - goodsid
  8231. - goodsname
  8232. - marketid
  8233. type: object
  8234. models.Goodsgroup:
  8235. properties:
  8236. agreeunit:
  8237. description: 合约单位
  8238. type: number
  8239. canshort:
  8240. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8241. type: integer
  8242. closepricemode:
  8243. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8244. type: integer
  8245. closepriceparam:
  8246. description: 强平最新价浮动比例 - 方式为2时使用
  8247. type: number
  8248. createtime:
  8249. description: 创建时间
  8250. type: string
  8251. creatorid:
  8252. description: 创建人
  8253. type: integer
  8254. currencyid:
  8255. description: 报价货币ID
  8256. type: integer
  8257. decimalplace:
  8258. description: 报价小数位
  8259. type: integer
  8260. exercisetype:
  8261. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8262. type: integer
  8263. exexchangeid:
  8264. description: 外部交易所ID[通道交易]
  8265. type: integer
  8266. goodsgroupid:
  8267. description: 商品组ID(自增ID)
  8268. type: integer
  8269. goodsgroupname:
  8270. description: 商品组名称
  8271. type: string
  8272. goodsgroupstatus:
  8273. description: 商品组状态 - 1:正常 2:注销
  8274. type: integer
  8275. goodunitid:
  8276. description: 报价单位ID
  8277. type: integer
  8278. innerdealmode:
  8279. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8280. type: integer
  8281. isbuylimited:
  8282. description: 是否限制建仓量 - 0:不限制 1:限制
  8283. type: integer
  8284. marketid:
  8285. description: 所属市场ID
  8286. type: integer
  8287. modifierid:
  8288. description: 修改人
  8289. type: integer
  8290. modifytime:
  8291. description: 修改时间
  8292. type: string
  8293. outerdealmode:
  8294. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8295. type: integer
  8296. outergroupcode:
  8297. description: 外部商品组代码[通道交易]
  8298. type: string
  8299. premiumdecimalplace:
  8300. description: 权利金小数位[场外期权]
  8301. type: integer
  8302. premiumspreadalgorithm:
  8303. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8304. type: integer
  8305. premiumspreadvalue:
  8306. description: 权利金点差值[场外期权]
  8307. type: number
  8308. qtydecimalplace:
  8309. description: 成交量小数位
  8310. type: integer
  8311. quotegear:
  8312. description: 行情档位(1-10)
  8313. type: integer
  8314. quoteminunit:
  8315. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8316. type: integer
  8317. quoterid:
  8318. description: 报价商ID[场外期权]
  8319. type: integer
  8320. quotesourcegroupid:
  8321. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8322. type: integer
  8323. syncgoodsqty:
  8324. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8325. type: integer
  8326. required:
  8327. - goodsgroupid
  8328. - goodsgroupname
  8329. - goodsgroupstatus
  8330. - marketid
  8331. type: object
  8332. models.Goodssortbypreposition:
  8333. properties:
  8334. goodscode:
  8335. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8336. type: string
  8337. goodsgroupcode:
  8338. description: 品种代码
  8339. type: string
  8340. prepositionqty:
  8341. description: 昨持仓量
  8342. type: integer
  8343. sortindex:
  8344. description: 排序
  8345. type: integer
  8346. tradedate:
  8347. description: 交易日
  8348. type: string
  8349. updatetime:
  8350. description: 更新时间
  8351. type: string
  8352. required:
  8353. - goodscode
  8354. - tradedate
  8355. type: object
  8356. models.Hedgeinnerholderdetail:
  8357. properties:
  8358. accountid:
  8359. description: 账号ID
  8360. type: integer
  8361. buyorsell:
  8362. description: 方向 - 0:买 1:卖
  8363. type: integer
  8364. freezeqty:
  8365. description: 冻结数量 - 按单平使用
  8366. type: integer
  8367. goodsid:
  8368. description: 商品ID
  8369. type: integer
  8370. holderamount:
  8371. description: 持仓金额 [商品币种]
  8372. type: number
  8373. holderdays:
  8374. description: 剩余冻结天数
  8375. type: integer
  8376. holderprice:
  8377. description: 持仓价格
  8378. type: number
  8379. holderqty:
  8380. description: 持仓数量
  8381. type: integer
  8382. marketid:
  8383. description: 市场ID
  8384. type: integer
  8385. openprice:
  8386. description: 建仓价格
  8387. type: number
  8388. openqty:
  8389. description: 建仓数量
  8390. type: integer
  8391. parentaccountid:
  8392. description: 所属母账户
  8393. type: integer
  8394. releaseamount:
  8395. description: 释放持仓金额[商品币种]
  8396. type: number
  8397. tradeamount:
  8398. description: 成交金额[账户]
  8399. type: number
  8400. tradedate:
  8401. description: 交易日(yyyyMMdd)
  8402. type: string
  8403. tradeid:
  8404. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8405. type: string
  8406. tradetime:
  8407. description: 交易时间
  8408. type: string
  8409. required:
  8410. - buyorsell
  8411. - tradeid
  8412. type: object
  8413. models.Hedgemarketopenlog:
  8414. properties:
  8415. accountid:
  8416. description: 资金账号[外部母账户]
  8417. type: integer
  8418. fcname:
  8419. description: 期货公司名称
  8420. type: string
  8421. handlestatus:
  8422. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8423. type: integer
  8424. marketid:
  8425. description: 市场ID
  8426. type: integer
  8427. status:
  8428. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8429. type: integer
  8430. tradedate:
  8431. description: 交易日(yyyyMMdd)
  8432. type: string
  8433. updatetime:
  8434. description: 更新时间
  8435. type: string
  8436. required:
  8437. - accountid
  8438. type: object
  8439. models.HsbyBuyMyPayOrder:
  8440. properties:
  8441. agreeunit:
  8442. description: 合约单位
  8443. type: number
  8444. buyaccountid:
  8445. description: 买方账号ID[报价币种]
  8446. type: integer
  8447. buyorderid:
  8448. description: 买方委托单号
  8449. type: string
  8450. createtime:
  8451. description: 创建时间
  8452. type: string
  8453. currencysign:
  8454. description: 货币符号
  8455. type: string
  8456. decimalplace:
  8457. description: 报价小数位
  8458. type: integer
  8459. goodscode:
  8460. description: 商品代码(内部)
  8461. type: string
  8462. goodsid:
  8463. description: 商品ID
  8464. type: integer
  8465. goodsname:
  8466. description: 商品名称
  8467. type: string
  8468. marketid:
  8469. description: 市场ID
  8470. type: integer
  8471. offamount:
  8472. description: 优惠金额
  8473. type: number
  8474. originalamount:
  8475. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8476. type: number
  8477. payamount:
  8478. description: 支付金额 = TradeAmount + TradeCharge
  8479. type: number
  8480. payflag:
  8481. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8482. type: integer
  8483. paylimitedtime:
  8484. description: 支付期限
  8485. type: string
  8486. paytime:
  8487. description: 付款时间
  8488. type: string
  8489. picurls1:
  8490. description: 预售商品介绍图片[多张用逗号分隔]
  8491. type: string
  8492. picurls2:
  8493. description: 挂牌商品介绍图片[多张用逗号分隔]
  8494. type: string
  8495. sellaccountid:
  8496. description: 卖方账号ID[报价币种]
  8497. type: integer
  8498. sellorderid:
  8499. description: 卖方委托单号
  8500. type: string
  8501. tradeamount:
  8502. description: 成交金额
  8503. type: number
  8504. tradecharge:
  8505. description: 成交手续费(买方)
  8506. type: number
  8507. tradedate:
  8508. description: 交易日(yyyyMMdd)
  8509. type: string
  8510. tradeid:
  8511. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8512. type: string
  8513. trademode:
  8514. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8515. type: integer
  8516. tradeprice:
  8517. description: 成交价格
  8518. type: number
  8519. tradeqty:
  8520. description: 成交数量
  8521. type: integer
  8522. vendorname1:
  8523. description: 预售商品供应商名称
  8524. type: string
  8525. vendorname2:
  8526. description: 挂牌商品供应商名称
  8527. type: string
  8528. required:
  8529. - goodscode
  8530. - goodsname
  8531. - tradeid
  8532. - trademode
  8533. type: object
  8534. models.HsbyBuyMyTradeDetail:
  8535. properties:
  8536. accountid:
  8537. description: 账户ID[报价币种]
  8538. type: integer
  8539. agreeunit:
  8540. description: 合约单位
  8541. type: number
  8542. amount:
  8543. description: 金额 = 价格 * 数量 * 合约单位
  8544. type: number
  8545. buyorsell:
  8546. description: 买卖 - 0:买 1:卖
  8547. type: integer
  8548. currencysign:
  8549. description: 货币符号
  8550. type: string
  8551. decimalplace:
  8552. description: 报价小数位
  8553. type: integer
  8554. goodscode:
  8555. description: 商品代码(内部)
  8556. type: string
  8557. goodsid:
  8558. description: 商品ID
  8559. type: integer
  8560. goodsname:
  8561. description: 商品名称
  8562. type: string
  8563. marketid:
  8564. description: 市场ID
  8565. type: integer
  8566. orderamount:
  8567. description: 委托金额
  8568. type: number
  8569. orderid:
  8570. description: 单号(成交单号)
  8571. type: string
  8572. picurls1:
  8573. description: 预售商品介绍图片[多张用逗号分隔]
  8574. type: string
  8575. picurls2:
  8576. description: 挂牌商品介绍图片[多张用逗号分隔]
  8577. type: string
  8578. price:
  8579. description: 价格
  8580. type: number
  8581. qty:
  8582. description: 数量
  8583. type: integer
  8584. time:
  8585. description: 时间
  8586. type: string
  8587. trademode:
  8588. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8589. type: integer
  8590. vendorname1:
  8591. description: 预售商品供应商名称
  8592. type: string
  8593. vendorname2:
  8594. description: 挂牌商品供应商名称
  8595. type: string
  8596. required:
  8597. - accountid
  8598. - buyorsell
  8599. - goodscode
  8600. - goodsid
  8601. - goodsname
  8602. - marketid
  8603. - orderid
  8604. - qty
  8605. - time
  8606. - trademode
  8607. type: object
  8608. models.HsbyGoodsOrderDetail:
  8609. properties:
  8610. buyorsell:
  8611. description: 买卖 - 0:买 1:卖
  8612. type: integer
  8613. currencysign:
  8614. description: 货币符号
  8615. type: string
  8616. customername:
  8617. description: 客户名称(企业名称),已脱敏
  8618. type: string
  8619. enableqty:
  8620. description: 可用数量
  8621. type: integer
  8622. goodunit:
  8623. description: 报价单位
  8624. type: string
  8625. orderid:
  8626. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8627. type: string
  8628. orderprice:
  8629. description: 委托价格
  8630. type: number
  8631. ordertime:
  8632. description: 委托时间
  8633. type: string
  8634. required:
  8635. - buyorsell
  8636. - orderid
  8637. - ordertime
  8638. type: object
  8639. models.HsbyListingGoodsDetail:
  8640. properties:
  8641. agreeunit:
  8642. description: 合约单位
  8643. type: number
  8644. buymaxqty:
  8645. description: 购买上限 [71] - 0为不限
  8646. type: integer
  8647. currency:
  8648. description: 货币
  8649. type: string
  8650. currencysign:
  8651. description: 货币符号
  8652. type: string
  8653. decimalplace:
  8654. description: 报价小数位
  8655. type: integer
  8656. desccityid:
  8657. description: 目的地(市)ID
  8658. type: integer
  8659. descprovinceid:
  8660. description: 目的地(省)ID
  8661. type: integer
  8662. goodscode:
  8663. description: 商品代码(内部)
  8664. type: string
  8665. goodsdesc:
  8666. description: 商品详情
  8667. type: string
  8668. goodsid:
  8669. description: 商品ID(自增ID SEQ_GOODS)
  8670. type: integer
  8671. goodsname:
  8672. description: 商品名称
  8673. type: string
  8674. goodsprice:
  8675. description: 商品价格
  8676. type: number
  8677. hotindex:
  8678. description: 景点热度
  8679. type: integer
  8680. last:
  8681. description: 现价
  8682. type: number
  8683. limitdown:
  8684. description: 跌停价
  8685. type: number
  8686. limitup:
  8687. description: 涨停价
  8688. type: number
  8689. lotsize:
  8690. description: 手数最小变动单位
  8691. type: integer
  8692. marketid:
  8693. description: 所属市场ID
  8694. type: integer
  8695. picurls:
  8696. description: 介绍图片[多张用逗号分隔]
  8697. type: string
  8698. quoteminunit:
  8699. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8700. type: integer
  8701. stepvalue:
  8702. description: 价格最小变动单位
  8703. type: number
  8704. trademode:
  8705. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8706. type: integer
  8707. vendorattr:
  8708. description: 供应商附件(多张,逗号分隔)
  8709. type: string
  8710. vendorname:
  8711. description: 供应商名称
  8712. type: string
  8713. vendorphone:
  8714. description: 供应商客服电话
  8715. type: string
  8716. videourls:
  8717. description: 介绍视频[多张用逗号分隔]
  8718. type: string
  8719. required:
  8720. - goodscode
  8721. - goodsid
  8722. - goodsname
  8723. - marketid
  8724. - trademode
  8725. type: object
  8726. models.HsbyMarketGoods:
  8727. properties:
  8728. accountid:
  8729. description: 账户ID[报价币种]
  8730. type: integer
  8731. agreeunit:
  8732. description: 合约单位
  8733. type: number
  8734. buyorsell:
  8735. description: 买卖 - 0:买 1:卖
  8736. type: integer
  8737. categoryid:
  8738. description: 类别ID(WRCATEGORY)
  8739. type: integer
  8740. currency:
  8741. description: 货币
  8742. type: string
  8743. currencysign:
  8744. description: 货币符号
  8745. type: string
  8746. customername:
  8747. description: 卖家名称
  8748. type: string
  8749. decimalplace:
  8750. description: 报价小数位
  8751. type: integer
  8752. goodscode:
  8753. description: 商品代码(内部)
  8754. type: string
  8755. goodsid:
  8756. description: 商品ID
  8757. type: integer
  8758. goodsname:
  8759. description: 商品名称
  8760. type: string
  8761. goodsprice:
  8762. description: 商品价格
  8763. type: number
  8764. hascoupon:
  8765. description: 是否可用优惠卷
  8766. type: boolean
  8767. hotindex:
  8768. description: 景点热度
  8769. type: integer
  8770. marketid:
  8771. description: 市场ID
  8772. type: integer
  8773. orderid:
  8774. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8775. type: string
  8776. orderprice:
  8777. description: 委托价格
  8778. type: number
  8779. orderstatus:
  8780. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8781. type: integer
  8782. picurls:
  8783. description: 介绍图片[多张用逗号分隔]
  8784. type: string
  8785. quoteminunit:
  8786. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8787. type: integer
  8788. sellUserID:
  8789. description: 卖方UserID
  8790. type: integer
  8791. trademode:
  8792. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8793. type: integer
  8794. videourls:
  8795. description: 介绍视频[多张用逗号分隔]
  8796. type: string
  8797. required:
  8798. - accountid
  8799. - buyorsell
  8800. - goodscode
  8801. - goodsid
  8802. - goodsname
  8803. - marketid
  8804. - orderid
  8805. - trademode
  8806. type: object
  8807. models.HsbyMarketGoodsDetail:
  8808. properties:
  8809. accountid:
  8810. description: 账户ID[报价币种]
  8811. type: integer
  8812. agreeunit:
  8813. description: 合约单位
  8814. type: number
  8815. buymaxqty:
  8816. description: 购买上限 [71] - 0为不限
  8817. type: integer
  8818. buyorsell:
  8819. description: 买卖 - 0:买 1:卖
  8820. type: integer
  8821. cancelqty:
  8822. description: 撤单数量
  8823. type: integer
  8824. categoryid:
  8825. description: 类别ID(WRCATEGORY)
  8826. type: integer
  8827. currency:
  8828. description: 货币
  8829. type: string
  8830. currencysign:
  8831. description: 货币符号
  8832. type: string
  8833. customername:
  8834. description: 卖家名称
  8835. type: string
  8836. decimalplace:
  8837. description: 报价小数位
  8838. type: integer
  8839. goodscode:
  8840. description: 商品代码(内部)
  8841. type: string
  8842. goodsdesc:
  8843. description: 商品详情
  8844. type: string
  8845. goodsid:
  8846. description: 商品ID
  8847. type: integer
  8848. goodsname:
  8849. description: 商品名称
  8850. type: string
  8851. goodsprice:
  8852. description: 商品价格
  8853. type: number
  8854. hotindex:
  8855. description: 景点热度
  8856. type: integer
  8857. lotsize:
  8858. description: 手数最小变动单位
  8859. type: integer
  8860. marketid:
  8861. description: 市场ID
  8862. type: integer
  8863. orderid:
  8864. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8865. type: string
  8866. orderprice:
  8867. description: 委托价格
  8868. type: number
  8869. orderqty:
  8870. description: 委托数量
  8871. type: integer
  8872. orderstatus:
  8873. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8874. type: integer
  8875. picurls:
  8876. description: 介绍图片[多张用逗号分隔]
  8877. type: string
  8878. quoteminunit:
  8879. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8880. type: integer
  8881. sellUserID:
  8882. description: 卖方UserID
  8883. type: integer
  8884. trademode:
  8885. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8886. type: integer
  8887. tradeqty:
  8888. description: 成交数量
  8889. type: integer
  8890. vendorattr:
  8891. description: 供应商附件(多张,逗号分隔)
  8892. type: string
  8893. vendorname:
  8894. description: 供应商名称
  8895. type: string
  8896. vendorphone:
  8897. description: 供应商客服电话
  8898. type: string
  8899. videourls:
  8900. description: 介绍视频[多张用逗号分隔]
  8901. type: string
  8902. required:
  8903. - accountid
  8904. - buyorsell
  8905. - goodscode
  8906. - goodsid
  8907. - goodsname
  8908. - marketid
  8909. - orderid
  8910. - orderqty
  8911. - trademode
  8912. type: object
  8913. models.HsbyMarketInfo:
  8914. properties:
  8915. marketid:
  8916. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8917. type: integer
  8918. marketname:
  8919. description: 市场名称
  8920. type: string
  8921. marketstatus:
  8922. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8923. type: integer
  8924. trademode:
  8925. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8926. type: integer
  8927. required:
  8928. - marketid
  8929. - marketstatus
  8930. - trademode
  8931. type: object
  8932. models.HsbyMyGoods:
  8933. properties:
  8934. accountid:
  8935. description: 账号Id
  8936. type: integer
  8937. agreeunit:
  8938. description: 合约单位
  8939. type: number
  8940. buyaverageprice:
  8941. description: 持仓均价
  8942. type: number
  8943. buycurholderamount:
  8944. description: 买当前持仓总金额[商品币种]
  8945. type: number
  8946. buycurpositionqty:
  8947. description: 买当前持仓总数量
  8948. type: integer
  8949. buymaxqty:
  8950. description: 购买上限 [71] - 0为不限
  8951. type: integer
  8952. currencysign:
  8953. description: 货币符号
  8954. type: string
  8955. decimalplace:
  8956. description: 报价小数位
  8957. type: integer
  8958. enableqty:
  8959. description: 可用数量
  8960. type: integer
  8961. goodscode:
  8962. description: 商品代码(内部)
  8963. type: string
  8964. goodsid:
  8965. description: 商品Id
  8966. type: integer
  8967. goodsname:
  8968. description: 商品名称
  8969. type: string
  8970. goodsprice:
  8971. description: 商品价格
  8972. type: number
  8973. goodsstatus:
  8974. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8975. type: integer
  8976. last:
  8977. description: 现价(仅使用于挂牌点选)
  8978. type: number
  8979. limitdown:
  8980. description: 跌停价(仅使用于挂牌点选)
  8981. type: number
  8982. limitup:
  8983. description: 涨停价(仅使用于挂牌点选)
  8984. type: number
  8985. lotsize:
  8986. description: 手数最小变动单位
  8987. type: integer
  8988. marketid:
  8989. description: 所属市场ID
  8990. type: integer
  8991. picurls:
  8992. description: 介绍图片[多张用逗号分隔]
  8993. type: string
  8994. quoteminunit:
  8995. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8996. type: integer
  8997. stepvalue:
  8998. description: 价格最小变动单位
  8999. type: number
  9000. trademode:
  9001. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9002. type: integer
  9003. required:
  9004. - accountid
  9005. - goodscode
  9006. - goodsid
  9007. - goodsname
  9008. - marketid
  9009. - trademode
  9010. type: object
  9011. models.HsbyMyPackage:
  9012. properties:
  9013. accountid:
  9014. description: 账户ID
  9015. type: integer
  9016. address:
  9017. description: 提货人详细地址
  9018. type: string
  9019. agreeunit:
  9020. description: 合约单位
  9021. type: number
  9022. amount:
  9023. description: 提货金额
  9024. type: number
  9025. auditer:
  9026. description: 审核人
  9027. type: integer
  9028. audittime:
  9029. description: 审核时间
  9030. type: string
  9031. averageprice:
  9032. description: 均价
  9033. type: number
  9034. cardnum:
  9035. description: 提货人证件号码
  9036. type: string
  9037. cardtypeid:
  9038. description: 提货人证件类型
  9039. type: integer
  9040. checkremark:
  9041. description: 审核备注
  9042. type: string
  9043. currencysign:
  9044. description: 货币符号
  9045. type: string
  9046. decimalplace:
  9047. description: 报价小数位
  9048. type: integer
  9049. goodscode:
  9050. description: 商品代码(内部)
  9051. type: string
  9052. goodsid:
  9053. description: 商品ID
  9054. type: integer
  9055. goodsname:
  9056. description: 商品名称
  9057. type: string
  9058. handlestatus:
  9059. description: 处理状态
  9060. type: integer
  9061. marketid:
  9062. description: 市场ID
  9063. type: integer
  9064. phonenum:
  9065. description: 提货人联系方式
  9066. type: string
  9067. picurls:
  9068. description: 介绍图片[多张用逗号分隔]
  9069. type: string
  9070. qty:
  9071. description: 提货数量
  9072. type: number
  9073. recivername:
  9074. description: 提货人姓名
  9075. type: string
  9076. reqtime:
  9077. description: 更新时间
  9078. type: string
  9079. takemode:
  9080. description: 提货方式 - 2:自提 3:配送
  9081. type: integer
  9082. takeorderid:
  9083. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9084. type: string
  9085. takeorderstatus:
  9086. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9087. type: integer
  9088. takeremark:
  9089. description: 提货备注
  9090. type: string
  9091. tradedate:
  9092. description: 交易日(yyyyMMdd)
  9093. type: string
  9094. trademode:
  9095. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9096. type: integer
  9097. userid:
  9098. description: 用户ID
  9099. type: integer
  9100. vendorname:
  9101. description: 供应商名称
  9102. type: string
  9103. required:
  9104. - goodscode
  9105. - goodsname
  9106. - takeorderid
  9107. - trademode
  9108. type: object
  9109. models.HsbyPreGoods:
  9110. properties:
  9111. agreeunit:
  9112. description: 合约单位
  9113. type: number
  9114. currency:
  9115. description: 货币
  9116. type: string
  9117. currencysign:
  9118. description: 货币符号
  9119. type: string
  9120. decimalplace:
  9121. description: 报价小数位
  9122. type: integer
  9123. desccityid:
  9124. description: 目的地(市)
  9125. type: integer
  9126. descprovinceid:
  9127. description: 目的地(省)
  9128. type: integer
  9129. enableqty:
  9130. description: 剩余数量
  9131. type: integer
  9132. goodscode:
  9133. description: 商品代码(内部)
  9134. type: string
  9135. goodsid:
  9136. description: 商品ID(自增ID SEQ_GOODS)
  9137. type: integer
  9138. goodsname:
  9139. description: 商品名称
  9140. type: string
  9141. goodsstatus:
  9142. description: 商品状态- 2:未上市 3:上市
  9143. type: integer
  9144. lasttradedate:
  9145. description: 最后交易日期(状态:待退市)
  9146. type: string
  9147. listingdate:
  9148. description: 交易开始日期
  9149. type: string
  9150. marketid:
  9151. description: 所属市场ID
  9152. type: integer
  9153. picurls:
  9154. description: 介绍图片[多张用逗号分隔]
  9155. type: string
  9156. presaledqty:
  9157. description: 已预售量(预售结束时更新)
  9158. type: integer
  9159. presaleqty:
  9160. description: 预售数量
  9161. type: integer
  9162. quoteminunit:
  9163. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9164. type: integer
  9165. refprice:
  9166. description: 参考价格[一口价]
  9167. type: number
  9168. relatedgoodsid:
  9169. description: 关联交易合约ID
  9170. type: integer
  9171. trademode:
  9172. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9173. type: integer
  9174. videourls:
  9175. description: 介绍视频[多张用逗号分隔]
  9176. type: string
  9177. required:
  9178. - goodscode
  9179. - goodsid
  9180. - goodsname
  9181. - marketid
  9182. - trademode
  9183. type: object
  9184. models.HsbyPreGoodsDetail:
  9185. properties:
  9186. agreeunit:
  9187. description: 合约单位
  9188. type: number
  9189. buymaxqty:
  9190. description: 购买上限 [71] - 0为不限
  9191. type: integer
  9192. currency:
  9193. description: 货币
  9194. type: string
  9195. currencysign:
  9196. description: 货币符号
  9197. type: string
  9198. customername:
  9199. description: 发行单位
  9200. type: string
  9201. decimalplace:
  9202. description: 报价小数位
  9203. type: integer
  9204. desccityid:
  9205. description: 目的地(市)ID
  9206. type: integer
  9207. descprovinceid:
  9208. description: 目的地(省)ID
  9209. type: integer
  9210. enableqty:
  9211. description: 剩余数量
  9212. type: integer
  9213. goodscode:
  9214. description: 商品代码(内部)
  9215. type: string
  9216. goodsdesc:
  9217. description: 商品详情
  9218. type: string
  9219. goodsid:
  9220. description: 商品ID(自增ID SEQ_GOODS)
  9221. type: integer
  9222. goodsname:
  9223. description: 商品名称
  9224. type: string
  9225. goodsstatus:
  9226. description: 商品状态- 2:未上市 3:上市
  9227. type: integer
  9228. goodunit:
  9229. description: 报价单位
  9230. type: string
  9231. lasttradedate:
  9232. description: 最后交易日期(状态:待退市)
  9233. type: string
  9234. listingdate:
  9235. description: 交易开始日期
  9236. type: string
  9237. lotsize:
  9238. description: 手数最小变动单位
  9239. type: integer
  9240. marketid:
  9241. description: 所属市场ID
  9242. type: integer
  9243. picurls:
  9244. description: 介绍图片[多张用逗号分隔]
  9245. type: string
  9246. presaledqty:
  9247. description: 已预售量(预售结束时更新)
  9248. type: integer
  9249. presaleqty:
  9250. description: 预售数量
  9251. type: integer
  9252. quoteminunit:
  9253. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9254. type: integer
  9255. refprice:
  9256. description: 参考价格[一口价]
  9257. type: number
  9258. relatedgoodsid:
  9259. description: 关联交易合约ID
  9260. type: integer
  9261. stepvalue:
  9262. description: 价格最小变动单位
  9263. type: number
  9264. trademode:
  9265. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9266. type: integer
  9267. vendorattr:
  9268. description: 供应商附件(多张,逗号分隔)
  9269. type: string
  9270. vendorname:
  9271. description: 供应商名称
  9272. type: string
  9273. vendorphone:
  9274. description: 供应商客服电话
  9275. type: string
  9276. videourls:
  9277. description: 介绍视频[多张用逗号分隔]
  9278. type: string
  9279. required:
  9280. - goodscode
  9281. - goodsid
  9282. - goodsname
  9283. - marketid
  9284. - trademode
  9285. type: object
  9286. models.HsbySellCollectionOrder:
  9287. properties:
  9288. agreeunit:
  9289. description: 合约单位
  9290. type: number
  9291. buyaccountid:
  9292. description: 买方账号ID[报价币种]
  9293. type: integer
  9294. buyorderid:
  9295. description: 买方委托单号
  9296. type: string
  9297. createtime:
  9298. description: 创建时间
  9299. type: string
  9300. currencysign:
  9301. description: 货币符号
  9302. type: string
  9303. decimalplace:
  9304. description: 报价小数位
  9305. type: integer
  9306. goodscode:
  9307. description: 商品代码(内部)
  9308. type: string
  9309. goodsid:
  9310. description: 商品ID
  9311. type: integer
  9312. goodsname:
  9313. description: 商品名称
  9314. type: string
  9315. marketid:
  9316. description: 市场ID
  9317. type: integer
  9318. offamount:
  9319. description: 优惠金额
  9320. type: number
  9321. payamount:
  9322. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9323. type: number
  9324. payflag:
  9325. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9326. type: integer
  9327. paylimitedtime:
  9328. description: 支付期限
  9329. type: string
  9330. paytime:
  9331. description: 付款时间
  9332. type: string
  9333. picurls:
  9334. description: 商品介绍图片[多张用逗号分隔]
  9335. type: string
  9336. sellaccountid:
  9337. description: 卖方账号ID[报价币种]
  9338. type: integer
  9339. sellorderid:
  9340. description: 卖方委托单号
  9341. type: string
  9342. tradeamount:
  9343. description: 成交金额
  9344. type: number
  9345. tradecharge:
  9346. description: 成交手续费(买方)
  9347. type: number
  9348. tradedate:
  9349. description: 交易日(yyyyMMdd)
  9350. type: string
  9351. tradeid:
  9352. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9353. type: string
  9354. trademode:
  9355. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9356. type: integer
  9357. tradeprice:
  9358. description: 成交价格
  9359. type: number
  9360. tradeqty:
  9361. description: 成交数量
  9362. type: integer
  9363. required:
  9364. - goodscode
  9365. - goodsname
  9366. - tradeid
  9367. - trademode
  9368. type: object
  9369. models.HsbySellMyDetail:
  9370. properties:
  9371. accountid:
  9372. description: 账户ID[报价币种]
  9373. type: integer
  9374. agreeunit:
  9375. description: 合约单位
  9376. type: number
  9377. buyorsell:
  9378. description: 买卖 - 0:买 1:卖
  9379. type: integer
  9380. currencysign:
  9381. description: 货币符号
  9382. type: string
  9383. decimalplace:
  9384. description: 报价小数位
  9385. type: integer
  9386. goodscode:
  9387. description: 商品代码(内部)
  9388. type: string
  9389. goodsid:
  9390. description: 商品ID
  9391. type: integer
  9392. goodsname:
  9393. description: 商品名称
  9394. type: string
  9395. marketid:
  9396. description: 市场ID
  9397. type: integer
  9398. orderid:
  9399. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9400. type: string
  9401. ordertype:
  9402. description: 单据类型:0 - 发布中, 1 - 已完成
  9403. type: integer
  9404. picurls:
  9405. description: 介绍图片[多张用逗号分隔]
  9406. type: string
  9407. price:
  9408. description: 价格
  9409. type: number
  9410. qty:
  9411. description: 数量
  9412. type: integer
  9413. time:
  9414. description: 时间
  9415. type: string
  9416. trademode:
  9417. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9418. type: integer
  9419. vendorname:
  9420. description: 供应商名称
  9421. type: string
  9422. required:
  9423. - accountid
  9424. - buyorsell
  9425. - goodscode
  9426. - goodsid
  9427. - goodsname
  9428. - marketid
  9429. - orderid
  9430. - time
  9431. - trademode
  9432. type: object
  9433. models.HsbyTopGoods:
  9434. properties:
  9435. agreeunit:
  9436. description: 合约单位
  9437. type: number
  9438. currency:
  9439. description: 货币
  9440. type: string
  9441. currencysign:
  9442. description: 货币符号
  9443. type: string
  9444. decimalplace:
  9445. description: 报价小数位
  9446. type: integer
  9447. desccityid:
  9448. description: 目的地(市)
  9449. type: integer
  9450. descprovinceid:
  9451. description: 目的地(省)
  9452. type: integer
  9453. goodscode:
  9454. description: 商品代码(内部)
  9455. type: string
  9456. goodsid:
  9457. description: 商品ID(自增ID SEQ_GOODS)
  9458. type: integer
  9459. goodsname:
  9460. description: 商品名称
  9461. type: string
  9462. hotindex:
  9463. description: 景点热度
  9464. type: integer
  9465. last:
  9466. description: 现价
  9467. type: number
  9468. marketid:
  9469. description: 所属市场ID
  9470. type: integer
  9471. picurls:
  9472. description: 介绍图片[多张用逗号分隔]
  9473. type: string
  9474. quoteminunit:
  9475. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9476. type: integer
  9477. trademode:
  9478. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9479. type: integer
  9480. videourls:
  9481. description: 介绍视频[多张用逗号分隔]
  9482. type: string
  9483. required:
  9484. - goodscode
  9485. - goodsid
  9486. - goodsname
  9487. - marketid
  9488. - trademode
  9489. type: object
  9490. models.HybsMyBuyOrderDetail:
  9491. properties:
  9492. accountid:
  9493. description: 账户ID[报价币种]
  9494. type: integer
  9495. agreeunit:
  9496. description: 合约单位
  9497. type: number
  9498. buyorsell:
  9499. description: 买卖 - 0:买 1:卖
  9500. type: integer
  9501. cancelqty:
  9502. description: 撤单数量
  9503. type: integer
  9504. currencysign:
  9505. description: 货币符号
  9506. type: string
  9507. decimalplace:
  9508. description: 报价小数位
  9509. type: integer
  9510. goodscode:
  9511. description: 商品代码(内部)
  9512. type: string
  9513. goodsid:
  9514. description: 商品ID
  9515. type: integer
  9516. goodsname:
  9517. description: 商品名称
  9518. type: string
  9519. listingselecttype:
  9520. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9521. type: integer
  9522. marketid:
  9523. description: 市场ID
  9524. type: integer
  9525. mybuystatus:
  9526. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9527. type: integer
  9528. orderamount:
  9529. description: 委托金额
  9530. type: number
  9531. orderid:
  9532. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9533. type: string
  9534. orderprice:
  9535. description: 委托价格
  9536. type: number
  9537. orderqty:
  9538. description: 委托数量
  9539. type: integer
  9540. orderstatus:
  9541. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  9542. type: integer
  9543. ordertime:
  9544. description: 委托时间
  9545. type: string
  9546. picurls1:
  9547. description: 预售商品介绍图片[多张用逗号分隔]
  9548. type: string
  9549. picurls2:
  9550. description: 挂牌商品介绍图片[多张用逗号分隔]
  9551. type: string
  9552. trademode:
  9553. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9554. type: integer
  9555. tradeqty:
  9556. description: 成交数量
  9557. type: integer
  9558. vendorname1:
  9559. description: 预售商品供应商名称
  9560. type: string
  9561. vendorname2:
  9562. description: 挂牌商品供应商名称
  9563. type: string
  9564. required:
  9565. - accountid
  9566. - buyorsell
  9567. - goodscode
  9568. - goodsid
  9569. - goodsname
  9570. - marketid
  9571. - orderid
  9572. - orderqty
  9573. - ordertime
  9574. - trademode
  9575. type: object
  9576. models.Loginaccount:
  9577. properties:
  9578. accountname:
  9579. description: 账户名称
  9580. type: string
  9581. canoutin:
  9582. description: 是否可出入金 - 0:不可 1:可
  9583. type: integer
  9584. clientroleid:
  9585. description: 终端角色ID
  9586. type: integer
  9587. haslogined:
  9588. description: 是否已登录 - 0:未登录 1:已登录
  9589. type: integer
  9590. hasupdatedpwd:
  9591. description: 是否已更改密码 - 0:未修改 1:已修改
  9592. type: integer
  9593. lastloginip:
  9594. description: 最新登录地址
  9595. type: string
  9596. lastloginmode:
  9597. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9598. type: integer
  9599. lastloginremark:
  9600. description: 最新登录描述
  9601. type: string
  9602. lastlogintime:
  9603. description: 最新登录时间
  9604. type: string
  9605. logincode:
  9606. description: 登录代码
  9607. type: string
  9608. loginfailnum:
  9609. description: 连续登录失败次数(登录成功时清零)
  9610. type: integer
  9611. loginid:
  9612. description: 登陆账号
  9613. type: integer
  9614. loginport:
  9615. description: 最新登录端口
  9616. type: integer
  9617. loginstatus:
  9618. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9619. type: integer
  9620. loginusertype:
  9621. description: 登录账号类型 - 1:投资者 2:机构交易员
  9622. type: integer
  9623. mobile:
  9624. description: 手机号码(加密存储)
  9625. type: string
  9626. modifierid:
  9627. description: 修改人
  9628. type: integer
  9629. modifysrc:
  9630. description: 审核来源 - 1:管理端 2:终端
  9631. type: integer
  9632. modifytime:
  9633. description: 修改时间
  9634. type: string
  9635. password:
  9636. description: 登陆密码
  9637. type: string
  9638. pwdwrongcount:
  9639. description: 密码错误次数
  9640. type: integer
  9641. relateduserid:
  9642. description: 关联用户ID(机构)
  9643. type: integer
  9644. taaccountrighttype:
  9645. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9646. type: integer
  9647. unfreezetime:
  9648. description: 账户解冻时间
  9649. type: string
  9650. userid:
  9651. description: 用户ID
  9652. type: integer
  9653. required:
  9654. - loginid
  9655. type: object
  9656. models.MainAccountInfo:
  9657. properties:
  9658. accountid:
  9659. description: 账号id
  9660. type: integer
  9661. accountname:
  9662. description: 账号名称(taaccount表中的名称)
  9663. type: string
  9664. appid:
  9665. description: AppID
  9666. type: string
  9667. authcode:
  9668. description: 授权码
  9669. type: string
  9670. brokerid:
  9671. description: 经纪商id
  9672. type: string
  9673. fcid:
  9674. description: 期货公司id
  9675. type: integer
  9676. fcname:
  9677. description: 期货公司代码
  9678. type: string
  9679. hedgeaccountcode:
  9680. description: 外部账号代码(主账号登录代码)
  9681. type: string
  9682. hedgeaccountpwd:
  9683. description: 密码
  9684. type: string
  9685. ismain:
  9686. description: 是否主账号
  9687. type: integer
  9688. relateduserid:
  9689. description: 关联用户id
  9690. type: integer
  9691. userid:
  9692. description: 关联用户id
  9693. type: integer
  9694. type: object
  9695. models.Market:
  9696. properties:
  9697. auctionwrtype:
  9698. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9699. type: integer
  9700. canacceptquote:
  9701. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9702. type: integer
  9703. cangoodsexercise:
  9704. description: '[期权]是否可现货行权- 0:否 1:是'
  9705. type: integer
  9706. cangoodsexercisetype:
  9707. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9708. type: integer
  9709. canmanualquotestrike:
  9710. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9711. type: integer
  9712. canmutistage:
  9713. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9714. type: integer
  9715. canpreexercise:
  9716. description: '[期权]是否可预申报- 0:否 1:是'
  9717. type: integer
  9718. clearinterval:
  9719. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9720. type: integer
  9721. contracttmp:
  9722. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9723. type: string
  9724. exchareaid:
  9725. description: 所属交易所,可以没有
  9726. type: integer
  9727. goodstype:
  9728. description: 商品类型 - 1:交易商品 2:仓单商品
  9729. type: integer
  9730. hasrebate:
  9731. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9732. type: integer
  9733. hastradecredit:
  9734. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9735. type: integer
  9736. haswr:
  9737. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9738. type: integer
  9739. isdeductmargin:
  9740. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9741. type: integer
  9742. isrecordsource:
  9743. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9744. type: integer
  9745. isreleasemargin:
  9746. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9747. type: integer
  9748. marginformula:
  9749. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9750. type: integer
  9751. marginformula2:
  9752. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9753. type: integer
  9754. marketid:
  9755. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9756. type: integer
  9757. marketname:
  9758. description: 市场名称
  9759. type: string
  9760. marketserviceid:
  9761. description: 市场服务ID
  9762. type: integer
  9763. marketstatus:
  9764. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9765. type: integer
  9766. markettype:
  9767. description: 市场类型- 1:非交易服务 2:交易服务
  9768. type: integer
  9769. matchermode:
  9770. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9771. type: integer
  9772. openmethod:
  9773. description: 开盘模式 - 0 自动 1手动
  9774. type: integer
  9775. otcuserid:
  9776. description: 场外期权做市商[场外期权]
  9777. type: integer
  9778. outersynctime:
  9779. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9780. type: string
  9781. pendingflag:
  9782. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9783. type: integer
  9784. pendingtime:
  9785. description: 待开市时间[通道交易-对冲](HH:mm)
  9786. type: string
  9787. performancetempid:
  9788. description: 履约计划模板ID - 作废
  9789. type: integer
  9790. premiumquotemode:
  9791. description: 权利金报价方式 - 1:自动 2:手动
  9792. type: integer
  9793. rebateratio:
  9794. description: 返利比率[竞价式]
  9795. type: number
  9796. reckonorder:
  9797. description: 结算顺序
  9798. type: integer
  9799. reckonpricealgorithm:
  9800. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价'
  9801. type: integer
  9802. reckonpriceparam:
  9803. description: 结算价参数
  9804. type: integer
  9805. reckontime:
  9806. description: 结算时间[通道交易-对冲](HH:mm)
  9807. type: string
  9808. roleprioritytype:
  9809. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9810. type: integer
  9811. selllistingauditflag:
  9812. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9813. type: integer
  9814. trademarkettype:
  9815. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9816. type: integer
  9817. trademode:
  9818. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9819. type: integer
  9820. tradeproperty:
  9821. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权
  9822. type: integer
  9823. tradetype:
  9824. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9825. type: integer
  9826. required:
  9827. - marketid
  9828. - marketstatus
  9829. - openmethod
  9830. - reckonpricealgorithm
  9831. - trademode
  9832. - tradeproperty
  9833. type: object
  9834. models.Marketrun:
  9835. properties:
  9836. afternexttradedate:
  9837. description: 下下交易日
  9838. type: string
  9839. clearquoteflag:
  9840. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9841. type: integer
  9842. lastreckondate:
  9843. description: 最新交易日(结算成功)
  9844. type: string
  9845. machinedate:
  9846. description: 机器时间
  9847. type: string
  9848. manualflag:
  9849. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9850. type: integer
  9851. marketid:
  9852. description: 市场ID
  9853. type: integer
  9854. nexttradedate:
  9855. description: 下一交易日
  9856. type: string
  9857. pretradedate:
  9858. description: 上一交易日
  9859. type: string
  9860. reckonflag:
  9861. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9862. type: integer
  9863. runstatus:
  9864. 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.今日免清算
  9865. type: integer
  9866. sectionid:
  9867. description: 时间段号[多时段时用]
  9868. type: integer
  9869. tradedate:
  9870. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9871. type: string
  9872. tradedate2:
  9873. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9874. type: string
  9875. updatetime:
  9876. description: 更新时间
  9877. type: string
  9878. required:
  9879. - marketid
  9880. - nexttradedate
  9881. - reckonflag
  9882. - runstatus
  9883. - tradedate
  9884. - tradedate2
  9885. type: object
  9886. models.Messageboard:
  9887. properties:
  9888. contactnum:
  9889. description: 联系电话
  9890. type: string
  9891. createtime:
  9892. description: 创建时间
  9893. type: string
  9894. message:
  9895. description: 留言信息
  9896. type: string
  9897. messageboardid:
  9898. description: 留言簿ID(SEQ_MessageBoard)
  9899. type: integer
  9900. userid:
  9901. description: 用户ID
  9902. type: integer
  9903. required:
  9904. - messageboardid
  9905. type: object
  9906. models.MyCoupon:
  9907. properties:
  9908. accountid:
  9909. description: 资金账户ID
  9910. type: integer
  9911. areauserid:
  9912. description: 所属机构
  9913. type: integer
  9914. conditionvalue:
  9915. description: 条件阈值(可为0)
  9916. type: number
  9917. couponcategroy:
  9918. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9919. type: integer
  9920. couponname:
  9921. description: 优惠券名称
  9922. type: string
  9923. coupontypeid:
  9924. description: 优惠券类型ID
  9925. type: string
  9926. couponvalue:
  9927. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9928. type: number
  9929. curfreezeqty:
  9930. description: 期末冻结数量
  9931. type: integer
  9932. curqty:
  9933. description: 期末数量
  9934. type: integer
  9935. isgeneral:
  9936. description: 是否通用券 - 0:否 1:是
  9937. type: integer
  9938. isunusable:
  9939. description: 是否不可用
  9940. type: boolean
  9941. limitedflag:
  9942. description: 是否指定商品 - 0:不限 1:限制
  9943. type: integer
  9944. limitedgoodsids:
  9945. description: 指定商品IDs[逗号分隔,前后加逗号]
  9946. type: string
  9947. orifreezeqty:
  9948. description: 期初冻结数量
  9949. type: integer
  9950. oriqty:
  9951. description: 期初数量
  9952. type: integer
  9953. reasontype:
  9954. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9955. type: integer
  9956. todaydecrease:
  9957. description: 今日减少
  9958. type: integer
  9959. todayincrease:
  9960. description: 今日增加
  9961. type: integer
  9962. userid:
  9963. description: 用户ID
  9964. type: integer
  9965. userscope:
  9966. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9967. type: string
  9968. required:
  9969. - accountid
  9970. - coupontypeid
  9971. type: object
  9972. models.MyCouponHold:
  9973. properties:
  9974. accountid:
  9975. description: 资金账户ID
  9976. type: integer
  9977. conditionvalue:
  9978. description: 条件阈值(可为0)
  9979. type: number
  9980. couponcategroy:
  9981. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9982. type: integer
  9983. couponholdid:
  9984. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9985. type: string
  9986. couponname:
  9987. description: 优惠券名称
  9988. type: string
  9989. coupontypeid:
  9990. description: 优惠券类型ID - SEQ_COUPONTYPE
  9991. type: string
  9992. couponvalue:
  9993. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9994. type: number
  9995. createtime:
  9996. description: 创建时间
  9997. type: string
  9998. enddate:
  9999. description: 结束日期
  10000. type: string
  10001. giveapplyid:
  10002. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10003. type: integer
  10004. holdstatus:
  10005. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10006. type: integer
  10007. isgeneral:
  10008. description: 是否通用券 - 0:否 1:是
  10009. type: integer
  10010. limitedflag:
  10011. description: 是否指定商品 - 0:不限 1:限制
  10012. type: integer
  10013. limitedgoodsids:
  10014. description: 指定商品IDs[逗号分隔]
  10015. type: string
  10016. qty:
  10017. description: 数量(按1平铺)
  10018. type: integer
  10019. startdate:
  10020. description: 开始日期
  10021. type: string
  10022. userid:
  10023. description: 用户ID
  10024. type: integer
  10025. userscope:
  10026. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10027. type: string
  10028. required:
  10029. - couponholdid
  10030. type: object
  10031. models.MyUsedCoupon:
  10032. properties:
  10033. accountid:
  10034. description: 资金账户ID(买方)
  10035. type: integer
  10036. conditionvalue:
  10037. description: 条件阈值(可为0)
  10038. type: number
  10039. couponcategroy:
  10040. description: 种类 - 1:现金券 2:折扣券
  10041. type: integer
  10042. couponname:
  10043. description: 优惠券名称
  10044. type: string
  10045. coupontypeid:
  10046. description: 优惠券类型ID(买方)
  10047. type: string
  10048. couponvalue:
  10049. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10050. type: number
  10051. createtime:
  10052. description: 创建时间
  10053. type: string
  10054. goodsid:
  10055. description: 商品ID
  10056. type: integer
  10057. handlestatus:
  10058. description: 处理状态
  10059. type: integer
  10060. marketid:
  10061. description: 市场ID
  10062. type: integer
  10063. offamount:
  10064. description: 优惠金额
  10065. type: number
  10066. orderid:
  10067. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10068. type: string
  10069. sellaccountid:
  10070. description: 资金账户ID(卖方)
  10071. type: integer
  10072. tradeamount:
  10073. description: 成交金额
  10074. type: number
  10075. tradeid:
  10076. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10077. type: string
  10078. usedqty:
  10079. description: 使用数量
  10080. type: integer
  10081. required:
  10082. - coupontypeid
  10083. - orderid
  10084. type: object
  10085. models.OperationPrimaryMenu:
  10086. properties:
  10087. Children:
  10088. description: 二级功能菜单
  10089. items:
  10090. $ref: '#/definitions/models.OperationSecondaryMenu'
  10091. type: array
  10092. Key:
  10093. description: 菜单KEY
  10094. type: string
  10095. Label:
  10096. description: 菜单标题
  10097. type: string
  10098. type: object
  10099. models.OperationSecondaryMenu:
  10100. properties:
  10101. Key:
  10102. description: 菜单KEY
  10103. type: string
  10104. Label:
  10105. description: 菜单标题
  10106. type: string
  10107. TabList:
  10108. description: 三级功能菜单
  10109. items:
  10110. $ref: '#/definitions/models.OperationTabMenu'
  10111. type: array
  10112. type: object
  10113. models.OperationTabMenu:
  10114. properties:
  10115. Key:
  10116. description: 菜单KEY
  10117. type: string
  10118. Label:
  10119. description: 菜单标题
  10120. type: string
  10121. type: object
  10122. models.QhjAccountOutInApply:
  10123. properties:
  10124. accountcode:
  10125. description: 资金账号
  10126. type: string
  10127. accountname:
  10128. description: 用户名称(名称)
  10129. type: string
  10130. accountpwd:
  10131. description: 资金密码
  10132. type: string
  10133. accountticket:
  10134. description: 最新账户服务流水号
  10135. type: string
  10136. amount:
  10137. description: 金额
  10138. type: number
  10139. applyremark:
  10140. description: 申请备注
  10141. type: string
  10142. applystatus:
  10143. 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: 复审通过,账户冻结金额检查中;'
  10144. type: integer
  10145. auditid:
  10146. description: 审核人
  10147. type: integer
  10148. audittime:
  10149. description: 审核时间
  10150. type: string
  10151. bank_apply_ticket:
  10152. description: 银行申请流水
  10153. type: string
  10154. bankaccountname:
  10155. description: 银行账户名
  10156. type: string
  10157. bankaccountno:
  10158. description: 银行卡号
  10159. type: string
  10160. bankid:
  10161. description: 银行编号
  10162. type: string
  10163. bankticket:
  10164. description: 银行流水
  10165. type: string
  10166. branchbankid:
  10167. description: 银行支行号
  10168. type: string
  10169. branchbankname:
  10170. description: 银行支行名称
  10171. type: string
  10172. capamountout:
  10173. description: 出金(劣后本金) - 外部子账户
  10174. type: number
  10175. certificatephotourl:
  10176. description: 凭证地址
  10177. type: string
  10178. charge:
  10179. description: 手续费
  10180. type: number
  10181. checkerrorflag:
  10182. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10183. type: integer
  10184. currency:
  10185. description: 币种
  10186. type: string
  10187. cusbankid:
  10188. description: 托管银行编号
  10189. type: string
  10190. exchticket:
  10191. description: 银行服务流水号
  10192. type: string
  10193. executetype:
  10194. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  10195. type: integer
  10196. extendinfo:
  10197. description: 扩展信息
  10198. type: string
  10199. extoperateid:
  10200. description: 交易服务流水号
  10201. type: integer
  10202. infamount:
  10203. description: 劣后金额(自有)
  10204. type: number
  10205. logincode:
  10206. description: 登录账号(账号)
  10207. type: string
  10208. netaddr:
  10209. description: 调转网址
  10210. type: string
  10211. priamount:
  10212. description: 优先金额(授信)
  10213. type: number
  10214. reauditid:
  10215. description: 复审人
  10216. type: integer
  10217. reauditremark:
  10218. description: 复审备注
  10219. type: string
  10220. reaudittime:
  10221. description: 复审时间
  10222. type: string
  10223. relatedorderid:
  10224. description: 三方关联ID
  10225. type: string
  10226. remark:
  10227. description: 备注
  10228. type: string
  10229. remark2:
  10230. description: 备注(失败原因)
  10231. type: string
  10232. soucreamount:
  10233. description: 原始出入金金额
  10234. type: number
  10235. soucrecurrencyid:
  10236. description: 原始出入金币种
  10237. type: integer
  10238. tradedate:
  10239. description: 交易日(yyyyMMdd)
  10240. type: string
  10241. updatetime:
  10242. description: 更新时间(申请时间)
  10243. type: string
  10244. userid:
  10245. description: 用户id
  10246. type: integer
  10247. userinfotype:
  10248. description: 账户类型 1-个人 2-企业
  10249. type: integer
  10250. type: object
  10251. models.QhjAgreementChangeLog:
  10252. properties:
  10253. agreementcontent:
  10254. description: 协议内容
  10255. type: string
  10256. agreementfrequency:
  10257. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10258. type: integer
  10259. agreementid:
  10260. description: 协议ID
  10261. type: integer
  10262. agreementname:
  10263. description: 协议名称
  10264. type: string
  10265. agreementno:
  10266. description: 协议编号
  10267. type: string
  10268. agreementtype:
  10269. description: 协议类型 - 1:注册 2:登录 3:交易
  10270. type: integer
  10271. agreementversion:
  10272. description: 协议版本号
  10273. type: integer
  10274. logid:
  10275. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10276. type: integer
  10277. reviserid:
  10278. description: 修改人
  10279. type: integer
  10280. revisersrc:
  10281. description: 修改来源 - 1:管理端 2:终端
  10282. type: integer
  10283. updatetime:
  10284. description: 更新时间
  10285. type: string
  10286. type: object
  10287. models.QhjAgreementConfig:
  10288. properties:
  10289. agreementcontent:
  10290. description: 协议内容
  10291. type: string
  10292. agreementfrequency:
  10293. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10294. type: integer
  10295. agreementid:
  10296. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10297. type: integer
  10298. agreementname:
  10299. description: 协议名称
  10300. type: string
  10301. agreementno:
  10302. description: 协议编号
  10303. type: string
  10304. agreementtype:
  10305. description: 协议类型 - 1:注册 2:登录 3:交易
  10306. type: integer
  10307. agreementversion:
  10308. description: 协议版本号(从1开始每次修改加1)
  10309. type: integer
  10310. createtime:
  10311. description: 创建时间
  10312. type: string
  10313. creatorid:
  10314. description: 创建人
  10315. type: integer
  10316. creatorsrc:
  10317. description: 创建来源 - 1:管理端 2:终端
  10318. type: integer
  10319. isvalid:
  10320. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10321. type: integer
  10322. reviserid:
  10323. description: 修改人
  10324. type: integer
  10325. revisersrc:
  10326. description: 修改来源 - 1:管理端 2:终端
  10327. type: integer
  10328. updatetime:
  10329. description: 更新时间
  10330. type: string
  10331. type: object
  10332. models.QhjAreaFinanceConfig:
  10333. properties:
  10334. additionalratio:
  10335. description: 追加款比例
  10336. type: number
  10337. advanceratio:
  10338. description: 预付款比例
  10339. type: number
  10340. alarmratio:
  10341. description: 告警比例
  10342. type: number
  10343. consumptiondirectreward:
  10344. description: 消费直推奖励值
  10345. type: number
  10346. consumptionenabled:
  10347. description: 是否启用消费奖励 - 0:不启用 1:启用
  10348. type: integer
  10349. consumptionindirectreward:
  10350. description: 消费间推奖励值
  10351. type: number
  10352. consumptionmodel:
  10353. description: 消费奖励方式 - 1:比率 2:固定
  10354. type: integer
  10355. customerservicenum:
  10356. description: 客服电话
  10357. type: string
  10358. dayinterestrate:
  10359. description: 日利率
  10360. type: number
  10361. disableconsumptiontips:
  10362. description: 关闭消费奖励提示
  10363. type: string
  10364. modifierid:
  10365. description: 修改人ID
  10366. type: integer
  10367. modifysrc:
  10368. description: 审核来源 - 1:管理端 2:终端
  10369. type: integer
  10370. modifytime:
  10371. description: 修改时间
  10372. type: string
  10373. promotionvalue:
  10374. description: 推广奖励值(固定)
  10375. type: number
  10376. scoreconfigvalue1:
  10377. description: 提货积分配置1
  10378. type: integer
  10379. scoreconfigvalue2:
  10380. description: 提货积分配置2
  10381. type: integer
  10382. userid:
  10383. description: 机构用户ID其他做市关系,都设置为 1
  10384. type: integer
  10385. username:
  10386. description: 用户名称
  10387. type: string
  10388. type: object
  10389. models.QhjBankAccountSign:
  10390. properties:
  10391. accountcode:
  10392. description: 资金账号
  10393. type: string
  10394. accountname:
  10395. description: 资金账号对应的账号名(UserName)
  10396. type: string
  10397. accountname2:
  10398. description: 资金账号对应的账号名(UserName) - 密文
  10399. type: string
  10400. accounttype:
  10401. description: 账户类型(UserType)
  10402. type: integer
  10403. applicationtime:
  10404. description: 最后一次更新的时间
  10405. type: string
  10406. applyexchticket:
  10407. description: 申请流水
  10408. type: string
  10409. auditid:
  10410. description: 审核人
  10411. type: integer
  10412. audittime:
  10413. description: 审核时间
  10414. type: string
  10415. bankaccountname:
  10416. description: 签约银行卡账号名
  10417. type: string
  10418. bankaccountname2:
  10419. description: 签约银行卡账号名 - 密文
  10420. type: string
  10421. bankaccountno:
  10422. description: 银行卡号
  10423. type: string
  10424. bankaccountno2:
  10425. description: 银行卡号 - 密文
  10426. type: string
  10427. bankaccounttype:
  10428. description: 银行账户类型 - 1-对私; 2-对公
  10429. type: integer
  10430. bankcardtype:
  10431. description: 银行卡类型
  10432. type: integer
  10433. bankchildaccount:
  10434. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10435. type: string
  10436. bankcity:
  10437. description: 开户行城市
  10438. type: string
  10439. bankid:
  10440. description: 签约银行ID
  10441. type: string
  10442. bankname:
  10443. description: 签约银行名称
  10444. type: string
  10445. bankprovince:
  10446. description: 开户行省份
  10447. type: string
  10448. branchbankid:
  10449. description: 签约银行支行号
  10450. type: string
  10451. branchbankname:
  10452. description: 签约银行支行名称
  10453. type: string
  10454. cardno:
  10455. description: 证件号码
  10456. type: string
  10457. cardno2:
  10458. description: 证件号码 - 密文
  10459. type: string
  10460. cardtype:
  10461. description: 证件类型
  10462. type: string
  10463. currency:
  10464. description: 币种
  10465. type: string
  10466. cusbankid:
  10467. description: 托管银行编号
  10468. type: string
  10469. direct:
  10470. description: 方向(可以判断那方先发起的签约)
  10471. type: integer
  10472. exchticket:
  10473. description: 最后一次签约成功的流水号
  10474. type: string
  10475. extendinfo:
  10476. description: 扩展信息(JSON字符串)
  10477. type: string
  10478. mobilephone:
  10479. description: 手机号
  10480. type: string
  10481. mobilephone2:
  10482. description: 手机号 - 密文
  10483. type: string
  10484. netaddr:
  10485. description: 调转网址
  10486. type: string
  10487. relateduserid:
  10488. description: 关联使用者userid
  10489. type: integer
  10490. signstatus:
  10491. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核
  10492. type: integer
  10493. updatetime:
  10494. description: 更新时间(签解约更新时间)
  10495. type: string
  10496. type: object
  10497. models.QhjBankInfo:
  10498. properties:
  10499. bankid:
  10500. description: 银行ID
  10501. type: string
  10502. bankname:
  10503. description: 银行名称
  10504. type: string
  10505. clearbankno:
  10506. description: 清算系统银行编号
  10507. type: string
  10508. orderindex:
  10509. description: 排序顺序
  10510. type: integer
  10511. status:
  10512. description: 状态 - 0:正常 1:注销
  10513. type: integer
  10514. type: object
  10515. models.QhjBrokerApply:
  10516. properties:
  10517. applicantid:
  10518. description: 申请人
  10519. type: integer
  10520. applysrc:
  10521. description: 申请来源 - 1:管理端 2:终端
  10522. type: integer
  10523. applystatus:
  10524. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10525. type: integer
  10526. applytime:
  10527. description: 申请时间
  10528. type: string
  10529. auditorid:
  10530. description: 审核人
  10531. type: integer
  10532. auditremark:
  10533. description: 审核备注
  10534. type: string
  10535. auditsrc:
  10536. description: 审核来源 - 1:管理端 2:终端
  10537. type: integer
  10538. audittime:
  10539. description: 审核时间
  10540. type: string
  10541. audittradedate:
  10542. description: 审核交易日(yyyyMMdd)
  10543. type: string
  10544. brokerapplyid:
  10545. description: 申请ID(SEQ_BROKERAPPLY)
  10546. type: integer
  10547. cardbackphotourl:
  10548. description: 证件背面图片地址
  10549. type: string
  10550. cardfrontphotourl:
  10551. description: 证件正面图片地址
  10552. type: string
  10553. cardnum:
  10554. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10555. type: string
  10556. customername:
  10557. description: 姓名
  10558. type: string
  10559. logincode:
  10560. description: 登录代码
  10561. type: string
  10562. mobile:
  10563. description: 手机号码
  10564. type: string
  10565. parentuserid:
  10566. description: 所属机构id
  10567. type: integer
  10568. parentusername:
  10569. description: 所属机构名称
  10570. type: string
  10571. refereeuserid:
  10572. description: 推荐人id(经纪人)
  10573. type: integer
  10574. refernum:
  10575. description: 推荐码
  10576. type: string
  10577. remark:
  10578. description: 备注
  10579. type: string
  10580. subarealevelpath:
  10581. description: 层级路径
  10582. type: string
  10583. tradedate:
  10584. description: 交易日(yyyyMMdd)
  10585. type: string
  10586. userid:
  10587. description: 申请人用户ID
  10588. type: integer
  10589. userinfotype:
  10590. description: 用户类型 1-个人 2-企业
  10591. type: integer
  10592. username:
  10593. description: 用户名称
  10594. type: string
  10595. type: object
  10596. models.QhjBrokerApplyEx:
  10597. properties:
  10598. applylist:
  10599. description: 经纪人申请记录(只返回最新一条)
  10600. items:
  10601. $ref: '#/definitions/models.QhjBrokerApply'
  10602. type: array
  10603. canrecommend:
  10604. description: 是否经纪人 0-不是 1-是
  10605. type: integer
  10606. refernum:
  10607. description: 推荐码
  10608. type: string
  10609. userid:
  10610. description: 用户id
  10611. type: integer
  10612. userinfotype:
  10613. description: 用户类型 1-个人 2-企业
  10614. type: integer
  10615. type: object
  10616. models.QhjBrokerRewardLog:
  10617. properties:
  10618. accountid:
  10619. description: 资金账号ID
  10620. type: integer
  10621. createtime:
  10622. description: 创建时间(时间)
  10623. type: string
  10624. handlestatus:
  10625. description: 处理状态
  10626. type: integer
  10627. logid:
  10628. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10629. type: string
  10630. marketid:
  10631. description: 市场ID
  10632. type: integer
  10633. mmaccountid:
  10634. description: 做市商资金账号ID
  10635. type: string
  10636. mmuserid:
  10637. description: 做市商用户ID
  10638. type: string
  10639. rewardamount:
  10640. description: 奖励金额
  10641. type: number
  10642. rewardmodel:
  10643. description: 消费奖励方式 - 1:比率 2:固定
  10644. type: integer
  10645. rewardtype:
  10646. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10647. type: integer
  10648. rewardvalue:
  10649. description: 配置奖励值
  10650. type: number
  10651. srcamount:
  10652. description: 成交金额 [消费奖励] (金额)
  10653. type: number
  10654. srcgoodsid:
  10655. description: 来源商品ID [消费奖励]
  10656. type: string
  10657. srctime:
  10658. description: 来源时间 (成交时间) [消费奖励]
  10659. type: string
  10660. srctradeid:
  10661. description: 来源成交单ID [消费奖励] - 排除提货成交
  10662. type: string
  10663. srcuserid:
  10664. description: 来源用户ID(推广账户)
  10665. type: string
  10666. srcusername:
  10667. description: 推广账户名称
  10668. type: string
  10669. tradedate:
  10670. description: 交易日(yyyyMMdd)
  10671. type: string
  10672. userid:
  10673. description: 经纪人用户ID
  10674. type: integer
  10675. type: object
  10676. models.QhjContract:
  10677. properties:
  10678. contractconfirmtime:
  10679. description: 合同确认时间(时间)
  10680. type: string
  10681. currisklevel:
  10682. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10683. type: integer
  10684. decimalplace:
  10685. description: 商品报价小数位
  10686. type: integer
  10687. enumdicname:
  10688. description: 单位名称
  10689. type: string
  10690. goodscode:
  10691. description: 商品代码
  10692. type: string
  10693. goodsid:
  10694. description: 商品ID [5:融资单]
  10695. type: integer
  10696. goodsname:
  10697. description: 商品名称
  10698. type: string
  10699. goodunitid:
  10700. description: 商品单位id
  10701. type: integer
  10702. initmargin:
  10703. description: 初始保证金(首付款)
  10704. type: number
  10705. lenderamount:
  10706. description: 贷款金额(总额|订单总额)
  10707. type: number
  10708. marginratio:
  10709. description: 保证金比率(首付比例)
  10710. type: number
  10711. payamount:
  10712. description: 已付(已付货款)
  10713. type: number
  10714. reckonrecovermargin:
  10715. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10716. type: number
  10717. recoveredmargin:
  10718. description: 已追缴保证金
  10719. type: number
  10720. remainamount:
  10721. description: 合同剩余金额(融资额)
  10722. type: number
  10723. scfcontractid:
  10724. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10725. type: string
  10726. scfcontractstatus:
  10727. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  10728. type: integer
  10729. scfcontracttype:
  10730. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10731. type: integer
  10732. totalinterest:
  10733. description: 已计总利息(利息)
  10734. type: number
  10735. tradeprice:
  10736. description: 成交价格(成本价格)
  10737. type: number
  10738. userid:
  10739. description: 用户ID
  10740. type: integer
  10741. username:
  10742. description: 用户名称
  10743. type: string
  10744. wrqty:
  10745. description: 仓单数量(数量)
  10746. type: number
  10747. type: object
  10748. models.QhjContractLog:
  10749. properties:
  10750. amount:
  10751. description: 支付金额
  10752. type: number
  10753. amounttype:
  10754. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10755. type: integer
  10756. logid:
  10757. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10758. type: string
  10759. remainamount:
  10760. description: 剩余货款
  10761. type: number
  10762. scfcontractid:
  10763. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10764. type: integer
  10765. updatetime:
  10766. description: 更新时间
  10767. type: string
  10768. type: object
  10769. models.QhjCusBankSignBankEx:
  10770. properties:
  10771. banklst:
  10772. description: 银行列表
  10773. items:
  10774. $ref: '#/definitions/models.QhjBankInfo'
  10775. type: array
  10776. canallot:
  10777. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10778. type: integer
  10779. canallotquery:
  10780. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10781. type: integer
  10782. canbindcard:
  10783. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10784. type: integer
  10785. caninamount:
  10786. description: 是否可入金 - 0:不可 1:可以
  10787. type: integer
  10788. caninamount2:
  10789. description: 是否可入金(网银端) - 0:不可 1:可以
  10790. type: integer
  10791. canmodifybankcard:
  10792. description: 是否可修改银行卡号 - 0:不可 1:可以
  10793. type: integer
  10794. canmodifyphone:
  10795. description: 是否可修改手机号 - 0:不可 1:可以
  10796. type: integer
  10797. canmodifysigninfo:
  10798. description: 是否可修改签约信息 - 0:不可 1:可以
  10799. type: integer
  10800. canoutamount:
  10801. description: 是否可出金 - 0:不可 1:可以
  10802. type: integer
  10803. canoutamount2:
  10804. description: 是否可出金(网银端) - 0:不可 1:可以
  10805. type: integer
  10806. canrelease:
  10807. description: 是否可解约 - 0:不可 1:可以
  10808. type: integer
  10809. canrelease2:
  10810. description: 是否可解约(网银端) - 0:不可 1:可以
  10811. type: integer
  10812. cansign:
  10813. description: 是否可签约 - 0:不可 1:可以
  10814. type: integer
  10815. cansign2:
  10816. description: 是否可签约(网银端) - 0:不可 1:可以
  10817. type: integer
  10818. currency:
  10819. description: 币种
  10820. type: string
  10821. cusbankid:
  10822. description: 托管银行编号(对应清算中心TRAN_NO)
  10823. type: string
  10824. cusbankname:
  10825. description: 银行业务名称
  10826. type: string
  10827. cusbankshortname:
  10828. description: 银行业务简称
  10829. type: string
  10830. exchbankid:
  10831. description: 交易所开户银行ID
  10832. type: string
  10833. exchpaybankaccname:
  10834. description: 交易所支出结算账户户名
  10835. type: string
  10836. exchpaybankaccno:
  10837. description: 交易所支出结算账户
  10838. type: string
  10839. isneedcheck:
  10840. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10841. type: integer
  10842. isneedclear:
  10843. description: 是否需要清算 - 0:不需要 1:需要
  10844. type: integer
  10845. lastcheckstatus:
  10846. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10847. type: integer
  10848. lastchecktime:
  10849. description: 最后对账时间
  10850. type: string
  10851. lastclearstatus:
  10852. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10853. type: integer
  10854. lastcleartime:
  10855. description: 最后清算时间
  10856. type: string
  10857. lastsignintime:
  10858. description: 最后签到时间
  10859. type: string
  10860. lastsignouttime:
  10861. description: 最后签退时间
  10862. type: string
  10863. riskinfo:
  10864. description: 签约风险提示书
  10865. type: string
  10866. signstatus:
  10867. description: 当前签到/签退状态 - 1:签到 2:签退
  10868. type: integer
  10869. tradedate:
  10870. description: 交易日(yyyyMMdd)
  10871. type: string
  10872. updatetime:
  10873. description: 当前签到/签退更新时间
  10874. type: string
  10875. type: object
  10876. models.QhjCustomer:
  10877. properties:
  10878. address:
  10879. description: 通讯地址
  10880. type: string
  10881. attachment1:
  10882. description: 附件1
  10883. type: string
  10884. audittime:
  10885. description: 审核时间
  10886. type: string
  10887. cardbackphotourl:
  10888. description: 证件反面图片地址
  10889. type: string
  10890. cardfrontphotourl:
  10891. description: 证件正面图片地址
  10892. type: string
  10893. cardnum:
  10894. description: 证件号码
  10895. type: string
  10896. cardtype:
  10897. description: 证件类型
  10898. type: integer
  10899. cardtypename:
  10900. description: 证件类型名称
  10901. type: string
  10902. cityid:
  10903. description: 市
  10904. type: integer
  10905. cityname:
  10906. description: 城市名称
  10907. type: string
  10908. contactname:
  10909. description: 联系人
  10910. type: string
  10911. countryid:
  10912. description: 国家
  10913. type: integer
  10914. countryname:
  10915. description: 国家名称
  10916. type: string
  10917. createtime:
  10918. description: 创建时间
  10919. type: string
  10920. customername:
  10921. description: 客户名称
  10922. type: string
  10923. districtid:
  10924. description: 区域
  10925. type: integer
  10926. districtname:
  10927. description: 地区名称
  10928. type: string
  10929. email:
  10930. description: 邮件
  10931. type: string
  10932. legalpersonname:
  10933. description: 法人姓名(企业)
  10934. type: string
  10935. logincode:
  10936. description: 登录账号(代码)
  10937. type: string
  10938. memberuserid:
  10939. description: 所属机构ID(所属会员)
  10940. type: integer
  10941. memberusername:
  10942. description: 所属会员名称
  10943. type: string
  10944. mobile:
  10945. description: 手机号码
  10946. type: string
  10947. modifytime:
  10948. description: 修改时间
  10949. type: string
  10950. nickname:
  10951. description: 昵称
  10952. type: string
  10953. parentuserid:
  10954. description: 上级机构(所属机构)
  10955. type: integer
  10956. parentusername:
  10957. description: 所属机构名称
  10958. type: string
  10959. provinceid:
  10960. description: 省
  10961. type: integer
  10962. provincename:
  10963. description: 省名称
  10964. type: string
  10965. proxystatementurl:
  10966. description: 授权委托书
  10967. type: string
  10968. remark:
  10969. description: 备注
  10970. type: string
  10971. status:
  10972. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10973. type: integer
  10974. statusdesc:
  10975. description: 账户状态中文描述
  10976. type: string
  10977. taxpayernum:
  10978. description: 纳税人识别号
  10979. type: string
  10980. telphone:
  10981. description: 联系电话
  10982. type: string
  10983. userid:
  10984. description: 用户ID
  10985. type: integer
  10986. userinfotype:
  10987. description: 客户类型 1-个人 2-企业
  10988. type: integer
  10989. username:
  10990. description: 用户名称
  10991. type: string
  10992. type: object
  10993. models.QhjCustomerSignLog:
  10994. properties:
  10995. agreementcontent:
  10996. description: 协议内容
  10997. type: string
  10998. agreementid:
  10999. description: 协议ID
  11000. type: integer
  11001. agreementname:
  11002. description: 协议名称
  11003. type: string
  11004. agreementno:
  11005. description: 协议编号
  11006. type: string
  11007. agreementtype:
  11008. description: 协议类型 - 1:注册 2:登录 3:交易
  11009. type: integer
  11010. agreementversion:
  11011. description: 协议版本号
  11012. type: integer
  11013. createtime:
  11014. description: 创建时间
  11015. type: string
  11016. goodscode:
  11017. description: 商品代码
  11018. type: string
  11019. goodsid:
  11020. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11021. type: integer
  11022. goodsname:
  11023. description: 商品名称
  11024. type: string
  11025. logid:
  11026. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11027. type: integer
  11028. nodetype:
  11029. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11030. type: integer
  11031. signadressurl:
  11032. description: 签约文件地址
  11033. type: string
  11034. signtimestamp:
  11035. description: 签约状态时间戳
  11036. type: string
  11037. userid:
  11038. description: 客户ID
  11039. type: integer
  11040. username:
  11041. description: 客户名称
  11042. type: string
  11043. type: object
  11044. models.QhjCustomerSignStatus:
  11045. properties:
  11046. createtime:
  11047. description: 创建时间
  11048. type: string
  11049. goodscode:
  11050. description: 商品代码
  11051. type: string
  11052. goodsid:
  11053. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11054. type: integer
  11055. goodsname:
  11056. description: 商品名称
  11057. type: string
  11058. nodetype:
  11059. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11060. type: integer
  11061. signtimestamp:
  11062. description: 签约状态时间戳
  11063. type: string
  11064. tradedate:
  11065. description: 创建交易日(yyyyMMdd)
  11066. type: string
  11067. updatetime:
  11068. description: 更新时间
  11069. type: string
  11070. userid:
  11071. description: 客户ID
  11072. type: integer
  11073. username:
  11074. description: 客户名称
  11075. type: string
  11076. type: object
  11077. models.QhjMgrAccountOutInApply:
  11078. properties:
  11079. accountcode:
  11080. description: 资金账号
  11081. type: string
  11082. accountname:
  11083. description: 用户名称(名称)
  11084. type: string
  11085. accountpwd:
  11086. description: 资金密码
  11087. type: string
  11088. accountticket:
  11089. description: 最新账户服务流水号
  11090. type: string
  11091. amount:
  11092. description: 金额
  11093. type: number
  11094. applyremark:
  11095. description: 申请备注
  11096. type: string
  11097. applystatus:
  11098. 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: 复审通过,账户冻结金额检查中;'
  11099. type: integer
  11100. auditid:
  11101. description: 审核人
  11102. type: integer
  11103. audittime:
  11104. description: 审核时间
  11105. type: string
  11106. bank_apply_ticket:
  11107. description: 银行申请流水
  11108. type: string
  11109. bankaccountname:
  11110. description: 银行账户名
  11111. type: string
  11112. bankaccountno:
  11113. description: 银行卡号
  11114. type: string
  11115. bankid:
  11116. description: 银行编号
  11117. type: string
  11118. bankname:
  11119. description: 银行名称
  11120. type: string
  11121. bankticket:
  11122. description: 银行流水
  11123. type: string
  11124. branchbankid:
  11125. description: 银行支行号
  11126. type: string
  11127. branchbankname:
  11128. description: 银行支行名称
  11129. type: string
  11130. capamountout:
  11131. description: 出金(劣后本金) - 外部子账户
  11132. type: number
  11133. certificatephotourl:
  11134. description: 凭证地址
  11135. type: string
  11136. charge:
  11137. description: 手续费
  11138. type: number
  11139. checkerrorflag:
  11140. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11141. type: integer
  11142. currency:
  11143. description: 币种
  11144. type: string
  11145. cusbankid:
  11146. description: 托管银行编号
  11147. type: string
  11148. exchticket:
  11149. description: 银行服务流水号
  11150. type: string
  11151. executetype:
  11152. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  11153. type: integer
  11154. extendinfo:
  11155. description: 扩展信息
  11156. type: string
  11157. extoperateid:
  11158. description: 交易服务流水号
  11159. type: integer
  11160. infamount:
  11161. description: 劣后金额(自有)
  11162. type: number
  11163. logincode:
  11164. description: 登录账号(账号)
  11165. type: string
  11166. netaddr:
  11167. description: 调转网址
  11168. type: string
  11169. priamount:
  11170. description: 优先金额(授信)
  11171. type: number
  11172. reauditid:
  11173. description: 复审人
  11174. type: integer
  11175. reauditremark:
  11176. description: 复审备注
  11177. type: string
  11178. reaudittime:
  11179. description: 复审时间
  11180. type: string
  11181. relatedorderid:
  11182. description: 三方关联ID
  11183. type: string
  11184. remark:
  11185. description: 备注
  11186. type: string
  11187. remark2:
  11188. description: 备注(失败原因)
  11189. type: string
  11190. soucreamount:
  11191. description: 原始出入金金额
  11192. type: number
  11193. soucrecurrencyid:
  11194. description: 原始出入金币种
  11195. type: integer
  11196. tradedate:
  11197. description: 交易日(yyyyMMdd)
  11198. type: string
  11199. updatetime:
  11200. description: 更新时间(申请时间)
  11201. type: string
  11202. userid:
  11203. description: 用户id
  11204. type: integer
  11205. userinfotype:
  11206. description: 账户类型 1-个人 2-企业
  11207. type: integer
  11208. type: object
  11209. models.QhjMgrBrokerApply:
  11210. properties:
  11211. applicantid:
  11212. description: 申请人
  11213. type: integer
  11214. applysrc:
  11215. description: 申请来源 - 1:管理端 2:终端
  11216. type: integer
  11217. applystatus:
  11218. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11219. type: integer
  11220. applytime:
  11221. description: 申请时间
  11222. type: string
  11223. auditorid:
  11224. description: 审核人
  11225. type: integer
  11226. auditremark:
  11227. description: 审核备注
  11228. type: string
  11229. auditsrc:
  11230. description: 审核来源 - 1:管理端 2:终端
  11231. type: integer
  11232. audittime:
  11233. description: 审核时间
  11234. type: string
  11235. audittradedate:
  11236. description: 审核交易日(yyyyMMdd)
  11237. type: string
  11238. brokerapplyid:
  11239. description: 申请ID(SEQ_BROKERAPPLY)
  11240. type: integer
  11241. cardbackphotourl:
  11242. description: 证件背面图片地址
  11243. type: string
  11244. cardfrontphotourl:
  11245. description: 证件正面图片地址
  11246. type: string
  11247. cardnum:
  11248. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11249. type: string
  11250. customername:
  11251. description: 姓名
  11252. type: string
  11253. filterstatus:
  11254. description: 筛选条件
  11255. type: string
  11256. logincode:
  11257. description: 登录代码
  11258. type: string
  11259. mobile:
  11260. description: 手机号码
  11261. type: string
  11262. parentuserid:
  11263. description: 所属机构id
  11264. type: integer
  11265. parentusername:
  11266. description: 所属机构名称
  11267. type: string
  11268. refereeuserid:
  11269. description: 推荐人id(经纪人)
  11270. type: integer
  11271. refernum:
  11272. description: 推荐码
  11273. type: string
  11274. remark:
  11275. description: 备注
  11276. type: string
  11277. subarealevelpath:
  11278. description: 层级路径
  11279. type: string
  11280. tradedate:
  11281. description: 交易日(yyyyMMdd)
  11282. type: string
  11283. userid:
  11284. description: 申请人用户ID
  11285. type: integer
  11286. userinfotype:
  11287. description: 用户类型 1-个人 2-企业
  11288. type: integer
  11289. username:
  11290. description: 用户名称
  11291. type: string
  11292. type: object
  11293. models.QhjMgrBrokerRewardReport:
  11294. properties:
  11295. createtime:
  11296. description: 创建时间(注册时间)
  11297. type: string
  11298. cycletime:
  11299. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11300. type: string
  11301. cycletype:
  11302. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11303. type: integer
  11304. directtotalnum:
  11305. description: 直推总人数【期末】
  11306. type: integer
  11307. indirecttotalnum:
  11308. description: 间推总人数【期末】
  11309. type: integer
  11310. mobile:
  11311. description: 电话号码
  11312. type: string
  11313. refereeuserid:
  11314. description: 推荐人id(经纪人id)
  11315. type: integer
  11316. refereeusername:
  11317. description: 推荐人名称(经纪人) 上级经纪人名称
  11318. type: string
  11319. refernum:
  11320. description: 推荐码
  11321. type: string
  11322. subarealevelpath:
  11323. description: 用户层级路径
  11324. type: string
  11325. todayrewardamount:
  11326. description: 奖励总金额【汇总】
  11327. type: number
  11328. updatetime:
  11329. description: 更新时间
  11330. type: string
  11331. userid:
  11332. description: 经纪人用户ID
  11333. type: integer
  11334. userinfotype:
  11335. description: 用户类型 1-个人 2-企业
  11336. type: integer
  11337. username:
  11338. description: 用户名称
  11339. type: string
  11340. type: object
  11341. models.QhjMgrContract:
  11342. properties:
  11343. contractconfirmtime:
  11344. description: 合同确认时间(时间)
  11345. type: string
  11346. currisklevel:
  11347. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11348. type: integer
  11349. decimalplace:
  11350. description: 商品报价小数位
  11351. type: integer
  11352. enumdicname:
  11353. description: 单位名称
  11354. type: string
  11355. goodscode:
  11356. description: 商品代码
  11357. type: string
  11358. goodsid:
  11359. description: 商品ID [5:融资单]
  11360. type: integer
  11361. goodsname:
  11362. description: 商品名称
  11363. type: string
  11364. goodunitid:
  11365. description: 商品单位id
  11366. type: integer
  11367. initmargin:
  11368. description: 初始保证金(首付款)
  11369. type: number
  11370. lenderamount:
  11371. description: 贷款金额(总额|订单总额)
  11372. type: number
  11373. logincode:
  11374. description: 账号(登录代码)
  11375. type: string
  11376. marginratio:
  11377. description: 保证金比率(首付比例)
  11378. type: number
  11379. mobile:
  11380. description: 电话号码(用户资料里的电话)
  11381. type: string
  11382. payamount:
  11383. description: 已付(已付货款)
  11384. type: number
  11385. reckonrecovermargin:
  11386. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11387. type: number
  11388. recoveredmargin:
  11389. description: 已追缴保证金
  11390. type: number
  11391. remainamount:
  11392. description: 合同剩余金额(融资额)
  11393. type: number
  11394. scfcontractid:
  11395. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11396. type: string
  11397. scfcontractstatus:
  11398. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  11399. type: integer
  11400. scfcontracttype:
  11401. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11402. type: integer
  11403. totalinterest:
  11404. description: 已计总利息(利息)
  11405. type: number
  11406. tradedate:
  11407. description: 交易日
  11408. type: string
  11409. tradeprice:
  11410. description: 成交价格(成本价格)
  11411. type: number
  11412. userid:
  11413. description: 用户ID
  11414. type: integer
  11415. userinfotype:
  11416. description: 用户类型 1-个人 2-企业
  11417. type: integer
  11418. username:
  11419. description: 用户名称
  11420. type: string
  11421. wrqty:
  11422. description: 仓单数量(数量)
  11423. type: number
  11424. type: object
  11425. models.QhjMgrCustomer:
  11426. properties:
  11427. address:
  11428. description: 通讯地址
  11429. type: string
  11430. attachment1:
  11431. description: 附件1
  11432. type: string
  11433. audittime:
  11434. description: 审核时间
  11435. type: string
  11436. birthday:
  11437. description: 生日
  11438. type: string
  11439. brokerid:
  11440. description: 所属客户经理id
  11441. type: integer
  11442. brokername:
  11443. description: 所属客户经理名称
  11444. type: string
  11445. cardbackphotourl:
  11446. description: 证件反面图片地址
  11447. type: string
  11448. cardfrontphotourl:
  11449. description: 证件正面图片地址
  11450. type: string
  11451. cardnum:
  11452. description: 证件号码
  11453. type: string
  11454. cardtype:
  11455. description: 证件类型
  11456. type: integer
  11457. cardtypename:
  11458. description: 证件类型名称
  11459. type: string
  11460. cityid:
  11461. description: 市
  11462. type: integer
  11463. cityname:
  11464. description: 城市名称
  11465. type: string
  11466. contactname:
  11467. description: 联系人
  11468. type: string
  11469. countryid:
  11470. description: 国家
  11471. type: integer
  11472. countryname:
  11473. description: 国家名称
  11474. type: string
  11475. createtime:
  11476. description: 创建时间
  11477. type: string
  11478. customername:
  11479. description: 客户名称
  11480. type: string
  11481. districtid:
  11482. description: 区域
  11483. type: integer
  11484. districtname:
  11485. description: 地区名称
  11486. type: string
  11487. email:
  11488. description: 邮件
  11489. type: string
  11490. legalpersonname:
  11491. description: 法人姓名(企业)
  11492. type: string
  11493. logincode:
  11494. description: 登录账号(代码)
  11495. type: string
  11496. memberuserid:
  11497. description: 所属机构ID(所属会员)
  11498. type: integer
  11499. memberusername:
  11500. description: 所属会员名称
  11501. type: string
  11502. mobile:
  11503. description: 手机号码
  11504. type: string
  11505. modifytime:
  11506. description: 修改时间
  11507. type: string
  11508. nickname:
  11509. description: 昵称
  11510. type: string
  11511. parentuserid:
  11512. description: 上级机构(所属机构)
  11513. type: integer
  11514. parentusername:
  11515. description: 所属机构名称
  11516. type: string
  11517. provinceid:
  11518. description: 省
  11519. type: integer
  11520. provincename:
  11521. description: 省名称
  11522. type: string
  11523. proxystatementurl:
  11524. description: 授权委托书
  11525. type: string
  11526. querytype:
  11527. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11528. type: integer
  11529. remark:
  11530. description: 备注
  11531. type: string
  11532. sex:
  11533. description: 性别 0-女 1-男
  11534. type: integer
  11535. status:
  11536. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11537. type: integer
  11538. statusdesc:
  11539. description: 账户状态中文描述
  11540. type: string
  11541. taxpayernum:
  11542. description: 纳税人识别号
  11543. type: string
  11544. telphone:
  11545. description: 联系电话
  11546. type: string
  11547. userid:
  11548. description: 用户ID
  11549. type: integer
  11550. userinfotype:
  11551. description: 客户类型 1-个人 2-企业
  11552. type: integer
  11553. username:
  11554. description: 用户名称
  11555. type: string
  11556. type: object
  11557. models.QhjMgrPickGoods:
  11558. properties:
  11559. enumdicname:
  11560. description: 单位名称(提货商品)
  11561. type: string
  11562. goodsid:
  11563. description: 商品id
  11564. type: integer
  11565. imageaddress:
  11566. description: 图片
  11567. type: string
  11568. modifierid:
  11569. description: 修改人
  11570. type: integer
  11571. modifiername:
  11572. description: 修改人名称
  11573. type: string
  11574. modifysrc:
  11575. description: 修改来源 - 1:管理端 2:终端
  11576. type: integer
  11577. pickupgoodsagreeunit:
  11578. description: 合约乘数
  11579. type: number
  11580. pickupgoodsdesc:
  11581. description: 描述
  11582. type: string
  11583. pickupgoodsid:
  11584. description: 提货商品ID
  11585. type: string
  11586. pickupgoodsname:
  11587. description: 提货商品名称
  11588. type: string
  11589. pickupgoodsstatus:
  11590. description: 状态 - 1:正常 2:停用 3:注销
  11591. type: integer
  11592. pickupgoodsunitid:
  11593. description: 单位ID
  11594. type: integer
  11595. pickupratio:
  11596. description: 提货系数
  11597. type: number
  11598. preparedays:
  11599. description: 备货期(天)
  11600. type: integer
  11601. remark:
  11602. description: 备注
  11603. type: string
  11604. updatetime:
  11605. description: 更新时间
  11606. type: string
  11607. type: object
  11608. models.QhjMgrPositionRsp:
  11609. properties:
  11610. accountid:
  11611. description: 账号Id
  11612. type: integer
  11613. accountname:
  11614. description: 用户名称
  11615. type: string
  11616. agreeunit:
  11617. description: 合约乘数
  11618. type: number
  11619. averageprice:
  11620. description: 均价
  11621. type: number
  11622. avialqty:
  11623. description: 可用数量
  11624. type: number
  11625. decimalplace:
  11626. description: 报价小数位
  11627. type: integer
  11628. enumdicname:
  11629. description: 单位名称(商品)
  11630. type: string
  11631. frozenqty:
  11632. description: 冻结数量
  11633. type: number
  11634. goodscode:
  11635. description: 商品代码(内部)
  11636. type: string
  11637. goodsid:
  11638. description: 商品Id
  11639. type: integer
  11640. goodsname:
  11641. description: 商品名称
  11642. type: string
  11643. goodunitid:
  11644. description: 报价单位ID
  11645. type: integer
  11646. holderamount:
  11647. description: 金额
  11648. type: number
  11649. holderqty:
  11650. description: 持有数量
  11651. type: number
  11652. holdertype:
  11653. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11654. type: integer
  11655. logincode:
  11656. description: 登录代码(账户)
  11657. type: string
  11658. marketid:
  11659. description: 市场id
  11660. type: integer
  11661. qtydecimalplace:
  11662. description: 成交量小数位
  11663. type: integer
  11664. trademode:
  11665. description: 交易模式
  11666. type: integer
  11667. userid:
  11668. description: 用户id
  11669. type: integer
  11670. userinfotype:
  11671. description: 账户类型 1-个人 2-企业
  11672. type: integer
  11673. type: object
  11674. models.QhjMgrSubArea:
  11675. properties:
  11676. accountname:
  11677. description: 账户名称(机构名称)
  11678. type: string
  11679. memberuserid:
  11680. description: 所属会员ID
  11681. type: integer
  11682. parenttopuser:
  11683. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11684. type: string
  11685. parentuserid:
  11686. description: 所属机构ID
  11687. type: integer
  11688. rootuserid:
  11689. description: 根用户ID
  11690. type: string
  11691. subaccountlevel:
  11692. description: 子账户层数
  11693. type: integer
  11694. subarealevelpath:
  11695. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11696. type: string
  11697. userid:
  11698. description: 用户ID
  11699. type: integer
  11700. usertype:
  11701. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11702. type: integer
  11703. type: object
  11704. models.QhjMgrTradeDetailRsp:
  11705. properties:
  11706. accountid:
  11707. description: 资金账号
  11708. type: integer
  11709. accountname:
  11710. description: 用户名称
  11711. type: string
  11712. agreeunit:
  11713. description: 合约乘数
  11714. type: number
  11715. buyorsell:
  11716. description: 成交类型(方向) 0:买 1:卖
  11717. type: integer
  11718. decimalplace:
  11719. description: 报价小数位
  11720. type: integer
  11721. enumdicname:
  11722. description: 单位名称(商品)
  11723. type: string
  11724. goodscode:
  11725. description: 商品代码(内部)
  11726. type: string
  11727. goodsid:
  11728. description: 商品id
  11729. type: integer
  11730. goodsname:
  11731. description: 商品名称
  11732. type: string
  11733. goodunitid:
  11734. description: 报价单位ID
  11735. type: integer
  11736. logincode:
  11737. description: 登录代码(账户)
  11738. type: string
  11739. marketid:
  11740. description: 市场id
  11741. type: integer
  11742. orderid:
  11743. description: 关联委托单号
  11744. type: string
  11745. qtydecimalplace:
  11746. description: 成交量小数位
  11747. type: integer
  11748. tradeamount:
  11749. description: 金额
  11750. type: number
  11751. tradedate:
  11752. description: 交易日
  11753. type: string
  11754. tradeid:
  11755. description: 成交单号
  11756. type: string
  11757. trademode:
  11758. description: 交易模式
  11759. type: integer
  11760. tradeprice:
  11761. description: 价格
  11762. type: number
  11763. tradeqty:
  11764. description: 数量
  11765. type: number
  11766. tradetime:
  11767. description: 成交时间
  11768. type: string
  11769. userid:
  11770. description: 用户id
  11771. type: integer
  11772. userinfotype:
  11773. description: 账户类型 1-个人 2-企业
  11774. type: integer
  11775. type: object
  11776. models.QhjMgrTradeOrderDetailRsp:
  11777. properties:
  11778. accountid:
  11779. description: 资金账号
  11780. type: integer
  11781. accountname:
  11782. description: 用户名称
  11783. type: string
  11784. agreeunit:
  11785. description: 合约乘数
  11786. type: number
  11787. amount:
  11788. description: 金额
  11789. type: number
  11790. decimalplace:
  11791. description: 报价小数位
  11792. type: integer
  11793. enumdicname:
  11794. description: 单位名称(商品)
  11795. type: string
  11796. goodscode:
  11797. description: 商品代码(内部)
  11798. type: string
  11799. goodsid:
  11800. description: 商品id
  11801. type: integer
  11802. goodsname:
  11803. description: 商品名称
  11804. type: string
  11805. goodunitid:
  11806. description: 报价单位ID
  11807. type: integer
  11808. logincode:
  11809. description: 登录代码(账户)
  11810. type: string
  11811. marketid:
  11812. description: 市场id
  11813. type: integer
  11814. orderid:
  11815. description: 关联委托单号
  11816. type: string
  11817. orderprice:
  11818. description: 价格
  11819. type: number
  11820. orderqty:
  11821. description: 数量
  11822. type: number
  11823. orderstatus:
  11824. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  11825. type: integer
  11826. ordertime:
  11827. description: 委托时间
  11828. type: string
  11829. qtydecimalplace:
  11830. description: 成交量小数位
  11831. type: integer
  11832. tradedate:
  11833. description: 交易日
  11834. type: string
  11835. trademode:
  11836. description: 交易模式
  11837. type: integer
  11838. userid:
  11839. description: 用户id
  11840. type: integer
  11841. userinfotype:
  11842. description: 账户类型 1-个人 2-企业
  11843. type: integer
  11844. type: object
  11845. models.QhjMgrTradePayOrder:
  11846. properties:
  11847. accountname:
  11848. description: 用户名称
  11849. type: string
  11850. advanceratio:
  11851. description: 首付比率
  11852. type: number
  11853. agreeunit:
  11854. description: 合约乘数
  11855. type: number
  11856. buyaccountid:
  11857. description: 买方账号ID[报价币种]
  11858. type: integer
  11859. buyorderid:
  11860. description: 买方委托单号(关联单号)
  11861. type: string
  11862. createtime:
  11863. description: 创建时间
  11864. type: string
  11865. decimalplace:
  11866. description: 报价小数位
  11867. type: integer
  11868. enumdicname:
  11869. description: 单位名称(商品)
  11870. type: string
  11871. goodscode:
  11872. description: 商品代码(内部)
  11873. type: string
  11874. goodsid:
  11875. description: 商品ID
  11876. type: integer
  11877. goodsname:
  11878. description: 商品名称
  11879. type: string
  11880. goodunitid:
  11881. description: 报价单位ID
  11882. type: integer
  11883. logincode:
  11884. description: 登录代码(账户)
  11885. type: string
  11886. marketid:
  11887. description: 市场id
  11888. type: integer
  11889. offamount:
  11890. description: 优惠金额
  11891. type: number
  11892. operatetype:
  11893. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11894. type: integer
  11895. payamount:
  11896. description: 支付金额(金额)
  11897. type: number
  11898. payflag:
  11899. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11900. type: integer
  11901. paylimitedtime:
  11902. description: 支付期限
  11903. type: string
  11904. paytime:
  11905. description: 付款时间
  11906. type: string
  11907. qtydecimalplace:
  11908. description: 成交量小数位
  11909. type: integer
  11910. sellaccountid:
  11911. description: 卖方账号ID[报价币种]
  11912. type: integer
  11913. sellorderid:
  11914. description: 卖方委托单号
  11915. type: string
  11916. tradeamount:
  11917. description: 成交金额(优惠后金额)
  11918. type: number
  11919. tradecharge:
  11920. description: 成交手续费(买方)
  11921. type: number
  11922. tradedate:
  11923. description: 交易日(yyyyMMdd)
  11924. type: string
  11925. tradeid:
  11926. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11927. type: string
  11928. trademode:
  11929. description: 交易模式
  11930. type: integer
  11931. tradeprice:
  11932. description: 成交价格(价格)
  11933. type: number
  11934. tradeqty:
  11935. description: 成交数量(数量)
  11936. type: number
  11937. tradetime:
  11938. description: 成交时间
  11939. type: string
  11940. userid:
  11941. description: 用户id
  11942. type: integer
  11943. userinfotype:
  11944. description: 账户类型 1-个人 2-企业
  11945. type: integer
  11946. type: object
  11947. models.QhjMyTeamEx:
  11948. properties:
  11949. accountname:
  11950. description: 用户名称
  11951. type: string
  11952. accountstatus:
  11953. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11954. type: integer
  11955. createtime:
  11956. description: 创建时间
  11957. type: string
  11958. mobile:
  11959. description: 手机号码
  11960. type: string
  11961. refereeuserid:
  11962. description: 推荐人id
  11963. type: integer
  11964. refernum:
  11965. description: 推荐码
  11966. type: string
  11967. subList:
  11968. items:
  11969. $ref: '#/definitions/models.QhjMyTeamEx'
  11970. type: array
  11971. userid:
  11972. description: 用户id
  11973. type: integer
  11974. userinfotype:
  11975. description: 用户类型 1-个人 2-企业
  11976. type: integer
  11977. type: object
  11978. models.QhjNodeAgreementConfig:
  11979. properties:
  11980. agreementcontent:
  11981. description: 协议内容
  11982. type: string
  11983. agreementid:
  11984. description: 协议ID
  11985. type: integer
  11986. agreementname:
  11987. description: 协议名称
  11988. type: string
  11989. agreementno:
  11990. description: 协议编号
  11991. type: string
  11992. agreementtype:
  11993. description: 协议类型 - 1:注册 2:登录 3:交易
  11994. type: integer
  11995. agreementversion:
  11996. description: 协议版本号
  11997. type: integer
  11998. configid:
  11999. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12000. type: integer
  12001. createtime:
  12002. description: 创建时间
  12003. type: string
  12004. goodsid:
  12005. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12006. type: integer
  12007. nodetype:
  12008. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12009. type: integer
  12010. type: object
  12011. models.QhjParentAreaList:
  12012. properties:
  12013. accountname:
  12014. description: 账户名称(机构名称)
  12015. type: string
  12016. userid:
  12017. description: 用户ID
  12018. type: integer
  12019. usertype:
  12020. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12021. type: integer
  12022. type: object
  12023. models.QhjPayOrder:
  12024. properties:
  12025. advanceratio:
  12026. description: 首付比率
  12027. type: number
  12028. buyaccountid:
  12029. description: 买方账号ID[报价币种]
  12030. type: integer
  12031. buyorderid:
  12032. description: 买方委托单号
  12033. type: string
  12034. createtime:
  12035. description: 创建时间
  12036. type: string
  12037. decimalplace:
  12038. description: 商品报价小数位
  12039. type: integer
  12040. enumdicname:
  12041. description: 单位名称
  12042. type: string
  12043. goodscode:
  12044. description: 商品代码
  12045. type: string
  12046. goodsid:
  12047. description: 商品ID
  12048. type: integer
  12049. goodsname:
  12050. description: 商品名称
  12051. type: string
  12052. goodunitid:
  12053. description: 商品单位id
  12054. type: integer
  12055. marketid:
  12056. description: 市场ID
  12057. type: integer
  12058. offamount:
  12059. description: 优惠金额
  12060. type: number
  12061. operatetype:
  12062. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12063. type: integer
  12064. payamount:
  12065. description: 支付金额
  12066. type: number
  12067. payflag:
  12068. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12069. type: integer
  12070. paylimitedtime:
  12071. description: 支付期限
  12072. type: string
  12073. paytime:
  12074. description: 付款时间
  12075. type: string
  12076. qtydecimalplace:
  12077. description: 成交量小数位
  12078. type: integer
  12079. sellaccountid:
  12080. description: 卖方账号ID[报价币种]
  12081. type: integer
  12082. sellorderid:
  12083. description: 卖方委托单号
  12084. type: string
  12085. tradeamount:
  12086. description: 成交金额(优惠后金额)
  12087. type: number
  12088. tradecharge:
  12089. description: 成交手续费(买方)
  12090. type: number
  12091. tradedate:
  12092. description: 交易日(yyyyMMdd)
  12093. type: string
  12094. tradeid:
  12095. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12096. type: string
  12097. tradeprice:
  12098. description: 成交价格
  12099. type: number
  12100. tradeqty:
  12101. description: 成交数量
  12102. type: number
  12103. type: object
  12104. models.QhjPickArea:
  12105. properties:
  12106. address:
  12107. description: 详细地址
  12108. type: string
  12109. cityid:
  12110. description: 市
  12111. type: integer
  12112. cityname:
  12113. description: 城市名称
  12114. type: string
  12115. countryid:
  12116. description: 国家
  12117. type: integer
  12118. countryname:
  12119. description: 国家名称
  12120. type: string
  12121. districtid:
  12122. description: 地区
  12123. type: integer
  12124. districtname:
  12125. description: 地区名称
  12126. type: string
  12127. fromuserid:
  12128. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12129. type: integer
  12130. fromusername:
  12131. description: 所属机构名称
  12132. type: string
  12133. provinceid:
  12134. description: 省
  12135. type: integer
  12136. provincename:
  12137. description: 省名称
  12138. type: string
  12139. suborgtype:
  12140. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12141. type: integer
  12142. userid:
  12143. description: 机构用户ID 其他做市关系,都设置为 1
  12144. type: integer
  12145. username:
  12146. description: 机构用户名称(门店门称)
  12147. type: string
  12148. type: object
  12149. models.QhjPickGoods:
  12150. properties:
  12151. enumdicname:
  12152. description: 单位名称(提货商品)
  12153. type: string
  12154. goodsid:
  12155. description: 商品id
  12156. type: integer
  12157. imageaddress:
  12158. description: 图片
  12159. type: string
  12160. modifierid:
  12161. description: 修改人
  12162. type: integer
  12163. modifiername:
  12164. description: 修改人名称
  12165. type: string
  12166. modifysrc:
  12167. description: 修改来源 - 1:管理端 2:终端
  12168. type: integer
  12169. pickupgoodsagreeunit:
  12170. description: 合约乘数
  12171. type: number
  12172. pickupgoodsdesc:
  12173. description: 描述
  12174. type: string
  12175. pickupgoodsid:
  12176. description: 提货商品ID
  12177. type: string
  12178. pickupgoodsname:
  12179. description: 提货商品名称
  12180. type: string
  12181. pickupgoodsstatus:
  12182. description: 状态 - 1:正常 2:停用 3:注销
  12183. type: integer
  12184. pickupgoodsunitid:
  12185. description: 单位ID
  12186. type: integer
  12187. pickupratio:
  12188. description: 提货系数
  12189. type: number
  12190. preparedays:
  12191. description: 备货期(天)
  12192. type: integer
  12193. remark:
  12194. description: 备注
  12195. type: string
  12196. updatetime:
  12197. description: 更新时间
  12198. type: string
  12199. type: object
  12200. models.QhjRSTriggerLog:
  12201. properties:
  12202. accountid:
  12203. description: 用户资金账户
  12204. type: integer
  12205. accountname:
  12206. description: 账号名称(ACCOUNTID对应的名称)
  12207. type: string
  12208. currencyid:
  12209. description: 币种id
  12210. type: integer
  12211. currencyname:
  12212. description: 币种名称
  12213. type: string
  12214. decimalplace:
  12215. description: 商品报价小数位
  12216. type: integer
  12217. enumdicname:
  12218. description: 单位名称
  12219. type: string
  12220. goodscode:
  12221. description: 定投商品代码
  12222. type: string
  12223. goodsid:
  12224. description: 定投商品ID
  12225. type: integer
  12226. goodsname:
  12227. description: 定投商品名称
  12228. type: string
  12229. goodunitid:
  12230. description: 定投商品单位id
  12231. type: integer
  12232. logid:
  12233. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12234. type: string
  12235. logincode:
  12236. description: 账号(登录代码)
  12237. type: string
  12238. qtydecimalplace:
  12239. description: 成交量小数位
  12240. type: integer
  12241. regularlycycle:
  12242. description: 定投频率 - 1:每周 2:每月
  12243. type: integer
  12244. regularlycyclevalue:
  12245. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12246. type: string
  12247. regularlymode:
  12248. description: 定投方式 - 1:按数量 2:按金额
  12249. type: integer
  12250. regularlymodevalue:
  12251. description: 定投方式值 - 数量或金额
  12252. type: number
  12253. regularlystrategyid:
  12254. description: 定投策略ID
  12255. type: integer
  12256. retcode:
  12257. description: 错误码
  12258. type: string
  12259. tradeid:
  12260. description: 成交单ID
  12261. type: string
  12262. triggeramount:
  12263. description: 触发金额
  12264. type: number
  12265. triggerqty:
  12266. description: 触发数量
  12267. type: number
  12268. triggerstatus:
  12269. description: 触发状态 - 1:成功 2:失败
  12270. type: integer
  12271. triggertime:
  12272. description: 触发时间
  12273. type: string
  12274. triggertradedate:
  12275. description: 触发交易日
  12276. type: string
  12277. userid:
  12278. description: 所属用户ID
  12279. type: integer
  12280. userinfotype:
  12281. description: 用户类型 1-个人 2-企业
  12282. type: integer
  12283. username:
  12284. description: 用户名称(userid对应的名称)
  12285. type: string
  12286. type: object
  12287. models.QhjRStrategy:
  12288. properties:
  12289. accountid:
  12290. description: 用户资金账户
  12291. type: integer
  12292. accountname:
  12293. description: 账号名称(ACCOUNTID对应的名称)
  12294. type: string
  12295. currencyid:
  12296. description: 币种id
  12297. type: integer
  12298. currencyname:
  12299. description: 币种名称
  12300. type: string
  12301. decimalplace:
  12302. description: 商品报价小数位
  12303. type: integer
  12304. enumdicname:
  12305. description: 单位名称
  12306. type: string
  12307. goodscode:
  12308. description: 定投商品代码
  12309. type: string
  12310. goodsid:
  12311. description: 定投商品ID
  12312. type: integer
  12313. goodsname:
  12314. description: 定投商品名称
  12315. type: string
  12316. goodunitid:
  12317. description: 定投商品单位id
  12318. type: integer
  12319. lasteffecttradedate:
  12320. description: 最新生效交易日
  12321. type: string
  12322. laststoptradedate:
  12323. description: 最新暂停交易日
  12324. type: string
  12325. lasttriggertradedate:
  12326. description: 最新触发交易日
  12327. type: string
  12328. logincode:
  12329. description: 账号(登录代码)
  12330. type: string
  12331. nexttriggeramount:
  12332. description: 下次触发金额
  12333. type: number
  12334. nexttriggerdate:
  12335. description: 下次触发日期
  12336. type: string
  12337. nexttriggerqty:
  12338. description: 下次触发数量 [按小数位放大值]
  12339. type: number
  12340. qtydecimalplace:
  12341. description: 成交量小数位
  12342. type: integer
  12343. regularlycycle:
  12344. description: 定投频率 - 1:每周 2:每月
  12345. type: integer
  12346. regularlycyclevalue:
  12347. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12348. type: string
  12349. regularlymode:
  12350. description: 定投方式 - 1:按数量 2:按金额
  12351. type: integer
  12352. regularlymodevalue:
  12353. description: 定投方式值 - 数量或金额
  12354. type: number
  12355. regularlystrategyid:
  12356. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12357. type: integer
  12358. regularlystrategystatus:
  12359. description: 策略状态 - 1:正常 2:暂停 3:终止
  12360. type: integer
  12361. remark:
  12362. description: 备注
  12363. type: string
  12364. triggersuccesstimes:
  12365. description: 累计定投成功次数
  12366. type: string
  12367. triggertotalamount:
  12368. description: 累计定投金额(成功)
  12369. type: number
  12370. triggertotalqty:
  12371. description: 累计定投数量(成功) [按小数位放大值]
  12372. type: number
  12373. triggertotaltimes:
  12374. description: 累计定投总次数
  12375. type: string
  12376. updatesrc:
  12377. description: 更新来源 - 1:管理端 2:终端
  12378. type: integer
  12379. updatetime:
  12380. description: 更新时间
  12381. type: string
  12382. updatorid:
  12383. description: 更新人
  12384. type: string
  12385. userid:
  12386. description: 所属用户ID
  12387. type: integer
  12388. userinfotype:
  12389. description: 用户类型 1-个人 2-企业
  12390. type: integer
  12391. username:
  12392. description: 用户名称(userid对应的名称)
  12393. type: string
  12394. type: object
  12395. models.QhjReckonPriceLog:
  12396. properties:
  12397. decimalplace:
  12398. description: 商品报价小数位
  12399. type: integer
  12400. goodscode:
  12401. description: 商品代码
  12402. type: string
  12403. goodsid:
  12404. description: 商品ID
  12405. type: integer
  12406. goodsname:
  12407. description: 商品名称
  12408. type: string
  12409. lastreckonprice:
  12410. description: 上日结算价
  12411. type: number
  12412. nextdnlimitprice:
  12413. description: 下个交易日跌停价
  12414. type: number
  12415. nexttrade:
  12416. description: 下个交易日
  12417. type: string
  12418. nextuplimitprice:
  12419. description: 下个交易日涨停价
  12420. type: number
  12421. reckonprice:
  12422. description: 今日结算价(定投价)
  12423. type: number
  12424. reckontime:
  12425. description: 结算时间
  12426. type: string
  12427. totalholderqty:
  12428. description: 总持仓数
  12429. type: integer
  12430. totalstock:
  12431. description: 总库存
  12432. type: integer
  12433. tradedate:
  12434. description: 交易日
  12435. type: string
  12436. updowncount:
  12437. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12438. type: integer
  12439. updownflag:
  12440. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12441. type: integer
  12442. updownrate:
  12443. description: 今日涨跌幅
  12444. type: number
  12445. updownrate_2d:
  12446. description: 连续两日涨跌幅
  12447. type: number
  12448. updownrate_3d:
  12449. description: 连续三日涨跌幅
  12450. type: number
  12451. type: object
  12452. models.QhjScoreLog:
  12453. properties:
  12454. accountid:
  12455. description: 账户ID
  12456. type: integer
  12457. createtime:
  12458. description: 创建时间(时间)
  12459. type: string
  12460. goodsid:
  12461. description: 商品ID
  12462. type: integer
  12463. hasuploaded:
  12464. description: 是否已同步(千海金) 0:未同步 1;已同步
  12465. type: integer
  12466. logid:
  12467. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12468. type: string
  12469. marketid:
  12470. description: 市场ID
  12471. type: integer
  12472. relatedamount:
  12473. description: 关联金额
  12474. type: number
  12475. relatedorderid:
  12476. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12477. type: string
  12478. scoreconfigvalue1:
  12479. description: 积分配置1
  12480. type: integer
  12481. scoreconfigvalue2:
  12482. description: 积分配置1
  12483. type: integer
  12484. scoretype:
  12485. description: 积分类型 - 1:提货积分
  12486. type: integer
  12487. scorevalue:
  12488. description: 积分
  12489. type: number
  12490. tradedate:
  12491. description: 交易日(yyyyMMdd)
  12492. type: string
  12493. uploadedtime:
  12494. description: 同步时间
  12495. type: string
  12496. userid:
  12497. description: 用户ID
  12498. type: integer
  12499. type: object
  12500. models.QhjSiteColumnDetail:
  12501. properties:
  12502. author:
  12503. description: 作者
  12504. type: string
  12505. brief:
  12506. description: 简介
  12507. type: string
  12508. columnid:
  12509. description: 所属栏目
  12510. type: integer
  12511. context:
  12512. description: 内容
  12513. type: string
  12514. coverimage:
  12515. description: 封面图片
  12516. type: string
  12517. creaedate:
  12518. description: 创建时间
  12519. type: string
  12520. creatorid:
  12521. description: 创建人
  12522. type: integer
  12523. hits:
  12524. description: 点击数
  12525. type: integer
  12526. id:
  12527. description: ID(SEQ_SITE_COLUMNDETAIL)
  12528. type: integer
  12529. isshow:
  12530. description: 是否展示 - 0:不展示 1:展示
  12531. type: integer
  12532. istop:
  12533. description: 是否置顶 - 0:不置 1:置顶
  12534. type: integer
  12535. modifierid:
  12536. description: 操作人
  12537. type: integer
  12538. publishdate:
  12539. description: 发布日期
  12540. type: string
  12541. status:
  12542. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12543. type: integer
  12544. title:
  12545. description: 标题
  12546. type: string
  12547. updatedate:
  12548. description: 修改时间
  12549. type: string
  12550. userid:
  12551. description: 用户ID(默认为0, 核心为为机构用户ID)
  12552. type: integer
  12553. username:
  12554. description: 用户名称
  12555. type: string
  12556. type: object
  12557. models.QhjTeamOrder:
  12558. properties:
  12559. accountid:
  12560. description: 账户ID[报价币种]
  12561. type: integer
  12562. accountname:
  12563. description: 账户名称
  12564. type: string
  12565. agreeunit:
  12566. description: 合约乘数
  12567. type: number
  12568. buyorsell:
  12569. description: 方向 - 0:买 1:卖
  12570. type: integer
  12571. decimalplace:
  12572. description: 报价小数位
  12573. type: integer
  12574. enumdicname:
  12575. description: 单位名称
  12576. type: string
  12577. goodscode:
  12578. description: 商品代码(内部)
  12579. type: string
  12580. goodsid:
  12581. description: 商品ID
  12582. type: integer
  12583. goodsname:
  12584. description: 商品名称
  12585. type: string
  12586. goodunitid:
  12587. description: 报价单位ID
  12588. type: integer
  12589. marketid:
  12590. description: 市场ID
  12591. type: integer
  12592. marketname:
  12593. description: 市场名称
  12594. type: string
  12595. qtydecimalplace:
  12596. description: 成交量小数位
  12597. type: integer
  12598. refereeuserid:
  12599. description: 推荐人ID
  12600. type: integer
  12601. tradeamount:
  12602. description: 成交金额[账户币种,用于所有权]
  12603. type: number
  12604. tradedate:
  12605. description: 交易日(yyyyMMdd)
  12606. type: string
  12607. trademode:
  12608. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  12609. type: integer
  12610. tradeprice:
  12611. description: 成交价格
  12612. type: number
  12613. tradeqty:
  12614. description: 成交数量
  12615. type: number
  12616. tradetime:
  12617. description: 成交时间
  12618. type: string
  12619. userid:
  12620. description: 用户ID
  12621. type: integer
  12622. type: object
  12623. models.QhjTradeGoodsPickup:
  12624. properties:
  12625. accountid:
  12626. description: 账户ID
  12627. type: integer
  12628. address:
  12629. description: 提货人详细地址
  12630. type: string
  12631. amount:
  12632. description: 提货金额
  12633. type: number
  12634. artradedate:
  12635. description: 自动收货交易日(yyyyMMdd)
  12636. type: string
  12637. auditer:
  12638. description: 审核人
  12639. type: integer
  12640. auditsrc:
  12641. description: 更新来源 - 1:管理端 2:终端
  12642. type: integer
  12643. audittime:
  12644. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12645. type: string
  12646. audittradedate:
  12647. description: 审核交易日(yyyyMMdd)
  12648. type: string
  12649. cardnum:
  12650. description: 提货人证件号码
  12651. type: string
  12652. cardtypeid:
  12653. description: 提货人证件类型
  12654. type: integer
  12655. checkremark:
  12656. description: 审核备注
  12657. type: string
  12658. cityid:
  12659. description: 市
  12660. type: integer
  12661. cityname:
  12662. description: 城市名称
  12663. type: string
  12664. confirmtime:
  12665. description: 取货时间 或 收货时间
  12666. type: string
  12667. countryid:
  12668. description: 国家
  12669. type: integer
  12670. countryname:
  12671. description: 国家名称
  12672. type: string
  12673. decimalplace:
  12674. description: 商品报价小数位
  12675. type: integer
  12676. districtid:
  12677. description: 地区
  12678. type: integer
  12679. districtname:
  12680. description: 地区名称
  12681. type: string
  12682. enumdicname:
  12683. description: 单位名称(提货商品)
  12684. type: string
  12685. expresscompany:
  12686. description: 物流公司
  12687. type: string
  12688. expressnum:
  12689. description: 物流单号
  12690. type: string
  12691. goodsagreeunit:
  12692. description: 交易商品乘数
  12693. type: number
  12694. goodscode:
  12695. description: 商品代码
  12696. type: string
  12697. goodsid:
  12698. description: 商品ID
  12699. type: integer
  12700. goodsname:
  12701. description: 商品名称
  12702. type: string
  12703. goodsqty:
  12704. description: 交易商品手数(69模式按成交量小数位放大取整)
  12705. type: number
  12706. handlestatus:
  12707. description: 处理状态
  12708. type: integer
  12709. logincode:
  12710. description: 账号(登录代码, 有可能为空)
  12711. type: string
  12712. marketid:
  12713. description: 市场ID
  12714. type: integer
  12715. phonenum:
  12716. description: 提货人联系方式
  12717. type: string
  12718. pickupgoodsagreeunit:
  12719. description: 提货商品合约乘数
  12720. type: number
  12721. pickupgoodsid:
  12722. description: 提货商品ID
  12723. type: string
  12724. pickupgoodsname:
  12725. description: 提货商品名称
  12726. type: string
  12727. pickupgoodsqty:
  12728. description: 提货商品手数(数量)
  12729. type: number
  12730. pickupgoodsunitid:
  12731. description: 单位ID(提货商品)
  12732. type: integer
  12733. pickupratio:
  12734. description: 提货系数
  12735. type: number
  12736. preparedays:
  12737. description: 备货期(天)-提货单明细表
  12738. type: integer
  12739. provinceid:
  12740. description: 省
  12741. type: integer
  12742. provincename:
  12743. description: 省名称
  12744. type: string
  12745. qty:
  12746. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12747. type: number
  12748. qtydecimalplace:
  12749. description: 商品数量小数位
  12750. type: integer
  12751. recivername:
  12752. description: 提货人姓名
  12753. type: string
  12754. reqtime:
  12755. description: 提货申请时间
  12756. type: string
  12757. storeuserid:
  12758. description: 门店用户ID (千海金)
  12759. type: integer
  12760. storeusername:
  12761. description: 门店用户名称
  12762. type: string
  12763. takemode:
  12764. description: 提货方式 - 2:自提 3:配送(邮寄)
  12765. type: integer
  12766. takeorderid:
  12767. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12768. type: string
  12769. takeorderstatus:
  12770. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  12771. type: integer
  12772. takeremark:
  12773. description: 提货备注
  12774. type: string
  12775. tradedate:
  12776. description: 交易日(yyyyMMdd)
  12777. type: string
  12778. updatetime:
  12779. description: 更新时间
  12780. type: string
  12781. userid:
  12782. description: 用户ID
  12783. type: integer
  12784. userinfotype:
  12785. description: 客户类型 1-个人 2-企业
  12786. type: integer
  12787. username:
  12788. description: 用户名称
  12789. type: string
  12790. type: object
  12791. models.QhjUserNodeCfgAndStatus:
  12792. properties:
  12793. agreementcontent:
  12794. description: 协议内容
  12795. type: string
  12796. agreementid:
  12797. description: 协议ID
  12798. type: integer
  12799. agreementname:
  12800. description: 协议名称
  12801. type: string
  12802. agreementno:
  12803. description: 协议编号
  12804. type: string
  12805. agreementtype:
  12806. description: 协议类型 - 1:注册 2:登录 3:交易
  12807. type: integer
  12808. agreementversion:
  12809. description: 协议版本号
  12810. type: integer
  12811. configid:
  12812. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12813. type: integer
  12814. createtime:
  12815. description: 创建时间
  12816. type: string
  12817. goodsid:
  12818. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12819. type: integer
  12820. nodetype:
  12821. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12822. type: integer
  12823. signtimestamp:
  12824. description: 签约状态时间戳(最近一次)
  12825. type: string
  12826. tradedate:
  12827. description: 签约交易日(yyyyMMdd)
  12828. type: string
  12829. userid:
  12830. description: 客户ID
  12831. type: integer
  12832. type: object
  12833. models.Qhjgoodsex:
  12834. properties:
  12835. canfinance:
  12836. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12837. type: integer
  12838. canregularlybuy:
  12839. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12840. type: integer
  12841. defaulttradeuserid:
  12842. description: 默认交易用户ID
  12843. type: integer
  12844. deliverygoodsid:
  12845. description: 现货品种ID
  12846. type: integer
  12847. goodsid:
  12848. description: 商品ID(自增ID SEQ_GOODS)
  12849. type: integer
  12850. minamount:
  12851. description: 最小购买金额
  12852. type: number
  12853. regularlybuyminamount:
  12854. description: 定投最小金额
  12855. type: number
  12856. regularlybuyminqty:
  12857. description: 定投最小数量
  12858. type: number
  12859. spotgoodsbrandid:
  12860. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12861. type: integer
  12862. visibilityforenterprise:
  12863. description: 企业客户是否可见 - 0:不可见 1:可见
  12864. type: integer
  12865. visibilityforpersonal:
  12866. description: 个人客户是否可见 - 0:不可见 1:可见
  12867. type: integer
  12868. wrstandardid:
  12869. description: 现货商品ID
  12870. type: integer
  12871. type: object
  12872. models.QueryErrorInfosRsp:
  12873. properties:
  12874. description:
  12875. description: 异常描述
  12876. type: string
  12877. errorcode:
  12878. description: 异常代码
  12879. type: string
  12880. errorid:
  12881. description: 异常ID
  12882. type: integer
  12883. modulecode:
  12884. description: 所属模块
  12885. type: string
  12886. operatecode:
  12887. description: 所属操作
  12888. type: string
  12889. rownumber:
  12890. description: 行号
  12891. type: string
  12892. required:
  12893. - errorid
  12894. type: object
  12895. models.QueryHedgeOrderDetailRsp:
  12896. properties:
  12897. accountid:
  12898. description: 账户ID
  12899. type: integer
  12900. buyorsell:
  12901. description: 买卖 - 0:买 1:卖
  12902. type: integer
  12903. cancellogincode:
  12904. description: 撤单人
  12905. type: string
  12906. channelbuildtype:
  12907. description: 开平标志 - 0:无 1:建仓 2:平仓
  12908. type: integer
  12909. channelinnerorderstatus:
  12910. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交
  12911. type: integer
  12912. channeloperatetype:
  12913. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12914. type: integer
  12915. closetype:
  12916. description: 平仓方式 - 0:无 1:平今 2:平昨
  12917. type: integer
  12918. curexchangerate:
  12919. description: 当前汇率
  12920. type: number
  12921. exchangefullname:
  12922. description: 外部交易所全称
  12923. type: string
  12924. goodscode:
  12925. description: 商品代码(内部)
  12926. type: string
  12927. goodsid:
  12928. description: 商品ID
  12929. type: integer
  12930. goodsname:
  12931. description: 商品名称
  12932. type: string
  12933. marketid:
  12934. description: 市场ID
  12935. type: integer
  12936. openfreezemargin:
  12937. description: 冻结保证金(冻结交易金额)
  12938. type: number
  12939. orderid:
  12940. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12941. type: string
  12942. orderlogincode:
  12943. description: 委托人
  12944. type: string
  12945. orderprice:
  12946. description: 委托价格(账户)
  12947. type: number
  12948. orderqty:
  12949. description: 委托数量
  12950. type: integer
  12951. ordertime:
  12952. description: 委托时间
  12953. type: string
  12954. pricemode:
  12955. description: '取价方式 - 1:市价 2: 限价'
  12956. type: integer
  12957. tradedate:
  12958. description: 交易日(yyyyMMdd)
  12959. type: string
  12960. tradeqty:
  12961. description: 成交数量
  12962. type: integer
  12963. type: object
  12964. models.QueryHedgeTradeDetailRsp:
  12965. properties:
  12966. accountid:
  12967. description: 账号ID
  12968. type: integer
  12969. buyorsell:
  12970. description: 方向 - 0:买 1:卖
  12971. type: integer
  12972. channelbuildtype:
  12973. description: 委托单据类型 0:无 1:建仓 2:平仓
  12974. type: integer
  12975. closecharge:
  12976. description: 平仓手续费(账户)
  12977. type: number
  12978. closecharge2:
  12979. description: 平仓手续费(商品)
  12980. type: number
  12981. closepl:
  12982. description: 平仓盈亏(账户)
  12983. type: number
  12984. closepl2:
  12985. description: 平仓盈亏(商品)
  12986. type: number
  12987. closepl3:
  12988. description: 平仓盈亏(账户)(逐笔)
  12989. type: number
  12990. closepl4:
  12991. description: 平仓盈亏(商品)(逐笔)
  12992. type: number
  12993. closetype:
  12994. description: 平仓方式 - 0:无 1:平今 2:平昨
  12995. type: integer
  12996. curexchangerate:
  12997. description: 当前汇率
  12998. type: number
  12999. exchangefullname:
  13000. description: 外部交易所全称
  13001. type: string
  13002. goodscode:
  13003. description: 商品代码(内部)
  13004. type: string
  13005. goodsid:
  13006. description: 商品ID
  13007. type: integer
  13008. goodsname:
  13009. description: 商品名称
  13010. type: string
  13011. marketid:
  13012. description: 市场ID
  13013. type: integer
  13014. opencharge:
  13015. description: 建仓手续费(账户)
  13016. type: number
  13017. opencharge2:
  13018. description: 建仓手续费(商品)
  13019. type: number
  13020. orderid:
  13021. description: 委托单号
  13022. type: string
  13023. orderlogincode:
  13024. description: 委托人
  13025. type: string
  13026. tradeamount:
  13027. description: 成交金额(账户)
  13028. type: number
  13029. tradedate:
  13030. description: 交易日(yyyyMMdd)
  13031. type: string
  13032. tradeid:
  13033. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13034. type: string
  13035. tradeprice:
  13036. description: 成交价格
  13037. type: number
  13038. tradeqty:
  13039. description: 成交数量
  13040. type: integer
  13041. tradetime:
  13042. description: 成交时间
  13043. type: string
  13044. tradetype:
  13045. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13046. type: integer
  13047. type: object
  13048. models.QuotePrimaryMenu:
  13049. properties:
  13050. Index:
  13051. description: 序号
  13052. type: integer
  13053. Key:
  13054. description: 键名
  13055. type: string
  13056. Name:
  13057. description: 菜单名称
  13058. type: string
  13059. SubMenus:
  13060. description: 子菜单
  13061. items:
  13062. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13063. type: array
  13064. SubTitleType:
  13065. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13066. type: integer
  13067. TradeModes:
  13068. description: 包含市场交易类型
  13069. type: string
  13070. type: object
  13071. models.QuoteSecondaryMenu:
  13072. properties:
  13073. ExExchangeCode:
  13074. description: 外部交易所代码
  13075. type: string
  13076. ExExchangeID:
  13077. description: 外部交易所ID
  13078. type: integer
  13079. GoodsGroupIDs:
  13080. description: 商品组ID列表
  13081. items:
  13082. type: integer
  13083. type: array
  13084. Index:
  13085. description: 序号
  13086. type: integer
  13087. MarketID:
  13088. description: 市场ID
  13089. type: integer
  13090. MenuTitle:
  13091. description: 菜单标题(市场名称或外部交易所名称)
  13092. type: string
  13093. TradeMode:
  13094. description: 交易模式
  13095. type: integer
  13096. type: object
  13097. models.RoleMenu:
  13098. properties:
  13099. hasright:
  13100. description: 是否有权限 0-没有权限 1-有权限
  13101. type: integer
  13102. iconame:
  13103. description: 菜单图标
  13104. type: string
  13105. menutype:
  13106. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13107. type: integer
  13108. parentcode:
  13109. description: 上级资源代码
  13110. type: string
  13111. remark:
  13112. description: 菜单备注
  13113. type: string
  13114. resourcecode:
  13115. description: 菜单代码
  13116. type: string
  13117. resourcelevel:
  13118. description: 级别
  13119. type: integer
  13120. resourcename:
  13121. description: 菜单名称
  13122. type: string
  13123. roleid:
  13124. description: 角色id
  13125. type: integer
  13126. sort:
  13127. description: 排序
  13128. type: integer
  13129. subMenu:
  13130. description: 子级菜单(结构同上层一样, swag解析不出来)
  13131. items:
  13132. $ref: '#/definitions/models.RoleMenu'
  13133. type: array
  13134. url:
  13135. description: URL
  13136. type: string
  13137. userid:
  13138. description: 用户id
  13139. type: integer
  13140. type: object
  13141. models.SearchGoods:
  13142. properties:
  13143. goodscode:
  13144. description: 商品代码(内部)
  13145. type: string
  13146. goodsid:
  13147. description: 商品ID(自增ID SEQ_GOODS)
  13148. type: integer
  13149. goodsname:
  13150. description: 商品名称
  13151. type: string
  13152. marketid:
  13153. description: 所属市场ID
  13154. type: integer
  13155. marketname:
  13156. description: 市场名称
  13157. type: string
  13158. trademode:
  13159. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  13160. type: integer
  13161. required:
  13162. - goodscode
  13163. - goodsid
  13164. - goodsname
  13165. - marketid
  13166. - trademode
  13167. type: object
  13168. models.Systemparam:
  13169. properties:
  13170. loginid:
  13171. description: 更新用户账号,登录账号
  13172. type: string
  13173. modifyflag:
  13174. description: 修改标志0 不允许修改 1 允许修改
  13175. type: integer
  13176. paramcode:
  13177. description: 参数代码
  13178. type: string
  13179. paramname:
  13180. description: 参数名
  13181. type: string
  13182. paramtype:
  13183. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13184. type: integer
  13185. paramvalue:
  13186. description: 参数值
  13187. type: string
  13188. paramvalue2:
  13189. description: 参数值(CLOB)
  13190. type: string
  13191. regexpress:
  13192. description: 正则表达式
  13193. type: string
  13194. remark:
  13195. description: 备注
  13196. type: string
  13197. serverip:
  13198. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13199. type: string
  13200. showflag:
  13201. description: 是否显示0 不显示 1 显示
  13202. type: integer
  13203. updatetime:
  13204. description: 更新时间
  13205. type: string
  13206. userid:
  13207. description: 更新用户ID
  13208. type: integer
  13209. required:
  13210. - paramcode
  13211. type: object
  13212. models.Szdz3convertconfig:
  13213. properties:
  13214. canin:
  13215. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13216. type: integer
  13217. canout:
  13218. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13219. type: integer
  13220. converttype:
  13221. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  13222. type: integer
  13223. createtime:
  13224. description: 创建时间
  13225. type: string
  13226. creatorid:
  13227. description: 创建人
  13228. type: integer
  13229. daymaxvalue:
  13230. description: 当日最大转入限制
  13231. type: number
  13232. freezedays:
  13233. description: 冻结天数 [5:花生米转交易]
  13234. type: integer
  13235. innergoodsid:
  13236. description: 内部商品ID[交易]
  13237. type: integer
  13238. inratio:
  13239. description: 目标值
  13240. type: integer
  13241. modifierid:
  13242. description: 修改人
  13243. type: integer
  13244. modifytime:
  13245. description: 修改时间
  13246. type: string
  13247. outergoodscode:
  13248. description: 外部商品代码[JD\PD]
  13249. type: string
  13250. outratio:
  13251. description: 源值
  13252. type: integer
  13253. pddecimalplace:
  13254. description: PD小数位
  13255. type: integer
  13256. timemaxvalue:
  13257. description: 单次最大转入限制
  13258. type: number
  13259. timeminvalue:
  13260. description: 单次最小转入限制
  13261. type: number
  13262. required:
  13263. - converttype
  13264. - innergoodsid
  13265. - outergoodscode
  13266. type: object
  13267. models.Szdz3searchwhitelist:
  13268. properties:
  13269. createtime:
  13270. description: 创建时间
  13271. type: string
  13272. creatorid:
  13273. description: 创建人
  13274. type: integer
  13275. modifierid:
  13276. description: 修改人
  13277. type: integer
  13278. modifytime:
  13279. description: 修改时间
  13280. type: string
  13281. userid:
  13282. description: 用户ID
  13283. type: integer
  13284. required:
  13285. - userid
  13286. type: object
  13287. models.TBGoods:
  13288. properties:
  13289. agreeunit:
  13290. description: 合约乘数
  13291. type: number
  13292. enumdicname:
  13293. description: 单位名称
  13294. type: string
  13295. goodscode:
  13296. description: 商品代码(内部)
  13297. type: string
  13298. goodsid:
  13299. description: 商品ID(自增ID SEQ_GOODS)
  13300. type: integer
  13301. goodsname:
  13302. description: 商品名称
  13303. type: string
  13304. type: object
  13305. models.TBGoodsGroup:
  13306. properties:
  13307. convertratio:
  13308. description: 折算系数
  13309. type: number
  13310. enumdicname:
  13311. description: 单位名称
  13312. type: string
  13313. exexchangecode:
  13314. description: 交易所代码
  13315. type: string
  13316. exexchangename:
  13317. description: 交易所名称
  13318. type: string
  13319. gdlst:
  13320. description: 商品列表
  13321. items:
  13322. $ref: '#/definitions/models.TBGoods'
  13323. type: array
  13324. goodsgroupid:
  13325. description: 商品组ID(自增ID)
  13326. type: integer
  13327. goodsgroupname:
  13328. description: 商品组名称
  13329. type: string
  13330. goodunitid:
  13331. description: 报价单位ID
  13332. type: integer
  13333. type: object
  13334. models.TBMiddleGoods:
  13335. properties:
  13336. areauserid:
  13337. description: 机构用户ID
  13338. type: integer
  13339. enumdicname:
  13340. description: 单位名称
  13341. type: string
  13342. gplst:
  13343. description: 期货品种列表
  13344. items:
  13345. $ref: '#/definitions/models.TBGoodsGroup'
  13346. type: array
  13347. middlegoodscode:
  13348. description: 套保品种代码
  13349. type: string
  13350. middlegoodsid:
  13351. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13352. type: integer
  13353. middlegoodsname:
  13354. description: 套保品种名称
  13355. type: string
  13356. needarbitrageratio:
  13357. description: 套利比率
  13358. type: number
  13359. needhedgeratio:
  13360. description: 套保比率
  13361. type: number
  13362. wdlst:
  13363. description: 商品信息列表(现货品类)
  13364. items:
  13365. $ref: '#/definitions/models.TBWrstandard'
  13366. type: array
  13367. type: object
  13368. models.TBWrstandard:
  13369. properties:
  13370. convertratio:
  13371. description: 折算系数
  13372. type: number
  13373. deliverygoodsname:
  13374. description: 品种名称
  13375. type: string
  13376. enumdicname:
  13377. description: 单位名称
  13378. type: string
  13379. vatrate:
  13380. description: 增值税率
  13381. type: number
  13382. wrstandardcode:
  13383. description: 现货商品代码
  13384. type: string
  13385. wrstandardid:
  13386. description: 现货商品ID(SEQ_WRSTANDARD)
  13387. type: integer
  13388. wrstandardname:
  13389. description: 现货商品名称
  13390. type: string
  13391. type: object
  13392. models.Taaccount:
  13393. properties:
  13394. accountflag:
  13395. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13396. type: integer
  13397. accountid:
  13398. description: 资金账户ID
  13399. type: integer
  13400. accountname:
  13401. description: 账户名称
  13402. type: string
  13403. balance:
  13404. description: 期初余额
  13405. type: number
  13406. capitalbalance:
  13407. description: 本金余额[外部子账户实际出入金余额]
  13408. type: number
  13409. changeflag:
  13410. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13411. type: integer
  13412. changetime:
  13413. description: 账户状态变更时间
  13414. type: string
  13415. closepl:
  13416. description: 今日平仓盈亏
  13417. type: number
  13418. creditdecrease:
  13419. description: 今日授信减少
  13420. type: number
  13421. creditincrease:
  13422. description: 今日授信增加
  13423. type: number
  13424. curamount:
  13425. description: 总市值(从持仓中统计)
  13426. type: number
  13427. currencyid:
  13428. description: 货币ID
  13429. type: integer
  13430. currentbalance:
  13431. description: 期末余额
  13432. type: number
  13433. freezecharge:
  13434. description: 手续费冻结
  13435. type: number
  13436. freezemargin:
  13437. description: 冻结保证金
  13438. type: number
  13439. fromaccountid:
  13440. description: 所属上级账户
  13441. type: integer
  13442. inamount:
  13443. description: 今日入金金额(包括三方入金)
  13444. type: number
  13445. ismain:
  13446. description: 是否母账号 0:不是母账户 1:是母账户
  13447. type: integer
  13448. ismarketaccount:
  13449. description: 是否机构接单账号 0:不是 1:是
  13450. type: integer
  13451. isreckonaccount:
  13452. description: 是否机构分润账号 0:不是 1:是
  13453. type: integer
  13454. mortgagecredit:
  13455. description: 授信金额
  13456. type: number
  13457. orifreezecharge:
  13458. description: 期初手续费冻结
  13459. type: number
  13460. orifreezemargin:
  13461. description: 期初冻结保证金
  13462. type: number
  13463. orimortgagecredit:
  13464. description: 期初授信金额
  13465. type: number
  13466. oriothercredit:
  13467. description: 期初其它授信金额
  13468. type: number
  13469. oriotherfreezemargin:
  13470. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13471. type: number
  13472. orioutamountfreeze:
  13473. description: 期初出金冻结
  13474. type: number
  13475. oriusedmargin:
  13476. description: 期初占用保证金
  13477. type: number
  13478. othercredit:
  13479. description: 其它授信金额
  13480. type: number
  13481. othercreditdecrease:
  13482. description: 今日其它授信减少
  13483. type: number
  13484. othercreditincrease:
  13485. description: 今日其它授信增加
  13486. type: number
  13487. otherfreezemargin:
  13488. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13489. type: number
  13490. otherincome:
  13491. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13492. type: number
  13493. otherpay:
  13494. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13495. type: number
  13496. outamount:
  13497. description: 今日出金金额(包括三方出金)
  13498. type: number
  13499. outamountfreeze:
  13500. description: 出金冻结
  13501. type: number
  13502. outthreshold:
  13503. description: 出金阈值
  13504. type: number
  13505. parentaccountid:
  13506. description: 所属根账号
  13507. type: integer
  13508. paycharge:
  13509. description: 今日手续费支出
  13510. type: number
  13511. relatedaccountstatus:
  13512. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13513. type: integer
  13514. relateduserid:
  13515. description: 关联用户
  13516. type: integer
  13517. remainamount:
  13518. description: 融资额(从融资合同中统计)
  13519. type: number
  13520. serivcegroup:
  13521. description: 服务分组
  13522. type: integer
  13523. signstatus:
  13524. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13525. type: integer
  13526. sublevelpath:
  13527. description: 账号层级路径(逗号分隔,首尾加逗号)
  13528. type: string
  13529. taaccounttype:
  13530. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13531. type: integer
  13532. thirdinamount:
  13533. description: 今日三方入金
  13534. type: number
  13535. thirdoutamount:
  13536. description: 今日三方出金
  13537. type: number
  13538. tradestatus:
  13539. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13540. type: integer
  13541. tradestatuschangetime:
  13542. description: 激活时间
  13543. type: string
  13544. transferamount:
  13545. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13546. type: number
  13547. usedmargin:
  13548. description: 占用保证金
  13549. type: number
  13550. userid:
  13551. description: 用户ID
  13552. type: integer
  13553. required:
  13554. - accountid
  13555. - userid
  13556. type: object
  13557. models.Tablecolumnconfig:
  13558. properties:
  13559. aligntype:
  13560. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13561. type: integer
  13562. autoid:
  13563. description: AutoID
  13564. type: integer
  13565. columnfield:
  13566. description: 列字段
  13567. type: string
  13568. columntitle:
  13569. description: 列Title
  13570. type: string
  13571. columnwidth:
  13572. description: 列宽
  13573. type: string
  13574. formatterstring:
  13575. description: 格式化字符
  13576. type: string
  13577. formattertype:
  13578. description: 格式化类型
  13579. type: string
  13580. groupname:
  13581. description: 表头分组名称
  13582. type: string
  13583. isshow:
  13584. description: 是否显示 - 0:不显示 1:显示
  13585. type: integer
  13586. needsummary:
  13587. description: 是否需要汇总 - 0:不需要 1:需要
  13588. type: integer
  13589. orderindex:
  13590. description: 顺序
  13591. type: integer
  13592. remark:
  13593. description: 备注
  13594. type: string
  13595. summarytype:
  13596. description: 汇总类型 - 1:加总 2:最后一个
  13597. type: integer
  13598. tablekey:
  13599. description: 列表Key
  13600. type: string
  13601. required:
  13602. - autoid
  13603. type: object
  13604. models.TjmdQuoteGoods:
  13605. properties:
  13606. buyqty:
  13607. description: 买量(暂不做, 无值, 保留字段)
  13608. type: number
  13609. goodscode:
  13610. description: 合约代码
  13611. type: string
  13612. goodsgroupid:
  13613. description: 商品组ID(自增ID)
  13614. type: integer
  13615. goodsgroupname:
  13616. description: 商品组名称
  13617. type: string
  13618. goodsid:
  13619. description: 合约id
  13620. type: integer
  13621. goodsname:
  13622. description: 合约名称
  13623. type: string
  13624. refgoodscode:
  13625. description: 标的合约代码
  13626. type: string
  13627. refgoodsid:
  13628. description: 标的合约id
  13629. type: integer
  13630. refgoodsname:
  13631. description: 标的合约名称
  13632. type: string
  13633. sellqty:
  13634. description: 卖量(暂不做, 无值, 保留字段)
  13635. type: number
  13636. type: object
  13637. models.TjmdTodayAccountMargin:
  13638. properties:
  13639. accountid:
  13640. description: 账号ID
  13641. type: integer
  13642. goodsid:
  13643. description: 商品ID
  13644. type: integer
  13645. infoc:
  13646. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13647. description: 配置参数
  13648. marketid:
  13649. description: 市场ID
  13650. type: integer
  13651. type: object
  13652. models.TjmdTradeOrderDetail:
  13653. properties:
  13654. buyorsell:
  13655. description: 买卖方向 0-买 1-卖
  13656. type: integer
  13657. goodsid:
  13658. description: 商品id
  13659. type: integer
  13660. marketmaxsub:
  13661. description: 市价最大偏移范围 [浮动价 - 点差]
  13662. type: number
  13663. orderid:
  13664. description: 委托单号
  13665. type: string
  13666. orderprice:
  13667. description: 委托价格
  13668. type: number
  13669. orderqty:
  13670. description: 委托数量
  13671. type: integer
  13672. pricemode:
  13673. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13674. type: integer
  13675. userid:
  13676. description: 用户id
  13677. type: integer
  13678. username:
  13679. description: 用户名称(已脱敏)
  13680. type: string
  13681. type: object
  13682. models.TjmdTransferApply:
  13683. properties:
  13684. applyid:
  13685. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13686. type: integer
  13687. applystatus:
  13688. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  13689. type: integer
  13690. applytime:
  13691. description: 申请时间(时间)
  13692. type: string
  13693. auditremark:
  13694. description: 审核备注(拒绝原因?)
  13695. type: string
  13696. buyorsell:
  13697. description: 买卖 - 0:买 1:卖
  13698. type: integer
  13699. goodscode:
  13700. description: 商品代码
  13701. type: string
  13702. goodsid:
  13703. description: 商品ID
  13704. type: integer
  13705. goodsname:
  13706. description: 商品名称
  13707. type: string
  13708. marketid:
  13709. description: 市场ID
  13710. type: integer
  13711. qty:
  13712. description: 转让数量(数量)
  13713. type: number
  13714. tradeid:
  13715. description: 成交单号(关联持仓)
  13716. type: string
  13717. transferamount:
  13718. description: 转让总金额(金额)
  13719. type: number
  13720. transferprice:
  13721. description: 转让价格(协议价格)
  13722. type: number
  13723. type: object
  13724. models.TradeHolderDetail:
  13725. properties:
  13726. accountid:
  13727. description: 账号ID
  13728. type: integer
  13729. agreeunit:
  13730. description: 合约乘数
  13731. type: number
  13732. buyorsell:
  13733. description: 方向 - 0:买 1:卖
  13734. type: integer
  13735. currencyid:
  13736. description: 商品币种id
  13737. type: integer
  13738. currencyname:
  13739. description: 币种名称
  13740. type: string
  13741. decimalplace:
  13742. description: 商品价格小数位
  13743. type: integer
  13744. enumdicname:
  13745. description: 商品单位名称
  13746. type: string
  13747. expirecycle:
  13748. description: 行权周期(天) - 1:滚动行权时填写
  13749. type: integer
  13750. expiredate:
  13751. description: 行权日(yyyyMMdd) - 到期日
  13752. type: string
  13753. expiretype:
  13754. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13755. type: integer
  13756. freezeqty:
  13757. description: 冻结数量
  13758. type: number
  13759. goodscode:
  13760. description: 商品代码
  13761. type: string
  13762. goodsid:
  13763. description: 商品ID
  13764. type: integer
  13765. goodsname:
  13766. description: 商品名称
  13767. type: string
  13768. goodunitid:
  13769. description: 商品单位id
  13770. type: integer
  13771. holderamount:
  13772. description: 持仓金额
  13773. type: number
  13774. holdercredit:
  13775. description: 持仓授信金额
  13776. type: number
  13777. holderdays:
  13778. description: 剩余冻结天数
  13779. type: integer
  13780. holderprice:
  13781. description: 持仓价格
  13782. type: number
  13783. holderqty:
  13784. description: 持仓数量
  13785. type: number
  13786. isconfirmexercise:
  13787. description: 是否确认行权- 0:否 1:是
  13788. type: integer
  13789. ispreexercise:
  13790. description: 是否预申报- 0:否 1:是 2:不可行权
  13791. type: integer
  13792. marketid:
  13793. description: 市场id
  13794. type: integer
  13795. marketname:
  13796. description: 市场名称
  13797. type: string
  13798. openprice:
  13799. description: 建仓价格
  13800. type: number
  13801. openqty:
  13802. description: 建仓数量
  13803. type: number
  13804. optiontype:
  13805. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13806. type: integer
  13807. preexerciseprice:
  13808. description: 预申报价格
  13809. type: number
  13810. premium:
  13811. description: 权利金
  13812. type: number
  13813. qtydecimalplace:
  13814. description: 商品成交量小数位
  13815. type: integer
  13816. refgoodscode:
  13817. description: 标的合约代码
  13818. type: string
  13819. refgoodsid:
  13820. description: 标的合约id
  13821. type: integer
  13822. releaseamount:
  13823. description: 释放持仓金额
  13824. type: number
  13825. releaseholdercredit:
  13826. description: 释放持仓授信金额
  13827. type: number
  13828. taname:
  13829. description: 资金账号名称
  13830. type: string
  13831. tradeamount:
  13832. description: 成交金额
  13833. type: number
  13834. tradedate:
  13835. description: 交易日(yyyyMMdd)
  13836. type: string
  13837. tradeid:
  13838. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13839. type: string
  13840. trademode:
  13841. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期
  13842. type: integer
  13843. tradeproperty:
  13844. description: 交易属性
  13845. type: integer
  13846. tradetime:
  13847. description: 交易时间
  13848. type: string
  13849. userid:
  13850. description: 用户id
  13851. type: integer
  13852. username:
  13853. description: 用户名称
  13854. type: string
  13855. type: object
  13856. models.UserCollectConfig:
  13857. properties:
  13858. accountstatus:
  13859. description: 账户状态 - 1:正常 2:停用 3:注销
  13860. type: integer
  13861. collectaccountname:
  13862. description: 收款人账户名称
  13863. type: string
  13864. collectaccountno:
  13865. description: 收款人账户
  13866. type: string
  13867. collectbankname:
  13868. description: 收款人开户行
  13869. type: string
  13870. collectbranchbankname:
  13871. description: 收款人开户支行
  13872. type: string
  13873. collectconfigid:
  13874. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  13875. type: string
  13876. remark:
  13877. description: 备注
  13878. type: string
  13879. userid:
  13880. description: 收款人用户ID
  13881. type: integer
  13882. type: object
  13883. models.UserReceiveInfo:
  13884. properties:
  13885. address:
  13886. description: 提货人详细地址
  13887. type: string
  13888. autoid:
  13889. description: AutoID
  13890. type: integer
  13891. cardnum:
  13892. description: 证件号码(加密存储)
  13893. type: string
  13894. cardtypeid:
  13895. description: 证件类型
  13896. type: integer
  13897. cityid:
  13898. description: 市
  13899. type: integer
  13900. cityname:
  13901. description: 城市名称
  13902. type: string
  13903. countryid:
  13904. description: 国家
  13905. type: integer
  13906. countryname:
  13907. description: 国家名称
  13908. type: string
  13909. districtid:
  13910. description: 地区
  13911. type: integer
  13912. districtname:
  13913. description: 地区名称
  13914. type: string
  13915. hasencrypt:
  13916. description: 数据是否已加密 - 0:未加密 1:已加密
  13917. type: integer
  13918. isdefault:
  13919. description: 是否默认地址 - 0:否 1:是
  13920. type: integer
  13921. phonenum:
  13922. description: 提货人联系方式(加密存储)
  13923. type: string
  13924. provinceid:
  13925. description: 省
  13926. type: integer
  13927. provincename:
  13928. description: 省名称
  13929. type: string
  13930. receivername:
  13931. description: 提货人姓名
  13932. type: string
  13933. takeremark:
  13934. description: 提货备注
  13935. type: string
  13936. userid:
  13937. description: 用户ID
  13938. type: integer
  13939. type: object
  13940. models.Useraccount:
  13941. properties:
  13942. accountname:
  13943. description: 账户名称(机构名称)
  13944. type: string
  13945. accountstatus:
  13946. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13947. type: integer
  13948. applysrc:
  13949. description: 申请来源 - 1:管理端 2:终端
  13950. type: integer
  13951. auditremark:
  13952. description: 审核备注
  13953. type: string
  13954. auditsrc:
  13955. description: 审核来源 - 1:管理端 2:终端
  13956. type: integer
  13957. audittime:
  13958. description: 审核时间
  13959. type: string
  13960. audituserid:
  13961. description: 审核人
  13962. type: integer
  13963. broker:
  13964. description: 所属经纪人ID
  13965. type: integer
  13966. canceltime:
  13967. description: 销户时间
  13968. type: string
  13969. canceluserid:
  13970. description: 销户人
  13971. type: integer
  13972. canrecommend:
  13973. description: 是否可推荐 - 0:不可 1;可
  13974. type: integer
  13975. createtime:
  13976. description: 创建时间
  13977. type: string
  13978. creatorid:
  13979. description: 创建人
  13980. type: integer
  13981. hasauth:
  13982. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  13983. type: integer
  13984. isanonymous:
  13985. description: 是否匿名下单 - 0:否 1:是
  13986. type: integer
  13987. maxinvestornum:
  13988. description: 最大用户数(经纪会员下投资者个数)
  13989. type: integer
  13990. memberuserid:
  13991. description: 所属会员ID
  13992. type: integer
  13993. modifierid:
  13994. description: 修改人
  13995. type: integer
  13996. modifyremark:
  13997. description: 变更备注
  13998. type: string
  13999. modifystatus:
  14000. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14001. type: integer
  14002. modifytime:
  14003. description: 修改时间
  14004. type: string
  14005. parenttopuser:
  14006. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14007. type: string
  14008. parentuserid:
  14009. description: 所属机构ID
  14010. type: integer
  14011. reckonaccountid:
  14012. description: 默认结算资金账号ID(机构分润使用) 作废
  14013. type: integer
  14014. refercount:
  14015. description: 推荐总人数
  14016. type: integer
  14017. refereeuserid:
  14018. description: 推荐人ID
  14019. type: integer
  14020. refernum:
  14021. description: 推荐码
  14022. type: string
  14023. rootuserid:
  14024. description: 根用户ID
  14025. type: integer
  14026. subaccountlevel:
  14027. description: 子账户层数
  14028. type: integer
  14029. subarealevelpath:
  14030. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14031. type: string
  14032. userid:
  14033. description: 用户ID
  14034. type: integer
  14035. usertype:
  14036. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14037. type: integer
  14038. required:
  14039. - userid
  14040. type: object
  14041. models.Userfavoritegoods:
  14042. properties:
  14043. goodsid:
  14044. description: 商品ID
  14045. type: integer
  14046. required:
  14047. - goodsid
  14048. type: object
  14049. models.Userinfo:
  14050. properties:
  14051. address:
  14052. description: 地址
  14053. type: string
  14054. attachment1:
  14055. description: 附件1
  14056. type: string
  14057. attachment2:
  14058. description: 附件2
  14059. type: string
  14060. bankaccount:
  14061. description: 银行帐号 (加密存储)
  14062. type: string
  14063. bankaccountname:
  14064. description: 收款人名称
  14065. type: string
  14066. bankcardfrontphotourl:
  14067. description: 银行卡正面照地址
  14068. type: string
  14069. bankid:
  14070. description: 银行编码
  14071. type: string
  14072. bankname:
  14073. description: 银行名称
  14074. type: string
  14075. biznature:
  14076. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14077. type: integer
  14078. bizscope:
  14079. description: 企业经营范围(企业)
  14080. type: string
  14081. cardbackphotourl:
  14082. description: 证件背面图片地址
  14083. type: string
  14084. cardfrontphotourl:
  14085. description: 证件正面图片地址
  14086. type: string
  14087. cardnum:
  14088. description: 证件号码(加密存储)
  14089. type: string
  14090. cardtypeid:
  14091. description: 证件类型ID
  14092. type: integer
  14093. cityid:
  14094. description: 市
  14095. type: integer
  14096. company:
  14097. description: 公司(个人)
  14098. type: string
  14099. contactname:
  14100. description: 联系人
  14101. type: string
  14102. countryid:
  14103. description: 国家
  14104. type: integer
  14105. createtime:
  14106. description: 创建时间
  14107. type: string
  14108. creatorid:
  14109. description: 创建人
  14110. type: integer
  14111. customername:
  14112. description: 客户名称(企业名称)
  14113. type: string
  14114. districtid:
  14115. description: 地区
  14116. type: integer
  14117. email:
  14118. description: 邮件(加密存储)
  14119. type: string
  14120. fax:
  14121. description: 传真(加密存储)
  14122. type: string
  14123. halfbodyphotourl:
  14124. description: 半身照地址
  14125. type: string
  14126. hasencrypt:
  14127. description: 数据是否已加密 - 0:未加密 1:已加密
  14128. type: integer
  14129. headurl:
  14130. description: 头像地址
  14131. type: string
  14132. legalcardbackphotourl:
  14133. description: 法人身份证背面照地址
  14134. type: string
  14135. legalcardfrontphotourl:
  14136. description: 法人身份证正面照地址
  14137. type: string
  14138. legalpersonname:
  14139. description: 法人姓名(企业)
  14140. type: string
  14141. mobile:
  14142. description: 手机号码(加密存储)
  14143. type: string
  14144. mobile2:
  14145. description: 手机号码[明文-尚志]
  14146. type: string
  14147. modifierid:
  14148. description: 修改人
  14149. type: integer
  14150. modifiertime:
  14151. description: 修改时间
  14152. type: string
  14153. needinvoice:
  14154. description: 是否需要发票 - 0:不需要 1:需要
  14155. type: integer
  14156. nickname:
  14157. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14158. type: string
  14159. openmode:
  14160. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14161. type: integer
  14162. otherurl:
  14163. description: 其它图片地址[使用分号分隔]
  14164. type: string
  14165. postalcode:
  14166. description: 邮政编码
  14167. type: string
  14168. provinceid:
  14169. description: 省
  14170. type: integer
  14171. qq:
  14172. description: QQ(加密存储
  14173. type: string
  14174. remark:
  14175. description: 备注
  14176. type: string
  14177. sex:
  14178. description: '用户性别 0: 女 1: 男'
  14179. type: integer
  14180. signpdfurl:
  14181. description: 签约pdf文件
  14182. type: string
  14183. telphone:
  14184. description: 联系电话(加密存储)
  14185. type: string
  14186. userid:
  14187. description: 用户ID
  14188. type: integer
  14189. userinfotype:
  14190. description: 用户信息类型 - 1:个人 2:企业
  14191. type: integer
  14192. userstatus:
  14193. description: 用户状态 - 1:正常 2:注销
  14194. type: integer
  14195. usertype:
  14196. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14197. type: integer
  14198. wechat:
  14199. description: 微信(加密存储)
  14200. type: string
  14201. wskhinfo:
  14202. description: 开户申请信息(JSON)
  14203. type: string
  14204. required:
  14205. - userid
  14206. type: object
  14207. models.WRSConverTDetail:
  14208. properties:
  14209. convertratio:
  14210. description: 套保系数
  14211. type: number
  14212. deliverygoodscode:
  14213. description: 现货商品代码
  14214. type: string
  14215. deliverygoodsid:
  14216. description: 现货品种ID
  14217. type: integer
  14218. deliverygoodsname:
  14219. description: 现货商品名称
  14220. type: string
  14221. enumdicname:
  14222. description: 单位名称
  14223. type: string
  14224. goodsunitid:
  14225. description: 套保品种单位id
  14226. type: integer
  14227. middlegoodscode:
  14228. description: 套保品种代码
  14229. type: string
  14230. middlegoodsid:
  14231. description: 套保品种ID
  14232. type: integer
  14233. middlegoodsname:
  14234. description: 套保品种名称
  14235. type: string
  14236. modifytime:
  14237. description: 修改时间
  14238. type: string
  14239. wrstandardid:
  14240. description: 品类ID
  14241. type: integer
  14242. type: object
  14243. models.WRStandardInfo:
  14244. properties:
  14245. areauserid:
  14246. description: 所属机构
  14247. type: integer
  14248. convertfactor:
  14249. description: 标仓系数
  14250. type: number
  14251. createtime:
  14252. description: 创建时间
  14253. type: string
  14254. creatorid:
  14255. description: 创建人
  14256. type: integer
  14257. deliverygoodsid:
  14258. description: 品种ID
  14259. type: integer
  14260. deliverygoodsname:
  14261. description: 交割商品名称
  14262. type: string
  14263. factoryitemjson:
  14264. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID, 逗号分隔'
  14265. type: string
  14266. isvalid:
  14267. description: 是否有效 - 0:无效 1:有效
  14268. type: integer
  14269. minivalue:
  14270. description: 最小变动值
  14271. type: integer
  14272. minivaluedp:
  14273. description: 最小变动值小数位
  14274. type: integer
  14275. realminivalue:
  14276. description: 实际最小变动值
  14277. type: integer
  14278. realminivaluedp:
  14279. description: 实际最小变动值小数位
  14280. type: integer
  14281. remark:
  14282. description: 备注
  14283. type: string
  14284. unitid:
  14285. description: 单位ID
  14286. type: integer
  14287. unitname:
  14288. description: 单位
  14289. type: string
  14290. updatetime:
  14291. description: 更新时间
  14292. type: string
  14293. updatorid:
  14294. description: 更新人
  14295. type: integer
  14296. wrsstatus:
  14297. description: 状态 - 作废 - 0:未激活 1:正常
  14298. type: integer
  14299. wrstandardcode:
  14300. description: 现货品类代码
  14301. type: string
  14302. wrstandardid:
  14303. description: 现货品类ID(SEQ_WRSTANDARD)
  14304. type: integer
  14305. wrstandardname:
  14306. description: 现货品类名称
  14307. type: string
  14308. required:
  14309. - wrstandardid
  14310. type: object
  14311. models.WRTradeBargainApply:
  14312. properties:
  14313. accountid:
  14314. description: 摘牌资金账号
  14315. type: integer
  14316. applyprice:
  14317. description: 申请价格(议价价格)
  14318. type: string
  14319. applyqty:
  14320. description: 摘牌数量(议价数量)
  14321. type: number
  14322. applyremark:
  14323. description: 申请备注
  14324. type: string
  14325. applystatus:
  14326. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14327. type: integer
  14328. applytime:
  14329. description: 申请时间(议价时间)
  14330. type: string
  14331. buyorsell:
  14332. description: 买卖(挂牌类型) - 0:买 1:卖
  14333. type: integer
  14334. confirmremark:
  14335. description: 确认备注
  14336. type: string
  14337. confirmtime:
  14338. description: 确认时间
  14339. type: string
  14340. confirmuserid:
  14341. description: 确认人
  14342. type: integer
  14343. deliverygoodscode:
  14344. description: 品种代码
  14345. type: string
  14346. deliverygoodsid:
  14347. description: 品种ID
  14348. type: integer
  14349. deliverygoodsname:
  14350. description: 品种名称
  14351. type: string
  14352. deliverymonth:
  14353. description: 交收月
  14354. type: string
  14355. enumdicname:
  14356. description: 单位名称
  14357. type: string
  14358. fixedprice:
  14359. description: 挂牌价格
  14360. type: number
  14361. handlestatus:
  14362. description: 处理状态
  14363. type: integer
  14364. marginvalue:
  14365. description: 履约保证金比例
  14366. type: number
  14367. marketid:
  14368. description: 市场ID
  14369. type: integer
  14370. matchaccountid:
  14371. description: 挂牌方资金账号
  14372. type: integer
  14373. matchuserid:
  14374. description: 挂牌方用户id
  14375. type: integer
  14376. matchusername:
  14377. description: 挂牌方用户名称(已脱敏)
  14378. type: string
  14379. minivalue:
  14380. description: 现货商品最小变动值
  14381. type: integer
  14382. optioncompare:
  14383. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14384. type: string
  14385. orderqty:
  14386. description: 挂牌数量
  14387. type: integer
  14388. refprice:
  14389. description: 参考价格
  14390. type: string
  14391. retcode:
  14392. description: 委托返回代码
  14393. type: integer
  14394. templatename:
  14395. description: 履约方式(履约模板名称)
  14396. type: string
  14397. tradedate:
  14398. description: 交易日(yyyyMMdd)
  14399. type: string
  14400. userid:
  14401. description: 摘牌人用户ID(议价人ID)
  14402. type: integer
  14403. username:
  14404. description: 议价人名字(已脱敏)
  14405. type: string
  14406. validtime:
  14407. description: 有效期限
  14408. type: string
  14409. warehouseid:
  14410. description: 仓库ID
  14411. type: integer
  14412. warehousename:
  14413. description: 仓库名称
  14414. type: string
  14415. wrbargainid:
  14416. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14417. type: string
  14418. wrfactortypeid:
  14419. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14420. type: string
  14421. wrfactortypename:
  14422. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14423. type: string
  14424. wrstandardcode:
  14425. description: 现货商品代码
  14426. type: string
  14427. wrstandardid:
  14428. description: 现货商品ID
  14429. type: integer
  14430. wrstandardname:
  14431. description: 商品名称
  14432. type: string
  14433. wrtradeorderid:
  14434. description: 关联委托单ID
  14435. type: string
  14436. wrtypename:
  14437. description: 商品
  14438. type: string
  14439. type: object
  14440. models.Warehouseinfo:
  14441. properties:
  14442. address:
  14443. description: 详细地址
  14444. type: string
  14445. areauserid:
  14446. description: 所属机构
  14447. type: integer
  14448. autoid:
  14449. description: 自增ID
  14450. type: integer
  14451. cityid:
  14452. description: 市
  14453. type: integer
  14454. contactname:
  14455. description: 联系人
  14456. type: string
  14457. contactnum:
  14458. description: 联系电话
  14459. type: string
  14460. countryid:
  14461. description: 国家
  14462. type: integer
  14463. createtime:
  14464. description: 创建时间
  14465. type: string
  14466. districtid:
  14467. description: 区
  14468. type: integer
  14469. hasvideo:
  14470. description: 是否有视频 - 0:无 1:有
  14471. type: integer
  14472. provinceid:
  14473. description: 省
  14474. type: integer
  14475. remark:
  14476. description: 审核备注
  14477. type: string
  14478. videourl:
  14479. description: 视频地址
  14480. type: string
  14481. warehousecode:
  14482. description: 仓库代码
  14483. type: string
  14484. warehousename:
  14485. description: 仓库名称
  14486. type: string
  14487. warehousestatus:
  14488. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14489. type: integer
  14490. warehousetype:
  14491. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14492. type: integer
  14493. required:
  14494. - autoid
  14495. - warehousecode
  14496. type: object
  14497. models.WrAverageTradePrice:
  14498. properties:
  14499. averageprice:
  14500. description: 成交均价
  14501. type: number
  14502. tradedate:
  14503. description: 交易日yyyymm
  14504. type: string
  14505. type: object
  14506. models.WrBsGoodsInfo:
  14507. properties:
  14508. buyorsell:
  14509. description: 买卖方向 0-买 1-卖
  14510. type: integer
  14511. goodsid:
  14512. description: 交易合约ID
  14513. type: integer
  14514. lstitem:
  14515. description: 商品信息项
  14516. items:
  14517. $ref: '#/definitions/models.WrTypeItem'
  14518. type: array
  14519. lststep:
  14520. description: 履约规则
  14521. items:
  14522. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14523. type: array
  14524. type: object
  14525. models.WrBuybackDetail:
  14526. properties:
  14527. buybackamount:
  14528. description: 回购金额
  14529. type: number
  14530. buybackqty:
  14531. description: 回购数量
  14532. type: number
  14533. buybackreleasemargin:
  14534. description: 回购释放保证金
  14535. type: number
  14536. buybacktime:
  14537. description: 回购时间
  14538. type: string
  14539. errordesc:
  14540. description: 错误描述
  14541. type: string
  14542. handlestatus:
  14543. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14544. type: integer
  14545. relatedwrid:
  14546. description: 关联仓单ID
  14547. type: integer
  14548. scfcontractid:
  14549. description: SCF合同ID
  14550. type: string
  14551. scfwrbuybackid:
  14552. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14553. type: integer
  14554. tradedate:
  14555. description: 交易日(yyyyMMdd)
  14556. type: string
  14557. type: object
  14558. models.WrDeliveryAvalidHoldLB:
  14559. properties:
  14560. accountid:
  14561. description: 资金账号
  14562. type: integer
  14563. avalidqty:
  14564. description: 数量(可点选数量)
  14565. type: number
  14566. deliverygoodsid:
  14567. description: 品种id
  14568. type: integer
  14569. enumdicname:
  14570. description: 单位名称
  14571. type: string
  14572. goodsid:
  14573. description: x合约商品id
  14574. type: integer
  14575. ladingbillid:
  14576. description: 提单id
  14577. type: string
  14578. pgoodscode:
  14579. description: p商品代码(点价合约)
  14580. type: string
  14581. pgoodsid:
  14582. description: p商品id(点价合约)
  14583. type: integer
  14584. pgoodsname:
  14585. description: p商品名称(点价合约)
  14586. type: string
  14587. pricemove:
  14588. description: 升贴水
  14589. type: number
  14590. subnum:
  14591. description: 提单子id
  14592. type: integer
  14593. userid:
  14594. description: 用户id
  14595. type: integer
  14596. username:
  14597. description: 仓单持有人
  14598. type: string
  14599. warehousecode:
  14600. description: 仓库代码
  14601. type: string
  14602. warehouseid:
  14603. description: 仓库id
  14604. type: integer
  14605. warehousename:
  14606. description: 仓库名称
  14607. type: string
  14608. wrfactortypeid:
  14609. description: 仓单要素id
  14610. type: string
  14611. wrstandardcode:
  14612. description: 品代码
  14613. type: string
  14614. wrstandardid:
  14615. description: 品类d
  14616. type: integer
  14617. wrstandardname:
  14618. description: 品类名称
  14619. type: string
  14620. wrtypename:
  14621. description: 商品
  14622. type: string
  14623. xgoodscode:
  14624. description: x合约代码
  14625. type: string
  14626. xgoodsname:
  14627. description: x合约名称
  14628. type: string
  14629. type: object
  14630. models.WrDeliveryDetail:
  14631. properties:
  14632. accountid:
  14633. description: 账号ID
  14634. type: integer
  14635. averageprice:
  14636. description: 交割均价 = 交割金额 / 交割数量
  14637. type: number
  14638. buyorsell:
  14639. description: 方向 - 0:买 1:卖
  14640. type: integer
  14641. deliveryamount:
  14642. description: 货款金额(X总货款+P总货款)
  14643. type: number
  14644. deliveryid:
  14645. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14646. type: string
  14647. deliveryorderid:
  14648. description: 申报单号
  14649. type: string
  14650. deliverypricemove:
  14651. description: 升贴水(升贴水总额)
  14652. type: number
  14653. deliveryqty:
  14654. description: 交收数量(点选数量)
  14655. type: number
  14656. deliverystatus:
  14657. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14658. type: integer
  14659. deliverytime:
  14660. description: 交割时间
  14661. type: string
  14662. deliverytotalamount:
  14663. description: 交收金额
  14664. type: number
  14665. enumdicname:
  14666. description: 单位名称
  14667. type: string
  14668. matchaccountid:
  14669. description: 对手账号ID
  14670. type: integer
  14671. matchusername:
  14672. description: 对手方名称(仓单持有人)
  14673. type: string
  14674. p1goodsremainamount:
  14675. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  14676. type: number
  14677. pdeliverycloseqty:
  14678. description: p合约平仓数量
  14679. type: number
  14680. pdeliveryprice:
  14681. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  14682. type: number
  14683. pgoodscode:
  14684. description: 商品代码
  14685. type: string
  14686. pgoodsid:
  14687. description: p点选合约id
  14688. type: integer
  14689. pgoodsname:
  14690. description: 商品名称
  14691. type: string
  14692. ppricemode:
  14693. description: 点价价格方式 - 1:商品价 2:固定值
  14694. type: integer
  14695. tradedate:
  14696. description: 交易日(yyyymmdd)
  14697. type: string
  14698. userid:
  14699. description: 用户id
  14700. type: integer
  14701. username:
  14702. description: 用户名称
  14703. type: string
  14704. warehousename:
  14705. description: 仓库名称
  14706. type: string
  14707. wrfactortypeid:
  14708. description: 仓单要素类型ID
  14709. type: string
  14710. wrtypename:
  14711. description: 商品
  14712. type: string
  14713. xdeliverycloseqty:
  14714. description: 合约数量
  14715. type: number
  14716. xgoodsamount:
  14717. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  14718. type: number
  14719. xgoodscode:
  14720. description: 商品代码
  14721. type: string
  14722. xgoodsid:
  14723. description: x交易合约ID
  14724. type: integer
  14725. xgoodsname:
  14726. description: 商品名称
  14727. type: string
  14728. type: object
  14729. models.WrFAProductDetail:
  14730. properties:
  14731. accountid:
  14732. description: 资金账号
  14733. type: integer
  14734. areauserid:
  14735. description: 金融机构ID
  14736. type: integer
  14737. financingdays:
  14738. description: 天数(天)
  14739. type: integer
  14740. interestminlen:
  14741. description: 最小起息天数
  14742. type: integer
  14743. interestrate:
  14744. description: 利率
  14745. type: number
  14746. interestratemode:
  14747. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14748. type: integer
  14749. interestsettlemode:
  14750. description: 结息方式 - 1:按日结息 3:按月结息
  14751. type: integer
  14752. interestsettlevalue:
  14753. description: 结息方式值
  14754. type: integer
  14755. isautoloan:
  14756. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  14757. type: integer
  14758. loantag:
  14759. description: '放款标识: "放款快" 或者为空'
  14760. type: string
  14761. marginratio:
  14762. description: 保证金比率质押率 - [仓单质押]
  14763. type: number
  14764. productdetailid:
  14765. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  14766. type: integer
  14767. productid:
  14768. description: 金融产品ID
  14769. type: integer
  14770. productname:
  14771. description: 产品名称
  14772. type: string
  14773. updatetime:
  14774. description: 更新时间
  14775. type: string
  14776. username:
  14777. description: 融出方
  14778. type: string
  14779. type: object
  14780. models.WrFactorTypeInfo:
  14781. properties:
  14782. deliverygoodscode:
  14783. description: 品种代码
  14784. type: string
  14785. deliverygoodsname:
  14786. description: 品种名称
  14787. type: string
  14788. dgfactoryitemid:
  14789. description: 选择项id
  14790. type: integer
  14791. dgfactoryitemtypeid:
  14792. description: 要素选择项ID (1-仓库 2-品牌)
  14793. type: integer
  14794. dgfactoryitemvalue:
  14795. description: 要素项值
  14796. type: string
  14797. itemtypename:
  14798. description: 要素项名称
  14799. type: string
  14800. optioncompare:
  14801. description: 选择比较串
  14802. type: string
  14803. warehouseid:
  14804. description: 仓库id
  14805. type: integer
  14806. wrfactortypeid:
  14807. description: 仓单要素ID
  14808. type: string
  14809. wrfactortypename:
  14810. description: 要素名称
  14811. type: string
  14812. wrfactortypename2:
  14813. description: 要素名称(不含仓库)
  14814. type: string
  14815. wrstandardcode:
  14816. description: 品类代码
  14817. type: string
  14818. wrstandardid:
  14819. description: 品类id
  14820. type: integer
  14821. wrstandardname:
  14822. description: 品类名称
  14823. type: string
  14824. type: object
  14825. models.WrFilterItem:
  14826. properties:
  14827. itemcode:
  14828. description: 代码
  14829. type: string
  14830. itemid:
  14831. description: 项id
  14832. type: integer
  14833. itemname:
  14834. description: 名称
  14835. type: string
  14836. itemtype:
  14837. description: 类型 1-品种 2-品类(商品) 3-仓库
  14838. type: integer
  14839. type: object
  14840. models.WrFinanceBuyApply:
  14841. properties:
  14842. applydate:
  14843. description: 申请时间
  14844. type: string
  14845. applystatus:
  14846. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  14847. type: integer
  14848. applyuserid:
  14849. description: 申请人
  14850. type: integer
  14851. auditdate:
  14852. description: 审核时间
  14853. type: string
  14854. auditremark:
  14855. description: 审核备注
  14856. type: string
  14857. audituserid:
  14858. description: 审核人
  14859. type: integer
  14860. buyaccountid:
  14861. description: 买方资金账号
  14862. type: integer
  14863. buyorsell:
  14864. description: 买卖 - 0:买 1:卖
  14865. type: integer
  14866. buyuserid:
  14867. description: 买方用户ID
  14868. type: integer
  14869. buyusername:
  14870. description: 买方名称
  14871. type: string
  14872. buywrtradeorderid:
  14873. description: 融资方买委托单ID
  14874. type: string
  14875. deliverygoodscode:
  14876. description: 品种代码
  14877. type: string
  14878. deliverygoodsid:
  14879. description: 品种ID
  14880. type: integer
  14881. deliverygoodsname:
  14882. description: 品种名称
  14883. type: string
  14884. deliverymonth:
  14885. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  14886. type: string
  14887. enumdicname:
  14888. description: 单位名称
  14889. type: string
  14890. financeaccountid:
  14891. description: 融资方资金帐户ID
  14892. type: integer
  14893. financeapplyid:
  14894. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14895. type: string
  14896. financeareauserid:
  14897. description: 融资方用户ID
  14898. type: string
  14899. financename:
  14900. description: 融出方名称
  14901. type: string
  14902. financetype:
  14903. description: 融资类型 1-融资回购
  14904. type: integer
  14905. financingdays:
  14906. description: 天数(天)
  14907. type: integer
  14908. freezebuymargin:
  14909. description: 冻结融资保证金(买方)
  14910. type: number
  14911. handleremark:
  14912. description: 处理备注
  14913. type: string
  14914. handlestatus:
  14915. description: 处理状态
  14916. type: integer
  14917. interestminlen:
  14918. description: 最小起息天数
  14919. type: integer
  14920. interestrate:
  14921. description: 利率
  14922. type: number
  14923. interestratemode:
  14924. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14925. type: integer
  14926. interestsettlemode:
  14927. description: 结息方式 - 1:按日结息 3:按月结息
  14928. type: integer
  14929. interestsettlevalue:
  14930. description: 结息方式值
  14931. type: integer
  14932. isautoloan:
  14933. description: 是否自动放款 - 0:手动 1:自动
  14934. type: integer
  14935. marginratio:
  14936. description: 保证金比率质押率 - [仓单质押]
  14937. type: number
  14938. marketid:
  14939. description: 市场ID
  14940. type: integer
  14941. minivalue:
  14942. description: 现货商品最小变动值
  14943. type: integer
  14944. optioncompare:
  14945. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14946. type: string
  14947. orderqty:
  14948. description: 委托数量(商品数量)
  14949. type: number
  14950. productdetailid:
  14951. description: 产品组合ID
  14952. type: integer
  14953. productid:
  14954. description: 金融产品ID
  14955. type: integer
  14956. productname:
  14957. description: 产品名称
  14958. type: string
  14959. remark:
  14960. description: 备注
  14961. type: string
  14962. scfcontractid:
  14963. description: 仓单回购合同ID
  14964. type: string
  14965. sellaccountid:
  14966. description: 卖方资金账号
  14967. type: integer
  14968. selluserid:
  14969. description: 卖方用户ID
  14970. type: integer
  14971. sellwrtradeorderid:
  14972. description: 卖方委托单ID
  14973. type: string
  14974. tradeamount:
  14975. description: 成交金额(借款金额)
  14976. type: number
  14977. tradedate:
  14978. description: 交易日(yyyyMMdd)
  14979. type: string
  14980. tradeprice:
  14981. description: 成交价格
  14982. type: number
  14983. warehouseid:
  14984. description: 仓库ID
  14985. type: integer
  14986. warehousename:
  14987. description: 仓库名称
  14988. type: string
  14989. wrfactortypeid:
  14990. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14991. type: string
  14992. wrfactortypename:
  14993. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14994. type: string
  14995. wrpricetype:
  14996. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  14997. type: integer
  14998. wrstandardcode:
  14999. description: 现货商品代码
  15000. type: string
  15001. wrstandardid:
  15002. description: 现货商品ID
  15003. type: integer
  15004. wrstandardname:
  15005. description: 商品名称
  15006. type: string
  15007. wrtypename:
  15008. description: 商品
  15009. type: string
  15010. type: object
  15011. models.WrFriendApply:
  15012. properties:
  15013. applicantid:
  15014. description: 申请人
  15015. type: integer
  15016. applyname:
  15017. description: 申请人名称
  15018. type: string
  15019. applysrc:
  15020. description: 申请来源 - 1:管理端 2:终端
  15021. type: integer
  15022. applystatus:
  15023. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15024. type: integer
  15025. applytime:
  15026. description: 申请时间
  15027. type: string
  15028. auditname:
  15029. description: 审核人名称
  15030. type: string
  15031. auditorid:
  15032. description: 审核人
  15033. type: integer
  15034. auditremark:
  15035. description: 审核备注
  15036. type: string
  15037. auditsrc:
  15038. description: 审核来源 - 1:管理端 2:终端
  15039. type: integer
  15040. audittime:
  15041. description: 审核时间
  15042. type: string
  15043. friendapplyid:
  15044. description: 申请ID(SEQ_FRIENDAPPLY)
  15045. type: string
  15046. friendname:
  15047. description: 好友名字(已脱敏)
  15048. type: string
  15049. frienduserid:
  15050. description: 好友用户ID
  15051. type: string
  15052. remark:
  15053. description: 备注
  15054. type: string
  15055. userid:
  15056. description: 申请人用户ID
  15057. type: integer
  15058. type: object
  15059. models.WrFtDeliveryGoods:
  15060. properties:
  15061. deliverygoodscode:
  15062. description: 品种代码
  15063. type: string
  15064. deliverygoodsid:
  15065. description: 品种ID
  15066. type: integer
  15067. deliverygoodsname:
  15068. description: 品种名称
  15069. type: string
  15070. wdlst:
  15071. description: 商品列表
  15072. items:
  15073. $ref: '#/definitions/models.WrFtWrstandard'
  15074. type: array
  15075. type: object
  15076. models.WrFtWrstandard:
  15077. properties:
  15078. enumdicname:
  15079. description: 单位名称
  15080. type: string
  15081. minivalue:
  15082. description: 最小变动值
  15083. type: integer
  15084. wrstandardcode:
  15085. description: 现货商品代码
  15086. type: string
  15087. wrstandardid:
  15088. description: 现货商品ID
  15089. type: integer
  15090. wrstandardname:
  15091. description: 商品名称
  15092. type: string
  15093. type: object
  15094. models.WrGoodsInfo:
  15095. properties:
  15096. haswr:
  15097. description: 0:仓单预售 1:仓单贸易
  15098. type: integer
  15099. lstitem:
  15100. description: 商品信息项
  15101. items:
  15102. $ref: '#/definitions/models.WrTypeItem'
  15103. type: array
  15104. lststep:
  15105. description: 履约规则
  15106. items:
  15107. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15108. type: array
  15109. marketid:
  15110. description: 市场id
  15111. type: integer
  15112. type: object
  15113. models.WrGoodsPerformanceStep:
  15114. properties:
  15115. autoid:
  15116. description: AutoID
  15117. type: integer
  15118. isauto:
  15119. description: 是否自动 - 0:不自动 1:自动
  15120. type: integer
  15121. remark:
  15122. description: 备注
  15123. type: string
  15124. stepdate:
  15125. description: 天数信息(T+N)
  15126. type: string
  15127. stepdays:
  15128. description: 距离上一步天数
  15129. type: integer
  15130. stepindex:
  15131. description: 步骤序号
  15132. type: integer
  15133. stepinfo:
  15134. description: 步骤信息(步骤名称+步骤值)
  15135. type: string
  15136. steptypeid:
  15137. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15138. type: integer
  15139. steptypename:
  15140. description: 步骤名称
  15141. type: string
  15142. stepvalue:
  15143. description: 步骤值
  15144. type: number
  15145. templateid:
  15146. description: 履约计划模板ID
  15147. type: integer
  15148. type: object
  15149. models.WrHoldLB:
  15150. properties:
  15151. accountid:
  15152. description: 持有人帐户ID
  15153. type: integer
  15154. createtime:
  15155. description: 创建时间(过户时间)
  15156. type: string
  15157. deliverygoodscode:
  15158. description: 品种代码
  15159. type: string
  15160. deliverygoodsid:
  15161. description: 品种ID
  15162. type: integer
  15163. deliverygoodsname:
  15164. description: 品种名称
  15165. type: string
  15166. enableqty:
  15167. description: 可用数量
  15168. type: number
  15169. enumdicname:
  15170. description: 单位名称
  15171. type: string
  15172. freezerqty:
  15173. description: 冻结数量
  15174. type: number
  15175. ladingbillid:
  15176. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15177. type: string
  15178. minivalue:
  15179. description: 现货商品最小变动值
  15180. type: integer
  15181. optioncompare:
  15182. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15183. type: string
  15184. parentsubnum:
  15185. description: 拆分父子单号
  15186. type: integer
  15187. pledgeqty:
  15188. description: 质押数量
  15189. type: number
  15190. qty:
  15191. description: 数量
  15192. type: number
  15193. subnum:
  15194. description: 提单子单号
  15195. type: integer
  15196. tradedate:
  15197. description: 交易日(yyyyMMdd)
  15198. type: string
  15199. userid:
  15200. description: 持有人ID
  15201. type: integer
  15202. warehouseid:
  15203. description: 仓库ID
  15204. type: integer
  15205. warehousename:
  15206. description: 仓库名称
  15207. type: string
  15208. wrfactortypeid:
  15209. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15210. type: string
  15211. wrfactortypename:
  15212. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15213. type: string
  15214. wrholdeno:
  15215. description: 仓单编号
  15216. type: string
  15217. wrid:
  15218. description: 仓单变更ID
  15219. type: string
  15220. wrstandardcode:
  15221. description: 现货商品代码
  15222. type: string
  15223. wrstandardid:
  15224. description: 现货商品ID
  15225. type: integer
  15226. wrstandardname:
  15227. description: 商品名称
  15228. type: string
  15229. wrtypename:
  15230. description: 商品
  15231. type: string
  15232. type: object
  15233. models.WrMarketTradeConfig:
  15234. properties:
  15235. basisdownratio:
  15236. description: 浮动价基差下限比例(仓单贸易)
  15237. type: number
  15238. basisupratio:
  15239. description: 浮动价基差上限比例(仓单贸易)
  15240. type: number
  15241. buychargealgorithm:
  15242. description: 买方手续费收取方式 1:比率 2:固定
  15243. type: integer
  15244. buychargealgorithm2:
  15245. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15246. type: integer
  15247. buychargealgorithmvalue:
  15248. description: 买方手续费设置值(交易所部分)
  15249. type: number
  15250. buychargealgorithmvalue2:
  15251. description: 买方手续费设置值(会员部分)
  15252. type: number
  15253. buychargealgorithmvalue3:
  15254. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15255. type: number
  15256. buychargealgorithmvalue4:
  15257. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15258. type: number
  15259. buyfirstmarginalgorithm:
  15260. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15261. type: integer
  15262. buyfirstmarginvalue:
  15263. description: 买方出价保证金设置值 - [竞拍]
  15264. type: number
  15265. buymarginalgorithm:
  15266. description: 买方保证金方式 - 1:比率 2:固定
  15267. type: integer
  15268. buymarginvalue:
  15269. description: 买方保证金设置值
  15270. type: number
  15271. buyreleaseratio:
  15272. description: 买方释放比率[2:分步履约]
  15273. type: number
  15274. executemode:
  15275. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15276. type: integer
  15277. executeside:
  15278. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15279. type: integer
  15280. failedchargealgorithm:
  15281. description: 流拍手续费收取方式 1:比率 2:固定
  15282. type: integer
  15283. failedchargevalue:
  15284. description: 流拍手续费设置值
  15285. type: number
  15286. failedchargevalue2:
  15287. description: 流拍卖方手续费设置值
  15288. type: number
  15289. holddays:
  15290. description: 合同期限[2:分步履约]
  15291. type: integer
  15292. marketid:
  15293. description: 市场ID-仓单贸易、竞拍、预售
  15294. type: integer
  15295. minqty:
  15296. description: 最小执行量[2:分步履约]
  15297. type: number
  15298. modifierid:
  15299. description: 修改人
  15300. type: integer
  15301. performancetempid:
  15302. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)
  15303. type: integer
  15304. performancetempid2:
  15305. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行
  15306. type: integer
  15307. performanceway:
  15308. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15309. type: integer
  15310. sellchargealgorithm:
  15311. description: 卖方手续费收取方式 1:比率 2:固定
  15312. type: integer
  15313. sellchargealgorithm2:
  15314. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15315. type: integer
  15316. sellchargealgorithmvalue:
  15317. description: 卖方手续费设置值(交易所部分)
  15318. type: number
  15319. sellchargealgorithmvalue2:
  15320. description: 卖方手续费设置值(会员部分)
  15321. type: number
  15322. sellchargealgorithmvalue3:
  15323. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15324. type: number
  15325. sellchargealgorithmvalue4:
  15326. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15327. type: number
  15328. sellmarginalgorithm:
  15329. description: 卖方保证金方式 - 1:比率 2:固定
  15330. type: integer
  15331. sellmarginvalue:
  15332. description: 卖方保证金设置值
  15333. type: number
  15334. sellmarginvalue2:
  15335. description: 卖方保证金设置值(无仓单)
  15336. type: number
  15337. sellreleaseratio:
  15338. description: 卖方释放比率[2:分步履约]
  15339. type: number
  15340. updatetime:
  15341. description: 更新时间
  15342. type: string
  15343. type: object
  15344. models.WrOrderDetail:
  15345. properties:
  15346. accountid:
  15347. description: 交易账号(资金账号)
  15348. type: integer
  15349. allfriendsflag:
  15350. description: 是否全好友可见 - 0:否 1:是
  15351. type: integer
  15352. amount:
  15353. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  15354. type: number
  15355. buyorsell:
  15356. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15357. type: integer
  15358. canbargain:
  15359. description: 是否可议价 - 0:不可 1:可
  15360. type: integer
  15361. cancelqty:
  15362. description: 撤销数量
  15363. type: number
  15364. canpart:
  15365. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15366. type: integer
  15367. delistminqty:
  15368. description: 起摘数量
  15369. type: integer
  15370. deliverygoodscode:
  15371. description: 品种代码
  15372. type: string
  15373. deliverygoodsid:
  15374. description: 品种ID
  15375. type: integer
  15376. deliverygoodsname:
  15377. description: 品种名称
  15378. type: string
  15379. deliverymonth:
  15380. description: 交收月
  15381. type: string
  15382. enumdicname:
  15383. description: 单位名称
  15384. type: string
  15385. fixedprice:
  15386. description: 固定价格 - [挂牌]
  15387. type: number
  15388. freezemargin:
  15389. description: 冻结保证金(保证金)
  15390. type: number
  15391. futupricemove:
  15392. description: 期货升贴水
  15393. type: number
  15394. futushow:
  15395. description: 期货合约/升贴水
  15396. type: string
  15397. goodscode:
  15398. description: 期货合约
  15399. type: string
  15400. goodsid:
  15401. description: 期货商品id
  15402. type: integer
  15403. goodsname:
  15404. description: 商品名称
  15405. type: string
  15406. haswr:
  15407. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15408. type: integer
  15409. isspecified:
  15410. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15411. type: integer
  15412. ladingbillid:
  15413. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15414. type: string
  15415. marginvalue:
  15416. description: 保证金设置值(履约保证金)
  15417. type: number
  15418. marketid:
  15419. description: 市场ID
  15420. type: integer
  15421. matchusername:
  15422. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15423. type: string
  15424. minivalue:
  15425. description: 现货商品最小变动值
  15426. type: integer
  15427. optioncompare:
  15428. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15429. type: string
  15430. orderqty:
  15431. description: 委托数量
  15432. type: number
  15433. ordertime:
  15434. description: 委托时间(挂牌时间)
  15435. type: string
  15436. performancetemplateid:
  15437. description: 履约模板id
  15438. type: integer
  15439. pricemove:
  15440. description: 升贴水(浮动价时填写) - [挂牌]
  15441. type: number
  15442. taname:
  15443. description: 交易用户名称(资金账号名称)
  15444. type: string
  15445. tradedate:
  15446. description: 交易日(yyyyMMdd)
  15447. type: string
  15448. tradeprice:
  15449. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15450. type: number
  15451. tradeqty:
  15452. description: 成交数量
  15453. type: number
  15454. userid:
  15455. description: 用户ID
  15456. type: integer
  15457. validtime:
  15458. description: 挂牌有效期
  15459. type: string
  15460. warehouseid:
  15461. description: 仓库ID
  15462. type: integer
  15463. warehousename:
  15464. description: 仓库名称
  15465. type: string
  15466. wrfactortypeid:
  15467. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15468. type: string
  15469. wrfactortypename:
  15470. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15471. type: string
  15472. wrpricetype:
  15473. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15474. type: integer
  15475. wrstandardcode:
  15476. description: 现货商品代码
  15477. type: string
  15478. wrstandardid:
  15479. description: 现货商品ID
  15480. type: integer
  15481. wrstandardname:
  15482. description: 商品名称
  15483. type: string
  15484. wrtradeorderid:
  15485. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15486. type: string
  15487. wrtradeorderstatus:
  15488. 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:撤单解冻贷款失败
  15489. type: integer
  15490. wrtradetype:
  15491. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15492. type: integer
  15493. wrtypename:
  15494. description: 商品
  15495. type: string
  15496. type: object
  15497. models.WrOrderQuote:
  15498. properties:
  15499. buyprice:
  15500. description: 买价
  15501. type: number
  15502. buypricemove:
  15503. description: 买升贴水(基差)
  15504. type: number
  15505. buyqty:
  15506. description: 买量
  15507. type: number
  15508. deliverygoodscode:
  15509. description: 品种代码
  15510. type: string
  15511. deliverygoodsid:
  15512. description: 品种id
  15513. type: integer
  15514. deliverygoodsname:
  15515. description: 品种名称
  15516. type: string
  15517. deliverymonth:
  15518. description: 交收月
  15519. type: string
  15520. enumdicname:
  15521. description: 单位名称
  15522. type: string
  15523. goodscode:
  15524. description: 商品合约(浮动价列表才有)
  15525. type: string
  15526. goodsid:
  15527. description: 商品id(浮动价列表才有)
  15528. type: integer
  15529. minivalue:
  15530. description: 现货商品最小变动值
  15531. type: integer
  15532. sellprice:
  15533. description: 卖价
  15534. type: number
  15535. sellpricemove:
  15536. description: 卖升贴水(基差)
  15537. type: number
  15538. sellqty:
  15539. description: 卖量
  15540. type: number
  15541. warehousecode:
  15542. description: 仓库代码
  15543. type: string
  15544. warehouseid:
  15545. description: 仓库id
  15546. type: integer
  15547. warehousename:
  15548. description: 仓库名称
  15549. type: string
  15550. wrfactortypeid:
  15551. description: 仓单要素id
  15552. type: string
  15553. wrfactortypename:
  15554. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15555. type: string
  15556. wrgoodsname:
  15557. description: 商品(商品名称+仓库要素名称 拼接)
  15558. type: string
  15559. wrstandardcode:
  15560. description: 商品代码
  15561. type: string
  15562. wrstandardid:
  15563. description: 商品id
  15564. type: integer
  15565. wrstandardname:
  15566. description: 商品名称
  15567. type: string
  15568. type: object
  15569. models.WrOrderQuoteDetail:
  15570. properties:
  15571. buyorsell:
  15572. description: 买卖 - 0:买 1:卖
  15573. type: integer
  15574. delistminqty:
  15575. description: 起摘数量
  15576. type: number
  15577. deliverymonth:
  15578. description: 交收月
  15579. type: string
  15580. enumdicname:
  15581. description: 单位名称
  15582. type: string
  15583. fixedprice:
  15584. description: 买(卖)价
  15585. type: number
  15586. minivalue:
  15587. description: 现货商品最小变动值
  15588. type: integer
  15589. orderqty:
  15590. description: 买(卖)量(=委托量-成交量)
  15591. type: number
  15592. ordertime:
  15593. description: 委托时间
  15594. type: string
  15595. pricemove:
  15596. description: 买(卖)升贴水- 基差
  15597. type: number
  15598. userid:
  15599. description: 购买方(销售方)用户ID
  15600. type: integer
  15601. username:
  15602. description: 购买方(销售方)
  15603. type: string
  15604. wrtradeorderid:
  15605. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15606. type: string
  15607. type: object
  15608. models.WrOutInApply:
  15609. properties:
  15610. applyid:
  15611. description: 申请单id
  15612. type: string
  15613. applystatus:
  15614. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  15615. type: integer
  15616. applytime:
  15617. description: 申请时间
  15618. type: string
  15619. applytype:
  15620. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15621. type: integer
  15622. deliverygoodscode:
  15623. description: 品种代码
  15624. type: string
  15625. deliverygoodsid:
  15626. description: 品种ID
  15627. type: integer
  15628. deliverygoodsname:
  15629. description: 品种名称
  15630. type: string
  15631. enumdicname:
  15632. description: 单位名称
  15633. type: string
  15634. expresscompany:
  15635. description: 物流公司
  15636. type: string
  15637. expressnum:
  15638. description: 物流单号
  15639. type: string
  15640. minivalue:
  15641. description: 现货商品最小变动值
  15642. type: integer
  15643. optioncompare:
  15644. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15645. type: string
  15646. qty:
  15647. description: 数量
  15648. type: integer
  15649. userid:
  15650. description: 用户id
  15651. type: integer
  15652. warehouseid:
  15653. description: 仓库ID
  15654. type: integer
  15655. warehousename:
  15656. description: 仓库名称
  15657. type: string
  15658. wrfactortypeid:
  15659. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15660. type: string
  15661. wrfactortypename:
  15662. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15663. type: string
  15664. wrstandardcode:
  15665. description: 现货商品代码
  15666. type: string
  15667. wrstandardid:
  15668. description: 现货商品ID
  15669. type: integer
  15670. wrstandardname:
  15671. description: 商品名称
  15672. type: string
  15673. wrtypename:
  15674. description: 商品
  15675. type: string
  15676. type: object
  15677. models.WrPerformancePlan:
  15678. properties:
  15679. activatemonth:
  15680. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  15681. type: string
  15682. amount:
  15683. description: 履约金额(总金额)
  15684. type: number
  15685. buyaccountid:
  15686. description: 买方账号
  15687. type: integer
  15688. buyerfreezeamount:
  15689. description: 履约冻结(买履约)
  15690. type: number
  15691. buyerfreezeamountremain:
  15692. description: 履约冻结剩余(买履约)
  15693. type: number
  15694. buyorsell:
  15695. description: 买卖方向 0-买 1-卖
  15696. type: integer
  15697. buypaidamount:
  15698. description: 买方已冻/已扣金额 (已付金额)
  15699. type: number
  15700. buyusername:
  15701. description: 买方名字
  15702. type: string
  15703. contractid:
  15704. description: 合同ID
  15705. type: integer
  15706. createtime:
  15707. description: 创建时间
  15708. type: string
  15709. creatorid:
  15710. description: 创建人
  15711. type: integer
  15712. curstepdeadline:
  15713. description: 当前步骤到期时间
  15714. type: string
  15715. curstepid:
  15716. description: 当前步骤ID
  15717. type: string
  15718. curstepname:
  15719. description: 当前步骤名称
  15720. type: string
  15721. deliverygoodscode:
  15722. description: 品种代码
  15723. type: string
  15724. deliverygoodsid:
  15725. description: 品种ID
  15726. type: integer
  15727. deliverygoodsname:
  15728. description: 品种名称
  15729. type: string
  15730. enumdicname:
  15731. description: 单位名称
  15732. type: string
  15733. expressfee:
  15734. description: 运费
  15735. type: number
  15736. expressfeeconfirmed:
  15737. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  15738. type: integer
  15739. hasovershort:
  15740. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  15741. type: integer
  15742. haswr:
  15743. description: 类型 0-仓单预售 1-仓单贸易
  15744. type: integer
  15745. marketid:
  15746. description: 市场ID
  15747. type: integer
  15748. middleaccountid:
  15749. description: 中间商资金账号ID
  15750. type: integer
  15751. middleuserid:
  15752. description: 中间商用户ID
  15753. type: integer
  15754. minivalue:
  15755. description: 现货商品最小变动值
  15756. type: integer
  15757. optioncompare:
  15758. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15759. type: string
  15760. overshortamount:
  15761. description: 溢短金额
  15762. type: number
  15763. overshortqty:
  15764. description: 溢短数量
  15765. type: number
  15766. paymenttype:
  15767. description: 付款方式 - 1:冻结 2:扣款
  15768. type: integer
  15769. performanceplanid:
  15770. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  15771. type: string
  15772. performancestatus:
  15773. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
  15774. type: integer
  15775. performancetype:
  15776. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  15777. type: integer
  15778. qty:
  15779. description: 履约数量
  15780. type: number
  15781. relatedorderid:
  15782. description: 关联单号(履约类型的关联单号)
  15783. type: string
  15784. remark:
  15785. description: 备注
  15786. type: string
  15787. sellaccountid:
  15788. description: 卖方账号
  15789. type: integer
  15790. sellerfreezeamount:
  15791. description: 履约冻结(卖履约)
  15792. type: number
  15793. sellerfreezeamountremain:
  15794. description: 履约冻结剩余(卖履约)
  15795. type: number
  15796. sellreceivedamount:
  15797. description: 卖方已收金额
  15798. type: number
  15799. sellusername:
  15800. description: 卖方名字
  15801. type: string
  15802. shipremark:
  15803. description: 发货备注[物流单号]
  15804. type: string
  15805. starttime:
  15806. description: 开始时间
  15807. type: string
  15808. steptypeid:
  15809. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15810. type: integer
  15811. typename:
  15812. description: 履约类型 名称
  15813. type: string
  15814. unpaidamount:
  15815. description: 剩余款(待支付金额)
  15816. type: number
  15817. userid:
  15818. description: 用户id
  15819. type: integer
  15820. warehouseid:
  15821. description: 仓库ID
  15822. type: integer
  15823. warehousename:
  15824. description: 仓库名称
  15825. type: string
  15826. wrfactortypeid:
  15827. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15828. type: string
  15829. wrfactortypename:
  15830. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15831. type: string
  15832. wrstandardcode:
  15833. description: 现货商品代码
  15834. type: string
  15835. wrstandardid:
  15836. description: 现货商品ID
  15837. type: integer
  15838. wrstandardname:
  15839. description: 商品名称
  15840. type: string
  15841. wrtransferuserid:
  15842. description: 仓单受让用户
  15843. type: integer
  15844. wrtypename:
  15845. description: 商品
  15846. type: string
  15847. required:
  15848. - userid
  15849. type: object
  15850. models.WrPerformancePlanStep:
  15851. properties:
  15852. delaydays:
  15853. description: 延期申请天数
  15854. type: integer
  15855. deliverygoodscode:
  15856. description: 品种代码
  15857. type: string
  15858. deliverygoodsid:
  15859. description: 品种ID
  15860. type: integer
  15861. deliverygoodsname:
  15862. description: 品种名称
  15863. type: string
  15864. endtime:
  15865. description: 结束日期
  15866. type: string
  15867. enumdicname:
  15868. description: 单位名称
  15869. type: string
  15870. executeside:
  15871. description: 步骤执行方 - 1:买方 2:卖方
  15872. type: integer
  15873. handlestatus:
  15874. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  15875. type: integer
  15876. isauto:
  15877. description: 是否自动 - 0:不自动 1:自动
  15878. type: integer
  15879. islastreceivestep:
  15880. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  15881. type: integer
  15882. minivalue:
  15883. description: 现货商品最小变动值
  15884. type: integer
  15885. optioncompare:
  15886. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15887. type: string
  15888. overdays:
  15889. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  15890. type: integer
  15891. performancestepid:
  15892. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  15893. type: string
  15894. planid:
  15895. description: 所属履约计划ID
  15896. type: string
  15897. realamount:
  15898. description: 实际完成金额
  15899. type: number
  15900. relatedorderid:
  15901. description: 关联单号
  15902. type: string
  15903. remaindays:
  15904. description: 剩余天数
  15905. type: integer
  15906. remark:
  15907. description: 错误备注
  15908. type: string
  15909. starttime:
  15910. description: 开始日期
  15911. type: string
  15912. stepamount:
  15913. description: 步骤金额
  15914. type: number
  15915. stepdays:
  15916. description: 距离上一步天数(分钟)
  15917. type: integer
  15918. stepindex:
  15919. description: 步骤序号
  15920. type: integer
  15921. steplanchtype:
  15922. description: 步骤启动类型 - 1:系统自动 2:手动
  15923. type: integer
  15924. stepremark:
  15925. description: 步骤备注
  15926. type: string
  15927. stepstatus:
  15928. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  15929. type: integer
  15930. steptypeid:
  15931. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15932. type: integer
  15933. steptypename:
  15934. description: 步骤名称
  15935. type: string
  15936. stepvalue:
  15937. description: 步骤值
  15938. type: number
  15939. warehouseid:
  15940. description: 仓库ID
  15941. type: integer
  15942. warehousename:
  15943. description: 仓库名称
  15944. type: string
  15945. wrfactortypeid:
  15946. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15947. type: string
  15948. wrfactortypename:
  15949. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15950. type: string
  15951. wrstandardcode:
  15952. description: 现货商品代码
  15953. type: string
  15954. wrstandardid:
  15955. description: 现货商品ID
  15956. type: integer
  15957. wrstandardname:
  15958. description: 商品名称
  15959. type: string
  15960. wrtypename:
  15961. description: 商品
  15962. type: string
  15963. type: object
  15964. models.WrPerformanceStepType:
  15965. properties:
  15966. canauto:
  15967. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  15968. type: integer
  15969. steptypeid:
  15970. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  15971. type: integer
  15972. steptypename:
  15973. description: 步骤类型名称
  15974. type: string
  15975. type: object
  15976. models.WrPerformanceTemplateEx:
  15977. properties:
  15978. autoid:
  15979. description: AutoID 模板id
  15980. type: integer
  15981. createtime:
  15982. description: 创建时间
  15983. type: string
  15984. creatorid:
  15985. description: 创建人
  15986. type: integer
  15987. lstStep:
  15988. description: 步骤信息列表
  15989. items:
  15990. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15991. type: array
  15992. paymenttype:
  15993. description: 支付方式 - 1:冻结 2:扣款
  15994. type: integer
  15995. takemode:
  15996. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  15997. type: integer
  15998. templatename:
  15999. description: 模板名称
  16000. type: string
  16001. templatetype:
  16002. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16003. type: integer
  16004. userid:
  16005. description: 所属用户
  16006. type: integer
  16007. type: object
  16008. models.WrPosition:
  16009. properties:
  16010. accountid:
  16011. description: 帐户ID
  16012. type: integer
  16013. buyexcuteqty:
  16014. description: 采购履约中数量
  16015. type: number
  16016. creditcurqty:
  16017. description: 授信当前数量(预售仓单:预售当前量)
  16018. type: number
  16019. creditenableqty:
  16020. description: '授信可用数量(预售仓单: 可用数量)'
  16021. type: number
  16022. creditfreezeqty:
  16023. description: '授信冻结数量(预售仓单: 当前数量)'
  16024. type: number
  16025. credittotalqty:
  16026. description: 授信总数量(预售仓单:预售总量)
  16027. type: number
  16028. credittradeqty:
  16029. description: 授信成交数量(预售仓单:成交总量)
  16030. type: number
  16031. deliverygoodscode:
  16032. description: 品种代码
  16033. type: string
  16034. deliverygoodsid:
  16035. description: 品种ID
  16036. type: integer
  16037. deliverygoodsname:
  16038. description: 品种名称
  16039. type: string
  16040. enalbeqty:
  16041. description: 可用数量
  16042. type: number
  16043. enumdicname:
  16044. description: 单位名称
  16045. type: string
  16046. freezeqty:
  16047. description: 总冻结数量
  16048. type: number
  16049. haswr:
  16050. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16051. type: integer
  16052. minivalue:
  16053. description: 现货商品最小变动值
  16054. type: integer
  16055. modifytime:
  16056. description: 修改时间(过户时间)
  16057. type: string
  16058. optioncompare:
  16059. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16060. type: string
  16061. pledgeqty:
  16062. description: 质押数量
  16063. type: number
  16064. querytype:
  16065. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16066. type: integer
  16067. sellexcuteqty:
  16068. description: 销售履约中数量
  16069. type: number
  16070. totalqty:
  16071. description: 总数量(库存数量)
  16072. type: number
  16073. warehouseid:
  16074. description: 仓库ID
  16075. type: integer
  16076. warehousename:
  16077. description: 仓库名称
  16078. type: string
  16079. wrfactortypeid:
  16080. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16081. type: string
  16082. wrfactortypename:
  16083. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16084. type: string
  16085. wrpositionid:
  16086. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16087. type: string
  16088. wrpositionno:
  16089. description: 仓单编号
  16090. type: string
  16091. wrstandardcode:
  16092. description: 现货商品代码
  16093. type: string
  16094. wrstandardid:
  16095. description: 现货商品ID
  16096. type: integer
  16097. wrstandardname:
  16098. description: 商品名称
  16099. type: string
  16100. wrtypename:
  16101. description: 商品
  16102. type: string
  16103. wruserid:
  16104. description: 持有人ID
  16105. type: integer
  16106. type: object
  16107. models.WrQuoteOrderMyq:
  16108. properties:
  16109. buyorsell:
  16110. description: 买卖 - 0:买 1:卖
  16111. type: integer
  16112. canbargain:
  16113. description: 是否可议价 - 0:不可 1:可
  16114. type: integer
  16115. canpart:
  16116. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16117. type: integer
  16118. delistminqty:
  16119. description: 起摘数量
  16120. type: number
  16121. deliverygoodscode:
  16122. description: 品种代码
  16123. type: string
  16124. deliverygoodsid:
  16125. description: 品种ID
  16126. type: integer
  16127. deliverygoodsname:
  16128. description: 品种名称
  16129. type: string
  16130. deliverymonth:
  16131. description: 交收月
  16132. type: string
  16133. enumdicname:
  16134. description: 单位名称
  16135. type: string
  16136. fixedprice:
  16137. description: 买(卖)价
  16138. type: number
  16139. goodscode:
  16140. description: 商品合约代码
  16141. type: string
  16142. marginflag:
  16143. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16144. type: integer
  16145. marginvalue:
  16146. description: 保证金设置值
  16147. type: number
  16148. minivalue:
  16149. description: 现货商品最小变动值
  16150. type: integer
  16151. orderqty:
  16152. description: 买(卖)量(=委托量-成交量)
  16153. type: number
  16154. ordertime:
  16155. description: 委托时间
  16156. type: string
  16157. performancetemplateid:
  16158. description: 履约模板id
  16159. type: integer
  16160. pricemove:
  16161. description: 买(卖)升贴水- 基差
  16162. type: number
  16163. templatename:
  16164. description: 履约模板名称
  16165. type: string
  16166. userid:
  16167. description: 购买方(销售方)用户ID
  16168. type: integer
  16169. username:
  16170. description: 购买方(销售方)
  16171. type: string
  16172. validtime:
  16173. description: 有效期限
  16174. type: string
  16175. validtype:
  16176. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16177. type: integer
  16178. warehousename:
  16179. description: 仓库名称
  16180. type: string
  16181. wrfactortypeid:
  16182. description: 仓单要素id
  16183. type: string
  16184. wrstandardcode:
  16185. description: 现货商品代码
  16186. type: string
  16187. wrstandardid:
  16188. description: 现货商品ID
  16189. type: integer
  16190. wrstandardname:
  16191. description: 商品名称
  16192. type: string
  16193. wrtradeorderid:
  16194. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16195. type: string
  16196. wrtypename:
  16197. description: 商品
  16198. type: string
  16199. type: object
  16200. models.WrScfContract:
  16201. properties:
  16202. borroweruserid:
  16203. description: 借款用户ID
  16204. type: integer
  16205. buybackwrpositionqty:
  16206. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16207. type: number
  16208. closeinterest:
  16209. description: 已结利息 -> 已结费用
  16210. type: number
  16211. currisklevel:
  16212. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16213. type: integer
  16214. deadline:
  16215. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16216. type: string
  16217. deliverygoodscode:
  16218. description: 品种代码
  16219. type: string
  16220. deliverygoodsid:
  16221. description: 品种ID
  16222. type: integer
  16223. deliverygoodsname:
  16224. description: 品种名称
  16225. type: string
  16226. enumdicname:
  16227. description: 单位名称
  16228. type: string
  16229. financingdays:
  16230. description: 天数(天)
  16231. type: integer
  16232. initmargin:
  16233. description: 保证金 - [仓单回购]
  16234. type: number
  16235. interestamount:
  16236. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16237. type: number
  16238. interestdebt:
  16239. description: 利息欠款(记录负数) -> 费用欠款
  16240. type: number
  16241. interestminlen:
  16242. description: 最小起息天数
  16243. type: integer
  16244. interestrate:
  16245. description: 利率
  16246. type: number
  16247. interestratemode:
  16248. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16249. type: integer
  16250. interestsettlemode:
  16251. description: 结息方式 - 1:按日结息 3:按月结息
  16252. type: integer
  16253. interestsettlevalue:
  16254. description: 结息方式值
  16255. type: integer
  16256. isautoloan:
  16257. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16258. type: integer
  16259. lastcloseinterestday:
  16260. description: 最近结息日(yyyyMMdd)
  16261. type: string
  16262. lenderamount:
  16263. description: 贷款金额 -> 借款金额
  16264. type: number
  16265. lenderuserid:
  16266. description: 贷款方用户ID -> 融出方用户ID
  16267. type: integer
  16268. lenderusername:
  16269. description: 融出方
  16270. type: string
  16271. marginratio:
  16272. description: 保证金比率质押率 - [仓单质押]
  16273. type: number
  16274. marketid:
  16275. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16276. type: integer
  16277. minivalue:
  16278. description: 现货商品最小变动值
  16279. type: integer
  16280. optioncompare:
  16281. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16282. type: string
  16283. pricemove:
  16284. description: 估值升贴水值
  16285. type: number
  16286. productdetailid:
  16287. description: 产品组合ID
  16288. type: integer
  16289. productid:
  16290. description: 金融产品ID
  16291. type: integer
  16292. productname:
  16293. description: 产品名称
  16294. type: string
  16295. remainamount:
  16296. description: 合同剩余金额 -> 剩余金额
  16297. type: number
  16298. remainwrpositionqty:
  16299. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16300. type: number
  16301. remark:
  16302. description: 备注
  16303. type: string
  16304. scfcontractid:
  16305. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16306. type: string
  16307. scfcontractstatus:
  16308. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  16309. type: integer
  16310. scfcontracttype:
  16311. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16312. type: integer
  16313. startinterestday:
  16314. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16315. type: string
  16316. totalinterest:
  16317. description: 已计利息 -> 已计费用
  16318. type: number
  16319. unpaidinterest:
  16320. description: 未结费用
  16321. type: number
  16322. updatetime:
  16323. description: 更新时间
  16324. type: string
  16325. warehouseid:
  16326. description: 仓库ID
  16327. type: integer
  16328. warehousename:
  16329. description: 仓库名称
  16330. type: string
  16331. wrfactortypeid:
  16332. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16333. type: string
  16334. wrfactortypename:
  16335. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16336. type: string
  16337. wrqty:
  16338. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16339. type: number
  16340. wrstandardcode:
  16341. description: 现货商品代码
  16342. type: string
  16343. wrstandardid:
  16344. description: 现货商品ID
  16345. type: integer
  16346. wrstandardname:
  16347. description: 商品名称
  16348. type: string
  16349. wrtypename:
  16350. description: 商品
  16351. type: string
  16352. type: object
  16353. models.WrScfContractInterest:
  16354. properties:
  16355. closeinterest:
  16356. description: 已结利息
  16357. type: number
  16358. closeintereststatus:
  16359. description: 结息状态 - 1:未结 2:已结
  16360. type: integer
  16361. closetime:
  16362. description: 结息时间
  16363. type: string
  16364. closetradedate:
  16365. description: 结息交易日
  16366. type: string
  16367. creatorid:
  16368. description: 操作人ID
  16369. type: integer
  16370. dayrate:
  16371. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16372. type: number
  16373. interest:
  16374. description: 利息
  16375. type: number
  16376. interestamount:
  16377. description: 计息金额
  16378. type: number
  16379. interestday:
  16380. description: 计息日(yyyyMMdd)
  16381. type: string
  16382. scfcontractid:
  16383. description: SCF合同ID
  16384. type: string
  16385. scfcontractinterestid:
  16386. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16387. type: integer
  16388. updatetime:
  16389. description: 更新时间
  16390. type: string
  16391. type: object
  16392. models.WrSpecialMatchOrder:
  16393. properties:
  16394. amount:
  16395. description: 金额 = 数量 * 价格
  16396. type: number
  16397. buyorsell:
  16398. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16399. type: integer
  16400. cancelqty:
  16401. description: 撤销数量
  16402. type: number
  16403. deliverygoodscode:
  16404. description: 品种代码
  16405. type: string
  16406. deliverygoodsid:
  16407. description: 品种ID
  16408. type: integer
  16409. deliverygoodsname:
  16410. description: 品种名称
  16411. type: string
  16412. enumdicname:
  16413. description: 单位名称
  16414. type: string
  16415. fixedprice:
  16416. description: 固定价格(价格)
  16417. type: number
  16418. haswr:
  16419. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16420. type: integer
  16421. marketid:
  16422. description: 市场ID
  16423. type: integer
  16424. matchuserid:
  16425. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16426. type: integer
  16427. matchusername:
  16428. description: 指定方
  16429. type: string
  16430. minivalue:
  16431. description: 现货商品最小变动值
  16432. type: integer
  16433. optioncompare:
  16434. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16435. type: string
  16436. orderqty:
  16437. description: 委托数量
  16438. type: number
  16439. ordertime:
  16440. description: 委托时间
  16441. type: string
  16442. pricemove:
  16443. description: 升贴水(浮动价时填写) - [挂牌]
  16444. type: number
  16445. tradedate:
  16446. description: 交易日(yyyyMMdd)
  16447. type: string
  16448. tradeprice:
  16449. description: 成交价格
  16450. type: number
  16451. tradeqty:
  16452. description: 成交数量
  16453. type: number
  16454. userid:
  16455. description: 用户ID
  16456. type: integer
  16457. username:
  16458. description: 发起方
  16459. type: string
  16460. warehouseid:
  16461. description: 仓库ID
  16462. type: integer
  16463. warehousename:
  16464. description: 仓库名称
  16465. type: string
  16466. wrfactortypeid:
  16467. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16468. type: string
  16469. wrfactortypename:
  16470. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16471. type: string
  16472. wrpricetype:
  16473. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16474. type: integer
  16475. wrstandardcode:
  16476. description: 现货商品代码
  16477. type: string
  16478. wrstandardid:
  16479. description: 现货商品ID
  16480. type: integer
  16481. wrstandardname:
  16482. description: 商品名称
  16483. type: string
  16484. wrtradeorderid:
  16485. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16486. type: string
  16487. wrtradeorderstatus:
  16488. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16489. type: integer
  16490. wrtradetype:
  16491. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16492. type: integer
  16493. wrtypename:
  16494. description: 商品
  16495. type: string
  16496. type: object
  16497. models.WrStandardFactoryItem:
  16498. properties:
  16499. dgfactoryitemid:
  16500. description: 选择项id
  16501. type: integer
  16502. dgfactoryitemvalue:
  16503. description: 要素项值
  16504. type: string
  16505. warehouseid:
  16506. description: 仓库id
  16507. type: integer
  16508. type: object
  16509. models.WrStandardFactoryItemEx:
  16510. properties:
  16511. dgfactoryitemtypeid:
  16512. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16513. type: integer
  16514. itemlst:
  16515. description: 要素项列表
  16516. items:
  16517. $ref: '#/definitions/models.WrStandardFactoryItem'
  16518. type: array
  16519. itemtypename:
  16520. description: 要素项类型名称
  16521. type: string
  16522. wrstandardid:
  16523. description: 品类
  16524. type: integer
  16525. type: object
  16526. models.WrTradeDetail:
  16527. properties:
  16528. accountid:
  16529. description: 资金账号
  16530. type: integer
  16531. buyorsell:
  16532. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16533. type: integer
  16534. chargevalue:
  16535. description: 手续费
  16536. type: number
  16537. deliverygoodscode:
  16538. description: 品种代码
  16539. type: string
  16540. deliverygoodsid:
  16541. description: 品种ID
  16542. type: integer
  16543. deliverygoodsname:
  16544. description: 品种名称
  16545. type: string
  16546. deliverymonth:
  16547. description: 交收月
  16548. type: string
  16549. enumdicname:
  16550. description: 单位名称
  16551. type: string
  16552. haswr:
  16553. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16554. type: integer
  16555. marketid:
  16556. description: 市场ID
  16557. type: integer
  16558. matchaccountid:
  16559. description: 对手账号
  16560. type: integer
  16561. matchusername:
  16562. description: 对手方
  16563. type: string
  16564. minivalue:
  16565. description: 现货商品最小变动值
  16566. type: integer
  16567. optioncompare:
  16568. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16569. type: string
  16570. tradedate:
  16571. description: 交易日(yyyyMMdd)
  16572. type: string
  16573. tradeprice:
  16574. description: 成交价格
  16575. type: number
  16576. tradeqty:
  16577. description: 成交数量
  16578. type: number
  16579. tradetime:
  16580. description: 成交时间
  16581. type: string
  16582. userid:
  16583. description: 用户ID
  16584. type: integer
  16585. warehouseid:
  16586. description: 仓库ID
  16587. type: integer
  16588. warehousename:
  16589. description: 仓库名称
  16590. type: string
  16591. wrfactortypeid:
  16592. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16593. type: string
  16594. wrfactortypename:
  16595. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16596. type: string
  16597. wrstandardcode:
  16598. description: 现货商品代码
  16599. type: string
  16600. wrstandardid:
  16601. description: 现货商品ID
  16602. type: integer
  16603. wrstandardname:
  16604. description: 商品名称
  16605. type: string
  16606. wrtradedetailid:
  16607. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  16608. type: string
  16609. wrtradetype:
  16610. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16611. type: integer
  16612. wrtypename:
  16613. description: 商品
  16614. type: string
  16615. type: object
  16616. models.WrTradeOrderDetail:
  16617. properties:
  16618. buyorsell:
  16619. description: 买卖方向 0-买 1-卖
  16620. type: integer
  16621. goodsid:
  16622. description: 商品id
  16623. type: integer
  16624. orderid:
  16625. description: 委托单号
  16626. type: string
  16627. orderprice:
  16628. description: 委托价格
  16629. type: number
  16630. orderqty:
  16631. description: 委托数量
  16632. type: integer
  16633. userid:
  16634. description: 用户id
  16635. type: integer
  16636. username:
  16637. description: 用户名称(已脱敏)
  16638. type: string
  16639. type: object
  16640. models.WrTypeItem:
  16641. properties:
  16642. name:
  16643. description: 名称
  16644. type: string
  16645. value:
  16646. description: 值
  16647. type: string
  16648. type: object
  16649. models.WrUserFriend:
  16650. properties:
  16651. friendname:
  16652. description: 朋友名称(已脱敏)
  16653. type: string
  16654. frienduserid:
  16655. description: 朋友id
  16656. type: integer
  16657. isfriend:
  16658. description: 是否好友 0-不是 1-是
  16659. type: integer
  16660. userid:
  16661. description: 用户id
  16662. type: integer
  16663. type: object
  16664. models.WrUserReceiptInfo:
  16665. properties:
  16666. address:
  16667. description: 地址[发票类型:企业]
  16668. type: string
  16669. autoid:
  16670. description: AutoID
  16671. type: integer
  16672. contactinfo:
  16673. description: 联系方式
  16674. type: string
  16675. idnum:
  16676. description: 身份证号码[发票类型:个人]
  16677. type: string
  16678. isdefault:
  16679. description: 是否默认地址 - 0:否 1:是
  16680. type: integer
  16681. receiptaccount:
  16682. description: 发票帐号[发票类型:企业]
  16683. type: string
  16684. receiptbank:
  16685. description: 发票开户行[发票类型:企业]
  16686. type: string
  16687. receipttype:
  16688. description: 发票类型 - 1:个人 2:企业
  16689. type: integer
  16690. taxpayerid:
  16691. description: 纳税人识别号
  16692. type: string
  16693. userid:
  16694. description: 用户ID
  16695. type: integer
  16696. username:
  16697. description: 户名(个人姓名或企业名称)
  16698. type: string
  16699. type: object
  16700. models.XHBRAND:
  16701. properties:
  16702. brandid:
  16703. description: 品牌id
  16704. type: integer
  16705. brandname:
  16706. description: 品牌名称
  16707. type: string
  16708. isvalid:
  16709. description: 是否有效 0-无效 1-有效
  16710. type: integer
  16711. type: object
  16712. models.XHDeliveryGoods:
  16713. properties:
  16714. areauserid:
  16715. description: 所属机构
  16716. type: integer
  16717. bdlst:
  16718. description: 品牌列表
  16719. items:
  16720. $ref: '#/definitions/models.XHBRAND'
  16721. type: array
  16722. deliverygoodscode:
  16723. description: 现货品种代码
  16724. type: string
  16725. deliverygoodsid:
  16726. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16727. type: integer
  16728. deliverygoodsname:
  16729. description: 现货品种名称
  16730. type: string
  16731. dgstatus:
  16732. description: 品种状态 - 作废 - 0:未激活 1:正常
  16733. type: integer
  16734. isvalid:
  16735. description: 是否有效 - 0:无效 1:有效
  16736. type: integer
  16737. remark:
  16738. description: 备注
  16739. type: string
  16740. unitid:
  16741. description: 单位id(目前看,数据库中是空值)
  16742. type: integer
  16743. wdlst:
  16744. description: 品类(现货商品)列表
  16745. items:
  16746. $ref: '#/definitions/models.XHWrstandard'
  16747. type: array
  16748. type: object
  16749. models.XHMiddleGoods:
  16750. properties:
  16751. convertratio:
  16752. description: 拆算系数
  16753. type: number
  16754. costratio:
  16755. description: 成本权重
  16756. type: number
  16757. deliverygoodsid:
  16758. description: 现货商品id
  16759. type: integer
  16760. enumdicname:
  16761. description: 单位名称
  16762. type: string
  16763. gplst:
  16764. description: 期货品种列表
  16765. items:
  16766. $ref: '#/definitions/models.TBGoodsGroup'
  16767. type: array
  16768. middlegoodscode:
  16769. description: 套保品种代码
  16770. type: string
  16771. middlegoodsid:
  16772. description: 套保品种id
  16773. type: integer
  16774. middlegoodsname:
  16775. description: 套保品种名称
  16776. type: string
  16777. unitid:
  16778. description: 单位id
  16779. type: integer
  16780. type: object
  16781. models.XHWrstandard:
  16782. properties:
  16783. deliverygoodsid:
  16784. description: 品种ID
  16785. type: integer
  16786. enumdicname:
  16787. description: 单位名称
  16788. type: string
  16789. mglst:
  16790. description: 套保品列表
  16791. items:
  16792. $ref: '#/definitions/models.XHMiddleGoods'
  16793. type: array
  16794. unitid:
  16795. description: 单位id
  16796. type: integer
  16797. vatrate:
  16798. description: 增值税率
  16799. type: number
  16800. wrstandardcode:
  16801. description: 现货商品代码
  16802. type: string
  16803. wrstandardid:
  16804. description: 现货商品ID(SEQ_WRSTANDARD)
  16805. type: integer
  16806. wrstandardname:
  16807. description: 现货商品名称
  16808. type: string
  16809. type: object
  16810. order.QueryHisTradeDetailRsp:
  16811. properties:
  16812. accountid:
  16813. description: 账户ID[报价币种]
  16814. type: integer
  16815. advanceratio:
  16816. description: 首付比率
  16817. type: number
  16818. buildtype:
  16819. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16820. type: integer
  16821. buyorsell:
  16822. description: 方向 - 0:买 1:卖
  16823. type: integer
  16824. charge:
  16825. description: 手续费
  16826. type: number
  16827. closecharge:
  16828. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16829. type: number
  16830. closeexchagechargevalue:
  16831. description: 平仓交易所手续费设置值
  16832. type: number
  16833. closefeealgorithm:
  16834. description: 平仓手续费收取方式 1:比率 2:固定
  16835. type: integer
  16836. closememberchargevalue:
  16837. description: 平仓会员手续费设置值
  16838. type: number
  16839. closepl:
  16840. description: 平仓盈亏
  16841. type: number
  16842. closepl2:
  16843. description: 平仓盈亏[逐笔]
  16844. type: number
  16845. closeqty:
  16846. description: 平仓数量(先建后平操作 需要记录)
  16847. type: number
  16848. creditamount:
  16849. description: 授信金额
  16850. type: number
  16851. decimalplace:
  16852. description: 商品报价小数位
  16853. type: integer
  16854. enumdicname:
  16855. description: 单位名称
  16856. type: string
  16857. gcaccountid:
  16858. description: 账户ID[合约币种]
  16859. type: integer
  16860. goodscode:
  16861. description: 商品代码
  16862. type: string
  16863. goodsid:
  16864. description: 商品ID
  16865. type: integer
  16866. goodsname:
  16867. description: 商品名称
  16868. type: string
  16869. goodunitid:
  16870. description: 商品单位id
  16871. type: integer
  16872. histradedate:
  16873. description: 历史交易日
  16874. type: string
  16875. intclosepl:
  16876. description: 整型盈亏(用于交易结算试算平衡-收益权)
  16877. type: integer
  16878. isconfirmexercise:
  16879. description: 是否确认行权- 0:否 1:是
  16880. type: integer
  16881. ismain:
  16882. description: 是否主单 - 0:不是 1:是
  16883. type: integer
  16884. ispreexercise:
  16885. description: 是否预申报- 0:否 1:是
  16886. type: integer
  16887. isreckoned:
  16888. description: 是否结算 - 0:未结算 1:已结算
  16889. type: integer
  16890. isvaliddata:
  16891. description: 是否有效 - 0:无效 1:有效
  16892. type: integer
  16893. listingselecttype:
  16894. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16895. type: integer
  16896. marketid:
  16897. description: 市场ID
  16898. type: integer
  16899. marketname:
  16900. description: 市场名称
  16901. type: string
  16902. matchaccountid:
  16903. description: 对手账号id
  16904. type: integer
  16905. memberuserid:
  16906. description: 会员id 个人投资者 需要填写
  16907. type: integer
  16908. opencharge:
  16909. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16910. type: number
  16911. openexchagechargevalue:
  16912. description: 建仓交易所手续费设置值
  16913. type: number
  16914. openfeealgorithm:
  16915. description: 建仓手续费收取方式 1:比率 2:固定
  16916. type: integer
  16917. openmemberchargevalue:
  16918. description: 建仓会员手续费设置值
  16919. type: number
  16920. openqty:
  16921. description: 开仓数量(先建后平操作 需要记录)
  16922. type: number
  16923. optiontype:
  16924. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16925. type: integer
  16926. orderid:
  16927. description: 委托单号
  16928. type: string
  16929. payamount:
  16930. description: 支付金额(付款金额)
  16931. type: number
  16932. performanceplanid:
  16933. description: 履约计划ID[期权]
  16934. type: integer
  16935. performancestatus:
  16936. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  16937. type: integer
  16938. preexerciseprice:
  16939. description: 预申报价格
  16940. type: number
  16941. premium:
  16942. description: 权利金 - [持仓单的权利金]
  16943. type: number
  16944. qtydecimalplace:
  16945. description: 商品报价小数位
  16946. type: integer
  16947. recvamount:
  16948. description: 到账金额 = 成交金额 - 手续费
  16949. type: number
  16950. relatedouttradeid:
  16951. description: 关联外部成交单ID
  16952. type: integer
  16953. status:
  16954. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  16955. type: integer
  16956. totalamount:
  16957. description: 订单总额 = 成交金额 + 手续费
  16958. type: number
  16959. tradeamount:
  16960. description: 成交金额[账户币种,用于所有权]
  16961. type: number
  16962. tradedate:
  16963. description: 交易日(yyyyMMdd)
  16964. type: string
  16965. tradeid:
  16966. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16967. type: string
  16968. trademode:
  16969. description: 交易模式
  16970. type: integer
  16971. tradeprice:
  16972. description: 成交价格
  16973. type: number
  16974. tradeproperty:
  16975. description: 交易属性
  16976. type: integer
  16977. tradeqty:
  16978. description: 成交数量
  16979. type: number
  16980. tradetime:
  16981. description: 成交时间
  16982. type: string
  16983. tradetype:
  16984. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  16985. type: integer
  16986. required:
  16987. - accountid
  16988. - buyorsell
  16989. - goodsid
  16990. - histradedate
  16991. - marketid
  16992. - memberuserid
  16993. - orderid
  16994. - tradeamount
  16995. - tradedate
  16996. - tradeid
  16997. - tradeprice
  16998. - tradeqty
  16999. - tradetime
  17000. type: object
  17001. order.QueryHisTradeOrderDetailRsp:
  17002. properties:
  17003. accountid:
  17004. description: 账户ID[报价币种]
  17005. type: integer
  17006. buildtype:
  17007. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17008. type: integer
  17009. buyorsell:
  17010. description: 买卖 - 0:买 1:卖
  17011. type: integer
  17012. cancelorderid:
  17013. description: 撤单单号(撤单时填写)
  17014. type: string
  17015. cancelqty:
  17016. description: 撤单数量
  17017. type: number
  17018. clientordertime:
  17019. description: 客户端委托时间
  17020. type: string
  17021. clientticket:
  17022. description: 客户端流水号
  17023. type: string
  17024. clienttype:
  17025. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17026. type: integer
  17027. closeexchagechargevalue:
  17028. description: 平仓交易所手续费设置值
  17029. type: number
  17030. closefeealgorithm:
  17031. description: 平仓手续费收取方式 1:比率 2:固定
  17032. type: integer
  17033. closefreezecharge:
  17034. description: 平仓冻结手续费(先建后平操作,需要记录)
  17035. type: number
  17036. closememberchargevalue:
  17037. description: 平仓会员手续费设置值
  17038. type: number
  17039. closeqty:
  17040. description: 平仓数量(先建后平操作 需要记录)
  17041. type: number
  17042. closetradeqty:
  17043. description: 平仓成交数量(先建后平操作,需要记录)
  17044. type: number
  17045. closeunfreezecharge:
  17046. description: 平仓解冻手续费(先建后平操作,需要记录)
  17047. type: number
  17048. decimalplace:
  17049. description: 商品报价小数位
  17050. type: integer
  17051. delistingtype:
  17052. description: 摘牌类型 - 1:价格最优 2:点选成交
  17053. type: integer
  17054. enumdicname:
  17055. description: 单位名称
  17056. type: string
  17057. freezecharge:
  17058. description: 冻结手续费
  17059. type: number
  17060. freezemargin:
  17061. description: 冻结保证金(冻结交易金额)
  17062. type: number
  17063. gcaccountid:
  17064. description: 账户ID[合约币种]
  17065. type: integer
  17066. goodscode:
  17067. description: 商品代码
  17068. type: string
  17069. goodsid:
  17070. description: 商品ID
  17071. type: integer
  17072. goodsname:
  17073. description: 商品名称
  17074. type: string
  17075. goodunitid:
  17076. description: 商品单位id
  17077. type: integer
  17078. histradedate:
  17079. description: 历史交易日
  17080. type: string
  17081. isconfirmexercise:
  17082. description: 是否确认行权- 0:否 1:是
  17083. type: integer
  17084. ispreexercise:
  17085. description: 是否预申报- 0:否 1:是
  17086. type: integer
  17087. isvaliddata:
  17088. description: 是否有效 - 0:无效 1:有效
  17089. type: integer
  17090. listingselecttype:
  17091. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17092. type: integer
  17093. marginalgorithm:
  17094. description: 保证金收取方式 1:比率 2:固定
  17095. type: integer
  17096. marginvalue:
  17097. description: 即市保证金设置值
  17098. type: number
  17099. marketid:
  17100. description: 市场ID
  17101. type: integer
  17102. marketmaxsub:
  17103. description: 市价最大偏移范围
  17104. type: number
  17105. marketname:
  17106. description: 市场名称
  17107. type: string
  17108. memberuserid:
  17109. description: 所属会员UserID
  17110. type: integer
  17111. openexchagechargevalue:
  17112. description: 建仓交易所手续费设置值
  17113. type: number
  17114. openfeealgorithm:
  17115. description: 建仓手续费收取方式 1:比率 2:固定
  17116. type: integer
  17117. openfreezecharge:
  17118. description: 开仓冻结手续费(先建后平操作,需要记录)
  17119. type: number
  17120. openmemberchargevalue:
  17121. description: 建仓会员手续费设置值
  17122. type: number
  17123. openqty:
  17124. description: 开仓数量(先建后平操作,需要记录)
  17125. type: number
  17126. opentradeqty:
  17127. description: 开仓成交数量(先建后平操作,需要记录)
  17128. type: number
  17129. openunfreezecharge:
  17130. description: 开仓解冻手续费(先建后平操作,需要记录)
  17131. type: number
  17132. operatetype:
  17133. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17134. type: integer
  17135. operatorid:
  17136. description: 登录账号(LoginID)
  17137. type: integer
  17138. optiontype:
  17139. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17140. type: integer
  17141. orderid:
  17142. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17143. type: string
  17144. orderprice:
  17145. description: 委托价格
  17146. type: number
  17147. orderqty:
  17148. description: 委托数量
  17149. type: number
  17150. ordersrc:
  17151. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17152. type: integer
  17153. orderstatus:
  17154. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17155. type: integer
  17156. ordertime:
  17157. description: 委托时间
  17158. type: string
  17159. preexerciseprice:
  17160. description: 预申报价格
  17161. type: number
  17162. premium:
  17163. description: 权利金
  17164. type: number
  17165. preorderid:
  17166. description: 关联预埋单号(止盈止损单时填写)
  17167. type: string
  17168. pricemode:
  17169. description: '取价方式 - 1:市价 2: 限价'
  17170. type: integer
  17171. qtydecimalplace:
  17172. description: 成交量小数位
  17173. type: integer
  17174. quoteid:
  17175. description: 报价单ID
  17176. type: integer
  17177. relatedid:
  17178. description: 关联单号(交割单)
  17179. type: string
  17180. retcode:
  17181. description: 错误代码
  17182. type: integer
  17183. sessionid:
  17184. description: 会话ID
  17185. type: integer
  17186. tradedate:
  17187. description: 交易日(yyyyMMdd)
  17188. type: string
  17189. trademode:
  17190. description: 交易模式
  17191. type: integer
  17192. tradeproperty:
  17193. description: 交易属性
  17194. type: integer
  17195. tradeqty:
  17196. description: 成交数量
  17197. type: number
  17198. unfreezecharge:
  17199. description: 解冻手续费
  17200. type: number
  17201. unfreezemargin:
  17202. description: 解冻保证金
  17203. type: number
  17204. updatetime:
  17205. description: 更新时间
  17206. type: string
  17207. uuid:
  17208. description: 发起端唯一id
  17209. type: string
  17210. validtime:
  17211. description: 有效期限
  17212. type: string
  17213. validtype:
  17214. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17215. type: integer
  17216. volumetype:
  17217. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17218. type: integer
  17219. required:
  17220. - accountid
  17221. - buildtype
  17222. - buyorsell
  17223. - goodsid
  17224. - histradedate
  17225. - marketid
  17226. - memberuserid
  17227. - operatetype
  17228. - orderid
  17229. - orderqty
  17230. - ordertime
  17231. - pricemode
  17232. - tradedate
  17233. - validtype
  17234. type: object
  17235. order.QueryTradeDetailRsp:
  17236. properties:
  17237. accountid:
  17238. description: 账户ID[报价币种]
  17239. type: integer
  17240. advanceratio:
  17241. description: 首付比率
  17242. type: number
  17243. buildtype:
  17244. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17245. type: integer
  17246. buyorsell:
  17247. description: 方向 - 0:买 1:卖
  17248. type: integer
  17249. charge:
  17250. description: 手续费
  17251. type: number
  17252. closecharge:
  17253. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17254. type: number
  17255. closeexchagechargevalue:
  17256. description: 平仓交易所手续费设置值
  17257. type: number
  17258. closefeealgorithm:
  17259. description: 平仓手续费收取方式 1:比率 2:固定
  17260. type: integer
  17261. closememberchargevalue:
  17262. description: 平仓会员手续费设置值
  17263. type: number
  17264. closepl:
  17265. description: 平仓盈亏
  17266. type: number
  17267. closepl2:
  17268. description: 平仓盈亏[逐笔]
  17269. type: number
  17270. closeqty:
  17271. description: 平仓数量(先建后平操作 需要记录)
  17272. type: number
  17273. creditamount:
  17274. description: 授信金额
  17275. type: number
  17276. decimalplace:
  17277. description: 商品报价小数位
  17278. type: integer
  17279. enumdicname:
  17280. description: 单位名称
  17281. type: string
  17282. gcaccountid:
  17283. description: 账户ID[合约币种]
  17284. type: integer
  17285. goodscode:
  17286. description: 商品代码
  17287. type: string
  17288. goodsid:
  17289. description: 商品ID
  17290. type: integer
  17291. goodsname:
  17292. description: 商品名称
  17293. type: string
  17294. goodunitid:
  17295. description: 商品单位id
  17296. type: integer
  17297. intclosepl:
  17298. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17299. type: integer
  17300. isconfirmexercise:
  17301. description: 是否确认行权- 0:否 1:是
  17302. type: integer
  17303. ismain:
  17304. description: 是否主单 - 0:不是 1:是
  17305. type: integer
  17306. ispreexercise:
  17307. description: 是否预申报- 0:否 1:是
  17308. type: integer
  17309. isreckoned:
  17310. description: 是否结算 - 0:未结算 1:已结算
  17311. type: integer
  17312. listingselecttype:
  17313. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17314. type: integer
  17315. marketid:
  17316. description: 市场ID
  17317. type: integer
  17318. marketname:
  17319. description: 市场名称
  17320. type: string
  17321. matchaccountid:
  17322. description: 对手账号id
  17323. type: integer
  17324. memberuserid:
  17325. description: 会员id 个人投资者 需要填写
  17326. type: integer
  17327. opencharge:
  17328. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17329. type: number
  17330. openexchagechargevalue:
  17331. description: 建仓交易所手续费设置值
  17332. type: number
  17333. openfeealgorithm:
  17334. description: 建仓手续费收取方式 1:比率 2:固定
  17335. type: integer
  17336. openmemberchargevalue:
  17337. description: 建仓会员手续费设置值
  17338. type: number
  17339. openqty:
  17340. description: 开仓数量(先建后平操作 需要记录)
  17341. type: number
  17342. optiontype:
  17343. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17344. type: integer
  17345. orderid:
  17346. description: 委托单号
  17347. type: string
  17348. payamount:
  17349. description: 支付金额(付款金额)
  17350. type: number
  17351. performanceplanid:
  17352. description: 履约计划ID[期权]
  17353. type: integer
  17354. performancestatus:
  17355. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17356. type: integer
  17357. preexerciseprice:
  17358. description: 预申报价格
  17359. type: number
  17360. premium:
  17361. description: 权利金 - [持仓单的权利金]
  17362. type: number
  17363. qtydecimalplace:
  17364. description: 商品报价小数位
  17365. type: integer
  17366. recvamount:
  17367. description: 到账金额 = 成交金额 - 手续费
  17368. type: number
  17369. relatedouttradeid:
  17370. description: 关联外部成交单ID
  17371. type: integer
  17372. status:
  17373. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17374. type: integer
  17375. totalamount:
  17376. description: 订单总额 = 成交金额 + 手续费
  17377. type: number
  17378. tradeamount:
  17379. description: 成交金额[账户币种,用于所有权]
  17380. type: number
  17381. tradedate:
  17382. description: 交易日(yyyyMMdd)
  17383. type: string
  17384. tradeid:
  17385. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17386. type: string
  17387. trademode:
  17388. description: 交易模式
  17389. type: integer
  17390. tradeprice:
  17391. description: 成交价格
  17392. type: number
  17393. tradeproperty:
  17394. description: 交易属性
  17395. type: integer
  17396. tradeqty:
  17397. description: 成交数量
  17398. type: number
  17399. tradetime:
  17400. description: 成交时间
  17401. type: string
  17402. tradetype:
  17403. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17404. type: integer
  17405. required:
  17406. - accountid
  17407. - buyorsell
  17408. - goodsid
  17409. - marketid
  17410. - memberuserid
  17411. - orderid
  17412. - tradeamount
  17413. - tradedate
  17414. - tradeid
  17415. - tradeprice
  17416. - tradeqty
  17417. - tradetime
  17418. type: object
  17419. order.QueryTradeOrderDetailRsp:
  17420. properties:
  17421. accountid:
  17422. description: 账户ID[报价币种]
  17423. type: integer
  17424. buildtype:
  17425. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17426. type: integer
  17427. buyorsell:
  17428. description: 买卖 - 0:买 1:卖
  17429. type: integer
  17430. cancelorderid:
  17431. description: 撤单单号(撤单时填写)
  17432. type: string
  17433. cancelqty:
  17434. description: 撤单数量
  17435. type: number
  17436. clienttype:
  17437. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17438. type: integer
  17439. closefreezecharge:
  17440. description: 平仓冻结手续费(先建后平操作,需要记录)
  17441. type: number
  17442. closeqty:
  17443. description: 平仓数量(先建后平操作 需要记录)
  17444. type: number
  17445. closetradeqty:
  17446. description: 平仓成交数量(先建后平操作,需要记录)
  17447. type: number
  17448. closeunfreezecharge:
  17449. description: 平仓解冻手续费(先建后平操作,需要记录)
  17450. type: number
  17451. decimalplace:
  17452. description: 商品报价小数位
  17453. type: integer
  17454. delistingtype:
  17455. description: 摘牌类型 - 1:价格最优 2:点选成交
  17456. type: integer
  17457. enableqty:
  17458. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17459. type: number
  17460. enumdicname:
  17461. description: 单位名称
  17462. type: string
  17463. freezecharge:
  17464. description: 冻结手续费
  17465. type: number
  17466. freezemargin:
  17467. description: 冻结保证金(冻结交易金额)
  17468. type: number
  17469. goodscode:
  17470. description: 商品代码
  17471. type: string
  17472. goodsid:
  17473. description: 商品ID
  17474. type: integer
  17475. goodsname:
  17476. description: 商品名称
  17477. type: string
  17478. goodunitid:
  17479. description: 商品单位id
  17480. type: integer
  17481. listingselecttype:
  17482. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17483. type: integer
  17484. marketid:
  17485. description: 市场ID
  17486. type: integer
  17487. marketname:
  17488. description: 市场名称
  17489. type: string
  17490. openfreezecharge:
  17491. description: 开仓冻结手续费(先建后平操作,需要记录)
  17492. type: number
  17493. openqty:
  17494. description: 开仓数量(先建后平操作,需要记录)
  17495. type: number
  17496. opentradeqty:
  17497. description: 开仓成交数量(先建后平操作,需要记录)
  17498. type: number
  17499. openunfreezecharge:
  17500. description: 开仓解冻手续费(先建后平操作,需要记录)
  17501. type: number
  17502. operatetype:
  17503. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17504. type: integer
  17505. operatorid:
  17506. description: 登录账号(LoginID)
  17507. type: integer
  17508. orderid:
  17509. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17510. type: string
  17511. orderprice:
  17512. description: 委托价格
  17513. type: number
  17514. orderqty:
  17515. description: 委托数量
  17516. type: number
  17517. ordersrc:
  17518. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17519. type: integer
  17520. orderstatus:
  17521. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17522. type: integer
  17523. ordertime:
  17524. description: 委托时间
  17525. type: string
  17526. preorderid:
  17527. description: 关联预埋单号(止盈止损单时填写)
  17528. type: string
  17529. pricemode:
  17530. description: '取价方式 - 1:市价 2: 限价'
  17531. type: integer
  17532. qtydecimalplace:
  17533. description: 商品报价小数位
  17534. type: integer
  17535. relatedid:
  17536. description: 关联单号(交割单)
  17537. type: string
  17538. tradedate:
  17539. description: 交易日(yyyyMMdd)
  17540. type: string
  17541. trademode:
  17542. description: 交易模式
  17543. type: integer
  17544. tradeqty:
  17545. description: 成交数量
  17546. type: number
  17547. unfreezecharge:
  17548. description: 解冻手续费
  17549. type: number
  17550. unfreezemargin:
  17551. description: 解冻保证金
  17552. type: number
  17553. validtime:
  17554. description: 有效期限
  17555. type: string
  17556. validtype:
  17557. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17558. type: integer
  17559. volumetype:
  17560. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17561. type: integer
  17562. required:
  17563. - accountid
  17564. - buildtype
  17565. - buyorsell
  17566. - goodsid
  17567. - marketid
  17568. - operatetype
  17569. - orderqty
  17570. - ordertime
  17571. - pricemode
  17572. - tradedate
  17573. - validtype
  17574. type: object
  17575. order.QueryTradePositionRsp:
  17576. properties:
  17577. accountid:
  17578. description: 资金账户
  17579. type: integer
  17580. agreeunit:
  17581. description: 合约单位
  17582. type: number
  17583. averageprice:
  17584. description: 持仓均价
  17585. type: number
  17586. buyorsell:
  17587. description: 方向 - 0:买 1:卖
  17588. type: integer
  17589. closetotalqty:
  17590. description: 平仓总数量
  17591. type: number
  17592. curholderamount:
  17593. description: 当前持仓总金额[商品币种]
  17594. type: number
  17595. curpositionqty:
  17596. description: 当前持仓总数量
  17597. type: number
  17598. currencyid:
  17599. description: 报价货币ID
  17600. type: integer
  17601. curtdposition:
  17602. description: 期末今日头寸
  17603. type: number
  17604. decimalplace:
  17605. description: 报价小数位
  17606. type: integer
  17607. enableqty:
  17608. description: 可用量
  17609. type: number
  17610. fretdposition:
  17611. description: 冻结今日头寸
  17612. type: number
  17613. frozenqty:
  17614. description: 持仓冻结数量
  17615. type: number
  17616. goodscode:
  17617. description: 商品代码
  17618. type: string
  17619. goodsid:
  17620. description: 商品Id
  17621. type: integer
  17622. goodsname:
  17623. description: 商品名称
  17624. type: string
  17625. goodunit:
  17626. description: 报价单位
  17627. type: string
  17628. goodunitid:
  17629. description: 报价单位ID
  17630. type: integer
  17631. holderamount:
  17632. description: 期初持仓总金额[商品币种]
  17633. type: number
  17634. lastprice:
  17635. description: 最新价
  17636. type: number
  17637. marketamount:
  17638. description: 市值
  17639. type: number
  17640. marketid:
  17641. description: 所属市场ID
  17642. type: integer
  17643. openreqqty:
  17644. description: 开仓申请数量(用于比较最大持仓数量)
  17645. type: number
  17646. opentotalqty:
  17647. description: 开仓总数量
  17648. type: number
  17649. otherfrozenqty:
  17650. description: 持仓其他冻结数量(交割冻结)
  17651. type: number
  17652. positionpl:
  17653. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  17654. type: number
  17655. positionplrate:
  17656. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  17657. type: number
  17658. positionqty:
  17659. description: 期初持仓数量
  17660. type: number
  17661. qtydecimalplace:
  17662. description: 成交量小数位
  17663. type: integer
  17664. refgoodscode:
  17665. description: 参考商品代码
  17666. type: string
  17667. refgoodsid:
  17668. description: 参考商品ID
  17669. type: integer
  17670. tnqty:
  17671. description: T+N冻结总量
  17672. type: number
  17673. tnusedqty:
  17674. description: T+N使用量(可以使用T+N的冻结数量)
  17675. type: number
  17676. trademode:
  17677. description: 交易模式
  17678. type: integer
  17679. tradeproperty:
  17680. description: 交易属性
  17681. type: integer
  17682. usedmargin:
  17683. description: 占用保证金[商品币种]
  17684. type: number
  17685. required:
  17686. - goodsid
  17687. type: object
  17688. pb.GoodsMarginCfgStruct:
  17689. properties:
  17690. CustomerTypeID:
  17691. description: 投资者客户类型
  17692. type: integer
  17693. GoodsID:
  17694. description: 商品ID
  17695. type: integer
  17696. IsDefault:
  17697. description: 是否默认标志位
  17698. type: integer
  17699. LockMarginValue:
  17700. description: 锁仓保证金
  17701. type: number
  17702. MarginAlgorithm:
  17703. description: 保证金计算方式
  17704. type: integer
  17705. MarketMarginValue:
  17706. description: 即市保证金值
  17707. type: number
  17708. RealMarginAlgorithm:
  17709. description: 实付保证金计算方式
  17710. type: integer
  17711. RealMarginValue:
  17712. description: 实付比例
  17713. type: number
  17714. ReckonMarginValue:
  17715. description: 结算保证金值
  17716. type: number
  17717. type: object
  17718. quote.HistoryData:
  17719. properties:
  17720. c:
  17721. description: 收盘价
  17722. type: number
  17723. f:
  17724. description: 是否补充数据
  17725. type: boolean
  17726. h:
  17727. description: 最高价
  17728. type: number
  17729. hv:
  17730. description: 持仓量
  17731. type: integer
  17732. l:
  17733. description: 最低价
  17734. type: number
  17735. o:
  17736. description: 开盘价
  17737. type: number
  17738. s:
  17739. description: 结算价,日线周期(包括)以上才有
  17740. type: number
  17741. ts:
  17742. description: 时间
  17743. type: string
  17744. tt:
  17745. description: 总金额
  17746. type: number
  17747. tv:
  17748. description: 总量(成交量)
  17749. type: integer
  17750. type: object
  17751. quote.HistoryTikData:
  17752. properties:
  17753. AV:
  17754. description: 卖量
  17755. type: integer
  17756. Ask:
  17757. description: 卖价
  17758. type: number
  17759. BV:
  17760. description: 买量
  17761. type: integer
  17762. Bid:
  17763. description: 买价
  17764. type: number
  17765. HI:
  17766. description: 单笔持仓
  17767. type: integer
  17768. HV:
  17769. description: 持仓量
  17770. type: integer
  17771. PE:
  17772. description: 现价
  17773. type: number
  17774. TDR:
  17775. description: 交易方向,0:买 1:卖
  17776. type: integer
  17777. TK:
  17778. description: 交易类型
  17779. type: integer
  17780. TS:
  17781. description: 行情时间文本
  17782. type: string
  17783. TT:
  17784. description: 现金额
  17785. type: number
  17786. Vol:
  17787. description: 现量
  17788. type: integer
  17789. type: object
  17790. quote.QueryQuoteDayRsp:
  17791. properties:
  17792. ask:
  17793. description: 卖1
  17794. type: number
  17795. ask2:
  17796. description: 卖2
  17797. type: number
  17798. ask3:
  17799. description: 卖3
  17800. type: number
  17801. ask4:
  17802. description: 卖4
  17803. type: number
  17804. ask5:
  17805. description: 卖5
  17806. type: number
  17807. ask6:
  17808. description: 卖6
  17809. type: number
  17810. ask7:
  17811. description: 卖7
  17812. type: number
  17813. ask8:
  17814. description: 卖8
  17815. type: number
  17816. ask9:
  17817. description: 卖9
  17818. type: number
  17819. ask10:
  17820. description: 卖10
  17821. type: number
  17822. askorderid:
  17823. description: 卖单号1
  17824. type: integer
  17825. askorderid2:
  17826. description: 卖单号2
  17827. type: integer
  17828. askorderid3:
  17829. description: 卖单号3
  17830. type: integer
  17831. askorderid4:
  17832. description: 卖单号4
  17833. type: integer
  17834. askorderid5:
  17835. description: 卖单号5
  17836. type: integer
  17837. askordervolume:
  17838. description: 卖单量1
  17839. type: integer
  17840. askordervolume2:
  17841. description: 卖单量2
  17842. type: integer
  17843. askordervolume3:
  17844. description: 卖单量3
  17845. type: integer
  17846. askordervolume4:
  17847. description: 卖单量4
  17848. type: integer
  17849. askordervolume5:
  17850. description: 卖单量5
  17851. type: integer
  17852. askordervolume6:
  17853. description: 卖单量6
  17854. type: integer
  17855. askordervolume7:
  17856. description: 卖单量7
  17857. type: integer
  17858. askordervolume8:
  17859. description: 卖单量8
  17860. type: integer
  17861. askordervolume9:
  17862. description: 卖单量9
  17863. type: integer
  17864. askordervolume10:
  17865. description: 卖单量10
  17866. type: integer
  17867. askqueueinfo:
  17868. description: 大利市卖港股用
  17869. type: string
  17870. askvolume:
  17871. description: 卖量1
  17872. type: integer
  17873. askvolume2:
  17874. description: 卖量2
  17875. type: integer
  17876. askvolume3:
  17877. description: 卖量3
  17878. type: integer
  17879. askvolume4:
  17880. description: 卖量4
  17881. type: integer
  17882. askvolume5:
  17883. description: 卖量5
  17884. type: integer
  17885. askvolume6:
  17886. description: 卖量6
  17887. type: integer
  17888. askvolume7:
  17889. description: 卖量7
  17890. type: integer
  17891. askvolume8:
  17892. description: 卖量8
  17893. type: integer
  17894. askvolume9:
  17895. description: 卖量9
  17896. type: integer
  17897. askvolume10:
  17898. description: 卖量10
  17899. type: integer
  17900. averageprice:
  17901. description: 均价
  17902. type: number
  17903. bid:
  17904. description: 买1
  17905. type: number
  17906. bid2:
  17907. description: 买2
  17908. type: number
  17909. bid3:
  17910. description: 买3
  17911. type: number
  17912. bid4:
  17913. description: 买4
  17914. type: number
  17915. bid5:
  17916. description: 买5
  17917. type: number
  17918. bid6:
  17919. description: 买6
  17920. type: number
  17921. bid7:
  17922. description: 买7
  17923. type: number
  17924. bid8:
  17925. description: 买8
  17926. type: number
  17927. bid9:
  17928. description: 买9
  17929. type: number
  17930. bid10:
  17931. description: 买10
  17932. type: number
  17933. bidorderid:
  17934. description: 买单号1
  17935. type: integer
  17936. bidorderid2:
  17937. description: 买单号2
  17938. type: integer
  17939. bidorderid3:
  17940. description: 买单号3
  17941. type: integer
  17942. bidorderid4:
  17943. description: 买单号4
  17944. type: integer
  17945. bidorderid5:
  17946. description: 买单号5
  17947. type: integer
  17948. bidordervolume:
  17949. description: 买单量1
  17950. type: integer
  17951. bidordervolume2:
  17952. description: 买单量2
  17953. type: integer
  17954. bidordervolume3:
  17955. description: 买单量3
  17956. type: integer
  17957. bidordervolume4:
  17958. description: 买单量4
  17959. type: integer
  17960. bidordervolume5:
  17961. description: 买单量5
  17962. type: integer
  17963. bidordervolume6:
  17964. description: 买单量6
  17965. type: integer
  17966. bidordervolume7:
  17967. description: 买单量7
  17968. type: integer
  17969. bidordervolume8:
  17970. description: 买单量8
  17971. type: integer
  17972. bidordervolume9:
  17973. description: 买单量9
  17974. type: integer
  17975. bidordervolume10:
  17976. description: 买单量10
  17977. type: integer
  17978. bidqueueinfo:
  17979. description: 大利市买港股用
  17980. type: string
  17981. bidvolume:
  17982. description: 买量1
  17983. type: integer
  17984. bidvolume2:
  17985. description: 买量2
  17986. type: integer
  17987. bidvolume3:
  17988. description: 买量3
  17989. type: integer
  17990. bidvolume4:
  17991. description: 买量4
  17992. type: integer
  17993. bidvolume5:
  17994. description: 买量5
  17995. type: integer
  17996. bidvolume6:
  17997. description: 买量6
  17998. type: integer
  17999. bidvolume7:
  18000. description: 买量7
  18001. type: integer
  18002. bidvolume8:
  18003. description: 买量8
  18004. type: integer
  18005. bidvolume9:
  18006. description: 买量9
  18007. type: integer
  18008. bidvolume10:
  18009. description: 买量10
  18010. type: integer
  18011. calloptionpremiums:
  18012. description: 认购期权1
  18013. type: integer
  18014. calloptionpremiums2:
  18015. description: 认购期权2
  18016. type: integer
  18017. calloptionpremiums3:
  18018. description: 认购期权3
  18019. type: integer
  18020. calloptionpremiums4:
  18021. description: 认购期权4
  18022. type: integer
  18023. calloptionpremiums5:
  18024. description: 认购期权5
  18025. type: integer
  18026. cleartime:
  18027. description: 清盘时间
  18028. type: integer
  18029. exchangecode:
  18030. description: 交易所代码
  18031. type: integer
  18032. exchangedate:
  18033. description: 交易日
  18034. type: integer
  18035. goodscode:
  18036. description: 商品代码
  18037. type: string
  18038. grepmarketprice:
  18039. description: 暗盘价 港股专用
  18040. type: number
  18041. highest:
  18042. description: 最高价
  18043. type: number
  18044. holdincrement:
  18045. description: 单笔持仓
  18046. type: integer
  18047. holdvolume:
  18048. description: 持仓
  18049. type: integer
  18050. iep:
  18051. description: 平衡价 港股专用
  18052. type: number
  18053. iev:
  18054. description: 平衡量 港股专用
  18055. type: number
  18056. inventory:
  18057. description: 库存
  18058. type: integer
  18059. iscleared:
  18060. description: 是否清盘标志
  18061. type: integer
  18062. issettled:
  18063. description: 是否结算标志
  18064. type: integer
  18065. last:
  18066. description: 最新价
  18067. type: number
  18068. lastlot:
  18069. description: 最新成交手数
  18070. type: integer
  18071. lasttime:
  18072. description: 行情时间(只有现价变化行情时间才变化)
  18073. type: string
  18074. lastturnover:
  18075. description: 最新成交金额
  18076. type: number
  18077. lastvolume:
  18078. description: 最新成交量
  18079. type: integer
  18080. limitdown:
  18081. description: 跌停价
  18082. type: number
  18083. limitup:
  18084. description: 涨停价
  18085. type: number
  18086. lowest:
  18087. description: 最低价
  18088. type: number
  18089. nontotalholdervolume:
  18090. description: 非交易持仓量
  18091. type: integer
  18092. nontotallot:
  18093. description: 非交易总手数
  18094. type: integer
  18095. nontotalturnover:
  18096. description: 非交易总金额
  18097. type: integer
  18098. nontotalvolume:
  18099. description: 非交易总量
  18100. type: integer
  18101. opened:
  18102. description: 开盘价
  18103. type: number
  18104. opentime:
  18105. description: 开盘时间
  18106. type: string
  18107. orderid:
  18108. description: 序号
  18109. type: integer
  18110. preclose:
  18111. description: 昨收
  18112. type: number
  18113. preholdvolume:
  18114. description: 昨持仓
  18115. type: integer
  18116. presettle:
  18117. description: 昨结价
  18118. type: number
  18119. publictradetype:
  18120. description: 公共交易标志类型 港股专用
  18121. type: string
  18122. putoptionpremiums:
  18123. description: 认沽期权1
  18124. type: integer
  18125. putoptionpremiums2:
  18126. description: 认沽期权2
  18127. type: integer
  18128. putoptionpremiums3:
  18129. description: 认沽期权3
  18130. type: integer
  18131. putoptionpremiums4:
  18132. description: 认沽期权4
  18133. type: integer
  18134. putoptionpremiums5:
  18135. description: 认沽期权5
  18136. type: integer
  18137. settle:
  18138. description: 结算价
  18139. type: number
  18140. strikeprice:
  18141. description: 发行价
  18142. type: number
  18143. totalaskvolume:
  18144. description: 内盘
  18145. type: integer
  18146. totalbidvolume:
  18147. description: 外盘
  18148. type: integer
  18149. totallot:
  18150. description: 总手数
  18151. type: integer
  18152. totalturnover:
  18153. description: 总金额
  18154. type: number
  18155. totalvolume:
  18156. description: 总量
  18157. type: integer
  18158. utclasttime:
  18159. description: utc的行情时间
  18160. type: string
  18161. type: object
  18162. quote.QueryTSDataRsp:
  18163. properties:
  18164. Count:
  18165. description: 交易日应有数据个数
  18166. type: integer
  18167. decimalPlace:
  18168. description: 小数位
  18169. type: integer
  18170. endTime:
  18171. description: 结束时间
  18172. type: string
  18173. goodsCode:
  18174. description: 商品代码
  18175. type: string
  18176. historyDatas:
  18177. description: 历史数据
  18178. items:
  18179. $ref: '#/definitions/quote.HistoryData'
  18180. type: array
  18181. outGoodsCode:
  18182. description: 外部商品代码
  18183. type: string
  18184. preSettle:
  18185. description: 昨结价
  18186. type: number
  18187. runSteps:
  18188. description: 交易日开休市计划
  18189. items:
  18190. $ref: '#/definitions/quote.TSDataRunStep'
  18191. type: array
  18192. startTime:
  18193. description: 开始时间
  18194. type: string
  18195. tradeDate:
  18196. description: 交易日
  18197. type: string
  18198. type: object
  18199. quote.TSDataRunStep:
  18200. properties:
  18201. end:
  18202. description: 真实结束时间
  18203. type: string
  18204. endflag:
  18205. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18206. type: integer
  18207. endtime:
  18208. description: 结束时间(HH:mm)
  18209. type: string
  18210. endweekday:
  18211. description: 结束周几
  18212. type: integer
  18213. groupid:
  18214. description: 分组ID
  18215. type: integer
  18216. runstep:
  18217. description: 运行阶段 - 2:连续交易
  18218. type: integer
  18219. sectionid:
  18220. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几
  18221. type: integer
  18222. start:
  18223. description: 真实开始时间
  18224. type: string
  18225. startflag:
  18226. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18227. type: integer
  18228. starttime:
  18229. description: 起始时间(HH:mm)
  18230. type: string
  18231. startweekday:
  18232. description: 起始周几
  18233. type: integer
  18234. tradeweekday:
  18235. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18236. type: integer
  18237. type: object
  18238. szdz.QueryConvertLogRsp:
  18239. properties:
  18240. accountid:
  18241. description: 资金账户ID
  18242. type: integer
  18243. clientticket:
  18244. description: 客户端流水号
  18245. type: string
  18246. converttype:
  18247. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18248. type: integer
  18249. createtime:
  18250. description: 记账时间
  18251. type: string
  18252. daymaxvalue:
  18253. description: 配置当日最大转入限制
  18254. type: number
  18255. daymaxvalue2:
  18256. description: 配置当日最大转入限制(转入)
  18257. type: number
  18258. goodscode:
  18259. description: 商品代码
  18260. type: string
  18261. goodsname:
  18262. description: 商品名称
  18263. type: string
  18264. handlestatus:
  18265. description: 处理状态
  18266. type: integer
  18267. innergoodsid:
  18268. description: 内部商品ID
  18269. type: integer
  18270. inratio:
  18271. description: 配置转入比值
  18272. type: integer
  18273. invalue:
  18274. description: 目标值
  18275. type: number
  18276. logid:
  18277. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18278. type: integer
  18279. mobile:
  18280. description: 手机号码(加密存储)
  18281. type: string
  18282. outergoodscode:
  18283. description: 外部商品代码[JD\PD]
  18284. type: string
  18285. outratio:
  18286. description: 配置转出比值
  18287. type: integer
  18288. outvalue:
  18289. description: 源值
  18290. type: number
  18291. pddecimalplace:
  18292. description: PD小数位
  18293. type: integer
  18294. qty:
  18295. description: 数量
  18296. type: string
  18297. remark:
  18298. description: 备注
  18299. type: string
  18300. sessionid:
  18301. description: 会话ID
  18302. type: integer
  18303. timemaxvalue:
  18304. description: 配置单次最大转入限制
  18305. type: number
  18306. timemaxvalue2:
  18307. description: 配置单次最大转入限制(转入)
  18308. type: number
  18309. timeminvalue:
  18310. description: 配置单次最小数量限制
  18311. type: number
  18312. timeminvalue2:
  18313. description: 配置单次最小数量限制(转入)
  18314. type: number
  18315. tradedate:
  18316. description: 交易日(yyyyMMdd)
  18317. type: string
  18318. userid:
  18319. description: 用户ID
  18320. type: integer
  18321. required:
  18322. - logid
  18323. type: object
  18324. szdz.QueryGoodsPickupRsp:
  18325. properties:
  18326. accountid:
  18327. description: 账户ID
  18328. type: integer
  18329. address:
  18330. description: 提货人详细地址
  18331. type: string
  18332. auditer:
  18333. description: 审核人
  18334. type: integer
  18335. audittime:
  18336. description: 审核时间
  18337. type: string
  18338. cardnum:
  18339. description: 提货人证件号码
  18340. type: string
  18341. cardtypeid:
  18342. description: 提货人证件类型
  18343. type: integer
  18344. checkremark:
  18345. description: 审核备注
  18346. type: string
  18347. goodscode:
  18348. description: 商品代码
  18349. type: string
  18350. goodsid:
  18351. description: 商品ID
  18352. type: integer
  18353. goodsname:
  18354. description: 商品名称
  18355. type: string
  18356. handlestatus:
  18357. description: 处理状态
  18358. type: integer
  18359. marketid:
  18360. description: 市场ID
  18361. type: integer
  18362. phonenum:
  18363. description: 提货人联系方式
  18364. type: string
  18365. qty:
  18366. description: 提货数量
  18367. type: number
  18368. recivername:
  18369. description: 提货人姓名
  18370. type: string
  18371. reqtime:
  18372. description: 更新时间
  18373. type: string
  18374. takemode:
  18375. description: 提货方式 - 2:自提 3:配送
  18376. type: integer
  18377. takeorderid:
  18378. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18379. type: string
  18380. takeorderstatus:
  18381. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18382. type: integer
  18383. takeremark:
  18384. description: 提货备注
  18385. type: string
  18386. tradedate:
  18387. description: 交易日(yyyyMMdd)
  18388. type: string
  18389. userid:
  18390. description: 用户ID
  18391. type: integer
  18392. required:
  18393. - takeorderid
  18394. type: object
  18395. szdz.QueryRecieptOrderRsp:
  18396. properties:
  18397. accountName:
  18398. description: 所属账号名称(已脱敏)
  18399. type: string
  18400. accountid:
  18401. description: 资金账号
  18402. type: integer
  18403. buyorsell:
  18404. description: 方向 - 0:买 1:卖
  18405. type: integer
  18406. enableqty:
  18407. description: 可摘数量
  18408. type: integer
  18409. goodscode:
  18410. description: 商品代码
  18411. type: string
  18412. goodsid:
  18413. description: 商品ID
  18414. type: integer
  18415. goodsname:
  18416. description: 商品名称
  18417. type: string
  18418. orderid:
  18419. description: 委托单号
  18420. type: string
  18421. orderprice:
  18422. description: 委托价格
  18423. type: number
  18424. ordertime:
  18425. description: 委托时间
  18426. type: string
  18427. tradedate:
  18428. description: 交易日(yyyyMMdd)
  18429. type: string
  18430. required:
  18431. - ordertime
  18432. type: object
  18433. szdz.QuerySZDZTradePositionRsp:
  18434. properties:
  18435. accountid:
  18436. description: 账号Id
  18437. type: integer
  18438. agreeunit:
  18439. description: 合约单位
  18440. type: number
  18441. averageprice:
  18442. description: 持仓均价
  18443. type: number
  18444. buyorsell:
  18445. description: 方向 - 0:买 1:卖
  18446. type: integer
  18447. closetotalqty:
  18448. description: 平仓总数量
  18449. type: integer
  18450. curholderamount:
  18451. description: 当前持仓总金额
  18452. type: number
  18453. curpositionqty:
  18454. description: 当前持仓总数量
  18455. type: integer
  18456. currencyid:
  18457. description: 报价货币ID
  18458. type: integer
  18459. curtdposition:
  18460. description: 期末今日头寸
  18461. type: integer
  18462. decimalplace:
  18463. description: 报价小数位
  18464. type: integer
  18465. enableqty:
  18466. description: 可用量
  18467. type: integer
  18468. fretdposition:
  18469. description: 冻结今日头寸
  18470. type: integer
  18471. frozenqty:
  18472. description: 持仓冻结数量
  18473. type: integer
  18474. goodscode:
  18475. description: 商品代码(内部)
  18476. type: string
  18477. goodsid:
  18478. description: 商品Id
  18479. type: integer
  18480. goodsname:
  18481. description: 商品名称
  18482. type: string
  18483. goodunit:
  18484. description: 报价单位
  18485. type: string
  18486. goodunitid:
  18487. description: 报价单位ID
  18488. type: integer
  18489. holderamount:
  18490. description: 期初持仓总金额
  18491. type: number
  18492. marketid:
  18493. description: 市场ID
  18494. type: integer
  18495. openreqqty:
  18496. description: 开仓申请数量
  18497. type: integer
  18498. opentotalqty:
  18499. description: 开仓总数量
  18500. type: integer
  18501. otherfrozenqty:
  18502. description: 持仓其他冻结数量(交割冻结)
  18503. type: integer
  18504. positionqty:
  18505. description: 期初持仓数量
  18506. type: integer
  18507. szdz3freezqty:
  18508. description: 尚志大宗转换冻结总数量
  18509. type: integer
  18510. tnqty:
  18511. description: T+N冻结总量
  18512. type: integer
  18513. tnusedqty:
  18514. description: T+N使用量
  18515. type: integer
  18516. trademode:
  18517. description: 交易模式
  18518. type: integer
  18519. usedmargin:
  18520. description: 占用保证金
  18521. type: number
  18522. type: object
  18523. taaccount.QueryAmountLogRsp:
  18524. properties:
  18525. OPERATETYPENAME:
  18526. description: 资金操作类型名称
  18527. type: string
  18528. accountid:
  18529. description: 资金账户ID
  18530. type: integer
  18531. agoodscode:
  18532. description: 竞拍商品代码
  18533. type: string
  18534. agoodsname:
  18535. description: 竞拍商品名称
  18536. type: string
  18537. amount:
  18538. description: 资金金额
  18539. type: number
  18540. amountadjusttype:
  18541. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18542. type: integer
  18543. autoid:
  18544. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18545. type: integer
  18546. balance:
  18547. description: 期初余额
  18548. type: number
  18549. businesscode:
  18550. description: 业务编号
  18551. type: integer
  18552. createtime:
  18553. description: 发生时间
  18554. type: string
  18555. currencyid:
  18556. description: 币种ID
  18557. type: integer
  18558. currentbalance:
  18559. description: 期末余额(变动后金额)
  18560. type: number
  18561. dgoodscode:
  18562. description: 交割商品代码
  18563. type: string
  18564. dgoodsname:
  18565. description: 交割商品名称
  18566. type: string
  18567. goodscode:
  18568. description: 商品代码
  18569. type: string
  18570. goodsid:
  18571. description: 商品ID
  18572. type: integer
  18573. goodsname:
  18574. description: 商品名称
  18575. type: string
  18576. marketid:
  18577. description: 市场ID
  18578. type: integer
  18579. marketname:
  18580. description: 市场名称
  18581. type: string
  18582. moneyticket:
  18583. description: 资金流水号:银行端流水号
  18584. type: integer
  18585. operatetype:
  18586. 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:营销收款
  18587. type: integer
  18588. relationorderid:
  18589. description: 关联单号
  18590. type: string
  18591. remark:
  18592. description: 备注
  18593. type: string
  18594. trademode:
  18595. description: 交易模式
  18596. type: integer
  18597. required:
  18598. - accountid
  18599. - amount
  18600. - amountadjusttype
  18601. - autoid
  18602. - balance
  18603. - createtime
  18604. - currentbalance
  18605. - operatetype
  18606. type: object
  18607. taaccount.QueryHisAmountLogRsp:
  18608. properties:
  18609. OPERATETYPENAME:
  18610. description: 资金操作类型名称
  18611. type: string
  18612. accountid:
  18613. description: 资金账户ID
  18614. type: integer
  18615. agoodscode:
  18616. description: 竞拍商品代码
  18617. type: string
  18618. agoodsname:
  18619. description: 竞拍商品名称
  18620. type: string
  18621. amount:
  18622. description: 资金金额
  18623. type: number
  18624. amountadjusttype:
  18625. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18626. type: integer
  18627. autoid:
  18628. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18629. type: integer
  18630. balance:
  18631. description: 期初余额
  18632. type: number
  18633. businesscode:
  18634. description: 业务编号
  18635. type: integer
  18636. createtime:
  18637. description: 发生时间
  18638. type: string
  18639. currencyid:
  18640. description: 币种ID
  18641. type: integer
  18642. currentbalance:
  18643. description: 期末余额(变动后金额)
  18644. type: number
  18645. dgoodscode:
  18646. description: 交割商品代码
  18647. type: string
  18648. dgoodsname:
  18649. description: 交割商品名称
  18650. type: string
  18651. goodscode:
  18652. description: 商品代码
  18653. type: string
  18654. goodsid:
  18655. description: 商品ID
  18656. type: integer
  18657. goodsname:
  18658. description: 商品名称
  18659. type: string
  18660. histradedate:
  18661. description: 历史交易日
  18662. type: string
  18663. isvaliddata:
  18664. description: 是否有效 - 0:无效 1:有效
  18665. type: integer
  18666. marketid:
  18667. description: 市场ID
  18668. type: integer
  18669. marketname:
  18670. description: 市场名称
  18671. type: string
  18672. moneyticket:
  18673. description: 资金流水号:银行端流水号
  18674. type: integer
  18675. operatetype:
  18676. 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:营销收款
  18677. type: integer
  18678. relationorderid:
  18679. description: 关联单号
  18680. type: string
  18681. remark:
  18682. description: 备注
  18683. type: string
  18684. trademode:
  18685. description: 交易模式
  18686. type: integer
  18687. required:
  18688. - accountid
  18689. - amount
  18690. - amountadjusttype
  18691. - autoid
  18692. - balance
  18693. - createtime
  18694. - currentbalance
  18695. - histradedate
  18696. - operatetype
  18697. type: object
  18698. trade.QueryRecieptOrderRsp:
  18699. properties:
  18700. accountName:
  18701. description: 所属账号名称(已脱敏)
  18702. type: string
  18703. accountid:
  18704. description: 资金账号
  18705. type: integer
  18706. buyorsell:
  18707. description: 方向 - 0:买 1:卖
  18708. type: integer
  18709. enableqty:
  18710. description: 可摘数量
  18711. type: integer
  18712. goodscode:
  18713. description: 商品代码
  18714. type: string
  18715. goodsid:
  18716. description: 商品ID
  18717. type: integer
  18718. goodsname:
  18719. description: 商品名称
  18720. type: string
  18721. orderid:
  18722. description: 委托单号
  18723. type: string
  18724. orderprice:
  18725. description: 委托价格
  18726. type: number
  18727. ordertime:
  18728. description: 委托时间
  18729. type: string
  18730. tradedate:
  18731. description: 交易日(yyyyMMdd)
  18732. type: string
  18733. required:
  18734. - ordertime
  18735. type: object
  18736. user.LoginQueryRsp:
  18737. properties:
  18738. areaRoles:
  18739. description: 所属角色信息
  18740. items:
  18741. $ref: '#/definitions/models.Arearole'
  18742. type: array
  18743. externalExchanges:
  18744. description: 外部交易所
  18745. items:
  18746. $ref: '#/definitions/models.Externalexchange'
  18747. type: array
  18748. goodsgroups:
  18749. description: 商品组
  18750. items:
  18751. $ref: '#/definitions/models.Goodsgroup'
  18752. type: array
  18753. loginAccount:
  18754. $ref: '#/definitions/models.Loginaccount'
  18755. description: 登录账号
  18756. markets:
  18757. description: 市场
  18758. items:
  18759. $ref: '#/definitions/models.Market'
  18760. type: array
  18761. systemParams:
  18762. description: 系统参数
  18763. items:
  18764. $ref: '#/definitions/models.Systemparam'
  18765. type: array
  18766. userAccount:
  18767. $ref: '#/definitions/models.Useraccount'
  18768. description: 用户账号
  18769. userInfo:
  18770. $ref: '#/definitions/models.Userinfo'
  18771. description: 用户信息
  18772. username:
  18773. description: 用户姓名
  18774. type: string
  18775. type: object
  18776. info:
  18777. contact: {}
  18778. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  18779. termsOfService: http://www.muchinfo.cn
  18780. title: MTP2.0 查询服务 API
  18781. version: "1.0"
  18782. paths:
  18783. /CPTrade/QueryCPTradeMyBidInfos:
  18784. get:
  18785. parameters:
  18786. - description: 资金账户
  18787. in: query
  18788. name: accountid
  18789. required: true
  18790. type: integer
  18791. - description: 预售市场ID
  18792. in: query
  18793. name: marketid
  18794. type: integer
  18795. - description: 预售商品ID
  18796. in: query
  18797. name: goodsid
  18798. type: integer
  18799. produces:
  18800. - application/json
  18801. responses:
  18802. "200":
  18803. description: OK
  18804. schema:
  18805. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  18806. "500":
  18807. description: Internal Server Error
  18808. schema:
  18809. $ref: '#/definitions/app.Response'
  18810. security:
  18811. - ApiKeyAuth: []
  18812. summary: 查询产能预售我的出价信息
  18813. tags:
  18814. - 产能预售
  18815. /CPTrade/QueryCPTradeOrderDetail:
  18816. get:
  18817. parameters:
  18818. - description: 预售商品ID
  18819. in: query
  18820. name: goodsid
  18821. type: integer
  18822. - description: 预售市场ID
  18823. in: query
  18824. name: marketid
  18825. type: integer
  18826. - description: 预售商品ID列表 - 格式:1,2,3
  18827. in: query
  18828. name: goodsids
  18829. type: string
  18830. produces:
  18831. - application/json
  18832. responses:
  18833. "200":
  18834. description: OK
  18835. schema:
  18836. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  18837. "500":
  18838. description: Internal Server Error
  18839. schema:
  18840. $ref: '#/definitions/app.Response'
  18841. security:
  18842. - ApiKeyAuth: []
  18843. summary: 查询产能预售委托单信息
  18844. tags:
  18845. - 产能预售
  18846. /CPTrade/QueryMyCPTradeGoods:
  18847. get:
  18848. parameters:
  18849. - description: 资金账户
  18850. in: query
  18851. name: accountid
  18852. required: true
  18853. type: integer
  18854. produces:
  18855. - application/json
  18856. responses:
  18857. "200":
  18858. description: OK
  18859. schema:
  18860. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  18861. "500":
  18862. description: Internal Server Error
  18863. schema:
  18864. $ref: '#/definitions/app.Response'
  18865. security:
  18866. - ApiKeyAuth: []
  18867. summary: 查询我的预售信息
  18868. tags:
  18869. - 产能预售
  18870. /CPTrade/QueryPositionCancel:
  18871. get:
  18872. parameters:
  18873. - description: 账户ID
  18874. in: query
  18875. name: userid
  18876. required: true
  18877. type: integer
  18878. - description: 注销ID
  18879. in: query
  18880. name: cancelid
  18881. type: integer
  18882. - description: 资金账户ID
  18883. in: query
  18884. name: accountid
  18885. type: integer
  18886. produces:
  18887. - application/json
  18888. responses:
  18889. "200":
  18890. description: OK
  18891. schema:
  18892. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  18893. "500":
  18894. description: Internal Server Error
  18895. schema:
  18896. $ref: '#/definitions/app.Response'
  18897. security:
  18898. - ApiKeyAuth: []
  18899. summary: 查询远期订单注销申请信息
  18900. tags:
  18901. - 产能预售
  18902. /CPTrade/QueryPreasleApply:
  18903. get:
  18904. parameters:
  18905. - description: 账户ID
  18906. in: query
  18907. name: userid
  18908. required: true
  18909. type: integer
  18910. - description: 申请ID
  18911. in: query
  18912. name: applyid
  18913. type: integer
  18914. - description: 资金账户ID
  18915. in: query
  18916. name: accountid
  18917. type: integer
  18918. produces:
  18919. - application/json
  18920. responses:
  18921. "200":
  18922. description: OK
  18923. schema:
  18924. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  18925. "500":
  18926. description: Internal Server Error
  18927. schema:
  18928. $ref: '#/definitions/app.Response'
  18929. security:
  18930. - ApiKeyAuth: []
  18931. summary: 查询产能预售申请信息
  18932. tags:
  18933. - 产能预售
  18934. /CPTrade/QueryPresaleGoodsEx:
  18935. get:
  18936. parameters:
  18937. - description: 预售商品ID
  18938. in: query
  18939. name: goodsid
  18940. type: integer
  18941. - description: 预售市场ID
  18942. in: query
  18943. name: marketid
  18944. type: integer
  18945. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  18946. in: query
  18947. name: presalemode
  18948. type: integer
  18949. - description: 预售商品ID列表 - 格式:1,2,3
  18950. in: query
  18951. name: goodsids
  18952. type: string
  18953. - description: 预售商品代码
  18954. in: query
  18955. name: goodscode
  18956. type: string
  18957. produces:
  18958. - application/json
  18959. responses:
  18960. "200":
  18961. description: OK
  18962. schema:
  18963. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  18964. "500":
  18965. description: Internal Server Error
  18966. schema:
  18967. $ref: '#/definitions/app.Response'
  18968. security:
  18969. - ApiKeyAuth: []
  18970. summary: 查询产能预售商品扩展信息
  18971. tags:
  18972. - 产能预售
  18973. /CPTrade/QueryUserGoodsData:
  18974. get:
  18975. parameters:
  18976. - description: 资金账户ID
  18977. in: query
  18978. name: accountid
  18979. required: true
  18980. type: integer
  18981. produces:
  18982. - application/json
  18983. responses:
  18984. "200":
  18985. description: OK
  18986. schema:
  18987. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  18988. "500":
  18989. description: Internal Server Error
  18990. schema:
  18991. $ref: '#/definitions/app.Response'
  18992. security:
  18993. - ApiKeyAuth: []
  18994. summary: 查询远期订单信息
  18995. tags:
  18996. - 产能预售
  18997. /Common/GetAllEnums:
  18998. get:
  18999. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19000. parameters:
  19001. - description: 起始自增ID
  19002. in: query
  19003. name: autoid
  19004. type: integer
  19005. produces:
  19006. - application/json
  19007. responses:
  19008. "200":
  19009. description: OK
  19010. schema:
  19011. $ref: '#/definitions/models.Enumdicitem'
  19012. "500":
  19013. description: Internal Server Error
  19014. schema:
  19015. $ref: '#/definitions/app.Response'
  19016. summary: 获取所有枚举信息
  19017. tags:
  19018. - 通用服务
  19019. /Common/GetClientMenus:
  19020. get:
  19021. parameters:
  19022. - description: 登录账号
  19023. in: query
  19024. name: loginID
  19025. required: true
  19026. type: integer
  19027. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19028. in: query
  19029. name: clientType
  19030. type: integer
  19031. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19032. in: query
  19033. name: name
  19034. type: string
  19035. produces:
  19036. - application/json
  19037. responses:
  19038. "200":
  19039. description: OK
  19040. schema:
  19041. items:
  19042. $ref: '#/definitions/common.ClientMenu'
  19043. type: array
  19044. "500":
  19045. description: Internal Server Error
  19046. schema:
  19047. $ref: '#/definitions/app.Response'
  19048. security:
  19049. - ApiKeyAuth: []
  19050. summary: 获取交易端菜单
  19051. tags:
  19052. - 通用服务
  19053. /Common/GetDivisions:
  19054. get:
  19055. produces:
  19056. - application/json
  19057. responses:
  19058. "200":
  19059. description: OK
  19060. schema:
  19061. $ref: '#/definitions/models.Division'
  19062. "500":
  19063. description: Internal Server Error
  19064. schema:
  19065. $ref: '#/definitions/app.Response'
  19066. summary: 查询区域信息
  19067. tags:
  19068. - 通用服务
  19069. /Common/GetPCWebMenus:
  19070. get:
  19071. parameters:
  19072. - description: 登录账号
  19073. in: query
  19074. name: loginID
  19075. required: true
  19076. type: integer
  19077. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19078. in: query
  19079. name: name
  19080. type: string
  19081. produces:
  19082. - application/json
  19083. responses:
  19084. "200":
  19085. description: OK
  19086. schema:
  19087. items:
  19088. $ref: '#/definitions/common.PCWebMenu'
  19089. type: array
  19090. "500":
  19091. description: Internal Server Error
  19092. schema:
  19093. $ref: '#/definitions/app.Response'
  19094. security:
  19095. - ApiKeyAuth: []
  19096. summary: 获取PCWeb交易端菜单
  19097. tags:
  19098. - 通用服务
  19099. /Common/GetServerTime:
  19100. get:
  19101. produces:
  19102. - application/json
  19103. responses:
  19104. "200":
  19105. description: OK
  19106. schema:
  19107. $ref: '#/definitions/app.Response'
  19108. "500":
  19109. description: Internal Server Error
  19110. schema:
  19111. $ref: '#/definitions/app.Response'
  19112. summary: 获取服务器时间
  19113. tags:
  19114. - 通用服务
  19115. /Common/NoticeReaded:
  19116. post:
  19117. parameters:
  19118. - description: 登录账号
  19119. in: query
  19120. name: loginID
  19121. required: true
  19122. type: integer
  19123. - description: 通知公告ID
  19124. in: query
  19125. name: noticeID
  19126. required: true
  19127. type: integer
  19128. produces:
  19129. - application/json
  19130. responses:
  19131. "200":
  19132. description: OK
  19133. schema:
  19134. $ref: '#/definitions/app.Response'
  19135. "500":
  19136. description: Internal Server Error
  19137. schema:
  19138. $ref: '#/definitions/app.Response'
  19139. security:
  19140. - ApiKeyAuth: []
  19141. summary: 通知公告设置已读请求
  19142. tags:
  19143. - 通用服务
  19144. /Common/QueryErrorInfos:
  19145. get:
  19146. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19147. parameters:
  19148. - description: 起始行号前索引
  19149. in: query
  19150. name: rowNumber
  19151. type: string
  19152. produces:
  19153. - application/json
  19154. responses:
  19155. "200":
  19156. description: OK
  19157. schema:
  19158. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19159. "500":
  19160. description: Internal Server Error
  19161. schema:
  19162. $ref: '#/definitions/app.Response'
  19163. summary: 获取数据库错误信息
  19164. tags:
  19165. - 通用服务
  19166. /Common/QueryImageConfigs:
  19167. get:
  19168. parameters:
  19169. - description: 用户id
  19170. in: query
  19171. name: userId
  19172. type: integer
  19173. - description: 类型 - 1:App首页轮播 2:我的
  19174. in: query
  19175. name: imageType
  19176. type: integer
  19177. produces:
  19178. - application/json
  19179. responses:
  19180. "200":
  19181. description: OK
  19182. schema:
  19183. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19184. "500":
  19185. description: Internal Server Error
  19186. schema:
  19187. $ref: '#/definitions/app.Response'
  19188. summary: 查询轮播图配置信息
  19189. tags:
  19190. - 通用服务
  19191. /Common/QueryNotice:
  19192. get:
  19193. parameters:
  19194. - description: 页码
  19195. in: query
  19196. name: page
  19197. type: integer
  19198. - description: 每页条数
  19199. in: query
  19200. name: pagesize
  19201. type: integer
  19202. - description: 登录账号
  19203. in: query
  19204. name: loginID
  19205. required: true
  19206. type: integer
  19207. - description: 消息类型 - 1:公告通知 2:系统消息
  19208. in: query
  19209. name: msgType
  19210. type: integer
  19211. - description: 是否只获取未读信息
  19212. in: query
  19213. name: onlyUnRead
  19214. type: boolean
  19215. - description: 自增ID,传入后会返回这个ID后面的记录
  19216. in: query
  19217. name: lastID
  19218. type: integer
  19219. produces:
  19220. - application/json
  19221. responses:
  19222. "200":
  19223. description: OK
  19224. schema:
  19225. $ref: '#/definitions/common.QueryNoticeRsp'
  19226. "500":
  19227. description: Internal Server Error
  19228. schema:
  19229. $ref: '#/definitions/app.Response'
  19230. security:
  19231. - ApiKeyAuth: []
  19232. summary: 通知公告系统消息查询
  19233. tags:
  19234. - 通用服务
  19235. /Common/QueryProvincesAndCities:
  19236. get:
  19237. parameters:
  19238. - description: 省ID
  19239. in: query
  19240. name: provinceID
  19241. type: integer
  19242. produces:
  19243. - application/json
  19244. responses:
  19245. "200":
  19246. description: OK
  19247. schema:
  19248. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19249. "500":
  19250. description: Internal Server Error
  19251. schema:
  19252. $ref: '#/definitions/app.Response'
  19253. summary: 查询省市信息(不包括区)
  19254. tags:
  19255. - 通用服务
  19256. /Common/QueryTableDefine:
  19257. get:
  19258. parameters:
  19259. - description: 表key
  19260. in: query
  19261. name: tableKey
  19262. type: string
  19263. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19264. in: query
  19265. name: tableType
  19266. type: integer
  19267. produces:
  19268. - application/json
  19269. responses:
  19270. "200":
  19271. description: OK
  19272. schema:
  19273. $ref: '#/definitions/common.QueryTableDefineRsp'
  19274. "500":
  19275. description: Internal Server Error
  19276. schema:
  19277. $ref: '#/definitions/app.Response'
  19278. summary: 查询交易端列表头信息
  19279. tags:
  19280. - 通用服务
  19281. /Common/QueryTraderMenu:
  19282. get:
  19283. parameters:
  19284. - description: 登录账号
  19285. in: query
  19286. name: loginid
  19287. required: true
  19288. type: integer
  19289. produces:
  19290. - application/json
  19291. responses:
  19292. "200":
  19293. description: OK
  19294. schema:
  19295. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19296. "500":
  19297. description: Internal Server Error
  19298. schema:
  19299. $ref: '#/definitions/app.Response'
  19300. summary: 查询交易端菜单
  19301. tags:
  19302. - 通用服务
  19303. /Delivery/QueryDeliveryRelation:
  19304. get:
  19305. parameters:
  19306. - description: 商品ID
  19307. in: query
  19308. name: goodsid
  19309. type: integer
  19310. - description: 品种ID
  19311. in: query
  19312. name: deliverygoodsid
  19313. type: integer
  19314. - description: 市场ID
  19315. in: query
  19316. name: marketid
  19317. type: integer
  19318. produces:
  19319. - application/json
  19320. responses:
  19321. "200":
  19322. description: OK
  19323. schema:
  19324. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19325. "500":
  19326. description: Internal Server Error
  19327. schema:
  19328. $ref: '#/definitions/app.Response'
  19329. security:
  19330. - ApiKeyAuth: []
  19331. summary: 查询商品交割关系表
  19332. tags:
  19333. - 交割服务
  19334. /Ermcp/GetErmcpGoods:
  19335. get:
  19336. parameters:
  19337. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19338. in: query
  19339. name: lastUpdateTime
  19340. type: string
  19341. produces:
  19342. - application/json
  19343. responses:
  19344. "200":
  19345. description: OK
  19346. schema:
  19347. $ref: '#/definitions/models.ErmcpGoods'
  19348. "500":
  19349. description: Internal Server Error
  19350. schema:
  19351. $ref: '#/definitions/app.Response'
  19352. security:
  19353. - ApiKeyAuth: []
  19354. summary: 查询企业风管期货商品信息
  19355. tags:
  19356. - 企业风险管理(app)
  19357. /Ermcp/GetErmcpGoodsSortByPosition:
  19358. get:
  19359. parameters:
  19360. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19361. in: query
  19362. name: sortIndex
  19363. type: string
  19364. produces:
  19365. - application/json
  19366. responses:
  19367. "200":
  19368. description: OK
  19369. schema:
  19370. $ref: '#/definitions/models.Goodssortbypreposition'
  19371. "500":
  19372. description: Internal Server Error
  19373. schema:
  19374. $ref: '#/definitions/app.Response'
  19375. security:
  19376. - ApiKeyAuth: []
  19377. summary: 查询企业风管期货主力、次主力商品信息
  19378. tags:
  19379. - 企业风险管理(app)
  19380. /Ermcp/GetErmcpOutAccountStatus:
  19381. get:
  19382. parameters:
  19383. - description: 登录账号
  19384. in: query
  19385. name: loginID
  19386. required: true
  19387. type: integer
  19388. produces:
  19389. - application/json
  19390. responses:
  19391. "200":
  19392. description: OK
  19393. schema:
  19394. $ref: '#/definitions/models.Hedgemarketopenlog'
  19395. "500":
  19396. description: Internal Server Error
  19397. schema:
  19398. $ref: '#/definitions/app.Response'
  19399. security:
  19400. - ApiKeyAuth: []
  19401. summary: 获取目标登录账号当前对冲账号在线状态
  19402. tags:
  19403. - 企业风险管理(app)
  19404. /Ermcp/GetErmcpRoleFuncMenuLists:
  19405. get:
  19406. parameters:
  19407. - description: 登录账号
  19408. in: query
  19409. name: loginID
  19410. required: true
  19411. type: integer
  19412. produces:
  19413. - application/json
  19414. responses:
  19415. "200":
  19416. description: OK
  19417. schema:
  19418. $ref: '#/definitions/models.Funcmenulist'
  19419. "500":
  19420. description: Internal Server Error
  19421. schema:
  19422. $ref: '#/definitions/app.Response'
  19423. security:
  19424. - ApiKeyAuth: []
  19425. summary: 获取企业风管终端权限
  19426. tags:
  19427. - 企业风险管理(app)
  19428. /Ermcp/QueryAccMgrBizGroupSet:
  19429. get:
  19430. parameters:
  19431. - description: 用户ID
  19432. in: query
  19433. name: userid
  19434. required: true
  19435. type: integer
  19436. - description: 现货商品id
  19437. in: query
  19438. name: deliverygoodsid
  19439. type: integer
  19440. produces:
  19441. - application/json
  19442. responses:
  19443. "200":
  19444. description: OK
  19445. schema:
  19446. items:
  19447. $ref: '#/definitions/models.ErmcpBizGroupEx'
  19448. type: array
  19449. "500":
  19450. description: Internal Server Error
  19451. schema:
  19452. $ref: '#/definitions/app.Response'
  19453. security:
  19454. - ApiKeyAuth: []
  19455. summary: 查询业务类型分组(账户管理/账户设置)
  19456. tags:
  19457. - 企业风险管理(app)
  19458. /Ermcp/QueryAccMgrLoginUser:
  19459. get:
  19460. parameters:
  19461. - description: 用户ID
  19462. in: query
  19463. name: userid
  19464. required: true
  19465. type: integer
  19466. - description: 用户类型 2-机构 7-企业成员
  19467. in: query
  19468. name: usertype
  19469. type: integer
  19470. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  19471. in: query
  19472. name: querytype
  19473. required: true
  19474. type: integer
  19475. produces:
  19476. - application/json
  19477. responses:
  19478. "200":
  19479. description: OK
  19480. schema:
  19481. items:
  19482. $ref: '#/definitions/models.ErmcpLoginUserEx'
  19483. type: array
  19484. "500":
  19485. description: Internal Server Error
  19486. schema:
  19487. $ref: '#/definitions/app.Response'
  19488. security:
  19489. - ApiKeyAuth: []
  19490. summary: 查询账户管理登录账号(账户管理/登录账号)
  19491. tags:
  19492. - 企业风险管理(app)
  19493. /Ermcp/QueryAccMgrMainAccountInfo:
  19494. get:
  19495. parameters:
  19496. - description: 用户ID
  19497. in: query
  19498. name: userid
  19499. type: integer
  19500. - description: 主账号id
  19501. in: query
  19502. name: accountid
  19503. type: integer
  19504. produces:
  19505. - application/json
  19506. responses:
  19507. "200":
  19508. description: OK
  19509. schema:
  19510. items:
  19511. $ref: '#/definitions/models.MainAccountInfo'
  19512. type: array
  19513. "500":
  19514. description: Internal Server Error
  19515. schema:
  19516. $ref: '#/definitions/app.Response'
  19517. security:
  19518. - ApiKeyAuth: []
  19519. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  19520. tags:
  19521. - 企业风险管理(app)
  19522. /Ermcp/QueryAccMgrRole:
  19523. get:
  19524. parameters:
  19525. - description: 用户ID
  19526. in: query
  19527. name: userid
  19528. required: true
  19529. type: integer
  19530. produces:
  19531. - application/json
  19532. responses:
  19533. "200":
  19534. description: OK
  19535. schema:
  19536. items:
  19537. $ref: '#/definitions/models.ErmcpRole'
  19538. type: array
  19539. "500":
  19540. description: Internal Server Error
  19541. schema:
  19542. $ref: '#/definitions/app.Response'
  19543. security:
  19544. - ApiKeyAuth: []
  19545. summary: 查询账户管理角色设置(账户管理/角色设置)
  19546. tags:
  19547. - 企业风险管理(app)
  19548. /Ermcp/QueryAccMgrRoleMenu:
  19549. get:
  19550. parameters:
  19551. - description: 用户ID
  19552. in: query
  19553. name: userid
  19554. required: true
  19555. type: integer
  19556. - description: 角色id(可多个,逗号隔开)
  19557. in: query
  19558. name: roleid
  19559. type: string
  19560. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  19561. in: query
  19562. name: menutype
  19563. type: integer
  19564. produces:
  19565. - application/json
  19566. responses:
  19567. "200":
  19568. description: OK
  19569. schema:
  19570. items:
  19571. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  19572. type: array
  19573. "500":
  19574. description: Internal Server Error
  19575. schema:
  19576. $ref: '#/definitions/app.Response'
  19577. security:
  19578. - ApiKeyAuth: []
  19579. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  19580. tags:
  19581. - 企业风险管理(app)
  19582. /Ermcp/QueryAccMgrTaAccountInfo:
  19583. get:
  19584. parameters:
  19585. - description: 用户ID
  19586. in: query
  19587. name: userid
  19588. required: true
  19589. type: integer
  19590. - description: 账号id
  19591. in: query
  19592. name: accountid
  19593. type: integer
  19594. produces:
  19595. - application/json
  19596. responses:
  19597. "200":
  19598. description: OK
  19599. schema:
  19600. items:
  19601. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  19602. type: array
  19603. "500":
  19604. description: Internal Server Error
  19605. schema:
  19606. $ref: '#/definitions/app.Response'
  19607. security:
  19608. - ApiKeyAuth: []
  19609. summary: 查询账户管理授信(账户管理/账户设置/授信)
  19610. tags:
  19611. - 企业风险管理(app)
  19612. /Ermcp/QueryAccMgrTaaccount:
  19613. get:
  19614. parameters:
  19615. - description: 用户ID
  19616. in: query
  19617. name: userid
  19618. required: true
  19619. type: integer
  19620. produces:
  19621. - application/json
  19622. responses:
  19623. "200":
  19624. description: OK
  19625. schema:
  19626. items:
  19627. $ref: '#/definitions/models.ErmcpTaAccountEx'
  19628. type: array
  19629. "500":
  19630. description: Internal Server Error
  19631. schema:
  19632. $ref: '#/definitions/app.Response'
  19633. security:
  19634. - ApiKeyAuth: []
  19635. summary: 查询账户管理期货账号(账户管理/期货账号)
  19636. tags:
  19637. - 企业风险管理(app)
  19638. /Ermcp/QueryAvaildGoodsGroup:
  19639. get:
  19640. parameters:
  19641. - description: 所属机构ID
  19642. in: query
  19643. name: userid
  19644. required: true
  19645. type: integer
  19646. produces:
  19647. - application/json
  19648. responses:
  19649. "200":
  19650. description: OK
  19651. schema:
  19652. items:
  19653. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  19654. type: array
  19655. "500":
  19656. description: Internal Server Error
  19657. schema:
  19658. $ref: '#/definitions/app.Response'
  19659. security:
  19660. - ApiKeyAuth: []
  19661. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  19662. tags:
  19663. - 企业风险管理(app)
  19664. /Ermcp/QueryBusinessDj:
  19665. get:
  19666. parameters:
  19667. - description: 用户ID
  19668. in: query
  19669. name: UserId
  19670. required: true
  19671. type: integer
  19672. - description: 用户类型 2-机构 7-企业成员
  19673. in: query
  19674. name: usertype
  19675. type: integer
  19676. - description: 现货合同ID, 不填则查所有
  19677. in: query
  19678. name: relatedid
  19679. type: string
  19680. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19681. in: query
  19682. name: applystatus
  19683. type: string
  19684. produces:
  19685. - application/json
  19686. responses:
  19687. "200":
  19688. description: OK
  19689. schema:
  19690. items:
  19691. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  19692. type: array
  19693. "500":
  19694. description: Internal Server Error
  19695. schema:
  19696. $ref: '#/definitions/app.Response'
  19697. security:
  19698. - ApiKeyAuth: []
  19699. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  19700. tags:
  19701. - 企业风险管理(app)
  19702. /Ermcp/QueryBusinessFp:
  19703. get:
  19704. parameters:
  19705. - description: 用户ID
  19706. in: query
  19707. name: UserId
  19708. required: true
  19709. type: integer
  19710. - description: 用户类型 2-机构 7-企业成员
  19711. in: query
  19712. name: usertype
  19713. type: integer
  19714. - description: 现货合同ID, 不填则查所有
  19715. in: query
  19716. name: relatedid
  19717. type: string
  19718. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19719. in: query
  19720. name: applystatus
  19721. type: string
  19722. produces:
  19723. - application/json
  19724. responses:
  19725. "200":
  19726. description: OK
  19727. schema:
  19728. items:
  19729. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  19730. type: array
  19731. "500":
  19732. description: Internal Server Error
  19733. schema:
  19734. $ref: '#/definitions/app.Response'
  19735. security:
  19736. - ApiKeyAuth: []
  19737. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  19738. tags:
  19739. - 企业风险管理(app)
  19740. /Ermcp/QueryBusinessJs:
  19741. get:
  19742. parameters:
  19743. - description: 用户ID
  19744. in: query
  19745. name: UserId
  19746. required: true
  19747. type: integer
  19748. - description: 用户类型 2-机构 7-企业成员
  19749. in: query
  19750. name: usertype
  19751. type: integer
  19752. - description: 现货合同ID, 不填则查所有
  19753. in: query
  19754. name: relatedid
  19755. type: string
  19756. - description: 操作申请id
  19757. in: query
  19758. name: operateapplyid
  19759. type: string
  19760. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19761. in: query
  19762. name: applystatus
  19763. type: string
  19764. produces:
  19765. - application/json
  19766. responses:
  19767. "200":
  19768. description: OK
  19769. schema:
  19770. items:
  19771. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  19772. type: array
  19773. "500":
  19774. description: Internal Server Error
  19775. schema:
  19776. $ref: '#/definitions/app.Response'
  19777. security:
  19778. - ApiKeyAuth: []
  19779. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  19780. tags:
  19781. - 企业风险管理(app)
  19782. /Ermcp/QueryBusinessJsEx:
  19783. get:
  19784. parameters:
  19785. - description: 用户ID
  19786. in: query
  19787. name: UserId
  19788. required: true
  19789. type: integer
  19790. - description: 用户类型 2-机构 7-企业成员
  19791. in: query
  19792. name: usertype
  19793. type: integer
  19794. - description: 现货合同ID, 不填则查所有
  19795. in: query
  19796. name: relatedid
  19797. type: string
  19798. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19799. in: query
  19800. name: applystatus
  19801. type: string
  19802. produces:
  19803. - application/json
  19804. responses:
  19805. "200":
  19806. description: OK
  19807. schema:
  19808. items:
  19809. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  19810. type: array
  19811. "500":
  19812. description: Internal Server Error
  19813. schema:
  19814. $ref: '#/definitions/app.Response'
  19815. security:
  19816. - ApiKeyAuth: []
  19817. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  19818. tags:
  19819. - 企业风险管理(app)
  19820. /Ermcp/QueryBusinessKx:
  19821. get:
  19822. parameters:
  19823. - description: 用户ID
  19824. in: query
  19825. name: UserId
  19826. required: true
  19827. type: integer
  19828. - description: 用户类型 2-机构 7-企业成员
  19829. in: query
  19830. name: usertype
  19831. type: integer
  19832. - description: 现货合同ID, 不填则查所有
  19833. in: query
  19834. name: relatedid
  19835. type: string
  19836. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19837. in: query
  19838. name: applystatus
  19839. type: string
  19840. produces:
  19841. - application/json
  19842. responses:
  19843. "200":
  19844. description: OK
  19845. schema:
  19846. items:
  19847. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  19848. type: array
  19849. "500":
  19850. description: Internal Server Error
  19851. schema:
  19852. $ref: '#/definitions/app.Response'
  19853. security:
  19854. - ApiKeyAuth: []
  19855. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  19856. tags:
  19857. - 企业风险管理(app)
  19858. /Ermcp/QueryChangeLog:
  19859. get:
  19860. parameters:
  19861. - description: 合同ID
  19862. in: query
  19863. name: RelatedId
  19864. required: true
  19865. type: string
  19866. produces:
  19867. - application/json
  19868. responses:
  19869. "200":
  19870. description: OK
  19871. schema:
  19872. items:
  19873. $ref: '#/definitions/ermcp.QryOPLogRsp'
  19874. type: array
  19875. "500":
  19876. description: Internal Server Error
  19877. schema:
  19878. $ref: '#/definitions/app.Response'
  19879. security:
  19880. - ApiKeyAuth: []
  19881. summary: 查询变更记录
  19882. tags:
  19883. - 企业风险管理(app)
  19884. /Ermcp/QueryErmcpHisOrderDetails:
  19885. get:
  19886. parameters:
  19887. - description: 资金账户ID
  19888. in: query
  19889. name: accountID
  19890. required: true
  19891. type: integer
  19892. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19893. in: query
  19894. name: startDate
  19895. type: string
  19896. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19897. in: query
  19898. name: endDate
  19899. type: string
  19900. produces:
  19901. - application/json
  19902. responses:
  19903. "200":
  19904. description: OK
  19905. schema:
  19906. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  19907. "500":
  19908. description: Internal Server Error
  19909. schema:
  19910. $ref: '#/definitions/app.Response'
  19911. security:
  19912. - ApiKeyAuth: []
  19913. summary: 获取企业风管期货历史委托单信息
  19914. tags:
  19915. - 企业风险管理(app)
  19916. /Ermcp/QueryErmcpHisTradeDetails:
  19917. get:
  19918. parameters:
  19919. - description: 资金账户ID
  19920. in: query
  19921. name: accountID
  19922. required: true
  19923. type: integer
  19924. - description: 商品ID
  19925. in: query
  19926. name: goodsID
  19927. type: integer
  19928. - description: 买卖方向,0:买 1:卖
  19929. in: query
  19930. name: buyOrSell
  19931. type: integer
  19932. - description: 关联委托单号
  19933. in: query
  19934. name: orderID
  19935. type: integer
  19936. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19937. in: query
  19938. name: startDate
  19939. type: string
  19940. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19941. in: query
  19942. name: endDate
  19943. type: string
  19944. produces:
  19945. - application/json
  19946. responses:
  19947. "200":
  19948. description: OK
  19949. schema:
  19950. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  19951. "500":
  19952. description: Internal Server Error
  19953. schema:
  19954. $ref: '#/definitions/app.Response'
  19955. security:
  19956. - ApiKeyAuth: []
  19957. summary: 获取企业风管期货历史成交单信息
  19958. tags:
  19959. - 企业风险管理(app)
  19960. /Ermcp/QueryErmcpInnerHolderDetails:
  19961. get:
  19962. parameters:
  19963. - description: 资金账户ID
  19964. in: query
  19965. name: accountID
  19966. required: true
  19967. type: integer
  19968. - description: 商品ID
  19969. in: query
  19970. name: goodsID
  19971. type: integer
  19972. - description: 买卖方向,0:买 1:卖
  19973. in: query
  19974. name: buyOrSell
  19975. type: integer
  19976. produces:
  19977. - application/json
  19978. responses:
  19979. "200":
  19980. description: OK
  19981. schema:
  19982. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  19983. "500":
  19984. description: Internal Server Error
  19985. schema:
  19986. $ref: '#/definitions/app.Response'
  19987. security:
  19988. - ApiKeyAuth: []
  19989. summary: 获取企业风管期货内部持仓单信息
  19990. tags:
  19991. - 企业风险管理(app)
  19992. /Ermcp/QueryErmcpOrderDetails:
  19993. get:
  19994. parameters:
  19995. - description: 资金账户ID
  19996. in: query
  19997. name: accountID
  19998. required: true
  19999. type: integer
  20000. produces:
  20001. - application/json
  20002. responses:
  20003. "200":
  20004. description: OK
  20005. schema:
  20006. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20007. "500":
  20008. description: Internal Server Error
  20009. schema:
  20010. $ref: '#/definitions/app.Response'
  20011. security:
  20012. - ApiKeyAuth: []
  20013. summary: 获取企业风管期货委托单信息
  20014. tags:
  20015. - 企业风险管理(app)
  20016. /Ermcp/QueryErmcpTradeDetails:
  20017. get:
  20018. parameters:
  20019. - description: 资金账户ID
  20020. in: query
  20021. name: accountID
  20022. required: true
  20023. type: integer
  20024. - description: 商品ID
  20025. in: query
  20026. name: goodsID
  20027. type: integer
  20028. - description: 买卖方向,0:买 1:卖
  20029. in: query
  20030. name: buyOrSell
  20031. type: integer
  20032. - description: 关联委托单号
  20033. in: query
  20034. name: orderID
  20035. type: integer
  20036. produces:
  20037. - application/json
  20038. responses:
  20039. "200":
  20040. description: OK
  20041. schema:
  20042. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20043. "500":
  20044. description: Internal Server Error
  20045. schema:
  20046. $ref: '#/definitions/app.Response'
  20047. security:
  20048. - ApiKeyAuth: []
  20049. summary: 获取企业风管期货成交单信息
  20050. tags:
  20051. - 企业风险管理(app)
  20052. /Ermcp/QueryErmcpTradePosition:
  20053. get:
  20054. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20055. parameters:
  20056. - description: 资金账户ID
  20057. in: query
  20058. name: accountID
  20059. required: true
  20060. type: integer
  20061. - description: 所属市场ID
  20062. in: query
  20063. name: marketID
  20064. type: integer
  20065. produces:
  20066. - application/json
  20067. responses:
  20068. "200":
  20069. description: OK
  20070. schema:
  20071. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20072. "500":
  20073. description: Internal Server Error
  20074. schema:
  20075. $ref: '#/definitions/app.Response'
  20076. security:
  20077. - ApiKeyAuth: []
  20078. summary: 获取企业风管期货持仓头寸信息
  20079. tags:
  20080. - 企业风险管理(app)
  20081. /Ermcp/QueryExposureDetail:
  20082. get:
  20083. parameters:
  20084. - description: 所属机构ID
  20085. in: query
  20086. name: areaUserId
  20087. required: true
  20088. type: integer
  20089. - description: 套保商品
  20090. in: query
  20091. name: middleGoodsId
  20092. required: true
  20093. type: integer
  20094. produces:
  20095. - application/json
  20096. responses:
  20097. "200":
  20098. description: OK
  20099. schema:
  20100. items:
  20101. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20102. type: array
  20103. "500":
  20104. description: Internal Server Error
  20105. schema:
  20106. $ref: '#/definitions/app.Response'
  20107. security:
  20108. - ApiKeyAuth: []
  20109. summary: 查询敞口现货明细
  20110. tags:
  20111. - 企业风险管理(app)
  20112. /Ermcp/QueryExposureGoods:
  20113. get:
  20114. parameters:
  20115. - description: 套保商品id
  20116. in: query
  20117. name: middlegoodsid
  20118. required: true
  20119. type: integer
  20120. produces:
  20121. - application/json
  20122. responses:
  20123. "200":
  20124. description: OK
  20125. schema:
  20126. items:
  20127. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20128. type: array
  20129. "500":
  20130. description: Internal Server Error
  20131. schema:
  20132. $ref: '#/definitions/app.Response'
  20133. security:
  20134. - ApiKeyAuth: []
  20135. summary: 查询敞口主力合约
  20136. tags:
  20137. - 企业风险管理(app)
  20138. /Ermcp/QueryExposureHedgePosition:
  20139. get:
  20140. parameters:
  20141. - description: 用户id
  20142. in: query
  20143. name: userid
  20144. required: true
  20145. type: integer
  20146. produces:
  20147. - application/json
  20148. responses:
  20149. "200":
  20150. description: OK
  20151. schema:
  20152. items:
  20153. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20154. type: array
  20155. "500":
  20156. description: Internal Server Error
  20157. schema:
  20158. $ref: '#/definitions/app.Response'
  20159. security:
  20160. - ApiKeyAuth: []
  20161. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20162. tags:
  20163. - 企业风险管理(app)
  20164. /Ermcp/QueryExposureHedgePositionDetail:
  20165. get:
  20166. parameters:
  20167. - description: 所属机构ID
  20168. in: query
  20169. name: userid
  20170. required: true
  20171. type: integer
  20172. - description: 商品id
  20173. in: query
  20174. name: goodsId
  20175. required: true
  20176. type: integer
  20177. produces:
  20178. - application/json
  20179. responses:
  20180. "200":
  20181. description: OK
  20182. schema:
  20183. items:
  20184. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20185. type: array
  20186. "500":
  20187. description: Internal Server Error
  20188. schema:
  20189. $ref: '#/definitions/app.Response'
  20190. security:
  20191. - ApiKeyAuth: []
  20192. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20193. tags:
  20194. - 企业风险管理(app)
  20195. /Ermcp/QueryExposureSpot:
  20196. get:
  20197. parameters:
  20198. - description: 所属机构ID
  20199. in: query
  20200. name: areaUserId
  20201. required: true
  20202. type: integer
  20203. produces:
  20204. - application/json
  20205. responses:
  20206. "200":
  20207. description: OK
  20208. schema:
  20209. items:
  20210. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20211. type: array
  20212. "500":
  20213. description: Internal Server Error
  20214. schema:
  20215. $ref: '#/definitions/app.Response'
  20216. security:
  20217. - ApiKeyAuth: []
  20218. summary: 查询敞口现货头寸(敞口/现货头寸)
  20219. tags:
  20220. - 企业风险管理(app)
  20221. /Ermcp/QueryExposureSpotDetail:
  20222. get:
  20223. parameters:
  20224. - description: 所属机构ID
  20225. in: query
  20226. name: areaUserId
  20227. required: true
  20228. type: integer
  20229. - description: 现货品种ID
  20230. in: query
  20231. name: wrstandardId
  20232. required: true
  20233. type: integer
  20234. produces:
  20235. - application/json
  20236. responses:
  20237. "200":
  20238. description: OK
  20239. schema:
  20240. items:
  20241. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20242. type: array
  20243. "500":
  20244. description: Internal Server Error
  20245. schema:
  20246. $ref: '#/definitions/app.Response'
  20247. security:
  20248. - ApiKeyAuth: []
  20249. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20250. tags:
  20251. - 企业风险管理(app)
  20252. /Ermcp/QueryFuturesCompany:
  20253. get:
  20254. produces:
  20255. - application/json
  20256. responses:
  20257. "200":
  20258. description: OK
  20259. schema:
  20260. items:
  20261. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20262. type: array
  20263. "500":
  20264. description: Internal Server Error
  20265. schema:
  20266. $ref: '#/definitions/app.Response'
  20267. security:
  20268. - ApiKeyAuth: []
  20269. summary: 查询期货公司
  20270. tags:
  20271. - 企业风险管理(app)
  20272. /Ermcp/QueryGGConvertConfig:
  20273. get:
  20274. parameters:
  20275. - description: 品种id(不填则查所有)
  20276. in: query
  20277. name: goodsgroupid
  20278. type: integer
  20279. produces:
  20280. - application/json
  20281. responses:
  20282. "200":
  20283. description: OK
  20284. schema:
  20285. items:
  20286. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20287. type: array
  20288. "500":
  20289. description: Internal Server Error
  20290. schema:
  20291. $ref: '#/definitions/app.Response'
  20292. security:
  20293. - ApiKeyAuth: []
  20294. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20295. tags:
  20296. - 企业风险管理(app)
  20297. /Ermcp/QueryGoodsBrand:
  20298. get:
  20299. parameters:
  20300. - description: 用户ID
  20301. in: query
  20302. name: userid
  20303. required: true
  20304. type: integer
  20305. - description: 现货商品ID
  20306. in: query
  20307. name: wrstandardid
  20308. type: integer
  20309. produces:
  20310. - application/json
  20311. responses:
  20312. "200":
  20313. description: OK
  20314. schema:
  20315. items:
  20316. $ref: '#/definitions/models.ErmcpGoodsBrand'
  20317. type: array
  20318. "500":
  20319. description: Internal Server Error
  20320. schema:
  20321. $ref: '#/definitions/app.Response'
  20322. security:
  20323. - ApiKeyAuth: []
  20324. summary: 查询商品品牌
  20325. tags:
  20326. - 企业风险管理(app)
  20327. /Ermcp/QueryGoodsModel:
  20328. get:
  20329. parameters:
  20330. - description: 用户ID
  20331. in: query
  20332. name: userid
  20333. required: true
  20334. type: integer
  20335. produces:
  20336. - application/json
  20337. responses:
  20338. "200":
  20339. description: OK
  20340. schema:
  20341. items:
  20342. $ref: '#/definitions/models.ErmcpGoodsModel'
  20343. type: array
  20344. "500":
  20345. description: Internal Server Error
  20346. schema:
  20347. $ref: '#/definitions/app.Response'
  20348. security:
  20349. - ApiKeyAuth: []
  20350. summary: 查询商品型号
  20351. tags:
  20352. - 企业风险管理(app)
  20353. /Ermcp/QueryHisExposure:
  20354. get:
  20355. parameters:
  20356. - description: 用户id
  20357. in: query
  20358. name: userid
  20359. required: true
  20360. type: integer
  20361. - description: 每个品种记录数
  20362. in: query
  20363. name: lastNum
  20364. required: true
  20365. type: integer
  20366. produces:
  20367. - application/json
  20368. responses:
  20369. "200":
  20370. description: OK
  20371. schema:
  20372. items:
  20373. $ref: '#/definitions/ermcp.HisExposureRsp'
  20374. type: array
  20375. "500":
  20376. description: Internal Server Error
  20377. schema:
  20378. $ref: '#/definitions/app.Response'
  20379. security:
  20380. - ApiKeyAuth: []
  20381. summary: 查询历史敞口(菜单:敞口/历史敞口)
  20382. tags:
  20383. - 企业风险管理(app)
  20384. /Ermcp/QueryMiddleGoods:
  20385. get:
  20386. parameters:
  20387. - description: 所属机构ID
  20388. in: query
  20389. name: userid
  20390. required: true
  20391. type: integer
  20392. - description: 状态 0-停用 1-正常
  20393. in: query
  20394. name: status
  20395. required: true
  20396. type: integer
  20397. produces:
  20398. - application/json
  20399. responses:
  20400. "200":
  20401. description: OK
  20402. schema:
  20403. items:
  20404. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  20405. type: array
  20406. "500":
  20407. description: Internal Server Error
  20408. schema:
  20409. $ref: '#/definitions/app.Response'
  20410. security:
  20411. - ApiKeyAuth: []
  20412. summary: 查询套保品种(菜单:套保品种)
  20413. tags:
  20414. - 企业风险管理(app)
  20415. /Ermcp/QueryMiddleGoodsChangeLog:
  20416. get:
  20417. parameters:
  20418. - description: 所属机构ID
  20419. in: query
  20420. name: userid
  20421. required: true
  20422. type: integer
  20423. - description: 套保品种id
  20424. in: query
  20425. name: middlegoodsid
  20426. required: true
  20427. type: integer
  20428. produces:
  20429. - application/json
  20430. responses:
  20431. "200":
  20432. description: OK
  20433. schema:
  20434. items:
  20435. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  20436. type: array
  20437. "500":
  20438. description: Internal Server Error
  20439. schema:
  20440. $ref: '#/definitions/app.Response'
  20441. security:
  20442. - ApiKeyAuth: []
  20443. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  20444. tags:
  20445. - 企业风险管理(app)
  20446. /Ermcp/QueryMiddleGoodsDetail:
  20447. get:
  20448. parameters:
  20449. - description: 所属机构ID
  20450. in: query
  20451. name: userid
  20452. required: true
  20453. type: integer
  20454. - description: 套保品种id
  20455. in: query
  20456. name: middlegoodsid
  20457. type: integer
  20458. produces:
  20459. - application/json
  20460. responses:
  20461. "200":
  20462. description: OK
  20463. schema:
  20464. items:
  20465. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  20466. type: array
  20467. "500":
  20468. description: Internal Server Error
  20469. schema:
  20470. $ref: '#/definitions/app.Response'
  20471. security:
  20472. - ApiKeyAuth: []
  20473. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  20474. tags:
  20475. - 企业风险管理(app)
  20476. /Ermcp/QueryPendingAuditInfo:
  20477. get:
  20478. parameters:
  20479. - description: 用户ID
  20480. in: query
  20481. name: UserId
  20482. required: true
  20483. type: integer
  20484. produces:
  20485. - application/json
  20486. responses:
  20487. "200":
  20488. description: OK
  20489. schema:
  20490. items:
  20491. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  20492. type: array
  20493. "500":
  20494. description: Internal Server Error
  20495. schema:
  20496. $ref: '#/definitions/app.Response'
  20497. security:
  20498. - ApiKeyAuth: []
  20499. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  20500. tags:
  20501. - 企业风险管理(app)
  20502. /Ermcp/QueryRealtimeExposure:
  20503. get:
  20504. parameters:
  20505. - description: 所属机构ID
  20506. in: query
  20507. name: userid
  20508. required: true
  20509. type: integer
  20510. produces:
  20511. - application/json
  20512. responses:
  20513. "200":
  20514. description: OK
  20515. schema:
  20516. items:
  20517. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  20518. type: array
  20519. "500":
  20520. description: Internal Server Error
  20521. schema:
  20522. $ref: '#/definitions/app.Response'
  20523. security:
  20524. - ApiKeyAuth: []
  20525. summary: 查询实时敞口
  20526. tags:
  20527. - 企业风险管理(app)
  20528. /Ermcp/QueryRealtimeExposurePosition:
  20529. get:
  20530. parameters:
  20531. - description: 用户id
  20532. in: query
  20533. name: userid
  20534. required: true
  20535. type: integer
  20536. - description: 套保商品ID
  20537. in: query
  20538. name: middleGoodsId
  20539. required: true
  20540. type: integer
  20541. produces:
  20542. - application/json
  20543. responses:
  20544. "200":
  20545. description: OK
  20546. schema:
  20547. items:
  20548. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  20549. type: array
  20550. "500":
  20551. description: Internal Server Error
  20552. schema:
  20553. $ref: '#/definitions/app.Response'
  20554. security:
  20555. - ApiKeyAuth: []
  20556. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  20557. tags:
  20558. - 企业风险管理(app)
  20559. /Ermcp/QueryRoleMenu:
  20560. get:
  20561. parameters:
  20562. - description: 登录ID
  20563. in: query
  20564. name: loginid
  20565. required: true
  20566. type: integer
  20567. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  20568. in: query
  20569. name: menutype
  20570. type: integer
  20571. produces:
  20572. - application/json
  20573. responses:
  20574. "200":
  20575. description: OK
  20576. schema:
  20577. items:
  20578. $ref: '#/definitions/models.RoleMenu'
  20579. type: array
  20580. "500":
  20581. description: Internal Server Error
  20582. schema:
  20583. $ref: '#/definitions/app.Response'
  20584. security:
  20585. - ApiKeyAuth: []
  20586. summary: 查询角色菜单和权限
  20587. tags:
  20588. - 企业风险管理(app)
  20589. /Ermcp/QueryTradeConfigTMP:
  20590. get:
  20591. parameters:
  20592. - description: 所属机构id
  20593. in: query
  20594. name: areauserid
  20595. type: integer
  20596. produces:
  20597. - application/json
  20598. responses:
  20599. "200":
  20600. description: OK
  20601. schema:
  20602. items:
  20603. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  20604. type: array
  20605. "500":
  20606. description: Internal Server Error
  20607. schema:
  20608. $ref: '#/definitions/app.Response'
  20609. security:
  20610. - ApiKeyAuth: []
  20611. summary: 查询交易模板配置
  20612. tags:
  20613. - 企业风险管理(app)
  20614. /Ermcp/QueryUserInfo:
  20615. get:
  20616. parameters:
  20617. - description: 所属机构用户ID
  20618. in: query
  20619. name: MemberUserID
  20620. required: true
  20621. type: integer
  20622. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  20623. in: query
  20624. name: queryType
  20625. required: true
  20626. type: integer
  20627. produces:
  20628. - application/json
  20629. responses:
  20630. "200":
  20631. description: OK
  20632. schema:
  20633. items:
  20634. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  20635. type: array
  20636. "500":
  20637. description: Internal Server Error
  20638. schema:
  20639. $ref: '#/definitions/app.Response'
  20640. security:
  20641. - ApiKeyAuth: []
  20642. summary: 查询客户资料
  20643. tags:
  20644. - 企业风险管理(app)
  20645. /Ermcp/QueryWarehouseInfo:
  20646. get:
  20647. parameters:
  20648. - description: 用户ID
  20649. in: query
  20650. name: userid
  20651. required: true
  20652. type: integer
  20653. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  20654. in: query
  20655. name: status
  20656. type: string
  20657. produces:
  20658. - application/json
  20659. responses:
  20660. "200":
  20661. description: OK
  20662. schema:
  20663. items:
  20664. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  20665. type: array
  20666. "500":
  20667. description: Internal Server Error
  20668. schema:
  20669. $ref: '#/definitions/app.Response'
  20670. security:
  20671. - ApiKeyAuth: []
  20672. summary: 查询仓库信息
  20673. tags:
  20674. - 企业风险管理(app)
  20675. /Ermcp3/QryAreaExpourseContractDetail:
  20676. get:
  20677. parameters:
  20678. - description: 用户ID
  20679. in: query
  20680. name: userid
  20681. required: true
  20682. type: integer
  20683. - description: 套保商品id
  20684. in: query
  20685. name: middlegoodsid
  20686. required: true
  20687. type: integer
  20688. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20689. in: query
  20690. name: cycletype
  20691. required: true
  20692. type: integer
  20693. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20694. in: query
  20695. name: cycletime
  20696. required: true
  20697. type: string
  20698. produces:
  20699. - application/json
  20700. responses:
  20701. "200":
  20702. description: OK
  20703. schema:
  20704. items:
  20705. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  20706. type: array
  20707. "500":
  20708. description: Internal Server Error
  20709. schema:
  20710. $ref: '#/definitions/app.Response'
  20711. security:
  20712. - ApiKeyAuth: []
  20713. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  20714. tags:
  20715. - 企业风险管理v3(app)
  20716. /Ermcp3/QryAreaExpourseFutuDetail:
  20717. get:
  20718. parameters:
  20719. - description: 用户ID
  20720. in: query
  20721. name: userid
  20722. required: true
  20723. type: integer
  20724. - description: 套保商品id
  20725. in: query
  20726. name: middlegoodsid
  20727. required: true
  20728. type: integer
  20729. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20730. in: query
  20731. name: cycletype
  20732. required: true
  20733. type: integer
  20734. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20735. in: query
  20736. name: cycletime
  20737. required: true
  20738. type: string
  20739. produces:
  20740. - application/json
  20741. responses:
  20742. "200":
  20743. description: OK
  20744. schema:
  20745. items:
  20746. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  20747. type: array
  20748. "500":
  20749. description: Internal Server Error
  20750. schema:
  20751. $ref: '#/definitions/app.Response'
  20752. security:
  20753. - ApiKeyAuth: []
  20754. summary: 查询敞口期货明细(敞口报表/期货明细)
  20755. tags:
  20756. - 企业风险管理v3(app)
  20757. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  20758. get:
  20759. parameters:
  20760. - description: 用户ID
  20761. in: query
  20762. name: userid
  20763. required: true
  20764. type: integer
  20765. - description: 套保商品id
  20766. in: query
  20767. name: middlegoodsid
  20768. required: true
  20769. type: integer
  20770. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20771. in: query
  20772. name: cycletype
  20773. required: true
  20774. type: integer
  20775. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20776. in: query
  20777. name: cycletime
  20778. required: true
  20779. type: string
  20780. produces:
  20781. - application/json
  20782. responses:
  20783. "200":
  20784. description: OK
  20785. schema:
  20786. items:
  20787. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  20788. type: array
  20789. "500":
  20790. description: Internal Server Error
  20791. schema:
  20792. $ref: '#/definitions/app.Response'
  20793. security:
  20794. - ApiKeyAuth: []
  20795. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  20796. tags:
  20797. - 企业风险管理v3(app)
  20798. /Ermcp3/QryAreaExpourseParamChLogDetail:
  20799. get:
  20800. parameters:
  20801. - description: 用户ID
  20802. in: query
  20803. name: userid
  20804. required: true
  20805. type: integer
  20806. - description: 套保商品id
  20807. in: query
  20808. name: middlegoodsid
  20809. required: true
  20810. type: integer
  20811. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20812. in: query
  20813. name: cycletype
  20814. required: true
  20815. type: integer
  20816. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20817. in: query
  20818. name: cycletime
  20819. required: true
  20820. type: string
  20821. produces:
  20822. - application/json
  20823. responses:
  20824. "200":
  20825. description: OK
  20826. schema:
  20827. items:
  20828. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  20829. type: array
  20830. "500":
  20831. description: Internal Server Error
  20832. schema:
  20833. $ref: '#/definitions/app.Response'
  20834. security:
  20835. - ApiKeyAuth: []
  20836. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  20837. tags:
  20838. - 企业风险管理v3(app)
  20839. /Ermcp3/QryAreaExpourseReport:
  20840. get:
  20841. parameters:
  20842. - description: 用户ID
  20843. in: query
  20844. name: userid
  20845. required: true
  20846. type: integer
  20847. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  20848. in: query
  20849. name: querytype
  20850. required: true
  20851. type: integer
  20852. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20853. in: query
  20854. name: cycletype
  20855. required: true
  20856. type: integer
  20857. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20858. in: query
  20859. name: cycletime
  20860. required: true
  20861. type: string
  20862. produces:
  20863. - application/json
  20864. responses:
  20865. "200":
  20866. description: OK
  20867. schema:
  20868. items:
  20869. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  20870. type: array
  20871. "500":
  20872. description: Internal Server Error
  20873. schema:
  20874. $ref: '#/definitions/app.Response'
  20875. security:
  20876. - ApiKeyAuth: []
  20877. summary: 查询敞口报表
  20878. tags:
  20879. - 企业风险管理v3(app)
  20880. /Ermcp3/QryAreaSpotplReport:
  20881. get:
  20882. parameters:
  20883. - description: 用户ID
  20884. in: query
  20885. name: userid
  20886. required: true
  20887. type: integer
  20888. - description: 查询类型 1-报表 2-报表明细
  20889. in: query
  20890. name: querytype
  20891. required: true
  20892. type: integer
  20893. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20894. in: query
  20895. name: cycletype
  20896. required: true
  20897. type: integer
  20898. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20899. in: query
  20900. name: cycletime
  20901. required: true
  20902. type: string
  20903. - description: 现货品种id(明细必填)
  20904. in: query
  20905. name: deliverygoodsid
  20906. type: integer
  20907. - description: 币种id(明细必填)
  20908. in: query
  20909. name: currencyid
  20910. type: integer
  20911. produces:
  20912. - application/json
  20913. responses:
  20914. "200":
  20915. description: OK
  20916. schema:
  20917. items:
  20918. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  20919. type: array
  20920. "500":
  20921. description: Internal Server Error
  20922. schema:
  20923. $ref: '#/definitions/app.Response'
  20924. security:
  20925. - ApiKeyAuth: []
  20926. summary: 查询现货报表
  20927. tags:
  20928. - 企业风险管理v3(app)
  20929. /Ermcp3/QryAreaStockReport:
  20930. get:
  20931. parameters:
  20932. - description: 用户ID
  20933. in: query
  20934. name: userid
  20935. required: true
  20936. type: integer
  20937. - description: 查询类型 1-报表 2-报表明细
  20938. in: query
  20939. name: querytype
  20940. required: true
  20941. type: integer
  20942. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20943. in: query
  20944. name: cycletype
  20945. required: true
  20946. type: integer
  20947. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20948. in: query
  20949. name: cycletime
  20950. required: true
  20951. type: string
  20952. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  20953. in: query
  20954. name: sumfields
  20955. type: string
  20956. - description: 品种ID
  20957. in: query
  20958. name: deliverygoodsid
  20959. type: integer
  20960. - description: 品类ID
  20961. in: query
  20962. name: wrstandardid
  20963. type: integer
  20964. - description: 品牌ID
  20965. in: query
  20966. name: spotgoodsbrandid
  20967. type: integer
  20968. - description: 仓库ID
  20969. in: query
  20970. name: warehouseinfoid
  20971. type: integer
  20972. produces:
  20973. - application/json
  20974. responses:
  20975. "200":
  20976. description: OK
  20977. schema:
  20978. items:
  20979. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  20980. type: array
  20981. "500":
  20982. description: Internal Server Error
  20983. schema:
  20984. $ref: '#/definitions/app.Response'
  20985. security:
  20986. - ApiKeyAuth: []
  20987. summary: 查询库存报表
  20988. tags:
  20989. - 企业风险管理v3(app)
  20990. /Ermcp3/QryAreaSumPL:
  20991. get:
  20992. parameters:
  20993. - description: 用户ID
  20994. in: query
  20995. name: userid
  20996. required: true
  20997. type: integer
  20998. - description: 查询类型 1-报表 2-报表明细
  20999. in: query
  21000. name: querytype
  21001. required: true
  21002. type: integer
  21003. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21004. in: query
  21005. name: cycletype
  21006. required: true
  21007. type: integer
  21008. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21009. in: query
  21010. name: cycletime
  21011. required: true
  21012. type: string
  21013. - description: 币种id(明细必填)
  21014. in: query
  21015. name: currencyid
  21016. type: integer
  21017. produces:
  21018. - application/json
  21019. responses:
  21020. "200":
  21021. description: OK
  21022. schema:
  21023. items:
  21024. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21025. type: array
  21026. "500":
  21027. description: Internal Server Error
  21028. schema:
  21029. $ref: '#/definitions/app.Response'
  21030. security:
  21031. - ApiKeyAuth: []
  21032. summary: 查询汇总损益表
  21033. tags:
  21034. - 企业风险管理v3(app)
  21035. /Ermcp3/QryFinanceReport:
  21036. get:
  21037. parameters:
  21038. - description: 用户ID
  21039. in: query
  21040. name: userid
  21041. required: true
  21042. type: integer
  21043. - description: 查询类型 1-报表 2-报表明细
  21044. in: query
  21045. name: querytype
  21046. required: true
  21047. type: integer
  21048. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21049. in: query
  21050. name: cycletype
  21051. required: true
  21052. type: integer
  21053. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21054. in: query
  21055. name: cycletime
  21056. required: true
  21057. type: string
  21058. - description: 币种id(报表明细必填)
  21059. in: query
  21060. name: currencyid
  21061. type: integer
  21062. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21063. in: query
  21064. name: sumfields
  21065. type: string
  21066. produces:
  21067. - application/json
  21068. responses:
  21069. "200":
  21070. description: OK
  21071. schema:
  21072. items:
  21073. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21074. type: array
  21075. "500":
  21076. description: Internal Server Error
  21077. schema:
  21078. $ref: '#/definitions/app.Response'
  21079. security:
  21080. - ApiKeyAuth: []
  21081. summary: 查询财务报表
  21082. tags:
  21083. - 企业风险管理v3(app)
  21084. /Ermcp3/QrySCMiddleGoodsReport:
  21085. get:
  21086. parameters:
  21087. - description: 用户ID
  21088. in: query
  21089. name: userid
  21090. required: true
  21091. type: integer
  21092. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21093. in: query
  21094. name: cycletype
  21095. required: true
  21096. type: integer
  21097. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21098. in: query
  21099. name: cycletime
  21100. required: true
  21101. type: string
  21102. - description: 现货合同id
  21103. in: query
  21104. name: spotcontractid
  21105. type: integer
  21106. - description: 套保品种id
  21107. in: query
  21108. name: middlegoodsid
  21109. type: integer
  21110. - description: 现货品种id
  21111. in: query
  21112. name: deliverygoodsid
  21113. type: integer
  21114. - description: 现货商品id
  21115. in: query
  21116. name: wrstandardid
  21117. type: integer
  21118. produces:
  21119. - application/json
  21120. responses:
  21121. "200":
  21122. description: OK
  21123. schema:
  21124. items:
  21125. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21126. type: array
  21127. "500":
  21128. description: Internal Server Error
  21129. schema:
  21130. $ref: '#/definitions/app.Response'
  21131. security:
  21132. - ApiKeyAuth: []
  21133. summary: 查询定价报表
  21134. tags:
  21135. - 企业风险管理v3(app)
  21136. /Ermcp3/QryTaFutureDataReport:
  21137. get:
  21138. parameters:
  21139. - description: 用户ID
  21140. in: query
  21141. name: userid
  21142. required: true
  21143. type: integer
  21144. - description: 查询类型 1-报表 2-报表明细
  21145. in: query
  21146. name: querytype
  21147. required: true
  21148. type: integer
  21149. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21150. in: query
  21151. name: cycletype
  21152. required: true
  21153. type: integer
  21154. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21155. in: query
  21156. name: cycletime
  21157. required: true
  21158. type: string
  21159. - description: 币种id(查明细必填)
  21160. in: query
  21161. name: currencyid
  21162. type: integer
  21163. - description: 品种id(查明细必填)
  21164. in: query
  21165. name: goodsgroupid
  21166. type: integer
  21167. - description: 商品id(查明细必填)
  21168. in: query
  21169. name: goodsid
  21170. type: integer
  21171. - description: 买卖方向(查明细必填)
  21172. in: query
  21173. name: buyorsell
  21174. type: integer
  21175. produces:
  21176. - application/json
  21177. responses:
  21178. "200":
  21179. description: OK
  21180. schema:
  21181. items:
  21182. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21183. type: array
  21184. "500":
  21185. description: Internal Server Error
  21186. schema:
  21187. $ref: '#/definitions/app.Response'
  21188. security:
  21189. - ApiKeyAuth: []
  21190. summary: 查询期货报表
  21191. tags:
  21192. - 企业风险管理v3(app)
  21193. /Ermcp3/QueryAreaStock:
  21194. get:
  21195. parameters:
  21196. - description: 用户ID
  21197. in: query
  21198. name: userid
  21199. required: true
  21200. type: integer
  21201. produces:
  21202. - application/json
  21203. responses:
  21204. "200":
  21205. description: OK
  21206. schema:
  21207. items:
  21208. $ref: '#/definitions/models.Ermcp3AreaStock'
  21209. type: array
  21210. "500":
  21211. description: Internal Server Error
  21212. schema:
  21213. $ref: '#/definitions/app.Response'
  21214. security:
  21215. - ApiKeyAuth: []
  21216. summary: 查询机构库存(库存管理/当前库存)
  21217. tags:
  21218. - 企业风险管理v3(app)
  21219. /Ermcp3/QueryAreaStockApply:
  21220. get:
  21221. parameters:
  21222. - description: 用户ID
  21223. in: query
  21224. name: userid
  21225. required: true
  21226. type: integer
  21227. - description: 用户类型 2-机构 7-企业成员
  21228. in: query
  21229. name: usertype
  21230. type: integer
  21231. - description: 现货商品ID
  21232. in: query
  21233. name: deliverygoodsid
  21234. type: integer
  21235. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21236. in: query
  21237. name: inouttype
  21238. type: string
  21239. - description: 合同ID
  21240. in: query
  21241. name: spotcontractid
  21242. type: integer
  21243. - description: 品类ID
  21244. in: query
  21245. name: wrstandardid
  21246. type: integer
  21247. - description: 品牌ID
  21248. in: query
  21249. name: spotgoodsbrandid
  21250. type: integer
  21251. - description: 仓库ID
  21252. in: query
  21253. name: warehouseinfoid
  21254. type: integer
  21255. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21256. in: query
  21257. name: applystatus
  21258. type: string
  21259. produces:
  21260. - application/json
  21261. responses:
  21262. "200":
  21263. description: OK
  21264. schema:
  21265. items:
  21266. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21267. type: array
  21268. "500":
  21269. description: Internal Server Error
  21270. schema:
  21271. $ref: '#/definitions/app.Response'
  21272. security:
  21273. - ApiKeyAuth: []
  21274. summary: 查询库存申请(出入库记录|库存审核)
  21275. tags:
  21276. - 企业风险管理v3(app)
  21277. /Ermcp3/QueryAreaStockApplySum:
  21278. get:
  21279. parameters:
  21280. - description: 合同ID
  21281. in: query
  21282. name: spotcontractid
  21283. required: true
  21284. type: integer
  21285. produces:
  21286. - application/json
  21287. responses:
  21288. "200":
  21289. description: OK
  21290. schema:
  21291. items:
  21292. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21293. type: array
  21294. "500":
  21295. description: Internal Server Error
  21296. schema:
  21297. $ref: '#/definitions/app.Response'
  21298. security:
  21299. - ApiKeyAuth: []
  21300. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21301. tags:
  21302. - 企业风险管理v3(app)
  21303. /Ermcp3/QueryDGFactoryItem:
  21304. get:
  21305. parameters:
  21306. - description: 用户id
  21307. in: query
  21308. name: userid
  21309. type: integer
  21310. - description: 用户类型 2-机构 7-企业成员
  21311. in: query
  21312. name: usertype
  21313. type: integer
  21314. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21315. in: query
  21316. name: dgfactoryitemid
  21317. type: integer
  21318. - description: 现货品种ID
  21319. in: query
  21320. name: deliverygoodsid
  21321. type: integer
  21322. - description: 要素项类型
  21323. in: query
  21324. name: dgfactoryitemtypeid
  21325. type: integer
  21326. - description: 顺序
  21327. in: query
  21328. name: orderindex
  21329. type: integer
  21330. produces:
  21331. - application/json
  21332. responses:
  21333. "200":
  21334. description: OK
  21335. schema:
  21336. items:
  21337. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  21338. type: array
  21339. "500":
  21340. description: Internal Server Error
  21341. schema:
  21342. $ref: '#/definitions/app.Response'
  21343. security:
  21344. - ApiKeyAuth: []
  21345. summary: 查询品种要素定义项
  21346. tags:
  21347. - 企业风险管理v3(app)
  21348. /Ermcp3/QueryDeliveryGoods:
  21349. get:
  21350. parameters:
  21351. - description: 用户id
  21352. in: query
  21353. name: userid
  21354. required: true
  21355. type: integer
  21356. - description: 用户类型 2-机构 7-企业成员
  21357. in: query
  21358. name: usertype
  21359. type: integer
  21360. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21361. in: query
  21362. name: excludecfg
  21363. type: integer
  21364. produces:
  21365. - application/json
  21366. responses:
  21367. "200":
  21368. description: OK
  21369. schema:
  21370. items:
  21371. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  21372. type: array
  21373. "500":
  21374. description: Internal Server Error
  21375. schema:
  21376. $ref: '#/definitions/app.Response'
  21377. security:
  21378. - ApiKeyAuth: []
  21379. summary: 查询现货商品
  21380. tags:
  21381. - 企业风险管理v3(app)
  21382. /Ermcp3/QueryDeliveryGoodsDetail:
  21383. get:
  21384. parameters:
  21385. - description: 用户id
  21386. in: query
  21387. name: userid
  21388. required: true
  21389. type: integer
  21390. - description: 用户类型 2-机构 7-企业成员
  21391. in: query
  21392. name: usertype
  21393. type: integer
  21394. - description: 现货商品id
  21395. in: query
  21396. name: deliverygoodsid
  21397. type: integer
  21398. produces:
  21399. - application/json
  21400. responses:
  21401. "200":
  21402. description: OK
  21403. schema:
  21404. items:
  21405. $ref: '#/definitions/models.XHDeliveryGoods'
  21406. type: array
  21407. "500":
  21408. description: Internal Server Error
  21409. schema:
  21410. $ref: '#/definitions/app.Response'
  21411. security:
  21412. - ApiKeyAuth: []
  21413. summary: 查询现货商品详情
  21414. tags:
  21415. - 企业风险管理v3(app)
  21416. /Ermcp3/QueryExposureDetail:
  21417. get:
  21418. parameters:
  21419. - description: 用户id
  21420. in: query
  21421. name: userid
  21422. required: true
  21423. type: integer
  21424. - description: 用户类型 2-机构 7-企业成员
  21425. in: query
  21426. name: usertype
  21427. type: integer
  21428. - description: 套保商品
  21429. in: query
  21430. name: middlegoodsid
  21431. required: true
  21432. type: integer
  21433. produces:
  21434. - application/json
  21435. responses:
  21436. "200":
  21437. description: OK
  21438. schema:
  21439. items:
  21440. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  21441. type: array
  21442. "500":
  21443. description: Internal Server Error
  21444. schema:
  21445. $ref: '#/definitions/app.Response'
  21446. security:
  21447. - ApiKeyAuth: []
  21448. summary: 查询敞口现货明细
  21449. tags:
  21450. - 企业风险管理v3(app)
  21451. /Ermcp3/QueryExposureSpot:
  21452. get:
  21453. parameters:
  21454. - description: 用户id
  21455. in: query
  21456. name: userid
  21457. required: true
  21458. type: integer
  21459. - description: 用户类型 2-机构 7-企业成员
  21460. in: query
  21461. name: usertype
  21462. type: integer
  21463. produces:
  21464. - application/json
  21465. responses:
  21466. "200":
  21467. description: OK
  21468. schema:
  21469. items:
  21470. $ref: '#/definitions/models.Ermcp3AreaSpot'
  21471. type: array
  21472. "500":
  21473. description: Internal Server Error
  21474. schema:
  21475. $ref: '#/definitions/app.Response'
  21476. security:
  21477. - ApiKeyAuth: []
  21478. summary: 查询敞口现货头寸(敞口/现货头寸)
  21479. tags:
  21480. - 企业风险管理v3(app)
  21481. /Ermcp3/QueryExposureSpotDetail:
  21482. get:
  21483. parameters:
  21484. - description: 用户id
  21485. in: query
  21486. name: userid
  21487. required: true
  21488. type: integer
  21489. - description: 用户类型 2-机构 7-企业成员
  21490. in: query
  21491. name: usertype
  21492. type: integer
  21493. - description: 现货商品ID
  21494. in: query
  21495. name: wrstandardid
  21496. required: true
  21497. type: integer
  21498. produces:
  21499. - application/json
  21500. responses:
  21501. "200":
  21502. description: OK
  21503. schema:
  21504. items:
  21505. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  21506. type: array
  21507. "500":
  21508. description: Internal Server Error
  21509. schema:
  21510. $ref: '#/definitions/app.Response'
  21511. security:
  21512. - ApiKeyAuth: []
  21513. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21514. tags:
  21515. - 企业风险管理v3(app)
  21516. /Ermcp3/QueryGoodsGroup:
  21517. get:
  21518. parameters:
  21519. - description: 用户id
  21520. in: query
  21521. name: userid
  21522. required: true
  21523. type: integer
  21524. - description: 用户类型 2-机构 7-企业成员
  21525. in: query
  21526. name: usertype
  21527. type: integer
  21528. - description: 排除套保品中已关联的商品组 1-排除
  21529. in: query
  21530. name: excludecfg
  21531. type: integer
  21532. produces:
  21533. - application/json
  21534. responses:
  21535. "200":
  21536. description: OK
  21537. schema:
  21538. items:
  21539. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  21540. type: array
  21541. "500":
  21542. description: Internal Server Error
  21543. schema:
  21544. $ref: '#/definitions/app.Response'
  21545. security:
  21546. - ApiKeyAuth: []
  21547. summary: 查询期货商品组
  21548. tags:
  21549. - 企业风险管理v3(app)
  21550. /Ermcp3/QueryGoodsWrstandard:
  21551. get:
  21552. parameters:
  21553. - description: 用户id
  21554. in: query
  21555. name: userid
  21556. required: true
  21557. type: integer
  21558. - description: 用户类型 2-机构 7-企业成员
  21559. in: query
  21560. name: usertype
  21561. type: integer
  21562. - description: 现货商品id
  21563. in: query
  21564. name: deliverygoodsid
  21565. type: integer
  21566. produces:
  21567. - application/json
  21568. responses:
  21569. "200":
  21570. description: OK
  21571. schema:
  21572. items:
  21573. $ref: '#/definitions/models.Ermcp3Wrstandard'
  21574. type: array
  21575. "500":
  21576. description: Internal Server Error
  21577. schema:
  21578. $ref: '#/definitions/app.Response'
  21579. security:
  21580. - ApiKeyAuth: []
  21581. summary: 查询商品品类
  21582. tags:
  21583. - 企业风险管理v3(app)
  21584. /Ermcp3/QueryGoodsbrand:
  21585. get:
  21586. parameters:
  21587. - description: 用户id
  21588. in: query
  21589. name: userid
  21590. required: true
  21591. type: integer
  21592. - description: 用户类型 2-机构 7-企业成员
  21593. in: query
  21594. name: usertype
  21595. type: integer
  21596. produces:
  21597. - application/json
  21598. responses:
  21599. "200":
  21600. description: OK
  21601. schema:
  21602. items:
  21603. $ref: '#/definitions/models.Ermcp3Brand'
  21604. type: array
  21605. "500":
  21606. description: Internal Server Error
  21607. schema:
  21608. $ref: '#/definitions/app.Response'
  21609. security:
  21610. - ApiKeyAuth: []
  21611. summary: 查询商品品牌
  21612. tags:
  21613. - 企业风险管理v3(app)
  21614. /Ermcp3/QueryHedgePlan:
  21615. get:
  21616. parameters:
  21617. - description: 用户ID
  21618. in: query
  21619. name: userid
  21620. required: true
  21621. type: integer
  21622. - description: 用户类型 2-机构 7-企业成员
  21623. in: query
  21624. name: usertype
  21625. type: integer
  21626. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  21627. in: query
  21628. name: hedgeplanstatus
  21629. required: true
  21630. type: string
  21631. produces:
  21632. - application/json
  21633. responses:
  21634. "200":
  21635. description: OK
  21636. schema:
  21637. items:
  21638. $ref: '#/definitions/models.Ermcp3HedgePlan'
  21639. type: array
  21640. "500":
  21641. description: Internal Server Error
  21642. schema:
  21643. $ref: '#/definitions/app.Response'
  21644. security:
  21645. - ApiKeyAuth: []
  21646. summary: 查询套保计划
  21647. tags:
  21648. - 企业风险管理v3(app)
  21649. /Ermcp3/QueryInnerTradeLink:
  21650. get:
  21651. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  21652. parameters:
  21653. - description: 外部成交单号
  21654. in: query
  21655. name: outtradeid
  21656. required: true
  21657. type: integer
  21658. produces:
  21659. - application/json
  21660. responses:
  21661. "200":
  21662. description: OK
  21663. schema:
  21664. items:
  21665. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  21666. type: array
  21667. "500":
  21668. description: Internal Server Error
  21669. schema:
  21670. $ref: '#/definitions/app.Response'
  21671. security:
  21672. - ApiKeyAuth: []
  21673. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  21674. tags:
  21675. - 企业风险管理v3(app)
  21676. /Ermcp3/QueryMiddleGoodsDetail:
  21677. get:
  21678. parameters:
  21679. - description: 用户id
  21680. in: query
  21681. name: userid
  21682. required: true
  21683. type: integer
  21684. - description: 用户类型 2-机构 7-企业成员
  21685. in: query
  21686. name: usertype
  21687. type: integer
  21688. - description: 套保品种id
  21689. in: query
  21690. name: middlegoodsid
  21691. type: integer
  21692. produces:
  21693. - application/json
  21694. responses:
  21695. "200":
  21696. description: OK
  21697. schema:
  21698. items:
  21699. $ref: '#/definitions/models.TBMiddleGoods'
  21700. type: array
  21701. "500":
  21702. description: Internal Server Error
  21703. schema:
  21704. $ref: '#/definitions/app.Response'
  21705. security:
  21706. - ApiKeyAuth: []
  21707. summary: 查询套保品种详情(套保品种/商品详情)
  21708. tags:
  21709. - 企业风险管理v3(app)
  21710. /Ermcp3/QueryOutTradeLink:
  21711. get:
  21712. description: 页面 app 现货->期现关联->外部成交单关联
  21713. parameters:
  21714. - description: 用户ID(填登录用户的userid)
  21715. in: query
  21716. name: userid
  21717. required: true
  21718. type: integer
  21719. - description: 外部订单号(模糊匹配)
  21720. in: query
  21721. name: outtradeid
  21722. type: string
  21723. - description: 合约名称/代码(模糊匹配)
  21724. in: query
  21725. name: goodsname
  21726. type: string
  21727. - description: 关联状态 0-未关联 1-已关联
  21728. in: query
  21729. name: hasinnerorder
  21730. type: integer
  21731. produces:
  21732. - application/json
  21733. responses:
  21734. "200":
  21735. description: OK
  21736. schema:
  21737. items:
  21738. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  21739. type: array
  21740. "500":
  21741. description: Internal Server Error
  21742. schema:
  21743. $ref: '#/definitions/app.Response'
  21744. security:
  21745. - ApiKeyAuth: []
  21746. summary: 查询外部成交单关联
  21747. tags:
  21748. - 企业风险管理v3(app)
  21749. /Ermcp3/QueryPaAreaAuditCfg:
  21750. get:
  21751. parameters:
  21752. - description: 用户id
  21753. in: query
  21754. name: userid
  21755. required: true
  21756. type: integer
  21757. produces:
  21758. - application/json
  21759. responses:
  21760. "200":
  21761. description: OK
  21762. schema:
  21763. items:
  21764. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  21765. type: array
  21766. "500":
  21767. description: Internal Server Error
  21768. schema:
  21769. $ref: '#/definitions/app.Response'
  21770. security:
  21771. - ApiKeyAuth: []
  21772. summary: 查询审核设置
  21773. tags:
  21774. - 企业风险管理v3(app)
  21775. /Ermcp3/QueryPaAreaSubject:
  21776. get:
  21777. parameters:
  21778. - description: 用户id
  21779. in: query
  21780. name: userid
  21781. required: true
  21782. type: integer
  21783. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  21784. in: query
  21785. name: subjectid
  21786. type: integer
  21787. - description: 主体类型 - 1:交易主体 2:业务部门
  21788. in: query
  21789. name: subjecttype
  21790. type: integer
  21791. - description: '主体状态 - 1:正常 2: 停用'
  21792. in: query
  21793. name: subjectstatus
  21794. type: integer
  21795. produces:
  21796. - application/json
  21797. responses:
  21798. "200":
  21799. description: OK
  21800. schema:
  21801. items:
  21802. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  21803. type: array
  21804. "500":
  21805. description: Internal Server Error
  21806. schema:
  21807. $ref: '#/definitions/app.Response'
  21808. security:
  21809. - ApiKeyAuth: []
  21810. summary: 查询交易主体
  21811. tags:
  21812. - 企业风险管理v3(app)
  21813. /Ermcp3/QueryPaTradeLink:
  21814. get:
  21815. description: 页面 app 现货->期现关联->期现单据关联
  21816. parameters:
  21817. - description: 用户ID
  21818. in: query
  21819. name: userid
  21820. required: true
  21821. type: integer
  21822. produces:
  21823. - application/json
  21824. responses:
  21825. "200":
  21826. description: OK
  21827. schema:
  21828. items:
  21829. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  21830. type: array
  21831. "500":
  21832. description: Internal Server Error
  21833. schema:
  21834. $ref: '#/definitions/app.Response'
  21835. security:
  21836. - ApiKeyAuth: []
  21837. summary: 查询期现单据关联
  21838. tags:
  21839. - 企业风险管理v3(app)
  21840. /Ermcp3/QueryPaTradeLinkDetail:
  21841. get:
  21842. description: 页面 app 现货->期现关联->关联记录
  21843. parameters:
  21844. - description: 用户ID(填登录用户的userid)
  21845. in: query
  21846. name: userid
  21847. required: true
  21848. type: integer
  21849. - description: 期货订单号(模糊匹配)
  21850. in: query
  21851. name: tradeid
  21852. type: string
  21853. - description: 现货编号(模糊匹配)
  21854. in: query
  21855. name: contractno
  21856. type: string
  21857. - description: 期货账户(模糊匹配)
  21858. in: query
  21859. name: taname
  21860. type: string
  21861. produces:
  21862. - application/json
  21863. responses:
  21864. "200":
  21865. description: OK
  21866. schema:
  21867. items:
  21868. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  21869. type: array
  21870. "500":
  21871. description: Internal Server Error
  21872. schema:
  21873. $ref: '#/definitions/app.Response'
  21874. security:
  21875. - ApiKeyAuth: []
  21876. summary: 查询期现关联记录
  21877. tags:
  21878. - 企业风险管理v3(app)
  21879. /Ermcp3/QueryParamChangeApp:
  21880. get:
  21881. description: |-
  21882. 原型页面:
  21883. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  21884. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  21885. parameters:
  21886. - description: 用户ID
  21887. in: query
  21888. name: userid
  21889. required: true
  21890. type: integer
  21891. - description: 现货品种id
  21892. in: query
  21893. name: deliverygoodsid
  21894. type: integer
  21895. - description: 现货商品id
  21896. in: query
  21897. name: wrstandardid
  21898. type: integer
  21899. - description: 套保商品id
  21900. in: query
  21901. name: middlegoodsid
  21902. type: integer
  21903. - description: 操作类型 1:新增 2:修改
  21904. in: query
  21905. name: operatetype
  21906. type: integer
  21907. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  21908. in: query
  21909. name: paramchangetype
  21910. type: integer
  21911. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21912. in: query
  21913. name: ftstatus
  21914. type: string
  21915. produces:
  21916. - application/json
  21917. responses:
  21918. "200":
  21919. description: OK
  21920. schema:
  21921. items:
  21922. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  21923. type: array
  21924. "500":
  21925. description: Internal Server Error
  21926. schema:
  21927. $ref: '#/definitions/app.Response'
  21928. security:
  21929. - ApiKeyAuth: []
  21930. summary: 查询现货商品参数变更申请(流水)
  21931. tags:
  21932. - 企业风险管理v3(app)
  21933. /Ermcp3/QueryRootUserAccount:
  21934. get:
  21935. parameters:
  21936. - description: 用户ID
  21937. in: query
  21938. name: userid
  21939. required: true
  21940. type: integer
  21941. produces:
  21942. - application/json
  21943. responses:
  21944. "200":
  21945. description: OK
  21946. schema:
  21947. items:
  21948. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  21949. type: array
  21950. "500":
  21951. description: Internal Server Error
  21952. schema:
  21953. $ref: '#/definitions/app.Response'
  21954. security:
  21955. - ApiKeyAuth: []
  21956. summary: 查询顶级用户信息
  21957. tags:
  21958. - 企业风险管理v3(app)
  21959. /Ermcp3/QuerySCMiddleGoods:
  21960. get:
  21961. description: |-
  21962. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  21963. 现货编号 即 合同编号
  21964. parameters:
  21965. - description: 用户ID(填登录用户的userid)
  21966. in: query
  21967. name: userid
  21968. required: true
  21969. type: integer
  21970. - description: 买卖方向 0-买 1-卖
  21971. in: query
  21972. name: buyorsell
  21973. required: true
  21974. type: integer
  21975. - description: 商品组id
  21976. in: query
  21977. name: goodsgroupid
  21978. required: true
  21979. type: integer
  21980. - description: 业务类型 1:套保 2:套利
  21981. in: query
  21982. name: biztype
  21983. type: integer
  21984. - description: 现货编号(模糊匹配)
  21985. in: query
  21986. name: contractno
  21987. type: string
  21988. - description: 对手方(模糊匹配)
  21989. in: query
  21990. name: customername
  21991. type: string
  21992. - description: 现货商品名称(模糊匹配)
  21993. in: query
  21994. name: wrstandardname
  21995. type: string
  21996. produces:
  21997. - application/json
  21998. responses:
  21999. "200":
  22000. description: OK
  22001. schema:
  22002. items:
  22003. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22004. type: array
  22005. "500":
  22006. description: Internal Server Error
  22007. schema:
  22008. $ref: '#/definitions/app.Response'
  22009. security:
  22010. - ApiKeyAuth: []
  22011. summary: 查询现货订单
  22012. tags:
  22013. - 企业风险管理v3(app)
  22014. /Ermcp3/QuerySpotContract:
  22015. get:
  22016. parameters:
  22017. - description: 用户id(当指定contractid, userid可不填)
  22018. in: query
  22019. name: userid
  22020. required: true
  22021. type: integer
  22022. - description: 用户类型 2-机构 7-企业成员
  22023. in: query
  22024. name: usertype
  22025. type: integer
  22026. - description: 合同类型 1-采购, -1-销售
  22027. in: query
  22028. name: contracttype
  22029. type: integer
  22030. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  22031. in: query
  22032. name: querytype
  22033. type: integer
  22034. - description: 合同ID(SpotContractId)
  22035. in: query
  22036. name: contractid
  22037. type: string
  22038. - description: 合同编号(模糊匹配)
  22039. in: query
  22040. name: contractno
  22041. type: string
  22042. - description: 商品名称(模糊匹配)
  22043. in: query
  22044. name: wrstandardname
  22045. type: string
  22046. produces:
  22047. - application/json
  22048. responses:
  22049. "200":
  22050. description: OK
  22051. schema:
  22052. items:
  22053. $ref: '#/definitions/models.Ermcp3Contract'
  22054. type: array
  22055. "500":
  22056. description: Internal Server Error
  22057. schema:
  22058. $ref: '#/definitions/app.Response'
  22059. security:
  22060. - ApiKeyAuth: []
  22061. summary: 查询现货合同
  22062. tags:
  22063. - 企业风险管理v3(app)
  22064. /Ermcp3/QuerySpotContractBS:
  22065. get:
  22066. parameters:
  22067. - description: 用户id
  22068. in: query
  22069. name: userid
  22070. required: true
  22071. type: integer
  22072. - description: 用户类型 2-机构 7-企业成员
  22073. in: query
  22074. name: usertype
  22075. type: integer
  22076. - description: 合同类型 1-采购, -1-销售
  22077. in: query
  22078. name: contracttype
  22079. required: true
  22080. type: integer
  22081. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22082. in: query
  22083. name: querytype
  22084. required: true
  22085. type: integer
  22086. - description: 合同ID(SpotContractId)
  22087. in: query
  22088. name: contractid
  22089. type: string
  22090. produces:
  22091. - application/json
  22092. responses:
  22093. "200":
  22094. description: OK
  22095. schema:
  22096. items:
  22097. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22098. type: array
  22099. "500":
  22100. description: Internal Server Error
  22101. schema:
  22102. $ref: '#/definitions/app.Response'
  22103. security:
  22104. - ApiKeyAuth: []
  22105. summary: 查询合同(采购/销售)
  22106. tags:
  22107. - 企业风险管理v3(app)
  22108. /Ermcp3/QuerySpotGoodsPrice:
  22109. get:
  22110. parameters:
  22111. - description: 用户ID
  22112. in: query
  22113. name: userid
  22114. required: true
  22115. type: integer
  22116. produces:
  22117. - application/json
  22118. responses:
  22119. "200":
  22120. description: OK
  22121. schema:
  22122. items:
  22123. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22124. type: array
  22125. "500":
  22126. description: Internal Server Error
  22127. schema:
  22128. $ref: '#/definitions/app.Response'
  22129. security:
  22130. - ApiKeyAuth: []
  22131. summary: 查询现货市价(现货市价)
  22132. tags:
  22133. - 企业风险管理v3(app)
  22134. /Ermcp3/QuerySpotGoodsPriceLog:
  22135. get:
  22136. parameters:
  22137. - description: 用户ID
  22138. in: query
  22139. name: userid
  22140. required: true
  22141. type: integer
  22142. - description: 现货商品ID
  22143. in: query
  22144. name: deliverygoodsid
  22145. required: true
  22146. type: integer
  22147. - description: 品牌ID
  22148. in: query
  22149. name: brandid
  22150. type: integer
  22151. - description: 品类ID
  22152. in: query
  22153. name: wrstandardid
  22154. type: integer
  22155. produces:
  22156. - application/json
  22157. responses:
  22158. "200":
  22159. description: OK
  22160. schema:
  22161. items:
  22162. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22163. type: array
  22164. "500":
  22165. description: Internal Server Error
  22166. schema:
  22167. $ref: '#/definitions/app.Response'
  22168. security:
  22169. - ApiKeyAuth: []
  22170. summary: 查询现货市价详情(现货市价/详情)
  22171. tags:
  22172. - 企业风险管理v3(app)
  22173. /Ermcp3/QuerySubTaaccount:
  22174. get:
  22175. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22176. parameters:
  22177. - description: 母账号id
  22178. in: query
  22179. name: parentaccountid
  22180. type: integer
  22181. - description: 母账号代码
  22182. in: query
  22183. name: parentaccountcode
  22184. type: string
  22185. produces:
  22186. - application/json
  22187. responses:
  22188. "200":
  22189. description: OK
  22190. schema:
  22191. items:
  22192. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22193. type: array
  22194. "500":
  22195. description: Internal Server Error
  22196. schema:
  22197. $ref: '#/definitions/app.Response'
  22198. security:
  22199. - ApiKeyAuth: []
  22200. summary: 查询期货子账户
  22201. tags:
  22202. - 企业风险管理v3(app)
  22203. /Erms2/QueryArbitrageStrategy:
  22204. get:
  22205. parameters:
  22206. - description: 账户ID
  22207. in: query
  22208. name: userid
  22209. required: true
  22210. type: integer
  22211. - description: 商品组ID(品种ID)
  22212. in: query
  22213. name: goodsgroupid
  22214. type: string
  22215. produces:
  22216. - application/json
  22217. responses:
  22218. "200":
  22219. description: OK
  22220. schema:
  22221. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  22222. "500":
  22223. description: Internal Server Error
  22224. schema:
  22225. $ref: '#/definitions/app.Response'
  22226. security:
  22227. - ApiKeyAuth: []
  22228. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  22229. tags:
  22230. - 风险管理
  22231. /Erms2/QueryInnerTradeDetail:
  22232. get:
  22233. parameters:
  22234. - description: 资金账户
  22235. in: query
  22236. name: accountid
  22237. required: true
  22238. type: integer
  22239. produces:
  22240. - application/json
  22241. responses:
  22242. "200":
  22243. description: OK
  22244. schema:
  22245. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  22246. "500":
  22247. description: Internal Server Error
  22248. schema:
  22249. $ref: '#/definitions/app.Response'
  22250. security:
  22251. - ApiKeyAuth: []
  22252. summary: 查询内部成交单信息
  22253. tags:
  22254. - 风险管理
  22255. /Erms2/QuerySpotContract:
  22256. get:
  22257. parameters:
  22258. - description: 策略申请ID
  22259. in: query
  22260. name: asapplyid
  22261. required: true
  22262. type: integer
  22263. - description: 现货合同ID
  22264. in: query
  22265. name: spotcontractid
  22266. type: integer
  22267. produces:
  22268. - application/json
  22269. responses:
  22270. "200":
  22271. description: OK
  22272. schema:
  22273. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  22274. "500":
  22275. description: Internal Server Error
  22276. schema:
  22277. $ref: '#/definitions/app.Response'
  22278. security:
  22279. - ApiKeyAuth: []
  22280. summary: 查询现货合同表信息(指定策略ID、未结束的)
  22281. tags:
  22282. - 风险管理
  22283. /Erms3/AddErms2ASApply:
  22284. post:
  22285. parameters:
  22286. - description: 申请参数
  22287. in: body
  22288. name: jsonBody
  22289. required: true
  22290. schema:
  22291. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  22292. produces:
  22293. - application/json
  22294. responses:
  22295. "200":
  22296. description: OK
  22297. schema:
  22298. $ref: '#/definitions/app.Response'
  22299. "500":
  22300. description: Internal Server Error
  22301. schema:
  22302. $ref: '#/definitions/app.Response'
  22303. security:
  22304. - ApiKeyAuth: []
  22305. summary: 新增期现套利业务申请
  22306. tags:
  22307. - 风险管理v3
  22308. /Erms3/AddErms2SpotTradeApply:
  22309. post:
  22310. parameters:
  22311. - description: 申请参数
  22312. in: body
  22313. name: jsonBody
  22314. required: true
  22315. schema:
  22316. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  22317. produces:
  22318. - application/json
  22319. responses:
  22320. "200":
  22321. description: OK
  22322. schema:
  22323. $ref: '#/definitions/app.Response'
  22324. "500":
  22325. description: Internal Server Error
  22326. schema:
  22327. $ref: '#/definitions/app.Response'
  22328. security:
  22329. - ApiKeyAuth: []
  22330. summary: 新增现货贸易业务申请
  22331. tags:
  22332. - 风险管理v3
  22333. /Erms3/AddSpotContractApply:
  22334. post:
  22335. parameters:
  22336. - description: 申请参数
  22337. in: body
  22338. name: jsonBody
  22339. required: true
  22340. schema:
  22341. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  22342. produces:
  22343. - application/json
  22344. responses:
  22345. "200":
  22346. description: OK
  22347. schema:
  22348. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  22349. "500":
  22350. description: Internal Server Error
  22351. schema:
  22352. $ref: '#/definitions/app.Response'
  22353. security:
  22354. - ApiKeyAuth: []
  22355. summary: 新增现货合同申请
  22356. tags:
  22357. - 风险管理v3
  22358. /Erms3/AddUserInfoApply:
  22359. post:
  22360. parameters:
  22361. - description: 用户信息
  22362. in: body
  22363. name: jsonBody
  22364. required: true
  22365. schema:
  22366. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  22367. produces:
  22368. - application/json
  22369. responses:
  22370. "200":
  22371. description: OK
  22372. schema:
  22373. $ref: '#/definitions/app.Response'
  22374. "500":
  22375. description: Internal Server Error
  22376. schema:
  22377. $ref: '#/definitions/app.Response'
  22378. security:
  22379. - ApiKeyAuth: []
  22380. summary: 新增客户申请
  22381. tags:
  22382. - 风险管理v3
  22383. /Erms3/DeleteUserInfoApply:
  22384. get:
  22385. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  22386. parameters:
  22387. - description: 用户ID
  22388. in: query
  22389. name: userID
  22390. required: true
  22391. type: integer
  22392. produces:
  22393. - application/json
  22394. responses:
  22395. "200":
  22396. description: OK
  22397. schema:
  22398. $ref: '#/definitions/app.Response'
  22399. "500":
  22400. description: Internal Server Error
  22401. schema:
  22402. $ref: '#/definitions/app.Response'
  22403. security:
  22404. - ApiKeyAuth: []
  22405. summary: 删除客户申请
  22406. tags:
  22407. - 风险管理v3
  22408. /Erms3/ModifyUserInfoApply:
  22409. post:
  22410. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid": int, "userstate": 2 }'
  22411. parameters:
  22412. - description: 用户信息
  22413. in: body
  22414. name: jsonBody
  22415. required: true
  22416. schema:
  22417. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  22418. produces:
  22419. - application/json
  22420. responses:
  22421. "200":
  22422. description: OK
  22423. schema:
  22424. $ref: '#/definitions/app.Response'
  22425. "500":
  22426. description: Internal Server Error
  22427. schema:
  22428. $ref: '#/definitions/app.Response'
  22429. security:
  22430. - ApiKeyAuth: []
  22431. summary: 修改客户申请
  22432. tags:
  22433. - 风险管理v3
  22434. /Erms3/QueryBusinessInfo:
  22435. get:
  22436. parameters:
  22437. - description: 资金账号ID列表,用逗号分隔
  22438. in: query
  22439. name: accountids
  22440. required: true
  22441. type: string
  22442. - description: 状态,0为未结束 1为已结束
  22443. in: query
  22444. name: status
  22445. required: true
  22446. type: integer
  22447. produces:
  22448. - application/json
  22449. responses:
  22450. "200":
  22451. description: OK
  22452. schema:
  22453. items:
  22454. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  22455. type: array
  22456. "500":
  22457. description: Internal Server Error
  22458. schema:
  22459. $ref: '#/definitions/app.Response'
  22460. security:
  22461. - ApiKeyAuth: []
  22462. summary: 查询业务表单数据
  22463. tags:
  22464. - 风险管理v3
  22465. /Erms3/QueryPendingAuditContract:
  22466. get:
  22467. parameters:
  22468. - description: 资金账号ID列表,逗号隔开
  22469. in: query
  22470. name: accountids
  22471. required: true
  22472. type: string
  22473. - description: 合同类型 1-采购 -1-销售
  22474. in: query
  22475. name: contracttype
  22476. required: true
  22477. type: integer
  22478. - description: 合同模式 1-普通 2-回购
  22479. in: query
  22480. name: contractmode
  22481. required: true
  22482. type: integer
  22483. produces:
  22484. - application/json
  22485. responses:
  22486. "200":
  22487. description: OK
  22488. schema:
  22489. items:
  22490. $ref: '#/definitions/erms3.QryAuditContractRsp'
  22491. type: array
  22492. "500":
  22493. description: Internal Server Error
  22494. schema:
  22495. $ref: '#/definitions/app.Response'
  22496. security:
  22497. - ApiKeyAuth: []
  22498. summary: 查询待审核合同
  22499. tags:
  22500. - 风险管理v3
  22501. /Erms3/QueryPendingBusiness:
  22502. get:
  22503. parameters:
  22504. - description: 资金账号ID列表,逗号隔开
  22505. in: query
  22506. name: accountids
  22507. required: true
  22508. type: string
  22509. produces:
  22510. - application/json
  22511. responses:
  22512. "200":
  22513. description: OK
  22514. schema:
  22515. items:
  22516. $ref: '#/definitions/erms3.QryPendingBizRsp'
  22517. type: array
  22518. "500":
  22519. description: Internal Server Error
  22520. schema:
  22521. $ref: '#/definitions/app.Response'
  22522. security:
  22523. - ApiKeyAuth: []
  22524. summary: 查询待审核基差贸易业务
  22525. tags:
  22526. - 风险管理v3
  22527. /Erms3/QuerySpotContractAppleForm:
  22528. get:
  22529. parameters:
  22530. - description: 登录账号
  22531. in: query
  22532. name: loginID
  22533. required: true
  22534. type: integer
  22535. produces:
  22536. - application/json
  22537. responses:
  22538. "200":
  22539. description: OK
  22540. schema:
  22541. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  22542. "500":
  22543. description: Internal Server Error
  22544. schema:
  22545. $ref: '#/definitions/app.Response'
  22546. security:
  22547. - ApiKeyAuth: []
  22548. summary: 查询合同申请表单数据
  22549. tags:
  22550. - 风险管理v3
  22551. /Erms3/QuerySpotContractDetail:
  22552. get:
  22553. parameters:
  22554. - description: 资金账号ID列表,用逗号分隔
  22555. in: query
  22556. name: accountids
  22557. required: true
  22558. type: string
  22559. - description: 合同类型,1为采购合同 -1为销售合同
  22560. in: query
  22561. name: contracttype
  22562. required: true
  22563. type: integer
  22564. - description: 合同模式,1为普通合同 2为回购销售合同
  22565. in: query
  22566. name: contractmode
  22567. required: true
  22568. type: integer
  22569. - description: 状态,0为履约中 1为已完成
  22570. in: query
  22571. name: status
  22572. required: true
  22573. type: integer
  22574. produces:
  22575. - application/json
  22576. responses:
  22577. "200":
  22578. description: OK
  22579. schema:
  22580. items:
  22581. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  22582. type: array
  22583. "500":
  22584. description: Internal Server Error
  22585. schema:
  22586. $ref: '#/definitions/app.Response'
  22587. security:
  22588. - ApiKeyAuth: []
  22589. summary: 查询合同详细信息
  22590. tags:
  22591. - 风险管理v3
  22592. /Erms3/QueryUserInfoApplies:
  22593. get:
  22594. parameters:
  22595. - description: 页码
  22596. in: query
  22597. name: page
  22598. type: integer
  22599. - description: 每页条数
  22600. in: query
  22601. name: pagesize
  22602. type: integer
  22603. - description: 客户名称,支持模糊查询
  22604. in: query
  22605. name: userName
  22606. type: string
  22607. produces:
  22608. - application/json
  22609. responses:
  22610. "200":
  22611. description: OK
  22612. schema:
  22613. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  22614. "500":
  22615. description: Internal Server Error
  22616. schema:
  22617. $ref: '#/definitions/app.Response'
  22618. security:
  22619. - ApiKeyAuth: []
  22620. summary: 客户申请信息查询
  22621. tags:
  22622. - 风险管理v3
  22623. /Erms3/QueryUserInfos:
  22624. get:
  22625. parameters:
  22626. - description: 页码
  22627. in: query
  22628. name: page
  22629. type: integer
  22630. - description: 每页条数
  22631. in: query
  22632. name: pagesize
  22633. type: integer
  22634. - description: 客户名称,支持模糊查询
  22635. in: query
  22636. name: userName
  22637. type: string
  22638. produces:
  22639. - application/json
  22640. responses:
  22641. "200":
  22642. description: OK
  22643. schema:
  22644. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  22645. "500":
  22646. description: Internal Server Error
  22647. schema:
  22648. $ref: '#/definitions/app.Response'
  22649. security:
  22650. - ApiKeyAuth: []
  22651. summary: 客户信息查询
  22652. tags:
  22653. - 风险管理v3
  22654. /HSBY/GetHsbyMyCount:
  22655. get:
  22656. description: 说明: 不包括已完成的数量。
  22657. parameters:
  22658. - description: 资金账户列表,格式:1,2,3
  22659. in: query
  22660. name: accountIDs
  22661. required: true
  22662. type: string
  22663. produces:
  22664. - application/json
  22665. responses:
  22666. "200":
  22667. description: OK
  22668. schema:
  22669. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  22670. "500":
  22671. description: Internal Server Error
  22672. schema:
  22673. $ref: '#/definitions/app.Response'
  22674. security:
  22675. - ApiKeyAuth: []
  22676. summary: 获取我的订单与包裹数量
  22677. tags:
  22678. - 定制【海商报业】
  22679. /HSBY/QueryClientFixedADConfigs:
  22680. get:
  22681. produces:
  22682. - application/json
  22683. responses:
  22684. "200":
  22685. description: OK
  22686. schema:
  22687. $ref: '#/definitions/models.Clientfixedadconfig'
  22688. "500":
  22689. description: Internal Server Error
  22690. schema:
  22691. $ref: '#/definitions/app.Response'
  22692. security:
  22693. - ApiKeyAuth: []
  22694. summary: 获取终端固定广告配置
  22695. tags:
  22696. - 定制【海商报业】
  22697. /HSBY/QueryHsbyBuyMyTradeDetail:
  22698. get:
  22699. parameters:
  22700. - description: 页码
  22701. in: query
  22702. name: page
  22703. type: integer
  22704. - description: 每页条数
  22705. in: query
  22706. name: pagesize
  22707. type: integer
  22708. - description: 资金账户列表,格式:1,2,3
  22709. in: query
  22710. name: accountIDs
  22711. required: true
  22712. type: string
  22713. produces:
  22714. - application/json
  22715. responses:
  22716. "200":
  22717. description: OK
  22718. schema:
  22719. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  22720. "500":
  22721. description: Internal Server Error
  22722. schema:
  22723. $ref: '#/definitions/app.Response'
  22724. security:
  22725. - ApiKeyAuth: []
  22726. summary: 查询"我的订单 - 已完成"单据信息
  22727. tags:
  22728. - 定制【海商报业】
  22729. /HSBY/QueryHsbyGoodsOrderDetails:
  22730. get:
  22731. description: 说明:查询结果已按委托价格和委托时间排序
  22732. parameters:
  22733. - description: 商品ID
  22734. in: query
  22735. name: goodsID
  22736. required: true
  22737. type: integer
  22738. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  22739. in: query
  22740. name: accountIDs
  22741. type: string
  22742. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  22743. in: query
  22744. name: buyOrSell
  22745. type: integer
  22746. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  22747. in: query
  22748. name: price
  22749. type: number
  22750. - description: 档位,不传则默认为3档
  22751. in: query
  22752. name: speed
  22753. type: integer
  22754. produces:
  22755. - application/json
  22756. responses:
  22757. "200":
  22758. description: OK
  22759. schema:
  22760. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  22761. "500":
  22762. description: Internal Server Error
  22763. schema:
  22764. $ref: '#/definitions/app.Response'
  22765. security:
  22766. - ApiKeyAuth: []
  22767. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  22768. tags:
  22769. - 定制【海商报业】
  22770. /HSBY/QueryHsbyListingGoodsDetail:
  22771. get:
  22772. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  22773. parameters:
  22774. - description: 商品ID
  22775. in: query
  22776. name: goodsID
  22777. required: true
  22778. type: integer
  22779. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  22780. in: query
  22781. name: accountID
  22782. type: integer
  22783. produces:
  22784. - application/json
  22785. responses:
  22786. "200":
  22787. description: OK
  22788. schema:
  22789. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  22790. "500":
  22791. description: Internal Server Error
  22792. schema:
  22793. $ref: '#/definitions/app.Response'
  22794. security:
  22795. - ApiKeyAuth: []
  22796. summary: 查询二级市场(挂牌点选)商品信息详情
  22797. tags:
  22798. - 定制【海商报业】
  22799. /HSBY/QueryHsbyMarketGoodsDetail:
  22800. get:
  22801. parameters:
  22802. - description: 委托单号
  22803. in: query
  22804. name: orderID
  22805. required: true
  22806. type: integer
  22807. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  22808. in: query
  22809. name: accountID
  22810. type: integer
  22811. produces:
  22812. - application/json
  22813. responses:
  22814. "200":
  22815. description: OK
  22816. schema:
  22817. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  22818. "500":
  22819. description: Internal Server Error
  22820. schema:
  22821. $ref: '#/definitions/app.Response'
  22822. security:
  22823. - ApiKeyAuth: []
  22824. summary: 查询三级市场(商城)商品信息详情
  22825. tags:
  22826. - 定制【海商报业】
  22827. /HSBY/QueryHsbyMarketGoodses:
  22828. get:
  22829. parameters:
  22830. - description: 页码
  22831. in: query
  22832. name: page
  22833. type: integer
  22834. - description: 每页条数
  22835. in: query
  22836. name: pagesize
  22837. type: integer
  22838. - description: 市场ID列表,格式:1,2,3
  22839. in: query
  22840. name: marketIDs
  22841. required: true
  22842. type: string
  22843. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  22844. in: query
  22845. name: accountID
  22846. required: true
  22847. type: integer
  22848. - description: 类别ID
  22849. in: query
  22850. name: categoryID
  22851. type: integer
  22852. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  22853. in: query
  22854. name: goodsIDs
  22855. type: string
  22856. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  22857. in: query
  22858. name: couponTypeID
  22859. type: integer
  22860. produces:
  22861. - application/json
  22862. responses:
  22863. "200":
  22864. description: OK
  22865. schema:
  22866. $ref: '#/definitions/models.HsbyMarketGoods'
  22867. "500":
  22868. description: Internal Server Error
  22869. schema:
  22870. $ref: '#/definitions/app.Response'
  22871. security:
  22872. - ApiKeyAuth: []
  22873. summary: 查询特卖商品列表(三级商城)
  22874. tags:
  22875. - 定制【海商报业】
  22876. /HSBY/QueryHsbyMarkets:
  22877. get:
  22878. produces:
  22879. - application/json
  22880. responses:
  22881. "200":
  22882. description: OK
  22883. schema:
  22884. $ref: '#/definitions/models.HsbyMarketInfo'
  22885. "500":
  22886. description: Internal Server Error
  22887. schema:
  22888. $ref: '#/definitions/app.Response'
  22889. security:
  22890. - ApiKeyAuth: []
  22891. summary: 查询海商报业相关市场信息
  22892. tags:
  22893. - 定制【海商报业】
  22894. /HSBY/QueryHsbyMyBuyOrderDetails:
  22895. get:
  22896. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  22897. parameters:
  22898. - description: 资金账户列表,格式:1,2,3
  22899. in: query
  22900. name: accountIDs
  22901. required: true
  22902. type: string
  22903. produces:
  22904. - application/json
  22905. responses:
  22906. "200":
  22907. description: OK
  22908. schema:
  22909. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  22910. "500":
  22911. description: Internal Server Error
  22912. schema:
  22913. $ref: '#/definitions/app.Response'
  22914. security:
  22915. - ApiKeyAuth: []
  22916. summary: 查询“我的订单”信息
  22917. tags:
  22918. - 定制【海商报业】
  22919. /HSBY/QueryHsbyMyGoods:
  22920. get:
  22921. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  22922. parameters:
  22923. - description: 资金账户列表,格式:1,2,3
  22924. in: query
  22925. name: accountIDs
  22926. required: true
  22927. type: string
  22928. produces:
  22929. - application/json
  22930. responses:
  22931. "200":
  22932. description: OK
  22933. schema:
  22934. $ref: '#/definitions/models.HsbyMyGoods'
  22935. "500":
  22936. description: Internal Server Error
  22937. schema:
  22938. $ref: '#/definitions/app.Response'
  22939. security:
  22940. - ApiKeyAuth: []
  22941. summary: 查询“我的商品”信息
  22942. tags:
  22943. - 定制【海商报业】
  22944. /HSBY/QueryHsbyMyPackages:
  22945. get:
  22946. parameters:
  22947. - description: 资金账户列表,格式:1,2,3
  22948. in: query
  22949. name: accountIDs
  22950. required: true
  22951. type: string
  22952. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  22953. in: query
  22954. name: takeOrderStatus
  22955. type: integer
  22956. produces:
  22957. - application/json
  22958. responses:
  22959. "200":
  22960. description: OK
  22961. schema:
  22962. $ref: '#/definitions/models.HsbyMyPackage'
  22963. "500":
  22964. description: Internal Server Error
  22965. schema:
  22966. $ref: '#/definitions/app.Response'
  22967. security:
  22968. - ApiKeyAuth: []
  22969. summary: 查询我的包裹信息
  22970. tags:
  22971. - 定制【海商报业】
  22972. /HSBY/QueryHsbyPreGoodsDetail:
  22973. get:
  22974. parameters:
  22975. - description: 商品ID
  22976. in: query
  22977. name: goodsID
  22978. required: true
  22979. type: integer
  22980. - description: 资金账户,主要用于获取预售商品购买上限
  22981. in: query
  22982. name: accountID
  22983. type: integer
  22984. produces:
  22985. - application/json
  22986. responses:
  22987. "200":
  22988. description: OK
  22989. schema:
  22990. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  22991. "500":
  22992. description: Internal Server Error
  22993. schema:
  22994. $ref: '#/definitions/app.Response'
  22995. security:
  22996. - ApiKeyAuth: []
  22997. summary: 查询一级市场(预售)商品信息详情
  22998. tags:
  22999. - 定制【海商报业】
  23000. /HSBY/QueryHsbyPreGoodses:
  23001. get:
  23002. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  23003. parameters:
  23004. - description: 页码
  23005. in: query
  23006. name: page
  23007. type: integer
  23008. - description: 每页条数
  23009. in: query
  23010. name: pagesize
  23011. type: integer
  23012. - description: 市场ID列表,格式:1,2,3
  23013. in: query
  23014. name: marketIDs
  23015. required: true
  23016. type: string
  23017. - description: 目的地(省)ID
  23018. in: query
  23019. name: descProvinceID
  23020. type: integer
  23021. - description: 目的地(市)ID
  23022. in: query
  23023. name: descCityID
  23024. type: integer
  23025. produces:
  23026. - application/json
  23027. responses:
  23028. "200":
  23029. description: OK
  23030. schema:
  23031. $ref: '#/definitions/models.HsbyPreGoods'
  23032. "500":
  23033. description: Internal Server Error
  23034. schema:
  23035. $ref: '#/definitions/app.Response'
  23036. security:
  23037. - ApiKeyAuth: []
  23038. summary: 查询新品上市商品列表(一级市场预售)
  23039. tags:
  23040. - 定制【海商报业】
  23041. /HSBY/QueryHsbySellMyDetails:
  23042. get:
  23043. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  23044. parameters:
  23045. - description: 页码
  23046. in: query
  23047. name: page
  23048. type: integer
  23049. - description: 每页条数
  23050. in: query
  23051. name: pagesize
  23052. type: integer
  23053. - description: 资金账户列表,格式:1,2,3
  23054. in: query
  23055. name: accountIDs
  23056. required: true
  23057. type: string
  23058. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  23059. in: query
  23060. name: orderType
  23061. type: integer
  23062. produces:
  23063. - application/json
  23064. responses:
  23065. "200":
  23066. description: OK
  23067. schema:
  23068. $ref: '#/definitions/models.HsbySellMyDetail'
  23069. "500":
  23070. description: Internal Server Error
  23071. schema:
  23072. $ref: '#/definitions/app.Response'
  23073. security:
  23074. - ApiKeyAuth: []
  23075. summary: 查询"我的闲置"单据信息
  23076. tags:
  23077. - 定制【海商报业】
  23078. /HSBY/QueryHsbyTopGoodses:
  23079. get:
  23080. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  23081. parameters:
  23082. - description: 页码
  23083. in: query
  23084. name: page
  23085. type: integer
  23086. - description: 每页条数
  23087. in: query
  23088. name: pagesize
  23089. type: integer
  23090. - description: 市场ID列表,格式:1,2,3
  23091. in: query
  23092. name: marketIDs
  23093. required: true
  23094. type: string
  23095. - description: 目的地(省)ID
  23096. in: query
  23097. name: descProvinceID
  23098. type: integer
  23099. - description: 目的地(市)ID
  23100. in: query
  23101. name: descCityID
  23102. type: integer
  23103. produces:
  23104. - application/json
  23105. responses:
  23106. "200":
  23107. description: OK
  23108. schema:
  23109. $ref: '#/definitions/models.HsbyTopGoods'
  23110. "500":
  23111. description: Internal Server Error
  23112. schema:
  23113. $ref: '#/definitions/app.Response'
  23114. security:
  23115. - ApiKeyAuth: []
  23116. summary: 查询热卖商品列表(二级市场挂牌点选)
  23117. tags:
  23118. - 定制【海商报业】
  23119. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  23120. get:
  23121. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  23122. parameters:
  23123. - description: 商品ID
  23124. in: query
  23125. name: goodsID
  23126. required: true
  23127. type: integer
  23128. produces:
  23129. - application/json
  23130. responses:
  23131. "200":
  23132. description: OK
  23133. schema:
  23134. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23135. "500":
  23136. description: Internal Server Error
  23137. schema:
  23138. $ref: '#/definitions/app.Response'
  23139. security:
  23140. - ApiKeyAuth: []
  23141. summary: 查询游客三级市场(商城)商品信息详情
  23142. tags:
  23143. - 定制【海商报业】
  23144. /HSBY/QueryHsbyVisitorMarketGoodses:
  23145. get:
  23146. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  23147. parameters:
  23148. - description: 页码
  23149. in: query
  23150. name: page
  23151. type: integer
  23152. - description: 每页条数
  23153. in: query
  23154. name: pagesize
  23155. type: integer
  23156. - description: 市场ID列表,格式:1,2,3
  23157. in: query
  23158. name: marketIDs
  23159. required: true
  23160. type: string
  23161. - description: 类别ID
  23162. in: query
  23163. name: categoryID
  23164. type: integer
  23165. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23166. in: query
  23167. name: goodsIDs
  23168. type: string
  23169. produces:
  23170. - application/json
  23171. responses:
  23172. "200":
  23173. description: OK
  23174. schema:
  23175. $ref: '#/definitions/models.HsbyMarketGoods'
  23176. "500":
  23177. description: Internal Server Error
  23178. schema:
  23179. $ref: '#/definitions/app.Response'
  23180. security:
  23181. - ApiKeyAuth: []
  23182. summary: 查询游客特卖商品列表(三级商城)
  23183. tags:
  23184. - 定制【海商报业】
  23185. /HSBY/QueryMyCollectionOrders:
  23186. get:
  23187. parameters:
  23188. - description: 页码
  23189. in: query
  23190. name: page
  23191. type: integer
  23192. - description: 每页条数
  23193. in: query
  23194. name: pagesize
  23195. type: integer
  23196. - description: 资金账户,格式:1,2,3
  23197. in: query
  23198. name: accountIDs
  23199. required: true
  23200. type: string
  23201. produces:
  23202. - application/json
  23203. responses:
  23204. "200":
  23205. description: OK
  23206. schema:
  23207. $ref: '#/definitions/models.HsbySellCollectionOrder'
  23208. "500":
  23209. description: Internal Server Error
  23210. schema:
  23211. $ref: '#/definitions/app.Response'
  23212. security:
  23213. - ApiKeyAuth: []
  23214. summary: 我的闲置中收款信息查询
  23215. tags:
  23216. - 定制【海商报业】
  23217. /HSBY/QueryMyCouponHolds:
  23218. get:
  23219. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  23220. parameters:
  23221. - description: 资金账户列表,格式:1,2,3
  23222. in: query
  23223. name: accountIDs
  23224. required: true
  23225. type: string
  23226. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  23227. in: query
  23228. name: holdStatus
  23229. type: string
  23230. produces:
  23231. - application/json
  23232. responses:
  23233. "200":
  23234. description: OK
  23235. schema:
  23236. $ref: '#/definitions/models.MyCouponHold'
  23237. "500":
  23238. description: Internal Server Error
  23239. schema:
  23240. $ref: '#/definitions/app.Response'
  23241. security:
  23242. - ApiKeyAuth: []
  23243. summary: 我的优惠卷持仓查询
  23244. tags:
  23245. - 定制【海商报业】
  23246. /HSBY/QueryMyCoupons:
  23247. get:
  23248. parameters:
  23249. - description: 资金账户列表,格式:1,2,3
  23250. in: query
  23251. name: accountIDs
  23252. required: true
  23253. type: string
  23254. - description: 商品ID, 一般与sellUserID配套传入
  23255. in: query
  23256. name: goodsID
  23257. type: integer
  23258. - description: 卖方UserID
  23259. in: query
  23260. name: sellUserID
  23261. type: integer
  23262. produces:
  23263. - application/json
  23264. responses:
  23265. "200":
  23266. description: OK
  23267. schema:
  23268. $ref: '#/definitions/models.MyCoupon'
  23269. "500":
  23270. description: Internal Server Error
  23271. schema:
  23272. $ref: '#/definitions/app.Response'
  23273. security:
  23274. - ApiKeyAuth: []
  23275. summary: 我的优惠卷查询
  23276. tags:
  23277. - 定制【海商报业】
  23278. /HSBY/QueryMyPayOrders:
  23279. get:
  23280. parameters:
  23281. - description: 页码
  23282. in: query
  23283. name: page
  23284. type: integer
  23285. - description: 每页条数
  23286. in: query
  23287. name: pagesize
  23288. type: integer
  23289. - description: 资金账户列表,格式:1,2,3
  23290. in: query
  23291. name: accountIDs
  23292. required: true
  23293. type: string
  23294. - description: 买方委托单号
  23295. in: query
  23296. name: buyOrderID
  23297. type: integer
  23298. - description: 卖方委托单号
  23299. in: query
  23300. name: sellOrderID
  23301. type: integer
  23302. produces:
  23303. - application/json
  23304. responses:
  23305. "200":
  23306. description: OK
  23307. schema:
  23308. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  23309. "500":
  23310. description: Internal Server Error
  23311. schema:
  23312. $ref: '#/definitions/app.Response'
  23313. security:
  23314. - ApiKeyAuth: []
  23315. summary: 获取我的订单中待付款信息
  23316. tags:
  23317. - 定制【海商报业】
  23318. /HSBY/QueryMyUsedCoupon:
  23319. get:
  23320. parameters:
  23321. - description: 资金账户列表,格式:1,2,3
  23322. in: query
  23323. name: accountIDs
  23324. required: true
  23325. type: string
  23326. produces:
  23327. - application/json
  23328. responses:
  23329. "200":
  23330. description: OK
  23331. schema:
  23332. $ref: '#/definitions/models.MyUsedCoupon'
  23333. "500":
  23334. description: Internal Server Error
  23335. schema:
  23336. $ref: '#/definitions/app.Response'
  23337. security:
  23338. - ApiKeyAuth: []
  23339. summary: 已使用优惠卷查询
  23340. tags:
  23341. - 定制【海商报业】
  23342. /HSBY/QueryProvincesAndCities:
  23343. get:
  23344. description: 查询结果只包括二级市场商品已关连的省市信息。
  23345. parameters:
  23346. - description: 省ID
  23347. in: query
  23348. name: provinceID
  23349. type: integer
  23350. produces:
  23351. - application/json
  23352. responses:
  23353. "200":
  23354. description: OK
  23355. schema:
  23356. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  23357. "500":
  23358. description: Internal Server Error
  23359. schema:
  23360. $ref: '#/definitions/app.Response'
  23361. security:
  23362. - ApiKeyAuth: []
  23363. summary: 查询省市信息(不包括区)
  23364. tags:
  23365. - 定制【海商报业】
  23366. /HSBY/SetHsbyMyPackagesStatus:
  23367. post:
  23368. parameters:
  23369. - description: 提货单号
  23370. in: query
  23371. name: takeOrderID
  23372. required: true
  23373. type: string
  23374. - description: 资金账号
  23375. in: query
  23376. name: accountID
  23377. required: true
  23378. type: integer
  23379. produces:
  23380. - application/json
  23381. responses:
  23382. "200":
  23383. description: OK
  23384. schema:
  23385. $ref: '#/definitions/app.Response'
  23386. "500":
  23387. description: Internal Server Error
  23388. schema:
  23389. $ref: '#/definitions/app.Response'
  23390. security:
  23391. - ApiKeyAuth: []
  23392. summary: 设置我的包裹已收货状态
  23393. tags:
  23394. - 定制【海商报业】
  23395. /Market/GetAllExExchanges:
  23396. get:
  23397. produces:
  23398. - application/json
  23399. responses:
  23400. "200":
  23401. description: OK
  23402. schema:
  23403. $ref: '#/definitions/models.Goods'
  23404. "500":
  23405. description: Internal Server Error
  23406. schema:
  23407. $ref: '#/definitions/app.Response'
  23408. security:
  23409. - ApiKeyAuth: []
  23410. summary: 获取所有外部交易所信息
  23411. tags:
  23412. - 通用市场
  23413. /Market/QueryGoodsesByLoginID:
  23414. get:
  23415. parameters:
  23416. - description: 登录账号
  23417. in: query
  23418. name: loginID
  23419. required: true
  23420. type: integer
  23421. - description: 市场ID列表,格式:1,2,3
  23422. in: query
  23423. name: marketIDs
  23424. type: string
  23425. produces:
  23426. - application/json
  23427. responses:
  23428. "200":
  23429. description: OK
  23430. schema:
  23431. $ref: '#/definitions/models.Goods'
  23432. "500":
  23433. description: Internal Server Error
  23434. schema:
  23435. $ref: '#/definitions/app.Response'
  23436. security:
  23437. - ApiKeyAuth: []
  23438. summary: 获取登录账号有权限的商品信息
  23439. tags:
  23440. - 通用市场
  23441. /Market/QueryMarketRun:
  23442. get:
  23443. parameters:
  23444. - description: 市场ID,不传返回所有
  23445. in: query
  23446. name: marketID
  23447. type: integer
  23448. produces:
  23449. - application/json
  23450. responses:
  23451. "200":
  23452. description: OK
  23453. schema:
  23454. $ref: '#/definitions/models.Marketrun'
  23455. "500":
  23456. description: Internal Server Error
  23457. schema:
  23458. $ref: '#/definitions/app.Response'
  23459. security:
  23460. - ApiKeyAuth: []
  23461. summary: 查询市场运行信息
  23462. tags:
  23463. - 通用市场
  23464. /Market/QueryMarketsByLoginID:
  23465. get:
  23466. parameters:
  23467. - description: 登录账号
  23468. in: query
  23469. name: loginID
  23470. required: true
  23471. type: integer
  23472. produces:
  23473. - application/json
  23474. responses:
  23475. "200":
  23476. description: OK
  23477. schema:
  23478. $ref: '#/definitions/models.Market'
  23479. "500":
  23480. description: Internal Server Error
  23481. schema:
  23482. $ref: '#/definitions/app.Response'
  23483. security:
  23484. - ApiKeyAuth: []
  23485. summary: 获取登录账号有权限的市场信息
  23486. tags:
  23487. - 通用市场
  23488. /Order/QueryHisTradeDetail:
  23489. get:
  23490. parameters:
  23491. - description: 资金账户 - 格式:1,2,3
  23492. in: query
  23493. name: accountID
  23494. required: true
  23495. type: string
  23496. - description: 成交单号
  23497. in: query
  23498. name: tradeID
  23499. type: integer
  23500. - description: 委托单号
  23501. in: query
  23502. name: orderID
  23503. type: integer
  23504. - description: 商品ID
  23505. in: query
  23506. name: goodsID
  23507. type: integer
  23508. - description: 交易模式 - 格式:1,2,3
  23509. in: query
  23510. name: tradeMode
  23511. type: string
  23512. - description: 委托单据类型
  23513. in: query
  23514. name: buildType
  23515. type: integer
  23516. - description: 成交类别 - 格式:1,2,3
  23517. in: query
  23518. name: tradeType
  23519. type: string
  23520. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23521. in: query
  23522. name: startDate
  23523. type: string
  23524. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23525. in: query
  23526. name: endDate
  23527. type: string
  23528. produces:
  23529. - application/json
  23530. responses:
  23531. "200":
  23532. description: OK
  23533. schema:
  23534. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  23535. "500":
  23536. description: Internal Server Error
  23537. schema:
  23538. $ref: '#/definitions/app.Response'
  23539. security:
  23540. - ApiKeyAuth: []
  23541. summary: 历史成交单查询(合约市场)
  23542. tags:
  23543. - 通用单据
  23544. /Order/QueryHisTradeOrderDetail:
  23545. get:
  23546. parameters:
  23547. - description: 资金账户 - 格式:1,2,3
  23548. in: query
  23549. name: accountID
  23550. required: true
  23551. type: string
  23552. - description: 交易模式 - 格式:1,2,3
  23553. in: query
  23554. name: tradeMode
  23555. type: string
  23556. - description: 委托状态 - 格式:1,2,3
  23557. in: query
  23558. name: orderStatus
  23559. type: string
  23560. - description: 委托单号
  23561. in: query
  23562. name: orderID
  23563. type: integer
  23564. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23565. in: query
  23566. name: startDate
  23567. type: string
  23568. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23569. in: query
  23570. name: endDate
  23571. type: string
  23572. produces:
  23573. - application/json
  23574. responses:
  23575. "200":
  23576. description: OK
  23577. schema:
  23578. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  23579. "500":
  23580. description: Internal Server Error
  23581. schema:
  23582. $ref: '#/definitions/app.Response'
  23583. security:
  23584. - ApiKeyAuth: []
  23585. summary: 历史委托单查询请求(合约市场)
  23586. tags:
  23587. - 通用单据
  23588. /Order/QueryTradeDetail:
  23589. get:
  23590. parameters:
  23591. - description: 资金账户 - 格式:1,2,3
  23592. in: query
  23593. name: accountID
  23594. required: true
  23595. type: string
  23596. - description: 成交单号
  23597. in: query
  23598. name: tradeID
  23599. type: integer
  23600. - description: 委托单号
  23601. in: query
  23602. name: orderID
  23603. type: integer
  23604. - description: 交易模式 - 格式:1,2,3
  23605. in: query
  23606. name: tradeMode
  23607. type: string
  23608. - description: 委托单据类型
  23609. in: query
  23610. name: buildType
  23611. type: integer
  23612. - description: 成交类别 - 格式:1,2,3
  23613. in: query
  23614. name: tradeType
  23615. type: string
  23616. - description: 商品ID
  23617. in: query
  23618. name: goodsID
  23619. type: integer
  23620. produces:
  23621. - application/json
  23622. responses:
  23623. "200":
  23624. description: OK
  23625. schema:
  23626. $ref: '#/definitions/order.QueryTradeDetailRsp'
  23627. "500":
  23628. description: Internal Server Error
  23629. schema:
  23630. $ref: '#/definitions/app.Response'
  23631. security:
  23632. - ApiKeyAuth: []
  23633. summary: 成交单查询(合约市场)
  23634. tags:
  23635. - 通用单据
  23636. /Order/QueryTradeHolderDetail:
  23637. get:
  23638. parameters:
  23639. - description: 用户id
  23640. in: query
  23641. name: userid
  23642. type: integer
  23643. - description: 资金账号, 格式 1,2,3
  23644. in: query
  23645. name: accids
  23646. type: string
  23647. - description: 交易模式, 格式 1,2,3
  23648. in: query
  23649. name: trademodes
  23650. type: string
  23651. - description: 市场id, 格式 1,2,3
  23652. in: query
  23653. name: marketids
  23654. type: string
  23655. - description: 商品id
  23656. in: query
  23657. name: goodsid
  23658. type: integer
  23659. - description: 买卖方向 0-买 1-卖
  23660. in: query
  23661. name: buyorsell
  23662. type: integer
  23663. produces:
  23664. - application/json
  23665. responses:
  23666. "200":
  23667. description: OK
  23668. schema:
  23669. items:
  23670. $ref: '#/definitions/models.TradeHolderDetail'
  23671. type: array
  23672. "500":
  23673. description: Internal Server Error
  23674. schema:
  23675. $ref: '#/definitions/app.Response'
  23676. security:
  23677. - ApiKeyAuth: []
  23678. summary: 查询持仓明细
  23679. tags:
  23680. - 通用单据
  23681. /Order/QueryTradeOrderDetail:
  23682. get:
  23683. parameters:
  23684. - description: 资金账户 - 格式:1,2,3
  23685. in: query
  23686. name: accountID
  23687. required: true
  23688. type: string
  23689. - description: 交易模式 - 格式:1,2,3
  23690. in: query
  23691. name: tradeMode
  23692. type: string
  23693. - description: 委托状态 - 格式:1,2,3
  23694. in: query
  23695. name: orderStatus
  23696. type: string
  23697. - description: 委托单号
  23698. in: query
  23699. name: orderID
  23700. type: integer
  23701. produces:
  23702. - application/json
  23703. responses:
  23704. "200":
  23705. description: OK
  23706. schema:
  23707. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  23708. "500":
  23709. description: Internal Server Error
  23710. schema:
  23711. $ref: '#/definitions/app.Response'
  23712. security:
  23713. - ApiKeyAuth: []
  23714. summary: 委托单查询请求(合约市场)
  23715. tags:
  23716. - 通用单据
  23717. /Order/QueryTradePosition:
  23718. get:
  23719. parameters:
  23720. - description: 资金账户 - 格式:1,2,3
  23721. in: query
  23722. name: accountID
  23723. required: true
  23724. type: string
  23725. - description: 交易模式 - 格式:1,2,3
  23726. in: query
  23727. name: tradeMode
  23728. type: string
  23729. produces:
  23730. - application/json
  23731. responses:
  23732. "200":
  23733. description: OK
  23734. schema:
  23735. $ref: '#/definitions/order.QueryTradePositionRsp'
  23736. "500":
  23737. description: Internal Server Error
  23738. schema:
  23739. $ref: '#/definitions/app.Response'
  23740. security:
  23741. - ApiKeyAuth: []
  23742. summary: 持仓汇总查询(合约市场)
  23743. tags:
  23744. - 通用单据
  23745. /Qhj/QueryAccountInOutApply:
  23746. get:
  23747. parameters:
  23748. - description: 用户ID
  23749. in: query
  23750. name: userid
  23751. required: true
  23752. type: integer
  23753. - description: 申请起始日期(格式yyyymmdd)
  23754. in: query
  23755. name: begindate
  23756. type: string
  23757. - description: 申请截止日期(格式yyyymmdd)
  23758. in: query
  23759. name: enddate
  23760. type: string
  23761. - description: 模糊搜索名称
  23762. in: query
  23763. name: likename
  23764. type: string
  23765. produces:
  23766. - application/json
  23767. responses:
  23768. "200":
  23769. description: OK
  23770. schema:
  23771. items:
  23772. $ref: '#/definitions/models.QhjAccountOutInApply'
  23773. type: array
  23774. "500":
  23775. description: Internal Server Error
  23776. schema:
  23777. $ref: '#/definitions/app.Response'
  23778. security:
  23779. - ApiKeyAuth: []
  23780. summary: 查询充值提现
  23781. tags:
  23782. - 大连千海金
  23783. /Qhj/QueryAreaFinanceConfig:
  23784. get:
  23785. parameters:
  23786. - description: 机构用户ID 其他做市关系,都设置为 1
  23787. in: query
  23788. name: userid
  23789. type: integer
  23790. produces:
  23791. - application/json
  23792. responses:
  23793. "200":
  23794. description: OK
  23795. schema:
  23796. items:
  23797. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  23798. type: array
  23799. "500":
  23800. description: Internal Server Error
  23801. schema:
  23802. $ref: '#/definitions/app.Response'
  23803. security:
  23804. - ApiKeyAuth: []
  23805. summary: 查询企业配置表
  23806. tags:
  23807. - 大连千海金
  23808. /Qhj/QueryBankAccountSign:
  23809. get:
  23810. parameters:
  23811. - description: 用户ID
  23812. in: query
  23813. name: userid
  23814. required: true
  23815. type: integer
  23816. produces:
  23817. - application/json
  23818. responses:
  23819. "200":
  23820. description: OK
  23821. schema:
  23822. items:
  23823. $ref: '#/definitions/models.QhjBankAccountSign'
  23824. type: array
  23825. "500":
  23826. description: Internal Server Error
  23827. schema:
  23828. $ref: '#/definitions/app.Response'
  23829. security:
  23830. - ApiKeyAuth: []
  23831. summary: 查询签约银行信息(提现账户管理)
  23832. tags:
  23833. - 大连千海金
  23834. /Qhj/QueryBankInfo:
  23835. get:
  23836. produces:
  23837. - application/json
  23838. responses:
  23839. "200":
  23840. description: OK
  23841. schema:
  23842. items:
  23843. $ref: '#/definitions/models.QhjBankInfo'
  23844. type: array
  23845. "500":
  23846. description: Internal Server Error
  23847. schema:
  23848. $ref: '#/definitions/app.Response'
  23849. security:
  23850. - ApiKeyAuth: []
  23851. summary: 查询开户行
  23852. tags:
  23853. - 大连千海金
  23854. /Qhj/QueryBrokerApply:
  23855. get:
  23856. parameters:
  23857. - description: 所属机构ID
  23858. in: query
  23859. name: userid
  23860. type: integer
  23861. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23862. in: query
  23863. name: filterstatus
  23864. type: string
  23865. produces:
  23866. - application/json
  23867. responses:
  23868. "200":
  23869. description: OK
  23870. schema:
  23871. items:
  23872. $ref: '#/definitions/models.QhjBrokerApply'
  23873. type: array
  23874. "500":
  23875. description: Internal Server Error
  23876. schema:
  23877. $ref: '#/definitions/app.Response'
  23878. security:
  23879. - ApiKeyAuth: []
  23880. summary: 查询经纪人申请
  23881. tags:
  23882. - 大连千海金
  23883. /Qhj/QueryBrokerApplyEx:
  23884. get:
  23885. parameters:
  23886. - description: 所属机构ID
  23887. in: query
  23888. name: userid
  23889. type: integer
  23890. produces:
  23891. - application/json
  23892. responses:
  23893. "200":
  23894. description: OK
  23895. schema:
  23896. items:
  23897. $ref: '#/definitions/models.QhjBrokerApplyEx'
  23898. type: array
  23899. "500":
  23900. description: Internal Server Error
  23901. schema:
  23902. $ref: '#/definitions/app.Response'
  23903. security:
  23904. - ApiKeyAuth: []
  23905. summary: 查询经纪人信息和申请记录
  23906. tags:
  23907. - 大连千海金
  23908. /Qhj/QueryBrokerRewardLog:
  23909. get:
  23910. parameters:
  23911. - description: 用户ID
  23912. in: query
  23913. name: userid
  23914. required: true
  23915. type: integer
  23916. - description: 开始交易日(yyyymmdd)
  23917. in: query
  23918. name: begindate
  23919. type: string
  23920. - description: 结束交易日(yyyymmdd)
  23921. in: query
  23922. name: enddate
  23923. type: string
  23924. produces:
  23925. - application/json
  23926. responses:
  23927. "200":
  23928. description: OK
  23929. schema:
  23930. items:
  23931. $ref: '#/definitions/models.QhjBrokerRewardLog'
  23932. type: array
  23933. "500":
  23934. description: Internal Server Error
  23935. schema:
  23936. $ref: '#/definitions/app.Response'
  23937. security:
  23938. - ApiKeyAuth: []
  23939. summary: 查询奖励流水(我的奖励)
  23940. tags:
  23941. - 大连千海金
  23942. /Qhj/QueryContract:
  23943. get:
  23944. parameters:
  23945. - description: 用户ID
  23946. in: query
  23947. name: userid
  23948. type: integer
  23949. - description: scf合同id
  23950. in: query
  23951. name: scfcontractid
  23952. type: integer
  23953. produces:
  23954. - application/json
  23955. responses:
  23956. "200":
  23957. description: OK
  23958. schema:
  23959. items:
  23960. $ref: '#/definitions/models.QhjContract'
  23961. type: array
  23962. "500":
  23963. description: Internal Server Error
  23964. schema:
  23965. $ref: '#/definitions/app.Response'
  23966. security:
  23967. - ApiKeyAuth: []
  23968. summary: 查询融资明细(合同)
  23969. tags:
  23970. - 大连千海金
  23971. /Qhj/QueryContractLog:
  23972. get:
  23973. parameters:
  23974. - description: scf合同id
  23975. in: query
  23976. name: scfcontractid
  23977. required: true
  23978. type: integer
  23979. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  23980. in: query
  23981. name: amounttype
  23982. type: string
  23983. produces:
  23984. - application/json
  23985. responses:
  23986. "200":
  23987. description: OK
  23988. schema:
  23989. items:
  23990. $ref: '#/definitions/models.QhjContractLog'
  23991. type: array
  23992. "500":
  23993. description: Internal Server Error
  23994. schema:
  23995. $ref: '#/definitions/app.Response'
  23996. security:
  23997. - ApiKeyAuth: []
  23998. summary: 查询融资明细流水(融资明细详情页中的流水)
  23999. tags:
  24000. - 大连千海金
  24001. /Qhj/QueryCusBankSignBank:
  24002. get:
  24003. produces:
  24004. - application/json
  24005. responses:
  24006. "200":
  24007. description: OK
  24008. schema:
  24009. items:
  24010. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  24011. type: array
  24012. "500":
  24013. description: Internal Server Error
  24014. schema:
  24015. $ref: '#/definitions/app.Response'
  24016. security:
  24017. - ApiKeyAuth: []
  24018. summary: 查询托管银行
  24019. tags:
  24020. - 大连千海金
  24021. /Qhj/QueryCustomerInfo:
  24022. get:
  24023. parameters:
  24024. - description: 用户ID
  24025. in: query
  24026. name: userid
  24027. required: true
  24028. type: integer
  24029. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24030. in: query
  24031. name: querytype
  24032. required: true
  24033. type: integer
  24034. - description: 客户类型 1-个人 2-企业
  24035. in: query
  24036. name: userinfotype
  24037. type: integer
  24038. - description: 客户名称(模糊匹配)
  24039. in: query
  24040. name: customername
  24041. type: string
  24042. - description: 昵称(模糊匹配)
  24043. in: query
  24044. name: nickname
  24045. type: string
  24046. - description: 是否包含子级 1-包含
  24047. in: query
  24048. name: includesub
  24049. type: integer
  24050. produces:
  24051. - application/json
  24052. responses:
  24053. "200":
  24054. description: OK
  24055. schema:
  24056. items:
  24057. $ref: '#/definitions/models.QhjCustomer'
  24058. type: array
  24059. "500":
  24060. description: Internal Server Error
  24061. schema:
  24062. $ref: '#/definitions/app.Response'
  24063. security:
  24064. - ApiKeyAuth: []
  24065. summary: 查询客户资料
  24066. tags:
  24067. - 大连千海金
  24068. /Qhj/QueryGoodsEx:
  24069. get:
  24070. parameters:
  24071. - description: 商品id
  24072. in: query
  24073. name: goodsid
  24074. type: integer
  24075. produces:
  24076. - application/json
  24077. responses:
  24078. "200":
  24079. description: OK
  24080. schema:
  24081. items:
  24082. $ref: '#/definitions/models.Qhjgoodsex'
  24083. type: array
  24084. "500":
  24085. description: Internal Server Error
  24086. schema:
  24087. $ref: '#/definitions/app.Response'
  24088. security:
  24089. - ApiKeyAuth: []
  24090. summary: 交易商品扩展表
  24091. tags:
  24092. - 大连千海金
  24093. /Qhj/QueryMyTeam:
  24094. get:
  24095. parameters:
  24096. - description: 用户ID
  24097. in: query
  24098. name: userid
  24099. required: true
  24100. type: integer
  24101. produces:
  24102. - application/json
  24103. responses:
  24104. "200":
  24105. description: OK
  24106. schema:
  24107. items:
  24108. $ref: '#/definitions/models.QhjMyTeamEx'
  24109. type: array
  24110. "500":
  24111. description: Internal Server Error
  24112. schema:
  24113. $ref: '#/definitions/app.Response'
  24114. security:
  24115. - ApiKeyAuth: []
  24116. summary: 查询我的团队
  24117. tags:
  24118. - 大连千海金
  24119. /Qhj/QueryMyTeamOrder:
  24120. get:
  24121. parameters:
  24122. - description: 页码
  24123. in: query
  24124. name: page
  24125. type: integer
  24126. - description: 每页条数
  24127. in: query
  24128. name: pagesize
  24129. type: integer
  24130. - description: 用户ID
  24131. in: query
  24132. name: userid
  24133. required: true
  24134. type: integer
  24135. - description: 交易模式
  24136. in: query
  24137. name: trademode
  24138. type: integer
  24139. - description: 名称(模糊搜索账户)
  24140. in: query
  24141. name: filtername
  24142. type: string
  24143. produces:
  24144. - application/json
  24145. responses:
  24146. "200":
  24147. description: OK
  24148. schema:
  24149. items:
  24150. $ref: '#/definitions/models.QhjTeamOrder'
  24151. type: array
  24152. "500":
  24153. description: Internal Server Error
  24154. schema:
  24155. $ref: '#/definitions/app.Response'
  24156. security:
  24157. - ApiKeyAuth: []
  24158. summary: 查询团队订单(我的团队/团队订单)
  24159. tags:
  24160. - 大连千海金
  24161. /Qhj/QueryParentAreaList:
  24162. get:
  24163. parameters:
  24164. - description: 用户ID
  24165. in: query
  24166. name: userid
  24167. required: true
  24168. type: integer
  24169. produces:
  24170. - application/json
  24171. responses:
  24172. "200":
  24173. description: OK
  24174. schema:
  24175. items:
  24176. $ref: '#/definitions/models.QhjParentAreaList'
  24177. type: array
  24178. "500":
  24179. description: Internal Server Error
  24180. schema:
  24181. $ref: '#/definitions/app.Response'
  24182. security:
  24183. - ApiKeyAuth: []
  24184. summary: 查询所属机构列表
  24185. tags:
  24186. - 大连千海金
  24187. /Qhj/QueryPayOrder:
  24188. get:
  24189. parameters:
  24190. - description: 资金账号id
  24191. in: query
  24192. name: accountid
  24193. required: true
  24194. type: integer
  24195. - description: 成交单号
  24196. in: query
  24197. name: tradeid
  24198. type: integer
  24199. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24200. in: query
  24201. name: payflag
  24202. type: string
  24203. produces:
  24204. - application/json
  24205. responses:
  24206. "200":
  24207. description: OK
  24208. schema:
  24209. items:
  24210. $ref: '#/definitions/models.QhjPayOrder'
  24211. type: array
  24212. "500":
  24213. description: Internal Server Error
  24214. schema:
  24215. $ref: '#/definitions/app.Response'
  24216. security:
  24217. - ApiKeyAuth: []
  24218. summary: 查询待付款单据
  24219. tags:
  24220. - 大连千海金
  24221. /Qhj/QueryPickArea:
  24222. get:
  24223. parameters:
  24224. - description: 用户ID
  24225. in: query
  24226. name: userid
  24227. type: integer
  24228. produces:
  24229. - application/json
  24230. responses:
  24231. "200":
  24232. description: OK
  24233. schema:
  24234. items:
  24235. $ref: '#/definitions/models.QhjPickArea'
  24236. type: array
  24237. "500":
  24238. description: Internal Server Error
  24239. schema:
  24240. $ref: '#/definitions/app.Response'
  24241. security:
  24242. - ApiKeyAuth: []
  24243. summary: 查询提货门店
  24244. tags:
  24245. - 大连千海金
  24246. /Qhj/QueryPickGoods:
  24247. get:
  24248. parameters:
  24249. - description: 交易商品id
  24250. in: query
  24251. name: goodsid
  24252. required: true
  24253. type: integer
  24254. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24255. in: query
  24256. name: status
  24257. type: string
  24258. produces:
  24259. - application/json
  24260. responses:
  24261. "200":
  24262. description: OK
  24263. schema:
  24264. items:
  24265. $ref: '#/definitions/models.QhjPickGoods'
  24266. type: array
  24267. "500":
  24268. description: Internal Server Error
  24269. schema:
  24270. $ref: '#/definitions/app.Response'
  24271. security:
  24272. - ApiKeyAuth: []
  24273. summary: 查询提货商品
  24274. tags:
  24275. - 大连千海金
  24276. /Qhj/QueryRSTriggerLog:
  24277. get:
  24278. parameters:
  24279. - description: 用户ID
  24280. in: query
  24281. name: userid
  24282. type: integer
  24283. - description: 定投策略id
  24284. in: query
  24285. name: regularlystrategyid
  24286. type: integer
  24287. - description: 商品id
  24288. in: query
  24289. name: goodsid
  24290. type: integer
  24291. - description: 开始交易日(yyyymmdd)
  24292. in: query
  24293. name: begindate
  24294. type: string
  24295. - description: 结束交易日(yyyymmdd)
  24296. in: query
  24297. name: enddate
  24298. type: string
  24299. - description: 名称(模糊搜索账户)
  24300. in: query
  24301. name: filtername
  24302. type: string
  24303. produces:
  24304. - application/json
  24305. responses:
  24306. "200":
  24307. description: OK
  24308. schema:
  24309. items:
  24310. $ref: '#/definitions/models.QhjRSTriggerLog'
  24311. type: array
  24312. "500":
  24313. description: Internal Server Error
  24314. schema:
  24315. $ref: '#/definitions/app.Response'
  24316. security:
  24317. - ApiKeyAuth: []
  24318. summary: 查询定投记录(定投管理/详情/定投记录)
  24319. tags:
  24320. - 大连千海金
  24321. /Qhj/QueryRStrategy:
  24322. get:
  24323. parameters:
  24324. - description: 用户ID
  24325. in: query
  24326. name: userid
  24327. type: integer
  24328. - description: 商品id
  24329. in: query
  24330. name: goodsid
  24331. type: integer
  24332. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  24333. in: query
  24334. name: status
  24335. type: string
  24336. - description: 名称(模糊搜索账户)
  24337. in: query
  24338. name: filtername
  24339. type: string
  24340. produces:
  24341. - application/json
  24342. responses:
  24343. "200":
  24344. description: OK
  24345. schema:
  24346. items:
  24347. $ref: '#/definitions/models.QhjRStrategy'
  24348. type: array
  24349. "500":
  24350. description: Internal Server Error
  24351. schema:
  24352. $ref: '#/definitions/app.Response'
  24353. security:
  24354. - ApiKeyAuth: []
  24355. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  24356. tags:
  24357. - 大连千海金
  24358. /Qhj/QueryReckonPriceLog:
  24359. get:
  24360. parameters:
  24361. - description: 商品ID
  24362. in: query
  24363. name: goodsid
  24364. type: integer
  24365. - description: 交易日 格式(yyyymmdd)
  24366. in: query
  24367. name: tradedate
  24368. type: string
  24369. produces:
  24370. - application/json
  24371. responses:
  24372. "200":
  24373. description: OK
  24374. schema:
  24375. items:
  24376. $ref: '#/definitions/models.QhjReckonPriceLog'
  24377. type: array
  24378. "500":
  24379. description: Internal Server Error
  24380. schema:
  24381. $ref: '#/definitions/app.Response'
  24382. security:
  24383. - ApiKeyAuth: []
  24384. summary: 查询定投价(结算价)
  24385. tags:
  24386. - 大连千海金
  24387. /Qhj/QueryScoreLog:
  24388. get:
  24389. parameters:
  24390. - description: 用户ID
  24391. in: query
  24392. name: userid
  24393. required: true
  24394. type: integer
  24395. - description: 开始交易日(yyyymmdd)
  24396. in: query
  24397. name: begindate
  24398. type: string
  24399. - description: 结束交易日(yyyymmdd)
  24400. in: query
  24401. name: enddate
  24402. type: string
  24403. - description: 最近多少条
  24404. in: query
  24405. name: lastnum
  24406. type: integer
  24407. produces:
  24408. - application/json
  24409. responses:
  24410. "200":
  24411. description: OK
  24412. schema:
  24413. items:
  24414. $ref: '#/definitions/models.QhjScoreLog'
  24415. type: array
  24416. "500":
  24417. description: Internal Server Error
  24418. schema:
  24419. $ref: '#/definitions/app.Response'
  24420. security:
  24421. - ApiKeyAuth: []
  24422. summary: 查询积分流水(我的积分)
  24423. tags:
  24424. - 大连千海金
  24425. /Qhj/QuerySiteColumnDetail:
  24426. get:
  24427. parameters:
  24428. - description: 用户ID
  24429. in: query
  24430. name: userid
  24431. required: true
  24432. type: integer
  24433. produces:
  24434. - application/json
  24435. responses:
  24436. "200":
  24437. description: OK
  24438. schema:
  24439. items:
  24440. $ref: '#/definitions/models.QhjSiteColumnDetail'
  24441. type: array
  24442. "500":
  24443. description: Internal Server Error
  24444. schema:
  24445. $ref: '#/definitions/app.Response'
  24446. security:
  24447. - ApiKeyAuth: []
  24448. summary: 查询资讯
  24449. tags:
  24450. - 大连千海金
  24451. /Qhj/QueryTradeGoodsPickup:
  24452. get:
  24453. parameters:
  24454. - description: 用户ID
  24455. in: query
  24456. name: userid
  24457. required: true
  24458. type: integer
  24459. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  24460. in: query
  24461. name: takeorderstatus
  24462. type: integer
  24463. produces:
  24464. - application/json
  24465. responses:
  24466. "200":
  24467. description: OK
  24468. schema:
  24469. items:
  24470. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  24471. type: array
  24472. "500":
  24473. description: Internal Server Error
  24474. schema:
  24475. $ref: '#/definitions/app.Response'
  24476. security:
  24477. - ApiKeyAuth: []
  24478. summary: 查询提货
  24479. tags:
  24480. - 大连千海金
  24481. /Qhj/QueryUserCollectConfig:
  24482. get:
  24483. parameters:
  24484. - description: 用户ID
  24485. in: query
  24486. name: userid
  24487. required: true
  24488. type: integer
  24489. produces:
  24490. - application/json
  24491. responses:
  24492. "200":
  24493. description: OK
  24494. schema:
  24495. items:
  24496. $ref: '#/definitions/models.UserCollectConfig'
  24497. type: array
  24498. "500":
  24499. description: Internal Server Error
  24500. schema:
  24501. $ref: '#/definitions/app.Response'
  24502. security:
  24503. - ApiKeyAuth: []
  24504. summary: 查询提现账户设置
  24505. tags:
  24506. - 大连千海金
  24507. /Qhj/QueryUserReceiveInfo:
  24508. get:
  24509. parameters:
  24510. - description: 用户ID
  24511. in: query
  24512. name: userid
  24513. required: true
  24514. type: integer
  24515. produces:
  24516. - application/json
  24517. responses:
  24518. "200":
  24519. description: OK
  24520. schema:
  24521. items:
  24522. $ref: '#/definitions/models.UserReceiveInfo'
  24523. type: array
  24524. "500":
  24525. description: Internal Server Error
  24526. schema:
  24527. $ref: '#/definitions/app.Response'
  24528. security:
  24529. - ApiKeyAuth: []
  24530. summary: 查询收货地址信息
  24531. tags:
  24532. - 大连千海金
  24533. /QhjMgr/QueryAccountInOutApply:
  24534. get:
  24535. parameters:
  24536. - description: 查询类型 1-提现(出金) 2-充值(出金)
  24537. in: query
  24538. name: querytype
  24539. required: true
  24540. type: integer
  24541. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  24542. in: query
  24543. name: applystatus
  24544. type: integer
  24545. - description: 申请起始日期(格式yyyymmdd)
  24546. in: query
  24547. name: begindate
  24548. type: string
  24549. - description: 申请截止日期(格式yyyymmdd)
  24550. in: query
  24551. name: enddate
  24552. type: string
  24553. - description: 模糊搜索名称
  24554. in: query
  24555. name: likename
  24556. type: string
  24557. produces:
  24558. - application/json
  24559. responses:
  24560. "200":
  24561. description: OK
  24562. schema:
  24563. items:
  24564. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  24565. type: array
  24566. "500":
  24567. description: Internal Server Error
  24568. schema:
  24569. $ref: '#/definitions/app.Response'
  24570. security:
  24571. - ApiKeyAuth: []
  24572. summary: 查询充值提现
  24573. tags:
  24574. - 大连千海金(PCWeb)
  24575. /QhjMgr/QueryBrokerApply:
  24576. get:
  24577. parameters:
  24578. - description: 所属机构ID
  24579. in: query
  24580. name: userid
  24581. type: integer
  24582. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24583. in: query
  24584. name: filterstatus
  24585. type: string
  24586. - description: 名称(模糊匹配)
  24587. in: query
  24588. name: filtername
  24589. type: string
  24590. - description: 是否包含子级 1-包含
  24591. in: query
  24592. name: includesub
  24593. type: integer
  24594. produces:
  24595. - application/json
  24596. responses:
  24597. "200":
  24598. description: OK
  24599. schema:
  24600. items:
  24601. $ref: '#/definitions/models.QhjMgrBrokerApply'
  24602. type: array
  24603. "500":
  24604. description: Internal Server Error
  24605. schema:
  24606. $ref: '#/definitions/app.Response'
  24607. security:
  24608. - ApiKeyAuth: []
  24609. summary: 查询经纪人申请
  24610. tags:
  24611. - 大连千海金(PCWeb)
  24612. /QhjMgr/QueryBrokerRewardReport:
  24613. get:
  24614. parameters:
  24615. - description: 所属机构ID
  24616. in: query
  24617. name: userid
  24618. required: true
  24619. type: integer
  24620. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24621. in: query
  24622. name: cycletype
  24623. required: true
  24624. type: integer
  24625. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  24626. in: query
  24627. name: cycletime
  24628. required: true
  24629. type: string
  24630. - description: 名称(模糊匹配)
  24631. in: query
  24632. name: filtername
  24633. type: string
  24634. - description: 是否包含子级 1-包含
  24635. in: query
  24636. name: includesub
  24637. type: integer
  24638. produces:
  24639. - application/json
  24640. responses:
  24641. "200":
  24642. description: OK
  24643. schema:
  24644. items:
  24645. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  24646. type: array
  24647. "500":
  24648. description: Internal Server Error
  24649. schema:
  24650. $ref: '#/definitions/app.Response'
  24651. security:
  24652. - ApiKeyAuth: []
  24653. summary: 查询经纪人奖励报表(废弃)
  24654. tags:
  24655. - 大连千海金(PCWeb)
  24656. /QhjMgr/QueryContract:
  24657. get:
  24658. parameters:
  24659. - description: 用户ID
  24660. in: query
  24661. name: userid
  24662. type: integer
  24663. - description: 商品id
  24664. in: query
  24665. name: goodsid
  24666. type: integer
  24667. - description: 名称(模糊搜索账户)
  24668. in: query
  24669. name: filtername
  24670. type: string
  24671. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  24672. in: query
  24673. name: risklevel
  24674. type: string
  24675. - description: 开始交易日(yyyymmdd)
  24676. in: query
  24677. name: begindate
  24678. type: string
  24679. - description: 结束交易日(yyyymmdd)
  24680. in: query
  24681. name: enddate
  24682. type: string
  24683. produces:
  24684. - application/json
  24685. responses:
  24686. "200":
  24687. description: OK
  24688. schema:
  24689. items:
  24690. $ref: '#/definitions/models.QhjMgrContract'
  24691. type: array
  24692. "500":
  24693. description: Internal Server Error
  24694. schema:
  24695. $ref: '#/definitions/app.Response'
  24696. security:
  24697. - ApiKeyAuth: []
  24698. summary: 查询融资信息(合同)
  24699. tags:
  24700. - 大连千海金(PCWeb)
  24701. /QhjMgr/QueryCustomerInfo:
  24702. get:
  24703. parameters:
  24704. - description: 用户ID
  24705. in: query
  24706. name: userid
  24707. required: true
  24708. type: integer
  24709. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24710. in: query
  24711. name: querytype
  24712. required: true
  24713. type: integer
  24714. - description: 客户类型 1-个人 2-企业
  24715. in: query
  24716. name: userinfotype
  24717. type: integer
  24718. - description: 客户名称(模糊匹配)
  24719. in: query
  24720. name: customername
  24721. type: string
  24722. - description: 昵称(模糊匹配)
  24723. in: query
  24724. name: nickname
  24725. type: string
  24726. - description: 所属客户经理(模糊匹配)
  24727. in: query
  24728. name: brokername
  24729. type: string
  24730. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)
  24731. in: query
  24732. name: birthday
  24733. type: string
  24734. - description: 是否包含子级 1-包含
  24735. in: query
  24736. name: includesub
  24737. type: integer
  24738. produces:
  24739. - application/json
  24740. responses:
  24741. "200":
  24742. description: OK
  24743. schema:
  24744. items:
  24745. $ref: '#/definitions/models.QhjMgrCustomer'
  24746. type: array
  24747. "500":
  24748. description: Internal Server Error
  24749. schema:
  24750. $ref: '#/definitions/app.Response'
  24751. security:
  24752. - ApiKeyAuth: []
  24753. summary: 查询客户资料
  24754. tags:
  24755. - 大连千海金(PCWeb)
  24756. /QhjMgr/QueryPickGoods:
  24757. get:
  24758. parameters:
  24759. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24760. in: query
  24761. name: status
  24762. type: string
  24763. produces:
  24764. - application/json
  24765. responses:
  24766. "200":
  24767. description: OK
  24768. schema:
  24769. items:
  24770. $ref: '#/definitions/models.QhjMgrPickGoods'
  24771. type: array
  24772. "500":
  24773. description: Internal Server Error
  24774. schema:
  24775. $ref: '#/definitions/app.Response'
  24776. security:
  24777. - ApiKeyAuth: []
  24778. summary: 查询提货商品
  24779. tags:
  24780. - 大连千海金(PCWeb)
  24781. /QhjMgr/QuerySubArea:
  24782. get:
  24783. parameters:
  24784. - description: 用户ID
  24785. in: query
  24786. name: userid
  24787. required: true
  24788. type: integer
  24789. produces:
  24790. - application/json
  24791. responses:
  24792. "200":
  24793. description: OK
  24794. schema:
  24795. items:
  24796. $ref: '#/definitions/models.QhjMgrSubArea'
  24797. type: array
  24798. "500":
  24799. description: Internal Server Error
  24800. schema:
  24801. $ref: '#/definitions/app.Response'
  24802. security:
  24803. - ApiKeyAuth: []
  24804. summary: 查询子机构列表
  24805. tags:
  24806. - 大连千海金(PCWeb)
  24807. /QhjMgr/QueryTradeDetail:
  24808. get:
  24809. parameters:
  24810. - description: 用户ID
  24811. in: query
  24812. name: userid
  24813. required: true
  24814. type: integer
  24815. - description: 用户类型 1-个人 2-企业
  24816. in: query
  24817. name: userinfotype
  24818. type: integer
  24819. - description: 交易模式
  24820. in: query
  24821. name: trademode
  24822. type: integer
  24823. - description: 商品id
  24824. in: query
  24825. name: goodsid
  24826. type: integer
  24827. - description: 名称(模糊搜索账户)
  24828. in: query
  24829. name: filtername
  24830. type: string
  24831. - description: 开始交易日(yyyymmdd)
  24832. in: query
  24833. name: begindate
  24834. type: string
  24835. - description: 结束交易日(yyyymmdd)
  24836. in: query
  24837. name: enddate
  24838. type: string
  24839. - description: 是否包含子级 1-包含
  24840. in: query
  24841. name: includesub
  24842. type: integer
  24843. produces:
  24844. - application/json
  24845. responses:
  24846. "200":
  24847. description: OK
  24848. schema:
  24849. items:
  24850. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  24851. type: array
  24852. "500":
  24853. description: Internal Server Error
  24854. schema:
  24855. $ref: '#/definitions/app.Response'
  24856. security:
  24857. - ApiKeyAuth: []
  24858. summary: 查询成交明细
  24859. tags:
  24860. - 大连千海金(PCWeb)
  24861. /QhjMgr/QueryTradeOrderDetail:
  24862. get:
  24863. parameters:
  24864. - description: 用户ID
  24865. in: query
  24866. name: userid
  24867. required: true
  24868. type: integer
  24869. - description: 用户类型 1-个人 2-企业
  24870. in: query
  24871. name: userinfotype
  24872. type: integer
  24873. - description: 交易模式
  24874. in: query
  24875. name: trademode
  24876. type: integer
  24877. - description: 商品id
  24878. in: query
  24879. name: goodsid
  24880. type: integer
  24881. - description: 名称(模糊搜索账户)
  24882. in: query
  24883. name: filtername
  24884. type: string
  24885. - description: 开始交易日(yyyymmdd)
  24886. in: query
  24887. name: begindate
  24888. type: string
  24889. - description: 结束交易日(yyyymmdd)
  24890. in: query
  24891. name: enddate
  24892. type: string
  24893. - description: 是否包含子级 1-包含
  24894. in: query
  24895. name: includesub
  24896. type: integer
  24897. produces:
  24898. - application/json
  24899. responses:
  24900. "200":
  24901. description: OK
  24902. schema:
  24903. items:
  24904. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  24905. type: array
  24906. "500":
  24907. description: Internal Server Error
  24908. schema:
  24909. $ref: '#/definitions/app.Response'
  24910. security:
  24911. - ApiKeyAuth: []
  24912. summary: 查询委托明细
  24913. tags:
  24914. - 大连千海金(PCWeb)
  24915. /QhjMgr/QueryTradePayOrder:
  24916. get:
  24917. parameters:
  24918. - description: 用户ID
  24919. in: query
  24920. name: userid
  24921. required: true
  24922. type: integer
  24923. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24924. in: query
  24925. name: payflag
  24926. type: string
  24927. - description: 用户类型 1-个人 2-企业
  24928. in: query
  24929. name: userinfotype
  24930. type: integer
  24931. - description: 交易模式
  24932. in: query
  24933. name: trademode
  24934. type: integer
  24935. - description: 商品id
  24936. in: query
  24937. name: goodsid
  24938. type: integer
  24939. - description: 名称(模糊搜索账户)
  24940. in: query
  24941. name: filtername
  24942. type: string
  24943. - description: 开始交易日(yyyymmdd)
  24944. in: query
  24945. name: begindate
  24946. type: string
  24947. - description: 结束交易日(yyyymmdd)
  24948. in: query
  24949. name: enddate
  24950. type: string
  24951. - description: 是否包含子级 1-包含
  24952. in: query
  24953. name: includesub
  24954. type: integer
  24955. produces:
  24956. - application/json
  24957. responses:
  24958. "200":
  24959. description: OK
  24960. schema:
  24961. items:
  24962. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  24963. type: array
  24964. "500":
  24965. description: Internal Server Error
  24966. schema:
  24967. $ref: '#/definitions/app.Response'
  24968. security:
  24969. - ApiKeyAuth: []
  24970. summary: 查询待付款单
  24971. tags:
  24972. - 大连千海金(PCWeb)
  24973. /QhjMgr/QueryTradePosition:
  24974. get:
  24975. parameters:
  24976. - description: 用户ID
  24977. in: query
  24978. name: userid
  24979. required: true
  24980. type: integer
  24981. - description: 用户类型 1-个人 2-企业
  24982. in: query
  24983. name: userinfotype
  24984. type: integer
  24985. - description: 交易模式
  24986. in: query
  24987. name: trademode
  24988. type: integer
  24989. - description: 商品id
  24990. in: query
  24991. name: goodsid
  24992. type: integer
  24993. - description: 名称(模糊搜索账户)
  24994. in: query
  24995. name: filtername
  24996. type: string
  24997. - description: 是否包含子级 1-包含
  24998. in: query
  24999. name: includesub
  25000. type: integer
  25001. produces:
  25002. - application/json
  25003. responses:
  25004. "200":
  25005. description: OK
  25006. schema:
  25007. items:
  25008. $ref: '#/definitions/models.QhjMgrPositionRsp'
  25009. type: array
  25010. "500":
  25011. description: Internal Server Error
  25012. schema:
  25013. $ref: '#/definitions/app.Response'
  25014. security:
  25015. - ApiKeyAuth: []
  25016. summary: 查询持仓汇总
  25017. tags:
  25018. - 大连千海金(PCWeb)
  25019. /QhjSys/QueryAgreementChangeLog:
  25020. get:
  25021. parameters:
  25022. - description: 协议ID
  25023. in: query
  25024. name: agreementid
  25025. type: integer
  25026. - description: 协议版本号
  25027. in: query
  25028. name: agreementversion
  25029. type: integer
  25030. - description: 协议类型 - 1:注册 2:登录 3:交易
  25031. in: query
  25032. name: agreementtype
  25033. type: integer
  25034. - description: 协议编号(模糊匹配)
  25035. in: query
  25036. name: agreementno
  25037. type: string
  25038. - description: 协议名称(模糊匹配)
  25039. in: query
  25040. name: agreementname
  25041. type: string
  25042. produces:
  25043. - application/json
  25044. responses:
  25045. "200":
  25046. description: OK
  25047. schema:
  25048. items:
  25049. $ref: '#/definitions/models.QhjAgreementChangeLog'
  25050. type: array
  25051. "500":
  25052. description: Internal Server Error
  25053. schema:
  25054. $ref: '#/definitions/app.Response'
  25055. security:
  25056. - ApiKeyAuth: []
  25057. summary: 查询协议配置变更流水
  25058. tags:
  25059. - 大连千海金(协议和签约信息)
  25060. /QhjSys/QueryAgreementConfig:
  25061. get:
  25062. parameters:
  25063. - description: 协议ID
  25064. in: query
  25065. name: agreementid
  25066. type: integer
  25067. - description: 协议版本号
  25068. in: query
  25069. name: agreementversion
  25070. type: integer
  25071. - description: 协议类型 - 1:注册 2:登录 3:交易
  25072. in: query
  25073. name: agreementtype
  25074. type: integer
  25075. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  25076. in: query
  25077. name: isvalid
  25078. type: integer
  25079. - description: 协议编号(模糊匹配)
  25080. in: query
  25081. name: agreementno
  25082. type: string
  25083. - description: 协议名称(模糊匹配)
  25084. in: query
  25085. name: agreementname
  25086. type: string
  25087. produces:
  25088. - application/json
  25089. responses:
  25090. "200":
  25091. description: OK
  25092. schema:
  25093. items:
  25094. $ref: '#/definitions/models.QhjAgreementConfig'
  25095. type: array
  25096. "500":
  25097. description: Internal Server Error
  25098. schema:
  25099. $ref: '#/definitions/app.Response'
  25100. security:
  25101. - ApiKeyAuth: []
  25102. summary: 查询协议配置
  25103. tags:
  25104. - 大连千海金(协议和签约信息)
  25105. /QhjSys/QueryCustomerSignStatus:
  25106. get:
  25107. parameters:
  25108. - description: 客户ID
  25109. in: query
  25110. name: userid
  25111. type: integer
  25112. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  25113. in: query
  25114. name: nodetype
  25115. type: integer
  25116. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25117. in: query
  25118. name: goodsid
  25119. type: integer
  25120. - description: 创建交易日(yyyyMMdd)
  25121. in: query
  25122. name: tradedate
  25123. type: string
  25124. - description: 用户名称(模糊匹配)
  25125. in: query
  25126. name: username
  25127. type: string
  25128. produces:
  25129. - application/json
  25130. responses:
  25131. "200":
  25132. description: OK
  25133. schema:
  25134. items:
  25135. $ref: '#/definitions/models.QhjCustomerSignStatus'
  25136. type: array
  25137. "500":
  25138. description: Internal Server Error
  25139. schema:
  25140. $ref: '#/definitions/app.Response'
  25141. security:
  25142. - ApiKeyAuth: []
  25143. summary: 查询客户协议签约状态
  25144. tags:
  25145. - 大连千海金(协议和签约信息)
  25146. /QhjSys/QueryNodeAgreementConfig:
  25147. get:
  25148. parameters:
  25149. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25150. in: query
  25151. name: configid
  25152. type: integer
  25153. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25154. in: query
  25155. name: nodetype
  25156. type: integer
  25157. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25158. in: query
  25159. name: goodsid
  25160. type: integer
  25161. - description: 协议ID
  25162. in: query
  25163. name: agreementid
  25164. type: integer
  25165. - description: 协议类型 - 1:注册 2:登录 3:交易
  25166. in: query
  25167. name: agreementtype
  25168. type: integer
  25169. - description: 协议版本号
  25170. in: query
  25171. name: agreementversion
  25172. type: integer
  25173. - description: 协议编号(模糊匹配)
  25174. in: query
  25175. name: agreementno
  25176. type: string
  25177. - description: 协议名称(模糊匹配)
  25178. in: query
  25179. name: agreementname
  25180. type: string
  25181. produces:
  25182. - application/json
  25183. responses:
  25184. "200":
  25185. description: OK
  25186. schema:
  25187. items:
  25188. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  25189. type: array
  25190. "500":
  25191. description: Internal Server Error
  25192. schema:
  25193. $ref: '#/definitions/app.Response'
  25194. security:
  25195. - ApiKeyAuth: []
  25196. summary: 查询协议节点配置
  25197. tags:
  25198. - 大连千海金(协议和签约信息)
  25199. /QhjSys/QueryQhjCustomerSignLog:
  25200. get:
  25201. parameters:
  25202. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  25203. in: query
  25204. name: logid
  25205. type: integer
  25206. - description: 客户ID
  25207. in: query
  25208. name: userid
  25209. type: integer
  25210. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25211. in: query
  25212. name: nodetype
  25213. type: integer
  25214. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25215. in: query
  25216. name: goodsid
  25217. type: integer
  25218. - description: 协议ID
  25219. in: query
  25220. name: agreementid
  25221. type: integer
  25222. - description: 用户名称(模糊匹配)
  25223. in: query
  25224. name: username
  25225. type: string
  25226. - description: 协议编号(模糊匹配)
  25227. in: query
  25228. name: agreementno
  25229. type: string
  25230. - description: 协议名称(模糊匹配)
  25231. in: query
  25232. name: agreementname
  25233. type: string
  25234. produces:
  25235. - application/json
  25236. responses:
  25237. "200":
  25238. description: OK
  25239. schema:
  25240. items:
  25241. $ref: '#/definitions/models.QhjCustomerSignLog'
  25242. type: array
  25243. "500":
  25244. description: Internal Server Error
  25245. schema:
  25246. $ref: '#/definitions/app.Response'
  25247. security:
  25248. - ApiKeyAuth: []
  25249. summary: 查询客户协议签约流水
  25250. tags:
  25251. - 大连千海金(协议和签约信息)
  25252. /QhjSys/QueryUserNodeCfgAndStatus:
  25253. get:
  25254. parameters:
  25255. - description: 客户ID
  25256. in: query
  25257. name: userid
  25258. type: integer
  25259. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25260. in: query
  25261. name: configid
  25262. type: integer
  25263. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25264. in: query
  25265. name: nodetype
  25266. type: string
  25267. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25268. in: query
  25269. name: goodsid
  25270. type: integer
  25271. - description: 协议ID
  25272. in: query
  25273. name: agreementid
  25274. type: integer
  25275. - description: 协议类型 - 1:注册 2:登录 3:交易
  25276. in: query
  25277. name: agreementtype
  25278. type: integer
  25279. - description: 协议版本号
  25280. in: query
  25281. name: agreementversion
  25282. type: integer
  25283. - description: 协议编号(模糊匹配)
  25284. in: query
  25285. name: agreementno
  25286. type: string
  25287. - description: 协议名称(模糊匹配)
  25288. in: query
  25289. name: agreementname
  25290. type: string
  25291. produces:
  25292. - application/json
  25293. responses:
  25294. "200":
  25295. description: OK
  25296. schema:
  25297. items:
  25298. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  25299. type: array
  25300. "500":
  25301. description: Internal Server Error
  25302. schema:
  25303. $ref: '#/definitions/app.Response'
  25304. security:
  25305. - ApiKeyAuth: []
  25306. summary: 查询用户协议节点配置和状态
  25307. tags:
  25308. - 大连千海金(协议和签约信息)
  25309. /Quote/QueryHistoryDatas:
  25310. get:
  25311. parameters:
  25312. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线'
  25313. in: query
  25314. name: cycleType
  25315. required: true
  25316. type: integer
  25317. - description: 商品代码
  25318. in: query
  25319. name: goodsCode
  25320. required: true
  25321. type: string
  25322. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25323. in: query
  25324. name: startTime
  25325. type: string
  25326. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25327. in: query
  25328. name: endTime
  25329. type: string
  25330. - description: 条数
  25331. in: query
  25332. name: count
  25333. type: integer
  25334. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25335. in: query
  25336. name: isAsc
  25337. type: boolean
  25338. produces:
  25339. - application/json
  25340. responses:
  25341. "200":
  25342. description: OK
  25343. schema:
  25344. $ref: '#/definitions/quote.HistoryData'
  25345. "500":
  25346. description: Internal Server Error
  25347. schema:
  25348. $ref: '#/definitions/app.Response'
  25349. security:
  25350. - ApiKeyAuth: []
  25351. summary: 查询行情历史数据
  25352. tags:
  25353. - 行情服务
  25354. /Quote/QueryHistoryTikDatas:
  25355. get:
  25356. parameters:
  25357. - description: 商品代码
  25358. in: query
  25359. name: goodsCode
  25360. required: true
  25361. type: string
  25362. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25363. in: query
  25364. name: startTime
  25365. type: string
  25366. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25367. in: query
  25368. name: endTime
  25369. type: string
  25370. - description: 条数
  25371. in: query
  25372. name: count
  25373. type: integer
  25374. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25375. in: query
  25376. name: isAsc
  25377. type: boolean
  25378. produces:
  25379. - application/json
  25380. responses:
  25381. "200":
  25382. description: OK
  25383. schema:
  25384. $ref: '#/definitions/quote.HistoryTikData'
  25385. "500":
  25386. description: Internal Server Error
  25387. schema:
  25388. $ref: '#/definitions/app.Response'
  25389. security:
  25390. - ApiKeyAuth: []
  25391. summary: 查询行情Tik数据
  25392. tags:
  25393. - 行情服务
  25394. /Quote/QueryQuoteDay:
  25395. get:
  25396. parameters:
  25397. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  25398. in: query
  25399. name: goodsCodes
  25400. required: true
  25401. type: string
  25402. produces:
  25403. - application/json
  25404. responses:
  25405. "200":
  25406. description: OK
  25407. schema:
  25408. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  25409. "500":
  25410. description: Internal Server Error
  25411. schema:
  25412. $ref: '#/definitions/app.Response'
  25413. security:
  25414. - ApiKeyAuth: []
  25415. summary: 获取商品盘面信息
  25416. tags:
  25417. - 行情服务
  25418. /Quote/QueryTSData:
  25419. get:
  25420. parameters:
  25421. - description: 商品代码
  25422. in: query
  25423. name: goodsCode
  25424. required: true
  25425. type: string
  25426. produces:
  25427. - application/json
  25428. responses:
  25429. "200":
  25430. description: OK
  25431. schema:
  25432. $ref: '#/definitions/quote.QueryTSDataRsp'
  25433. "500":
  25434. description: Internal Server Error
  25435. schema:
  25436. $ref: '#/definitions/app.Response'
  25437. security:
  25438. - ApiKeyAuth: []
  25439. summary: 分时图数据查询
  25440. tags:
  25441. - 行情服务
  25442. /SZDZ/QueryConvertConfig:
  25443. get:
  25444. parameters:
  25445. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  25446. in: query
  25447. name: convertType
  25448. type: integer
  25449. - description: 外部商品代码[JD\PD]
  25450. in: query
  25451. name: outerGoodsCode
  25452. type: string
  25453. - description: 内部商品ID列表[交易],格式:1,2,3
  25454. in: query
  25455. name: innerGoodsIDs
  25456. type: string
  25457. produces:
  25458. - application/json
  25459. responses:
  25460. "200":
  25461. description: OK
  25462. schema:
  25463. $ref: '#/definitions/models.Szdz3convertconfig'
  25464. "500":
  25465. description: Internal Server Error
  25466. schema:
  25467. $ref: '#/definitions/app.Response'
  25468. security:
  25469. - ApiKeyAuth: []
  25470. summary: 查询交易系统转换设置
  25471. tags:
  25472. - 定制【尚志大宗】
  25473. /SZDZ/QueryConvertLog:
  25474. get:
  25475. parameters:
  25476. - description: 资金账户 - 格式:1,2,3
  25477. in: query
  25478. name: accountID
  25479. required: true
  25480. type: string
  25481. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25482. in: query
  25483. name: startDate
  25484. type: string
  25485. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25486. in: query
  25487. name: endDate
  25488. type: string
  25489. produces:
  25490. - application/json
  25491. responses:
  25492. "200":
  25493. description: OK
  25494. schema:
  25495. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  25496. "500":
  25497. description: Internal Server Error
  25498. schema:
  25499. $ref: '#/definitions/app.Response'
  25500. security:
  25501. - ApiKeyAuth: []
  25502. summary: 交易系统转换流水查询
  25503. tags:
  25504. - 定制【尚志大宗】
  25505. /SZDZ/QueryGoodsPickup:
  25506. get:
  25507. parameters:
  25508. - description: 资金账户 - 格式:1,2,3
  25509. in: query
  25510. name: accountID
  25511. required: true
  25512. type: string
  25513. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25514. in: query
  25515. name: takeOrderStatus
  25516. type: integer
  25517. produces:
  25518. - application/json
  25519. responses:
  25520. "200":
  25521. description: OK
  25522. schema:
  25523. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  25524. "500":
  25525. description: Internal Server Error
  25526. schema:
  25527. $ref: '#/definitions/app.Response'
  25528. security:
  25529. - ApiKeyAuth: []
  25530. summary: 商品提货单查询
  25531. tags:
  25532. - 定制【尚志大宗】
  25533. /SZDZ/QueryRecieptOrder:
  25534. get:
  25535. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25536. parameters:
  25537. - description: 页码
  25538. in: query
  25539. name: page
  25540. type: integer
  25541. - description: 每页条数
  25542. in: query
  25543. name: pagesize
  25544. type: integer
  25545. - description: 商品ID
  25546. in: query
  25547. name: goodsID
  25548. required: true
  25549. type: integer
  25550. - description: 所属账户名称
  25551. in: query
  25552. name: accountName
  25553. type: string
  25554. - description: 市场ID
  25555. in: query
  25556. name: marketID
  25557. type: integer
  25558. - description: 方向 - 0:买 1:卖
  25559. in: query
  25560. name: buyorsell
  25561. required: true
  25562. type: integer
  25563. produces:
  25564. - application/json
  25565. responses:
  25566. "200":
  25567. description: OK
  25568. schema:
  25569. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  25570. "500":
  25571. description: Internal Server Error
  25572. schema:
  25573. $ref: '#/definitions/app.Response'
  25574. security:
  25575. - ApiKeyAuth: []
  25576. summary: 点选挂牌委托单据查询(摘牌大厅)
  25577. tags:
  25578. - 定制【尚志大宗】
  25579. /SZDZ/QuerySZDZTradePosition:
  25580. get:
  25581. parameters:
  25582. - description: 资金账户
  25583. in: query
  25584. name: accountID
  25585. required: true
  25586. type: integer
  25587. produces:
  25588. - application/json
  25589. responses:
  25590. "200":
  25591. description: OK
  25592. schema:
  25593. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  25594. "500":
  25595. description: Internal Server Error
  25596. schema:
  25597. $ref: '#/definitions/app.Response'
  25598. security:
  25599. - ApiKeyAuth: []
  25600. summary: 持仓汇总查询(尚志大宗)
  25601. tags:
  25602. - 定制【尚志大宗】
  25603. /SZDZ/SearchWhite:
  25604. get:
  25605. parameters:
  25606. - description: 用户ID
  25607. in: query
  25608. name: userID
  25609. required: true
  25610. type: integer
  25611. produces:
  25612. - application/json
  25613. responses:
  25614. "200":
  25615. description: OK
  25616. schema:
  25617. $ref: '#/definitions/models.Szdz3searchwhitelist'
  25618. "500":
  25619. description: Internal Server Error
  25620. schema:
  25621. $ref: '#/definitions/app.Response'
  25622. security:
  25623. - ApiKeyAuth: []
  25624. summary: 搜索白名单
  25625. tags:
  25626. - 定制【尚志大宗】
  25627. /Search/SearchGoodses:
  25628. get:
  25629. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  25630. parameters:
  25631. - description: 检索内容
  25632. in: query
  25633. name: content
  25634. required: true
  25635. type: string
  25636. - description: 交易模式,格式:1,2,3
  25637. in: query
  25638. name: tradeModes
  25639. type: string
  25640. produces:
  25641. - application/json
  25642. responses:
  25643. "200":
  25644. description: OK
  25645. schema:
  25646. $ref: '#/definitions/models.SearchGoods'
  25647. "500":
  25648. description: Internal Server Error
  25649. schema:
  25650. $ref: '#/definitions/app.Response'
  25651. summary: 检索商品信息
  25652. tags:
  25653. - 检索服务
  25654. /TaAccount/GetTaAccounts:
  25655. get:
  25656. parameters:
  25657. - description: 登录账户
  25658. in: query
  25659. name: loginID
  25660. required: true
  25661. type: integer
  25662. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  25663. in: query
  25664. name: taAccountType
  25665. type: integer
  25666. produces:
  25667. - application/json
  25668. responses:
  25669. "200":
  25670. description: OK
  25671. schema:
  25672. $ref: '#/definitions/models.Taaccount'
  25673. "500":
  25674. description: Internal Server Error
  25675. schema:
  25676. $ref: '#/definitions/app.Response'
  25677. security:
  25678. - ApiKeyAuth: []
  25679. summary: 获取资金账户信息
  25680. tags:
  25681. - 资金账户
  25682. /TaAccount/QueryAmountLog:
  25683. get:
  25684. parameters:
  25685. - description: 页码
  25686. in: query
  25687. name: page
  25688. type: integer
  25689. - description: 每页条数
  25690. in: query
  25691. name: pagesize
  25692. type: integer
  25693. - description: 资金账户 - 格式:1,2,3
  25694. in: query
  25695. name: accountID
  25696. required: true
  25697. type: string
  25698. - description: 资金操作类型 - 格式:1,2,3
  25699. in: query
  25700. name: OperateType
  25701. type: string
  25702. produces:
  25703. - application/json
  25704. responses:
  25705. "200":
  25706. description: OK
  25707. schema:
  25708. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  25709. "500":
  25710. description: Internal Server Error
  25711. schema:
  25712. $ref: '#/definitions/app.Response'
  25713. security:
  25714. - ApiKeyAuth: []
  25715. summary: 资金流水查询(当前)
  25716. tags:
  25717. - 资金账户
  25718. /TaAccount/QueryHisAmountLog:
  25719. get:
  25720. parameters:
  25721. - description: 页码
  25722. in: query
  25723. name: page
  25724. type: integer
  25725. - description: 每页条数
  25726. in: query
  25727. name: pagesize
  25728. type: integer
  25729. - description: 资金账户 - 格式:1,2,3
  25730. in: query
  25731. name: accountID
  25732. required: true
  25733. type: string
  25734. - description: 资金操作类型 - 格式:1,2,3
  25735. in: query
  25736. name: OperateType
  25737. type: string
  25738. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25739. in: query
  25740. name: startDate
  25741. type: string
  25742. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25743. in: query
  25744. name: endDate
  25745. type: string
  25746. produces:
  25747. - application/json
  25748. responses:
  25749. "200":
  25750. description: OK
  25751. schema:
  25752. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  25753. "500":
  25754. description: Internal Server Error
  25755. schema:
  25756. $ref: '#/definitions/app.Response'
  25757. security:
  25758. - ApiKeyAuth: []
  25759. summary: 资金流水查询(历史)
  25760. tags:
  25761. - 资金账户
  25762. /Tjmd/QueryQuoteGoodsList:
  25763. get:
  25764. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  25765. parameters:
  25766. - description: 用户类型
  25767. in: query
  25768. name: usertype
  25769. required: true
  25770. type: integer
  25771. - description: 市场id, 格式 1,2,3
  25772. in: query
  25773. name: marketids
  25774. type: string
  25775. - description: 商品组id
  25776. in: query
  25777. name: goodsgroupid
  25778. type: integer
  25779. - description: 商品id
  25780. in: query
  25781. name: goodsid
  25782. type: integer
  25783. produces:
  25784. - application/json
  25785. responses:
  25786. "200":
  25787. description: OK
  25788. schema:
  25789. items:
  25790. $ref: '#/definitions/models.TjmdQuoteGoods'
  25791. type: array
  25792. "500":
  25793. description: Internal Server Error
  25794. schema:
  25795. $ref: '#/definitions/app.Response'
  25796. security:
  25797. - ApiKeyAuth: []
  25798. summary: 查询掉期报价列表
  25799. tags:
  25800. - 天津麦顿
  25801. /Tjmd/QueryTjmdTodayAccountMargin:
  25802. get:
  25803. parameters:
  25804. - description: 市场id
  25805. in: query
  25806. name: marketid
  25807. type: string
  25808. - description: 商品id
  25809. in: query
  25810. name: goodsid
  25811. type: string
  25812. - description: 资金账号
  25813. in: query
  25814. name: accountid
  25815. type: string
  25816. produces:
  25817. - application/json
  25818. responses:
  25819. "200":
  25820. description: OK
  25821. schema:
  25822. items:
  25823. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  25824. type: array
  25825. "500":
  25826. description: Internal Server Error
  25827. schema:
  25828. $ref: '#/definitions/app.Response'
  25829. security:
  25830. - ApiKeyAuth: []
  25831. summary: 查询今日账户保证金配置
  25832. tags:
  25833. - 天津麦顿
  25834. /Tjmd/QueryTjmdTradeOrderDetail:
  25835. get:
  25836. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  25837. parameters:
  25838. - description: 页码
  25839. in: query
  25840. name: page
  25841. type: integer
  25842. - description: 每页条数
  25843. in: query
  25844. name: pagesize
  25845. type: integer
  25846. - description: 用户id
  25847. in: query
  25848. name: userid
  25849. required: true
  25850. type: integer
  25851. - description: 用户类型
  25852. in: query
  25853. name: usertype
  25854. required: true
  25855. type: integer
  25856. - description: 市场id, 格式 1,2,3
  25857. in: query
  25858. name: marketids
  25859. type: string
  25860. - description: 商品id
  25861. in: query
  25862. name: goodsid
  25863. required: true
  25864. type: integer
  25865. - description: 买卖方向 0-买 1-卖
  25866. in: query
  25867. name: buyorsell
  25868. required: true
  25869. type: integer
  25870. produces:
  25871. - application/json
  25872. responses:
  25873. "200":
  25874. description: OK
  25875. schema:
  25876. items:
  25877. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  25878. type: array
  25879. "500":
  25880. description: Internal Server Error
  25881. schema:
  25882. $ref: '#/definitions/app.Response'
  25883. security:
  25884. - ApiKeyAuth: []
  25885. summary: 查询掉期买卖大厅
  25886. tags:
  25887. - 天津麦顿
  25888. /Tjmd/QueryTjmdTransferApply:
  25889. get:
  25890. parameters:
  25891. - description: 类型 1-我的申请 2-对方申请
  25892. in: query
  25893. name: applytype
  25894. required: true
  25895. type: integer
  25896. - description: 市场id, 格式 1,2,3
  25897. in: query
  25898. name: marketids
  25899. type: string
  25900. - description: 资金账号, 格式 25000000001,25000000003
  25901. in: query
  25902. name: accountids
  25903. type: string
  25904. produces:
  25905. - application/json
  25906. responses:
  25907. "200":
  25908. description: OK
  25909. schema:
  25910. items:
  25911. $ref: '#/definitions/models.TjmdTransferApply'
  25912. type: array
  25913. "500":
  25914. description: Internal Server Error
  25915. schema:
  25916. $ref: '#/definitions/app.Response'
  25917. security:
  25918. - ApiKeyAuth: []
  25919. summary: 查询掉期协议单
  25920. tags:
  25921. - 天津麦顿
  25922. /Trade/QueryRecieptOrder:
  25923. get:
  25924. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25925. parameters:
  25926. - description: 页码
  25927. in: query
  25928. name: page
  25929. type: integer
  25930. - description: 每页条数
  25931. in: query
  25932. name: pagesize
  25933. type: integer
  25934. - description: 商品ID
  25935. in: query
  25936. name: goodsID
  25937. required: true
  25938. type: integer
  25939. - description: 所属账户名称
  25940. in: query
  25941. name: accountName
  25942. type: string
  25943. - description: 市场ID
  25944. in: query
  25945. name: marketID
  25946. type: integer
  25947. - description: 方向 - 0:买 1:卖
  25948. in: query
  25949. name: buyorsell
  25950. required: true
  25951. type: integer
  25952. produces:
  25953. - application/json
  25954. responses:
  25955. "200":
  25956. description: OK
  25957. schema:
  25958. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  25959. "500":
  25960. description: Internal Server Error
  25961. schema:
  25962. $ref: '#/definitions/app.Response'
  25963. security:
  25964. - ApiKeyAuth: []
  25965. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  25966. tags:
  25967. - 通用交易
  25968. /User/AddMessageBoard:
  25969. post:
  25970. parameters:
  25971. - description: 用户ID
  25972. in: query
  25973. name: userID
  25974. required: true
  25975. type: integer
  25976. - description: 留言信息
  25977. in: query
  25978. name: message
  25979. required: true
  25980. type: string
  25981. - description: 联系电话
  25982. in: query
  25983. name: contactNum
  25984. required: true
  25985. type: string
  25986. produces:
  25987. - application/json
  25988. responses:
  25989. "200":
  25990. description: OK
  25991. schema:
  25992. $ref: '#/definitions/app.Response'
  25993. "500":
  25994. description: Internal Server Error
  25995. schema:
  25996. $ref: '#/definitions/app.Response'
  25997. security:
  25998. - ApiKeyAuth: []
  25999. summary: 添加用户留言板信息
  26000. tags:
  26001. - 用户信息
  26002. /User/AddUserFavoriteGoods:
  26003. post:
  26004. parameters:
  26005. - description: 用户ID
  26006. in: query
  26007. name: userID
  26008. required: true
  26009. type: integer
  26010. - description: 商品ID
  26011. in: query
  26012. name: goodsID
  26013. required: true
  26014. type: integer
  26015. produces:
  26016. - application/json
  26017. responses:
  26018. "200":
  26019. description: OK
  26020. schema:
  26021. $ref: '#/definitions/app.Response'
  26022. "500":
  26023. description: Internal Server Error
  26024. schema:
  26025. $ref: '#/definitions/app.Response'
  26026. security:
  26027. - ApiKeyAuth: []
  26028. summary: 添加用户商品收藏信息
  26029. tags:
  26030. - 用户信息
  26031. /User/GetLoginID:
  26032. get:
  26033. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  26034. parameters:
  26035. - description: 登录代码
  26036. in: query
  26037. name: username
  26038. required: true
  26039. type: string
  26040. produces:
  26041. - application/json
  26042. responses:
  26043. "200":
  26044. description: OK
  26045. schema:
  26046. $ref: '#/definitions/app.Response'
  26047. "500":
  26048. description: Internal Server Error
  26049. schema:
  26050. $ref: '#/definitions/app.Response'
  26051. summary: 获取登录ID
  26052. tags:
  26053. - 用户信息
  26054. /User/GetUserAccount:
  26055. get:
  26056. parameters:
  26057. - description: 用户ID
  26058. in: query
  26059. name: userID
  26060. required: true
  26061. type: integer
  26062. produces:
  26063. - application/json
  26064. responses:
  26065. "200":
  26066. description: OK
  26067. schema:
  26068. $ref: '#/definitions/models.Useraccount'
  26069. "500":
  26070. description: Internal Server Error
  26071. schema:
  26072. $ref: '#/definitions/app.Response'
  26073. security:
  26074. - ApiKeyAuth: []
  26075. summary: 获取用户账号信息
  26076. tags:
  26077. - 用户信息
  26078. /User/GetUserAuthStatus:
  26079. get:
  26080. parameters:
  26081. - description: 用户ID
  26082. in: query
  26083. name: userID
  26084. required: true
  26085. type: integer
  26086. produces:
  26087. - application/json
  26088. responses:
  26089. "200":
  26090. description: OK
  26091. schema:
  26092. $ref: '#/definitions/app.Response'
  26093. "500":
  26094. description: Internal Server Error
  26095. schema:
  26096. $ref: '#/definitions/app.Response'
  26097. security:
  26098. - ApiKeyAuth: []
  26099. summary: 获取用户实名认证状态
  26100. tags:
  26101. - 用户信息
  26102. /User/LoginQuery:
  26103. get:
  26104. parameters:
  26105. - description: 登录账号
  26106. in: query
  26107. name: loginID
  26108. required: true
  26109. type: integer
  26110. produces:
  26111. - application/json
  26112. responses:
  26113. "200":
  26114. description: OK
  26115. schema:
  26116. $ref: '#/definitions/user.LoginQueryRsp'
  26117. "500":
  26118. description: Internal Server Error
  26119. schema:
  26120. $ref: '#/definitions/app.Response'
  26121. security:
  26122. - ApiKeyAuth: []
  26123. summary: 账户登录后信息查询
  26124. tags:
  26125. - 用户信息
  26126. /User/QueryMessageBoard:
  26127. get:
  26128. parameters:
  26129. - description: 用户ID
  26130. in: query
  26131. name: userID
  26132. required: true
  26133. type: integer
  26134. produces:
  26135. - application/json
  26136. responses:
  26137. "200":
  26138. description: OK
  26139. schema:
  26140. $ref: '#/definitions/models.Messageboard'
  26141. "500":
  26142. description: Internal Server Error
  26143. schema:
  26144. $ref: '#/definitions/app.Response'
  26145. security:
  26146. - ApiKeyAuth: []
  26147. summary: 获取用户留言板信息
  26148. tags:
  26149. - 用户信息
  26150. /User/QueryUserFavoriteGoodses:
  26151. get:
  26152. parameters:
  26153. - description: 用户ID
  26154. in: query
  26155. name: userID
  26156. required: true
  26157. type: integer
  26158. produces:
  26159. - application/json
  26160. responses:
  26161. "200":
  26162. description: OK
  26163. schema:
  26164. $ref: '#/definitions/models.Userfavoritegoods'
  26165. "500":
  26166. description: Internal Server Error
  26167. schema:
  26168. $ref: '#/definitions/app.Response'
  26169. security:
  26170. - ApiKeyAuth: []
  26171. summary: 获取用户商品收藏信息
  26172. tags:
  26173. - 用户信息
  26174. /User/QueryUserInfo:
  26175. get:
  26176. parameters:
  26177. - description: 用户ID
  26178. in: query
  26179. name: userID
  26180. required: true
  26181. type: integer
  26182. - description: 是否解密
  26183. in: query
  26184. name: isDecrypt
  26185. type: boolean
  26186. produces:
  26187. - application/json
  26188. responses:
  26189. "200":
  26190. description: OK
  26191. schema:
  26192. $ref: '#/definitions/models.Userinfo'
  26193. "500":
  26194. description: Internal Server Error
  26195. schema:
  26196. $ref: '#/definitions/app.Response'
  26197. security:
  26198. - ApiKeyAuth: []
  26199. summary: 获取用户信息
  26200. tags:
  26201. - 用户信息
  26202. /User/QueryUserReferNum:
  26203. get:
  26204. parameters:
  26205. - description: 用户ID
  26206. in: query
  26207. name: userID
  26208. required: true
  26209. type: integer
  26210. produces:
  26211. - application/json
  26212. responses:
  26213. "200":
  26214. description: OK
  26215. schema:
  26216. $ref: '#/definitions/app.Response'
  26217. "500":
  26218. description: Internal Server Error
  26219. schema:
  26220. $ref: '#/definitions/app.Response'
  26221. summary: 获取用户邀请码
  26222. tags:
  26223. - 用户信息
  26224. /User/RemoveUserFavoriteGoods:
  26225. post:
  26226. parameters:
  26227. - description: 用户ID
  26228. in: query
  26229. name: userID
  26230. required: true
  26231. type: integer
  26232. - description: 商品ID
  26233. in: query
  26234. name: goodsID
  26235. required: true
  26236. type: integer
  26237. produces:
  26238. - application/json
  26239. responses:
  26240. "200":
  26241. description: OK
  26242. schema:
  26243. $ref: '#/definitions/app.Response'
  26244. "500":
  26245. description: Internal Server Error
  26246. schema:
  26247. $ref: '#/definitions/app.Response'
  26248. security:
  26249. - ApiKeyAuth: []
  26250. summary: 移除用户商品收藏信息
  26251. tags:
  26252. - 用户信息
  26253. /User/UpdateUserAccountStatus:
  26254. post:
  26255. parameters:
  26256. - description: 用户ID
  26257. in: query
  26258. name: userID
  26259. required: true
  26260. type: integer
  26261. - description: 账户状态 - 4:正常 6:注销(停用)
  26262. in: query
  26263. name: accountStatus
  26264. required: true
  26265. type: integer
  26266. produces:
  26267. - application/json
  26268. responses:
  26269. "200":
  26270. description: OK
  26271. schema:
  26272. $ref: '#/definitions/app.Response'
  26273. "500":
  26274. description: Internal Server Error
  26275. schema:
  26276. $ref: '#/definitions/app.Response'
  26277. security:
  26278. - ApiKeyAuth: []
  26279. summary: 更新用户状态
  26280. tags:
  26281. - 用户信息
  26282. /WRTrade/GetAllDeliveryGoods:
  26283. get:
  26284. produces:
  26285. - application/json
  26286. - application/json
  26287. responses:
  26288. "200":
  26289. description: OK
  26290. schema:
  26291. $ref: '#/definitions/app.Response'
  26292. "500":
  26293. description: Internal Server Error
  26294. schema:
  26295. $ref: '#/definitions/app.Response'
  26296. security:
  26297. - ApiKeyAuth: []
  26298. - ApiKeyAuth: []
  26299. summary: 获取带仓单分类的种类信息
  26300. tags:
  26301. - 仓单贸易
  26302. - 仓单贸易
  26303. /WrTrade2/QueryFaProductDetail:
  26304. get:
  26305. description: 页面 买卖大厅 -> 选择融资方案
  26306. parameters:
  26307. - description: 仓单要素id
  26308. in: query
  26309. name: wrfactortypeid
  26310. required: true
  26311. type: integer
  26312. produces:
  26313. - application/json
  26314. responses:
  26315. "200":
  26316. description: OK
  26317. schema:
  26318. items:
  26319. $ref: '#/definitions/models.WrFAProductDetail'
  26320. type: array
  26321. "500":
  26322. description: Internal Server Error
  26323. schema:
  26324. $ref: '#/definitions/app.Response'
  26325. security:
  26326. - ApiKeyAuth: []
  26327. summary: 查询融资产品列表
  26328. tags:
  26329. - 仓单贸易v2
  26330. /WrTrade2/QueryFilterItem:
  26331. get:
  26332. parameters:
  26333. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  26334. in: query
  26335. name: itype
  26336. required: true
  26337. type: string
  26338. produces:
  26339. - application/json
  26340. responses:
  26341. "200":
  26342. description: OK
  26343. schema:
  26344. items:
  26345. $ref: '#/definitions/models.WrFilterItem'
  26346. type: array
  26347. "500":
  26348. description: Internal Server Error
  26349. schema:
  26350. $ref: '#/definitions/app.Response'
  26351. security:
  26352. - ApiKeyAuth: []
  26353. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  26354. tags:
  26355. - 仓单贸易v2
  26356. /WrTrade2/QueryFtDeliveryGoods:
  26357. get:
  26358. produces:
  26359. - application/json
  26360. responses:
  26361. "200":
  26362. description: OK
  26363. schema:
  26364. items:
  26365. $ref: '#/definitions/models.WrFtDeliveryGoods'
  26366. type: array
  26367. "500":
  26368. description: Internal Server Error
  26369. schema:
  26370. $ref: '#/definitions/app.Response'
  26371. security:
  26372. - ApiKeyAuth: []
  26373. summary: 查询品种品类筛选框列表
  26374. tags:
  26375. - 仓单贸易v2
  26376. /WrTrade2/QueryHoldLB:
  26377. get:
  26378. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  26379. parameters:
  26380. - description: 资金账号
  26381. in: query
  26382. name: accountid
  26383. required: true
  26384. type: integer
  26385. - description: 仓库id
  26386. in: query
  26387. name: warehouseid
  26388. type: integer
  26389. - description: 品种id
  26390. in: query
  26391. name: deliverygoodsid
  26392. type: integer
  26393. - description: 品类id
  26394. in: query
  26395. name: wrstandardid
  26396. type: integer
  26397. - description: 仓单要素id
  26398. in: query
  26399. name: wrfactortypeid
  26400. type: integer
  26401. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26402. in: query
  26403. name: dgitemname
  26404. type: string
  26405. produces:
  26406. - application/json
  26407. responses:
  26408. "200":
  26409. description: OK
  26410. schema:
  26411. items:
  26412. $ref: '#/definitions/models.WrHoldLB'
  26413. type: array
  26414. "500":
  26415. description: Internal Server Error
  26416. schema:
  26417. $ref: '#/definitions/app.Response'
  26418. security:
  26419. - ApiKeyAuth: []
  26420. summary: 查询仓单持有记录
  26421. tags:
  26422. - 仓单贸易v2
  26423. /WrTrade2/QueryOrderQuote:
  26424. get:
  26425. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录
  26426. parameters:
  26427. - description: 页码
  26428. in: query
  26429. name: page
  26430. type: integer
  26431. - description: 每页条数
  26432. in: query
  26433. name: pagesize
  26434. type: integer
  26435. - description: 仓单贸易市场id
  26436. in: query
  26437. name: marketid
  26438. type: integer
  26439. - description: 价格方式 - 1:固定价 2-浮动价
  26440. in: query
  26441. name: wrpricetype
  26442. required: true
  26443. type: integer
  26444. - description: 0:仓单预售 1:仓单贸易
  26445. in: query
  26446. name: haswr
  26447. required: true
  26448. type: integer
  26449. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26450. in: query
  26451. name: dgitemname
  26452. type: string
  26453. - description: 仓库id(筛选条件)
  26454. in: query
  26455. name: warehouseid
  26456. type: integer
  26457. - description: 品种id
  26458. in: query
  26459. name: deliverygoodsid
  26460. type: integer
  26461. - description: 品类id
  26462. in: query
  26463. name: wrstandardid
  26464. type: integer
  26465. - description: 仓单要素id
  26466. in: query
  26467. name: wrfactortypeid
  26468. type: integer
  26469. - description: 交收月(yyyy-mm) 仓单预售填写
  26470. in: query
  26471. name: deliverymonth
  26472. type: string
  26473. produces:
  26474. - application/json
  26475. responses:
  26476. "200":
  26477. description: OK
  26478. schema:
  26479. items:
  26480. $ref: '#/definitions/models.WrOrderQuote'
  26481. type: array
  26482. "500":
  26483. description: Internal Server Error
  26484. schema:
  26485. $ref: '#/definitions/app.Response'
  26486. security:
  26487. - ApiKeyAuth: []
  26488. summary: 查询大厅行情列表
  26489. tags:
  26490. - 仓单贸易v2
  26491. /WrTrade2/QueryOrderQuoteDetail:
  26492. get:
  26493. parameters:
  26494. - description: 页码
  26495. in: query
  26496. name: page
  26497. type: integer
  26498. - description: 每页条数
  26499. in: query
  26500. name: pagesize
  26501. type: integer
  26502. - description: 仓单贸易市场id
  26503. in: query
  26504. name: marketid
  26505. type: integer
  26506. - description: 价格方式 - 1:固定价 2-浮动价
  26507. in: query
  26508. name: wrpricetype
  26509. required: true
  26510. type: integer
  26511. - description: 0:仓单预售 1:仓单贸易
  26512. in: query
  26513. name: haswr
  26514. required: true
  26515. type: integer
  26516. - description: 仓单要素id
  26517. in: query
  26518. name: wrfactortypeid
  26519. required: true
  26520. type: integer
  26521. - description: 期货商品id(浮动价方式时填)
  26522. in: query
  26523. name: goodsid
  26524. type: integer
  26525. - description: 买卖方向 0-买 1-卖
  26526. in: query
  26527. name: buyorsell
  26528. required: true
  26529. type: integer
  26530. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  26531. in: query
  26532. name: deliverymonth
  26533. type: string
  26534. produces:
  26535. - application/json
  26536. responses:
  26537. "200":
  26538. description: OK
  26539. schema:
  26540. items:
  26541. $ref: '#/definitions/models.WrOrderQuoteDetail'
  26542. type: array
  26543. "500":
  26544. description: Internal Server Error
  26545. schema:
  26546. $ref: '#/definitions/app.Response'
  26547. security:
  26548. - ApiKeyAuth: []
  26549. summary: 查询买卖大厅
  26550. tags:
  26551. - 仓单贸易v2
  26552. /WrTrade2/QueryOrderQuoteMyq:
  26553. get:
  26554. parameters:
  26555. - description: 页码
  26556. in: query
  26557. name: page
  26558. type: integer
  26559. - description: 每页条数
  26560. in: query
  26561. name: pagesize
  26562. type: integer
  26563. - description: 用户id
  26564. in: query
  26565. name: userid
  26566. required: true
  26567. type: integer
  26568. - description: 仓单贸易市场id
  26569. in: query
  26570. name: marketid
  26571. type: integer
  26572. - description: 0:仓单预售 1:仓单贸易
  26573. in: query
  26574. name: haswr
  26575. required: true
  26576. type: integer
  26577. - description: 买卖方向 0-买 1-卖
  26578. in: query
  26579. name: buyorsell
  26580. required: true
  26581. type: integer
  26582. - description: 品种id
  26583. in: query
  26584. name: deliverygoodsid
  26585. type: integer
  26586. - description: 品类id
  26587. in: query
  26588. name: wrstandardid
  26589. type: integer
  26590. - description: 交收月(yyyy-mm) 仓单预售填写
  26591. in: query
  26592. name: deliverymonth
  26593. type: string
  26594. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26595. in: query
  26596. name: dgitemname
  26597. type: string
  26598. produces:
  26599. - application/json
  26600. responses:
  26601. "200":
  26602. description: OK
  26603. schema:
  26604. items:
  26605. $ref: '#/definitions/models.WrQuoteOrderMyq'
  26606. type: array
  26607. "500":
  26608. description: Internal Server Error
  26609. schema:
  26610. $ref: '#/definitions/app.Response'
  26611. security:
  26612. - ApiKeyAuth: []
  26613. summary: 查询贸易圈挂牌大厅
  26614. tags:
  26615. - 仓单贸易v2
  26616. /WrTrade2/QueryPerformancePlan:
  26617. get:
  26618. parameters:
  26619. - description: 用户id
  26620. in: query
  26621. name: userid
  26622. required: true
  26623. type: integer
  26624. - description: 买卖方向 0-买 1-卖
  26625. in: query
  26626. name: buyorsell
  26627. required: true
  26628. type: integer
  26629. produces:
  26630. - application/json
  26631. responses:
  26632. "200":
  26633. description: OK
  26634. schema:
  26635. items:
  26636. $ref: '#/definitions/models.WrPerformancePlan'
  26637. type: array
  26638. "500":
  26639. description: Internal Server Error
  26640. schema:
  26641. $ref: '#/definitions/app.Response'
  26642. security:
  26643. - ApiKeyAuth: []
  26644. summary: 查询履约信息
  26645. tags:
  26646. - 仓单贸易v2
  26647. /WrTrade2/QueryPermancePlanTmp:
  26648. get:
  26649. description: 返回指定用户的模板和公共模板(用户id为空)
  26650. parameters:
  26651. - description: 用户id
  26652. in: query
  26653. name: userid
  26654. type: integer
  26655. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  26656. in: query
  26657. name: tmptype
  26658. type: string
  26659. - description: 是否包含公共模板(用户id为空的) 1-包含
  26660. in: query
  26661. name: includepub
  26662. type: integer
  26663. produces:
  26664. - application/json
  26665. responses:
  26666. "200":
  26667. description: OK
  26668. schema:
  26669. items:
  26670. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  26671. type: array
  26672. "500":
  26673. description: Internal Server Error
  26674. schema:
  26675. $ref: '#/definitions/app.Response'
  26676. security:
  26677. - ApiKeyAuth: []
  26678. summary: 查询履约模板
  26679. tags:
  26680. - 仓单贸易v2
  26681. /WrTrade2/QueryWrAverageTradePrice:
  26682. get:
  26683. parameters:
  26684. - description: 页码
  26685. in: query
  26686. name: page
  26687. type: integer
  26688. - description: 每页条数
  26689. in: query
  26690. name: pagesize
  26691. type: integer
  26692. - description: 0:仓单预售 1:仓单贸易
  26693. in: query
  26694. name: haswr
  26695. required: true
  26696. type: integer
  26697. - description: 仓单要素id
  26698. in: query
  26699. name: wrfactortypeid
  26700. required: true
  26701. type: integer
  26702. produces:
  26703. - application/json
  26704. responses:
  26705. "200":
  26706. description: OK
  26707. schema:
  26708. items:
  26709. $ref: '#/definitions/models.WrAverageTradePrice'
  26710. type: array
  26711. "500":
  26712. description: Internal Server Error
  26713. schema:
  26714. $ref: '#/definitions/app.Response'
  26715. security:
  26716. - ApiKeyAuth: []
  26717. summary: 查询成交价(历史走势)
  26718. tags:
  26719. - 仓单贸易v2
  26720. /WrTrade2/QueryWrBsGoodsInfo:
  26721. get:
  26722. description: 合约交易/买卖大厅/详情
  26723. parameters:
  26724. - description: 商品id
  26725. in: query
  26726. name: goodsid
  26727. required: true
  26728. type: integer
  26729. produces:
  26730. - application/json
  26731. responses:
  26732. "200":
  26733. description: OK
  26734. schema:
  26735. items:
  26736. $ref: '#/definitions/models.WrBsGoodsInfo'
  26737. type: array
  26738. "500":
  26739. description: Internal Server Error
  26740. schema:
  26741. $ref: '#/definitions/app.Response'
  26742. security:
  26743. - ApiKeyAuth: []
  26744. summary: 查询合约交易买卖大厅详情
  26745. tags:
  26746. - 仓单贸易v2
  26747. /WrTrade2/QueryWrBuybackDetail:
  26748. get:
  26749. parameters:
  26750. - description: 融资合同id
  26751. in: query
  26752. name: scfcontractid
  26753. type: integer
  26754. produces:
  26755. - application/json
  26756. responses:
  26757. "200":
  26758. description: OK
  26759. schema:
  26760. items:
  26761. $ref: '#/definitions/models.WrBuybackDetail'
  26762. type: array
  26763. "500":
  26764. description: Internal Server Error
  26765. schema:
  26766. $ref: '#/definitions/app.Response'
  26767. security:
  26768. - ApiKeyAuth: []
  26769. summary: 查询仓单回购明细
  26770. tags:
  26771. - 仓单贸易v2
  26772. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  26773. get:
  26774. parameters:
  26775. - description: 资金账号
  26776. in: query
  26777. name: accountid
  26778. required: true
  26779. type: integer
  26780. - description: 商品id
  26781. in: query
  26782. name: goodsid
  26783. required: true
  26784. type: integer
  26785. produces:
  26786. - application/json
  26787. responses:
  26788. "200":
  26789. description: OK
  26790. schema:
  26791. items:
  26792. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  26793. type: array
  26794. "500":
  26795. description: Internal Server Error
  26796. schema:
  26797. $ref: '#/definitions/app.Response'
  26798. security:
  26799. - ApiKeyAuth: []
  26800. summary: 查询合约交收可点选仓单
  26801. tags:
  26802. - 仓单贸易v2
  26803. /WrTrade2/QueryWrDeliveryDetail:
  26804. get:
  26805. parameters:
  26806. - description: 用户id
  26807. in: query
  26808. name: userid
  26809. required: true
  26810. type: integer
  26811. - description: 资金账号id
  26812. in: query
  26813. name: accountid
  26814. type: integer
  26815. produces:
  26816. - application/json
  26817. responses:
  26818. "200":
  26819. description: OK
  26820. schema:
  26821. items:
  26822. $ref: '#/definitions/models.WrDeliveryDetail'
  26823. type: array
  26824. "500":
  26825. description: Internal Server Error
  26826. schema:
  26827. $ref: '#/definitions/app.Response'
  26828. security:
  26829. - ApiKeyAuth: []
  26830. summary: 查询交收
  26831. tags:
  26832. - 仓单贸易v2
  26833. /WrTrade2/QueryWrFactorTypeInfo:
  26834. get:
  26835. parameters:
  26836. - description: 仓单要素id
  26837. in: query
  26838. name: wrfactortypeid
  26839. required: true
  26840. type: integer
  26841. produces:
  26842. - application/json
  26843. responses:
  26844. "200":
  26845. description: OK
  26846. schema:
  26847. items:
  26848. $ref: '#/definitions/models.WrFactorTypeInfo'
  26849. type: array
  26850. "500":
  26851. description: Internal Server Error
  26852. schema:
  26853. $ref: '#/definitions/app.Response'
  26854. security:
  26855. - ApiKeyAuth: []
  26856. summary: 查询仓单要素详细信息
  26857. tags:
  26858. - 仓单贸易v2
  26859. /WrTrade2/QueryWrFactorTypeInfoEx:
  26860. get:
  26861. parameters:
  26862. - description: 仓单要素id
  26863. in: query
  26864. name: wrfactortypeid
  26865. required: true
  26866. type: integer
  26867. produces:
  26868. - application/json
  26869. responses:
  26870. "200":
  26871. description: OK
  26872. schema:
  26873. items:
  26874. $ref: '#/definitions/models.WrTypeItem'
  26875. type: array
  26876. "500":
  26877. description: Internal Server Error
  26878. schema:
  26879. $ref: '#/definitions/app.Response'
  26880. security:
  26881. - ApiKeyAuth: []
  26882. summary: 查询仓单要素详细信息列表项
  26883. tags:
  26884. - 仓单贸易v2
  26885. /WrTrade2/QueryWrFinanceBuyApply:
  26886. get:
  26887. description: 页面 融资信息+ / 申请单
  26888. parameters:
  26889. - description: 用户id
  26890. in: query
  26891. name: userid
  26892. required: true
  26893. type: integer
  26894. produces:
  26895. - application/json
  26896. responses:
  26897. "200":
  26898. description: OK
  26899. schema:
  26900. items:
  26901. $ref: '#/definitions/models.WrFinanceBuyApply'
  26902. type: array
  26903. "500":
  26904. description: Internal Server Error
  26905. schema:
  26906. $ref: '#/definitions/app.Response'
  26907. security:
  26908. - ApiKeyAuth: []
  26909. summary: 查询融资购买申请
  26910. tags:
  26911. - 仓单贸易v2
  26912. /WrTrade2/QueryWrFriendApply:
  26913. get:
  26914. parameters:
  26915. - description: 用户id
  26916. in: query
  26917. name: userid
  26918. required: true
  26919. type: integer
  26920. produces:
  26921. - application/json
  26922. responses:
  26923. "200":
  26924. description: OK
  26925. schema:
  26926. items:
  26927. $ref: '#/definitions/models.WrFriendApply'
  26928. type: array
  26929. "500":
  26930. description: Internal Server Error
  26931. schema:
  26932. $ref: '#/definitions/app.Response'
  26933. security:
  26934. - ApiKeyAuth: []
  26935. summary: 查询好友申请记录
  26936. tags:
  26937. - 仓单贸易v2
  26938. /WrTrade2/QueryWrGoodsInfo:
  26939. get:
  26940. parameters:
  26941. - description: 仓单贸易市场id
  26942. in: query
  26943. name: marketid
  26944. type: integer
  26945. - description: 0:仓单预售 1:仓单贸易
  26946. in: query
  26947. name: haswr
  26948. required: true
  26949. type: integer
  26950. - description: 仓单要素id
  26951. in: query
  26952. name: wrfactortypeid
  26953. required: true
  26954. type: integer
  26955. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  26956. in: query
  26957. name: tmplateid
  26958. type: integer
  26959. produces:
  26960. - application/json
  26961. responses:
  26962. "200":
  26963. description: OK
  26964. schema:
  26965. items:
  26966. $ref: '#/definitions/models.WrGoodsInfo'
  26967. type: array
  26968. "500":
  26969. description: Internal Server Error
  26970. schema:
  26971. $ref: '#/definitions/app.Response'
  26972. security:
  26973. - ApiKeyAuth: []
  26974. summary: 查询仓单商品信息
  26975. tags:
  26976. - 仓单贸易v2
  26977. /WrTrade2/QueryWrMarketTradeConfig:
  26978. get:
  26979. parameters:
  26980. - description: 市场id
  26981. in: query
  26982. name: marketid
  26983. type: integer
  26984. produces:
  26985. - application/json
  26986. responses:
  26987. "200":
  26988. description: OK
  26989. schema:
  26990. items:
  26991. $ref: '#/definitions/models.WrMarketTradeConfig'
  26992. type: array
  26993. "500":
  26994. description: Internal Server Error
  26995. schema:
  26996. $ref: '#/definitions/app.Response'
  26997. security:
  26998. - ApiKeyAuth: []
  26999. summary: 查询市场交易参数配置
  27000. tags:
  27001. - 仓单贸易v2
  27002. /WrTrade2/QueryWrOrderDetail:
  27003. get:
  27004. description: 页面 现货仓单 | 预售仓单 -> 挂单
  27005. parameters:
  27006. - description: 页码
  27007. in: query
  27008. name: page
  27009. type: integer
  27010. - description: 每页条数
  27011. in: query
  27012. name: pagesize
  27013. type: integer
  27014. - description: 用户id
  27015. in: query
  27016. name: userid
  27017. required: true
  27018. type: integer
  27019. - description: 仓单贸易市场id
  27020. in: query
  27021. name: marketid
  27022. type: integer
  27023. - description: 0:仓单预售 1:仓单贸易
  27024. in: query
  27025. name: haswr
  27026. required: true
  27027. type: integer
  27028. produces:
  27029. - application/json
  27030. responses:
  27031. "200":
  27032. description: OK
  27033. schema:
  27034. items:
  27035. $ref: '#/definitions/models.WrOrderDetail'
  27036. type: array
  27037. "500":
  27038. description: Internal Server Error
  27039. schema:
  27040. $ref: '#/definitions/app.Response'
  27041. security:
  27042. - ApiKeyAuth: []
  27043. summary: 查询仓单委托单(挂单)
  27044. tags:
  27045. - 仓单贸易v2
  27046. /WrTrade2/QueryWrOutInApply:
  27047. get:
  27048. parameters:
  27049. - description: 用户id
  27050. in: query
  27051. name: userid
  27052. required: true
  27053. type: integer
  27054. produces:
  27055. - application/json
  27056. responses:
  27057. "200":
  27058. description: OK
  27059. schema:
  27060. items:
  27061. $ref: '#/definitions/models.WrOutInApply'
  27062. type: array
  27063. "500":
  27064. description: Internal Server Error
  27065. schema:
  27066. $ref: '#/definitions/app.Response'
  27067. security:
  27068. - ApiKeyAuth: []
  27069. summary: 查询提货申请
  27070. tags:
  27071. - 仓单贸易v2
  27072. /WrTrade2/QueryWrPerformancePlanStep:
  27073. get:
  27074. parameters:
  27075. - description: 履约计划id(performanceplanid)
  27076. in: query
  27077. name: planid
  27078. required: true
  27079. type: integer
  27080. - description: 当前步骤id
  27081. in: query
  27082. name: curstepid
  27083. type: integer
  27084. produces:
  27085. - application/json
  27086. responses:
  27087. "200":
  27088. description: OK
  27089. schema:
  27090. items:
  27091. $ref: '#/definitions/models.WrPerformancePlanStep'
  27092. type: array
  27093. "500":
  27094. description: Internal Server Error
  27095. schema:
  27096. $ref: '#/definitions/app.Response'
  27097. security:
  27098. - ApiKeyAuth: []
  27099. summary: 查询履约信息详情
  27100. tags:
  27101. - 仓单贸易v2
  27102. /WrTrade2/QueryWrPerformanceStepType:
  27103. get:
  27104. produces:
  27105. - application/json
  27106. responses:
  27107. "200":
  27108. description: OK
  27109. schema:
  27110. items:
  27111. $ref: '#/definitions/models.WrPerformanceStepType'
  27112. type: array
  27113. "500":
  27114. description: Internal Server Error
  27115. schema:
  27116. $ref: '#/definitions/app.Response'
  27117. security:
  27118. - ApiKeyAuth: []
  27119. summary: 查询履约步骤枚举
  27120. tags:
  27121. - 仓单贸易v2
  27122. /WrTrade2/QueryWrPosition:
  27123. get:
  27124. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  27125. parameters:
  27126. - description: 用户id
  27127. in: query
  27128. name: userid
  27129. required: true
  27130. type: integer
  27131. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  27132. in: query
  27133. name: querytype
  27134. required: true
  27135. type: integer
  27136. - description: 0:仓单预售 1:仓单贸易
  27137. in: query
  27138. name: haswr
  27139. required: true
  27140. type: integer
  27141. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27142. in: query
  27143. name: dgitemname
  27144. type: string
  27145. - description: 仓库id(筛选条件)
  27146. in: query
  27147. name: warehouseid
  27148. type: integer
  27149. - description: 品种id
  27150. in: query
  27151. name: deliverygoodsid
  27152. type: integer
  27153. - description: 品类id
  27154. in: query
  27155. name: wrstandardid
  27156. type: integer
  27157. produces:
  27158. - application/json
  27159. responses:
  27160. "200":
  27161. description: OK
  27162. schema:
  27163. items:
  27164. $ref: '#/definitions/models.WrPosition'
  27165. type: array
  27166. "500":
  27167. description: Internal Server Error
  27168. schema:
  27169. $ref: '#/definitions/app.Response'
  27170. security:
  27171. - ApiKeyAuth: []
  27172. summary: 查询现货(预售)仓单持仓
  27173. tags:
  27174. - 仓单贸易v2
  27175. /WrTrade2/QueryWrScfContract:
  27176. get:
  27177. parameters:
  27178. - description: 用户id
  27179. in: query
  27180. name: userid
  27181. required: true
  27182. type: integer
  27183. - description: 融资合同id
  27184. in: query
  27185. name: scfcontractid
  27186. type: integer
  27187. produces:
  27188. - application/json
  27189. responses:
  27190. "200":
  27191. description: OK
  27192. schema:
  27193. items:
  27194. $ref: '#/definitions/models.WrScfContract'
  27195. type: array
  27196. "500":
  27197. description: Internal Server Error
  27198. schema:
  27199. $ref: '#/definitions/app.Response'
  27200. security:
  27201. - ApiKeyAuth: []
  27202. summary: 查询仓单贸易融资合同
  27203. tags:
  27204. - 仓单贸易v2
  27205. /WrTrade2/QueryWrScfContractInterest:
  27206. get:
  27207. parameters:
  27208. - description: 融资合同id
  27209. in: query
  27210. name: scfcontractid
  27211. type: integer
  27212. produces:
  27213. - application/json
  27214. responses:
  27215. "200":
  27216. description: OK
  27217. schema:
  27218. items:
  27219. $ref: '#/definitions/models.WrScfContractInterest'
  27220. type: array
  27221. "500":
  27222. description: Internal Server Error
  27223. schema:
  27224. $ref: '#/definitions/app.Response'
  27225. security:
  27226. - ApiKeyAuth: []
  27227. summary: 查询融资合同费用明细
  27228. tags:
  27229. - 仓单贸易v2
  27230. /WrTrade2/QueryWrSpecialMatchOrder:
  27231. get:
  27232. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  27233. parameters:
  27234. - description: 页码
  27235. in: query
  27236. name: page
  27237. type: integer
  27238. - description: 每页条数
  27239. in: query
  27240. name: pagesize
  27241. type: integer
  27242. - description: 用户id
  27243. in: query
  27244. name: userid
  27245. required: true
  27246. type: integer
  27247. - description: 仓单贸易市场id
  27248. in: query
  27249. name: marketid
  27250. type: integer
  27251. - description: 0:仓单预售 1:仓单贸易
  27252. in: query
  27253. name: haswr
  27254. required: true
  27255. type: integer
  27256. produces:
  27257. - application/json
  27258. responses:
  27259. "200":
  27260. description: OK
  27261. schema:
  27262. items:
  27263. $ref: '#/definitions/models.WrSpecialMatchOrder'
  27264. type: array
  27265. "500":
  27266. description: Internal Server Error
  27267. schema:
  27268. $ref: '#/definitions/app.Response'
  27269. security:
  27270. - ApiKeyAuth: []
  27271. summary: 查询指定成交
  27272. tags:
  27273. - 仓单贸易v2
  27274. /WrTrade2/QueryWrStandardFactoryItem:
  27275. get:
  27276. parameters:
  27277. - description: 品类id
  27278. in: query
  27279. name: wrstandardid
  27280. required: true
  27281. type: integer
  27282. produces:
  27283. - application/json
  27284. responses:
  27285. "200":
  27286. description: OK
  27287. schema:
  27288. items:
  27289. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  27290. type: array
  27291. "500":
  27292. description: Internal Server Error
  27293. schema:
  27294. $ref: '#/definitions/app.Response'
  27295. security:
  27296. - ApiKeyAuth: []
  27297. summary: 查询品类要素定义项
  27298. tags:
  27299. - 仓单贸易v2
  27300. /WrTrade2/QueryWrTradeBargainApply:
  27301. get:
  27302. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面 议价->对方议价 填写matchuserid=登录用户id
  27303. parameters:
  27304. - description: 议价人id(摘牌方)
  27305. in: query
  27306. name: userid
  27307. type: integer
  27308. - description: 挂牌方id(查对方议价时,填写此项)
  27309. in: query
  27310. name: matchuserid
  27311. type: integer
  27312. - description: 关联委托单id
  27313. in: query
  27314. name: wrtradeorderid
  27315. type: integer
  27316. - description: 0:仓单预售 1:仓单贸易
  27317. in: query
  27318. name: haswr
  27319. required: true
  27320. type: integer
  27321. produces:
  27322. - application/json
  27323. responses:
  27324. "200":
  27325. description: OK
  27326. schema:
  27327. items:
  27328. $ref: '#/definitions/models.WRTradeBargainApply'
  27329. type: array
  27330. "500":
  27331. description: Internal Server Error
  27332. schema:
  27333. $ref: '#/definitions/app.Response'
  27334. security:
  27335. - ApiKeyAuth: []
  27336. summary: 查询议价单
  27337. tags:
  27338. - 仓单贸易v2
  27339. /WrTrade2/QueryWrTradeDetail:
  27340. get:
  27341. parameters:
  27342. - description: 页码
  27343. in: query
  27344. name: page
  27345. type: integer
  27346. - description: 每页条数
  27347. in: query
  27348. name: pagesize
  27349. type: integer
  27350. - description: 用户id
  27351. in: query
  27352. name: userid
  27353. required: true
  27354. type: integer
  27355. - description: 仓单贸易市场id
  27356. in: query
  27357. name: marketid
  27358. type: integer
  27359. - description: 0:仓单预售 1:仓单贸易
  27360. in: query
  27361. name: haswr
  27362. required: true
  27363. type: integer
  27364. produces:
  27365. - application/json
  27366. responses:
  27367. "200":
  27368. description: OK
  27369. schema:
  27370. items:
  27371. $ref: '#/definitions/models.WrTradeDetail'
  27372. type: array
  27373. "500":
  27374. description: Internal Server Error
  27375. schema:
  27376. $ref: '#/definitions/app.Response'
  27377. security:
  27378. - ApiKeyAuth: []
  27379. summary: 查询仓单成交明细
  27380. tags:
  27381. - 仓单贸易v2
  27382. /WrTrade2/QueryWrTradeOrderDetail:
  27383. get:
  27384. parameters:
  27385. - description: 页码
  27386. in: query
  27387. name: page
  27388. type: integer
  27389. - description: 每页条数
  27390. in: query
  27391. name: pagesize
  27392. type: integer
  27393. - description: 商品id
  27394. in: query
  27395. name: goodsid
  27396. required: true
  27397. type: integer
  27398. - description: 买卖方向 0-买 1-卖
  27399. in: query
  27400. name: buyorsell
  27401. required: true
  27402. type: integer
  27403. produces:
  27404. - application/json
  27405. responses:
  27406. "200":
  27407. description: OK
  27408. schema:
  27409. items:
  27410. $ref: '#/definitions/models.WrTradeOrderDetail'
  27411. type: array
  27412. "500":
  27413. description: Internal Server Error
  27414. schema:
  27415. $ref: '#/definitions/app.Response'
  27416. security:
  27417. - ApiKeyAuth: []
  27418. summary: 查询合约交易买卖大厅
  27419. tags:
  27420. - 仓单贸易v2
  27421. /WrTrade2/QueryWrUserFriend:
  27422. get:
  27423. parameters:
  27424. - description: 用户id
  27425. in: query
  27426. name: userid
  27427. required: true
  27428. type: integer
  27429. - description: 新朋友userid, 如果填写了此项则查找新朋友
  27430. in: query
  27431. name: newuserid
  27432. type: integer
  27433. produces:
  27434. - application/json
  27435. responses:
  27436. "200":
  27437. description: OK
  27438. schema:
  27439. items:
  27440. $ref: '#/definitions/models.WrUserFriend'
  27441. type: array
  27442. "500":
  27443. description: Internal Server Error
  27444. schema:
  27445. $ref: '#/definitions/app.Response'
  27446. security:
  27447. - ApiKeyAuth: []
  27448. summary: 查询我的朋友
  27449. tags:
  27450. - 仓单贸易v2
  27451. /WrTrade2/QueryWrUserReceiptInfo:
  27452. get:
  27453. parameters:
  27454. - description: 用户id
  27455. in: query
  27456. name: userid
  27457. type: integer
  27458. - description: 发票类型 - 1:个人 2:企业
  27459. in: query
  27460. name: receipttype
  27461. type: integer
  27462. produces:
  27463. - application/json
  27464. responses:
  27465. "200":
  27466. description: OK
  27467. schema:
  27468. items:
  27469. $ref: '#/definitions/models.WrUserReceiptInfo'
  27470. type: array
  27471. "500":
  27472. description: Internal Server Error
  27473. schema:
  27474. $ref: '#/definitions/app.Response'
  27475. security:
  27476. - ApiKeyAuth: []
  27477. summary: 查询发票信息
  27478. tags:
  27479. - 仓单贸易v2
  27480. /ZJ/GetBankTip:
  27481. get:
  27482. produces:
  27483. - application/json
  27484. responses:
  27485. "200":
  27486. description: OK
  27487. schema:
  27488. type: string
  27489. "500":
  27490. description: Internal Server Error
  27491. schema:
  27492. $ref: '#/definitions/app.Response'
  27493. summary: 获取中江网银端出入金提示信息
  27494. tags:
  27495. - 中江
  27496. /ZJ/GetCusBankChannels:
  27497. get:
  27498. produces:
  27499. - application/json
  27500. responses:
  27501. "200":
  27502. description: OK
  27503. schema:
  27504. items:
  27505. type: string
  27506. type: array
  27507. "500":
  27508. description: Internal Server Error
  27509. schema:
  27510. $ref: '#/definitions/app.Response'
  27511. summary: 获取中江出入金渠道显示列表
  27512. tags:
  27513. - 中江
  27514. securityDefinitions:
  27515. ApiKeyAuth:
  27516. in: header
  27517. name: Authorization
  27518. type: apiKey
  27519. swagger: "2.0"