swagger.yaml 706 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539
  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.QueryImageConfigsRsp:
  54. properties:
  55. areauserid:
  56. description: 所属机构ID
  57. type: integer
  58. configid:
  59. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  60. type: integer
  61. createdate:
  62. description: 创建时间
  63. type: string
  64. creatorid:
  65. description: 创建人
  66. type: integer
  67. imagepath:
  68. description: 图片
  69. type: string
  70. imagetype:
  71. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  72. type: integer
  73. isshow:
  74. description: 是否展示 - 0:不展示 1:展示
  75. type: integer
  76. marketid:
  77. description: 市场ID
  78. type: integer
  79. modifierid:
  80. description: 操作人
  81. type: integer
  82. sort:
  83. description: 排序
  84. type: integer
  85. title:
  86. description: 标题
  87. type: string
  88. trademode:
  89. description: 交易模式
  90. type: integer
  91. updatedate:
  92. description: 修改时间
  93. type: string
  94. url:
  95. description: 链接(地址或商品ID)
  96. type: string
  97. urltype:
  98. description: 链接类型 - 1:直接地址 2:商品ID
  99. type: integer
  100. required:
  101. - configid
  102. type: object
  103. common.QueryNoticeRsp:
  104. properties:
  105. auditoruserid:
  106. description: 审核人
  107. type: integer
  108. auditremark:
  109. description: 审核备注
  110. type: string
  111. audittime:
  112. description: 审核日期
  113. type: string
  114. autoid:
  115. description: 自增ID
  116. type: integer
  117. content:
  118. description: 内容
  119. type: string
  120. createtime:
  121. description: 创建时间
  122. type: string
  123. creatorid:
  124. description: 建仓人
  125. type: integer
  126. endtime:
  127. description: 结束时间
  128. type: string
  129. istop:
  130. description: 是否置顶 - 0:不置顶 1:置顶
  131. type: integer
  132. msgiconurl:
  133. description: 消息图标Url
  134. type: string
  135. msgtype:
  136. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  137. type: integer
  138. publisher:
  139. description: 消息发布者
  140. type: string
  141. readed:
  142. description: 是否已读
  143. type: boolean
  144. scheduletime:
  145. description: 计划发送时间
  146. type: string
  147. sendtype:
  148. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  149. type: integer
  150. sentstatus:
  151. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  152. type: integer
  153. title:
  154. description: 标题
  155. type: string
  156. userid:
  157. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  158. type: integer
  159. required:
  160. - autoid
  161. type: object
  162. common.QueryProvincesAndCitiesRsp:
  163. properties:
  164. cities:
  165. description: 市
  166. items:
  167. $ref: '#/definitions/models.Division'
  168. type: array
  169. province:
  170. $ref: '#/definitions/models.Division'
  171. description: 省
  172. type: object
  173. type: object
  174. common.QueryTableDefineRsp:
  175. properties:
  176. columns:
  177. description: 列头信息数组
  178. items:
  179. $ref: '#/definitions/models.Tablecolumnconfig'
  180. type: array
  181. remark:
  182. description: Remark
  183. type: string
  184. tabelmenu:
  185. description: 列表菜单
  186. type: string
  187. tablekey:
  188. description: 列表Key
  189. type: string
  190. tablename:
  191. description: 列表名称
  192. type: string
  193. tabletype:
  194. description: 列表类型 - 1:管理端 2:终端
  195. type: integer
  196. required:
  197. - tablekey
  198. type: object
  199. common.QueryTraderMenuRsp:
  200. properties:
  201. OperationMenu:
  202. description: 功能菜单
  203. items:
  204. $ref: '#/definitions/models.OperationPrimaryMenu'
  205. type: array
  206. QuoteMenu:
  207. description: 报价牌分类菜单
  208. items:
  209. $ref: '#/definitions/models.QuotePrimaryMenu'
  210. type: array
  211. type: object
  212. cptrade.Cptradepositioncancel:
  213. properties:
  214. accountid:
  215. description: 申请人账户ID
  216. type: integer
  217. applystatus:
  218. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  219. type: integer
  220. applytime:
  221. description: 申请时间
  222. type: string
  223. cancelid:
  224. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  225. type: integer
  226. cancelqty:
  227. description: 注销数量
  228. type: integer
  229. createtime:
  230. description: 创建时间
  231. type: string
  232. creatorid:
  233. description: 创建人ID
  234. type: integer
  235. creatorname:
  236. description: 创建人
  237. type: string
  238. goodscode:
  239. description: 订单商品代码
  240. type: string
  241. goodsid:
  242. description: 商品ID
  243. type: integer
  244. goodsname:
  245. description: 订单商品名称
  246. type: string
  247. goodunit:
  248. description: 报价单位
  249. type: string
  250. handlestatus:
  251. description: 处理状态
  252. type: integer
  253. marketid:
  254. description: 市场ID
  255. type: integer
  256. marketname:
  257. description: 市场名称
  258. type: string
  259. tradedate:
  260. description: 交易日(yyyyMMdd)
  261. type: string
  262. userid:
  263. description: 申请人ID
  264. type: integer
  265. required:
  266. - cancelid
  267. type: object
  268. cptrade.Cptradepresaleapply:
  269. properties:
  270. accountid:
  271. description: 申请人账户ID
  272. type: integer
  273. applyid:
  274. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  275. type: integer
  276. applyremark:
  277. description: 申请备注
  278. type: string
  279. applystatus:
  280. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  281. type: integer
  282. applytime:
  283. description: 申请时间
  284. type: string
  285. attachmenturl:
  286. description: 附件地址
  287. type: string
  288. endtime:
  289. description: 预售结束时间
  290. type: string
  291. goodscode:
  292. description: 商品代码
  293. type: string
  294. goodsid:
  295. description: 商品ID
  296. type: integer
  297. goodsname:
  298. description: 商品名称
  299. type: string
  300. goodunit:
  301. description: 报价单位
  302. type: string
  303. handlestatus:
  304. description: 处理状态
  305. type: integer
  306. marketid:
  307. description: 预售市场ID
  308. type: integer
  309. marketname:
  310. description: 预售市场名称
  311. type: string
  312. presaleqty:
  313. description: 预售数量
  314. type: integer
  315. relatedgoodscode:
  316. description: 关联交易合约代码
  317. type: string
  318. relatedgoodsid:
  319. description: 关联交易合约ID
  320. type: integer
  321. relatedgoodsname:
  322. description: 关联交易合约名称
  323. type: string
  324. starttime:
  325. description: 预售开始时间
  326. type: string
  327. tradedate:
  328. description: 交易日(yyyyMMdd)
  329. type: string
  330. trademode:
  331. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  332. type: integer
  333. userid:
  334. description: 申请人ID
  335. type: integer
  336. required:
  337. - applyid
  338. type: object
  339. cptrade.Cptradeusergoodsdata:
  340. properties:
  341. EnabledQty:
  342. description: 可用量
  343. type: integer
  344. GoodsCode:
  345. description: 订单商品代码
  346. type: string
  347. GoodsName:
  348. description: 订单商品名称
  349. type: string
  350. WRStandardCode:
  351. description: 仓单标准代码
  352. type: string
  353. WRStandardName:
  354. description: 仓单标准名称
  355. type: string
  356. accountid:
  357. description: 账户ID
  358. type: integer
  359. cancelqty:
  360. description: 注销量
  361. type: integer
  362. curpresaleqty:
  363. description: 当前预售量
  364. type: integer
  365. deliveryqty:
  366. description: 交割量
  367. type: integer
  368. freezeamount:
  369. description: 冻结金额
  370. type: number
  371. goodsid:
  372. description: 商品ID
  373. type: integer
  374. goodunit:
  375. description: 报价单位
  376. type: string
  377. hasspotfreeze:
  378. description: 是否有现货冻结 - 0:否 1:有
  379. type: integer
  380. inqty:
  381. description: 转入量(总数量)
  382. type: integer
  383. marketid:
  384. description: 市场ID
  385. type: integer
  386. presaledamount:
  387. description: 已预售总金额
  388. type: integer
  389. presaledqty:
  390. description: 已预售量
  391. type: integer
  392. userid:
  393. description: 用户ID
  394. type: integer
  395. wrstandardid:
  396. description: 仓单标准ID
  397. type: integer
  398. required:
  399. - accountid
  400. - goodsid
  401. type: object
  402. cptrade.QueryCPTradeMyBidRsp:
  403. properties:
  404. accountid:
  405. description: 账户ID[报价币种]
  406. type: integer
  407. goodsid:
  408. description: 商品ID
  409. type: integer
  410. goodunit:
  411. description: 报价单位
  412. type: string
  413. marketid:
  414. description: 市场ID
  415. type: integer
  416. orderid:
  417. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  418. type: integer
  419. orderprice:
  420. description: 委托价格
  421. type: number
  422. orderqty:
  423. description: 委托数量
  424. type: integer
  425. ordertime:
  426. description: 委托时间
  427. type: string
  428. ordertotalprice:
  429. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  430. type: number
  431. ordertotalweight:
  432. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  433. type: integer
  434. totaltotalprice:
  435. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  436. type: number
  437. tradeprice:
  438. description: 成交价格
  439. type: number
  440. tradeqty:
  441. description: 成交数量
  442. type: integer
  443. required:
  444. - accountid
  445. - goodsid
  446. - marketid
  447. - orderid
  448. - orderqty
  449. - ordertime
  450. - tradeprice
  451. - tradeqty
  452. type: object
  453. cptrade.QueryCPTradeOrderDetailRsq:
  454. properties:
  455. accountid:
  456. description: 账户ID[报价币种]
  457. type: integer
  458. buildtype:
  459. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  460. type: integer
  461. buyorsell:
  462. description: 买卖 - 0:买 1:卖
  463. type: integer
  464. cancelorderid:
  465. description: 撤单单号(撤单时填写)
  466. type: integer
  467. cancelqty:
  468. description: 撤单数量
  469. type: integer
  470. clientordertime:
  471. description: 客户端委托时间
  472. type: string
  473. clientticket:
  474. description: 客户端流水号
  475. type: string
  476. clienttype:
  477. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  478. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  479. type: integer
  480. closeexchagechargevalue:
  481. description: 平仓交易所手续费设置值
  482. type: number
  483. closefeealgorithm:
  484. description: 平仓手续费收取方式 1:比率 2:固定
  485. type: integer
  486. closefreezecharge:
  487. description: 平仓冻结手续费(先建后平操作,需要记录)
  488. type: number
  489. closememberchargevalue:
  490. description: 平仓会员手续费设置值
  491. type: number
  492. closeqty:
  493. description: 平仓数量(先建后平操作 需要记录)
  494. type: integer
  495. closetradeqty:
  496. description: 平仓成交数量(先建后平操作,需要记录)
  497. type: integer
  498. closeunfreezecharge:
  499. description: 平仓解冻手续费(先建后平操作,需要记录)
  500. type: number
  501. delistingtype:
  502. description: 摘牌类型 - 1:价格最优 2:点选成交
  503. type: integer
  504. freezecharge:
  505. description: 冻结手续费
  506. type: number
  507. freezemargin:
  508. description: 冻结保证金(冻结交易金额)
  509. type: number
  510. gcaccountid:
  511. description: 账户ID[合约币种]
  512. type: integer
  513. goodsid:
  514. description: 商品ID
  515. type: integer
  516. isconfirmexercise:
  517. description: 是否确认行权- 0:否 1:是
  518. type: integer
  519. ispreexercise:
  520. description: 是否预申报- 0:否 1:是
  521. type: integer
  522. listingselecttype:
  523. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  524. type: integer
  525. marginalgorithm:
  526. description: 保证金收取方式 1:比率 2:固定
  527. type: integer
  528. marginvalue:
  529. description: 即市保证金设置值
  530. type: number
  531. marketid:
  532. description: 市场ID
  533. type: integer
  534. marketmaxsub:
  535. description: 市价最大偏移范围
  536. type: number
  537. memberuserid:
  538. description: 所属会员UserID
  539. type: integer
  540. openexchagechargevalue:
  541. description: 建仓交易所手续费设置值
  542. type: number
  543. openfeealgorithm:
  544. description: 建仓手续费收取方式 1:比率 2:固定
  545. type: integer
  546. openfreezecharge:
  547. description: 开仓冻结手续费(先建后平操作,需要记录)
  548. type: number
  549. openmemberchargevalue:
  550. description: 建仓会员手续费设置值
  551. type: number
  552. openqty:
  553. description: 开仓数量(先建后平操作,需要记录)
  554. type: integer
  555. opentradeqty:
  556. description: 开仓成交数量(先建后平操作,需要记录)
  557. type: integer
  558. openunfreezecharge:
  559. description: 开仓解冻手续费(先建后平操作,需要记录)
  560. type: number
  561. operatetype:
  562. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  563. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  564. 15:管理端协议转让
  565. type: integer
  566. operatorid:
  567. description: 登录账号(LoginID)
  568. type: integer
  569. optiontype:
  570. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  571. type: integer
  572. orderprice:
  573. description: 委托价格
  574. type: number
  575. orderqty:
  576. description: 委托数量
  577. type: integer
  578. ordersrc:
  579. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  580. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  581. type: integer
  582. orderstatus:
  583. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  584. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  585. 16:成交失败违约(荷兰式竞拍专用)
  586. type: integer
  587. ordertime:
  588. description: 委托时间
  589. type: string
  590. preexerciseprice:
  591. description: 预申报价格
  592. type: number
  593. premium:
  594. description: 权利金
  595. type: number
  596. preorderid:
  597. description: 关联预埋单号(止盈止损单时填写)
  598. type: integer
  599. pricemode:
  600. description: '取价方式 - 1:市价 2: 限价'
  601. type: integer
  602. quoteid:
  603. description: 报价单ID
  604. type: integer
  605. relatedid:
  606. description: 关联单号(交割单)
  607. type: integer
  608. retcode:
  609. description: 错误代码
  610. type: integer
  611. sessionid:
  612. description: 会话ID
  613. type: integer
  614. strorderid:
  615. description: 委托单号
  616. type: string
  617. tradedate:
  618. description: 交易日(yyyyMMdd)
  619. type: string
  620. tradeproperty:
  621. description: 交易属性
  622. type: integer
  623. tradeqty:
  624. description: 成交数量
  625. type: integer
  626. unfreezecharge:
  627. description: 解冻手续费
  628. type: number
  629. unfreezemargin:
  630. description: 解冻保证金
  631. type: number
  632. updatetime:
  633. description: 更新时间
  634. type: string
  635. uuid:
  636. description: 发起端唯一id
  637. type: string
  638. validtime:
  639. description: 有效期限
  640. type: string
  641. validtype:
  642. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  643. type: integer
  644. volumetype:
  645. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  646. type: integer
  647. required:
  648. - accountid
  649. - buildtype
  650. - buyorsell
  651. - goodsid
  652. - marketid
  653. - memberuserid
  654. - operatetype
  655. - orderqty
  656. - ordertime
  657. - pricemode
  658. - strorderid
  659. - tradedate
  660. - validtype
  661. type: object
  662. cptrade.QueryMyCPTradeGoodsRsp:
  663. properties:
  664. accountid:
  665. description: 卖方账户ID
  666. type: integer
  667. agreeunit:
  668. description: 合约单位
  669. type: number
  670. applyid:
  671. description: 关联申请ID
  672. type: integer
  673. attachmenturl:
  674. description: 附件地址
  675. type: string
  676. createtime:
  677. description: 创建时间
  678. type: string
  679. currencyid:
  680. description: 报价货币ID
  681. type: integer
  682. decimalplace:
  683. description: 报价小数位
  684. type: integer
  685. endtime:
  686. description: 预售结束时间
  687. type: string
  688. floorprice:
  689. description: 底价[大宗式竞拍]
  690. type: number
  691. goodscode:
  692. description: 商品代码(预售)
  693. type: string
  694. goodsdetail:
  695. description: 详情[大宗]
  696. type: string
  697. goodsid:
  698. description: 商品ID(自增ID SEQ_GOODS)
  699. type: integer
  700. goodsname:
  701. description: 商品名称(预售)
  702. type: string
  703. goodunit:
  704. description: 报价单位
  705. type: string
  706. goodunitid:
  707. description: 报价单位ID
  708. type: integer
  709. marketid:
  710. description: 所属市场ID
  711. type: integer
  712. marketname:
  713. description: 预售市场名称
  714. type: string
  715. presaledamount:
  716. description: 已预售总金额(预售结束时更新)
  717. type: number
  718. presaledqty:
  719. description: 已预售量(预售结束时更新)
  720. type: integer
  721. presalemode:
  722. description: 预售模式 - 1:一口价 2:大宗式竞拍
  723. type: integer
  724. presaleqty:
  725. description: 预售数量
  726. type: integer
  727. refprice:
  728. description: 参考价格[一口价]
  729. type: number
  730. relatedgoodscode:
  731. description: 商品代码(订单)
  732. type: string
  733. relatedgoodsid:
  734. description: 关联交易合约ID
  735. type: integer
  736. relatedgoodsname:
  737. description: 商品名称(订单)
  738. type: string
  739. relatedmarketid:
  740. description: 关联交易合约市场ID
  741. type: integer
  742. sellstatus:
  743. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  744. type: integer
  745. startprice:
  746. description: 起拍价[大宗式竞拍]
  747. type: number
  748. starttime:
  749. description: 预售开始时间
  750. type: string
  751. tradedate:
  752. description: 交易日(yyyyMMdd)
  753. type: string
  754. tradeprice:
  755. description: 成交价[大宗]
  756. type: number
  757. userid:
  758. description: 卖方用户ID
  759. type: integer
  760. required:
  761. - goodscode
  762. - goodsid
  763. - goodsname
  764. - marketid
  765. - relatedgoodscode
  766. - relatedgoodsname
  767. type: object
  768. cptrade.QueryPresaleGoodsExRsp:
  769. properties:
  770. attachmenturl:
  771. description: 附件地址
  772. type: string
  773. createtime:
  774. description: 创建时间
  775. type: string
  776. endtime:
  777. description: 预售结束时间
  778. type: string
  779. floorprice:
  780. description: 底价[大宗式竞拍]
  781. type: number
  782. goodsdetail:
  783. description: 详情[大宗]
  784. type: string
  785. goodsid:
  786. description: 商品ID(预售)
  787. type: integer
  788. goodunit:
  789. description: 报价单位
  790. type: string
  791. marketid:
  792. description: 预售市场ID - 根据预售模式选择市场
  793. type: integer
  794. presaledamount:
  795. description: 已预售总金额(预售结束时更新)
  796. type: number
  797. presaledqty:
  798. description: 已预售量(预售结束时更新)
  799. type: integer
  800. presalemode:
  801. description: 预售模式 - 1:一口价 2:大宗式竞拍
  802. type: integer
  803. presaleqty:
  804. description: 预售数量
  805. type: integer
  806. refprice:
  807. description: 参考价格[一口价]
  808. type: number
  809. relatedgoodsid:
  810. description: 关联交易合约ID
  811. type: integer
  812. relatedmarketid:
  813. description: 关联交易合约市场ID
  814. type: integer
  815. sellstatus:
  816. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  817. type: integer
  818. startprice:
  819. description: 起拍价[大宗式竞拍]
  820. type: number
  821. starttime:
  822. description: 预售开始时间
  823. type: string
  824. tradedate:
  825. description: 交易日(yyyyMMdd)
  826. type: string
  827. tradeprice:
  828. description: 成交价[大宗]
  829. type: number
  830. required:
  831. - goodsid
  832. type: object
  833. delivery.QueryDeliveryRelationRsp:
  834. properties:
  835. begindate:
  836. description: 起始日期(yyyyMMdd)
  837. type: string
  838. buytemplateid:
  839. description: 买履约计划模板ID
  840. type: integer
  841. deliverygoodscode:
  842. description: 品种代码
  843. type: string
  844. deliverygoodsid:
  845. description: 交割商品
  846. type: integer
  847. deliverygoodsname:
  848. description: 品种名称
  849. type: string
  850. deliverymode:
  851. description: 交割方式 - 1:点选式 2:申报式
  852. type: integer
  853. deliverypricerule:
  854. description: 交割价规则- 1:行情价 2:建仓价
  855. type: integer
  856. deliverytype:
  857. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  858. type: integer
  859. enddate:
  860. description: 结束日期(yyyyMMdd)
  861. type: string
  862. enumdicname:
  863. description: 品类单位名称
  864. type: string
  865. goodscode:
  866. description: 商品代码
  867. type: string
  868. goodsid:
  869. description: 交易合约ID
  870. type: integer
  871. goodsname:
  872. description: 商品名称
  873. type: string
  874. marketid:
  875. description: 市场ID
  876. type: integer
  877. mindeliveryqty:
  878. description: 最小交割系数(K)
  879. type: integer
  880. p2deliveryprice:
  881. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  882. type: number
  883. p2deliveryratio:
  884. description: P2合约系数(p)
  885. type: integer
  886. p2goodsid:
  887. description: P2合约ID
  888. type: integer
  889. p2pricemode:
  890. description: P2合约价格方式 - 1:商品价 2:固定值
  891. type: integer
  892. pdeliveryprice:
  893. description: P合约价格(商品价时填写0,固定值时填写固定值)
  894. type: number
  895. pdeliveryratio:
  896. description: P合约系数(n)
  897. type: integer
  898. pgoodscode:
  899. description: p合约代码
  900. type: string
  901. pgoodsid:
  902. description: P合约ID
  903. type: integer
  904. ppricemode:
  905. description: P合约价格方式 - 1:商品价 2:固定值
  906. type: integer
  907. rratio:
  908. description: 兑换系数(R)
  909. type: integer
  910. rratio1:
  911. description: 兑换系数(交易合约)(R1)
  912. type: integer
  913. rratio2:
  914. description: 兑换系数(仓单标准)(R2)
  915. type: integer
  916. selltemplateid:
  917. description: 卖履约计划模板ID
  918. type: integer
  919. wrstandardid:
  920. description: 仓单标准ID
  921. type: integer
  922. xdeliveryratio:
  923. description: 交易合约系数(m)
  924. type: integer
  925. required:
  926. - begindate
  927. - enddate
  928. - goodsid
  929. - mindeliveryqty
  930. - xdeliveryratio
  931. type: object
  932. ermcp.ExposureDetailRsp:
  933. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  934. ermcp.ExposureHedgePosDetailRsp:
  935. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  936. ermcp.ExposureHedgePositionRsp:
  937. $ref: '#/definitions/models.ErmcpHedgePosition'
  938. ermcp.ExposureSpotDetailRsp:
  939. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  940. ermcp.ExposureSpotRsp:
  941. $ref: '#/definitions/models.AreaSpotModel'
  942. ermcp.HisExposureRsp:
  943. $ref: '#/definitions/models.ErmcpHisExposureS'
  944. ermcp.PendingAuditCntRsp:
  945. $ref: '#/definitions/models.ErmcpPendingAudit'
  946. ermcp.QryAvalidGPRsp:
  947. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  948. ermcp.QryBusinessDjRsp:
  949. properties:
  950. amount:
  951. description: 点价金额=(点价价格+升贴水)*点价数量
  952. type: number
  953. applyid:
  954. description: 申请人
  955. type: string
  956. applyname:
  957. description: 申请人名称
  958. type: string
  959. applystatus:
  960. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  961. type: integer
  962. applytime:
  963. description: 申请时间
  964. type: string
  965. attachurl:
  966. description: 附件
  967. type: string
  968. auditid:
  969. description: 审核人ID
  970. type: string
  971. auditname:
  972. description: 审核人名称
  973. type: string
  974. audittime:
  975. description: 审核时间
  976. type: string
  977. buyusername:
  978. description: 采购方名称
  979. type: string
  980. contractno:
  981. description: 合同编号
  982. type: string
  983. contractstatus:
  984. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  985. type: integer
  986. contracttype:
  987. description: 现货合同类型 - 1:采购 -1:销售
  988. type: integer
  989. deliverygoodscode:
  990. description: 现货品种代码
  991. type: string
  992. deliverygoodsid:
  993. description: 现货商品ID
  994. type: integer
  995. deliverygoodsname:
  996. description: 现货品种名称
  997. type: string
  998. enumdicname:
  999. description: 单位名称
  1000. type: string
  1001. goodscode:
  1002. description: 点价合约
  1003. type: string
  1004. goodsname:
  1005. description: 商品名称
  1006. type: string
  1007. operateapplyid:
  1008. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1009. type: string
  1010. operateapplytype:
  1011. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1012. type: integer
  1013. pricedPrice:
  1014. description: 点价价格(非必填)
  1015. type: number
  1016. pricedQty:
  1017. description: 点价数量(非必填)
  1018. type: number
  1019. pricemove:
  1020. description: 升贴水
  1021. type: number
  1022. pricetype:
  1023. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1024. type: integer
  1025. relatedid:
  1026. description: 现货合同ID
  1027. type: string
  1028. sellusername:
  1029. description: 销售方名字
  1030. type: string
  1031. userid:
  1032. description: 用户ID
  1033. type: integer
  1034. wrstandardcode:
  1035. description: 品类代码
  1036. type: string
  1037. wrstandardid:
  1038. description: 品类id
  1039. type: integer
  1040. wrstandardname:
  1041. description: 品类名称
  1042. type: string
  1043. type: object
  1044. ermcp.QryBussinessFpRsp:
  1045. properties:
  1046. applyid:
  1047. description: 申请人
  1048. type: string
  1049. applyname:
  1050. description: 申请人名称
  1051. type: string
  1052. applystatus:
  1053. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1054. type: integer
  1055. applytime:
  1056. description: 申请时间
  1057. type: string
  1058. attachurl:
  1059. description: 附件
  1060. type: string
  1061. auditid:
  1062. description: 审核人ID
  1063. type: string
  1064. auditname:
  1065. description: 审核人名称
  1066. type: string
  1067. audittime:
  1068. description: 审核时间
  1069. type: string
  1070. buyusername:
  1071. description: 采购方名称
  1072. type: string
  1073. contractno:
  1074. description: 合同编号
  1075. type: string
  1076. contractstatus:
  1077. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1078. type: integer
  1079. contracttype:
  1080. description: 现货合同类型 - 1:采购 -1:销售
  1081. type: integer
  1082. deliverygoodscode:
  1083. description: 现货品种代码
  1084. type: string
  1085. deliverygoodsid:
  1086. description: 现货商品ID
  1087. type: integer
  1088. deliverygoodsname:
  1089. description: 现货品种名称
  1090. type: string
  1091. enumdicname:
  1092. description: 单位名称
  1093. type: string
  1094. goodscode:
  1095. description: 点价合约
  1096. type: string
  1097. goodsname:
  1098. description: 商品名称
  1099. type: string
  1100. invoiceAmount:
  1101. description: 已开收票金额(销售为开票,采购为收票)
  1102. type: number
  1103. operateapplyid:
  1104. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1105. type: string
  1106. operateapplytype:
  1107. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1108. type: integer
  1109. pricemove:
  1110. description: 升贴水
  1111. type: number
  1112. pricetype:
  1113. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1114. type: integer
  1115. relatedid:
  1116. description: 现货合同ID
  1117. type: string
  1118. sellusername:
  1119. description: 销售方名字
  1120. type: string
  1121. userid:
  1122. description: 用户ID
  1123. type: integer
  1124. wrstandardcode:
  1125. description: 品类代码
  1126. type: string
  1127. wrstandardid:
  1128. description: 品类id
  1129. type: integer
  1130. wrstandardname:
  1131. description: 品类名称
  1132. type: string
  1133. type: object
  1134. ermcp.QryBussinessJsExRsp:
  1135. properties:
  1136. applyid:
  1137. description: 申请人
  1138. type: string
  1139. applyname:
  1140. description: 申请人名称
  1141. type: string
  1142. applystatus:
  1143. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1144. type: integer
  1145. applytime:
  1146. description: 申请时间
  1147. type: string
  1148. attachurl:
  1149. description: 附件
  1150. type: string
  1151. auditid:
  1152. description: 审核人ID
  1153. type: string
  1154. auditname:
  1155. description: 审核人名称
  1156. type: string
  1157. audittime:
  1158. description: 审核时间
  1159. type: string
  1160. buyusername:
  1161. description: 采购方名称
  1162. type: string
  1163. contractno:
  1164. description: 合同编号
  1165. type: string
  1166. contractstatus:
  1167. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1168. type: integer
  1169. contracttype:
  1170. description: 现货合同类型 - 1:采购 -1:销售
  1171. type: integer
  1172. deliverygoodscode:
  1173. description: 现货品种代码
  1174. type: string
  1175. deliverygoodsid:
  1176. description: 现货商品ID
  1177. type: integer
  1178. deliverygoodsname:
  1179. description: 现货品种名称
  1180. type: string
  1181. enumdicname:
  1182. description: 单位名称
  1183. type: string
  1184. goodscode:
  1185. description: 点价合约
  1186. type: string
  1187. goodsname:
  1188. description: 商品名称
  1189. type: string
  1190. operateapplyid:
  1191. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1192. type: string
  1193. operateapplytype:
  1194. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1195. type: integer
  1196. pricemove:
  1197. description: 升贴水
  1198. type: number
  1199. pricetype:
  1200. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1201. type: integer
  1202. reckontype:
  1203. description: 结算类型
  1204. type: string
  1205. reckonvalue:
  1206. description: 值
  1207. type: number
  1208. relatedid:
  1209. description: 现货合同ID
  1210. type: string
  1211. sellusername:
  1212. description: 销售方名字
  1213. type: string
  1214. userid:
  1215. description: 用户ID
  1216. type: integer
  1217. wrstandardcode:
  1218. description: 品类代码
  1219. type: string
  1220. wrstandardid:
  1221. description: 品类id
  1222. type: integer
  1223. wrstandardname:
  1224. description: 品类名称
  1225. type: string
  1226. type: object
  1227. ermcp.QryBussinessJsRsp:
  1228. properties:
  1229. addmargin:
  1230. description: 追加保证金(非必填)
  1231. type: number
  1232. applyid:
  1233. description: 申请人
  1234. type: string
  1235. applyname:
  1236. description: 申请人名称
  1237. type: string
  1238. applystatus:
  1239. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1240. type: integer
  1241. applytime:
  1242. description: 申请时间
  1243. type: string
  1244. attachurl:
  1245. description: 附件
  1246. type: string
  1247. auditid:
  1248. description: 审核人ID
  1249. type: string
  1250. auditname:
  1251. description: 审核人名称
  1252. type: string
  1253. audittime:
  1254. description: 审核时间
  1255. type: string
  1256. buyusername:
  1257. description: 采购方名称
  1258. type: string
  1259. contractno:
  1260. description: 合同编号
  1261. type: string
  1262. contractstatus:
  1263. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1264. type: integer
  1265. contracttype:
  1266. description: 现货合同类型 - 1:采购 -1:销售
  1267. type: integer
  1268. decmargin:
  1269. description: 减少保证金(非必填)
  1270. type: number
  1271. deliverygoodscode:
  1272. description: 现货品种代码
  1273. type: string
  1274. deliverygoodsid:
  1275. description: 现货商品ID
  1276. type: integer
  1277. deliverygoodsname:
  1278. description: 现货品种名称
  1279. type: string
  1280. enumdicname:
  1281. description: 单位名称
  1282. type: string
  1283. goodscode:
  1284. description: 点价合约
  1285. type: string
  1286. goodsname:
  1287. description: 商品名称
  1288. type: string
  1289. operateapplyid:
  1290. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1291. type: string
  1292. operateapplytype:
  1293. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1294. type: integer
  1295. pricemove:
  1296. description: 升贴水
  1297. type: number
  1298. pricetype:
  1299. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1300. type: integer
  1301. reckonadjustamount:
  1302. description: 结算调整金额(非必填)
  1303. type: number
  1304. reckonosamount:
  1305. description: 结算溢短金额(非必填)
  1306. type: number
  1307. reckonotheramount:
  1308. description: 结算其他费用(非必填)
  1309. type: number
  1310. reckonrealqty:
  1311. description: 结算实际数量(非必填)
  1312. type: number
  1313. relatedid:
  1314. description: 现货合同ID
  1315. type: string
  1316. sellusername:
  1317. description: 销售方名字
  1318. type: string
  1319. userid:
  1320. description: 用户ID
  1321. type: integer
  1322. wrstandardcode:
  1323. description: 品类代码
  1324. type: string
  1325. wrstandardid:
  1326. description: 品类id
  1327. type: integer
  1328. wrstandardname:
  1329. description: 品类名称
  1330. type: string
  1331. type: object
  1332. ermcp.QryBussinessKxRsp:
  1333. properties:
  1334. applyid:
  1335. description: 申请人
  1336. type: string
  1337. applyname:
  1338. description: 申请人名称
  1339. type: string
  1340. applystatus:
  1341. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1342. type: integer
  1343. applytime:
  1344. description: 申请时间
  1345. type: string
  1346. attachurl:
  1347. description: 附件
  1348. type: string
  1349. auditid:
  1350. description: 审核人ID
  1351. type: string
  1352. auditname:
  1353. description: 审核人名称
  1354. type: string
  1355. audittime:
  1356. description: 审核时间
  1357. type: string
  1358. buyusername:
  1359. description: 采购方名称
  1360. type: string
  1361. contractno:
  1362. description: 合同编号
  1363. type: string
  1364. contractstatus:
  1365. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1366. type: integer
  1367. contracttype:
  1368. description: 现货合同类型 - 1:采购 -1:销售
  1369. type: integer
  1370. deductamount:
  1371. description: 退款(非必填)
  1372. type: number
  1373. deliverygoodscode:
  1374. description: 现货品种代码
  1375. type: string
  1376. deliverygoodsid:
  1377. description: 现货商品ID
  1378. type: integer
  1379. deliverygoodsname:
  1380. description: 现货品种名称
  1381. type: string
  1382. enumdicname:
  1383. description: 单位名称
  1384. type: string
  1385. goodscode:
  1386. description: 点价合约
  1387. type: string
  1388. goodsname:
  1389. description: 商品名称
  1390. type: string
  1391. kxtype:
  1392. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1393. type: integer
  1394. operateapplyid:
  1395. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1396. type: string
  1397. operateapplytype:
  1398. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1399. type: integer
  1400. payamount:
  1401. description: 收付款(非必填)
  1402. type: number
  1403. pricemove:
  1404. description: 升贴水
  1405. type: number
  1406. pricetype:
  1407. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1408. type: integer
  1409. relatedid:
  1410. description: 现货合同ID
  1411. type: string
  1412. sellusername:
  1413. description: 销售方名字
  1414. type: string
  1415. userid:
  1416. description: 用户ID
  1417. type: integer
  1418. wrstandardcode:
  1419. description: 品类代码
  1420. type: string
  1421. wrstandardid:
  1422. description: 品类id
  1423. type: integer
  1424. wrstandardname:
  1425. description: 品类名称
  1426. type: string
  1427. type: object
  1428. ermcp.QryGGCovertCfgRsp:
  1429. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1430. ermcp.QryMGChangeLogRsp:
  1431. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1432. ermcp.QryMiddleGoodsDetailRsp:
  1433. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1434. ermcp.QryMiddleGoodsRsp:
  1435. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1436. ermcp.QryOPLogRsp:
  1437. $ref: '#/definitions/models.ErmcpOPLogModel'
  1438. ermcp.QryUserInfoRsp:
  1439. $ref: '#/definitions/models.ErmcpUserModel'
  1440. ermcp.QryWarehouseRsp:
  1441. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1442. ermcp.QueryErmcpTradePositionRsp:
  1443. properties:
  1444. agreeunit:
  1445. description: 合约单位
  1446. type: number
  1447. buyorsell:
  1448. description: 方向 - 0:买 1:卖
  1449. type: integer
  1450. curpositionqty:
  1451. description: 持仓(总仓数量, 期末头寸)
  1452. type: integer
  1453. curtdposition:
  1454. description: 今仓数量(期末今日头寸)
  1455. type: integer
  1456. curtdpositionenabled:
  1457. description: 今仓可用
  1458. type: integer
  1459. decimalplace:
  1460. description: 报价小数位
  1461. type: integer
  1462. enableqty:
  1463. description: 可用(总仓可用)
  1464. type: integer
  1465. exexchangename:
  1466. description: 外部交易所名称
  1467. type: string
  1468. goodscode:
  1469. description: 商品代码(内部)
  1470. type: string
  1471. goodsid:
  1472. description: 商品ID(自增ID SEQ_GOODS)
  1473. type: integer
  1474. goodsname:
  1475. description: 商品名称
  1476. type: string
  1477. last:
  1478. description: 现价
  1479. type: number
  1480. marketid:
  1481. description: 所属市场ID
  1482. type: integer
  1483. openaverageprice:
  1484. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1485. type: number
  1486. opencost:
  1487. description: 开仓成本
  1488. type: number
  1489. openpl:
  1490. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1491. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1492. type: number
  1493. outgoodscode:
  1494. description: 商品代码(外部)
  1495. type: string
  1496. positionaverageprice:
  1497. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1498. type: number
  1499. positioncost:
  1500. description: 持仓成本
  1501. type: number
  1502. positionpl:
  1503. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1504. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1505. type: number
  1506. positionplrate:
  1507. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1508. type: number
  1509. usedmargin:
  1510. description: 占用保证金
  1511. type: number
  1512. type: object
  1513. ermcp.RealtimeExposurePositionRsp:
  1514. $ref: '#/definitions/models.ErmcpExposurePostion'
  1515. ermcp.RealtimeExposureRsp:
  1516. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1517. erms2.QueryArbitrageStrategyRsp:
  1518. properties:
  1519. applybasis:
  1520. description: 申请基差
  1521. type: number
  1522. asapplyid:
  1523. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1524. type: string
  1525. asname:
  1526. description: 策略名称
  1527. type: string
  1528. asno:
  1529. description: 策略编号
  1530. type: string
  1531. basischangepl:
  1532. description: 基差变动损益[结算更新]
  1533. type: number
  1534. biztype:
  1535. description: 业务类型 - 1:正向套利 -1:反向套利
  1536. type: integer
  1537. closetradedate:
  1538. description: 完结交易日(yyyyMMdd)
  1539. type: string
  1540. curbasis:
  1541. description: 当前基差[结算更新]
  1542. type: number
  1543. deliverygoodsid:
  1544. description: 现货品种ID
  1545. type: integer
  1546. futureavgprice:
  1547. description: 期货建仓均价
  1548. type: number
  1549. futurecloseamount:
  1550. description: 期货平仓金额
  1551. type: number
  1552. futurecloseqty:
  1553. description: 期货平仓数量
  1554. type: number
  1555. futureopenamount:
  1556. description: 期货开仓金额
  1557. type: number
  1558. futureopenqty:
  1559. description: 期货开仓数量
  1560. type: number
  1561. futurepl:
  1562. description: 期货总盈亏[结算更新]
  1563. type: number
  1564. futureqty:
  1565. description: 期货持仓数量
  1566. type: number
  1567. futurequote:
  1568. description: 期货额度
  1569. type: number
  1570. goodsgroupid:
  1571. description: 期货品种ID
  1572. type: integer
  1573. marketid:
  1574. description: 市场ID
  1575. type: integer
  1576. netexposure:
  1577. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1578. type: number
  1579. netexposurepl:
  1580. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1581. type: number
  1582. netexposurerate:
  1583. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1584. type: number
  1585. openbasis:
  1586. description: 建仓基差
  1587. type: number
  1588. pricedspotqty:
  1589. description: 已定价现货数量
  1590. type: number
  1591. pricedspotqtynotax:
  1592. description: 已定价现货不含税数量
  1593. type: number
  1594. remark:
  1595. description: 备注
  1596. type: string
  1597. spotavgprice:
  1598. description: 现货均价
  1599. type: number
  1600. spotbuyamount:
  1601. description: 现货采购金额
  1602. type: number
  1603. spotbuyqty:
  1604. description: 现货采购数量
  1605. type: number
  1606. spotpl:
  1607. description: 现货总盈亏[结算更新]
  1608. type: number
  1609. spotquota:
  1610. description: 现货额度
  1611. type: number
  1612. spotsellamount:
  1613. description: 现货销售金额
  1614. type: number
  1615. spotsellqty:
  1616. description: 现货销售数量
  1617. type: number
  1618. spotusedquota:
  1619. description: 现货占用资金
  1620. type: number
  1621. strategystatus:
  1622. description: 策略状态 - 0:未结束 1:已结束
  1623. type: integer
  1624. totalpl:
  1625. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1626. type: number
  1627. tradedate:
  1628. description: 交易日(yyyyMMdd)
  1629. type: string
  1630. updatetime:
  1631. description: 更新时间
  1632. type: string
  1633. usedquota:
  1634. description: 已占用资金
  1635. type: number
  1636. userid:
  1637. description: 所属机构
  1638. type: integer
  1639. required:
  1640. - asapplyid
  1641. type: object
  1642. erms2.QueryInnerTradeDetailRsp:
  1643. properties:
  1644. accountid:
  1645. description: 账号ID
  1646. type: integer
  1647. agreeunit:
  1648. description: 合约单位
  1649. type: number
  1650. asapplyid:
  1651. description: 策略申请ID
  1652. type: integer
  1653. asname:
  1654. description: 策略名称
  1655. type: string
  1656. asno:
  1657. description: 策略编号
  1658. type: string
  1659. buyorsell:
  1660. description: 方向 - 0:买 1:卖
  1661. type: integer
  1662. channelbuildtype:
  1663. description: 委托单据类型 0:无 1:建仓 2:平仓
  1664. type: integer
  1665. closetype:
  1666. description: 平仓方式 - 0:无 1:平今 2:平昨
  1667. type: integer
  1668. decimalplace:
  1669. description: 报价小数位
  1670. type: integer
  1671. detailtype:
  1672. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1673. type: integer
  1674. exexchangecode:
  1675. description: 外部交易所代码
  1676. type: string
  1677. exexchangename:
  1678. description: 外部交易所名称
  1679. type: string
  1680. goodscode:
  1681. description: 商品代码(合约)
  1682. type: string
  1683. goodsgroupid:
  1684. description: 商品组ID(品种ID)
  1685. type: integer
  1686. goodsgroupname:
  1687. description: 商品组名称(品种)
  1688. type: string
  1689. goodsid:
  1690. description: 商品ID
  1691. type: integer
  1692. goodsname:
  1693. description: 商品名称(合约)
  1694. type: string
  1695. goodunit:
  1696. description: 报价单位
  1697. type: string
  1698. marketid:
  1699. description: 市场ID
  1700. type: integer
  1701. orderid:
  1702. description: 委托单号
  1703. type: string
  1704. outgoodscode:
  1705. description: 商品代码(外部)
  1706. type: string
  1707. relatedouttradeid:
  1708. description: 关联外部成交单ID
  1709. type: string
  1710. remark:
  1711. description: 备注
  1712. type: string
  1713. spotcontractid:
  1714. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1715. type: integer
  1716. spotcontractno:
  1717. description: 现货合同编号
  1718. type: string
  1719. tradeid:
  1720. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1721. type: string
  1722. tradeprice:
  1723. description: 成交价格
  1724. type: number
  1725. tradeqty:
  1726. description: 成交数量
  1727. type: integer
  1728. tradetime:
  1729. description: 成交时间
  1730. type: string
  1731. updatetime:
  1732. description: 更新时间
  1733. type: string
  1734. required:
  1735. - asapplyid
  1736. - buyorsell
  1737. - goodscode
  1738. - goodsgroupid
  1739. - goodsgroupname
  1740. - goodsname
  1741. - tradeid
  1742. type: object
  1743. erms2.QuerySpotContractRsp:
  1744. properties:
  1745. accountid:
  1746. description: 资金账户ID
  1747. type: integer
  1748. areauserid:
  1749. description: 所属机构
  1750. type: integer
  1751. closedate:
  1752. description: 终止日期
  1753. type: string
  1754. closeremark:
  1755. description: 结束备注
  1756. type: string
  1757. closetradedate:
  1758. description: 完结交易日(yyyyMMdd)
  1759. type: string
  1760. closetype:
  1761. description: 终止类型 - 1:违约 2:提前终止
  1762. type: integer
  1763. contractamount:
  1764. description: 合同金额
  1765. type: number
  1766. contractattachment:
  1767. description: 合同附件
  1768. type: string
  1769. contractno:
  1770. description: 现货合同编号
  1771. type: string
  1772. contractqty:
  1773. description: 合同数量(数值) (用于计算)
  1774. type: number
  1775. contractqtychar:
  1776. description: 合同数量\已订价数量 (用于显示)
  1777. type: string
  1778. contractstatus:
  1779. description: 合同状态 - 0:未结束 1:已结束
  1780. type: integer
  1781. contracttype:
  1782. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1783. type: integer
  1784. customeraccountid:
  1785. description: 客户资金账户ID
  1786. type: integer
  1787. customeruserid:
  1788. description: 客户ID
  1789. type: integer
  1790. deliverygoodsdesc:
  1791. description: 品种说明
  1792. type: string
  1793. deliverygoodsid:
  1794. description: 现货品种ID
  1795. type: integer
  1796. handlestatus:
  1797. description: 处理状态
  1798. type: integer
  1799. invoiceatt:
  1800. description: 发票附件
  1801. type: string
  1802. invoicedatetime:
  1803. description: 开收票更新时间
  1804. type: string
  1805. invoiceopentime:
  1806. description: 开票时间
  1807. type: string
  1808. invoiceremark:
  1809. description: 发票备注
  1810. type: string
  1811. invoicestatus:
  1812. description: 开收票状态 - 0:未开票 1:已开票
  1813. type: integer
  1814. lastdate:
  1815. description: 交货时间
  1816. type: string
  1817. marketid:
  1818. description: 市场ID
  1819. type: integer
  1820. paydatetime:
  1821. description: 收付款更新时间
  1822. type: string
  1823. payremark:
  1824. description: 收付款备注
  1825. type: string
  1826. paystatus:
  1827. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1828. type: integer
  1829. positionqty:
  1830. description: 头寸数量 - 合同数量去小数部分
  1831. type: integer
  1832. producttype:
  1833. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1834. type: integer
  1835. relatedqty:
  1836. description: 已关联数量
  1837. type: number
  1838. relatedstatus:
  1839. description: 关联完结状态 - 0:未结束 1:已结束
  1840. type: integer
  1841. remark:
  1842. description: 备注
  1843. type: string
  1844. signdate:
  1845. description: 签订日期
  1846. type: string
  1847. spotcontractid:
  1848. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1849. type: string
  1850. spotdatetime:
  1851. description: 收发货更新时间
  1852. type: string
  1853. spotprice:
  1854. description: 价格
  1855. type: number
  1856. spotremark:
  1857. description: 收发货备注
  1858. type: string
  1859. spotstatus:
  1860. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1861. type: integer
  1862. tradedate:
  1863. description: 交易日(yyyyMMdd)
  1864. type: string
  1865. userid:
  1866. description: 业务员用户ID
  1867. type: integer
  1868. warehouseid:
  1869. description: 仓库ID
  1870. type: integer
  1871. wrfactortypeid:
  1872. description: 仓单要素类型ID
  1873. type: integer
  1874. wrstandardid:
  1875. description: 仓单标准ID(SEQ_WRSTANDARD)
  1876. type: integer
  1877. required:
  1878. - spotcontractid
  1879. type: object
  1880. erms3.AddErms2ASApplyReq:
  1881. properties:
  1882. applybasis:
  1883. description: 申请基差
  1884. type: number
  1885. applystatus:
  1886. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1887. type: integer
  1888. asapplyid:
  1889. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1890. type: integer
  1891. asname:
  1892. description: 策略名称
  1893. type: string
  1894. asno:
  1895. description: 策略编号
  1896. type: string
  1897. auditid:
  1898. description: 审核人
  1899. type: integer
  1900. auditremark:
  1901. description: 审核备注
  1902. type: string
  1903. audittime:
  1904. description: 审核时间
  1905. type: string
  1906. biztype:
  1907. description: 业务类型 - 1:正向套利 2:反向套利
  1908. type: integer
  1909. createtime:
  1910. description: 创建时间
  1911. type: string
  1912. creatorid:
  1913. description: 创建人
  1914. type: integer
  1915. deliverygoodsid:
  1916. description: 现货品种ID
  1917. type: integer
  1918. futurequote:
  1919. description: 期货额度
  1920. type: number
  1921. goodsgroupid:
  1922. description: 期货品种ID
  1923. type: integer
  1924. marketid:
  1925. description: 市场ID
  1926. type: integer
  1927. remark:
  1928. description: 备注
  1929. type: string
  1930. spotquota:
  1931. description: 现货额度
  1932. type: number
  1933. tradedate:
  1934. description: 交易日(yyyyMMdd)
  1935. type: string
  1936. userid:
  1937. description: 所属机构
  1938. type: integer
  1939. required:
  1940. - asapplyid
  1941. type: object
  1942. erms3.AddErms2SpotTradeApplyReq:
  1943. properties:
  1944. applyjsondetail:
  1945. description: 申请明细(JSON)
  1946. type: string
  1947. applystatus:
  1948. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1949. type: integer
  1950. areauserid:
  1951. description: 所属机构
  1952. type: integer
  1953. auditid:
  1954. description: 审核人
  1955. type: integer
  1956. auditremark:
  1957. description: 审核备注
  1958. type: string
  1959. audittime:
  1960. description: 审核时间
  1961. type: string
  1962. createtime:
  1963. description: 创建时间
  1964. type: string
  1965. creatorid:
  1966. description: 创建人
  1967. type: integer
  1968. deliverygoodsid:
  1969. description: 现货品种ID
  1970. type: integer
  1971. futureaccountid:
  1972. description: 期货资金账户
  1973. type: integer
  1974. goodsgroupid:
  1975. description: 期货品种
  1976. type: integer
  1977. marketid:
  1978. description: 市场ID
  1979. type: integer
  1980. remark:
  1981. description: 备注
  1982. type: string
  1983. spotaccountid:
  1984. description: 现货资金账户
  1985. type: integer
  1986. spottradeid:
  1987. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1988. type: integer
  1989. spottradename:
  1990. description: 业务名称
  1991. type: string
  1992. spottradeno:
  1993. description: 业务编号
  1994. type: string
  1995. tradedate:
  1996. description: 交易日(yyyyMMdd)
  1997. type: string
  1998. wrstandardid:
  1999. description: 仓单标准ID
  2000. type: integer
  2001. required:
  2002. - spottradeid
  2003. type: object
  2004. erms3.AddSpotContractApplyReq:
  2005. properties:
  2006. accountid:
  2007. description: 资金账户ID
  2008. type: integer
  2009. areauserid:
  2010. description: 所属机构
  2011. type: integer
  2012. contractattachment:
  2013. description: 合同附件
  2014. type: string
  2015. contractno:
  2016. description: 现货合同编号
  2017. type: string
  2018. contracttype:
  2019. description: 现货合同类型 - 1:采购 -1:销售
  2020. type: integer
  2021. creatorid:
  2022. description: 申请人
  2023. type: integer
  2024. customeraccountid:
  2025. description: 客户资金账户ID
  2026. type: integer
  2027. customeruserid:
  2028. description: 客户ID
  2029. type: integer
  2030. details:
  2031. description: 明细
  2032. items:
  2033. $ref: '#/definitions/erms3.SoptContractDetail'
  2034. type: array
  2035. orimargin:
  2036. description: 初始保证金
  2037. type: number
  2038. remark:
  2039. description: 备注
  2040. type: string
  2041. signdate:
  2042. description: 签订日期
  2043. type: string
  2044. required:
  2045. - accountid
  2046. - areauserid
  2047. - contractno
  2048. - contracttype
  2049. - customeraccountid
  2050. - customeruserid
  2051. - details
  2052. - orimargin
  2053. - signdate
  2054. type: object
  2055. erms3.AddSpotContractApplyRsp:
  2056. properties:
  2057. contractno:
  2058. description: 现货合同编号
  2059. type: string
  2060. spotcontractid:
  2061. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2062. type: integer
  2063. required:
  2064. - contractno
  2065. type: object
  2066. erms3.AddUserInfoApplyReq:
  2067. properties:
  2068. accountid:
  2069. description: 交易系统帐号Id (加密存储)
  2070. type: integer
  2071. areacode:
  2072. description: 机构代码
  2073. type: string
  2074. areaid:
  2075. description: 机构Id
  2076. type: integer
  2077. attachment1:
  2078. description: 附件1
  2079. type: string
  2080. attachment2:
  2081. description: 附件2
  2082. type: string
  2083. attachment3:
  2084. description: 附件3
  2085. type: string
  2086. attachment4:
  2087. description: 附件4
  2088. type: string
  2089. attachment5:
  2090. description: 附件5
  2091. type: string
  2092. auditedby:
  2093. description: 审核人
  2094. type: string
  2095. auditime:
  2096. description: 审核时间
  2097. type: string
  2098. auditsrc:
  2099. description: 审核来源 - 1:管理端 2:终端
  2100. type: integer
  2101. bankaccount:
  2102. description: 银行帐号 (加密存储)
  2103. type: string
  2104. bankaccountname:
  2105. description: 收款人名称
  2106. type: string
  2107. bankcardbackphotourl:
  2108. description: 银行卡背面照地址
  2109. type: string
  2110. bankcardfrontphotourl:
  2111. description: 银行卡正面照地址
  2112. type: string
  2113. bankid:
  2114. description: 银行编码
  2115. type: string
  2116. bankname:
  2117. description: 银行名称
  2118. type: string
  2119. bankpictureurl:
  2120. description: 银行卡正面地址
  2121. type: string
  2122. biznature:
  2123. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2124. type: integer
  2125. bizscope:
  2126. description: 企业经营范围(企业)
  2127. type: string
  2128. biztype:
  2129. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2130. type: integer
  2131. brokerid:
  2132. description: 经纪人ID(加密存储)
  2133. type: string
  2134. cardaddress:
  2135. description: 证件地址 (加密存储)
  2136. type: string
  2137. cardbackphotourl:
  2138. description: 背面证件照地址
  2139. type: string
  2140. cardfrontphotourl:
  2141. description: 正面证件照地址
  2142. type: string
  2143. cardnum:
  2144. description: 证件号码 (加密存储)
  2145. type: string
  2146. cardtype:
  2147. description: 证件类型
  2148. type: integer
  2149. cityid:
  2150. description: 市
  2151. type: integer
  2152. company:
  2153. description: 公司(个人)
  2154. type: string
  2155. contactcardbackphotourl:
  2156. description: 联系人证件背面图片地址
  2157. type: string
  2158. contactcardfrontphotourl:
  2159. description: 联系人证件正面图片地址
  2160. type: string
  2161. contactname:
  2162. description: 联系人
  2163. type: string
  2164. countryid:
  2165. description: 国家
  2166. type: integer
  2167. createtime:
  2168. description: 开户申请时间
  2169. type: string
  2170. cusbankid:
  2171. description: 签约类型
  2172. type: string
  2173. cusbankname:
  2174. description: 签约类型名称
  2175. type: string
  2176. customername:
  2177. description: 客户名称(企业名称)
  2178. type: string
  2179. districtid:
  2180. description: 地区
  2181. type: integer
  2182. email:
  2183. description: Email地址(加密存储)
  2184. type: string
  2185. halfbodyphotourl:
  2186. description: 半身照地址
  2187. type: string
  2188. headurl:
  2189. description: 头像地址
  2190. type: string
  2191. ipaddress:
  2192. description: IP地址
  2193. type: string
  2194. isvalidate:
  2195. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2196. type: string
  2197. legalcardbackphotourl:
  2198. description: 法人身份证背面照地址
  2199. type: string
  2200. legalcardfrontphotourl:
  2201. description: 法人身份证正面照地址
  2202. type: string
  2203. legalpersonname:
  2204. description: 法人姓名(企业)
  2205. type: string
  2206. logincode:
  2207. description: 登录帐号 (加密存储)
  2208. type: string
  2209. memberareaid:
  2210. description: 所属会员ID
  2211. type: integer
  2212. mobile2:
  2213. description: 手机号码[明文-尚志]
  2214. type: string
  2215. mobilephone:
  2216. description: 手机号码 (加密存储)
  2217. type: string
  2218. modifiedby:
  2219. description: 修改人帐号
  2220. type: integer
  2221. modifiedtime:
  2222. description: 修改时间
  2223. type: string
  2224. nickname:
  2225. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2226. type: string
  2227. openmode:
  2228. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2229. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2230. type: integer
  2231. otherurl:
  2232. description: 其它图片地址[使用分号分隔]
  2233. type: string
  2234. postalcode:
  2235. description: 邮政编码
  2236. type: string
  2237. provinceid:
  2238. description: 省
  2239. type: integer
  2240. proxystatementurl:
  2241. description: 授权委托书
  2242. type: string
  2243. qq:
  2244. description: QQ(加密存储
  2245. type: string
  2246. referral:
  2247. description: 推荐人编码
  2248. type: string
  2249. remark:
  2250. description: 备注
  2251. type: string
  2252. removebeforestatus:
  2253. description: REMOVEBEFORESTATUS
  2254. type: integer
  2255. sex:
  2256. description: 性别 - 0:女 1:男
  2257. type: integer
  2258. signedstatus:
  2259. description: 账户一号签签约状态
  2260. type: integer
  2261. signpdfurl:
  2262. description: 签约pdf文件
  2263. type: string
  2264. subbranch:
  2265. description: 开户支行
  2266. type: string
  2267. taxpayernum:
  2268. description: 纳税人识别号
  2269. type: string
  2270. telphone:
  2271. description: 联系电话(加密存储)
  2272. type: string
  2273. userid:
  2274. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2275. type: integer
  2276. userinfotype:
  2277. description: 用户信息类型 - 1:个人 2:企业
  2278. type: integer
  2279. username:
  2280. description: 用户姓名
  2281. type: string
  2282. userstate:
  2283. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2284. type: integer
  2285. usertype:
  2286. description: 用户类型 - 1:投资者 2:机构
  2287. type: integer
  2288. videourl:
  2289. description: 视频地址
  2290. type: string
  2291. wechat:
  2292. description: 微信号 (加密存储)
  2293. type: string
  2294. required:
  2295. - userid
  2296. type: object
  2297. erms3.CustomerInfo:
  2298. properties:
  2299. accountids:
  2300. description: 资金账户ID列表
  2301. items:
  2302. type: integer
  2303. type: array
  2304. customername:
  2305. description: 名称(企业名称)
  2306. type: string
  2307. mobile:
  2308. description: 手机号码
  2309. type: string
  2310. userid:
  2311. description: 用户ID
  2312. type: integer
  2313. required:
  2314. - userid
  2315. type: object
  2316. erms3.ModifyUserInfoApplyReq:
  2317. properties:
  2318. accountid:
  2319. description: 交易系统帐号Id (加密存储)
  2320. type: integer
  2321. areacode:
  2322. description: 机构代码
  2323. type: string
  2324. areaid:
  2325. description: 机构Id
  2326. type: integer
  2327. attachment1:
  2328. description: 附件1
  2329. type: string
  2330. attachment2:
  2331. description: 附件2
  2332. type: string
  2333. attachment3:
  2334. description: 附件3
  2335. type: string
  2336. attachment4:
  2337. description: 附件4
  2338. type: string
  2339. attachment5:
  2340. description: 附件5
  2341. type: string
  2342. auditedby:
  2343. description: 审核人
  2344. type: string
  2345. auditime:
  2346. description: 审核时间
  2347. type: string
  2348. auditsrc:
  2349. description: 审核来源 - 1:管理端 2:终端
  2350. type: integer
  2351. bankaccount:
  2352. description: 银行帐号 (加密存储)
  2353. type: string
  2354. bankaccountname:
  2355. description: 收款人名称
  2356. type: string
  2357. bankcardbackphotourl:
  2358. description: 银行卡背面照地址
  2359. type: string
  2360. bankcardfrontphotourl:
  2361. description: 银行卡正面照地址
  2362. type: string
  2363. bankid:
  2364. description: 银行编码
  2365. type: string
  2366. bankname:
  2367. description: 银行名称
  2368. type: string
  2369. bankpictureurl:
  2370. description: 银行卡正面地址
  2371. type: string
  2372. biznature:
  2373. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2374. type: integer
  2375. bizscope:
  2376. description: 企业经营范围(企业)
  2377. type: string
  2378. biztype:
  2379. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2380. type: integer
  2381. brokerid:
  2382. description: 经纪人ID(加密存储)
  2383. type: string
  2384. cardaddress:
  2385. description: 证件地址 (加密存储)
  2386. type: string
  2387. cardbackphotourl:
  2388. description: 背面证件照地址
  2389. type: string
  2390. cardfrontphotourl:
  2391. description: 正面证件照地址
  2392. type: string
  2393. cardnum:
  2394. description: 证件号码 (加密存储)
  2395. type: string
  2396. cardtype:
  2397. description: 证件类型
  2398. type: integer
  2399. cityid:
  2400. description: 市
  2401. type: integer
  2402. company:
  2403. description: 公司(个人)
  2404. type: string
  2405. contactcardbackphotourl:
  2406. description: 联系人证件背面图片地址
  2407. type: string
  2408. contactcardfrontphotourl:
  2409. description: 联系人证件正面图片地址
  2410. type: string
  2411. contactname:
  2412. description: 联系人
  2413. type: string
  2414. countryid:
  2415. description: 国家
  2416. type: integer
  2417. createtime:
  2418. description: 开户申请时间
  2419. type: string
  2420. cusbankid:
  2421. description: 签约类型
  2422. type: string
  2423. cusbankname:
  2424. description: 签约类型名称
  2425. type: string
  2426. customername:
  2427. description: 客户名称(企业名称)
  2428. type: string
  2429. districtid:
  2430. description: 地区
  2431. type: integer
  2432. email:
  2433. description: Email地址(加密存储)
  2434. type: string
  2435. halfbodyphotourl:
  2436. description: 半身照地址
  2437. type: string
  2438. headurl:
  2439. description: 头像地址
  2440. type: string
  2441. ipaddress:
  2442. description: IP地址
  2443. type: string
  2444. isvalidate:
  2445. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2446. type: string
  2447. legalcardbackphotourl:
  2448. description: 法人身份证背面照地址
  2449. type: string
  2450. legalcardfrontphotourl:
  2451. description: 法人身份证正面照地址
  2452. type: string
  2453. legalpersonname:
  2454. description: 法人姓名(企业)
  2455. type: string
  2456. logincode:
  2457. description: 登录帐号 (加密存储)
  2458. type: string
  2459. memberareaid:
  2460. description: 所属会员ID
  2461. type: integer
  2462. mobile2:
  2463. description: 手机号码[明文-尚志]
  2464. type: string
  2465. mobilephone:
  2466. description: 手机号码 (加密存储)
  2467. type: string
  2468. modifiedby:
  2469. description: 修改人帐号
  2470. type: integer
  2471. modifiedtime:
  2472. description: 修改时间
  2473. type: string
  2474. nickname:
  2475. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2476. type: string
  2477. openmode:
  2478. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2479. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2480. type: integer
  2481. otherurl:
  2482. description: 其它图片地址[使用分号分隔]
  2483. type: string
  2484. postalcode:
  2485. description: 邮政编码
  2486. type: string
  2487. provinceid:
  2488. description: 省
  2489. type: integer
  2490. proxystatementurl:
  2491. description: 授权委托书
  2492. type: string
  2493. qq:
  2494. description: QQ(加密存储
  2495. type: string
  2496. referral:
  2497. description: 推荐人编码
  2498. type: string
  2499. remark:
  2500. description: 备注
  2501. type: string
  2502. removebeforestatus:
  2503. description: REMOVEBEFORESTATUS
  2504. type: integer
  2505. sex:
  2506. description: 性别 - 0:女 1:男
  2507. type: integer
  2508. signedstatus:
  2509. description: 账户一号签签约状态
  2510. type: integer
  2511. signpdfurl:
  2512. description: 签约pdf文件
  2513. type: string
  2514. subbranch:
  2515. description: 开户支行
  2516. type: string
  2517. taxpayernum:
  2518. description: 纳税人识别号
  2519. type: string
  2520. telphone:
  2521. description: 联系电话(加密存储)
  2522. type: string
  2523. userid:
  2524. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2525. type: integer
  2526. userinfotype:
  2527. description: 用户信息类型 - 1:个人 2:企业
  2528. type: integer
  2529. username:
  2530. description: 用户姓名
  2531. type: string
  2532. userstate:
  2533. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2534. type: integer
  2535. usertype:
  2536. description: 用户类型 - 1:投资者 2:机构
  2537. type: integer
  2538. videourl:
  2539. description: 视频地址
  2540. type: string
  2541. wechat:
  2542. description: 微信号 (加密存储)
  2543. type: string
  2544. required:
  2545. - userid
  2546. type: object
  2547. erms3.QryAuditContractRsp:
  2548. properties:
  2549. accountid:
  2550. description: 交易员ID
  2551. type: string
  2552. applystatus:
  2553. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2554. type: integer
  2555. curdeliveryqty:
  2556. description: 未交收量
  2557. type: integer
  2558. customername:
  2559. description: 采购方ID
  2560. type: string
  2561. deliverygoodsid:
  2562. description: 品种ID
  2563. type: string
  2564. deliveryqty:
  2565. description: 交收量
  2566. type: integer
  2567. enumdicname:
  2568. description: 单位名称
  2569. type: string
  2570. matchaccountid:
  2571. description: 业务员ID
  2572. type: string
  2573. matchcustomername:
  2574. description: 销售方ID
  2575. type: string
  2576. pricedqty:
  2577. description: 定价量
  2578. type: number
  2579. signdate:
  2580. description: 签订日期
  2581. type: string
  2582. spotcontractid:
  2583. description: 合同ID
  2584. type: string
  2585. totaldqty:
  2586. description: 合同量
  2587. type: number
  2588. unpricedqty:
  2589. description: 未定价量
  2590. type: number
  2591. wrstandardname:
  2592. description: 商品名称
  2593. type: string
  2594. required:
  2595. - matchcustomername
  2596. - spotcontractid
  2597. type: object
  2598. erms3.QryPendingBizRsp:
  2599. $ref: '#/definitions/models.PendingAuditBizModel'
  2600. erms3.QueryBusinessInfoRsp:
  2601. properties:
  2602. businessid:
  2603. description: 业务ID.
  2604. type: integer
  2605. buyamount:
  2606. description: 采购额.
  2607. type: number
  2608. buyqty:
  2609. description: 采购量.
  2610. type: string
  2611. futurepl:
  2612. description: 期货盈亏.
  2613. type: number
  2614. futureqty:
  2615. description: 期货敞口.
  2616. type: string
  2617. goodsid:
  2618. description: 商品名称/商品代码.
  2619. type: string
  2620. hedgingqty:
  2621. description: 套保量.
  2622. type: string
  2623. sellamount:
  2624. description: 销售额.
  2625. type: number
  2626. sellqty:
  2627. description: 销售量.
  2628. type: string
  2629. spotmarketvalue:
  2630. description: 现货市值.
  2631. type: number
  2632. spotpl:
  2633. description: 浮动权益.
  2634. type: number
  2635. spotqty:
  2636. description: 现货量.
  2637. type: string
  2638. statu:
  2639. description: 状态,0-未结束 1-已结束.
  2640. type: integer
  2641. totalpl:
  2642. description: 总盈亏.
  2643. type: number
  2644. totalqty:
  2645. description: 总敞口.
  2646. type: string
  2647. type:
  2648. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2649. type: integer
  2650. type: object
  2651. erms3.QuerySpotContractAppleFormRsp:
  2652. properties:
  2653. goodses:
  2654. description: 合约列表
  2655. items:
  2656. $ref: '#/definitions/models.GoodsIDAndName'
  2657. type: array
  2658. oppositeusers:
  2659. description: 对方账号列表
  2660. items:
  2661. $ref: '#/definitions/erms3.CustomerInfo'
  2662. type: array
  2663. ouruser:
  2664. $ref: '#/definitions/erms3.CustomerInfo'
  2665. description: 我方账号
  2666. type: object
  2667. warehouseinfos:
  2668. description: 仓库信息列表
  2669. items:
  2670. $ref: '#/definitions/models.Warehouseinfo'
  2671. type: array
  2672. wrstandards:
  2673. description: 仓单标准列表
  2674. items:
  2675. $ref: '#/definitions/models.WRStandardInfo'
  2676. type: array
  2677. type: object
  2678. erms3.QuerySpotContractInfoRsp:
  2679. properties:
  2680. accountid:
  2681. description: 表示交易员ID.
  2682. type: integer
  2683. curdeliveryqty:
  2684. description: 表示未交收量.
  2685. type: number
  2686. customername:
  2687. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2688. type: string
  2689. deliverygoodsid:
  2690. description: 表示品种ID.
  2691. type: string
  2692. deliveryqty:
  2693. description: 表示交收量.
  2694. type: number
  2695. matchaccountid:
  2696. description: 表示业务员ID.
  2697. type: integer
  2698. matchcustomername:
  2699. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2700. type: string
  2701. priceqty:
  2702. description: 表示定价量.
  2703. type: number
  2704. relatedbizid:
  2705. description: 表示业务ID.
  2706. type: string
  2707. signdate:
  2708. description: 表示签订日期.
  2709. type: string
  2710. spotcontractid:
  2711. description: 合同ID
  2712. type: string
  2713. status:
  2714. description: 表示状态,0-履约中 1-已完成.
  2715. type: integer
  2716. totalqty:
  2717. description: 表示合同量.
  2718. type: number
  2719. unpricedqty:
  2720. description: 表示未定价量.
  2721. type: number
  2722. wrstandardname:
  2723. description: 表示商品ID.
  2724. type: string
  2725. type: object
  2726. erms3.QueryUserInfoAppliesRsp:
  2727. properties:
  2728. biznature:
  2729. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2730. type: integer
  2731. contactname:
  2732. description: 联系人
  2733. type: string
  2734. createtime:
  2735. description: 开户申请时间
  2736. type: string
  2737. userid:
  2738. description: 用户ID(自增ID)
  2739. type: integer
  2740. userinfotype:
  2741. description: 用户信息类型 - 1:个人 2:企业
  2742. type: integer
  2743. username:
  2744. description: 用户姓名
  2745. type: string
  2746. userstate:
  2747. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2748. type: integer
  2749. required:
  2750. - userid
  2751. type: object
  2752. erms3.QueryUserInfosRsp:
  2753. properties:
  2754. biznature:
  2755. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2756. type: integer
  2757. contactname:
  2758. description: 联系人
  2759. type: string
  2760. customername:
  2761. description: 客户名称(企业名称)
  2762. type: string
  2763. userid:
  2764. description: 用户ID
  2765. type: integer
  2766. userinfotype:
  2767. description: 用户信息类型 - 1:个人 2:企业
  2768. type: integer
  2769. userstatus:
  2770. description: 用户状态 - 1:正常 2:注销
  2771. type: integer
  2772. required:
  2773. - userid
  2774. type: object
  2775. erms3.SoptContractDetail:
  2776. properties:
  2777. deliverygoodsdesc:
  2778. description: 现货品种说明
  2779. type: string
  2780. deliverygoodsid:
  2781. description: 现货品种ID
  2782. type: integer
  2783. deliverygoodsname:
  2784. description: 现货品种名称
  2785. type: string
  2786. pointdesc:
  2787. description: 点价描述
  2788. type: string
  2789. producttype:
  2790. description: 产品类型 1:标准仓单 2:等标 3:非标
  2791. type: integer
  2792. producttypename:
  2793. description: 产品类型名称
  2794. type: string
  2795. spotPointOrderVoList:
  2796. description: 点价列表
  2797. items:
  2798. $ref: '#/definitions/erms3.SpotPointOrder'
  2799. type: array
  2800. spotPriceOrderList:
  2801. description: 定价列表
  2802. items:
  2803. $ref: '#/definitions/erms3.SpotPriceOrder'
  2804. type: array
  2805. unitname:
  2806. description: 单位名称
  2807. type: string
  2808. warehouseid:
  2809. description: 仓库ID
  2810. type: integer
  2811. warehousename:
  2812. description: 仓库名称
  2813. type: string
  2814. wrstandardid:
  2815. description: 交易标的ID
  2816. type: integer
  2817. wrstandardname:
  2818. description: 交易标的名称
  2819. type: string
  2820. required:
  2821. - deliverygoodsid
  2822. - producttype
  2823. - unitname
  2824. - warehouseid
  2825. - wrstandardid
  2826. - wrstandardname
  2827. type: object
  2828. erms3.SpotPointOrder:
  2829. properties:
  2830. basic:
  2831. description: 基差
  2832. type: number
  2833. deliveryenddate:
  2834. description: 交收结束日期
  2835. type: string
  2836. deliverystartdate:
  2837. description: 交收开始日期
  2838. type: string
  2839. enddate:
  2840. description: 点价结束日期
  2841. type: string
  2842. goodsid:
  2843. description: 商品ID
  2844. type: integer
  2845. goodsname:
  2846. description: 商品名称
  2847. type: string
  2848. qty:
  2849. description: 数量
  2850. type: number
  2851. startdate:
  2852. description: 点价开始日期
  2853. type: string
  2854. required:
  2855. - basic
  2856. - goodsid
  2857. - qty
  2858. type: object
  2859. erms3.SpotPriceOrder:
  2860. properties:
  2861. amount:
  2862. description: 金额
  2863. type: number
  2864. deliveryenddate:
  2865. description: 交收结束日期
  2866. type: string
  2867. deliverystartdate:
  2868. description: 交收开始日期
  2869. type: string
  2870. price:
  2871. description: 价格
  2872. type: number
  2873. qty:
  2874. description: 数量
  2875. type: number
  2876. required:
  2877. - amount
  2878. - price
  2879. - qty
  2880. type: object
  2881. hsby.GetHsbyMyCountRsp:
  2882. properties:
  2883. myCouponCount:
  2884. description: 我的优惠卷数量
  2885. type: integer
  2886. myOrderDetailListingCount:
  2887. description: 我的订单求购中数量
  2888. type: integer
  2889. myOrderDetailPreCount:
  2890. description: 我的订单抢购中数量
  2891. type: integer
  2892. myPackageUnReceiveCount:
  2893. description: 我的包裹待收货数量
  2894. type: integer
  2895. myPackageUnSendCount:
  2896. description: 我的包裹待发货数量
  2897. type: integer
  2898. myPayOrderCount:
  2899. description: 我的订单待付款数量
  2900. type: integer
  2901. type: object
  2902. hsby.QueryProvincesAndCitiesRsp:
  2903. properties:
  2904. cities:
  2905. description: 市
  2906. items:
  2907. $ref: '#/definitions/models.Division'
  2908. type: array
  2909. province:
  2910. $ref: '#/definitions/models.Division'
  2911. description: 省
  2912. type: object
  2913. type: object
  2914. models.AreaSpotModel:
  2915. properties:
  2916. areauserid:
  2917. description: 所属机构
  2918. type: integer
  2919. decreaseqty:
  2920. description: 减少数量=-(销售已定价数量+采购计划数量)
  2921. type: number
  2922. increaseqty:
  2923. description: 增加数量=销售计划数量+采购已定价数量
  2924. type: number
  2925. oritoalspotqty:
  2926. description: 昨日数量
  2927. type: number
  2928. totalspotqty:
  2929. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2930. type: number
  2931. updatetime:
  2932. description: 更新时间
  2933. type: string
  2934. wrstandardcode:
  2935. description: 现货品种代码
  2936. type: string
  2937. wrstandardid:
  2938. description: 现货商品ID
  2939. type: integer
  2940. wrstandardname:
  2941. description: 现货品种
  2942. type: string
  2943. type: object
  2944. models.Arearole:
  2945. properties:
  2946. createtime:
  2947. description: 创建时间
  2948. type: string
  2949. creatorid:
  2950. description: 创建人ID
  2951. type: integer
  2952. fromuserid:
  2953. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  2954. type: integer
  2955. isreturnscore:
  2956. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  2957. type: integer
  2958. modifierid:
  2959. description: 修改人ID
  2960. type: integer
  2961. modifytime:
  2962. description: 修改时间
  2963. type: string
  2964. orgtype:
  2965. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  2966. type: integer
  2967. outuserid:
  2968. description: 外部账户[场外期权做市商]
  2969. type: string
  2970. parentuserid:
  2971. description: 上级组织机构(组织机构)
  2972. type: integer
  2973. roletype:
  2974. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  2975. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  2976. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  2977. type: integer
  2978. rootuserid:
  2979. description: 顶级组织机构用户ID(组织机构)
  2980. type: integer
  2981. shoppassword:
  2982. description: 商城店铺登陆密码(商城店铺角色使用)
  2983. type: string
  2984. sublevelpath:
  2985. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  2986. type: string
  2987. suborgtype:
  2988. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  2989. type: integer
  2990. tradeaccountid:
  2991. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  2992. type: integer
  2993. transurl:
  2994. description: 物流地址(物流机构)
  2995. type: string
  2996. userid:
  2997. description: 机构用户ID其他做市关系,都设置为 1
  2998. type: integer
  2999. required:
  3000. - roletype
  3001. - userid
  3002. type: object
  3003. models.Clientfixedadconfig:
  3004. properties:
  3005. adsort:
  3006. description: 排序
  3007. type: integer
  3008. adtype:
  3009. description: 广告位类型 - 1:新品抢购(HSBY)
  3010. type: integer
  3011. areauserid:
  3012. description: 所属机构ID
  3013. type: integer
  3014. createdate:
  3015. description: 创建时间
  3016. type: string
  3017. creatorid:
  3018. description: 创建人
  3019. type: integer
  3020. imagepath:
  3021. description: 图片
  3022. type: string
  3023. isshow:
  3024. description: 是否展示 - 0:不展示 1:展示
  3025. type: integer
  3026. modifierid:
  3027. description: 操作人
  3028. type: integer
  3029. recsize:
  3030. description: 推荐尺寸
  3031. type: string
  3032. title:
  3033. description: 标题
  3034. type: string
  3035. updatedate:
  3036. description: 更新时间
  3037. type: string
  3038. urlcontent:
  3039. description: 链接(地址或商品ID)
  3040. type: string
  3041. urltype:
  3042. description: 链接类型 - 1:直接地址 2:商品ID
  3043. type: integer
  3044. required:
  3045. - adsort
  3046. - adtype
  3047. type: object
  3048. models.Division:
  3049. properties:
  3050. autoid:
  3051. description: 自增ID
  3052. type: integer
  3053. divisioncode:
  3054. description: 行政代码
  3055. type: string
  3056. divisionlevel:
  3057. description: 行政级别
  3058. type: string
  3059. divisionname:
  3060. description: 行政名称
  3061. type: string
  3062. modifierid:
  3063. description: 修改人
  3064. type: integer
  3065. modifytime:
  3066. description: 修改时间
  3067. type: string
  3068. parentcode:
  3069. description: 上级行政代码
  3070. type: string
  3071. pathname:
  3072. description: 路径名称
  3073. type: string
  3074. postcode:
  3075. description: 邮政编码
  3076. type: string
  3077. separablename:
  3078. description: 可拆分的全称
  3079. type: string
  3080. shortcode:
  3081. description: 地区简码
  3082. type: string
  3083. required:
  3084. - autoid
  3085. - divisioncode
  3086. type: object
  3087. models.Enumdicitem:
  3088. properties:
  3089. autoid:
  3090. description: 自增ID
  3091. type: integer
  3092. bankmappedvalue:
  3093. description: 银行服务对应值
  3094. type: string
  3095. enumdiccode:
  3096. description: 所属枚举代码
  3097. type: string
  3098. enumdicid:
  3099. description: 所属枚举ID
  3100. type: integer
  3101. enumdicname:
  3102. description: 枚举项名称
  3103. type: string
  3104. enumitemname:
  3105. description: 枚举项值
  3106. type: integer
  3107. enumitemstatus:
  3108. description: 枚举项状态 - 1.启用 2.不启用
  3109. type: integer
  3110. enumitemvalue:
  3111. description: 通用值 - [币种通用简写]
  3112. type: string
  3113. param1:
  3114. description: 参数1[币种:币种小数位]
  3115. type: string
  3116. param2:
  3117. description: 参数1[币种:币种显示单位]
  3118. type: string
  3119. remark:
  3120. description: 备注
  3121. type: string
  3122. required:
  3123. - autoid
  3124. - enumdiccode
  3125. - enumdicid
  3126. - enumitemname
  3127. type: object
  3128. models.Ermcp3AreaSpot:
  3129. properties:
  3130. areauserid:
  3131. description: 所属机构
  3132. type: integer
  3133. decreaseqty:
  3134. description: 减少数量=-(销售已定价数量+采购计划数量)
  3135. type: number
  3136. deliverygoodscode:
  3137. description: 现货品种代码
  3138. type: string
  3139. deliverygoodsid:
  3140. description: 现货品种id
  3141. type: integer
  3142. deliverygoodsname:
  3143. description: 现货品种名称
  3144. type: string
  3145. enumdicname:
  3146. description: 单位名称
  3147. type: string
  3148. goodsunitid:
  3149. description: 现货品种单位id
  3150. type: integer
  3151. increaseqty:
  3152. description: 增加数量=销售计划数量+采购已定价数量
  3153. type: number
  3154. oritoalspotqty:
  3155. description: 昨日数量
  3156. type: number
  3157. totalspotqty:
  3158. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3159. type: number
  3160. updatetime:
  3161. description: 更新时间
  3162. type: string
  3163. type: object
  3164. models.Ermcp3AreaSpotDetail:
  3165. properties:
  3166. contracttype:
  3167. description: 合同类型 1-采购 -1-销售
  3168. type: integer
  3169. createtime:
  3170. description: 创建时间
  3171. type: string
  3172. deliverygoodscode:
  3173. description: 现货品种代码
  3174. type: string
  3175. deliverygoodsid:
  3176. description: 现货品种id
  3177. type: integer
  3178. deliverygoodsname:
  3179. description: 现货品种名称
  3180. type: string
  3181. enumdicname:
  3182. description: 现货商品单位名称
  3183. type: string
  3184. logtype:
  3185. description: 记录类型 1-套保 2-现货合同
  3186. type: integer
  3187. qty:
  3188. description: 数量
  3189. type: number
  3190. recordname:
  3191. description: 类型名称
  3192. type: string
  3193. relatedid:
  3194. description: 套保计划ID/现货合同ID
  3195. type: string
  3196. relatedno:
  3197. description: 编号
  3198. type: string
  3199. strtime:
  3200. description: 时间
  3201. type: string
  3202. type: object
  3203. models.Ermcp3AreaSpotPLReport:
  3204. properties:
  3205. accountid:
  3206. description: 期货账户ID (作废, 默认为0)
  3207. type: integer
  3208. accountname:
  3209. description: 机构名称
  3210. type: string
  3211. actualpl:
  3212. description: 现货损益
  3213. type: number
  3214. areauserid:
  3215. description: 所属机构\交易用户ID
  3216. type: integer
  3217. begindate:
  3218. description: 开始交易日
  3219. type: string
  3220. biztype:
  3221. description: 业务类型 - 1:套保 2:套利
  3222. type: integer
  3223. brandname:
  3224. description: 品牌名称
  3225. type: string
  3226. curamount:
  3227. description: 期末额
  3228. type: number
  3229. curaverageprice:
  3230. description: 期末均价
  3231. type: number
  3232. curbuyamount:
  3233. description: 期末采购总额
  3234. type: number
  3235. curbuyqty:
  3236. description: 期末采购总量
  3237. type: number
  3238. curmarketvalue:
  3239. description: 参考市值(期末市值)
  3240. type: number
  3241. curqty:
  3242. description: 期末量
  3243. type: number
  3244. currencyid:
  3245. description: 结算币种ID【原值】
  3246. type: integer
  3247. currencyname:
  3248. description: 币种名称
  3249. type: string
  3250. cursellamount:
  3251. description: 期末销售总额
  3252. type: number
  3253. cursellqty:
  3254. description: 期末销售总量
  3255. type: number
  3256. curspotprice:
  3257. description: 参考市价(最新价)
  3258. type: number
  3259. cycletime:
  3260. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3261. type: string
  3262. cycletype:
  3263. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3264. type: integer
  3265. deliverygoodscode:
  3266. description: 现货商品代码
  3267. type: string
  3268. deliverygoodsid:
  3269. description: 现货品种ID
  3270. type: integer
  3271. deliverygoodsname:
  3272. description: 现货商品名称
  3273. type: string
  3274. enddate:
  3275. description: 结束交易日
  3276. type: string
  3277. enumdicname:
  3278. description: 现货商品单位名称
  3279. type: string
  3280. floatpl:
  3281. description: 浮动损益
  3282. type: number
  3283. goodsunitid:
  3284. description: 现货商品单位id
  3285. type: integer
  3286. oriamount:
  3287. description: 期初额
  3288. type: number
  3289. oriaverageprice:
  3290. description: 期初均价
  3291. type: number
  3292. oribuyamount:
  3293. description: 期初采购总额
  3294. type: number
  3295. oribuyqty:
  3296. description: 期初采购总量
  3297. type: number
  3298. oriqty:
  3299. description: 期初量
  3300. type: number
  3301. orisellamount:
  3302. description: 期初销售总额
  3303. type: number
  3304. orisellqty:
  3305. description: 期初销售总量
  3306. type: number
  3307. reckondate:
  3308. description: 日照时期(yyyyMMdd)
  3309. type: string
  3310. spotgoodsbrandid:
  3311. description: 现货品牌ID
  3312. type: integer
  3313. todaybuyamount:
  3314. description: 今日采购额(今采购额)
  3315. type: number
  3316. todaybuyaverageprice:
  3317. description: 今日采购均价
  3318. type: number
  3319. todaybuyqty:
  3320. description: 今日采购量(今采购量)
  3321. type: number
  3322. todayinqty:
  3323. description: 今日入库量(今入库量)
  3324. type: number
  3325. todayoutqty:
  3326. description: 今日出库量(今出库量)
  3327. type: number
  3328. todaysellamount:
  3329. description: 今日销售额(今销售额)
  3330. type: number
  3331. todaysellaverageprice:
  3332. description: 今日销售均价
  3333. type: number
  3334. todaysellqty:
  3335. description: 今日销售量(今销售量)
  3336. type: number
  3337. unitid:
  3338. description: 品类单位id
  3339. type: integer
  3340. unitidname:
  3341. description: 品类单位名称
  3342. type: string
  3343. updatetime:
  3344. description: 更新时间
  3345. type: string
  3346. wrfactortypeid:
  3347. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3348. type: integer
  3349. wrstandardcode:
  3350. description: 品类代码
  3351. type: string
  3352. wrstandardid:
  3353. description: 现货品类ID
  3354. type: integer
  3355. wrstandardname:
  3356. description: 品类名称
  3357. type: string
  3358. type: object
  3359. models.Ermcp3AreaStock:
  3360. properties:
  3361. brandname:
  3362. description: 品牌名称
  3363. type: string
  3364. curstock:
  3365. description: 期末库存量(今日量)
  3366. type: number
  3367. deliverygoodscode:
  3368. description: 现货品种代码
  3369. type: string
  3370. deliverygoodsid:
  3371. description: 现货品种id
  3372. type: integer
  3373. deliverygoodsname:
  3374. description: 现货品种名称
  3375. type: string
  3376. enumdicname:
  3377. description: 单位名称
  3378. type: string
  3379. goodsunitid:
  3380. description: 现货商品单位id
  3381. type: integer
  3382. oristock:
  3383. description: 期初库存量(昨日量)
  3384. type: number
  3385. spotgoodsbrandid:
  3386. description: 现货品牌ID
  3387. type: integer
  3388. todaybuyinqty:
  3389. description: 今日采购入库量
  3390. type: number
  3391. todayproduceinqty:
  3392. description: 今日生产入库量
  3393. type: number
  3394. todayproduceoutqty:
  3395. description: 今日生产出库量
  3396. type: number
  3397. todayselloutqty:
  3398. description: 今日销售出库量
  3399. type: number
  3400. unitid:
  3401. description: 单位id
  3402. type: integer
  3403. updatetime:
  3404. description: 更新时间
  3405. type: string
  3406. userid:
  3407. description: 机构ID
  3408. type: integer
  3409. username:
  3410. description: 机构名称
  3411. type: string
  3412. warehousecode:
  3413. description: 仓库代码
  3414. type: string
  3415. warehouseinfoid:
  3416. description: 仓库ID
  3417. type: string
  3418. warehousename:
  3419. description: 仓库名称
  3420. type: string
  3421. warehousetype:
  3422. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3423. type: integer
  3424. wrstandardcode:
  3425. description: 品类代码
  3426. type: string
  3427. wrstandardid:
  3428. description: 品类ID
  3429. type: string
  3430. wrstandardname:
  3431. description: 品类名称
  3432. type: string
  3433. required:
  3434. - userid
  3435. type: object
  3436. models.Ermcp3AreaStockApply:
  3437. properties:
  3438. applyid:
  3439. description: 申请人
  3440. type: integer
  3441. applyname:
  3442. description: 申请人名称
  3443. type: string
  3444. applyremark:
  3445. description: 申请备注
  3446. type: string
  3447. applysrc:
  3448. description: 申请来源 - 1:管理端 2:终端
  3449. type: integer
  3450. applystatus:
  3451. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3452. type: integer
  3453. applytime:
  3454. description: 申请时间
  3455. type: string
  3456. auditid:
  3457. description: 审核人
  3458. type: integer
  3459. auditname:
  3460. description: 审核人名称
  3461. type: string
  3462. auditremark:
  3463. description: 审核备注
  3464. type: string
  3465. auditsrc:
  3466. description: 审核来源 - 1:管理端 2:终端
  3467. type: integer
  3468. audittime:
  3469. description: 审核时间
  3470. type: string
  3471. audittradedate:
  3472. description: 审核交易日(yyyyMMdd)
  3473. type: string
  3474. brandname:
  3475. description: 品牌名称
  3476. type: string
  3477. buynickname:
  3478. description: 采购方昵称
  3479. type: string
  3480. buyuserid:
  3481. description: 采购方userid
  3482. type: integer
  3483. buyusername:
  3484. description: 采购方名称
  3485. type: string
  3486. contractno:
  3487. description: 合同编号
  3488. type: string
  3489. contractqty:
  3490. description: 合同量
  3491. type: number
  3492. contracttype:
  3493. description: 现货合同类型 - 1:采购 -1:销售
  3494. type: integer
  3495. deliverygoodscode:
  3496. description: 现货品种代码
  3497. type: string
  3498. deliverygoodsid:
  3499. description: 现货品种id
  3500. type: integer
  3501. deliverygoodsname:
  3502. description: 现货品种名称
  3503. type: string
  3504. detailjson:
  3505. description: 明细数据
  3506. type: string
  3507. enumdicname:
  3508. description: 现货商品单位名称
  3509. type: string
  3510. inoutapplyid:
  3511. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3512. type: string
  3513. inouttype:
  3514. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3515. type: integer
  3516. pricetype:
  3517. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3518. type: integer
  3519. qty:
  3520. description: 数量
  3521. type: number
  3522. sellnickname:
  3523. description: 销售方昵称
  3524. type: string
  3525. selluserid:
  3526. description: 销售方userid
  3527. type: integer
  3528. sellusername:
  3529. description: 销售方名称
  3530. type: string
  3531. spotcontractid:
  3532. description: 关联现货合同ID
  3533. type: string
  3534. spotgoodsbrandid:
  3535. description: 现货品牌ID
  3536. type: integer
  3537. unitid:
  3538. description: 单位id
  3539. type: integer
  3540. userid:
  3541. description: 机构ID
  3542. type: integer
  3543. warehousecode:
  3544. description: 仓库代码
  3545. type: string
  3546. warehouseinfoid:
  3547. description: 现货仓库ID
  3548. type: string
  3549. warehousename:
  3550. description: 仓库名称
  3551. type: string
  3552. warehousetype:
  3553. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3554. type: integer
  3555. wrstandardcode:
  3556. description: 品类代码
  3557. type: string
  3558. wrstandardid:
  3559. description: 品类ID
  3560. type: integer
  3561. wrstandardname:
  3562. description: 品类名称
  3563. type: string
  3564. type: object
  3565. models.Ermcp3AreaStockApplySum:
  3566. properties:
  3567. brandname:
  3568. description: 品牌名称
  3569. type: string
  3570. inouttype:
  3571. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3572. type: integer
  3573. spotcontractid:
  3574. description: 关联现货合同ID
  3575. type: string
  3576. spotgoodsbrandid:
  3577. description: 品牌id
  3578. type: integer
  3579. totalqty:
  3580. description: 总数量
  3581. type: number
  3582. wrstandardid:
  3583. description: 品类id
  3584. type: integer
  3585. wrstandardname:
  3586. description: 品类名称
  3587. type: string
  3588. type: object
  3589. models.Ermcp3AreaStockReportEx:
  3590. properties:
  3591. begindate:
  3592. description: 开始交易日
  3593. type: string
  3594. brandname:
  3595. description: 品牌名称
  3596. type: string
  3597. curstock:
  3598. description: 期末库存量
  3599. type: number
  3600. cycletime:
  3601. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3602. type: string
  3603. cycletype:
  3604. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3605. type: integer
  3606. deliverygoodscode:
  3607. description: 现货品种代码
  3608. type: string
  3609. deliverygoodsid:
  3610. description: 现货品种id
  3611. type: integer
  3612. deliverygoodsname:
  3613. description: 现货品种名称
  3614. type: string
  3615. diffqty:
  3616. description: 库存变化量 = 期末 - 期初
  3617. type: number
  3618. enddate:
  3619. description: 结束交易日
  3620. type: string
  3621. enumdicname:
  3622. description: 单位名称
  3623. type: string
  3624. goodsunitid:
  3625. description: 现货单位id
  3626. type: integer
  3627. oristock:
  3628. description: 期初库存量
  3629. type: number
  3630. reckondate:
  3631. description: 日照时期(yyyyMMdd)
  3632. type: string
  3633. spotgoodsbrandid:
  3634. description: 现货品牌ID
  3635. type: integer
  3636. todaybuyinqty:
  3637. description: 今采购入库量
  3638. type: number
  3639. todayproduceinqty:
  3640. description: 今内部入库量
  3641. type: number
  3642. todayproduceoutqty:
  3643. description: 今内部出库量
  3644. type: number
  3645. todayselloutqty:
  3646. description: 今销售出库量
  3647. type: number
  3648. unbuyinqty:
  3649. description: 采购未入库量(数据库未找到相关字段?)
  3650. type: number
  3651. unitid:
  3652. description: 品类单位id
  3653. type: integer
  3654. unselloutqty:
  3655. description: 销售未出库量(数据库未找到相关字段?)
  3656. type: number
  3657. updatetime:
  3658. description: 更新时间
  3659. type: string
  3660. userid:
  3661. description: 机构ID
  3662. type: integer
  3663. username:
  3664. description: 机构名称
  3665. type: string
  3666. warehousecode:
  3667. description: 仓库代码
  3668. type: string
  3669. warehouseinfoid:
  3670. description: 仓库ID
  3671. type: string
  3672. warehousename:
  3673. description: 仓库名称
  3674. type: string
  3675. warehousetype:
  3676. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3677. type: integer
  3678. wrstandardcode:
  3679. description: 品类代码
  3680. type: string
  3681. wrstandardid:
  3682. description: 品类ID
  3683. type: integer
  3684. wrstandardname:
  3685. description: 品类名称
  3686. type: string
  3687. type: object
  3688. models.Ermcp3ArealSumPL:
  3689. properties:
  3690. accountname:
  3691. description: 机构名称
  3692. type: string
  3693. areauserid:
  3694. description: 所属机构\交易用户ID
  3695. type: integer
  3696. begindate:
  3697. description: 开始交易日
  3698. type: string
  3699. currencyid:
  3700. description: 结算币种ID
  3701. type: integer
  3702. currencyname:
  3703. description: 币种名称
  3704. type: string
  3705. cycletime:
  3706. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3707. type: string
  3708. cycletype:
  3709. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3710. type: integer
  3711. enddate:
  3712. description: 结束交易日
  3713. type: string
  3714. enumdicname:
  3715. description: 单位名称(套保品种)
  3716. type: string
  3717. futureactualpl:
  3718. description: 期货损益
  3719. type: number
  3720. futurefloatpl:
  3721. description: 期货浮动损益
  3722. type: number
  3723. goodsunitid:
  3724. description: 套保品种单位id
  3725. type: integer
  3726. middlegoodscode:
  3727. description: 套保品种代码
  3728. type: string
  3729. middlegoodsid:
  3730. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3731. type: integer
  3732. middlegoodsname:
  3733. description: 套保品种名称
  3734. type: string
  3735. reckondate:
  3736. description: 日照时期(yyyyMMdd)
  3737. type: string
  3738. spotactualpl:
  3739. description: 现货损益
  3740. type: number
  3741. spotfloatpl:
  3742. description: 现货浮动损益
  3743. type: number
  3744. sumactualpl:
  3745. description: 实际损益 = (ActualPL + FutureActualPL)
  3746. type: number
  3747. sumpl:
  3748. description: 汇总损益
  3749. type: number
  3750. updatetime:
  3751. description: 更新时间
  3752. type: string
  3753. type: object
  3754. models.Ermcp3Brand:
  3755. properties:
  3756. areauserid:
  3757. description: 用户id
  3758. type: integer
  3759. brandid:
  3760. description: 品牌id
  3761. type: integer
  3762. brandname:
  3763. description: 品牌名称
  3764. type: string
  3765. deliverygoodsid:
  3766. description: 品种ID
  3767. type: integer
  3768. type: object
  3769. models.Ermcp3Contract:
  3770. properties:
  3771. accountid:
  3772. description: 期货账户id
  3773. type: string
  3774. amount:
  3775. description: 金额 [1:一口价、3:暂定价]
  3776. type: number
  3777. attachment:
  3778. description: 附件
  3779. type: string
  3780. auditremark:
  3781. description: 审核意见
  3782. type: string
  3783. audittime:
  3784. description: 审核时间
  3785. type: string
  3786. biztype:
  3787. description: 业务类型 1-套保 2-套利
  3788. type: integer
  3789. brandname:
  3790. description: 品牌名称
  3791. type: string
  3792. buynickname:
  3793. description: 销售方昵称
  3794. type: string
  3795. buyuserid:
  3796. description: 采购方ID
  3797. type: integer
  3798. buyusername:
  3799. description: 采购方名称
  3800. type: string
  3801. contracctstatus:
  3802. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3803. type: integer
  3804. contractmargin:
  3805. description: 合同保证金
  3806. type: number
  3807. contractno:
  3808. description: 现货合同编号
  3809. type: string
  3810. contracttype:
  3811. description: 现货合同类型 - 1:采购 -1:销售
  3812. type: integer
  3813. convertfactor:
  3814. description: 标仓系数(品类)
  3815. type: number
  3816. createtime:
  3817. description: 创建时间
  3818. type: string
  3819. currencyid:
  3820. description: 币种id
  3821. type: integer
  3822. currencyname:
  3823. description: 币种名称
  3824. type: string
  3825. deliveryenddate:
  3826. description: 交收期(结束)
  3827. type: string
  3828. deliverygoodscode:
  3829. description: 现货品种代码
  3830. type: string
  3831. deliverygoodsid:
  3832. description: 现货品种ID
  3833. type: integer
  3834. deliverygoodsname:
  3835. description: 现货品种名称
  3836. type: string
  3837. deliverystartdate:
  3838. description: 交收期(开始)
  3839. type: string
  3840. enddate:
  3841. description: 点价结束日期 [2:点价 3:暂定价]
  3842. type: string
  3843. enumdicname:
  3844. description: 单位名称
  3845. type: string
  3846. goodscode:
  3847. description: 点价合约代码
  3848. type: string
  3849. goodsid:
  3850. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3851. type: integer
  3852. goodsname:
  3853. description: 点价商品名称
  3854. type: string
  3855. margin:
  3856. description: 当前保证金
  3857. type: number
  3858. meruserid:
  3859. description: 跟单员id
  3860. type: integer
  3861. meruserlogincode:
  3862. description: 跟单员登录代码
  3863. type: string
  3864. merusername:
  3865. description: 跟单员名称
  3866. type: string
  3867. price:
  3868. description: 价格\暂定价 [1:一口价、3:暂定价]
  3869. type: number
  3870. pricemove:
  3871. description: 升贴水 [2:点价 3:暂定价]
  3872. type: number
  3873. pricetype:
  3874. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3875. type: integer
  3876. producttype:
  3877. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3878. type: integer
  3879. qty:
  3880. description: 数量
  3881. type: number
  3882. remark:
  3883. description: 备注
  3884. type: string
  3885. saleuserid:
  3886. description: 业务员id
  3887. type: integer
  3888. saleuserlogincode:
  3889. description: 业务员登录代码
  3890. type: string
  3891. saleusername:
  3892. description: 业务员名称
  3893. type: string
  3894. sellnickname:
  3895. description: 采购方昵称
  3896. type: string
  3897. selluserid:
  3898. description: 销售方ID
  3899. type: integer
  3900. sellusername:
  3901. description: 销售方名称
  3902. type: string
  3903. spotcontractid:
  3904. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3905. type: string
  3906. spotgoodsbrandid:
  3907. description: 现货品牌ID(DGFactoryItem表的ID)
  3908. type: integer
  3909. spotgoodsdesc:
  3910. description: 商品型号
  3911. type: string
  3912. startdate:
  3913. description: 点价开始日期 [2:点价 3:暂定价]
  3914. type: string
  3915. tradeuserid:
  3916. description: 交易员id
  3917. type: integer
  3918. tradeuserlogincode:
  3919. description: 交易员登录代码
  3920. type: string
  3921. tradeusername:
  3922. description: 交易员名称
  3923. type: string
  3924. unitid:
  3925. description: 单位id(取品类上的单位id)
  3926. type: integer
  3927. updatetime:
  3928. description: 更新时间
  3929. type: string
  3930. userid:
  3931. description: 所属机构ID
  3932. type: integer
  3933. wrstandardcode:
  3934. description: 品类代码
  3935. type: string
  3936. wrstandardid:
  3937. description: 品类ID
  3938. type: integer
  3939. wrstandardname:
  3940. description: 品类名称
  3941. type: string
  3942. type: object
  3943. models.Ermcp3ExposureContractDetail:
  3944. properties:
  3945. biztype:
  3946. description: 业务类型 1-套保 2-套利
  3947. type: integer
  3948. brandname:
  3949. description: 品牌名称
  3950. type: string
  3951. buyuserid:
  3952. description: 采购方id
  3953. type: integer
  3954. buyusername:
  3955. description: 采购方名称
  3956. type: string
  3957. contractno:
  3958. description: 合同编号
  3959. type: string
  3960. contracttype:
  3961. description: 现货合同类型 - 1:采购 -1:销售
  3962. type: integer
  3963. convertfactor:
  3964. description: 标仓系数
  3965. type: number
  3966. convertratio:
  3967. description: 折算系数(套保品种)
  3968. type: number
  3969. curqty:
  3970. description: 今定价量
  3971. type: number
  3972. deliverygoodscode:
  3973. description: 现货商品代码
  3974. type: string
  3975. deliverygoodsid:
  3976. description: 现货商品id
  3977. type: integer
  3978. deliverygoodsname:
  3979. description: 现货商品名称
  3980. type: string
  3981. diffhedgeqty:
  3982. description: 套保变动量
  3983. type: number
  3984. diffneedhedgeqty:
  3985. description: 应套保变动量
  3986. type: number
  3987. diffqty:
  3988. description: 套保品种今变动量
  3989. type: number
  3990. enumdicname:
  3991. description: 单位名称
  3992. type: string
  3993. mgunitname:
  3994. description: 套保品种单位名称
  3995. type: string
  3996. middlegoodscode:
  3997. description: 套保品种代码
  3998. type: string
  3999. middlegoodsid:
  4000. description: 套保品种id
  4001. type: integer
  4002. middlegoodsname:
  4003. description: 套保品种名称
  4004. type: string
  4005. needarbitrageratio:
  4006. description: 应套利比例
  4007. type: number
  4008. needhedgeratio:
  4009. description: 应套保比例
  4010. type: number
  4011. pricedqty:
  4012. description: 已定价量
  4013. type: number
  4014. qty:
  4015. description: 合同量
  4016. type: number
  4017. selluserid:
  4018. description: 销售方id
  4019. type: integer
  4020. sellusername:
  4021. description: 销售方名称
  4022. type: string
  4023. spotcontractid:
  4024. description: 合同id
  4025. type: string
  4026. todaypricedqty:
  4027. description: 今定价量
  4028. type: number
  4029. tradedate:
  4030. description: 交易日
  4031. type: string
  4032. unitid:
  4033. description: 品类单位id
  4034. type: integer
  4035. userid:
  4036. description: 机构id
  4037. type: integer
  4038. username:
  4039. description: 交易用户
  4040. type: string
  4041. wrstandardcode:
  4042. description: 品类代码
  4043. type: string
  4044. wrstandardid:
  4045. description: 品类id
  4046. type: integer
  4047. wrstandardname:
  4048. description: 品类名称
  4049. type: string
  4050. type: object
  4051. models.Ermcp3ExposureDetail:
  4052. properties:
  4053. areauserid:
  4054. description: 机构ID
  4055. type: integer
  4056. changeQty:
  4057. description: 套保变动量
  4058. type: number
  4059. contracttype:
  4060. description: 现货合同类型 - 1:采购 -1:销售
  4061. type: integer
  4062. convertfactor:
  4063. description: 标仓系数
  4064. type: number
  4065. convertratio:
  4066. description: 套保系数
  4067. type: number
  4068. createtime:
  4069. description: 时间
  4070. type: string
  4071. deliverygoodscode:
  4072. description: 现货品种代码
  4073. type: string
  4074. deliverygoodsid:
  4075. description: 现货品种id
  4076. type: integer
  4077. deliverygoodsname:
  4078. description: 现货品种名称
  4079. type: string
  4080. enumdicname:
  4081. description: 现货商品单位名称
  4082. type: string
  4083. logtype:
  4084. description: 类型 - 1:套保计划 2:现货合同
  4085. type: integer
  4086. mgunitid:
  4087. description: 套保品种单位id
  4088. type: integer
  4089. mgunitidname:
  4090. description: 套保品种单位名称
  4091. type: string
  4092. middlegoodsId:
  4093. description: 套保商品id
  4094. type: integer
  4095. middlegoodscode:
  4096. description: 套保商品代码
  4097. type: string
  4098. middlegoodsname:
  4099. description: 套保商品名称
  4100. type: string
  4101. qty:
  4102. description: 数量
  4103. type: number
  4104. relateNo:
  4105. description: 现货合同/套保计划编号
  4106. type: string
  4107. type: object
  4108. models.Ermcp3ExposureFutuDetail:
  4109. properties:
  4110. accountid:
  4111. description: 交易账户id
  4112. type: integer
  4113. accountname:
  4114. description: 交易账户
  4115. type: string
  4116. begindate:
  4117. description: 开始交易日
  4118. type: string
  4119. buyorsell:
  4120. description: 方向 0-买 1-卖
  4121. type: integer
  4122. diffmgqty:
  4123. description: 套保品种今变化量
  4124. type: number
  4125. diffneedqty:
  4126. description: 应套保总量变化量
  4127. type: number
  4128. difftradeqty:
  4129. description: 交易品种今变化量
  4130. type: number
  4131. enddate:
  4132. description: 结束交易日
  4133. type: string
  4134. enumdicname:
  4135. description: 单位名称
  4136. type: string
  4137. goodscode:
  4138. description: 商品代码
  4139. type: string
  4140. goodsid:
  4141. description: 商品id
  4142. type: integer
  4143. goodsname:
  4144. description: 商品名称
  4145. type: string
  4146. holdqty:
  4147. description: 期末持仓量
  4148. type: number
  4149. middlegoodscode:
  4150. description: 套保商品代码
  4151. type: string
  4152. middlegoodsid:
  4153. description: 套保商品id
  4154. type: integer
  4155. middlegoodsname:
  4156. description: 套保商品名称
  4157. type: string
  4158. oriholdqty:
  4159. description: 期初持仓量
  4160. type: number
  4161. todaycloseqty:
  4162. description: 今平仓量
  4163. type: number
  4164. todayopenqty:
  4165. description: 今开仓量
  4166. type: number
  4167. tradedate:
  4168. description: 交易日
  4169. type: string
  4170. type: object
  4171. models.Ermcp3ExposureHedgeplanDetail:
  4172. properties:
  4173. biztype:
  4174. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4175. type: integer
  4176. changqty:
  4177. description: 应套保总量变化量
  4178. type: number
  4179. contracttype:
  4180. description: 计划类型 - 1:采购 -1:销售
  4181. type: integer
  4182. convertratio:
  4183. description: 折算系数(套保品种)
  4184. type: number
  4185. deliverygoodscode:
  4186. description: 现货商品代码
  4187. type: string
  4188. deliverygoodsid:
  4189. description: 现货商品id
  4190. type: integer
  4191. deliverygoodsname:
  4192. description: 现货商吕名称
  4193. type: string
  4194. dgunitid:
  4195. description: 现货商品单位id
  4196. type: integer
  4197. dgunitidname:
  4198. description: 单位名称(现货商品)
  4199. type: string
  4200. diffqty:
  4201. description: 套保品种今变动量
  4202. type: number
  4203. enumdicname:
  4204. description: 单位名称(品类)
  4205. type: string
  4206. hedgeplanid:
  4207. description: 套保计划id
  4208. type: string
  4209. hedgeplanno:
  4210. description: 套保计划名称
  4211. type: string
  4212. hedgeplanstatus:
  4213. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4214. type: integer
  4215. mgunitidname:
  4216. description: 单位名称(套保商品)
  4217. type: string
  4218. middlegoodscode:
  4219. description: 套保品种代码
  4220. type: string
  4221. middlegoodsid:
  4222. description: 套保品种id
  4223. type: integer
  4224. middlegoodsname:
  4225. description: 套保品种名称
  4226. type: string
  4227. needarbitrageratio:
  4228. description: 应套利比例
  4229. type: number
  4230. needhedgeratio:
  4231. description: 应套保比例
  4232. type: number
  4233. pricedqty:
  4234. description: 已定价量
  4235. type: number
  4236. qty:
  4237. description: 合同量
  4238. type: number
  4239. tradedate:
  4240. description: 交易日(登记日)
  4241. type: string
  4242. unitid:
  4243. description: 品类单位id
  4244. type: integer
  4245. userid:
  4246. description: 机构id
  4247. type: integer
  4248. wrstandardcode:
  4249. description: 品类代码
  4250. type: string
  4251. wrstandardid:
  4252. description: 品类id
  4253. type: integer
  4254. wrstandardname:
  4255. description: 品类名称
  4256. type: string
  4257. type: object
  4258. models.Ermcp3ExposureParamChLog:
  4259. properties:
  4260. accountid:
  4261. description: 期货账户ID (作废, 默认为0)
  4262. type: integer
  4263. aftervalue:
  4264. description: 应套保\套利量变更后(调整后应套保总量)
  4265. type: number
  4266. areauserid:
  4267. description: 所属机构\交易用户ID
  4268. type: integer
  4269. beforevalue:
  4270. description: 应套保\套利量变更前(调整前应套保总量)
  4271. type: number
  4272. begindate:
  4273. description: 开始交易日
  4274. type: string
  4275. changelogtype:
  4276. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  4277. type: integer
  4278. curvalue:
  4279. description: 当前套保\套利量(套保总量|套利总量)
  4280. type: number
  4281. diffvalue:
  4282. description: 应套保总量变化量
  4283. type: number
  4284. enddate:
  4285. description: 结束交易日
  4286. type: string
  4287. logdatetime:
  4288. description: 流水日期
  4289. type: string
  4290. logid:
  4291. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  4292. type: string
  4293. middlegoodscode:
  4294. description: 套保品种代码
  4295. type: string
  4296. middlegoodsid:
  4297. description: 套保品种
  4298. type: integer
  4299. middlegoodsname:
  4300. description: 套保品种名称
  4301. type: string
  4302. paramaftervalue:
  4303. description: 参数变更后(调整后参数值)
  4304. type: number
  4305. parambeforevalue:
  4306. description: 参数变更前(调整前参数值)
  4307. type: number
  4308. tradedate:
  4309. description: 交易日(yyyyMMdd)
  4310. type: string
  4311. type: object
  4312. models.Ermcp3ExpourseReport:
  4313. properties:
  4314. accountid:
  4315. description: 期货账户ID (作废, 默认为0)
  4316. type: integer
  4317. accountname:
  4318. description: 机构名称
  4319. type: string
  4320. arbitrageqty:
  4321. description: 套利量
  4322. type: number
  4323. areauserid:
  4324. description: 所属机构\交易用户ID
  4325. type: integer
  4326. begindate:
  4327. description: 开始交易日
  4328. type: string
  4329. buyfutureqty:
  4330. description: 买入期货数量
  4331. type: number
  4332. buyplanqty:
  4333. description: 采购计划数量
  4334. type: number
  4335. buypricedqty:
  4336. description: 采购合同已定价数量
  4337. type: number
  4338. cycletime:
  4339. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4340. type: string
  4341. cycletype:
  4342. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4343. type: integer
  4344. diffexposure:
  4345. description: 变动量(套保敞口)
  4346. type: number
  4347. difffutuqty:
  4348. description: 变动量(期货)
  4349. type: number
  4350. diffhedgeqty:
  4351. description: 变动量(现货应套保总量)
  4352. type: number
  4353. diffmgqtya:
  4354. description: 套保变动量
  4355. type: number
  4356. diffmgqtyb:
  4357. description: 套利变动量
  4358. type: number
  4359. diffqty:
  4360. description: 变动量(总敞口)
  4361. type: number
  4362. diffspotqty:
  4363. description: 变动量(现货)
  4364. type: number
  4365. enddate:
  4366. description: 结束交易日
  4367. type: string
  4368. enumdicname:
  4369. description: 单位名称
  4370. type: string
  4371. hedgeqty:
  4372. description: 套保量
  4373. type: number
  4374. mgneedhedgeratio:
  4375. description: 套保比例(套保品的)
  4376. type: number
  4377. middlegoodsid:
  4378. description: 套保品种ID
  4379. type: integer
  4380. middlegoodsname:
  4381. description: 套保商品名称
  4382. type: string
  4383. middlgoodscode:
  4384. description: 套保商品代码
  4385. type: string
  4386. needarbitrageqty:
  4387. description: 应套利量
  4388. type: number
  4389. needarbitrageratio:
  4390. description: 套利比例(套保品的)
  4391. type: number
  4392. needhedgeexposoure:
  4393. description: 应套保敞口(套保敞口)
  4394. type: number
  4395. needhedgeqty:
  4396. description: 应套保量
  4397. type: number
  4398. needhedgeratio:
  4399. description: 应套保敞口比例
  4400. type: number
  4401. oriarbitrageqty:
  4402. description: 期初套利量
  4403. type: number
  4404. oribuyfutureqty:
  4405. description: 期初买入期货数量
  4406. type: number
  4407. oribuyplanqty:
  4408. description: 期初采购计划数量
  4409. type: number
  4410. oribuypricedqty:
  4411. description: 期初采购合同已定价数量
  4412. type: number
  4413. orihedgeqty:
  4414. description: 期初套保量
  4415. type: number
  4416. orineedarbitrageqty:
  4417. description: 期初应套利量
  4418. type: number
  4419. orineedhedgeexposoure:
  4420. description: 期初应套保敞口
  4421. type: number
  4422. orineedhedgeqty:
  4423. description: 期初应套保量
  4424. type: number
  4425. orisellfutureqty:
  4426. description: 期初卖出期货数量
  4427. type: number
  4428. orisellplanqty:
  4429. description: 期初销售计划数量
  4430. type: number
  4431. orisellpricedqty:
  4432. description: 期初销售合同已定价数量
  4433. type: number
  4434. oritotalexposure:
  4435. description: 期初实时总敞口
  4436. type: number
  4437. oritotalfutureqty:
  4438. description: 期初期货头寸总量
  4439. type: number
  4440. oritotalneedhedgeqty:
  4441. description: 期初应套保总量
  4442. type: number
  4443. oritotalspotqty:
  4444. description: 期初现货头寸总量
  4445. type: number
  4446. reckondate:
  4447. description: 日照时期(yyyyMMdd)
  4448. type: string
  4449. sellfutureqty:
  4450. description: 卖出期货数量
  4451. type: number
  4452. sellplanqty:
  4453. description: 销售计划数量
  4454. type: number
  4455. sellpricedqty:
  4456. description: 销售合同已定价数量
  4457. type: number
  4458. totalexposure:
  4459. description: 实时总敞口(总敞口)
  4460. type: number
  4461. totalfutureqty:
  4462. description: 期货头寸总量(期货总量)
  4463. type: number
  4464. totalhedgeratio:
  4465. description: 敞口比例
  4466. type: number
  4467. totalneedhedgeqty:
  4468. description: 应套保总量(现货应套保总量)
  4469. type: number
  4470. totalspotqty:
  4471. description: 现货头寸总量
  4472. type: number
  4473. unitid:
  4474. description: 单位id
  4475. type: integer
  4476. updatetime:
  4477. description: 更新时间
  4478. type: string
  4479. type: object
  4480. models.Ermcp3FinanceReport:
  4481. properties:
  4482. accountname:
  4483. description: 机构名称
  4484. type: string
  4485. areauserid:
  4486. description: 所属机构\交易用户ID
  4487. type: integer
  4488. begindate:
  4489. description: 开始交易日
  4490. type: string
  4491. biztype:
  4492. description: 业务类型 - 1:套保 2:套利
  4493. type: integer
  4494. brandname:
  4495. description: 品牌名称
  4496. type: string
  4497. buypreinvoicedamount:
  4498. description: 采购预收票额(预收票额)
  4499. type: number
  4500. buyprepaidamount:
  4501. description: 采购预付款额(预付货款额)
  4502. type: number
  4503. buytodayinvoiceamount:
  4504. description: 采购今收票额(今收票额)
  4505. type: number
  4506. buytodayrefundamount:
  4507. description: 采购今收退款额(今收退款额)
  4508. type: number
  4509. buytodaysettleamount:
  4510. description: 采购今付款额(今付货款额)
  4511. type: number
  4512. buyuninvoicedamount:
  4513. description: 采购应收票额(应收票额)
  4514. type: number
  4515. buyunpaidamount:
  4516. description: 采购应付款额(应付货款额)
  4517. type: number
  4518. currencyid:
  4519. description: 结算币种ID
  4520. type: integer
  4521. currencyname:
  4522. description: 币种名称
  4523. type: string
  4524. cycletime:
  4525. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4526. type: string
  4527. cycletype:
  4528. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4529. type: integer
  4530. deliverygoodscode:
  4531. description: 现货品种代码
  4532. type: string
  4533. deliverygoodsid:
  4534. description: 现货品种ID
  4535. type: integer
  4536. deliverygoodsname:
  4537. description: 现货品种名称
  4538. type: string
  4539. enddate:
  4540. description: 结束交易日
  4541. type: string
  4542. reckondate:
  4543. description: 日照时期(yyyyMMdd)
  4544. type: string
  4545. sellpreinvoicedamount:
  4546. description: 销售预开票额(预开票额)
  4547. type: number
  4548. sellprepaidamount:
  4549. description: 销售预收款额(预收货款额)
  4550. type: number
  4551. selltodayinvoiceamount:
  4552. description: 销售今开票额(今开票额)
  4553. type: number
  4554. selltodayrefundamount:
  4555. description: 销售今付退款额(今付退款额)
  4556. type: number
  4557. selltodaysettleamount:
  4558. description: 销售今收款额(今收货款额)
  4559. type: number
  4560. selluninvoicedamount:
  4561. description: 销售应开票额(应开票额)
  4562. type: number
  4563. sellunpaidamount:
  4564. description: 销售应收款额(应收货款额)
  4565. type: number
  4566. spotgoodsbrandid:
  4567. description: 现货品牌ID
  4568. type: integer
  4569. todaypaysum:
  4570. description: 今付款合计
  4571. type: number
  4572. todayreceivesum:
  4573. description: 今收款合计
  4574. type: number
  4575. updatetime:
  4576. description: 更新时间
  4577. type: string
  4578. wrfactortypeid:
  4579. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4580. type: integer
  4581. wrstandardcode:
  4582. description: 品类代码
  4583. type: string
  4584. wrstandardid:
  4585. description: 现货商品ID
  4586. type: integer
  4587. wrstandardname:
  4588. description: 品类名称
  4589. type: string
  4590. type: object
  4591. models.Ermcp3Goods:
  4592. properties:
  4593. agreeunit:
  4594. description: 合约单位(合约乘数)
  4595. type: number
  4596. enumdicname:
  4597. description: 单位名称
  4598. type: string
  4599. exexchangecode:
  4600. description: 交易所代码
  4601. type: string
  4602. goodscode:
  4603. description: 期货商品代码
  4604. type: string
  4605. goodsid:
  4606. description: 期货商品id
  4607. type: integer
  4608. goodsname:
  4609. description: 期货商品名称
  4610. type: string
  4611. type: object
  4612. models.Ermcp3GoodsGroup:
  4613. properties:
  4614. agreeunit:
  4615. description: 合约单位
  4616. type: number
  4617. areauserid:
  4618. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  4619. type: integer
  4620. canshort:
  4621. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4622. type: integer
  4623. closepricemode:
  4624. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4625. type: integer
  4626. createtime:
  4627. description: 创建时间
  4628. type: string
  4629. creatorid:
  4630. description: 创建人
  4631. type: integer
  4632. currencyid:
  4633. description: 报价货币ID
  4634. type: integer
  4635. decimalplace:
  4636. description: 报价小数位
  4637. type: integer
  4638. enumdicname:
  4639. description: 单位名称
  4640. type: string
  4641. exchangefullname:
  4642. description: 交易所全称
  4643. type: string
  4644. excludecfg:
  4645. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  4646. type: integer
  4647. exexchangecode:
  4648. description: 交易所代码
  4649. type: string
  4650. exexchangeid:
  4651. description: 外部交易所ID[通道交易]
  4652. type: integer
  4653. exexchangename:
  4654. description: 交易所名称
  4655. type: string
  4656. goodsgroupid:
  4657. description: 商品组ID(自增ID)
  4658. type: integer
  4659. goodsgroupname:
  4660. description: 商品组名称
  4661. type: string
  4662. goodsgroupstatus:
  4663. description: 商品组状态 - 1:正常 2:注销
  4664. type: integer
  4665. goodunitid:
  4666. description: 报价单位ID
  4667. type: integer
  4668. groupcategroyid:
  4669. description: 品种分类ID
  4670. type: integer
  4671. innerdealmode:
  4672. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4673. type: integer
  4674. marketid:
  4675. description: 所属市场ID
  4676. type: integer
  4677. modifierid:
  4678. description: 修改人
  4679. type: integer
  4680. modifytime:
  4681. description: 修改时间
  4682. type: string
  4683. outerdealmode:
  4684. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4685. type: integer
  4686. outergroupcode:
  4687. description: 外部商品组代码[通道交易]
  4688. type: string
  4689. quoteminunit:
  4690. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4691. type: integer
  4692. quotesourcegroupid:
  4693. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4694. type: integer
  4695. syncgoodsqty:
  4696. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4697. type: integer
  4698. required:
  4699. - areauserid
  4700. type: object
  4701. models.Ermcp3GoodsGroupEx:
  4702. properties:
  4703. convertratio:
  4704. description: 折算系数(品种系数)
  4705. type: number
  4706. enumdicname:
  4707. description: 单位名称
  4708. type: string
  4709. exexchangecode:
  4710. description: 交易所代码
  4711. type: string
  4712. glist:
  4713. description: 合约列表
  4714. items:
  4715. $ref: '#/definitions/models.Ermcp3Goods'
  4716. type: array
  4717. goodsgroupid:
  4718. description: 商品组id
  4719. type: integer
  4720. goodsgroupname:
  4721. description: 商品组名称
  4722. type: string
  4723. goodsunitid:
  4724. description: 单位id
  4725. type: integer
  4726. middlegoodsid:
  4727. description: 套保商品id
  4728. type: integer
  4729. type: object
  4730. models.Ermcp3HedgePlan:
  4731. properties:
  4732. accountid:
  4733. description: 资金账号
  4734. type: integer
  4735. areauserid:
  4736. description: 用户ID
  4737. type: integer
  4738. auditid:
  4739. description: 审核id
  4740. type: integer
  4741. auditname:
  4742. description: 审核人名称
  4743. type: string
  4744. auditremark:
  4745. description: 审核备注
  4746. type: string
  4747. auditsrc:
  4748. description: 审核来源 1-管理端 2-终端
  4749. type: integer
  4750. audittime:
  4751. description: 审核时间
  4752. type: string
  4753. contracttype:
  4754. description: 计划类型 - 1:采购 -1:销售
  4755. type: integer
  4756. convertfactor:
  4757. description: 标仓系数
  4758. type: number
  4759. createtime:
  4760. description: 创建时间
  4761. type: string
  4762. currencyid:
  4763. description: 币种id
  4764. type: integer
  4765. currencyname:
  4766. description: 币种名称
  4767. type: string
  4768. deliverygoodscode:
  4769. description: 现货品种代码
  4770. type: string
  4771. deliverygoodsid:
  4772. description: 现货品种ID
  4773. type: integer
  4774. deliverygoodsname:
  4775. description: 现货品种名称
  4776. type: string
  4777. enumdicname:
  4778. description: 单位名称(现货商品)
  4779. type: string
  4780. hedgeplanid:
  4781. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4782. type: string
  4783. hedgeplanno:
  4784. description: 套保计划编号(名称)
  4785. type: string
  4786. hedgeplanstatus:
  4787. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4788. type: integer
  4789. planqty:
  4790. description: 计划数量
  4791. type: number
  4792. plantime:
  4793. description: 计划时间
  4794. type: string
  4795. producttype:
  4796. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4797. type: integer
  4798. remark:
  4799. description: 备注
  4800. type: string
  4801. spotgoodsdesc:
  4802. description: 商品型号
  4803. type: string
  4804. taaccountname:
  4805. description: 资金账号名称
  4806. type: string
  4807. tradeuserid:
  4808. description: 交易用户id
  4809. type: integer
  4810. tradeusername:
  4811. description: 交易用户名称
  4812. type: string
  4813. unitid:
  4814. description: 单位id(现货商品)
  4815. type: integer
  4816. updatetime:
  4817. description: 更新时间
  4818. type: string
  4819. wrstandardcode:
  4820. description: 品类代码
  4821. type: string
  4822. wrstandardid:
  4823. description: 品类id
  4824. type: integer
  4825. wrstandardname:
  4826. description: 品类名称
  4827. type: string
  4828. wrunitid:
  4829. description: 品类单位id
  4830. type: integer
  4831. wrunitidame:
  4832. description: 品类单位名称
  4833. type: string
  4834. type: object
  4835. models.Ermcp3MiddleGoodsDetail2:
  4836. properties:
  4837. convertratio:
  4838. description: 套保系数(折算系数)
  4839. type: number
  4840. gplist:
  4841. description: 关联商品组列表
  4842. items:
  4843. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4844. type: array
  4845. mg:
  4846. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4847. description: 套保商品信息
  4848. type: object
  4849. type: object
  4850. models.Ermcp3MiddleGoodsDetailEx:
  4851. properties:
  4852. dglist:
  4853. description: 关联的现货品种列表
  4854. items:
  4855. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4856. type: array
  4857. gplist:
  4858. description: 关联商品组列表
  4859. items:
  4860. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4861. type: array
  4862. mg:
  4863. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4864. description: 套保商品信息
  4865. type: object
  4866. type: object
  4867. models.Ermcp3RootUserAccount:
  4868. properties:
  4869. accountname:
  4870. description: 账户名称(机构名称)
  4871. type: string
  4872. accountstatus:
  4873. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  4874. type: integer
  4875. applysrc:
  4876. description: 申请来源 - 1:管理端 2:终端
  4877. type: integer
  4878. auditremark:
  4879. description: 审核备注
  4880. type: string
  4881. auditsrc:
  4882. description: 审核来源 - 1:管理端 2:终端
  4883. type: integer
  4884. audittime:
  4885. description: 审核时间
  4886. type: string
  4887. audituserid:
  4888. description: 审核人
  4889. type: integer
  4890. broker:
  4891. description: 所属经纪人ID
  4892. type: integer
  4893. canceltime:
  4894. description: 销户时间
  4895. type: string
  4896. canceluserid:
  4897. description: 销户人
  4898. type: integer
  4899. canrecommend:
  4900. description: 是否可推荐 - 0:不可 1;可
  4901. type: integer
  4902. createtime:
  4903. description: 创建时间
  4904. type: string
  4905. creatorid:
  4906. description: 创建人
  4907. type: integer
  4908. hasauth:
  4909. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  4910. type: integer
  4911. isanonymous:
  4912. description: 是否匿名下单 - 0:否 1:是
  4913. type: integer
  4914. maxinvestornum:
  4915. description: 最大用户数(经纪会员下投资者个数)
  4916. type: integer
  4917. memberuserid:
  4918. description: 所属会员ID
  4919. type: integer
  4920. modifierid:
  4921. description: 修改人
  4922. type: integer
  4923. modifyremark:
  4924. description: 变更备注
  4925. type: string
  4926. modifystatus:
  4927. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  4928. type: integer
  4929. modifytime:
  4930. description: 修改时间
  4931. type: string
  4932. parenttopuser:
  4933. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  4934. type: string
  4935. parentuserid:
  4936. description: 所属机构ID
  4937. type: integer
  4938. reckonaccountid:
  4939. description: 默认结算资金账号ID(机构分润使用) 作废
  4940. type: integer
  4941. refercount:
  4942. description: 推荐总人数
  4943. type: integer
  4944. refereeuserid:
  4945. description: 推荐人ID
  4946. type: integer
  4947. refernum:
  4948. description: 推荐码
  4949. type: string
  4950. rootuserid:
  4951. description: 根用户ID
  4952. type: integer
  4953. subaccountlevel:
  4954. description: 子账户层数
  4955. type: integer
  4956. subarealevelpath:
  4957. description: 子机构层级路径(逗号分隔,首尾加逗号)
  4958. type: string
  4959. userid:
  4960. description: 用户ID
  4961. type: integer
  4962. usertype:
  4963. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  4964. type: integer
  4965. type: object
  4966. models.Ermcp3SellBuyContract:
  4967. properties:
  4968. accountid:
  4969. description: 期货账户id
  4970. type: string
  4971. accountname:
  4972. description: 账户名称
  4973. type: string
  4974. attachment:
  4975. description: 附件
  4976. type: string
  4977. audittime:
  4978. description: 审核时间
  4979. type: string
  4980. biztype:
  4981. description: 业务类型 1-套保 2-套利
  4982. type: integer
  4983. brandname:
  4984. description: 品牌名称
  4985. type: string
  4986. contracctstatus:
  4987. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4988. type: integer
  4989. contractmargin:
  4990. description: 合同保证金
  4991. type: number
  4992. contractno:
  4993. description: 合同编号
  4994. type: string
  4995. contracttype:
  4996. description: 合同类型 1-采购, -1-销售
  4997. type: integer
  4998. convertfactor:
  4999. description: 标仓系数(品类)
  5000. type: number
  5001. createtime:
  5002. description: 创建时间
  5003. type: string
  5004. currencyid:
  5005. description: 币种id
  5006. type: integer
  5007. currencyname:
  5008. description: 币种名称
  5009. type: string
  5010. daikaiamount:
  5011. description: 应收(开)票额
  5012. type: number
  5013. deliveryenddate:
  5014. description: 交割结束日
  5015. type: string
  5016. deliverygoodscode:
  5017. description: 现货品种代码
  5018. type: string
  5019. deliverygoodsid:
  5020. description: 现货商品ID
  5021. type: integer
  5022. deliverygoodsname:
  5023. description: 现货品种名称
  5024. type: string
  5025. deliverystartdate:
  5026. description: 交割开始日
  5027. type: string
  5028. enddate:
  5029. description: 点价结束日
  5030. type: string
  5031. enumdicname:
  5032. description: 单位名称
  5033. type: string
  5034. goodscode:
  5035. description: 点价商品代码
  5036. type: string
  5037. goodsid:
  5038. description: 点价商品ID
  5039. type: integer
  5040. goodsname:
  5041. description: 点价商品名称
  5042. type: string
  5043. invoiceamount:
  5044. description: 已开票额
  5045. type: number
  5046. loanamount:
  5047. description: 贷款总额=已定价额+调整金额
  5048. type: number
  5049. margin:
  5050. description: 保证金
  5051. type: number
  5052. meruserid:
  5053. description: 跟单员id
  5054. type: integer
  5055. meruserlogincode:
  5056. description: 跟单员登录代码
  5057. type: string
  5058. merusername:
  5059. description: 跟单员名称
  5060. type: string
  5061. nickname:
  5062. description: 账户昵称
  5063. type: string
  5064. payamount:
  5065. description: 已收付额(收款或付款)
  5066. type: number
  5067. preinvoiceamount:
  5068. description: 预收(开)票额
  5069. type: number
  5070. prepayamount:
  5071. description: 预收付额
  5072. type: number
  5073. price:
  5074. description: 价格
  5075. type: number
  5076. pricedamount:
  5077. description: 已定价额
  5078. type: number
  5079. pricedavg:
  5080. description: 已点均价
  5081. type: number
  5082. pricedqty:
  5083. description: 已定价量
  5084. type: number
  5085. pricemove:
  5086. description: 升贴水
  5087. type: number
  5088. pricetype:
  5089. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5090. type: integer
  5091. producttype:
  5092. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5093. type: integer
  5094. qty:
  5095. description: 合同量
  5096. type: number
  5097. reckonadjustamount:
  5098. description: 调整金额
  5099. type: number
  5100. reckonedamount:
  5101. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5102. type: number
  5103. reckonotheramount:
  5104. description: 其它费用
  5105. type: number
  5106. reckonrealqty:
  5107. description: 已确定量
  5108. type: number
  5109. remark:
  5110. description: 备注
  5111. type: string
  5112. saleuserid:
  5113. description: 业务员id
  5114. type: integer
  5115. saleuserlogincode:
  5116. description: 业务员登录代码
  5117. type: string
  5118. saleusername:
  5119. description: 业务员名称
  5120. type: string
  5121. spotcontractid:
  5122. description: 合同ID
  5123. type: string
  5124. spotgoodsbrandid:
  5125. description: 现货品牌ID(DGFactoryItem表的ID)
  5126. type: integer
  5127. spotgoodsdesc:
  5128. description: 商品型号(商品规格)
  5129. type: string
  5130. startdate:
  5131. description: 点价开始日
  5132. type: string
  5133. totalamount:
  5134. description: 合计总额
  5135. type: number
  5136. tradeuserid:
  5137. description: 交易员id
  5138. type: integer
  5139. tradeuserlogincode:
  5140. description: 交易员登录代码
  5141. type: string
  5142. tradeusername:
  5143. description: 交易员名称
  5144. type: string
  5145. unpayamount:
  5146. description: 应收付款额(应支付或应收款)
  5147. type: number
  5148. unpricedqty:
  5149. description: 未定价量
  5150. type: number
  5151. unsureqty:
  5152. description: 未确定量
  5153. type: number
  5154. userid:
  5155. description: 机构ID
  5156. type: integer
  5157. wrstandardcode:
  5158. description: 品类代码
  5159. type: string
  5160. wrstandardid:
  5161. description: 品类ID
  5162. type: integer
  5163. wrstandardname:
  5164. description: 品类名称
  5165. type: string
  5166. type: object
  5167. models.Ermcp3SpotGoodsPrice:
  5168. properties:
  5169. areauserid:
  5170. description: 所属机构id
  5171. type: integer
  5172. brandname:
  5173. description: 品牌名称
  5174. type: string
  5175. currencyid:
  5176. description: 报价货币ID
  5177. type: integer
  5178. currencyname:
  5179. description: 币种名称
  5180. type: string
  5181. deliverygoodscode:
  5182. description: 现货商品代码
  5183. type: string
  5184. deliverygoodsid:
  5185. description: 现货商品id
  5186. type: integer
  5187. deliverygoodsname:
  5188. description: 现货商品名称
  5189. type: string
  5190. enumdicname:
  5191. description: 现货商品单位名称
  5192. type: string
  5193. gbenumdicname:
  5194. description: 品类单位名称
  5195. type: string
  5196. gmunitid:
  5197. description: 品类单位id
  5198. type: integer
  5199. isvalid:
  5200. description: 是否有效 - 0:无效 1:有效
  5201. type: integer
  5202. operateid:
  5203. description: 最后操作人
  5204. type: integer
  5205. operatesrc:
  5206. description: 最后操作来源 - 1:管理端 2:终端
  5207. type: integer
  5208. operatetime:
  5209. description: 最后操作时间
  5210. type: string
  5211. operatorname:
  5212. description: 操作人名称
  5213. type: string
  5214. spotgoodsbrandid:
  5215. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5216. type: integer
  5217. spotgoodsprice:
  5218. description: 现货价格
  5219. type: number
  5220. tradedate:
  5221. description: 交易日(yyyyMMdd)
  5222. type: string
  5223. unitid:
  5224. description: 现货商品单位id
  5225. type: integer
  5226. wrstandardcode:
  5227. description: 品类代码
  5228. type: string
  5229. wrstandardid:
  5230. description: 现货品类ID(通用则为0)
  5231. type: integer
  5232. wrstandardname:
  5233. description: 品类名称
  5234. type: string
  5235. type: object
  5236. models.Ermcp3SpotGoodsPriceLog:
  5237. properties:
  5238. areauserid:
  5239. description: 所属机构id
  5240. type: integer
  5241. brandname:
  5242. description: 品牌名称
  5243. type: string
  5244. currencyid:
  5245. description: 报价货币ID
  5246. type: integer
  5247. deliverygoodscode:
  5248. description: 现货商品代码
  5249. type: string
  5250. deliverygoodsid:
  5251. description: 现货商品id
  5252. type: integer
  5253. deliverygoodsname:
  5254. description: 现货商品名称
  5255. type: string
  5256. enumdicname:
  5257. description: 现货商品单位名称
  5258. type: string
  5259. gbenumdicname:
  5260. description: 品类单位名称
  5261. type: string
  5262. gmunitid:
  5263. description: 品类单位id
  5264. type: integer
  5265. logid:
  5266. description: 日志id
  5267. type: integer
  5268. operateid:
  5269. description: 最后操作人
  5270. type: integer
  5271. operatesrc:
  5272. description: 最后操作来源 - 1:管理端 2:终端
  5273. type: integer
  5274. operatetime:
  5275. description: 最后操作时间
  5276. type: string
  5277. operatorname:
  5278. description: 操作人名称
  5279. type: string
  5280. spotgoodsbrandid:
  5281. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5282. type: integer
  5283. spotgoodsprice:
  5284. description: 现货价格
  5285. type: number
  5286. tradedate:
  5287. description: 交易日(yyyyMMdd)
  5288. type: string
  5289. unitid:
  5290. description: 现货商品单位id
  5291. type: integer
  5292. wrstandardcode:
  5293. description: 品类代码
  5294. type: string
  5295. wrstandardid:
  5296. description: 现货品类ID(通用则为0)
  5297. type: integer
  5298. wrstandardname:
  5299. description: 品类名称
  5300. type: string
  5301. type: object
  5302. models.Ermcp3TaFutuReDataReport:
  5303. properties:
  5304. accountid:
  5305. description: 交易账户
  5306. type: integer
  5307. accountname:
  5308. description: 交易账号名称
  5309. type: string
  5310. agreeunit:
  5311. description: 商品合约单位
  5312. type: number
  5313. begindate:
  5314. description: 开始交易日
  5315. type: string
  5316. buyorsell:
  5317. description: 持仓方向
  5318. type: integer
  5319. charge:
  5320. description: 手续费
  5321. type: number
  5322. closeavgprice:
  5323. description: 平仓均价
  5324. type: number
  5325. closepl:
  5326. description: 平仓损益
  5327. type: number
  5328. currencyid:
  5329. description: 结算币种ID
  5330. type: integer
  5331. currencyname:
  5332. description: 币种名称
  5333. type: string
  5334. cycletime:
  5335. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5336. type: string
  5337. cycletype:
  5338. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5339. type: integer
  5340. enddate:
  5341. description: 结束交易日
  5342. type: string
  5343. enumdicname:
  5344. description: 单位名称
  5345. type: string
  5346. floatpl:
  5347. description: 浮动损益
  5348. type: number
  5349. goodscode:
  5350. description: 交易合约代码
  5351. type: string
  5352. goodsgroupid:
  5353. description: 交易品种
  5354. type: integer
  5355. goodsgroupname:
  5356. description: 交易品种名称
  5357. type: string
  5358. goodsgroupspotqty:
  5359. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  5360. type: number
  5361. goodsid:
  5362. description: 交易合约
  5363. type: integer
  5364. goodsname:
  5365. description: 交易合约名称
  5366. type: string
  5367. goodunitid:
  5368. description: 交易合约单位id
  5369. type: integer
  5370. holdamount:
  5371. description: 期末持仓额
  5372. type: number
  5373. holdqty:
  5374. description: 期末持仓量
  5375. type: number
  5376. lastholdamount:
  5377. description: 当前持仓额
  5378. type: number
  5379. lastprice:
  5380. description: 最新价
  5381. type: number
  5382. middlegoodsid:
  5383. description: 套保品种id
  5384. type: integer
  5385. middlegoodsname:
  5386. description: 套保商品名称
  5387. type: string
  5388. middlegoodsqty:
  5389. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  5390. type: number
  5391. middlgoodscode:
  5392. description: 套保商品代码
  5393. type: string
  5394. openamount:
  5395. description: 期末开仓额
  5396. type: number
  5397. openavgprice:
  5398. description: 开仓均价
  5399. type: number
  5400. oriholdamount:
  5401. description: 期初持仓额
  5402. type: number
  5403. oriholdqty:
  5404. description: 期初持仓量
  5405. type: number
  5406. oriopenamount:
  5407. description: 期初开仓额
  5408. type: number
  5409. outergroupcode:
  5410. description: 交易品种代码
  5411. type: string
  5412. qtydecimalplace:
  5413. description: 成交量小数位
  5414. type: integer
  5415. reckondate:
  5416. description: 日照时期(yyyyMMdd)
  5417. type: string
  5418. reckonholdamount:
  5419. description: 结算持仓额
  5420. type: number
  5421. reckonpl:
  5422. description: 结算损益
  5423. type: number
  5424. reckonpl2:
  5425. description: 结算逐笔盈亏
  5426. type: number
  5427. reckonprice:
  5428. description: 结算价
  5429. type: number
  5430. relateduserid:
  5431. description: 账户关联用户ID
  5432. type: integer
  5433. todaycloseamount:
  5434. description: 今平仓额
  5435. type: number
  5436. todaycloseqty:
  5437. description: 今平仓量
  5438. type: number
  5439. todaygoodsgroupspotqty:
  5440. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  5441. type: number
  5442. todaymiddlegoodsqty:
  5443. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  5444. type: number
  5445. todayopenamount:
  5446. description: 今开仓额
  5447. type: number
  5448. todayopenqty:
  5449. description: 今开仓量
  5450. type: number
  5451. userid:
  5452. description: 账户所属用户ID
  5453. type: integer
  5454. type: object
  5455. models.Ermcp3Wrstandard:
  5456. properties:
  5457. areauserid:
  5458. description: 所属机构
  5459. type: integer
  5460. cantrade:
  5461. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  5462. type: integer
  5463. convertfactor:
  5464. description: 标仓系数
  5465. type: number
  5466. createtime:
  5467. description: 创建时间
  5468. type: string
  5469. creatorid:
  5470. description: 创建人
  5471. type: integer
  5472. deliverygoodsid:
  5473. description: 现货品种ID
  5474. type: integer
  5475. enumdicname:
  5476. description: 品类单位名称
  5477. type: string
  5478. isvalid:
  5479. description: 是否有效 0-无效(停用) 1-有效(正常)
  5480. type: integer
  5481. minivalue:
  5482. description: 最小变动值
  5483. type: integer
  5484. minivaluedp:
  5485. description: 最小变动值小数位
  5486. type: integer
  5487. realminivalue:
  5488. description: 实际最小变动值
  5489. type: integer
  5490. realminivaluedp:
  5491. description: 实际最小变动值小数位
  5492. type: integer
  5493. remark:
  5494. description: 备注
  5495. type: string
  5496. unitid:
  5497. description: 品类单位ID
  5498. type: integer
  5499. updatetime:
  5500. description: 更新时间
  5501. type: string
  5502. wrstandardcode:
  5503. description: 品类代码
  5504. type: string
  5505. wrstandardid:
  5506. description: 品类ID(SEQ_WRSTANDARD)
  5507. type: integer
  5508. wrstandardname:
  5509. description: 品类名称
  5510. type: string
  5511. type: object
  5512. models.ErmcpAreaSpotDetailModel:
  5513. properties:
  5514. contracttype:
  5515. description: 合同类型 1-采购 -1-销售
  5516. type: integer
  5517. createtime:
  5518. description: 创建时间
  5519. type: string
  5520. enumdicname:
  5521. description: 现货商品单位名称
  5522. type: string
  5523. logtype:
  5524. description: 记录类型 1-套保 2-现货合同
  5525. type: integer
  5526. qty:
  5527. description: 数量
  5528. type: number
  5529. recordname:
  5530. description: 类型名称
  5531. type: string
  5532. relatedid:
  5533. description: 套保计划ID/现货合同ID
  5534. type: string
  5535. relatedno:
  5536. description: 编号
  5537. type: string
  5538. strtime:
  5539. description: 时间
  5540. type: string
  5541. wrstandardcode:
  5542. description: 现货商品代码
  5543. type: string
  5544. wrstandardname:
  5545. description: 现货商品名称
  5546. type: string
  5547. type: object
  5548. models.ErmcpAvalidGoodsGroupModel:
  5549. properties:
  5550. goodsgroupid:
  5551. description: 期货品种id
  5552. type: integer
  5553. goodsgroupname:
  5554. description: 期货品种名称
  5555. type: string
  5556. goodunitid:
  5557. description: 品种单位id
  5558. type: integer
  5559. goodunitname:
  5560. description: 品种单位名称
  5561. type: string
  5562. outergroupcode:
  5563. description: 期货品种代码
  5564. type: string
  5565. type: object
  5566. models.ErmcpBizGroupEx:
  5567. properties:
  5568. acclist:
  5569. description: 账号列表
  5570. items:
  5571. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5572. type: array
  5573. bizgroupid:
  5574. description: 业务分组id
  5575. type: integer
  5576. biztype:
  5577. description: 业务类型 1-套保 2-套利
  5578. type: integer
  5579. wrlist:
  5580. description: 现货商品表
  5581. items:
  5582. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5583. type: array
  5584. type: object
  5585. models.ErmcpBizGroupSpotGoods:
  5586. properties:
  5587. areauserid:
  5588. description: 所属机构id
  5589. type: integer
  5590. bizgroupid:
  5591. description: 分组id
  5592. type: integer
  5593. biztype:
  5594. description: 业务类型 1-套保 2-套利
  5595. type: integer
  5596. deliverygoodscode:
  5597. description: 现货商品代码
  5598. type: string
  5599. deliverygoodsid:
  5600. description: 现货商品id
  5601. type: integer
  5602. deliverygoodsname:
  5603. description: 现货商品名称
  5604. type: string
  5605. unitid:
  5606. description: 现货商品单位id
  5607. type: integer
  5608. type: object
  5609. models.ErmcpBizGroupTaAccount:
  5610. properties:
  5611. accountid:
  5612. description: 账号id
  5613. type: integer
  5614. accountname:
  5615. description: 账号名称
  5616. type: string
  5617. areauserid:
  5618. description: 所属机构id
  5619. type: integer
  5620. bizgroupid:
  5621. description: 业务分组id
  5622. type: integer
  5623. ismain:
  5624. description: 是否主账号 1-是 0-否
  5625. type: integer
  5626. type: object
  5627. models.ErmcpDGFactoryItem:
  5628. properties:
  5629. areauserid:
  5630. description: 用户id
  5631. type: integer
  5632. deliverygoodsid:
  5633. description: 现货品种ID
  5634. type: integer
  5635. dgfactoryitemid:
  5636. description: 选择项ID(SEQ_DGFACTORYITEM)
  5637. type: integer
  5638. dgfactoryitemtypeid:
  5639. description: 要素项类型
  5640. type: integer
  5641. dgfactoryitemvalue:
  5642. description: 要素项值(类型为仓库时填写仓库名称)
  5643. type: string
  5644. isvalid:
  5645. description: 是否有效 - 0:无效 1:有效
  5646. type: integer
  5647. orderindex:
  5648. description: 顺序
  5649. type: integer
  5650. warehouseid:
  5651. description: 仓库ID(类型为仓库时填写)
  5652. type: integer
  5653. type: object
  5654. models.ErmcpDeliveryGoods:
  5655. properties:
  5656. agreeunit:
  5657. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5658. type: integer
  5659. areauserid:
  5660. description: 所属机构
  5661. type: integer
  5662. auditflag:
  5663. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5664. type: integer
  5665. categoryid:
  5666. description: 类别ID(SEQ_WRCATEGORY)
  5667. type: integer
  5668. deliverygoodscode:
  5669. description: 现货品种代码
  5670. type: string
  5671. deliverygoodsid:
  5672. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5673. type: integer
  5674. deliverygoodsname:
  5675. description: 现货品种名称
  5676. type: string
  5677. deliverygoodstype:
  5678. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5679. type: integer
  5680. dgstatus:
  5681. description: 品种状态 - 作废 - 0:未激活 1:正常
  5682. type: integer
  5683. enumdicname:
  5684. description: 现货品种单位名称
  5685. type: string
  5686. goodsunitid:
  5687. description: 现货品种单位ID
  5688. type: integer
  5689. isvalid:
  5690. description: 是否有效 - 0:无效 1:有效
  5691. type: integer
  5692. qtydecimalplace:
  5693. description: 成交量小数位
  5694. type: integer
  5695. remark:
  5696. description: 备注
  5697. type: string
  5698. standardqty:
  5699. description: 标准数量(库位数量) [标准品特有]
  5700. type: integer
  5701. standardqtyrange:
  5702. description: 标准数量偏差范围 [标准品特有]
  5703. type: integer
  5704. type: object
  5705. models.ErmcpDeliveryGoodsDetail2:
  5706. properties:
  5707. convertratio:
  5708. description: 套保系数(折算系数)
  5709. type: number
  5710. data:
  5711. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5712. description: 现货商品基本信息(交割品种)
  5713. type: object
  5714. gblist:
  5715. description: 品牌列表
  5716. items:
  5717. $ref: '#/definitions/models.Ermcp3Brand'
  5718. type: array
  5719. gmlist:
  5720. description: 品类列表(仓单标准)
  5721. items:
  5722. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5723. type: array
  5724. type: object
  5725. models.ErmcpDeliveryGoodsDetailEx:
  5726. properties:
  5727. data:
  5728. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5729. description: 现货商品基本信息(交割品种)
  5730. type: object
  5731. gblist:
  5732. description: 品牌列表
  5733. items:
  5734. $ref: '#/definitions/models.Ermcp3Brand'
  5735. type: array
  5736. gmlist:
  5737. description: 品类列表(仓单标准)
  5738. items:
  5739. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5740. type: array
  5741. mgList:
  5742. description: 套保列表
  5743. items:
  5744. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5745. type: array
  5746. type: object
  5747. models.ErmcpExposureDetailModel:
  5748. properties:
  5749. areauserid:
  5750. description: 机构ID
  5751. type: integer
  5752. changeQty:
  5753. description: 套保变动量
  5754. type: number
  5755. contracttype:
  5756. description: 现货合同类型 - 1:采购 -1:销售
  5757. type: integer
  5758. convertfactor:
  5759. description: 标仓系数
  5760. type: number
  5761. convertratio:
  5762. description: 套保系数
  5763. type: number
  5764. createtime:
  5765. description: 时间
  5766. type: string
  5767. enumdicname:
  5768. description: 现货商品单位名称
  5769. type: string
  5770. logtype:
  5771. description: 类型 - 1:套保计划 2:现货合同
  5772. type: integer
  5773. middlegoodsId:
  5774. description: 套保商品id
  5775. type: integer
  5776. middlegoodscode:
  5777. description: 套保商品代码
  5778. type: string
  5779. middlegoodsname:
  5780. description: 套保商品名称
  5781. type: string
  5782. qty:
  5783. description: 数量
  5784. type: number
  5785. relateNo:
  5786. description: 现货合同/套保计划编号
  5787. type: string
  5788. wrstandardcode:
  5789. description: 现货商品代码
  5790. type: string
  5791. wrstandardid:
  5792. description: 现货商品ID
  5793. type: integer
  5794. wrstandardname:
  5795. description: 现货商品名称
  5796. type: string
  5797. type: object
  5798. models.ErmcpExposurePostion:
  5799. properties:
  5800. agreeunit:
  5801. description: 合约单位
  5802. type: string
  5803. areauserid:
  5804. description: 所属机构id
  5805. type: integer
  5806. convertratio:
  5807. description: 期货品种系数(折算系数)
  5808. type: number
  5809. curqty:
  5810. description: 当前持仓
  5811. type: integer
  5812. diffhedgeqty:
  5813. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5814. type: number
  5815. diffqty:
  5816. description: 持仓变动量=当前持仓-昨日持仓
  5817. type: integer
  5818. goodscode:
  5819. description: 商品代码
  5820. type: string
  5821. goodsid:
  5822. description: 商品id
  5823. type: integer
  5824. goodsname:
  5825. description: 商品名称
  5826. type: string
  5827. middlegoodsid:
  5828. description: 套保商品id
  5829. type: integer
  5830. ydqty:
  5831. description: 昨日持仓
  5832. type: integer
  5833. type: object
  5834. models.ErmcpFuturesCompany:
  5835. properties:
  5836. brokerid:
  5837. description: 经纪公司代码
  5838. type: string
  5839. channeladdress:
  5840. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5841. type: string
  5842. channelid:
  5843. description: 对冲渠道ID
  5844. type: string
  5845. createtime:
  5846. description: 创建时间
  5847. type: string
  5848. creatorid:
  5849. description: 创建人
  5850. type: string
  5851. fcid:
  5852. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5853. type: integer
  5854. fcname:
  5855. description: 期货公司名称
  5856. type: string
  5857. isvalid:
  5858. description: 是否有效 - 0:无效 1:有效
  5859. type: integer
  5860. mhpaddress:
  5861. description: MHP服务地址(IP:Port)
  5862. type: string
  5863. riskrulegroupid:
  5864. description: 风控规则组ID
  5865. type: string
  5866. tradefeetmpid:
  5867. description: 手续费模板ID[TradeConfigTmpType为2]
  5868. type: string
  5869. trademargintmpid:
  5870. description: 保证金模板ID [TradeConfigTmpType为1]
  5871. type: string
  5872. traderatetmpid:
  5873. description: 汇率模板ID[TradeConfigTmpType为3]
  5874. type: string
  5875. updatetime:
  5876. description: 更新时间
  5877. type: string
  5878. updatorid:
  5879. description: 更新人
  5880. type: string
  5881. type: object
  5882. models.ErmcpGGConvertCfg:
  5883. properties:
  5884. convertratio:
  5885. description: 折算系数
  5886. type: number
  5887. destgoodsgroupid:
  5888. description: 目标品种ID
  5889. type: integer
  5890. dstcode:
  5891. description: 目录品种代码
  5892. type: string
  5893. dstexchangecode:
  5894. description: 目标期货交易所
  5895. type: string
  5896. dstname:
  5897. description: 目标品种名称
  5898. type: string
  5899. dstunitid:
  5900. description: 目标品种单位ID
  5901. type: integer
  5902. dstunitidname:
  5903. description: 目标品种单位名称
  5904. type: string
  5905. modifytime:
  5906. description: 修改时间
  5907. type: string
  5908. srccode:
  5909. description: 源品种代码
  5910. type: string
  5911. srcexchangecode:
  5912. description: 源期货交易所
  5913. type: string
  5914. srcgoodsgroupid:
  5915. description: 源品种ID
  5916. type: integer
  5917. srcname:
  5918. description: 源品种名称
  5919. type: string
  5920. srcunitid:
  5921. description: 源品种单位ID
  5922. type: integer
  5923. srcunitidname:
  5924. description: 源品种单位名称
  5925. type: string
  5926. type: object
  5927. models.ErmcpGoods:
  5928. properties:
  5929. agreeunit:
  5930. description: 合约单位
  5931. type: number
  5932. areauserid:
  5933. description: 所属机构
  5934. type: integer
  5935. auditaccountid:
  5936. description: 审核操作员账号
  5937. type: integer
  5938. audittime:
  5939. description: 审核时间
  5940. type: string
  5941. cancelaccountid:
  5942. description: 注销操作员账号
  5943. type: integer
  5944. canceltime:
  5945. description: 注销时间
  5946. type: string
  5947. closepricemode:
  5948. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5949. type: integer
  5950. closepriceparam:
  5951. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5952. type: number
  5953. createtime:
  5954. description: 创建时间
  5955. type: string
  5956. creatorid:
  5957. description: 创建人
  5958. type: integer
  5959. currencyid:
  5960. description: 报价货币ID
  5961. type: integer
  5962. cutmode:
  5963. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5964. type: integer
  5965. decimalplace:
  5966. description: 报价小数位
  5967. type: integer
  5968. delistingdate:
  5969. description: 商品退市时间(状态:退市) -- 已作废
  5970. type: string
  5971. delistingmode:
  5972. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5973. type: integer
  5974. deliveryflag:
  5975. description: 交割标志 - 0:不可交割 1:可交割
  5976. type: integer
  5977. enumdicname:
  5978. description: 单位名称
  5979. type: string
  5980. forceclosemode:
  5981. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5982. type: integer
  5983. forceclosevalue:
  5984. description: 定期强平参数 [收益权]
  5985. type: integer
  5986. goodscode:
  5987. description: 商品代码(内部)
  5988. type: string
  5989. goodscurrencyid:
  5990. description: 合约货币ID
  5991. type: integer
  5992. goodsgroupid:
  5993. description: 所属商品组ID
  5994. type: integer
  5995. goodsid:
  5996. description: 商品ID(自增ID SEQ_GOODS)
  5997. type: integer
  5998. goodsname:
  5999. description: 商品名称
  6000. type: string
  6001. goodsquotetype:
  6002. description: '合约报价类型: 1-直接报价 2-间接报价'
  6003. type: integer
  6004. goodsstatus:
  6005. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6006. type: integer
  6007. goodstradetype:
  6008. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6009. type: integer
  6010. goodunitid:
  6011. description: 报价单位ID
  6012. type: integer
  6013. hasquoter:
  6014. description: 是否有报价商 - 0:无报价商 1:有报价商
  6015. type: integer
  6016. hqprotecttime:
  6017. description: 行情保护时间(秒)
  6018. type: integer
  6019. innerdealmode:
  6020. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6021. type: integer
  6022. isbuylimited:
  6023. description: 是否限制建仓量 - 0:不限制 1:限制
  6024. type: integer
  6025. isvisible:
  6026. description: 游客是否可见 - 0:不可见 1:可见
  6027. type: integer
  6028. lasttradedate:
  6029. description: 最后交易日期(状态:待退市)
  6030. type: string
  6031. listingdate:
  6032. description: 交易开始日期
  6033. type: string
  6034. marketid:
  6035. description: 所属市场ID
  6036. type: integer
  6037. modifierid:
  6038. description: 修改人
  6039. type: integer
  6040. modifystatus:
  6041. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6042. type: integer
  6043. modifytime:
  6044. description: 修改时间
  6045. type: string
  6046. outerdealmode:
  6047. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6048. type: integer
  6049. outgoodscode:
  6050. description: 商品代码(外部)
  6051. type: string
  6052. pictureurl:
  6053. description: 商品图片
  6054. type: string
  6055. qtydecimalplace:
  6056. description: 成交量小数位
  6057. type: integer
  6058. quotegear:
  6059. description: 行情档位(1-10)
  6060. type: integer
  6061. quoteminunit:
  6062. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6063. type: integer
  6064. quoteshowtype:
  6065. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6066. type: integer
  6067. quoteshowtypeinterval:
  6068. description: 行情报价间隔时间(秒)(成交价时为0)
  6069. type: integer
  6070. relatedgoodsid:
  6071. description: 关联参考商品ID
  6072. type: integer
  6073. remark:
  6074. description: 备注
  6075. type: string
  6076. trademode:
  6077. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6078. 21:竞拍-大宗式 22:受托竞价
  6079. type: integer
  6080. required:
  6081. - goodscode
  6082. - goodsid
  6083. - goodsname
  6084. - marketid
  6085. type: object
  6086. models.ErmcpGoodsBrand:
  6087. properties:
  6088. areauserid:
  6089. description: 所属机构
  6090. type: integer
  6091. brandid:
  6092. description: BrandID(SEQ_SPOTGOODSBRAND)
  6093. type: integer
  6094. brandname:
  6095. description: 品牌名称
  6096. type: string
  6097. createtime:
  6098. description: 创建时间
  6099. type: string
  6100. creatorid:
  6101. description: 创建人
  6102. type: integer
  6103. creatorsrc:
  6104. description: 创建人来源 - 1:管理端 2:终端
  6105. type: integer
  6106. deliverygoodsid:
  6107. description: 现货品种ID
  6108. type: integer
  6109. isvalid:
  6110. description: 是否有效 - 0:无效 1:有效
  6111. type: integer
  6112. updatetime:
  6113. description: 更新时间
  6114. type: string
  6115. updatorid:
  6116. description: 更新人
  6117. type: integer
  6118. updatorsrc:
  6119. description: 更新人来源 - 1:管理端 2:终端
  6120. type: integer
  6121. wrstandardid:
  6122. description: 现货商品ID
  6123. type: integer
  6124. type: object
  6125. models.ErmcpGoodsModel:
  6126. properties:
  6127. areauserid:
  6128. description: 所属机构
  6129. type: integer
  6130. convertfactor:
  6131. description: 标仓系数
  6132. type: number
  6133. createtime:
  6134. description: 创建时间
  6135. type: string
  6136. creatorid:
  6137. description: 创建人
  6138. type: integer
  6139. creatorsrc:
  6140. description: 创建人来源 - 1:管理端 2:终端
  6141. type: integer
  6142. deliverygoodsid:
  6143. description: 现货品种ID
  6144. type: integer
  6145. isvalid:
  6146. description: 是否有效 - 0:无效 1:有效
  6147. type: integer
  6148. modelid:
  6149. description: ModelID(SEQ_SPOTGOODSMODEL)
  6150. type: integer
  6151. modelname:
  6152. description: 型号名称
  6153. type: string
  6154. updatetime:
  6155. description: 更新时间
  6156. type: string
  6157. updatorid:
  6158. description: 更新人
  6159. type: integer
  6160. updatorsrc:
  6161. description: 更新人来源 - 1:管理端 2:终端
  6162. type: integer
  6163. wrstandardid:
  6164. description: 现货商品ID
  6165. type: integer
  6166. type: object
  6167. models.ErmcpHedgePosition:
  6168. properties:
  6169. accountid:
  6170. description: 资金账号[外部母账户]
  6171. type: integer
  6172. curbuyposition:
  6173. description: 期末买头寸
  6174. type: integer
  6175. cursellposition:
  6176. description: 期末卖头寸
  6177. type: integer
  6178. curtdbuyposition:
  6179. description: 期末今日买头寸
  6180. type: integer
  6181. curtdsellposition:
  6182. description: 期末今日卖头寸
  6183. type: integer
  6184. curydbuyposition:
  6185. description: 期末上日买头寸
  6186. type: integer
  6187. curydsellposition:
  6188. description: 期末上日卖头寸
  6189. type: integer
  6190. decreaseqty:
  6191. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  6192. type: integer
  6193. fretdbuyposition:
  6194. description: 冻结今日买头寸
  6195. type: integer
  6196. fretdsellposition:
  6197. description: 冻结今日卖头寸
  6198. type: integer
  6199. freydbuyposition:
  6200. description: 冻结上日买头寸
  6201. type: integer
  6202. freydsellposition:
  6203. description: 冻结上日卖头寸
  6204. type: integer
  6205. goodscode:
  6206. description: 商品代码
  6207. type: string
  6208. goodsid:
  6209. description: 商品id
  6210. type: integer
  6211. goodsname:
  6212. description: 商品名称
  6213. type: string
  6214. hedgeaccountcode:
  6215. description: 对冲账号
  6216. type: string
  6217. hedgegoodsid:
  6218. description: 对冲合约ID
  6219. type: integer
  6220. increaseqty:
  6221. description: 增加数量 = 期末买头寸 - 期初买头寸
  6222. type: integer
  6223. marketid:
  6224. description: 市场ID
  6225. type: integer
  6226. relateduserid:
  6227. description: 关联用户id
  6228. type: integer
  6229. totalcurqty:
  6230. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  6231. type: integer
  6232. totalydqty:
  6233. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  6234. type: integer
  6235. tradedate:
  6236. description: 交易日(yyyyMMdd)
  6237. type: string
  6238. ydbuyposition:
  6239. description: 期初买头寸
  6240. type: integer
  6241. ydsellposition:
  6242. description: 期初卖头寸
  6243. type: integer
  6244. type: object
  6245. models.ErmcpHedgePositionDetail:
  6246. properties:
  6247. buyorsell:
  6248. description: 买卖方向 0-买 1-卖
  6249. type: integer
  6250. channelbuildtype:
  6251. description: 开平方向 1-建仓 2-平仓
  6252. type: integer
  6253. goodscode:
  6254. description: 商品代码
  6255. type: string
  6256. goodsname:
  6257. description: 商品名称
  6258. type: string
  6259. hedgegoodsid:
  6260. description: 商品id
  6261. type: integer
  6262. tradeqty:
  6263. description: 数量(成交数量)
  6264. type: integer
  6265. tradetime:
  6266. description: 时间(成交时间)
  6267. type: string
  6268. type: object
  6269. models.ErmcpHisExposure:
  6270. properties:
  6271. needhedgeexposoure:
  6272. description: 应套保敞口
  6273. type: number
  6274. reckondate:
  6275. description: 日照时期(yyyyMMdd)
  6276. type: string
  6277. totalexposure:
  6278. description: 总敞口
  6279. type: number
  6280. type: object
  6281. models.ErmcpHisExposureS:
  6282. properties:
  6283. data:
  6284. description: 历史敞口
  6285. items:
  6286. $ref: '#/definitions/models.ErmcpHisExposure'
  6287. type: array
  6288. enumdicname:
  6289. description: 单位名称
  6290. type: string
  6291. middlegoodscode:
  6292. description: 套保品种代码
  6293. type: string
  6294. middlegoodsid:
  6295. description: 套保品种ID
  6296. type: integer
  6297. middlegoodsname:
  6298. description: 套保品种名称
  6299. type: string
  6300. type: object
  6301. models.ErmcpLoginTaAccount:
  6302. properties:
  6303. accountid:
  6304. description: 账号id
  6305. type: integer
  6306. accountname:
  6307. description: 账号名称
  6308. type: string
  6309. type: object
  6310. models.ErmcpLoginUser:
  6311. properties:
  6312. acclist:
  6313. description: 关联资金账号
  6314. items:
  6315. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  6316. type: array
  6317. accountname:
  6318. description: 用户名称
  6319. type: string
  6320. clientroleid:
  6321. description: 角色id(usertype=2)
  6322. type: integer
  6323. createtime:
  6324. description: 创建时间
  6325. type: string
  6326. logincode:
  6327. description: 登录代码
  6328. type: string
  6329. loginid:
  6330. description: 登录id(LOGINID)
  6331. type: integer
  6332. loginname:
  6333. description: 登录名称(loginaccount表中的accountname字段)
  6334. type: string
  6335. loginstatus:
  6336. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6337. type: integer
  6338. memberuserid:
  6339. description: 所属会员id
  6340. type: integer
  6341. mobile:
  6342. description: 手机号
  6343. type: string
  6344. modifytime:
  6345. description: 修改时间
  6346. type: string
  6347. password:
  6348. description: 密码(不可解密)
  6349. type: string
  6350. rolename:
  6351. description: 角色名称
  6352. type: string
  6353. rolestatus:
  6354. description: 角色状态 1-启用 2-停用
  6355. type: integer
  6356. roletype:
  6357. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6358. type: string
  6359. userid:
  6360. description: 用户id
  6361. type: integer
  6362. usertype:
  6363. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6364. type: integer
  6365. type: object
  6366. models.ErmcpLoginUserEx:
  6367. properties:
  6368. accountstatus:
  6369. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6370. type: integer
  6371. mobile:
  6372. description: 手机号
  6373. type: string
  6374. querytype:
  6375. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6376. type: integer
  6377. roleid:
  6378. description: 角色id(交易账户->用户id)
  6379. type: integer
  6380. rolename:
  6381. description: 角色名称(交易账户->用户名称)
  6382. type: string
  6383. userlist:
  6384. description: 用户列表
  6385. items:
  6386. $ref: '#/definitions/models.ErmcpLoginUser'
  6387. type: array
  6388. usertype:
  6389. description: 用户类型 2-机构 7-企业成员(云平台)
  6390. type: integer
  6391. type: object
  6392. models.ErmcpMiddleGoodsChangeLog:
  6393. properties:
  6394. aftervalue:
  6395. description: 变更后
  6396. type: number
  6397. applyid:
  6398. description: 操作人
  6399. type: integer
  6400. applyname:
  6401. description: 操作人名称
  6402. type: string
  6403. applysrc:
  6404. description: 操作来源 - 1:管理端 2:终端
  6405. type: integer
  6406. beforevalue:
  6407. description: 变更前
  6408. type: number
  6409. changelogtype:
  6410. description: 变更流水类型 - 1:套保比率变更
  6411. type: integer
  6412. handlestatus:
  6413. description: 处理状态
  6414. type: integer
  6415. logdatetime:
  6416. description: 流水日期
  6417. type: string
  6418. logid:
  6419. description: 流水ID
  6420. type: integer
  6421. logremark:
  6422. description: 流水备注
  6423. type: string
  6424. middlegoodsid:
  6425. description: 套保品种ID
  6426. type: integer
  6427. tradedate:
  6428. description: 交易日(yyyyMMdd)
  6429. type: string
  6430. updatetime:
  6431. description: 更新时间
  6432. type: string
  6433. type: object
  6434. models.ErmcpMiddleGoodsDetail:
  6435. properties:
  6436. cvList:
  6437. description: 期货品种折算列表
  6438. items:
  6439. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  6440. type: array
  6441. mg:
  6442. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  6443. description: 套保品种基本信息
  6444. type: object
  6445. wrcList:
  6446. description: 现货品种列表(现货商品折算配置)
  6447. items:
  6448. $ref: '#/definitions/models.WRSConverTDetail'
  6449. type: array
  6450. type: object
  6451. models.ErmcpMiddleGoodsModel:
  6452. properties:
  6453. areauserid:
  6454. description: 机构用户ID
  6455. type: integer
  6456. createtime:
  6457. description: 修改时间
  6458. type: string
  6459. enumdicname:
  6460. description: 单位名称
  6461. type: string
  6462. evaluateratio:
  6463. description: 估价系数
  6464. type: number
  6465. goodsgroupid:
  6466. description: 关联期货品种ID
  6467. type: integer
  6468. goodsunitid:
  6469. description: 单位ID
  6470. type: integer
  6471. isvalid:
  6472. description: 状态 0-无效(停用) 1-有效(正常)
  6473. type: integer
  6474. middlegoodscode:
  6475. description: 套保品种代码
  6476. type: string
  6477. middlegoodsid:
  6478. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6479. type: integer
  6480. middlegoodsname:
  6481. description: 套保品种名称
  6482. type: string
  6483. modifytime:
  6484. description: 修改时间
  6485. type: string
  6486. needarbitrageratio:
  6487. description: 套利比例
  6488. type: number
  6489. needhedgeratio:
  6490. description: 套保比率
  6491. type: number
  6492. qtydecimalplace:
  6493. description: 数量小数位
  6494. type: integer
  6495. relatedgoodsid:
  6496. description: 关联交易商品ID
  6497. type: integer
  6498. relatedgoodstype:
  6499. description: 关联商品类型 - 1:期货合约 2:现货品种
  6500. type: integer
  6501. remark:
  6502. description: 备注
  6503. type: string
  6504. type: object
  6505. models.ErmcpMiddlegoodsRelateGoods:
  6506. properties:
  6507. agreeunit:
  6508. description: 合约乘数
  6509. type: number
  6510. convertratio:
  6511. description: 折算系数
  6512. type: number
  6513. enumdicname:
  6514. description: 单位名称(交易商品)
  6515. type: string
  6516. goodscode:
  6517. description: 交易商品代码
  6518. type: string
  6519. goodsgroupid:
  6520. description: 交易品种id
  6521. type: integer
  6522. goodsid:
  6523. description: 商品Id
  6524. type: integer
  6525. goodsname:
  6526. description: 交易商品名称
  6527. type: string
  6528. goodunitid:
  6529. description: 交易商品单位id
  6530. type: integer
  6531. middlegoodsid:
  6532. description: 套保商品id
  6533. type: integer
  6534. middlegoodsname:
  6535. description: 套保商品名称
  6536. type: string
  6537. middlegoodsswcode:
  6538. description: 套保商品代码
  6539. type: string
  6540. needarbitrageratio:
  6541. description: 应套利比例
  6542. type: number
  6543. needhedgeratio:
  6544. description: 应套保比例
  6545. type: number
  6546. type: object
  6547. models.ErmcpOPLogModel:
  6548. properties:
  6549. aftervalue:
  6550. description: 变更后
  6551. type: number
  6552. applyid:
  6553. description: 操作人ID
  6554. type: string
  6555. applyname:
  6556. description: 操作人名称
  6557. type: string
  6558. beforevalue:
  6559. description: 变更前
  6560. type: number
  6561. biztype:
  6562. description: 业务类型 - 1:套保计划 2:现货合同
  6563. type: integer
  6564. contracttype:
  6565. description: 现货合同类型 - 1:采购 -1:销售
  6566. type: integer
  6567. logvalue:
  6568. description: 数值
  6569. type: number
  6570. operatelogtype:
  6571. description: 操作流水类型
  6572. type: integer
  6573. operatelogtypedesc:
  6574. description: 操作流水类型名称
  6575. type: string
  6576. relatedid:
  6577. description: 现货合同ID\套保计划
  6578. type: string
  6579. updatetime:
  6580. description: 更新时间
  6581. type: string
  6582. type: object
  6583. models.ErmcpPendingAudit:
  6584. properties:
  6585. areastockqty:
  6586. description: '待审核数量: 库存申请'
  6587. type: integer
  6588. businessdjqty:
  6589. description: '待审核数量: 点价'
  6590. type: integer
  6591. businessfpqty:
  6592. description: '待审核数量: 发票'
  6593. type: integer
  6594. businessjsqty:
  6595. description: '待审核数量: 结算'
  6596. type: integer
  6597. businesskxqty:
  6598. description: '待审核数量: 款项'
  6599. type: integer
  6600. hedgeplanqty:
  6601. description: '待审核数量: 套保计划'
  6602. type: integer
  6603. spotcontractqty:
  6604. description: '待审核数量: 现货合同'
  6605. type: integer
  6606. userqty:
  6607. description: '待审核数量: 用户'
  6608. type: integer
  6609. type: object
  6610. models.ErmcpRealExposureModel:
  6611. properties:
  6612. AreaUserID:
  6613. description: 所属机构
  6614. type: integer
  6615. BuyFutureQty:
  6616. description: 买入期货数量
  6617. type: number
  6618. BuyPlanQty:
  6619. description: 采购计划数量
  6620. type: number
  6621. BuyPricedQty:
  6622. description: 采购合同已定价数量
  6623. type: number
  6624. MiddleGoodsCode:
  6625. description: 套保品种代码
  6626. type: string
  6627. MiddleGoodsHedgeRatio:
  6628. description: 套保比例
  6629. type: number
  6630. MiddleGoodsID:
  6631. description: 套保品种
  6632. type: integer
  6633. MiddleGoodsName:
  6634. description: 套保品种名称
  6635. type: string
  6636. NeedHedgeExposoure:
  6637. description: 应套保敞口(套保敞口)
  6638. type: number
  6639. NeedHedgeRatio:
  6640. description: 应套保敞口比例
  6641. type: number
  6642. OriBuyFutureQty:
  6643. description: 期初买入期货数量
  6644. type: number
  6645. OriBuyPlanQty:
  6646. description: 期初采购计划数量
  6647. type: number
  6648. OriBuyPricedQty:
  6649. description: 期初采购合同已定价数量
  6650. type: number
  6651. OriSellFutureQty:
  6652. description: 期初卖出期货数量
  6653. type: number
  6654. OriSellPlanQty:
  6655. description: 期初销售计划数量
  6656. type: number
  6657. OriSellPricedQty:
  6658. description: 期初销售合同已定价数量
  6659. type: number
  6660. SellFutureQty:
  6661. description: 卖出期货数量
  6662. type: number
  6663. SellPlanQty:
  6664. description: 销售计划数量
  6665. type: number
  6666. SellPricedQty:
  6667. description: 销售合同已定价数量
  6668. type: number
  6669. TotalExposure:
  6670. description: 总敞口
  6671. type: number
  6672. TotalFutureQty:
  6673. description: 期货总量
  6674. type: number
  6675. TotalHedgeRatio:
  6676. description: 敞口比例
  6677. type: number
  6678. TotalNeedHedgeQty:
  6679. description: 应套保总量(现货应套保总量)
  6680. type: number
  6681. TotalSpotQty:
  6682. description: 现货总量
  6683. type: number
  6684. arbitrageqty:
  6685. description: 套利量
  6686. type: number
  6687. diffArbitrageQty:
  6688. description: 套利变动量
  6689. type: number
  6690. diffExposoureQty:
  6691. description: 变动量(套保敞口)
  6692. type: number
  6693. diffFutuQty:
  6694. description: 变动量(期货总量)
  6695. type: number
  6696. diffHedgeQty:
  6697. description: 套保变动量
  6698. type: number
  6699. diffQty:
  6700. description: 变动量(总敞口)
  6701. type: number
  6702. diffSpotHedgeQty:
  6703. description: 变动量(现货应套保总量)
  6704. type: number
  6705. diffSpotQty:
  6706. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6707. type: number
  6708. enumdicname:
  6709. description: 单位名称
  6710. type: string
  6711. hedgeqty:
  6712. description: 套保量
  6713. type: number
  6714. needarbitrageqty:
  6715. description: 应套利量
  6716. type: number
  6717. needarbitrageratio:
  6718. description: 套利比例
  6719. type: number
  6720. needhedgeqty:
  6721. description: 应套保量
  6722. type: number
  6723. oriTotalFutuQty:
  6724. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6725. type: number
  6726. oriTotalSpotQty:
  6727. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6728. type: number
  6729. oriarbitrageqty:
  6730. description: 期初套利量
  6731. type: number
  6732. orihedgeqty:
  6733. description: 期初套保量
  6734. type: number
  6735. orineedhedgeexposoure:
  6736. description: 期初套保敞口
  6737. type: number
  6738. oritotalexposure:
  6739. description: 期初总敞口
  6740. type: number
  6741. oritotalfutureqty:
  6742. description: 期初期货总量
  6743. type: number
  6744. oritotalneedhedgeqty:
  6745. description: 期初现货应套保量
  6746. type: number
  6747. type: object
  6748. models.ErmcpRole:
  6749. properties:
  6750. areauserid:
  6751. description: 所属机构
  6752. type: integer
  6753. autoid:
  6754. description: 角色ID(自增ID)
  6755. type: integer
  6756. modifierid:
  6757. description: 修改人(创建人)
  6758. type: integer
  6759. modifiername:
  6760. description: 修改人名称
  6761. type: string
  6762. modifytime:
  6763. description: 修改时间(创建时间)
  6764. type: string
  6765. rolename:
  6766. description: 角色名称
  6767. type: string
  6768. rolestatus:
  6769. description: 角色状态 - 1:启用 2:停用
  6770. type: integer
  6771. roletype:
  6772. description: 角色类型 - 1- 管理端 2- 交易端
  6773. type: integer
  6774. type: object
  6775. models.ErmcpRoleMenu:
  6776. properties:
  6777. iconame:
  6778. description: 菜单图标
  6779. type: string
  6780. ishadrole:
  6781. description: 是否有权限
  6782. type: boolean
  6783. menutype:
  6784. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6785. type: integer
  6786. parentcode:
  6787. description: 上级资源代码
  6788. type: string
  6789. remark:
  6790. description: 菜单备注
  6791. type: string
  6792. resourcecode:
  6793. description: 菜单代码
  6794. type: string
  6795. resourcelevel:
  6796. description: 级别
  6797. type: integer
  6798. resourcename:
  6799. description: 菜单名称
  6800. type: string
  6801. roleid:
  6802. description: 角色id
  6803. type: integer
  6804. sort:
  6805. description: 排序
  6806. type: integer
  6807. url:
  6808. description: URL
  6809. type: string
  6810. userid:
  6811. description: 用户id
  6812. type: integer
  6813. type: object
  6814. models.ErmcpRoleMenuEx:
  6815. properties:
  6816. menu:
  6817. $ref: '#/definitions/models.ErmcpRoleMenu'
  6818. description: 父级菜单
  6819. type: object
  6820. subMenu:
  6821. description: 子级菜单
  6822. items:
  6823. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6824. type: array
  6825. type: object
  6826. models.ErmcpTaAccount:
  6827. properties:
  6828. accountid:
  6829. description: 账户id
  6830. type: integer
  6831. accountname:
  6832. description: 账户名称
  6833. type: string
  6834. currencyid:
  6835. description: 币种id
  6836. type: integer
  6837. hedgeaccountcode:
  6838. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6839. type: string
  6840. ismain:
  6841. description: 是否主账户 0-否 1-是
  6842. type: integer
  6843. parentaccountid:
  6844. description: 父账户id
  6845. type: integer
  6846. relateduserid:
  6847. description: 关联userid
  6848. type: integer
  6849. tradefeetmpid:
  6850. description: 手续费模板id
  6851. type: integer
  6852. tradefeetmpname:
  6853. description: 手续费模板名称
  6854. type: string
  6855. trademargintmpid:
  6856. description: 保证金模板id
  6857. type: integer
  6858. trademargintmpname:
  6859. description: 保证金模板名称
  6860. type: string
  6861. traderatetmpid:
  6862. description: 汇率模板id
  6863. type: integer
  6864. traderatetmpname:
  6865. description: 汇率模板名称
  6866. type: string
  6867. tradestatus:
  6868. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6869. type: integer
  6870. userid:
  6871. description: 用户id
  6872. type: integer
  6873. type: object
  6874. models.ErmcpTaAccountEx:
  6875. properties:
  6876. mainAcc:
  6877. $ref: '#/definitions/models.ErmcpTaAccountM'
  6878. description: 主账号
  6879. type: object
  6880. subacclist:
  6881. description: 子账号列表
  6882. items:
  6883. $ref: '#/definitions/models.ErmcpTaAccount'
  6884. type: array
  6885. type: object
  6886. models.ErmcpTaAccountInfo:
  6887. properties:
  6888. accountid:
  6889. description: 资金账户ID
  6890. type: integer
  6891. accountname:
  6892. description: 账户名称
  6893. type: string
  6894. balance:
  6895. description: 期初余额
  6896. type: number
  6897. capitalbalance:
  6898. description: 本金余额[外部子账户实际出入金余额]
  6899. type: number
  6900. closepl:
  6901. description: 今日平仓盈亏
  6902. type: number
  6903. creditdecrease:
  6904. description: 今日授信减少
  6905. type: number
  6906. creditincrease:
  6907. description: 今日授信增加
  6908. type: number
  6909. curdebt:
  6910. description: 期末欠款
  6911. type: number
  6912. currencyid:
  6913. description: 货币ID
  6914. type: integer
  6915. currentbalance:
  6916. description: 期末余额
  6917. type: number
  6918. freezecharge:
  6919. description: 手续费冻结
  6920. type: number
  6921. freezemargin:
  6922. description: 冻结保证金
  6923. type: number
  6924. fromaccountid:
  6925. description: 所属上级账户
  6926. type: integer
  6927. inamount:
  6928. description: 今日入金金额(包括三方入金)
  6929. type: number
  6930. ismain:
  6931. description: 是否母账号 0:不是母账户 1:是母账户
  6932. type: integer
  6933. mortgagecredit:
  6934. description: 授信金额
  6935. type: number
  6936. oridebt:
  6937. description: 期初欠款
  6938. type: number
  6939. orifreezecharge:
  6940. description: 期初手续费冻结
  6941. type: number
  6942. orifreezemargin:
  6943. description: 期初冻结保证金
  6944. type: number
  6945. orimortgagecredit:
  6946. description: 期初授信金额
  6947. type: number
  6948. oriothercredit:
  6949. description: 期初其它授信金额
  6950. type: number
  6951. oriotherfreezemargin:
  6952. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6953. type: number
  6954. orioutamountfreeze:
  6955. description: 期初出金冻结
  6956. type: number
  6957. oriusedmargin:
  6958. description: 期初占用保证金
  6959. type: number
  6960. othercredit:
  6961. description: 其它授信金额
  6962. type: number
  6963. othercreditdecrease:
  6964. description: 今日其它授信减少
  6965. type: number
  6966. othercreditincrease:
  6967. description: 今日其它授信增加
  6968. type: number
  6969. otherfreezemargin:
  6970. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6971. type: number
  6972. outamount:
  6973. description: 今日出金金额(包括三方出金)
  6974. type: number
  6975. outamountfreeze:
  6976. description: 出金冻结
  6977. type: number
  6978. outthreshold:
  6979. description: 出金阈值
  6980. type: number
  6981. parentaccountid:
  6982. description: 所属根账号
  6983. type: integer
  6984. paycharge:
  6985. description: 今日手续费支出
  6986. type: number
  6987. relateduserid:
  6988. description: 关联用户
  6989. type: integer
  6990. signstatus:
  6991. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6992. type: integer
  6993. sublevelpath:
  6994. description: 账号层级路径(逗号分隔,首尾加逗号)
  6995. type: string
  6996. taaccounttype:
  6997. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6998. type: integer
  6999. thirdinamount:
  7000. description: 今日三方入金
  7001. type: number
  7002. thirdoutamount:
  7003. description: 今日三方出金
  7004. type: number
  7005. tradestatus:
  7006. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7007. type: integer
  7008. transferamount:
  7009. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7010. type: number
  7011. usedmargin:
  7012. description: 占用保证金
  7013. type: number
  7014. userid:
  7015. description: 用户ID
  7016. type: integer
  7017. type: object
  7018. models.ErmcpTaAccountM:
  7019. properties:
  7020. accountid:
  7021. description: 账户id
  7022. type: integer
  7023. accountname:
  7024. description: 账户名称
  7025. type: string
  7026. currencyid:
  7027. description: 币种id
  7028. type: integer
  7029. fcid:
  7030. description: 期货公司id
  7031. type: integer
  7032. fcname:
  7033. description: 期货公司代码
  7034. type: string
  7035. hedgeaccountcode:
  7036. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7037. type: string
  7038. ismain:
  7039. description: 是否主账户 0-否 1-是
  7040. type: integer
  7041. parentaccountid:
  7042. description: 父账户id
  7043. type: integer
  7044. relateduserid:
  7045. description: 关联userid
  7046. type: integer
  7047. tradefeetmpid:
  7048. description: 手续费模板id
  7049. type: integer
  7050. tradefeetmpname:
  7051. description: 手续费模板名称
  7052. type: string
  7053. trademargintmpid:
  7054. description: 保证金模板id
  7055. type: integer
  7056. trademargintmpname:
  7057. description: 保证金模板名称
  7058. type: string
  7059. traderatetmpid:
  7060. description: 汇率模板id
  7061. type: integer
  7062. traderatetmpname:
  7063. description: 汇率模板名称
  7064. type: string
  7065. tradestatus:
  7066. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7067. type: integer
  7068. userid:
  7069. description: 用户id
  7070. type: integer
  7071. type: object
  7072. models.ErmcpTradeConfigTMP:
  7073. properties:
  7074. areauserid:
  7075. description: 所属机构
  7076. type: integer
  7077. basiccurrencyid:
  7078. description: 基本币种ID[汇率] - 目标币种
  7079. type: integer
  7080. mainaccountid:
  7081. description: 主账户ID
  7082. type: integer
  7083. modifierid:
  7084. description: 修改人
  7085. type: integer
  7086. remark:
  7087. description: 备注
  7088. type: string
  7089. tradeconfigtmpid:
  7090. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7091. type: integer
  7092. tradeconfigtmpname:
  7093. description: 交易配置模板名称
  7094. type: string
  7095. tradeconfigtmptype:
  7096. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7097. type: integer
  7098. updatetime:
  7099. description: 更新时间
  7100. type: string
  7101. type: object
  7102. models.ErmcpUserModel:
  7103. properties:
  7104. address:
  7105. description: 通讯地址
  7106. type: string
  7107. attachment1:
  7108. description: 附件1
  7109. type: string
  7110. audittime:
  7111. description: 审核时间
  7112. type: string
  7113. cardbackphotourl:
  7114. description: 证件反面图片地址
  7115. type: string
  7116. cardfrontphotourl:
  7117. description: 证件正面图片地址
  7118. type: string
  7119. cardnum:
  7120. description: 证件号码
  7121. type: string
  7122. cardtype:
  7123. description: 证件类型
  7124. type: integer
  7125. cardtypename:
  7126. description: 证件类型名称
  7127. type: string
  7128. cityid:
  7129. description: 市
  7130. type: integer
  7131. contactname:
  7132. description: 联系人
  7133. type: string
  7134. countryid:
  7135. description: 国家
  7136. type: integer
  7137. createtime:
  7138. description: 创建时间
  7139. type: string
  7140. customername:
  7141. description: 企业名称
  7142. type: string
  7143. districtid:
  7144. description: 区域
  7145. type: integer
  7146. email:
  7147. description: 邮件
  7148. type: string
  7149. legalpersonname:
  7150. description: 法人姓名(企业)
  7151. type: string
  7152. memberuserid:
  7153. description: 所属机构ID
  7154. type: integer
  7155. mobile:
  7156. description: 手机号码
  7157. type: string
  7158. modifytime:
  7159. description: 修改时间
  7160. type: string
  7161. nickname:
  7162. description: 昵称
  7163. type: string
  7164. provinceid:
  7165. description: 省
  7166. type: integer
  7167. remark:
  7168. description: 备注
  7169. type: string
  7170. status:
  7171. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7172. type: integer
  7173. statusdesc:
  7174. description: 账户状态中文描述
  7175. type: string
  7176. taxpayernum:
  7177. description: 纳税人识别号
  7178. type: string
  7179. telphone:
  7180. description: 联系电话
  7181. type: string
  7182. userid:
  7183. description: 用户ID
  7184. type: integer
  7185. userinfotype:
  7186. description: 客户类型
  7187. type: string
  7188. type: object
  7189. models.ErmcpWareHouseInfo:
  7190. properties:
  7191. address:
  7192. description: 详细地址
  7193. type: string
  7194. areauserid:
  7195. description: 所属机构
  7196. type: integer
  7197. autoid:
  7198. description: 自增ID(仓库ID)
  7199. type: integer
  7200. cityid:
  7201. description: 市
  7202. type: integer
  7203. contactname:
  7204. description: 联系人
  7205. type: string
  7206. contactnum:
  7207. description: 联系电话
  7208. type: string
  7209. countryid:
  7210. description: 国家
  7211. type: integer
  7212. createtime:
  7213. description: 创建时间
  7214. type: string
  7215. districtid:
  7216. description: 区
  7217. type: integer
  7218. hasvideo:
  7219. description: 是否有视频 - 0:无 1:有
  7220. type: integer
  7221. provinceid:
  7222. description: 省
  7223. type: integer
  7224. remark:
  7225. description: 审核备注
  7226. type: string
  7227. videourl:
  7228. description: 视频地址
  7229. type: string
  7230. warehousecode:
  7231. description: 仓库代码
  7232. type: string
  7233. warehousename:
  7234. description: 仓库名称
  7235. type: string
  7236. warehousestatus:
  7237. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7238. type: integer
  7239. warehousetype:
  7240. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7241. type: integer
  7242. type: object
  7243. models.Externalexchange:
  7244. properties:
  7245. autoid:
  7246. description: AutoID - SEQ_EXTERNALEXCHANGE
  7247. type: integer
  7248. exchangefullname:
  7249. description: 外部交易所全称
  7250. type: string
  7251. exexchangecode:
  7252. description: 外部交易所代码
  7253. type: string
  7254. exexchangename:
  7255. description: 外部交易所名称(简称)
  7256. type: string
  7257. ismarketprice:
  7258. description: 是否支持市价 - 0:不支持 1:支持
  7259. type: integer
  7260. quotegear:
  7261. description: 行情档位(1-10)
  7262. type: integer
  7263. showbrokerflag:
  7264. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7265. type: integer
  7266. updatetime:
  7267. description: 更新时间
  7268. type: string
  7269. required:
  7270. - autoid
  7271. type: object
  7272. models.Funcmenulist:
  7273. properties:
  7274. iconame:
  7275. description: 菜单图标
  7276. type: string
  7277. menutype:
  7278. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7279. type: integer
  7280. parentcode:
  7281. description: 上级资源代码
  7282. type: string
  7283. remark:
  7284. description: 备注
  7285. type: string
  7286. resourcecode:
  7287. description: 资源代码
  7288. type: string
  7289. resourcelevel:
  7290. description: 级别 1-一级 2-二级 3-三级 4-四级
  7291. type: integer
  7292. resourcename:
  7293. description: 资源名
  7294. type: string
  7295. sort:
  7296. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7297. type: integer
  7298. url:
  7299. description: URL
  7300. type: string
  7301. required:
  7302. - resourcecode
  7303. type: object
  7304. models.Goods:
  7305. properties:
  7306. agreeunit:
  7307. description: 合约单位
  7308. type: number
  7309. areauserid:
  7310. description: 所属机构
  7311. type: integer
  7312. auditaccountid:
  7313. description: 审核操作员账号
  7314. type: integer
  7315. audittime:
  7316. description: 审核时间
  7317. type: string
  7318. cancelaccountid:
  7319. description: 注销操作员账号
  7320. type: integer
  7321. canceltime:
  7322. description: 注销时间
  7323. type: string
  7324. closepricemode:
  7325. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7326. type: integer
  7327. closepriceparam:
  7328. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7329. type: number
  7330. createtime:
  7331. description: 创建时间
  7332. type: string
  7333. creatorid:
  7334. description: 创建人
  7335. type: integer
  7336. currencyid:
  7337. description: 报价货币ID
  7338. type: integer
  7339. cutmode:
  7340. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7341. type: integer
  7342. decimalplace:
  7343. description: 报价小数位
  7344. type: integer
  7345. delistingdate:
  7346. description: 商品退市时间(状态:退市) -- 已作废
  7347. type: string
  7348. delistingmode:
  7349. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7350. type: integer
  7351. deliveryflag:
  7352. description: 交割标志 - 0:不可交割 1:可交割
  7353. type: integer
  7354. forceclosemode:
  7355. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7356. type: integer
  7357. forceclosevalue:
  7358. description: 定期强平参数 [收益权]
  7359. type: integer
  7360. goodscode:
  7361. description: 商品代码(内部)
  7362. type: string
  7363. goodscurrencyid:
  7364. description: 合约货币ID
  7365. type: integer
  7366. goodsgroupid:
  7367. description: 所属商品组ID
  7368. type: integer
  7369. goodsid:
  7370. description: 商品ID(自增ID SEQ_GOODS)
  7371. type: integer
  7372. goodsname:
  7373. description: 商品名称
  7374. type: string
  7375. goodsquotetype:
  7376. description: '合约报价类型: 1-直接报价 2-间接报价'
  7377. type: integer
  7378. goodsstatus:
  7379. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7380. type: integer
  7381. goodstradetype:
  7382. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7383. type: integer
  7384. goodunitid:
  7385. description: 报价单位ID
  7386. type: integer
  7387. hasquoter:
  7388. description: 是否有报价商 - 0:无报价商 1:有报价商
  7389. type: integer
  7390. hqprotecttime:
  7391. description: 行情保护时间(秒)
  7392. type: integer
  7393. innerdealmode:
  7394. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7395. type: integer
  7396. isbuylimited:
  7397. description: 是否限制建仓量 - 0:不限制 1:限制
  7398. type: integer
  7399. isvisible:
  7400. description: 游客是否可见 - 0:不可见 1:可见
  7401. type: integer
  7402. lasttradedate:
  7403. description: 最后交易日期(状态:待退市)
  7404. type: string
  7405. listingdate:
  7406. description: 交易开始日期
  7407. type: string
  7408. marketid:
  7409. description: 所属市场ID
  7410. type: integer
  7411. modifierid:
  7412. description: 修改人
  7413. type: integer
  7414. modifystatus:
  7415. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7416. type: integer
  7417. modifytime:
  7418. description: 修改时间
  7419. type: string
  7420. outerdealmode:
  7421. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7422. type: integer
  7423. outgoodscode:
  7424. description: 商品代码(外部)
  7425. type: string
  7426. pictureurl:
  7427. description: 商品图片
  7428. type: string
  7429. qtydecimalplace:
  7430. description: 成交量小数位
  7431. type: integer
  7432. quotegear:
  7433. description: 行情档位(1-10)
  7434. type: integer
  7435. quoteminunit:
  7436. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7437. type: integer
  7438. quoteshowtype:
  7439. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7440. type: integer
  7441. quoteshowtypeinterval:
  7442. description: 行情报价间隔时间(秒)(成交价时为0)
  7443. type: integer
  7444. remark:
  7445. description: 备注
  7446. type: string
  7447. required:
  7448. - goodscode
  7449. - goodsid
  7450. - goodsname
  7451. - marketid
  7452. type: object
  7453. models.GoodsIDAndName:
  7454. properties:
  7455. goodscode:
  7456. description: 商品代码(内部)
  7457. type: string
  7458. goodsid:
  7459. description: 商品ID(自增ID SEQ_GOODS)
  7460. type: integer
  7461. goodsname:
  7462. description: 商品名称
  7463. type: string
  7464. marketid:
  7465. description: 所属市场ID
  7466. type: integer
  7467. required:
  7468. - goodscode
  7469. - goodsid
  7470. - goodsname
  7471. - marketid
  7472. type: object
  7473. models.Goodsgroup:
  7474. properties:
  7475. agreeunit:
  7476. description: 合约单位
  7477. type: number
  7478. canshort:
  7479. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7480. type: integer
  7481. closepricemode:
  7482. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7483. type: integer
  7484. closepriceparam:
  7485. description: 强平最新价浮动比例 - 方式为2时使用
  7486. type: number
  7487. createtime:
  7488. description: 创建时间
  7489. type: string
  7490. creatorid:
  7491. description: 创建人
  7492. type: integer
  7493. currencyid:
  7494. description: 报价货币ID
  7495. type: integer
  7496. decimalplace:
  7497. description: 报价小数位
  7498. type: integer
  7499. exercisetype:
  7500. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7501. type: integer
  7502. exexchangeid:
  7503. description: 外部交易所ID[通道交易]
  7504. type: integer
  7505. goodsgroupid:
  7506. description: 商品组ID(自增ID)
  7507. type: integer
  7508. goodsgroupname:
  7509. description: 商品组名称
  7510. type: string
  7511. goodsgroupstatus:
  7512. description: 商品组状态 - 1:正常 2:注销
  7513. type: integer
  7514. goodunitid:
  7515. description: 报价单位ID
  7516. type: integer
  7517. innerdealmode:
  7518. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7519. type: integer
  7520. isbuylimited:
  7521. description: 是否限制建仓量 - 0:不限制 1:限制
  7522. type: integer
  7523. marketid:
  7524. description: 所属市场ID
  7525. type: integer
  7526. modifierid:
  7527. description: 修改人
  7528. type: integer
  7529. modifytime:
  7530. description: 修改时间
  7531. type: string
  7532. outerdealmode:
  7533. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7534. type: integer
  7535. outergroupcode:
  7536. description: 外部商品组代码[通道交易]
  7537. type: string
  7538. premiumdecimalplace:
  7539. description: 权利金小数位[场外期权]
  7540. type: integer
  7541. premiumspreadalgorithm:
  7542. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7543. type: integer
  7544. premiumspreadvalue:
  7545. description: 权利金点差值[场外期权]
  7546. type: number
  7547. qtydecimalplace:
  7548. description: 成交量小数位
  7549. type: integer
  7550. quotegear:
  7551. description: 行情档位(1-10)
  7552. type: integer
  7553. quoteminunit:
  7554. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7555. type: integer
  7556. quoterid:
  7557. description: 报价商ID[场外期权]
  7558. type: integer
  7559. quotesourcegroupid:
  7560. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7561. type: integer
  7562. syncgoodsqty:
  7563. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7564. type: integer
  7565. required:
  7566. - goodsgroupid
  7567. - goodsgroupname
  7568. - goodsgroupstatus
  7569. - marketid
  7570. type: object
  7571. models.Goodssortbypreposition:
  7572. properties:
  7573. goodscode:
  7574. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7575. type: string
  7576. goodsgroupcode:
  7577. description: 品种代码
  7578. type: string
  7579. prepositionqty:
  7580. description: 昨持仓量
  7581. type: integer
  7582. sortindex:
  7583. description: 排序
  7584. type: integer
  7585. tradedate:
  7586. description: 交易日
  7587. type: string
  7588. updatetime:
  7589. description: 更新时间
  7590. type: string
  7591. required:
  7592. - goodscode
  7593. - tradedate
  7594. type: object
  7595. models.Hedgeinnerholderdetail:
  7596. properties:
  7597. accountid:
  7598. description: 账号ID
  7599. type: integer
  7600. buyorsell:
  7601. description: 方向 - 0:买 1:卖
  7602. type: integer
  7603. freezeqty:
  7604. description: 冻结数量 - 按单平使用
  7605. type: integer
  7606. goodsid:
  7607. description: 商品ID
  7608. type: integer
  7609. holderamount:
  7610. description: 持仓金额 [商品币种]
  7611. type: number
  7612. holderdays:
  7613. description: 剩余冻结天数
  7614. type: integer
  7615. holderprice:
  7616. description: 持仓价格
  7617. type: number
  7618. holderqty:
  7619. description: 持仓数量
  7620. type: integer
  7621. marketid:
  7622. description: 市场ID
  7623. type: integer
  7624. openprice:
  7625. description: 建仓价格
  7626. type: number
  7627. openqty:
  7628. description: 建仓数量
  7629. type: integer
  7630. parentaccountid:
  7631. description: 所属母账户
  7632. type: integer
  7633. releaseamount:
  7634. description: 释放持仓金额[商品币种]
  7635. type: number
  7636. tradeamount:
  7637. description: 成交金额[账户]
  7638. type: number
  7639. tradedate:
  7640. description: 交易日(yyyyMMdd)
  7641. type: string
  7642. tradeid:
  7643. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7644. type: string
  7645. tradetime:
  7646. description: 交易时间
  7647. type: string
  7648. required:
  7649. - buyorsell
  7650. - tradeid
  7651. type: object
  7652. models.Hedgemarketopenlog:
  7653. properties:
  7654. accountid:
  7655. description: 资金账号[外部母账户]
  7656. type: integer
  7657. fcname:
  7658. description: 期货公司名称
  7659. type: string
  7660. handlestatus:
  7661. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7662. type: integer
  7663. marketid:
  7664. description: 市场ID
  7665. type: integer
  7666. status:
  7667. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7668. type: integer
  7669. tradedate:
  7670. description: 交易日(yyyyMMdd)
  7671. type: string
  7672. updatetime:
  7673. description: 更新时间
  7674. type: string
  7675. required:
  7676. - accountid
  7677. type: object
  7678. models.HsbyBuyMyPayOrder:
  7679. properties:
  7680. agreeunit:
  7681. description: 合约单位
  7682. type: number
  7683. buyaccountid:
  7684. description: 买方账号ID[报价币种]
  7685. type: integer
  7686. buyorderid:
  7687. description: 买方委托单号
  7688. type: string
  7689. createtime:
  7690. description: 创建时间
  7691. type: string
  7692. currencysign:
  7693. description: 货币符号
  7694. type: string
  7695. decimalplace:
  7696. description: 报价小数位
  7697. type: integer
  7698. goodscode:
  7699. description: 商品代码(内部)
  7700. type: string
  7701. goodsid:
  7702. description: 商品ID
  7703. type: integer
  7704. goodsname:
  7705. description: 商品名称
  7706. type: string
  7707. marketid:
  7708. description: 市场ID
  7709. type: integer
  7710. offamount:
  7711. description: 优惠金额
  7712. type: number
  7713. originalamount:
  7714. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7715. type: number
  7716. payamount:
  7717. description: 支付金额 = TradeAmount + TradeCharge
  7718. type: number
  7719. payflag:
  7720. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7721. type: integer
  7722. paylimitedtime:
  7723. description: 支付期限
  7724. type: string
  7725. paytime:
  7726. description: 付款时间
  7727. type: string
  7728. picurls1:
  7729. description: 预售商品介绍图片[多张用逗号分隔]
  7730. type: string
  7731. picurls2:
  7732. description: 挂牌商品介绍图片[多张用逗号分隔]
  7733. type: string
  7734. sellaccountid:
  7735. description: 卖方账号ID[报价币种]
  7736. type: integer
  7737. sellorderid:
  7738. description: 卖方委托单号
  7739. type: string
  7740. tradeamount:
  7741. description: 成交金额
  7742. type: number
  7743. tradecharge:
  7744. description: 成交手续费(买方)
  7745. type: number
  7746. tradedate:
  7747. description: 交易日(yyyyMMdd)
  7748. type: string
  7749. tradeid:
  7750. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7751. type: string
  7752. trademode:
  7753. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7754. 21:竞拍-大宗式 22:受托竞价
  7755. type: integer
  7756. tradeprice:
  7757. description: 成交价格
  7758. type: number
  7759. tradeqty:
  7760. description: 成交数量
  7761. type: integer
  7762. vendorname1:
  7763. description: 预售商品供应商名称
  7764. type: string
  7765. vendorname2:
  7766. description: 挂牌商品供应商名称
  7767. type: string
  7768. required:
  7769. - goodscode
  7770. - goodsname
  7771. - tradeid
  7772. - trademode
  7773. type: object
  7774. models.HsbyBuyMyTradeDetail:
  7775. properties:
  7776. accountid:
  7777. description: 账户ID[报价币种]
  7778. type: integer
  7779. agreeunit:
  7780. description: 合约单位
  7781. type: number
  7782. amount:
  7783. description: 金额 = 价格 * 数量 * 合约单位
  7784. type: number
  7785. buyorsell:
  7786. description: 买卖 - 0:买 1:卖
  7787. type: integer
  7788. currencysign:
  7789. description: 货币符号
  7790. type: string
  7791. decimalplace:
  7792. description: 报价小数位
  7793. type: integer
  7794. goodscode:
  7795. description: 商品代码(内部)
  7796. type: string
  7797. goodsid:
  7798. description: 商品ID
  7799. type: integer
  7800. goodsname:
  7801. description: 商品名称
  7802. type: string
  7803. marketid:
  7804. description: 市场ID
  7805. type: integer
  7806. orderamount:
  7807. description: 委托金额
  7808. type: number
  7809. orderid:
  7810. description: 单号(成交单号)
  7811. type: string
  7812. picurls1:
  7813. description: 预售商品介绍图片[多张用逗号分隔]
  7814. type: string
  7815. picurls2:
  7816. description: 挂牌商品介绍图片[多张用逗号分隔]
  7817. type: string
  7818. price:
  7819. description: 价格
  7820. type: number
  7821. qty:
  7822. description: 数量
  7823. type: integer
  7824. time:
  7825. description: 时间
  7826. type: string
  7827. trademode:
  7828. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7829. 21:竞拍-大宗式 22:受托竞价
  7830. type: integer
  7831. vendorname1:
  7832. description: 预售商品供应商名称
  7833. type: string
  7834. vendorname2:
  7835. description: 挂牌商品供应商名称
  7836. type: string
  7837. required:
  7838. - accountid
  7839. - buyorsell
  7840. - goodscode
  7841. - goodsid
  7842. - goodsname
  7843. - marketid
  7844. - orderid
  7845. - qty
  7846. - time
  7847. - trademode
  7848. type: object
  7849. models.HsbyGoodsOrderDetail:
  7850. properties:
  7851. buyorsell:
  7852. description: 买卖 - 0:买 1:卖
  7853. type: integer
  7854. currencysign:
  7855. description: 货币符号
  7856. type: string
  7857. customername:
  7858. description: 客户名称(企业名称),已脱敏
  7859. type: string
  7860. enableqty:
  7861. description: 可用数量
  7862. type: integer
  7863. goodunit:
  7864. description: 报价单位
  7865. type: string
  7866. orderid:
  7867. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7868. type: string
  7869. orderprice:
  7870. description: 委托价格
  7871. type: number
  7872. ordertime:
  7873. description: 委托时间
  7874. type: string
  7875. required:
  7876. - buyorsell
  7877. - orderid
  7878. - ordertime
  7879. type: object
  7880. models.HsbyListingGoodsDetail:
  7881. properties:
  7882. agreeunit:
  7883. description: 合约单位
  7884. type: number
  7885. buymaxqty:
  7886. description: 购买上限 [71] - 0为不限
  7887. type: integer
  7888. currency:
  7889. description: 货币
  7890. type: string
  7891. currencysign:
  7892. description: 货币符号
  7893. type: string
  7894. decimalplace:
  7895. description: 报价小数位
  7896. type: integer
  7897. desccityid:
  7898. description: 目的地(市)ID
  7899. type: integer
  7900. descprovinceid:
  7901. description: 目的地(省)ID
  7902. type: integer
  7903. goodscode:
  7904. description: 商品代码(内部)
  7905. type: string
  7906. goodsdesc:
  7907. description: 商品详情
  7908. type: string
  7909. goodsid:
  7910. description: 商品ID(自增ID SEQ_GOODS)
  7911. type: integer
  7912. goodsname:
  7913. description: 商品名称
  7914. type: string
  7915. goodsprice:
  7916. description: 商品价格
  7917. type: number
  7918. hotindex:
  7919. description: 景点热度
  7920. type: integer
  7921. last:
  7922. description: 现价
  7923. type: number
  7924. limitdown:
  7925. description: 跌停价
  7926. type: number
  7927. limitup:
  7928. description: 涨停价
  7929. type: number
  7930. lotsize:
  7931. description: 手数最小变动单位
  7932. type: integer
  7933. marketid:
  7934. description: 所属市场ID
  7935. type: integer
  7936. picurls:
  7937. description: 介绍图片[多张用逗号分隔]
  7938. type: string
  7939. quoteminunit:
  7940. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7941. type: integer
  7942. stepvalue:
  7943. description: 价格最小变动单位
  7944. type: number
  7945. trademode:
  7946. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7947. 21:竞拍-大宗式 22:受托竞价
  7948. type: integer
  7949. vendorattr:
  7950. description: 供应商附件(多张,逗号分隔)
  7951. type: string
  7952. vendorname:
  7953. description: 供应商名称
  7954. type: string
  7955. vendorphone:
  7956. description: 供应商客服电话
  7957. type: string
  7958. videourls:
  7959. description: 介绍视频[多张用逗号分隔]
  7960. type: string
  7961. required:
  7962. - goodscode
  7963. - goodsid
  7964. - goodsname
  7965. - marketid
  7966. - trademode
  7967. type: object
  7968. models.HsbyMarketGoods:
  7969. properties:
  7970. accountid:
  7971. description: 账户ID[报价币种]
  7972. type: integer
  7973. agreeunit:
  7974. description: 合约单位
  7975. type: number
  7976. buyorsell:
  7977. description: 买卖 - 0:买 1:卖
  7978. type: integer
  7979. categoryid:
  7980. description: 类别ID(WRCATEGORY)
  7981. type: integer
  7982. currency:
  7983. description: 货币
  7984. type: string
  7985. currencysign:
  7986. description: 货币符号
  7987. type: string
  7988. customername:
  7989. description: 卖家名称
  7990. type: string
  7991. decimalplace:
  7992. description: 报价小数位
  7993. type: integer
  7994. goodscode:
  7995. description: 商品代码(内部)
  7996. type: string
  7997. goodsid:
  7998. description: 商品ID
  7999. type: integer
  8000. goodsname:
  8001. description: 商品名称
  8002. type: string
  8003. goodsprice:
  8004. description: 商品价格
  8005. type: number
  8006. hascoupon:
  8007. description: 是否可用优惠卷
  8008. type: boolean
  8009. hotindex:
  8010. description: 景点热度
  8011. type: integer
  8012. marketid:
  8013. description: 市场ID
  8014. type: integer
  8015. orderid:
  8016. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8017. type: string
  8018. orderprice:
  8019. description: 委托价格
  8020. type: number
  8021. orderstatus:
  8022. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8023. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8024. 16:成交失败违约(荷兰式竞拍专用)
  8025. type: integer
  8026. picurls:
  8027. description: 介绍图片[多张用逗号分隔]
  8028. type: string
  8029. quoteminunit:
  8030. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8031. type: integer
  8032. sellUserID:
  8033. description: 卖方UserID
  8034. type: integer
  8035. trademode:
  8036. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8037. 21:竞拍-大宗式 22:受托竞价
  8038. type: integer
  8039. videourls:
  8040. description: 介绍视频[多张用逗号分隔]
  8041. type: string
  8042. required:
  8043. - accountid
  8044. - buyorsell
  8045. - goodscode
  8046. - goodsid
  8047. - goodsname
  8048. - marketid
  8049. - orderid
  8050. - trademode
  8051. type: object
  8052. models.HsbyMarketGoodsDetail:
  8053. properties:
  8054. accountid:
  8055. description: 账户ID[报价币种]
  8056. type: integer
  8057. agreeunit:
  8058. description: 合约单位
  8059. type: number
  8060. buymaxqty:
  8061. description: 购买上限 [71] - 0为不限
  8062. type: integer
  8063. buyorsell:
  8064. description: 买卖 - 0:买 1:卖
  8065. type: integer
  8066. cancelqty:
  8067. description: 撤单数量
  8068. type: integer
  8069. categoryid:
  8070. description: 类别ID(WRCATEGORY)
  8071. type: integer
  8072. currency:
  8073. description: 货币
  8074. type: string
  8075. currencysign:
  8076. description: 货币符号
  8077. type: string
  8078. customername:
  8079. description: 卖家名称
  8080. type: string
  8081. decimalplace:
  8082. description: 报价小数位
  8083. type: integer
  8084. goodscode:
  8085. description: 商品代码(内部)
  8086. type: string
  8087. goodsdesc:
  8088. description: 商品详情
  8089. type: string
  8090. goodsid:
  8091. description: 商品ID
  8092. type: integer
  8093. goodsname:
  8094. description: 商品名称
  8095. type: string
  8096. goodsprice:
  8097. description: 商品价格
  8098. type: number
  8099. hotindex:
  8100. description: 景点热度
  8101. type: integer
  8102. lotsize:
  8103. description: 手数最小变动单位
  8104. type: integer
  8105. marketid:
  8106. description: 市场ID
  8107. type: integer
  8108. orderid:
  8109. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8110. type: string
  8111. orderprice:
  8112. description: 委托价格
  8113. type: number
  8114. orderqty:
  8115. description: 委托数量
  8116. type: integer
  8117. orderstatus:
  8118. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8119. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8120. 16:成交失败违约(荷兰式竞拍专用)
  8121. type: integer
  8122. picurls:
  8123. description: 介绍图片[多张用逗号分隔]
  8124. type: string
  8125. quoteminunit:
  8126. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8127. type: integer
  8128. sellUserID:
  8129. description: 卖方UserID
  8130. type: integer
  8131. trademode:
  8132. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8133. 21:竞拍-大宗式 22:受托竞价
  8134. type: integer
  8135. tradeqty:
  8136. description: 成交数量
  8137. type: integer
  8138. vendorattr:
  8139. description: 供应商附件(多张,逗号分隔)
  8140. type: string
  8141. vendorname:
  8142. description: 供应商名称
  8143. type: string
  8144. vendorphone:
  8145. description: 供应商客服电话
  8146. type: string
  8147. videourls:
  8148. description: 介绍视频[多张用逗号分隔]
  8149. type: string
  8150. required:
  8151. - accountid
  8152. - buyorsell
  8153. - goodscode
  8154. - goodsid
  8155. - goodsname
  8156. - marketid
  8157. - orderid
  8158. - orderqty
  8159. - trademode
  8160. type: object
  8161. models.HsbyMarketInfo:
  8162. properties:
  8163. marketid:
  8164. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8165. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8166. type: integer
  8167. marketname:
  8168. description: 市场名称
  8169. type: string
  8170. marketstatus:
  8171. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8172. type: integer
  8173. trademode:
  8174. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8175. 21:竞拍-大宗式 22:受托竞价
  8176. type: integer
  8177. required:
  8178. - marketid
  8179. - marketstatus
  8180. - trademode
  8181. type: object
  8182. models.HsbyMyGoods:
  8183. properties:
  8184. accountid:
  8185. description: 账号Id
  8186. type: integer
  8187. agreeunit:
  8188. description: 合约单位
  8189. type: number
  8190. buyaverageprice:
  8191. description: 持仓均价
  8192. type: number
  8193. buycurholderamount:
  8194. description: 买当前持仓总金额[商品币种]
  8195. type: number
  8196. buycurpositionqty:
  8197. description: 买当前持仓总数量
  8198. type: integer
  8199. buymaxqty:
  8200. description: 购买上限 [71] - 0为不限
  8201. type: integer
  8202. currencysign:
  8203. description: 货币符号
  8204. type: string
  8205. decimalplace:
  8206. description: 报价小数位
  8207. type: integer
  8208. enableqty:
  8209. description: 可用数量
  8210. type: integer
  8211. goodscode:
  8212. description: 商品代码(内部)
  8213. type: string
  8214. goodsid:
  8215. description: 商品Id
  8216. type: integer
  8217. goodsname:
  8218. description: 商品名称
  8219. type: string
  8220. goodsprice:
  8221. description: 商品价格
  8222. type: number
  8223. goodsstatus:
  8224. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8225. type: integer
  8226. last:
  8227. description: 现价(仅使用于挂牌点选)
  8228. type: number
  8229. limitdown:
  8230. description: 跌停价(仅使用于挂牌点选)
  8231. type: number
  8232. limitup:
  8233. description: 涨停价(仅使用于挂牌点选)
  8234. type: number
  8235. lotsize:
  8236. description: 手数最小变动单位
  8237. type: integer
  8238. marketid:
  8239. description: 所属市场ID
  8240. type: integer
  8241. picurls:
  8242. description: 介绍图片[多张用逗号分隔]
  8243. type: string
  8244. quoteminunit:
  8245. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8246. type: integer
  8247. stepvalue:
  8248. description: 价格最小变动单位
  8249. type: number
  8250. trademode:
  8251. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8252. 21:竞拍-大宗式 22:受托竞价
  8253. type: integer
  8254. required:
  8255. - accountid
  8256. - goodscode
  8257. - goodsid
  8258. - goodsname
  8259. - marketid
  8260. - trademode
  8261. type: object
  8262. models.HsbyMyPackage:
  8263. properties:
  8264. accountid:
  8265. description: 账户ID
  8266. type: integer
  8267. address:
  8268. description: 提货人详细地址
  8269. type: string
  8270. agreeunit:
  8271. description: 合约单位
  8272. type: number
  8273. amount:
  8274. description: 提货金额
  8275. type: number
  8276. auditer:
  8277. description: 审核人
  8278. type: integer
  8279. audittime:
  8280. description: 审核时间
  8281. type: string
  8282. averageprice:
  8283. description: 均价
  8284. type: number
  8285. cardnum:
  8286. description: 提货人证件号码
  8287. type: string
  8288. cardtypeid:
  8289. description: 提货人证件类型
  8290. type: integer
  8291. checkremark:
  8292. description: 审核备注
  8293. type: string
  8294. currencysign:
  8295. description: 货币符号
  8296. type: string
  8297. decimalplace:
  8298. description: 报价小数位
  8299. type: integer
  8300. goodscode:
  8301. description: 商品代码(内部)
  8302. type: string
  8303. goodsid:
  8304. description: 商品ID
  8305. type: integer
  8306. goodsname:
  8307. description: 商品名称
  8308. type: string
  8309. handlestatus:
  8310. description: 处理状态
  8311. type: integer
  8312. marketid:
  8313. description: 市场ID
  8314. type: integer
  8315. phonenum:
  8316. description: 提货人联系方式
  8317. type: string
  8318. picurls:
  8319. description: 介绍图片[多张用逗号分隔]
  8320. type: string
  8321. qty:
  8322. description: 提货数量
  8323. type: number
  8324. recivername:
  8325. description: 提货人姓名
  8326. type: string
  8327. reqtime:
  8328. description: 更新时间
  8329. type: string
  8330. takemode:
  8331. description: 提货方式 - 2:自提 3:配送
  8332. type: integer
  8333. takeorderid:
  8334. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8335. type: string
  8336. takeorderstatus:
  8337. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8338. type: integer
  8339. takeremark:
  8340. description: 提货备注
  8341. type: string
  8342. tradedate:
  8343. description: 交易日(yyyyMMdd)
  8344. type: string
  8345. trademode:
  8346. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8347. 21:竞拍-大宗式 22:受托竞价
  8348. type: integer
  8349. userid:
  8350. description: 用户ID
  8351. type: integer
  8352. vendorname:
  8353. description: 供应商名称
  8354. type: string
  8355. required:
  8356. - goodscode
  8357. - goodsname
  8358. - takeorderid
  8359. - trademode
  8360. type: object
  8361. models.HsbyPreGoods:
  8362. properties:
  8363. agreeunit:
  8364. description: 合约单位
  8365. type: number
  8366. currency:
  8367. description: 货币
  8368. type: string
  8369. currencysign:
  8370. description: 货币符号
  8371. type: string
  8372. decimalplace:
  8373. description: 报价小数位
  8374. type: integer
  8375. desccityid:
  8376. description: 目的地(市)
  8377. type: integer
  8378. descprovinceid:
  8379. description: 目的地(省)
  8380. type: integer
  8381. enableqty:
  8382. description: 剩余数量
  8383. type: integer
  8384. goodscode:
  8385. description: 商品代码(内部)
  8386. type: string
  8387. goodsid:
  8388. description: 商品ID(自增ID SEQ_GOODS)
  8389. type: integer
  8390. goodsname:
  8391. description: 商品名称
  8392. type: string
  8393. goodsstatus:
  8394. description: 商品状态- 2:未上市 3:上市
  8395. type: integer
  8396. lasttradedate:
  8397. description: 最后交易日期(状态:待退市)
  8398. type: string
  8399. listingdate:
  8400. description: 交易开始日期
  8401. type: string
  8402. marketid:
  8403. description: 所属市场ID
  8404. type: integer
  8405. picurls:
  8406. description: 介绍图片[多张用逗号分隔]
  8407. type: string
  8408. presaledqty:
  8409. description: 已预售量(预售结束时更新)
  8410. type: integer
  8411. presaleqty:
  8412. description: 预售数量
  8413. type: integer
  8414. quoteminunit:
  8415. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8416. type: integer
  8417. refprice:
  8418. description: 参考价格[一口价]
  8419. type: number
  8420. relatedgoodsid:
  8421. description: 关联交易合约ID
  8422. type: integer
  8423. trademode:
  8424. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8425. 21:竞拍-大宗式 22:受托竞价
  8426. type: integer
  8427. videourls:
  8428. description: 介绍视频[多张用逗号分隔]
  8429. type: string
  8430. required:
  8431. - goodscode
  8432. - goodsid
  8433. - goodsname
  8434. - marketid
  8435. - trademode
  8436. type: object
  8437. models.HsbyPreGoodsDetail:
  8438. properties:
  8439. agreeunit:
  8440. description: 合约单位
  8441. type: number
  8442. buymaxqty:
  8443. description: 购买上限 [71] - 0为不限
  8444. type: integer
  8445. currency:
  8446. description: 货币
  8447. type: string
  8448. currencysign:
  8449. description: 货币符号
  8450. type: string
  8451. customername:
  8452. description: 发行单位
  8453. type: string
  8454. decimalplace:
  8455. description: 报价小数位
  8456. type: integer
  8457. desccityid:
  8458. description: 目的地(市)ID
  8459. type: integer
  8460. descprovinceid:
  8461. description: 目的地(省)ID
  8462. type: integer
  8463. enableqty:
  8464. description: 剩余数量
  8465. type: integer
  8466. goodscode:
  8467. description: 商品代码(内部)
  8468. type: string
  8469. goodsdesc:
  8470. description: 商品详情
  8471. type: string
  8472. goodsid:
  8473. description: 商品ID(自增ID SEQ_GOODS)
  8474. type: integer
  8475. goodsname:
  8476. description: 商品名称
  8477. type: string
  8478. goodsstatus:
  8479. description: 商品状态- 2:未上市 3:上市
  8480. type: integer
  8481. goodunit:
  8482. description: 报价单位
  8483. type: string
  8484. lasttradedate:
  8485. description: 最后交易日期(状态:待退市)
  8486. type: string
  8487. listingdate:
  8488. description: 交易开始日期
  8489. type: string
  8490. lotsize:
  8491. description: 手数最小变动单位
  8492. type: integer
  8493. marketid:
  8494. description: 所属市场ID
  8495. type: integer
  8496. picurls:
  8497. description: 介绍图片[多张用逗号分隔]
  8498. type: string
  8499. presaledqty:
  8500. description: 已预售量(预售结束时更新)
  8501. type: integer
  8502. presaleqty:
  8503. description: 预售数量
  8504. type: integer
  8505. quoteminunit:
  8506. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8507. type: integer
  8508. refprice:
  8509. description: 参考价格[一口价]
  8510. type: number
  8511. relatedgoodsid:
  8512. description: 关联交易合约ID
  8513. type: integer
  8514. stepvalue:
  8515. description: 价格最小变动单位
  8516. type: number
  8517. trademode:
  8518. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8519. 21:竞拍-大宗式 22:受托竞价
  8520. type: integer
  8521. vendorattr:
  8522. description: 供应商附件(多张,逗号分隔)
  8523. type: string
  8524. vendorname:
  8525. description: 供应商名称
  8526. type: string
  8527. vendorphone:
  8528. description: 供应商客服电话
  8529. type: string
  8530. videourls:
  8531. description: 介绍视频[多张用逗号分隔]
  8532. type: string
  8533. required:
  8534. - goodscode
  8535. - goodsid
  8536. - goodsname
  8537. - marketid
  8538. - trademode
  8539. type: object
  8540. models.HsbySellCollectionOrder:
  8541. properties:
  8542. agreeunit:
  8543. description: 合约单位
  8544. type: number
  8545. buyaccountid:
  8546. description: 买方账号ID[报价币种]
  8547. type: integer
  8548. buyorderid:
  8549. description: 买方委托单号
  8550. type: string
  8551. createtime:
  8552. description: 创建时间
  8553. type: string
  8554. currencysign:
  8555. description: 货币符号
  8556. type: string
  8557. decimalplace:
  8558. description: 报价小数位
  8559. type: integer
  8560. goodscode:
  8561. description: 商品代码(内部)
  8562. type: string
  8563. goodsid:
  8564. description: 商品ID
  8565. type: integer
  8566. goodsname:
  8567. description: 商品名称
  8568. type: string
  8569. marketid:
  8570. description: 市场ID
  8571. type: integer
  8572. offamount:
  8573. description: 优惠金额
  8574. type: number
  8575. payamount:
  8576. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8577. type: number
  8578. payflag:
  8579. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8580. type: integer
  8581. paylimitedtime:
  8582. description: 支付期限
  8583. type: string
  8584. paytime:
  8585. description: 付款时间
  8586. type: string
  8587. picurls:
  8588. description: 商品介绍图片[多张用逗号分隔]
  8589. type: string
  8590. sellaccountid:
  8591. description: 卖方账号ID[报价币种]
  8592. type: integer
  8593. sellorderid:
  8594. description: 卖方委托单号
  8595. type: string
  8596. tradeamount:
  8597. description: 成交金额
  8598. type: number
  8599. tradecharge:
  8600. description: 成交手续费(买方)
  8601. type: number
  8602. tradedate:
  8603. description: 交易日(yyyyMMdd)
  8604. type: string
  8605. tradeid:
  8606. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8607. type: string
  8608. trademode:
  8609. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8610. 21:竞拍-大宗式 22:受托竞价
  8611. type: integer
  8612. tradeprice:
  8613. description: 成交价格
  8614. type: number
  8615. tradeqty:
  8616. description: 成交数量
  8617. type: integer
  8618. required:
  8619. - goodscode
  8620. - goodsname
  8621. - tradeid
  8622. - trademode
  8623. type: object
  8624. models.HsbySellMyDetail:
  8625. properties:
  8626. accountid:
  8627. description: 账户ID[报价币种]
  8628. type: integer
  8629. agreeunit:
  8630. description: 合约单位
  8631. type: number
  8632. buyorsell:
  8633. description: 买卖 - 0:买 1:卖
  8634. type: integer
  8635. currencysign:
  8636. description: 货币符号
  8637. type: string
  8638. decimalplace:
  8639. description: 报价小数位
  8640. type: integer
  8641. goodscode:
  8642. description: 商品代码(内部)
  8643. type: string
  8644. goodsid:
  8645. description: 商品ID
  8646. type: integer
  8647. goodsname:
  8648. description: 商品名称
  8649. type: string
  8650. marketid:
  8651. description: 市场ID
  8652. type: integer
  8653. orderid:
  8654. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8655. type: string
  8656. ordertype:
  8657. description: 单据类型:0 - 发布中, 1 - 已完成
  8658. type: integer
  8659. picurls:
  8660. description: 介绍图片[多张用逗号分隔]
  8661. type: string
  8662. price:
  8663. description: 价格
  8664. type: number
  8665. qty:
  8666. description: 数量
  8667. type: integer
  8668. time:
  8669. description: 时间
  8670. type: string
  8671. trademode:
  8672. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8673. 21:竞拍-大宗式 22:受托竞价
  8674. type: integer
  8675. vendorname:
  8676. description: 供应商名称
  8677. type: string
  8678. required:
  8679. - accountid
  8680. - buyorsell
  8681. - goodscode
  8682. - goodsid
  8683. - goodsname
  8684. - marketid
  8685. - orderid
  8686. - time
  8687. - trademode
  8688. type: object
  8689. models.HsbyTopGoods:
  8690. properties:
  8691. agreeunit:
  8692. description: 合约单位
  8693. type: number
  8694. currency:
  8695. description: 货币
  8696. type: string
  8697. currencysign:
  8698. description: 货币符号
  8699. type: string
  8700. decimalplace:
  8701. description: 报价小数位
  8702. type: integer
  8703. desccityid:
  8704. description: 目的地(市)
  8705. type: integer
  8706. descprovinceid:
  8707. description: 目的地(省)
  8708. type: integer
  8709. goodscode:
  8710. description: 商品代码(内部)
  8711. type: string
  8712. goodsid:
  8713. description: 商品ID(自增ID SEQ_GOODS)
  8714. type: integer
  8715. goodsname:
  8716. description: 商品名称
  8717. type: string
  8718. hotindex:
  8719. description: 景点热度
  8720. type: integer
  8721. last:
  8722. description: 现价
  8723. type: number
  8724. marketid:
  8725. description: 所属市场ID
  8726. type: integer
  8727. picurls:
  8728. description: 介绍图片[多张用逗号分隔]
  8729. type: string
  8730. quoteminunit:
  8731. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8732. type: integer
  8733. trademode:
  8734. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8735. 21:竞拍-大宗式 22:受托竞价
  8736. type: integer
  8737. videourls:
  8738. description: 介绍视频[多张用逗号分隔]
  8739. type: string
  8740. required:
  8741. - goodscode
  8742. - goodsid
  8743. - goodsname
  8744. - marketid
  8745. - trademode
  8746. type: object
  8747. models.HybsMyBuyOrderDetail:
  8748. properties:
  8749. accountid:
  8750. description: 账户ID[报价币种]
  8751. type: integer
  8752. agreeunit:
  8753. description: 合约单位
  8754. type: number
  8755. buyorsell:
  8756. description: 买卖 - 0:买 1:卖
  8757. type: integer
  8758. cancelqty:
  8759. description: 撤单数量
  8760. type: integer
  8761. currencysign:
  8762. description: 货币符号
  8763. type: string
  8764. decimalplace:
  8765. description: 报价小数位
  8766. type: integer
  8767. goodscode:
  8768. description: 商品代码(内部)
  8769. type: string
  8770. goodsid:
  8771. description: 商品ID
  8772. type: integer
  8773. goodsname:
  8774. description: 商品名称
  8775. type: string
  8776. listingselecttype:
  8777. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8778. type: integer
  8779. marketid:
  8780. description: 市场ID
  8781. type: integer
  8782. mybuystatus:
  8783. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8784. type: integer
  8785. orderamount:
  8786. description: 委托金额
  8787. type: number
  8788. orderid:
  8789. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8790. type: string
  8791. orderprice:
  8792. description: 委托价格
  8793. type: number
  8794. orderqty:
  8795. description: 委托数量
  8796. type: integer
  8797. orderstatus:
  8798. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8799. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8800. 16:成交失败违约(荷兰式竞拍专用)
  8801. type: integer
  8802. ordertime:
  8803. description: 委托时间
  8804. type: string
  8805. picurls1:
  8806. description: 预售商品介绍图片[多张用逗号分隔]
  8807. type: string
  8808. picurls2:
  8809. description: 挂牌商品介绍图片[多张用逗号分隔]
  8810. type: string
  8811. trademode:
  8812. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8813. 21:竞拍-大宗式 22:受托竞价
  8814. type: integer
  8815. tradeqty:
  8816. description: 成交数量
  8817. type: integer
  8818. vendorname1:
  8819. description: 预售商品供应商名称
  8820. type: string
  8821. vendorname2:
  8822. description: 挂牌商品供应商名称
  8823. type: string
  8824. required:
  8825. - accountid
  8826. - buyorsell
  8827. - goodscode
  8828. - goodsid
  8829. - goodsname
  8830. - marketid
  8831. - orderid
  8832. - orderqty
  8833. - ordertime
  8834. - trademode
  8835. type: object
  8836. models.Loginaccount:
  8837. properties:
  8838. accountname:
  8839. description: 账户名称
  8840. type: string
  8841. canoutin:
  8842. description: 是否可出入金 - 0:不可 1:可
  8843. type: integer
  8844. clientroleid:
  8845. description: 终端角色ID
  8846. type: integer
  8847. haslogined:
  8848. description: 是否已登录 - 0:未登录 1:已登录
  8849. type: integer
  8850. hasupdatedpwd:
  8851. description: 是否已更改密码 - 0:未修改 1:已修改
  8852. type: integer
  8853. lastloginip:
  8854. description: 最新登录地址
  8855. type: string
  8856. lastloginmode:
  8857. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8858. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8859. type: integer
  8860. lastloginremark:
  8861. description: 最新登录描述
  8862. type: string
  8863. lastlogintime:
  8864. description: 最新登录时间
  8865. type: string
  8866. logincode:
  8867. description: 登录代码
  8868. type: string
  8869. loginfailnum:
  8870. description: 连续登录失败次数(登录成功时清零)
  8871. type: integer
  8872. loginid:
  8873. description: 登陆账号
  8874. type: integer
  8875. loginport:
  8876. description: 最新登录端口
  8877. type: integer
  8878. loginstatus:
  8879. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  8880. type: integer
  8881. loginusertype:
  8882. description: 登录账号类型 - 1:投资者 2:机构交易员
  8883. type: integer
  8884. mobile:
  8885. description: 手机号码(加密存储)
  8886. type: string
  8887. modifierid:
  8888. description: 修改人
  8889. type: integer
  8890. modifysrc:
  8891. description: 审核来源 - 1:管理端 2:终端
  8892. type: integer
  8893. modifytime:
  8894. description: 修改时间
  8895. type: string
  8896. password:
  8897. description: 登陆密码
  8898. type: string
  8899. pwdwrongcount:
  8900. description: 密码错误次数
  8901. type: integer
  8902. relateduserid:
  8903. description: 关联用户ID(机构)
  8904. type: integer
  8905. taaccountrighttype:
  8906. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8907. type: integer
  8908. unfreezetime:
  8909. description: 账户解冻时间
  8910. type: string
  8911. userid:
  8912. description: 用户ID
  8913. type: integer
  8914. required:
  8915. - loginid
  8916. type: object
  8917. models.MainAccountInfo:
  8918. properties:
  8919. accountid:
  8920. description: 账号id
  8921. type: integer
  8922. accountname:
  8923. description: 账号名称(taaccount表中的名称)
  8924. type: string
  8925. appid:
  8926. description: AppID
  8927. type: string
  8928. authcode:
  8929. description: 授权码
  8930. type: string
  8931. brokerid:
  8932. description: 经纪商id
  8933. type: string
  8934. fcid:
  8935. description: 期货公司id
  8936. type: integer
  8937. fcname:
  8938. description: 期货公司代码
  8939. type: string
  8940. hedgeaccountcode:
  8941. description: 外部账号代码(主账号登录代码)
  8942. type: string
  8943. hedgeaccountpwd:
  8944. description: 密码
  8945. type: string
  8946. ismain:
  8947. description: 是否主账号
  8948. type: integer
  8949. relateduserid:
  8950. description: 关联用户id
  8951. type: integer
  8952. userid:
  8953. description: 关联用户id
  8954. type: integer
  8955. type: object
  8956. models.Market:
  8957. properties:
  8958. auctionwrtype:
  8959. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8960. type: integer
  8961. canacceptquote:
  8962. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8963. type: integer
  8964. cangoodsexercise:
  8965. description: '[期权]是否可现货行权- 0:否 1:是'
  8966. type: integer
  8967. cangoodsexercisetype:
  8968. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8969. type: integer
  8970. canmanualquotestrike:
  8971. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8972. type: integer
  8973. canmutistage:
  8974. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8975. type: integer
  8976. canpreexercise:
  8977. description: '[期权]是否可预申报- 0:否 1:是'
  8978. type: integer
  8979. clearinterval:
  8980. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8981. type: integer
  8982. contracttmp:
  8983. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8984. type: string
  8985. exchareaid:
  8986. description: 所属交易所,可以没有
  8987. type: integer
  8988. goodstype:
  8989. description: 商品类型 - 1:交易商品 2:仓单商品
  8990. type: integer
  8991. hasrebate:
  8992. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8993. type: integer
  8994. hastradecredit:
  8995. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8996. type: integer
  8997. haswr:
  8998. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8999. type: integer
  9000. isdeductmargin:
  9001. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9002. type: integer
  9003. isrecordsource:
  9004. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9005. type: integer
  9006. isreleasemargin:
  9007. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9008. type: integer
  9009. marginformula:
  9010. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9011. type: integer
  9012. marginformula2:
  9013. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9014. type: integer
  9015. marketid:
  9016. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9017. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9018. type: integer
  9019. marketname:
  9020. description: 市场名称
  9021. type: string
  9022. marketserviceid:
  9023. description: 市场服务ID
  9024. type: integer
  9025. marketstatus:
  9026. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9027. type: integer
  9028. markettype:
  9029. description: 市场类型- 1:非交易服务 2:交易服务
  9030. type: integer
  9031. matchermode:
  9032. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9033. type: integer
  9034. openmethod:
  9035. description: 开盘模式 - 0 自动 1手动
  9036. type: integer
  9037. otcuserid:
  9038. description: 场外期权做市商[场外期权]
  9039. type: integer
  9040. outersynctime:
  9041. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9042. type: string
  9043. pendingflag:
  9044. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9045. type: integer
  9046. pendingtime:
  9047. description: 待开市时间[通道交易-对冲](HH:mm)
  9048. type: string
  9049. performancetempid:
  9050. description: 履约计划模板ID - 作废
  9051. type: integer
  9052. premiumquotemode:
  9053. description: 权利金报价方式 - 1:自动 2:手动
  9054. type: integer
  9055. rebateratio:
  9056. description: 返利比率[竞价式]
  9057. type: number
  9058. reckonorder:
  9059. description: 结算顺序
  9060. type: integer
  9061. reckonpricealgorithm:
  9062. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9063. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9064. type: integer
  9065. reckonpriceparam:
  9066. description: 结算价参数
  9067. type: integer
  9068. reckontime:
  9069. description: 结算时间[通道交易-对冲](HH:mm)
  9070. type: string
  9071. roleprioritytype:
  9072. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9073. type: integer
  9074. selllistingauditflag:
  9075. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9076. type: integer
  9077. trademarkettype:
  9078. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9079. type: integer
  9080. trademode:
  9081. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9082. 21:竞拍-大宗式 22:受托竞价
  9083. type: integer
  9084. tradeproperty:
  9085. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9086. 8:场外期权
  9087. type: integer
  9088. tradetype:
  9089. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9090. type: integer
  9091. required:
  9092. - marketid
  9093. - marketstatus
  9094. - openmethod
  9095. - reckonpricealgorithm
  9096. - trademode
  9097. - tradeproperty
  9098. type: object
  9099. models.Marketrun:
  9100. properties:
  9101. afternexttradedate:
  9102. description: 下下交易日
  9103. type: string
  9104. clearquoteflag:
  9105. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9106. type: integer
  9107. lastreckondate:
  9108. description: 最新交易日(结算成功)
  9109. type: string
  9110. machinedate:
  9111. description: 机器时间
  9112. type: string
  9113. manualflag:
  9114. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9115. type: integer
  9116. marketid:
  9117. description: 市场ID
  9118. type: integer
  9119. nexttradedate:
  9120. description: 下一交易日
  9121. type: string
  9122. pretradedate:
  9123. description: 上一交易日
  9124. type: string
  9125. reckonflag:
  9126. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9127. type: integer
  9128. runstatus:
  9129. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9130. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9131. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9132. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9133. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9134. 62.今日免清算
  9135. type: integer
  9136. sectionid:
  9137. description: 时间段号[多时段时用]
  9138. type: integer
  9139. tradedate:
  9140. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9141. type: string
  9142. tradedate2:
  9143. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9144. type: string
  9145. updatetime:
  9146. description: 更新时间
  9147. type: string
  9148. required:
  9149. - marketid
  9150. - nexttradedate
  9151. - reckonflag
  9152. - runstatus
  9153. - tradedate
  9154. - tradedate2
  9155. type: object
  9156. models.Messageboard:
  9157. properties:
  9158. contactnum:
  9159. description: 联系电话
  9160. type: string
  9161. createtime:
  9162. description: 创建时间
  9163. type: string
  9164. message:
  9165. description: 留言信息
  9166. type: string
  9167. messageboardid:
  9168. description: 留言簿ID(SEQ_MessageBoard)
  9169. type: integer
  9170. userid:
  9171. description: 用户ID
  9172. type: integer
  9173. required:
  9174. - messageboardid
  9175. type: object
  9176. models.MyCoupon:
  9177. properties:
  9178. accountid:
  9179. description: 资金账户ID
  9180. type: integer
  9181. areauserid:
  9182. description: 所属机构
  9183. type: integer
  9184. conditionvalue:
  9185. description: 条件阈值(可为0)
  9186. type: number
  9187. couponcategroy:
  9188. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9189. type: integer
  9190. couponname:
  9191. description: 优惠券名称
  9192. type: string
  9193. coupontypeid:
  9194. description: 优惠券类型ID
  9195. type: string
  9196. couponvalue:
  9197. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9198. type: number
  9199. curfreezeqty:
  9200. description: 期末冻结数量
  9201. type: integer
  9202. curqty:
  9203. description: 期末数量
  9204. type: integer
  9205. isgeneral:
  9206. description: 是否通用券 - 0:否 1:是
  9207. type: integer
  9208. isunusable:
  9209. description: 是否不可用
  9210. type: boolean
  9211. limitedflag:
  9212. description: 是否指定商品 - 0:不限 1:限制
  9213. type: integer
  9214. limitedgoodsids:
  9215. description: 指定商品IDs[逗号分隔,前后加逗号]
  9216. type: string
  9217. orifreezeqty:
  9218. description: 期初冻结数量
  9219. type: integer
  9220. oriqty:
  9221. description: 期初数量
  9222. type: integer
  9223. reasontype:
  9224. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9225. type: integer
  9226. todaydecrease:
  9227. description: 今日减少
  9228. type: integer
  9229. todayincrease:
  9230. description: 今日增加
  9231. type: integer
  9232. userid:
  9233. description: 用户ID
  9234. type: integer
  9235. userscope:
  9236. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9237. type: string
  9238. required:
  9239. - accountid
  9240. - coupontypeid
  9241. type: object
  9242. models.MyCouponHold:
  9243. properties:
  9244. accountid:
  9245. description: 资金账户ID
  9246. type: integer
  9247. conditionvalue:
  9248. description: 条件阈值(可为0)
  9249. type: number
  9250. couponcategroy:
  9251. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9252. type: integer
  9253. couponholdid:
  9254. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9255. type: string
  9256. couponname:
  9257. description: 优惠券名称
  9258. type: string
  9259. coupontypeid:
  9260. description: 优惠券类型ID - SEQ_COUPONTYPE
  9261. type: string
  9262. couponvalue:
  9263. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9264. type: number
  9265. createtime:
  9266. description: 创建时间
  9267. type: string
  9268. enddate:
  9269. description: 结束日期
  9270. type: string
  9271. giveapplyid:
  9272. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9273. type: integer
  9274. holdstatus:
  9275. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9276. type: integer
  9277. isgeneral:
  9278. description: 是否通用券 - 0:否 1:是
  9279. type: integer
  9280. limitedflag:
  9281. description: 是否指定商品 - 0:不限 1:限制
  9282. type: integer
  9283. limitedgoodsids:
  9284. description: 指定商品IDs[逗号分隔]
  9285. type: string
  9286. qty:
  9287. description: 数量(按1平铺)
  9288. type: integer
  9289. startdate:
  9290. description: 开始日期
  9291. type: string
  9292. userid:
  9293. description: 用户ID
  9294. type: integer
  9295. userscope:
  9296. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9297. type: string
  9298. required:
  9299. - couponholdid
  9300. type: object
  9301. models.MyUsedCoupon:
  9302. properties:
  9303. accountid:
  9304. description: 资金账户ID(买方)
  9305. type: integer
  9306. conditionvalue:
  9307. description: 条件阈值(可为0)
  9308. type: number
  9309. couponcategroy:
  9310. description: 种类 - 1:现金券 2:折扣券
  9311. type: integer
  9312. couponname:
  9313. description: 优惠券名称
  9314. type: string
  9315. coupontypeid:
  9316. description: 优惠券类型ID(买方)
  9317. type: string
  9318. couponvalue:
  9319. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9320. type: number
  9321. createtime:
  9322. description: 创建时间
  9323. type: string
  9324. goodsid:
  9325. description: 商品ID
  9326. type: integer
  9327. handlestatus:
  9328. description: 处理状态
  9329. type: integer
  9330. marketid:
  9331. description: 市场ID
  9332. type: integer
  9333. offamount:
  9334. description: 优惠金额
  9335. type: number
  9336. orderid:
  9337. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9338. type: string
  9339. sellaccountid:
  9340. description: 资金账户ID(卖方)
  9341. type: integer
  9342. tradeamount:
  9343. description: 成交金额
  9344. type: number
  9345. tradeid:
  9346. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9347. type: string
  9348. usedqty:
  9349. description: 使用数量
  9350. type: integer
  9351. required:
  9352. - coupontypeid
  9353. - orderid
  9354. type: object
  9355. models.OperationPrimaryMenu:
  9356. properties:
  9357. Children:
  9358. description: 二级功能菜单
  9359. items:
  9360. $ref: '#/definitions/models.OperationSecondaryMenu'
  9361. type: array
  9362. Key:
  9363. description: 菜单KEY
  9364. type: string
  9365. Label:
  9366. description: 菜单标题
  9367. type: string
  9368. type: object
  9369. models.OperationSecondaryMenu:
  9370. properties:
  9371. Key:
  9372. description: 菜单KEY
  9373. type: string
  9374. Label:
  9375. description: 菜单标题
  9376. type: string
  9377. TabList:
  9378. description: 三级功能菜单
  9379. items:
  9380. $ref: '#/definitions/models.OperationTabMenu'
  9381. type: array
  9382. type: object
  9383. models.OperationTabMenu:
  9384. properties:
  9385. Key:
  9386. description: 菜单KEY
  9387. type: string
  9388. Label:
  9389. description: 菜单标题
  9390. type: string
  9391. type: object
  9392. models.PendingAuditBizModel:
  9393. properties:
  9394. accountid:
  9395. description: 现货账户
  9396. type: string
  9397. areaname:
  9398. description: 所属部门
  9399. type: string
  9400. bizid:
  9401. description: 业务ID
  9402. type: string
  9403. bizname:
  9404. description: 业务名称
  9405. type: string
  9406. status:
  9407. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9408. type: integer
  9409. type:
  9410. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9411. type: integer
  9412. type: object
  9413. models.QhjAccountOutInApply:
  9414. properties:
  9415. accountcode:
  9416. description: 资金账号
  9417. type: string
  9418. accountname:
  9419. description: 用户名称(名称)
  9420. type: string
  9421. accountpwd:
  9422. description: 资金密码
  9423. type: string
  9424. accountticket:
  9425. description: 最新账户服务流水号
  9426. type: string
  9427. amount:
  9428. description: 金额
  9429. type: number
  9430. applyremark:
  9431. description: 申请备注
  9432. type: string
  9433. applystatus:
  9434. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  9435. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  9436. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  9437. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9438. type: integer
  9439. auditid:
  9440. description: 审核人
  9441. type: integer
  9442. audittime:
  9443. description: 审核时间
  9444. type: string
  9445. bank_apply_ticket:
  9446. description: 银行申请流水
  9447. type: string
  9448. bankaccountname:
  9449. description: 银行账户名
  9450. type: string
  9451. bankaccountno:
  9452. description: 银行卡号
  9453. type: string
  9454. bankid:
  9455. description: 银行编号
  9456. type: string
  9457. bankticket:
  9458. description: 银行流水
  9459. type: string
  9460. branchbankid:
  9461. description: 银行支行号
  9462. type: string
  9463. branchbankname:
  9464. description: 银行支行名称
  9465. type: string
  9466. capamountout:
  9467. description: 出金(劣后本金) - 外部子账户
  9468. type: number
  9469. certificatephotourl:
  9470. description: 凭证地址
  9471. type: string
  9472. charge:
  9473. description: 手续费
  9474. type: number
  9475. checkerrorflag:
  9476. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9477. type: integer
  9478. currency:
  9479. description: 币种
  9480. type: string
  9481. cusbankid:
  9482. description: 托管银行编号
  9483. type: string
  9484. exchticket:
  9485. description: 银行服务流水号
  9486. type: string
  9487. executetype:
  9488. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  9489. 7:外部子账户:入金 8:外部子账户:出金'
  9490. type: integer
  9491. extendinfo:
  9492. description: 扩展信息
  9493. type: string
  9494. extoperateid:
  9495. description: 交易服务流水号
  9496. type: integer
  9497. infamount:
  9498. description: 劣后金额(自有)
  9499. type: number
  9500. logincode:
  9501. description: 登录账号(账号)
  9502. type: string
  9503. netaddr:
  9504. description: 调转网址
  9505. type: string
  9506. priamount:
  9507. description: 优先金额(授信)
  9508. type: number
  9509. reauditid:
  9510. description: 复审人
  9511. type: integer
  9512. reauditremark:
  9513. description: 复审备注
  9514. type: string
  9515. reaudittime:
  9516. description: 复审时间
  9517. type: string
  9518. relatedorderid:
  9519. description: 三方关联ID
  9520. type: string
  9521. remark:
  9522. description: 备注
  9523. type: string
  9524. remark2:
  9525. description: 备注(失败原因)
  9526. type: string
  9527. soucreamount:
  9528. description: 原始出入金金额
  9529. type: number
  9530. soucrecurrencyid:
  9531. description: 原始出入金币种
  9532. type: integer
  9533. tradedate:
  9534. description: 交易日(yyyyMMdd)
  9535. type: string
  9536. updatetime:
  9537. description: 更新时间(申请时间)
  9538. type: string
  9539. userid:
  9540. description: 用户id
  9541. type: integer
  9542. userinfotype:
  9543. description: 账户类型 1-个人 2-企业
  9544. type: integer
  9545. type: object
  9546. models.QhjAgreementChangeLog:
  9547. properties:
  9548. agreementcontent:
  9549. description: 协议内容
  9550. type: string
  9551. agreementfrequency:
  9552. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9553. type: integer
  9554. agreementid:
  9555. description: 协议ID
  9556. type: integer
  9557. agreementname:
  9558. description: 协议名称
  9559. type: string
  9560. agreementno:
  9561. description: 协议编号
  9562. type: string
  9563. agreementtype:
  9564. description: 协议类型 - 1:注册 2:登录 3:交易
  9565. type: integer
  9566. agreementversion:
  9567. description: 协议版本号
  9568. type: integer
  9569. logid:
  9570. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  9571. type: integer
  9572. reviserid:
  9573. description: 修改人
  9574. type: integer
  9575. revisersrc:
  9576. description: 修改来源 - 1:管理端 2:终端
  9577. type: integer
  9578. updatetime:
  9579. description: 更新时间
  9580. type: string
  9581. type: object
  9582. models.QhjAgreementConfig:
  9583. properties:
  9584. agreementcontent:
  9585. description: 协议内容
  9586. type: string
  9587. agreementfrequency:
  9588. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9589. type: integer
  9590. agreementid:
  9591. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  9592. type: integer
  9593. agreementname:
  9594. description: 协议名称
  9595. type: string
  9596. agreementno:
  9597. description: 协议编号
  9598. type: string
  9599. agreementtype:
  9600. description: 协议类型 - 1:注册 2:登录 3:交易
  9601. type: integer
  9602. agreementversion:
  9603. description: 协议版本号(从1开始每次修改加1)
  9604. type: integer
  9605. createtime:
  9606. description: 创建时间
  9607. type: string
  9608. creatorid:
  9609. description: 创建人
  9610. type: integer
  9611. creatorsrc:
  9612. description: 创建来源 - 1:管理端 2:终端
  9613. type: integer
  9614. isvalid:
  9615. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  9616. type: integer
  9617. reviserid:
  9618. description: 修改人
  9619. type: integer
  9620. revisersrc:
  9621. description: 修改来源 - 1:管理端 2:终端
  9622. type: integer
  9623. updatetime:
  9624. description: 更新时间
  9625. type: string
  9626. type: object
  9627. models.QhjAreaFinanceConfig:
  9628. properties:
  9629. additionalratio:
  9630. description: 追加款比例
  9631. type: number
  9632. advanceratio:
  9633. description: 预付款比例
  9634. type: number
  9635. alarmratio:
  9636. description: 告警比例
  9637. type: number
  9638. consumptiondirectreward:
  9639. description: 消费直推奖励值
  9640. type: number
  9641. consumptionenabled:
  9642. description: 是否启用消费奖励 - 0:不启用 1:启用
  9643. type: integer
  9644. consumptionindirectreward:
  9645. description: 消费间推奖励值
  9646. type: number
  9647. consumptionmodel:
  9648. description: 消费奖励方式 - 1:比率 2:固定
  9649. type: integer
  9650. customerservicenum:
  9651. description: 客服电话
  9652. type: string
  9653. dayinterestrate:
  9654. description: 日利率
  9655. type: number
  9656. disableconsumptiontips:
  9657. description: 关闭消费奖励提示
  9658. type: string
  9659. modifierid:
  9660. description: 修改人ID
  9661. type: integer
  9662. modifysrc:
  9663. description: 审核来源 - 1:管理端 2:终端
  9664. type: integer
  9665. modifytime:
  9666. description: 修改时间
  9667. type: string
  9668. promotionvalue:
  9669. description: 推广奖励值(固定)
  9670. type: number
  9671. scoreconfigvalue1:
  9672. description: 提货积分配置1
  9673. type: integer
  9674. scoreconfigvalue2:
  9675. description: 提货积分配置2
  9676. type: integer
  9677. userid:
  9678. description: 机构用户ID其他做市关系,都设置为 1
  9679. type: integer
  9680. username:
  9681. description: 用户名称
  9682. type: string
  9683. type: object
  9684. models.QhjBankAccountSign:
  9685. properties:
  9686. accountcode:
  9687. description: 资金账号
  9688. type: string
  9689. accountname:
  9690. description: 资金账号对应的账号名(UserName)
  9691. type: string
  9692. accountname2:
  9693. description: 资金账号对应的账号名(UserName) - 密文
  9694. type: string
  9695. accounttype:
  9696. description: 账户类型(UserType)
  9697. type: integer
  9698. applicationtime:
  9699. description: 最后一次更新的时间
  9700. type: string
  9701. applyexchticket:
  9702. description: 申请流水
  9703. type: string
  9704. auditid:
  9705. description: 审核人
  9706. type: integer
  9707. audittime:
  9708. description: 审核时间
  9709. type: string
  9710. bankaccountname:
  9711. description: 签约银行卡账号名
  9712. type: string
  9713. bankaccountname2:
  9714. description: 签约银行卡账号名 - 密文
  9715. type: string
  9716. bankaccountno:
  9717. description: 银行卡号
  9718. type: string
  9719. bankaccountno2:
  9720. description: 银行卡号 - 密文
  9721. type: string
  9722. bankaccounttype:
  9723. description: 银行账户类型 - 1-对私; 2-对公
  9724. type: integer
  9725. bankcardtype:
  9726. description: 银行卡类型
  9727. type: integer
  9728. bankchildaccount:
  9729. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  9730. type: string
  9731. bankcity:
  9732. description: 开户行城市
  9733. type: string
  9734. bankid:
  9735. description: 签约银行ID
  9736. type: string
  9737. bankname:
  9738. description: 签约银行名称
  9739. type: string
  9740. bankprovince:
  9741. description: 开户行省份
  9742. type: string
  9743. branchbankid:
  9744. description: 签约银行支行号
  9745. type: string
  9746. branchbankname:
  9747. description: 签约银行支行名称
  9748. type: string
  9749. cardno:
  9750. description: 证件号码
  9751. type: string
  9752. cardno2:
  9753. description: 证件号码 - 密文
  9754. type: string
  9755. cardtype:
  9756. description: 证件类型
  9757. type: string
  9758. currency:
  9759. description: 币种
  9760. type: string
  9761. cusbankid:
  9762. description: 托管银行编号
  9763. type: string
  9764. direct:
  9765. description: 方向(可以判断那方先发起的签约)
  9766. type: integer
  9767. exchticket:
  9768. description: 最后一次签约成功的流水号
  9769. type: string
  9770. extendinfo:
  9771. description: 扩展信息(JSON字符串)
  9772. type: string
  9773. mobilephone:
  9774. description: 手机号
  9775. type: string
  9776. mobilephone2:
  9777. description: 手机号 - 密文
  9778. type: string
  9779. netaddr:
  9780. description: 调转网址
  9781. type: string
  9782. relateduserid:
  9783. description: 关联使用者userid
  9784. type: integer
  9785. signstatus:
  9786. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9787. 10:审核拒绝 11:换签待审核
  9788. type: integer
  9789. updatetime:
  9790. description: 更新时间(签解约更新时间)
  9791. type: string
  9792. type: object
  9793. models.QhjBankInfo:
  9794. properties:
  9795. bankid:
  9796. description: 银行ID
  9797. type: string
  9798. bankname:
  9799. description: 银行名称
  9800. type: string
  9801. clearbankno:
  9802. description: 清算系统银行编号
  9803. type: string
  9804. orderindex:
  9805. description: 排序顺序
  9806. type: integer
  9807. status:
  9808. description: 状态 - 0:正常 1:注销
  9809. type: integer
  9810. type: object
  9811. models.QhjBrokerApply:
  9812. properties:
  9813. applicantid:
  9814. description: 申请人
  9815. type: integer
  9816. applysrc:
  9817. description: 申请来源 - 1:管理端 2:终端
  9818. type: integer
  9819. applystatus:
  9820. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  9821. type: integer
  9822. applytime:
  9823. description: 申请时间
  9824. type: string
  9825. auditorid:
  9826. description: 审核人
  9827. type: integer
  9828. auditremark:
  9829. description: 审核备注
  9830. type: string
  9831. auditsrc:
  9832. description: 审核来源 - 1:管理端 2:终端
  9833. type: integer
  9834. audittime:
  9835. description: 审核时间
  9836. type: string
  9837. audittradedate:
  9838. description: 审核交易日(yyyyMMdd)
  9839. type: string
  9840. brokerapplyid:
  9841. description: 申请ID(SEQ_BROKERAPPLY)
  9842. type: integer
  9843. cardbackphotourl:
  9844. description: 证件背面图片地址
  9845. type: string
  9846. cardfrontphotourl:
  9847. description: 证件正面图片地址
  9848. type: string
  9849. cardnum:
  9850. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  9851. type: string
  9852. customername:
  9853. description: 姓名
  9854. type: string
  9855. logincode:
  9856. description: 登录代码
  9857. type: string
  9858. mobile:
  9859. description: 手机号码
  9860. type: string
  9861. parentuserid:
  9862. description: 所属机构id
  9863. type: integer
  9864. parentusername:
  9865. description: 所属机构名称
  9866. type: string
  9867. refereeuserid:
  9868. description: 推荐人id(经纪人)
  9869. type: integer
  9870. refernum:
  9871. description: 推荐码
  9872. type: string
  9873. remark:
  9874. description: 备注
  9875. type: string
  9876. subarealevelpath:
  9877. description: 层级路径
  9878. type: string
  9879. tradedate:
  9880. description: 交易日(yyyyMMdd)
  9881. type: string
  9882. userid:
  9883. description: 申请人用户ID
  9884. type: integer
  9885. userinfotype:
  9886. description: 用户类型 1-个人 2-企业
  9887. type: integer
  9888. username:
  9889. description: 用户名称
  9890. type: string
  9891. type: object
  9892. models.QhjBrokerApplyEx:
  9893. properties:
  9894. applylist:
  9895. description: 经纪人申请记录(只返回最新一条)
  9896. items:
  9897. $ref: '#/definitions/models.QhjBrokerApply'
  9898. type: array
  9899. canrecommend:
  9900. description: 是否经纪人 0-不是 1-是
  9901. type: integer
  9902. refernum:
  9903. description: 推荐码
  9904. type: string
  9905. userid:
  9906. description: 用户id
  9907. type: integer
  9908. userinfotype:
  9909. description: 用户类型 1-个人 2-企业
  9910. type: integer
  9911. type: object
  9912. models.QhjBrokerRewardLog:
  9913. properties:
  9914. accountid:
  9915. description: 资金账号ID
  9916. type: integer
  9917. createtime:
  9918. description: 创建时间(时间)
  9919. type: string
  9920. handlestatus:
  9921. description: 处理状态
  9922. type: integer
  9923. logid:
  9924. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9925. type: string
  9926. marketid:
  9927. description: 市场ID
  9928. type: integer
  9929. mmaccountid:
  9930. description: 做市商资金账号ID
  9931. type: string
  9932. mmuserid:
  9933. description: 做市商用户ID
  9934. type: string
  9935. rewardamount:
  9936. description: 奖励金额
  9937. type: number
  9938. rewardmodel:
  9939. description: 消费奖励方式 - 1:比率 2:固定
  9940. type: integer
  9941. rewardtype:
  9942. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  9943. type: integer
  9944. rewardvalue:
  9945. description: 配置奖励值
  9946. type: number
  9947. srcamount:
  9948. description: 成交金额 [消费奖励] (金额)
  9949. type: number
  9950. srcgoodsid:
  9951. description: 来源商品ID [消费奖励]
  9952. type: string
  9953. srctime:
  9954. description: 来源时间 (成交时间) [消费奖励]
  9955. type: string
  9956. srctradeid:
  9957. description: 来源成交单ID [消费奖励] - 排除提货成交
  9958. type: string
  9959. srcuserid:
  9960. description: 来源用户ID(推广账户)
  9961. type: string
  9962. srcusername:
  9963. description: 推广账户名称
  9964. type: string
  9965. tradedate:
  9966. description: 交易日(yyyyMMdd)
  9967. type: string
  9968. userid:
  9969. description: 经纪人用户ID
  9970. type: integer
  9971. type: object
  9972. models.QhjContract:
  9973. properties:
  9974. contractconfirmtime:
  9975. description: 合同确认时间(时间)
  9976. type: string
  9977. currisklevel:
  9978. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  9979. type: integer
  9980. decimalplace:
  9981. description: 商品报价小数位
  9982. type: integer
  9983. enumdicname:
  9984. description: 单位名称
  9985. type: string
  9986. goodscode:
  9987. description: 商品代码
  9988. type: string
  9989. goodsid:
  9990. description: 商品ID [5:融资单]
  9991. type: integer
  9992. goodsname:
  9993. description: 商品名称
  9994. type: string
  9995. goodunitid:
  9996. description: 商品单位id
  9997. type: integer
  9998. initmargin:
  9999. description: 初始保证金(首付款)
  10000. type: number
  10001. lenderamount:
  10002. description: 贷款金额(总额|订单总额)
  10003. type: number
  10004. marginratio:
  10005. description: 保证金比率(首付比例)
  10006. type: number
  10007. payamount:
  10008. description: 已付(已付货款)
  10009. type: number
  10010. reckonrecovermargin:
  10011. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10012. type: number
  10013. recoveredmargin:
  10014. description: 已追缴保证金
  10015. type: number
  10016. remainamount:
  10017. description: 合同剩余金额(融资额)
  10018. type: number
  10019. scfcontractid:
  10020. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10021. type: string
  10022. scfcontractstatus:
  10023. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10024. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10025. type: integer
  10026. scfcontracttype:
  10027. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10028. type: integer
  10029. totalinterest:
  10030. description: 已计总利息(利息)
  10031. type: number
  10032. tradeprice:
  10033. description: 成交价格(成本价格)
  10034. type: number
  10035. userid:
  10036. description: 用户ID
  10037. type: integer
  10038. username:
  10039. description: 用户名称
  10040. type: string
  10041. wrqty:
  10042. description: 仓单数量(数量)
  10043. type: number
  10044. type: object
  10045. models.QhjContractLog:
  10046. properties:
  10047. amount:
  10048. description: 支付金额
  10049. type: number
  10050. amounttype:
  10051. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10052. type: integer
  10053. logid:
  10054. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10055. type: string
  10056. remainamount:
  10057. description: 剩余货款
  10058. type: number
  10059. scfcontractid:
  10060. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10061. type: integer
  10062. updatetime:
  10063. description: 更新时间
  10064. type: string
  10065. type: object
  10066. models.QhjCusBankSignBankEx:
  10067. properties:
  10068. banklst:
  10069. description: 银行列表
  10070. items:
  10071. $ref: '#/definitions/models.QhjBankInfo'
  10072. type: array
  10073. canallot:
  10074. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10075. type: integer
  10076. canallotquery:
  10077. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10078. type: integer
  10079. canbindcard:
  10080. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10081. type: integer
  10082. caninamount:
  10083. description: 是否可入金 - 0:不可 1:可以
  10084. type: integer
  10085. caninamount2:
  10086. description: 是否可入金(网银端) - 0:不可 1:可以
  10087. type: integer
  10088. canmodifybankcard:
  10089. description: 是否可修改银行卡号 - 0:不可 1:可以
  10090. type: integer
  10091. canmodifyphone:
  10092. description: 是否可修改手机号 - 0:不可 1:可以
  10093. type: integer
  10094. canmodifysigninfo:
  10095. description: 是否可修改签约信息 - 0:不可 1:可以
  10096. type: integer
  10097. canoutamount:
  10098. description: 是否可出金 - 0:不可 1:可以
  10099. type: integer
  10100. canoutamount2:
  10101. description: 是否可出金(网银端) - 0:不可 1:可以
  10102. type: integer
  10103. canrelease:
  10104. description: 是否可解约 - 0:不可 1:可以
  10105. type: integer
  10106. canrelease2:
  10107. description: 是否可解约(网银端) - 0:不可 1:可以
  10108. type: integer
  10109. cansign:
  10110. description: 是否可签约 - 0:不可 1:可以
  10111. type: integer
  10112. cansign2:
  10113. description: 是否可签约(网银端) - 0:不可 1:可以
  10114. type: integer
  10115. currency:
  10116. description: 币种
  10117. type: string
  10118. cusbankid:
  10119. description: 托管银行编号(对应清算中心TRAN_NO)
  10120. type: string
  10121. cusbankname:
  10122. description: 银行业务名称
  10123. type: string
  10124. cusbankshortname:
  10125. description: 银行业务简称
  10126. type: string
  10127. exchbankid:
  10128. description: 交易所开户银行ID
  10129. type: string
  10130. exchpaybankaccname:
  10131. description: 交易所支出结算账户户名
  10132. type: string
  10133. exchpaybankaccno:
  10134. description: 交易所支出结算账户
  10135. type: string
  10136. isneedcheck:
  10137. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10138. type: integer
  10139. isneedclear:
  10140. description: 是否需要清算 - 0:不需要 1:需要
  10141. type: integer
  10142. lastcheckstatus:
  10143. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10144. type: integer
  10145. lastchecktime:
  10146. description: 最后对账时间
  10147. type: string
  10148. lastclearstatus:
  10149. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10150. type: integer
  10151. lastcleartime:
  10152. description: 最后清算时间
  10153. type: string
  10154. lastsignintime:
  10155. description: 最后签到时间
  10156. type: string
  10157. lastsignouttime:
  10158. description: 最后签退时间
  10159. type: string
  10160. riskinfo:
  10161. description: 签约风险提示书
  10162. type: string
  10163. signstatus:
  10164. description: 当前签到/签退状态 - 1:签到 2:签退
  10165. type: integer
  10166. tradedate:
  10167. description: 交易日(yyyyMMdd)
  10168. type: string
  10169. updatetime:
  10170. description: 当前签到/签退更新时间
  10171. type: string
  10172. type: object
  10173. models.QhjCustomer:
  10174. properties:
  10175. address:
  10176. description: 通讯地址
  10177. type: string
  10178. attachment1:
  10179. description: 附件1
  10180. type: string
  10181. audittime:
  10182. description: 审核时间
  10183. type: string
  10184. cardbackphotourl:
  10185. description: 证件反面图片地址
  10186. type: string
  10187. cardfrontphotourl:
  10188. description: 证件正面图片地址
  10189. type: string
  10190. cardnum:
  10191. description: 证件号码
  10192. type: string
  10193. cardtype:
  10194. description: 证件类型
  10195. type: integer
  10196. cardtypename:
  10197. description: 证件类型名称
  10198. type: string
  10199. cityid:
  10200. description: 市
  10201. type: integer
  10202. cityname:
  10203. description: 城市名称
  10204. type: string
  10205. contactname:
  10206. description: 联系人
  10207. type: string
  10208. countryid:
  10209. description: 国家
  10210. type: integer
  10211. countryname:
  10212. description: 国家名称
  10213. type: string
  10214. createtime:
  10215. description: 创建时间
  10216. type: string
  10217. customername:
  10218. description: 客户名称
  10219. type: string
  10220. districtid:
  10221. description: 区域
  10222. type: integer
  10223. districtname:
  10224. description: 地区名称
  10225. type: string
  10226. email:
  10227. description: 邮件
  10228. type: string
  10229. legalpersonname:
  10230. description: 法人姓名(企业)
  10231. type: string
  10232. logincode:
  10233. description: 登录账号(代码)
  10234. type: string
  10235. memberuserid:
  10236. description: 所属机构ID(所属会员)
  10237. type: integer
  10238. memberusername:
  10239. description: 所属会员名称
  10240. type: string
  10241. mobile:
  10242. description: 手机号码
  10243. type: string
  10244. modifytime:
  10245. description: 修改时间
  10246. type: string
  10247. nickname:
  10248. description: 昵称
  10249. type: string
  10250. parentuserid:
  10251. description: 上级机构(所属机构)
  10252. type: integer
  10253. parentusername:
  10254. description: 所属机构名称
  10255. type: string
  10256. provinceid:
  10257. description: 省
  10258. type: integer
  10259. provincename:
  10260. description: 省名称
  10261. type: string
  10262. proxystatementurl:
  10263. description: 授权委托书
  10264. type: string
  10265. remark:
  10266. description: 备注
  10267. type: string
  10268. status:
  10269. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10270. type: integer
  10271. statusdesc:
  10272. description: 账户状态中文描述
  10273. type: string
  10274. taxpayernum:
  10275. description: 纳税人识别号
  10276. type: string
  10277. telphone:
  10278. description: 联系电话
  10279. type: string
  10280. userid:
  10281. description: 用户ID
  10282. type: integer
  10283. userinfotype:
  10284. description: 客户类型 1-个人 2-企业
  10285. type: integer
  10286. username:
  10287. description: 用户名称
  10288. type: string
  10289. type: object
  10290. models.QhjCustomerSignLog:
  10291. properties:
  10292. agreementcontent:
  10293. description: 协议内容
  10294. type: string
  10295. agreementid:
  10296. description: 协议ID
  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: 协议版本号
  10309. type: integer
  10310. createtime:
  10311. description: 创建时间
  10312. type: string
  10313. goodscode:
  10314. description: 商品代码
  10315. type: string
  10316. goodsid:
  10317. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10318. type: integer
  10319. goodsname:
  10320. description: 商品名称
  10321. type: string
  10322. logid:
  10323. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  10324. type: integer
  10325. nodetype:
  10326. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  10327. type: integer
  10328. signadressurl:
  10329. description: 签约文件地址
  10330. type: string
  10331. signtimestamp:
  10332. description: 签约状态时间戳
  10333. type: string
  10334. userid:
  10335. description: 客户ID
  10336. type: integer
  10337. username:
  10338. description: 客户名称
  10339. type: string
  10340. type: object
  10341. models.QhjCustomerSignStatus:
  10342. properties:
  10343. createtime:
  10344. description: 创建时间
  10345. type: string
  10346. goodscode:
  10347. description: 商品代码
  10348. type: string
  10349. goodsid:
  10350. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10351. type: integer
  10352. goodsname:
  10353. description: 商品名称
  10354. type: string
  10355. nodetype:
  10356. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  10357. type: integer
  10358. signtimestamp:
  10359. description: 签约状态时间戳
  10360. type: string
  10361. tradedate:
  10362. description: 创建交易日(yyyyMMdd)
  10363. type: string
  10364. updatetime:
  10365. description: 更新时间
  10366. type: string
  10367. userid:
  10368. description: 客户ID
  10369. type: integer
  10370. username:
  10371. description: 客户名称
  10372. type: string
  10373. type: object
  10374. models.QhjMgrAccountOutInApply:
  10375. properties:
  10376. accountcode:
  10377. description: 资金账号
  10378. type: string
  10379. accountname:
  10380. description: 用户名称(名称)
  10381. type: string
  10382. accountpwd:
  10383. description: 资金密码
  10384. type: string
  10385. accountticket:
  10386. description: 最新账户服务流水号
  10387. type: string
  10388. amount:
  10389. description: 金额
  10390. type: number
  10391. applyremark:
  10392. description: 申请备注
  10393. type: string
  10394. applystatus:
  10395. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10396. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10397. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10398. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10399. type: integer
  10400. auditid:
  10401. description: 审核人
  10402. type: integer
  10403. audittime:
  10404. description: 审核时间
  10405. type: string
  10406. bank_apply_ticket:
  10407. description: 银行申请流水
  10408. type: string
  10409. bankaccountname:
  10410. description: 银行账户名
  10411. type: string
  10412. bankaccountno:
  10413. description: 银行卡号
  10414. type: string
  10415. bankid:
  10416. description: 银行编号
  10417. type: string
  10418. bankname:
  10419. description: 银行名称
  10420. type: string
  10421. bankticket:
  10422. description: 银行流水
  10423. type: string
  10424. branchbankid:
  10425. description: 银行支行号
  10426. type: string
  10427. branchbankname:
  10428. description: 银行支行名称
  10429. type: string
  10430. capamountout:
  10431. description: 出金(劣后本金) - 外部子账户
  10432. type: number
  10433. certificatephotourl:
  10434. description: 凭证地址
  10435. type: string
  10436. charge:
  10437. description: 手续费
  10438. type: number
  10439. checkerrorflag:
  10440. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10441. type: integer
  10442. currency:
  10443. description: 币种
  10444. type: string
  10445. cusbankid:
  10446. description: 托管银行编号
  10447. type: string
  10448. exchticket:
  10449. description: 银行服务流水号
  10450. type: string
  10451. executetype:
  10452. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10453. 7:外部子账户:入金 8:外部子账户:出金'
  10454. type: integer
  10455. extendinfo:
  10456. description: 扩展信息
  10457. type: string
  10458. extoperateid:
  10459. description: 交易服务流水号
  10460. type: integer
  10461. infamount:
  10462. description: 劣后金额(自有)
  10463. type: number
  10464. logincode:
  10465. description: 登录账号(账号)
  10466. type: string
  10467. netaddr:
  10468. description: 调转网址
  10469. type: string
  10470. priamount:
  10471. description: 优先金额(授信)
  10472. type: number
  10473. reauditid:
  10474. description: 复审人
  10475. type: integer
  10476. reauditremark:
  10477. description: 复审备注
  10478. type: string
  10479. reaudittime:
  10480. description: 复审时间
  10481. type: string
  10482. relatedorderid:
  10483. description: 三方关联ID
  10484. type: string
  10485. remark:
  10486. description: 备注
  10487. type: string
  10488. remark2:
  10489. description: 备注(失败原因)
  10490. type: string
  10491. soucreamount:
  10492. description: 原始出入金金额
  10493. type: number
  10494. soucrecurrencyid:
  10495. description: 原始出入金币种
  10496. type: integer
  10497. tradedate:
  10498. description: 交易日(yyyyMMdd)
  10499. type: string
  10500. updatetime:
  10501. description: 更新时间(申请时间)
  10502. type: string
  10503. userid:
  10504. description: 用户id
  10505. type: integer
  10506. userinfotype:
  10507. description: 账户类型 1-个人 2-企业
  10508. type: integer
  10509. type: object
  10510. models.QhjMgrBrokerApply:
  10511. properties:
  10512. applicantid:
  10513. description: 申请人
  10514. type: integer
  10515. applysrc:
  10516. description: 申请来源 - 1:管理端 2:终端
  10517. type: integer
  10518. applystatus:
  10519. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10520. type: integer
  10521. applytime:
  10522. description: 申请时间
  10523. type: string
  10524. auditorid:
  10525. description: 审核人
  10526. type: integer
  10527. auditremark:
  10528. description: 审核备注
  10529. type: string
  10530. auditsrc:
  10531. description: 审核来源 - 1:管理端 2:终端
  10532. type: integer
  10533. audittime:
  10534. description: 审核时间
  10535. type: string
  10536. audittradedate:
  10537. description: 审核交易日(yyyyMMdd)
  10538. type: string
  10539. brokerapplyid:
  10540. description: 申请ID(SEQ_BROKERAPPLY)
  10541. type: integer
  10542. cardbackphotourl:
  10543. description: 证件背面图片地址
  10544. type: string
  10545. cardfrontphotourl:
  10546. description: 证件正面图片地址
  10547. type: string
  10548. cardnum:
  10549. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10550. type: string
  10551. customername:
  10552. description: 姓名
  10553. type: string
  10554. filterstatus:
  10555. description: 筛选条件
  10556. type: string
  10557. logincode:
  10558. description: 登录代码
  10559. type: string
  10560. mobile:
  10561. description: 手机号码
  10562. type: string
  10563. parentuserid:
  10564. description: 所属机构id
  10565. type: integer
  10566. parentusername:
  10567. description: 所属机构名称
  10568. type: string
  10569. refereeuserid:
  10570. description: 推荐人id(经纪人)
  10571. type: integer
  10572. refernum:
  10573. description: 推荐码
  10574. type: string
  10575. remark:
  10576. description: 备注
  10577. type: string
  10578. subarealevelpath:
  10579. description: 层级路径
  10580. type: string
  10581. tradedate:
  10582. description: 交易日(yyyyMMdd)
  10583. type: string
  10584. userid:
  10585. description: 申请人用户ID
  10586. type: integer
  10587. userinfotype:
  10588. description: 用户类型 1-个人 2-企业
  10589. type: integer
  10590. username:
  10591. description: 用户名称
  10592. type: string
  10593. type: object
  10594. models.QhjMgrBrokerRewardReport:
  10595. properties:
  10596. createtime:
  10597. description: 创建时间(注册时间)
  10598. type: string
  10599. cycletime:
  10600. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  10601. type: string
  10602. cycletype:
  10603. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  10604. type: integer
  10605. directtotalnum:
  10606. description: 直推总人数【期末】
  10607. type: integer
  10608. indirecttotalnum:
  10609. description: 间推总人数【期末】
  10610. type: integer
  10611. mobile:
  10612. description: 电话号码
  10613. type: string
  10614. refereeuserid:
  10615. description: 推荐人id(经纪人id)
  10616. type: integer
  10617. refereeusername:
  10618. description: 推荐人名称(经纪人) 上级经纪人名称
  10619. type: string
  10620. refernum:
  10621. description: 推荐码
  10622. type: string
  10623. subarealevelpath:
  10624. description: 用户层级路径
  10625. type: string
  10626. todayrewardamount:
  10627. description: 奖励总金额【汇总】
  10628. type: number
  10629. updatetime:
  10630. description: 更新时间
  10631. type: string
  10632. userid:
  10633. description: 经纪人用户ID
  10634. type: integer
  10635. userinfotype:
  10636. description: 用户类型 1-个人 2-企业
  10637. type: integer
  10638. username:
  10639. description: 用户名称
  10640. type: string
  10641. type: object
  10642. models.QhjMgrContract:
  10643. properties:
  10644. contractconfirmtime:
  10645. description: 合同确认时间(时间)
  10646. type: string
  10647. currisklevel:
  10648. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10649. type: integer
  10650. decimalplace:
  10651. description: 商品报价小数位
  10652. type: integer
  10653. enumdicname:
  10654. description: 单位名称
  10655. type: string
  10656. goodscode:
  10657. description: 商品代码
  10658. type: string
  10659. goodsid:
  10660. description: 商品ID [5:融资单]
  10661. type: integer
  10662. goodsname:
  10663. description: 商品名称
  10664. type: string
  10665. goodunitid:
  10666. description: 商品单位id
  10667. type: integer
  10668. initmargin:
  10669. description: 初始保证金(首付款)
  10670. type: number
  10671. lenderamount:
  10672. description: 贷款金额(总额|订单总额)
  10673. type: number
  10674. logincode:
  10675. description: 账号(登录代码)
  10676. type: string
  10677. marginratio:
  10678. description: 保证金比率(首付比例)
  10679. type: number
  10680. mobile:
  10681. description: 电话号码(用户资料里的电话)
  10682. type: string
  10683. payamount:
  10684. description: 已付(已付货款)
  10685. type: number
  10686. reckonrecovermargin:
  10687. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10688. type: number
  10689. recoveredmargin:
  10690. description: 已追缴保证金
  10691. type: number
  10692. remainamount:
  10693. description: 合同剩余金额(融资额)
  10694. type: number
  10695. scfcontractid:
  10696. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10697. type: string
  10698. scfcontractstatus:
  10699. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10700. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10701. type: integer
  10702. scfcontracttype:
  10703. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10704. type: integer
  10705. totalinterest:
  10706. description: 已计总利息(利息)
  10707. type: number
  10708. tradedate:
  10709. description: 交易日
  10710. type: string
  10711. tradeprice:
  10712. description: 成交价格(成本价格)
  10713. type: number
  10714. userid:
  10715. description: 用户ID
  10716. type: integer
  10717. userinfotype:
  10718. description: 用户类型 1-个人 2-企业
  10719. type: integer
  10720. username:
  10721. description: 用户名称
  10722. type: string
  10723. wrqty:
  10724. description: 仓单数量(数量)
  10725. type: number
  10726. type: object
  10727. models.QhjMgrCustomer:
  10728. properties:
  10729. address:
  10730. description: 通讯地址
  10731. type: string
  10732. attachment1:
  10733. description: 附件1
  10734. type: string
  10735. audittime:
  10736. description: 审核时间
  10737. type: string
  10738. cardbackphotourl:
  10739. description: 证件反面图片地址
  10740. type: string
  10741. cardfrontphotourl:
  10742. description: 证件正面图片地址
  10743. type: string
  10744. cardnum:
  10745. description: 证件号码
  10746. type: string
  10747. cardtype:
  10748. description: 证件类型
  10749. type: integer
  10750. cardtypename:
  10751. description: 证件类型名称
  10752. type: string
  10753. cityid:
  10754. description: 市
  10755. type: integer
  10756. cityname:
  10757. description: 城市名称
  10758. type: string
  10759. contactname:
  10760. description: 联系人
  10761. type: string
  10762. countryid:
  10763. description: 国家
  10764. type: integer
  10765. countryname:
  10766. description: 国家名称
  10767. type: string
  10768. createtime:
  10769. description: 创建时间
  10770. type: string
  10771. customername:
  10772. description: 客户名称
  10773. type: string
  10774. districtid:
  10775. description: 区域
  10776. type: integer
  10777. districtname:
  10778. description: 地区名称
  10779. type: string
  10780. email:
  10781. description: 邮件
  10782. type: string
  10783. legalpersonname:
  10784. description: 法人姓名(企业)
  10785. type: string
  10786. logincode:
  10787. description: 登录账号(代码)
  10788. type: string
  10789. memberuserid:
  10790. description: 所属机构ID(所属会员)
  10791. type: integer
  10792. memberusername:
  10793. description: 所属会员名称
  10794. type: string
  10795. mobile:
  10796. description: 手机号码
  10797. type: string
  10798. modifytime:
  10799. description: 修改时间
  10800. type: string
  10801. nickname:
  10802. description: 昵称
  10803. type: string
  10804. parentuserid:
  10805. description: 上级机构(所属机构)
  10806. type: integer
  10807. parentusername:
  10808. description: 所属机构名称
  10809. type: string
  10810. provinceid:
  10811. description: 省
  10812. type: integer
  10813. provincename:
  10814. description: 省名称
  10815. type: string
  10816. proxystatementurl:
  10817. description: 授权委托书
  10818. type: string
  10819. querytype:
  10820. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  10821. type: integer
  10822. remark:
  10823. description: 备注
  10824. type: string
  10825. status:
  10826. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  10827. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  10828. type: integer
  10829. statusdesc:
  10830. description: 账户状态中文描述
  10831. type: string
  10832. taxpayernum:
  10833. description: 纳税人识别号
  10834. type: string
  10835. telphone:
  10836. description: 联系电话
  10837. type: string
  10838. userid:
  10839. description: 用户ID
  10840. type: integer
  10841. userinfotype:
  10842. description: 客户类型 1-个人 2-企业
  10843. type: integer
  10844. username:
  10845. description: 用户名称
  10846. type: string
  10847. type: object
  10848. models.QhjMgrPickGoods:
  10849. properties:
  10850. enumdicname:
  10851. description: 单位名称(提货商品)
  10852. type: string
  10853. goodsid:
  10854. description: 商品id
  10855. type: integer
  10856. imageaddress:
  10857. description: 图片
  10858. type: string
  10859. modifierid:
  10860. description: 修改人
  10861. type: integer
  10862. modifiername:
  10863. description: 修改人名称
  10864. type: string
  10865. modifysrc:
  10866. description: 修改来源 - 1:管理端 2:终端
  10867. type: integer
  10868. pickupgoodsagreeunit:
  10869. description: 合约乘数
  10870. type: number
  10871. pickupgoodsdesc:
  10872. description: 描述
  10873. type: string
  10874. pickupgoodsid:
  10875. description: 提货商品ID
  10876. type: string
  10877. pickupgoodsname:
  10878. description: 提货商品名称
  10879. type: string
  10880. pickupgoodsstatus:
  10881. description: 状态 - 1:正常 2:停用 3:注销
  10882. type: integer
  10883. pickupgoodsunitid:
  10884. description: 单位ID
  10885. type: integer
  10886. pickupratio:
  10887. description: 提货系数
  10888. type: number
  10889. preparedays:
  10890. description: 备货期(天)
  10891. type: integer
  10892. remark:
  10893. description: 备注
  10894. type: string
  10895. updatetime:
  10896. description: 更新时间
  10897. type: string
  10898. type: object
  10899. models.QhjMgrPositionRsp:
  10900. properties:
  10901. accountid:
  10902. description: 账号Id
  10903. type: integer
  10904. accountname:
  10905. description: 用户名称
  10906. type: string
  10907. agreeunit:
  10908. description: 合约乘数
  10909. type: number
  10910. averageprice:
  10911. description: 均价
  10912. type: number
  10913. avialqty:
  10914. description: 可用数量
  10915. type: number
  10916. decimalplace:
  10917. description: 报价小数位
  10918. type: integer
  10919. enumdicname:
  10920. description: 单位名称(商品)
  10921. type: string
  10922. frozenqty:
  10923. description: 冻结数量
  10924. type: number
  10925. goodscode:
  10926. description: 商品代码(内部)
  10927. type: string
  10928. goodsid:
  10929. description: 商品Id
  10930. type: integer
  10931. goodsname:
  10932. description: 商品名称
  10933. type: string
  10934. goodunitid:
  10935. description: 报价单位ID
  10936. type: integer
  10937. holderamount:
  10938. description: 金额
  10939. type: number
  10940. holderqty:
  10941. description: 持有数量
  10942. type: number
  10943. holdertype:
  10944. description: 持仓类别 - 1:单边持仓 2:双边持仓
  10945. type: integer
  10946. logincode:
  10947. description: 登录代码(账户)
  10948. type: string
  10949. marketid:
  10950. description: 市场id
  10951. type: integer
  10952. qtydecimalplace:
  10953. description: 成交量小数位
  10954. type: integer
  10955. trademode:
  10956. description: 交易模式
  10957. type: integer
  10958. userid:
  10959. description: 用户id
  10960. type: integer
  10961. userinfotype:
  10962. description: 账户类型 1-个人 2-企业
  10963. type: integer
  10964. type: object
  10965. models.QhjMgrSubArea:
  10966. properties:
  10967. accountname:
  10968. description: 账户名称(机构名称)
  10969. type: string
  10970. memberuserid:
  10971. description: 所属会员ID
  10972. type: integer
  10973. parenttopuser:
  10974. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  10975. type: string
  10976. parentuserid:
  10977. description: 所属机构ID
  10978. type: integer
  10979. rootuserid:
  10980. description: 根用户ID
  10981. type: string
  10982. subaccountlevel:
  10983. description: 子账户层数
  10984. type: integer
  10985. subarealevelpath:
  10986. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10987. type: string
  10988. userid:
  10989. description: 用户ID
  10990. type: integer
  10991. usertype:
  10992. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  10993. type: integer
  10994. type: object
  10995. models.QhjMgrTradeDetailRsp:
  10996. properties:
  10997. accountid:
  10998. description: 资金账号
  10999. type: integer
  11000. accountname:
  11001. description: 用户名称
  11002. type: string
  11003. agreeunit:
  11004. description: 合约乘数
  11005. type: number
  11006. buyorsell:
  11007. description: 成交类型(方向) 0:买 1:卖
  11008. type: integer
  11009. decimalplace:
  11010. description: 报价小数位
  11011. type: integer
  11012. enumdicname:
  11013. description: 单位名称(商品)
  11014. type: string
  11015. goodscode:
  11016. description: 商品代码(内部)
  11017. type: string
  11018. goodsid:
  11019. description: 商品id
  11020. type: integer
  11021. goodsname:
  11022. description: 商品名称
  11023. type: string
  11024. goodunitid:
  11025. description: 报价单位ID
  11026. type: integer
  11027. logincode:
  11028. description: 登录代码(账户)
  11029. type: string
  11030. marketid:
  11031. description: 市场id
  11032. type: integer
  11033. orderid:
  11034. description: 关联委托单号
  11035. type: string
  11036. qtydecimalplace:
  11037. description: 成交量小数位
  11038. type: integer
  11039. tradeamount:
  11040. description: 金额
  11041. type: number
  11042. tradedate:
  11043. description: 交易日
  11044. type: string
  11045. tradeid:
  11046. description: 成交单号
  11047. type: string
  11048. trademode:
  11049. description: 交易模式
  11050. type: integer
  11051. tradeprice:
  11052. description: 价格
  11053. type: number
  11054. tradeqty:
  11055. description: 数量
  11056. type: number
  11057. tradetime:
  11058. description: 成交时间
  11059. type: string
  11060. userid:
  11061. description: 用户id
  11062. type: integer
  11063. userinfotype:
  11064. description: 账户类型 1-个人 2-企业
  11065. type: integer
  11066. type: object
  11067. models.QhjMgrTradeOrderDetailRsp:
  11068. properties:
  11069. accountid:
  11070. description: 资金账号
  11071. type: integer
  11072. accountname:
  11073. description: 用户名称
  11074. type: string
  11075. agreeunit:
  11076. description: 合约乘数
  11077. type: number
  11078. amount:
  11079. description: 金额
  11080. type: number
  11081. decimalplace:
  11082. description: 报价小数位
  11083. type: integer
  11084. enumdicname:
  11085. description: 单位名称(商品)
  11086. type: string
  11087. goodscode:
  11088. description: 商品代码(内部)
  11089. type: string
  11090. goodsid:
  11091. description: 商品id
  11092. type: integer
  11093. goodsname:
  11094. description: 商品名称
  11095. type: string
  11096. goodunitid:
  11097. description: 报价单位ID
  11098. type: integer
  11099. logincode:
  11100. description: 登录代码(账户)
  11101. type: string
  11102. marketid:
  11103. description: 市场id
  11104. type: integer
  11105. orderid:
  11106. description: 关联委托单号
  11107. type: string
  11108. orderprice:
  11109. description: 价格
  11110. type: number
  11111. orderqty:
  11112. description: 数量
  11113. type: number
  11114. orderstatus:
  11115. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11116. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11117. 16:成交失败违约(荷兰式竞拍专用)
  11118. type: integer
  11119. ordertime:
  11120. description: 委托时间
  11121. type: string
  11122. qtydecimalplace:
  11123. description: 成交量小数位
  11124. type: integer
  11125. tradedate:
  11126. description: 交易日
  11127. type: string
  11128. trademode:
  11129. description: 交易模式
  11130. type: integer
  11131. userid:
  11132. description: 用户id
  11133. type: integer
  11134. userinfotype:
  11135. description: 账户类型 1-个人 2-企业
  11136. type: integer
  11137. type: object
  11138. models.QhjMgrTradePayOrder:
  11139. properties:
  11140. accountname:
  11141. description: 用户名称
  11142. type: string
  11143. advanceratio:
  11144. description: 首付比率
  11145. type: number
  11146. agreeunit:
  11147. description: 合约乘数
  11148. type: number
  11149. buyaccountid:
  11150. description: 买方账号ID[报价币种]
  11151. type: integer
  11152. buyorderid:
  11153. description: 买方委托单号(关联单号)
  11154. type: string
  11155. createtime:
  11156. description: 创建时间
  11157. type: string
  11158. decimalplace:
  11159. description: 报价小数位
  11160. type: integer
  11161. enumdicname:
  11162. description: 单位名称(商品)
  11163. type: string
  11164. goodscode:
  11165. description: 商品代码(内部)
  11166. type: string
  11167. goodsid:
  11168. description: 商品ID
  11169. type: integer
  11170. goodsname:
  11171. description: 商品名称
  11172. type: string
  11173. goodunitid:
  11174. description: 报价单位ID
  11175. type: integer
  11176. logincode:
  11177. description: 登录代码(账户)
  11178. type: string
  11179. marketid:
  11180. description: 市场id
  11181. type: integer
  11182. offamount:
  11183. description: 优惠金额
  11184. type: number
  11185. operatetype:
  11186. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11187. type: integer
  11188. payamount:
  11189. description: 支付金额(金额)
  11190. type: number
  11191. payflag:
  11192. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11193. type: integer
  11194. paylimitedtime:
  11195. description: 支付期限
  11196. type: string
  11197. paytime:
  11198. description: 付款时间
  11199. type: string
  11200. qtydecimalplace:
  11201. description: 成交量小数位
  11202. type: integer
  11203. sellaccountid:
  11204. description: 卖方账号ID[报价币种]
  11205. type: integer
  11206. sellorderid:
  11207. description: 卖方委托单号
  11208. type: string
  11209. tradeamount:
  11210. description: 成交金额(优惠后金额)
  11211. type: number
  11212. tradecharge:
  11213. description: 成交手续费(买方)
  11214. type: number
  11215. tradedate:
  11216. description: 交易日(yyyyMMdd)
  11217. type: string
  11218. tradeid:
  11219. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11220. type: string
  11221. trademode:
  11222. description: 交易模式
  11223. type: integer
  11224. tradeprice:
  11225. description: 成交价格(价格)
  11226. type: number
  11227. tradeqty:
  11228. description: 成交数量(数量)
  11229. type: number
  11230. tradetime:
  11231. description: 成交时间
  11232. type: string
  11233. userid:
  11234. description: 用户id
  11235. type: integer
  11236. userinfotype:
  11237. description: 账户类型 1-个人 2-企业
  11238. type: integer
  11239. type: object
  11240. models.QhjMyTeamEx:
  11241. properties:
  11242. accountname:
  11243. description: 用户名称
  11244. type: string
  11245. accountstatus:
  11246. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11247. type: integer
  11248. createtime:
  11249. description: 创建时间
  11250. type: string
  11251. mobile:
  11252. description: 手机号码
  11253. type: string
  11254. refereeuserid:
  11255. description: 推荐人id
  11256. type: integer
  11257. refernum:
  11258. description: 推荐码
  11259. type: string
  11260. subList:
  11261. items:
  11262. $ref: '#/definitions/models.QhjMyTeamEx'
  11263. type: array
  11264. userid:
  11265. description: 用户id
  11266. type: integer
  11267. userinfotype:
  11268. description: 用户类型 1-个人 2-企业
  11269. type: integer
  11270. type: object
  11271. models.QhjNodeAgreementConfig:
  11272. properties:
  11273. agreementcontent:
  11274. description: 协议内容
  11275. type: string
  11276. agreementid:
  11277. description: 协议ID
  11278. type: integer
  11279. agreementname:
  11280. description: 协议名称
  11281. type: string
  11282. agreementno:
  11283. description: 协议编号
  11284. type: string
  11285. agreementtype:
  11286. description: 协议类型 - 1:注册 2:登录 3:交易
  11287. type: integer
  11288. agreementversion:
  11289. description: 协议版本号
  11290. type: integer
  11291. configid:
  11292. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11293. type: integer
  11294. createtime:
  11295. description: 创建时间
  11296. type: string
  11297. goodsid:
  11298. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11299. type: integer
  11300. nodetype:
  11301. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11302. type: integer
  11303. type: object
  11304. models.QhjParentAreaList:
  11305. properties:
  11306. accountname:
  11307. description: 账户名称(机构名称)
  11308. type: string
  11309. userid:
  11310. description: 用户ID
  11311. type: integer
  11312. usertype:
  11313. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11314. type: integer
  11315. type: object
  11316. models.QhjPayOrder:
  11317. properties:
  11318. advanceratio:
  11319. description: 首付比率
  11320. type: number
  11321. buyaccountid:
  11322. description: 买方账号ID[报价币种]
  11323. type: integer
  11324. buyorderid:
  11325. description: 买方委托单号
  11326. type: string
  11327. createtime:
  11328. description: 创建时间
  11329. type: string
  11330. decimalplace:
  11331. description: 商品报价小数位
  11332. type: integer
  11333. enumdicname:
  11334. description: 单位名称
  11335. type: string
  11336. goodscode:
  11337. description: 商品代码
  11338. type: string
  11339. goodsid:
  11340. description: 商品ID
  11341. type: integer
  11342. goodsname:
  11343. description: 商品名称
  11344. type: string
  11345. goodunitid:
  11346. description: 商品单位id
  11347. type: integer
  11348. marketid:
  11349. description: 市场ID
  11350. type: integer
  11351. offamount:
  11352. description: 优惠金额
  11353. type: number
  11354. operatetype:
  11355. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11356. type: integer
  11357. payamount:
  11358. description: 支付金额
  11359. type: number
  11360. payflag:
  11361. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11362. type: integer
  11363. paylimitedtime:
  11364. description: 支付期限
  11365. type: string
  11366. paytime:
  11367. description: 付款时间
  11368. type: string
  11369. qtydecimalplace:
  11370. description: 成交量小数位
  11371. type: integer
  11372. sellaccountid:
  11373. description: 卖方账号ID[报价币种]
  11374. type: integer
  11375. sellorderid:
  11376. description: 卖方委托单号
  11377. type: string
  11378. tradeamount:
  11379. description: 成交金额(优惠后金额)
  11380. type: number
  11381. tradecharge:
  11382. description: 成交手续费(买方)
  11383. type: number
  11384. tradedate:
  11385. description: 交易日(yyyyMMdd)
  11386. type: string
  11387. tradeid:
  11388. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11389. type: string
  11390. tradeprice:
  11391. description: 成交价格
  11392. type: number
  11393. tradeqty:
  11394. description: 成交数量
  11395. type: number
  11396. type: object
  11397. models.QhjPickArea:
  11398. properties:
  11399. address:
  11400. description: 详细地址
  11401. type: string
  11402. cityid:
  11403. description: 市
  11404. type: integer
  11405. cityname:
  11406. description: 城市名称
  11407. type: string
  11408. countryid:
  11409. description: 国家
  11410. type: integer
  11411. countryname:
  11412. description: 国家名称
  11413. type: string
  11414. districtid:
  11415. description: 地区
  11416. type: integer
  11417. districtname:
  11418. description: 地区名称
  11419. type: string
  11420. fromuserid:
  11421. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  11422. type: integer
  11423. fromusername:
  11424. description: 所属机构名称
  11425. type: string
  11426. provinceid:
  11427. description: 省
  11428. type: integer
  11429. provincename:
  11430. description: 省名称
  11431. type: string
  11432. suborgtype:
  11433. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  11434. type: integer
  11435. userid:
  11436. description: 机构用户ID 其他做市关系,都设置为 1
  11437. type: integer
  11438. username:
  11439. description: 机构用户名称(门店门称)
  11440. type: string
  11441. type: object
  11442. models.QhjPickGoods:
  11443. properties:
  11444. enumdicname:
  11445. description: 单位名称(提货商品)
  11446. type: string
  11447. goodsid:
  11448. description: 商品id
  11449. type: integer
  11450. imageaddress:
  11451. description: 图片
  11452. type: string
  11453. modifierid:
  11454. description: 修改人
  11455. type: integer
  11456. modifiername:
  11457. description: 修改人名称
  11458. type: string
  11459. modifysrc:
  11460. description: 修改来源 - 1:管理端 2:终端
  11461. type: integer
  11462. pickupgoodsagreeunit:
  11463. description: 合约乘数
  11464. type: number
  11465. pickupgoodsdesc:
  11466. description: 描述
  11467. type: string
  11468. pickupgoodsid:
  11469. description: 提货商品ID
  11470. type: string
  11471. pickupgoodsname:
  11472. description: 提货商品名称
  11473. type: string
  11474. pickupgoodsstatus:
  11475. description: 状态 - 1:正常 2:停用 3:注销
  11476. type: integer
  11477. pickupgoodsunitid:
  11478. description: 单位ID
  11479. type: integer
  11480. pickupratio:
  11481. description: 提货系数
  11482. type: number
  11483. preparedays:
  11484. description: 备货期(天)
  11485. type: integer
  11486. remark:
  11487. description: 备注
  11488. type: string
  11489. updatetime:
  11490. description: 更新时间
  11491. type: string
  11492. type: object
  11493. models.QhjRSTriggerLog:
  11494. properties:
  11495. accountid:
  11496. description: 用户资金账户
  11497. type: integer
  11498. accountname:
  11499. description: 账号名称(ACCOUNTID对应的名称)
  11500. type: string
  11501. currencyid:
  11502. description: 币种id
  11503. type: integer
  11504. currencyname:
  11505. description: 币种名称
  11506. type: string
  11507. decimalplace:
  11508. description: 商品报价小数位
  11509. type: integer
  11510. enumdicname:
  11511. description: 单位名称
  11512. type: string
  11513. goodscode:
  11514. description: 定投商品代码
  11515. type: string
  11516. goodsid:
  11517. description: 定投商品ID
  11518. type: integer
  11519. goodsname:
  11520. description: 定投商品名称
  11521. type: string
  11522. goodunitid:
  11523. description: 定投商品单位id
  11524. type: integer
  11525. logid:
  11526. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  11527. type: string
  11528. logincode:
  11529. description: 账号(登录代码)
  11530. type: string
  11531. qtydecimalplace:
  11532. description: 成交量小数位
  11533. type: integer
  11534. regularlycycle:
  11535. description: 定投频率 - 1:每周 2:每月
  11536. type: integer
  11537. regularlycyclevalue:
  11538. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11539. type: string
  11540. regularlymode:
  11541. description: 定投方式 - 1:按数量 2:按金额
  11542. type: integer
  11543. regularlymodevalue:
  11544. description: 定投方式值 - 数量或金额
  11545. type: number
  11546. regularlystrategyid:
  11547. description: 定投策略ID
  11548. type: integer
  11549. retcode:
  11550. description: 错误码
  11551. type: string
  11552. tradeid:
  11553. description: 成交单ID
  11554. type: string
  11555. triggeramount:
  11556. description: 触发金额
  11557. type: number
  11558. triggerqty:
  11559. description: 触发数量
  11560. type: number
  11561. triggerstatus:
  11562. description: 触发状态 - 1:成功 2:失败
  11563. type: integer
  11564. triggertime:
  11565. description: 触发时间
  11566. type: string
  11567. triggertradedate:
  11568. description: 触发交易日
  11569. type: string
  11570. userid:
  11571. description: 所属用户ID
  11572. type: integer
  11573. userinfotype:
  11574. description: 用户类型 1-个人 2-企业
  11575. type: integer
  11576. username:
  11577. description: 用户名称(userid对应的名称)
  11578. type: string
  11579. type: object
  11580. models.QhjRStrategy:
  11581. properties:
  11582. accountid:
  11583. description: 用户资金账户
  11584. type: integer
  11585. accountname:
  11586. description: 账号名称(ACCOUNTID对应的名称)
  11587. type: string
  11588. currencyid:
  11589. description: 币种id
  11590. type: integer
  11591. currencyname:
  11592. description: 币种名称
  11593. type: string
  11594. decimalplace:
  11595. description: 商品报价小数位
  11596. type: integer
  11597. enumdicname:
  11598. description: 单位名称
  11599. type: string
  11600. goodscode:
  11601. description: 定投商品代码
  11602. type: string
  11603. goodsid:
  11604. description: 定投商品ID
  11605. type: integer
  11606. goodsname:
  11607. description: 定投商品名称
  11608. type: string
  11609. goodunitid:
  11610. description: 定投商品单位id
  11611. type: integer
  11612. lasteffecttradedate:
  11613. description: 最新生效交易日
  11614. type: string
  11615. laststoptradedate:
  11616. description: 最新暂停交易日
  11617. type: string
  11618. lasttriggertradedate:
  11619. description: 最新触发交易日
  11620. type: string
  11621. logincode:
  11622. description: 账号(登录代码)
  11623. type: string
  11624. nexttriggeramount:
  11625. description: 下次触发金额
  11626. type: number
  11627. nexttriggerdate:
  11628. description: 下次触发日期
  11629. type: string
  11630. nexttriggerqty:
  11631. description: 下次触发数量 [按小数位放大值]
  11632. type: number
  11633. qtydecimalplace:
  11634. description: 成交量小数位
  11635. type: integer
  11636. regularlycycle:
  11637. description: 定投频率 - 1:每周 2:每月
  11638. type: integer
  11639. regularlycyclevalue:
  11640. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11641. type: string
  11642. regularlymode:
  11643. description: 定投方式 - 1:按数量 2:按金额
  11644. type: integer
  11645. regularlymodevalue:
  11646. description: 定投方式值 - 数量或金额
  11647. type: number
  11648. regularlystrategyid:
  11649. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  11650. type: integer
  11651. regularlystrategystatus:
  11652. description: 策略状态 - 1:正常 2:暂停 3:终止
  11653. type: integer
  11654. remark:
  11655. description: 备注
  11656. type: string
  11657. triggersuccesstimes:
  11658. description: 累计定投成功次数
  11659. type: string
  11660. triggertotalamount:
  11661. description: 累计定投金额(成功)
  11662. type: number
  11663. triggertotalqty:
  11664. description: 累计定投数量(成功) [按小数位放大值]
  11665. type: number
  11666. triggertotaltimes:
  11667. description: 累计定投总次数
  11668. type: string
  11669. updatesrc:
  11670. description: 更新来源 - 1:管理端 2:终端
  11671. type: integer
  11672. updatetime:
  11673. description: 更新时间
  11674. type: string
  11675. updatorid:
  11676. description: 更新人
  11677. type: string
  11678. userid:
  11679. description: 所属用户ID
  11680. type: integer
  11681. userinfotype:
  11682. description: 用户类型 1-个人 2-企业
  11683. type: integer
  11684. username:
  11685. description: 用户名称(userid对应的名称)
  11686. type: string
  11687. type: object
  11688. models.QhjReckonPriceLog:
  11689. properties:
  11690. decimalplace:
  11691. description: 商品报价小数位
  11692. type: integer
  11693. goodscode:
  11694. description: 商品代码
  11695. type: string
  11696. goodsid:
  11697. description: 商品ID
  11698. type: integer
  11699. goodsname:
  11700. description: 商品名称
  11701. type: string
  11702. lastreckonprice:
  11703. description: 上日结算价
  11704. type: number
  11705. nextdnlimitprice:
  11706. description: 下个交易日跌停价
  11707. type: number
  11708. nexttrade:
  11709. description: 下个交易日
  11710. type: string
  11711. nextuplimitprice:
  11712. description: 下个交易日涨停价
  11713. type: number
  11714. reckonprice:
  11715. description: 今日结算价(定投价)
  11716. type: number
  11717. reckontime:
  11718. description: 结算时间
  11719. type: string
  11720. totalholderqty:
  11721. description: 总持仓数
  11722. type: integer
  11723. totalstock:
  11724. description: 总库存
  11725. type: integer
  11726. tradedate:
  11727. description: 交易日
  11728. type: string
  11729. updowncount:
  11730. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  11731. type: integer
  11732. updownflag:
  11733. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  11734. type: integer
  11735. updownrate:
  11736. description: 今日涨跌幅
  11737. type: number
  11738. updownrate_2d:
  11739. description: 连续两日涨跌幅
  11740. type: number
  11741. updownrate_3d:
  11742. description: 连续三日涨跌幅
  11743. type: number
  11744. type: object
  11745. models.QhjScoreLog:
  11746. properties:
  11747. accountid:
  11748. description: 账户ID
  11749. type: integer
  11750. createtime:
  11751. description: 创建时间(时间)
  11752. type: string
  11753. goodsid:
  11754. description: 商品ID
  11755. type: integer
  11756. hasuploaded:
  11757. description: 是否已同步(千海金) 0:未同步 1;已同步
  11758. type: integer
  11759. logid:
  11760. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11761. type: string
  11762. marketid:
  11763. description: 市场ID
  11764. type: integer
  11765. relatedamount:
  11766. description: 关联金额
  11767. type: number
  11768. relatedorderid:
  11769. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  11770. type: string
  11771. scoreconfigvalue1:
  11772. description: 积分配置1
  11773. type: integer
  11774. scoreconfigvalue2:
  11775. description: 积分配置1
  11776. type: integer
  11777. scoretype:
  11778. description: 积分类型 - 1:提货积分
  11779. type: integer
  11780. scorevalue:
  11781. description: 积分
  11782. type: number
  11783. tradedate:
  11784. description: 交易日(yyyyMMdd)
  11785. type: string
  11786. uploadedtime:
  11787. description: 同步时间
  11788. type: string
  11789. userid:
  11790. description: 用户ID
  11791. type: integer
  11792. type: object
  11793. models.QhjSiteColumnDetail:
  11794. properties:
  11795. author:
  11796. description: 作者
  11797. type: string
  11798. brief:
  11799. description: 简介
  11800. type: string
  11801. columnid:
  11802. description: 所属栏目
  11803. type: integer
  11804. context:
  11805. description: 内容
  11806. type: string
  11807. coverimage:
  11808. description: 封面图片
  11809. type: string
  11810. creaedate:
  11811. description: 创建时间
  11812. type: string
  11813. creatorid:
  11814. description: 创建人
  11815. type: integer
  11816. hits:
  11817. description: 点击数
  11818. type: integer
  11819. id:
  11820. description: ID(SEQ_SITE_COLUMNDETAIL)
  11821. type: integer
  11822. isshow:
  11823. description: 是否展示 - 0:不展示 1:展示
  11824. type: integer
  11825. istop:
  11826. description: 是否置顶 - 0:不置 1:置顶
  11827. type: integer
  11828. modifierid:
  11829. description: 操作人
  11830. type: integer
  11831. publishdate:
  11832. description: 发布日期
  11833. type: string
  11834. status:
  11835. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  11836. type: integer
  11837. title:
  11838. description: 标题
  11839. type: string
  11840. updatedate:
  11841. description: 修改时间
  11842. type: string
  11843. userid:
  11844. description: 用户ID(默认为0, 核心为为机构用户ID)
  11845. type: integer
  11846. username:
  11847. description: 用户名称
  11848. type: string
  11849. type: object
  11850. models.QhjTeamOrder:
  11851. properties:
  11852. accountid:
  11853. description: 账户ID[报价币种]
  11854. type: integer
  11855. accountname:
  11856. description: 账户名称
  11857. type: string
  11858. agreeunit:
  11859. description: 合约乘数
  11860. type: number
  11861. buyorsell:
  11862. description: 方向 - 0:买 1:卖
  11863. type: integer
  11864. decimalplace:
  11865. description: 报价小数位
  11866. type: integer
  11867. enumdicname:
  11868. description: 单位名称
  11869. type: string
  11870. goodscode:
  11871. description: 商品代码(内部)
  11872. type: string
  11873. goodsid:
  11874. description: 商品ID
  11875. type: integer
  11876. goodsname:
  11877. description: 商品名称
  11878. type: string
  11879. goodunitid:
  11880. description: 报价单位ID
  11881. type: integer
  11882. marketid:
  11883. description: 市场ID
  11884. type: integer
  11885. marketname:
  11886. description: 市场名称
  11887. type: string
  11888. qtydecimalplace:
  11889. description: 成交量小数位
  11890. type: integer
  11891. refereeuserid:
  11892. description: 推荐人ID
  11893. type: integer
  11894. tradeamount:
  11895. description: 成交金额[账户币种,用于所有权]
  11896. type: number
  11897. tradedate:
  11898. description: 交易日(yyyyMMdd)
  11899. type: string
  11900. trademode:
  11901. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11902. 21:竞拍-大宗式 22:受托竞价
  11903. type: integer
  11904. tradeprice:
  11905. description: 成交价格
  11906. type: number
  11907. tradeqty:
  11908. description: 成交数量
  11909. type: number
  11910. tradetime:
  11911. description: 成交时间
  11912. type: string
  11913. userid:
  11914. description: 用户ID
  11915. type: integer
  11916. type: object
  11917. models.QhjTradeGoodsPickup:
  11918. properties:
  11919. accountid:
  11920. description: 账户ID
  11921. type: integer
  11922. address:
  11923. description: 提货人详细地址
  11924. type: string
  11925. amount:
  11926. description: 提货金额
  11927. type: number
  11928. artradedate:
  11929. description: 自动收货交易日(yyyyMMdd)
  11930. type: string
  11931. auditer:
  11932. description: 审核人
  11933. type: integer
  11934. auditsrc:
  11935. description: 更新来源 - 1:管理端 2:终端
  11936. type: integer
  11937. audittime:
  11938. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  11939. type: string
  11940. audittradedate:
  11941. description: 审核交易日(yyyyMMdd)
  11942. type: string
  11943. cardnum:
  11944. description: 提货人证件号码
  11945. type: string
  11946. cardtypeid:
  11947. description: 提货人证件类型
  11948. type: integer
  11949. checkremark:
  11950. description: 审核备注
  11951. type: string
  11952. cityid:
  11953. description: 市
  11954. type: integer
  11955. cityname:
  11956. description: 城市名称
  11957. type: string
  11958. confirmtime:
  11959. description: 取货时间 或 收货时间
  11960. type: string
  11961. countryid:
  11962. description: 国家
  11963. type: integer
  11964. countryname:
  11965. description: 国家名称
  11966. type: string
  11967. decimalplace:
  11968. description: 商品报价小数位
  11969. type: integer
  11970. districtid:
  11971. description: 地区
  11972. type: integer
  11973. districtname:
  11974. description: 地区名称
  11975. type: string
  11976. enumdicname:
  11977. description: 单位名称(提货商品)
  11978. type: string
  11979. expresscompany:
  11980. description: 物流公司
  11981. type: string
  11982. expressnum:
  11983. description: 物流单号
  11984. type: string
  11985. goodsagreeunit:
  11986. description: 交易商品乘数
  11987. type: number
  11988. goodscode:
  11989. description: 商品代码
  11990. type: string
  11991. goodsid:
  11992. description: 商品ID
  11993. type: integer
  11994. goodsname:
  11995. description: 商品名称
  11996. type: string
  11997. goodsqty:
  11998. description: 交易商品手数(69模式按成交量小数位放大取整)
  11999. type: number
  12000. handlestatus:
  12001. description: 处理状态
  12002. type: integer
  12003. logincode:
  12004. description: 账号(登录代码, 有可能为空)
  12005. type: string
  12006. marketid:
  12007. description: 市场ID
  12008. type: integer
  12009. phonenum:
  12010. description: 提货人联系方式
  12011. type: string
  12012. pickupgoodsagreeunit:
  12013. description: 提货商品合约乘数
  12014. type: number
  12015. pickupgoodsid:
  12016. description: 提货商品ID
  12017. type: string
  12018. pickupgoodsname:
  12019. description: 提货商品名称
  12020. type: string
  12021. pickupgoodsqty:
  12022. description: 提货商品手数(数量)
  12023. type: number
  12024. pickupgoodsunitid:
  12025. description: 单位ID(提货商品)
  12026. type: integer
  12027. pickupratio:
  12028. description: 提货系数
  12029. type: number
  12030. preparedays:
  12031. description: 备货期(天)-提货单明细表
  12032. type: integer
  12033. provinceid:
  12034. description: 省
  12035. type: integer
  12036. provincename:
  12037. description: 省名称
  12038. type: string
  12039. qty:
  12040. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12041. type: number
  12042. qtydecimalplace:
  12043. description: 商品数量小数位
  12044. type: integer
  12045. recivername:
  12046. description: 提货人姓名
  12047. type: string
  12048. reqtime:
  12049. description: 提货申请时间
  12050. type: string
  12051. storeuserid:
  12052. description: 门店用户ID (千海金)
  12053. type: integer
  12054. storeusername:
  12055. description: 门店用户名称
  12056. type: string
  12057. takemode:
  12058. description: 提货方式 - 2:自提 3:配送(邮寄)
  12059. type: integer
  12060. takeorderid:
  12061. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12062. type: string
  12063. takeorderstatus:
  12064. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  12065. 7:已拒绝 8:已撤销
  12066. type: integer
  12067. takeremark:
  12068. description: 提货备注
  12069. type: string
  12070. tradedate:
  12071. description: 交易日(yyyyMMdd)
  12072. type: string
  12073. updatetime:
  12074. description: 更新时间
  12075. type: string
  12076. userid:
  12077. description: 用户ID
  12078. type: integer
  12079. userinfotype:
  12080. description: 客户类型 1-个人 2-企业
  12081. type: integer
  12082. username:
  12083. description: 用户名称
  12084. type: string
  12085. type: object
  12086. models.QhjUserNodeCfgAndStatus:
  12087. properties:
  12088. agreementcontent:
  12089. description: 协议内容
  12090. type: string
  12091. agreementid:
  12092. description: 协议ID
  12093. type: integer
  12094. agreementname:
  12095. description: 协议名称
  12096. type: string
  12097. agreementno:
  12098. description: 协议编号
  12099. type: string
  12100. agreementtype:
  12101. description: 协议类型 - 1:注册 2:登录 3:交易
  12102. type: integer
  12103. agreementversion:
  12104. description: 协议版本号
  12105. type: integer
  12106. configid:
  12107. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12108. type: integer
  12109. createtime:
  12110. description: 创建时间
  12111. type: string
  12112. goodsid:
  12113. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12114. type: integer
  12115. nodetype:
  12116. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12117. type: integer
  12118. signtimestamp:
  12119. description: 签约状态时间戳(最近一次)
  12120. type: string
  12121. tradedate:
  12122. description: 签约交易日(yyyyMMdd)
  12123. type: string
  12124. userid:
  12125. description: 客户ID
  12126. type: integer
  12127. type: object
  12128. models.Qhjgoodsex:
  12129. properties:
  12130. canfinance:
  12131. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12132. type: integer
  12133. canregularlybuy:
  12134. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12135. type: integer
  12136. defaulttradeuserid:
  12137. description: 默认交易用户ID
  12138. type: integer
  12139. deliverygoodsid:
  12140. description: 现货品种ID
  12141. type: integer
  12142. goodsid:
  12143. description: 商品ID(自增ID SEQ_GOODS)
  12144. type: integer
  12145. minamount:
  12146. description: 最小购买金额
  12147. type: number
  12148. regularlybuyminamount:
  12149. description: 定投最小金额
  12150. type: number
  12151. regularlybuyminqty:
  12152. description: 定投最小数量
  12153. type: number
  12154. spotgoodsbrandid:
  12155. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12156. type: integer
  12157. visibilityforenterprise:
  12158. description: 企业客户是否可见 - 0:不可见 1:可见
  12159. type: integer
  12160. visibilityforpersonal:
  12161. description: 个人客户是否可见 - 0:不可见 1:可见
  12162. type: integer
  12163. wrstandardid:
  12164. description: 现货商品ID
  12165. type: integer
  12166. type: object
  12167. models.QueryErrorInfosRsp:
  12168. properties:
  12169. description:
  12170. description: 异常描述
  12171. type: string
  12172. errorcode:
  12173. description: 异常代码
  12174. type: string
  12175. errorid:
  12176. description: 异常ID
  12177. type: integer
  12178. modulecode:
  12179. description: 所属模块
  12180. type: string
  12181. operatecode:
  12182. description: 所属操作
  12183. type: string
  12184. rownumber:
  12185. description: 行号
  12186. type: string
  12187. required:
  12188. - errorid
  12189. type: object
  12190. models.QueryHedgeOrderDetailRsp:
  12191. properties:
  12192. accountid:
  12193. description: 账户ID
  12194. type: integer
  12195. buyorsell:
  12196. description: 买卖 - 0:买 1:卖
  12197. type: integer
  12198. cancellogincode:
  12199. description: 撤单人
  12200. type: string
  12201. channelbuildtype:
  12202. description: 开平标志 - 0:无 1:建仓 2:平仓
  12203. type: integer
  12204. channelinnerorderstatus:
  12205. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  12206. 9:全部成交
  12207. type: integer
  12208. channeloperatetype:
  12209. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12210. type: integer
  12211. closetype:
  12212. description: 平仓方式 - 0:无 1:平今 2:平昨
  12213. type: integer
  12214. curexchangerate:
  12215. description: 当前汇率
  12216. type: number
  12217. exchangefullname:
  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. marketid:
  12230. description: 市场ID
  12231. type: integer
  12232. openfreezemargin:
  12233. description: 冻结保证金(冻结交易金额)
  12234. type: number
  12235. orderid:
  12236. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12237. type: string
  12238. orderlogincode:
  12239. description: 委托人
  12240. type: string
  12241. orderprice:
  12242. description: 委托价格(账户)
  12243. type: number
  12244. orderqty:
  12245. description: 委托数量
  12246. type: integer
  12247. ordertime:
  12248. description: 委托时间
  12249. type: string
  12250. pricemode:
  12251. description: '取价方式 - 1:市价 2: 限价'
  12252. type: integer
  12253. tradedate:
  12254. description: 交易日(yyyyMMdd)
  12255. type: string
  12256. tradeqty:
  12257. description: 成交数量
  12258. type: integer
  12259. type: object
  12260. models.QueryHedgeTradeDetailRsp:
  12261. properties:
  12262. accountid:
  12263. description: 账号ID
  12264. type: integer
  12265. buyorsell:
  12266. description: 方向 - 0:买 1:卖
  12267. type: integer
  12268. channelbuildtype:
  12269. description: 委托单据类型 0:无 1:建仓 2:平仓
  12270. type: integer
  12271. closecharge:
  12272. description: 平仓手续费(账户)
  12273. type: number
  12274. closecharge2:
  12275. description: 平仓手续费(商品)
  12276. type: number
  12277. closepl:
  12278. description: 平仓盈亏(账户)
  12279. type: number
  12280. closepl2:
  12281. description: 平仓盈亏(商品)
  12282. type: number
  12283. closepl3:
  12284. description: 平仓盈亏(账户)(逐笔)
  12285. type: number
  12286. closepl4:
  12287. description: 平仓盈亏(商品)(逐笔)
  12288. type: number
  12289. closetype:
  12290. description: 平仓方式 - 0:无 1:平今 2:平昨
  12291. type: integer
  12292. curexchangerate:
  12293. description: 当前汇率
  12294. type: number
  12295. exchangefullname:
  12296. description: 外部交易所全称
  12297. type: string
  12298. goodscode:
  12299. description: 商品代码(内部)
  12300. type: string
  12301. goodsid:
  12302. description: 商品ID
  12303. type: integer
  12304. goodsname:
  12305. description: 商品名称
  12306. type: string
  12307. marketid:
  12308. description: 市场ID
  12309. type: integer
  12310. opencharge:
  12311. description: 建仓手续费(账户)
  12312. type: number
  12313. opencharge2:
  12314. description: 建仓手续费(商品)
  12315. type: number
  12316. orderid:
  12317. description: 委托单号
  12318. type: string
  12319. orderlogincode:
  12320. description: 委托人
  12321. type: string
  12322. tradeamount:
  12323. description: 成交金额(账户)
  12324. type: number
  12325. tradedate:
  12326. description: 交易日(yyyyMMdd)
  12327. type: string
  12328. tradeid:
  12329. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12330. type: string
  12331. tradeprice:
  12332. description: 成交价格
  12333. type: number
  12334. tradeqty:
  12335. description: 成交数量
  12336. type: integer
  12337. tradetime:
  12338. description: 成交时间
  12339. type: string
  12340. tradetype:
  12341. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  12342. type: integer
  12343. type: object
  12344. models.QuotePrimaryMenu:
  12345. properties:
  12346. Index:
  12347. description: 序号
  12348. type: integer
  12349. Key:
  12350. description: 键名
  12351. type: string
  12352. Name:
  12353. description: 菜单名称
  12354. type: string
  12355. SubMenus:
  12356. description: 子菜单
  12357. items:
  12358. $ref: '#/definitions/models.QuoteSecondaryMenu'
  12359. type: array
  12360. SubTitleType:
  12361. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  12362. type: integer
  12363. TradeModes:
  12364. description: 包含市场交易类型
  12365. type: string
  12366. type: object
  12367. models.QuoteSecondaryMenu:
  12368. properties:
  12369. ExExchangeCode:
  12370. description: 外部交易所代码
  12371. type: string
  12372. ExExchangeID:
  12373. description: 外部交易所ID
  12374. type: integer
  12375. GoodsGroupIDs:
  12376. description: 商品组ID列表
  12377. items:
  12378. type: integer
  12379. type: array
  12380. Index:
  12381. description: 序号
  12382. type: integer
  12383. MarketID:
  12384. description: 市场ID
  12385. type: integer
  12386. MenuTitle:
  12387. description: 菜单标题(市场名称或外部交易所名称)
  12388. type: string
  12389. TradeMode:
  12390. description: 交易模式
  12391. type: integer
  12392. type: object
  12393. models.RoleMenu:
  12394. properties:
  12395. hasright:
  12396. description: 是否有权限 0-没有权限 1-有权限
  12397. type: integer
  12398. iconame:
  12399. description: 菜单图标
  12400. type: string
  12401. menutype:
  12402. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  12403. type: integer
  12404. parentcode:
  12405. description: 上级资源代码
  12406. type: string
  12407. remark:
  12408. description: 菜单备注
  12409. type: string
  12410. resourcecode:
  12411. description: 菜单代码
  12412. type: string
  12413. resourcelevel:
  12414. description: 级别
  12415. type: integer
  12416. resourcename:
  12417. description: 菜单名称
  12418. type: string
  12419. roleid:
  12420. description: 角色id
  12421. type: integer
  12422. sort:
  12423. description: 排序
  12424. type: integer
  12425. subMenu:
  12426. description: 子级菜单(结构同上层一样, swag解析不出来)
  12427. items:
  12428. $ref: '#/definitions/models.RoleMenu'
  12429. type: array
  12430. url:
  12431. description: URL
  12432. type: string
  12433. userid:
  12434. description: 用户id
  12435. type: integer
  12436. type: object
  12437. models.SearchGoods:
  12438. properties:
  12439. goodscode:
  12440. description: 商品代码(内部)
  12441. type: string
  12442. goodsid:
  12443. description: 商品ID(自增ID SEQ_GOODS)
  12444. type: integer
  12445. goodsname:
  12446. description: 商品名称
  12447. type: string
  12448. marketid:
  12449. description: 所属市场ID
  12450. type: integer
  12451. marketname:
  12452. description: 市场名称
  12453. type: string
  12454. trademode:
  12455. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12456. 21:竞拍-大宗式 22:受托竞价
  12457. type: integer
  12458. required:
  12459. - goodscode
  12460. - goodsid
  12461. - goodsname
  12462. - marketid
  12463. - trademode
  12464. type: object
  12465. models.Systemparam:
  12466. properties:
  12467. loginid:
  12468. description: 更新用户账号,登录账号
  12469. type: string
  12470. modifyflag:
  12471. description: 修改标志0 不允许修改 1 允许修改
  12472. type: integer
  12473. paramcode:
  12474. description: 参数代码
  12475. type: string
  12476. paramname:
  12477. description: 参数名
  12478. type: string
  12479. paramtype:
  12480. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12481. type: integer
  12482. paramvalue:
  12483. description: 参数值
  12484. type: string
  12485. paramvalue2:
  12486. description: 参数值(CLOB)
  12487. type: string
  12488. regexpress:
  12489. description: 正则表达式
  12490. type: string
  12491. remark:
  12492. description: 备注
  12493. type: string
  12494. serverip:
  12495. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12496. type: string
  12497. showflag:
  12498. description: 是否显示0 不显示 1 显示
  12499. type: integer
  12500. updatetime:
  12501. description: 更新时间
  12502. type: string
  12503. userid:
  12504. description: 更新用户ID
  12505. type: integer
  12506. required:
  12507. - paramcode
  12508. type: object
  12509. models.Szdz3convertconfig:
  12510. properties:
  12511. canin:
  12512. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12513. type: integer
  12514. canout:
  12515. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12516. type: integer
  12517. converttype:
  12518. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12519. 6:交易转花生米(不设置)
  12520. type: integer
  12521. createtime:
  12522. description: 创建时间
  12523. type: string
  12524. creatorid:
  12525. description: 创建人
  12526. type: integer
  12527. daymaxvalue:
  12528. description: 当日最大转入限制
  12529. type: number
  12530. freezedays:
  12531. description: 冻结天数 [5:花生米转交易]
  12532. type: integer
  12533. innergoodsid:
  12534. description: 内部商品ID[交易]
  12535. type: integer
  12536. inratio:
  12537. description: 目标值
  12538. type: integer
  12539. modifierid:
  12540. description: 修改人
  12541. type: integer
  12542. modifytime:
  12543. description: 修改时间
  12544. type: string
  12545. outergoodscode:
  12546. description: 外部商品代码[JD\PD]
  12547. type: string
  12548. outratio:
  12549. description: 源值
  12550. type: integer
  12551. pddecimalplace:
  12552. description: PD小数位
  12553. type: integer
  12554. timemaxvalue:
  12555. description: 单次最大转入限制
  12556. type: number
  12557. timeminvalue:
  12558. description: 单次最小转入限制
  12559. type: number
  12560. required:
  12561. - converttype
  12562. - innergoodsid
  12563. - outergoodscode
  12564. type: object
  12565. models.Szdz3searchwhitelist:
  12566. properties:
  12567. createtime:
  12568. description: 创建时间
  12569. type: string
  12570. creatorid:
  12571. description: 创建人
  12572. type: integer
  12573. modifierid:
  12574. description: 修改人
  12575. type: integer
  12576. modifytime:
  12577. description: 修改时间
  12578. type: string
  12579. userid:
  12580. description: 用户ID
  12581. type: integer
  12582. required:
  12583. - userid
  12584. type: object
  12585. models.Taaccount:
  12586. properties:
  12587. accountflag:
  12588. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12589. type: integer
  12590. accountid:
  12591. description: 资金账户ID
  12592. type: integer
  12593. accountname:
  12594. description: 账户名称
  12595. type: string
  12596. balance:
  12597. description: 期初余额
  12598. type: number
  12599. capitalbalance:
  12600. description: 本金余额[外部子账户实际出入金余额]
  12601. type: number
  12602. changeflag:
  12603. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12604. type: integer
  12605. changetime:
  12606. description: 账户状态变更时间
  12607. type: string
  12608. closepl:
  12609. description: 今日平仓盈亏
  12610. type: number
  12611. creditdecrease:
  12612. description: 今日授信减少
  12613. type: number
  12614. creditincrease:
  12615. description: 今日授信增加
  12616. type: number
  12617. curamount:
  12618. description: 总市值(从持仓中统计)
  12619. type: number
  12620. currencyid:
  12621. description: 货币ID
  12622. type: integer
  12623. currentbalance:
  12624. description: 期末余额
  12625. type: number
  12626. freezecharge:
  12627. description: 手续费冻结
  12628. type: number
  12629. freezemargin:
  12630. description: 冻结保证金
  12631. type: number
  12632. fromaccountid:
  12633. description: 所属上级账户
  12634. type: integer
  12635. inamount:
  12636. description: 今日入金金额(包括三方入金)
  12637. type: number
  12638. ismain:
  12639. description: 是否母账号 0:不是母账户 1:是母账户
  12640. type: integer
  12641. ismarketaccount:
  12642. description: 是否机构接单账号 0:不是 1:是
  12643. type: integer
  12644. isreckonaccount:
  12645. description: 是否机构分润账号 0:不是 1:是
  12646. type: integer
  12647. mortgagecredit:
  12648. description: 授信金额
  12649. type: number
  12650. orifreezecharge:
  12651. description: 期初手续费冻结
  12652. type: number
  12653. orifreezemargin:
  12654. description: 期初冻结保证金
  12655. type: number
  12656. orimortgagecredit:
  12657. description: 期初授信金额
  12658. type: number
  12659. oriothercredit:
  12660. description: 期初其它授信金额
  12661. type: number
  12662. oriotherfreezemargin:
  12663. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12664. type: number
  12665. orioutamountfreeze:
  12666. description: 期初出金冻结
  12667. type: number
  12668. oriusedmargin:
  12669. description: 期初占用保证金
  12670. type: number
  12671. othercredit:
  12672. description: 其它授信金额
  12673. type: number
  12674. othercreditdecrease:
  12675. description: 今日其它授信减少
  12676. type: number
  12677. othercreditincrease:
  12678. description: 今日其它授信增加
  12679. type: number
  12680. otherfreezemargin:
  12681. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12682. type: number
  12683. otherincome:
  12684. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12685. type: number
  12686. otherpay:
  12687. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12688. type: number
  12689. outamount:
  12690. description: 今日出金金额(包括三方出金)
  12691. type: number
  12692. outamountfreeze:
  12693. description: 出金冻结
  12694. type: number
  12695. outthreshold:
  12696. description: 出金阈值
  12697. type: number
  12698. parentaccountid:
  12699. description: 所属根账号
  12700. type: integer
  12701. paycharge:
  12702. description: 今日手续费支出
  12703. type: number
  12704. relatedaccountstatus:
  12705. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  12706. type: integer
  12707. relateduserid:
  12708. description: 关联用户
  12709. type: integer
  12710. remainamount:
  12711. description: 融资额(从融资合同中统计)
  12712. type: number
  12713. serivcegroup:
  12714. description: 服务分组
  12715. type: integer
  12716. signstatus:
  12717. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12718. type: integer
  12719. sublevelpath:
  12720. description: 账号层级路径(逗号分隔,首尾加逗号)
  12721. type: string
  12722. taaccounttype:
  12723. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12724. type: integer
  12725. thirdinamount:
  12726. description: 今日三方入金
  12727. type: number
  12728. thirdoutamount:
  12729. description: 今日三方出金
  12730. type: number
  12731. tradestatus:
  12732. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  12733. type: integer
  12734. tradestatuschangetime:
  12735. description: 激活时间
  12736. type: string
  12737. transferamount:
  12738. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  12739. type: number
  12740. usedmargin:
  12741. description: 占用保证金
  12742. type: number
  12743. userid:
  12744. description: 用户ID
  12745. type: integer
  12746. required:
  12747. - accountid
  12748. - userid
  12749. type: object
  12750. models.Tablecolumnconfig:
  12751. properties:
  12752. aligntype:
  12753. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  12754. type: integer
  12755. autoid:
  12756. description: AutoID
  12757. type: integer
  12758. columnfield:
  12759. description: 列字段
  12760. type: string
  12761. columntitle:
  12762. description: 列Title
  12763. type: string
  12764. columnwidth:
  12765. description: 列宽
  12766. type: string
  12767. formatterstring:
  12768. description: 格式化字符
  12769. type: string
  12770. formattertype:
  12771. description: 格式化类型
  12772. type: string
  12773. groupname:
  12774. description: 表头分组名称
  12775. type: string
  12776. isshow:
  12777. description: 是否显示 - 0:不显示 1:显示
  12778. type: integer
  12779. needsummary:
  12780. description: 是否需要汇总 - 0:不需要 1:需要
  12781. type: integer
  12782. orderindex:
  12783. description: 顺序
  12784. type: integer
  12785. remark:
  12786. description: 备注
  12787. type: string
  12788. summarytype:
  12789. description: 汇总类型 - 1:加总 2:最后一个
  12790. type: integer
  12791. tablekey:
  12792. description: 列表Key
  12793. type: string
  12794. required:
  12795. - autoid
  12796. type: object
  12797. models.UserCollectConfig:
  12798. properties:
  12799. accountstatus:
  12800. description: 账户状态 - 1:正常 2:停用 3:注销
  12801. type: integer
  12802. collectaccountname:
  12803. description: 收款人账户名称
  12804. type: string
  12805. collectaccountno:
  12806. description: 收款人账户
  12807. type: string
  12808. collectbankname:
  12809. description: 收款人开户行
  12810. type: string
  12811. collectbranchbankname:
  12812. description: 收款人开户支行
  12813. type: string
  12814. collectconfigid:
  12815. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  12816. type: string
  12817. remark:
  12818. description: 备注
  12819. type: string
  12820. userid:
  12821. description: 收款人用户ID
  12822. type: integer
  12823. type: object
  12824. models.UserReceiveInfo:
  12825. properties:
  12826. address:
  12827. description: 提货人详细地址
  12828. type: string
  12829. autoid:
  12830. description: AutoID
  12831. type: integer
  12832. cardnum:
  12833. description: 证件号码(加密存储)
  12834. type: string
  12835. cardtypeid:
  12836. description: 证件类型
  12837. type: integer
  12838. cityid:
  12839. description: 市
  12840. type: integer
  12841. cityname:
  12842. description: 城市名称
  12843. type: string
  12844. countryid:
  12845. description: 国家
  12846. type: integer
  12847. countryname:
  12848. description: 国家名称
  12849. type: string
  12850. districtid:
  12851. description: 地区
  12852. type: integer
  12853. districtname:
  12854. description: 地区名称
  12855. type: string
  12856. hasencrypt:
  12857. description: 数据是否已加密 - 0:未加密 1:已加密
  12858. type: integer
  12859. isdefault:
  12860. description: 是否默认地址 - 0:否 1:是
  12861. type: integer
  12862. phonenum:
  12863. description: 提货人联系方式(加密存储)
  12864. type: string
  12865. provinceid:
  12866. description: 省
  12867. type: integer
  12868. provincename:
  12869. description: 省名称
  12870. type: string
  12871. receivername:
  12872. description: 提货人姓名
  12873. type: string
  12874. takeremark:
  12875. description: 提货备注
  12876. type: string
  12877. userid:
  12878. description: 用户ID
  12879. type: integer
  12880. type: object
  12881. models.Useraccount:
  12882. properties:
  12883. accountname:
  12884. description: 账户名称(机构名称)
  12885. type: string
  12886. accountstatus:
  12887. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12888. type: integer
  12889. applysrc:
  12890. description: 申请来源 - 1:管理端 2:终端
  12891. type: integer
  12892. auditremark:
  12893. description: 审核备注
  12894. type: string
  12895. auditsrc:
  12896. description: 审核来源 - 1:管理端 2:终端
  12897. type: integer
  12898. audittime:
  12899. description: 审核时间
  12900. type: string
  12901. audituserid:
  12902. description: 审核人
  12903. type: integer
  12904. broker:
  12905. description: 所属经纪人ID
  12906. type: integer
  12907. canceltime:
  12908. description: 销户时间
  12909. type: string
  12910. canceluserid:
  12911. description: 销户人
  12912. type: integer
  12913. canrecommend:
  12914. description: 是否可推荐 - 0:不可 1;可
  12915. type: integer
  12916. createtime:
  12917. description: 创建时间
  12918. type: string
  12919. creatorid:
  12920. description: 创建人
  12921. type: integer
  12922. hasauth:
  12923. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  12924. type: integer
  12925. isanonymous:
  12926. description: 是否匿名下单 - 0:否 1:是
  12927. type: integer
  12928. maxinvestornum:
  12929. description: 最大用户数(经纪会员下投资者个数)
  12930. type: integer
  12931. memberuserid:
  12932. description: 所属会员ID
  12933. type: integer
  12934. modifierid:
  12935. description: 修改人
  12936. type: integer
  12937. modifyremark:
  12938. description: 变更备注
  12939. type: string
  12940. modifystatus:
  12941. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  12942. type: integer
  12943. modifytime:
  12944. description: 修改时间
  12945. type: string
  12946. parenttopuser:
  12947. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  12948. type: string
  12949. parentuserid:
  12950. description: 所属机构ID
  12951. type: integer
  12952. reckonaccountid:
  12953. description: 默认结算资金账号ID(机构分润使用) 作废
  12954. type: integer
  12955. refercount:
  12956. description: 推荐总人数
  12957. type: integer
  12958. refereeuserid:
  12959. description: 推荐人ID
  12960. type: integer
  12961. refernum:
  12962. description: 推荐码
  12963. type: string
  12964. rootuserid:
  12965. description: 根用户ID
  12966. type: integer
  12967. subaccountlevel:
  12968. description: 子账户层数
  12969. type: integer
  12970. subarealevelpath:
  12971. description: 子机构层级路径(逗号分隔,首尾加逗号)
  12972. type: string
  12973. userid:
  12974. description: 用户ID
  12975. type: integer
  12976. usertype:
  12977. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12978. type: integer
  12979. required:
  12980. - userid
  12981. type: object
  12982. models.Userfavoritegoods:
  12983. properties:
  12984. goodsid:
  12985. description: 商品ID
  12986. type: integer
  12987. required:
  12988. - goodsid
  12989. type: object
  12990. models.Userinfo:
  12991. properties:
  12992. address:
  12993. description: 地址
  12994. type: string
  12995. attachment1:
  12996. description: 附件1
  12997. type: string
  12998. attachment2:
  12999. description: 附件2
  13000. type: string
  13001. bankaccount:
  13002. description: 银行帐号 (加密存储)
  13003. type: string
  13004. bankaccountname:
  13005. description: 收款人名称
  13006. type: string
  13007. bankcardfrontphotourl:
  13008. description: 银行卡正面照地址
  13009. type: string
  13010. bankid:
  13011. description: 银行编码
  13012. type: string
  13013. bankname:
  13014. description: 银行名称
  13015. type: string
  13016. biznature:
  13017. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  13018. type: integer
  13019. bizscope:
  13020. description: 企业经营范围(企业)
  13021. type: string
  13022. cardbackphotourl:
  13023. description: 证件背面图片地址
  13024. type: string
  13025. cardfrontphotourl:
  13026. description: 证件正面图片地址
  13027. type: string
  13028. cardnum:
  13029. description: 证件号码(加密存储)
  13030. type: string
  13031. cardtypeid:
  13032. description: 证件类型ID
  13033. type: integer
  13034. cityid:
  13035. description: 市
  13036. type: integer
  13037. company:
  13038. description: 公司(个人)
  13039. type: string
  13040. contactname:
  13041. description: 联系人
  13042. type: string
  13043. countryid:
  13044. description: 国家
  13045. type: integer
  13046. createtime:
  13047. description: 创建时间
  13048. type: string
  13049. creatorid:
  13050. description: 创建人
  13051. type: integer
  13052. customername:
  13053. description: 客户名称(企业名称)
  13054. type: string
  13055. districtid:
  13056. description: 地区
  13057. type: integer
  13058. email:
  13059. description: 邮件(加密存储)
  13060. type: string
  13061. fax:
  13062. description: 传真(加密存储)
  13063. type: string
  13064. halfbodyphotourl:
  13065. description: 半身照地址
  13066. type: string
  13067. hasencrypt:
  13068. description: 数据是否已加密 - 0:未加密 1:已加密
  13069. type: integer
  13070. headurl:
  13071. description: 头像地址
  13072. type: string
  13073. legalcardbackphotourl:
  13074. description: 法人身份证背面照地址
  13075. type: string
  13076. legalcardfrontphotourl:
  13077. description: 法人身份证正面照地址
  13078. type: string
  13079. legalpersonname:
  13080. description: 法人姓名(企业)
  13081. type: string
  13082. mobile:
  13083. description: 手机号码(加密存储)
  13084. type: string
  13085. mobile2:
  13086. description: 手机号码[明文-尚志]
  13087. type: string
  13088. modifierid:
  13089. description: 修改人
  13090. type: integer
  13091. modifiertime:
  13092. description: 修改时间
  13093. type: string
  13094. needinvoice:
  13095. description: 是否需要发票 - 0:不需要 1:需要
  13096. type: integer
  13097. nickname:
  13098. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  13099. type: string
  13100. openmode:
  13101. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  13102. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  13103. type: integer
  13104. otherurl:
  13105. description: 其它图片地址[使用分号分隔]
  13106. type: string
  13107. postalcode:
  13108. description: 邮政编码
  13109. type: string
  13110. provinceid:
  13111. description: 省
  13112. type: integer
  13113. qq:
  13114. description: QQ(加密存储
  13115. type: string
  13116. remark:
  13117. description: 备注
  13118. type: string
  13119. sex:
  13120. description: '用户性别 0: 女 1: 男'
  13121. type: integer
  13122. signpdfurl:
  13123. description: 签约pdf文件
  13124. type: string
  13125. telphone:
  13126. description: 联系电话(加密存储)
  13127. type: string
  13128. userid:
  13129. description: 用户ID
  13130. type: integer
  13131. userinfotype:
  13132. description: 用户信息类型 - 1:个人 2:企业
  13133. type: integer
  13134. userstatus:
  13135. description: 用户状态 - 1:正常 2:注销
  13136. type: integer
  13137. usertype:
  13138. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  13139. type: integer
  13140. wechat:
  13141. description: 微信(加密存储)
  13142. type: string
  13143. wskhinfo:
  13144. description: 开户申请信息(JSON)
  13145. type: string
  13146. required:
  13147. - userid
  13148. type: object
  13149. models.WRSConverTDetail:
  13150. properties:
  13151. convertratio:
  13152. description: 套保系数
  13153. type: number
  13154. deliverygoodscode:
  13155. description: 现货商品代码
  13156. type: string
  13157. deliverygoodsid:
  13158. description: 现货品种ID
  13159. type: integer
  13160. deliverygoodsname:
  13161. description: 现货商品名称
  13162. type: string
  13163. enumdicname:
  13164. description: 单位名称
  13165. type: string
  13166. goodsunitid:
  13167. description: 套保品种单位id
  13168. type: integer
  13169. middlegoodscode:
  13170. description: 套保品种代码
  13171. type: string
  13172. middlegoodsid:
  13173. description: 套保品种ID
  13174. type: integer
  13175. middlegoodsname:
  13176. description: 套保品种名称
  13177. type: string
  13178. modifytime:
  13179. description: 修改时间
  13180. type: string
  13181. wrstandardid:
  13182. description: 品类ID
  13183. type: integer
  13184. type: object
  13185. models.WRStandardInfo:
  13186. properties:
  13187. areauserid:
  13188. description: 所属机构
  13189. type: integer
  13190. convertfactor:
  13191. description: 标仓系数
  13192. type: number
  13193. createtime:
  13194. description: 创建时间
  13195. type: string
  13196. creatorid:
  13197. description: 创建人
  13198. type: integer
  13199. deliverygoodsid:
  13200. description: 品种ID
  13201. type: integer
  13202. deliverygoodsname:
  13203. description: 交割商品名称
  13204. type: string
  13205. factoryitemjson:
  13206. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  13207. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  13208. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  13209. 逗号分隔'
  13210. type: string
  13211. isvalid:
  13212. description: 是否有效 - 0:无效 1:有效
  13213. type: integer
  13214. minivalue:
  13215. description: 最小变动值
  13216. type: integer
  13217. minivaluedp:
  13218. description: 最小变动值小数位
  13219. type: integer
  13220. realminivalue:
  13221. description: 实际最小变动值
  13222. type: integer
  13223. realminivaluedp:
  13224. description: 实际最小变动值小数位
  13225. type: integer
  13226. remark:
  13227. description: 备注
  13228. type: string
  13229. unitid:
  13230. description: 单位ID
  13231. type: integer
  13232. unitname:
  13233. description: 单位
  13234. type: string
  13235. updatetime:
  13236. description: 更新时间
  13237. type: string
  13238. updatorid:
  13239. description: 更新人
  13240. type: integer
  13241. wrsstatus:
  13242. description: 状态 - 作废 - 0:未激活 1:正常
  13243. type: integer
  13244. wrstandardcode:
  13245. description: 现货品类代码
  13246. type: string
  13247. wrstandardid:
  13248. description: 现货品类ID(SEQ_WRSTANDARD)
  13249. type: integer
  13250. wrstandardname:
  13251. description: 现货品类名称
  13252. type: string
  13253. required:
  13254. - wrstandardid
  13255. type: object
  13256. models.WRTradeBargainApply:
  13257. properties:
  13258. accountid:
  13259. description: 摘牌资金账号
  13260. type: integer
  13261. applyprice:
  13262. description: 申请价格(议价价格)
  13263. type: string
  13264. applyqty:
  13265. description: 摘牌数量(议价数量)
  13266. type: number
  13267. applyremark:
  13268. description: 申请备注
  13269. type: string
  13270. applystatus:
  13271. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  13272. type: integer
  13273. applytime:
  13274. description: 申请时间(议价时间)
  13275. type: string
  13276. buyorsell:
  13277. description: 买卖(挂牌类型) - 0:买 1:卖
  13278. type: integer
  13279. confirmremark:
  13280. description: 确认备注
  13281. type: string
  13282. confirmtime:
  13283. description: 确认时间
  13284. type: string
  13285. confirmuserid:
  13286. description: 确认人
  13287. type: integer
  13288. deliverygoodscode:
  13289. description: 品种代码
  13290. type: string
  13291. deliverygoodsid:
  13292. description: 品种ID
  13293. type: integer
  13294. deliverygoodsname:
  13295. description: 品种名称
  13296. type: string
  13297. deliverymonth:
  13298. description: 交收月
  13299. type: string
  13300. enumdicname:
  13301. description: 单位名称
  13302. type: string
  13303. fixedprice:
  13304. description: 挂牌价格
  13305. type: number
  13306. handlestatus:
  13307. description: 处理状态
  13308. type: integer
  13309. marginvalue:
  13310. description: 履约保证金比例
  13311. type: number
  13312. marketid:
  13313. description: 市场ID
  13314. type: integer
  13315. matchaccountid:
  13316. description: 挂牌方资金账号
  13317. type: integer
  13318. matchuserid:
  13319. description: 挂牌方用户id
  13320. type: integer
  13321. matchusername:
  13322. description: 挂牌方用户名称(已脱敏)
  13323. type: string
  13324. minivalue:
  13325. description: 现货商品最小变动值
  13326. type: integer
  13327. optioncompare:
  13328. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13329. type: string
  13330. orderqty:
  13331. description: 挂牌数量
  13332. type: integer
  13333. refprice:
  13334. description: 参考价格
  13335. type: string
  13336. retcode:
  13337. description: 委托返回代码
  13338. type: integer
  13339. templatename:
  13340. description: 履约方式(履约模板名称)
  13341. type: string
  13342. tradedate:
  13343. description: 交易日(yyyyMMdd)
  13344. type: string
  13345. userid:
  13346. description: 摘牌人用户ID(议价人ID)
  13347. type: integer
  13348. username:
  13349. description: 议价人名字(已脱敏)
  13350. type: string
  13351. validtime:
  13352. description: 有效期限
  13353. type: string
  13354. warehouseid:
  13355. description: 仓库ID
  13356. type: integer
  13357. warehousename:
  13358. description: 仓库名称
  13359. type: string
  13360. wrbargainid:
  13361. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  13362. type: string
  13363. wrfactortypeid:
  13364. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13365. type: string
  13366. wrfactortypename:
  13367. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13368. type: string
  13369. wrstandardcode:
  13370. description: 现货商品代码
  13371. type: string
  13372. wrstandardid:
  13373. description: 现货商品ID
  13374. type: integer
  13375. wrstandardname:
  13376. description: 商品名称
  13377. type: string
  13378. wrtradeorderid:
  13379. description: 关联委托单ID
  13380. type: string
  13381. wrtypename:
  13382. description: 商品
  13383. type: string
  13384. type: object
  13385. models.Warehouseinfo:
  13386. properties:
  13387. address:
  13388. description: 详细地址
  13389. type: string
  13390. areauserid:
  13391. description: 所属机构
  13392. type: integer
  13393. autoid:
  13394. description: 自增ID
  13395. type: integer
  13396. cityid:
  13397. description: 市
  13398. type: integer
  13399. contactname:
  13400. description: 联系人
  13401. type: string
  13402. contactnum:
  13403. description: 联系电话
  13404. type: string
  13405. countryid:
  13406. description: 国家
  13407. type: integer
  13408. createtime:
  13409. description: 创建时间
  13410. type: string
  13411. districtid:
  13412. description: 区
  13413. type: integer
  13414. hasvideo:
  13415. description: 是否有视频 - 0:无 1:有
  13416. type: integer
  13417. provinceid:
  13418. description: 省
  13419. type: integer
  13420. remark:
  13421. description: 审核备注
  13422. type: string
  13423. videourl:
  13424. description: 视频地址
  13425. type: string
  13426. warehousecode:
  13427. description: 仓库代码
  13428. type: string
  13429. warehousename:
  13430. description: 仓库名称
  13431. type: string
  13432. warehousestatus:
  13433. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  13434. type: integer
  13435. warehousetype:
  13436. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  13437. type: integer
  13438. required:
  13439. - autoid
  13440. - warehousecode
  13441. type: object
  13442. models.WrAverageTradePrice:
  13443. properties:
  13444. averageprice:
  13445. description: 成交均价
  13446. type: number
  13447. tradedate:
  13448. description: 交易日yyyymm
  13449. type: string
  13450. type: object
  13451. models.WrBsGoodsInfo:
  13452. properties:
  13453. buyorsell:
  13454. description: 买卖方向 0-买 1-卖
  13455. type: integer
  13456. goodsid:
  13457. description: 交易合约ID
  13458. type: integer
  13459. lstitem:
  13460. description: 商品信息项
  13461. items:
  13462. $ref: '#/definitions/models.WrTypeItem'
  13463. type: array
  13464. lststep:
  13465. description: 履约规则
  13466. items:
  13467. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  13468. type: array
  13469. type: object
  13470. models.WrBuybackDetail:
  13471. properties:
  13472. buybackamount:
  13473. description: 回购金额
  13474. type: number
  13475. buybackqty:
  13476. description: 回购数量
  13477. type: number
  13478. buybackreleasemargin:
  13479. description: 回购释放保证金
  13480. type: number
  13481. buybacktime:
  13482. description: 回购时间
  13483. type: string
  13484. errordesc:
  13485. description: 错误描述
  13486. type: string
  13487. handlestatus:
  13488. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  13489. type: integer
  13490. relatedwrid:
  13491. description: 关联仓单ID
  13492. type: integer
  13493. scfcontractid:
  13494. description: SCF合同ID
  13495. type: string
  13496. scfwrbuybackid:
  13497. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  13498. type: integer
  13499. tradedate:
  13500. description: 交易日(yyyyMMdd)
  13501. type: string
  13502. type: object
  13503. models.WrDeliveryAvalidHoldLB:
  13504. properties:
  13505. accountid:
  13506. description: 资金账号
  13507. type: integer
  13508. avalidqty:
  13509. description: 数量(可点选数量)
  13510. type: number
  13511. deliverygoodsid:
  13512. description: 品种id
  13513. type: integer
  13514. enumdicname:
  13515. description: 单位名称
  13516. type: string
  13517. goodsid:
  13518. description: x合约商品id
  13519. type: integer
  13520. ladingbillid:
  13521. description: 提单id
  13522. type: string
  13523. pgoodscode:
  13524. description: p商品代码(点价合约)
  13525. type: string
  13526. pgoodsid:
  13527. description: p商品id(点价合约)
  13528. type: integer
  13529. pgoodsname:
  13530. description: p商品名称(点价合约)
  13531. type: string
  13532. pricemove:
  13533. description: 升贴水
  13534. type: number
  13535. subnum:
  13536. description: 提单子id
  13537. type: integer
  13538. userid:
  13539. description: 用户id
  13540. type: integer
  13541. username:
  13542. description: 仓单持有人
  13543. type: string
  13544. warehousecode:
  13545. description: 仓库代码
  13546. type: string
  13547. warehouseid:
  13548. description: 仓库id
  13549. type: integer
  13550. warehousename:
  13551. description: 仓库名称
  13552. type: string
  13553. wrfactortypeid:
  13554. description: 仓单要素id
  13555. type: string
  13556. wrstandardcode:
  13557. description: 品代码
  13558. type: string
  13559. wrstandardid:
  13560. description: 品类d
  13561. type: integer
  13562. wrstandardname:
  13563. description: 品类名称
  13564. type: string
  13565. wrtypename:
  13566. description: 商品
  13567. type: string
  13568. xgoodscode:
  13569. description: x合约代码
  13570. type: string
  13571. xgoodsname:
  13572. description: x合约名称
  13573. type: string
  13574. type: object
  13575. models.WrDeliveryDetail:
  13576. properties:
  13577. accountid:
  13578. description: 账号ID
  13579. type: integer
  13580. averageprice:
  13581. description: 交割均价 = 交割金额 / 交割数量
  13582. type: number
  13583. buyorsell:
  13584. description: 方向 - 0:买 1:卖
  13585. type: integer
  13586. deliveryamount:
  13587. description: 货款金额(X总货款+P总货款)
  13588. type: number
  13589. deliveryorderid:
  13590. description: 申报单号
  13591. type: string
  13592. deliverypricemove:
  13593. description: 升贴水(升贴水总额)
  13594. type: number
  13595. deliveryqty:
  13596. description: 交收数量(点选数量)
  13597. type: number
  13598. deliverystatus:
  13599. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  13600. type: integer
  13601. deliverytime:
  13602. description: 交割时间
  13603. type: string
  13604. deliverytotalamount:
  13605. description: 交收金额
  13606. type: number
  13607. enumdicname:
  13608. description: 单位名称
  13609. type: string
  13610. matchaccountid:
  13611. description: 对手账号ID
  13612. type: integer
  13613. matchusername:
  13614. description: 对手方名称(仓单持有人)
  13615. type: string
  13616. p1goodsremainamount:
  13617. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  13618. type: number
  13619. pdeliverycloseqty:
  13620. description: p合约平仓数量
  13621. type: number
  13622. pdeliveryprice:
  13623. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  13624. type: number
  13625. pgoodscode:
  13626. description: 商品代码
  13627. type: string
  13628. pgoodsid:
  13629. description: p点选合约id
  13630. type: integer
  13631. pgoodsname:
  13632. description: 商品名称
  13633. type: string
  13634. ppricemode:
  13635. description: 点价价格方式 - 1:商品价 2:固定值
  13636. type: integer
  13637. tradedate:
  13638. description: 交易日(yyyymmdd)
  13639. type: string
  13640. userid:
  13641. description: 用户id
  13642. type: integer
  13643. username:
  13644. description: 用户名称
  13645. type: string
  13646. warehousename:
  13647. description: 仓库名称
  13648. type: string
  13649. wrfactortypeid:
  13650. description: 仓单要素类型ID
  13651. type: integer
  13652. wrtypename:
  13653. description: 商品
  13654. type: string
  13655. xdeliverycloseqty:
  13656. description: 合约数量
  13657. type: number
  13658. xgoodsamount:
  13659. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  13660. type: number
  13661. xgoodscode:
  13662. description: 商品代码
  13663. type: string
  13664. xgoodsid:
  13665. description: x交易合约ID
  13666. type: integer
  13667. xgoodsname:
  13668. description: 商品名称
  13669. type: string
  13670. type: object
  13671. models.WrFAProductDetail:
  13672. properties:
  13673. accountid:
  13674. description: 资金账号
  13675. type: integer
  13676. areauserid:
  13677. description: 金融机构ID
  13678. type: integer
  13679. financingdays:
  13680. description: 天数(天)
  13681. type: integer
  13682. interestminlen:
  13683. description: 最小起息天数
  13684. type: integer
  13685. interestrate:
  13686. description: 利率
  13687. type: number
  13688. interestratemode:
  13689. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  13690. type: integer
  13691. interestsettlemode:
  13692. description: 结息方式 - 1:按日结息 3:按月结息
  13693. type: integer
  13694. interestsettlevalue:
  13695. description: 结息方式值
  13696. type: integer
  13697. isautoloan:
  13698. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  13699. type: integer
  13700. loantag:
  13701. description: '放款标识: "放款快" 或者为空'
  13702. type: string
  13703. marginratio:
  13704. description: 保证金比率质押率 - [仓单质押]
  13705. type: number
  13706. productdetailid:
  13707. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  13708. type: integer
  13709. productid:
  13710. description: 金融产品ID
  13711. type: integer
  13712. productname:
  13713. description: 产品名称
  13714. type: string
  13715. updatetime:
  13716. description: 更新时间
  13717. type: string
  13718. username:
  13719. description: 融出方
  13720. type: string
  13721. type: object
  13722. models.WrFactorTypeInfo:
  13723. properties:
  13724. deliverygoodscode:
  13725. description: 品种代码
  13726. type: string
  13727. deliverygoodsname:
  13728. description: 品种名称
  13729. type: string
  13730. dgfactoryitemid:
  13731. description: 选择项id
  13732. type: integer
  13733. dgfactoryitemtypeid:
  13734. description: 要素选择项ID (1-仓库 2-品牌)
  13735. type: integer
  13736. dgfactoryitemvalue:
  13737. description: 要素项值
  13738. type: string
  13739. itemtypename:
  13740. description: 要素项名称
  13741. type: string
  13742. optioncompare:
  13743. description: 选择比较串
  13744. type: string
  13745. warehouseid:
  13746. description: 仓库id
  13747. type: integer
  13748. wrfactortypeid:
  13749. description: 仓单要素ID
  13750. type: string
  13751. wrfactortypename:
  13752. description: 要素名称
  13753. type: string
  13754. wrfactortypename2:
  13755. description: 要素名称(不含仓库)
  13756. type: string
  13757. wrstandardcode:
  13758. description: 品类代码
  13759. type: string
  13760. wrstandardid:
  13761. description: 品类id
  13762. type: integer
  13763. wrstandardname:
  13764. description: 品类名称
  13765. type: string
  13766. type: object
  13767. models.WrFilterItem:
  13768. properties:
  13769. itemcode:
  13770. description: 代码
  13771. type: string
  13772. itemid:
  13773. description: 项id
  13774. type: integer
  13775. itemname:
  13776. description: 名称
  13777. type: string
  13778. itemtype:
  13779. description: 类型 1-品种 2-品类(商品) 3-仓库
  13780. type: integer
  13781. type: object
  13782. models.WrFinanceBuyApply:
  13783. properties:
  13784. applydate:
  13785. description: 申请时间
  13786. type: string
  13787. applystatus:
  13788. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  13789. type: integer
  13790. applyuserid:
  13791. description: 申请人
  13792. type: integer
  13793. auditdate:
  13794. description: 审核时间
  13795. type: string
  13796. auditremark:
  13797. description: 审核备注
  13798. type: string
  13799. audituserid:
  13800. description: 审核人
  13801. type: integer
  13802. buyaccountid:
  13803. description: 买方资金账号
  13804. type: integer
  13805. buyorsell:
  13806. description: 买卖 - 0:买 1:卖
  13807. type: integer
  13808. buyuserid:
  13809. description: 买方用户ID
  13810. type: integer
  13811. buyusername:
  13812. description: 买方名称
  13813. type: string
  13814. buywrtradeorderid:
  13815. description: 融资方买委托单ID
  13816. type: string
  13817. deliverygoodscode:
  13818. description: 品种代码
  13819. type: string
  13820. deliverygoodsid:
  13821. description: 品种ID
  13822. type: integer
  13823. deliverygoodsname:
  13824. description: 品种名称
  13825. type: string
  13826. deliverymonth:
  13827. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  13828. type: string
  13829. enumdicname:
  13830. description: 单位名称
  13831. type: string
  13832. financeaccountid:
  13833. description: 融资方资金帐户ID
  13834. type: integer
  13835. financeapplyid:
  13836. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13837. type: string
  13838. financeareauserid:
  13839. description: 融资方用户ID
  13840. type: string
  13841. financename:
  13842. description: 融出方名称
  13843. type: string
  13844. financetype:
  13845. description: 融资类型 1-融资回购
  13846. type: integer
  13847. financingdays:
  13848. description: 天数(天)
  13849. type: integer
  13850. freezebuymargin:
  13851. description: 冻结融资保证金(买方)
  13852. type: number
  13853. handleremark:
  13854. description: 处理备注
  13855. type: string
  13856. handlestatus:
  13857. description: 处理状态
  13858. type: integer
  13859. interestminlen:
  13860. description: 最小起息天数
  13861. type: integer
  13862. interestrate:
  13863. description: 利率
  13864. type: number
  13865. interestratemode:
  13866. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  13867. type: integer
  13868. interestsettlemode:
  13869. description: 结息方式 - 1:按日结息 3:按月结息
  13870. type: integer
  13871. interestsettlevalue:
  13872. description: 结息方式值
  13873. type: integer
  13874. isautoloan:
  13875. description: 是否自动放款 - 0:手动 1:自动
  13876. type: integer
  13877. marginratio:
  13878. description: 保证金比率质押率 - [仓单质押]
  13879. type: number
  13880. marketid:
  13881. description: 市场ID
  13882. type: integer
  13883. minivalue:
  13884. description: 现货商品最小变动值
  13885. type: integer
  13886. optioncompare:
  13887. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13888. type: string
  13889. orderqty:
  13890. description: 委托数量(商品数量)
  13891. type: number
  13892. productdetailid:
  13893. description: 产品组合ID
  13894. type: integer
  13895. productid:
  13896. description: 金融产品ID
  13897. type: integer
  13898. productname:
  13899. description: 产品名称
  13900. type: string
  13901. remark:
  13902. description: 备注
  13903. type: string
  13904. scfcontractid:
  13905. description: 仓单回购合同ID
  13906. type: string
  13907. sellaccountid:
  13908. description: 卖方资金账号
  13909. type: integer
  13910. selluserid:
  13911. description: 卖方用户ID
  13912. type: integer
  13913. sellwrtradeorderid:
  13914. description: 卖方委托单ID
  13915. type: string
  13916. tradeamount:
  13917. description: 成交金额(借款金额)
  13918. type: number
  13919. tradedate:
  13920. description: 交易日(yyyyMMdd)
  13921. type: string
  13922. tradeprice:
  13923. description: 成交价格
  13924. type: number
  13925. warehouseid:
  13926. description: 仓库ID
  13927. type: integer
  13928. warehousename:
  13929. description: 仓库名称
  13930. type: string
  13931. wrfactortypeid:
  13932. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13933. type: string
  13934. wrfactortypename:
  13935. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13936. type: string
  13937. wrpricetype:
  13938. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  13939. type: integer
  13940. wrstandardcode:
  13941. description: 现货商品代码
  13942. type: string
  13943. wrstandardid:
  13944. description: 现货商品ID
  13945. type: integer
  13946. wrstandardname:
  13947. description: 商品名称
  13948. type: string
  13949. wrtypename:
  13950. description: 商品
  13951. type: string
  13952. type: object
  13953. models.WrFriendApply:
  13954. properties:
  13955. applicantid:
  13956. description: 申请人
  13957. type: integer
  13958. applyname:
  13959. description: 申请人名称
  13960. type: string
  13961. applysrc:
  13962. description: 申请来源 - 1:管理端 2:终端
  13963. type: integer
  13964. applystatus:
  13965. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13966. type: integer
  13967. applytime:
  13968. description: 申请时间
  13969. type: string
  13970. auditname:
  13971. description: 审核人名称
  13972. type: string
  13973. auditorid:
  13974. description: 审核人
  13975. type: integer
  13976. auditremark:
  13977. description: 审核备注
  13978. type: string
  13979. auditsrc:
  13980. description: 审核来源 - 1:管理端 2:终端
  13981. type: integer
  13982. audittime:
  13983. description: 审核时间
  13984. type: string
  13985. friendapplyid:
  13986. description: 申请ID(SEQ_FRIENDAPPLY)
  13987. type: string
  13988. friendname:
  13989. description: 好友名字(已脱敏)
  13990. type: string
  13991. frienduserid:
  13992. description: 好友用户ID
  13993. type: string
  13994. remark:
  13995. description: 备注
  13996. type: string
  13997. userid:
  13998. description: 申请人用户ID
  13999. type: integer
  14000. type: object
  14001. models.WrFtDeliveryGoods:
  14002. properties:
  14003. deliverygoodscode:
  14004. description: 品种代码
  14005. type: string
  14006. deliverygoodsid:
  14007. description: 品种ID
  14008. type: integer
  14009. deliverygoodsname:
  14010. description: 品种名称
  14011. type: string
  14012. wdlst:
  14013. description: 商品列表
  14014. items:
  14015. $ref: '#/definitions/models.WrFtWrstandard'
  14016. type: array
  14017. type: object
  14018. models.WrFtWrstandard:
  14019. properties:
  14020. enumdicname:
  14021. description: 单位名称
  14022. type: string
  14023. minivalue:
  14024. description: 最小变动值
  14025. type: integer
  14026. wrstandardcode:
  14027. description: 现货商品代码
  14028. type: string
  14029. wrstandardid:
  14030. description: 现货商品ID
  14031. type: integer
  14032. wrstandardname:
  14033. description: 商品名称
  14034. type: string
  14035. type: object
  14036. models.WrGoodsInfo:
  14037. properties:
  14038. haswr:
  14039. description: 0:仓单预售 1:仓单贸易
  14040. type: integer
  14041. lstitem:
  14042. description: 商品信息项
  14043. items:
  14044. $ref: '#/definitions/models.WrTypeItem'
  14045. type: array
  14046. lststep:
  14047. description: 履约规则
  14048. items:
  14049. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14050. type: array
  14051. marketid:
  14052. description: 市场id
  14053. type: integer
  14054. type: object
  14055. models.WrGoodsPerformanceStep:
  14056. properties:
  14057. autoid:
  14058. description: AutoID
  14059. type: integer
  14060. isauto:
  14061. description: 是否自动 - 0:不自动 1:自动
  14062. type: integer
  14063. remark:
  14064. description: 备注
  14065. type: string
  14066. stepdate:
  14067. description: 天数信息(T+N)
  14068. type: string
  14069. stepdays:
  14070. description: 距离上一步天数
  14071. type: integer
  14072. stepindex:
  14073. description: 步骤序号
  14074. type: integer
  14075. stepinfo:
  14076. description: 步骤信息(步骤名称+步骤值)
  14077. type: string
  14078. steptypeid:
  14079. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14080. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14081. type: integer
  14082. steptypename:
  14083. description: 步骤名称
  14084. type: string
  14085. stepvalue:
  14086. description: 步骤值
  14087. type: number
  14088. templateid:
  14089. description: 履约计划模板ID
  14090. type: integer
  14091. type: object
  14092. models.WrHoldLB:
  14093. properties:
  14094. accountid:
  14095. description: 持有人帐户ID
  14096. type: integer
  14097. createtime:
  14098. description: 创建时间(过户时间)
  14099. type: string
  14100. deliverygoodscode:
  14101. description: 品种代码
  14102. type: string
  14103. deliverygoodsid:
  14104. description: 品种ID
  14105. type: integer
  14106. deliverygoodsname:
  14107. description: 品种名称
  14108. type: string
  14109. enableqty:
  14110. description: 可用数量
  14111. type: number
  14112. enumdicname:
  14113. description: 单位名称
  14114. type: string
  14115. freezerqty:
  14116. description: 冻结数量
  14117. type: number
  14118. ladingbillid:
  14119. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  14120. type: string
  14121. minivalue:
  14122. description: 现货商品最小变动值
  14123. type: integer
  14124. optioncompare:
  14125. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14126. type: string
  14127. parentsubnum:
  14128. description: 拆分父子单号
  14129. type: integer
  14130. pledgeqty:
  14131. description: 质押数量
  14132. type: number
  14133. qty:
  14134. description: 数量
  14135. type: number
  14136. subnum:
  14137. description: 提单子单号
  14138. type: integer
  14139. tradedate:
  14140. description: 交易日(yyyyMMdd)
  14141. type: string
  14142. userid:
  14143. description: 持有人ID
  14144. type: integer
  14145. warehouseid:
  14146. description: 仓库ID
  14147. type: integer
  14148. warehousename:
  14149. description: 仓库名称
  14150. type: string
  14151. wrfactortypeid:
  14152. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14153. type: string
  14154. wrfactortypename:
  14155. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14156. type: string
  14157. wrholdeno:
  14158. description: 仓单编号
  14159. type: string
  14160. wrid:
  14161. description: 仓单变更ID
  14162. type: string
  14163. wrstandardcode:
  14164. description: 现货商品代码
  14165. type: string
  14166. wrstandardid:
  14167. description: 现货商品ID
  14168. type: integer
  14169. wrstandardname:
  14170. description: 商品名称
  14171. type: string
  14172. wrtypename:
  14173. description: 商品
  14174. type: string
  14175. type: object
  14176. models.WrMarketTradeConfig:
  14177. properties:
  14178. basisdownratio:
  14179. description: 浮动价基差下限比例(仓单贸易)
  14180. type: number
  14181. basisupratio:
  14182. description: 浮动价基差上限比例(仓单贸易)
  14183. type: number
  14184. buychargealgorithm:
  14185. description: 买方手续费收取方式 1:比率 2:固定
  14186. type: integer
  14187. buychargealgorithm2:
  14188. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  14189. type: integer
  14190. buychargealgorithmvalue:
  14191. description: 买方手续费设置值(交易所部分)
  14192. type: number
  14193. buychargealgorithmvalue2:
  14194. description: 买方手续费设置值(会员部分)
  14195. type: number
  14196. buychargealgorithmvalue3:
  14197. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  14198. type: number
  14199. buychargealgorithmvalue4:
  14200. description: 回购买方手续费设置值(会员部分) --77:现货商城
  14201. type: number
  14202. buyfirstmarginalgorithm:
  14203. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  14204. type: integer
  14205. buyfirstmarginvalue:
  14206. description: 买方出价保证金设置值 - [竞拍]
  14207. type: number
  14208. buymarginalgorithm:
  14209. description: 买方保证金方式 - 1:比率 2:固定
  14210. type: integer
  14211. buymarginvalue:
  14212. description: 买方保证金设置值
  14213. type: number
  14214. buyreleaseratio:
  14215. description: 买方释放比率[2:分步履约]
  14216. type: number
  14217. executemode:
  14218. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  14219. type: integer
  14220. executeside:
  14221. description: 执行方[2:分步履约] - 1:买方 2:卖方
  14222. type: integer
  14223. failedchargealgorithm:
  14224. description: 流拍手续费收取方式 1:比率 2:固定
  14225. type: integer
  14226. failedchargevalue:
  14227. description: 流拍手续费设置值
  14228. type: number
  14229. failedchargevalue2:
  14230. description: 流拍卖方手续费设置值
  14231. type: number
  14232. holddays:
  14233. description: 合同期限[2:分步履约]
  14234. type: integer
  14235. marketid:
  14236. description: 市场ID-仓单贸易、竞拍、预售
  14237. type: integer
  14238. minqty:
  14239. description: 最小执行量[2:分步履约]
  14240. type: number
  14241. modifierid:
  14242. description: 修改人
  14243. type: integer
  14244. performancetempid:
  14245. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14246. 立即执行(-1)
  14247. type: integer
  14248. performancetempid2:
  14249. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14250. 立即执行
  14251. type: integer
  14252. performanceway:
  14253. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  14254. type: integer
  14255. sellchargealgorithm:
  14256. description: 卖方手续费收取方式 1:比率 2:固定
  14257. type: integer
  14258. sellchargealgorithm2:
  14259. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  14260. type: integer
  14261. sellchargealgorithmvalue:
  14262. description: 卖方手续费设置值(交易所部分)
  14263. type: number
  14264. sellchargealgorithmvalue2:
  14265. description: 卖方手续费设置值(会员部分)
  14266. type: number
  14267. sellchargealgorithmvalue3:
  14268. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  14269. type: number
  14270. sellchargealgorithmvalue4:
  14271. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  14272. type: number
  14273. sellmarginalgorithm:
  14274. description: 卖方保证金方式 - 1:比率 2:固定
  14275. type: integer
  14276. sellmarginvalue:
  14277. description: 卖方保证金设置值
  14278. type: number
  14279. sellmarginvalue2:
  14280. description: 卖方保证金设置值(无仓单)
  14281. type: number
  14282. sellreleaseratio:
  14283. description: 卖方释放比率[2:分步履约]
  14284. type: number
  14285. updatetime:
  14286. description: 更新时间
  14287. type: string
  14288. type: object
  14289. models.WrOrderDetail:
  14290. properties:
  14291. buyorsell:
  14292. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14293. type: integer
  14294. cancelqty:
  14295. description: 撤销数量
  14296. type: number
  14297. deliverygoodscode:
  14298. description: 品种代码
  14299. type: string
  14300. deliverygoodsid:
  14301. description: 品种ID
  14302. type: integer
  14303. deliverygoodsname:
  14304. description: 品种名称
  14305. type: string
  14306. deliverymonth:
  14307. description: 交收月
  14308. type: string
  14309. enumdicname:
  14310. description: 单位名称
  14311. type: string
  14312. fixedprice:
  14313. description: 固定价格 - [挂牌]
  14314. type: number
  14315. futupricemove:
  14316. description: 期货升贴水
  14317. type: number
  14318. futushow:
  14319. description: 期货合约/升贴水
  14320. type: string
  14321. goodscode:
  14322. description: 期货合约
  14323. type: string
  14324. goodsid:
  14325. description: 期货商品id
  14326. type: integer
  14327. goodsname:
  14328. description: 商品名称
  14329. type: string
  14330. haswr:
  14331. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14332. type: integer
  14333. marketid:
  14334. description: 市场ID
  14335. type: integer
  14336. minivalue:
  14337. description: 现货商品最小变动值
  14338. type: integer
  14339. optioncompare:
  14340. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14341. type: string
  14342. orderqty:
  14343. description: 委托数量
  14344. type: number
  14345. ordertime:
  14346. description: 委托时间(挂牌时间)
  14347. type: string
  14348. pricemove:
  14349. description: 升贴水(浮动价时填写) - [挂牌]
  14350. type: number
  14351. tradedate:
  14352. description: 交易日(yyyyMMdd)
  14353. type: string
  14354. tradeprice:
  14355. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  14356. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  14357. type: number
  14358. tradeqty:
  14359. description: 成交数量
  14360. type: number
  14361. userid:
  14362. description: 用户ID
  14363. type: integer
  14364. warehouseid:
  14365. description: 仓库ID
  14366. type: integer
  14367. warehousename:
  14368. description: 仓库名称
  14369. type: string
  14370. wrfactortypeid:
  14371. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14372. type: string
  14373. wrfactortypename:
  14374. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14375. type: string
  14376. wrpricetype:
  14377. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  14378. type: integer
  14379. wrstandardcode:
  14380. description: 现货商品代码
  14381. type: string
  14382. wrstandardid:
  14383. description: 现货商品ID
  14384. type: integer
  14385. wrstandardname:
  14386. description: 商品名称
  14387. type: string
  14388. wrtradeorderid:
  14389. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14390. type: string
  14391. wrtradeorderstatus:
  14392. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  14393. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  14394. type: integer
  14395. wrtradetype:
  14396. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14397. type: integer
  14398. wrtypename:
  14399. description: 商品
  14400. type: string
  14401. type: object
  14402. models.WrOrderQuote:
  14403. properties:
  14404. buyprice:
  14405. description: 买价
  14406. type: number
  14407. buypricemove:
  14408. description: 买升贴水(基差)
  14409. type: number
  14410. buyqty:
  14411. description: 买量
  14412. type: number
  14413. deliverygoodscode:
  14414. description: 品种代码
  14415. type: string
  14416. deliverygoodsid:
  14417. description: 品种id
  14418. type: integer
  14419. deliverygoodsname:
  14420. description: 品种名称
  14421. type: string
  14422. deliverymonth:
  14423. description: 交收月
  14424. type: string
  14425. enumdicname:
  14426. description: 单位名称
  14427. type: string
  14428. goodscode:
  14429. description: 商品合约(浮动价列表才有)
  14430. type: string
  14431. goodsid:
  14432. description: 商品id(浮动价列表才有)
  14433. type: integer
  14434. minivalue:
  14435. description: 现货商品最小变动值
  14436. type: integer
  14437. sellprice:
  14438. description: 卖价
  14439. type: number
  14440. sellpricemove:
  14441. description: 卖升贴水(基差)
  14442. type: number
  14443. sellqty:
  14444. description: 卖量
  14445. type: number
  14446. warehousecode:
  14447. description: 仓库代码
  14448. type: string
  14449. warehouseid:
  14450. description: 仓库id
  14451. type: integer
  14452. warehousename:
  14453. description: 仓库名称
  14454. type: string
  14455. wrfactortypeid:
  14456. description: 仓单要素id
  14457. type: string
  14458. wrfactortypename:
  14459. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14460. type: string
  14461. wrgoodsname:
  14462. description: 商品(商品名称+仓库要素名称 拼接)
  14463. type: string
  14464. wrstandardcode:
  14465. description: 商品代码
  14466. type: string
  14467. wrstandardid:
  14468. description: 商品id
  14469. type: integer
  14470. wrstandardname:
  14471. description: 商品名称
  14472. type: string
  14473. type: object
  14474. models.WrOrderQuoteDetail:
  14475. properties:
  14476. buyorsell:
  14477. description: 买卖 - 0:买 1:卖
  14478. type: integer
  14479. delistminqty:
  14480. description: 起摘数量
  14481. type: number
  14482. deliverymonth:
  14483. description: 交收月
  14484. type: string
  14485. enumdicname:
  14486. description: 单位名称
  14487. type: string
  14488. fixedprice:
  14489. description: 买(卖)价
  14490. type: number
  14491. minivalue:
  14492. description: 现货商品最小变动值
  14493. type: integer
  14494. orderqty:
  14495. description: 买(卖)量(=委托量-成交量)
  14496. type: number
  14497. ordertime:
  14498. description: 委托时间
  14499. type: string
  14500. pricemove:
  14501. description: 买(卖)升贴水- 基差
  14502. type: number
  14503. userid:
  14504. description: 购买方(销售方)用户ID
  14505. type: integer
  14506. username:
  14507. description: 购买方(销售方)
  14508. type: string
  14509. wrtradeorderid:
  14510. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14511. type: string
  14512. type: object
  14513. models.WrOutInApply:
  14514. properties:
  14515. applyid:
  14516. description: 申请单id
  14517. type: string
  14518. applystatus:
  14519. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  14520. 8:已撤销
  14521. type: integer
  14522. applytime:
  14523. description: 申请时间
  14524. type: string
  14525. applytype:
  14526. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  14527. type: integer
  14528. deliverygoodscode:
  14529. description: 品种代码
  14530. type: string
  14531. deliverygoodsid:
  14532. description: 品种ID
  14533. type: integer
  14534. deliverygoodsname:
  14535. description: 品种名称
  14536. type: string
  14537. enumdicname:
  14538. description: 单位名称
  14539. type: string
  14540. expresscompany:
  14541. description: 物流公司
  14542. type: string
  14543. expressnum:
  14544. description: 物流单号
  14545. type: string
  14546. minivalue:
  14547. description: 现货商品最小变动值
  14548. type: integer
  14549. optioncompare:
  14550. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14551. type: string
  14552. qty:
  14553. description: 数量
  14554. type: integer
  14555. userid:
  14556. description: 用户id
  14557. type: integer
  14558. warehouseid:
  14559. description: 仓库ID
  14560. type: integer
  14561. warehousename:
  14562. description: 仓库名称
  14563. type: string
  14564. wrfactortypeid:
  14565. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14566. type: string
  14567. wrfactortypename:
  14568. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14569. type: string
  14570. wrstandardcode:
  14571. description: 现货商品代码
  14572. type: string
  14573. wrstandardid:
  14574. description: 现货商品ID
  14575. type: integer
  14576. wrstandardname:
  14577. description: 商品名称
  14578. type: string
  14579. wrtypename:
  14580. description: 商品
  14581. type: string
  14582. type: object
  14583. models.WrPerformancePlan:
  14584. properties:
  14585. activatemonth:
  14586. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  14587. type: string
  14588. amount:
  14589. description: 履约金额(总金额)
  14590. type: number
  14591. buyaccountid:
  14592. description: 买方账号
  14593. type: integer
  14594. buyerfreezeamount:
  14595. description: 履约冻结(买履约)
  14596. type: number
  14597. buyerfreezeamountremain:
  14598. description: 履约冻结剩余(买履约)
  14599. type: number
  14600. buyorsell:
  14601. description: 买卖方向 0-买 1-卖
  14602. type: integer
  14603. buypaidamount:
  14604. description: 买方已冻/已扣金额 (已付金额)
  14605. type: number
  14606. buyusername:
  14607. description: 买方名字
  14608. type: string
  14609. contractid:
  14610. description: 合同ID
  14611. type: integer
  14612. createtime:
  14613. description: 创建时间
  14614. type: string
  14615. creatorid:
  14616. description: 创建人
  14617. type: integer
  14618. curstepdeadline:
  14619. description: 当前步骤到期时间
  14620. type: string
  14621. curstepid:
  14622. description: 当前步骤ID
  14623. type: string
  14624. curstepname:
  14625. description: 当前步骤名称
  14626. type: string
  14627. deliverygoodscode:
  14628. description: 品种代码
  14629. type: string
  14630. deliverygoodsid:
  14631. description: 品种ID
  14632. type: integer
  14633. deliverygoodsname:
  14634. description: 品种名称
  14635. type: string
  14636. enumdicname:
  14637. description: 单位名称
  14638. type: string
  14639. expressfee:
  14640. description: 运费
  14641. type: number
  14642. expressfeeconfirmed:
  14643. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  14644. type: integer
  14645. hasovershort:
  14646. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  14647. type: integer
  14648. haswr:
  14649. description: 类型 0-仓单预售 1-仓单贸易
  14650. type: integer
  14651. marketid:
  14652. description: 市场ID
  14653. type: integer
  14654. middleaccountid:
  14655. description: 中间商资金账号ID
  14656. type: integer
  14657. middleuserid:
  14658. description: 中间商用户ID
  14659. type: integer
  14660. minivalue:
  14661. description: 现货商品最小变动值
  14662. type: integer
  14663. optioncompare:
  14664. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14665. type: string
  14666. overshortamount:
  14667. description: 溢短金额
  14668. type: number
  14669. overshortqty:
  14670. description: 溢短数量
  14671. type: number
  14672. paymenttype:
  14673. description: 付款方式 - 1:冻结 2:扣款
  14674. type: integer
  14675. performanceplanid:
  14676. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  14677. type: string
  14678. performancestatus:
  14679. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  14680. 9:超时待处理 10:超时关闭
  14681. type: integer
  14682. performancetype:
  14683. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  14684. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  14685. type: integer
  14686. qty:
  14687. description: 履约数量
  14688. type: number
  14689. relatedorderid:
  14690. description: 关联单号(履约类型的关联单号)
  14691. type: string
  14692. remark:
  14693. description: 备注
  14694. type: string
  14695. sellaccountid:
  14696. description: 卖方账号
  14697. type: integer
  14698. sellerfreezeamount:
  14699. description: 履约冻结(卖履约)
  14700. type: number
  14701. sellerfreezeamountremain:
  14702. description: 履约冻结剩余(卖履约)
  14703. type: number
  14704. sellreceivedamount:
  14705. description: 卖方已收金额
  14706. type: number
  14707. sellusername:
  14708. description: 卖方名字
  14709. type: string
  14710. shipremark:
  14711. description: 发货备注[物流单号]
  14712. type: string
  14713. starttime:
  14714. description: 开始时间
  14715. type: string
  14716. steptypeid:
  14717. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14718. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14719. type: integer
  14720. unpaidamount:
  14721. description: 剩余款(待支付金额)
  14722. type: number
  14723. userid:
  14724. description: 用户id
  14725. type: integer
  14726. warehouseid:
  14727. description: 仓库ID
  14728. type: integer
  14729. warehousename:
  14730. description: 仓库名称
  14731. type: string
  14732. wrfactortypeid:
  14733. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14734. type: string
  14735. wrfactortypename:
  14736. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14737. type: string
  14738. wrstandardcode:
  14739. description: 现货商品代码
  14740. type: string
  14741. wrstandardid:
  14742. description: 现货商品ID
  14743. type: integer
  14744. wrstandardname:
  14745. description: 商品名称
  14746. type: string
  14747. wrtransferuserid:
  14748. description: 仓单受让用户
  14749. type: integer
  14750. wrtypename:
  14751. description: 商品
  14752. type: string
  14753. required:
  14754. - userid
  14755. type: object
  14756. models.WrPerformancePlanStep:
  14757. properties:
  14758. delaydays:
  14759. description: 延期申请天数
  14760. type: integer
  14761. deliverygoodscode:
  14762. description: 品种代码
  14763. type: string
  14764. deliverygoodsid:
  14765. description: 品种ID
  14766. type: integer
  14767. deliverygoodsname:
  14768. description: 品种名称
  14769. type: string
  14770. endtime:
  14771. description: 结束日期
  14772. type: string
  14773. enumdicname:
  14774. description: 单位名称
  14775. type: string
  14776. executeside:
  14777. description: 步骤执行方 - 1:买方 2:卖方
  14778. type: integer
  14779. handlestatus:
  14780. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  14781. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  14782. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  14783. type: integer
  14784. isauto:
  14785. description: 是否自动 - 0:不自动 1:自动
  14786. type: integer
  14787. islastreceivestep:
  14788. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  14789. type: integer
  14790. minivalue:
  14791. description: 现货商品最小变动值
  14792. type: integer
  14793. optioncompare:
  14794. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14795. type: string
  14796. overdays:
  14797. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  14798. type: integer
  14799. performancestepid:
  14800. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  14801. type: string
  14802. planid:
  14803. description: 所属履约计划ID
  14804. type: string
  14805. realamount:
  14806. description: 实际完成金额
  14807. type: number
  14808. relatedorderid:
  14809. description: 关联单号
  14810. type: string
  14811. remaindays:
  14812. description: 剩余天数
  14813. type: integer
  14814. remark:
  14815. description: 错误备注
  14816. type: string
  14817. starttime:
  14818. description: 开始日期
  14819. type: string
  14820. stepamount:
  14821. description: 步骤金额
  14822. type: number
  14823. stepdays:
  14824. description: 距离上一步天数(分钟)
  14825. type: integer
  14826. stepindex:
  14827. description: 步骤序号
  14828. type: integer
  14829. steplanchtype:
  14830. description: 步骤启动类型 - 1:系统自动 2:手动
  14831. type: integer
  14832. stepremark:
  14833. description: 步骤备注
  14834. type: string
  14835. stepstatus:
  14836. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  14837. type: integer
  14838. steptypeid:
  14839. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14840. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14841. type: integer
  14842. steptypename:
  14843. description: 步骤名称
  14844. type: string
  14845. stepvalue:
  14846. description: 步骤值
  14847. type: number
  14848. warehouseid:
  14849. description: 仓库ID
  14850. type: integer
  14851. warehousename:
  14852. description: 仓库名称
  14853. type: string
  14854. wrfactortypeid:
  14855. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14856. type: string
  14857. wrfactortypename:
  14858. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14859. type: string
  14860. wrstandardcode:
  14861. description: 现货商品代码
  14862. type: string
  14863. wrstandardid:
  14864. description: 现货商品ID
  14865. type: integer
  14866. wrstandardname:
  14867. description: 商品名称
  14868. type: string
  14869. wrtypename:
  14870. description: 商品
  14871. type: string
  14872. type: object
  14873. models.WrPerformanceStepType:
  14874. properties:
  14875. canauto:
  14876. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  14877. type: integer
  14878. steptypeid:
  14879. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  14880. type: integer
  14881. steptypename:
  14882. description: 步骤类型名称
  14883. type: string
  14884. type: object
  14885. models.WrPerformanceTemplateEx:
  14886. properties:
  14887. autoid:
  14888. description: AutoID 模板id
  14889. type: integer
  14890. createtime:
  14891. description: 创建时间
  14892. type: string
  14893. creatorid:
  14894. description: 创建人
  14895. type: integer
  14896. lstStep:
  14897. description: 步骤信息列表
  14898. items:
  14899. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14900. type: array
  14901. paymenttype:
  14902. description: 支付方式 - 1:冻结 2:扣款
  14903. type: integer
  14904. takemode:
  14905. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  14906. type: integer
  14907. templatename:
  14908. description: 模板名称
  14909. type: string
  14910. templatetype:
  14911. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  14912. (无仓单) 5:挂牌期权 6:竞拍-降价式
  14913. type: integer
  14914. userid:
  14915. description: 所属用户
  14916. type: integer
  14917. type: object
  14918. models.WrPosition:
  14919. properties:
  14920. accountid:
  14921. description: 帐户ID
  14922. type: integer
  14923. buyexcuteqty:
  14924. description: 采购履约中数量
  14925. type: number
  14926. creditcurqty:
  14927. description: 授信当前数量(预售仓单:预售当前量)
  14928. type: number
  14929. creditenableqty:
  14930. description: '授信可用数量(预售仓单: 可用数量)'
  14931. type: number
  14932. creditfreezeqty:
  14933. description: '授信冻结数量(预售仓单: 当前数量)'
  14934. type: number
  14935. credittotalqty:
  14936. description: 授信总数量(预售仓单:预售总量)
  14937. type: number
  14938. credittradeqty:
  14939. description: 授信成交数量(预售仓单:成交总量)
  14940. type: number
  14941. deliverygoodscode:
  14942. description: 品种代码
  14943. type: string
  14944. deliverygoodsid:
  14945. description: 品种ID
  14946. type: integer
  14947. deliverygoodsname:
  14948. description: 品种名称
  14949. type: string
  14950. enalbeqty:
  14951. description: 可用数量
  14952. type: number
  14953. enumdicname:
  14954. description: 单位名称
  14955. type: string
  14956. freezeqty:
  14957. description: 总冻结数量
  14958. type: number
  14959. haswr:
  14960. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14961. type: integer
  14962. minivalue:
  14963. description: 现货商品最小变动值
  14964. type: integer
  14965. modifytime:
  14966. description: 修改时间(过户时间)
  14967. type: string
  14968. optioncompare:
  14969. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14970. type: string
  14971. pledgeqty:
  14972. description: 质押数量
  14973. type: number
  14974. querytype:
  14975. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  14976. type: integer
  14977. sellexcuteqty:
  14978. description: 销售履约中数量
  14979. type: number
  14980. totalqty:
  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. wrpositionid:
  14996. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  14997. type: string
  14998. wrpositionno:
  14999. description: 仓单编号
  15000. type: string
  15001. wrstandardcode:
  15002. description: 现货商品代码
  15003. type: string
  15004. wrstandardid:
  15005. description: 现货商品ID
  15006. type: integer
  15007. wrstandardname:
  15008. description: 商品名称
  15009. type: string
  15010. wrtypename:
  15011. description: 商品
  15012. type: string
  15013. wruserid:
  15014. description: 持有人ID
  15015. type: integer
  15016. type: object
  15017. models.WrQuoteOrderMyq:
  15018. properties:
  15019. buyorsell:
  15020. description: 买卖 - 0:买 1:卖
  15021. type: integer
  15022. canbargain:
  15023. description: 是否可议价 - 0:不可 1:可
  15024. type: integer
  15025. canpart:
  15026. description: 是否允许部份摘牌 - 0:不允许 1:允许
  15027. type: integer
  15028. delistminqty:
  15029. description: 起摘数量
  15030. type: number
  15031. deliverymonth:
  15032. description: 交收月
  15033. type: string
  15034. enumdicname:
  15035. description: 单位名称
  15036. type: string
  15037. fixedprice:
  15038. description: 买(卖)价
  15039. type: number
  15040. goodscode:
  15041. description: 商品合约代码
  15042. type: string
  15043. marginflag:
  15044. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  15045. type: integer
  15046. marginvalue:
  15047. description: 保证金设置值
  15048. type: number
  15049. minivalue:
  15050. description: 现货商品最小变动值
  15051. type: integer
  15052. orderqty:
  15053. description: 买(卖)量(=委托量-成交量)
  15054. type: number
  15055. ordertime:
  15056. description: 委托时间
  15057. type: string
  15058. performancetemplateid:
  15059. description: 履约模板id
  15060. type: integer
  15061. pricemove:
  15062. description: 买(卖)升贴水- 基差
  15063. type: number
  15064. templatename:
  15065. description: 履约模板名称
  15066. type: string
  15067. userid:
  15068. description: 购买方(销售方)用户ID
  15069. type: integer
  15070. username:
  15071. description: 购买方(销售方)
  15072. type: string
  15073. validtime:
  15074. description: 有效期限
  15075. type: string
  15076. validtype:
  15077. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15078. type: integer
  15079. warehousename:
  15080. description: 仓库名称
  15081. type: string
  15082. wrtradeorderid:
  15083. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15084. type: string
  15085. wrtypename:
  15086. description: 商品
  15087. type: string
  15088. type: object
  15089. models.WrScfContract:
  15090. properties:
  15091. borroweruserid:
  15092. description: 借款用户ID
  15093. type: integer
  15094. buybackwrpositionqty:
  15095. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  15096. type: number
  15097. closeinterest:
  15098. description: 已结利息 -> 已结费用
  15099. type: number
  15100. currisklevel:
  15101. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  15102. type: integer
  15103. deadline:
  15104. description: 截止日期(yyyyMMdd) -> 借款到期时间
  15105. type: string
  15106. deliverygoodscode:
  15107. description: 品种代码
  15108. type: string
  15109. deliverygoodsid:
  15110. description: 品种ID
  15111. type: integer
  15112. deliverygoodsname:
  15113. description: 品种名称
  15114. type: string
  15115. enumdicname:
  15116. description: 单位名称
  15117. type: string
  15118. financingdays:
  15119. description: 天数(天)
  15120. type: integer
  15121. initmargin:
  15122. description: 保证金 - [仓单回购]
  15123. type: number
  15124. interestamount:
  15125. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  15126. type: number
  15127. interestdebt:
  15128. description: 利息欠款(记录负数) -> 费用欠款
  15129. type: number
  15130. interestminlen:
  15131. description: 最小起息天数
  15132. type: integer
  15133. interestrate:
  15134. description: 利率
  15135. type: number
  15136. interestratemode:
  15137. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15138. type: integer
  15139. interestsettlemode:
  15140. description: 结息方式 - 1:按日结息 3:按月结息
  15141. type: integer
  15142. interestsettlevalue:
  15143. description: 结息方式值
  15144. type: integer
  15145. isautoloan:
  15146. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  15147. type: integer
  15148. lastcloseinterestday:
  15149. description: 最近结息日(yyyyMMdd)
  15150. type: string
  15151. lenderamount:
  15152. description: 贷款金额 -> 借款金额
  15153. type: number
  15154. lenderuserid:
  15155. description: 贷款方用户ID -> 融出方用户ID
  15156. type: integer
  15157. lenderusername:
  15158. description: 融出方
  15159. type: string
  15160. marginratio:
  15161. description: 保证金比率质押率 - [仓单质押]
  15162. type: number
  15163. marketid:
  15164. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  15165. type: integer
  15166. minivalue:
  15167. description: 现货商品最小变动值
  15168. type: integer
  15169. optioncompare:
  15170. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15171. type: string
  15172. pricemove:
  15173. description: 估值升贴水值
  15174. type: number
  15175. productdetailid:
  15176. description: 产品组合ID
  15177. type: integer
  15178. productid:
  15179. description: 金融产品ID
  15180. type: integer
  15181. productname:
  15182. description: 产品名称
  15183. type: string
  15184. remainamount:
  15185. description: 合同剩余金额 -> 剩余金额
  15186. type: number
  15187. remainwrpositionqty:
  15188. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  15189. type: number
  15190. remark:
  15191. description: 备注
  15192. type: string
  15193. scfcontractid:
  15194. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15195. type: string
  15196. scfcontractstatus:
  15197. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  15198. 9:违约结束 10:已注销 11:已关闭 99:未提交
  15199. type: integer
  15200. scfcontracttype:
  15201. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  15202. type: integer
  15203. startinterestday:
  15204. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  15205. type: string
  15206. totalinterest:
  15207. description: 已计利息 -> 已计费用
  15208. type: number
  15209. unpaidinterest:
  15210. description: 未结费用
  15211. type: number
  15212. updatetime:
  15213. description: 更新时间
  15214. type: string
  15215. warehouseid:
  15216. description: 仓库ID
  15217. type: integer
  15218. warehousename:
  15219. description: 仓库名称
  15220. type: string
  15221. wrfactortypeid:
  15222. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15223. type: string
  15224. wrfactortypename:
  15225. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15226. type: string
  15227. wrqty:
  15228. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  15229. type: number
  15230. wrstandardcode:
  15231. description: 现货商品代码
  15232. type: string
  15233. wrstandardid:
  15234. description: 现货商品ID
  15235. type: integer
  15236. wrstandardname:
  15237. description: 商品名称
  15238. type: string
  15239. wrtypename:
  15240. description: 商品
  15241. type: string
  15242. type: object
  15243. models.WrScfContractInterest:
  15244. properties:
  15245. closeinterest:
  15246. description: 已结利息
  15247. type: number
  15248. closeintereststatus:
  15249. description: 结息状态 - 1:未结 2:已结
  15250. type: integer
  15251. closetime:
  15252. description: 结息时间
  15253. type: string
  15254. closetradedate:
  15255. description: 结息交易日
  15256. type: string
  15257. creatorid:
  15258. description: 操作人ID
  15259. type: integer
  15260. dayrate:
  15261. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  15262. type: number
  15263. interest:
  15264. description: 利息
  15265. type: number
  15266. interestamount:
  15267. description: 计息金额
  15268. type: number
  15269. interestday:
  15270. description: 计息日(yyyyMMdd)
  15271. type: string
  15272. scfcontractid:
  15273. description: SCF合同ID
  15274. type: string
  15275. scfcontractinterestid:
  15276. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  15277. type: integer
  15278. updatetime:
  15279. description: 更新时间
  15280. type: string
  15281. type: object
  15282. models.WrSpecialMatchOrder:
  15283. properties:
  15284. amount:
  15285. description: 金额 = 数量 * 价格
  15286. type: number
  15287. buyorsell:
  15288. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15289. type: integer
  15290. cancelqty:
  15291. description: 撤销数量
  15292. type: number
  15293. deliverygoodscode:
  15294. description: 品种代码
  15295. type: string
  15296. deliverygoodsid:
  15297. description: 品种ID
  15298. type: integer
  15299. deliverygoodsname:
  15300. description: 品种名称
  15301. type: string
  15302. enumdicname:
  15303. description: 单位名称
  15304. type: string
  15305. fixedprice:
  15306. description: 固定价格(价格)
  15307. type: number
  15308. haswr:
  15309. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15310. type: integer
  15311. marketid:
  15312. description: 市场ID
  15313. type: integer
  15314. matchuserid:
  15315. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  15316. type: integer
  15317. matchusername:
  15318. description: 指定方
  15319. type: string
  15320. minivalue:
  15321. description: 现货商品最小变动值
  15322. type: integer
  15323. optioncompare:
  15324. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15325. type: string
  15326. orderqty:
  15327. description: 委托数量
  15328. type: number
  15329. ordertime:
  15330. description: 委托时间
  15331. type: string
  15332. pricemove:
  15333. description: 升贴水(浮动价时填写) - [挂牌]
  15334. type: number
  15335. tradedate:
  15336. description: 交易日(yyyyMMdd)
  15337. type: string
  15338. tradeprice:
  15339. description: 成交价格
  15340. type: number
  15341. tradeqty:
  15342. description: 成交数量
  15343. type: number
  15344. userid:
  15345. description: 用户ID
  15346. type: integer
  15347. username:
  15348. description: 发起方
  15349. type: string
  15350. warehouseid:
  15351. description: 仓库ID
  15352. type: integer
  15353. warehousename:
  15354. description: 仓库名称
  15355. type: string
  15356. wrfactortypeid:
  15357. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15358. type: string
  15359. wrfactortypename:
  15360. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15361. type: string
  15362. wrpricetype:
  15363. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15364. type: integer
  15365. wrstandardcode:
  15366. description: 现货商品代码
  15367. type: string
  15368. wrstandardid:
  15369. description: 现货商品ID
  15370. type: integer
  15371. wrstandardname:
  15372. description: 商品名称
  15373. type: string
  15374. wrtradeorderid:
  15375. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15376. type: string
  15377. wrtradeorderstatus:
  15378. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  15379. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  15380. type: integer
  15381. wrtradetype:
  15382. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15383. type: integer
  15384. wrtypename:
  15385. description: 商品
  15386. type: string
  15387. type: object
  15388. models.WrStandardFactoryItem:
  15389. properties:
  15390. dgfactoryitemid:
  15391. description: 选择项id
  15392. type: integer
  15393. dgfactoryitemvalue:
  15394. description: 要素项值
  15395. type: string
  15396. warehouseid:
  15397. description: 仓库id
  15398. type: integer
  15399. type: object
  15400. models.WrStandardFactoryItemEx:
  15401. properties:
  15402. dgfactoryitemtypeid:
  15403. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  15404. type: integer
  15405. itemlst:
  15406. description: 要素项列表
  15407. items:
  15408. $ref: '#/definitions/models.WrStandardFactoryItem'
  15409. type: array
  15410. itemtypename:
  15411. description: 要素项类型名称
  15412. type: string
  15413. wrstandardid:
  15414. description: 品类
  15415. type: integer
  15416. type: object
  15417. models.WrTradeDetail:
  15418. properties:
  15419. accountid:
  15420. description: 资金账号
  15421. type: integer
  15422. buyorsell:
  15423. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15424. type: integer
  15425. deliverygoodscode:
  15426. description: 品种代码
  15427. type: string
  15428. deliverygoodsid:
  15429. description: 品种ID
  15430. type: integer
  15431. deliverygoodsname:
  15432. description: 品种名称
  15433. type: string
  15434. deliverymonth:
  15435. description: 交收月
  15436. type: string
  15437. enumdicname:
  15438. description: 单位名称
  15439. type: string
  15440. haswr:
  15441. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15442. type: integer
  15443. marketid:
  15444. description: 市场ID
  15445. type: integer
  15446. matchaccountid:
  15447. description: 对手账号
  15448. type: integer
  15449. matchusername:
  15450. description: 对手方
  15451. type: string
  15452. minivalue:
  15453. description: 现货商品最小变动值
  15454. type: integer
  15455. optioncompare:
  15456. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15457. type: string
  15458. tradedate:
  15459. description: 交易日(yyyyMMdd)
  15460. type: string
  15461. tradeprice:
  15462. description: 成交价格
  15463. type: number
  15464. tradeqty:
  15465. description: 成交数量
  15466. type: number
  15467. tradetime:
  15468. description: 成交时间
  15469. type: string
  15470. userid:
  15471. description: 用户ID
  15472. type: integer
  15473. warehouseid:
  15474. description: 仓库ID
  15475. type: integer
  15476. warehousename:
  15477. description: 仓库名称
  15478. type: string
  15479. wrfactortypeid:
  15480. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15481. type: string
  15482. wrfactortypename:
  15483. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15484. type: string
  15485. wrstandardcode:
  15486. description: 现货商品代码
  15487. type: string
  15488. wrstandardid:
  15489. description: 现货商品ID
  15490. type: integer
  15491. wrstandardname:
  15492. description: 商品名称
  15493. type: string
  15494. wrtradedetailid:
  15495. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  15496. type: string
  15497. wrtradetype:
  15498. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15499. type: integer
  15500. wrtypename:
  15501. description: 商品
  15502. type: string
  15503. type: object
  15504. models.WrTradeOrderDetail:
  15505. properties:
  15506. buyorsell:
  15507. description: 买卖方向 0-买 1-卖
  15508. type: integer
  15509. goodsid:
  15510. description: 商品id
  15511. type: integer
  15512. orderid:
  15513. description: 委托单号
  15514. type: string
  15515. orderprice:
  15516. description: 委托价格
  15517. type: number
  15518. orderqty:
  15519. description: 委托数量
  15520. type: integer
  15521. userid:
  15522. description: 用户id
  15523. type: integer
  15524. username:
  15525. description: 用户名称(已脱敏)
  15526. type: string
  15527. type: object
  15528. models.WrTypeItem:
  15529. properties:
  15530. name:
  15531. description: 名称
  15532. type: string
  15533. value:
  15534. description: 值
  15535. type: string
  15536. type: object
  15537. models.WrUserFriend:
  15538. properties:
  15539. friendname:
  15540. description: 朋友名称(已脱敏)
  15541. type: string
  15542. frienduserid:
  15543. description: 朋友id
  15544. type: integer
  15545. isfriend:
  15546. description: 是否好友 0-不是 1-是
  15547. type: integer
  15548. userid:
  15549. description: 用户id
  15550. type: integer
  15551. type: object
  15552. order.QueryHisTradeDetailRsp:
  15553. properties:
  15554. accountid:
  15555. description: 账户ID[报价币种]
  15556. type: integer
  15557. advanceratio:
  15558. description: 首付比率
  15559. type: number
  15560. buildtype:
  15561. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  15562. type: integer
  15563. buyorsell:
  15564. description: 方向 - 0:买 1:卖
  15565. type: integer
  15566. charge:
  15567. description: 手续费
  15568. type: number
  15569. closecharge:
  15570. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15571. type: number
  15572. closeexchagechargevalue:
  15573. description: 平仓交易所手续费设置值
  15574. type: number
  15575. closefeealgorithm:
  15576. description: 平仓手续费收取方式 1:比率 2:固定
  15577. type: integer
  15578. closememberchargevalue:
  15579. description: 平仓会员手续费设置值
  15580. type: number
  15581. closepl:
  15582. description: 平仓盈亏
  15583. type: number
  15584. closepl2:
  15585. description: 平仓盈亏[逐笔]
  15586. type: number
  15587. closeqty:
  15588. description: 平仓数量(先建后平操作 需要记录)
  15589. type: number
  15590. creditamount:
  15591. description: 授信金额
  15592. type: number
  15593. decimalplace:
  15594. description: 商品报价小数位
  15595. type: integer
  15596. enumdicname:
  15597. description: 单位名称
  15598. type: string
  15599. gcaccountid:
  15600. description: 账户ID[合约币种]
  15601. type: integer
  15602. goodscode:
  15603. description: 商品代码
  15604. type: string
  15605. goodsid:
  15606. description: 商品ID
  15607. type: integer
  15608. goodsname:
  15609. description: 商品名称
  15610. type: string
  15611. goodunitid:
  15612. description: 商品单位id
  15613. type: integer
  15614. histradedate:
  15615. description: 历史交易日
  15616. type: string
  15617. intclosepl:
  15618. description: 整型盈亏(用于交易结算试算平衡-收益权)
  15619. type: integer
  15620. isconfirmexercise:
  15621. description: 是否确认行权- 0:否 1:是
  15622. type: integer
  15623. ismain:
  15624. description: 是否主单 - 0:不是 1:是
  15625. type: integer
  15626. ispreexercise:
  15627. description: 是否预申报- 0:否 1:是
  15628. type: integer
  15629. isreckoned:
  15630. description: 是否结算 - 0:未结算 1:已结算
  15631. type: integer
  15632. isvaliddata:
  15633. description: 是否有效 - 0:无效 1:有效
  15634. type: integer
  15635. listingselecttype:
  15636. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15637. type: integer
  15638. marketid:
  15639. description: 市场ID
  15640. type: integer
  15641. marketname:
  15642. description: 市场名称
  15643. type: string
  15644. matchaccountid:
  15645. description: 对手账号id
  15646. type: integer
  15647. memberuserid:
  15648. description: 会员id 个人投资者 需要填写
  15649. type: integer
  15650. opencharge:
  15651. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15652. type: number
  15653. openexchagechargevalue:
  15654. description: 建仓交易所手续费设置值
  15655. type: number
  15656. openfeealgorithm:
  15657. description: 建仓手续费收取方式 1:比率 2:固定
  15658. type: integer
  15659. openmemberchargevalue:
  15660. description: 建仓会员手续费设置值
  15661. type: number
  15662. openqty:
  15663. description: 开仓数量(先建后平操作 需要记录)
  15664. type: number
  15665. optiontype:
  15666. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15667. type: integer
  15668. orderid:
  15669. description: 委托单号
  15670. type: string
  15671. payamount:
  15672. description: 支付金额(付款金额)
  15673. type: number
  15674. performanceplanid:
  15675. description: 履约计划ID[期权]
  15676. type: integer
  15677. performancestatus:
  15678. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  15679. type: integer
  15680. preexerciseprice:
  15681. description: 预申报价格
  15682. type: number
  15683. premium:
  15684. description: 权利金 - [持仓单的权利金]
  15685. type: number
  15686. qtydecimalplace:
  15687. description: 商品报价小数位
  15688. type: integer
  15689. recvamount:
  15690. description: 到账金额 = 成交金额 - 手续费
  15691. type: number
  15692. relatedouttradeid:
  15693. description: 关联外部成交单ID
  15694. type: integer
  15695. status:
  15696. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  15697. type: integer
  15698. totalamount:
  15699. description: 订单总额 = 成交金额 + 手续费
  15700. type: number
  15701. tradeamount:
  15702. description: 成交金额[账户币种,用于所有权]
  15703. type: number
  15704. tradedate:
  15705. description: 交易日(yyyyMMdd)
  15706. type: string
  15707. tradeid:
  15708. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15709. type: string
  15710. trademode:
  15711. description: 交易模式
  15712. type: integer
  15713. tradeprice:
  15714. description: 成交价格
  15715. type: number
  15716. tradeproperty:
  15717. description: 交易属性
  15718. type: integer
  15719. tradeqty:
  15720. description: 成交数量
  15721. type: number
  15722. tradetime:
  15723. description: 成交时间
  15724. type: string
  15725. tradetype:
  15726. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  15727. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  15728. type: integer
  15729. required:
  15730. - accountid
  15731. - buyorsell
  15732. - goodsid
  15733. - histradedate
  15734. - marketid
  15735. - memberuserid
  15736. - orderid
  15737. - tradeamount
  15738. - tradedate
  15739. - tradeid
  15740. - tradeprice
  15741. - tradeqty
  15742. - tradetime
  15743. type: object
  15744. order.QueryHisTradeOrderDetailRsp:
  15745. properties:
  15746. accountid:
  15747. description: 账户ID[报价币种]
  15748. type: integer
  15749. buildtype:
  15750. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  15751. type: integer
  15752. buyorsell:
  15753. description: 买卖 - 0:买 1:卖
  15754. type: integer
  15755. cancelorderid:
  15756. description: 撤单单号(撤单时填写)
  15757. type: string
  15758. cancelqty:
  15759. description: 撤单数量
  15760. type: number
  15761. clientordertime:
  15762. description: 客户端委托时间
  15763. type: string
  15764. clientticket:
  15765. description: 客户端流水号
  15766. type: string
  15767. clienttype:
  15768. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  15769. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  15770. type: integer
  15771. closeexchagechargevalue:
  15772. description: 平仓交易所手续费设置值
  15773. type: number
  15774. closefeealgorithm:
  15775. description: 平仓手续费收取方式 1:比率 2:固定
  15776. type: integer
  15777. closefreezecharge:
  15778. description: 平仓冻结手续费(先建后平操作,需要记录)
  15779. type: number
  15780. closememberchargevalue:
  15781. description: 平仓会员手续费设置值
  15782. type: number
  15783. closeqty:
  15784. description: 平仓数量(先建后平操作 需要记录)
  15785. type: number
  15786. closetradeqty:
  15787. description: 平仓成交数量(先建后平操作,需要记录)
  15788. type: number
  15789. closeunfreezecharge:
  15790. description: 平仓解冻手续费(先建后平操作,需要记录)
  15791. type: number
  15792. decimalplace:
  15793. description: 商品报价小数位
  15794. type: integer
  15795. delistingtype:
  15796. description: 摘牌类型 - 1:价格最优 2:点选成交
  15797. type: integer
  15798. enumdicname:
  15799. description: 单位名称
  15800. type: string
  15801. freezecharge:
  15802. description: 冻结手续费
  15803. type: number
  15804. freezemargin:
  15805. description: 冻结保证金(冻结交易金额)
  15806. type: number
  15807. gcaccountid:
  15808. description: 账户ID[合约币种]
  15809. type: integer
  15810. goodscode:
  15811. description: 商品代码
  15812. type: string
  15813. goodsid:
  15814. description: 商品ID
  15815. type: integer
  15816. goodsname:
  15817. description: 商品名称
  15818. type: string
  15819. goodunitid:
  15820. description: 商品单位id
  15821. type: integer
  15822. histradedate:
  15823. description: 历史交易日
  15824. type: string
  15825. isconfirmexercise:
  15826. description: 是否确认行权- 0:否 1:是
  15827. type: integer
  15828. ispreexercise:
  15829. description: 是否预申报- 0:否 1:是
  15830. type: integer
  15831. isvaliddata:
  15832. description: 是否有效 - 0:无效 1:有效
  15833. type: integer
  15834. listingselecttype:
  15835. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15836. type: integer
  15837. marginalgorithm:
  15838. description: 保证金收取方式 1:比率 2:固定
  15839. type: integer
  15840. marginvalue:
  15841. description: 即市保证金设置值
  15842. type: number
  15843. marketid:
  15844. description: 市场ID
  15845. type: integer
  15846. marketmaxsub:
  15847. description: 市价最大偏移范围
  15848. type: number
  15849. marketname:
  15850. description: 市场名称
  15851. type: string
  15852. memberuserid:
  15853. description: 所属会员UserID
  15854. type: integer
  15855. openexchagechargevalue:
  15856. description: 建仓交易所手续费设置值
  15857. type: number
  15858. openfeealgorithm:
  15859. description: 建仓手续费收取方式 1:比率 2:固定
  15860. type: integer
  15861. openfreezecharge:
  15862. description: 开仓冻结手续费(先建后平操作,需要记录)
  15863. type: number
  15864. openmemberchargevalue:
  15865. description: 建仓会员手续费设置值
  15866. type: number
  15867. openqty:
  15868. description: 开仓数量(先建后平操作,需要记录)
  15869. type: number
  15870. opentradeqty:
  15871. description: 开仓成交数量(先建后平操作,需要记录)
  15872. type: number
  15873. openunfreezecharge:
  15874. description: 开仓解冻手续费(先建后平操作,需要记录)
  15875. type: number
  15876. operatetype:
  15877. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  15878. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  15879. 15:管理端协议转让
  15880. type: integer
  15881. operatorid:
  15882. description: 登录账号(LoginID)
  15883. type: integer
  15884. optiontype:
  15885. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15886. type: integer
  15887. orderid:
  15888. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15889. type: string
  15890. orderprice:
  15891. description: 委托价格
  15892. type: number
  15893. orderqty:
  15894. description: 委托数量
  15895. type: number
  15896. ordersrc:
  15897. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  15898. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  15899. type: integer
  15900. orderstatus:
  15901. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  15902. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  15903. 16:成交失败违约(荷兰式竞拍专用)
  15904. type: integer
  15905. ordertime:
  15906. description: 委托时间
  15907. type: string
  15908. preexerciseprice:
  15909. description: 预申报价格
  15910. type: number
  15911. premium:
  15912. description: 权利金
  15913. type: number
  15914. preorderid:
  15915. description: 关联预埋单号(止盈止损单时填写)
  15916. type: string
  15917. pricemode:
  15918. description: '取价方式 - 1:市价 2: 限价'
  15919. type: integer
  15920. qtydecimalplace:
  15921. description: 成交量小数位
  15922. type: integer
  15923. quoteid:
  15924. description: 报价单ID
  15925. type: integer
  15926. relatedid:
  15927. description: 关联单号(交割单)
  15928. type: string
  15929. retcode:
  15930. description: 错误代码
  15931. type: integer
  15932. sessionid:
  15933. description: 会话ID
  15934. type: integer
  15935. tradedate:
  15936. description: 交易日(yyyyMMdd)
  15937. type: string
  15938. trademode:
  15939. description: 交易模式
  15940. type: integer
  15941. tradeproperty:
  15942. description: 交易属性
  15943. type: integer
  15944. tradeqty:
  15945. description: 成交数量
  15946. type: number
  15947. unfreezecharge:
  15948. description: 解冻手续费
  15949. type: number
  15950. unfreezemargin:
  15951. description: 解冻保证金
  15952. type: number
  15953. updatetime:
  15954. description: 更新时间
  15955. type: string
  15956. uuid:
  15957. description: 发起端唯一id
  15958. type: string
  15959. validtime:
  15960. description: 有效期限
  15961. type: string
  15962. validtype:
  15963. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  15964. type: integer
  15965. volumetype:
  15966. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  15967. type: integer
  15968. required:
  15969. - accountid
  15970. - buildtype
  15971. - buyorsell
  15972. - goodsid
  15973. - histradedate
  15974. - marketid
  15975. - memberuserid
  15976. - operatetype
  15977. - orderid
  15978. - orderqty
  15979. - ordertime
  15980. - pricemode
  15981. - tradedate
  15982. - validtype
  15983. type: object
  15984. order.QueryTradeDetailRsp:
  15985. properties:
  15986. accountid:
  15987. description: 账户ID[报价币种]
  15988. type: integer
  15989. advanceratio:
  15990. description: 首付比率
  15991. type: number
  15992. buildtype:
  15993. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  15994. type: integer
  15995. buyorsell:
  15996. description: 方向 - 0:买 1:卖
  15997. type: integer
  15998. charge:
  15999. description: 手续费
  16000. type: number
  16001. closecharge:
  16002. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16003. type: number
  16004. closeexchagechargevalue:
  16005. description: 平仓交易所手续费设置值
  16006. type: number
  16007. closefeealgorithm:
  16008. description: 平仓手续费收取方式 1:比率 2:固定
  16009. type: integer
  16010. closememberchargevalue:
  16011. description: 平仓会员手续费设置值
  16012. type: number
  16013. closepl:
  16014. description: 平仓盈亏
  16015. type: number
  16016. closepl2:
  16017. description: 平仓盈亏[逐笔]
  16018. type: number
  16019. closeqty:
  16020. description: 平仓数量(先建后平操作 需要记录)
  16021. type: number
  16022. creditamount:
  16023. description: 授信金额
  16024. type: number
  16025. decimalplace:
  16026. description: 商品报价小数位
  16027. type: integer
  16028. enumdicname:
  16029. description: 单位名称
  16030. type: string
  16031. gcaccountid:
  16032. description: 账户ID[合约币种]
  16033. type: integer
  16034. goodscode:
  16035. description: 商品代码
  16036. type: string
  16037. goodsid:
  16038. description: 商品ID
  16039. type: integer
  16040. goodsname:
  16041. description: 商品名称
  16042. type: string
  16043. goodunitid:
  16044. description: 商品单位id
  16045. type: integer
  16046. intclosepl:
  16047. description: 整型盈亏(用于交易结算试算平衡-收益权)
  16048. type: integer
  16049. isconfirmexercise:
  16050. description: 是否确认行权- 0:否 1:是
  16051. type: integer
  16052. ismain:
  16053. description: 是否主单 - 0:不是 1:是
  16054. type: integer
  16055. ispreexercise:
  16056. description: 是否预申报- 0:否 1:是
  16057. type: integer
  16058. isreckoned:
  16059. description: 是否结算 - 0:未结算 1:已结算
  16060. type: integer
  16061. listingselecttype:
  16062. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16063. type: integer
  16064. marketid:
  16065. description: 市场ID
  16066. type: integer
  16067. marketname:
  16068. description: 市场名称
  16069. type: string
  16070. matchaccountid:
  16071. description: 对手账号id
  16072. type: integer
  16073. memberuserid:
  16074. description: 会员id 个人投资者 需要填写
  16075. type: integer
  16076. opencharge:
  16077. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16078. type: number
  16079. openexchagechargevalue:
  16080. description: 建仓交易所手续费设置值
  16081. type: number
  16082. openfeealgorithm:
  16083. description: 建仓手续费收取方式 1:比率 2:固定
  16084. type: integer
  16085. openmemberchargevalue:
  16086. description: 建仓会员手续费设置值
  16087. type: number
  16088. openqty:
  16089. description: 开仓数量(先建后平操作 需要记录)
  16090. type: number
  16091. optiontype:
  16092. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16093. type: integer
  16094. orderid:
  16095. description: 委托单号
  16096. type: string
  16097. payamount:
  16098. description: 支付金额(付款金额)
  16099. type: number
  16100. performanceplanid:
  16101. description: 履约计划ID[期权]
  16102. type: integer
  16103. performancestatus:
  16104. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  16105. type: integer
  16106. preexerciseprice:
  16107. description: 预申报价格
  16108. type: number
  16109. premium:
  16110. description: 权利金 - [持仓单的权利金]
  16111. type: number
  16112. qtydecimalplace:
  16113. description: 商品报价小数位
  16114. type: integer
  16115. recvamount:
  16116. description: 到账金额 = 成交金额 - 手续费
  16117. type: number
  16118. relatedouttradeid:
  16119. description: 关联外部成交单ID
  16120. type: integer
  16121. status:
  16122. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  16123. type: integer
  16124. totalamount:
  16125. description: 订单总额 = 成交金额 + 手续费
  16126. type: number
  16127. tradeamount:
  16128. description: 成交金额[账户币种,用于所有权]
  16129. type: number
  16130. tradedate:
  16131. description: 交易日(yyyyMMdd)
  16132. type: string
  16133. tradeid:
  16134. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16135. type: string
  16136. trademode:
  16137. description: 交易模式
  16138. type: integer
  16139. tradeprice:
  16140. description: 成交价格
  16141. type: number
  16142. tradeproperty:
  16143. description: 交易属性
  16144. type: integer
  16145. tradeqty:
  16146. description: 成交数量
  16147. type: number
  16148. tradetime:
  16149. description: 成交时间
  16150. type: string
  16151. tradetype:
  16152. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  16153. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  16154. type: integer
  16155. required:
  16156. - accountid
  16157. - buyorsell
  16158. - goodsid
  16159. - marketid
  16160. - memberuserid
  16161. - orderid
  16162. - tradeamount
  16163. - tradedate
  16164. - tradeid
  16165. - tradeprice
  16166. - tradeqty
  16167. - tradetime
  16168. type: object
  16169. order.QueryTradeOrderDetailRsp:
  16170. properties:
  16171. accountid:
  16172. description: 账户ID[报价币种]
  16173. type: integer
  16174. buildtype:
  16175. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  16176. type: integer
  16177. buyorsell:
  16178. description: 买卖 - 0:买 1:卖
  16179. type: integer
  16180. cancelorderid:
  16181. description: 撤单单号(撤单时填写)
  16182. type: string
  16183. cancelqty:
  16184. description: 撤单数量
  16185. type: number
  16186. clienttype:
  16187. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  16188. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  16189. type: integer
  16190. closefreezecharge:
  16191. description: 平仓冻结手续费(先建后平操作,需要记录)
  16192. type: number
  16193. closeqty:
  16194. description: 平仓数量(先建后平操作 需要记录)
  16195. type: number
  16196. closetradeqty:
  16197. description: 平仓成交数量(先建后平操作,需要记录)
  16198. type: number
  16199. closeunfreezecharge:
  16200. description: 平仓解冻手续费(先建后平操作,需要记录)
  16201. type: number
  16202. decimalplace:
  16203. description: 商品报价小数位
  16204. type: integer
  16205. delistingtype:
  16206. description: 摘牌类型 - 1:价格最优 2:点选成交
  16207. type: integer
  16208. enableqty:
  16209. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  16210. type: number
  16211. enumdicname:
  16212. description: 单位名称
  16213. type: string
  16214. freezecharge:
  16215. description: 冻结手续费
  16216. type: number
  16217. freezemargin:
  16218. description: 冻结保证金(冻结交易金额)
  16219. type: number
  16220. goodscode:
  16221. description: 商品代码
  16222. type: string
  16223. goodsid:
  16224. description: 商品ID
  16225. type: integer
  16226. goodsname:
  16227. description: 商品名称
  16228. type: string
  16229. goodunitid:
  16230. description: 商品单位id
  16231. type: integer
  16232. listingselecttype:
  16233. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16234. type: integer
  16235. marketid:
  16236. description: 市场ID
  16237. type: integer
  16238. marketname:
  16239. description: 市场名称
  16240. type: string
  16241. openfreezecharge:
  16242. description: 开仓冻结手续费(先建后平操作,需要记录)
  16243. type: number
  16244. openqty:
  16245. description: 开仓数量(先建后平操作,需要记录)
  16246. type: number
  16247. opentradeqty:
  16248. description: 开仓成交数量(先建后平操作,需要记录)
  16249. type: number
  16250. openunfreezecharge:
  16251. description: 开仓解冻手续费(先建后平操作,需要记录)
  16252. type: number
  16253. operatetype:
  16254. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  16255. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  16256. 15:管理端协议转让
  16257. type: integer
  16258. operatorid:
  16259. description: 登录账号(LoginID)
  16260. type: integer
  16261. orderid:
  16262. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16263. type: string
  16264. orderprice:
  16265. description: 委托价格
  16266. type: number
  16267. orderqty:
  16268. description: 委托数量
  16269. type: number
  16270. ordersrc:
  16271. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  16272. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  16273. type: integer
  16274. orderstatus:
  16275. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  16276. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  16277. 16:成交失败违约(荷兰式竞拍专用)
  16278. type: integer
  16279. ordertime:
  16280. description: 委托时间
  16281. type: string
  16282. preorderid:
  16283. description: 关联预埋单号(止盈止损单时填写)
  16284. type: string
  16285. pricemode:
  16286. description: '取价方式 - 1:市价 2: 限价'
  16287. type: integer
  16288. qtydecimalplace:
  16289. description: 商品报价小数位
  16290. type: integer
  16291. relatedid:
  16292. description: 关联单号(交割单)
  16293. type: string
  16294. tradedate:
  16295. description: 交易日(yyyyMMdd)
  16296. type: string
  16297. trademode:
  16298. description: 交易模式
  16299. type: integer
  16300. tradeqty:
  16301. description: 成交数量
  16302. type: number
  16303. unfreezecharge:
  16304. description: 解冻手续费
  16305. type: number
  16306. unfreezemargin:
  16307. description: 解冻保证金
  16308. type: number
  16309. validtime:
  16310. description: 有效期限
  16311. type: string
  16312. validtype:
  16313. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  16314. type: integer
  16315. volumetype:
  16316. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  16317. type: integer
  16318. required:
  16319. - accountid
  16320. - buildtype
  16321. - buyorsell
  16322. - goodsid
  16323. - marketid
  16324. - operatetype
  16325. - orderqty
  16326. - ordertime
  16327. - pricemode
  16328. - tradedate
  16329. - validtype
  16330. type: object
  16331. order.QueryTradePositionRsp:
  16332. properties:
  16333. accountid:
  16334. description: 资金账户
  16335. type: integer
  16336. agreeunit:
  16337. description: 合约单位
  16338. type: number
  16339. averageprice:
  16340. description: 持仓均价
  16341. type: number
  16342. buyorsell:
  16343. description: 方向 - 0:买 1:卖
  16344. type: integer
  16345. closetotalqty:
  16346. description: 平仓总数量
  16347. type: number
  16348. curholderamount:
  16349. description: 当前持仓总金额[商品币种]
  16350. type: number
  16351. curpositionqty:
  16352. description: 当前持仓总数量
  16353. type: number
  16354. currencyid:
  16355. description: 报价货币ID
  16356. type: integer
  16357. curtdposition:
  16358. description: 期末今日头寸
  16359. type: number
  16360. decimalplace:
  16361. description: 报价小数位
  16362. type: integer
  16363. enableqty:
  16364. description: 可用量
  16365. type: number
  16366. fretdposition:
  16367. description: 冻结今日头寸
  16368. type: number
  16369. frozenqty:
  16370. description: 持仓冻结数量
  16371. type: number
  16372. goodscode:
  16373. description: 商品代码
  16374. type: string
  16375. goodsid:
  16376. description: 商品Id
  16377. type: integer
  16378. goodsname:
  16379. description: 商品名称
  16380. type: string
  16381. goodunit:
  16382. description: 报价单位
  16383. type: string
  16384. goodunitid:
  16385. description: 报价单位ID
  16386. type: integer
  16387. holderamount:
  16388. description: 期初持仓总金额[商品币种]
  16389. type: number
  16390. lastprice:
  16391. description: 最新价
  16392. type: number
  16393. marketamount:
  16394. description: 市值
  16395. type: number
  16396. marketid:
  16397. description: 所属市场ID
  16398. type: integer
  16399. openreqqty:
  16400. description: 开仓申请数量(用于比较最大持仓数量)
  16401. type: number
  16402. opentotalqty:
  16403. description: 开仓总数量
  16404. type: number
  16405. otherfrozenqty:
  16406. description: 持仓其他冻结数量(交割冻结)
  16407. type: number
  16408. positionpl:
  16409. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  16410. * 合约单位
  16411. type: number
  16412. positionplrate:
  16413. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  16414. type: number
  16415. positionqty:
  16416. description: 期初持仓数量
  16417. type: number
  16418. qtydecimalplace:
  16419. description: 成交量小数位
  16420. type: integer
  16421. tnqty:
  16422. description: T+N冻结总量
  16423. type: number
  16424. tnusedqty:
  16425. description: T+N使用量(可以使用T+N的冻结数量)
  16426. type: number
  16427. trademode:
  16428. description: 交易模式
  16429. type: integer
  16430. usedmargin:
  16431. description: 占用保证金[商品币种]
  16432. type: number
  16433. required:
  16434. - goodsid
  16435. type: object
  16436. quote.HistoryData:
  16437. properties:
  16438. c:
  16439. description: 收盘价
  16440. type: number
  16441. f:
  16442. description: 是否补充数据
  16443. type: boolean
  16444. h:
  16445. description: 最高价
  16446. type: number
  16447. hv:
  16448. description: 持仓量
  16449. type: integer
  16450. l:
  16451. description: 最低价
  16452. type: number
  16453. o:
  16454. description: 开盘价
  16455. type: number
  16456. s:
  16457. description: 结算价,日线周期(包括)以上才有
  16458. type: number
  16459. ts:
  16460. description: 时间
  16461. type: string
  16462. tt:
  16463. description: 总金额
  16464. type: number
  16465. tv:
  16466. description: 总量
  16467. type: integer
  16468. type: object
  16469. quote.HistoryTikData:
  16470. properties:
  16471. AV:
  16472. description: 卖量
  16473. type: integer
  16474. Ask:
  16475. description: 卖价
  16476. type: number
  16477. BV:
  16478. description: 买量
  16479. type: integer
  16480. Bid:
  16481. description: 买价
  16482. type: number
  16483. HI:
  16484. description: 单笔持仓
  16485. type: integer
  16486. HV:
  16487. description: 持仓量
  16488. type: integer
  16489. PE:
  16490. description: 现价
  16491. type: number
  16492. TDR:
  16493. description: 交易方向,0:买 1:卖
  16494. type: integer
  16495. TK:
  16496. description: 交易类型
  16497. type: integer
  16498. TS:
  16499. description: 行情时间文本
  16500. type: string
  16501. TT:
  16502. description: 现金额
  16503. type: number
  16504. Vol:
  16505. description: 现量
  16506. type: integer
  16507. type: object
  16508. quote.QueryQuoteDayRsp:
  16509. properties:
  16510. ask:
  16511. description: 卖1
  16512. type: number
  16513. ask2:
  16514. description: 卖2
  16515. type: number
  16516. ask3:
  16517. description: 卖3
  16518. type: number
  16519. ask4:
  16520. description: 卖4
  16521. type: number
  16522. ask5:
  16523. description: 卖5
  16524. type: number
  16525. ask6:
  16526. description: 卖6
  16527. type: number
  16528. ask7:
  16529. description: 卖7
  16530. type: number
  16531. ask8:
  16532. description: 卖8
  16533. type: number
  16534. ask9:
  16535. description: 卖9
  16536. type: number
  16537. ask10:
  16538. description: 卖10
  16539. type: number
  16540. askorderid:
  16541. description: 卖单号1
  16542. type: integer
  16543. askorderid2:
  16544. description: 卖单号2
  16545. type: integer
  16546. askorderid3:
  16547. description: 卖单号3
  16548. type: integer
  16549. askorderid4:
  16550. description: 卖单号4
  16551. type: integer
  16552. askorderid5:
  16553. description: 卖单号5
  16554. type: integer
  16555. askordervolume:
  16556. description: 卖单量1
  16557. type: integer
  16558. askordervolume2:
  16559. description: 卖单量2
  16560. type: integer
  16561. askordervolume3:
  16562. description: 卖单量3
  16563. type: integer
  16564. askordervolume4:
  16565. description: 卖单量4
  16566. type: integer
  16567. askordervolume5:
  16568. description: 卖单量5
  16569. type: integer
  16570. askordervolume6:
  16571. description: 卖单量6
  16572. type: integer
  16573. askordervolume7:
  16574. description: 卖单量7
  16575. type: integer
  16576. askordervolume8:
  16577. description: 卖单量8
  16578. type: integer
  16579. askordervolume9:
  16580. description: 卖单量9
  16581. type: integer
  16582. askordervolume10:
  16583. description: 卖单量10
  16584. type: integer
  16585. askqueueinfo:
  16586. description: 大利市卖港股用
  16587. type: string
  16588. askvolume:
  16589. description: 卖量1
  16590. type: integer
  16591. askvolume2:
  16592. description: 卖量2
  16593. type: integer
  16594. askvolume3:
  16595. description: 卖量3
  16596. type: integer
  16597. askvolume4:
  16598. description: 卖量4
  16599. type: integer
  16600. askvolume5:
  16601. description: 卖量5
  16602. type: integer
  16603. askvolume6:
  16604. description: 卖量6
  16605. type: integer
  16606. askvolume7:
  16607. description: 卖量7
  16608. type: integer
  16609. askvolume8:
  16610. description: 卖量8
  16611. type: integer
  16612. askvolume9:
  16613. description: 卖量9
  16614. type: integer
  16615. askvolume10:
  16616. description: 卖量10
  16617. type: integer
  16618. averageprice:
  16619. description: 均价
  16620. type: number
  16621. bid:
  16622. description: 买1
  16623. type: number
  16624. bid2:
  16625. description: 买2
  16626. type: number
  16627. bid3:
  16628. description: 买3
  16629. type: number
  16630. bid4:
  16631. description: 买4
  16632. type: number
  16633. bid5:
  16634. description: 买5
  16635. type: number
  16636. bid6:
  16637. description: 买6
  16638. type: number
  16639. bid7:
  16640. description: 买7
  16641. type: number
  16642. bid8:
  16643. description: 买8
  16644. type: number
  16645. bid9:
  16646. description: 买9
  16647. type: number
  16648. bid10:
  16649. description: 买10
  16650. type: number
  16651. bidorderid:
  16652. description: 买单号1
  16653. type: integer
  16654. bidorderid2:
  16655. description: 买单号2
  16656. type: integer
  16657. bidorderid3:
  16658. description: 买单号3
  16659. type: integer
  16660. bidorderid4:
  16661. description: 买单号4
  16662. type: integer
  16663. bidorderid5:
  16664. description: 买单号5
  16665. type: integer
  16666. bidordervolume:
  16667. description: 买单量1
  16668. type: integer
  16669. bidordervolume2:
  16670. description: 买单量2
  16671. type: integer
  16672. bidordervolume3:
  16673. description: 买单量3
  16674. type: integer
  16675. bidordervolume4:
  16676. description: 买单量4
  16677. type: integer
  16678. bidordervolume5:
  16679. description: 买单量5
  16680. type: integer
  16681. bidordervolume6:
  16682. description: 买单量6
  16683. type: integer
  16684. bidordervolume7:
  16685. description: 买单量7
  16686. type: integer
  16687. bidordervolume8:
  16688. description: 买单量8
  16689. type: integer
  16690. bidordervolume9:
  16691. description: 买单量9
  16692. type: integer
  16693. bidordervolume10:
  16694. description: 买单量10
  16695. type: integer
  16696. bidqueueinfo:
  16697. description: 大利市买港股用
  16698. type: string
  16699. bidvolume:
  16700. description: 买量1
  16701. type: integer
  16702. bidvolume2:
  16703. description: 买量2
  16704. type: integer
  16705. bidvolume3:
  16706. description: 买量3
  16707. type: integer
  16708. bidvolume4:
  16709. description: 买量4
  16710. type: integer
  16711. bidvolume5:
  16712. description: 买量5
  16713. type: integer
  16714. bidvolume6:
  16715. description: 买量6
  16716. type: integer
  16717. bidvolume7:
  16718. description: 买量7
  16719. type: integer
  16720. bidvolume8:
  16721. description: 买量8
  16722. type: integer
  16723. bidvolume9:
  16724. description: 买量9
  16725. type: integer
  16726. bidvolume10:
  16727. description: 买量10
  16728. type: integer
  16729. calloptionpremiums:
  16730. description: 认购期权1
  16731. type: integer
  16732. calloptionpremiums2:
  16733. description: 认购期权2
  16734. type: integer
  16735. calloptionpremiums3:
  16736. description: 认购期权3
  16737. type: integer
  16738. calloptionpremiums4:
  16739. description: 认购期权4
  16740. type: integer
  16741. calloptionpremiums5:
  16742. description: 认购期权5
  16743. type: integer
  16744. cleartime:
  16745. description: 清盘时间
  16746. type: integer
  16747. exchangecode:
  16748. description: 交易所代码
  16749. type: integer
  16750. exchangedate:
  16751. description: 交易日
  16752. type: integer
  16753. goodscode:
  16754. description: 商品代码
  16755. type: string
  16756. grepmarketprice:
  16757. description: 暗盘价 港股专用
  16758. type: number
  16759. highest:
  16760. description: 最高价
  16761. type: number
  16762. holdincrement:
  16763. description: 单笔持仓
  16764. type: integer
  16765. holdvolume:
  16766. description: 持仓
  16767. type: integer
  16768. iep:
  16769. description: 平衡价 港股专用
  16770. type: number
  16771. iev:
  16772. description: 平衡量 港股专用
  16773. type: number
  16774. inventory:
  16775. description: 库存
  16776. type: integer
  16777. iscleared:
  16778. description: 是否清盘标志
  16779. type: integer
  16780. issettled:
  16781. description: 是否结算标志
  16782. type: integer
  16783. last:
  16784. description: 最新价
  16785. type: number
  16786. lastlot:
  16787. description: 最新成交手数
  16788. type: integer
  16789. lasttime:
  16790. description: 行情时间(只有现价变化行情时间才变化)
  16791. type: string
  16792. lastturnover:
  16793. description: 最新成交金额
  16794. type: number
  16795. lastvolume:
  16796. description: 最新成交量
  16797. type: integer
  16798. limitdown:
  16799. description: 跌停价
  16800. type: number
  16801. limitup:
  16802. description: 涨停价
  16803. type: number
  16804. lowest:
  16805. description: 最低价
  16806. type: number
  16807. nontotalholdervolume:
  16808. description: 非交易持仓量
  16809. type: integer
  16810. nontotallot:
  16811. description: 非交易总手数
  16812. type: integer
  16813. nontotalturnover:
  16814. description: 非交易总金额
  16815. type: integer
  16816. nontotalvolume:
  16817. description: 非交易总量
  16818. type: integer
  16819. opened:
  16820. description: 开盘价
  16821. type: number
  16822. opentime:
  16823. description: 开盘时间
  16824. type: string
  16825. orderid:
  16826. description: 序号
  16827. type: integer
  16828. preclose:
  16829. description: 昨收
  16830. type: number
  16831. preholdvolume:
  16832. description: 昨持仓
  16833. type: integer
  16834. presettle:
  16835. description: 昨结价
  16836. type: number
  16837. publictradetype:
  16838. description: 公共交易标志类型 港股专用
  16839. type: string
  16840. putoptionpremiums:
  16841. description: 认沽期权1
  16842. type: integer
  16843. putoptionpremiums2:
  16844. description: 认沽期权2
  16845. type: integer
  16846. putoptionpremiums3:
  16847. description: 认沽期权3
  16848. type: integer
  16849. putoptionpremiums4:
  16850. description: 认沽期权4
  16851. type: integer
  16852. putoptionpremiums5:
  16853. description: 认沽期权5
  16854. type: integer
  16855. settle:
  16856. description: 结算价
  16857. type: number
  16858. strikeprice:
  16859. description: 发行价
  16860. type: number
  16861. totalaskvolume:
  16862. description: 内盘
  16863. type: integer
  16864. totalbidvolume:
  16865. description: 外盘
  16866. type: integer
  16867. totallot:
  16868. description: 总手数
  16869. type: integer
  16870. totalturnover:
  16871. description: 总金额
  16872. type: number
  16873. totalvolume:
  16874. description: 总量
  16875. type: integer
  16876. utclasttime:
  16877. description: utc的行情时间
  16878. type: string
  16879. type: object
  16880. quote.QueryTSDataRsp:
  16881. properties:
  16882. Count:
  16883. description: 交易日应有数据个数
  16884. type: integer
  16885. decimalPlace:
  16886. description: 小数位
  16887. type: integer
  16888. endTime:
  16889. description: 结束时间
  16890. type: string
  16891. goodsCode:
  16892. description: 商品代码
  16893. type: string
  16894. historyDatas:
  16895. description: 历史数据
  16896. items:
  16897. $ref: '#/definitions/quote.HistoryData'
  16898. type: array
  16899. outGoodsCode:
  16900. description: 外部商品代码
  16901. type: string
  16902. preSettle:
  16903. description: 昨结价
  16904. type: number
  16905. runSteps:
  16906. description: 交易日开休市计划
  16907. items:
  16908. $ref: '#/definitions/quote.TSDataRunStep'
  16909. type: array
  16910. startTime:
  16911. description: 开始时间
  16912. type: string
  16913. tradeDate:
  16914. description: 交易日
  16915. type: string
  16916. type: object
  16917. quote.TSDataRunStep:
  16918. properties:
  16919. end:
  16920. description: 真实结束时间
  16921. type: string
  16922. endflag:
  16923. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  16924. type: integer
  16925. endtime:
  16926. description: 结束时间(HH:mm)
  16927. type: string
  16928. endweekday:
  16929. description: 结束周几
  16930. type: integer
  16931. groupid:
  16932. description: 分组ID
  16933. type: integer
  16934. runstep:
  16935. description: 运行阶段 - 2:连续交易
  16936. type: integer
  16937. sectionid:
  16938. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  16939. 结束时间=结算时间 结束周几=结算周几
  16940. type: integer
  16941. start:
  16942. description: 真实开始时间
  16943. type: string
  16944. startflag:
  16945. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  16946. type: integer
  16947. starttime:
  16948. description: 起始时间(HH:mm)
  16949. type: string
  16950. startweekday:
  16951. description: 起始周几
  16952. type: integer
  16953. tradeweekday:
  16954. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  16955. type: integer
  16956. type: object
  16957. szdz.QueryConvertLogRsp:
  16958. properties:
  16959. accountid:
  16960. description: 资金账户ID
  16961. type: integer
  16962. clientticket:
  16963. description: 客户端流水号
  16964. type: string
  16965. converttype:
  16966. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  16967. type: integer
  16968. createtime:
  16969. description: 记账时间
  16970. type: string
  16971. daymaxvalue:
  16972. description: 配置当日最大转入限制
  16973. type: number
  16974. daymaxvalue2:
  16975. description: 配置当日最大转入限制(转入)
  16976. type: number
  16977. goodscode:
  16978. description: 商品代码
  16979. type: string
  16980. goodsname:
  16981. description: 商品名称
  16982. type: string
  16983. handlestatus:
  16984. description: 处理状态
  16985. type: integer
  16986. innergoodsid:
  16987. description: 内部商品ID
  16988. type: integer
  16989. inratio:
  16990. description: 配置转入比值
  16991. type: integer
  16992. invalue:
  16993. description: 目标值
  16994. type: number
  16995. logid:
  16996. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16997. type: integer
  16998. mobile:
  16999. description: 手机号码(加密存储)
  17000. type: string
  17001. outergoodscode:
  17002. description: 外部商品代码[JD\PD]
  17003. type: string
  17004. outratio:
  17005. description: 配置转出比值
  17006. type: integer
  17007. outvalue:
  17008. description: 源值
  17009. type: number
  17010. pddecimalplace:
  17011. description: PD小数位
  17012. type: integer
  17013. qty:
  17014. description: 数量
  17015. type: string
  17016. remark:
  17017. description: 备注
  17018. type: string
  17019. sessionid:
  17020. description: 会话ID
  17021. type: integer
  17022. timemaxvalue:
  17023. description: 配置单次最大转入限制
  17024. type: number
  17025. timemaxvalue2:
  17026. description: 配置单次最大转入限制(转入)
  17027. type: number
  17028. timeminvalue:
  17029. description: 配置单次最小数量限制
  17030. type: number
  17031. timeminvalue2:
  17032. description: 配置单次最小数量限制(转入)
  17033. type: number
  17034. tradedate:
  17035. description: 交易日(yyyyMMdd)
  17036. type: string
  17037. userid:
  17038. description: 用户ID
  17039. type: integer
  17040. required:
  17041. - logid
  17042. type: object
  17043. szdz.QueryGoodsPickupRsp:
  17044. properties:
  17045. accountid:
  17046. description: 账户ID
  17047. type: integer
  17048. address:
  17049. description: 提货人详细地址
  17050. type: string
  17051. auditer:
  17052. description: 审核人
  17053. type: integer
  17054. audittime:
  17055. description: 审核时间
  17056. type: string
  17057. cardnum:
  17058. description: 提货人证件号码
  17059. type: string
  17060. cardtypeid:
  17061. description: 提货人证件类型
  17062. type: integer
  17063. checkremark:
  17064. description: 审核备注
  17065. type: string
  17066. goodscode:
  17067. description: 商品代码
  17068. type: string
  17069. goodsid:
  17070. description: 商品ID
  17071. type: integer
  17072. goodsname:
  17073. description: 商品名称
  17074. type: string
  17075. handlestatus:
  17076. description: 处理状态
  17077. type: integer
  17078. marketid:
  17079. description: 市场ID
  17080. type: integer
  17081. phonenum:
  17082. description: 提货人联系方式
  17083. type: string
  17084. qty:
  17085. description: 提货数量
  17086. type: number
  17087. recivername:
  17088. description: 提货人姓名
  17089. type: string
  17090. reqtime:
  17091. description: 更新时间
  17092. type: string
  17093. takemode:
  17094. description: 提货方式 - 2:自提 3:配送
  17095. type: integer
  17096. takeorderid:
  17097. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  17098. type: string
  17099. takeorderstatus:
  17100. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17101. type: integer
  17102. takeremark:
  17103. description: 提货备注
  17104. type: string
  17105. tradedate:
  17106. description: 交易日(yyyyMMdd)
  17107. type: string
  17108. userid:
  17109. description: 用户ID
  17110. type: integer
  17111. required:
  17112. - takeorderid
  17113. type: object
  17114. szdz.QueryRecieptOrderRsp:
  17115. properties:
  17116. accountName:
  17117. description: 所属账号名称(已脱敏)
  17118. type: string
  17119. accountid:
  17120. description: 资金账号
  17121. type: integer
  17122. buyorsell:
  17123. description: 方向 - 0:买 1:卖
  17124. type: integer
  17125. enableqty:
  17126. description: 可摘数量
  17127. type: integer
  17128. goodscode:
  17129. description: 商品代码
  17130. type: string
  17131. goodsid:
  17132. description: 商品ID
  17133. type: integer
  17134. goodsname:
  17135. description: 商品名称
  17136. type: string
  17137. orderid:
  17138. description: 委托单号
  17139. type: string
  17140. orderprice:
  17141. description: 委托价格
  17142. type: number
  17143. ordertime:
  17144. description: 委托时间
  17145. type: string
  17146. tradedate:
  17147. description: 交易日(yyyyMMdd)
  17148. type: string
  17149. required:
  17150. - ordertime
  17151. type: object
  17152. szdz.QuerySZDZTradePositionRsp:
  17153. properties:
  17154. accountid:
  17155. description: 账号Id
  17156. type: integer
  17157. agreeunit:
  17158. description: 合约单位
  17159. type: number
  17160. averageprice:
  17161. description: 持仓均价
  17162. type: number
  17163. buyorsell:
  17164. description: 方向 - 0:买 1:卖
  17165. type: integer
  17166. closetotalqty:
  17167. description: 平仓总数量
  17168. type: integer
  17169. curholderamount:
  17170. description: 当前持仓总金额
  17171. type: number
  17172. curpositionqty:
  17173. description: 当前持仓总数量
  17174. type: integer
  17175. currencyid:
  17176. description: 报价货币ID
  17177. type: integer
  17178. curtdposition:
  17179. description: 期末今日头寸
  17180. type: integer
  17181. decimalplace:
  17182. description: 报价小数位
  17183. type: integer
  17184. enableqty:
  17185. description: 可用量
  17186. type: integer
  17187. fretdposition:
  17188. description: 冻结今日头寸
  17189. type: integer
  17190. frozenqty:
  17191. description: 持仓冻结数量
  17192. type: integer
  17193. goodscode:
  17194. description: 商品代码(内部)
  17195. type: string
  17196. goodsid:
  17197. description: 商品Id
  17198. type: integer
  17199. goodsname:
  17200. description: 商品名称
  17201. type: string
  17202. goodunit:
  17203. description: 报价单位
  17204. type: string
  17205. goodunitid:
  17206. description: 报价单位ID
  17207. type: integer
  17208. holderamount:
  17209. description: 期初持仓总金额
  17210. type: number
  17211. marketid:
  17212. description: 市场ID
  17213. type: integer
  17214. openreqqty:
  17215. description: 开仓申请数量
  17216. type: integer
  17217. opentotalqty:
  17218. description: 开仓总数量
  17219. type: integer
  17220. otherfrozenqty:
  17221. description: 持仓其他冻结数量(交割冻结)
  17222. type: integer
  17223. positionqty:
  17224. description: 期初持仓数量
  17225. type: integer
  17226. szdz3freezqty:
  17227. description: 尚志大宗转换冻结总数量
  17228. type: integer
  17229. tnqty:
  17230. description: T+N冻结总量
  17231. type: integer
  17232. tnusedqty:
  17233. description: T+N使用量
  17234. type: integer
  17235. trademode:
  17236. description: 交易模式
  17237. type: integer
  17238. usedmargin:
  17239. description: 占用保证金
  17240. type: number
  17241. type: object
  17242. taaccount.QueryAmountLogRsp:
  17243. properties:
  17244. OPERATETYPENAME:
  17245. description: 资金操作类型名称
  17246. type: string
  17247. accountid:
  17248. description: 资金账户ID
  17249. type: integer
  17250. agoodscode:
  17251. description: 竞拍商品代码
  17252. type: string
  17253. agoodsname:
  17254. description: 竞拍商品名称
  17255. type: string
  17256. amount:
  17257. description: 资金金额
  17258. type: number
  17259. amountadjusttype:
  17260. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  17261. type: integer
  17262. autoid:
  17263. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  17264. type: integer
  17265. balance:
  17266. description: 期初余额
  17267. type: number
  17268. businesscode:
  17269. description: 业务编号
  17270. type: integer
  17271. createtime:
  17272. description: 发生时间
  17273. type: string
  17274. currencyid:
  17275. description: 币种ID
  17276. type: integer
  17277. currentbalance:
  17278. description: 期末余额(变动后金额)
  17279. type: number
  17280. dgoodscode:
  17281. description: 交割商品代码
  17282. type: string
  17283. dgoodsname:
  17284. description: 交割商品名称
  17285. type: string
  17286. goodscode:
  17287. description: 商品代码
  17288. type: string
  17289. goodsid:
  17290. description: 商品ID
  17291. type: integer
  17292. goodsname:
  17293. description: 商品名称
  17294. type: string
  17295. marketid:
  17296. description: 市场ID
  17297. type: integer
  17298. marketname:
  17299. description: 市场名称
  17300. type: string
  17301. moneyticket:
  17302. description: 资金流水号:银行端流水号
  17303. type: integer
  17304. operatetype:
  17305. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  17306. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  17307. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  17308. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  17309. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  17310. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  17311. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  17312. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  17313. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  17314. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  17315. type: integer
  17316. relationorderid:
  17317. description: 关联单号
  17318. type: string
  17319. remark:
  17320. description: 备注
  17321. type: string
  17322. trademode:
  17323. description: 交易模式
  17324. type: integer
  17325. required:
  17326. - accountid
  17327. - amount
  17328. - amountadjusttype
  17329. - autoid
  17330. - balance
  17331. - createtime
  17332. - currentbalance
  17333. - operatetype
  17334. type: object
  17335. taaccount.QueryHisAmountLogRsp:
  17336. properties:
  17337. OPERATETYPENAME:
  17338. description: 资金操作类型名称
  17339. type: string
  17340. accountid:
  17341. description: 资金账户ID
  17342. type: integer
  17343. agoodscode:
  17344. description: 竞拍商品代码
  17345. type: string
  17346. agoodsname:
  17347. description: 竞拍商品名称
  17348. type: string
  17349. amount:
  17350. description: 资金金额
  17351. type: number
  17352. amountadjusttype:
  17353. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  17354. type: integer
  17355. autoid:
  17356. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  17357. type: integer
  17358. balance:
  17359. description: 期初余额
  17360. type: number
  17361. businesscode:
  17362. description: 业务编号
  17363. type: integer
  17364. createtime:
  17365. description: 发生时间
  17366. type: string
  17367. currencyid:
  17368. description: 币种ID
  17369. type: integer
  17370. currentbalance:
  17371. description: 期末余额(变动后金额)
  17372. type: number
  17373. dgoodscode:
  17374. description: 交割商品代码
  17375. type: string
  17376. dgoodsname:
  17377. description: 交割商品名称
  17378. type: string
  17379. goodscode:
  17380. description: 商品代码
  17381. type: string
  17382. goodsid:
  17383. description: 商品ID
  17384. type: integer
  17385. goodsname:
  17386. description: 商品名称
  17387. type: string
  17388. histradedate:
  17389. description: 历史交易日
  17390. type: string
  17391. isvaliddata:
  17392. description: 是否有效 - 0:无效 1:有效
  17393. type: integer
  17394. marketid:
  17395. description: 市场ID
  17396. type: integer
  17397. marketname:
  17398. description: 市场名称
  17399. type: string
  17400. moneyticket:
  17401. description: 资金流水号:银行端流水号
  17402. type: integer
  17403. operatetype:
  17404. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  17405. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  17406. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  17407. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  17408. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  17409. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  17410. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  17411. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  17412. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  17413. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  17414. type: integer
  17415. relationorderid:
  17416. description: 关联单号
  17417. type: string
  17418. remark:
  17419. description: 备注
  17420. type: string
  17421. trademode:
  17422. description: 交易模式
  17423. type: integer
  17424. required:
  17425. - accountid
  17426. - amount
  17427. - amountadjusttype
  17428. - autoid
  17429. - balance
  17430. - createtime
  17431. - currentbalance
  17432. - histradedate
  17433. - operatetype
  17434. type: object
  17435. trade.QueryRecieptOrderRsp:
  17436. properties:
  17437. accountName:
  17438. description: 所属账号名称(已脱敏)
  17439. type: string
  17440. accountid:
  17441. description: 资金账号
  17442. type: integer
  17443. buyorsell:
  17444. description: 方向 - 0:买 1:卖
  17445. type: integer
  17446. enableqty:
  17447. description: 可摘数量
  17448. type: integer
  17449. goodscode:
  17450. description: 商品代码
  17451. type: string
  17452. goodsid:
  17453. description: 商品ID
  17454. type: integer
  17455. goodsname:
  17456. description: 商品名称
  17457. type: string
  17458. orderid:
  17459. description: 委托单号
  17460. type: string
  17461. orderprice:
  17462. description: 委托价格
  17463. type: number
  17464. ordertime:
  17465. description: 委托时间
  17466. type: string
  17467. tradedate:
  17468. description: 交易日(yyyyMMdd)
  17469. type: string
  17470. required:
  17471. - ordertime
  17472. type: object
  17473. user.LoginQueryRsp:
  17474. properties:
  17475. areaRoles:
  17476. description: 所属角色信息
  17477. items:
  17478. $ref: '#/definitions/models.Arearole'
  17479. type: array
  17480. externalExchanges:
  17481. description: 外部交易所
  17482. items:
  17483. $ref: '#/definitions/models.Externalexchange'
  17484. type: array
  17485. goodsgroups:
  17486. description: 商品组
  17487. items:
  17488. $ref: '#/definitions/models.Goodsgroup'
  17489. type: array
  17490. loginAccount:
  17491. $ref: '#/definitions/models.Loginaccount'
  17492. description: 登录账号
  17493. type: object
  17494. markets:
  17495. description: 市场
  17496. items:
  17497. $ref: '#/definitions/models.Market'
  17498. type: array
  17499. systemParams:
  17500. description: 系统参数
  17501. items:
  17502. $ref: '#/definitions/models.Systemparam'
  17503. type: array
  17504. userAccount:
  17505. $ref: '#/definitions/models.Useraccount'
  17506. description: 用户账号
  17507. type: object
  17508. userInfo:
  17509. $ref: '#/definitions/models.Userinfo'
  17510. description: 用户信息
  17511. type: object
  17512. username:
  17513. description: 用户姓名
  17514. type: string
  17515. type: object
  17516. info:
  17517. contact: {}
  17518. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  17519. license: {}
  17520. termsOfService: http://www.muchinfo.cn
  17521. title: MTP2.0 查询服务 API
  17522. version: "1.0"
  17523. paths:
  17524. /CPTrade/QueryCPTradeMyBidInfos:
  17525. get:
  17526. parameters:
  17527. - description: 资金账户
  17528. in: query
  17529. name: accountid
  17530. required: true
  17531. type: integer
  17532. - description: 预售市场ID
  17533. in: query
  17534. name: marketid
  17535. type: integer
  17536. - description: 预售商品ID
  17537. in: query
  17538. name: goodsid
  17539. type: integer
  17540. produces:
  17541. - application/json
  17542. responses:
  17543. "200":
  17544. description: OK
  17545. schema:
  17546. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  17547. "500":
  17548. description: Internal Server Error
  17549. schema:
  17550. $ref: '#/definitions/app.Response'
  17551. security:
  17552. - ApiKeyAuth: []
  17553. summary: 查询产能预售我的出价信息
  17554. tags:
  17555. - 产能预售
  17556. /CPTrade/QueryCPTradeOrderDetail:
  17557. get:
  17558. parameters:
  17559. - description: 预售商品ID
  17560. in: query
  17561. name: goodsid
  17562. type: integer
  17563. - description: 预售市场ID
  17564. in: query
  17565. name: marketid
  17566. type: integer
  17567. - description: 预售商品ID列表 - 格式:1,2,3
  17568. in: query
  17569. name: goodsids
  17570. type: string
  17571. produces:
  17572. - application/json
  17573. responses:
  17574. "200":
  17575. description: OK
  17576. schema:
  17577. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  17578. "500":
  17579. description: Internal Server Error
  17580. schema:
  17581. $ref: '#/definitions/app.Response'
  17582. security:
  17583. - ApiKeyAuth: []
  17584. summary: 查询产能预售委托单信息
  17585. tags:
  17586. - 产能预售
  17587. /CPTrade/QueryMyCPTradeGoods:
  17588. get:
  17589. parameters:
  17590. - description: 资金账户
  17591. in: query
  17592. name: accountid
  17593. required: true
  17594. type: integer
  17595. produces:
  17596. - application/json
  17597. responses:
  17598. "200":
  17599. description: OK
  17600. schema:
  17601. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  17602. "500":
  17603. description: Internal Server Error
  17604. schema:
  17605. $ref: '#/definitions/app.Response'
  17606. security:
  17607. - ApiKeyAuth: []
  17608. summary: 查询我的预售信息
  17609. tags:
  17610. - 产能预售
  17611. /CPTrade/QueryPositionCancel:
  17612. get:
  17613. parameters:
  17614. - description: 账户ID
  17615. in: query
  17616. name: userid
  17617. required: true
  17618. type: integer
  17619. - description: 注销ID
  17620. in: query
  17621. name: cancelid
  17622. type: integer
  17623. - description: 资金账户ID
  17624. in: query
  17625. name: accountid
  17626. type: integer
  17627. produces:
  17628. - application/json
  17629. responses:
  17630. "200":
  17631. description: OK
  17632. schema:
  17633. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  17634. "500":
  17635. description: Internal Server Error
  17636. schema:
  17637. $ref: '#/definitions/app.Response'
  17638. security:
  17639. - ApiKeyAuth: []
  17640. summary: 查询远期订单注销申请信息
  17641. tags:
  17642. - 产能预售
  17643. /CPTrade/QueryPreasleApply:
  17644. get:
  17645. parameters:
  17646. - description: 账户ID
  17647. in: query
  17648. name: userid
  17649. required: true
  17650. type: integer
  17651. - description: 申请ID
  17652. in: query
  17653. name: applyid
  17654. type: integer
  17655. - description: 资金账户ID
  17656. in: query
  17657. name: accountid
  17658. type: integer
  17659. produces:
  17660. - application/json
  17661. responses:
  17662. "200":
  17663. description: OK
  17664. schema:
  17665. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  17666. "500":
  17667. description: Internal Server Error
  17668. schema:
  17669. $ref: '#/definitions/app.Response'
  17670. security:
  17671. - ApiKeyAuth: []
  17672. summary: 查询产能预售申请信息
  17673. tags:
  17674. - 产能预售
  17675. /CPTrade/QueryPresaleGoodsEx:
  17676. get:
  17677. parameters:
  17678. - description: 预售商品ID
  17679. in: query
  17680. name: goodsid
  17681. type: integer
  17682. - description: 预售市场ID
  17683. in: query
  17684. name: marketid
  17685. type: integer
  17686. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  17687. in: query
  17688. name: presalemode
  17689. type: integer
  17690. - description: 预售商品ID列表 - 格式:1,2,3
  17691. in: query
  17692. name: goodsids
  17693. type: string
  17694. - description: 预售商品代码
  17695. in: query
  17696. name: goodscode
  17697. type: string
  17698. produces:
  17699. - application/json
  17700. responses:
  17701. "200":
  17702. description: OK
  17703. schema:
  17704. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  17705. "500":
  17706. description: Internal Server Error
  17707. schema:
  17708. $ref: '#/definitions/app.Response'
  17709. security:
  17710. - ApiKeyAuth: []
  17711. summary: 查询产能预售商品扩展信息
  17712. tags:
  17713. - 产能预售
  17714. /CPTrade/QueryUserGoodsData:
  17715. get:
  17716. parameters:
  17717. - description: 资金账户ID
  17718. in: query
  17719. name: accountid
  17720. required: true
  17721. type: integer
  17722. produces:
  17723. - application/json
  17724. responses:
  17725. "200":
  17726. description: OK
  17727. schema:
  17728. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  17729. "500":
  17730. description: Internal Server Error
  17731. schema:
  17732. $ref: '#/definitions/app.Response'
  17733. security:
  17734. - ApiKeyAuth: []
  17735. summary: 查询远期订单信息
  17736. tags:
  17737. - 产能预售
  17738. /Common/GetAllEnums:
  17739. get:
  17740. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  17741. parameters:
  17742. - description: 起始自增ID
  17743. in: query
  17744. name: autoid
  17745. type: integer
  17746. produces:
  17747. - application/json
  17748. responses:
  17749. "200":
  17750. description: OK
  17751. schema:
  17752. $ref: '#/definitions/models.Enumdicitem'
  17753. "500":
  17754. description: Internal Server Error
  17755. schema:
  17756. $ref: '#/definitions/app.Response'
  17757. summary: 获取所有枚举信息
  17758. tags:
  17759. - 通用服务
  17760. /Common/GetClientMenus:
  17761. get:
  17762. parameters:
  17763. - description: 登录账号
  17764. in: query
  17765. name: loginID
  17766. required: true
  17767. type: integer
  17768. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  17769. in: query
  17770. name: clientType
  17771. type: integer
  17772. - description: 分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台
  17773. in: query
  17774. name: name
  17775. type: string
  17776. produces:
  17777. - application/json
  17778. responses:
  17779. "200":
  17780. description: OK
  17781. schema:
  17782. items:
  17783. $ref: '#/definitions/common.ClientMenu'
  17784. type: array
  17785. "500":
  17786. description: Internal Server Error
  17787. schema:
  17788. $ref: '#/definitions/app.Response'
  17789. security:
  17790. - ApiKeyAuth: []
  17791. summary: 获取交易端菜单
  17792. tags:
  17793. - 通用服务
  17794. /Common/GetDivisions:
  17795. get:
  17796. produces:
  17797. - application/json
  17798. responses:
  17799. "200":
  17800. description: OK
  17801. schema:
  17802. $ref: '#/definitions/models.Division'
  17803. "500":
  17804. description: Internal Server Error
  17805. schema:
  17806. $ref: '#/definitions/app.Response'
  17807. summary: 查询区域信息
  17808. tags:
  17809. - 通用服务
  17810. /Common/GetServerTime:
  17811. get:
  17812. produces:
  17813. - application/json
  17814. responses:
  17815. "200":
  17816. description: OK
  17817. schema:
  17818. $ref: '#/definitions/app.Response'
  17819. "500":
  17820. description: Internal Server Error
  17821. schema:
  17822. $ref: '#/definitions/app.Response'
  17823. summary: 获取服务器时间
  17824. tags:
  17825. - 通用服务
  17826. /Common/NoticeReaded:
  17827. post:
  17828. parameters:
  17829. - description: 登录账号
  17830. in: query
  17831. name: loginID
  17832. required: true
  17833. type: integer
  17834. - description: 通知公告ID
  17835. in: query
  17836. name: noticeID
  17837. required: true
  17838. type: integer
  17839. produces:
  17840. - application/json
  17841. responses:
  17842. "200":
  17843. description: OK
  17844. schema:
  17845. $ref: '#/definitions/app.Response'
  17846. "500":
  17847. description: Internal Server Error
  17848. schema:
  17849. $ref: '#/definitions/app.Response'
  17850. security:
  17851. - ApiKeyAuth: []
  17852. summary: 通知公告设置已读请求
  17853. tags:
  17854. - 通用服务
  17855. /Common/QueryErrorInfos:
  17856. get:
  17857. description: 如果传入rowNumber,则返回此rowNumber后的数据
  17858. parameters:
  17859. - description: 起始行号前索引
  17860. in: query
  17861. name: rowNumber
  17862. type: string
  17863. produces:
  17864. - application/json
  17865. responses:
  17866. "200":
  17867. description: OK
  17868. schema:
  17869. $ref: '#/definitions/models.QueryErrorInfosRsp'
  17870. "500":
  17871. description: Internal Server Error
  17872. schema:
  17873. $ref: '#/definitions/app.Response'
  17874. summary: 获取数据库错误信息
  17875. tags:
  17876. - 通用服务
  17877. /Common/QueryImageConfigs:
  17878. get:
  17879. parameters:
  17880. - description: 用户id
  17881. in: query
  17882. name: userId
  17883. type: integer
  17884. - description: 类型 - 1:App首页轮播 2:我的
  17885. in: query
  17886. name: imageType
  17887. type: integer
  17888. produces:
  17889. - application/json
  17890. responses:
  17891. "200":
  17892. description: OK
  17893. schema:
  17894. $ref: '#/definitions/common.QueryImageConfigsRsp'
  17895. "500":
  17896. description: Internal Server Error
  17897. schema:
  17898. $ref: '#/definitions/app.Response'
  17899. summary: 查询轮播图配置信息
  17900. tags:
  17901. - 通用服务
  17902. /Common/QueryNotice:
  17903. get:
  17904. parameters:
  17905. - description: 页码
  17906. in: query
  17907. name: page
  17908. type: integer
  17909. - description: 每页条数
  17910. in: query
  17911. name: pagesize
  17912. type: integer
  17913. - description: 登录账号
  17914. in: query
  17915. name: loginID
  17916. required: true
  17917. type: integer
  17918. - description: 消息类型 - 1:公告通知 2:系统消息
  17919. in: query
  17920. name: msgType
  17921. type: integer
  17922. - description: 是否只获取未读信息
  17923. in: query
  17924. name: onlyUnRead
  17925. type: boolean
  17926. - description: 自增ID,传入后会返回这个ID后面的记录
  17927. in: query
  17928. name: lastID
  17929. type: integer
  17930. produces:
  17931. - application/json
  17932. responses:
  17933. "200":
  17934. description: OK
  17935. schema:
  17936. $ref: '#/definitions/common.QueryNoticeRsp'
  17937. "500":
  17938. description: Internal Server Error
  17939. schema:
  17940. $ref: '#/definitions/app.Response'
  17941. security:
  17942. - ApiKeyAuth: []
  17943. summary: 通知公告系统消息查询
  17944. tags:
  17945. - 通用服务
  17946. /Common/QueryProvincesAndCities:
  17947. get:
  17948. parameters:
  17949. - description: 省ID
  17950. in: query
  17951. name: provinceID
  17952. type: integer
  17953. produces:
  17954. - application/json
  17955. responses:
  17956. "200":
  17957. description: OK
  17958. schema:
  17959. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  17960. "500":
  17961. description: Internal Server Error
  17962. schema:
  17963. $ref: '#/definitions/app.Response'
  17964. summary: 查询省市信息(不包括区)
  17965. tags:
  17966. - 通用服务
  17967. /Common/QueryTableDefine:
  17968. get:
  17969. parameters:
  17970. - description: 表key
  17971. in: query
  17972. name: tableKey
  17973. type: string
  17974. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  17975. in: query
  17976. name: tableType
  17977. type: integer
  17978. produces:
  17979. - application/json
  17980. responses:
  17981. "200":
  17982. description: OK
  17983. schema:
  17984. $ref: '#/definitions/common.QueryTableDefineRsp'
  17985. "500":
  17986. description: Internal Server Error
  17987. schema:
  17988. $ref: '#/definitions/app.Response'
  17989. summary: 查询交易端列表头信息
  17990. tags:
  17991. - 通用服务
  17992. /Common/QueryTraderMenu:
  17993. get:
  17994. parameters:
  17995. - description: 登录账号
  17996. in: query
  17997. name: loginid
  17998. required: true
  17999. type: integer
  18000. produces:
  18001. - application/json
  18002. responses:
  18003. "200":
  18004. description: OK
  18005. schema:
  18006. $ref: '#/definitions/common.QueryTraderMenuRsp'
  18007. "500":
  18008. description: Internal Server Error
  18009. schema:
  18010. $ref: '#/definitions/app.Response'
  18011. summary: 查询交易端菜单
  18012. tags:
  18013. - 通用服务
  18014. /Delivery/QueryDeliveryRelation:
  18015. get:
  18016. parameters:
  18017. - description: 商品ID
  18018. in: query
  18019. name: goodsid
  18020. type: integer
  18021. - description: 品种ID
  18022. in: query
  18023. name: deliverygoodsid
  18024. type: integer
  18025. - description: 市场ID
  18026. in: query
  18027. name: marketid
  18028. type: integer
  18029. produces:
  18030. - application/json
  18031. responses:
  18032. "200":
  18033. description: OK
  18034. schema:
  18035. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  18036. "500":
  18037. description: Internal Server Error
  18038. schema:
  18039. $ref: '#/definitions/app.Response'
  18040. security:
  18041. - ApiKeyAuth: []
  18042. summary: 查询商品交割关系表
  18043. tags:
  18044. - 交割服务
  18045. /Ermcp/GetErmcpGoods:
  18046. get:
  18047. parameters:
  18048. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  18049. in: query
  18050. name: lastUpdateTime
  18051. type: string
  18052. produces:
  18053. - application/json
  18054. responses:
  18055. "200":
  18056. description: OK
  18057. schema:
  18058. $ref: '#/definitions/models.ErmcpGoods'
  18059. "500":
  18060. description: Internal Server Error
  18061. schema:
  18062. $ref: '#/definitions/app.Response'
  18063. security:
  18064. - ApiKeyAuth: []
  18065. summary: 查询企业风管期货商品信息
  18066. tags:
  18067. - 企业风险管理(app)
  18068. /Ermcp/GetErmcpGoodsSortByPosition:
  18069. get:
  18070. parameters:
  18071. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  18072. in: query
  18073. name: sortIndex
  18074. type: string
  18075. produces:
  18076. - application/json
  18077. responses:
  18078. "200":
  18079. description: OK
  18080. schema:
  18081. $ref: '#/definitions/models.Goodssortbypreposition'
  18082. "500":
  18083. description: Internal Server Error
  18084. schema:
  18085. $ref: '#/definitions/app.Response'
  18086. security:
  18087. - ApiKeyAuth: []
  18088. summary: 查询企业风管期货主力、次主力商品信息
  18089. tags:
  18090. - 企业风险管理(app)
  18091. /Ermcp/GetErmcpOutAccountStatus:
  18092. get:
  18093. parameters:
  18094. - description: 登录账号
  18095. in: query
  18096. name: loginID
  18097. required: true
  18098. type: integer
  18099. produces:
  18100. - application/json
  18101. responses:
  18102. "200":
  18103. description: OK
  18104. schema:
  18105. $ref: '#/definitions/models.Hedgemarketopenlog'
  18106. "500":
  18107. description: Internal Server Error
  18108. schema:
  18109. $ref: '#/definitions/app.Response'
  18110. security:
  18111. - ApiKeyAuth: []
  18112. summary: 获取目标登录账号当前对冲账号在线状态
  18113. tags:
  18114. - 企业风险管理(app)
  18115. /Ermcp/GetErmcpRoleFuncMenuLists:
  18116. get:
  18117. parameters:
  18118. - description: 登录账号
  18119. in: query
  18120. name: loginID
  18121. required: true
  18122. type: integer
  18123. produces:
  18124. - application/json
  18125. responses:
  18126. "200":
  18127. description: OK
  18128. schema:
  18129. $ref: '#/definitions/models.Funcmenulist'
  18130. "500":
  18131. description: Internal Server Error
  18132. schema:
  18133. $ref: '#/definitions/app.Response'
  18134. security:
  18135. - ApiKeyAuth: []
  18136. summary: 获取企业风管终端权限
  18137. tags:
  18138. - 企业风险管理(app)
  18139. /Ermcp/QueryAccMgrBizGroupSet:
  18140. get:
  18141. parameters:
  18142. - description: 用户ID
  18143. in: query
  18144. name: userid
  18145. required: true
  18146. type: integer
  18147. - description: 现货商品id
  18148. in: query
  18149. name: deliverygoodsid
  18150. type: integer
  18151. produces:
  18152. - application/json
  18153. responses:
  18154. "200":
  18155. description: OK
  18156. schema:
  18157. items:
  18158. $ref: '#/definitions/models.ErmcpBizGroupEx'
  18159. type: array
  18160. "500":
  18161. description: Internal Server Error
  18162. schema:
  18163. $ref: '#/definitions/app.Response'
  18164. security:
  18165. - ApiKeyAuth: []
  18166. summary: 查询业务类型分组(账户管理/账户设置)
  18167. tags:
  18168. - 企业风险管理(app)
  18169. /Ermcp/QueryAccMgrLoginUser:
  18170. get:
  18171. parameters:
  18172. - description: 用户ID
  18173. in: query
  18174. name: userid
  18175. required: true
  18176. type: integer
  18177. - description: 用户类型 2-机构 7-企业成员
  18178. in: query
  18179. name: usertype
  18180. type: integer
  18181. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  18182. in: query
  18183. name: querytype
  18184. required: true
  18185. type: integer
  18186. produces:
  18187. - application/json
  18188. responses:
  18189. "200":
  18190. description: OK
  18191. schema:
  18192. items:
  18193. $ref: '#/definitions/models.ErmcpLoginUserEx'
  18194. type: array
  18195. "500":
  18196. description: Internal Server Error
  18197. schema:
  18198. $ref: '#/definitions/app.Response'
  18199. security:
  18200. - ApiKeyAuth: []
  18201. summary: 查询账户管理登录账号(账户管理/登录账号)
  18202. tags:
  18203. - 企业风险管理(app)
  18204. /Ermcp/QueryAccMgrMainAccountInfo:
  18205. get:
  18206. parameters:
  18207. - description: 用户ID
  18208. in: query
  18209. name: userid
  18210. type: integer
  18211. - description: 主账号id
  18212. in: query
  18213. name: accountid
  18214. type: integer
  18215. produces:
  18216. - application/json
  18217. responses:
  18218. "200":
  18219. description: OK
  18220. schema:
  18221. items:
  18222. $ref: '#/definitions/models.MainAccountInfo'
  18223. type: array
  18224. "500":
  18225. description: Internal Server Error
  18226. schema:
  18227. $ref: '#/definitions/app.Response'
  18228. security:
  18229. - ApiKeyAuth: []
  18230. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  18231. tags:
  18232. - 企业风险管理(app)
  18233. /Ermcp/QueryAccMgrRole:
  18234. get:
  18235. parameters:
  18236. - description: 用户ID
  18237. in: query
  18238. name: userid
  18239. required: true
  18240. type: integer
  18241. produces:
  18242. - application/json
  18243. responses:
  18244. "200":
  18245. description: OK
  18246. schema:
  18247. items:
  18248. $ref: '#/definitions/models.ErmcpRole'
  18249. type: array
  18250. "500":
  18251. description: Internal Server Error
  18252. schema:
  18253. $ref: '#/definitions/app.Response'
  18254. security:
  18255. - ApiKeyAuth: []
  18256. summary: 查询账户管理角色设置(账户管理/角色设置)
  18257. tags:
  18258. - 企业风险管理(app)
  18259. /Ermcp/QueryAccMgrRoleMenu:
  18260. get:
  18261. parameters:
  18262. - description: 用户ID
  18263. in: query
  18264. name: userid
  18265. required: true
  18266. type: integer
  18267. - description: 角色id(可多个,逗号隔开)
  18268. in: query
  18269. name: roleid
  18270. type: string
  18271. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  18272. in: query
  18273. name: menutype
  18274. type: integer
  18275. produces:
  18276. - application/json
  18277. responses:
  18278. "200":
  18279. description: OK
  18280. schema:
  18281. items:
  18282. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  18283. type: array
  18284. "500":
  18285. description: Internal Server Error
  18286. schema:
  18287. $ref: '#/definitions/app.Response'
  18288. security:
  18289. - ApiKeyAuth: []
  18290. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  18291. tags:
  18292. - 企业风险管理(app)
  18293. /Ermcp/QueryAccMgrTaAccountInfo:
  18294. get:
  18295. parameters:
  18296. - description: 用户ID
  18297. in: query
  18298. name: userid
  18299. required: true
  18300. type: integer
  18301. - description: 账号id
  18302. in: query
  18303. name: accountid
  18304. type: integer
  18305. produces:
  18306. - application/json
  18307. responses:
  18308. "200":
  18309. description: OK
  18310. schema:
  18311. items:
  18312. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  18313. type: array
  18314. "500":
  18315. description: Internal Server Error
  18316. schema:
  18317. $ref: '#/definitions/app.Response'
  18318. security:
  18319. - ApiKeyAuth: []
  18320. summary: 查询账户管理授信(账户管理/账户设置/授信)
  18321. tags:
  18322. - 企业风险管理(app)
  18323. /Ermcp/QueryAccMgrTaaccount:
  18324. get:
  18325. parameters:
  18326. - description: 用户ID
  18327. in: query
  18328. name: userid
  18329. required: true
  18330. type: integer
  18331. produces:
  18332. - application/json
  18333. responses:
  18334. "200":
  18335. description: OK
  18336. schema:
  18337. items:
  18338. $ref: '#/definitions/models.ErmcpTaAccountEx'
  18339. type: array
  18340. "500":
  18341. description: Internal Server Error
  18342. schema:
  18343. $ref: '#/definitions/app.Response'
  18344. security:
  18345. - ApiKeyAuth: []
  18346. summary: 查询账户管理期货账号(账户管理/期货账号)
  18347. tags:
  18348. - 企业风险管理(app)
  18349. /Ermcp/QueryAvaildGoodsGroup:
  18350. get:
  18351. parameters:
  18352. - description: 所属机构ID
  18353. in: query
  18354. name: userid
  18355. required: true
  18356. type: integer
  18357. produces:
  18358. - application/json
  18359. responses:
  18360. "200":
  18361. description: OK
  18362. schema:
  18363. items:
  18364. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  18365. type: array
  18366. "500":
  18367. description: Internal Server Error
  18368. schema:
  18369. $ref: '#/definitions/app.Response'
  18370. security:
  18371. - ApiKeyAuth: []
  18372. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  18373. tags:
  18374. - 企业风险管理(app)
  18375. /Ermcp/QueryBusinessDj:
  18376. get:
  18377. parameters:
  18378. - description: 用户ID
  18379. in: query
  18380. name: UserId
  18381. required: true
  18382. type: integer
  18383. - description: 用户类型 2-机构 7-企业成员
  18384. in: query
  18385. name: usertype
  18386. type: integer
  18387. - description: 现货合同ID, 不填则查所有
  18388. in: query
  18389. name: relatedid
  18390. type: string
  18391. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18392. in: query
  18393. name: applystatus
  18394. type: string
  18395. produces:
  18396. - application/json
  18397. responses:
  18398. "200":
  18399. description: OK
  18400. schema:
  18401. items:
  18402. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  18403. type: array
  18404. "500":
  18405. description: Internal Server Error
  18406. schema:
  18407. $ref: '#/definitions/app.Response'
  18408. security:
  18409. - ApiKeyAuth: []
  18410. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  18411. tags:
  18412. - 企业风险管理(app)
  18413. /Ermcp/QueryBusinessFp:
  18414. get:
  18415. parameters:
  18416. - description: 用户ID
  18417. in: query
  18418. name: UserId
  18419. required: true
  18420. type: integer
  18421. - description: 用户类型 2-机构 7-企业成员
  18422. in: query
  18423. name: usertype
  18424. type: integer
  18425. - description: 现货合同ID, 不填则查所有
  18426. in: query
  18427. name: relatedid
  18428. type: string
  18429. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18430. in: query
  18431. name: applystatus
  18432. type: string
  18433. produces:
  18434. - application/json
  18435. responses:
  18436. "200":
  18437. description: OK
  18438. schema:
  18439. items:
  18440. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  18441. type: array
  18442. "500":
  18443. description: Internal Server Error
  18444. schema:
  18445. $ref: '#/definitions/app.Response'
  18446. security:
  18447. - ApiKeyAuth: []
  18448. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  18449. tags:
  18450. - 企业风险管理(app)
  18451. /Ermcp/QueryBusinessJs:
  18452. get:
  18453. parameters:
  18454. - description: 用户ID
  18455. in: query
  18456. name: UserId
  18457. required: true
  18458. type: integer
  18459. - description: 用户类型 2-机构 7-企业成员
  18460. in: query
  18461. name: usertype
  18462. type: integer
  18463. - description: 现货合同ID, 不填则查所有
  18464. in: query
  18465. name: relatedid
  18466. type: string
  18467. - description: 操作申请id
  18468. in: query
  18469. name: operateapplyid
  18470. type: string
  18471. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18472. in: query
  18473. name: applystatus
  18474. type: string
  18475. produces:
  18476. - application/json
  18477. responses:
  18478. "200":
  18479. description: OK
  18480. schema:
  18481. items:
  18482. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  18483. type: array
  18484. "500":
  18485. description: Internal Server Error
  18486. schema:
  18487. $ref: '#/definitions/app.Response'
  18488. security:
  18489. - ApiKeyAuth: []
  18490. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  18491. tags:
  18492. - 企业风险管理(app)
  18493. /Ermcp/QueryBusinessJsEx:
  18494. get:
  18495. parameters:
  18496. - description: 用户ID
  18497. in: query
  18498. name: UserId
  18499. required: true
  18500. type: integer
  18501. - description: 用户类型 2-机构 7-企业成员
  18502. in: query
  18503. name: usertype
  18504. type: integer
  18505. - description: 现货合同ID, 不填则查所有
  18506. in: query
  18507. name: relatedid
  18508. type: string
  18509. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18510. in: query
  18511. name: applystatus
  18512. type: string
  18513. produces:
  18514. - application/json
  18515. responses:
  18516. "200":
  18517. description: OK
  18518. schema:
  18519. items:
  18520. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  18521. type: array
  18522. "500":
  18523. description: Internal Server Error
  18524. schema:
  18525. $ref: '#/definitions/app.Response'
  18526. security:
  18527. - ApiKeyAuth: []
  18528. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  18529. tags:
  18530. - 企业风险管理(app)
  18531. /Ermcp/QueryBusinessKx:
  18532. get:
  18533. parameters:
  18534. - description: 用户ID
  18535. in: query
  18536. name: UserId
  18537. required: true
  18538. type: integer
  18539. - description: 用户类型 2-机构 7-企业成员
  18540. in: query
  18541. name: usertype
  18542. type: integer
  18543. - description: 现货合同ID, 不填则查所有
  18544. in: query
  18545. name: relatedid
  18546. type: string
  18547. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18548. in: query
  18549. name: applystatus
  18550. type: string
  18551. produces:
  18552. - application/json
  18553. responses:
  18554. "200":
  18555. description: OK
  18556. schema:
  18557. items:
  18558. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  18559. type: array
  18560. "500":
  18561. description: Internal Server Error
  18562. schema:
  18563. $ref: '#/definitions/app.Response'
  18564. security:
  18565. - ApiKeyAuth: []
  18566. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  18567. tags:
  18568. - 企业风险管理(app)
  18569. /Ermcp/QueryChangeLog:
  18570. get:
  18571. parameters:
  18572. - description: 合同ID
  18573. in: query
  18574. name: RelatedId
  18575. required: true
  18576. type: string
  18577. produces:
  18578. - application/json
  18579. responses:
  18580. "200":
  18581. description: OK
  18582. schema:
  18583. items:
  18584. $ref: '#/definitions/ermcp.QryOPLogRsp'
  18585. type: array
  18586. "500":
  18587. description: Internal Server Error
  18588. schema:
  18589. $ref: '#/definitions/app.Response'
  18590. security:
  18591. - ApiKeyAuth: []
  18592. summary: 查询变更记录
  18593. tags:
  18594. - 企业风险管理(app)
  18595. /Ermcp/QueryErmcpHisOrderDetails:
  18596. get:
  18597. parameters:
  18598. - description: 资金账户ID
  18599. in: query
  18600. name: accountID
  18601. required: true
  18602. type: integer
  18603. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18604. in: query
  18605. name: startDate
  18606. type: string
  18607. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18608. in: query
  18609. name: endDate
  18610. type: string
  18611. produces:
  18612. - application/json
  18613. responses:
  18614. "200":
  18615. description: OK
  18616. schema:
  18617. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  18618. "500":
  18619. description: Internal Server Error
  18620. schema:
  18621. $ref: '#/definitions/app.Response'
  18622. security:
  18623. - ApiKeyAuth: []
  18624. summary: 获取企业风管期货历史委托单信息
  18625. tags:
  18626. - 企业风险管理(app)
  18627. /Ermcp/QueryErmcpHisTradeDetails:
  18628. get:
  18629. parameters:
  18630. - description: 资金账户ID
  18631. in: query
  18632. name: accountID
  18633. required: true
  18634. type: integer
  18635. - description: 商品ID
  18636. in: query
  18637. name: goodsID
  18638. type: integer
  18639. - description: 买卖方向,0:买 1:卖
  18640. in: query
  18641. name: buyOrSell
  18642. type: integer
  18643. - description: 关联委托单号
  18644. in: query
  18645. name: orderID
  18646. type: integer
  18647. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18648. in: query
  18649. name: startDate
  18650. type: string
  18651. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18652. in: query
  18653. name: endDate
  18654. type: string
  18655. produces:
  18656. - application/json
  18657. responses:
  18658. "200":
  18659. description: OK
  18660. schema:
  18661. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  18662. "500":
  18663. description: Internal Server Error
  18664. schema:
  18665. $ref: '#/definitions/app.Response'
  18666. security:
  18667. - ApiKeyAuth: []
  18668. summary: 获取企业风管期货历史成交单信息
  18669. tags:
  18670. - 企业风险管理(app)
  18671. /Ermcp/QueryErmcpInnerHolderDetails:
  18672. get:
  18673. parameters:
  18674. - description: 资金账户ID
  18675. in: query
  18676. name: accountID
  18677. required: true
  18678. type: integer
  18679. - description: 商品ID
  18680. in: query
  18681. name: goodsID
  18682. type: integer
  18683. - description: 买卖方向,0:买 1:卖
  18684. in: query
  18685. name: buyOrSell
  18686. type: integer
  18687. produces:
  18688. - application/json
  18689. responses:
  18690. "200":
  18691. description: OK
  18692. schema:
  18693. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  18694. "500":
  18695. description: Internal Server Error
  18696. schema:
  18697. $ref: '#/definitions/app.Response'
  18698. security:
  18699. - ApiKeyAuth: []
  18700. summary: 获取企业风管期货内部持仓单信息
  18701. tags:
  18702. - 企业风险管理(app)
  18703. /Ermcp/QueryErmcpOrderDetails:
  18704. get:
  18705. parameters:
  18706. - description: 资金账户ID
  18707. in: query
  18708. name: accountID
  18709. required: true
  18710. type: integer
  18711. produces:
  18712. - application/json
  18713. responses:
  18714. "200":
  18715. description: OK
  18716. schema:
  18717. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  18718. "500":
  18719. description: Internal Server Error
  18720. schema:
  18721. $ref: '#/definitions/app.Response'
  18722. security:
  18723. - ApiKeyAuth: []
  18724. summary: 获取企业风管期货委托单信息
  18725. tags:
  18726. - 企业风险管理(app)
  18727. /Ermcp/QueryErmcpTradeDetails:
  18728. get:
  18729. parameters:
  18730. - description: 资金账户ID
  18731. in: query
  18732. name: accountID
  18733. required: true
  18734. type: integer
  18735. - description: 商品ID
  18736. in: query
  18737. name: goodsID
  18738. type: integer
  18739. - description: 买卖方向,0:买 1:卖
  18740. in: query
  18741. name: buyOrSell
  18742. type: integer
  18743. - description: 关联委托单号
  18744. in: query
  18745. name: orderID
  18746. type: integer
  18747. produces:
  18748. - application/json
  18749. responses:
  18750. "200":
  18751. description: OK
  18752. schema:
  18753. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  18754. "500":
  18755. description: Internal Server Error
  18756. schema:
  18757. $ref: '#/definitions/app.Response'
  18758. security:
  18759. - ApiKeyAuth: []
  18760. summary: 获取企业风管期货成交单信息
  18761. tags:
  18762. - 企业风险管理(app)
  18763. /Ermcp/QueryErmcpTradePosition:
  18764. get:
  18765. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  18766. parameters:
  18767. - description: 资金账户ID
  18768. in: query
  18769. name: accountID
  18770. required: true
  18771. type: integer
  18772. - description: 所属市场ID
  18773. in: query
  18774. name: marketID
  18775. type: integer
  18776. produces:
  18777. - application/json
  18778. responses:
  18779. "200":
  18780. description: OK
  18781. schema:
  18782. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  18783. "500":
  18784. description: Internal Server Error
  18785. schema:
  18786. $ref: '#/definitions/app.Response'
  18787. security:
  18788. - ApiKeyAuth: []
  18789. summary: 获取企业风管期货持仓头寸信息
  18790. tags:
  18791. - 企业风险管理(app)
  18792. /Ermcp/QueryExposureDetail:
  18793. get:
  18794. parameters:
  18795. - description: 所属机构ID
  18796. in: query
  18797. name: areaUserId
  18798. required: true
  18799. type: integer
  18800. - description: 套保商品
  18801. in: query
  18802. name: middleGoodsId
  18803. required: true
  18804. type: integer
  18805. produces:
  18806. - application/json
  18807. responses:
  18808. "200":
  18809. description: OK
  18810. schema:
  18811. items:
  18812. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  18813. type: array
  18814. "500":
  18815. description: Internal Server Error
  18816. schema:
  18817. $ref: '#/definitions/app.Response'
  18818. security:
  18819. - ApiKeyAuth: []
  18820. summary: 查询敞口现货明细
  18821. tags:
  18822. - 企业风险管理(app)
  18823. /Ermcp/QueryExposureGoods:
  18824. get:
  18825. parameters:
  18826. - description: 套保商品id
  18827. in: query
  18828. name: middlegoodsid
  18829. required: true
  18830. type: integer
  18831. produces:
  18832. - application/json
  18833. responses:
  18834. "200":
  18835. description: OK
  18836. schema:
  18837. items:
  18838. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  18839. type: array
  18840. "500":
  18841. description: Internal Server Error
  18842. schema:
  18843. $ref: '#/definitions/app.Response'
  18844. security:
  18845. - ApiKeyAuth: []
  18846. summary: 查询敞口主力合约
  18847. tags:
  18848. - 企业风险管理(app)
  18849. /Ermcp/QueryExposureHedgePosition:
  18850. get:
  18851. parameters:
  18852. - description: 用户id
  18853. in: query
  18854. name: userid
  18855. required: true
  18856. type: integer
  18857. produces:
  18858. - application/json
  18859. responses:
  18860. "200":
  18861. description: OK
  18862. schema:
  18863. items:
  18864. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  18865. type: array
  18866. "500":
  18867. description: Internal Server Error
  18868. schema:
  18869. $ref: '#/definitions/app.Response'
  18870. security:
  18871. - ApiKeyAuth: []
  18872. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  18873. tags:
  18874. - 企业风险管理(app)
  18875. /Ermcp/QueryExposureHedgePositionDetail:
  18876. get:
  18877. parameters:
  18878. - description: 所属机构ID
  18879. in: query
  18880. name: userid
  18881. required: true
  18882. type: integer
  18883. - description: 商品id
  18884. in: query
  18885. name: goodsId
  18886. required: true
  18887. type: integer
  18888. produces:
  18889. - application/json
  18890. responses:
  18891. "200":
  18892. description: OK
  18893. schema:
  18894. items:
  18895. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  18896. type: array
  18897. "500":
  18898. description: Internal Server Error
  18899. schema:
  18900. $ref: '#/definitions/app.Response'
  18901. security:
  18902. - ApiKeyAuth: []
  18903. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  18904. tags:
  18905. - 企业风险管理(app)
  18906. /Ermcp/QueryExposureSpot:
  18907. get:
  18908. parameters:
  18909. - description: 所属机构ID
  18910. in: query
  18911. name: areaUserId
  18912. required: true
  18913. type: integer
  18914. produces:
  18915. - application/json
  18916. responses:
  18917. "200":
  18918. description: OK
  18919. schema:
  18920. items:
  18921. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  18922. type: array
  18923. "500":
  18924. description: Internal Server Error
  18925. schema:
  18926. $ref: '#/definitions/app.Response'
  18927. security:
  18928. - ApiKeyAuth: []
  18929. summary: 查询敞口现货头寸(敞口/现货头寸)
  18930. tags:
  18931. - 企业风险管理(app)
  18932. /Ermcp/QueryExposureSpotDetail:
  18933. get:
  18934. parameters:
  18935. - description: 所属机构ID
  18936. in: query
  18937. name: areaUserId
  18938. required: true
  18939. type: integer
  18940. - description: 现货品种ID
  18941. in: query
  18942. name: wrstandardId
  18943. required: true
  18944. type: integer
  18945. produces:
  18946. - application/json
  18947. responses:
  18948. "200":
  18949. description: OK
  18950. schema:
  18951. items:
  18952. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  18953. type: array
  18954. "500":
  18955. description: Internal Server Error
  18956. schema:
  18957. $ref: '#/definitions/app.Response'
  18958. security:
  18959. - ApiKeyAuth: []
  18960. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  18961. tags:
  18962. - 企业风险管理(app)
  18963. /Ermcp/QueryFuturesCompany:
  18964. get:
  18965. produces:
  18966. - application/json
  18967. responses:
  18968. "200":
  18969. description: OK
  18970. schema:
  18971. items:
  18972. $ref: '#/definitions/models.ErmcpFuturesCompany'
  18973. type: array
  18974. "500":
  18975. description: Internal Server Error
  18976. schema:
  18977. $ref: '#/definitions/app.Response'
  18978. security:
  18979. - ApiKeyAuth: []
  18980. summary: 查询期货公司
  18981. tags:
  18982. - 企业风险管理(app)
  18983. /Ermcp/QueryGGConvertConfig:
  18984. get:
  18985. parameters:
  18986. - description: 品种id(不填则查所有)
  18987. in: query
  18988. name: goodsgroupid
  18989. type: integer
  18990. produces:
  18991. - application/json
  18992. responses:
  18993. "200":
  18994. description: OK
  18995. schema:
  18996. items:
  18997. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  18998. type: array
  18999. "500":
  19000. description: Internal Server Error
  19001. schema:
  19002. $ref: '#/definitions/app.Response'
  19003. security:
  19004. - ApiKeyAuth: []
  19005. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  19006. tags:
  19007. - 企业风险管理(app)
  19008. /Ermcp/QueryGoodsBrand:
  19009. get:
  19010. parameters:
  19011. - description: 用户ID
  19012. in: query
  19013. name: userid
  19014. required: true
  19015. type: integer
  19016. - description: 现货商品ID
  19017. in: query
  19018. name: wrstandardid
  19019. type: integer
  19020. produces:
  19021. - application/json
  19022. responses:
  19023. "200":
  19024. description: OK
  19025. schema:
  19026. items:
  19027. $ref: '#/definitions/models.ErmcpGoodsBrand'
  19028. type: array
  19029. "500":
  19030. description: Internal Server Error
  19031. schema:
  19032. $ref: '#/definitions/app.Response'
  19033. security:
  19034. - ApiKeyAuth: []
  19035. summary: 查询商品品牌
  19036. tags:
  19037. - 企业风险管理(app)
  19038. /Ermcp/QueryGoodsModel:
  19039. get:
  19040. parameters:
  19041. - description: 用户ID
  19042. in: query
  19043. name: userid
  19044. required: true
  19045. type: integer
  19046. produces:
  19047. - application/json
  19048. responses:
  19049. "200":
  19050. description: OK
  19051. schema:
  19052. items:
  19053. $ref: '#/definitions/models.ErmcpGoodsModel'
  19054. type: array
  19055. "500":
  19056. description: Internal Server Error
  19057. schema:
  19058. $ref: '#/definitions/app.Response'
  19059. security:
  19060. - ApiKeyAuth: []
  19061. summary: 查询商品型号
  19062. tags:
  19063. - 企业风险管理(app)
  19064. /Ermcp/QueryHisExposure:
  19065. get:
  19066. parameters:
  19067. - description: 用户id
  19068. in: query
  19069. name: userid
  19070. required: true
  19071. type: integer
  19072. - description: 每个品种记录数
  19073. in: query
  19074. name: lastNum
  19075. required: true
  19076. type: integer
  19077. produces:
  19078. - application/json
  19079. responses:
  19080. "200":
  19081. description: OK
  19082. schema:
  19083. items:
  19084. $ref: '#/definitions/ermcp.HisExposureRsp'
  19085. type: array
  19086. "500":
  19087. description: Internal Server Error
  19088. schema:
  19089. $ref: '#/definitions/app.Response'
  19090. security:
  19091. - ApiKeyAuth: []
  19092. summary: 查询历史敞口(菜单:敞口/历史敞口)
  19093. tags:
  19094. - 企业风险管理(app)
  19095. /Ermcp/QueryMiddleGoods:
  19096. get:
  19097. parameters:
  19098. - description: 所属机构ID
  19099. in: query
  19100. name: userid
  19101. required: true
  19102. type: integer
  19103. - description: 状态 0-停用 1-正常
  19104. in: query
  19105. name: status
  19106. required: true
  19107. type: integer
  19108. produces:
  19109. - application/json
  19110. responses:
  19111. "200":
  19112. description: OK
  19113. schema:
  19114. items:
  19115. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  19116. type: array
  19117. "500":
  19118. description: Internal Server Error
  19119. schema:
  19120. $ref: '#/definitions/app.Response'
  19121. security:
  19122. - ApiKeyAuth: []
  19123. summary: 查询套保品种(菜单:套保品种)
  19124. tags:
  19125. - 企业风险管理(app)
  19126. /Ermcp/QueryMiddleGoodsChangeLog:
  19127. get:
  19128. parameters:
  19129. - description: 所属机构ID
  19130. in: query
  19131. name: userid
  19132. required: true
  19133. type: integer
  19134. - description: 套保品种id
  19135. in: query
  19136. name: middlegoodsid
  19137. required: true
  19138. type: integer
  19139. produces:
  19140. - application/json
  19141. responses:
  19142. "200":
  19143. description: OK
  19144. schema:
  19145. items:
  19146. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  19147. type: array
  19148. "500":
  19149. description: Internal Server Error
  19150. schema:
  19151. $ref: '#/definitions/app.Response'
  19152. security:
  19153. - ApiKeyAuth: []
  19154. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  19155. tags:
  19156. - 企业风险管理(app)
  19157. /Ermcp/QueryMiddleGoodsDetail:
  19158. get:
  19159. parameters:
  19160. - description: 所属机构ID
  19161. in: query
  19162. name: userid
  19163. required: true
  19164. type: integer
  19165. - description: 套保品种id
  19166. in: query
  19167. name: middlegoodsid
  19168. type: integer
  19169. produces:
  19170. - application/json
  19171. responses:
  19172. "200":
  19173. description: OK
  19174. schema:
  19175. items:
  19176. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  19177. type: array
  19178. "500":
  19179. description: Internal Server Error
  19180. schema:
  19181. $ref: '#/definitions/app.Response'
  19182. security:
  19183. - ApiKeyAuth: []
  19184. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  19185. tags:
  19186. - 企业风险管理(app)
  19187. /Ermcp/QueryPendingAuditInfo:
  19188. get:
  19189. parameters:
  19190. - description: 用户ID
  19191. in: query
  19192. name: UserId
  19193. required: true
  19194. type: integer
  19195. produces:
  19196. - application/json
  19197. responses:
  19198. "200":
  19199. description: OK
  19200. schema:
  19201. items:
  19202. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  19203. type: array
  19204. "500":
  19205. description: Internal Server Error
  19206. schema:
  19207. $ref: '#/definitions/app.Response'
  19208. security:
  19209. - ApiKeyAuth: []
  19210. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  19211. tags:
  19212. - 企业风险管理(app)
  19213. /Ermcp/QueryRealtimeExposure:
  19214. get:
  19215. parameters:
  19216. - description: 所属机构ID
  19217. in: query
  19218. name: userid
  19219. required: true
  19220. type: integer
  19221. produces:
  19222. - application/json
  19223. responses:
  19224. "200":
  19225. description: OK
  19226. schema:
  19227. items:
  19228. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  19229. type: array
  19230. "500":
  19231. description: Internal Server Error
  19232. schema:
  19233. $ref: '#/definitions/app.Response'
  19234. security:
  19235. - ApiKeyAuth: []
  19236. summary: 查询实时敞口
  19237. tags:
  19238. - 企业风险管理(app)
  19239. /Ermcp/QueryRealtimeExposurePosition:
  19240. get:
  19241. parameters:
  19242. - description: 用户id
  19243. in: query
  19244. name: userid
  19245. required: true
  19246. type: integer
  19247. - description: 套保商品ID
  19248. in: query
  19249. name: middleGoodsId
  19250. required: true
  19251. type: integer
  19252. produces:
  19253. - application/json
  19254. responses:
  19255. "200":
  19256. description: OK
  19257. schema:
  19258. items:
  19259. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  19260. type: array
  19261. "500":
  19262. description: Internal Server Error
  19263. schema:
  19264. $ref: '#/definitions/app.Response'
  19265. security:
  19266. - ApiKeyAuth: []
  19267. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  19268. tags:
  19269. - 企业风险管理(app)
  19270. /Ermcp/QueryRoleMenu:
  19271. get:
  19272. parameters:
  19273. - description: 登录ID
  19274. in: query
  19275. name: loginid
  19276. required: true
  19277. type: integer
  19278. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  19279. in: query
  19280. name: menutype
  19281. type: integer
  19282. produces:
  19283. - application/json
  19284. responses:
  19285. "200":
  19286. description: OK
  19287. schema:
  19288. items:
  19289. $ref: '#/definitions/models.RoleMenu'
  19290. type: array
  19291. "500":
  19292. description: Internal Server Error
  19293. schema:
  19294. $ref: '#/definitions/app.Response'
  19295. security:
  19296. - ApiKeyAuth: []
  19297. summary: 查询角色菜单和权限
  19298. tags:
  19299. - 企业风险管理(app)
  19300. /Ermcp/QueryTradeConfigTMP:
  19301. get:
  19302. parameters:
  19303. - description: 所属机构id
  19304. in: query
  19305. name: areauserid
  19306. type: integer
  19307. produces:
  19308. - application/json
  19309. responses:
  19310. "200":
  19311. description: OK
  19312. schema:
  19313. items:
  19314. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  19315. type: array
  19316. "500":
  19317. description: Internal Server Error
  19318. schema:
  19319. $ref: '#/definitions/app.Response'
  19320. security:
  19321. - ApiKeyAuth: []
  19322. summary: 查询交易模板配置
  19323. tags:
  19324. - 企业风险管理(app)
  19325. /Ermcp/QueryUserInfo:
  19326. get:
  19327. parameters:
  19328. - description: 所属机构用户ID
  19329. in: query
  19330. name: MemberUserID
  19331. required: true
  19332. type: integer
  19333. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  19334. in: query
  19335. name: queryType
  19336. required: true
  19337. type: integer
  19338. produces:
  19339. - application/json
  19340. responses:
  19341. "200":
  19342. description: OK
  19343. schema:
  19344. items:
  19345. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  19346. type: array
  19347. "500":
  19348. description: Internal Server Error
  19349. schema:
  19350. $ref: '#/definitions/app.Response'
  19351. security:
  19352. - ApiKeyAuth: []
  19353. summary: 查询客户资料
  19354. tags:
  19355. - 企业风险管理(app)
  19356. /Ermcp/QueryWarehouseInfo:
  19357. get:
  19358. parameters:
  19359. - description: 用户ID
  19360. in: query
  19361. name: userid
  19362. required: true
  19363. type: integer
  19364. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  19365. in: query
  19366. name: status
  19367. type: string
  19368. produces:
  19369. - application/json
  19370. responses:
  19371. "200":
  19372. description: OK
  19373. schema:
  19374. items:
  19375. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  19376. type: array
  19377. "500":
  19378. description: Internal Server Error
  19379. schema:
  19380. $ref: '#/definitions/app.Response'
  19381. security:
  19382. - ApiKeyAuth: []
  19383. summary: 查询仓库信息
  19384. tags:
  19385. - 企业风险管理(app)
  19386. /Ermcp3/QryAreaExpourseContractDetail:
  19387. get:
  19388. parameters:
  19389. - description: 用户ID
  19390. in: query
  19391. name: userid
  19392. required: true
  19393. type: integer
  19394. - description: 套保商品id
  19395. in: query
  19396. name: middlegoodsid
  19397. required: true
  19398. type: integer
  19399. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19400. in: query
  19401. name: cycletype
  19402. required: true
  19403. type: integer
  19404. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19405. 全(0)【原值】
  19406. in: query
  19407. name: cycletime
  19408. required: true
  19409. type: string
  19410. produces:
  19411. - application/json
  19412. responses:
  19413. "200":
  19414. description: OK
  19415. schema:
  19416. items:
  19417. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  19418. type: array
  19419. "500":
  19420. description: Internal Server Error
  19421. schema:
  19422. $ref: '#/definitions/app.Response'
  19423. security:
  19424. - ApiKeyAuth: []
  19425. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  19426. tags:
  19427. - 企业风险管理v3(app)
  19428. /Ermcp3/QryAreaExpourseFutuDetail:
  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: middlegoodsid
  19439. required: true
  19440. type: integer
  19441. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19442. in: query
  19443. name: cycletype
  19444. required: true
  19445. type: integer
  19446. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19447. 全(0)【原值】
  19448. in: query
  19449. name: cycletime
  19450. required: true
  19451. type: string
  19452. produces:
  19453. - application/json
  19454. responses:
  19455. "200":
  19456. description: OK
  19457. schema:
  19458. items:
  19459. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  19460. type: array
  19461. "500":
  19462. description: Internal Server Error
  19463. schema:
  19464. $ref: '#/definitions/app.Response'
  19465. security:
  19466. - ApiKeyAuth: []
  19467. summary: 查询敞口期货明细(敞口报表/期货明细)
  19468. tags:
  19469. - 企业风险管理v3(app)
  19470. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  19471. get:
  19472. parameters:
  19473. - description: 用户ID
  19474. in: query
  19475. name: userid
  19476. required: true
  19477. type: integer
  19478. - description: 套保商品id
  19479. in: query
  19480. name: middlegoodsid
  19481. required: true
  19482. type: integer
  19483. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19484. in: query
  19485. name: cycletype
  19486. required: true
  19487. type: integer
  19488. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19489. 全(0)【原值】
  19490. in: query
  19491. name: cycletime
  19492. required: true
  19493. type: string
  19494. produces:
  19495. - application/json
  19496. responses:
  19497. "200":
  19498. description: OK
  19499. schema:
  19500. items:
  19501. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  19502. type: array
  19503. "500":
  19504. description: Internal Server Error
  19505. schema:
  19506. $ref: '#/definitions/app.Response'
  19507. security:
  19508. - ApiKeyAuth: []
  19509. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  19510. tags:
  19511. - 企业风险管理v3(app)
  19512. /Ermcp3/QryAreaExpourseParamChLogDetail:
  19513. get:
  19514. parameters:
  19515. - description: 用户ID
  19516. in: query
  19517. name: userid
  19518. required: true
  19519. type: integer
  19520. - description: 套保商品id
  19521. in: query
  19522. name: middlegoodsid
  19523. required: true
  19524. type: integer
  19525. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19526. in: query
  19527. name: cycletype
  19528. required: true
  19529. type: integer
  19530. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19531. 全(0)【原值】
  19532. in: query
  19533. name: cycletime
  19534. required: true
  19535. type: string
  19536. produces:
  19537. - application/json
  19538. responses:
  19539. "200":
  19540. description: OK
  19541. schema:
  19542. items:
  19543. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  19544. type: array
  19545. "500":
  19546. description: Internal Server Error
  19547. schema:
  19548. $ref: '#/definitions/app.Response'
  19549. security:
  19550. - ApiKeyAuth: []
  19551. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  19552. tags:
  19553. - 企业风险管理v3(app)
  19554. /Ermcp3/QryAreaExpourseReport:
  19555. get:
  19556. parameters:
  19557. - description: 用户ID
  19558. in: query
  19559. name: userid
  19560. required: true
  19561. type: integer
  19562. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  19563. in: query
  19564. name: querytype
  19565. required: true
  19566. type: integer
  19567. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19568. in: query
  19569. name: cycletype
  19570. required: true
  19571. type: integer
  19572. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19573. 全(0)【原值】
  19574. in: query
  19575. name: cycletime
  19576. required: true
  19577. type: string
  19578. produces:
  19579. - application/json
  19580. responses:
  19581. "200":
  19582. description: OK
  19583. schema:
  19584. items:
  19585. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  19586. type: array
  19587. "500":
  19588. description: Internal Server Error
  19589. schema:
  19590. $ref: '#/definitions/app.Response'
  19591. security:
  19592. - ApiKeyAuth: []
  19593. summary: 查询敞口报表
  19594. tags:
  19595. - 企业风险管理v3(app)
  19596. /Ermcp3/QryAreaSpotplReport:
  19597. get:
  19598. parameters:
  19599. - description: 用户ID
  19600. in: query
  19601. name: userid
  19602. required: true
  19603. type: integer
  19604. - description: 查询类型 1-报表 2-报表明细
  19605. in: query
  19606. name: querytype
  19607. required: true
  19608. type: integer
  19609. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19610. in: query
  19611. name: cycletype
  19612. required: true
  19613. type: integer
  19614. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19615. 全(0)【原值】
  19616. in: query
  19617. name: cycletime
  19618. required: true
  19619. type: string
  19620. - description: 现货品种id(明细必填)
  19621. in: query
  19622. name: deliverygoodsid
  19623. type: integer
  19624. - description: 币种id(明细必填)
  19625. in: query
  19626. name: currencyid
  19627. type: integer
  19628. produces:
  19629. - application/json
  19630. responses:
  19631. "200":
  19632. description: OK
  19633. schema:
  19634. items:
  19635. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  19636. type: array
  19637. "500":
  19638. description: Internal Server Error
  19639. schema:
  19640. $ref: '#/definitions/app.Response'
  19641. security:
  19642. - ApiKeyAuth: []
  19643. summary: 查询现货报表
  19644. tags:
  19645. - 企业风险管理v3(app)
  19646. /Ermcp3/QryAreaStockReport:
  19647. get:
  19648. parameters:
  19649. - description: 用户ID
  19650. in: query
  19651. name: userid
  19652. required: true
  19653. type: integer
  19654. - description: 查询类型 1-报表 2-报表明细
  19655. in: query
  19656. name: querytype
  19657. required: true
  19658. type: integer
  19659. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19660. in: query
  19661. name: cycletype
  19662. required: true
  19663. type: integer
  19664. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19665. 全(0)【原值】
  19666. in: query
  19667. name: cycletime
  19668. required: true
  19669. type: string
  19670. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  19671. in: query
  19672. name: sumfields
  19673. type: string
  19674. - description: 品种ID
  19675. in: query
  19676. name: deliverygoodsid
  19677. type: integer
  19678. - description: 品类ID
  19679. in: query
  19680. name: wrstandardid
  19681. type: integer
  19682. - description: 品牌ID
  19683. in: query
  19684. name: spotgoodsbrandid
  19685. type: integer
  19686. - description: 仓库ID
  19687. in: query
  19688. name: warehouseinfoid
  19689. type: integer
  19690. produces:
  19691. - application/json
  19692. responses:
  19693. "200":
  19694. description: OK
  19695. schema:
  19696. items:
  19697. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  19698. type: array
  19699. "500":
  19700. description: Internal Server Error
  19701. schema:
  19702. $ref: '#/definitions/app.Response'
  19703. security:
  19704. - ApiKeyAuth: []
  19705. summary: 查询库存报表
  19706. tags:
  19707. - 企业风险管理v3(app)
  19708. /Ermcp3/QryAreaSumPL:
  19709. get:
  19710. parameters:
  19711. - description: 用户ID
  19712. in: query
  19713. name: userid
  19714. required: true
  19715. type: integer
  19716. - description: 查询类型 1-报表 2-报表明细
  19717. in: query
  19718. name: querytype
  19719. required: true
  19720. type: integer
  19721. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19722. in: query
  19723. name: cycletype
  19724. required: true
  19725. type: integer
  19726. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19727. 全(0)【原值】
  19728. in: query
  19729. name: cycletime
  19730. required: true
  19731. type: string
  19732. - description: 币种id(明细必填)
  19733. in: query
  19734. name: currencyid
  19735. type: integer
  19736. produces:
  19737. - application/json
  19738. responses:
  19739. "200":
  19740. description: OK
  19741. schema:
  19742. items:
  19743. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  19744. type: array
  19745. "500":
  19746. description: Internal Server Error
  19747. schema:
  19748. $ref: '#/definitions/app.Response'
  19749. security:
  19750. - ApiKeyAuth: []
  19751. summary: 查询汇总损益表
  19752. tags:
  19753. - 企业风险管理v3(app)
  19754. /Ermcp3/QryFinanceReport:
  19755. get:
  19756. parameters:
  19757. - description: 用户ID
  19758. in: query
  19759. name: userid
  19760. required: true
  19761. type: integer
  19762. - description: 查询类型 1-报表 2-报表明细
  19763. in: query
  19764. name: querytype
  19765. required: true
  19766. type: integer
  19767. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19768. in: query
  19769. name: cycletype
  19770. required: true
  19771. type: integer
  19772. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19773. 全(0)【原值】
  19774. in: query
  19775. name: cycletime
  19776. required: true
  19777. type: string
  19778. - description: 币种id(报表明细必填)
  19779. in: query
  19780. name: currencyid
  19781. type: integer
  19782. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  19783. in: query
  19784. name: sumfields
  19785. type: string
  19786. produces:
  19787. - application/json
  19788. responses:
  19789. "200":
  19790. description: OK
  19791. schema:
  19792. items:
  19793. $ref: '#/definitions/models.Ermcp3FinanceReport'
  19794. type: array
  19795. "500":
  19796. description: Internal Server Error
  19797. schema:
  19798. $ref: '#/definitions/app.Response'
  19799. security:
  19800. - ApiKeyAuth: []
  19801. summary: 查询财务报表
  19802. tags:
  19803. - 企业风险管理v3(app)
  19804. /Ermcp3/QryTaFutureDataReport:
  19805. get:
  19806. parameters:
  19807. - description: 用户ID
  19808. in: query
  19809. name: userid
  19810. required: true
  19811. type: integer
  19812. - description: 查询类型 1-报表 2-报表明细
  19813. in: query
  19814. name: querytype
  19815. required: true
  19816. type: integer
  19817. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19818. in: query
  19819. name: cycletype
  19820. required: true
  19821. type: integer
  19822. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19823. 全(0)【原值】
  19824. in: query
  19825. name: cycletime
  19826. required: true
  19827. type: string
  19828. - description: 币种id(查明细必填)
  19829. in: query
  19830. name: currencyid
  19831. type: integer
  19832. - description: 品种id(查明细必填)
  19833. in: query
  19834. name: goodsgroupid
  19835. type: integer
  19836. - description: 商品id(查明细必填)
  19837. in: query
  19838. name: goodsid
  19839. type: integer
  19840. - description: 买卖方向(查明细必填)
  19841. in: query
  19842. name: buyorsell
  19843. type: integer
  19844. produces:
  19845. - application/json
  19846. responses:
  19847. "200":
  19848. description: OK
  19849. schema:
  19850. items:
  19851. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  19852. type: array
  19853. "500":
  19854. description: Internal Server Error
  19855. schema:
  19856. $ref: '#/definitions/app.Response'
  19857. security:
  19858. - ApiKeyAuth: []
  19859. summary: 查询期货报表
  19860. tags:
  19861. - 企业风险管理v3(app)
  19862. /Ermcp3/QueryAreaStock:
  19863. get:
  19864. parameters:
  19865. - description: 用户ID
  19866. in: query
  19867. name: userid
  19868. required: true
  19869. type: integer
  19870. produces:
  19871. - application/json
  19872. responses:
  19873. "200":
  19874. description: OK
  19875. schema:
  19876. items:
  19877. $ref: '#/definitions/models.Ermcp3AreaStock'
  19878. type: array
  19879. "500":
  19880. description: Internal Server Error
  19881. schema:
  19882. $ref: '#/definitions/app.Response'
  19883. security:
  19884. - ApiKeyAuth: []
  19885. summary: 查询机构库存(库存管理/当前库存)
  19886. tags:
  19887. - 企业风险管理v3(app)
  19888. /Ermcp3/QueryAreaStockApply:
  19889. get:
  19890. parameters:
  19891. - description: 用户ID
  19892. in: query
  19893. name: userid
  19894. required: true
  19895. type: integer
  19896. - description: 用户类型 2-机构 7-企业成员
  19897. in: query
  19898. name: usertype
  19899. type: integer
  19900. - description: 现货商品ID
  19901. in: query
  19902. name: deliverygoodsid
  19903. type: integer
  19904. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  19905. in: query
  19906. name: inouttype
  19907. type: string
  19908. - description: 合同ID
  19909. in: query
  19910. name: spotcontractid
  19911. type: integer
  19912. - description: 品类ID
  19913. in: query
  19914. name: wrstandardid
  19915. type: integer
  19916. - description: 品牌ID
  19917. in: query
  19918. name: spotgoodsbrandid
  19919. type: integer
  19920. - description: 仓库ID
  19921. in: query
  19922. name: warehouseinfoid
  19923. type: integer
  19924. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19925. in: query
  19926. name: applystatus
  19927. type: string
  19928. produces:
  19929. - application/json
  19930. responses:
  19931. "200":
  19932. description: OK
  19933. schema:
  19934. items:
  19935. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  19936. type: array
  19937. "500":
  19938. description: Internal Server Error
  19939. schema:
  19940. $ref: '#/definitions/app.Response'
  19941. security:
  19942. - ApiKeyAuth: []
  19943. summary: 查询库存申请(出入库记录|库存审核)
  19944. tags:
  19945. - 企业风险管理v3(app)
  19946. /Ermcp3/QueryAreaStockApplySum:
  19947. get:
  19948. parameters:
  19949. - description: 合同ID
  19950. in: query
  19951. name: spotcontractid
  19952. required: true
  19953. type: integer
  19954. produces:
  19955. - application/json
  19956. responses:
  19957. "200":
  19958. description: OK
  19959. schema:
  19960. items:
  19961. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  19962. type: array
  19963. "500":
  19964. description: Internal Server Error
  19965. schema:
  19966. $ref: '#/definitions/app.Response'
  19967. security:
  19968. - ApiKeyAuth: []
  19969. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  19970. tags:
  19971. - 企业风险管理v3(app)
  19972. /Ermcp3/QueryDGFactoryItem:
  19973. get:
  19974. parameters:
  19975. - description: 用户id
  19976. in: query
  19977. name: userid
  19978. type: integer
  19979. - description: 用户类型 2-机构 7-企业成员
  19980. in: query
  19981. name: usertype
  19982. type: integer
  19983. - description: 选择项ID(SEQ_DGFACTORYITEM)
  19984. in: query
  19985. name: dgfactoryitemid
  19986. type: integer
  19987. - description: 现货品种ID
  19988. in: query
  19989. name: deliverygoodsid
  19990. type: integer
  19991. - description: 要素项类型
  19992. in: query
  19993. name: dgfactoryitemtypeid
  19994. type: integer
  19995. - description: 顺序
  19996. in: query
  19997. name: orderindex
  19998. type: integer
  19999. produces:
  20000. - application/json
  20001. responses:
  20002. "200":
  20003. description: OK
  20004. schema:
  20005. items:
  20006. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  20007. type: array
  20008. "500":
  20009. description: Internal Server Error
  20010. schema:
  20011. $ref: '#/definitions/app.Response'
  20012. security:
  20013. - ApiKeyAuth: []
  20014. summary: 查询品种要素定义项
  20015. tags:
  20016. - 企业风险管理v3(app)
  20017. /Ermcp3/QueryDeliveryGoods:
  20018. get:
  20019. parameters:
  20020. - description: 用户id
  20021. in: query
  20022. name: userid
  20023. required: true
  20024. type: integer
  20025. - description: 用户类型 2-机构 7-企业成员
  20026. in: query
  20027. name: usertype
  20028. type: integer
  20029. - description: 排除已配置的业务类型商品 1-套保 2-套利
  20030. in: query
  20031. name: excludecfg
  20032. type: integer
  20033. produces:
  20034. - application/json
  20035. responses:
  20036. "200":
  20037. description: OK
  20038. schema:
  20039. items:
  20040. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  20041. type: array
  20042. "500":
  20043. description: Internal Server Error
  20044. schema:
  20045. $ref: '#/definitions/app.Response'
  20046. security:
  20047. - ApiKeyAuth: []
  20048. summary: 查询现货商品
  20049. tags:
  20050. - 企业风险管理v3(app)
  20051. /Ermcp3/QueryDeliveryGoodsDetail:
  20052. get:
  20053. parameters:
  20054. - description: 用户id
  20055. in: query
  20056. name: userid
  20057. required: true
  20058. type: integer
  20059. - description: 用户类型 2-机构 7-企业成员
  20060. in: query
  20061. name: usertype
  20062. type: integer
  20063. - description: 现货商品id
  20064. in: query
  20065. name: deliverygoodsid
  20066. type: integer
  20067. produces:
  20068. - application/json
  20069. responses:
  20070. "200":
  20071. description: OK
  20072. schema:
  20073. items:
  20074. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  20075. type: array
  20076. "500":
  20077. description: Internal Server Error
  20078. schema:
  20079. $ref: '#/definitions/app.Response'
  20080. security:
  20081. - ApiKeyAuth: []
  20082. summary: 查询现货商品详情
  20083. tags:
  20084. - 企业风险管理v3(app)
  20085. /Ermcp3/QueryExposureDetail:
  20086. get:
  20087. parameters:
  20088. - description: 用户id
  20089. in: query
  20090. name: userid
  20091. required: true
  20092. type: integer
  20093. - description: 用户类型 2-机构 7-企业成员
  20094. in: query
  20095. name: usertype
  20096. type: integer
  20097. - description: 套保商品
  20098. in: query
  20099. name: middlegoodsid
  20100. required: true
  20101. type: integer
  20102. produces:
  20103. - application/json
  20104. responses:
  20105. "200":
  20106. description: OK
  20107. schema:
  20108. items:
  20109. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  20110. type: array
  20111. "500":
  20112. description: Internal Server Error
  20113. schema:
  20114. $ref: '#/definitions/app.Response'
  20115. security:
  20116. - ApiKeyAuth: []
  20117. summary: 查询敞口现货明细
  20118. tags:
  20119. - 企业风险管理v3(app)
  20120. /Ermcp3/QueryExposureSpot:
  20121. get:
  20122. parameters:
  20123. - description: 用户id
  20124. in: query
  20125. name: userid
  20126. required: true
  20127. type: integer
  20128. - description: 用户类型 2-机构 7-企业成员
  20129. in: query
  20130. name: usertype
  20131. type: integer
  20132. produces:
  20133. - application/json
  20134. responses:
  20135. "200":
  20136. description: OK
  20137. schema:
  20138. items:
  20139. $ref: '#/definitions/models.Ermcp3AreaSpot'
  20140. type: array
  20141. "500":
  20142. description: Internal Server Error
  20143. schema:
  20144. $ref: '#/definitions/app.Response'
  20145. security:
  20146. - ApiKeyAuth: []
  20147. summary: 查询敞口现货头寸(敞口/现货头寸)
  20148. tags:
  20149. - 企业风险管理v3(app)
  20150. /Ermcp3/QueryExposureSpotDetail:
  20151. get:
  20152. parameters:
  20153. - description: 用户id
  20154. in: query
  20155. name: userid
  20156. required: true
  20157. type: integer
  20158. - description: 用户类型 2-机构 7-企业成员
  20159. in: query
  20160. name: usertype
  20161. type: integer
  20162. - description: 现货品种ID
  20163. in: query
  20164. name: deliverygoodsid
  20165. required: true
  20166. type: integer
  20167. produces:
  20168. - application/json
  20169. responses:
  20170. "200":
  20171. description: OK
  20172. schema:
  20173. items:
  20174. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  20175. type: array
  20176. "500":
  20177. description: Internal Server Error
  20178. schema:
  20179. $ref: '#/definitions/app.Response'
  20180. security:
  20181. - ApiKeyAuth: []
  20182. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20183. tags:
  20184. - 企业风险管理v3(app)
  20185. /Ermcp3/QueryGoodsGroup:
  20186. get:
  20187. parameters:
  20188. - description: 用户id
  20189. in: query
  20190. name: userid
  20191. required: true
  20192. type: integer
  20193. - description: 用户类型 2-机构 7-企业成员
  20194. in: query
  20195. name: usertype
  20196. type: integer
  20197. - description: 排除套保品中已关联的商品组 1-排除
  20198. in: query
  20199. name: excludecfg
  20200. type: integer
  20201. produces:
  20202. - application/json
  20203. responses:
  20204. "200":
  20205. description: OK
  20206. schema:
  20207. items:
  20208. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  20209. type: array
  20210. "500":
  20211. description: Internal Server Error
  20212. schema:
  20213. $ref: '#/definitions/app.Response'
  20214. security:
  20215. - ApiKeyAuth: []
  20216. summary: 查询期货商品组
  20217. tags:
  20218. - 企业风险管理v3(app)
  20219. /Ermcp3/QueryGoodsWrstandard:
  20220. get:
  20221. parameters:
  20222. - description: 用户id
  20223. in: query
  20224. name: userid
  20225. required: true
  20226. type: integer
  20227. - description: 用户类型 2-机构 7-企业成员
  20228. in: query
  20229. name: usertype
  20230. type: integer
  20231. - description: 现货商品id
  20232. in: query
  20233. name: deliverygoodsid
  20234. type: integer
  20235. produces:
  20236. - application/json
  20237. responses:
  20238. "200":
  20239. description: OK
  20240. schema:
  20241. items:
  20242. $ref: '#/definitions/models.Ermcp3Wrstandard'
  20243. type: array
  20244. "500":
  20245. description: Internal Server Error
  20246. schema:
  20247. $ref: '#/definitions/app.Response'
  20248. security:
  20249. - ApiKeyAuth: []
  20250. summary: 查询商品品类
  20251. tags:
  20252. - 企业风险管理v3(app)
  20253. /Ermcp3/QueryGoodsbrand:
  20254. get:
  20255. parameters:
  20256. - description: 用户id
  20257. in: query
  20258. name: userid
  20259. required: true
  20260. type: integer
  20261. - description: 用户类型 2-机构 7-企业成员
  20262. in: query
  20263. name: usertype
  20264. type: integer
  20265. produces:
  20266. - application/json
  20267. responses:
  20268. "200":
  20269. description: OK
  20270. schema:
  20271. items:
  20272. $ref: '#/definitions/models.Ermcp3Brand'
  20273. type: array
  20274. "500":
  20275. description: Internal Server Error
  20276. schema:
  20277. $ref: '#/definitions/app.Response'
  20278. security:
  20279. - ApiKeyAuth: []
  20280. summary: 查询商品品牌
  20281. tags:
  20282. - 企业风险管理v3(app)
  20283. /Ermcp3/QueryHedgePlan:
  20284. get:
  20285. parameters:
  20286. - description: 用户ID
  20287. in: query
  20288. name: userid
  20289. required: true
  20290. type: integer
  20291. - description: 用户类型 2-机构 7-企业成员
  20292. in: query
  20293. name: usertype
  20294. type: integer
  20295. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  20296. in: query
  20297. name: hedgeplanstatus
  20298. required: true
  20299. type: string
  20300. produces:
  20301. - application/json
  20302. responses:
  20303. "200":
  20304. description: OK
  20305. schema:
  20306. items:
  20307. $ref: '#/definitions/models.Ermcp3HedgePlan'
  20308. type: array
  20309. "500":
  20310. description: Internal Server Error
  20311. schema:
  20312. $ref: '#/definitions/app.Response'
  20313. security:
  20314. - ApiKeyAuth: []
  20315. summary: 查询套保计划
  20316. tags:
  20317. - 企业风险管理v3(app)
  20318. /Ermcp3/QueryMiddleGoodsDetail:
  20319. get:
  20320. parameters:
  20321. - description: 用户id
  20322. in: query
  20323. name: userid
  20324. required: true
  20325. type: integer
  20326. - description: 用户类型 2-机构 7-企业成员
  20327. in: query
  20328. name: usertype
  20329. type: integer
  20330. - description: 套保品种id
  20331. in: query
  20332. name: middlegoodsid
  20333. type: integer
  20334. produces:
  20335. - application/json
  20336. responses:
  20337. "200":
  20338. description: OK
  20339. schema:
  20340. items:
  20341. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  20342. type: array
  20343. "500":
  20344. description: Internal Server Error
  20345. schema:
  20346. $ref: '#/definitions/app.Response'
  20347. security:
  20348. - ApiKeyAuth: []
  20349. summary: 查询套保品种详情(套保品种/商品详情)
  20350. tags:
  20351. - 企业风险管理v3(app)
  20352. /Ermcp3/QueryRootUserAccount:
  20353. get:
  20354. parameters:
  20355. - description: 用户ID
  20356. in: query
  20357. name: userid
  20358. required: true
  20359. type: integer
  20360. produces:
  20361. - application/json
  20362. responses:
  20363. "200":
  20364. description: OK
  20365. schema:
  20366. items:
  20367. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  20368. type: array
  20369. "500":
  20370. description: Internal Server Error
  20371. schema:
  20372. $ref: '#/definitions/app.Response'
  20373. security:
  20374. - ApiKeyAuth: []
  20375. summary: 查询顶级用户信息
  20376. tags:
  20377. - 企业风险管理v3(app)
  20378. /Ermcp3/QuerySpotContract:
  20379. get:
  20380. parameters:
  20381. - description: 用户id
  20382. in: query
  20383. name: userid
  20384. required: true
  20385. type: integer
  20386. - description: 用户类型 2-机构 7-企业成员
  20387. in: query
  20388. name: usertype
  20389. type: integer
  20390. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  20391. in: query
  20392. name: querytype
  20393. required: true
  20394. type: integer
  20395. - description: 合同ID(SpotContractId)
  20396. in: query
  20397. name: contractid
  20398. type: string
  20399. produces:
  20400. - application/json
  20401. responses:
  20402. "200":
  20403. description: OK
  20404. schema:
  20405. items:
  20406. $ref: '#/definitions/models.Ermcp3Contract'
  20407. type: array
  20408. "500":
  20409. description: Internal Server Error
  20410. schema:
  20411. $ref: '#/definitions/app.Response'
  20412. security:
  20413. - ApiKeyAuth: []
  20414. summary: 查询现货合同
  20415. tags:
  20416. - 企业风险管理v3(app)
  20417. /Ermcp3/QuerySpotContractBS:
  20418. get:
  20419. parameters:
  20420. - description: 用户id
  20421. in: query
  20422. name: userid
  20423. required: true
  20424. type: integer
  20425. - description: 用户类型 2-机构 7-企业成员
  20426. in: query
  20427. name: usertype
  20428. type: integer
  20429. - description: 合同类型 1-采购, -1-销售
  20430. in: query
  20431. name: contracttype
  20432. required: true
  20433. type: integer
  20434. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  20435. in: query
  20436. name: querytype
  20437. required: true
  20438. type: integer
  20439. - description: 合同ID(SpotContractId)
  20440. in: query
  20441. name: contractid
  20442. type: string
  20443. produces:
  20444. - application/json
  20445. responses:
  20446. "200":
  20447. description: OK
  20448. schema:
  20449. items:
  20450. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  20451. type: array
  20452. "500":
  20453. description: Internal Server Error
  20454. schema:
  20455. $ref: '#/definitions/app.Response'
  20456. security:
  20457. - ApiKeyAuth: []
  20458. summary: 查询合同(采购/销售)
  20459. tags:
  20460. - 企业风险管理v3(app)
  20461. /Ermcp3/QuerySpotGoodsPrice:
  20462. get:
  20463. parameters:
  20464. - description: 用户ID
  20465. in: query
  20466. name: userid
  20467. required: true
  20468. type: integer
  20469. produces:
  20470. - application/json
  20471. responses:
  20472. "200":
  20473. description: OK
  20474. schema:
  20475. items:
  20476. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  20477. type: array
  20478. "500":
  20479. description: Internal Server Error
  20480. schema:
  20481. $ref: '#/definitions/app.Response'
  20482. security:
  20483. - ApiKeyAuth: []
  20484. summary: 查询现货市价(现货市价)
  20485. tags:
  20486. - 企业风险管理v3(app)
  20487. /Ermcp3/QuerySpotGoodsPriceLog:
  20488. get:
  20489. parameters:
  20490. - description: 用户ID
  20491. in: query
  20492. name: userid
  20493. required: true
  20494. type: integer
  20495. - description: 现货商品ID
  20496. in: query
  20497. name: deliverygoodsid
  20498. required: true
  20499. type: integer
  20500. - description: 品牌ID
  20501. in: query
  20502. name: brandid
  20503. type: integer
  20504. - description: 品类ID
  20505. in: query
  20506. name: wrstandardid
  20507. type: integer
  20508. produces:
  20509. - application/json
  20510. responses:
  20511. "200":
  20512. description: OK
  20513. schema:
  20514. items:
  20515. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  20516. type: array
  20517. "500":
  20518. description: Internal Server Error
  20519. schema:
  20520. $ref: '#/definitions/app.Response'
  20521. security:
  20522. - ApiKeyAuth: []
  20523. summary: 查询现货市价详情(现货市价/详情)
  20524. tags:
  20525. - 企业风险管理v3(app)
  20526. /Erms2/QueryArbitrageStrategy:
  20527. get:
  20528. parameters:
  20529. - description: 账户ID
  20530. in: query
  20531. name: userid
  20532. required: true
  20533. type: integer
  20534. - description: 商品组ID(品种ID)
  20535. in: query
  20536. name: goodsgroupid
  20537. type: string
  20538. produces:
  20539. - application/json
  20540. responses:
  20541. "200":
  20542. description: OK
  20543. schema:
  20544. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  20545. "500":
  20546. description: Internal Server Error
  20547. schema:
  20548. $ref: '#/definitions/app.Response'
  20549. security:
  20550. - ApiKeyAuth: []
  20551. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  20552. tags:
  20553. - 风险管理
  20554. /Erms2/QueryInnerTradeDetail:
  20555. get:
  20556. parameters:
  20557. - description: 资金账户
  20558. in: query
  20559. name: accountid
  20560. required: true
  20561. type: integer
  20562. produces:
  20563. - application/json
  20564. responses:
  20565. "200":
  20566. description: OK
  20567. schema:
  20568. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  20569. "500":
  20570. description: Internal Server Error
  20571. schema:
  20572. $ref: '#/definitions/app.Response'
  20573. security:
  20574. - ApiKeyAuth: []
  20575. summary: 查询内部成交单信息
  20576. tags:
  20577. - 风险管理
  20578. /Erms2/QuerySpotContract:
  20579. get:
  20580. parameters:
  20581. - description: 策略申请ID
  20582. in: query
  20583. name: asapplyid
  20584. required: true
  20585. type: integer
  20586. - description: 现货合同ID
  20587. in: query
  20588. name: spotcontractid
  20589. type: integer
  20590. produces:
  20591. - application/json
  20592. responses:
  20593. "200":
  20594. description: OK
  20595. schema:
  20596. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  20597. "500":
  20598. description: Internal Server Error
  20599. schema:
  20600. $ref: '#/definitions/app.Response'
  20601. security:
  20602. - ApiKeyAuth: []
  20603. summary: 查询现货合同表信息(指定策略ID、未结束的)
  20604. tags:
  20605. - 风险管理
  20606. /Erms3/AddErms2ASApply:
  20607. post:
  20608. parameters:
  20609. - description: 申请参数
  20610. in: body
  20611. name: jsonBody
  20612. required: true
  20613. schema:
  20614. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  20615. produces:
  20616. - application/json
  20617. responses:
  20618. "200":
  20619. description: OK
  20620. schema:
  20621. $ref: '#/definitions/app.Response'
  20622. "500":
  20623. description: Internal Server Error
  20624. schema:
  20625. $ref: '#/definitions/app.Response'
  20626. security:
  20627. - ApiKeyAuth: []
  20628. summary: 新增期现套利业务申请
  20629. tags:
  20630. - 风险管理v3
  20631. /Erms3/AddErms2SpotTradeApply:
  20632. post:
  20633. parameters:
  20634. - description: 申请参数
  20635. in: body
  20636. name: jsonBody
  20637. required: true
  20638. schema:
  20639. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  20640. produces:
  20641. - application/json
  20642. responses:
  20643. "200":
  20644. description: OK
  20645. schema:
  20646. $ref: '#/definitions/app.Response'
  20647. "500":
  20648. description: Internal Server Error
  20649. schema:
  20650. $ref: '#/definitions/app.Response'
  20651. security:
  20652. - ApiKeyAuth: []
  20653. summary: 新增现货贸易业务申请
  20654. tags:
  20655. - 风险管理v3
  20656. /Erms3/AddSpotContractApply:
  20657. post:
  20658. parameters:
  20659. - description: 申请参数
  20660. in: body
  20661. name: jsonBody
  20662. required: true
  20663. schema:
  20664. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  20665. produces:
  20666. - application/json
  20667. responses:
  20668. "200":
  20669. description: OK
  20670. schema:
  20671. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  20672. "500":
  20673. description: Internal Server Error
  20674. schema:
  20675. $ref: '#/definitions/app.Response'
  20676. security:
  20677. - ApiKeyAuth: []
  20678. summary: 新增现货合同申请
  20679. tags:
  20680. - 风险管理v3
  20681. /Erms3/AddUserInfoApply:
  20682. post:
  20683. parameters:
  20684. - description: 用户信息
  20685. in: body
  20686. name: jsonBody
  20687. required: true
  20688. schema:
  20689. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  20690. produces:
  20691. - application/json
  20692. responses:
  20693. "200":
  20694. description: OK
  20695. schema:
  20696. $ref: '#/definitions/app.Response'
  20697. "500":
  20698. description: Internal Server Error
  20699. schema:
  20700. $ref: '#/definitions/app.Response'
  20701. security:
  20702. - ApiKeyAuth: []
  20703. summary: 新增客户申请
  20704. tags:
  20705. - 风险管理v3
  20706. /Erms3/DeleteUserInfoApply:
  20707. get:
  20708. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  20709. parameters:
  20710. - description: 用户ID
  20711. in: query
  20712. name: userID
  20713. required: true
  20714. type: integer
  20715. produces:
  20716. - application/json
  20717. responses:
  20718. "200":
  20719. description: OK
  20720. schema:
  20721. $ref: '#/definitions/app.Response'
  20722. "500":
  20723. description: Internal Server Error
  20724. schema:
  20725. $ref: '#/definitions/app.Response'
  20726. security:
  20727. - ApiKeyAuth: []
  20728. summary: 删除客户申请
  20729. tags:
  20730. - 风险管理v3
  20731. /Erms3/ModifyUserInfoApply:
  20732. post:
  20733. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  20734. int, "userstate": 2 }'
  20735. parameters:
  20736. - description: 用户信息
  20737. in: body
  20738. name: jsonBody
  20739. required: true
  20740. schema:
  20741. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  20742. produces:
  20743. - application/json
  20744. responses:
  20745. "200":
  20746. description: OK
  20747. schema:
  20748. $ref: '#/definitions/app.Response'
  20749. "500":
  20750. description: Internal Server Error
  20751. schema:
  20752. $ref: '#/definitions/app.Response'
  20753. security:
  20754. - ApiKeyAuth: []
  20755. summary: 修改客户申请
  20756. tags:
  20757. - 风险管理v3
  20758. /Erms3/QueryBusinessInfo:
  20759. get:
  20760. parameters:
  20761. - description: 资金账号ID列表,用逗号分隔
  20762. in: query
  20763. name: accountids
  20764. required: true
  20765. type: string
  20766. - description: 状态,0为未结束 1为已结束
  20767. in: query
  20768. name: status
  20769. required: true
  20770. type: integer
  20771. produces:
  20772. - application/json
  20773. responses:
  20774. "200":
  20775. description: OK
  20776. schema:
  20777. items:
  20778. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  20779. type: array
  20780. "500":
  20781. description: Internal Server Error
  20782. schema:
  20783. $ref: '#/definitions/app.Response'
  20784. security:
  20785. - ApiKeyAuth: []
  20786. summary: 查询业务表单数据
  20787. tags:
  20788. - 风险管理v3
  20789. /Erms3/QueryPendingAuditContract:
  20790. get:
  20791. parameters:
  20792. - description: 资金账号ID列表,逗号隔开
  20793. in: query
  20794. name: accountids
  20795. required: true
  20796. type: string
  20797. - description: 合同类型 1-采购 -1-销售
  20798. in: query
  20799. name: contracttype
  20800. required: true
  20801. type: integer
  20802. - description: 合同模式 1-普通 2-回购
  20803. in: query
  20804. name: contractmode
  20805. required: true
  20806. type: integer
  20807. produces:
  20808. - application/json
  20809. responses:
  20810. "200":
  20811. description: OK
  20812. schema:
  20813. items:
  20814. $ref: '#/definitions/erms3.QryAuditContractRsp'
  20815. type: array
  20816. "500":
  20817. description: Internal Server Error
  20818. schema:
  20819. $ref: '#/definitions/app.Response'
  20820. security:
  20821. - ApiKeyAuth: []
  20822. summary: 查询待审核合同
  20823. tags:
  20824. - 风险管理v3
  20825. /Erms3/QueryPendingBusiness:
  20826. get:
  20827. parameters:
  20828. - description: 资金账号ID列表,逗号隔开
  20829. in: query
  20830. name: accountids
  20831. required: true
  20832. type: string
  20833. produces:
  20834. - application/json
  20835. responses:
  20836. "200":
  20837. description: OK
  20838. schema:
  20839. items:
  20840. $ref: '#/definitions/erms3.QryPendingBizRsp'
  20841. type: array
  20842. "500":
  20843. description: Internal Server Error
  20844. schema:
  20845. $ref: '#/definitions/app.Response'
  20846. security:
  20847. - ApiKeyAuth: []
  20848. summary: 查询待审核基差贸易业务
  20849. tags:
  20850. - 风险管理v3
  20851. /Erms3/QuerySpotContractAppleForm:
  20852. get:
  20853. parameters:
  20854. - description: 登录账号
  20855. in: query
  20856. name: loginID
  20857. required: true
  20858. type: integer
  20859. produces:
  20860. - application/json
  20861. responses:
  20862. "200":
  20863. description: OK
  20864. schema:
  20865. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  20866. "500":
  20867. description: Internal Server Error
  20868. schema:
  20869. $ref: '#/definitions/app.Response'
  20870. security:
  20871. - ApiKeyAuth: []
  20872. summary: 查询合同申请表单数据
  20873. tags:
  20874. - 风险管理v3
  20875. /Erms3/QuerySpotContractDetail:
  20876. get:
  20877. parameters:
  20878. - description: 资金账号ID列表,用逗号分隔
  20879. in: query
  20880. name: accountids
  20881. required: true
  20882. type: string
  20883. - description: 合同类型,1为采购合同 -1为销售合同
  20884. in: query
  20885. name: contracttype
  20886. required: true
  20887. type: integer
  20888. - description: 合同模式,1为普通合同 2为回购销售合同
  20889. in: query
  20890. name: contractmode
  20891. required: true
  20892. type: integer
  20893. - description: 状态,0为履约中 1为已完成
  20894. in: query
  20895. name: status
  20896. required: true
  20897. type: integer
  20898. produces:
  20899. - application/json
  20900. responses:
  20901. "200":
  20902. description: OK
  20903. schema:
  20904. items:
  20905. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  20906. type: array
  20907. "500":
  20908. description: Internal Server Error
  20909. schema:
  20910. $ref: '#/definitions/app.Response'
  20911. security:
  20912. - ApiKeyAuth: []
  20913. summary: 查询合同详细信息
  20914. tags:
  20915. - 风险管理v3
  20916. /Erms3/QueryUserInfoApplies:
  20917. get:
  20918. parameters:
  20919. - description: 页码
  20920. in: query
  20921. name: page
  20922. type: integer
  20923. - description: 每页条数
  20924. in: query
  20925. name: pagesize
  20926. type: integer
  20927. - description: 客户名称,支持模糊查询
  20928. in: query
  20929. name: userName
  20930. type: string
  20931. produces:
  20932. - application/json
  20933. responses:
  20934. "200":
  20935. description: OK
  20936. schema:
  20937. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  20938. "500":
  20939. description: Internal Server Error
  20940. schema:
  20941. $ref: '#/definitions/app.Response'
  20942. security:
  20943. - ApiKeyAuth: []
  20944. summary: 客户申请信息查询
  20945. tags:
  20946. - 风险管理v3
  20947. /Erms3/QueryUserInfos:
  20948. get:
  20949. parameters:
  20950. - description: 页码
  20951. in: query
  20952. name: page
  20953. type: integer
  20954. - description: 每页条数
  20955. in: query
  20956. name: pagesize
  20957. type: integer
  20958. - description: 客户名称,支持模糊查询
  20959. in: query
  20960. name: userName
  20961. type: string
  20962. produces:
  20963. - application/json
  20964. responses:
  20965. "200":
  20966. description: OK
  20967. schema:
  20968. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  20969. "500":
  20970. description: Internal Server Error
  20971. schema:
  20972. $ref: '#/definitions/app.Response'
  20973. security:
  20974. - ApiKeyAuth: []
  20975. summary: 客户信息查询
  20976. tags:
  20977. - 风险管理v3
  20978. /HSBY/GetHsbyMyCount:
  20979. get:
  20980. description: 说明: 不包括已完成的数量。
  20981. parameters:
  20982. - description: 资金账户列表,格式:1,2,3
  20983. in: query
  20984. name: accountIDs
  20985. required: true
  20986. type: string
  20987. produces:
  20988. - application/json
  20989. responses:
  20990. "200":
  20991. description: OK
  20992. schema:
  20993. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  20994. "500":
  20995. description: Internal Server Error
  20996. schema:
  20997. $ref: '#/definitions/app.Response'
  20998. security:
  20999. - ApiKeyAuth: []
  21000. summary: 获取我的订单与包裹数量
  21001. tags:
  21002. - 定制【海商报业】
  21003. /HSBY/QueryClientFixedADConfigs:
  21004. get:
  21005. produces:
  21006. - application/json
  21007. responses:
  21008. "200":
  21009. description: OK
  21010. schema:
  21011. $ref: '#/definitions/models.Clientfixedadconfig'
  21012. "500":
  21013. description: Internal Server Error
  21014. schema:
  21015. $ref: '#/definitions/app.Response'
  21016. security:
  21017. - ApiKeyAuth: []
  21018. summary: 获取终端固定广告配置
  21019. tags:
  21020. - 定制【海商报业】
  21021. /HSBY/QueryHsbyBuyMyTradeDetail:
  21022. get:
  21023. parameters:
  21024. - description: 页码
  21025. in: query
  21026. name: page
  21027. type: integer
  21028. - description: 每页条数
  21029. in: query
  21030. name: pagesize
  21031. type: integer
  21032. - description: 资金账户列表,格式:1,2,3
  21033. in: query
  21034. name: accountIDs
  21035. required: true
  21036. type: string
  21037. produces:
  21038. - application/json
  21039. responses:
  21040. "200":
  21041. description: OK
  21042. schema:
  21043. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  21044. "500":
  21045. description: Internal Server Error
  21046. schema:
  21047. $ref: '#/definitions/app.Response'
  21048. security:
  21049. - ApiKeyAuth: []
  21050. summary: 查询"我的订单 - 已完成"单据信息
  21051. tags:
  21052. - 定制【海商报业】
  21053. /HSBY/QueryHsbyGoodsOrderDetails:
  21054. get:
  21055. description: 说明:查询结果已按委托价格和委托时间排序
  21056. parameters:
  21057. - description: 商品ID
  21058. in: query
  21059. name: goodsID
  21060. required: true
  21061. type: integer
  21062. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  21063. in: query
  21064. name: accountIDs
  21065. type: string
  21066. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  21067. in: query
  21068. name: buyOrSell
  21069. type: integer
  21070. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  21071. in: query
  21072. name: price
  21073. type: number
  21074. - description: 档位,不传则默认为3档
  21075. in: query
  21076. name: speed
  21077. type: integer
  21078. produces:
  21079. - application/json
  21080. responses:
  21081. "200":
  21082. description: OK
  21083. schema:
  21084. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  21085. "500":
  21086. description: Internal Server Error
  21087. schema:
  21088. $ref: '#/definitions/app.Response'
  21089. security:
  21090. - ApiKeyAuth: []
  21091. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  21092. tags:
  21093. - 定制【海商报业】
  21094. /HSBY/QueryHsbyListingGoodsDetail:
  21095. get:
  21096. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  21097. parameters:
  21098. - description: 商品ID
  21099. in: query
  21100. name: goodsID
  21101. required: true
  21102. type: integer
  21103. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  21104. in: query
  21105. name: accountID
  21106. type: integer
  21107. produces:
  21108. - application/json
  21109. responses:
  21110. "200":
  21111. description: OK
  21112. schema:
  21113. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  21114. "500":
  21115. description: Internal Server Error
  21116. schema:
  21117. $ref: '#/definitions/app.Response'
  21118. security:
  21119. - ApiKeyAuth: []
  21120. summary: 查询二级市场(挂牌点选)商品信息详情
  21121. tags:
  21122. - 定制【海商报业】
  21123. /HSBY/QueryHsbyMarketGoodsDetail:
  21124. get:
  21125. parameters:
  21126. - description: 委托单号
  21127. in: query
  21128. name: orderID
  21129. required: true
  21130. type: integer
  21131. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  21132. in: query
  21133. name: accountID
  21134. type: integer
  21135. produces:
  21136. - application/json
  21137. responses:
  21138. "200":
  21139. description: OK
  21140. schema:
  21141. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  21142. "500":
  21143. description: Internal Server Error
  21144. schema:
  21145. $ref: '#/definitions/app.Response'
  21146. security:
  21147. - ApiKeyAuth: []
  21148. summary: 查询三级市场(商城)商品信息详情
  21149. tags:
  21150. - 定制【海商报业】
  21151. /HSBY/QueryHsbyMarketGoodses:
  21152. get:
  21153. parameters:
  21154. - description: 页码
  21155. in: query
  21156. name: page
  21157. type: integer
  21158. - description: 每页条数
  21159. in: query
  21160. name: pagesize
  21161. type: integer
  21162. - description: 市场ID列表,格式:1,2,3
  21163. in: query
  21164. name: marketIDs
  21165. required: true
  21166. type: string
  21167. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  21168. in: query
  21169. name: accountID
  21170. required: true
  21171. type: integer
  21172. - description: 类别ID
  21173. in: query
  21174. name: categoryID
  21175. type: integer
  21176. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  21177. in: query
  21178. name: goodsIDs
  21179. type: string
  21180. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  21181. in: query
  21182. name: couponTypeID
  21183. type: integer
  21184. produces:
  21185. - application/json
  21186. responses:
  21187. "200":
  21188. description: OK
  21189. schema:
  21190. $ref: '#/definitions/models.HsbyMarketGoods'
  21191. "500":
  21192. description: Internal Server Error
  21193. schema:
  21194. $ref: '#/definitions/app.Response'
  21195. security:
  21196. - ApiKeyAuth: []
  21197. summary: 查询特卖商品列表(三级商城)
  21198. tags:
  21199. - 定制【海商报业】
  21200. /HSBY/QueryHsbyMarkets:
  21201. get:
  21202. produces:
  21203. - application/json
  21204. responses:
  21205. "200":
  21206. description: OK
  21207. schema:
  21208. $ref: '#/definitions/models.HsbyMarketInfo'
  21209. "500":
  21210. description: Internal Server Error
  21211. schema:
  21212. $ref: '#/definitions/app.Response'
  21213. security:
  21214. - ApiKeyAuth: []
  21215. summary: 查询海商报业相关市场信息
  21216. tags:
  21217. - 定制【海商报业】
  21218. /HSBY/QueryHsbyMyBuyOrderDetails:
  21219. get:
  21220. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  21221. parameters:
  21222. - description: 资金账户列表,格式:1,2,3
  21223. in: query
  21224. name: accountIDs
  21225. required: true
  21226. type: string
  21227. produces:
  21228. - application/json
  21229. responses:
  21230. "200":
  21231. description: OK
  21232. schema:
  21233. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  21234. "500":
  21235. description: Internal Server Error
  21236. schema:
  21237. $ref: '#/definitions/app.Response'
  21238. security:
  21239. - ApiKeyAuth: []
  21240. summary: 查询“我的订单”信息
  21241. tags:
  21242. - 定制【海商报业】
  21243. /HSBY/QueryHsbyMyGoods:
  21244. get:
  21245. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  21246. parameters:
  21247. - description: 资金账户列表,格式:1,2,3
  21248. in: query
  21249. name: accountIDs
  21250. required: true
  21251. type: string
  21252. produces:
  21253. - application/json
  21254. responses:
  21255. "200":
  21256. description: OK
  21257. schema:
  21258. $ref: '#/definitions/models.HsbyMyGoods'
  21259. "500":
  21260. description: Internal Server Error
  21261. schema:
  21262. $ref: '#/definitions/app.Response'
  21263. security:
  21264. - ApiKeyAuth: []
  21265. summary: 查询“我的商品”信息
  21266. tags:
  21267. - 定制【海商报业】
  21268. /HSBY/QueryHsbyMyPackages:
  21269. get:
  21270. parameters:
  21271. - description: 资金账户列表,格式:1,2,3
  21272. in: query
  21273. name: accountIDs
  21274. required: true
  21275. type: string
  21276. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21277. in: query
  21278. name: takeOrderStatus
  21279. type: integer
  21280. produces:
  21281. - application/json
  21282. responses:
  21283. "200":
  21284. description: OK
  21285. schema:
  21286. $ref: '#/definitions/models.HsbyMyPackage'
  21287. "500":
  21288. description: Internal Server Error
  21289. schema:
  21290. $ref: '#/definitions/app.Response'
  21291. security:
  21292. - ApiKeyAuth: []
  21293. summary: 查询我的包裹信息
  21294. tags:
  21295. - 定制【海商报业】
  21296. /HSBY/QueryHsbyPreGoodsDetail:
  21297. get:
  21298. parameters:
  21299. - description: 商品ID
  21300. in: query
  21301. name: goodsID
  21302. required: true
  21303. type: integer
  21304. - description: 资金账户,主要用于获取预售商品购买上限
  21305. in: query
  21306. name: accountID
  21307. type: integer
  21308. produces:
  21309. - application/json
  21310. responses:
  21311. "200":
  21312. description: OK
  21313. schema:
  21314. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  21315. "500":
  21316. description: Internal Server Error
  21317. schema:
  21318. $ref: '#/definitions/app.Response'
  21319. security:
  21320. - ApiKeyAuth: []
  21321. summary: 查询一级市场(预售)商品信息详情
  21322. tags:
  21323. - 定制【海商报业】
  21324. /HSBY/QueryHsbyPreGoodses:
  21325. get:
  21326. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  21327. parameters:
  21328. - description: 页码
  21329. in: query
  21330. name: page
  21331. type: integer
  21332. - description: 每页条数
  21333. in: query
  21334. name: pagesize
  21335. type: integer
  21336. - description: 市场ID列表,格式:1,2,3
  21337. in: query
  21338. name: marketIDs
  21339. required: true
  21340. type: string
  21341. - description: 目的地(省)ID
  21342. in: query
  21343. name: descProvinceID
  21344. type: integer
  21345. - description: 目的地(市)ID
  21346. in: query
  21347. name: descCityID
  21348. type: integer
  21349. produces:
  21350. - application/json
  21351. responses:
  21352. "200":
  21353. description: OK
  21354. schema:
  21355. $ref: '#/definitions/models.HsbyPreGoods'
  21356. "500":
  21357. description: Internal Server Error
  21358. schema:
  21359. $ref: '#/definitions/app.Response'
  21360. security:
  21361. - ApiKeyAuth: []
  21362. summary: 查询新品上市商品列表(一级市场预售)
  21363. tags:
  21364. - 定制【海商报业】
  21365. /HSBY/QueryHsbySellMyDetails:
  21366. get:
  21367. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  21368. parameters:
  21369. - description: 页码
  21370. in: query
  21371. name: page
  21372. type: integer
  21373. - description: 每页条数
  21374. in: query
  21375. name: pagesize
  21376. type: integer
  21377. - description: 资金账户列表,格式:1,2,3
  21378. in: query
  21379. name: accountIDs
  21380. required: true
  21381. type: string
  21382. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  21383. in: query
  21384. name: orderType
  21385. type: integer
  21386. produces:
  21387. - application/json
  21388. responses:
  21389. "200":
  21390. description: OK
  21391. schema:
  21392. $ref: '#/definitions/models.HsbySellMyDetail'
  21393. "500":
  21394. description: Internal Server Error
  21395. schema:
  21396. $ref: '#/definitions/app.Response'
  21397. security:
  21398. - ApiKeyAuth: []
  21399. summary: 查询"我的闲置"单据信息
  21400. tags:
  21401. - 定制【海商报业】
  21402. /HSBY/QueryHsbyTopGoodses:
  21403. get:
  21404. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  21405. parameters:
  21406. - description: 页码
  21407. in: query
  21408. name: page
  21409. type: integer
  21410. - description: 每页条数
  21411. in: query
  21412. name: pagesize
  21413. type: integer
  21414. - description: 市场ID列表,格式:1,2,3
  21415. in: query
  21416. name: marketIDs
  21417. required: true
  21418. type: string
  21419. - description: 目的地(省)ID
  21420. in: query
  21421. name: descProvinceID
  21422. type: integer
  21423. - description: 目的地(市)ID
  21424. in: query
  21425. name: descCityID
  21426. type: integer
  21427. produces:
  21428. - application/json
  21429. responses:
  21430. "200":
  21431. description: OK
  21432. schema:
  21433. $ref: '#/definitions/models.HsbyTopGoods'
  21434. "500":
  21435. description: Internal Server Error
  21436. schema:
  21437. $ref: '#/definitions/app.Response'
  21438. security:
  21439. - ApiKeyAuth: []
  21440. summary: 查询热卖商品列表(二级市场挂牌点选)
  21441. tags:
  21442. - 定制【海商报业】
  21443. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  21444. get:
  21445. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  21446. parameters:
  21447. - description: 商品ID
  21448. in: query
  21449. name: goodsID
  21450. required: true
  21451. type: integer
  21452. produces:
  21453. - application/json
  21454. responses:
  21455. "200":
  21456. description: OK
  21457. schema:
  21458. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  21459. "500":
  21460. description: Internal Server Error
  21461. schema:
  21462. $ref: '#/definitions/app.Response'
  21463. security:
  21464. - ApiKeyAuth: []
  21465. summary: 查询游客三级市场(商城)商品信息详情
  21466. tags:
  21467. - 定制【海商报业】
  21468. /HSBY/QueryHsbyVisitorMarketGoodses:
  21469. get:
  21470. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  21471. parameters:
  21472. - description: 页码
  21473. in: query
  21474. name: page
  21475. type: integer
  21476. - description: 每页条数
  21477. in: query
  21478. name: pagesize
  21479. type: integer
  21480. - description: 市场ID列表,格式:1,2,3
  21481. in: query
  21482. name: marketIDs
  21483. required: true
  21484. type: string
  21485. - description: 类别ID
  21486. in: query
  21487. name: categoryID
  21488. type: integer
  21489. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  21490. in: query
  21491. name: goodsIDs
  21492. type: string
  21493. produces:
  21494. - application/json
  21495. responses:
  21496. "200":
  21497. description: OK
  21498. schema:
  21499. $ref: '#/definitions/models.HsbyMarketGoods'
  21500. "500":
  21501. description: Internal Server Error
  21502. schema:
  21503. $ref: '#/definitions/app.Response'
  21504. security:
  21505. - ApiKeyAuth: []
  21506. summary: 查询游客特卖商品列表(三级商城)
  21507. tags:
  21508. - 定制【海商报业】
  21509. /HSBY/QueryMyCollectionOrders:
  21510. get:
  21511. parameters:
  21512. - description: 页码
  21513. in: query
  21514. name: page
  21515. type: integer
  21516. - description: 每页条数
  21517. in: query
  21518. name: pagesize
  21519. type: integer
  21520. - description: 资金账户,格式:1,2,3
  21521. in: query
  21522. name: accountIDs
  21523. required: true
  21524. type: string
  21525. produces:
  21526. - application/json
  21527. responses:
  21528. "200":
  21529. description: OK
  21530. schema:
  21531. $ref: '#/definitions/models.HsbySellCollectionOrder'
  21532. "500":
  21533. description: Internal Server Error
  21534. schema:
  21535. $ref: '#/definitions/app.Response'
  21536. security:
  21537. - ApiKeyAuth: []
  21538. summary: 我的闲置中收款信息查询
  21539. tags:
  21540. - 定制【海商报业】
  21541. /HSBY/QueryMyCouponHolds:
  21542. get:
  21543. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  21544. parameters:
  21545. - description: 资金账户列表,格式:1,2,3
  21546. in: query
  21547. name: accountIDs
  21548. required: true
  21549. type: string
  21550. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  21551. in: query
  21552. name: holdStatus
  21553. type: string
  21554. produces:
  21555. - application/json
  21556. responses:
  21557. "200":
  21558. description: OK
  21559. schema:
  21560. $ref: '#/definitions/models.MyCouponHold'
  21561. "500":
  21562. description: Internal Server Error
  21563. schema:
  21564. $ref: '#/definitions/app.Response'
  21565. security:
  21566. - ApiKeyAuth: []
  21567. summary: 我的优惠卷持仓查询
  21568. tags:
  21569. - 定制【海商报业】
  21570. /HSBY/QueryMyCoupons:
  21571. get:
  21572. parameters:
  21573. - description: 资金账户列表,格式:1,2,3
  21574. in: query
  21575. name: accountIDs
  21576. required: true
  21577. type: string
  21578. - description: 商品ID, 一般与sellUserID配套传入
  21579. in: query
  21580. name: goodsID
  21581. type: integer
  21582. - description: 卖方UserID
  21583. in: query
  21584. name: sellUserID
  21585. type: integer
  21586. produces:
  21587. - application/json
  21588. responses:
  21589. "200":
  21590. description: OK
  21591. schema:
  21592. $ref: '#/definitions/models.MyCoupon'
  21593. "500":
  21594. description: Internal Server Error
  21595. schema:
  21596. $ref: '#/definitions/app.Response'
  21597. security:
  21598. - ApiKeyAuth: []
  21599. summary: 我的优惠卷查询
  21600. tags:
  21601. - 定制【海商报业】
  21602. /HSBY/QueryMyPayOrders:
  21603. get:
  21604. parameters:
  21605. - description: 页码
  21606. in: query
  21607. name: page
  21608. type: integer
  21609. - description: 每页条数
  21610. in: query
  21611. name: pagesize
  21612. type: integer
  21613. - description: 资金账户列表,格式:1,2,3
  21614. in: query
  21615. name: accountIDs
  21616. required: true
  21617. type: string
  21618. - description: 买方委托单号
  21619. in: query
  21620. name: buyOrderID
  21621. type: integer
  21622. - description: 卖方委托单号
  21623. in: query
  21624. name: sellOrderID
  21625. type: integer
  21626. produces:
  21627. - application/json
  21628. responses:
  21629. "200":
  21630. description: OK
  21631. schema:
  21632. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  21633. "500":
  21634. description: Internal Server Error
  21635. schema:
  21636. $ref: '#/definitions/app.Response'
  21637. security:
  21638. - ApiKeyAuth: []
  21639. summary: 获取我的订单中待付款信息
  21640. tags:
  21641. - 定制【海商报业】
  21642. /HSBY/QueryMyUsedCoupon:
  21643. get:
  21644. parameters:
  21645. - description: 资金账户列表,格式:1,2,3
  21646. in: query
  21647. name: accountIDs
  21648. required: true
  21649. type: string
  21650. produces:
  21651. - application/json
  21652. responses:
  21653. "200":
  21654. description: OK
  21655. schema:
  21656. $ref: '#/definitions/models.MyUsedCoupon'
  21657. "500":
  21658. description: Internal Server Error
  21659. schema:
  21660. $ref: '#/definitions/app.Response'
  21661. security:
  21662. - ApiKeyAuth: []
  21663. summary: 已使用优惠卷查询
  21664. tags:
  21665. - 定制【海商报业】
  21666. /HSBY/QueryProvincesAndCities:
  21667. get:
  21668. description: 查询结果只包括二级市场商品已关连的省市信息。
  21669. parameters:
  21670. - description: 省ID
  21671. in: query
  21672. name: provinceID
  21673. type: integer
  21674. produces:
  21675. - application/json
  21676. responses:
  21677. "200":
  21678. description: OK
  21679. schema:
  21680. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  21681. "500":
  21682. description: Internal Server Error
  21683. schema:
  21684. $ref: '#/definitions/app.Response'
  21685. security:
  21686. - ApiKeyAuth: []
  21687. summary: 查询省市信息(不包括区)
  21688. tags:
  21689. - 定制【海商报业】
  21690. /HSBY/SetHsbyMyPackagesStatus:
  21691. post:
  21692. parameters:
  21693. - description: 提货单号
  21694. in: query
  21695. name: takeOrderID
  21696. required: true
  21697. type: string
  21698. - description: 资金账号
  21699. in: query
  21700. name: accountID
  21701. required: true
  21702. type: integer
  21703. produces:
  21704. - application/json
  21705. responses:
  21706. "200":
  21707. description: OK
  21708. schema:
  21709. $ref: '#/definitions/app.Response'
  21710. "500":
  21711. description: Internal Server Error
  21712. schema:
  21713. $ref: '#/definitions/app.Response'
  21714. security:
  21715. - ApiKeyAuth: []
  21716. summary: 设置我的包裹已收货状态
  21717. tags:
  21718. - 定制【海商报业】
  21719. /Market/GetAllExExchanges:
  21720. get:
  21721. produces:
  21722. - application/json
  21723. responses:
  21724. "200":
  21725. description: OK
  21726. schema:
  21727. $ref: '#/definitions/models.Goods'
  21728. "500":
  21729. description: Internal Server Error
  21730. schema:
  21731. $ref: '#/definitions/app.Response'
  21732. security:
  21733. - ApiKeyAuth: []
  21734. summary: 获取所有外部交易所信息
  21735. tags:
  21736. - 通用市场
  21737. /Market/QueryGoodsesByLoginID:
  21738. get:
  21739. parameters:
  21740. - description: 登录账号
  21741. in: query
  21742. name: loginID
  21743. required: true
  21744. type: integer
  21745. - description: 市场ID列表,格式:1,2,3
  21746. in: query
  21747. name: marketIDs
  21748. type: string
  21749. produces:
  21750. - application/json
  21751. responses:
  21752. "200":
  21753. description: OK
  21754. schema:
  21755. $ref: '#/definitions/models.Goods'
  21756. "500":
  21757. description: Internal Server Error
  21758. schema:
  21759. $ref: '#/definitions/app.Response'
  21760. security:
  21761. - ApiKeyAuth: []
  21762. summary: 获取登录账号有权限的商品信息
  21763. tags:
  21764. - 通用市场
  21765. /Market/QueryMarketRun:
  21766. get:
  21767. parameters:
  21768. - description: 市场ID,不传返回所有
  21769. in: query
  21770. name: marketID
  21771. type: integer
  21772. produces:
  21773. - application/json
  21774. responses:
  21775. "200":
  21776. description: OK
  21777. schema:
  21778. $ref: '#/definitions/models.Marketrun'
  21779. "500":
  21780. description: Internal Server Error
  21781. schema:
  21782. $ref: '#/definitions/app.Response'
  21783. security:
  21784. - ApiKeyAuth: []
  21785. summary: 查询市场运行信息
  21786. tags:
  21787. - 通用市场
  21788. /Market/QueryMarketsByLoginID:
  21789. get:
  21790. parameters:
  21791. - description: 登录账号
  21792. in: query
  21793. name: loginID
  21794. required: true
  21795. type: integer
  21796. produces:
  21797. - application/json
  21798. responses:
  21799. "200":
  21800. description: OK
  21801. schema:
  21802. $ref: '#/definitions/models.Market'
  21803. "500":
  21804. description: Internal Server Error
  21805. schema:
  21806. $ref: '#/definitions/app.Response'
  21807. security:
  21808. - ApiKeyAuth: []
  21809. summary: 获取登录账号有权限的市场信息
  21810. tags:
  21811. - 通用市场
  21812. /Order/QueryHisTradeDetail:
  21813. get:
  21814. parameters:
  21815. - description: 资金账户 - 格式:1,2,3
  21816. in: query
  21817. name: accountID
  21818. required: true
  21819. type: string
  21820. - description: 成交单号
  21821. in: query
  21822. name: tradeID
  21823. type: integer
  21824. - description: 委托单号
  21825. in: query
  21826. name: orderID
  21827. type: integer
  21828. - description: 商品ID
  21829. in: query
  21830. name: goodsID
  21831. type: integer
  21832. - description: 交易模式 - 格式:1,2,3
  21833. in: query
  21834. name: tradeMode
  21835. type: string
  21836. - description: 委托单据类型
  21837. in: query
  21838. name: buildType
  21839. type: integer
  21840. - description: 成交类别 - 格式:1,2,3
  21841. in: query
  21842. name: tradeType
  21843. type: string
  21844. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21845. in: query
  21846. name: startDate
  21847. type: string
  21848. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21849. in: query
  21850. name: endDate
  21851. type: string
  21852. produces:
  21853. - application/json
  21854. responses:
  21855. "200":
  21856. description: OK
  21857. schema:
  21858. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  21859. "500":
  21860. description: Internal Server Error
  21861. schema:
  21862. $ref: '#/definitions/app.Response'
  21863. security:
  21864. - ApiKeyAuth: []
  21865. summary: 历史成交单查询(合约市场)
  21866. tags:
  21867. - 通用单据
  21868. /Order/QueryHisTradeOrderDetail:
  21869. get:
  21870. parameters:
  21871. - description: 资金账户 - 格式:1,2,3
  21872. in: query
  21873. name: accountID
  21874. required: true
  21875. type: string
  21876. - description: 交易模式 - 格式:1,2,3
  21877. in: query
  21878. name: tradeMode
  21879. type: string
  21880. - description: 委托状态 - 格式:1,2,3
  21881. in: query
  21882. name: orderStatus
  21883. type: string
  21884. - description: 委托单号
  21885. in: query
  21886. name: orderID
  21887. type: integer
  21888. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21889. in: query
  21890. name: startDate
  21891. type: string
  21892. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21893. in: query
  21894. name: endDate
  21895. type: string
  21896. produces:
  21897. - application/json
  21898. responses:
  21899. "200":
  21900. description: OK
  21901. schema:
  21902. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  21903. "500":
  21904. description: Internal Server Error
  21905. schema:
  21906. $ref: '#/definitions/app.Response'
  21907. security:
  21908. - ApiKeyAuth: []
  21909. summary: 历史委托单查询请求(合约市场)
  21910. tags:
  21911. - 通用单据
  21912. /Order/QueryTradeDetail:
  21913. get:
  21914. parameters:
  21915. - description: 资金账户 - 格式:1,2,3
  21916. in: query
  21917. name: accountID
  21918. required: true
  21919. type: string
  21920. - description: 成交单号
  21921. in: query
  21922. name: tradeID
  21923. type: integer
  21924. - description: 委托单号
  21925. in: query
  21926. name: orderID
  21927. type: integer
  21928. - description: 交易模式 - 格式:1,2,3
  21929. in: query
  21930. name: tradeMode
  21931. type: string
  21932. - description: 委托单据类型
  21933. in: query
  21934. name: buildType
  21935. type: integer
  21936. - description: 成交类别 - 格式:1,2,3
  21937. in: query
  21938. name: tradeType
  21939. type: string
  21940. - description: 商品ID
  21941. in: query
  21942. name: goodsID
  21943. type: integer
  21944. produces:
  21945. - application/json
  21946. responses:
  21947. "200":
  21948. description: OK
  21949. schema:
  21950. $ref: '#/definitions/order.QueryTradeDetailRsp'
  21951. "500":
  21952. description: Internal Server Error
  21953. schema:
  21954. $ref: '#/definitions/app.Response'
  21955. security:
  21956. - ApiKeyAuth: []
  21957. summary: 成交单查询(合约市场)
  21958. tags:
  21959. - 通用单据
  21960. /Order/QueryTradeOrderDetail:
  21961. get:
  21962. parameters:
  21963. - description: 资金账户 - 格式:1,2,3
  21964. in: query
  21965. name: accountID
  21966. required: true
  21967. type: string
  21968. - description: 交易模式 - 格式:1,2,3
  21969. in: query
  21970. name: tradeMode
  21971. type: string
  21972. - description: 委托状态 - 格式:1,2,3
  21973. in: query
  21974. name: orderStatus
  21975. type: string
  21976. - description: 委托单号
  21977. in: query
  21978. name: orderID
  21979. type: integer
  21980. produces:
  21981. - application/json
  21982. responses:
  21983. "200":
  21984. description: OK
  21985. schema:
  21986. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  21987. "500":
  21988. description: Internal Server Error
  21989. schema:
  21990. $ref: '#/definitions/app.Response'
  21991. security:
  21992. - ApiKeyAuth: []
  21993. summary: 委托单查询请求(合约市场)
  21994. tags:
  21995. - 通用单据
  21996. /Order/QueryTradePosition:
  21997. get:
  21998. parameters:
  21999. - description: 资金账户 - 格式:1,2,3
  22000. in: query
  22001. name: accountID
  22002. required: true
  22003. type: string
  22004. - description: 交易模式 - 格式:1,2,3
  22005. in: query
  22006. name: tradeMode
  22007. type: string
  22008. produces:
  22009. - application/json
  22010. responses:
  22011. "200":
  22012. description: OK
  22013. schema:
  22014. $ref: '#/definitions/order.QueryTradePositionRsp'
  22015. "500":
  22016. description: Internal Server Error
  22017. schema:
  22018. $ref: '#/definitions/app.Response'
  22019. security:
  22020. - ApiKeyAuth: []
  22021. summary: 持仓汇总查询(合约市场)
  22022. tags:
  22023. - 通用单据
  22024. /Qhj/QueryAccountInOutApply:
  22025. get:
  22026. parameters:
  22027. - description: 用户ID
  22028. in: query
  22029. name: userid
  22030. required: true
  22031. type: integer
  22032. - description: 申请起始日期(格式yyyymmdd)
  22033. in: query
  22034. name: begindate
  22035. type: string
  22036. - description: 申请截止日期(格式yyyymmdd)
  22037. in: query
  22038. name: enddate
  22039. type: string
  22040. - description: 模糊搜索名称
  22041. in: query
  22042. name: likename
  22043. type: string
  22044. produces:
  22045. - application/json
  22046. responses:
  22047. "200":
  22048. description: OK
  22049. schema:
  22050. items:
  22051. $ref: '#/definitions/models.QhjAccountOutInApply'
  22052. type: array
  22053. "500":
  22054. description: Internal Server Error
  22055. schema:
  22056. $ref: '#/definitions/app.Response'
  22057. security:
  22058. - ApiKeyAuth: []
  22059. summary: 查询充值提现
  22060. tags:
  22061. - 大连千海金
  22062. /Qhj/QueryAreaFinanceConfig:
  22063. get:
  22064. parameters:
  22065. - description: 机构用户ID 其他做市关系,都设置为 1
  22066. in: query
  22067. name: userid
  22068. type: integer
  22069. produces:
  22070. - application/json
  22071. responses:
  22072. "200":
  22073. description: OK
  22074. schema:
  22075. items:
  22076. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  22077. type: array
  22078. "500":
  22079. description: Internal Server Error
  22080. schema:
  22081. $ref: '#/definitions/app.Response'
  22082. security:
  22083. - ApiKeyAuth: []
  22084. summary: 查询企业配置表
  22085. tags:
  22086. - 大连千海金
  22087. /Qhj/QueryBankAccountSign:
  22088. get:
  22089. parameters:
  22090. - description: 用户ID
  22091. in: query
  22092. name: userid
  22093. required: true
  22094. type: integer
  22095. produces:
  22096. - application/json
  22097. responses:
  22098. "200":
  22099. description: OK
  22100. schema:
  22101. items:
  22102. $ref: '#/definitions/models.QhjBankAccountSign'
  22103. type: array
  22104. "500":
  22105. description: Internal Server Error
  22106. schema:
  22107. $ref: '#/definitions/app.Response'
  22108. security:
  22109. - ApiKeyAuth: []
  22110. summary: 查询签约银行信息(提现账户管理)
  22111. tags:
  22112. - 大连千海金
  22113. /Qhj/QueryBankInfo:
  22114. get:
  22115. produces:
  22116. - application/json
  22117. responses:
  22118. "200":
  22119. description: OK
  22120. schema:
  22121. items:
  22122. $ref: '#/definitions/models.QhjBankInfo'
  22123. type: array
  22124. "500":
  22125. description: Internal Server Error
  22126. schema:
  22127. $ref: '#/definitions/app.Response'
  22128. security:
  22129. - ApiKeyAuth: []
  22130. summary: 查询开户行
  22131. tags:
  22132. - 大连千海金
  22133. /Qhj/QueryBrokerApply:
  22134. get:
  22135. parameters:
  22136. - description: 所属机构ID
  22137. in: query
  22138. name: userid
  22139. type: integer
  22140. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22141. in: query
  22142. name: filterstatus
  22143. type: string
  22144. produces:
  22145. - application/json
  22146. responses:
  22147. "200":
  22148. description: OK
  22149. schema:
  22150. items:
  22151. $ref: '#/definitions/models.QhjBrokerApply'
  22152. type: array
  22153. "500":
  22154. description: Internal Server Error
  22155. schema:
  22156. $ref: '#/definitions/app.Response'
  22157. security:
  22158. - ApiKeyAuth: []
  22159. summary: 查询经纪人申请
  22160. tags:
  22161. - 大连千海金
  22162. /Qhj/QueryBrokerApplyEx:
  22163. get:
  22164. parameters:
  22165. - description: 所属机构ID
  22166. in: query
  22167. name: userid
  22168. type: integer
  22169. produces:
  22170. - application/json
  22171. responses:
  22172. "200":
  22173. description: OK
  22174. schema:
  22175. items:
  22176. $ref: '#/definitions/models.QhjBrokerApplyEx'
  22177. type: array
  22178. "500":
  22179. description: Internal Server Error
  22180. schema:
  22181. $ref: '#/definitions/app.Response'
  22182. security:
  22183. - ApiKeyAuth: []
  22184. summary: 查询经纪人信息和申请记录
  22185. tags:
  22186. - 大连千海金
  22187. /Qhj/QueryBrokerRewardLog:
  22188. get:
  22189. parameters:
  22190. - description: 用户ID
  22191. in: query
  22192. name: userid
  22193. required: true
  22194. type: integer
  22195. - description: 开始交易日(yyyymmdd)
  22196. in: query
  22197. name: begindate
  22198. type: string
  22199. - description: 结束交易日(yyyymmdd)
  22200. in: query
  22201. name: enddate
  22202. type: string
  22203. produces:
  22204. - application/json
  22205. responses:
  22206. "200":
  22207. description: OK
  22208. schema:
  22209. items:
  22210. $ref: '#/definitions/models.QhjBrokerRewardLog'
  22211. type: array
  22212. "500":
  22213. description: Internal Server Error
  22214. schema:
  22215. $ref: '#/definitions/app.Response'
  22216. security:
  22217. - ApiKeyAuth: []
  22218. summary: 查询奖励流水(我的奖励)
  22219. tags:
  22220. - 大连千海金
  22221. /Qhj/QueryContract:
  22222. get:
  22223. parameters:
  22224. - description: 用户ID
  22225. in: query
  22226. name: userid
  22227. type: integer
  22228. - description: scf合同id
  22229. in: query
  22230. name: scfcontractid
  22231. type: integer
  22232. produces:
  22233. - application/json
  22234. responses:
  22235. "200":
  22236. description: OK
  22237. schema:
  22238. items:
  22239. $ref: '#/definitions/models.QhjContract'
  22240. type: array
  22241. "500":
  22242. description: Internal Server Error
  22243. schema:
  22244. $ref: '#/definitions/app.Response'
  22245. security:
  22246. - ApiKeyAuth: []
  22247. summary: 查询融资明细(合同)
  22248. tags:
  22249. - 大连千海金
  22250. /Qhj/QueryContractLog:
  22251. get:
  22252. parameters:
  22253. - description: scf合同id
  22254. in: query
  22255. name: scfcontractid
  22256. required: true
  22257. type: integer
  22258. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  22259. in: query
  22260. name: amounttype
  22261. type: string
  22262. produces:
  22263. - application/json
  22264. responses:
  22265. "200":
  22266. description: OK
  22267. schema:
  22268. items:
  22269. $ref: '#/definitions/models.QhjContractLog'
  22270. type: array
  22271. "500":
  22272. description: Internal Server Error
  22273. schema:
  22274. $ref: '#/definitions/app.Response'
  22275. security:
  22276. - ApiKeyAuth: []
  22277. summary: 查询融资明细流水(融资明细详情页中的流水)
  22278. tags:
  22279. - 大连千海金
  22280. /Qhj/QueryCusBankSignBank:
  22281. get:
  22282. produces:
  22283. - application/json
  22284. responses:
  22285. "200":
  22286. description: OK
  22287. schema:
  22288. items:
  22289. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  22290. type: array
  22291. "500":
  22292. description: Internal Server Error
  22293. schema:
  22294. $ref: '#/definitions/app.Response'
  22295. security:
  22296. - ApiKeyAuth: []
  22297. summary: 查询托管银行
  22298. tags:
  22299. - 大连千海金
  22300. /Qhj/QueryCustomerInfo:
  22301. get:
  22302. parameters:
  22303. - description: 用户ID
  22304. in: query
  22305. name: userid
  22306. required: true
  22307. type: integer
  22308. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  22309. in: query
  22310. name: querytype
  22311. required: true
  22312. type: integer
  22313. - description: 客户类型 1-个人 2-企业
  22314. in: query
  22315. name: userinfotype
  22316. type: integer
  22317. - description: 客户名称(模糊匹配)
  22318. in: query
  22319. name: customername
  22320. type: string
  22321. - description: 昵称(模糊匹配)
  22322. in: query
  22323. name: nickname
  22324. type: string
  22325. - description: 是否包含子级 1-包含
  22326. in: query
  22327. name: includesub
  22328. type: integer
  22329. produces:
  22330. - application/json
  22331. responses:
  22332. "200":
  22333. description: OK
  22334. schema:
  22335. items:
  22336. $ref: '#/definitions/models.QhjCustomer'
  22337. type: array
  22338. "500":
  22339. description: Internal Server Error
  22340. schema:
  22341. $ref: '#/definitions/app.Response'
  22342. security:
  22343. - ApiKeyAuth: []
  22344. summary: 查询客户资料
  22345. tags:
  22346. - 大连千海金
  22347. /Qhj/QueryGoodsEx:
  22348. get:
  22349. parameters:
  22350. - description: 商品id
  22351. in: query
  22352. name: goodsid
  22353. type: integer
  22354. produces:
  22355. - application/json
  22356. responses:
  22357. "200":
  22358. description: OK
  22359. schema:
  22360. items:
  22361. $ref: '#/definitions/models.Qhjgoodsex'
  22362. type: array
  22363. "500":
  22364. description: Internal Server Error
  22365. schema:
  22366. $ref: '#/definitions/app.Response'
  22367. security:
  22368. - ApiKeyAuth: []
  22369. summary: 交易商品扩展表
  22370. tags:
  22371. - 大连千海金
  22372. /Qhj/QueryMyTeam:
  22373. get:
  22374. parameters:
  22375. - description: 用户ID
  22376. in: query
  22377. name: userid
  22378. required: true
  22379. type: integer
  22380. produces:
  22381. - application/json
  22382. responses:
  22383. "200":
  22384. description: OK
  22385. schema:
  22386. items:
  22387. $ref: '#/definitions/models.QhjMyTeamEx'
  22388. type: array
  22389. "500":
  22390. description: Internal Server Error
  22391. schema:
  22392. $ref: '#/definitions/app.Response'
  22393. security:
  22394. - ApiKeyAuth: []
  22395. summary: 查询我的团队
  22396. tags:
  22397. - 大连千海金
  22398. /Qhj/QueryMyTeamOrder:
  22399. get:
  22400. parameters:
  22401. - description: 页码
  22402. in: query
  22403. name: page
  22404. type: integer
  22405. - description: 每页条数
  22406. in: query
  22407. name: pagesize
  22408. type: integer
  22409. - description: 用户ID
  22410. in: query
  22411. name: userid
  22412. required: true
  22413. type: integer
  22414. - description: 交易模式
  22415. in: query
  22416. name: trademode
  22417. type: integer
  22418. - description: 名称(模糊搜索账户)
  22419. in: query
  22420. name: filtername
  22421. type: string
  22422. produces:
  22423. - application/json
  22424. responses:
  22425. "200":
  22426. description: OK
  22427. schema:
  22428. items:
  22429. $ref: '#/definitions/models.QhjTeamOrder'
  22430. type: array
  22431. "500":
  22432. description: Internal Server Error
  22433. schema:
  22434. $ref: '#/definitions/app.Response'
  22435. security:
  22436. - ApiKeyAuth: []
  22437. summary: 查询团队订单(我的团队/团队订单)
  22438. tags:
  22439. - 大连千海金
  22440. /Qhj/QueryParentAreaList:
  22441. get:
  22442. parameters:
  22443. - description: 用户ID
  22444. in: query
  22445. name: userid
  22446. required: true
  22447. type: integer
  22448. produces:
  22449. - application/json
  22450. responses:
  22451. "200":
  22452. description: OK
  22453. schema:
  22454. items:
  22455. $ref: '#/definitions/models.QhjParentAreaList'
  22456. type: array
  22457. "500":
  22458. description: Internal Server Error
  22459. schema:
  22460. $ref: '#/definitions/app.Response'
  22461. security:
  22462. - ApiKeyAuth: []
  22463. summary: 查询所属机构列表
  22464. tags:
  22465. - 大连千海金
  22466. /Qhj/QueryPayOrder:
  22467. get:
  22468. parameters:
  22469. - description: 资金账号id
  22470. in: query
  22471. name: accountid
  22472. required: true
  22473. type: integer
  22474. - description: 成交单号
  22475. in: query
  22476. name: tradeid
  22477. type: integer
  22478. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  22479. in: query
  22480. name: payflag
  22481. type: string
  22482. produces:
  22483. - application/json
  22484. responses:
  22485. "200":
  22486. description: OK
  22487. schema:
  22488. items:
  22489. $ref: '#/definitions/models.QhjPayOrder'
  22490. type: array
  22491. "500":
  22492. description: Internal Server Error
  22493. schema:
  22494. $ref: '#/definitions/app.Response'
  22495. security:
  22496. - ApiKeyAuth: []
  22497. summary: 查询待付款单据
  22498. tags:
  22499. - 大连千海金
  22500. /Qhj/QueryPickArea:
  22501. get:
  22502. parameters:
  22503. - description: 用户ID
  22504. in: query
  22505. name: userid
  22506. type: integer
  22507. produces:
  22508. - application/json
  22509. responses:
  22510. "200":
  22511. description: OK
  22512. schema:
  22513. items:
  22514. $ref: '#/definitions/models.QhjPickArea'
  22515. type: array
  22516. "500":
  22517. description: Internal Server Error
  22518. schema:
  22519. $ref: '#/definitions/app.Response'
  22520. security:
  22521. - ApiKeyAuth: []
  22522. summary: 查询提货门店
  22523. tags:
  22524. - 大连千海金
  22525. /Qhj/QueryPickGoods:
  22526. get:
  22527. parameters:
  22528. - description: 交易商品id
  22529. in: query
  22530. name: goodsid
  22531. required: true
  22532. type: integer
  22533. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  22534. in: query
  22535. name: status
  22536. type: string
  22537. produces:
  22538. - application/json
  22539. responses:
  22540. "200":
  22541. description: OK
  22542. schema:
  22543. items:
  22544. $ref: '#/definitions/models.QhjPickGoods'
  22545. type: array
  22546. "500":
  22547. description: Internal Server Error
  22548. schema:
  22549. $ref: '#/definitions/app.Response'
  22550. security:
  22551. - ApiKeyAuth: []
  22552. summary: 查询提货商品
  22553. tags:
  22554. - 大连千海金
  22555. /Qhj/QueryRSTriggerLog:
  22556. get:
  22557. parameters:
  22558. - description: 用户ID
  22559. in: query
  22560. name: userid
  22561. type: integer
  22562. - description: 定投策略id
  22563. in: query
  22564. name: regularlystrategyid
  22565. type: integer
  22566. - description: 商品id
  22567. in: query
  22568. name: goodsid
  22569. type: integer
  22570. - description: 开始交易日(yyyymmdd)
  22571. in: query
  22572. name: begindate
  22573. type: string
  22574. - description: 结束交易日(yyyymmdd)
  22575. in: query
  22576. name: enddate
  22577. type: string
  22578. - description: 名称(模糊搜索账户)
  22579. in: query
  22580. name: filtername
  22581. type: string
  22582. produces:
  22583. - application/json
  22584. responses:
  22585. "200":
  22586. description: OK
  22587. schema:
  22588. items:
  22589. $ref: '#/definitions/models.QhjRSTriggerLog'
  22590. type: array
  22591. "500":
  22592. description: Internal Server Error
  22593. schema:
  22594. $ref: '#/definitions/app.Response'
  22595. security:
  22596. - ApiKeyAuth: []
  22597. summary: 查询定投记录(定投管理/详情/定投记录)
  22598. tags:
  22599. - 大连千海金
  22600. /Qhj/QueryRStrategy:
  22601. get:
  22602. parameters:
  22603. - description: 用户ID
  22604. in: query
  22605. name: userid
  22606. type: integer
  22607. - description: 商品id
  22608. in: query
  22609. name: goodsid
  22610. type: integer
  22611. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  22612. in: query
  22613. name: status
  22614. type: string
  22615. - description: 名称(模糊搜索账户)
  22616. in: query
  22617. name: filtername
  22618. type: string
  22619. produces:
  22620. - application/json
  22621. responses:
  22622. "200":
  22623. description: OK
  22624. schema:
  22625. items:
  22626. $ref: '#/definitions/models.QhjRStrategy'
  22627. type: array
  22628. "500":
  22629. description: Internal Server Error
  22630. schema:
  22631. $ref: '#/definitions/app.Response'
  22632. security:
  22633. - ApiKeyAuth: []
  22634. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  22635. tags:
  22636. - 大连千海金
  22637. /Qhj/QueryReckonPriceLog:
  22638. get:
  22639. parameters:
  22640. - description: 商品ID
  22641. in: query
  22642. name: goodsid
  22643. type: integer
  22644. - description: 交易日 格式(yyyymmdd)
  22645. in: query
  22646. name: tradedate
  22647. type: string
  22648. produces:
  22649. - application/json
  22650. responses:
  22651. "200":
  22652. description: OK
  22653. schema:
  22654. items:
  22655. $ref: '#/definitions/models.QhjReckonPriceLog'
  22656. type: array
  22657. "500":
  22658. description: Internal Server Error
  22659. schema:
  22660. $ref: '#/definitions/app.Response'
  22661. security:
  22662. - ApiKeyAuth: []
  22663. summary: 查询定投价(结算价)
  22664. tags:
  22665. - 大连千海金
  22666. /Qhj/QueryScoreLog:
  22667. get:
  22668. parameters:
  22669. - description: 用户ID
  22670. in: query
  22671. name: userid
  22672. required: true
  22673. type: integer
  22674. - description: 开始交易日(yyyymmdd)
  22675. in: query
  22676. name: begindate
  22677. type: string
  22678. - description: 结束交易日(yyyymmdd)
  22679. in: query
  22680. name: enddate
  22681. type: string
  22682. - description: 最近多少条
  22683. in: query
  22684. name: lastnum
  22685. type: integer
  22686. produces:
  22687. - application/json
  22688. responses:
  22689. "200":
  22690. description: OK
  22691. schema:
  22692. items:
  22693. $ref: '#/definitions/models.QhjScoreLog'
  22694. type: array
  22695. "500":
  22696. description: Internal Server Error
  22697. schema:
  22698. $ref: '#/definitions/app.Response'
  22699. security:
  22700. - ApiKeyAuth: []
  22701. summary: 查询积分流水(我的积分)
  22702. tags:
  22703. - 大连千海金
  22704. /Qhj/QuerySiteColumnDetail:
  22705. get:
  22706. parameters:
  22707. - description: 用户ID
  22708. in: query
  22709. name: userid
  22710. required: true
  22711. type: integer
  22712. produces:
  22713. - application/json
  22714. responses:
  22715. "200":
  22716. description: OK
  22717. schema:
  22718. items:
  22719. $ref: '#/definitions/models.QhjSiteColumnDetail'
  22720. type: array
  22721. "500":
  22722. description: Internal Server Error
  22723. schema:
  22724. $ref: '#/definitions/app.Response'
  22725. security:
  22726. - ApiKeyAuth: []
  22727. summary: 查询资讯
  22728. tags:
  22729. - 大连千海金
  22730. /Qhj/QueryTradeGoodsPickup:
  22731. get:
  22732. parameters:
  22733. - description: 用户ID
  22734. in: query
  22735. name: userid
  22736. required: true
  22737. type: integer
  22738. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  22739. 7:已拒绝 8:已撤销
  22740. in: query
  22741. name: takeorderstatus
  22742. type: integer
  22743. produces:
  22744. - application/json
  22745. responses:
  22746. "200":
  22747. description: OK
  22748. schema:
  22749. items:
  22750. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  22751. type: array
  22752. "500":
  22753. description: Internal Server Error
  22754. schema:
  22755. $ref: '#/definitions/app.Response'
  22756. security:
  22757. - ApiKeyAuth: []
  22758. summary: 查询提货
  22759. tags:
  22760. - 大连千海金
  22761. /Qhj/QueryUserCollectConfig:
  22762. get:
  22763. parameters:
  22764. - description: 用户ID
  22765. in: query
  22766. name: userid
  22767. required: true
  22768. type: integer
  22769. produces:
  22770. - application/json
  22771. responses:
  22772. "200":
  22773. description: OK
  22774. schema:
  22775. items:
  22776. $ref: '#/definitions/models.UserCollectConfig'
  22777. type: array
  22778. "500":
  22779. description: Internal Server Error
  22780. schema:
  22781. $ref: '#/definitions/app.Response'
  22782. security:
  22783. - ApiKeyAuth: []
  22784. summary: 查询提现账户设置
  22785. tags:
  22786. - 大连千海金
  22787. /Qhj/QueryUserReceiveInfo:
  22788. get:
  22789. parameters:
  22790. - description: 用户ID
  22791. in: query
  22792. name: userid
  22793. required: true
  22794. type: integer
  22795. produces:
  22796. - application/json
  22797. responses:
  22798. "200":
  22799. description: OK
  22800. schema:
  22801. items:
  22802. $ref: '#/definitions/models.UserReceiveInfo'
  22803. type: array
  22804. "500":
  22805. description: Internal Server Error
  22806. schema:
  22807. $ref: '#/definitions/app.Response'
  22808. security:
  22809. - ApiKeyAuth: []
  22810. summary: 查询收货地址信息
  22811. tags:
  22812. - 大连千海金
  22813. /QhjMgr/QueryAccountInOutApply:
  22814. get:
  22815. parameters:
  22816. - description: 查询类型 1-提现(出金) 2-充值(出金)
  22817. in: query
  22818. name: querytype
  22819. required: true
  22820. type: integer
  22821. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  22822. in: query
  22823. name: applystatus
  22824. type: integer
  22825. - description: 申请起始日期(格式yyyymmdd)
  22826. in: query
  22827. name: begindate
  22828. type: string
  22829. - description: 申请截止日期(格式yyyymmdd)
  22830. in: query
  22831. name: enddate
  22832. type: string
  22833. - description: 模糊搜索名称
  22834. in: query
  22835. name: likename
  22836. type: string
  22837. produces:
  22838. - application/json
  22839. responses:
  22840. "200":
  22841. description: OK
  22842. schema:
  22843. items:
  22844. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  22845. type: array
  22846. "500":
  22847. description: Internal Server Error
  22848. schema:
  22849. $ref: '#/definitions/app.Response'
  22850. security:
  22851. - ApiKeyAuth: []
  22852. summary: 查询充值提现
  22853. tags:
  22854. - 大连千海金(PCWeb)
  22855. /QhjMgr/QueryBrokerApply:
  22856. get:
  22857. parameters:
  22858. - description: 所属机构ID
  22859. in: query
  22860. name: userid
  22861. type: integer
  22862. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22863. in: query
  22864. name: filterstatus
  22865. type: string
  22866. - description: 名称(模糊匹配)
  22867. in: query
  22868. name: filtername
  22869. type: string
  22870. - description: 是否包含子级 1-包含
  22871. in: query
  22872. name: includesub
  22873. type: integer
  22874. produces:
  22875. - application/json
  22876. responses:
  22877. "200":
  22878. description: OK
  22879. schema:
  22880. items:
  22881. $ref: '#/definitions/models.QhjMgrBrokerApply'
  22882. type: array
  22883. "500":
  22884. description: Internal Server Error
  22885. schema:
  22886. $ref: '#/definitions/app.Response'
  22887. security:
  22888. - ApiKeyAuth: []
  22889. summary: 查询经纪人申请
  22890. tags:
  22891. - 大连千海金(PCWeb)
  22892. /QhjMgr/QueryBrokerRewardReport:
  22893. get:
  22894. parameters:
  22895. - description: 所属机构ID
  22896. in: query
  22897. name: userid
  22898. required: true
  22899. type: integer
  22900. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22901. in: query
  22902. name: cycletype
  22903. required: true
  22904. type: integer
  22905. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  22906. in: query
  22907. name: cycletime
  22908. required: true
  22909. type: string
  22910. - description: 名称(模糊匹配)
  22911. in: query
  22912. name: filtername
  22913. type: string
  22914. - description: 是否包含子级 1-包含
  22915. in: query
  22916. name: includesub
  22917. type: integer
  22918. produces:
  22919. - application/json
  22920. responses:
  22921. "200":
  22922. description: OK
  22923. schema:
  22924. items:
  22925. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  22926. type: array
  22927. "500":
  22928. description: Internal Server Error
  22929. schema:
  22930. $ref: '#/definitions/app.Response'
  22931. security:
  22932. - ApiKeyAuth: []
  22933. summary: 查询经纪人奖励报表(废弃)
  22934. tags:
  22935. - 大连千海金(PCWeb)
  22936. /QhjMgr/QueryContract:
  22937. get:
  22938. parameters:
  22939. - description: 用户ID
  22940. in: query
  22941. name: userid
  22942. type: integer
  22943. - description: 商品id
  22944. in: query
  22945. name: goodsid
  22946. type: integer
  22947. - description: 名称(模糊搜索账户)
  22948. in: query
  22949. name: filtername
  22950. type: string
  22951. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  22952. in: query
  22953. name: risklevel
  22954. type: string
  22955. - description: 开始交易日(yyyymmdd)
  22956. in: query
  22957. name: begindate
  22958. type: string
  22959. - description: 结束交易日(yyyymmdd)
  22960. in: query
  22961. name: enddate
  22962. type: string
  22963. produces:
  22964. - application/json
  22965. responses:
  22966. "200":
  22967. description: OK
  22968. schema:
  22969. items:
  22970. $ref: '#/definitions/models.QhjMgrContract'
  22971. type: array
  22972. "500":
  22973. description: Internal Server Error
  22974. schema:
  22975. $ref: '#/definitions/app.Response'
  22976. security:
  22977. - ApiKeyAuth: []
  22978. summary: 查询融资信息(合同)
  22979. tags:
  22980. - 大连千海金(PCWeb)
  22981. /QhjMgr/QueryCustomerInfo:
  22982. get:
  22983. parameters:
  22984. - description: 用户ID
  22985. in: query
  22986. name: userid
  22987. required: true
  22988. type: integer
  22989. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  22990. in: query
  22991. name: querytype
  22992. required: true
  22993. type: integer
  22994. - description: 客户类型 1-个人 2-企业
  22995. in: query
  22996. name: userinfotype
  22997. type: integer
  22998. - description: 客户名称(模糊匹配)
  22999. in: query
  23000. name: customername
  23001. type: string
  23002. - description: 昵称(模糊匹配)
  23003. in: query
  23004. name: nickname
  23005. type: string
  23006. - description: 是否包含子级 1-包含
  23007. in: query
  23008. name: includesub
  23009. type: integer
  23010. produces:
  23011. - application/json
  23012. responses:
  23013. "200":
  23014. description: OK
  23015. schema:
  23016. items:
  23017. $ref: '#/definitions/models.QhjMgrCustomer'
  23018. type: array
  23019. "500":
  23020. description: Internal Server Error
  23021. schema:
  23022. $ref: '#/definitions/app.Response'
  23023. security:
  23024. - ApiKeyAuth: []
  23025. summary: 查询客户资料
  23026. tags:
  23027. - 大连千海金(PCWeb)
  23028. /QhjMgr/QueryPickGoods:
  23029. get:
  23030. parameters:
  23031. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  23032. in: query
  23033. name: status
  23034. type: string
  23035. produces:
  23036. - application/json
  23037. responses:
  23038. "200":
  23039. description: OK
  23040. schema:
  23041. items:
  23042. $ref: '#/definitions/models.QhjMgrPickGoods'
  23043. type: array
  23044. "500":
  23045. description: Internal Server Error
  23046. schema:
  23047. $ref: '#/definitions/app.Response'
  23048. security:
  23049. - ApiKeyAuth: []
  23050. summary: 查询提货商品
  23051. tags:
  23052. - 大连千海金(PCWeb)
  23053. /QhjMgr/QuerySubArea:
  23054. get:
  23055. parameters:
  23056. - description: 用户ID
  23057. in: query
  23058. name: userid
  23059. required: true
  23060. type: integer
  23061. produces:
  23062. - application/json
  23063. responses:
  23064. "200":
  23065. description: OK
  23066. schema:
  23067. items:
  23068. $ref: '#/definitions/models.QhjMgrSubArea'
  23069. type: array
  23070. "500":
  23071. description: Internal Server Error
  23072. schema:
  23073. $ref: '#/definitions/app.Response'
  23074. security:
  23075. - ApiKeyAuth: []
  23076. summary: 查询子机构列表
  23077. tags:
  23078. - 大连千海金(PCWeb)
  23079. /QhjMgr/QueryTradeDetail:
  23080. get:
  23081. parameters:
  23082. - description: 用户ID
  23083. in: query
  23084. name: userid
  23085. required: true
  23086. type: integer
  23087. - description: 用户类型 1-个人 2-企业
  23088. in: query
  23089. name: userinfotype
  23090. type: integer
  23091. - description: 交易模式
  23092. in: query
  23093. name: trademode
  23094. type: integer
  23095. - description: 商品id
  23096. in: query
  23097. name: goodsid
  23098. type: integer
  23099. - description: 名称(模糊搜索账户)
  23100. in: query
  23101. name: filtername
  23102. type: string
  23103. - description: 开始交易日(yyyymmdd)
  23104. in: query
  23105. name: begindate
  23106. type: string
  23107. - description: 结束交易日(yyyymmdd)
  23108. in: query
  23109. name: enddate
  23110. type: string
  23111. - description: 是否包含子级 1-包含
  23112. in: query
  23113. name: includesub
  23114. type: integer
  23115. produces:
  23116. - application/json
  23117. responses:
  23118. "200":
  23119. description: OK
  23120. schema:
  23121. items:
  23122. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  23123. type: array
  23124. "500":
  23125. description: Internal Server Error
  23126. schema:
  23127. $ref: '#/definitions/app.Response'
  23128. security:
  23129. - ApiKeyAuth: []
  23130. summary: 查询成交明细
  23131. tags:
  23132. - 大连千海金(PCWeb)
  23133. /QhjMgr/QueryTradeOrderDetail:
  23134. get:
  23135. parameters:
  23136. - description: 用户ID
  23137. in: query
  23138. name: userid
  23139. required: true
  23140. type: integer
  23141. - description: 用户类型 1-个人 2-企业
  23142. in: query
  23143. name: userinfotype
  23144. type: integer
  23145. - description: 交易模式
  23146. in: query
  23147. name: trademode
  23148. type: integer
  23149. - description: 商品id
  23150. in: query
  23151. name: goodsid
  23152. type: integer
  23153. - description: 名称(模糊搜索账户)
  23154. in: query
  23155. name: filtername
  23156. type: string
  23157. - description: 开始交易日(yyyymmdd)
  23158. in: query
  23159. name: begindate
  23160. type: string
  23161. - description: 结束交易日(yyyymmdd)
  23162. in: query
  23163. name: enddate
  23164. type: string
  23165. - description: 是否包含子级 1-包含
  23166. in: query
  23167. name: includesub
  23168. type: integer
  23169. produces:
  23170. - application/json
  23171. responses:
  23172. "200":
  23173. description: OK
  23174. schema:
  23175. items:
  23176. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  23177. type: array
  23178. "500":
  23179. description: Internal Server Error
  23180. schema:
  23181. $ref: '#/definitions/app.Response'
  23182. security:
  23183. - ApiKeyAuth: []
  23184. summary: 查询委托明细
  23185. tags:
  23186. - 大连千海金(PCWeb)
  23187. /QhjMgr/QueryTradePayOrder:
  23188. get:
  23189. parameters:
  23190. - description: 用户ID
  23191. in: query
  23192. name: userid
  23193. required: true
  23194. type: integer
  23195. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  23196. in: query
  23197. name: payflag
  23198. type: string
  23199. - description: 用户类型 1-个人 2-企业
  23200. in: query
  23201. name: userinfotype
  23202. type: integer
  23203. - description: 交易模式
  23204. in: query
  23205. name: trademode
  23206. type: integer
  23207. - description: 商品id
  23208. in: query
  23209. name: goodsid
  23210. type: integer
  23211. - description: 名称(模糊搜索账户)
  23212. in: query
  23213. name: filtername
  23214. type: string
  23215. - description: 开始交易日(yyyymmdd)
  23216. in: query
  23217. name: begindate
  23218. type: string
  23219. - description: 结束交易日(yyyymmdd)
  23220. in: query
  23221. name: enddate
  23222. type: string
  23223. - description: 是否包含子级 1-包含
  23224. in: query
  23225. name: includesub
  23226. type: integer
  23227. produces:
  23228. - application/json
  23229. responses:
  23230. "200":
  23231. description: OK
  23232. schema:
  23233. items:
  23234. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  23235. type: array
  23236. "500":
  23237. description: Internal Server Error
  23238. schema:
  23239. $ref: '#/definitions/app.Response'
  23240. security:
  23241. - ApiKeyAuth: []
  23242. summary: 查询待付款单
  23243. tags:
  23244. - 大连千海金(PCWeb)
  23245. /QhjMgr/QueryTradePosition:
  23246. get:
  23247. parameters:
  23248. - description: 用户ID
  23249. in: query
  23250. name: userid
  23251. required: true
  23252. type: integer
  23253. - description: 用户类型 1-个人 2-企业
  23254. in: query
  23255. name: userinfotype
  23256. type: integer
  23257. - description: 交易模式
  23258. in: query
  23259. name: trademode
  23260. type: integer
  23261. - description: 商品id
  23262. in: query
  23263. name: goodsid
  23264. type: integer
  23265. - description: 名称(模糊搜索账户)
  23266. in: query
  23267. name: filtername
  23268. type: string
  23269. - description: 是否包含子级 1-包含
  23270. in: query
  23271. name: includesub
  23272. type: integer
  23273. produces:
  23274. - application/json
  23275. responses:
  23276. "200":
  23277. description: OK
  23278. schema:
  23279. items:
  23280. $ref: '#/definitions/models.QhjMgrPositionRsp'
  23281. type: array
  23282. "500":
  23283. description: Internal Server Error
  23284. schema:
  23285. $ref: '#/definitions/app.Response'
  23286. security:
  23287. - ApiKeyAuth: []
  23288. summary: 查询持仓汇总
  23289. tags:
  23290. - 大连千海金(PCWeb)
  23291. /QhjSys/QueryAgreementChangeLog:
  23292. get:
  23293. parameters:
  23294. - description: 协议ID
  23295. in: query
  23296. name: agreementid
  23297. type: integer
  23298. - description: 协议版本号
  23299. in: query
  23300. name: agreementversion
  23301. type: integer
  23302. - description: 协议类型 - 1:注册 2:登录 3:交易
  23303. in: query
  23304. name: agreementtype
  23305. type: integer
  23306. - description: 协议编号(模糊匹配)
  23307. in: query
  23308. name: agreementno
  23309. type: string
  23310. - description: 协议名称(模糊匹配)
  23311. in: query
  23312. name: agreementname
  23313. type: string
  23314. produces:
  23315. - application/json
  23316. responses:
  23317. "200":
  23318. description: OK
  23319. schema:
  23320. items:
  23321. $ref: '#/definitions/models.QhjAgreementChangeLog'
  23322. type: array
  23323. "500":
  23324. description: Internal Server Error
  23325. schema:
  23326. $ref: '#/definitions/app.Response'
  23327. security:
  23328. - ApiKeyAuth: []
  23329. summary: 查询协议配置变更流水
  23330. tags:
  23331. - 大连千海金(协议和签约信息)
  23332. /QhjSys/QueryAgreementConfig:
  23333. get:
  23334. parameters:
  23335. - description: 协议ID
  23336. in: query
  23337. name: agreementid
  23338. type: integer
  23339. - description: 协议版本号
  23340. in: query
  23341. name: agreementversion
  23342. type: integer
  23343. - description: 协议类型 - 1:注册 2:登录 3:交易
  23344. in: query
  23345. name: agreementtype
  23346. type: integer
  23347. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  23348. in: query
  23349. name: isvalid
  23350. type: integer
  23351. - description: 协议编号(模糊匹配)
  23352. in: query
  23353. name: agreementno
  23354. type: string
  23355. - description: 协议名称(模糊匹配)
  23356. in: query
  23357. name: agreementname
  23358. type: string
  23359. produces:
  23360. - application/json
  23361. responses:
  23362. "200":
  23363. description: OK
  23364. schema:
  23365. items:
  23366. $ref: '#/definitions/models.QhjAgreementConfig'
  23367. type: array
  23368. "500":
  23369. description: Internal Server Error
  23370. schema:
  23371. $ref: '#/definitions/app.Response'
  23372. security:
  23373. - ApiKeyAuth: []
  23374. summary: 查询协议配置
  23375. tags:
  23376. - 大连千海金(协议和签约信息)
  23377. /QhjSys/QueryCustomerSignStatus:
  23378. get:
  23379. parameters:
  23380. - description: 客户ID
  23381. in: query
  23382. name: userid
  23383. type: integer
  23384. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  23385. in: query
  23386. name: nodetype
  23387. type: integer
  23388. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23389. in: query
  23390. name: goodsid
  23391. type: integer
  23392. - description: 创建交易日(yyyyMMdd)
  23393. in: query
  23394. name: tradedate
  23395. type: string
  23396. - description: 用户名称(模糊匹配)
  23397. in: query
  23398. name: username
  23399. type: string
  23400. produces:
  23401. - application/json
  23402. responses:
  23403. "200":
  23404. description: OK
  23405. schema:
  23406. items:
  23407. $ref: '#/definitions/models.QhjCustomerSignStatus'
  23408. type: array
  23409. "500":
  23410. description: Internal Server Error
  23411. schema:
  23412. $ref: '#/definitions/app.Response'
  23413. security:
  23414. - ApiKeyAuth: []
  23415. summary: 查询客户协议签约状态
  23416. tags:
  23417. - 大连千海金(协议和签约信息)
  23418. /QhjSys/QueryNodeAgreementConfig:
  23419. get:
  23420. parameters:
  23421. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  23422. in: query
  23423. name: configid
  23424. type: integer
  23425. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23426. in: query
  23427. name: nodetype
  23428. type: integer
  23429. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23430. in: query
  23431. name: goodsid
  23432. type: integer
  23433. - description: 协议ID
  23434. in: query
  23435. name: agreementid
  23436. type: integer
  23437. - description: 协议类型 - 1:注册 2:登录 3:交易
  23438. in: query
  23439. name: agreementtype
  23440. type: integer
  23441. - description: 协议版本号
  23442. in: query
  23443. name: agreementversion
  23444. type: integer
  23445. - description: 协议编号(模糊匹配)
  23446. in: query
  23447. name: agreementno
  23448. type: string
  23449. - description: 协议名称(模糊匹配)
  23450. in: query
  23451. name: agreementname
  23452. type: string
  23453. produces:
  23454. - application/json
  23455. responses:
  23456. "200":
  23457. description: OK
  23458. schema:
  23459. items:
  23460. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  23461. type: array
  23462. "500":
  23463. description: Internal Server Error
  23464. schema:
  23465. $ref: '#/definitions/app.Response'
  23466. security:
  23467. - ApiKeyAuth: []
  23468. summary: 查询协议节点配置
  23469. tags:
  23470. - 大连千海金(协议和签约信息)
  23471. /QhjSys/QueryQhjCustomerSignLog:
  23472. get:
  23473. parameters:
  23474. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  23475. in: query
  23476. name: logid
  23477. type: integer
  23478. - description: 客户ID
  23479. in: query
  23480. name: userid
  23481. type: integer
  23482. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23483. in: query
  23484. name: nodetype
  23485. type: integer
  23486. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23487. in: query
  23488. name: goodsid
  23489. type: integer
  23490. - description: 协议ID
  23491. in: query
  23492. name: agreementid
  23493. type: integer
  23494. - description: 用户名称(模糊匹配)
  23495. in: query
  23496. name: username
  23497. type: string
  23498. - description: 协议编号(模糊匹配)
  23499. in: query
  23500. name: agreementno
  23501. type: string
  23502. - description: 协议名称(模糊匹配)
  23503. in: query
  23504. name: agreementname
  23505. type: string
  23506. produces:
  23507. - application/json
  23508. responses:
  23509. "200":
  23510. description: OK
  23511. schema:
  23512. items:
  23513. $ref: '#/definitions/models.QhjCustomerSignLog'
  23514. type: array
  23515. "500":
  23516. description: Internal Server Error
  23517. schema:
  23518. $ref: '#/definitions/app.Response'
  23519. security:
  23520. - ApiKeyAuth: []
  23521. summary: 查询客户协议签约流水
  23522. tags:
  23523. - 大连千海金(协议和签约信息)
  23524. /QhjSys/QueryUserNodeCfgAndStatus:
  23525. get:
  23526. parameters:
  23527. - description: 客户ID
  23528. in: query
  23529. name: userid
  23530. type: integer
  23531. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  23532. in: query
  23533. name: configid
  23534. type: integer
  23535. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23536. in: query
  23537. name: nodetype
  23538. type: string
  23539. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23540. in: query
  23541. name: goodsid
  23542. type: integer
  23543. - description: 协议ID
  23544. in: query
  23545. name: agreementid
  23546. type: integer
  23547. - description: 协议类型 - 1:注册 2:登录 3:交易
  23548. in: query
  23549. name: agreementtype
  23550. type: integer
  23551. - description: 协议版本号
  23552. in: query
  23553. name: agreementversion
  23554. type: integer
  23555. - description: 协议编号(模糊匹配)
  23556. in: query
  23557. name: agreementno
  23558. type: string
  23559. - description: 协议名称(模糊匹配)
  23560. in: query
  23561. name: agreementname
  23562. type: string
  23563. produces:
  23564. - application/json
  23565. responses:
  23566. "200":
  23567. description: OK
  23568. schema:
  23569. items:
  23570. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  23571. type: array
  23572. "500":
  23573. description: Internal Server Error
  23574. schema:
  23575. $ref: '#/definitions/app.Response'
  23576. security:
  23577. - ApiKeyAuth: []
  23578. summary: 查询用户协议节点配置和状态
  23579. tags:
  23580. - 大连千海金(协议和签约信息)
  23581. /Quote/QueryHistoryDatas:
  23582. get:
  23583. parameters:
  23584. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  23585. 日线'
  23586. in: query
  23587. name: cycleType
  23588. required: true
  23589. type: integer
  23590. - description: 商品代码
  23591. in: query
  23592. name: goodsCode
  23593. required: true
  23594. type: string
  23595. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  23596. in: query
  23597. name: startTime
  23598. type: string
  23599. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  23600. in: query
  23601. name: endTime
  23602. type: string
  23603. - description: 条数
  23604. in: query
  23605. name: count
  23606. type: integer
  23607. - description: 是否按时间顺序排序(默认为时间倒序排序)
  23608. in: query
  23609. name: isAsc
  23610. type: boolean
  23611. produces:
  23612. - application/json
  23613. responses:
  23614. "200":
  23615. description: OK
  23616. schema:
  23617. $ref: '#/definitions/quote.HistoryData'
  23618. "500":
  23619. description: Internal Server Error
  23620. schema:
  23621. $ref: '#/definitions/app.Response'
  23622. security:
  23623. - ApiKeyAuth: []
  23624. summary: 查询行情历史数据
  23625. tags:
  23626. - 行情服务
  23627. /Quote/QueryHistoryTikDatas:
  23628. get:
  23629. parameters:
  23630. - description: 商品代码
  23631. in: query
  23632. name: goodsCode
  23633. required: true
  23634. type: string
  23635. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  23636. in: query
  23637. name: startTime
  23638. type: string
  23639. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  23640. in: query
  23641. name: endTime
  23642. type: string
  23643. - description: 条数
  23644. in: query
  23645. name: count
  23646. type: integer
  23647. - description: 是否按时间顺序排序(默认为时间倒序排序)
  23648. in: query
  23649. name: isAsc
  23650. type: boolean
  23651. produces:
  23652. - application/json
  23653. responses:
  23654. "200":
  23655. description: OK
  23656. schema:
  23657. $ref: '#/definitions/quote.HistoryTikData'
  23658. "500":
  23659. description: Internal Server Error
  23660. schema:
  23661. $ref: '#/definitions/app.Response'
  23662. security:
  23663. - ApiKeyAuth: []
  23664. summary: 查询行情Tik数据
  23665. tags:
  23666. - 行情服务
  23667. /Quote/QueryQuoteDay:
  23668. get:
  23669. parameters:
  23670. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  23671. in: query
  23672. name: goodsCodes
  23673. required: true
  23674. type: string
  23675. produces:
  23676. - application/json
  23677. responses:
  23678. "200":
  23679. description: OK
  23680. schema:
  23681. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  23682. "500":
  23683. description: Internal Server Error
  23684. schema:
  23685. $ref: '#/definitions/app.Response'
  23686. security:
  23687. - ApiKeyAuth: []
  23688. summary: 获取商品盘面信息
  23689. tags:
  23690. - 行情服务
  23691. /Quote/QueryTSData:
  23692. get:
  23693. parameters:
  23694. - description: 商品代码
  23695. in: query
  23696. name: goodsCode
  23697. required: true
  23698. type: string
  23699. produces:
  23700. - application/json
  23701. responses:
  23702. "200":
  23703. description: OK
  23704. schema:
  23705. $ref: '#/definitions/quote.QueryTSDataRsp'
  23706. "500":
  23707. description: Internal Server Error
  23708. schema:
  23709. $ref: '#/definitions/app.Response'
  23710. security:
  23711. - ApiKeyAuth: []
  23712. summary: 分时图数据查询
  23713. tags:
  23714. - 行情服务
  23715. /SZDZ/QueryConvertConfig:
  23716. get:
  23717. parameters:
  23718. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  23719. 6:交易转花生米(不设置)
  23720. in: query
  23721. name: convertType
  23722. type: integer
  23723. - description: 外部商品代码[JD\PD]
  23724. in: query
  23725. name: outerGoodsCode
  23726. type: string
  23727. - description: 内部商品ID列表[交易],格式:1,2,3
  23728. in: query
  23729. name: innerGoodsIDs
  23730. type: string
  23731. produces:
  23732. - application/json
  23733. responses:
  23734. "200":
  23735. description: OK
  23736. schema:
  23737. $ref: '#/definitions/models.Szdz3convertconfig'
  23738. "500":
  23739. description: Internal Server Error
  23740. schema:
  23741. $ref: '#/definitions/app.Response'
  23742. security:
  23743. - ApiKeyAuth: []
  23744. summary: 查询交易系统转换设置
  23745. tags:
  23746. - 定制【尚志大宗】
  23747. /SZDZ/QueryConvertLog:
  23748. get:
  23749. parameters:
  23750. - description: 资金账户 - 格式:1,2,3
  23751. in: query
  23752. name: accountID
  23753. required: true
  23754. type: string
  23755. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23756. in: query
  23757. name: startDate
  23758. type: string
  23759. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23760. in: query
  23761. name: endDate
  23762. type: string
  23763. produces:
  23764. - application/json
  23765. responses:
  23766. "200":
  23767. description: OK
  23768. schema:
  23769. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  23770. "500":
  23771. description: Internal Server Error
  23772. schema:
  23773. $ref: '#/definitions/app.Response'
  23774. security:
  23775. - ApiKeyAuth: []
  23776. summary: 交易系统转换流水查询
  23777. tags:
  23778. - 定制【尚志大宗】
  23779. /SZDZ/QueryGoodsPickup:
  23780. get:
  23781. parameters:
  23782. - description: 资金账户 - 格式:1,2,3
  23783. in: query
  23784. name: accountID
  23785. required: true
  23786. type: string
  23787. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23788. in: query
  23789. name: takeOrderStatus
  23790. type: integer
  23791. produces:
  23792. - application/json
  23793. responses:
  23794. "200":
  23795. description: OK
  23796. schema:
  23797. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  23798. "500":
  23799. description: Internal Server Error
  23800. schema:
  23801. $ref: '#/definitions/app.Response'
  23802. security:
  23803. - ApiKeyAuth: []
  23804. summary: 商品提货单查询
  23805. tags:
  23806. - 定制【尚志大宗】
  23807. /SZDZ/QueryRecieptOrder:
  23808. get:
  23809. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  23810. parameters:
  23811. - description: 页码
  23812. in: query
  23813. name: page
  23814. type: integer
  23815. - description: 每页条数
  23816. in: query
  23817. name: pagesize
  23818. type: integer
  23819. - description: 商品ID
  23820. in: query
  23821. name: goodsID
  23822. required: true
  23823. type: integer
  23824. - description: 所属账户名称
  23825. in: query
  23826. name: accountName
  23827. type: string
  23828. - description: 市场ID
  23829. in: query
  23830. name: marketID
  23831. type: integer
  23832. - description: 方向 - 0:买 1:卖
  23833. in: query
  23834. name: buyorsell
  23835. required: true
  23836. type: integer
  23837. produces:
  23838. - application/json
  23839. responses:
  23840. "200":
  23841. description: OK
  23842. schema:
  23843. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  23844. "500":
  23845. description: Internal Server Error
  23846. schema:
  23847. $ref: '#/definitions/app.Response'
  23848. security:
  23849. - ApiKeyAuth: []
  23850. summary: 点选挂牌委托单据查询(摘牌大厅)
  23851. tags:
  23852. - 定制【尚志大宗】
  23853. /SZDZ/QuerySZDZTradePosition:
  23854. get:
  23855. parameters:
  23856. - description: 资金账户
  23857. in: query
  23858. name: accountID
  23859. required: true
  23860. type: integer
  23861. produces:
  23862. - application/json
  23863. responses:
  23864. "200":
  23865. description: OK
  23866. schema:
  23867. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  23868. "500":
  23869. description: Internal Server Error
  23870. schema:
  23871. $ref: '#/definitions/app.Response'
  23872. security:
  23873. - ApiKeyAuth: []
  23874. summary: 持仓汇总查询(尚志大宗)
  23875. tags:
  23876. - 定制【尚志大宗】
  23877. /SZDZ/SearchWhite:
  23878. get:
  23879. parameters:
  23880. - description: 用户ID
  23881. in: query
  23882. name: userID
  23883. required: true
  23884. type: integer
  23885. produces:
  23886. - application/json
  23887. responses:
  23888. "200":
  23889. description: OK
  23890. schema:
  23891. $ref: '#/definitions/models.Szdz3searchwhitelist'
  23892. "500":
  23893. description: Internal Server Error
  23894. schema:
  23895. $ref: '#/definitions/app.Response'
  23896. security:
  23897. - ApiKeyAuth: []
  23898. summary: 搜索白名单
  23899. tags:
  23900. - 定制【尚志大宗】
  23901. /Search/SearchGoodses:
  23902. get:
  23903. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  23904. parameters:
  23905. - description: 检索内容
  23906. in: query
  23907. name: content
  23908. required: true
  23909. type: string
  23910. - description: 交易模式,格式:1,2,3
  23911. in: query
  23912. name: tradeModes
  23913. type: string
  23914. produces:
  23915. - application/json
  23916. responses:
  23917. "200":
  23918. description: OK
  23919. schema:
  23920. $ref: '#/definitions/models.SearchGoods'
  23921. "500":
  23922. description: Internal Server Error
  23923. schema:
  23924. $ref: '#/definitions/app.Response'
  23925. summary: 检索商品信息
  23926. tags:
  23927. - 检索服务
  23928. /TaAccount/GetTaAccounts:
  23929. get:
  23930. parameters:
  23931. - description: 登录账户
  23932. in: query
  23933. name: loginID
  23934. required: true
  23935. type: integer
  23936. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  23937. in: query
  23938. name: taAccountType
  23939. type: integer
  23940. produces:
  23941. - application/json
  23942. responses:
  23943. "200":
  23944. description: OK
  23945. schema:
  23946. $ref: '#/definitions/models.Taaccount'
  23947. "500":
  23948. description: Internal Server Error
  23949. schema:
  23950. $ref: '#/definitions/app.Response'
  23951. security:
  23952. - ApiKeyAuth: []
  23953. summary: 获取资金账户信息
  23954. tags:
  23955. - 资金账户
  23956. /TaAccount/QueryAmountLog:
  23957. get:
  23958. parameters:
  23959. - description: 页码
  23960. in: query
  23961. name: page
  23962. type: integer
  23963. - description: 每页条数
  23964. in: query
  23965. name: pagesize
  23966. type: integer
  23967. - description: 资金账户 - 格式:1,2,3
  23968. in: query
  23969. name: accountID
  23970. required: true
  23971. type: string
  23972. - description: 资金操作类型 - 格式:1,2,3
  23973. in: query
  23974. name: OperateType
  23975. type: string
  23976. produces:
  23977. - application/json
  23978. responses:
  23979. "200":
  23980. description: OK
  23981. schema:
  23982. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  23983. "500":
  23984. description: Internal Server Error
  23985. schema:
  23986. $ref: '#/definitions/app.Response'
  23987. security:
  23988. - ApiKeyAuth: []
  23989. summary: 资金流水查询(当前)
  23990. tags:
  23991. - 资金账户
  23992. /TaAccount/QueryHisAmountLog:
  23993. get:
  23994. parameters:
  23995. - description: 页码
  23996. in: query
  23997. name: page
  23998. type: integer
  23999. - description: 每页条数
  24000. in: query
  24001. name: pagesize
  24002. type: integer
  24003. - description: 资金账户 - 格式:1,2,3
  24004. in: query
  24005. name: accountID
  24006. required: true
  24007. type: string
  24008. - description: 资金操作类型 - 格式:1,2,3
  24009. in: query
  24010. name: OperateType
  24011. type: string
  24012. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24013. in: query
  24014. name: startDate
  24015. type: string
  24016. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24017. in: query
  24018. name: endDate
  24019. type: string
  24020. produces:
  24021. - application/json
  24022. responses:
  24023. "200":
  24024. description: OK
  24025. schema:
  24026. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  24027. "500":
  24028. description: Internal Server Error
  24029. schema:
  24030. $ref: '#/definitions/app.Response'
  24031. security:
  24032. - ApiKeyAuth: []
  24033. summary: 资金流水查询(历史)
  24034. tags:
  24035. - 资金账户
  24036. /Trade/QueryRecieptOrder:
  24037. get:
  24038. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  24039. parameters:
  24040. - description: 页码
  24041. in: query
  24042. name: page
  24043. type: integer
  24044. - description: 每页条数
  24045. in: query
  24046. name: pagesize
  24047. type: integer
  24048. - description: 商品ID
  24049. in: query
  24050. name: goodsID
  24051. required: true
  24052. type: integer
  24053. - description: 所属账户名称
  24054. in: query
  24055. name: accountName
  24056. type: string
  24057. - description: 市场ID
  24058. in: query
  24059. name: marketID
  24060. type: integer
  24061. - description: 方向 - 0:买 1:卖
  24062. in: query
  24063. name: buyorsell
  24064. required: true
  24065. type: integer
  24066. produces:
  24067. - application/json
  24068. responses:
  24069. "200":
  24070. description: OK
  24071. schema:
  24072. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  24073. "500":
  24074. description: Internal Server Error
  24075. schema:
  24076. $ref: '#/definitions/app.Response'
  24077. security:
  24078. - ApiKeyAuth: []
  24079. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  24080. tags:
  24081. - 通用交易
  24082. /User/AddMessageBoard:
  24083. post:
  24084. parameters:
  24085. - description: 用户ID
  24086. in: query
  24087. name: userID
  24088. required: true
  24089. type: integer
  24090. - description: 留言信息
  24091. in: query
  24092. name: message
  24093. required: true
  24094. type: string
  24095. - description: 联系电话
  24096. in: query
  24097. name: contactNum
  24098. required: true
  24099. type: string
  24100. produces:
  24101. - application/json
  24102. responses:
  24103. "200":
  24104. description: OK
  24105. schema:
  24106. $ref: '#/definitions/app.Response'
  24107. "500":
  24108. description: Internal Server Error
  24109. schema:
  24110. $ref: '#/definitions/app.Response'
  24111. security:
  24112. - ApiKeyAuth: []
  24113. summary: 添加用户留言板信息
  24114. tags:
  24115. - 用户信息
  24116. /User/AddUserFavoriteGoods:
  24117. post:
  24118. parameters:
  24119. - description: 用户ID
  24120. in: query
  24121. name: userID
  24122. required: true
  24123. type: integer
  24124. - description: 商品ID
  24125. in: query
  24126. name: goodsID
  24127. required: true
  24128. type: integer
  24129. produces:
  24130. - application/json
  24131. responses:
  24132. "200":
  24133. description: OK
  24134. schema:
  24135. $ref: '#/definitions/app.Response'
  24136. "500":
  24137. description: Internal Server Error
  24138. schema:
  24139. $ref: '#/definitions/app.Response'
  24140. security:
  24141. - ApiKeyAuth: []
  24142. summary: 添加用户商品收藏信息
  24143. tags:
  24144. - 用户信息
  24145. /User/GetLoginID:
  24146. get:
  24147. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  24148. parameters:
  24149. - description: 登录代码
  24150. in: query
  24151. name: username
  24152. required: true
  24153. type: string
  24154. produces:
  24155. - application/json
  24156. responses:
  24157. "200":
  24158. description: OK
  24159. schema:
  24160. $ref: '#/definitions/app.Response'
  24161. "500":
  24162. description: Internal Server Error
  24163. schema:
  24164. $ref: '#/definitions/app.Response'
  24165. summary: 获取登录ID
  24166. tags:
  24167. - 用户信息
  24168. /User/GetUserAccount:
  24169. get:
  24170. parameters:
  24171. - description: 用户ID
  24172. in: query
  24173. name: userID
  24174. required: true
  24175. type: integer
  24176. produces:
  24177. - application/json
  24178. responses:
  24179. "200":
  24180. description: OK
  24181. schema:
  24182. $ref: '#/definitions/models.Useraccount'
  24183. "500":
  24184. description: Internal Server Error
  24185. schema:
  24186. $ref: '#/definitions/app.Response'
  24187. security:
  24188. - ApiKeyAuth: []
  24189. summary: 获取用户账号信息
  24190. tags:
  24191. - 用户信息
  24192. /User/GetUserAuthStatus:
  24193. get:
  24194. parameters:
  24195. - description: 用户ID
  24196. in: query
  24197. name: userID
  24198. required: true
  24199. type: integer
  24200. produces:
  24201. - application/json
  24202. responses:
  24203. "200":
  24204. description: OK
  24205. schema:
  24206. $ref: '#/definitions/app.Response'
  24207. "500":
  24208. description: Internal Server Error
  24209. schema:
  24210. $ref: '#/definitions/app.Response'
  24211. security:
  24212. - ApiKeyAuth: []
  24213. summary: 获取用户实名认证状态
  24214. tags:
  24215. - 用户信息
  24216. /User/LoginQuery:
  24217. get:
  24218. parameters:
  24219. - description: 登录账号
  24220. in: query
  24221. name: loginID
  24222. required: true
  24223. type: integer
  24224. produces:
  24225. - application/json
  24226. responses:
  24227. "200":
  24228. description: OK
  24229. schema:
  24230. $ref: '#/definitions/user.LoginQueryRsp'
  24231. "500":
  24232. description: Internal Server Error
  24233. schema:
  24234. $ref: '#/definitions/app.Response'
  24235. security:
  24236. - ApiKeyAuth: []
  24237. summary: 账户登录后信息查询
  24238. tags:
  24239. - 用户信息
  24240. /User/QueryMessageBoard:
  24241. get:
  24242. parameters:
  24243. - description: 用户ID
  24244. in: query
  24245. name: userID
  24246. required: true
  24247. type: integer
  24248. produces:
  24249. - application/json
  24250. responses:
  24251. "200":
  24252. description: OK
  24253. schema:
  24254. $ref: '#/definitions/models.Messageboard'
  24255. "500":
  24256. description: Internal Server Error
  24257. schema:
  24258. $ref: '#/definitions/app.Response'
  24259. security:
  24260. - ApiKeyAuth: []
  24261. summary: 获取用户留言板信息
  24262. tags:
  24263. - 用户信息
  24264. /User/QueryUserFavoriteGoodses:
  24265. get:
  24266. parameters:
  24267. - description: 用户ID
  24268. in: query
  24269. name: userID
  24270. required: true
  24271. type: integer
  24272. produces:
  24273. - application/json
  24274. responses:
  24275. "200":
  24276. description: OK
  24277. schema:
  24278. $ref: '#/definitions/models.Userfavoritegoods'
  24279. "500":
  24280. description: Internal Server Error
  24281. schema:
  24282. $ref: '#/definitions/app.Response'
  24283. security:
  24284. - ApiKeyAuth: []
  24285. summary: 获取用户商品收藏信息
  24286. tags:
  24287. - 用户信息
  24288. /User/QueryUserInfo:
  24289. get:
  24290. parameters:
  24291. - description: 用户ID
  24292. in: query
  24293. name: userID
  24294. required: true
  24295. type: integer
  24296. - description: 是否解密
  24297. in: query
  24298. name: isDecrypt
  24299. type: boolean
  24300. produces:
  24301. - application/json
  24302. responses:
  24303. "200":
  24304. description: OK
  24305. schema:
  24306. $ref: '#/definitions/models.Userinfo'
  24307. "500":
  24308. description: Internal Server Error
  24309. schema:
  24310. $ref: '#/definitions/app.Response'
  24311. security:
  24312. - ApiKeyAuth: []
  24313. summary: 获取用户信息
  24314. tags:
  24315. - 用户信息
  24316. /User/QueryUserReferNum:
  24317. get:
  24318. parameters:
  24319. - description: 用户ID
  24320. in: query
  24321. name: userID
  24322. required: true
  24323. type: integer
  24324. produces:
  24325. - application/json
  24326. responses:
  24327. "200":
  24328. description: OK
  24329. schema:
  24330. $ref: '#/definitions/app.Response'
  24331. "500":
  24332. description: Internal Server Error
  24333. schema:
  24334. $ref: '#/definitions/app.Response'
  24335. summary: 获取用户邀请码
  24336. tags:
  24337. - 用户信息
  24338. /User/RemoveUserFavoriteGoods:
  24339. post:
  24340. parameters:
  24341. - description: 用户ID
  24342. in: query
  24343. name: userID
  24344. required: true
  24345. type: integer
  24346. - description: 商品ID
  24347. in: query
  24348. name: goodsID
  24349. required: true
  24350. type: integer
  24351. produces:
  24352. - application/json
  24353. responses:
  24354. "200":
  24355. description: OK
  24356. schema:
  24357. $ref: '#/definitions/app.Response'
  24358. "500":
  24359. description: Internal Server Error
  24360. schema:
  24361. $ref: '#/definitions/app.Response'
  24362. security:
  24363. - ApiKeyAuth: []
  24364. summary: 移除用户商品收藏信息
  24365. tags:
  24366. - 用户信息
  24367. /User/UpdateUserAccountStatus:
  24368. post:
  24369. parameters:
  24370. - description: 用户ID
  24371. in: query
  24372. name: userID
  24373. required: true
  24374. type: integer
  24375. - description: 账户状态 - 4:正常 6:注销(停用)
  24376. in: query
  24377. name: accountStatus
  24378. required: true
  24379. type: integer
  24380. produces:
  24381. - application/json
  24382. responses:
  24383. "200":
  24384. description: OK
  24385. schema:
  24386. $ref: '#/definitions/app.Response'
  24387. "500":
  24388. description: Internal Server Error
  24389. schema:
  24390. $ref: '#/definitions/app.Response'
  24391. security:
  24392. - ApiKeyAuth: []
  24393. summary: 更新用户状态
  24394. tags:
  24395. - 用户信息
  24396. /WRTrade/GetAllDeliveryGoods:
  24397. get:
  24398. produces:
  24399. - application/json
  24400. - application/json
  24401. responses:
  24402. "200":
  24403. description: OK
  24404. schema:
  24405. $ref: '#/definitions/app.Response'
  24406. "500":
  24407. description: Internal Server Error
  24408. schema:
  24409. $ref: '#/definitions/app.Response'
  24410. security:
  24411. - ApiKeyAuth: []
  24412. - ApiKeyAuth: []
  24413. summary: 获取带仓单分类的种类信息
  24414. tags:
  24415. - 仓单贸易
  24416. - 仓单贸易
  24417. /WrTrade2/QueryFaProductDetail:
  24418. get:
  24419. description: 页面 买卖大厅 -> 选择融资方案
  24420. parameters:
  24421. - description: 仓单要素id
  24422. in: query
  24423. name: wrfactortypeid
  24424. required: true
  24425. type: integer
  24426. produces:
  24427. - application/json
  24428. responses:
  24429. "200":
  24430. description: OK
  24431. schema:
  24432. items:
  24433. $ref: '#/definitions/models.WrFAProductDetail'
  24434. type: array
  24435. "500":
  24436. description: Internal Server Error
  24437. schema:
  24438. $ref: '#/definitions/app.Response'
  24439. security:
  24440. - ApiKeyAuth: []
  24441. summary: 查询融资产品列表
  24442. tags:
  24443. - 仓单贸易v2
  24444. /WrTrade2/QueryFilterItem:
  24445. get:
  24446. parameters:
  24447. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  24448. in: query
  24449. name: itype
  24450. required: true
  24451. type: string
  24452. produces:
  24453. - application/json
  24454. responses:
  24455. "200":
  24456. description: OK
  24457. schema:
  24458. items:
  24459. $ref: '#/definitions/models.WrFilterItem'
  24460. type: array
  24461. "500":
  24462. description: Internal Server Error
  24463. schema:
  24464. $ref: '#/definitions/app.Response'
  24465. security:
  24466. - ApiKeyAuth: []
  24467. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  24468. tags:
  24469. - 仓单贸易v2
  24470. /WrTrade2/QueryFtDeliveryGoods:
  24471. get:
  24472. produces:
  24473. - application/json
  24474. responses:
  24475. "200":
  24476. description: OK
  24477. schema:
  24478. items:
  24479. $ref: '#/definitions/models.WrFtDeliveryGoods'
  24480. type: array
  24481. "500":
  24482. description: Internal Server Error
  24483. schema:
  24484. $ref: '#/definitions/app.Response'
  24485. security:
  24486. - ApiKeyAuth: []
  24487. summary: 查询品种品类筛选框列表
  24488. tags:
  24489. - 仓单贸易v2
  24490. /WrTrade2/QueryHoldLB:
  24491. get:
  24492. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  24493. parameters:
  24494. - description: 资金账号
  24495. in: query
  24496. name: accountid
  24497. required: true
  24498. type: integer
  24499. - description: 仓库id
  24500. in: query
  24501. name: warehouseid
  24502. type: integer
  24503. - description: 品种id
  24504. in: query
  24505. name: deliverygoodsid
  24506. type: integer
  24507. - description: 品类id
  24508. in: query
  24509. name: wrstandardid
  24510. type: integer
  24511. - description: 仓单要素id
  24512. in: query
  24513. name: wrfactortypeid
  24514. type: integer
  24515. produces:
  24516. - application/json
  24517. responses:
  24518. "200":
  24519. description: OK
  24520. schema:
  24521. items:
  24522. $ref: '#/definitions/models.WrHoldLB'
  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. - 仓单贸易v2
  24533. /WrTrade2/QueryOrderQuote:
  24534. get:
  24535. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  24536. 唯一确定1条记录
  24537. parameters:
  24538. - description: 页码
  24539. in: query
  24540. name: page
  24541. type: integer
  24542. - description: 每页条数
  24543. in: query
  24544. name: pagesize
  24545. type: integer
  24546. - description: 仓单贸易市场id
  24547. in: query
  24548. name: marketid
  24549. type: integer
  24550. - description: 价格方式 - 1:固定价 2-浮动价
  24551. in: query
  24552. name: wrpricetype
  24553. required: true
  24554. type: integer
  24555. - description: 0:仓单预售 1:仓单贸易
  24556. in: query
  24557. name: haswr
  24558. required: true
  24559. type: integer
  24560. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  24561. in: query
  24562. name: dgitemname
  24563. type: string
  24564. - description: 仓库id(筛选条件)
  24565. in: query
  24566. name: warehouseid
  24567. type: integer
  24568. - description: 品种id
  24569. in: query
  24570. name: deliverygoodsid
  24571. type: integer
  24572. - description: 品类id
  24573. in: query
  24574. name: wrstandardid
  24575. type: integer
  24576. - description: 仓单要素id
  24577. in: query
  24578. name: wrfactortypeid
  24579. type: integer
  24580. - description: 交收月(yyyy-mm) 仓单预售填写
  24581. in: query
  24582. name: deliverymonth
  24583. type: string
  24584. produces:
  24585. - application/json
  24586. responses:
  24587. "200":
  24588. description: OK
  24589. schema:
  24590. items:
  24591. $ref: '#/definitions/models.WrOrderQuote'
  24592. type: array
  24593. "500":
  24594. description: Internal Server Error
  24595. schema:
  24596. $ref: '#/definitions/app.Response'
  24597. security:
  24598. - ApiKeyAuth: []
  24599. summary: 查询大厅行情列表
  24600. tags:
  24601. - 仓单贸易v2
  24602. /WrTrade2/QueryOrderQuoteDetail:
  24603. get:
  24604. parameters:
  24605. - description: 页码
  24606. in: query
  24607. name: page
  24608. type: integer
  24609. - description: 每页条数
  24610. in: query
  24611. name: pagesize
  24612. type: integer
  24613. - description: 仓单贸易市场id
  24614. in: query
  24615. name: marketid
  24616. type: integer
  24617. - description: 价格方式 - 1:固定价 2-浮动价
  24618. in: query
  24619. name: wrpricetype
  24620. required: true
  24621. type: integer
  24622. - description: 0:仓单预售 1:仓单贸易
  24623. in: query
  24624. name: haswr
  24625. required: true
  24626. type: integer
  24627. - description: 仓单要素id
  24628. in: query
  24629. name: wrfactortypeid
  24630. required: true
  24631. type: integer
  24632. - description: 期货商品id(浮动价方式时填)
  24633. in: query
  24634. name: goodsid
  24635. type: integer
  24636. - description: 买卖方向 0-买 1-卖
  24637. in: query
  24638. name: buyorsell
  24639. required: true
  24640. type: integer
  24641. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  24642. in: query
  24643. name: deliverymonth
  24644. type: string
  24645. produces:
  24646. - application/json
  24647. responses:
  24648. "200":
  24649. description: OK
  24650. schema:
  24651. items:
  24652. $ref: '#/definitions/models.WrOrderQuoteDetail'
  24653. type: array
  24654. "500":
  24655. description: Internal Server Error
  24656. schema:
  24657. $ref: '#/definitions/app.Response'
  24658. security:
  24659. - ApiKeyAuth: []
  24660. summary: 查询买卖大厅
  24661. tags:
  24662. - 仓单贸易v2
  24663. /WrTrade2/QueryOrderQuoteMyq:
  24664. get:
  24665. parameters:
  24666. - description: 页码
  24667. in: query
  24668. name: page
  24669. type: integer
  24670. - description: 每页条数
  24671. in: query
  24672. name: pagesize
  24673. type: integer
  24674. - description: 仓单贸易市场id
  24675. in: query
  24676. name: marketid
  24677. type: integer
  24678. - description: 0:仓单预售 1:仓单贸易
  24679. in: query
  24680. name: haswr
  24681. required: true
  24682. type: integer
  24683. - description: 买卖方向 0-买 1-卖
  24684. in: query
  24685. name: buyorsell
  24686. required: true
  24687. type: integer
  24688. produces:
  24689. - application/json
  24690. responses:
  24691. "200":
  24692. description: OK
  24693. schema:
  24694. items:
  24695. $ref: '#/definitions/models.WrQuoteOrderMyq'
  24696. type: array
  24697. "500":
  24698. description: Internal Server Error
  24699. schema:
  24700. $ref: '#/definitions/app.Response'
  24701. security:
  24702. - ApiKeyAuth: []
  24703. summary: 查询贸易圈挂牌大厅
  24704. tags:
  24705. - 仓单贸易v2
  24706. /WrTrade2/QueryPerformancePlan:
  24707. get:
  24708. parameters:
  24709. - description: 用户id
  24710. in: query
  24711. name: userid
  24712. required: true
  24713. type: integer
  24714. - description: 买卖方向 0-买 1-卖
  24715. in: query
  24716. name: buyorsell
  24717. required: true
  24718. type: integer
  24719. produces:
  24720. - application/json
  24721. responses:
  24722. "200":
  24723. description: OK
  24724. schema:
  24725. items:
  24726. $ref: '#/definitions/models.WrPerformancePlan'
  24727. type: array
  24728. "500":
  24729. description: Internal Server Error
  24730. schema:
  24731. $ref: '#/definitions/app.Response'
  24732. security:
  24733. - ApiKeyAuth: []
  24734. summary: 查询履约信息
  24735. tags:
  24736. - 仓单贸易v2
  24737. /WrTrade2/QueryPermancePlanTmp:
  24738. get:
  24739. description: 返回指定用户的模板和公共模板(用户id为空)
  24740. parameters:
  24741. - description: 用户id
  24742. in: query
  24743. name: userid
  24744. type: integer
  24745. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  24746. (无仓单) 5:挂牌期权 6:竞拍-降价式
  24747. in: query
  24748. name: tmptype
  24749. type: string
  24750. - description: 是否包含公共模板(用户id为空的) 1-包含
  24751. in: query
  24752. name: includepub
  24753. type: integer
  24754. produces:
  24755. - application/json
  24756. responses:
  24757. "200":
  24758. description: OK
  24759. schema:
  24760. items:
  24761. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  24762. type: array
  24763. "500":
  24764. description: Internal Server Error
  24765. schema:
  24766. $ref: '#/definitions/app.Response'
  24767. security:
  24768. - ApiKeyAuth: []
  24769. summary: 查询履约模板
  24770. tags:
  24771. - 仓单贸易v2
  24772. /WrTrade2/QueryWrAverageTradePrice:
  24773. get:
  24774. parameters:
  24775. - description: 页码
  24776. in: query
  24777. name: page
  24778. type: integer
  24779. - description: 每页条数
  24780. in: query
  24781. name: pagesize
  24782. type: integer
  24783. - description: 0:仓单预售 1:仓单贸易
  24784. in: query
  24785. name: haswr
  24786. required: true
  24787. type: integer
  24788. - description: 仓单要素id
  24789. in: query
  24790. name: wrfactortypeid
  24791. required: true
  24792. type: integer
  24793. produces:
  24794. - application/json
  24795. responses:
  24796. "200":
  24797. description: OK
  24798. schema:
  24799. items:
  24800. $ref: '#/definitions/models.WrAverageTradePrice'
  24801. type: array
  24802. "500":
  24803. description: Internal Server Error
  24804. schema:
  24805. $ref: '#/definitions/app.Response'
  24806. security:
  24807. - ApiKeyAuth: []
  24808. summary: 查询成交价(历史走势)
  24809. tags:
  24810. - 仓单贸易v2
  24811. /WrTrade2/QueryWrBsGoodsInfo:
  24812. get:
  24813. description: 合约交易/买卖大厅/详情
  24814. parameters:
  24815. - description: 商品id
  24816. in: query
  24817. name: goodsid
  24818. required: true
  24819. type: integer
  24820. produces:
  24821. - application/json
  24822. responses:
  24823. "200":
  24824. description: OK
  24825. schema:
  24826. items:
  24827. $ref: '#/definitions/models.WrBsGoodsInfo'
  24828. type: array
  24829. "500":
  24830. description: Internal Server Error
  24831. schema:
  24832. $ref: '#/definitions/app.Response'
  24833. security:
  24834. - ApiKeyAuth: []
  24835. summary: 查询合约交易买卖大厅详情
  24836. tags:
  24837. - 仓单贸易v2
  24838. /WrTrade2/QueryWrBuybackDetail:
  24839. get:
  24840. parameters:
  24841. - description: 融资合同id
  24842. in: query
  24843. name: scfcontractid
  24844. type: integer
  24845. produces:
  24846. - application/json
  24847. responses:
  24848. "200":
  24849. description: OK
  24850. schema:
  24851. items:
  24852. $ref: '#/definitions/models.WrBuybackDetail'
  24853. type: array
  24854. "500":
  24855. description: Internal Server Error
  24856. schema:
  24857. $ref: '#/definitions/app.Response'
  24858. security:
  24859. - ApiKeyAuth: []
  24860. summary: 查询仓单回购明细
  24861. tags:
  24862. - 仓单贸易v2
  24863. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  24864. get:
  24865. parameters:
  24866. - description: 资金账号
  24867. in: query
  24868. name: accountid
  24869. required: true
  24870. type: integer
  24871. - description: 商品id
  24872. in: query
  24873. name: goodsid
  24874. required: true
  24875. type: integer
  24876. produces:
  24877. - application/json
  24878. responses:
  24879. "200":
  24880. description: OK
  24881. schema:
  24882. items:
  24883. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  24884. type: array
  24885. "500":
  24886. description: Internal Server Error
  24887. schema:
  24888. $ref: '#/definitions/app.Response'
  24889. security:
  24890. - ApiKeyAuth: []
  24891. summary: 查询合约交收可点选仓单
  24892. tags:
  24893. - 仓单贸易v2
  24894. /WrTrade2/QueryWrDeliveryDetail:
  24895. get:
  24896. parameters:
  24897. - description: 用户id
  24898. in: query
  24899. name: userid
  24900. required: true
  24901. type: integer
  24902. - description: 资金账号id
  24903. in: query
  24904. name: accountid
  24905. type: integer
  24906. produces:
  24907. - application/json
  24908. responses:
  24909. "200":
  24910. description: OK
  24911. schema:
  24912. items:
  24913. $ref: '#/definitions/models.WrDeliveryDetail'
  24914. type: array
  24915. "500":
  24916. description: Internal Server Error
  24917. schema:
  24918. $ref: '#/definitions/app.Response'
  24919. security:
  24920. - ApiKeyAuth: []
  24921. summary: 查询交收
  24922. tags:
  24923. - 仓单贸易v2
  24924. /WrTrade2/QueryWrFactorTypeInfo:
  24925. get:
  24926. parameters:
  24927. - description: 仓单要素id
  24928. in: query
  24929. name: wrfactortypeid
  24930. required: true
  24931. type: integer
  24932. produces:
  24933. - application/json
  24934. responses:
  24935. "200":
  24936. description: OK
  24937. schema:
  24938. items:
  24939. $ref: '#/definitions/models.WrFactorTypeInfo'
  24940. type: array
  24941. "500":
  24942. description: Internal Server Error
  24943. schema:
  24944. $ref: '#/definitions/app.Response'
  24945. security:
  24946. - ApiKeyAuth: []
  24947. summary: 查询仓单要素详细信息
  24948. tags:
  24949. - 仓单贸易v2
  24950. /WrTrade2/QueryWrFactorTypeInfoEx:
  24951. get:
  24952. parameters:
  24953. - description: 仓单要素id
  24954. in: query
  24955. name: wrfactortypeid
  24956. required: true
  24957. type: integer
  24958. produces:
  24959. - application/json
  24960. responses:
  24961. "200":
  24962. description: OK
  24963. schema:
  24964. items:
  24965. $ref: '#/definitions/models.WrTypeItem'
  24966. type: array
  24967. "500":
  24968. description: Internal Server Error
  24969. schema:
  24970. $ref: '#/definitions/app.Response'
  24971. security:
  24972. - ApiKeyAuth: []
  24973. summary: 查询仓单要素详细信息列表项
  24974. tags:
  24975. - 仓单贸易v2
  24976. /WrTrade2/QueryWrFinanceBuyApply:
  24977. get:
  24978. description: 页面 融资信息+ / 申请单
  24979. parameters:
  24980. - description: 用户id
  24981. in: query
  24982. name: userid
  24983. required: true
  24984. type: integer
  24985. produces:
  24986. - application/json
  24987. responses:
  24988. "200":
  24989. description: OK
  24990. schema:
  24991. items:
  24992. $ref: '#/definitions/models.WrFinanceBuyApply'
  24993. type: array
  24994. "500":
  24995. description: Internal Server Error
  24996. schema:
  24997. $ref: '#/definitions/app.Response'
  24998. security:
  24999. - ApiKeyAuth: []
  25000. summary: 查询融资购买申请
  25001. tags:
  25002. - 仓单贸易v2
  25003. /WrTrade2/QueryWrFriendApply:
  25004. get:
  25005. parameters:
  25006. - description: 用户id
  25007. in: query
  25008. name: userid
  25009. required: true
  25010. type: integer
  25011. produces:
  25012. - application/json
  25013. responses:
  25014. "200":
  25015. description: OK
  25016. schema:
  25017. items:
  25018. $ref: '#/definitions/models.WrFriendApply'
  25019. type: array
  25020. "500":
  25021. description: Internal Server Error
  25022. schema:
  25023. $ref: '#/definitions/app.Response'
  25024. security:
  25025. - ApiKeyAuth: []
  25026. summary: 查询好友申请记录
  25027. tags:
  25028. - 仓单贸易v2
  25029. /WrTrade2/QueryWrGoodsInfo:
  25030. get:
  25031. parameters:
  25032. - description: 仓单贸易市场id
  25033. in: query
  25034. name: marketid
  25035. type: integer
  25036. - description: 0:仓单预售 1:仓单贸易
  25037. in: query
  25038. name: haswr
  25039. required: true
  25040. type: integer
  25041. - description: 仓单要素id
  25042. in: query
  25043. name: wrfactortypeid
  25044. required: true
  25045. type: integer
  25046. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  25047. in: query
  25048. name: tmplateid
  25049. type: integer
  25050. produces:
  25051. - application/json
  25052. responses:
  25053. "200":
  25054. description: OK
  25055. schema:
  25056. items:
  25057. $ref: '#/definitions/models.WrGoodsInfo'
  25058. type: array
  25059. "500":
  25060. description: Internal Server Error
  25061. schema:
  25062. $ref: '#/definitions/app.Response'
  25063. security:
  25064. - ApiKeyAuth: []
  25065. summary: 查询仓单商品信息
  25066. tags:
  25067. - 仓单贸易v2
  25068. /WrTrade2/QueryWrMarketTradeConfig:
  25069. get:
  25070. parameters:
  25071. - description: 市场id
  25072. in: query
  25073. name: marketid
  25074. type: integer
  25075. produces:
  25076. - application/json
  25077. responses:
  25078. "200":
  25079. description: OK
  25080. schema:
  25081. items:
  25082. $ref: '#/definitions/models.WrMarketTradeConfig'
  25083. type: array
  25084. "500":
  25085. description: Internal Server Error
  25086. schema:
  25087. $ref: '#/definitions/app.Response'
  25088. security:
  25089. - ApiKeyAuth: []
  25090. summary: 查询市场交易参数配置
  25091. tags:
  25092. - 仓单贸易v2
  25093. /WrTrade2/QueryWrOrderDetail:
  25094. get:
  25095. description: 页面 现货仓单 | 预售仓单 -> 挂单
  25096. parameters:
  25097. - description: 页码
  25098. in: query
  25099. name: page
  25100. type: integer
  25101. - description: 每页条数
  25102. in: query
  25103. name: pagesize
  25104. type: integer
  25105. - description: 用户id
  25106. in: query
  25107. name: userid
  25108. required: true
  25109. type: integer
  25110. - description: 仓单贸易市场id
  25111. in: query
  25112. name: marketid
  25113. type: integer
  25114. - description: 0:仓单预售 1:仓单贸易
  25115. in: query
  25116. name: haswr
  25117. required: true
  25118. type: integer
  25119. produces:
  25120. - application/json
  25121. responses:
  25122. "200":
  25123. description: OK
  25124. schema:
  25125. items:
  25126. $ref: '#/definitions/models.WrOrderDetail'
  25127. type: array
  25128. "500":
  25129. description: Internal Server Error
  25130. schema:
  25131. $ref: '#/definitions/app.Response'
  25132. security:
  25133. - ApiKeyAuth: []
  25134. summary: 查询仓单委托单(挂单)
  25135. tags:
  25136. - 仓单贸易v2
  25137. /WrTrade2/QueryWrOutInApply:
  25138. get:
  25139. parameters:
  25140. - description: 用户id
  25141. in: query
  25142. name: userid
  25143. required: true
  25144. type: integer
  25145. produces:
  25146. - application/json
  25147. responses:
  25148. "200":
  25149. description: OK
  25150. schema:
  25151. items:
  25152. $ref: '#/definitions/models.WrOutInApply'
  25153. type: array
  25154. "500":
  25155. description: Internal Server Error
  25156. schema:
  25157. $ref: '#/definitions/app.Response'
  25158. security:
  25159. - ApiKeyAuth: []
  25160. summary: 查询提货申请
  25161. tags:
  25162. - 仓单贸易v2
  25163. /WrTrade2/QueryWrPerformancePlanStep:
  25164. get:
  25165. parameters:
  25166. - description: 履约计划id(performanceplanid)
  25167. in: query
  25168. name: planid
  25169. required: true
  25170. type: integer
  25171. - description: 当前步骤id
  25172. in: query
  25173. name: curstepid
  25174. type: integer
  25175. produces:
  25176. - application/json
  25177. responses:
  25178. "200":
  25179. description: OK
  25180. schema:
  25181. items:
  25182. $ref: '#/definitions/models.WrPerformancePlanStep'
  25183. type: array
  25184. "500":
  25185. description: Internal Server Error
  25186. schema:
  25187. $ref: '#/definitions/app.Response'
  25188. security:
  25189. - ApiKeyAuth: []
  25190. summary: 查询履约信息详情
  25191. tags:
  25192. - 仓单贸易v2
  25193. /WrTrade2/QueryWrPerformanceStepType:
  25194. get:
  25195. produces:
  25196. - application/json
  25197. responses:
  25198. "200":
  25199. description: OK
  25200. schema:
  25201. items:
  25202. $ref: '#/definitions/models.WrPerformanceStepType'
  25203. type: array
  25204. "500":
  25205. description: Internal Server Error
  25206. schema:
  25207. $ref: '#/definitions/app.Response'
  25208. security:
  25209. - ApiKeyAuth: []
  25210. summary: 查询履约步骤枚举
  25211. tags:
  25212. - 仓单贸易v2
  25213. /WrTrade2/QueryWrPosition:
  25214. get:
  25215. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  25216. parameters:
  25217. - description: 用户id
  25218. in: query
  25219. name: userid
  25220. required: true
  25221. type: integer
  25222. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  25223. in: query
  25224. name: querytype
  25225. required: true
  25226. type: integer
  25227. - description: 0:仓单预售 1:仓单贸易
  25228. in: query
  25229. name: haswr
  25230. required: true
  25231. type: integer
  25232. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25233. in: query
  25234. name: dgitemname
  25235. type: string
  25236. - description: 仓库id(筛选条件)
  25237. in: query
  25238. name: warehouseid
  25239. type: integer
  25240. - description: 品种id
  25241. in: query
  25242. name: deliverygoodsid
  25243. type: integer
  25244. - description: 品类id
  25245. in: query
  25246. name: wrstandardid
  25247. type: integer
  25248. produces:
  25249. - application/json
  25250. responses:
  25251. "200":
  25252. description: OK
  25253. schema:
  25254. items:
  25255. $ref: '#/definitions/models.WrPosition'
  25256. type: array
  25257. "500":
  25258. description: Internal Server Error
  25259. schema:
  25260. $ref: '#/definitions/app.Response'
  25261. security:
  25262. - ApiKeyAuth: []
  25263. summary: 查询现货(预售)仓单持仓
  25264. tags:
  25265. - 仓单贸易v2
  25266. /WrTrade2/QueryWrScfContract:
  25267. get:
  25268. parameters:
  25269. - description: 用户id
  25270. in: query
  25271. name: userid
  25272. required: true
  25273. type: integer
  25274. - description: 融资合同id
  25275. in: query
  25276. name: scfcontractid
  25277. type: integer
  25278. produces:
  25279. - application/json
  25280. responses:
  25281. "200":
  25282. description: OK
  25283. schema:
  25284. items:
  25285. $ref: '#/definitions/models.WrScfContract'
  25286. type: array
  25287. "500":
  25288. description: Internal Server Error
  25289. schema:
  25290. $ref: '#/definitions/app.Response'
  25291. security:
  25292. - ApiKeyAuth: []
  25293. summary: 查询仓单贸易融资合同
  25294. tags:
  25295. - 仓单贸易v2
  25296. /WrTrade2/QueryWrScfContractInterest:
  25297. get:
  25298. parameters:
  25299. - description: 融资合同id
  25300. in: query
  25301. name: scfcontractid
  25302. type: integer
  25303. produces:
  25304. - application/json
  25305. responses:
  25306. "200":
  25307. description: OK
  25308. schema:
  25309. items:
  25310. $ref: '#/definitions/models.WrScfContractInterest'
  25311. type: array
  25312. "500":
  25313. description: Internal Server Error
  25314. schema:
  25315. $ref: '#/definitions/app.Response'
  25316. security:
  25317. - ApiKeyAuth: []
  25318. summary: 查询融资合同费用明细
  25319. tags:
  25320. - 仓单贸易v2
  25321. /WrTrade2/QueryWrSpecialMatchOrder:
  25322. get:
  25323. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  25324. parameters:
  25325. - description: 页码
  25326. in: query
  25327. name: page
  25328. type: integer
  25329. - description: 每页条数
  25330. in: query
  25331. name: pagesize
  25332. type: integer
  25333. - description: 用户id
  25334. in: query
  25335. name: userid
  25336. required: true
  25337. type: integer
  25338. - description: 仓单贸易市场id
  25339. in: query
  25340. name: marketid
  25341. type: integer
  25342. - description: 0:仓单预售 1:仓单贸易
  25343. in: query
  25344. name: haswr
  25345. required: true
  25346. type: integer
  25347. produces:
  25348. - application/json
  25349. responses:
  25350. "200":
  25351. description: OK
  25352. schema:
  25353. items:
  25354. $ref: '#/definitions/models.WrSpecialMatchOrder'
  25355. type: array
  25356. "500":
  25357. description: Internal Server Error
  25358. schema:
  25359. $ref: '#/definitions/app.Response'
  25360. security:
  25361. - ApiKeyAuth: []
  25362. summary: 查询指定成交
  25363. tags:
  25364. - 仓单贸易v2
  25365. /WrTrade2/QueryWrStandardFactoryItem:
  25366. get:
  25367. parameters:
  25368. - description: 品类id
  25369. in: query
  25370. name: wrstandardid
  25371. required: true
  25372. type: integer
  25373. produces:
  25374. - application/json
  25375. responses:
  25376. "200":
  25377. description: OK
  25378. schema:
  25379. items:
  25380. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  25381. type: array
  25382. "500":
  25383. description: Internal Server Error
  25384. schema:
  25385. $ref: '#/definitions/app.Response'
  25386. security:
  25387. - ApiKeyAuth: []
  25388. summary: 查询品类要素定义项
  25389. tags:
  25390. - 仓单贸易v2
  25391. /WrTrade2/QueryWrTradeBargainApply:
  25392. get:
  25393. description: 1.页面 挂单/议价单, 只需传单号就行 2.页面 议价, 查的是作为摘牌方发起的议价单, 参数 userid=登录userid
  25394. 3. 页面 议价/议价单, 和2类似, 但要指定单号 参数 userid, wrtradeorderid
  25395. parameters:
  25396. - description: 议价人id(摘牌方)
  25397. in: query
  25398. name: userid
  25399. type: integer
  25400. - description: 关联委托单id
  25401. in: query
  25402. name: wrtradeorderid
  25403. type: integer
  25404. produces:
  25405. - application/json
  25406. responses:
  25407. "200":
  25408. description: OK
  25409. schema:
  25410. items:
  25411. $ref: '#/definitions/models.WRTradeBargainApply'
  25412. type: array
  25413. "500":
  25414. description: Internal Server Error
  25415. schema:
  25416. $ref: '#/definitions/app.Response'
  25417. security:
  25418. - ApiKeyAuth: []
  25419. summary: 查询议价单
  25420. tags:
  25421. - 仓单贸易v2
  25422. /WrTrade2/QueryWrTradeDetail:
  25423. get:
  25424. parameters:
  25425. - description: 页码
  25426. in: query
  25427. name: page
  25428. type: integer
  25429. - description: 每页条数
  25430. in: query
  25431. name: pagesize
  25432. type: integer
  25433. - description: 用户id
  25434. in: query
  25435. name: userid
  25436. required: true
  25437. type: integer
  25438. - description: 仓单贸易市场id
  25439. in: query
  25440. name: marketid
  25441. type: integer
  25442. - description: 0:仓单预售 1:仓单贸易
  25443. in: query
  25444. name: haswr
  25445. required: true
  25446. type: integer
  25447. produces:
  25448. - application/json
  25449. responses:
  25450. "200":
  25451. description: OK
  25452. schema:
  25453. items:
  25454. $ref: '#/definitions/models.WrTradeDetail'
  25455. type: array
  25456. "500":
  25457. description: Internal Server Error
  25458. schema:
  25459. $ref: '#/definitions/app.Response'
  25460. security:
  25461. - ApiKeyAuth: []
  25462. summary: 查询仓单成交明细
  25463. tags:
  25464. - 仓单贸易v2
  25465. /WrTrade2/QueryWrTradeOrderDetail:
  25466. get:
  25467. parameters:
  25468. - description: 页码
  25469. in: query
  25470. name: page
  25471. type: integer
  25472. - description: 每页条数
  25473. in: query
  25474. name: pagesize
  25475. type: integer
  25476. - description: 商品id
  25477. in: query
  25478. name: goodsid
  25479. required: true
  25480. type: integer
  25481. - description: 买卖方向 0-买 1-卖
  25482. in: query
  25483. name: buyorsell
  25484. required: true
  25485. type: integer
  25486. produces:
  25487. - application/json
  25488. responses:
  25489. "200":
  25490. description: OK
  25491. schema:
  25492. items:
  25493. $ref: '#/definitions/models.WrTradeOrderDetail'
  25494. type: array
  25495. "500":
  25496. description: Internal Server Error
  25497. schema:
  25498. $ref: '#/definitions/app.Response'
  25499. security:
  25500. - ApiKeyAuth: []
  25501. summary: 查询合约交易买卖大厅
  25502. tags:
  25503. - 仓单贸易v2
  25504. /WrTrade2/QueryWrUserFriend:
  25505. get:
  25506. parameters:
  25507. - description: 用户id
  25508. in: query
  25509. name: userid
  25510. required: true
  25511. type: integer
  25512. - description: 新朋友userid, 如果填写了此项则查找新朋友
  25513. in: query
  25514. name: newuserid
  25515. type: integer
  25516. produces:
  25517. - application/json
  25518. responses:
  25519. "200":
  25520. description: OK
  25521. schema:
  25522. items:
  25523. $ref: '#/definitions/models.WrUserFriend'
  25524. type: array
  25525. "500":
  25526. description: Internal Server Error
  25527. schema:
  25528. $ref: '#/definitions/app.Response'
  25529. security:
  25530. - ApiKeyAuth: []
  25531. summary: 查询我的朋友
  25532. tags:
  25533. - 仓单贸易v2
  25534. securityDefinitions:
  25535. ApiKeyAuth:
  25536. in: header
  25537. name: Authorization
  25538. type: apiKey
  25539. swagger: "2.0"