swagger.yaml 708 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628
  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. deliveryid:
  13590. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  13591. type: string
  13592. deliveryorderid:
  13593. description: 申报单号
  13594. type: string
  13595. deliverypricemove:
  13596. description: 升贴水(升贴水总额)
  13597. type: number
  13598. deliveryqty:
  13599. description: 交收数量(点选数量)
  13600. type: number
  13601. deliverystatus:
  13602. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  13603. type: integer
  13604. deliverytime:
  13605. description: 交割时间
  13606. type: string
  13607. deliverytotalamount:
  13608. description: 交收金额
  13609. type: number
  13610. enumdicname:
  13611. description: 单位名称
  13612. type: string
  13613. matchaccountid:
  13614. description: 对手账号ID
  13615. type: integer
  13616. matchusername:
  13617. description: 对手方名称(仓单持有人)
  13618. type: string
  13619. p1goodsremainamount:
  13620. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  13621. type: number
  13622. pdeliverycloseqty:
  13623. description: p合约平仓数量
  13624. type: number
  13625. pdeliveryprice:
  13626. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  13627. type: number
  13628. pgoodscode:
  13629. description: 商品代码
  13630. type: string
  13631. pgoodsid:
  13632. description: p点选合约id
  13633. type: integer
  13634. pgoodsname:
  13635. description: 商品名称
  13636. type: string
  13637. ppricemode:
  13638. description: 点价价格方式 - 1:商品价 2:固定值
  13639. type: integer
  13640. tradedate:
  13641. description: 交易日(yyyymmdd)
  13642. type: string
  13643. userid:
  13644. description: 用户id
  13645. type: integer
  13646. username:
  13647. description: 用户名称
  13648. type: string
  13649. warehousename:
  13650. description: 仓库名称
  13651. type: string
  13652. wrfactortypeid:
  13653. description: 仓单要素类型ID
  13654. type: string
  13655. wrtypename:
  13656. description: 商品
  13657. type: string
  13658. xdeliverycloseqty:
  13659. description: 合约数量
  13660. type: number
  13661. xgoodsamount:
  13662. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  13663. type: number
  13664. xgoodscode:
  13665. description: 商品代码
  13666. type: string
  13667. xgoodsid:
  13668. description: x交易合约ID
  13669. type: integer
  13670. xgoodsname:
  13671. description: 商品名称
  13672. type: string
  13673. type: object
  13674. models.WrFAProductDetail:
  13675. properties:
  13676. accountid:
  13677. description: 资金账号
  13678. type: integer
  13679. areauserid:
  13680. description: 金融机构ID
  13681. type: integer
  13682. financingdays:
  13683. description: 天数(天)
  13684. type: integer
  13685. interestminlen:
  13686. description: 最小起息天数
  13687. type: integer
  13688. interestrate:
  13689. description: 利率
  13690. type: number
  13691. interestratemode:
  13692. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  13693. type: integer
  13694. interestsettlemode:
  13695. description: 结息方式 - 1:按日结息 3:按月结息
  13696. type: integer
  13697. interestsettlevalue:
  13698. description: 结息方式值
  13699. type: integer
  13700. isautoloan:
  13701. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  13702. type: integer
  13703. loantag:
  13704. description: '放款标识: "放款快" 或者为空'
  13705. type: string
  13706. marginratio:
  13707. description: 保证金比率质押率 - [仓单质押]
  13708. type: number
  13709. productdetailid:
  13710. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  13711. type: integer
  13712. productid:
  13713. description: 金融产品ID
  13714. type: integer
  13715. productname:
  13716. description: 产品名称
  13717. type: string
  13718. updatetime:
  13719. description: 更新时间
  13720. type: string
  13721. username:
  13722. description: 融出方
  13723. type: string
  13724. type: object
  13725. models.WrFactorTypeInfo:
  13726. properties:
  13727. deliverygoodscode:
  13728. description: 品种代码
  13729. type: string
  13730. deliverygoodsname:
  13731. description: 品种名称
  13732. type: string
  13733. dgfactoryitemid:
  13734. description: 选择项id
  13735. type: integer
  13736. dgfactoryitemtypeid:
  13737. description: 要素选择项ID (1-仓库 2-品牌)
  13738. type: integer
  13739. dgfactoryitemvalue:
  13740. description: 要素项值
  13741. type: string
  13742. itemtypename:
  13743. description: 要素项名称
  13744. type: string
  13745. optioncompare:
  13746. description: 选择比较串
  13747. type: string
  13748. warehouseid:
  13749. description: 仓库id
  13750. type: integer
  13751. wrfactortypeid:
  13752. description: 仓单要素ID
  13753. type: string
  13754. wrfactortypename:
  13755. description: 要素名称
  13756. type: string
  13757. wrfactortypename2:
  13758. description: 要素名称(不含仓库)
  13759. type: string
  13760. wrstandardcode:
  13761. description: 品类代码
  13762. type: string
  13763. wrstandardid:
  13764. description: 品类id
  13765. type: integer
  13766. wrstandardname:
  13767. description: 品类名称
  13768. type: string
  13769. type: object
  13770. models.WrFilterItem:
  13771. properties:
  13772. itemcode:
  13773. description: 代码
  13774. type: string
  13775. itemid:
  13776. description: 项id
  13777. type: integer
  13778. itemname:
  13779. description: 名称
  13780. type: string
  13781. itemtype:
  13782. description: 类型 1-品种 2-品类(商品) 3-仓库
  13783. type: integer
  13784. type: object
  13785. models.WrFinanceBuyApply:
  13786. properties:
  13787. applydate:
  13788. description: 申请时间
  13789. type: string
  13790. applystatus:
  13791. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  13792. type: integer
  13793. applyuserid:
  13794. description: 申请人
  13795. type: integer
  13796. auditdate:
  13797. description: 审核时间
  13798. type: string
  13799. auditremark:
  13800. description: 审核备注
  13801. type: string
  13802. audituserid:
  13803. description: 审核人
  13804. type: integer
  13805. buyaccountid:
  13806. description: 买方资金账号
  13807. type: integer
  13808. buyorsell:
  13809. description: 买卖 - 0:买 1:卖
  13810. type: integer
  13811. buyuserid:
  13812. description: 买方用户ID
  13813. type: integer
  13814. buyusername:
  13815. description: 买方名称
  13816. type: string
  13817. buywrtradeorderid:
  13818. description: 融资方买委托单ID
  13819. type: string
  13820. deliverygoodscode:
  13821. description: 品种代码
  13822. type: string
  13823. deliverygoodsid:
  13824. description: 品种ID
  13825. type: integer
  13826. deliverygoodsname:
  13827. description: 品种名称
  13828. type: string
  13829. deliverymonth:
  13830. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  13831. type: string
  13832. enumdicname:
  13833. description: 单位名称
  13834. type: string
  13835. financeaccountid:
  13836. description: 融资方资金帐户ID
  13837. type: integer
  13838. financeapplyid:
  13839. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13840. type: string
  13841. financeareauserid:
  13842. description: 融资方用户ID
  13843. type: string
  13844. financename:
  13845. description: 融出方名称
  13846. type: string
  13847. financetype:
  13848. description: 融资类型 1-融资回购
  13849. type: integer
  13850. financingdays:
  13851. description: 天数(天)
  13852. type: integer
  13853. freezebuymargin:
  13854. description: 冻结融资保证金(买方)
  13855. type: number
  13856. handleremark:
  13857. description: 处理备注
  13858. type: string
  13859. handlestatus:
  13860. description: 处理状态
  13861. type: integer
  13862. interestminlen:
  13863. description: 最小起息天数
  13864. type: integer
  13865. interestrate:
  13866. description: 利率
  13867. type: number
  13868. interestratemode:
  13869. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  13870. type: integer
  13871. interestsettlemode:
  13872. description: 结息方式 - 1:按日结息 3:按月结息
  13873. type: integer
  13874. interestsettlevalue:
  13875. description: 结息方式值
  13876. type: integer
  13877. isautoloan:
  13878. description: 是否自动放款 - 0:手动 1:自动
  13879. type: integer
  13880. marginratio:
  13881. description: 保证金比率质押率 - [仓单质押]
  13882. type: number
  13883. marketid:
  13884. description: 市场ID
  13885. type: integer
  13886. minivalue:
  13887. description: 现货商品最小变动值
  13888. type: integer
  13889. optioncompare:
  13890. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13891. type: string
  13892. orderqty:
  13893. description: 委托数量(商品数量)
  13894. type: number
  13895. productdetailid:
  13896. description: 产品组合ID
  13897. type: integer
  13898. productid:
  13899. description: 金融产品ID
  13900. type: integer
  13901. productname:
  13902. description: 产品名称
  13903. type: string
  13904. remark:
  13905. description: 备注
  13906. type: string
  13907. scfcontractid:
  13908. description: 仓单回购合同ID
  13909. type: string
  13910. sellaccountid:
  13911. description: 卖方资金账号
  13912. type: integer
  13913. selluserid:
  13914. description: 卖方用户ID
  13915. type: integer
  13916. sellwrtradeorderid:
  13917. description: 卖方委托单ID
  13918. type: string
  13919. tradeamount:
  13920. description: 成交金额(借款金额)
  13921. type: number
  13922. tradedate:
  13923. description: 交易日(yyyyMMdd)
  13924. type: string
  13925. tradeprice:
  13926. description: 成交价格
  13927. type: number
  13928. warehouseid:
  13929. description: 仓库ID
  13930. type: integer
  13931. warehousename:
  13932. description: 仓库名称
  13933. type: string
  13934. wrfactortypeid:
  13935. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13936. type: string
  13937. wrfactortypename:
  13938. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13939. type: string
  13940. wrpricetype:
  13941. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  13942. type: integer
  13943. wrstandardcode:
  13944. description: 现货商品代码
  13945. type: string
  13946. wrstandardid:
  13947. description: 现货商品ID
  13948. type: integer
  13949. wrstandardname:
  13950. description: 商品名称
  13951. type: string
  13952. wrtypename:
  13953. description: 商品
  13954. type: string
  13955. type: object
  13956. models.WrFriendApply:
  13957. properties:
  13958. applicantid:
  13959. description: 申请人
  13960. type: integer
  13961. applyname:
  13962. description: 申请人名称
  13963. type: string
  13964. applysrc:
  13965. description: 申请来源 - 1:管理端 2:终端
  13966. type: integer
  13967. applystatus:
  13968. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13969. type: integer
  13970. applytime:
  13971. description: 申请时间
  13972. type: string
  13973. auditname:
  13974. description: 审核人名称
  13975. type: string
  13976. auditorid:
  13977. description: 审核人
  13978. type: integer
  13979. auditremark:
  13980. description: 审核备注
  13981. type: string
  13982. auditsrc:
  13983. description: 审核来源 - 1:管理端 2:终端
  13984. type: integer
  13985. audittime:
  13986. description: 审核时间
  13987. type: string
  13988. friendapplyid:
  13989. description: 申请ID(SEQ_FRIENDAPPLY)
  13990. type: string
  13991. friendname:
  13992. description: 好友名字(已脱敏)
  13993. type: string
  13994. frienduserid:
  13995. description: 好友用户ID
  13996. type: string
  13997. remark:
  13998. description: 备注
  13999. type: string
  14000. userid:
  14001. description: 申请人用户ID
  14002. type: integer
  14003. type: object
  14004. models.WrFtDeliveryGoods:
  14005. properties:
  14006. deliverygoodscode:
  14007. description: 品种代码
  14008. type: string
  14009. deliverygoodsid:
  14010. description: 品种ID
  14011. type: integer
  14012. deliverygoodsname:
  14013. description: 品种名称
  14014. type: string
  14015. wdlst:
  14016. description: 商品列表
  14017. items:
  14018. $ref: '#/definitions/models.WrFtWrstandard'
  14019. type: array
  14020. type: object
  14021. models.WrFtWrstandard:
  14022. properties:
  14023. enumdicname:
  14024. description: 单位名称
  14025. type: string
  14026. minivalue:
  14027. description: 最小变动值
  14028. type: integer
  14029. wrstandardcode:
  14030. description: 现货商品代码
  14031. type: string
  14032. wrstandardid:
  14033. description: 现货商品ID
  14034. type: integer
  14035. wrstandardname:
  14036. description: 商品名称
  14037. type: string
  14038. type: object
  14039. models.WrGoodsInfo:
  14040. properties:
  14041. haswr:
  14042. description: 0:仓单预售 1:仓单贸易
  14043. type: integer
  14044. lstitem:
  14045. description: 商品信息项
  14046. items:
  14047. $ref: '#/definitions/models.WrTypeItem'
  14048. type: array
  14049. lststep:
  14050. description: 履约规则
  14051. items:
  14052. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14053. type: array
  14054. marketid:
  14055. description: 市场id
  14056. type: integer
  14057. type: object
  14058. models.WrGoodsPerformanceStep:
  14059. properties:
  14060. autoid:
  14061. description: AutoID
  14062. type: integer
  14063. isauto:
  14064. description: 是否自动 - 0:不自动 1:自动
  14065. type: integer
  14066. remark:
  14067. description: 备注
  14068. type: string
  14069. stepdate:
  14070. description: 天数信息(T+N)
  14071. type: string
  14072. stepdays:
  14073. description: 距离上一步天数
  14074. type: integer
  14075. stepindex:
  14076. description: 步骤序号
  14077. type: integer
  14078. stepinfo:
  14079. description: 步骤信息(步骤名称+步骤值)
  14080. type: string
  14081. steptypeid:
  14082. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14083. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14084. type: integer
  14085. steptypename:
  14086. description: 步骤名称
  14087. type: string
  14088. stepvalue:
  14089. description: 步骤值
  14090. type: number
  14091. templateid:
  14092. description: 履约计划模板ID
  14093. type: integer
  14094. type: object
  14095. models.WrHoldLB:
  14096. properties:
  14097. accountid:
  14098. description: 持有人帐户ID
  14099. type: integer
  14100. createtime:
  14101. description: 创建时间(过户时间)
  14102. type: string
  14103. deliverygoodscode:
  14104. description: 品种代码
  14105. type: string
  14106. deliverygoodsid:
  14107. description: 品种ID
  14108. type: integer
  14109. deliverygoodsname:
  14110. description: 品种名称
  14111. type: string
  14112. enableqty:
  14113. description: 可用数量
  14114. type: number
  14115. enumdicname:
  14116. description: 单位名称
  14117. type: string
  14118. freezerqty:
  14119. description: 冻结数量
  14120. type: number
  14121. ladingbillid:
  14122. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  14123. type: string
  14124. minivalue:
  14125. description: 现货商品最小变动值
  14126. type: integer
  14127. optioncompare:
  14128. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14129. type: string
  14130. parentsubnum:
  14131. description: 拆分父子单号
  14132. type: integer
  14133. pledgeqty:
  14134. description: 质押数量
  14135. type: number
  14136. qty:
  14137. description: 数量
  14138. type: number
  14139. subnum:
  14140. description: 提单子单号
  14141. type: integer
  14142. tradedate:
  14143. description: 交易日(yyyyMMdd)
  14144. type: string
  14145. userid:
  14146. description: 持有人ID
  14147. type: integer
  14148. warehouseid:
  14149. description: 仓库ID
  14150. type: integer
  14151. warehousename:
  14152. description: 仓库名称
  14153. type: string
  14154. wrfactortypeid:
  14155. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14156. type: string
  14157. wrfactortypename:
  14158. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14159. type: string
  14160. wrholdeno:
  14161. description: 仓单编号
  14162. type: string
  14163. wrid:
  14164. description: 仓单变更ID
  14165. type: string
  14166. wrstandardcode:
  14167. description: 现货商品代码
  14168. type: string
  14169. wrstandardid:
  14170. description: 现货商品ID
  14171. type: integer
  14172. wrstandardname:
  14173. description: 商品名称
  14174. type: string
  14175. wrtypename:
  14176. description: 商品
  14177. type: string
  14178. type: object
  14179. models.WrMarketTradeConfig:
  14180. properties:
  14181. basisdownratio:
  14182. description: 浮动价基差下限比例(仓单贸易)
  14183. type: number
  14184. basisupratio:
  14185. description: 浮动价基差上限比例(仓单贸易)
  14186. type: number
  14187. buychargealgorithm:
  14188. description: 买方手续费收取方式 1:比率 2:固定
  14189. type: integer
  14190. buychargealgorithm2:
  14191. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  14192. type: integer
  14193. buychargealgorithmvalue:
  14194. description: 买方手续费设置值(交易所部分)
  14195. type: number
  14196. buychargealgorithmvalue2:
  14197. description: 买方手续费设置值(会员部分)
  14198. type: number
  14199. buychargealgorithmvalue3:
  14200. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  14201. type: number
  14202. buychargealgorithmvalue4:
  14203. description: 回购买方手续费设置值(会员部分) --77:现货商城
  14204. type: number
  14205. buyfirstmarginalgorithm:
  14206. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  14207. type: integer
  14208. buyfirstmarginvalue:
  14209. description: 买方出价保证金设置值 - [竞拍]
  14210. type: number
  14211. buymarginalgorithm:
  14212. description: 买方保证金方式 - 1:比率 2:固定
  14213. type: integer
  14214. buymarginvalue:
  14215. description: 买方保证金设置值
  14216. type: number
  14217. buyreleaseratio:
  14218. description: 买方释放比率[2:分步履约]
  14219. type: number
  14220. executemode:
  14221. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  14222. type: integer
  14223. executeside:
  14224. description: 执行方[2:分步履约] - 1:买方 2:卖方
  14225. type: integer
  14226. failedchargealgorithm:
  14227. description: 流拍手续费收取方式 1:比率 2:固定
  14228. type: integer
  14229. failedchargevalue:
  14230. description: 流拍手续费设置值
  14231. type: number
  14232. failedchargevalue2:
  14233. description: 流拍卖方手续费设置值
  14234. type: number
  14235. holddays:
  14236. description: 合同期限[2:分步履约]
  14237. type: integer
  14238. marketid:
  14239. description: 市场ID-仓单贸易、竞拍、预售
  14240. type: integer
  14241. minqty:
  14242. description: 最小执行量[2:分步履约]
  14243. type: number
  14244. modifierid:
  14245. description: 修改人
  14246. type: integer
  14247. performancetempid:
  14248. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14249. 立即执行(-1)
  14250. type: integer
  14251. performancetempid2:
  14252. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14253. 立即执行
  14254. type: integer
  14255. performanceway:
  14256. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  14257. type: integer
  14258. sellchargealgorithm:
  14259. description: 卖方手续费收取方式 1:比率 2:固定
  14260. type: integer
  14261. sellchargealgorithm2:
  14262. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  14263. type: integer
  14264. sellchargealgorithmvalue:
  14265. description: 卖方手续费设置值(交易所部分)
  14266. type: number
  14267. sellchargealgorithmvalue2:
  14268. description: 卖方手续费设置值(会员部分)
  14269. type: number
  14270. sellchargealgorithmvalue3:
  14271. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  14272. type: number
  14273. sellchargealgorithmvalue4:
  14274. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  14275. type: number
  14276. sellmarginalgorithm:
  14277. description: 卖方保证金方式 - 1:比率 2:固定
  14278. type: integer
  14279. sellmarginvalue:
  14280. description: 卖方保证金设置值
  14281. type: number
  14282. sellmarginvalue2:
  14283. description: 卖方保证金设置值(无仓单)
  14284. type: number
  14285. sellreleaseratio:
  14286. description: 卖方释放比率[2:分步履约]
  14287. type: number
  14288. updatetime:
  14289. description: 更新时间
  14290. type: string
  14291. type: object
  14292. models.WrOrderDetail:
  14293. properties:
  14294. accountid:
  14295. description: 交易账号(资金账号)
  14296. type: integer
  14297. allfriendsflag:
  14298. description: 是否全好友可见 - 0:否 1:是
  14299. type: integer
  14300. amount:
  14301. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  14302. type: number
  14303. buyorsell:
  14304. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14305. type: integer
  14306. canbargain:
  14307. description: 是否可议价 - 0:不可 1:可
  14308. type: integer
  14309. cancelqty:
  14310. description: 撤销数量
  14311. type: number
  14312. canpart:
  14313. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  14314. type: integer
  14315. delistminqty:
  14316. description: 起摘数量
  14317. type: integer
  14318. deliverygoodscode:
  14319. description: 品种代码
  14320. type: string
  14321. deliverygoodsid:
  14322. description: 品种ID
  14323. type: integer
  14324. deliverygoodsname:
  14325. description: 品种名称
  14326. type: string
  14327. deliverymonth:
  14328. description: 交收月
  14329. type: string
  14330. enumdicname:
  14331. description: 单位名称
  14332. type: string
  14333. fixedprice:
  14334. description: 固定价格 - [挂牌]
  14335. type: number
  14336. freezemargin:
  14337. description: 冻结保证金(保证金)
  14338. type: number
  14339. futupricemove:
  14340. description: 期货升贴水
  14341. type: number
  14342. futushow:
  14343. description: 期货合约/升贴水
  14344. type: string
  14345. goodscode:
  14346. description: 期货合约
  14347. type: string
  14348. goodsid:
  14349. description: 期货商品id
  14350. type: integer
  14351. goodsname:
  14352. description: 商品名称
  14353. type: string
  14354. haswr:
  14355. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14356. type: integer
  14357. isspecified:
  14358. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  14359. type: integer
  14360. marginvalue:
  14361. description: 保证金设置值(履约保证金)
  14362. type: number
  14363. marketid:
  14364. description: 市场ID
  14365. type: integer
  14366. matchuserid:
  14367. description: 对手方id
  14368. type: integer
  14369. matchusername:
  14370. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  14371. type: string
  14372. minivalue:
  14373. description: 现货商品最小变动值
  14374. type: integer
  14375. optioncompare:
  14376. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14377. type: string
  14378. orderqty:
  14379. description: 委托数量
  14380. type: number
  14381. ordertime:
  14382. description: 委托时间(挂牌时间)
  14383. type: string
  14384. pricemove:
  14385. description: 升贴水(浮动价时填写) - [挂牌]
  14386. type: number
  14387. taname:
  14388. description: 交易用户名称(资金账号名称)
  14389. type: string
  14390. tradedate:
  14391. description: 交易日(yyyyMMdd)
  14392. type: string
  14393. tradeprice:
  14394. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  14395. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  14396. type: number
  14397. tradeqty:
  14398. description: 成交数量
  14399. type: number
  14400. userid:
  14401. description: 用户ID
  14402. type: integer
  14403. validtime:
  14404. description: 挂牌有效期
  14405. type: string
  14406. warehouseid:
  14407. description: 仓库ID
  14408. type: integer
  14409. warehousename:
  14410. description: 仓库名称
  14411. type: string
  14412. wrfactortypeid:
  14413. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14414. type: string
  14415. wrfactortypename:
  14416. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14417. type: string
  14418. wrpricetype:
  14419. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  14420. type: integer
  14421. wrstandardcode:
  14422. description: 现货商品代码
  14423. type: string
  14424. wrstandardid:
  14425. description: 现货商品ID
  14426. type: integer
  14427. wrstandardname:
  14428. description: 商品名称
  14429. type: string
  14430. wrtradeorderid:
  14431. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14432. type: string
  14433. wrtradeorderstatus:
  14434. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  14435. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  14436. type: integer
  14437. wrtradetype:
  14438. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14439. type: integer
  14440. wrtypename:
  14441. description: 商品
  14442. type: string
  14443. type: object
  14444. models.WrOrderQuote:
  14445. properties:
  14446. buyprice:
  14447. description: 买价
  14448. type: number
  14449. buypricemove:
  14450. description: 买升贴水(基差)
  14451. type: number
  14452. buyqty:
  14453. description: 买量
  14454. type: number
  14455. deliverygoodscode:
  14456. description: 品种代码
  14457. type: string
  14458. deliverygoodsid:
  14459. description: 品种id
  14460. type: integer
  14461. deliverygoodsname:
  14462. description: 品种名称
  14463. type: string
  14464. deliverymonth:
  14465. description: 交收月
  14466. type: string
  14467. enumdicname:
  14468. description: 单位名称
  14469. type: string
  14470. goodscode:
  14471. description: 商品合约(浮动价列表才有)
  14472. type: string
  14473. goodsid:
  14474. description: 商品id(浮动价列表才有)
  14475. type: integer
  14476. minivalue:
  14477. description: 现货商品最小变动值
  14478. type: integer
  14479. sellprice:
  14480. description: 卖价
  14481. type: number
  14482. sellpricemove:
  14483. description: 卖升贴水(基差)
  14484. type: number
  14485. sellqty:
  14486. description: 卖量
  14487. type: number
  14488. warehousecode:
  14489. description: 仓库代码
  14490. type: string
  14491. warehouseid:
  14492. description: 仓库id
  14493. type: integer
  14494. warehousename:
  14495. description: 仓库名称
  14496. type: string
  14497. wrfactortypeid:
  14498. description: 仓单要素id
  14499. type: string
  14500. wrfactortypename:
  14501. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14502. type: string
  14503. wrgoodsname:
  14504. description: 商品(商品名称+仓库要素名称 拼接)
  14505. type: string
  14506. wrstandardcode:
  14507. description: 商品代码
  14508. type: string
  14509. wrstandardid:
  14510. description: 商品id
  14511. type: integer
  14512. wrstandardname:
  14513. description: 商品名称
  14514. type: string
  14515. type: object
  14516. models.WrOrderQuoteDetail:
  14517. properties:
  14518. buyorsell:
  14519. description: 买卖 - 0:买 1:卖
  14520. type: integer
  14521. delistminqty:
  14522. description: 起摘数量
  14523. type: number
  14524. deliverymonth:
  14525. description: 交收月
  14526. type: string
  14527. enumdicname:
  14528. description: 单位名称
  14529. type: string
  14530. fixedprice:
  14531. description: 买(卖)价
  14532. type: number
  14533. minivalue:
  14534. description: 现货商品最小变动值
  14535. type: integer
  14536. orderqty:
  14537. description: 买(卖)量(=委托量-成交量)
  14538. type: number
  14539. ordertime:
  14540. description: 委托时间
  14541. type: string
  14542. pricemove:
  14543. description: 买(卖)升贴水- 基差
  14544. type: number
  14545. userid:
  14546. description: 购买方(销售方)用户ID
  14547. type: integer
  14548. username:
  14549. description: 购买方(销售方)
  14550. type: string
  14551. wrtradeorderid:
  14552. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14553. type: string
  14554. type: object
  14555. models.WrOutInApply:
  14556. properties:
  14557. applyid:
  14558. description: 申请单id
  14559. type: string
  14560. applystatus:
  14561. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  14562. 8:已撤销
  14563. type: integer
  14564. applytime:
  14565. description: 申请时间
  14566. type: string
  14567. applytype:
  14568. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  14569. type: integer
  14570. deliverygoodscode:
  14571. description: 品种代码
  14572. type: string
  14573. deliverygoodsid:
  14574. description: 品种ID
  14575. type: integer
  14576. deliverygoodsname:
  14577. description: 品种名称
  14578. type: string
  14579. enumdicname:
  14580. description: 单位名称
  14581. type: string
  14582. expresscompany:
  14583. description: 物流公司
  14584. type: string
  14585. expressnum:
  14586. description: 物流单号
  14587. type: string
  14588. minivalue:
  14589. description: 现货商品最小变动值
  14590. type: integer
  14591. optioncompare:
  14592. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14593. type: string
  14594. qty:
  14595. description: 数量
  14596. type: integer
  14597. userid:
  14598. description: 用户id
  14599. type: integer
  14600. warehouseid:
  14601. description: 仓库ID
  14602. type: integer
  14603. warehousename:
  14604. description: 仓库名称
  14605. type: string
  14606. wrfactortypeid:
  14607. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14608. type: string
  14609. wrfactortypename:
  14610. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14611. type: string
  14612. wrstandardcode:
  14613. description: 现货商品代码
  14614. type: string
  14615. wrstandardid:
  14616. description: 现货商品ID
  14617. type: integer
  14618. wrstandardname:
  14619. description: 商品名称
  14620. type: string
  14621. wrtypename:
  14622. description: 商品
  14623. type: string
  14624. type: object
  14625. models.WrPerformancePlan:
  14626. properties:
  14627. activatemonth:
  14628. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  14629. type: string
  14630. amount:
  14631. description: 履约金额(总金额)
  14632. type: number
  14633. buyaccountid:
  14634. description: 买方账号
  14635. type: integer
  14636. buyerfreezeamount:
  14637. description: 履约冻结(买履约)
  14638. type: number
  14639. buyerfreezeamountremain:
  14640. description: 履约冻结剩余(买履约)
  14641. type: number
  14642. buyorsell:
  14643. description: 买卖方向 0-买 1-卖
  14644. type: integer
  14645. buypaidamount:
  14646. description: 买方已冻/已扣金额 (已付金额)
  14647. type: number
  14648. buyusername:
  14649. description: 买方名字
  14650. type: string
  14651. contractid:
  14652. description: 合同ID
  14653. type: integer
  14654. createtime:
  14655. description: 创建时间
  14656. type: string
  14657. creatorid:
  14658. description: 创建人
  14659. type: integer
  14660. curstepdeadline:
  14661. description: 当前步骤到期时间
  14662. type: string
  14663. curstepid:
  14664. description: 当前步骤ID
  14665. type: string
  14666. curstepname:
  14667. description: 当前步骤名称
  14668. type: string
  14669. deliverygoodscode:
  14670. description: 品种代码
  14671. type: string
  14672. deliverygoodsid:
  14673. description: 品种ID
  14674. type: integer
  14675. deliverygoodsname:
  14676. description: 品种名称
  14677. type: string
  14678. enumdicname:
  14679. description: 单位名称
  14680. type: string
  14681. expressfee:
  14682. description: 运费
  14683. type: number
  14684. expressfeeconfirmed:
  14685. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  14686. type: integer
  14687. hasovershort:
  14688. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  14689. type: integer
  14690. haswr:
  14691. description: 类型 0-仓单预售 1-仓单贸易
  14692. type: integer
  14693. marketid:
  14694. description: 市场ID
  14695. type: integer
  14696. middleaccountid:
  14697. description: 中间商资金账号ID
  14698. type: integer
  14699. middleuserid:
  14700. description: 中间商用户ID
  14701. type: integer
  14702. minivalue:
  14703. description: 现货商品最小变动值
  14704. type: integer
  14705. optioncompare:
  14706. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14707. type: string
  14708. overshortamount:
  14709. description: 溢短金额
  14710. type: number
  14711. overshortqty:
  14712. description: 溢短数量
  14713. type: number
  14714. paymenttype:
  14715. description: 付款方式 - 1:冻结 2:扣款
  14716. type: integer
  14717. performanceplanid:
  14718. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  14719. type: string
  14720. performancestatus:
  14721. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  14722. 9:超时待处理 10:超时关闭
  14723. type: integer
  14724. performancetype:
  14725. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  14726. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  14727. type: integer
  14728. qty:
  14729. description: 履约数量
  14730. type: number
  14731. relatedorderid:
  14732. description: 关联单号(履约类型的关联单号)
  14733. type: string
  14734. remark:
  14735. description: 备注
  14736. type: string
  14737. sellaccountid:
  14738. description: 卖方账号
  14739. type: integer
  14740. sellerfreezeamount:
  14741. description: 履约冻结(卖履约)
  14742. type: number
  14743. sellerfreezeamountremain:
  14744. description: 履约冻结剩余(卖履约)
  14745. type: number
  14746. sellreceivedamount:
  14747. description: 卖方已收金额
  14748. type: number
  14749. sellusername:
  14750. description: 卖方名字
  14751. type: string
  14752. shipremark:
  14753. description: 发货备注[物流单号]
  14754. type: string
  14755. starttime:
  14756. description: 开始时间
  14757. type: string
  14758. steptypeid:
  14759. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14760. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14761. type: integer
  14762. unpaidamount:
  14763. description: 剩余款(待支付金额)
  14764. type: number
  14765. userid:
  14766. description: 用户id
  14767. type: integer
  14768. warehouseid:
  14769. description: 仓库ID
  14770. type: integer
  14771. warehousename:
  14772. description: 仓库名称
  14773. type: string
  14774. wrfactortypeid:
  14775. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14776. type: string
  14777. wrfactortypename:
  14778. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14779. type: string
  14780. wrstandardcode:
  14781. description: 现货商品代码
  14782. type: string
  14783. wrstandardid:
  14784. description: 现货商品ID
  14785. type: integer
  14786. wrstandardname:
  14787. description: 商品名称
  14788. type: string
  14789. wrtransferuserid:
  14790. description: 仓单受让用户
  14791. type: integer
  14792. wrtypename:
  14793. description: 商品
  14794. type: string
  14795. required:
  14796. - userid
  14797. type: object
  14798. models.WrPerformancePlanStep:
  14799. properties:
  14800. delaydays:
  14801. description: 延期申请天数
  14802. type: integer
  14803. deliverygoodscode:
  14804. description: 品种代码
  14805. type: string
  14806. deliverygoodsid:
  14807. description: 品种ID
  14808. type: integer
  14809. deliverygoodsname:
  14810. description: 品种名称
  14811. type: string
  14812. endtime:
  14813. description: 结束日期
  14814. type: string
  14815. enumdicname:
  14816. description: 单位名称
  14817. type: string
  14818. executeside:
  14819. description: 步骤执行方 - 1:买方 2:卖方
  14820. type: integer
  14821. handlestatus:
  14822. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  14823. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  14824. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  14825. type: integer
  14826. isauto:
  14827. description: 是否自动 - 0:不自动 1:自动
  14828. type: integer
  14829. islastreceivestep:
  14830. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  14831. type: integer
  14832. minivalue:
  14833. description: 现货商品最小变动值
  14834. type: integer
  14835. optioncompare:
  14836. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14837. type: string
  14838. overdays:
  14839. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  14840. type: integer
  14841. performancestepid:
  14842. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  14843. type: string
  14844. planid:
  14845. description: 所属履约计划ID
  14846. type: string
  14847. realamount:
  14848. description: 实际完成金额
  14849. type: number
  14850. relatedorderid:
  14851. description: 关联单号
  14852. type: string
  14853. remaindays:
  14854. description: 剩余天数
  14855. type: integer
  14856. remark:
  14857. description: 错误备注
  14858. type: string
  14859. starttime:
  14860. description: 开始日期
  14861. type: string
  14862. stepamount:
  14863. description: 步骤金额
  14864. type: number
  14865. stepdays:
  14866. description: 距离上一步天数(分钟)
  14867. type: integer
  14868. stepindex:
  14869. description: 步骤序号
  14870. type: integer
  14871. steplanchtype:
  14872. description: 步骤启动类型 - 1:系统自动 2:手动
  14873. type: integer
  14874. stepremark:
  14875. description: 步骤备注
  14876. type: string
  14877. stepstatus:
  14878. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  14879. type: integer
  14880. steptypeid:
  14881. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14882. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14883. type: integer
  14884. steptypename:
  14885. description: 步骤名称
  14886. type: string
  14887. stepvalue:
  14888. description: 步骤值
  14889. type: number
  14890. warehouseid:
  14891. description: 仓库ID
  14892. type: integer
  14893. warehousename:
  14894. description: 仓库名称
  14895. type: string
  14896. wrfactortypeid:
  14897. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14898. type: string
  14899. wrfactortypename:
  14900. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14901. type: string
  14902. wrstandardcode:
  14903. description: 现货商品代码
  14904. type: string
  14905. wrstandardid:
  14906. description: 现货商品ID
  14907. type: integer
  14908. wrstandardname:
  14909. description: 商品名称
  14910. type: string
  14911. wrtypename:
  14912. description: 商品
  14913. type: string
  14914. type: object
  14915. models.WrPerformanceStepType:
  14916. properties:
  14917. canauto:
  14918. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  14919. type: integer
  14920. steptypeid:
  14921. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  14922. type: integer
  14923. steptypename:
  14924. description: 步骤类型名称
  14925. type: string
  14926. type: object
  14927. models.WrPerformanceTemplateEx:
  14928. properties:
  14929. autoid:
  14930. description: AutoID 模板id
  14931. type: integer
  14932. createtime:
  14933. description: 创建时间
  14934. type: string
  14935. creatorid:
  14936. description: 创建人
  14937. type: integer
  14938. lstStep:
  14939. description: 步骤信息列表
  14940. items:
  14941. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14942. type: array
  14943. paymenttype:
  14944. description: 支付方式 - 1:冻结 2:扣款
  14945. type: integer
  14946. takemode:
  14947. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  14948. type: integer
  14949. templatename:
  14950. description: 模板名称
  14951. type: string
  14952. templatetype:
  14953. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  14954. (无仓单) 5:挂牌期权 6:竞拍-降价式
  14955. type: integer
  14956. userid:
  14957. description: 所属用户
  14958. type: integer
  14959. type: object
  14960. models.WrPosition:
  14961. properties:
  14962. accountid:
  14963. description: 帐户ID
  14964. type: integer
  14965. buyexcuteqty:
  14966. description: 采购履约中数量
  14967. type: number
  14968. creditcurqty:
  14969. description: 授信当前数量(预售仓单:预售当前量)
  14970. type: number
  14971. creditenableqty:
  14972. description: '授信可用数量(预售仓单: 可用数量)'
  14973. type: number
  14974. creditfreezeqty:
  14975. description: '授信冻结数量(预售仓单: 当前数量)'
  14976. type: number
  14977. credittotalqty:
  14978. description: 授信总数量(预售仓单:预售总量)
  14979. type: number
  14980. credittradeqty:
  14981. description: 授信成交数量(预售仓单:成交总量)
  14982. type: number
  14983. deliverygoodscode:
  14984. description: 品种代码
  14985. type: string
  14986. deliverygoodsid:
  14987. description: 品种ID
  14988. type: integer
  14989. deliverygoodsname:
  14990. description: 品种名称
  14991. type: string
  14992. enalbeqty:
  14993. description: 可用数量
  14994. type: number
  14995. enumdicname:
  14996. description: 单位名称
  14997. type: string
  14998. freezeqty:
  14999. description: 总冻结数量
  15000. type: number
  15001. haswr:
  15002. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15003. type: integer
  15004. minivalue:
  15005. description: 现货商品最小变动值
  15006. type: integer
  15007. modifytime:
  15008. description: 修改时间(过户时间)
  15009. type: string
  15010. optioncompare:
  15011. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15012. type: string
  15013. pledgeqty:
  15014. description: 质押数量
  15015. type: number
  15016. querytype:
  15017. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  15018. type: integer
  15019. sellexcuteqty:
  15020. description: 销售履约中数量
  15021. type: number
  15022. totalqty:
  15023. description: 总数量(库存数量)
  15024. type: number
  15025. warehouseid:
  15026. description: 仓库ID
  15027. type: integer
  15028. warehousename:
  15029. description: 仓库名称
  15030. type: string
  15031. wrfactortypeid:
  15032. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15033. type: string
  15034. wrfactortypename:
  15035. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15036. type: string
  15037. wrpositionid:
  15038. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  15039. type: string
  15040. wrpositionno:
  15041. description: 仓单编号
  15042. type: string
  15043. wrstandardcode:
  15044. description: 现货商品代码
  15045. type: string
  15046. wrstandardid:
  15047. description: 现货商品ID
  15048. type: integer
  15049. wrstandardname:
  15050. description: 商品名称
  15051. type: string
  15052. wrtypename:
  15053. description: 商品
  15054. type: string
  15055. wruserid:
  15056. description: 持有人ID
  15057. type: integer
  15058. type: object
  15059. models.WrQuoteOrderMyq:
  15060. properties:
  15061. buyorsell:
  15062. description: 买卖 - 0:买 1:卖
  15063. type: integer
  15064. canbargain:
  15065. description: 是否可议价 - 0:不可 1:可
  15066. type: integer
  15067. canpart:
  15068. description: 是否允许部份摘牌 - 0:不允许 1:允许
  15069. type: integer
  15070. delistminqty:
  15071. description: 起摘数量
  15072. type: number
  15073. deliverygoodscode:
  15074. description: 品种代码
  15075. type: string
  15076. deliverygoodsid:
  15077. description: 品种ID
  15078. type: integer
  15079. deliverygoodsname:
  15080. description: 品种名称
  15081. type: string
  15082. deliverymonth:
  15083. description: 交收月
  15084. type: string
  15085. enumdicname:
  15086. description: 单位名称
  15087. type: string
  15088. fixedprice:
  15089. description: 买(卖)价
  15090. type: number
  15091. goodscode:
  15092. description: 商品合约代码
  15093. type: string
  15094. marginflag:
  15095. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  15096. type: integer
  15097. marginvalue:
  15098. description: 保证金设置值
  15099. type: number
  15100. minivalue:
  15101. description: 现货商品最小变动值
  15102. type: integer
  15103. orderqty:
  15104. description: 买(卖)量(=委托量-成交量)
  15105. type: number
  15106. ordertime:
  15107. description: 委托时间
  15108. type: string
  15109. performancetemplateid:
  15110. description: 履约模板id
  15111. type: integer
  15112. pricemove:
  15113. description: 买(卖)升贴水- 基差
  15114. type: number
  15115. templatename:
  15116. description: 履约模板名称
  15117. type: string
  15118. userid:
  15119. description: 购买方(销售方)用户ID
  15120. type: integer
  15121. username:
  15122. description: 购买方(销售方)
  15123. type: string
  15124. validtime:
  15125. description: 有效期限
  15126. type: string
  15127. validtype:
  15128. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15129. type: integer
  15130. warehousename:
  15131. description: 仓库名称
  15132. type: string
  15133. wrfactortypeid:
  15134. description: 仓单要素id
  15135. type: string
  15136. wrstandardcode:
  15137. description: 现货商品代码
  15138. type: string
  15139. wrstandardid:
  15140. description: 现货商品ID
  15141. type: integer
  15142. wrstandardname:
  15143. description: 商品名称
  15144. type: string
  15145. wrtradeorderid:
  15146. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15147. type: string
  15148. wrtypename:
  15149. description: 商品
  15150. type: string
  15151. type: object
  15152. models.WrScfContract:
  15153. properties:
  15154. borroweruserid:
  15155. description: 借款用户ID
  15156. type: integer
  15157. buybackwrpositionqty:
  15158. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  15159. type: number
  15160. closeinterest:
  15161. description: 已结利息 -> 已结费用
  15162. type: number
  15163. currisklevel:
  15164. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  15165. type: integer
  15166. deadline:
  15167. description: 截止日期(yyyyMMdd) -> 借款到期时间
  15168. type: string
  15169. deliverygoodscode:
  15170. description: 品种代码
  15171. type: string
  15172. deliverygoodsid:
  15173. description: 品种ID
  15174. type: integer
  15175. deliverygoodsname:
  15176. description: 品种名称
  15177. type: string
  15178. enumdicname:
  15179. description: 单位名称
  15180. type: string
  15181. financingdays:
  15182. description: 天数(天)
  15183. type: integer
  15184. initmargin:
  15185. description: 保证金 - [仓单回购]
  15186. type: number
  15187. interestamount:
  15188. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  15189. type: number
  15190. interestdebt:
  15191. description: 利息欠款(记录负数) -> 费用欠款
  15192. type: number
  15193. interestminlen:
  15194. description: 最小起息天数
  15195. type: integer
  15196. interestrate:
  15197. description: 利率
  15198. type: number
  15199. interestratemode:
  15200. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15201. type: integer
  15202. interestsettlemode:
  15203. description: 结息方式 - 1:按日结息 3:按月结息
  15204. type: integer
  15205. interestsettlevalue:
  15206. description: 结息方式值
  15207. type: integer
  15208. isautoloan:
  15209. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  15210. type: integer
  15211. lastcloseinterestday:
  15212. description: 最近结息日(yyyyMMdd)
  15213. type: string
  15214. lenderamount:
  15215. description: 贷款金额 -> 借款金额
  15216. type: number
  15217. lenderuserid:
  15218. description: 贷款方用户ID -> 融出方用户ID
  15219. type: integer
  15220. lenderusername:
  15221. description: 融出方
  15222. type: string
  15223. marginratio:
  15224. description: 保证金比率质押率 - [仓单质押]
  15225. type: number
  15226. marketid:
  15227. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  15228. type: integer
  15229. minivalue:
  15230. description: 现货商品最小变动值
  15231. type: integer
  15232. optioncompare:
  15233. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15234. type: string
  15235. pricemove:
  15236. description: 估值升贴水值
  15237. type: number
  15238. productdetailid:
  15239. description: 产品组合ID
  15240. type: integer
  15241. productid:
  15242. description: 金融产品ID
  15243. type: integer
  15244. productname:
  15245. description: 产品名称
  15246. type: string
  15247. remainamount:
  15248. description: 合同剩余金额 -> 剩余金额
  15249. type: number
  15250. remainwrpositionqty:
  15251. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  15252. type: number
  15253. remark:
  15254. description: 备注
  15255. type: string
  15256. scfcontractid:
  15257. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15258. type: string
  15259. scfcontractstatus:
  15260. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  15261. 9:违约结束 10:已注销 11:已关闭 99:未提交
  15262. type: integer
  15263. scfcontracttype:
  15264. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  15265. type: integer
  15266. startinterestday:
  15267. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  15268. type: string
  15269. totalinterest:
  15270. description: 已计利息 -> 已计费用
  15271. type: number
  15272. unpaidinterest:
  15273. description: 未结费用
  15274. type: number
  15275. updatetime:
  15276. description: 更新时间
  15277. type: string
  15278. warehouseid:
  15279. description: 仓库ID
  15280. type: integer
  15281. warehousename:
  15282. description: 仓库名称
  15283. type: string
  15284. wrfactortypeid:
  15285. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15286. type: string
  15287. wrfactortypename:
  15288. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15289. type: string
  15290. wrqty:
  15291. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  15292. type: number
  15293. wrstandardcode:
  15294. description: 现货商品代码
  15295. type: string
  15296. wrstandardid:
  15297. description: 现货商品ID
  15298. type: integer
  15299. wrstandardname:
  15300. description: 商品名称
  15301. type: string
  15302. wrtypename:
  15303. description: 商品
  15304. type: string
  15305. type: object
  15306. models.WrScfContractInterest:
  15307. properties:
  15308. closeinterest:
  15309. description: 已结利息
  15310. type: number
  15311. closeintereststatus:
  15312. description: 结息状态 - 1:未结 2:已结
  15313. type: integer
  15314. closetime:
  15315. description: 结息时间
  15316. type: string
  15317. closetradedate:
  15318. description: 结息交易日
  15319. type: string
  15320. creatorid:
  15321. description: 操作人ID
  15322. type: integer
  15323. dayrate:
  15324. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  15325. type: number
  15326. interest:
  15327. description: 利息
  15328. type: number
  15329. interestamount:
  15330. description: 计息金额
  15331. type: number
  15332. interestday:
  15333. description: 计息日(yyyyMMdd)
  15334. type: string
  15335. scfcontractid:
  15336. description: SCF合同ID
  15337. type: string
  15338. scfcontractinterestid:
  15339. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  15340. type: integer
  15341. updatetime:
  15342. description: 更新时间
  15343. type: string
  15344. type: object
  15345. models.WrSpecialMatchOrder:
  15346. properties:
  15347. amount:
  15348. description: 金额 = 数量 * 价格
  15349. type: number
  15350. buyorsell:
  15351. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15352. type: integer
  15353. cancelqty:
  15354. description: 撤销数量
  15355. type: number
  15356. deliverygoodscode:
  15357. description: 品种代码
  15358. type: string
  15359. deliverygoodsid:
  15360. description: 品种ID
  15361. type: integer
  15362. deliverygoodsname:
  15363. description: 品种名称
  15364. type: string
  15365. enumdicname:
  15366. description: 单位名称
  15367. type: string
  15368. fixedprice:
  15369. description: 固定价格(价格)
  15370. type: number
  15371. haswr:
  15372. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15373. type: integer
  15374. marketid:
  15375. description: 市场ID
  15376. type: integer
  15377. matchuserid:
  15378. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  15379. type: integer
  15380. matchusername:
  15381. description: 指定方
  15382. type: string
  15383. minivalue:
  15384. description: 现货商品最小变动值
  15385. type: integer
  15386. optioncompare:
  15387. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15388. type: string
  15389. orderqty:
  15390. description: 委托数量
  15391. type: number
  15392. ordertime:
  15393. description: 委托时间
  15394. type: string
  15395. pricemove:
  15396. description: 升贴水(浮动价时填写) - [挂牌]
  15397. type: number
  15398. tradedate:
  15399. description: 交易日(yyyyMMdd)
  15400. type: string
  15401. tradeprice:
  15402. description: 成交价格
  15403. type: number
  15404. tradeqty:
  15405. description: 成交数量
  15406. type: number
  15407. userid:
  15408. description: 用户ID
  15409. type: integer
  15410. username:
  15411. description: 发起方
  15412. type: string
  15413. warehouseid:
  15414. description: 仓库ID
  15415. type: integer
  15416. warehousename:
  15417. description: 仓库名称
  15418. type: string
  15419. wrfactortypeid:
  15420. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15421. type: string
  15422. wrfactortypename:
  15423. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15424. type: string
  15425. wrpricetype:
  15426. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15427. type: integer
  15428. wrstandardcode:
  15429. description: 现货商品代码
  15430. type: string
  15431. wrstandardid:
  15432. description: 现货商品ID
  15433. type: integer
  15434. wrstandardname:
  15435. description: 商品名称
  15436. type: string
  15437. wrtradeorderid:
  15438. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15439. type: string
  15440. wrtradeorderstatus:
  15441. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  15442. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  15443. type: integer
  15444. wrtradetype:
  15445. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15446. type: integer
  15447. wrtypename:
  15448. description: 商品
  15449. type: string
  15450. type: object
  15451. models.WrStandardFactoryItem:
  15452. properties:
  15453. dgfactoryitemid:
  15454. description: 选择项id
  15455. type: integer
  15456. dgfactoryitemvalue:
  15457. description: 要素项值
  15458. type: string
  15459. warehouseid:
  15460. description: 仓库id
  15461. type: integer
  15462. type: object
  15463. models.WrStandardFactoryItemEx:
  15464. properties:
  15465. dgfactoryitemtypeid:
  15466. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  15467. type: integer
  15468. itemlst:
  15469. description: 要素项列表
  15470. items:
  15471. $ref: '#/definitions/models.WrStandardFactoryItem'
  15472. type: array
  15473. itemtypename:
  15474. description: 要素项类型名称
  15475. type: string
  15476. wrstandardid:
  15477. description: 品类
  15478. type: integer
  15479. type: object
  15480. models.WrTradeDetail:
  15481. properties:
  15482. accountid:
  15483. description: 资金账号
  15484. type: integer
  15485. buyorsell:
  15486. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15487. type: integer
  15488. deliverygoodscode:
  15489. description: 品种代码
  15490. type: string
  15491. deliverygoodsid:
  15492. description: 品种ID
  15493. type: integer
  15494. deliverygoodsname:
  15495. description: 品种名称
  15496. type: string
  15497. deliverymonth:
  15498. description: 交收月
  15499. type: string
  15500. enumdicname:
  15501. description: 单位名称
  15502. type: string
  15503. haswr:
  15504. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15505. type: integer
  15506. marketid:
  15507. description: 市场ID
  15508. type: integer
  15509. matchaccountid:
  15510. description: 对手账号
  15511. type: integer
  15512. matchusername:
  15513. description: 对手方
  15514. type: string
  15515. minivalue:
  15516. description: 现货商品最小变动值
  15517. type: integer
  15518. optioncompare:
  15519. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15520. type: string
  15521. tradedate:
  15522. description: 交易日(yyyyMMdd)
  15523. type: string
  15524. tradeprice:
  15525. description: 成交价格
  15526. type: number
  15527. tradeqty:
  15528. description: 成交数量
  15529. type: number
  15530. tradetime:
  15531. description: 成交时间
  15532. type: string
  15533. userid:
  15534. description: 用户ID
  15535. type: integer
  15536. warehouseid:
  15537. description: 仓库ID
  15538. type: integer
  15539. warehousename:
  15540. description: 仓库名称
  15541. type: string
  15542. wrfactortypeid:
  15543. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15544. type: string
  15545. wrfactortypename:
  15546. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15547. type: string
  15548. wrstandardcode:
  15549. description: 现货商品代码
  15550. type: string
  15551. wrstandardid:
  15552. description: 现货商品ID
  15553. type: integer
  15554. wrstandardname:
  15555. description: 商品名称
  15556. type: string
  15557. wrtradedetailid:
  15558. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  15559. type: string
  15560. wrtradetype:
  15561. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15562. type: integer
  15563. wrtypename:
  15564. description: 商品
  15565. type: string
  15566. type: object
  15567. models.WrTradeOrderDetail:
  15568. properties:
  15569. buyorsell:
  15570. description: 买卖方向 0-买 1-卖
  15571. type: integer
  15572. goodsid:
  15573. description: 商品id
  15574. type: integer
  15575. orderid:
  15576. description: 委托单号
  15577. type: string
  15578. orderprice:
  15579. description: 委托价格
  15580. type: number
  15581. orderqty:
  15582. description: 委托数量
  15583. type: integer
  15584. userid:
  15585. description: 用户id
  15586. type: integer
  15587. username:
  15588. description: 用户名称(已脱敏)
  15589. type: string
  15590. type: object
  15591. models.WrTypeItem:
  15592. properties:
  15593. name:
  15594. description: 名称
  15595. type: string
  15596. value:
  15597. description: 值
  15598. type: string
  15599. type: object
  15600. models.WrUserFriend:
  15601. properties:
  15602. friendname:
  15603. description: 朋友名称(已脱敏)
  15604. type: string
  15605. frienduserid:
  15606. description: 朋友id
  15607. type: integer
  15608. isfriend:
  15609. description: 是否好友 0-不是 1-是
  15610. type: integer
  15611. userid:
  15612. description: 用户id
  15613. type: integer
  15614. type: object
  15615. order.QueryHisTradeDetailRsp:
  15616. properties:
  15617. accountid:
  15618. description: 账户ID[报价币种]
  15619. type: integer
  15620. advanceratio:
  15621. description: 首付比率
  15622. type: number
  15623. buildtype:
  15624. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  15625. type: integer
  15626. buyorsell:
  15627. description: 方向 - 0:买 1:卖
  15628. type: integer
  15629. charge:
  15630. description: 手续费
  15631. type: number
  15632. closecharge:
  15633. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15634. type: number
  15635. closeexchagechargevalue:
  15636. description: 平仓交易所手续费设置值
  15637. type: number
  15638. closefeealgorithm:
  15639. description: 平仓手续费收取方式 1:比率 2:固定
  15640. type: integer
  15641. closememberchargevalue:
  15642. description: 平仓会员手续费设置值
  15643. type: number
  15644. closepl:
  15645. description: 平仓盈亏
  15646. type: number
  15647. closepl2:
  15648. description: 平仓盈亏[逐笔]
  15649. type: number
  15650. closeqty:
  15651. description: 平仓数量(先建后平操作 需要记录)
  15652. type: number
  15653. creditamount:
  15654. description: 授信金额
  15655. type: number
  15656. decimalplace:
  15657. description: 商品报价小数位
  15658. type: integer
  15659. enumdicname:
  15660. description: 单位名称
  15661. type: string
  15662. gcaccountid:
  15663. description: 账户ID[合约币种]
  15664. type: integer
  15665. goodscode:
  15666. description: 商品代码
  15667. type: string
  15668. goodsid:
  15669. description: 商品ID
  15670. type: integer
  15671. goodsname:
  15672. description: 商品名称
  15673. type: string
  15674. goodunitid:
  15675. description: 商品单位id
  15676. type: integer
  15677. histradedate:
  15678. description: 历史交易日
  15679. type: string
  15680. intclosepl:
  15681. description: 整型盈亏(用于交易结算试算平衡-收益权)
  15682. type: integer
  15683. isconfirmexercise:
  15684. description: 是否确认行权- 0:否 1:是
  15685. type: integer
  15686. ismain:
  15687. description: 是否主单 - 0:不是 1:是
  15688. type: integer
  15689. ispreexercise:
  15690. description: 是否预申报- 0:否 1:是
  15691. type: integer
  15692. isreckoned:
  15693. description: 是否结算 - 0:未结算 1:已结算
  15694. type: integer
  15695. isvaliddata:
  15696. description: 是否有效 - 0:无效 1:有效
  15697. type: integer
  15698. listingselecttype:
  15699. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15700. type: integer
  15701. marketid:
  15702. description: 市场ID
  15703. type: integer
  15704. marketname:
  15705. description: 市场名称
  15706. type: string
  15707. matchaccountid:
  15708. description: 对手账号id
  15709. type: integer
  15710. memberuserid:
  15711. description: 会员id 个人投资者 需要填写
  15712. type: integer
  15713. opencharge:
  15714. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15715. type: number
  15716. openexchagechargevalue:
  15717. description: 建仓交易所手续费设置值
  15718. type: number
  15719. openfeealgorithm:
  15720. description: 建仓手续费收取方式 1:比率 2:固定
  15721. type: integer
  15722. openmemberchargevalue:
  15723. description: 建仓会员手续费设置值
  15724. type: number
  15725. openqty:
  15726. description: 开仓数量(先建后平操作 需要记录)
  15727. type: number
  15728. optiontype:
  15729. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15730. type: integer
  15731. orderid:
  15732. description: 委托单号
  15733. type: string
  15734. payamount:
  15735. description: 支付金额(付款金额)
  15736. type: number
  15737. performanceplanid:
  15738. description: 履约计划ID[期权]
  15739. type: integer
  15740. performancestatus:
  15741. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  15742. type: integer
  15743. preexerciseprice:
  15744. description: 预申报价格
  15745. type: number
  15746. premium:
  15747. description: 权利金 - [持仓单的权利金]
  15748. type: number
  15749. qtydecimalplace:
  15750. description: 商品报价小数位
  15751. type: integer
  15752. recvamount:
  15753. description: 到账金额 = 成交金额 - 手续费
  15754. type: number
  15755. relatedouttradeid:
  15756. description: 关联外部成交单ID
  15757. type: integer
  15758. status:
  15759. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  15760. type: integer
  15761. totalamount:
  15762. description: 订单总额 = 成交金额 + 手续费
  15763. type: number
  15764. tradeamount:
  15765. description: 成交金额[账户币种,用于所有权]
  15766. type: number
  15767. tradedate:
  15768. description: 交易日(yyyyMMdd)
  15769. type: string
  15770. tradeid:
  15771. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15772. type: string
  15773. trademode:
  15774. description: 交易模式
  15775. type: integer
  15776. tradeprice:
  15777. description: 成交价格
  15778. type: number
  15779. tradeproperty:
  15780. description: 交易属性
  15781. type: integer
  15782. tradeqty:
  15783. description: 成交数量
  15784. type: number
  15785. tradetime:
  15786. description: 成交时间
  15787. type: string
  15788. tradetype:
  15789. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  15790. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  15791. type: integer
  15792. required:
  15793. - accountid
  15794. - buyorsell
  15795. - goodsid
  15796. - histradedate
  15797. - marketid
  15798. - memberuserid
  15799. - orderid
  15800. - tradeamount
  15801. - tradedate
  15802. - tradeid
  15803. - tradeprice
  15804. - tradeqty
  15805. - tradetime
  15806. type: object
  15807. order.QueryHisTradeOrderDetailRsp:
  15808. properties:
  15809. accountid:
  15810. description: 账户ID[报价币种]
  15811. type: integer
  15812. buildtype:
  15813. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  15814. type: integer
  15815. buyorsell:
  15816. description: 买卖 - 0:买 1:卖
  15817. type: integer
  15818. cancelorderid:
  15819. description: 撤单单号(撤单时填写)
  15820. type: string
  15821. cancelqty:
  15822. description: 撤单数量
  15823. type: number
  15824. clientordertime:
  15825. description: 客户端委托时间
  15826. type: string
  15827. clientticket:
  15828. description: 客户端流水号
  15829. type: string
  15830. clienttype:
  15831. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  15832. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  15833. type: integer
  15834. closeexchagechargevalue:
  15835. description: 平仓交易所手续费设置值
  15836. type: number
  15837. closefeealgorithm:
  15838. description: 平仓手续费收取方式 1:比率 2:固定
  15839. type: integer
  15840. closefreezecharge:
  15841. description: 平仓冻结手续费(先建后平操作,需要记录)
  15842. type: number
  15843. closememberchargevalue:
  15844. description: 平仓会员手续费设置值
  15845. type: number
  15846. closeqty:
  15847. description: 平仓数量(先建后平操作 需要记录)
  15848. type: number
  15849. closetradeqty:
  15850. description: 平仓成交数量(先建后平操作,需要记录)
  15851. type: number
  15852. closeunfreezecharge:
  15853. description: 平仓解冻手续费(先建后平操作,需要记录)
  15854. type: number
  15855. decimalplace:
  15856. description: 商品报价小数位
  15857. type: integer
  15858. delistingtype:
  15859. description: 摘牌类型 - 1:价格最优 2:点选成交
  15860. type: integer
  15861. enumdicname:
  15862. description: 单位名称
  15863. type: string
  15864. freezecharge:
  15865. description: 冻结手续费
  15866. type: number
  15867. freezemargin:
  15868. description: 冻结保证金(冻结交易金额)
  15869. type: number
  15870. gcaccountid:
  15871. description: 账户ID[合约币种]
  15872. type: integer
  15873. goodscode:
  15874. description: 商品代码
  15875. type: string
  15876. goodsid:
  15877. description: 商品ID
  15878. type: integer
  15879. goodsname:
  15880. description: 商品名称
  15881. type: string
  15882. goodunitid:
  15883. description: 商品单位id
  15884. type: integer
  15885. histradedate:
  15886. description: 历史交易日
  15887. type: string
  15888. isconfirmexercise:
  15889. description: 是否确认行权- 0:否 1:是
  15890. type: integer
  15891. ispreexercise:
  15892. description: 是否预申报- 0:否 1:是
  15893. type: integer
  15894. isvaliddata:
  15895. description: 是否有效 - 0:无效 1:有效
  15896. type: integer
  15897. listingselecttype:
  15898. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15899. type: integer
  15900. marginalgorithm:
  15901. description: 保证金收取方式 1:比率 2:固定
  15902. type: integer
  15903. marginvalue:
  15904. description: 即市保证金设置值
  15905. type: number
  15906. marketid:
  15907. description: 市场ID
  15908. type: integer
  15909. marketmaxsub:
  15910. description: 市价最大偏移范围
  15911. type: number
  15912. marketname:
  15913. description: 市场名称
  15914. type: string
  15915. memberuserid:
  15916. description: 所属会员UserID
  15917. type: integer
  15918. openexchagechargevalue:
  15919. description: 建仓交易所手续费设置值
  15920. type: number
  15921. openfeealgorithm:
  15922. description: 建仓手续费收取方式 1:比率 2:固定
  15923. type: integer
  15924. openfreezecharge:
  15925. description: 开仓冻结手续费(先建后平操作,需要记录)
  15926. type: number
  15927. openmemberchargevalue:
  15928. description: 建仓会员手续费设置值
  15929. type: number
  15930. openqty:
  15931. description: 开仓数量(先建后平操作,需要记录)
  15932. type: number
  15933. opentradeqty:
  15934. description: 开仓成交数量(先建后平操作,需要记录)
  15935. type: number
  15936. openunfreezecharge:
  15937. description: 开仓解冻手续费(先建后平操作,需要记录)
  15938. type: number
  15939. operatetype:
  15940. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  15941. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  15942. 15:管理端协议转让
  15943. type: integer
  15944. operatorid:
  15945. description: 登录账号(LoginID)
  15946. type: integer
  15947. optiontype:
  15948. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15949. type: integer
  15950. orderid:
  15951. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15952. type: string
  15953. orderprice:
  15954. description: 委托价格
  15955. type: number
  15956. orderqty:
  15957. description: 委托数量
  15958. type: number
  15959. ordersrc:
  15960. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  15961. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  15962. type: integer
  15963. orderstatus:
  15964. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  15965. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  15966. 16:成交失败违约(荷兰式竞拍专用)
  15967. type: integer
  15968. ordertime:
  15969. description: 委托时间
  15970. type: string
  15971. preexerciseprice:
  15972. description: 预申报价格
  15973. type: number
  15974. premium:
  15975. description: 权利金
  15976. type: number
  15977. preorderid:
  15978. description: 关联预埋单号(止盈止损单时填写)
  15979. type: string
  15980. pricemode:
  15981. description: '取价方式 - 1:市价 2: 限价'
  15982. type: integer
  15983. qtydecimalplace:
  15984. description: 成交量小数位
  15985. type: integer
  15986. quoteid:
  15987. description: 报价单ID
  15988. type: integer
  15989. relatedid:
  15990. description: 关联单号(交割单)
  15991. type: string
  15992. retcode:
  15993. description: 错误代码
  15994. type: integer
  15995. sessionid:
  15996. description: 会话ID
  15997. type: integer
  15998. tradedate:
  15999. description: 交易日(yyyyMMdd)
  16000. type: string
  16001. trademode:
  16002. description: 交易模式
  16003. type: integer
  16004. tradeproperty:
  16005. description: 交易属性
  16006. type: integer
  16007. tradeqty:
  16008. description: 成交数量
  16009. type: number
  16010. unfreezecharge:
  16011. description: 解冻手续费
  16012. type: number
  16013. unfreezemargin:
  16014. description: 解冻保证金
  16015. type: number
  16016. updatetime:
  16017. description: 更新时间
  16018. type: string
  16019. uuid:
  16020. description: 发起端唯一id
  16021. type: string
  16022. validtime:
  16023. description: 有效期限
  16024. type: string
  16025. validtype:
  16026. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  16027. type: integer
  16028. volumetype:
  16029. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  16030. type: integer
  16031. required:
  16032. - accountid
  16033. - buildtype
  16034. - buyorsell
  16035. - goodsid
  16036. - histradedate
  16037. - marketid
  16038. - memberuserid
  16039. - operatetype
  16040. - orderid
  16041. - orderqty
  16042. - ordertime
  16043. - pricemode
  16044. - tradedate
  16045. - validtype
  16046. type: object
  16047. order.QueryTradeDetailRsp:
  16048. properties:
  16049. accountid:
  16050. description: 账户ID[报价币种]
  16051. type: integer
  16052. advanceratio:
  16053. description: 首付比率
  16054. type: number
  16055. buildtype:
  16056. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16057. type: integer
  16058. buyorsell:
  16059. description: 方向 - 0:买 1:卖
  16060. type: integer
  16061. charge:
  16062. description: 手续费
  16063. type: number
  16064. closecharge:
  16065. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16066. type: number
  16067. closeexchagechargevalue:
  16068. description: 平仓交易所手续费设置值
  16069. type: number
  16070. closefeealgorithm:
  16071. description: 平仓手续费收取方式 1:比率 2:固定
  16072. type: integer
  16073. closememberchargevalue:
  16074. description: 平仓会员手续费设置值
  16075. type: number
  16076. closepl:
  16077. description: 平仓盈亏
  16078. type: number
  16079. closepl2:
  16080. description: 平仓盈亏[逐笔]
  16081. type: number
  16082. closeqty:
  16083. description: 平仓数量(先建后平操作 需要记录)
  16084. type: number
  16085. creditamount:
  16086. description: 授信金额
  16087. type: number
  16088. decimalplace:
  16089. description: 商品报价小数位
  16090. type: integer
  16091. enumdicname:
  16092. description: 单位名称
  16093. type: string
  16094. gcaccountid:
  16095. description: 账户ID[合约币种]
  16096. type: integer
  16097. goodscode:
  16098. description: 商品代码
  16099. type: string
  16100. goodsid:
  16101. description: 商品ID
  16102. type: integer
  16103. goodsname:
  16104. description: 商品名称
  16105. type: string
  16106. goodunitid:
  16107. description: 商品单位id
  16108. type: integer
  16109. intclosepl:
  16110. description: 整型盈亏(用于交易结算试算平衡-收益权)
  16111. type: integer
  16112. isconfirmexercise:
  16113. description: 是否确认行权- 0:否 1:是
  16114. type: integer
  16115. ismain:
  16116. description: 是否主单 - 0:不是 1:是
  16117. type: integer
  16118. ispreexercise:
  16119. description: 是否预申报- 0:否 1:是
  16120. type: integer
  16121. isreckoned:
  16122. description: 是否结算 - 0:未结算 1:已结算
  16123. type: integer
  16124. listingselecttype:
  16125. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16126. type: integer
  16127. marketid:
  16128. description: 市场ID
  16129. type: integer
  16130. marketname:
  16131. description: 市场名称
  16132. type: string
  16133. matchaccountid:
  16134. description: 对手账号id
  16135. type: integer
  16136. memberuserid:
  16137. description: 会员id 个人投资者 需要填写
  16138. type: integer
  16139. opencharge:
  16140. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16141. type: number
  16142. openexchagechargevalue:
  16143. description: 建仓交易所手续费设置值
  16144. type: number
  16145. openfeealgorithm:
  16146. description: 建仓手续费收取方式 1:比率 2:固定
  16147. type: integer
  16148. openmemberchargevalue:
  16149. description: 建仓会员手续费设置值
  16150. type: number
  16151. openqty:
  16152. description: 开仓数量(先建后平操作 需要记录)
  16153. type: number
  16154. optiontype:
  16155. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16156. type: integer
  16157. orderid:
  16158. description: 委托单号
  16159. type: string
  16160. payamount:
  16161. description: 支付金额(付款金额)
  16162. type: number
  16163. performanceplanid:
  16164. description: 履约计划ID[期权]
  16165. type: integer
  16166. performancestatus:
  16167. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  16168. type: integer
  16169. preexerciseprice:
  16170. description: 预申报价格
  16171. type: number
  16172. premium:
  16173. description: 权利金 - [持仓单的权利金]
  16174. type: number
  16175. qtydecimalplace:
  16176. description: 商品报价小数位
  16177. type: integer
  16178. recvamount:
  16179. description: 到账金额 = 成交金额 - 手续费
  16180. type: number
  16181. relatedouttradeid:
  16182. description: 关联外部成交单ID
  16183. type: integer
  16184. status:
  16185. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  16186. type: integer
  16187. totalamount:
  16188. description: 订单总额 = 成交金额 + 手续费
  16189. type: number
  16190. tradeamount:
  16191. description: 成交金额[账户币种,用于所有权]
  16192. type: number
  16193. tradedate:
  16194. description: 交易日(yyyyMMdd)
  16195. type: string
  16196. tradeid:
  16197. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16198. type: string
  16199. trademode:
  16200. description: 交易模式
  16201. type: integer
  16202. tradeprice:
  16203. description: 成交价格
  16204. type: number
  16205. tradeproperty:
  16206. description: 交易属性
  16207. type: integer
  16208. tradeqty:
  16209. description: 成交数量
  16210. type: number
  16211. tradetime:
  16212. description: 成交时间
  16213. type: string
  16214. tradetype:
  16215. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  16216. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  16217. type: integer
  16218. required:
  16219. - accountid
  16220. - buyorsell
  16221. - goodsid
  16222. - marketid
  16223. - memberuserid
  16224. - orderid
  16225. - tradeamount
  16226. - tradedate
  16227. - tradeid
  16228. - tradeprice
  16229. - tradeqty
  16230. - tradetime
  16231. type: object
  16232. order.QueryTradeOrderDetailRsp:
  16233. properties:
  16234. accountid:
  16235. description: 账户ID[报价币种]
  16236. type: integer
  16237. buildtype:
  16238. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  16239. type: integer
  16240. buyorsell:
  16241. description: 买卖 - 0:买 1:卖
  16242. type: integer
  16243. cancelorderid:
  16244. description: 撤单单号(撤单时填写)
  16245. type: string
  16246. cancelqty:
  16247. description: 撤单数量
  16248. type: number
  16249. clienttype:
  16250. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  16251. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  16252. type: integer
  16253. closefreezecharge:
  16254. description: 平仓冻结手续费(先建后平操作,需要记录)
  16255. type: number
  16256. closeqty:
  16257. description: 平仓数量(先建后平操作 需要记录)
  16258. type: number
  16259. closetradeqty:
  16260. description: 平仓成交数量(先建后平操作,需要记录)
  16261. type: number
  16262. closeunfreezecharge:
  16263. description: 平仓解冻手续费(先建后平操作,需要记录)
  16264. type: number
  16265. decimalplace:
  16266. description: 商品报价小数位
  16267. type: integer
  16268. delistingtype:
  16269. description: 摘牌类型 - 1:价格最优 2:点选成交
  16270. type: integer
  16271. enableqty:
  16272. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  16273. type: number
  16274. enumdicname:
  16275. description: 单位名称
  16276. type: string
  16277. freezecharge:
  16278. description: 冻结手续费
  16279. type: number
  16280. freezemargin:
  16281. description: 冻结保证金(冻结交易金额)
  16282. type: number
  16283. goodscode:
  16284. description: 商品代码
  16285. type: string
  16286. goodsid:
  16287. description: 商品ID
  16288. type: integer
  16289. goodsname:
  16290. description: 商品名称
  16291. type: string
  16292. goodunitid:
  16293. description: 商品单位id
  16294. type: integer
  16295. listingselecttype:
  16296. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16297. type: integer
  16298. marketid:
  16299. description: 市场ID
  16300. type: integer
  16301. marketname:
  16302. description: 市场名称
  16303. type: string
  16304. openfreezecharge:
  16305. description: 开仓冻结手续费(先建后平操作,需要记录)
  16306. type: number
  16307. openqty:
  16308. description: 开仓数量(先建后平操作,需要记录)
  16309. type: number
  16310. opentradeqty:
  16311. description: 开仓成交数量(先建后平操作,需要记录)
  16312. type: number
  16313. openunfreezecharge:
  16314. description: 开仓解冻手续费(先建后平操作,需要记录)
  16315. type: number
  16316. operatetype:
  16317. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  16318. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  16319. 15:管理端协议转让
  16320. type: integer
  16321. operatorid:
  16322. description: 登录账号(LoginID)
  16323. type: integer
  16324. orderid:
  16325. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16326. type: string
  16327. orderprice:
  16328. description: 委托价格
  16329. type: number
  16330. orderqty:
  16331. description: 委托数量
  16332. type: number
  16333. ordersrc:
  16334. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  16335. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  16336. type: integer
  16337. orderstatus:
  16338. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  16339. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  16340. 16:成交失败违约(荷兰式竞拍专用)
  16341. type: integer
  16342. ordertime:
  16343. description: 委托时间
  16344. type: string
  16345. preorderid:
  16346. description: 关联预埋单号(止盈止损单时填写)
  16347. type: string
  16348. pricemode:
  16349. description: '取价方式 - 1:市价 2: 限价'
  16350. type: integer
  16351. qtydecimalplace:
  16352. description: 商品报价小数位
  16353. type: integer
  16354. relatedid:
  16355. description: 关联单号(交割单)
  16356. type: string
  16357. tradedate:
  16358. description: 交易日(yyyyMMdd)
  16359. type: string
  16360. trademode:
  16361. description: 交易模式
  16362. type: integer
  16363. tradeqty:
  16364. description: 成交数量
  16365. type: number
  16366. unfreezecharge:
  16367. description: 解冻手续费
  16368. type: number
  16369. unfreezemargin:
  16370. description: 解冻保证金
  16371. type: number
  16372. validtime:
  16373. description: 有效期限
  16374. type: string
  16375. validtype:
  16376. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  16377. type: integer
  16378. volumetype:
  16379. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  16380. type: integer
  16381. required:
  16382. - accountid
  16383. - buildtype
  16384. - buyorsell
  16385. - goodsid
  16386. - marketid
  16387. - operatetype
  16388. - orderqty
  16389. - ordertime
  16390. - pricemode
  16391. - tradedate
  16392. - validtype
  16393. type: object
  16394. order.QueryTradePositionRsp:
  16395. properties:
  16396. accountid:
  16397. description: 资金账户
  16398. type: integer
  16399. agreeunit:
  16400. description: 合约单位
  16401. type: number
  16402. averageprice:
  16403. description: 持仓均价
  16404. type: number
  16405. buyorsell:
  16406. description: 方向 - 0:买 1:卖
  16407. type: integer
  16408. closetotalqty:
  16409. description: 平仓总数量
  16410. type: number
  16411. curholderamount:
  16412. description: 当前持仓总金额[商品币种]
  16413. type: number
  16414. curpositionqty:
  16415. description: 当前持仓总数量
  16416. type: number
  16417. currencyid:
  16418. description: 报价货币ID
  16419. type: integer
  16420. curtdposition:
  16421. description: 期末今日头寸
  16422. type: number
  16423. decimalplace:
  16424. description: 报价小数位
  16425. type: integer
  16426. enableqty:
  16427. description: 可用量
  16428. type: number
  16429. fretdposition:
  16430. description: 冻结今日头寸
  16431. type: number
  16432. frozenqty:
  16433. description: 持仓冻结数量
  16434. type: number
  16435. goodscode:
  16436. description: 商品代码
  16437. type: string
  16438. goodsid:
  16439. description: 商品Id
  16440. type: integer
  16441. goodsname:
  16442. description: 商品名称
  16443. type: string
  16444. goodunit:
  16445. description: 报价单位
  16446. type: string
  16447. goodunitid:
  16448. description: 报价单位ID
  16449. type: integer
  16450. holderamount:
  16451. description: 期初持仓总金额[商品币种]
  16452. type: number
  16453. lastprice:
  16454. description: 最新价
  16455. type: number
  16456. marketamount:
  16457. description: 市值
  16458. type: number
  16459. marketid:
  16460. description: 所属市场ID
  16461. type: integer
  16462. openreqqty:
  16463. description: 开仓申请数量(用于比较最大持仓数量)
  16464. type: number
  16465. opentotalqty:
  16466. description: 开仓总数量
  16467. type: number
  16468. otherfrozenqty:
  16469. description: 持仓其他冻结数量(交割冻结)
  16470. type: number
  16471. positionpl:
  16472. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  16473. * 合约单位
  16474. type: number
  16475. positionplrate:
  16476. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  16477. type: number
  16478. positionqty:
  16479. description: 期初持仓数量
  16480. type: number
  16481. qtydecimalplace:
  16482. description: 成交量小数位
  16483. type: integer
  16484. tnqty:
  16485. description: T+N冻结总量
  16486. type: number
  16487. tnusedqty:
  16488. description: T+N使用量(可以使用T+N的冻结数量)
  16489. type: number
  16490. trademode:
  16491. description: 交易模式
  16492. type: integer
  16493. usedmargin:
  16494. description: 占用保证金[商品币种]
  16495. type: number
  16496. required:
  16497. - goodsid
  16498. type: object
  16499. quote.HistoryData:
  16500. properties:
  16501. c:
  16502. description: 收盘价
  16503. type: number
  16504. f:
  16505. description: 是否补充数据
  16506. type: boolean
  16507. h:
  16508. description: 最高价
  16509. type: number
  16510. hv:
  16511. description: 持仓量
  16512. type: integer
  16513. l:
  16514. description: 最低价
  16515. type: number
  16516. o:
  16517. description: 开盘价
  16518. type: number
  16519. s:
  16520. description: 结算价,日线周期(包括)以上才有
  16521. type: number
  16522. ts:
  16523. description: 时间
  16524. type: string
  16525. tt:
  16526. description: 总金额
  16527. type: number
  16528. tv:
  16529. description: 总量
  16530. type: integer
  16531. type: object
  16532. quote.HistoryTikData:
  16533. properties:
  16534. AV:
  16535. description: 卖量
  16536. type: integer
  16537. Ask:
  16538. description: 卖价
  16539. type: number
  16540. BV:
  16541. description: 买量
  16542. type: integer
  16543. Bid:
  16544. description: 买价
  16545. type: number
  16546. HI:
  16547. description: 单笔持仓
  16548. type: integer
  16549. HV:
  16550. description: 持仓量
  16551. type: integer
  16552. PE:
  16553. description: 现价
  16554. type: number
  16555. TDR:
  16556. description: 交易方向,0:买 1:卖
  16557. type: integer
  16558. TK:
  16559. description: 交易类型
  16560. type: integer
  16561. TS:
  16562. description: 行情时间文本
  16563. type: string
  16564. TT:
  16565. description: 现金额
  16566. type: number
  16567. Vol:
  16568. description: 现量
  16569. type: integer
  16570. type: object
  16571. quote.QueryQuoteDayRsp:
  16572. properties:
  16573. ask:
  16574. description: 卖1
  16575. type: number
  16576. ask2:
  16577. description: 卖2
  16578. type: number
  16579. ask3:
  16580. description: 卖3
  16581. type: number
  16582. ask4:
  16583. description: 卖4
  16584. type: number
  16585. ask5:
  16586. description: 卖5
  16587. type: number
  16588. ask6:
  16589. description: 卖6
  16590. type: number
  16591. ask7:
  16592. description: 卖7
  16593. type: number
  16594. ask8:
  16595. description: 卖8
  16596. type: number
  16597. ask9:
  16598. description: 卖9
  16599. type: number
  16600. ask10:
  16601. description: 卖10
  16602. type: number
  16603. askorderid:
  16604. description: 卖单号1
  16605. type: integer
  16606. askorderid2:
  16607. description: 卖单号2
  16608. type: integer
  16609. askorderid3:
  16610. description: 卖单号3
  16611. type: integer
  16612. askorderid4:
  16613. description: 卖单号4
  16614. type: integer
  16615. askorderid5:
  16616. description: 卖单号5
  16617. type: integer
  16618. askordervolume:
  16619. description: 卖单量1
  16620. type: integer
  16621. askordervolume2:
  16622. description: 卖单量2
  16623. type: integer
  16624. askordervolume3:
  16625. description: 卖单量3
  16626. type: integer
  16627. askordervolume4:
  16628. description: 卖单量4
  16629. type: integer
  16630. askordervolume5:
  16631. description: 卖单量5
  16632. type: integer
  16633. askordervolume6:
  16634. description: 卖单量6
  16635. type: integer
  16636. askordervolume7:
  16637. description: 卖单量7
  16638. type: integer
  16639. askordervolume8:
  16640. description: 卖单量8
  16641. type: integer
  16642. askordervolume9:
  16643. description: 卖单量9
  16644. type: integer
  16645. askordervolume10:
  16646. description: 卖单量10
  16647. type: integer
  16648. askqueueinfo:
  16649. description: 大利市卖港股用
  16650. type: string
  16651. askvolume:
  16652. description: 卖量1
  16653. type: integer
  16654. askvolume2:
  16655. description: 卖量2
  16656. type: integer
  16657. askvolume3:
  16658. description: 卖量3
  16659. type: integer
  16660. askvolume4:
  16661. description: 卖量4
  16662. type: integer
  16663. askvolume5:
  16664. description: 卖量5
  16665. type: integer
  16666. askvolume6:
  16667. description: 卖量6
  16668. type: integer
  16669. askvolume7:
  16670. description: 卖量7
  16671. type: integer
  16672. askvolume8:
  16673. description: 卖量8
  16674. type: integer
  16675. askvolume9:
  16676. description: 卖量9
  16677. type: integer
  16678. askvolume10:
  16679. description: 卖量10
  16680. type: integer
  16681. averageprice:
  16682. description: 均价
  16683. type: number
  16684. bid:
  16685. description: 买1
  16686. type: number
  16687. bid2:
  16688. description: 买2
  16689. type: number
  16690. bid3:
  16691. description: 买3
  16692. type: number
  16693. bid4:
  16694. description: 买4
  16695. type: number
  16696. bid5:
  16697. description: 买5
  16698. type: number
  16699. bid6:
  16700. description: 买6
  16701. type: number
  16702. bid7:
  16703. description: 买7
  16704. type: number
  16705. bid8:
  16706. description: 买8
  16707. type: number
  16708. bid9:
  16709. description: 买9
  16710. type: number
  16711. bid10:
  16712. description: 买10
  16713. type: number
  16714. bidorderid:
  16715. description: 买单号1
  16716. type: integer
  16717. bidorderid2:
  16718. description: 买单号2
  16719. type: integer
  16720. bidorderid3:
  16721. description: 买单号3
  16722. type: integer
  16723. bidorderid4:
  16724. description: 买单号4
  16725. type: integer
  16726. bidorderid5:
  16727. description: 买单号5
  16728. type: integer
  16729. bidordervolume:
  16730. description: 买单量1
  16731. type: integer
  16732. bidordervolume2:
  16733. description: 买单量2
  16734. type: integer
  16735. bidordervolume3:
  16736. description: 买单量3
  16737. type: integer
  16738. bidordervolume4:
  16739. description: 买单量4
  16740. type: integer
  16741. bidordervolume5:
  16742. description: 买单量5
  16743. type: integer
  16744. bidordervolume6:
  16745. description: 买单量6
  16746. type: integer
  16747. bidordervolume7:
  16748. description: 买单量7
  16749. type: integer
  16750. bidordervolume8:
  16751. description: 买单量8
  16752. type: integer
  16753. bidordervolume9:
  16754. description: 买单量9
  16755. type: integer
  16756. bidordervolume10:
  16757. description: 买单量10
  16758. type: integer
  16759. bidqueueinfo:
  16760. description: 大利市买港股用
  16761. type: string
  16762. bidvolume:
  16763. description: 买量1
  16764. type: integer
  16765. bidvolume2:
  16766. description: 买量2
  16767. type: integer
  16768. bidvolume3:
  16769. description: 买量3
  16770. type: integer
  16771. bidvolume4:
  16772. description: 买量4
  16773. type: integer
  16774. bidvolume5:
  16775. description: 买量5
  16776. type: integer
  16777. bidvolume6:
  16778. description: 买量6
  16779. type: integer
  16780. bidvolume7:
  16781. description: 买量7
  16782. type: integer
  16783. bidvolume8:
  16784. description: 买量8
  16785. type: integer
  16786. bidvolume9:
  16787. description: 买量9
  16788. type: integer
  16789. bidvolume10:
  16790. description: 买量10
  16791. type: integer
  16792. calloptionpremiums:
  16793. description: 认购期权1
  16794. type: integer
  16795. calloptionpremiums2:
  16796. description: 认购期权2
  16797. type: integer
  16798. calloptionpremiums3:
  16799. description: 认购期权3
  16800. type: integer
  16801. calloptionpremiums4:
  16802. description: 认购期权4
  16803. type: integer
  16804. calloptionpremiums5:
  16805. description: 认购期权5
  16806. type: integer
  16807. cleartime:
  16808. description: 清盘时间
  16809. type: integer
  16810. exchangecode:
  16811. description: 交易所代码
  16812. type: integer
  16813. exchangedate:
  16814. description: 交易日
  16815. type: integer
  16816. goodscode:
  16817. description: 商品代码
  16818. type: string
  16819. grepmarketprice:
  16820. description: 暗盘价 港股专用
  16821. type: number
  16822. highest:
  16823. description: 最高价
  16824. type: number
  16825. holdincrement:
  16826. description: 单笔持仓
  16827. type: integer
  16828. holdvolume:
  16829. description: 持仓
  16830. type: integer
  16831. iep:
  16832. description: 平衡价 港股专用
  16833. type: number
  16834. iev:
  16835. description: 平衡量 港股专用
  16836. type: number
  16837. inventory:
  16838. description: 库存
  16839. type: integer
  16840. iscleared:
  16841. description: 是否清盘标志
  16842. type: integer
  16843. issettled:
  16844. description: 是否结算标志
  16845. type: integer
  16846. last:
  16847. description: 最新价
  16848. type: number
  16849. lastlot:
  16850. description: 最新成交手数
  16851. type: integer
  16852. lasttime:
  16853. description: 行情时间(只有现价变化行情时间才变化)
  16854. type: string
  16855. lastturnover:
  16856. description: 最新成交金额
  16857. type: number
  16858. lastvolume:
  16859. description: 最新成交量
  16860. type: integer
  16861. limitdown:
  16862. description: 跌停价
  16863. type: number
  16864. limitup:
  16865. description: 涨停价
  16866. type: number
  16867. lowest:
  16868. description: 最低价
  16869. type: number
  16870. nontotalholdervolume:
  16871. description: 非交易持仓量
  16872. type: integer
  16873. nontotallot:
  16874. description: 非交易总手数
  16875. type: integer
  16876. nontotalturnover:
  16877. description: 非交易总金额
  16878. type: integer
  16879. nontotalvolume:
  16880. description: 非交易总量
  16881. type: integer
  16882. opened:
  16883. description: 开盘价
  16884. type: number
  16885. opentime:
  16886. description: 开盘时间
  16887. type: string
  16888. orderid:
  16889. description: 序号
  16890. type: integer
  16891. preclose:
  16892. description: 昨收
  16893. type: number
  16894. preholdvolume:
  16895. description: 昨持仓
  16896. type: integer
  16897. presettle:
  16898. description: 昨结价
  16899. type: number
  16900. publictradetype:
  16901. description: 公共交易标志类型 港股专用
  16902. type: string
  16903. putoptionpremiums:
  16904. description: 认沽期权1
  16905. type: integer
  16906. putoptionpremiums2:
  16907. description: 认沽期权2
  16908. type: integer
  16909. putoptionpremiums3:
  16910. description: 认沽期权3
  16911. type: integer
  16912. putoptionpremiums4:
  16913. description: 认沽期权4
  16914. type: integer
  16915. putoptionpremiums5:
  16916. description: 认沽期权5
  16917. type: integer
  16918. settle:
  16919. description: 结算价
  16920. type: number
  16921. strikeprice:
  16922. description: 发行价
  16923. type: number
  16924. totalaskvolume:
  16925. description: 内盘
  16926. type: integer
  16927. totalbidvolume:
  16928. description: 外盘
  16929. type: integer
  16930. totallot:
  16931. description: 总手数
  16932. type: integer
  16933. totalturnover:
  16934. description: 总金额
  16935. type: number
  16936. totalvolume:
  16937. description: 总量
  16938. type: integer
  16939. utclasttime:
  16940. description: utc的行情时间
  16941. type: string
  16942. type: object
  16943. quote.QueryTSDataRsp:
  16944. properties:
  16945. Count:
  16946. description: 交易日应有数据个数
  16947. type: integer
  16948. decimalPlace:
  16949. description: 小数位
  16950. type: integer
  16951. endTime:
  16952. description: 结束时间
  16953. type: string
  16954. goodsCode:
  16955. description: 商品代码
  16956. type: string
  16957. historyDatas:
  16958. description: 历史数据
  16959. items:
  16960. $ref: '#/definitions/quote.HistoryData'
  16961. type: array
  16962. outGoodsCode:
  16963. description: 外部商品代码
  16964. type: string
  16965. preSettle:
  16966. description: 昨结价
  16967. type: number
  16968. runSteps:
  16969. description: 交易日开休市计划
  16970. items:
  16971. $ref: '#/definitions/quote.TSDataRunStep'
  16972. type: array
  16973. startTime:
  16974. description: 开始时间
  16975. type: string
  16976. tradeDate:
  16977. description: 交易日
  16978. type: string
  16979. type: object
  16980. quote.TSDataRunStep:
  16981. properties:
  16982. end:
  16983. description: 真实结束时间
  16984. type: string
  16985. endflag:
  16986. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  16987. type: integer
  16988. endtime:
  16989. description: 结束时间(HH:mm)
  16990. type: string
  16991. endweekday:
  16992. description: 结束周几
  16993. type: integer
  16994. groupid:
  16995. description: 分组ID
  16996. type: integer
  16997. runstep:
  16998. description: 运行阶段 - 2:连续交易
  16999. type: integer
  17000. sectionid:
  17001. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  17002. 结束时间=结算时间 结束周几=结算周几
  17003. type: integer
  17004. start:
  17005. description: 真实开始时间
  17006. type: string
  17007. startflag:
  17008. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  17009. type: integer
  17010. starttime:
  17011. description: 起始时间(HH:mm)
  17012. type: string
  17013. startweekday:
  17014. description: 起始周几
  17015. type: integer
  17016. tradeweekday:
  17017. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  17018. type: integer
  17019. type: object
  17020. szdz.QueryConvertLogRsp:
  17021. properties:
  17022. accountid:
  17023. description: 资金账户ID
  17024. type: integer
  17025. clientticket:
  17026. description: 客户端流水号
  17027. type: string
  17028. converttype:
  17029. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  17030. type: integer
  17031. createtime:
  17032. description: 记账时间
  17033. type: string
  17034. daymaxvalue:
  17035. description: 配置当日最大转入限制
  17036. type: number
  17037. daymaxvalue2:
  17038. description: 配置当日最大转入限制(转入)
  17039. type: number
  17040. goodscode:
  17041. description: 商品代码
  17042. type: string
  17043. goodsname:
  17044. description: 商品名称
  17045. type: string
  17046. handlestatus:
  17047. description: 处理状态
  17048. type: integer
  17049. innergoodsid:
  17050. description: 内部商品ID
  17051. type: integer
  17052. inratio:
  17053. description: 配置转入比值
  17054. type: integer
  17055. invalue:
  17056. description: 目标值
  17057. type: number
  17058. logid:
  17059. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17060. type: integer
  17061. mobile:
  17062. description: 手机号码(加密存储)
  17063. type: string
  17064. outergoodscode:
  17065. description: 外部商品代码[JD\PD]
  17066. type: string
  17067. outratio:
  17068. description: 配置转出比值
  17069. type: integer
  17070. outvalue:
  17071. description: 源值
  17072. type: number
  17073. pddecimalplace:
  17074. description: PD小数位
  17075. type: integer
  17076. qty:
  17077. description: 数量
  17078. type: string
  17079. remark:
  17080. description: 备注
  17081. type: string
  17082. sessionid:
  17083. description: 会话ID
  17084. type: integer
  17085. timemaxvalue:
  17086. description: 配置单次最大转入限制
  17087. type: number
  17088. timemaxvalue2:
  17089. description: 配置单次最大转入限制(转入)
  17090. type: number
  17091. timeminvalue:
  17092. description: 配置单次最小数量限制
  17093. type: number
  17094. timeminvalue2:
  17095. description: 配置单次最小数量限制(转入)
  17096. type: number
  17097. tradedate:
  17098. description: 交易日(yyyyMMdd)
  17099. type: string
  17100. userid:
  17101. description: 用户ID
  17102. type: integer
  17103. required:
  17104. - logid
  17105. type: object
  17106. szdz.QueryGoodsPickupRsp:
  17107. properties:
  17108. accountid:
  17109. description: 账户ID
  17110. type: integer
  17111. address:
  17112. description: 提货人详细地址
  17113. type: string
  17114. auditer:
  17115. description: 审核人
  17116. type: integer
  17117. audittime:
  17118. description: 审核时间
  17119. type: string
  17120. cardnum:
  17121. description: 提货人证件号码
  17122. type: string
  17123. cardtypeid:
  17124. description: 提货人证件类型
  17125. type: integer
  17126. checkremark:
  17127. description: 审核备注
  17128. type: string
  17129. goodscode:
  17130. description: 商品代码
  17131. type: string
  17132. goodsid:
  17133. description: 商品ID
  17134. type: integer
  17135. goodsname:
  17136. description: 商品名称
  17137. type: string
  17138. handlestatus:
  17139. description: 处理状态
  17140. type: integer
  17141. marketid:
  17142. description: 市场ID
  17143. type: integer
  17144. phonenum:
  17145. description: 提货人联系方式
  17146. type: string
  17147. qty:
  17148. description: 提货数量
  17149. type: number
  17150. recivername:
  17151. description: 提货人姓名
  17152. type: string
  17153. reqtime:
  17154. description: 更新时间
  17155. type: string
  17156. takemode:
  17157. description: 提货方式 - 2:自提 3:配送
  17158. type: integer
  17159. takeorderid:
  17160. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  17161. type: string
  17162. takeorderstatus:
  17163. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17164. type: integer
  17165. takeremark:
  17166. description: 提货备注
  17167. type: string
  17168. tradedate:
  17169. description: 交易日(yyyyMMdd)
  17170. type: string
  17171. userid:
  17172. description: 用户ID
  17173. type: integer
  17174. required:
  17175. - takeorderid
  17176. type: object
  17177. szdz.QueryRecieptOrderRsp:
  17178. properties:
  17179. accountName:
  17180. description: 所属账号名称(已脱敏)
  17181. type: string
  17182. accountid:
  17183. description: 资金账号
  17184. type: integer
  17185. buyorsell:
  17186. description: 方向 - 0:买 1:卖
  17187. type: integer
  17188. enableqty:
  17189. description: 可摘数量
  17190. type: integer
  17191. goodscode:
  17192. description: 商品代码
  17193. type: string
  17194. goodsid:
  17195. description: 商品ID
  17196. type: integer
  17197. goodsname:
  17198. description: 商品名称
  17199. type: string
  17200. orderid:
  17201. description: 委托单号
  17202. type: string
  17203. orderprice:
  17204. description: 委托价格
  17205. type: number
  17206. ordertime:
  17207. description: 委托时间
  17208. type: string
  17209. tradedate:
  17210. description: 交易日(yyyyMMdd)
  17211. type: string
  17212. required:
  17213. - ordertime
  17214. type: object
  17215. szdz.QuerySZDZTradePositionRsp:
  17216. properties:
  17217. accountid:
  17218. description: 账号Id
  17219. type: integer
  17220. agreeunit:
  17221. description: 合约单位
  17222. type: number
  17223. averageprice:
  17224. description: 持仓均价
  17225. type: number
  17226. buyorsell:
  17227. description: 方向 - 0:买 1:卖
  17228. type: integer
  17229. closetotalqty:
  17230. description: 平仓总数量
  17231. type: integer
  17232. curholderamount:
  17233. description: 当前持仓总金额
  17234. type: number
  17235. curpositionqty:
  17236. description: 当前持仓总数量
  17237. type: integer
  17238. currencyid:
  17239. description: 报价货币ID
  17240. type: integer
  17241. curtdposition:
  17242. description: 期末今日头寸
  17243. type: integer
  17244. decimalplace:
  17245. description: 报价小数位
  17246. type: integer
  17247. enableqty:
  17248. description: 可用量
  17249. type: integer
  17250. fretdposition:
  17251. description: 冻结今日头寸
  17252. type: integer
  17253. frozenqty:
  17254. description: 持仓冻结数量
  17255. type: integer
  17256. goodscode:
  17257. description: 商品代码(内部)
  17258. type: string
  17259. goodsid:
  17260. description: 商品Id
  17261. type: integer
  17262. goodsname:
  17263. description: 商品名称
  17264. type: string
  17265. goodunit:
  17266. description: 报价单位
  17267. type: string
  17268. goodunitid:
  17269. description: 报价单位ID
  17270. type: integer
  17271. holderamount:
  17272. description: 期初持仓总金额
  17273. type: number
  17274. marketid:
  17275. description: 市场ID
  17276. type: integer
  17277. openreqqty:
  17278. description: 开仓申请数量
  17279. type: integer
  17280. opentotalqty:
  17281. description: 开仓总数量
  17282. type: integer
  17283. otherfrozenqty:
  17284. description: 持仓其他冻结数量(交割冻结)
  17285. type: integer
  17286. positionqty:
  17287. description: 期初持仓数量
  17288. type: integer
  17289. szdz3freezqty:
  17290. description: 尚志大宗转换冻结总数量
  17291. type: integer
  17292. tnqty:
  17293. description: T+N冻结总量
  17294. type: integer
  17295. tnusedqty:
  17296. description: T+N使用量
  17297. type: integer
  17298. trademode:
  17299. description: 交易模式
  17300. type: integer
  17301. usedmargin:
  17302. description: 占用保证金
  17303. type: number
  17304. type: object
  17305. taaccount.QueryAmountLogRsp:
  17306. properties:
  17307. OPERATETYPENAME:
  17308. description: 资金操作类型名称
  17309. type: string
  17310. accountid:
  17311. description: 资金账户ID
  17312. type: integer
  17313. agoodscode:
  17314. description: 竞拍商品代码
  17315. type: string
  17316. agoodsname:
  17317. description: 竞拍商品名称
  17318. type: string
  17319. amount:
  17320. description: 资金金额
  17321. type: number
  17322. amountadjusttype:
  17323. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  17324. type: integer
  17325. autoid:
  17326. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  17327. type: integer
  17328. balance:
  17329. description: 期初余额
  17330. type: number
  17331. businesscode:
  17332. description: 业务编号
  17333. type: integer
  17334. createtime:
  17335. description: 发生时间
  17336. type: string
  17337. currencyid:
  17338. description: 币种ID
  17339. type: integer
  17340. currentbalance:
  17341. description: 期末余额(变动后金额)
  17342. type: number
  17343. dgoodscode:
  17344. description: 交割商品代码
  17345. type: string
  17346. dgoodsname:
  17347. description: 交割商品名称
  17348. type: string
  17349. goodscode:
  17350. description: 商品代码
  17351. type: string
  17352. goodsid:
  17353. description: 商品ID
  17354. type: integer
  17355. goodsname:
  17356. description: 商品名称
  17357. type: string
  17358. marketid:
  17359. description: 市场ID
  17360. type: integer
  17361. marketname:
  17362. description: 市场名称
  17363. type: string
  17364. moneyticket:
  17365. description: 资金流水号:银行端流水号
  17366. type: integer
  17367. operatetype:
  17368. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  17369. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  17370. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  17371. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  17372. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  17373. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  17374. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  17375. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  17376. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  17377. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  17378. type: integer
  17379. relationorderid:
  17380. description: 关联单号
  17381. type: string
  17382. remark:
  17383. description: 备注
  17384. type: string
  17385. trademode:
  17386. description: 交易模式
  17387. type: integer
  17388. required:
  17389. - accountid
  17390. - amount
  17391. - amountadjusttype
  17392. - autoid
  17393. - balance
  17394. - createtime
  17395. - currentbalance
  17396. - operatetype
  17397. type: object
  17398. taaccount.QueryHisAmountLogRsp:
  17399. properties:
  17400. OPERATETYPENAME:
  17401. description: 资金操作类型名称
  17402. type: string
  17403. accountid:
  17404. description: 资金账户ID
  17405. type: integer
  17406. agoodscode:
  17407. description: 竞拍商品代码
  17408. type: string
  17409. agoodsname:
  17410. description: 竞拍商品名称
  17411. type: string
  17412. amount:
  17413. description: 资金金额
  17414. type: number
  17415. amountadjusttype:
  17416. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  17417. type: integer
  17418. autoid:
  17419. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  17420. type: integer
  17421. balance:
  17422. description: 期初余额
  17423. type: number
  17424. businesscode:
  17425. description: 业务编号
  17426. type: integer
  17427. createtime:
  17428. description: 发生时间
  17429. type: string
  17430. currencyid:
  17431. description: 币种ID
  17432. type: integer
  17433. currentbalance:
  17434. description: 期末余额(变动后金额)
  17435. type: number
  17436. dgoodscode:
  17437. description: 交割商品代码
  17438. type: string
  17439. dgoodsname:
  17440. description: 交割商品名称
  17441. type: string
  17442. goodscode:
  17443. description: 商品代码
  17444. type: string
  17445. goodsid:
  17446. description: 商品ID
  17447. type: integer
  17448. goodsname:
  17449. description: 商品名称
  17450. type: string
  17451. histradedate:
  17452. description: 历史交易日
  17453. type: string
  17454. isvaliddata:
  17455. description: 是否有效 - 0:无效 1:有效
  17456. type: integer
  17457. marketid:
  17458. description: 市场ID
  17459. type: integer
  17460. marketname:
  17461. description: 市场名称
  17462. type: string
  17463. moneyticket:
  17464. description: 资金流水号:银行端流水号
  17465. type: integer
  17466. operatetype:
  17467. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  17468. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  17469. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  17470. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  17471. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  17472. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  17473. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  17474. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  17475. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  17476. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  17477. type: integer
  17478. relationorderid:
  17479. description: 关联单号
  17480. type: string
  17481. remark:
  17482. description: 备注
  17483. type: string
  17484. trademode:
  17485. description: 交易模式
  17486. type: integer
  17487. required:
  17488. - accountid
  17489. - amount
  17490. - amountadjusttype
  17491. - autoid
  17492. - balance
  17493. - createtime
  17494. - currentbalance
  17495. - histradedate
  17496. - operatetype
  17497. type: object
  17498. trade.QueryRecieptOrderRsp:
  17499. properties:
  17500. accountName:
  17501. description: 所属账号名称(已脱敏)
  17502. type: string
  17503. accountid:
  17504. description: 资金账号
  17505. type: integer
  17506. buyorsell:
  17507. description: 方向 - 0:买 1:卖
  17508. type: integer
  17509. enableqty:
  17510. description: 可摘数量
  17511. type: integer
  17512. goodscode:
  17513. description: 商品代码
  17514. type: string
  17515. goodsid:
  17516. description: 商品ID
  17517. type: integer
  17518. goodsname:
  17519. description: 商品名称
  17520. type: string
  17521. orderid:
  17522. description: 委托单号
  17523. type: string
  17524. orderprice:
  17525. description: 委托价格
  17526. type: number
  17527. ordertime:
  17528. description: 委托时间
  17529. type: string
  17530. tradedate:
  17531. description: 交易日(yyyyMMdd)
  17532. type: string
  17533. required:
  17534. - ordertime
  17535. type: object
  17536. user.LoginQueryRsp:
  17537. properties:
  17538. areaRoles:
  17539. description: 所属角色信息
  17540. items:
  17541. $ref: '#/definitions/models.Arearole'
  17542. type: array
  17543. externalExchanges:
  17544. description: 外部交易所
  17545. items:
  17546. $ref: '#/definitions/models.Externalexchange'
  17547. type: array
  17548. goodsgroups:
  17549. description: 商品组
  17550. items:
  17551. $ref: '#/definitions/models.Goodsgroup'
  17552. type: array
  17553. loginAccount:
  17554. $ref: '#/definitions/models.Loginaccount'
  17555. description: 登录账号
  17556. type: object
  17557. markets:
  17558. description: 市场
  17559. items:
  17560. $ref: '#/definitions/models.Market'
  17561. type: array
  17562. systemParams:
  17563. description: 系统参数
  17564. items:
  17565. $ref: '#/definitions/models.Systemparam'
  17566. type: array
  17567. userAccount:
  17568. $ref: '#/definitions/models.Useraccount'
  17569. description: 用户账号
  17570. type: object
  17571. userInfo:
  17572. $ref: '#/definitions/models.Userinfo'
  17573. description: 用户信息
  17574. type: object
  17575. username:
  17576. description: 用户姓名
  17577. type: string
  17578. type: object
  17579. info:
  17580. contact: {}
  17581. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  17582. license: {}
  17583. termsOfService: http://www.muchinfo.cn
  17584. title: MTP2.0 查询服务 API
  17585. version: "1.0"
  17586. paths:
  17587. /CPTrade/QueryCPTradeMyBidInfos:
  17588. get:
  17589. parameters:
  17590. - description: 资金账户
  17591. in: query
  17592. name: accountid
  17593. required: true
  17594. type: integer
  17595. - description: 预售市场ID
  17596. in: query
  17597. name: marketid
  17598. type: integer
  17599. - description: 预售商品ID
  17600. in: query
  17601. name: goodsid
  17602. type: integer
  17603. produces:
  17604. - application/json
  17605. responses:
  17606. "200":
  17607. description: OK
  17608. schema:
  17609. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  17610. "500":
  17611. description: Internal Server Error
  17612. schema:
  17613. $ref: '#/definitions/app.Response'
  17614. security:
  17615. - ApiKeyAuth: []
  17616. summary: 查询产能预售我的出价信息
  17617. tags:
  17618. - 产能预售
  17619. /CPTrade/QueryCPTradeOrderDetail:
  17620. get:
  17621. parameters:
  17622. - description: 预售商品ID
  17623. in: query
  17624. name: goodsid
  17625. type: integer
  17626. - description: 预售市场ID
  17627. in: query
  17628. name: marketid
  17629. type: integer
  17630. - description: 预售商品ID列表 - 格式:1,2,3
  17631. in: query
  17632. name: goodsids
  17633. type: string
  17634. produces:
  17635. - application/json
  17636. responses:
  17637. "200":
  17638. description: OK
  17639. schema:
  17640. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  17641. "500":
  17642. description: Internal Server Error
  17643. schema:
  17644. $ref: '#/definitions/app.Response'
  17645. security:
  17646. - ApiKeyAuth: []
  17647. summary: 查询产能预售委托单信息
  17648. tags:
  17649. - 产能预售
  17650. /CPTrade/QueryMyCPTradeGoods:
  17651. get:
  17652. parameters:
  17653. - description: 资金账户
  17654. in: query
  17655. name: accountid
  17656. required: true
  17657. type: integer
  17658. produces:
  17659. - application/json
  17660. responses:
  17661. "200":
  17662. description: OK
  17663. schema:
  17664. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  17665. "500":
  17666. description: Internal Server Error
  17667. schema:
  17668. $ref: '#/definitions/app.Response'
  17669. security:
  17670. - ApiKeyAuth: []
  17671. summary: 查询我的预售信息
  17672. tags:
  17673. - 产能预售
  17674. /CPTrade/QueryPositionCancel:
  17675. get:
  17676. parameters:
  17677. - description: 账户ID
  17678. in: query
  17679. name: userid
  17680. required: true
  17681. type: integer
  17682. - description: 注销ID
  17683. in: query
  17684. name: cancelid
  17685. type: integer
  17686. - description: 资金账户ID
  17687. in: query
  17688. name: accountid
  17689. type: integer
  17690. produces:
  17691. - application/json
  17692. responses:
  17693. "200":
  17694. description: OK
  17695. schema:
  17696. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  17697. "500":
  17698. description: Internal Server Error
  17699. schema:
  17700. $ref: '#/definitions/app.Response'
  17701. security:
  17702. - ApiKeyAuth: []
  17703. summary: 查询远期订单注销申请信息
  17704. tags:
  17705. - 产能预售
  17706. /CPTrade/QueryPreasleApply:
  17707. get:
  17708. parameters:
  17709. - description: 账户ID
  17710. in: query
  17711. name: userid
  17712. required: true
  17713. type: integer
  17714. - description: 申请ID
  17715. in: query
  17716. name: applyid
  17717. type: integer
  17718. - description: 资金账户ID
  17719. in: query
  17720. name: accountid
  17721. type: integer
  17722. produces:
  17723. - application/json
  17724. responses:
  17725. "200":
  17726. description: OK
  17727. schema:
  17728. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  17729. "500":
  17730. description: Internal Server Error
  17731. schema:
  17732. $ref: '#/definitions/app.Response'
  17733. security:
  17734. - ApiKeyAuth: []
  17735. summary: 查询产能预售申请信息
  17736. tags:
  17737. - 产能预售
  17738. /CPTrade/QueryPresaleGoodsEx:
  17739. get:
  17740. parameters:
  17741. - description: 预售商品ID
  17742. in: query
  17743. name: goodsid
  17744. type: integer
  17745. - description: 预售市场ID
  17746. in: query
  17747. name: marketid
  17748. type: integer
  17749. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  17750. in: query
  17751. name: presalemode
  17752. type: integer
  17753. - description: 预售商品ID列表 - 格式:1,2,3
  17754. in: query
  17755. name: goodsids
  17756. type: string
  17757. - description: 预售商品代码
  17758. in: query
  17759. name: goodscode
  17760. type: string
  17761. produces:
  17762. - application/json
  17763. responses:
  17764. "200":
  17765. description: OK
  17766. schema:
  17767. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  17768. "500":
  17769. description: Internal Server Error
  17770. schema:
  17771. $ref: '#/definitions/app.Response'
  17772. security:
  17773. - ApiKeyAuth: []
  17774. summary: 查询产能预售商品扩展信息
  17775. tags:
  17776. - 产能预售
  17777. /CPTrade/QueryUserGoodsData:
  17778. get:
  17779. parameters:
  17780. - description: 资金账户ID
  17781. in: query
  17782. name: accountid
  17783. required: true
  17784. type: integer
  17785. produces:
  17786. - application/json
  17787. responses:
  17788. "200":
  17789. description: OK
  17790. schema:
  17791. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  17792. "500":
  17793. description: Internal Server Error
  17794. schema:
  17795. $ref: '#/definitions/app.Response'
  17796. security:
  17797. - ApiKeyAuth: []
  17798. summary: 查询远期订单信息
  17799. tags:
  17800. - 产能预售
  17801. /Common/GetAllEnums:
  17802. get:
  17803. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  17804. parameters:
  17805. - description: 起始自增ID
  17806. in: query
  17807. name: autoid
  17808. type: integer
  17809. produces:
  17810. - application/json
  17811. responses:
  17812. "200":
  17813. description: OK
  17814. schema:
  17815. $ref: '#/definitions/models.Enumdicitem'
  17816. "500":
  17817. description: Internal Server Error
  17818. schema:
  17819. $ref: '#/definitions/app.Response'
  17820. summary: 获取所有枚举信息
  17821. tags:
  17822. - 通用服务
  17823. /Common/GetClientMenus:
  17824. get:
  17825. parameters:
  17826. - description: 登录账号
  17827. in: query
  17828. name: loginID
  17829. required: true
  17830. type: integer
  17831. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  17832. in: query
  17833. name: clientType
  17834. type: integer
  17835. - description: 分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台
  17836. in: query
  17837. name: name
  17838. type: string
  17839. produces:
  17840. - application/json
  17841. responses:
  17842. "200":
  17843. description: OK
  17844. schema:
  17845. items:
  17846. $ref: '#/definitions/common.ClientMenu'
  17847. type: array
  17848. "500":
  17849. description: Internal Server Error
  17850. schema:
  17851. $ref: '#/definitions/app.Response'
  17852. security:
  17853. - ApiKeyAuth: []
  17854. summary: 获取交易端菜单
  17855. tags:
  17856. - 通用服务
  17857. /Common/GetDivisions:
  17858. get:
  17859. produces:
  17860. - application/json
  17861. responses:
  17862. "200":
  17863. description: OK
  17864. schema:
  17865. $ref: '#/definitions/models.Division'
  17866. "500":
  17867. description: Internal Server Error
  17868. schema:
  17869. $ref: '#/definitions/app.Response'
  17870. summary: 查询区域信息
  17871. tags:
  17872. - 通用服务
  17873. /Common/GetServerTime:
  17874. get:
  17875. produces:
  17876. - application/json
  17877. responses:
  17878. "200":
  17879. description: OK
  17880. schema:
  17881. $ref: '#/definitions/app.Response'
  17882. "500":
  17883. description: Internal Server Error
  17884. schema:
  17885. $ref: '#/definitions/app.Response'
  17886. summary: 获取服务器时间
  17887. tags:
  17888. - 通用服务
  17889. /Common/NoticeReaded:
  17890. post:
  17891. parameters:
  17892. - description: 登录账号
  17893. in: query
  17894. name: loginID
  17895. required: true
  17896. type: integer
  17897. - description: 通知公告ID
  17898. in: query
  17899. name: noticeID
  17900. required: true
  17901. type: integer
  17902. produces:
  17903. - application/json
  17904. responses:
  17905. "200":
  17906. description: OK
  17907. schema:
  17908. $ref: '#/definitions/app.Response'
  17909. "500":
  17910. description: Internal Server Error
  17911. schema:
  17912. $ref: '#/definitions/app.Response'
  17913. security:
  17914. - ApiKeyAuth: []
  17915. summary: 通知公告设置已读请求
  17916. tags:
  17917. - 通用服务
  17918. /Common/QueryErrorInfos:
  17919. get:
  17920. description: 如果传入rowNumber,则返回此rowNumber后的数据
  17921. parameters:
  17922. - description: 起始行号前索引
  17923. in: query
  17924. name: rowNumber
  17925. type: string
  17926. produces:
  17927. - application/json
  17928. responses:
  17929. "200":
  17930. description: OK
  17931. schema:
  17932. $ref: '#/definitions/models.QueryErrorInfosRsp'
  17933. "500":
  17934. description: Internal Server Error
  17935. schema:
  17936. $ref: '#/definitions/app.Response'
  17937. summary: 获取数据库错误信息
  17938. tags:
  17939. - 通用服务
  17940. /Common/QueryImageConfigs:
  17941. get:
  17942. parameters:
  17943. - description: 用户id
  17944. in: query
  17945. name: userId
  17946. type: integer
  17947. - description: 类型 - 1:App首页轮播 2:我的
  17948. in: query
  17949. name: imageType
  17950. type: integer
  17951. produces:
  17952. - application/json
  17953. responses:
  17954. "200":
  17955. description: OK
  17956. schema:
  17957. $ref: '#/definitions/common.QueryImageConfigsRsp'
  17958. "500":
  17959. description: Internal Server Error
  17960. schema:
  17961. $ref: '#/definitions/app.Response'
  17962. summary: 查询轮播图配置信息
  17963. tags:
  17964. - 通用服务
  17965. /Common/QueryNotice:
  17966. get:
  17967. parameters:
  17968. - description: 页码
  17969. in: query
  17970. name: page
  17971. type: integer
  17972. - description: 每页条数
  17973. in: query
  17974. name: pagesize
  17975. type: integer
  17976. - description: 登录账号
  17977. in: query
  17978. name: loginID
  17979. required: true
  17980. type: integer
  17981. - description: 消息类型 - 1:公告通知 2:系统消息
  17982. in: query
  17983. name: msgType
  17984. type: integer
  17985. - description: 是否只获取未读信息
  17986. in: query
  17987. name: onlyUnRead
  17988. type: boolean
  17989. - description: 自增ID,传入后会返回这个ID后面的记录
  17990. in: query
  17991. name: lastID
  17992. type: integer
  17993. produces:
  17994. - application/json
  17995. responses:
  17996. "200":
  17997. description: OK
  17998. schema:
  17999. $ref: '#/definitions/common.QueryNoticeRsp'
  18000. "500":
  18001. description: Internal Server Error
  18002. schema:
  18003. $ref: '#/definitions/app.Response'
  18004. security:
  18005. - ApiKeyAuth: []
  18006. summary: 通知公告系统消息查询
  18007. tags:
  18008. - 通用服务
  18009. /Common/QueryProvincesAndCities:
  18010. get:
  18011. parameters:
  18012. - description: 省ID
  18013. in: query
  18014. name: provinceID
  18015. type: integer
  18016. produces:
  18017. - application/json
  18018. responses:
  18019. "200":
  18020. description: OK
  18021. schema:
  18022. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  18023. "500":
  18024. description: Internal Server Error
  18025. schema:
  18026. $ref: '#/definitions/app.Response'
  18027. summary: 查询省市信息(不包括区)
  18028. tags:
  18029. - 通用服务
  18030. /Common/QueryTableDefine:
  18031. get:
  18032. parameters:
  18033. - description: 表key
  18034. in: query
  18035. name: tableKey
  18036. type: string
  18037. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  18038. in: query
  18039. name: tableType
  18040. type: integer
  18041. produces:
  18042. - application/json
  18043. responses:
  18044. "200":
  18045. description: OK
  18046. schema:
  18047. $ref: '#/definitions/common.QueryTableDefineRsp'
  18048. "500":
  18049. description: Internal Server Error
  18050. schema:
  18051. $ref: '#/definitions/app.Response'
  18052. summary: 查询交易端列表头信息
  18053. tags:
  18054. - 通用服务
  18055. /Common/QueryTraderMenu:
  18056. get:
  18057. parameters:
  18058. - description: 登录账号
  18059. in: query
  18060. name: loginid
  18061. required: true
  18062. type: integer
  18063. produces:
  18064. - application/json
  18065. responses:
  18066. "200":
  18067. description: OK
  18068. schema:
  18069. $ref: '#/definitions/common.QueryTraderMenuRsp'
  18070. "500":
  18071. description: Internal Server Error
  18072. schema:
  18073. $ref: '#/definitions/app.Response'
  18074. summary: 查询交易端菜单
  18075. tags:
  18076. - 通用服务
  18077. /Delivery/QueryDeliveryRelation:
  18078. get:
  18079. parameters:
  18080. - description: 商品ID
  18081. in: query
  18082. name: goodsid
  18083. type: integer
  18084. - description: 品种ID
  18085. in: query
  18086. name: deliverygoodsid
  18087. type: integer
  18088. - description: 市场ID
  18089. in: query
  18090. name: marketid
  18091. type: integer
  18092. produces:
  18093. - application/json
  18094. responses:
  18095. "200":
  18096. description: OK
  18097. schema:
  18098. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  18099. "500":
  18100. description: Internal Server Error
  18101. schema:
  18102. $ref: '#/definitions/app.Response'
  18103. security:
  18104. - ApiKeyAuth: []
  18105. summary: 查询商品交割关系表
  18106. tags:
  18107. - 交割服务
  18108. /Ermcp/GetErmcpGoods:
  18109. get:
  18110. parameters:
  18111. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  18112. in: query
  18113. name: lastUpdateTime
  18114. type: string
  18115. produces:
  18116. - application/json
  18117. responses:
  18118. "200":
  18119. description: OK
  18120. schema:
  18121. $ref: '#/definitions/models.ErmcpGoods'
  18122. "500":
  18123. description: Internal Server Error
  18124. schema:
  18125. $ref: '#/definitions/app.Response'
  18126. security:
  18127. - ApiKeyAuth: []
  18128. summary: 查询企业风管期货商品信息
  18129. tags:
  18130. - 企业风险管理(app)
  18131. /Ermcp/GetErmcpGoodsSortByPosition:
  18132. get:
  18133. parameters:
  18134. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  18135. in: query
  18136. name: sortIndex
  18137. type: string
  18138. produces:
  18139. - application/json
  18140. responses:
  18141. "200":
  18142. description: OK
  18143. schema:
  18144. $ref: '#/definitions/models.Goodssortbypreposition'
  18145. "500":
  18146. description: Internal Server Error
  18147. schema:
  18148. $ref: '#/definitions/app.Response'
  18149. security:
  18150. - ApiKeyAuth: []
  18151. summary: 查询企业风管期货主力、次主力商品信息
  18152. tags:
  18153. - 企业风险管理(app)
  18154. /Ermcp/GetErmcpOutAccountStatus:
  18155. get:
  18156. parameters:
  18157. - description: 登录账号
  18158. in: query
  18159. name: loginID
  18160. required: true
  18161. type: integer
  18162. produces:
  18163. - application/json
  18164. responses:
  18165. "200":
  18166. description: OK
  18167. schema:
  18168. $ref: '#/definitions/models.Hedgemarketopenlog'
  18169. "500":
  18170. description: Internal Server Error
  18171. schema:
  18172. $ref: '#/definitions/app.Response'
  18173. security:
  18174. - ApiKeyAuth: []
  18175. summary: 获取目标登录账号当前对冲账号在线状态
  18176. tags:
  18177. - 企业风险管理(app)
  18178. /Ermcp/GetErmcpRoleFuncMenuLists:
  18179. get:
  18180. parameters:
  18181. - description: 登录账号
  18182. in: query
  18183. name: loginID
  18184. required: true
  18185. type: integer
  18186. produces:
  18187. - application/json
  18188. responses:
  18189. "200":
  18190. description: OK
  18191. schema:
  18192. $ref: '#/definitions/models.Funcmenulist'
  18193. "500":
  18194. description: Internal Server Error
  18195. schema:
  18196. $ref: '#/definitions/app.Response'
  18197. security:
  18198. - ApiKeyAuth: []
  18199. summary: 获取企业风管终端权限
  18200. tags:
  18201. - 企业风险管理(app)
  18202. /Ermcp/QueryAccMgrBizGroupSet:
  18203. get:
  18204. parameters:
  18205. - description: 用户ID
  18206. in: query
  18207. name: userid
  18208. required: true
  18209. type: integer
  18210. - description: 现货商品id
  18211. in: query
  18212. name: deliverygoodsid
  18213. type: integer
  18214. produces:
  18215. - application/json
  18216. responses:
  18217. "200":
  18218. description: OK
  18219. schema:
  18220. items:
  18221. $ref: '#/definitions/models.ErmcpBizGroupEx'
  18222. type: array
  18223. "500":
  18224. description: Internal Server Error
  18225. schema:
  18226. $ref: '#/definitions/app.Response'
  18227. security:
  18228. - ApiKeyAuth: []
  18229. summary: 查询业务类型分组(账户管理/账户设置)
  18230. tags:
  18231. - 企业风险管理(app)
  18232. /Ermcp/QueryAccMgrLoginUser:
  18233. get:
  18234. parameters:
  18235. - description: 用户ID
  18236. in: query
  18237. name: userid
  18238. required: true
  18239. type: integer
  18240. - description: 用户类型 2-机构 7-企业成员
  18241. in: query
  18242. name: usertype
  18243. type: integer
  18244. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  18245. in: query
  18246. name: querytype
  18247. required: true
  18248. type: integer
  18249. produces:
  18250. - application/json
  18251. responses:
  18252. "200":
  18253. description: OK
  18254. schema:
  18255. items:
  18256. $ref: '#/definitions/models.ErmcpLoginUserEx'
  18257. type: array
  18258. "500":
  18259. description: Internal Server Error
  18260. schema:
  18261. $ref: '#/definitions/app.Response'
  18262. security:
  18263. - ApiKeyAuth: []
  18264. summary: 查询账户管理登录账号(账户管理/登录账号)
  18265. tags:
  18266. - 企业风险管理(app)
  18267. /Ermcp/QueryAccMgrMainAccountInfo:
  18268. get:
  18269. parameters:
  18270. - description: 用户ID
  18271. in: query
  18272. name: userid
  18273. type: integer
  18274. - description: 主账号id
  18275. in: query
  18276. name: accountid
  18277. type: integer
  18278. produces:
  18279. - application/json
  18280. responses:
  18281. "200":
  18282. description: OK
  18283. schema:
  18284. items:
  18285. $ref: '#/definitions/models.MainAccountInfo'
  18286. type: array
  18287. "500":
  18288. description: Internal Server Error
  18289. schema:
  18290. $ref: '#/definitions/app.Response'
  18291. security:
  18292. - ApiKeyAuth: []
  18293. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  18294. tags:
  18295. - 企业风险管理(app)
  18296. /Ermcp/QueryAccMgrRole:
  18297. get:
  18298. parameters:
  18299. - description: 用户ID
  18300. in: query
  18301. name: userid
  18302. required: true
  18303. type: integer
  18304. produces:
  18305. - application/json
  18306. responses:
  18307. "200":
  18308. description: OK
  18309. schema:
  18310. items:
  18311. $ref: '#/definitions/models.ErmcpRole'
  18312. type: array
  18313. "500":
  18314. description: Internal Server Error
  18315. schema:
  18316. $ref: '#/definitions/app.Response'
  18317. security:
  18318. - ApiKeyAuth: []
  18319. summary: 查询账户管理角色设置(账户管理/角色设置)
  18320. tags:
  18321. - 企业风险管理(app)
  18322. /Ermcp/QueryAccMgrRoleMenu:
  18323. get:
  18324. parameters:
  18325. - description: 用户ID
  18326. in: query
  18327. name: userid
  18328. required: true
  18329. type: integer
  18330. - description: 角色id(可多个,逗号隔开)
  18331. in: query
  18332. name: roleid
  18333. type: string
  18334. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  18335. in: query
  18336. name: menutype
  18337. type: integer
  18338. produces:
  18339. - application/json
  18340. responses:
  18341. "200":
  18342. description: OK
  18343. schema:
  18344. items:
  18345. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  18346. type: array
  18347. "500":
  18348. description: Internal Server Error
  18349. schema:
  18350. $ref: '#/definitions/app.Response'
  18351. security:
  18352. - ApiKeyAuth: []
  18353. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  18354. tags:
  18355. - 企业风险管理(app)
  18356. /Ermcp/QueryAccMgrTaAccountInfo:
  18357. get:
  18358. parameters:
  18359. - description: 用户ID
  18360. in: query
  18361. name: userid
  18362. required: true
  18363. type: integer
  18364. - description: 账号id
  18365. in: query
  18366. name: accountid
  18367. type: integer
  18368. produces:
  18369. - application/json
  18370. responses:
  18371. "200":
  18372. description: OK
  18373. schema:
  18374. items:
  18375. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  18376. type: array
  18377. "500":
  18378. description: Internal Server Error
  18379. schema:
  18380. $ref: '#/definitions/app.Response'
  18381. security:
  18382. - ApiKeyAuth: []
  18383. summary: 查询账户管理授信(账户管理/账户设置/授信)
  18384. tags:
  18385. - 企业风险管理(app)
  18386. /Ermcp/QueryAccMgrTaaccount:
  18387. get:
  18388. parameters:
  18389. - description: 用户ID
  18390. in: query
  18391. name: userid
  18392. required: true
  18393. type: integer
  18394. produces:
  18395. - application/json
  18396. responses:
  18397. "200":
  18398. description: OK
  18399. schema:
  18400. items:
  18401. $ref: '#/definitions/models.ErmcpTaAccountEx'
  18402. type: array
  18403. "500":
  18404. description: Internal Server Error
  18405. schema:
  18406. $ref: '#/definitions/app.Response'
  18407. security:
  18408. - ApiKeyAuth: []
  18409. summary: 查询账户管理期货账号(账户管理/期货账号)
  18410. tags:
  18411. - 企业风险管理(app)
  18412. /Ermcp/QueryAvaildGoodsGroup:
  18413. get:
  18414. parameters:
  18415. - description: 所属机构ID
  18416. in: query
  18417. name: userid
  18418. required: true
  18419. type: integer
  18420. produces:
  18421. - application/json
  18422. responses:
  18423. "200":
  18424. description: OK
  18425. schema:
  18426. items:
  18427. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  18428. type: array
  18429. "500":
  18430. description: Internal Server Error
  18431. schema:
  18432. $ref: '#/definitions/app.Response'
  18433. security:
  18434. - ApiKeyAuth: []
  18435. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  18436. tags:
  18437. - 企业风险管理(app)
  18438. /Ermcp/QueryBusinessDj:
  18439. get:
  18440. parameters:
  18441. - description: 用户ID
  18442. in: query
  18443. name: UserId
  18444. required: true
  18445. type: integer
  18446. - description: 用户类型 2-机构 7-企业成员
  18447. in: query
  18448. name: usertype
  18449. type: integer
  18450. - description: 现货合同ID, 不填则查所有
  18451. in: query
  18452. name: relatedid
  18453. type: string
  18454. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18455. in: query
  18456. name: applystatus
  18457. type: string
  18458. produces:
  18459. - application/json
  18460. responses:
  18461. "200":
  18462. description: OK
  18463. schema:
  18464. items:
  18465. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  18466. type: array
  18467. "500":
  18468. description: Internal Server Error
  18469. schema:
  18470. $ref: '#/definitions/app.Response'
  18471. security:
  18472. - ApiKeyAuth: []
  18473. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  18474. tags:
  18475. - 企业风险管理(app)
  18476. /Ermcp/QueryBusinessFp:
  18477. get:
  18478. parameters:
  18479. - description: 用户ID
  18480. in: query
  18481. name: UserId
  18482. required: true
  18483. type: integer
  18484. - description: 用户类型 2-机构 7-企业成员
  18485. in: query
  18486. name: usertype
  18487. type: integer
  18488. - description: 现货合同ID, 不填则查所有
  18489. in: query
  18490. name: relatedid
  18491. type: string
  18492. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18493. in: query
  18494. name: applystatus
  18495. type: string
  18496. produces:
  18497. - application/json
  18498. responses:
  18499. "200":
  18500. description: OK
  18501. schema:
  18502. items:
  18503. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  18504. type: array
  18505. "500":
  18506. description: Internal Server Error
  18507. schema:
  18508. $ref: '#/definitions/app.Response'
  18509. security:
  18510. - ApiKeyAuth: []
  18511. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  18512. tags:
  18513. - 企业风险管理(app)
  18514. /Ermcp/QueryBusinessJs:
  18515. get:
  18516. parameters:
  18517. - description: 用户ID
  18518. in: query
  18519. name: UserId
  18520. required: true
  18521. type: integer
  18522. - description: 用户类型 2-机构 7-企业成员
  18523. in: query
  18524. name: usertype
  18525. type: integer
  18526. - description: 现货合同ID, 不填则查所有
  18527. in: query
  18528. name: relatedid
  18529. type: string
  18530. - description: 操作申请id
  18531. in: query
  18532. name: operateapplyid
  18533. type: string
  18534. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18535. in: query
  18536. name: applystatus
  18537. type: string
  18538. produces:
  18539. - application/json
  18540. responses:
  18541. "200":
  18542. description: OK
  18543. schema:
  18544. items:
  18545. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  18546. type: array
  18547. "500":
  18548. description: Internal Server Error
  18549. schema:
  18550. $ref: '#/definitions/app.Response'
  18551. security:
  18552. - ApiKeyAuth: []
  18553. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  18554. tags:
  18555. - 企业风险管理(app)
  18556. /Ermcp/QueryBusinessJsEx:
  18557. get:
  18558. parameters:
  18559. - description: 用户ID
  18560. in: query
  18561. name: UserId
  18562. required: true
  18563. type: integer
  18564. - description: 用户类型 2-机构 7-企业成员
  18565. in: query
  18566. name: usertype
  18567. type: integer
  18568. - description: 现货合同ID, 不填则查所有
  18569. in: query
  18570. name: relatedid
  18571. type: string
  18572. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18573. in: query
  18574. name: applystatus
  18575. type: string
  18576. produces:
  18577. - application/json
  18578. responses:
  18579. "200":
  18580. description: OK
  18581. schema:
  18582. items:
  18583. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  18584. type: array
  18585. "500":
  18586. description: Internal Server Error
  18587. schema:
  18588. $ref: '#/definitions/app.Response'
  18589. security:
  18590. - ApiKeyAuth: []
  18591. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  18592. tags:
  18593. - 企业风险管理(app)
  18594. /Ermcp/QueryBusinessKx:
  18595. get:
  18596. parameters:
  18597. - description: 用户ID
  18598. in: query
  18599. name: UserId
  18600. required: true
  18601. type: integer
  18602. - description: 用户类型 2-机构 7-企业成员
  18603. in: query
  18604. name: usertype
  18605. type: integer
  18606. - description: 现货合同ID, 不填则查所有
  18607. in: query
  18608. name: relatedid
  18609. type: string
  18610. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18611. in: query
  18612. name: applystatus
  18613. type: string
  18614. produces:
  18615. - application/json
  18616. responses:
  18617. "200":
  18618. description: OK
  18619. schema:
  18620. items:
  18621. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  18622. type: array
  18623. "500":
  18624. description: Internal Server Error
  18625. schema:
  18626. $ref: '#/definitions/app.Response'
  18627. security:
  18628. - ApiKeyAuth: []
  18629. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  18630. tags:
  18631. - 企业风险管理(app)
  18632. /Ermcp/QueryChangeLog:
  18633. get:
  18634. parameters:
  18635. - description: 合同ID
  18636. in: query
  18637. name: RelatedId
  18638. required: true
  18639. type: string
  18640. produces:
  18641. - application/json
  18642. responses:
  18643. "200":
  18644. description: OK
  18645. schema:
  18646. items:
  18647. $ref: '#/definitions/ermcp.QryOPLogRsp'
  18648. type: array
  18649. "500":
  18650. description: Internal Server Error
  18651. schema:
  18652. $ref: '#/definitions/app.Response'
  18653. security:
  18654. - ApiKeyAuth: []
  18655. summary: 查询变更记录
  18656. tags:
  18657. - 企业风险管理(app)
  18658. /Ermcp/QueryErmcpHisOrderDetails:
  18659. get:
  18660. parameters:
  18661. - description: 资金账户ID
  18662. in: query
  18663. name: accountID
  18664. required: true
  18665. type: integer
  18666. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18667. in: query
  18668. name: startDate
  18669. type: string
  18670. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18671. in: query
  18672. name: endDate
  18673. type: string
  18674. produces:
  18675. - application/json
  18676. responses:
  18677. "200":
  18678. description: OK
  18679. schema:
  18680. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  18681. "500":
  18682. description: Internal Server Error
  18683. schema:
  18684. $ref: '#/definitions/app.Response'
  18685. security:
  18686. - ApiKeyAuth: []
  18687. summary: 获取企业风管期货历史委托单信息
  18688. tags:
  18689. - 企业风险管理(app)
  18690. /Ermcp/QueryErmcpHisTradeDetails:
  18691. get:
  18692. parameters:
  18693. - description: 资金账户ID
  18694. in: query
  18695. name: accountID
  18696. required: true
  18697. type: integer
  18698. - description: 商品ID
  18699. in: query
  18700. name: goodsID
  18701. type: integer
  18702. - description: 买卖方向,0:买 1:卖
  18703. in: query
  18704. name: buyOrSell
  18705. type: integer
  18706. - description: 关联委托单号
  18707. in: query
  18708. name: orderID
  18709. type: integer
  18710. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18711. in: query
  18712. name: startDate
  18713. type: string
  18714. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18715. in: query
  18716. name: endDate
  18717. type: string
  18718. produces:
  18719. - application/json
  18720. responses:
  18721. "200":
  18722. description: OK
  18723. schema:
  18724. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  18725. "500":
  18726. description: Internal Server Error
  18727. schema:
  18728. $ref: '#/definitions/app.Response'
  18729. security:
  18730. - ApiKeyAuth: []
  18731. summary: 获取企业风管期货历史成交单信息
  18732. tags:
  18733. - 企业风险管理(app)
  18734. /Ermcp/QueryErmcpInnerHolderDetails:
  18735. get:
  18736. parameters:
  18737. - description: 资金账户ID
  18738. in: query
  18739. name: accountID
  18740. required: true
  18741. type: integer
  18742. - description: 商品ID
  18743. in: query
  18744. name: goodsID
  18745. type: integer
  18746. - description: 买卖方向,0:买 1:卖
  18747. in: query
  18748. name: buyOrSell
  18749. type: integer
  18750. produces:
  18751. - application/json
  18752. responses:
  18753. "200":
  18754. description: OK
  18755. schema:
  18756. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  18757. "500":
  18758. description: Internal Server Error
  18759. schema:
  18760. $ref: '#/definitions/app.Response'
  18761. security:
  18762. - ApiKeyAuth: []
  18763. summary: 获取企业风管期货内部持仓单信息
  18764. tags:
  18765. - 企业风险管理(app)
  18766. /Ermcp/QueryErmcpOrderDetails:
  18767. get:
  18768. parameters:
  18769. - description: 资金账户ID
  18770. in: query
  18771. name: accountID
  18772. required: true
  18773. type: integer
  18774. produces:
  18775. - application/json
  18776. responses:
  18777. "200":
  18778. description: OK
  18779. schema:
  18780. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  18781. "500":
  18782. description: Internal Server Error
  18783. schema:
  18784. $ref: '#/definitions/app.Response'
  18785. security:
  18786. - ApiKeyAuth: []
  18787. summary: 获取企业风管期货委托单信息
  18788. tags:
  18789. - 企业风险管理(app)
  18790. /Ermcp/QueryErmcpTradeDetails:
  18791. get:
  18792. parameters:
  18793. - description: 资金账户ID
  18794. in: query
  18795. name: accountID
  18796. required: true
  18797. type: integer
  18798. - description: 商品ID
  18799. in: query
  18800. name: goodsID
  18801. type: integer
  18802. - description: 买卖方向,0:买 1:卖
  18803. in: query
  18804. name: buyOrSell
  18805. type: integer
  18806. - description: 关联委托单号
  18807. in: query
  18808. name: orderID
  18809. type: integer
  18810. produces:
  18811. - application/json
  18812. responses:
  18813. "200":
  18814. description: OK
  18815. schema:
  18816. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  18817. "500":
  18818. description: Internal Server Error
  18819. schema:
  18820. $ref: '#/definitions/app.Response'
  18821. security:
  18822. - ApiKeyAuth: []
  18823. summary: 获取企业风管期货成交单信息
  18824. tags:
  18825. - 企业风险管理(app)
  18826. /Ermcp/QueryErmcpTradePosition:
  18827. get:
  18828. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  18829. parameters:
  18830. - description: 资金账户ID
  18831. in: query
  18832. name: accountID
  18833. required: true
  18834. type: integer
  18835. - description: 所属市场ID
  18836. in: query
  18837. name: marketID
  18838. type: integer
  18839. produces:
  18840. - application/json
  18841. responses:
  18842. "200":
  18843. description: OK
  18844. schema:
  18845. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  18846. "500":
  18847. description: Internal Server Error
  18848. schema:
  18849. $ref: '#/definitions/app.Response'
  18850. security:
  18851. - ApiKeyAuth: []
  18852. summary: 获取企业风管期货持仓头寸信息
  18853. tags:
  18854. - 企业风险管理(app)
  18855. /Ermcp/QueryExposureDetail:
  18856. get:
  18857. parameters:
  18858. - description: 所属机构ID
  18859. in: query
  18860. name: areaUserId
  18861. required: true
  18862. type: integer
  18863. - description: 套保商品
  18864. in: query
  18865. name: middleGoodsId
  18866. required: true
  18867. type: integer
  18868. produces:
  18869. - application/json
  18870. responses:
  18871. "200":
  18872. description: OK
  18873. schema:
  18874. items:
  18875. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  18876. type: array
  18877. "500":
  18878. description: Internal Server Error
  18879. schema:
  18880. $ref: '#/definitions/app.Response'
  18881. security:
  18882. - ApiKeyAuth: []
  18883. summary: 查询敞口现货明细
  18884. tags:
  18885. - 企业风险管理(app)
  18886. /Ermcp/QueryExposureGoods:
  18887. get:
  18888. parameters:
  18889. - description: 套保商品id
  18890. in: query
  18891. name: middlegoodsid
  18892. required: true
  18893. type: integer
  18894. produces:
  18895. - application/json
  18896. responses:
  18897. "200":
  18898. description: OK
  18899. schema:
  18900. items:
  18901. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  18902. type: array
  18903. "500":
  18904. description: Internal Server Error
  18905. schema:
  18906. $ref: '#/definitions/app.Response'
  18907. security:
  18908. - ApiKeyAuth: []
  18909. summary: 查询敞口主力合约
  18910. tags:
  18911. - 企业风险管理(app)
  18912. /Ermcp/QueryExposureHedgePosition:
  18913. get:
  18914. parameters:
  18915. - description: 用户id
  18916. in: query
  18917. name: userid
  18918. required: true
  18919. type: integer
  18920. produces:
  18921. - application/json
  18922. responses:
  18923. "200":
  18924. description: OK
  18925. schema:
  18926. items:
  18927. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  18928. type: array
  18929. "500":
  18930. description: Internal Server Error
  18931. schema:
  18932. $ref: '#/definitions/app.Response'
  18933. security:
  18934. - ApiKeyAuth: []
  18935. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  18936. tags:
  18937. - 企业风险管理(app)
  18938. /Ermcp/QueryExposureHedgePositionDetail:
  18939. get:
  18940. parameters:
  18941. - description: 所属机构ID
  18942. in: query
  18943. name: userid
  18944. required: true
  18945. type: integer
  18946. - description: 商品id
  18947. in: query
  18948. name: goodsId
  18949. required: true
  18950. type: integer
  18951. produces:
  18952. - application/json
  18953. responses:
  18954. "200":
  18955. description: OK
  18956. schema:
  18957. items:
  18958. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  18959. type: array
  18960. "500":
  18961. description: Internal Server Error
  18962. schema:
  18963. $ref: '#/definitions/app.Response'
  18964. security:
  18965. - ApiKeyAuth: []
  18966. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  18967. tags:
  18968. - 企业风险管理(app)
  18969. /Ermcp/QueryExposureSpot:
  18970. get:
  18971. parameters:
  18972. - description: 所属机构ID
  18973. in: query
  18974. name: areaUserId
  18975. required: true
  18976. type: integer
  18977. produces:
  18978. - application/json
  18979. responses:
  18980. "200":
  18981. description: OK
  18982. schema:
  18983. items:
  18984. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  18985. type: array
  18986. "500":
  18987. description: Internal Server Error
  18988. schema:
  18989. $ref: '#/definitions/app.Response'
  18990. security:
  18991. - ApiKeyAuth: []
  18992. summary: 查询敞口现货头寸(敞口/现货头寸)
  18993. tags:
  18994. - 企业风险管理(app)
  18995. /Ermcp/QueryExposureSpotDetail:
  18996. get:
  18997. parameters:
  18998. - description: 所属机构ID
  18999. in: query
  19000. name: areaUserId
  19001. required: true
  19002. type: integer
  19003. - description: 现货品种ID
  19004. in: query
  19005. name: wrstandardId
  19006. required: true
  19007. type: integer
  19008. produces:
  19009. - application/json
  19010. responses:
  19011. "200":
  19012. description: OK
  19013. schema:
  19014. items:
  19015. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  19016. type: array
  19017. "500":
  19018. description: Internal Server Error
  19019. schema:
  19020. $ref: '#/definitions/app.Response'
  19021. security:
  19022. - ApiKeyAuth: []
  19023. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  19024. tags:
  19025. - 企业风险管理(app)
  19026. /Ermcp/QueryFuturesCompany:
  19027. get:
  19028. produces:
  19029. - application/json
  19030. responses:
  19031. "200":
  19032. description: OK
  19033. schema:
  19034. items:
  19035. $ref: '#/definitions/models.ErmcpFuturesCompany'
  19036. type: array
  19037. "500":
  19038. description: Internal Server Error
  19039. schema:
  19040. $ref: '#/definitions/app.Response'
  19041. security:
  19042. - ApiKeyAuth: []
  19043. summary: 查询期货公司
  19044. tags:
  19045. - 企业风险管理(app)
  19046. /Ermcp/QueryGGConvertConfig:
  19047. get:
  19048. parameters:
  19049. - description: 品种id(不填则查所有)
  19050. in: query
  19051. name: goodsgroupid
  19052. type: integer
  19053. produces:
  19054. - application/json
  19055. responses:
  19056. "200":
  19057. description: OK
  19058. schema:
  19059. items:
  19060. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  19061. type: array
  19062. "500":
  19063. description: Internal Server Error
  19064. schema:
  19065. $ref: '#/definitions/app.Response'
  19066. security:
  19067. - ApiKeyAuth: []
  19068. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  19069. tags:
  19070. - 企业风险管理(app)
  19071. /Ermcp/QueryGoodsBrand:
  19072. get:
  19073. parameters:
  19074. - description: 用户ID
  19075. in: query
  19076. name: userid
  19077. required: true
  19078. type: integer
  19079. - description: 现货商品ID
  19080. in: query
  19081. name: wrstandardid
  19082. type: integer
  19083. produces:
  19084. - application/json
  19085. responses:
  19086. "200":
  19087. description: OK
  19088. schema:
  19089. items:
  19090. $ref: '#/definitions/models.ErmcpGoodsBrand'
  19091. type: array
  19092. "500":
  19093. description: Internal Server Error
  19094. schema:
  19095. $ref: '#/definitions/app.Response'
  19096. security:
  19097. - ApiKeyAuth: []
  19098. summary: 查询商品品牌
  19099. tags:
  19100. - 企业风险管理(app)
  19101. /Ermcp/QueryGoodsModel:
  19102. get:
  19103. parameters:
  19104. - description: 用户ID
  19105. in: query
  19106. name: userid
  19107. required: true
  19108. type: integer
  19109. produces:
  19110. - application/json
  19111. responses:
  19112. "200":
  19113. description: OK
  19114. schema:
  19115. items:
  19116. $ref: '#/definitions/models.ErmcpGoodsModel'
  19117. type: array
  19118. "500":
  19119. description: Internal Server Error
  19120. schema:
  19121. $ref: '#/definitions/app.Response'
  19122. security:
  19123. - ApiKeyAuth: []
  19124. summary: 查询商品型号
  19125. tags:
  19126. - 企业风险管理(app)
  19127. /Ermcp/QueryHisExposure:
  19128. get:
  19129. parameters:
  19130. - description: 用户id
  19131. in: query
  19132. name: userid
  19133. required: true
  19134. type: integer
  19135. - description: 每个品种记录数
  19136. in: query
  19137. name: lastNum
  19138. required: true
  19139. type: integer
  19140. produces:
  19141. - application/json
  19142. responses:
  19143. "200":
  19144. description: OK
  19145. schema:
  19146. items:
  19147. $ref: '#/definitions/ermcp.HisExposureRsp'
  19148. type: array
  19149. "500":
  19150. description: Internal Server Error
  19151. schema:
  19152. $ref: '#/definitions/app.Response'
  19153. security:
  19154. - ApiKeyAuth: []
  19155. summary: 查询历史敞口(菜单:敞口/历史敞口)
  19156. tags:
  19157. - 企业风险管理(app)
  19158. /Ermcp/QueryMiddleGoods:
  19159. get:
  19160. parameters:
  19161. - description: 所属机构ID
  19162. in: query
  19163. name: userid
  19164. required: true
  19165. type: integer
  19166. - description: 状态 0-停用 1-正常
  19167. in: query
  19168. name: status
  19169. required: true
  19170. type: integer
  19171. produces:
  19172. - application/json
  19173. responses:
  19174. "200":
  19175. description: OK
  19176. schema:
  19177. items:
  19178. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  19179. type: array
  19180. "500":
  19181. description: Internal Server Error
  19182. schema:
  19183. $ref: '#/definitions/app.Response'
  19184. security:
  19185. - ApiKeyAuth: []
  19186. summary: 查询套保品种(菜单:套保品种)
  19187. tags:
  19188. - 企业风险管理(app)
  19189. /Ermcp/QueryMiddleGoodsChangeLog:
  19190. get:
  19191. parameters:
  19192. - description: 所属机构ID
  19193. in: query
  19194. name: userid
  19195. required: true
  19196. type: integer
  19197. - description: 套保品种id
  19198. in: query
  19199. name: middlegoodsid
  19200. required: true
  19201. type: integer
  19202. produces:
  19203. - application/json
  19204. responses:
  19205. "200":
  19206. description: OK
  19207. schema:
  19208. items:
  19209. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  19210. type: array
  19211. "500":
  19212. description: Internal Server Error
  19213. schema:
  19214. $ref: '#/definitions/app.Response'
  19215. security:
  19216. - ApiKeyAuth: []
  19217. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  19218. tags:
  19219. - 企业风险管理(app)
  19220. /Ermcp/QueryMiddleGoodsDetail:
  19221. get:
  19222. parameters:
  19223. - description: 所属机构ID
  19224. in: query
  19225. name: userid
  19226. required: true
  19227. type: integer
  19228. - description: 套保品种id
  19229. in: query
  19230. name: middlegoodsid
  19231. type: integer
  19232. produces:
  19233. - application/json
  19234. responses:
  19235. "200":
  19236. description: OK
  19237. schema:
  19238. items:
  19239. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  19240. type: array
  19241. "500":
  19242. description: Internal Server Error
  19243. schema:
  19244. $ref: '#/definitions/app.Response'
  19245. security:
  19246. - ApiKeyAuth: []
  19247. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  19248. tags:
  19249. - 企业风险管理(app)
  19250. /Ermcp/QueryPendingAuditInfo:
  19251. get:
  19252. parameters:
  19253. - description: 用户ID
  19254. in: query
  19255. name: UserId
  19256. required: true
  19257. type: integer
  19258. produces:
  19259. - application/json
  19260. responses:
  19261. "200":
  19262. description: OK
  19263. schema:
  19264. items:
  19265. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  19266. type: array
  19267. "500":
  19268. description: Internal Server Error
  19269. schema:
  19270. $ref: '#/definitions/app.Response'
  19271. security:
  19272. - ApiKeyAuth: []
  19273. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  19274. tags:
  19275. - 企业风险管理(app)
  19276. /Ermcp/QueryRealtimeExposure:
  19277. get:
  19278. parameters:
  19279. - description: 所属机构ID
  19280. in: query
  19281. name: userid
  19282. required: true
  19283. type: integer
  19284. produces:
  19285. - application/json
  19286. responses:
  19287. "200":
  19288. description: OK
  19289. schema:
  19290. items:
  19291. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  19292. type: array
  19293. "500":
  19294. description: Internal Server Error
  19295. schema:
  19296. $ref: '#/definitions/app.Response'
  19297. security:
  19298. - ApiKeyAuth: []
  19299. summary: 查询实时敞口
  19300. tags:
  19301. - 企业风险管理(app)
  19302. /Ermcp/QueryRealtimeExposurePosition:
  19303. get:
  19304. parameters:
  19305. - description: 用户id
  19306. in: query
  19307. name: userid
  19308. required: true
  19309. type: integer
  19310. - description: 套保商品ID
  19311. in: query
  19312. name: middleGoodsId
  19313. required: true
  19314. type: integer
  19315. produces:
  19316. - application/json
  19317. responses:
  19318. "200":
  19319. description: OK
  19320. schema:
  19321. items:
  19322. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  19323. type: array
  19324. "500":
  19325. description: Internal Server Error
  19326. schema:
  19327. $ref: '#/definitions/app.Response'
  19328. security:
  19329. - ApiKeyAuth: []
  19330. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  19331. tags:
  19332. - 企业风险管理(app)
  19333. /Ermcp/QueryRoleMenu:
  19334. get:
  19335. parameters:
  19336. - description: 登录ID
  19337. in: query
  19338. name: loginid
  19339. required: true
  19340. type: integer
  19341. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  19342. in: query
  19343. name: menutype
  19344. type: integer
  19345. produces:
  19346. - application/json
  19347. responses:
  19348. "200":
  19349. description: OK
  19350. schema:
  19351. items:
  19352. $ref: '#/definitions/models.RoleMenu'
  19353. type: array
  19354. "500":
  19355. description: Internal Server Error
  19356. schema:
  19357. $ref: '#/definitions/app.Response'
  19358. security:
  19359. - ApiKeyAuth: []
  19360. summary: 查询角色菜单和权限
  19361. tags:
  19362. - 企业风险管理(app)
  19363. /Ermcp/QueryTradeConfigTMP:
  19364. get:
  19365. parameters:
  19366. - description: 所属机构id
  19367. in: query
  19368. name: areauserid
  19369. type: integer
  19370. produces:
  19371. - application/json
  19372. responses:
  19373. "200":
  19374. description: OK
  19375. schema:
  19376. items:
  19377. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  19378. type: array
  19379. "500":
  19380. description: Internal Server Error
  19381. schema:
  19382. $ref: '#/definitions/app.Response'
  19383. security:
  19384. - ApiKeyAuth: []
  19385. summary: 查询交易模板配置
  19386. tags:
  19387. - 企业风险管理(app)
  19388. /Ermcp/QueryUserInfo:
  19389. get:
  19390. parameters:
  19391. - description: 所属机构用户ID
  19392. in: query
  19393. name: MemberUserID
  19394. required: true
  19395. type: integer
  19396. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  19397. in: query
  19398. name: queryType
  19399. required: true
  19400. type: integer
  19401. produces:
  19402. - application/json
  19403. responses:
  19404. "200":
  19405. description: OK
  19406. schema:
  19407. items:
  19408. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  19409. type: array
  19410. "500":
  19411. description: Internal Server Error
  19412. schema:
  19413. $ref: '#/definitions/app.Response'
  19414. security:
  19415. - ApiKeyAuth: []
  19416. summary: 查询客户资料
  19417. tags:
  19418. - 企业风险管理(app)
  19419. /Ermcp/QueryWarehouseInfo:
  19420. get:
  19421. parameters:
  19422. - description: 用户ID
  19423. in: query
  19424. name: userid
  19425. required: true
  19426. type: integer
  19427. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  19428. in: query
  19429. name: status
  19430. type: string
  19431. produces:
  19432. - application/json
  19433. responses:
  19434. "200":
  19435. description: OK
  19436. schema:
  19437. items:
  19438. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  19439. type: array
  19440. "500":
  19441. description: Internal Server Error
  19442. schema:
  19443. $ref: '#/definitions/app.Response'
  19444. security:
  19445. - ApiKeyAuth: []
  19446. summary: 查询仓库信息
  19447. tags:
  19448. - 企业风险管理(app)
  19449. /Ermcp3/QryAreaExpourseContractDetail:
  19450. get:
  19451. parameters:
  19452. - description: 用户ID
  19453. in: query
  19454. name: userid
  19455. required: true
  19456. type: integer
  19457. - description: 套保商品id
  19458. in: query
  19459. name: middlegoodsid
  19460. required: true
  19461. type: integer
  19462. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19463. in: query
  19464. name: cycletype
  19465. required: true
  19466. type: integer
  19467. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19468. 全(0)【原值】
  19469. in: query
  19470. name: cycletime
  19471. required: true
  19472. type: string
  19473. produces:
  19474. - application/json
  19475. responses:
  19476. "200":
  19477. description: OK
  19478. schema:
  19479. items:
  19480. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  19481. type: array
  19482. "500":
  19483. description: Internal Server Error
  19484. schema:
  19485. $ref: '#/definitions/app.Response'
  19486. security:
  19487. - ApiKeyAuth: []
  19488. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  19489. tags:
  19490. - 企业风险管理v3(app)
  19491. /Ermcp3/QryAreaExpourseFutuDetail:
  19492. get:
  19493. parameters:
  19494. - description: 用户ID
  19495. in: query
  19496. name: userid
  19497. required: true
  19498. type: integer
  19499. - description: 套保商品id
  19500. in: query
  19501. name: middlegoodsid
  19502. required: true
  19503. type: integer
  19504. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19505. in: query
  19506. name: cycletype
  19507. required: true
  19508. type: integer
  19509. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19510. 全(0)【原值】
  19511. in: query
  19512. name: cycletime
  19513. required: true
  19514. type: string
  19515. produces:
  19516. - application/json
  19517. responses:
  19518. "200":
  19519. description: OK
  19520. schema:
  19521. items:
  19522. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  19523. type: array
  19524. "500":
  19525. description: Internal Server Error
  19526. schema:
  19527. $ref: '#/definitions/app.Response'
  19528. security:
  19529. - ApiKeyAuth: []
  19530. summary: 查询敞口期货明细(敞口报表/期货明细)
  19531. tags:
  19532. - 企业风险管理v3(app)
  19533. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  19534. get:
  19535. parameters:
  19536. - description: 用户ID
  19537. in: query
  19538. name: userid
  19539. required: true
  19540. type: integer
  19541. - description: 套保商品id
  19542. in: query
  19543. name: middlegoodsid
  19544. required: true
  19545. type: integer
  19546. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19547. in: query
  19548. name: cycletype
  19549. required: true
  19550. type: integer
  19551. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19552. 全(0)【原值】
  19553. in: query
  19554. name: cycletime
  19555. required: true
  19556. type: string
  19557. produces:
  19558. - application/json
  19559. responses:
  19560. "200":
  19561. description: OK
  19562. schema:
  19563. items:
  19564. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  19565. type: array
  19566. "500":
  19567. description: Internal Server Error
  19568. schema:
  19569. $ref: '#/definitions/app.Response'
  19570. security:
  19571. - ApiKeyAuth: []
  19572. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  19573. tags:
  19574. - 企业风险管理v3(app)
  19575. /Ermcp3/QryAreaExpourseParamChLogDetail:
  19576. get:
  19577. parameters:
  19578. - description: 用户ID
  19579. in: query
  19580. name: userid
  19581. required: true
  19582. type: integer
  19583. - description: 套保商品id
  19584. in: query
  19585. name: middlegoodsid
  19586. required: true
  19587. type: integer
  19588. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19589. in: query
  19590. name: cycletype
  19591. required: true
  19592. type: integer
  19593. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19594. 全(0)【原值】
  19595. in: query
  19596. name: cycletime
  19597. required: true
  19598. type: string
  19599. produces:
  19600. - application/json
  19601. responses:
  19602. "200":
  19603. description: OK
  19604. schema:
  19605. items:
  19606. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  19607. type: array
  19608. "500":
  19609. description: Internal Server Error
  19610. schema:
  19611. $ref: '#/definitions/app.Response'
  19612. security:
  19613. - ApiKeyAuth: []
  19614. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  19615. tags:
  19616. - 企业风险管理v3(app)
  19617. /Ermcp3/QryAreaExpourseReport:
  19618. get:
  19619. parameters:
  19620. - description: 用户ID
  19621. in: query
  19622. name: userid
  19623. required: true
  19624. type: integer
  19625. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  19626. in: query
  19627. name: querytype
  19628. required: true
  19629. type: integer
  19630. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19631. in: query
  19632. name: cycletype
  19633. required: true
  19634. type: integer
  19635. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19636. 全(0)【原值】
  19637. in: query
  19638. name: cycletime
  19639. required: true
  19640. type: string
  19641. produces:
  19642. - application/json
  19643. responses:
  19644. "200":
  19645. description: OK
  19646. schema:
  19647. items:
  19648. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  19649. type: array
  19650. "500":
  19651. description: Internal Server Error
  19652. schema:
  19653. $ref: '#/definitions/app.Response'
  19654. security:
  19655. - ApiKeyAuth: []
  19656. summary: 查询敞口报表
  19657. tags:
  19658. - 企业风险管理v3(app)
  19659. /Ermcp3/QryAreaSpotplReport:
  19660. get:
  19661. parameters:
  19662. - description: 用户ID
  19663. in: query
  19664. name: userid
  19665. required: true
  19666. type: integer
  19667. - description: 查询类型 1-报表 2-报表明细
  19668. in: query
  19669. name: querytype
  19670. required: true
  19671. type: integer
  19672. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19673. in: query
  19674. name: cycletype
  19675. required: true
  19676. type: integer
  19677. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19678. 全(0)【原值】
  19679. in: query
  19680. name: cycletime
  19681. required: true
  19682. type: string
  19683. - description: 现货品种id(明细必填)
  19684. in: query
  19685. name: deliverygoodsid
  19686. type: integer
  19687. - description: 币种id(明细必填)
  19688. in: query
  19689. name: currencyid
  19690. type: integer
  19691. produces:
  19692. - application/json
  19693. responses:
  19694. "200":
  19695. description: OK
  19696. schema:
  19697. items:
  19698. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  19699. type: array
  19700. "500":
  19701. description: Internal Server Error
  19702. schema:
  19703. $ref: '#/definitions/app.Response'
  19704. security:
  19705. - ApiKeyAuth: []
  19706. summary: 查询现货报表
  19707. tags:
  19708. - 企业风险管理v3(app)
  19709. /Ermcp3/QryAreaStockReport:
  19710. get:
  19711. parameters:
  19712. - description: 用户ID
  19713. in: query
  19714. name: userid
  19715. required: true
  19716. type: integer
  19717. - description: 查询类型 1-报表 2-报表明细
  19718. in: query
  19719. name: querytype
  19720. required: true
  19721. type: integer
  19722. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19723. in: query
  19724. name: cycletype
  19725. required: true
  19726. type: integer
  19727. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19728. 全(0)【原值】
  19729. in: query
  19730. name: cycletime
  19731. required: true
  19732. type: string
  19733. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  19734. in: query
  19735. name: sumfields
  19736. type: string
  19737. - description: 品种ID
  19738. in: query
  19739. name: deliverygoodsid
  19740. type: integer
  19741. - description: 品类ID
  19742. in: query
  19743. name: wrstandardid
  19744. type: integer
  19745. - description: 品牌ID
  19746. in: query
  19747. name: spotgoodsbrandid
  19748. type: integer
  19749. - description: 仓库ID
  19750. in: query
  19751. name: warehouseinfoid
  19752. type: integer
  19753. produces:
  19754. - application/json
  19755. responses:
  19756. "200":
  19757. description: OK
  19758. schema:
  19759. items:
  19760. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  19761. type: array
  19762. "500":
  19763. description: Internal Server Error
  19764. schema:
  19765. $ref: '#/definitions/app.Response'
  19766. security:
  19767. - ApiKeyAuth: []
  19768. summary: 查询库存报表
  19769. tags:
  19770. - 企业风险管理v3(app)
  19771. /Ermcp3/QryAreaSumPL:
  19772. get:
  19773. parameters:
  19774. - description: 用户ID
  19775. in: query
  19776. name: userid
  19777. required: true
  19778. type: integer
  19779. - description: 查询类型 1-报表 2-报表明细
  19780. in: query
  19781. name: querytype
  19782. required: true
  19783. type: integer
  19784. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19785. in: query
  19786. name: cycletype
  19787. required: true
  19788. type: integer
  19789. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19790. 全(0)【原值】
  19791. in: query
  19792. name: cycletime
  19793. required: true
  19794. type: string
  19795. - description: 币种id(明细必填)
  19796. in: query
  19797. name: currencyid
  19798. type: integer
  19799. produces:
  19800. - application/json
  19801. responses:
  19802. "200":
  19803. description: OK
  19804. schema:
  19805. items:
  19806. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  19807. type: array
  19808. "500":
  19809. description: Internal Server Error
  19810. schema:
  19811. $ref: '#/definitions/app.Response'
  19812. security:
  19813. - ApiKeyAuth: []
  19814. summary: 查询汇总损益表
  19815. tags:
  19816. - 企业风险管理v3(app)
  19817. /Ermcp3/QryFinanceReport:
  19818. get:
  19819. parameters:
  19820. - description: 用户ID
  19821. in: query
  19822. name: userid
  19823. required: true
  19824. type: integer
  19825. - description: 查询类型 1-报表 2-报表明细
  19826. in: query
  19827. name: querytype
  19828. required: true
  19829. type: integer
  19830. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19831. in: query
  19832. name: cycletype
  19833. required: true
  19834. type: integer
  19835. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19836. 全(0)【原值】
  19837. in: query
  19838. name: cycletime
  19839. required: true
  19840. type: string
  19841. - description: 币种id(报表明细必填)
  19842. in: query
  19843. name: currencyid
  19844. type: integer
  19845. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  19846. in: query
  19847. name: sumfields
  19848. type: string
  19849. produces:
  19850. - application/json
  19851. responses:
  19852. "200":
  19853. description: OK
  19854. schema:
  19855. items:
  19856. $ref: '#/definitions/models.Ermcp3FinanceReport'
  19857. type: array
  19858. "500":
  19859. description: Internal Server Error
  19860. schema:
  19861. $ref: '#/definitions/app.Response'
  19862. security:
  19863. - ApiKeyAuth: []
  19864. summary: 查询财务报表
  19865. tags:
  19866. - 企业风险管理v3(app)
  19867. /Ermcp3/QryTaFutureDataReport:
  19868. get:
  19869. parameters:
  19870. - description: 用户ID
  19871. in: query
  19872. name: userid
  19873. required: true
  19874. type: integer
  19875. - description: 查询类型 1-报表 2-报表明细
  19876. in: query
  19877. name: querytype
  19878. required: true
  19879. type: integer
  19880. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19881. in: query
  19882. name: cycletype
  19883. required: true
  19884. type: integer
  19885. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19886. 全(0)【原值】
  19887. in: query
  19888. name: cycletime
  19889. required: true
  19890. type: string
  19891. - description: 币种id(查明细必填)
  19892. in: query
  19893. name: currencyid
  19894. type: integer
  19895. - description: 品种id(查明细必填)
  19896. in: query
  19897. name: goodsgroupid
  19898. type: integer
  19899. - description: 商品id(查明细必填)
  19900. in: query
  19901. name: goodsid
  19902. type: integer
  19903. - description: 买卖方向(查明细必填)
  19904. in: query
  19905. name: buyorsell
  19906. type: integer
  19907. produces:
  19908. - application/json
  19909. responses:
  19910. "200":
  19911. description: OK
  19912. schema:
  19913. items:
  19914. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  19915. type: array
  19916. "500":
  19917. description: Internal Server Error
  19918. schema:
  19919. $ref: '#/definitions/app.Response'
  19920. security:
  19921. - ApiKeyAuth: []
  19922. summary: 查询期货报表
  19923. tags:
  19924. - 企业风险管理v3(app)
  19925. /Ermcp3/QueryAreaStock:
  19926. get:
  19927. parameters:
  19928. - description: 用户ID
  19929. in: query
  19930. name: userid
  19931. required: true
  19932. type: integer
  19933. produces:
  19934. - application/json
  19935. responses:
  19936. "200":
  19937. description: OK
  19938. schema:
  19939. items:
  19940. $ref: '#/definitions/models.Ermcp3AreaStock'
  19941. type: array
  19942. "500":
  19943. description: Internal Server Error
  19944. schema:
  19945. $ref: '#/definitions/app.Response'
  19946. security:
  19947. - ApiKeyAuth: []
  19948. summary: 查询机构库存(库存管理/当前库存)
  19949. tags:
  19950. - 企业风险管理v3(app)
  19951. /Ermcp3/QueryAreaStockApply:
  19952. get:
  19953. parameters:
  19954. - description: 用户ID
  19955. in: query
  19956. name: userid
  19957. required: true
  19958. type: integer
  19959. - description: 用户类型 2-机构 7-企业成员
  19960. in: query
  19961. name: usertype
  19962. type: integer
  19963. - description: 现货商品ID
  19964. in: query
  19965. name: deliverygoodsid
  19966. type: integer
  19967. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  19968. in: query
  19969. name: inouttype
  19970. type: string
  19971. - description: 合同ID
  19972. in: query
  19973. name: spotcontractid
  19974. type: integer
  19975. - description: 品类ID
  19976. in: query
  19977. name: wrstandardid
  19978. type: integer
  19979. - description: 品牌ID
  19980. in: query
  19981. name: spotgoodsbrandid
  19982. type: integer
  19983. - description: 仓库ID
  19984. in: query
  19985. name: warehouseinfoid
  19986. type: integer
  19987. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19988. in: query
  19989. name: applystatus
  19990. type: string
  19991. produces:
  19992. - application/json
  19993. responses:
  19994. "200":
  19995. description: OK
  19996. schema:
  19997. items:
  19998. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  19999. type: array
  20000. "500":
  20001. description: Internal Server Error
  20002. schema:
  20003. $ref: '#/definitions/app.Response'
  20004. security:
  20005. - ApiKeyAuth: []
  20006. summary: 查询库存申请(出入库记录|库存审核)
  20007. tags:
  20008. - 企业风险管理v3(app)
  20009. /Ermcp3/QueryAreaStockApplySum:
  20010. get:
  20011. parameters:
  20012. - description: 合同ID
  20013. in: query
  20014. name: spotcontractid
  20015. required: true
  20016. type: integer
  20017. produces:
  20018. - application/json
  20019. responses:
  20020. "200":
  20021. description: OK
  20022. schema:
  20023. items:
  20024. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  20025. type: array
  20026. "500":
  20027. description: Internal Server Error
  20028. schema:
  20029. $ref: '#/definitions/app.Response'
  20030. security:
  20031. - ApiKeyAuth: []
  20032. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  20033. tags:
  20034. - 企业风险管理v3(app)
  20035. /Ermcp3/QueryDGFactoryItem:
  20036. get:
  20037. parameters:
  20038. - description: 用户id
  20039. in: query
  20040. name: userid
  20041. type: integer
  20042. - description: 用户类型 2-机构 7-企业成员
  20043. in: query
  20044. name: usertype
  20045. type: integer
  20046. - description: 选择项ID(SEQ_DGFACTORYITEM)
  20047. in: query
  20048. name: dgfactoryitemid
  20049. type: integer
  20050. - description: 现货品种ID
  20051. in: query
  20052. name: deliverygoodsid
  20053. type: integer
  20054. - description: 要素项类型
  20055. in: query
  20056. name: dgfactoryitemtypeid
  20057. type: integer
  20058. - description: 顺序
  20059. in: query
  20060. name: orderindex
  20061. type: integer
  20062. produces:
  20063. - application/json
  20064. responses:
  20065. "200":
  20066. description: OK
  20067. schema:
  20068. items:
  20069. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  20070. type: array
  20071. "500":
  20072. description: Internal Server Error
  20073. schema:
  20074. $ref: '#/definitions/app.Response'
  20075. security:
  20076. - ApiKeyAuth: []
  20077. summary: 查询品种要素定义项
  20078. tags:
  20079. - 企业风险管理v3(app)
  20080. /Ermcp3/QueryDeliveryGoods:
  20081. get:
  20082. parameters:
  20083. - description: 用户id
  20084. in: query
  20085. name: userid
  20086. required: true
  20087. type: integer
  20088. - description: 用户类型 2-机构 7-企业成员
  20089. in: query
  20090. name: usertype
  20091. type: integer
  20092. - description: 排除已配置的业务类型商品 1-套保 2-套利
  20093. in: query
  20094. name: excludecfg
  20095. type: integer
  20096. produces:
  20097. - application/json
  20098. responses:
  20099. "200":
  20100. description: OK
  20101. schema:
  20102. items:
  20103. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  20104. type: array
  20105. "500":
  20106. description: Internal Server Error
  20107. schema:
  20108. $ref: '#/definitions/app.Response'
  20109. security:
  20110. - ApiKeyAuth: []
  20111. summary: 查询现货商品
  20112. tags:
  20113. - 企业风险管理v3(app)
  20114. /Ermcp3/QueryDeliveryGoodsDetail:
  20115. get:
  20116. parameters:
  20117. - description: 用户id
  20118. in: query
  20119. name: userid
  20120. required: true
  20121. type: integer
  20122. - description: 用户类型 2-机构 7-企业成员
  20123. in: query
  20124. name: usertype
  20125. type: integer
  20126. - description: 现货商品id
  20127. in: query
  20128. name: deliverygoodsid
  20129. type: integer
  20130. produces:
  20131. - application/json
  20132. responses:
  20133. "200":
  20134. description: OK
  20135. schema:
  20136. items:
  20137. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  20138. type: array
  20139. "500":
  20140. description: Internal Server Error
  20141. schema:
  20142. $ref: '#/definitions/app.Response'
  20143. security:
  20144. - ApiKeyAuth: []
  20145. summary: 查询现货商品详情
  20146. tags:
  20147. - 企业风险管理v3(app)
  20148. /Ermcp3/QueryExposureDetail:
  20149. get:
  20150. parameters:
  20151. - description: 用户id
  20152. in: query
  20153. name: userid
  20154. required: true
  20155. type: integer
  20156. - description: 用户类型 2-机构 7-企业成员
  20157. in: query
  20158. name: usertype
  20159. type: integer
  20160. - description: 套保商品
  20161. in: query
  20162. name: middlegoodsid
  20163. required: true
  20164. type: integer
  20165. produces:
  20166. - application/json
  20167. responses:
  20168. "200":
  20169. description: OK
  20170. schema:
  20171. items:
  20172. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  20173. type: array
  20174. "500":
  20175. description: Internal Server Error
  20176. schema:
  20177. $ref: '#/definitions/app.Response'
  20178. security:
  20179. - ApiKeyAuth: []
  20180. summary: 查询敞口现货明细
  20181. tags:
  20182. - 企业风险管理v3(app)
  20183. /Ermcp3/QueryExposureSpot:
  20184. get:
  20185. parameters:
  20186. - description: 用户id
  20187. in: query
  20188. name: userid
  20189. required: true
  20190. type: integer
  20191. - description: 用户类型 2-机构 7-企业成员
  20192. in: query
  20193. name: usertype
  20194. type: integer
  20195. produces:
  20196. - application/json
  20197. responses:
  20198. "200":
  20199. description: OK
  20200. schema:
  20201. items:
  20202. $ref: '#/definitions/models.Ermcp3AreaSpot'
  20203. type: array
  20204. "500":
  20205. description: Internal Server Error
  20206. schema:
  20207. $ref: '#/definitions/app.Response'
  20208. security:
  20209. - ApiKeyAuth: []
  20210. summary: 查询敞口现货头寸(敞口/现货头寸)
  20211. tags:
  20212. - 企业风险管理v3(app)
  20213. /Ermcp3/QueryExposureSpotDetail:
  20214. get:
  20215. parameters:
  20216. - description: 用户id
  20217. in: query
  20218. name: userid
  20219. required: true
  20220. type: integer
  20221. - description: 用户类型 2-机构 7-企业成员
  20222. in: query
  20223. name: usertype
  20224. type: integer
  20225. - description: 现货品种ID
  20226. in: query
  20227. name: deliverygoodsid
  20228. required: true
  20229. type: integer
  20230. produces:
  20231. - application/json
  20232. responses:
  20233. "200":
  20234. description: OK
  20235. schema:
  20236. items:
  20237. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  20238. type: array
  20239. "500":
  20240. description: Internal Server Error
  20241. schema:
  20242. $ref: '#/definitions/app.Response'
  20243. security:
  20244. - ApiKeyAuth: []
  20245. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20246. tags:
  20247. - 企业风险管理v3(app)
  20248. /Ermcp3/QueryGoodsGroup:
  20249. get:
  20250. parameters:
  20251. - description: 用户id
  20252. in: query
  20253. name: userid
  20254. required: true
  20255. type: integer
  20256. - description: 用户类型 2-机构 7-企业成员
  20257. in: query
  20258. name: usertype
  20259. type: integer
  20260. - description: 排除套保品中已关联的商品组 1-排除
  20261. in: query
  20262. name: excludecfg
  20263. type: integer
  20264. produces:
  20265. - application/json
  20266. responses:
  20267. "200":
  20268. description: OK
  20269. schema:
  20270. items:
  20271. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  20272. type: array
  20273. "500":
  20274. description: Internal Server Error
  20275. schema:
  20276. $ref: '#/definitions/app.Response'
  20277. security:
  20278. - ApiKeyAuth: []
  20279. summary: 查询期货商品组
  20280. tags:
  20281. - 企业风险管理v3(app)
  20282. /Ermcp3/QueryGoodsWrstandard:
  20283. get:
  20284. parameters:
  20285. - description: 用户id
  20286. in: query
  20287. name: userid
  20288. required: true
  20289. type: integer
  20290. - description: 用户类型 2-机构 7-企业成员
  20291. in: query
  20292. name: usertype
  20293. type: integer
  20294. - description: 现货商品id
  20295. in: query
  20296. name: deliverygoodsid
  20297. type: integer
  20298. produces:
  20299. - application/json
  20300. responses:
  20301. "200":
  20302. description: OK
  20303. schema:
  20304. items:
  20305. $ref: '#/definitions/models.Ermcp3Wrstandard'
  20306. type: array
  20307. "500":
  20308. description: Internal Server Error
  20309. schema:
  20310. $ref: '#/definitions/app.Response'
  20311. security:
  20312. - ApiKeyAuth: []
  20313. summary: 查询商品品类
  20314. tags:
  20315. - 企业风险管理v3(app)
  20316. /Ermcp3/QueryGoodsbrand:
  20317. get:
  20318. parameters:
  20319. - description: 用户id
  20320. in: query
  20321. name: userid
  20322. required: true
  20323. type: integer
  20324. - description: 用户类型 2-机构 7-企业成员
  20325. in: query
  20326. name: usertype
  20327. type: integer
  20328. produces:
  20329. - application/json
  20330. responses:
  20331. "200":
  20332. description: OK
  20333. schema:
  20334. items:
  20335. $ref: '#/definitions/models.Ermcp3Brand'
  20336. type: array
  20337. "500":
  20338. description: Internal Server Error
  20339. schema:
  20340. $ref: '#/definitions/app.Response'
  20341. security:
  20342. - ApiKeyAuth: []
  20343. summary: 查询商品品牌
  20344. tags:
  20345. - 企业风险管理v3(app)
  20346. /Ermcp3/QueryHedgePlan:
  20347. get:
  20348. parameters:
  20349. - description: 用户ID
  20350. in: query
  20351. name: userid
  20352. required: true
  20353. type: integer
  20354. - description: 用户类型 2-机构 7-企业成员
  20355. in: query
  20356. name: usertype
  20357. type: integer
  20358. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  20359. in: query
  20360. name: hedgeplanstatus
  20361. required: true
  20362. type: string
  20363. produces:
  20364. - application/json
  20365. responses:
  20366. "200":
  20367. description: OK
  20368. schema:
  20369. items:
  20370. $ref: '#/definitions/models.Ermcp3HedgePlan'
  20371. type: array
  20372. "500":
  20373. description: Internal Server Error
  20374. schema:
  20375. $ref: '#/definitions/app.Response'
  20376. security:
  20377. - ApiKeyAuth: []
  20378. summary: 查询套保计划
  20379. tags:
  20380. - 企业风险管理v3(app)
  20381. /Ermcp3/QueryMiddleGoodsDetail:
  20382. get:
  20383. parameters:
  20384. - description: 用户id
  20385. in: query
  20386. name: userid
  20387. required: true
  20388. type: integer
  20389. - description: 用户类型 2-机构 7-企业成员
  20390. in: query
  20391. name: usertype
  20392. type: integer
  20393. - description: 套保品种id
  20394. in: query
  20395. name: middlegoodsid
  20396. type: integer
  20397. produces:
  20398. - application/json
  20399. responses:
  20400. "200":
  20401. description: OK
  20402. schema:
  20403. items:
  20404. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  20405. type: array
  20406. "500":
  20407. description: Internal Server Error
  20408. schema:
  20409. $ref: '#/definitions/app.Response'
  20410. security:
  20411. - ApiKeyAuth: []
  20412. summary: 查询套保品种详情(套保品种/商品详情)
  20413. tags:
  20414. - 企业风险管理v3(app)
  20415. /Ermcp3/QueryRootUserAccount:
  20416. get:
  20417. parameters:
  20418. - description: 用户ID
  20419. in: query
  20420. name: userid
  20421. required: true
  20422. type: integer
  20423. produces:
  20424. - application/json
  20425. responses:
  20426. "200":
  20427. description: OK
  20428. schema:
  20429. items:
  20430. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  20431. type: array
  20432. "500":
  20433. description: Internal Server Error
  20434. schema:
  20435. $ref: '#/definitions/app.Response'
  20436. security:
  20437. - ApiKeyAuth: []
  20438. summary: 查询顶级用户信息
  20439. tags:
  20440. - 企业风险管理v3(app)
  20441. /Ermcp3/QuerySpotContract:
  20442. get:
  20443. parameters:
  20444. - description: 用户id
  20445. in: query
  20446. name: userid
  20447. required: true
  20448. type: integer
  20449. - description: 用户类型 2-机构 7-企业成员
  20450. in: query
  20451. name: usertype
  20452. type: integer
  20453. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  20454. in: query
  20455. name: querytype
  20456. required: true
  20457. type: integer
  20458. - description: 合同ID(SpotContractId)
  20459. in: query
  20460. name: contractid
  20461. type: string
  20462. produces:
  20463. - application/json
  20464. responses:
  20465. "200":
  20466. description: OK
  20467. schema:
  20468. items:
  20469. $ref: '#/definitions/models.Ermcp3Contract'
  20470. type: array
  20471. "500":
  20472. description: Internal Server Error
  20473. schema:
  20474. $ref: '#/definitions/app.Response'
  20475. security:
  20476. - ApiKeyAuth: []
  20477. summary: 查询现货合同
  20478. tags:
  20479. - 企业风险管理v3(app)
  20480. /Ermcp3/QuerySpotContractBS:
  20481. get:
  20482. parameters:
  20483. - description: 用户id
  20484. in: query
  20485. name: userid
  20486. required: true
  20487. type: integer
  20488. - description: 用户类型 2-机构 7-企业成员
  20489. in: query
  20490. name: usertype
  20491. type: integer
  20492. - description: 合同类型 1-采购, -1-销售
  20493. in: query
  20494. name: contracttype
  20495. required: true
  20496. type: integer
  20497. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  20498. in: query
  20499. name: querytype
  20500. required: true
  20501. type: integer
  20502. - description: 合同ID(SpotContractId)
  20503. in: query
  20504. name: contractid
  20505. type: string
  20506. produces:
  20507. - application/json
  20508. responses:
  20509. "200":
  20510. description: OK
  20511. schema:
  20512. items:
  20513. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  20514. type: array
  20515. "500":
  20516. description: Internal Server Error
  20517. schema:
  20518. $ref: '#/definitions/app.Response'
  20519. security:
  20520. - ApiKeyAuth: []
  20521. summary: 查询合同(采购/销售)
  20522. tags:
  20523. - 企业风险管理v3(app)
  20524. /Ermcp3/QuerySpotGoodsPrice:
  20525. get:
  20526. parameters:
  20527. - description: 用户ID
  20528. in: query
  20529. name: userid
  20530. required: true
  20531. type: integer
  20532. produces:
  20533. - application/json
  20534. responses:
  20535. "200":
  20536. description: OK
  20537. schema:
  20538. items:
  20539. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  20540. type: array
  20541. "500":
  20542. description: Internal Server Error
  20543. schema:
  20544. $ref: '#/definitions/app.Response'
  20545. security:
  20546. - ApiKeyAuth: []
  20547. summary: 查询现货市价(现货市价)
  20548. tags:
  20549. - 企业风险管理v3(app)
  20550. /Ermcp3/QuerySpotGoodsPriceLog:
  20551. get:
  20552. parameters:
  20553. - description: 用户ID
  20554. in: query
  20555. name: userid
  20556. required: true
  20557. type: integer
  20558. - description: 现货商品ID
  20559. in: query
  20560. name: deliverygoodsid
  20561. required: true
  20562. type: integer
  20563. - description: 品牌ID
  20564. in: query
  20565. name: brandid
  20566. type: integer
  20567. - description: 品类ID
  20568. in: query
  20569. name: wrstandardid
  20570. type: integer
  20571. produces:
  20572. - application/json
  20573. responses:
  20574. "200":
  20575. description: OK
  20576. schema:
  20577. items:
  20578. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  20579. type: array
  20580. "500":
  20581. description: Internal Server Error
  20582. schema:
  20583. $ref: '#/definitions/app.Response'
  20584. security:
  20585. - ApiKeyAuth: []
  20586. summary: 查询现货市价详情(现货市价/详情)
  20587. tags:
  20588. - 企业风险管理v3(app)
  20589. /Erms2/QueryArbitrageStrategy:
  20590. get:
  20591. parameters:
  20592. - description: 账户ID
  20593. in: query
  20594. name: userid
  20595. required: true
  20596. type: integer
  20597. - description: 商品组ID(品种ID)
  20598. in: query
  20599. name: goodsgroupid
  20600. type: string
  20601. produces:
  20602. - application/json
  20603. responses:
  20604. "200":
  20605. description: OK
  20606. schema:
  20607. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  20608. "500":
  20609. description: Internal Server Error
  20610. schema:
  20611. $ref: '#/definitions/app.Response'
  20612. security:
  20613. - ApiKeyAuth: []
  20614. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  20615. tags:
  20616. - 风险管理
  20617. /Erms2/QueryInnerTradeDetail:
  20618. get:
  20619. parameters:
  20620. - description: 资金账户
  20621. in: query
  20622. name: accountid
  20623. required: true
  20624. type: integer
  20625. produces:
  20626. - application/json
  20627. responses:
  20628. "200":
  20629. description: OK
  20630. schema:
  20631. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  20632. "500":
  20633. description: Internal Server Error
  20634. schema:
  20635. $ref: '#/definitions/app.Response'
  20636. security:
  20637. - ApiKeyAuth: []
  20638. summary: 查询内部成交单信息
  20639. tags:
  20640. - 风险管理
  20641. /Erms2/QuerySpotContract:
  20642. get:
  20643. parameters:
  20644. - description: 策略申请ID
  20645. in: query
  20646. name: asapplyid
  20647. required: true
  20648. type: integer
  20649. - description: 现货合同ID
  20650. in: query
  20651. name: spotcontractid
  20652. type: integer
  20653. produces:
  20654. - application/json
  20655. responses:
  20656. "200":
  20657. description: OK
  20658. schema:
  20659. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  20660. "500":
  20661. description: Internal Server Error
  20662. schema:
  20663. $ref: '#/definitions/app.Response'
  20664. security:
  20665. - ApiKeyAuth: []
  20666. summary: 查询现货合同表信息(指定策略ID、未结束的)
  20667. tags:
  20668. - 风险管理
  20669. /Erms3/AddErms2ASApply:
  20670. post:
  20671. parameters:
  20672. - description: 申请参数
  20673. in: body
  20674. name: jsonBody
  20675. required: true
  20676. schema:
  20677. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  20678. produces:
  20679. - application/json
  20680. responses:
  20681. "200":
  20682. description: OK
  20683. schema:
  20684. $ref: '#/definitions/app.Response'
  20685. "500":
  20686. description: Internal Server Error
  20687. schema:
  20688. $ref: '#/definitions/app.Response'
  20689. security:
  20690. - ApiKeyAuth: []
  20691. summary: 新增期现套利业务申请
  20692. tags:
  20693. - 风险管理v3
  20694. /Erms3/AddErms2SpotTradeApply:
  20695. post:
  20696. parameters:
  20697. - description: 申请参数
  20698. in: body
  20699. name: jsonBody
  20700. required: true
  20701. schema:
  20702. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  20703. produces:
  20704. - application/json
  20705. responses:
  20706. "200":
  20707. description: OK
  20708. schema:
  20709. $ref: '#/definitions/app.Response'
  20710. "500":
  20711. description: Internal Server Error
  20712. schema:
  20713. $ref: '#/definitions/app.Response'
  20714. security:
  20715. - ApiKeyAuth: []
  20716. summary: 新增现货贸易业务申请
  20717. tags:
  20718. - 风险管理v3
  20719. /Erms3/AddSpotContractApply:
  20720. post:
  20721. parameters:
  20722. - description: 申请参数
  20723. in: body
  20724. name: jsonBody
  20725. required: true
  20726. schema:
  20727. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  20728. produces:
  20729. - application/json
  20730. responses:
  20731. "200":
  20732. description: OK
  20733. schema:
  20734. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  20735. "500":
  20736. description: Internal Server Error
  20737. schema:
  20738. $ref: '#/definitions/app.Response'
  20739. security:
  20740. - ApiKeyAuth: []
  20741. summary: 新增现货合同申请
  20742. tags:
  20743. - 风险管理v3
  20744. /Erms3/AddUserInfoApply:
  20745. post:
  20746. parameters:
  20747. - description: 用户信息
  20748. in: body
  20749. name: jsonBody
  20750. required: true
  20751. schema:
  20752. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  20753. produces:
  20754. - application/json
  20755. responses:
  20756. "200":
  20757. description: OK
  20758. schema:
  20759. $ref: '#/definitions/app.Response'
  20760. "500":
  20761. description: Internal Server Error
  20762. schema:
  20763. $ref: '#/definitions/app.Response'
  20764. security:
  20765. - ApiKeyAuth: []
  20766. summary: 新增客户申请
  20767. tags:
  20768. - 风险管理v3
  20769. /Erms3/DeleteUserInfoApply:
  20770. get:
  20771. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  20772. parameters:
  20773. - description: 用户ID
  20774. in: query
  20775. name: userID
  20776. required: true
  20777. type: integer
  20778. produces:
  20779. - application/json
  20780. responses:
  20781. "200":
  20782. description: OK
  20783. schema:
  20784. $ref: '#/definitions/app.Response'
  20785. "500":
  20786. description: Internal Server Error
  20787. schema:
  20788. $ref: '#/definitions/app.Response'
  20789. security:
  20790. - ApiKeyAuth: []
  20791. summary: 删除客户申请
  20792. tags:
  20793. - 风险管理v3
  20794. /Erms3/ModifyUserInfoApply:
  20795. post:
  20796. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  20797. int, "userstate": 2 }'
  20798. parameters:
  20799. - description: 用户信息
  20800. in: body
  20801. name: jsonBody
  20802. required: true
  20803. schema:
  20804. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  20805. produces:
  20806. - application/json
  20807. responses:
  20808. "200":
  20809. description: OK
  20810. schema:
  20811. $ref: '#/definitions/app.Response'
  20812. "500":
  20813. description: Internal Server Error
  20814. schema:
  20815. $ref: '#/definitions/app.Response'
  20816. security:
  20817. - ApiKeyAuth: []
  20818. summary: 修改客户申请
  20819. tags:
  20820. - 风险管理v3
  20821. /Erms3/QueryBusinessInfo:
  20822. get:
  20823. parameters:
  20824. - description: 资金账号ID列表,用逗号分隔
  20825. in: query
  20826. name: accountids
  20827. required: true
  20828. type: string
  20829. - description: 状态,0为未结束 1为已结束
  20830. in: query
  20831. name: status
  20832. required: true
  20833. type: integer
  20834. produces:
  20835. - application/json
  20836. responses:
  20837. "200":
  20838. description: OK
  20839. schema:
  20840. items:
  20841. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  20842. type: array
  20843. "500":
  20844. description: Internal Server Error
  20845. schema:
  20846. $ref: '#/definitions/app.Response'
  20847. security:
  20848. - ApiKeyAuth: []
  20849. summary: 查询业务表单数据
  20850. tags:
  20851. - 风险管理v3
  20852. /Erms3/QueryPendingAuditContract:
  20853. get:
  20854. parameters:
  20855. - description: 资金账号ID列表,逗号隔开
  20856. in: query
  20857. name: accountids
  20858. required: true
  20859. type: string
  20860. - description: 合同类型 1-采购 -1-销售
  20861. in: query
  20862. name: contracttype
  20863. required: true
  20864. type: integer
  20865. - description: 合同模式 1-普通 2-回购
  20866. in: query
  20867. name: contractmode
  20868. required: true
  20869. type: integer
  20870. produces:
  20871. - application/json
  20872. responses:
  20873. "200":
  20874. description: OK
  20875. schema:
  20876. items:
  20877. $ref: '#/definitions/erms3.QryAuditContractRsp'
  20878. type: array
  20879. "500":
  20880. description: Internal Server Error
  20881. schema:
  20882. $ref: '#/definitions/app.Response'
  20883. security:
  20884. - ApiKeyAuth: []
  20885. summary: 查询待审核合同
  20886. tags:
  20887. - 风险管理v3
  20888. /Erms3/QueryPendingBusiness:
  20889. get:
  20890. parameters:
  20891. - description: 资金账号ID列表,逗号隔开
  20892. in: query
  20893. name: accountids
  20894. required: true
  20895. type: string
  20896. produces:
  20897. - application/json
  20898. responses:
  20899. "200":
  20900. description: OK
  20901. schema:
  20902. items:
  20903. $ref: '#/definitions/erms3.QryPendingBizRsp'
  20904. type: array
  20905. "500":
  20906. description: Internal Server Error
  20907. schema:
  20908. $ref: '#/definitions/app.Response'
  20909. security:
  20910. - ApiKeyAuth: []
  20911. summary: 查询待审核基差贸易业务
  20912. tags:
  20913. - 风险管理v3
  20914. /Erms3/QuerySpotContractAppleForm:
  20915. get:
  20916. parameters:
  20917. - description: 登录账号
  20918. in: query
  20919. name: loginID
  20920. required: true
  20921. type: integer
  20922. produces:
  20923. - application/json
  20924. responses:
  20925. "200":
  20926. description: OK
  20927. schema:
  20928. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  20929. "500":
  20930. description: Internal Server Error
  20931. schema:
  20932. $ref: '#/definitions/app.Response'
  20933. security:
  20934. - ApiKeyAuth: []
  20935. summary: 查询合同申请表单数据
  20936. tags:
  20937. - 风险管理v3
  20938. /Erms3/QuerySpotContractDetail:
  20939. get:
  20940. parameters:
  20941. - description: 资金账号ID列表,用逗号分隔
  20942. in: query
  20943. name: accountids
  20944. required: true
  20945. type: string
  20946. - description: 合同类型,1为采购合同 -1为销售合同
  20947. in: query
  20948. name: contracttype
  20949. required: true
  20950. type: integer
  20951. - description: 合同模式,1为普通合同 2为回购销售合同
  20952. in: query
  20953. name: contractmode
  20954. required: true
  20955. type: integer
  20956. - description: 状态,0为履约中 1为已完成
  20957. in: query
  20958. name: status
  20959. required: true
  20960. type: integer
  20961. produces:
  20962. - application/json
  20963. responses:
  20964. "200":
  20965. description: OK
  20966. schema:
  20967. items:
  20968. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  20969. type: array
  20970. "500":
  20971. description: Internal Server Error
  20972. schema:
  20973. $ref: '#/definitions/app.Response'
  20974. security:
  20975. - ApiKeyAuth: []
  20976. summary: 查询合同详细信息
  20977. tags:
  20978. - 风险管理v3
  20979. /Erms3/QueryUserInfoApplies:
  20980. get:
  20981. parameters:
  20982. - description: 页码
  20983. in: query
  20984. name: page
  20985. type: integer
  20986. - description: 每页条数
  20987. in: query
  20988. name: pagesize
  20989. type: integer
  20990. - description: 客户名称,支持模糊查询
  20991. in: query
  20992. name: userName
  20993. type: string
  20994. produces:
  20995. - application/json
  20996. responses:
  20997. "200":
  20998. description: OK
  20999. schema:
  21000. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  21001. "500":
  21002. description: Internal Server Error
  21003. schema:
  21004. $ref: '#/definitions/app.Response'
  21005. security:
  21006. - ApiKeyAuth: []
  21007. summary: 客户申请信息查询
  21008. tags:
  21009. - 风险管理v3
  21010. /Erms3/QueryUserInfos:
  21011. get:
  21012. parameters:
  21013. - description: 页码
  21014. in: query
  21015. name: page
  21016. type: integer
  21017. - description: 每页条数
  21018. in: query
  21019. name: pagesize
  21020. type: integer
  21021. - description: 客户名称,支持模糊查询
  21022. in: query
  21023. name: userName
  21024. type: string
  21025. produces:
  21026. - application/json
  21027. responses:
  21028. "200":
  21029. description: OK
  21030. schema:
  21031. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  21032. "500":
  21033. description: Internal Server Error
  21034. schema:
  21035. $ref: '#/definitions/app.Response'
  21036. security:
  21037. - ApiKeyAuth: []
  21038. summary: 客户信息查询
  21039. tags:
  21040. - 风险管理v3
  21041. /HSBY/GetHsbyMyCount:
  21042. get:
  21043. description: 说明: 不包括已完成的数量。
  21044. parameters:
  21045. - description: 资金账户列表,格式:1,2,3
  21046. in: query
  21047. name: accountIDs
  21048. required: true
  21049. type: string
  21050. produces:
  21051. - application/json
  21052. responses:
  21053. "200":
  21054. description: OK
  21055. schema:
  21056. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  21057. "500":
  21058. description: Internal Server Error
  21059. schema:
  21060. $ref: '#/definitions/app.Response'
  21061. security:
  21062. - ApiKeyAuth: []
  21063. summary: 获取我的订单与包裹数量
  21064. tags:
  21065. - 定制【海商报业】
  21066. /HSBY/QueryClientFixedADConfigs:
  21067. get:
  21068. produces:
  21069. - application/json
  21070. responses:
  21071. "200":
  21072. description: OK
  21073. schema:
  21074. $ref: '#/definitions/models.Clientfixedadconfig'
  21075. "500":
  21076. description: Internal Server Error
  21077. schema:
  21078. $ref: '#/definitions/app.Response'
  21079. security:
  21080. - ApiKeyAuth: []
  21081. summary: 获取终端固定广告配置
  21082. tags:
  21083. - 定制【海商报业】
  21084. /HSBY/QueryHsbyBuyMyTradeDetail:
  21085. get:
  21086. parameters:
  21087. - description: 页码
  21088. in: query
  21089. name: page
  21090. type: integer
  21091. - description: 每页条数
  21092. in: query
  21093. name: pagesize
  21094. type: integer
  21095. - description: 资金账户列表,格式:1,2,3
  21096. in: query
  21097. name: accountIDs
  21098. required: true
  21099. type: string
  21100. produces:
  21101. - application/json
  21102. responses:
  21103. "200":
  21104. description: OK
  21105. schema:
  21106. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  21107. "500":
  21108. description: Internal Server Error
  21109. schema:
  21110. $ref: '#/definitions/app.Response'
  21111. security:
  21112. - ApiKeyAuth: []
  21113. summary: 查询"我的订单 - 已完成"单据信息
  21114. tags:
  21115. - 定制【海商报业】
  21116. /HSBY/QueryHsbyGoodsOrderDetails:
  21117. get:
  21118. description: 说明:查询结果已按委托价格和委托时间排序
  21119. parameters:
  21120. - description: 商品ID
  21121. in: query
  21122. name: goodsID
  21123. required: true
  21124. type: integer
  21125. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  21126. in: query
  21127. name: accountIDs
  21128. type: string
  21129. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  21130. in: query
  21131. name: buyOrSell
  21132. type: integer
  21133. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  21134. in: query
  21135. name: price
  21136. type: number
  21137. - description: 档位,不传则默认为3档
  21138. in: query
  21139. name: speed
  21140. type: integer
  21141. produces:
  21142. - application/json
  21143. responses:
  21144. "200":
  21145. description: OK
  21146. schema:
  21147. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  21148. "500":
  21149. description: Internal Server Error
  21150. schema:
  21151. $ref: '#/definitions/app.Response'
  21152. security:
  21153. - ApiKeyAuth: []
  21154. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  21155. tags:
  21156. - 定制【海商报业】
  21157. /HSBY/QueryHsbyListingGoodsDetail:
  21158. get:
  21159. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  21160. parameters:
  21161. - description: 商品ID
  21162. in: query
  21163. name: goodsID
  21164. required: true
  21165. type: integer
  21166. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  21167. in: query
  21168. name: accountID
  21169. type: integer
  21170. produces:
  21171. - application/json
  21172. responses:
  21173. "200":
  21174. description: OK
  21175. schema:
  21176. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  21177. "500":
  21178. description: Internal Server Error
  21179. schema:
  21180. $ref: '#/definitions/app.Response'
  21181. security:
  21182. - ApiKeyAuth: []
  21183. summary: 查询二级市场(挂牌点选)商品信息详情
  21184. tags:
  21185. - 定制【海商报业】
  21186. /HSBY/QueryHsbyMarketGoodsDetail:
  21187. get:
  21188. parameters:
  21189. - description: 委托单号
  21190. in: query
  21191. name: orderID
  21192. required: true
  21193. type: integer
  21194. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  21195. in: query
  21196. name: accountID
  21197. type: integer
  21198. produces:
  21199. - application/json
  21200. responses:
  21201. "200":
  21202. description: OK
  21203. schema:
  21204. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  21205. "500":
  21206. description: Internal Server Error
  21207. schema:
  21208. $ref: '#/definitions/app.Response'
  21209. security:
  21210. - ApiKeyAuth: []
  21211. summary: 查询三级市场(商城)商品信息详情
  21212. tags:
  21213. - 定制【海商报业】
  21214. /HSBY/QueryHsbyMarketGoodses:
  21215. get:
  21216. parameters:
  21217. - description: 页码
  21218. in: query
  21219. name: page
  21220. type: integer
  21221. - description: 每页条数
  21222. in: query
  21223. name: pagesize
  21224. type: integer
  21225. - description: 市场ID列表,格式:1,2,3
  21226. in: query
  21227. name: marketIDs
  21228. required: true
  21229. type: string
  21230. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  21231. in: query
  21232. name: accountID
  21233. required: true
  21234. type: integer
  21235. - description: 类别ID
  21236. in: query
  21237. name: categoryID
  21238. type: integer
  21239. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  21240. in: query
  21241. name: goodsIDs
  21242. type: string
  21243. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  21244. in: query
  21245. name: couponTypeID
  21246. type: integer
  21247. produces:
  21248. - application/json
  21249. responses:
  21250. "200":
  21251. description: OK
  21252. schema:
  21253. $ref: '#/definitions/models.HsbyMarketGoods'
  21254. "500":
  21255. description: Internal Server Error
  21256. schema:
  21257. $ref: '#/definitions/app.Response'
  21258. security:
  21259. - ApiKeyAuth: []
  21260. summary: 查询特卖商品列表(三级商城)
  21261. tags:
  21262. - 定制【海商报业】
  21263. /HSBY/QueryHsbyMarkets:
  21264. get:
  21265. produces:
  21266. - application/json
  21267. responses:
  21268. "200":
  21269. description: OK
  21270. schema:
  21271. $ref: '#/definitions/models.HsbyMarketInfo'
  21272. "500":
  21273. description: Internal Server Error
  21274. schema:
  21275. $ref: '#/definitions/app.Response'
  21276. security:
  21277. - ApiKeyAuth: []
  21278. summary: 查询海商报业相关市场信息
  21279. tags:
  21280. - 定制【海商报业】
  21281. /HSBY/QueryHsbyMyBuyOrderDetails:
  21282. get:
  21283. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  21284. parameters:
  21285. - description: 资金账户列表,格式:1,2,3
  21286. in: query
  21287. name: accountIDs
  21288. required: true
  21289. type: string
  21290. produces:
  21291. - application/json
  21292. responses:
  21293. "200":
  21294. description: OK
  21295. schema:
  21296. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  21297. "500":
  21298. description: Internal Server Error
  21299. schema:
  21300. $ref: '#/definitions/app.Response'
  21301. security:
  21302. - ApiKeyAuth: []
  21303. summary: 查询“我的订单”信息
  21304. tags:
  21305. - 定制【海商报业】
  21306. /HSBY/QueryHsbyMyGoods:
  21307. get:
  21308. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  21309. parameters:
  21310. - description: 资金账户列表,格式:1,2,3
  21311. in: query
  21312. name: accountIDs
  21313. required: true
  21314. type: string
  21315. produces:
  21316. - application/json
  21317. responses:
  21318. "200":
  21319. description: OK
  21320. schema:
  21321. $ref: '#/definitions/models.HsbyMyGoods'
  21322. "500":
  21323. description: Internal Server Error
  21324. schema:
  21325. $ref: '#/definitions/app.Response'
  21326. security:
  21327. - ApiKeyAuth: []
  21328. summary: 查询“我的商品”信息
  21329. tags:
  21330. - 定制【海商报业】
  21331. /HSBY/QueryHsbyMyPackages:
  21332. get:
  21333. parameters:
  21334. - description: 资金账户列表,格式:1,2,3
  21335. in: query
  21336. name: accountIDs
  21337. required: true
  21338. type: string
  21339. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21340. in: query
  21341. name: takeOrderStatus
  21342. type: integer
  21343. produces:
  21344. - application/json
  21345. responses:
  21346. "200":
  21347. description: OK
  21348. schema:
  21349. $ref: '#/definitions/models.HsbyMyPackage'
  21350. "500":
  21351. description: Internal Server Error
  21352. schema:
  21353. $ref: '#/definitions/app.Response'
  21354. security:
  21355. - ApiKeyAuth: []
  21356. summary: 查询我的包裹信息
  21357. tags:
  21358. - 定制【海商报业】
  21359. /HSBY/QueryHsbyPreGoodsDetail:
  21360. get:
  21361. parameters:
  21362. - description: 商品ID
  21363. in: query
  21364. name: goodsID
  21365. required: true
  21366. type: integer
  21367. - description: 资金账户,主要用于获取预售商品购买上限
  21368. in: query
  21369. name: accountID
  21370. type: integer
  21371. produces:
  21372. - application/json
  21373. responses:
  21374. "200":
  21375. description: OK
  21376. schema:
  21377. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  21378. "500":
  21379. description: Internal Server Error
  21380. schema:
  21381. $ref: '#/definitions/app.Response'
  21382. security:
  21383. - ApiKeyAuth: []
  21384. summary: 查询一级市场(预售)商品信息详情
  21385. tags:
  21386. - 定制【海商报业】
  21387. /HSBY/QueryHsbyPreGoodses:
  21388. get:
  21389. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  21390. parameters:
  21391. - description: 页码
  21392. in: query
  21393. name: page
  21394. type: integer
  21395. - description: 每页条数
  21396. in: query
  21397. name: pagesize
  21398. type: integer
  21399. - description: 市场ID列表,格式:1,2,3
  21400. in: query
  21401. name: marketIDs
  21402. required: true
  21403. type: string
  21404. - description: 目的地(省)ID
  21405. in: query
  21406. name: descProvinceID
  21407. type: integer
  21408. - description: 目的地(市)ID
  21409. in: query
  21410. name: descCityID
  21411. type: integer
  21412. produces:
  21413. - application/json
  21414. responses:
  21415. "200":
  21416. description: OK
  21417. schema:
  21418. $ref: '#/definitions/models.HsbyPreGoods'
  21419. "500":
  21420. description: Internal Server Error
  21421. schema:
  21422. $ref: '#/definitions/app.Response'
  21423. security:
  21424. - ApiKeyAuth: []
  21425. summary: 查询新品上市商品列表(一级市场预售)
  21426. tags:
  21427. - 定制【海商报业】
  21428. /HSBY/QueryHsbySellMyDetails:
  21429. get:
  21430. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  21431. parameters:
  21432. - description: 页码
  21433. in: query
  21434. name: page
  21435. type: integer
  21436. - description: 每页条数
  21437. in: query
  21438. name: pagesize
  21439. type: integer
  21440. - description: 资金账户列表,格式:1,2,3
  21441. in: query
  21442. name: accountIDs
  21443. required: true
  21444. type: string
  21445. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  21446. in: query
  21447. name: orderType
  21448. type: integer
  21449. produces:
  21450. - application/json
  21451. responses:
  21452. "200":
  21453. description: OK
  21454. schema:
  21455. $ref: '#/definitions/models.HsbySellMyDetail'
  21456. "500":
  21457. description: Internal Server Error
  21458. schema:
  21459. $ref: '#/definitions/app.Response'
  21460. security:
  21461. - ApiKeyAuth: []
  21462. summary: 查询"我的闲置"单据信息
  21463. tags:
  21464. - 定制【海商报业】
  21465. /HSBY/QueryHsbyTopGoodses:
  21466. get:
  21467. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  21468. parameters:
  21469. - description: 页码
  21470. in: query
  21471. name: page
  21472. type: integer
  21473. - description: 每页条数
  21474. in: query
  21475. name: pagesize
  21476. type: integer
  21477. - description: 市场ID列表,格式:1,2,3
  21478. in: query
  21479. name: marketIDs
  21480. required: true
  21481. type: string
  21482. - description: 目的地(省)ID
  21483. in: query
  21484. name: descProvinceID
  21485. type: integer
  21486. - description: 目的地(市)ID
  21487. in: query
  21488. name: descCityID
  21489. type: integer
  21490. produces:
  21491. - application/json
  21492. responses:
  21493. "200":
  21494. description: OK
  21495. schema:
  21496. $ref: '#/definitions/models.HsbyTopGoods'
  21497. "500":
  21498. description: Internal Server Error
  21499. schema:
  21500. $ref: '#/definitions/app.Response'
  21501. security:
  21502. - ApiKeyAuth: []
  21503. summary: 查询热卖商品列表(二级市场挂牌点选)
  21504. tags:
  21505. - 定制【海商报业】
  21506. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  21507. get:
  21508. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  21509. parameters:
  21510. - description: 商品ID
  21511. in: query
  21512. name: goodsID
  21513. required: true
  21514. type: integer
  21515. produces:
  21516. - application/json
  21517. responses:
  21518. "200":
  21519. description: OK
  21520. schema:
  21521. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  21522. "500":
  21523. description: Internal Server Error
  21524. schema:
  21525. $ref: '#/definitions/app.Response'
  21526. security:
  21527. - ApiKeyAuth: []
  21528. summary: 查询游客三级市场(商城)商品信息详情
  21529. tags:
  21530. - 定制【海商报业】
  21531. /HSBY/QueryHsbyVisitorMarketGoodses:
  21532. get:
  21533. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  21534. parameters:
  21535. - description: 页码
  21536. in: query
  21537. name: page
  21538. type: integer
  21539. - description: 每页条数
  21540. in: query
  21541. name: pagesize
  21542. type: integer
  21543. - description: 市场ID列表,格式:1,2,3
  21544. in: query
  21545. name: marketIDs
  21546. required: true
  21547. type: string
  21548. - description: 类别ID
  21549. in: query
  21550. name: categoryID
  21551. type: integer
  21552. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  21553. in: query
  21554. name: goodsIDs
  21555. type: string
  21556. produces:
  21557. - application/json
  21558. responses:
  21559. "200":
  21560. description: OK
  21561. schema:
  21562. $ref: '#/definitions/models.HsbyMarketGoods'
  21563. "500":
  21564. description: Internal Server Error
  21565. schema:
  21566. $ref: '#/definitions/app.Response'
  21567. security:
  21568. - ApiKeyAuth: []
  21569. summary: 查询游客特卖商品列表(三级商城)
  21570. tags:
  21571. - 定制【海商报业】
  21572. /HSBY/QueryMyCollectionOrders:
  21573. get:
  21574. parameters:
  21575. - description: 页码
  21576. in: query
  21577. name: page
  21578. type: integer
  21579. - description: 每页条数
  21580. in: query
  21581. name: pagesize
  21582. type: integer
  21583. - description: 资金账户,格式:1,2,3
  21584. in: query
  21585. name: accountIDs
  21586. required: true
  21587. type: string
  21588. produces:
  21589. - application/json
  21590. responses:
  21591. "200":
  21592. description: OK
  21593. schema:
  21594. $ref: '#/definitions/models.HsbySellCollectionOrder'
  21595. "500":
  21596. description: Internal Server Error
  21597. schema:
  21598. $ref: '#/definitions/app.Response'
  21599. security:
  21600. - ApiKeyAuth: []
  21601. summary: 我的闲置中收款信息查询
  21602. tags:
  21603. - 定制【海商报业】
  21604. /HSBY/QueryMyCouponHolds:
  21605. get:
  21606. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  21607. parameters:
  21608. - description: 资金账户列表,格式:1,2,3
  21609. in: query
  21610. name: accountIDs
  21611. required: true
  21612. type: string
  21613. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  21614. in: query
  21615. name: holdStatus
  21616. type: string
  21617. produces:
  21618. - application/json
  21619. responses:
  21620. "200":
  21621. description: OK
  21622. schema:
  21623. $ref: '#/definitions/models.MyCouponHold'
  21624. "500":
  21625. description: Internal Server Error
  21626. schema:
  21627. $ref: '#/definitions/app.Response'
  21628. security:
  21629. - ApiKeyAuth: []
  21630. summary: 我的优惠卷持仓查询
  21631. tags:
  21632. - 定制【海商报业】
  21633. /HSBY/QueryMyCoupons:
  21634. get:
  21635. parameters:
  21636. - description: 资金账户列表,格式:1,2,3
  21637. in: query
  21638. name: accountIDs
  21639. required: true
  21640. type: string
  21641. - description: 商品ID, 一般与sellUserID配套传入
  21642. in: query
  21643. name: goodsID
  21644. type: integer
  21645. - description: 卖方UserID
  21646. in: query
  21647. name: sellUserID
  21648. type: integer
  21649. produces:
  21650. - application/json
  21651. responses:
  21652. "200":
  21653. description: OK
  21654. schema:
  21655. $ref: '#/definitions/models.MyCoupon'
  21656. "500":
  21657. description: Internal Server Error
  21658. schema:
  21659. $ref: '#/definitions/app.Response'
  21660. security:
  21661. - ApiKeyAuth: []
  21662. summary: 我的优惠卷查询
  21663. tags:
  21664. - 定制【海商报业】
  21665. /HSBY/QueryMyPayOrders:
  21666. get:
  21667. parameters:
  21668. - description: 页码
  21669. in: query
  21670. name: page
  21671. type: integer
  21672. - description: 每页条数
  21673. in: query
  21674. name: pagesize
  21675. type: integer
  21676. - description: 资金账户列表,格式:1,2,3
  21677. in: query
  21678. name: accountIDs
  21679. required: true
  21680. type: string
  21681. - description: 买方委托单号
  21682. in: query
  21683. name: buyOrderID
  21684. type: integer
  21685. - description: 卖方委托单号
  21686. in: query
  21687. name: sellOrderID
  21688. type: integer
  21689. produces:
  21690. - application/json
  21691. responses:
  21692. "200":
  21693. description: OK
  21694. schema:
  21695. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  21696. "500":
  21697. description: Internal Server Error
  21698. schema:
  21699. $ref: '#/definitions/app.Response'
  21700. security:
  21701. - ApiKeyAuth: []
  21702. summary: 获取我的订单中待付款信息
  21703. tags:
  21704. - 定制【海商报业】
  21705. /HSBY/QueryMyUsedCoupon:
  21706. get:
  21707. parameters:
  21708. - description: 资金账户列表,格式:1,2,3
  21709. in: query
  21710. name: accountIDs
  21711. required: true
  21712. type: string
  21713. produces:
  21714. - application/json
  21715. responses:
  21716. "200":
  21717. description: OK
  21718. schema:
  21719. $ref: '#/definitions/models.MyUsedCoupon'
  21720. "500":
  21721. description: Internal Server Error
  21722. schema:
  21723. $ref: '#/definitions/app.Response'
  21724. security:
  21725. - ApiKeyAuth: []
  21726. summary: 已使用优惠卷查询
  21727. tags:
  21728. - 定制【海商报业】
  21729. /HSBY/QueryProvincesAndCities:
  21730. get:
  21731. description: 查询结果只包括二级市场商品已关连的省市信息。
  21732. parameters:
  21733. - description: 省ID
  21734. in: query
  21735. name: provinceID
  21736. type: integer
  21737. produces:
  21738. - application/json
  21739. responses:
  21740. "200":
  21741. description: OK
  21742. schema:
  21743. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  21744. "500":
  21745. description: Internal Server Error
  21746. schema:
  21747. $ref: '#/definitions/app.Response'
  21748. security:
  21749. - ApiKeyAuth: []
  21750. summary: 查询省市信息(不包括区)
  21751. tags:
  21752. - 定制【海商报业】
  21753. /HSBY/SetHsbyMyPackagesStatus:
  21754. post:
  21755. parameters:
  21756. - description: 提货单号
  21757. in: query
  21758. name: takeOrderID
  21759. required: true
  21760. type: string
  21761. - description: 资金账号
  21762. in: query
  21763. name: accountID
  21764. required: true
  21765. type: integer
  21766. produces:
  21767. - application/json
  21768. responses:
  21769. "200":
  21770. description: OK
  21771. schema:
  21772. $ref: '#/definitions/app.Response'
  21773. "500":
  21774. description: Internal Server Error
  21775. schema:
  21776. $ref: '#/definitions/app.Response'
  21777. security:
  21778. - ApiKeyAuth: []
  21779. summary: 设置我的包裹已收货状态
  21780. tags:
  21781. - 定制【海商报业】
  21782. /Market/GetAllExExchanges:
  21783. get:
  21784. produces:
  21785. - application/json
  21786. responses:
  21787. "200":
  21788. description: OK
  21789. schema:
  21790. $ref: '#/definitions/models.Goods'
  21791. "500":
  21792. description: Internal Server Error
  21793. schema:
  21794. $ref: '#/definitions/app.Response'
  21795. security:
  21796. - ApiKeyAuth: []
  21797. summary: 获取所有外部交易所信息
  21798. tags:
  21799. - 通用市场
  21800. /Market/QueryGoodsesByLoginID:
  21801. get:
  21802. parameters:
  21803. - description: 登录账号
  21804. in: query
  21805. name: loginID
  21806. required: true
  21807. type: integer
  21808. - description: 市场ID列表,格式:1,2,3
  21809. in: query
  21810. name: marketIDs
  21811. type: string
  21812. produces:
  21813. - application/json
  21814. responses:
  21815. "200":
  21816. description: OK
  21817. schema:
  21818. $ref: '#/definitions/models.Goods'
  21819. "500":
  21820. description: Internal Server Error
  21821. schema:
  21822. $ref: '#/definitions/app.Response'
  21823. security:
  21824. - ApiKeyAuth: []
  21825. summary: 获取登录账号有权限的商品信息
  21826. tags:
  21827. - 通用市场
  21828. /Market/QueryMarketRun:
  21829. get:
  21830. parameters:
  21831. - description: 市场ID,不传返回所有
  21832. in: query
  21833. name: marketID
  21834. type: integer
  21835. produces:
  21836. - application/json
  21837. responses:
  21838. "200":
  21839. description: OK
  21840. schema:
  21841. $ref: '#/definitions/models.Marketrun'
  21842. "500":
  21843. description: Internal Server Error
  21844. schema:
  21845. $ref: '#/definitions/app.Response'
  21846. security:
  21847. - ApiKeyAuth: []
  21848. summary: 查询市场运行信息
  21849. tags:
  21850. - 通用市场
  21851. /Market/QueryMarketsByLoginID:
  21852. get:
  21853. parameters:
  21854. - description: 登录账号
  21855. in: query
  21856. name: loginID
  21857. required: true
  21858. type: integer
  21859. produces:
  21860. - application/json
  21861. responses:
  21862. "200":
  21863. description: OK
  21864. schema:
  21865. $ref: '#/definitions/models.Market'
  21866. "500":
  21867. description: Internal Server Error
  21868. schema:
  21869. $ref: '#/definitions/app.Response'
  21870. security:
  21871. - ApiKeyAuth: []
  21872. summary: 获取登录账号有权限的市场信息
  21873. tags:
  21874. - 通用市场
  21875. /Order/QueryHisTradeDetail:
  21876. get:
  21877. parameters:
  21878. - description: 资金账户 - 格式:1,2,3
  21879. in: query
  21880. name: accountID
  21881. required: true
  21882. type: string
  21883. - description: 成交单号
  21884. in: query
  21885. name: tradeID
  21886. type: integer
  21887. - description: 委托单号
  21888. in: query
  21889. name: orderID
  21890. type: integer
  21891. - description: 商品ID
  21892. in: query
  21893. name: goodsID
  21894. type: integer
  21895. - description: 交易模式 - 格式:1,2,3
  21896. in: query
  21897. name: tradeMode
  21898. type: string
  21899. - description: 委托单据类型
  21900. in: query
  21901. name: buildType
  21902. type: integer
  21903. - description: 成交类别 - 格式:1,2,3
  21904. in: query
  21905. name: tradeType
  21906. type: string
  21907. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21908. in: query
  21909. name: startDate
  21910. type: string
  21911. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21912. in: query
  21913. name: endDate
  21914. type: string
  21915. produces:
  21916. - application/json
  21917. responses:
  21918. "200":
  21919. description: OK
  21920. schema:
  21921. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  21922. "500":
  21923. description: Internal Server Error
  21924. schema:
  21925. $ref: '#/definitions/app.Response'
  21926. security:
  21927. - ApiKeyAuth: []
  21928. summary: 历史成交单查询(合约市场)
  21929. tags:
  21930. - 通用单据
  21931. /Order/QueryHisTradeOrderDetail:
  21932. get:
  21933. parameters:
  21934. - description: 资金账户 - 格式:1,2,3
  21935. in: query
  21936. name: accountID
  21937. required: true
  21938. type: string
  21939. - description: 交易模式 - 格式:1,2,3
  21940. in: query
  21941. name: tradeMode
  21942. type: string
  21943. - description: 委托状态 - 格式:1,2,3
  21944. in: query
  21945. name: orderStatus
  21946. type: string
  21947. - description: 委托单号
  21948. in: query
  21949. name: orderID
  21950. type: integer
  21951. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21952. in: query
  21953. name: startDate
  21954. type: string
  21955. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21956. in: query
  21957. name: endDate
  21958. type: string
  21959. produces:
  21960. - application/json
  21961. responses:
  21962. "200":
  21963. description: OK
  21964. schema:
  21965. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  21966. "500":
  21967. description: Internal Server Error
  21968. schema:
  21969. $ref: '#/definitions/app.Response'
  21970. security:
  21971. - ApiKeyAuth: []
  21972. summary: 历史委托单查询请求(合约市场)
  21973. tags:
  21974. - 通用单据
  21975. /Order/QueryTradeDetail:
  21976. get:
  21977. parameters:
  21978. - description: 资金账户 - 格式:1,2,3
  21979. in: query
  21980. name: accountID
  21981. required: true
  21982. type: string
  21983. - description: 成交单号
  21984. in: query
  21985. name: tradeID
  21986. type: integer
  21987. - description: 委托单号
  21988. in: query
  21989. name: orderID
  21990. type: integer
  21991. - description: 交易模式 - 格式:1,2,3
  21992. in: query
  21993. name: tradeMode
  21994. type: string
  21995. - description: 委托单据类型
  21996. in: query
  21997. name: buildType
  21998. type: integer
  21999. - description: 成交类别 - 格式:1,2,3
  22000. in: query
  22001. name: tradeType
  22002. type: string
  22003. - description: 商品ID
  22004. in: query
  22005. name: goodsID
  22006. type: integer
  22007. produces:
  22008. - application/json
  22009. responses:
  22010. "200":
  22011. description: OK
  22012. schema:
  22013. $ref: '#/definitions/order.QueryTradeDetailRsp'
  22014. "500":
  22015. description: Internal Server Error
  22016. schema:
  22017. $ref: '#/definitions/app.Response'
  22018. security:
  22019. - ApiKeyAuth: []
  22020. summary: 成交单查询(合约市场)
  22021. tags:
  22022. - 通用单据
  22023. /Order/QueryTradeOrderDetail:
  22024. get:
  22025. parameters:
  22026. - description: 资金账户 - 格式:1,2,3
  22027. in: query
  22028. name: accountID
  22029. required: true
  22030. type: string
  22031. - description: 交易模式 - 格式:1,2,3
  22032. in: query
  22033. name: tradeMode
  22034. type: string
  22035. - description: 委托状态 - 格式:1,2,3
  22036. in: query
  22037. name: orderStatus
  22038. type: string
  22039. - description: 委托单号
  22040. in: query
  22041. name: orderID
  22042. type: integer
  22043. produces:
  22044. - application/json
  22045. responses:
  22046. "200":
  22047. description: OK
  22048. schema:
  22049. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  22050. "500":
  22051. description: Internal Server Error
  22052. schema:
  22053. $ref: '#/definitions/app.Response'
  22054. security:
  22055. - ApiKeyAuth: []
  22056. summary: 委托单查询请求(合约市场)
  22057. tags:
  22058. - 通用单据
  22059. /Order/QueryTradePosition:
  22060. get:
  22061. parameters:
  22062. - description: 资金账户 - 格式:1,2,3
  22063. in: query
  22064. name: accountID
  22065. required: true
  22066. type: string
  22067. - description: 交易模式 - 格式:1,2,3
  22068. in: query
  22069. name: tradeMode
  22070. type: string
  22071. produces:
  22072. - application/json
  22073. responses:
  22074. "200":
  22075. description: OK
  22076. schema:
  22077. $ref: '#/definitions/order.QueryTradePositionRsp'
  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/QueryAccountInOutApply:
  22088. get:
  22089. parameters:
  22090. - description: 用户ID
  22091. in: query
  22092. name: userid
  22093. required: true
  22094. type: integer
  22095. - description: 申请起始日期(格式yyyymmdd)
  22096. in: query
  22097. name: begindate
  22098. type: string
  22099. - description: 申请截止日期(格式yyyymmdd)
  22100. in: query
  22101. name: enddate
  22102. type: string
  22103. - description: 模糊搜索名称
  22104. in: query
  22105. name: likename
  22106. type: string
  22107. produces:
  22108. - application/json
  22109. responses:
  22110. "200":
  22111. description: OK
  22112. schema:
  22113. items:
  22114. $ref: '#/definitions/models.QhjAccountOutInApply'
  22115. type: array
  22116. "500":
  22117. description: Internal Server Error
  22118. schema:
  22119. $ref: '#/definitions/app.Response'
  22120. security:
  22121. - ApiKeyAuth: []
  22122. summary: 查询充值提现
  22123. tags:
  22124. - 大连千海金
  22125. /Qhj/QueryAreaFinanceConfig:
  22126. get:
  22127. parameters:
  22128. - description: 机构用户ID 其他做市关系,都设置为 1
  22129. in: query
  22130. name: userid
  22131. type: integer
  22132. produces:
  22133. - application/json
  22134. responses:
  22135. "200":
  22136. description: OK
  22137. schema:
  22138. items:
  22139. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  22140. type: array
  22141. "500":
  22142. description: Internal Server Error
  22143. schema:
  22144. $ref: '#/definitions/app.Response'
  22145. security:
  22146. - ApiKeyAuth: []
  22147. summary: 查询企业配置表
  22148. tags:
  22149. - 大连千海金
  22150. /Qhj/QueryBankAccountSign:
  22151. get:
  22152. parameters:
  22153. - description: 用户ID
  22154. in: query
  22155. name: userid
  22156. required: true
  22157. type: integer
  22158. produces:
  22159. - application/json
  22160. responses:
  22161. "200":
  22162. description: OK
  22163. schema:
  22164. items:
  22165. $ref: '#/definitions/models.QhjBankAccountSign'
  22166. type: array
  22167. "500":
  22168. description: Internal Server Error
  22169. schema:
  22170. $ref: '#/definitions/app.Response'
  22171. security:
  22172. - ApiKeyAuth: []
  22173. summary: 查询签约银行信息(提现账户管理)
  22174. tags:
  22175. - 大连千海金
  22176. /Qhj/QueryBankInfo:
  22177. get:
  22178. produces:
  22179. - application/json
  22180. responses:
  22181. "200":
  22182. description: OK
  22183. schema:
  22184. items:
  22185. $ref: '#/definitions/models.QhjBankInfo'
  22186. type: array
  22187. "500":
  22188. description: Internal Server Error
  22189. schema:
  22190. $ref: '#/definitions/app.Response'
  22191. security:
  22192. - ApiKeyAuth: []
  22193. summary: 查询开户行
  22194. tags:
  22195. - 大连千海金
  22196. /Qhj/QueryBrokerApply:
  22197. get:
  22198. parameters:
  22199. - description: 所属机构ID
  22200. in: query
  22201. name: userid
  22202. type: integer
  22203. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22204. in: query
  22205. name: filterstatus
  22206. type: string
  22207. produces:
  22208. - application/json
  22209. responses:
  22210. "200":
  22211. description: OK
  22212. schema:
  22213. items:
  22214. $ref: '#/definitions/models.QhjBrokerApply'
  22215. type: array
  22216. "500":
  22217. description: Internal Server Error
  22218. schema:
  22219. $ref: '#/definitions/app.Response'
  22220. security:
  22221. - ApiKeyAuth: []
  22222. summary: 查询经纪人申请
  22223. tags:
  22224. - 大连千海金
  22225. /Qhj/QueryBrokerApplyEx:
  22226. get:
  22227. parameters:
  22228. - description: 所属机构ID
  22229. in: query
  22230. name: userid
  22231. type: integer
  22232. produces:
  22233. - application/json
  22234. responses:
  22235. "200":
  22236. description: OK
  22237. schema:
  22238. items:
  22239. $ref: '#/definitions/models.QhjBrokerApplyEx'
  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/QueryBrokerRewardLog:
  22251. get:
  22252. parameters:
  22253. - description: 用户ID
  22254. in: query
  22255. name: userid
  22256. required: true
  22257. type: integer
  22258. - description: 开始交易日(yyyymmdd)
  22259. in: query
  22260. name: begindate
  22261. type: string
  22262. - description: 结束交易日(yyyymmdd)
  22263. in: query
  22264. name: enddate
  22265. type: string
  22266. produces:
  22267. - application/json
  22268. responses:
  22269. "200":
  22270. description: OK
  22271. schema:
  22272. items:
  22273. $ref: '#/definitions/models.QhjBrokerRewardLog'
  22274. type: array
  22275. "500":
  22276. description: Internal Server Error
  22277. schema:
  22278. $ref: '#/definitions/app.Response'
  22279. security:
  22280. - ApiKeyAuth: []
  22281. summary: 查询奖励流水(我的奖励)
  22282. tags:
  22283. - 大连千海金
  22284. /Qhj/QueryContract:
  22285. get:
  22286. parameters:
  22287. - description: 用户ID
  22288. in: query
  22289. name: userid
  22290. type: integer
  22291. - description: scf合同id
  22292. in: query
  22293. name: scfcontractid
  22294. type: integer
  22295. produces:
  22296. - application/json
  22297. responses:
  22298. "200":
  22299. description: OK
  22300. schema:
  22301. items:
  22302. $ref: '#/definitions/models.QhjContract'
  22303. type: array
  22304. "500":
  22305. description: Internal Server Error
  22306. schema:
  22307. $ref: '#/definitions/app.Response'
  22308. security:
  22309. - ApiKeyAuth: []
  22310. summary: 查询融资明细(合同)
  22311. tags:
  22312. - 大连千海金
  22313. /Qhj/QueryContractLog:
  22314. get:
  22315. parameters:
  22316. - description: scf合同id
  22317. in: query
  22318. name: scfcontractid
  22319. required: true
  22320. type: integer
  22321. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  22322. in: query
  22323. name: amounttype
  22324. type: string
  22325. produces:
  22326. - application/json
  22327. responses:
  22328. "200":
  22329. description: OK
  22330. schema:
  22331. items:
  22332. $ref: '#/definitions/models.QhjContractLog'
  22333. type: array
  22334. "500":
  22335. description: Internal Server Error
  22336. schema:
  22337. $ref: '#/definitions/app.Response'
  22338. security:
  22339. - ApiKeyAuth: []
  22340. summary: 查询融资明细流水(融资明细详情页中的流水)
  22341. tags:
  22342. - 大连千海金
  22343. /Qhj/QueryCusBankSignBank:
  22344. get:
  22345. produces:
  22346. - application/json
  22347. responses:
  22348. "200":
  22349. description: OK
  22350. schema:
  22351. items:
  22352. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  22353. type: array
  22354. "500":
  22355. description: Internal Server Error
  22356. schema:
  22357. $ref: '#/definitions/app.Response'
  22358. security:
  22359. - ApiKeyAuth: []
  22360. summary: 查询托管银行
  22361. tags:
  22362. - 大连千海金
  22363. /Qhj/QueryCustomerInfo:
  22364. get:
  22365. parameters:
  22366. - description: 用户ID
  22367. in: query
  22368. name: userid
  22369. required: true
  22370. type: integer
  22371. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  22372. in: query
  22373. name: querytype
  22374. required: true
  22375. type: integer
  22376. - description: 客户类型 1-个人 2-企业
  22377. in: query
  22378. name: userinfotype
  22379. type: integer
  22380. - description: 客户名称(模糊匹配)
  22381. in: query
  22382. name: customername
  22383. type: string
  22384. - description: 昵称(模糊匹配)
  22385. in: query
  22386. name: nickname
  22387. type: string
  22388. - description: 是否包含子级 1-包含
  22389. in: query
  22390. name: includesub
  22391. type: integer
  22392. produces:
  22393. - application/json
  22394. responses:
  22395. "200":
  22396. description: OK
  22397. schema:
  22398. items:
  22399. $ref: '#/definitions/models.QhjCustomer'
  22400. type: array
  22401. "500":
  22402. description: Internal Server Error
  22403. schema:
  22404. $ref: '#/definitions/app.Response'
  22405. security:
  22406. - ApiKeyAuth: []
  22407. summary: 查询客户资料
  22408. tags:
  22409. - 大连千海金
  22410. /Qhj/QueryGoodsEx:
  22411. get:
  22412. parameters:
  22413. - description: 商品id
  22414. in: query
  22415. name: goodsid
  22416. type: integer
  22417. produces:
  22418. - application/json
  22419. responses:
  22420. "200":
  22421. description: OK
  22422. schema:
  22423. items:
  22424. $ref: '#/definitions/models.Qhjgoodsex'
  22425. type: array
  22426. "500":
  22427. description: Internal Server Error
  22428. schema:
  22429. $ref: '#/definitions/app.Response'
  22430. security:
  22431. - ApiKeyAuth: []
  22432. summary: 交易商品扩展表
  22433. tags:
  22434. - 大连千海金
  22435. /Qhj/QueryMyTeam:
  22436. get:
  22437. parameters:
  22438. - description: 用户ID
  22439. in: query
  22440. name: userid
  22441. required: true
  22442. type: integer
  22443. produces:
  22444. - application/json
  22445. responses:
  22446. "200":
  22447. description: OK
  22448. schema:
  22449. items:
  22450. $ref: '#/definitions/models.QhjMyTeamEx'
  22451. type: array
  22452. "500":
  22453. description: Internal Server Error
  22454. schema:
  22455. $ref: '#/definitions/app.Response'
  22456. security:
  22457. - ApiKeyAuth: []
  22458. summary: 查询我的团队
  22459. tags:
  22460. - 大连千海金
  22461. /Qhj/QueryMyTeamOrder:
  22462. get:
  22463. parameters:
  22464. - description: 页码
  22465. in: query
  22466. name: page
  22467. type: integer
  22468. - description: 每页条数
  22469. in: query
  22470. name: pagesize
  22471. type: integer
  22472. - description: 用户ID
  22473. in: query
  22474. name: userid
  22475. required: true
  22476. type: integer
  22477. - description: 交易模式
  22478. in: query
  22479. name: trademode
  22480. type: integer
  22481. - description: 名称(模糊搜索账户)
  22482. in: query
  22483. name: filtername
  22484. type: string
  22485. produces:
  22486. - application/json
  22487. responses:
  22488. "200":
  22489. description: OK
  22490. schema:
  22491. items:
  22492. $ref: '#/definitions/models.QhjTeamOrder'
  22493. type: array
  22494. "500":
  22495. description: Internal Server Error
  22496. schema:
  22497. $ref: '#/definitions/app.Response'
  22498. security:
  22499. - ApiKeyAuth: []
  22500. summary: 查询团队订单(我的团队/团队订单)
  22501. tags:
  22502. - 大连千海金
  22503. /Qhj/QueryParentAreaList:
  22504. get:
  22505. parameters:
  22506. - description: 用户ID
  22507. in: query
  22508. name: userid
  22509. required: true
  22510. type: integer
  22511. produces:
  22512. - application/json
  22513. responses:
  22514. "200":
  22515. description: OK
  22516. schema:
  22517. items:
  22518. $ref: '#/definitions/models.QhjParentAreaList'
  22519. type: array
  22520. "500":
  22521. description: Internal Server Error
  22522. schema:
  22523. $ref: '#/definitions/app.Response'
  22524. security:
  22525. - ApiKeyAuth: []
  22526. summary: 查询所属机构列表
  22527. tags:
  22528. - 大连千海金
  22529. /Qhj/QueryPayOrder:
  22530. get:
  22531. parameters:
  22532. - description: 资金账号id
  22533. in: query
  22534. name: accountid
  22535. required: true
  22536. type: integer
  22537. - description: 成交单号
  22538. in: query
  22539. name: tradeid
  22540. type: integer
  22541. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  22542. in: query
  22543. name: payflag
  22544. type: string
  22545. produces:
  22546. - application/json
  22547. responses:
  22548. "200":
  22549. description: OK
  22550. schema:
  22551. items:
  22552. $ref: '#/definitions/models.QhjPayOrder'
  22553. type: array
  22554. "500":
  22555. description: Internal Server Error
  22556. schema:
  22557. $ref: '#/definitions/app.Response'
  22558. security:
  22559. - ApiKeyAuth: []
  22560. summary: 查询待付款单据
  22561. tags:
  22562. - 大连千海金
  22563. /Qhj/QueryPickArea:
  22564. get:
  22565. parameters:
  22566. - description: 用户ID
  22567. in: query
  22568. name: userid
  22569. type: integer
  22570. produces:
  22571. - application/json
  22572. responses:
  22573. "200":
  22574. description: OK
  22575. schema:
  22576. items:
  22577. $ref: '#/definitions/models.QhjPickArea'
  22578. type: array
  22579. "500":
  22580. description: Internal Server Error
  22581. schema:
  22582. $ref: '#/definitions/app.Response'
  22583. security:
  22584. - ApiKeyAuth: []
  22585. summary: 查询提货门店
  22586. tags:
  22587. - 大连千海金
  22588. /Qhj/QueryPickGoods:
  22589. get:
  22590. parameters:
  22591. - description: 交易商品id
  22592. in: query
  22593. name: goodsid
  22594. required: true
  22595. type: integer
  22596. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  22597. in: query
  22598. name: status
  22599. type: string
  22600. produces:
  22601. - application/json
  22602. responses:
  22603. "200":
  22604. description: OK
  22605. schema:
  22606. items:
  22607. $ref: '#/definitions/models.QhjPickGoods'
  22608. type: array
  22609. "500":
  22610. description: Internal Server Error
  22611. schema:
  22612. $ref: '#/definitions/app.Response'
  22613. security:
  22614. - ApiKeyAuth: []
  22615. summary: 查询提货商品
  22616. tags:
  22617. - 大连千海金
  22618. /Qhj/QueryRSTriggerLog:
  22619. get:
  22620. parameters:
  22621. - description: 用户ID
  22622. in: query
  22623. name: userid
  22624. type: integer
  22625. - description: 定投策略id
  22626. in: query
  22627. name: regularlystrategyid
  22628. type: integer
  22629. - description: 商品id
  22630. in: query
  22631. name: goodsid
  22632. type: integer
  22633. - description: 开始交易日(yyyymmdd)
  22634. in: query
  22635. name: begindate
  22636. type: string
  22637. - description: 结束交易日(yyyymmdd)
  22638. in: query
  22639. name: enddate
  22640. type: string
  22641. - description: 名称(模糊搜索账户)
  22642. in: query
  22643. name: filtername
  22644. type: string
  22645. produces:
  22646. - application/json
  22647. responses:
  22648. "200":
  22649. description: OK
  22650. schema:
  22651. items:
  22652. $ref: '#/definitions/models.QhjRSTriggerLog'
  22653. type: array
  22654. "500":
  22655. description: Internal Server Error
  22656. schema:
  22657. $ref: '#/definitions/app.Response'
  22658. security:
  22659. - ApiKeyAuth: []
  22660. summary: 查询定投记录(定投管理/详情/定投记录)
  22661. tags:
  22662. - 大连千海金
  22663. /Qhj/QueryRStrategy:
  22664. get:
  22665. parameters:
  22666. - description: 用户ID
  22667. in: query
  22668. name: userid
  22669. type: integer
  22670. - description: 商品id
  22671. in: query
  22672. name: goodsid
  22673. type: integer
  22674. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  22675. in: query
  22676. name: status
  22677. type: string
  22678. - description: 名称(模糊搜索账户)
  22679. in: query
  22680. name: filtername
  22681. type: string
  22682. produces:
  22683. - application/json
  22684. responses:
  22685. "200":
  22686. description: OK
  22687. schema:
  22688. items:
  22689. $ref: '#/definitions/models.QhjRStrategy'
  22690. type: array
  22691. "500":
  22692. description: Internal Server Error
  22693. schema:
  22694. $ref: '#/definitions/app.Response'
  22695. security:
  22696. - ApiKeyAuth: []
  22697. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  22698. tags:
  22699. - 大连千海金
  22700. /Qhj/QueryReckonPriceLog:
  22701. get:
  22702. parameters:
  22703. - description: 商品ID
  22704. in: query
  22705. name: goodsid
  22706. type: integer
  22707. - description: 交易日 格式(yyyymmdd)
  22708. in: query
  22709. name: tradedate
  22710. type: string
  22711. produces:
  22712. - application/json
  22713. responses:
  22714. "200":
  22715. description: OK
  22716. schema:
  22717. items:
  22718. $ref: '#/definitions/models.QhjReckonPriceLog'
  22719. type: array
  22720. "500":
  22721. description: Internal Server Error
  22722. schema:
  22723. $ref: '#/definitions/app.Response'
  22724. security:
  22725. - ApiKeyAuth: []
  22726. summary: 查询定投价(结算价)
  22727. tags:
  22728. - 大连千海金
  22729. /Qhj/QueryScoreLog:
  22730. get:
  22731. parameters:
  22732. - description: 用户ID
  22733. in: query
  22734. name: userid
  22735. required: true
  22736. type: integer
  22737. - description: 开始交易日(yyyymmdd)
  22738. in: query
  22739. name: begindate
  22740. type: string
  22741. - description: 结束交易日(yyyymmdd)
  22742. in: query
  22743. name: enddate
  22744. type: string
  22745. - description: 最近多少条
  22746. in: query
  22747. name: lastnum
  22748. type: integer
  22749. produces:
  22750. - application/json
  22751. responses:
  22752. "200":
  22753. description: OK
  22754. schema:
  22755. items:
  22756. $ref: '#/definitions/models.QhjScoreLog'
  22757. type: array
  22758. "500":
  22759. description: Internal Server Error
  22760. schema:
  22761. $ref: '#/definitions/app.Response'
  22762. security:
  22763. - ApiKeyAuth: []
  22764. summary: 查询积分流水(我的积分)
  22765. tags:
  22766. - 大连千海金
  22767. /Qhj/QuerySiteColumnDetail:
  22768. get:
  22769. parameters:
  22770. - description: 用户ID
  22771. in: query
  22772. name: userid
  22773. required: true
  22774. type: integer
  22775. produces:
  22776. - application/json
  22777. responses:
  22778. "200":
  22779. description: OK
  22780. schema:
  22781. items:
  22782. $ref: '#/definitions/models.QhjSiteColumnDetail'
  22783. type: array
  22784. "500":
  22785. description: Internal Server Error
  22786. schema:
  22787. $ref: '#/definitions/app.Response'
  22788. security:
  22789. - ApiKeyAuth: []
  22790. summary: 查询资讯
  22791. tags:
  22792. - 大连千海金
  22793. /Qhj/QueryTradeGoodsPickup:
  22794. get:
  22795. parameters:
  22796. - description: 用户ID
  22797. in: query
  22798. name: userid
  22799. required: true
  22800. type: integer
  22801. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  22802. 7:已拒绝 8:已撤销
  22803. in: query
  22804. name: takeorderstatus
  22805. type: integer
  22806. produces:
  22807. - application/json
  22808. responses:
  22809. "200":
  22810. description: OK
  22811. schema:
  22812. items:
  22813. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  22814. type: array
  22815. "500":
  22816. description: Internal Server Error
  22817. schema:
  22818. $ref: '#/definitions/app.Response'
  22819. security:
  22820. - ApiKeyAuth: []
  22821. summary: 查询提货
  22822. tags:
  22823. - 大连千海金
  22824. /Qhj/QueryUserCollectConfig:
  22825. get:
  22826. parameters:
  22827. - description: 用户ID
  22828. in: query
  22829. name: userid
  22830. required: true
  22831. type: integer
  22832. produces:
  22833. - application/json
  22834. responses:
  22835. "200":
  22836. description: OK
  22837. schema:
  22838. items:
  22839. $ref: '#/definitions/models.UserCollectConfig'
  22840. type: array
  22841. "500":
  22842. description: Internal Server Error
  22843. schema:
  22844. $ref: '#/definitions/app.Response'
  22845. security:
  22846. - ApiKeyAuth: []
  22847. summary: 查询提现账户设置
  22848. tags:
  22849. - 大连千海金
  22850. /Qhj/QueryUserReceiveInfo:
  22851. get:
  22852. parameters:
  22853. - description: 用户ID
  22854. in: query
  22855. name: userid
  22856. required: true
  22857. type: integer
  22858. produces:
  22859. - application/json
  22860. responses:
  22861. "200":
  22862. description: OK
  22863. schema:
  22864. items:
  22865. $ref: '#/definitions/models.UserReceiveInfo'
  22866. type: array
  22867. "500":
  22868. description: Internal Server Error
  22869. schema:
  22870. $ref: '#/definitions/app.Response'
  22871. security:
  22872. - ApiKeyAuth: []
  22873. summary: 查询收货地址信息
  22874. tags:
  22875. - 大连千海金
  22876. /QhjMgr/QueryAccountInOutApply:
  22877. get:
  22878. parameters:
  22879. - description: 查询类型 1-提现(出金) 2-充值(出金)
  22880. in: query
  22881. name: querytype
  22882. required: true
  22883. type: integer
  22884. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  22885. in: query
  22886. name: applystatus
  22887. type: integer
  22888. - description: 申请起始日期(格式yyyymmdd)
  22889. in: query
  22890. name: begindate
  22891. type: string
  22892. - description: 申请截止日期(格式yyyymmdd)
  22893. in: query
  22894. name: enddate
  22895. type: string
  22896. - description: 模糊搜索名称
  22897. in: query
  22898. name: likename
  22899. type: string
  22900. produces:
  22901. - application/json
  22902. responses:
  22903. "200":
  22904. description: OK
  22905. schema:
  22906. items:
  22907. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  22908. type: array
  22909. "500":
  22910. description: Internal Server Error
  22911. schema:
  22912. $ref: '#/definitions/app.Response'
  22913. security:
  22914. - ApiKeyAuth: []
  22915. summary: 查询充值提现
  22916. tags:
  22917. - 大连千海金(PCWeb)
  22918. /QhjMgr/QueryBrokerApply:
  22919. get:
  22920. parameters:
  22921. - description: 所属机构ID
  22922. in: query
  22923. name: userid
  22924. type: integer
  22925. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22926. in: query
  22927. name: filterstatus
  22928. type: string
  22929. - description: 名称(模糊匹配)
  22930. in: query
  22931. name: filtername
  22932. type: string
  22933. - description: 是否包含子级 1-包含
  22934. in: query
  22935. name: includesub
  22936. type: integer
  22937. produces:
  22938. - application/json
  22939. responses:
  22940. "200":
  22941. description: OK
  22942. schema:
  22943. items:
  22944. $ref: '#/definitions/models.QhjMgrBrokerApply'
  22945. type: array
  22946. "500":
  22947. description: Internal Server Error
  22948. schema:
  22949. $ref: '#/definitions/app.Response'
  22950. security:
  22951. - ApiKeyAuth: []
  22952. summary: 查询经纪人申请
  22953. tags:
  22954. - 大连千海金(PCWeb)
  22955. /QhjMgr/QueryBrokerRewardReport:
  22956. get:
  22957. parameters:
  22958. - description: 所属机构ID
  22959. in: query
  22960. name: userid
  22961. required: true
  22962. type: integer
  22963. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22964. in: query
  22965. name: cycletype
  22966. required: true
  22967. type: integer
  22968. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  22969. in: query
  22970. name: cycletime
  22971. required: true
  22972. type: string
  22973. - description: 名称(模糊匹配)
  22974. in: query
  22975. name: filtername
  22976. type: string
  22977. - description: 是否包含子级 1-包含
  22978. in: query
  22979. name: includesub
  22980. type: integer
  22981. produces:
  22982. - application/json
  22983. responses:
  22984. "200":
  22985. description: OK
  22986. schema:
  22987. items:
  22988. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  22989. type: array
  22990. "500":
  22991. description: Internal Server Error
  22992. schema:
  22993. $ref: '#/definitions/app.Response'
  22994. security:
  22995. - ApiKeyAuth: []
  22996. summary: 查询经纪人奖励报表(废弃)
  22997. tags:
  22998. - 大连千海金(PCWeb)
  22999. /QhjMgr/QueryContract:
  23000. get:
  23001. parameters:
  23002. - description: 用户ID
  23003. in: query
  23004. name: userid
  23005. type: integer
  23006. - description: 商品id
  23007. in: query
  23008. name: goodsid
  23009. type: integer
  23010. - description: 名称(模糊搜索账户)
  23011. in: query
  23012. name: filtername
  23013. type: string
  23014. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  23015. in: query
  23016. name: risklevel
  23017. type: string
  23018. - description: 开始交易日(yyyymmdd)
  23019. in: query
  23020. name: begindate
  23021. type: string
  23022. - description: 结束交易日(yyyymmdd)
  23023. in: query
  23024. name: enddate
  23025. type: string
  23026. produces:
  23027. - application/json
  23028. responses:
  23029. "200":
  23030. description: OK
  23031. schema:
  23032. items:
  23033. $ref: '#/definitions/models.QhjMgrContract'
  23034. type: array
  23035. "500":
  23036. description: Internal Server Error
  23037. schema:
  23038. $ref: '#/definitions/app.Response'
  23039. security:
  23040. - ApiKeyAuth: []
  23041. summary: 查询融资信息(合同)
  23042. tags:
  23043. - 大连千海金(PCWeb)
  23044. /QhjMgr/QueryCustomerInfo:
  23045. get:
  23046. parameters:
  23047. - description: 用户ID
  23048. in: query
  23049. name: userid
  23050. required: true
  23051. type: integer
  23052. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  23053. in: query
  23054. name: querytype
  23055. required: true
  23056. type: integer
  23057. - description: 客户类型 1-个人 2-企业
  23058. in: query
  23059. name: userinfotype
  23060. type: integer
  23061. - description: 客户名称(模糊匹配)
  23062. in: query
  23063. name: customername
  23064. type: string
  23065. - description: 昵称(模糊匹配)
  23066. in: query
  23067. name: nickname
  23068. type: string
  23069. - description: 是否包含子级 1-包含
  23070. in: query
  23071. name: includesub
  23072. type: integer
  23073. produces:
  23074. - application/json
  23075. responses:
  23076. "200":
  23077. description: OK
  23078. schema:
  23079. items:
  23080. $ref: '#/definitions/models.QhjMgrCustomer'
  23081. type: array
  23082. "500":
  23083. description: Internal Server Error
  23084. schema:
  23085. $ref: '#/definitions/app.Response'
  23086. security:
  23087. - ApiKeyAuth: []
  23088. summary: 查询客户资料
  23089. tags:
  23090. - 大连千海金(PCWeb)
  23091. /QhjMgr/QueryPickGoods:
  23092. get:
  23093. parameters:
  23094. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  23095. in: query
  23096. name: status
  23097. type: string
  23098. produces:
  23099. - application/json
  23100. responses:
  23101. "200":
  23102. description: OK
  23103. schema:
  23104. items:
  23105. $ref: '#/definitions/models.QhjMgrPickGoods'
  23106. type: array
  23107. "500":
  23108. description: Internal Server Error
  23109. schema:
  23110. $ref: '#/definitions/app.Response'
  23111. security:
  23112. - ApiKeyAuth: []
  23113. summary: 查询提货商品
  23114. tags:
  23115. - 大连千海金(PCWeb)
  23116. /QhjMgr/QuerySubArea:
  23117. get:
  23118. parameters:
  23119. - description: 用户ID
  23120. in: query
  23121. name: userid
  23122. required: true
  23123. type: integer
  23124. produces:
  23125. - application/json
  23126. responses:
  23127. "200":
  23128. description: OK
  23129. schema:
  23130. items:
  23131. $ref: '#/definitions/models.QhjMgrSubArea'
  23132. type: array
  23133. "500":
  23134. description: Internal Server Error
  23135. schema:
  23136. $ref: '#/definitions/app.Response'
  23137. security:
  23138. - ApiKeyAuth: []
  23139. summary: 查询子机构列表
  23140. tags:
  23141. - 大连千海金(PCWeb)
  23142. /QhjMgr/QueryTradeDetail:
  23143. get:
  23144. parameters:
  23145. - description: 用户ID
  23146. in: query
  23147. name: userid
  23148. required: true
  23149. type: integer
  23150. - description: 用户类型 1-个人 2-企业
  23151. in: query
  23152. name: userinfotype
  23153. type: integer
  23154. - description: 交易模式
  23155. in: query
  23156. name: trademode
  23157. type: integer
  23158. - description: 商品id
  23159. in: query
  23160. name: goodsid
  23161. type: integer
  23162. - description: 名称(模糊搜索账户)
  23163. in: query
  23164. name: filtername
  23165. type: string
  23166. - description: 开始交易日(yyyymmdd)
  23167. in: query
  23168. name: begindate
  23169. type: string
  23170. - description: 结束交易日(yyyymmdd)
  23171. in: query
  23172. name: enddate
  23173. type: string
  23174. - description: 是否包含子级 1-包含
  23175. in: query
  23176. name: includesub
  23177. type: integer
  23178. produces:
  23179. - application/json
  23180. responses:
  23181. "200":
  23182. description: OK
  23183. schema:
  23184. items:
  23185. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  23186. type: array
  23187. "500":
  23188. description: Internal Server Error
  23189. schema:
  23190. $ref: '#/definitions/app.Response'
  23191. security:
  23192. - ApiKeyAuth: []
  23193. summary: 查询成交明细
  23194. tags:
  23195. - 大连千海金(PCWeb)
  23196. /QhjMgr/QueryTradeOrderDetail:
  23197. get:
  23198. parameters:
  23199. - description: 用户ID
  23200. in: query
  23201. name: userid
  23202. required: true
  23203. type: integer
  23204. - description: 用户类型 1-个人 2-企业
  23205. in: query
  23206. name: userinfotype
  23207. type: integer
  23208. - description: 交易模式
  23209. in: query
  23210. name: trademode
  23211. type: integer
  23212. - description: 商品id
  23213. in: query
  23214. name: goodsid
  23215. type: integer
  23216. - description: 名称(模糊搜索账户)
  23217. in: query
  23218. name: filtername
  23219. type: string
  23220. - description: 开始交易日(yyyymmdd)
  23221. in: query
  23222. name: begindate
  23223. type: string
  23224. - description: 结束交易日(yyyymmdd)
  23225. in: query
  23226. name: enddate
  23227. type: string
  23228. - description: 是否包含子级 1-包含
  23229. in: query
  23230. name: includesub
  23231. type: integer
  23232. produces:
  23233. - application/json
  23234. responses:
  23235. "200":
  23236. description: OK
  23237. schema:
  23238. items:
  23239. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  23240. type: array
  23241. "500":
  23242. description: Internal Server Error
  23243. schema:
  23244. $ref: '#/definitions/app.Response'
  23245. security:
  23246. - ApiKeyAuth: []
  23247. summary: 查询委托明细
  23248. tags:
  23249. - 大连千海金(PCWeb)
  23250. /QhjMgr/QueryTradePayOrder:
  23251. get:
  23252. parameters:
  23253. - description: 用户ID
  23254. in: query
  23255. name: userid
  23256. required: true
  23257. type: integer
  23258. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  23259. in: query
  23260. name: payflag
  23261. type: string
  23262. - description: 用户类型 1-个人 2-企业
  23263. in: query
  23264. name: userinfotype
  23265. type: integer
  23266. - description: 交易模式
  23267. in: query
  23268. name: trademode
  23269. type: integer
  23270. - description: 商品id
  23271. in: query
  23272. name: goodsid
  23273. type: integer
  23274. - description: 名称(模糊搜索账户)
  23275. in: query
  23276. name: filtername
  23277. type: string
  23278. - description: 开始交易日(yyyymmdd)
  23279. in: query
  23280. name: begindate
  23281. type: string
  23282. - description: 结束交易日(yyyymmdd)
  23283. in: query
  23284. name: enddate
  23285. type: string
  23286. - description: 是否包含子级 1-包含
  23287. in: query
  23288. name: includesub
  23289. type: integer
  23290. produces:
  23291. - application/json
  23292. responses:
  23293. "200":
  23294. description: OK
  23295. schema:
  23296. items:
  23297. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  23298. type: array
  23299. "500":
  23300. description: Internal Server Error
  23301. schema:
  23302. $ref: '#/definitions/app.Response'
  23303. security:
  23304. - ApiKeyAuth: []
  23305. summary: 查询待付款单
  23306. tags:
  23307. - 大连千海金(PCWeb)
  23308. /QhjMgr/QueryTradePosition:
  23309. get:
  23310. parameters:
  23311. - description: 用户ID
  23312. in: query
  23313. name: userid
  23314. required: true
  23315. type: integer
  23316. - description: 用户类型 1-个人 2-企业
  23317. in: query
  23318. name: userinfotype
  23319. type: integer
  23320. - description: 交易模式
  23321. in: query
  23322. name: trademode
  23323. type: integer
  23324. - description: 商品id
  23325. in: query
  23326. name: goodsid
  23327. type: integer
  23328. - description: 名称(模糊搜索账户)
  23329. in: query
  23330. name: filtername
  23331. type: string
  23332. - description: 是否包含子级 1-包含
  23333. in: query
  23334. name: includesub
  23335. type: integer
  23336. produces:
  23337. - application/json
  23338. responses:
  23339. "200":
  23340. description: OK
  23341. schema:
  23342. items:
  23343. $ref: '#/definitions/models.QhjMgrPositionRsp'
  23344. type: array
  23345. "500":
  23346. description: Internal Server Error
  23347. schema:
  23348. $ref: '#/definitions/app.Response'
  23349. security:
  23350. - ApiKeyAuth: []
  23351. summary: 查询持仓汇总
  23352. tags:
  23353. - 大连千海金(PCWeb)
  23354. /QhjSys/QueryAgreementChangeLog:
  23355. get:
  23356. parameters:
  23357. - description: 协议ID
  23358. in: query
  23359. name: agreementid
  23360. type: integer
  23361. - description: 协议版本号
  23362. in: query
  23363. name: agreementversion
  23364. type: integer
  23365. - description: 协议类型 - 1:注册 2:登录 3:交易
  23366. in: query
  23367. name: agreementtype
  23368. type: integer
  23369. - description: 协议编号(模糊匹配)
  23370. in: query
  23371. name: agreementno
  23372. type: string
  23373. - description: 协议名称(模糊匹配)
  23374. in: query
  23375. name: agreementname
  23376. type: string
  23377. produces:
  23378. - application/json
  23379. responses:
  23380. "200":
  23381. description: OK
  23382. schema:
  23383. items:
  23384. $ref: '#/definitions/models.QhjAgreementChangeLog'
  23385. type: array
  23386. "500":
  23387. description: Internal Server Error
  23388. schema:
  23389. $ref: '#/definitions/app.Response'
  23390. security:
  23391. - ApiKeyAuth: []
  23392. summary: 查询协议配置变更流水
  23393. tags:
  23394. - 大连千海金(协议和签约信息)
  23395. /QhjSys/QueryAgreementConfig:
  23396. get:
  23397. parameters:
  23398. - description: 协议ID
  23399. in: query
  23400. name: agreementid
  23401. type: integer
  23402. - description: 协议版本号
  23403. in: query
  23404. name: agreementversion
  23405. type: integer
  23406. - description: 协议类型 - 1:注册 2:登录 3:交易
  23407. in: query
  23408. name: agreementtype
  23409. type: integer
  23410. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  23411. in: query
  23412. name: isvalid
  23413. type: integer
  23414. - description: 协议编号(模糊匹配)
  23415. in: query
  23416. name: agreementno
  23417. type: string
  23418. - description: 协议名称(模糊匹配)
  23419. in: query
  23420. name: agreementname
  23421. type: string
  23422. produces:
  23423. - application/json
  23424. responses:
  23425. "200":
  23426. description: OK
  23427. schema:
  23428. items:
  23429. $ref: '#/definitions/models.QhjAgreementConfig'
  23430. type: array
  23431. "500":
  23432. description: Internal Server Error
  23433. schema:
  23434. $ref: '#/definitions/app.Response'
  23435. security:
  23436. - ApiKeyAuth: []
  23437. summary: 查询协议配置
  23438. tags:
  23439. - 大连千海金(协议和签约信息)
  23440. /QhjSys/QueryCustomerSignStatus:
  23441. get:
  23442. parameters:
  23443. - description: 客户ID
  23444. in: query
  23445. name: userid
  23446. type: integer
  23447. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  23448. in: query
  23449. name: nodetype
  23450. type: integer
  23451. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23452. in: query
  23453. name: goodsid
  23454. type: integer
  23455. - description: 创建交易日(yyyyMMdd)
  23456. in: query
  23457. name: tradedate
  23458. type: string
  23459. - description: 用户名称(模糊匹配)
  23460. in: query
  23461. name: username
  23462. type: string
  23463. produces:
  23464. - application/json
  23465. responses:
  23466. "200":
  23467. description: OK
  23468. schema:
  23469. items:
  23470. $ref: '#/definitions/models.QhjCustomerSignStatus'
  23471. type: array
  23472. "500":
  23473. description: Internal Server Error
  23474. schema:
  23475. $ref: '#/definitions/app.Response'
  23476. security:
  23477. - ApiKeyAuth: []
  23478. summary: 查询客户协议签约状态
  23479. tags:
  23480. - 大连千海金(协议和签约信息)
  23481. /QhjSys/QueryNodeAgreementConfig:
  23482. get:
  23483. parameters:
  23484. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  23485. in: query
  23486. name: configid
  23487. type: integer
  23488. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23489. in: query
  23490. name: nodetype
  23491. type: integer
  23492. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23493. in: query
  23494. name: goodsid
  23495. type: integer
  23496. - description: 协议ID
  23497. in: query
  23498. name: agreementid
  23499. type: integer
  23500. - description: 协议类型 - 1:注册 2:登录 3:交易
  23501. in: query
  23502. name: agreementtype
  23503. type: integer
  23504. - description: 协议版本号
  23505. in: query
  23506. name: agreementversion
  23507. type: integer
  23508. - description: 协议编号(模糊匹配)
  23509. in: query
  23510. name: agreementno
  23511. type: string
  23512. - description: 协议名称(模糊匹配)
  23513. in: query
  23514. name: agreementname
  23515. type: string
  23516. produces:
  23517. - application/json
  23518. responses:
  23519. "200":
  23520. description: OK
  23521. schema:
  23522. items:
  23523. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  23524. type: array
  23525. "500":
  23526. description: Internal Server Error
  23527. schema:
  23528. $ref: '#/definitions/app.Response'
  23529. security:
  23530. - ApiKeyAuth: []
  23531. summary: 查询协议节点配置
  23532. tags:
  23533. - 大连千海金(协议和签约信息)
  23534. /QhjSys/QueryQhjCustomerSignLog:
  23535. get:
  23536. parameters:
  23537. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  23538. in: query
  23539. name: logid
  23540. type: integer
  23541. - description: 客户ID
  23542. in: query
  23543. name: userid
  23544. type: integer
  23545. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23546. in: query
  23547. name: nodetype
  23548. type: integer
  23549. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23550. in: query
  23551. name: goodsid
  23552. type: integer
  23553. - description: 协议ID
  23554. in: query
  23555. name: agreementid
  23556. type: integer
  23557. - description: 用户名称(模糊匹配)
  23558. in: query
  23559. name: username
  23560. type: string
  23561. - description: 协议编号(模糊匹配)
  23562. in: query
  23563. name: agreementno
  23564. type: string
  23565. - description: 协议名称(模糊匹配)
  23566. in: query
  23567. name: agreementname
  23568. type: string
  23569. produces:
  23570. - application/json
  23571. responses:
  23572. "200":
  23573. description: OK
  23574. schema:
  23575. items:
  23576. $ref: '#/definitions/models.QhjCustomerSignLog'
  23577. type: array
  23578. "500":
  23579. description: Internal Server Error
  23580. schema:
  23581. $ref: '#/definitions/app.Response'
  23582. security:
  23583. - ApiKeyAuth: []
  23584. summary: 查询客户协议签约流水
  23585. tags:
  23586. - 大连千海金(协议和签约信息)
  23587. /QhjSys/QueryUserNodeCfgAndStatus:
  23588. get:
  23589. parameters:
  23590. - description: 客户ID
  23591. in: query
  23592. name: userid
  23593. type: integer
  23594. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  23595. in: query
  23596. name: configid
  23597. type: integer
  23598. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23599. in: query
  23600. name: nodetype
  23601. type: string
  23602. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23603. in: query
  23604. name: goodsid
  23605. type: integer
  23606. - description: 协议ID
  23607. in: query
  23608. name: agreementid
  23609. type: integer
  23610. - description: 协议类型 - 1:注册 2:登录 3:交易
  23611. in: query
  23612. name: agreementtype
  23613. type: integer
  23614. - description: 协议版本号
  23615. in: query
  23616. name: agreementversion
  23617. type: integer
  23618. - description: 协议编号(模糊匹配)
  23619. in: query
  23620. name: agreementno
  23621. type: string
  23622. - description: 协议名称(模糊匹配)
  23623. in: query
  23624. name: agreementname
  23625. type: string
  23626. produces:
  23627. - application/json
  23628. responses:
  23629. "200":
  23630. description: OK
  23631. schema:
  23632. items:
  23633. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  23634. type: array
  23635. "500":
  23636. description: Internal Server Error
  23637. schema:
  23638. $ref: '#/definitions/app.Response'
  23639. security:
  23640. - ApiKeyAuth: []
  23641. summary: 查询用户协议节点配置和状态
  23642. tags:
  23643. - 大连千海金(协议和签约信息)
  23644. /Quote/QueryHistoryDatas:
  23645. get:
  23646. parameters:
  23647. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  23648. 日线'
  23649. in: query
  23650. name: cycleType
  23651. required: true
  23652. type: integer
  23653. - description: 商品代码
  23654. in: query
  23655. name: goodsCode
  23656. required: true
  23657. type: string
  23658. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  23659. in: query
  23660. name: startTime
  23661. type: string
  23662. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  23663. in: query
  23664. name: endTime
  23665. type: string
  23666. - description: 条数
  23667. in: query
  23668. name: count
  23669. type: integer
  23670. - description: 是否按时间顺序排序(默认为时间倒序排序)
  23671. in: query
  23672. name: isAsc
  23673. type: boolean
  23674. produces:
  23675. - application/json
  23676. responses:
  23677. "200":
  23678. description: OK
  23679. schema:
  23680. $ref: '#/definitions/quote.HistoryData'
  23681. "500":
  23682. description: Internal Server Error
  23683. schema:
  23684. $ref: '#/definitions/app.Response'
  23685. security:
  23686. - ApiKeyAuth: []
  23687. summary: 查询行情历史数据
  23688. tags:
  23689. - 行情服务
  23690. /Quote/QueryHistoryTikDatas:
  23691. get:
  23692. parameters:
  23693. - description: 商品代码
  23694. in: query
  23695. name: goodsCode
  23696. required: true
  23697. type: string
  23698. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  23699. in: query
  23700. name: startTime
  23701. type: string
  23702. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  23703. in: query
  23704. name: endTime
  23705. type: string
  23706. - description: 条数
  23707. in: query
  23708. name: count
  23709. type: integer
  23710. - description: 是否按时间顺序排序(默认为时间倒序排序)
  23711. in: query
  23712. name: isAsc
  23713. type: boolean
  23714. produces:
  23715. - application/json
  23716. responses:
  23717. "200":
  23718. description: OK
  23719. schema:
  23720. $ref: '#/definitions/quote.HistoryTikData'
  23721. "500":
  23722. description: Internal Server Error
  23723. schema:
  23724. $ref: '#/definitions/app.Response'
  23725. security:
  23726. - ApiKeyAuth: []
  23727. summary: 查询行情Tik数据
  23728. tags:
  23729. - 行情服务
  23730. /Quote/QueryQuoteDay:
  23731. get:
  23732. parameters:
  23733. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  23734. in: query
  23735. name: goodsCodes
  23736. required: true
  23737. type: string
  23738. produces:
  23739. - application/json
  23740. responses:
  23741. "200":
  23742. description: OK
  23743. schema:
  23744. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  23745. "500":
  23746. description: Internal Server Error
  23747. schema:
  23748. $ref: '#/definitions/app.Response'
  23749. security:
  23750. - ApiKeyAuth: []
  23751. summary: 获取商品盘面信息
  23752. tags:
  23753. - 行情服务
  23754. /Quote/QueryTSData:
  23755. get:
  23756. parameters:
  23757. - description: 商品代码
  23758. in: query
  23759. name: goodsCode
  23760. required: true
  23761. type: string
  23762. produces:
  23763. - application/json
  23764. responses:
  23765. "200":
  23766. description: OK
  23767. schema:
  23768. $ref: '#/definitions/quote.QueryTSDataRsp'
  23769. "500":
  23770. description: Internal Server Error
  23771. schema:
  23772. $ref: '#/definitions/app.Response'
  23773. security:
  23774. - ApiKeyAuth: []
  23775. summary: 分时图数据查询
  23776. tags:
  23777. - 行情服务
  23778. /SZDZ/QueryConvertConfig:
  23779. get:
  23780. parameters:
  23781. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  23782. 6:交易转花生米(不设置)
  23783. in: query
  23784. name: convertType
  23785. type: integer
  23786. - description: 外部商品代码[JD\PD]
  23787. in: query
  23788. name: outerGoodsCode
  23789. type: string
  23790. - description: 内部商品ID列表[交易],格式:1,2,3
  23791. in: query
  23792. name: innerGoodsIDs
  23793. type: string
  23794. produces:
  23795. - application/json
  23796. responses:
  23797. "200":
  23798. description: OK
  23799. schema:
  23800. $ref: '#/definitions/models.Szdz3convertconfig'
  23801. "500":
  23802. description: Internal Server Error
  23803. schema:
  23804. $ref: '#/definitions/app.Response'
  23805. security:
  23806. - ApiKeyAuth: []
  23807. summary: 查询交易系统转换设置
  23808. tags:
  23809. - 定制【尚志大宗】
  23810. /SZDZ/QueryConvertLog:
  23811. get:
  23812. parameters:
  23813. - description: 资金账户 - 格式:1,2,3
  23814. in: query
  23815. name: accountID
  23816. required: true
  23817. type: string
  23818. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23819. in: query
  23820. name: startDate
  23821. type: string
  23822. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23823. in: query
  23824. name: endDate
  23825. type: string
  23826. produces:
  23827. - application/json
  23828. responses:
  23829. "200":
  23830. description: OK
  23831. schema:
  23832. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  23833. "500":
  23834. description: Internal Server Error
  23835. schema:
  23836. $ref: '#/definitions/app.Response'
  23837. security:
  23838. - ApiKeyAuth: []
  23839. summary: 交易系统转换流水查询
  23840. tags:
  23841. - 定制【尚志大宗】
  23842. /SZDZ/QueryGoodsPickup:
  23843. get:
  23844. parameters:
  23845. - description: 资金账户 - 格式:1,2,3
  23846. in: query
  23847. name: accountID
  23848. required: true
  23849. type: string
  23850. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23851. in: query
  23852. name: takeOrderStatus
  23853. type: integer
  23854. produces:
  23855. - application/json
  23856. responses:
  23857. "200":
  23858. description: OK
  23859. schema:
  23860. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  23861. "500":
  23862. description: Internal Server Error
  23863. schema:
  23864. $ref: '#/definitions/app.Response'
  23865. security:
  23866. - ApiKeyAuth: []
  23867. summary: 商品提货单查询
  23868. tags:
  23869. - 定制【尚志大宗】
  23870. /SZDZ/QueryRecieptOrder:
  23871. get:
  23872. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  23873. parameters:
  23874. - description: 页码
  23875. in: query
  23876. name: page
  23877. type: integer
  23878. - description: 每页条数
  23879. in: query
  23880. name: pagesize
  23881. type: integer
  23882. - description: 商品ID
  23883. in: query
  23884. name: goodsID
  23885. required: true
  23886. type: integer
  23887. - description: 所属账户名称
  23888. in: query
  23889. name: accountName
  23890. type: string
  23891. - description: 市场ID
  23892. in: query
  23893. name: marketID
  23894. type: integer
  23895. - description: 方向 - 0:买 1:卖
  23896. in: query
  23897. name: buyorsell
  23898. required: true
  23899. type: integer
  23900. produces:
  23901. - application/json
  23902. responses:
  23903. "200":
  23904. description: OK
  23905. schema:
  23906. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  23907. "500":
  23908. description: Internal Server Error
  23909. schema:
  23910. $ref: '#/definitions/app.Response'
  23911. security:
  23912. - ApiKeyAuth: []
  23913. summary: 点选挂牌委托单据查询(摘牌大厅)
  23914. tags:
  23915. - 定制【尚志大宗】
  23916. /SZDZ/QuerySZDZTradePosition:
  23917. get:
  23918. parameters:
  23919. - description: 资金账户
  23920. in: query
  23921. name: accountID
  23922. required: true
  23923. type: integer
  23924. produces:
  23925. - application/json
  23926. responses:
  23927. "200":
  23928. description: OK
  23929. schema:
  23930. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  23931. "500":
  23932. description: Internal Server Error
  23933. schema:
  23934. $ref: '#/definitions/app.Response'
  23935. security:
  23936. - ApiKeyAuth: []
  23937. summary: 持仓汇总查询(尚志大宗)
  23938. tags:
  23939. - 定制【尚志大宗】
  23940. /SZDZ/SearchWhite:
  23941. get:
  23942. parameters:
  23943. - description: 用户ID
  23944. in: query
  23945. name: userID
  23946. required: true
  23947. type: integer
  23948. produces:
  23949. - application/json
  23950. responses:
  23951. "200":
  23952. description: OK
  23953. schema:
  23954. $ref: '#/definitions/models.Szdz3searchwhitelist'
  23955. "500":
  23956. description: Internal Server Error
  23957. schema:
  23958. $ref: '#/definitions/app.Response'
  23959. security:
  23960. - ApiKeyAuth: []
  23961. summary: 搜索白名单
  23962. tags:
  23963. - 定制【尚志大宗】
  23964. /Search/SearchGoodses:
  23965. get:
  23966. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  23967. parameters:
  23968. - description: 检索内容
  23969. in: query
  23970. name: content
  23971. required: true
  23972. type: string
  23973. - description: 交易模式,格式:1,2,3
  23974. in: query
  23975. name: tradeModes
  23976. type: string
  23977. produces:
  23978. - application/json
  23979. responses:
  23980. "200":
  23981. description: OK
  23982. schema:
  23983. $ref: '#/definitions/models.SearchGoods'
  23984. "500":
  23985. description: Internal Server Error
  23986. schema:
  23987. $ref: '#/definitions/app.Response'
  23988. summary: 检索商品信息
  23989. tags:
  23990. - 检索服务
  23991. /TaAccount/GetTaAccounts:
  23992. get:
  23993. parameters:
  23994. - description: 登录账户
  23995. in: query
  23996. name: loginID
  23997. required: true
  23998. type: integer
  23999. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  24000. in: query
  24001. name: taAccountType
  24002. type: integer
  24003. produces:
  24004. - application/json
  24005. responses:
  24006. "200":
  24007. description: OK
  24008. schema:
  24009. $ref: '#/definitions/models.Taaccount'
  24010. "500":
  24011. description: Internal Server Error
  24012. schema:
  24013. $ref: '#/definitions/app.Response'
  24014. security:
  24015. - ApiKeyAuth: []
  24016. summary: 获取资金账户信息
  24017. tags:
  24018. - 资金账户
  24019. /TaAccount/QueryAmountLog:
  24020. get:
  24021. parameters:
  24022. - description: 页码
  24023. in: query
  24024. name: page
  24025. type: integer
  24026. - description: 每页条数
  24027. in: query
  24028. name: pagesize
  24029. type: integer
  24030. - description: 资金账户 - 格式:1,2,3
  24031. in: query
  24032. name: accountID
  24033. required: true
  24034. type: string
  24035. - description: 资金操作类型 - 格式:1,2,3
  24036. in: query
  24037. name: OperateType
  24038. type: string
  24039. produces:
  24040. - application/json
  24041. responses:
  24042. "200":
  24043. description: OK
  24044. schema:
  24045. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  24046. "500":
  24047. description: Internal Server Error
  24048. schema:
  24049. $ref: '#/definitions/app.Response'
  24050. security:
  24051. - ApiKeyAuth: []
  24052. summary: 资金流水查询(当前)
  24053. tags:
  24054. - 资金账户
  24055. /TaAccount/QueryHisAmountLog:
  24056. get:
  24057. parameters:
  24058. - description: 页码
  24059. in: query
  24060. name: page
  24061. type: integer
  24062. - description: 每页条数
  24063. in: query
  24064. name: pagesize
  24065. type: integer
  24066. - description: 资金账户 - 格式:1,2,3
  24067. in: query
  24068. name: accountID
  24069. required: true
  24070. type: string
  24071. - description: 资金操作类型 - 格式:1,2,3
  24072. in: query
  24073. name: OperateType
  24074. type: string
  24075. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24076. in: query
  24077. name: startDate
  24078. type: string
  24079. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24080. in: query
  24081. name: endDate
  24082. type: string
  24083. produces:
  24084. - application/json
  24085. responses:
  24086. "200":
  24087. description: OK
  24088. schema:
  24089. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  24090. "500":
  24091. description: Internal Server Error
  24092. schema:
  24093. $ref: '#/definitions/app.Response'
  24094. security:
  24095. - ApiKeyAuth: []
  24096. summary: 资金流水查询(历史)
  24097. tags:
  24098. - 资金账户
  24099. /Trade/QueryRecieptOrder:
  24100. get:
  24101. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  24102. parameters:
  24103. - description: 页码
  24104. in: query
  24105. name: page
  24106. type: integer
  24107. - description: 每页条数
  24108. in: query
  24109. name: pagesize
  24110. type: integer
  24111. - description: 商品ID
  24112. in: query
  24113. name: goodsID
  24114. required: true
  24115. type: integer
  24116. - description: 所属账户名称
  24117. in: query
  24118. name: accountName
  24119. type: string
  24120. - description: 市场ID
  24121. in: query
  24122. name: marketID
  24123. type: integer
  24124. - description: 方向 - 0:买 1:卖
  24125. in: query
  24126. name: buyorsell
  24127. required: true
  24128. type: integer
  24129. produces:
  24130. - application/json
  24131. responses:
  24132. "200":
  24133. description: OK
  24134. schema:
  24135. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  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/AddMessageBoard:
  24146. post:
  24147. parameters:
  24148. - description: 用户ID
  24149. in: query
  24150. name: userID
  24151. required: true
  24152. type: integer
  24153. - description: 留言信息
  24154. in: query
  24155. name: message
  24156. required: true
  24157. type: string
  24158. - description: 联系电话
  24159. in: query
  24160. name: contactNum
  24161. required: true
  24162. type: string
  24163. produces:
  24164. - application/json
  24165. responses:
  24166. "200":
  24167. description: OK
  24168. schema:
  24169. $ref: '#/definitions/app.Response'
  24170. "500":
  24171. description: Internal Server Error
  24172. schema:
  24173. $ref: '#/definitions/app.Response'
  24174. security:
  24175. - ApiKeyAuth: []
  24176. summary: 添加用户留言板信息
  24177. tags:
  24178. - 用户信息
  24179. /User/AddUserFavoriteGoods:
  24180. post:
  24181. parameters:
  24182. - description: 用户ID
  24183. in: query
  24184. name: userID
  24185. required: true
  24186. type: integer
  24187. - description: 商品ID
  24188. in: query
  24189. name: goodsID
  24190. required: true
  24191. type: integer
  24192. produces:
  24193. - application/json
  24194. responses:
  24195. "200":
  24196. description: OK
  24197. schema:
  24198. $ref: '#/definitions/app.Response'
  24199. "500":
  24200. description: Internal Server Error
  24201. schema:
  24202. $ref: '#/definitions/app.Response'
  24203. security:
  24204. - ApiKeyAuth: []
  24205. summary: 添加用户商品收藏信息
  24206. tags:
  24207. - 用户信息
  24208. /User/GetLoginID:
  24209. get:
  24210. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  24211. parameters:
  24212. - description: 登录代码
  24213. in: query
  24214. name: username
  24215. required: true
  24216. type: string
  24217. produces:
  24218. - application/json
  24219. responses:
  24220. "200":
  24221. description: OK
  24222. schema:
  24223. $ref: '#/definitions/app.Response'
  24224. "500":
  24225. description: Internal Server Error
  24226. schema:
  24227. $ref: '#/definitions/app.Response'
  24228. summary: 获取登录ID
  24229. tags:
  24230. - 用户信息
  24231. /User/GetUserAccount:
  24232. get:
  24233. parameters:
  24234. - description: 用户ID
  24235. in: query
  24236. name: userID
  24237. required: true
  24238. type: integer
  24239. produces:
  24240. - application/json
  24241. responses:
  24242. "200":
  24243. description: OK
  24244. schema:
  24245. $ref: '#/definitions/models.Useraccount'
  24246. "500":
  24247. description: Internal Server Error
  24248. schema:
  24249. $ref: '#/definitions/app.Response'
  24250. security:
  24251. - ApiKeyAuth: []
  24252. summary: 获取用户账号信息
  24253. tags:
  24254. - 用户信息
  24255. /User/GetUserAuthStatus:
  24256. get:
  24257. parameters:
  24258. - description: 用户ID
  24259. in: query
  24260. name: userID
  24261. required: true
  24262. type: integer
  24263. produces:
  24264. - application/json
  24265. responses:
  24266. "200":
  24267. description: OK
  24268. schema:
  24269. $ref: '#/definitions/app.Response'
  24270. "500":
  24271. description: Internal Server Error
  24272. schema:
  24273. $ref: '#/definitions/app.Response'
  24274. security:
  24275. - ApiKeyAuth: []
  24276. summary: 获取用户实名认证状态
  24277. tags:
  24278. - 用户信息
  24279. /User/LoginQuery:
  24280. get:
  24281. parameters:
  24282. - description: 登录账号
  24283. in: query
  24284. name: loginID
  24285. required: true
  24286. type: integer
  24287. produces:
  24288. - application/json
  24289. responses:
  24290. "200":
  24291. description: OK
  24292. schema:
  24293. $ref: '#/definitions/user.LoginQueryRsp'
  24294. "500":
  24295. description: Internal Server Error
  24296. schema:
  24297. $ref: '#/definitions/app.Response'
  24298. security:
  24299. - ApiKeyAuth: []
  24300. summary: 账户登录后信息查询
  24301. tags:
  24302. - 用户信息
  24303. /User/QueryMessageBoard:
  24304. get:
  24305. parameters:
  24306. - description: 用户ID
  24307. in: query
  24308. name: userID
  24309. required: true
  24310. type: integer
  24311. produces:
  24312. - application/json
  24313. responses:
  24314. "200":
  24315. description: OK
  24316. schema:
  24317. $ref: '#/definitions/models.Messageboard'
  24318. "500":
  24319. description: Internal Server Error
  24320. schema:
  24321. $ref: '#/definitions/app.Response'
  24322. security:
  24323. - ApiKeyAuth: []
  24324. summary: 获取用户留言板信息
  24325. tags:
  24326. - 用户信息
  24327. /User/QueryUserFavoriteGoodses:
  24328. get:
  24329. parameters:
  24330. - description: 用户ID
  24331. in: query
  24332. name: userID
  24333. required: true
  24334. type: integer
  24335. produces:
  24336. - application/json
  24337. responses:
  24338. "200":
  24339. description: OK
  24340. schema:
  24341. $ref: '#/definitions/models.Userfavoritegoods'
  24342. "500":
  24343. description: Internal Server Error
  24344. schema:
  24345. $ref: '#/definitions/app.Response'
  24346. security:
  24347. - ApiKeyAuth: []
  24348. summary: 获取用户商品收藏信息
  24349. tags:
  24350. - 用户信息
  24351. /User/QueryUserInfo:
  24352. get:
  24353. parameters:
  24354. - description: 用户ID
  24355. in: query
  24356. name: userID
  24357. required: true
  24358. type: integer
  24359. - description: 是否解密
  24360. in: query
  24361. name: isDecrypt
  24362. type: boolean
  24363. produces:
  24364. - application/json
  24365. responses:
  24366. "200":
  24367. description: OK
  24368. schema:
  24369. $ref: '#/definitions/models.Userinfo'
  24370. "500":
  24371. description: Internal Server Error
  24372. schema:
  24373. $ref: '#/definitions/app.Response'
  24374. security:
  24375. - ApiKeyAuth: []
  24376. summary: 获取用户信息
  24377. tags:
  24378. - 用户信息
  24379. /User/QueryUserReferNum:
  24380. get:
  24381. parameters:
  24382. - description: 用户ID
  24383. in: query
  24384. name: userID
  24385. required: true
  24386. type: integer
  24387. produces:
  24388. - application/json
  24389. responses:
  24390. "200":
  24391. description: OK
  24392. schema:
  24393. $ref: '#/definitions/app.Response'
  24394. "500":
  24395. description: Internal Server Error
  24396. schema:
  24397. $ref: '#/definitions/app.Response'
  24398. summary: 获取用户邀请码
  24399. tags:
  24400. - 用户信息
  24401. /User/RemoveUserFavoriteGoods:
  24402. post:
  24403. parameters:
  24404. - description: 用户ID
  24405. in: query
  24406. name: userID
  24407. required: true
  24408. type: integer
  24409. - description: 商品ID
  24410. in: query
  24411. name: goodsID
  24412. required: true
  24413. type: integer
  24414. produces:
  24415. - application/json
  24416. responses:
  24417. "200":
  24418. description: OK
  24419. schema:
  24420. $ref: '#/definitions/app.Response'
  24421. "500":
  24422. description: Internal Server Error
  24423. schema:
  24424. $ref: '#/definitions/app.Response'
  24425. security:
  24426. - ApiKeyAuth: []
  24427. summary: 移除用户商品收藏信息
  24428. tags:
  24429. - 用户信息
  24430. /User/UpdateUserAccountStatus:
  24431. post:
  24432. parameters:
  24433. - description: 用户ID
  24434. in: query
  24435. name: userID
  24436. required: true
  24437. type: integer
  24438. - description: 账户状态 - 4:正常 6:注销(停用)
  24439. in: query
  24440. name: accountStatus
  24441. required: true
  24442. type: integer
  24443. produces:
  24444. - application/json
  24445. responses:
  24446. "200":
  24447. description: OK
  24448. schema:
  24449. $ref: '#/definitions/app.Response'
  24450. "500":
  24451. description: Internal Server Error
  24452. schema:
  24453. $ref: '#/definitions/app.Response'
  24454. security:
  24455. - ApiKeyAuth: []
  24456. summary: 更新用户状态
  24457. tags:
  24458. - 用户信息
  24459. /WRTrade/GetAllDeliveryGoods:
  24460. get:
  24461. produces:
  24462. - application/json
  24463. - application/json
  24464. responses:
  24465. "200":
  24466. description: OK
  24467. schema:
  24468. $ref: '#/definitions/app.Response'
  24469. "500":
  24470. description: Internal Server Error
  24471. schema:
  24472. $ref: '#/definitions/app.Response'
  24473. security:
  24474. - ApiKeyAuth: []
  24475. - ApiKeyAuth: []
  24476. summary: 获取带仓单分类的种类信息
  24477. tags:
  24478. - 仓单贸易
  24479. - 仓单贸易
  24480. /WrTrade2/QueryFaProductDetail:
  24481. get:
  24482. description: 页面 买卖大厅 -> 选择融资方案
  24483. parameters:
  24484. - description: 仓单要素id
  24485. in: query
  24486. name: wrfactortypeid
  24487. required: true
  24488. type: integer
  24489. produces:
  24490. - application/json
  24491. responses:
  24492. "200":
  24493. description: OK
  24494. schema:
  24495. items:
  24496. $ref: '#/definitions/models.WrFAProductDetail'
  24497. type: array
  24498. "500":
  24499. description: Internal Server Error
  24500. schema:
  24501. $ref: '#/definitions/app.Response'
  24502. security:
  24503. - ApiKeyAuth: []
  24504. summary: 查询融资产品列表
  24505. tags:
  24506. - 仓单贸易v2
  24507. /WrTrade2/QueryFilterItem:
  24508. get:
  24509. parameters:
  24510. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  24511. in: query
  24512. name: itype
  24513. required: true
  24514. type: string
  24515. produces:
  24516. - application/json
  24517. responses:
  24518. "200":
  24519. description: OK
  24520. schema:
  24521. items:
  24522. $ref: '#/definitions/models.WrFilterItem'
  24523. type: array
  24524. "500":
  24525. description: Internal Server Error
  24526. schema:
  24527. $ref: '#/definitions/app.Response'
  24528. security:
  24529. - ApiKeyAuth: []
  24530. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  24531. tags:
  24532. - 仓单贸易v2
  24533. /WrTrade2/QueryFtDeliveryGoods:
  24534. get:
  24535. produces:
  24536. - application/json
  24537. responses:
  24538. "200":
  24539. description: OK
  24540. schema:
  24541. items:
  24542. $ref: '#/definitions/models.WrFtDeliveryGoods'
  24543. type: array
  24544. "500":
  24545. description: Internal Server Error
  24546. schema:
  24547. $ref: '#/definitions/app.Response'
  24548. security:
  24549. - ApiKeyAuth: []
  24550. summary: 查询品种品类筛选框列表
  24551. tags:
  24552. - 仓单贸易v2
  24553. /WrTrade2/QueryHoldLB:
  24554. get:
  24555. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  24556. parameters:
  24557. - description: 资金账号
  24558. in: query
  24559. name: accountid
  24560. required: true
  24561. type: integer
  24562. - description: 仓库id
  24563. in: query
  24564. name: warehouseid
  24565. type: integer
  24566. - description: 品种id
  24567. in: query
  24568. name: deliverygoodsid
  24569. type: integer
  24570. - description: 品类id
  24571. in: query
  24572. name: wrstandardid
  24573. type: integer
  24574. - description: 仓单要素id
  24575. in: query
  24576. name: wrfactortypeid
  24577. type: integer
  24578. produces:
  24579. - application/json
  24580. responses:
  24581. "200":
  24582. description: OK
  24583. schema:
  24584. items:
  24585. $ref: '#/definitions/models.WrHoldLB'
  24586. type: array
  24587. "500":
  24588. description: Internal Server Error
  24589. schema:
  24590. $ref: '#/definitions/app.Response'
  24591. security:
  24592. - ApiKeyAuth: []
  24593. summary: 查询仓单持有记录
  24594. tags:
  24595. - 仓单贸易v2
  24596. /WrTrade2/QueryOrderQuote:
  24597. get:
  24598. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  24599. 唯一确定1条记录
  24600. parameters:
  24601. - description: 页码
  24602. in: query
  24603. name: page
  24604. type: integer
  24605. - description: 每页条数
  24606. in: query
  24607. name: pagesize
  24608. type: integer
  24609. - description: 仓单贸易市场id
  24610. in: query
  24611. name: marketid
  24612. type: integer
  24613. - description: 价格方式 - 1:固定价 2-浮动价
  24614. in: query
  24615. name: wrpricetype
  24616. required: true
  24617. type: integer
  24618. - description: 0:仓单预售 1:仓单贸易
  24619. in: query
  24620. name: haswr
  24621. required: true
  24622. type: integer
  24623. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  24624. in: query
  24625. name: dgitemname
  24626. type: string
  24627. - description: 仓库id(筛选条件)
  24628. in: query
  24629. name: warehouseid
  24630. type: integer
  24631. - description: 品种id
  24632. in: query
  24633. name: deliverygoodsid
  24634. type: integer
  24635. - description: 品类id
  24636. in: query
  24637. name: wrstandardid
  24638. type: integer
  24639. - description: 仓单要素id
  24640. in: query
  24641. name: wrfactortypeid
  24642. type: integer
  24643. - description: 交收月(yyyy-mm) 仓单预售填写
  24644. in: query
  24645. name: deliverymonth
  24646. type: string
  24647. produces:
  24648. - application/json
  24649. responses:
  24650. "200":
  24651. description: OK
  24652. schema:
  24653. items:
  24654. $ref: '#/definitions/models.WrOrderQuote'
  24655. type: array
  24656. "500":
  24657. description: Internal Server Error
  24658. schema:
  24659. $ref: '#/definitions/app.Response'
  24660. security:
  24661. - ApiKeyAuth: []
  24662. summary: 查询大厅行情列表
  24663. tags:
  24664. - 仓单贸易v2
  24665. /WrTrade2/QueryOrderQuoteDetail:
  24666. get:
  24667. parameters:
  24668. - description: 页码
  24669. in: query
  24670. name: page
  24671. type: integer
  24672. - description: 每页条数
  24673. in: query
  24674. name: pagesize
  24675. type: integer
  24676. - description: 仓单贸易市场id
  24677. in: query
  24678. name: marketid
  24679. type: integer
  24680. - description: 价格方式 - 1:固定价 2-浮动价
  24681. in: query
  24682. name: wrpricetype
  24683. required: true
  24684. type: integer
  24685. - description: 0:仓单预售 1:仓单贸易
  24686. in: query
  24687. name: haswr
  24688. required: true
  24689. type: integer
  24690. - description: 仓单要素id
  24691. in: query
  24692. name: wrfactortypeid
  24693. required: true
  24694. type: integer
  24695. - description: 期货商品id(浮动价方式时填)
  24696. in: query
  24697. name: goodsid
  24698. type: integer
  24699. - description: 买卖方向 0-买 1-卖
  24700. in: query
  24701. name: buyorsell
  24702. required: true
  24703. type: integer
  24704. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  24705. in: query
  24706. name: deliverymonth
  24707. type: string
  24708. produces:
  24709. - application/json
  24710. responses:
  24711. "200":
  24712. description: OK
  24713. schema:
  24714. items:
  24715. $ref: '#/definitions/models.WrOrderQuoteDetail'
  24716. type: array
  24717. "500":
  24718. description: Internal Server Error
  24719. schema:
  24720. $ref: '#/definitions/app.Response'
  24721. security:
  24722. - ApiKeyAuth: []
  24723. summary: 查询买卖大厅
  24724. tags:
  24725. - 仓单贸易v2
  24726. /WrTrade2/QueryOrderQuoteMyq:
  24727. get:
  24728. parameters:
  24729. - description: 页码
  24730. in: query
  24731. name: page
  24732. type: integer
  24733. - description: 每页条数
  24734. in: query
  24735. name: pagesize
  24736. type: integer
  24737. - description: 用户id
  24738. in: query
  24739. name: userid
  24740. required: true
  24741. type: integer
  24742. - description: 仓单贸易市场id
  24743. in: query
  24744. name: marketid
  24745. type: integer
  24746. - description: 0:仓单预售 1:仓单贸易
  24747. in: query
  24748. name: haswr
  24749. required: true
  24750. type: integer
  24751. - description: 买卖方向 0-买 1-卖
  24752. in: query
  24753. name: buyorsell
  24754. required: true
  24755. type: integer
  24756. - description: 品种id
  24757. in: query
  24758. name: deliverygoodsid
  24759. type: integer
  24760. - description: 品类id
  24761. in: query
  24762. name: wrstandardid
  24763. type: integer
  24764. - description: 交收月(yyyy-mm) 仓单预售填写
  24765. in: query
  24766. name: deliverymonth
  24767. type: string
  24768. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  24769. in: query
  24770. name: dgitemname
  24771. type: string
  24772. produces:
  24773. - application/json
  24774. responses:
  24775. "200":
  24776. description: OK
  24777. schema:
  24778. items:
  24779. $ref: '#/definitions/models.WrQuoteOrderMyq'
  24780. type: array
  24781. "500":
  24782. description: Internal Server Error
  24783. schema:
  24784. $ref: '#/definitions/app.Response'
  24785. security:
  24786. - ApiKeyAuth: []
  24787. summary: 查询贸易圈挂牌大厅
  24788. tags:
  24789. - 仓单贸易v2
  24790. /WrTrade2/QueryPerformancePlan:
  24791. get:
  24792. parameters:
  24793. - description: 用户id
  24794. in: query
  24795. name: userid
  24796. required: true
  24797. type: integer
  24798. - description: 买卖方向 0-买 1-卖
  24799. in: query
  24800. name: buyorsell
  24801. required: true
  24802. type: integer
  24803. produces:
  24804. - application/json
  24805. responses:
  24806. "200":
  24807. description: OK
  24808. schema:
  24809. items:
  24810. $ref: '#/definitions/models.WrPerformancePlan'
  24811. type: array
  24812. "500":
  24813. description: Internal Server Error
  24814. schema:
  24815. $ref: '#/definitions/app.Response'
  24816. security:
  24817. - ApiKeyAuth: []
  24818. summary: 查询履约信息
  24819. tags:
  24820. - 仓单贸易v2
  24821. /WrTrade2/QueryPermancePlanTmp:
  24822. get:
  24823. description: 返回指定用户的模板和公共模板(用户id为空)
  24824. parameters:
  24825. - description: 用户id
  24826. in: query
  24827. name: userid
  24828. type: integer
  24829. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  24830. (无仓单) 5:挂牌期权 6:竞拍-降价式
  24831. in: query
  24832. name: tmptype
  24833. type: string
  24834. - description: 是否包含公共模板(用户id为空的) 1-包含
  24835. in: query
  24836. name: includepub
  24837. type: integer
  24838. produces:
  24839. - application/json
  24840. responses:
  24841. "200":
  24842. description: OK
  24843. schema:
  24844. items:
  24845. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  24846. type: array
  24847. "500":
  24848. description: Internal Server Error
  24849. schema:
  24850. $ref: '#/definitions/app.Response'
  24851. security:
  24852. - ApiKeyAuth: []
  24853. summary: 查询履约模板
  24854. tags:
  24855. - 仓单贸易v2
  24856. /WrTrade2/QueryWrAverageTradePrice:
  24857. get:
  24858. parameters:
  24859. - description: 页码
  24860. in: query
  24861. name: page
  24862. type: integer
  24863. - description: 每页条数
  24864. in: query
  24865. name: pagesize
  24866. type: integer
  24867. - description: 0:仓单预售 1:仓单贸易
  24868. in: query
  24869. name: haswr
  24870. required: true
  24871. type: integer
  24872. - description: 仓单要素id
  24873. in: query
  24874. name: wrfactortypeid
  24875. required: true
  24876. type: integer
  24877. produces:
  24878. - application/json
  24879. responses:
  24880. "200":
  24881. description: OK
  24882. schema:
  24883. items:
  24884. $ref: '#/definitions/models.WrAverageTradePrice'
  24885. type: array
  24886. "500":
  24887. description: Internal Server Error
  24888. schema:
  24889. $ref: '#/definitions/app.Response'
  24890. security:
  24891. - ApiKeyAuth: []
  24892. summary: 查询成交价(历史走势)
  24893. tags:
  24894. - 仓单贸易v2
  24895. /WrTrade2/QueryWrBsGoodsInfo:
  24896. get:
  24897. description: 合约交易/买卖大厅/详情
  24898. parameters:
  24899. - description: 商品id
  24900. in: query
  24901. name: goodsid
  24902. required: true
  24903. type: integer
  24904. produces:
  24905. - application/json
  24906. responses:
  24907. "200":
  24908. description: OK
  24909. schema:
  24910. items:
  24911. $ref: '#/definitions/models.WrBsGoodsInfo'
  24912. type: array
  24913. "500":
  24914. description: Internal Server Error
  24915. schema:
  24916. $ref: '#/definitions/app.Response'
  24917. security:
  24918. - ApiKeyAuth: []
  24919. summary: 查询合约交易买卖大厅详情
  24920. tags:
  24921. - 仓单贸易v2
  24922. /WrTrade2/QueryWrBuybackDetail:
  24923. get:
  24924. parameters:
  24925. - description: 融资合同id
  24926. in: query
  24927. name: scfcontractid
  24928. type: integer
  24929. produces:
  24930. - application/json
  24931. responses:
  24932. "200":
  24933. description: OK
  24934. schema:
  24935. items:
  24936. $ref: '#/definitions/models.WrBuybackDetail'
  24937. type: array
  24938. "500":
  24939. description: Internal Server Error
  24940. schema:
  24941. $ref: '#/definitions/app.Response'
  24942. security:
  24943. - ApiKeyAuth: []
  24944. summary: 查询仓单回购明细
  24945. tags:
  24946. - 仓单贸易v2
  24947. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  24948. get:
  24949. parameters:
  24950. - description: 资金账号
  24951. in: query
  24952. name: accountid
  24953. required: true
  24954. type: integer
  24955. - description: 商品id
  24956. in: query
  24957. name: goodsid
  24958. required: true
  24959. type: integer
  24960. produces:
  24961. - application/json
  24962. responses:
  24963. "200":
  24964. description: OK
  24965. schema:
  24966. items:
  24967. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  24968. type: array
  24969. "500":
  24970. description: Internal Server Error
  24971. schema:
  24972. $ref: '#/definitions/app.Response'
  24973. security:
  24974. - ApiKeyAuth: []
  24975. summary: 查询合约交收可点选仓单
  24976. tags:
  24977. - 仓单贸易v2
  24978. /WrTrade2/QueryWrDeliveryDetail:
  24979. get:
  24980. parameters:
  24981. - description: 用户id
  24982. in: query
  24983. name: userid
  24984. required: true
  24985. type: integer
  24986. - description: 资金账号id
  24987. in: query
  24988. name: accountid
  24989. type: integer
  24990. produces:
  24991. - application/json
  24992. responses:
  24993. "200":
  24994. description: OK
  24995. schema:
  24996. items:
  24997. $ref: '#/definitions/models.WrDeliveryDetail'
  24998. type: array
  24999. "500":
  25000. description: Internal Server Error
  25001. schema:
  25002. $ref: '#/definitions/app.Response'
  25003. security:
  25004. - ApiKeyAuth: []
  25005. summary: 查询交收
  25006. tags:
  25007. - 仓单贸易v2
  25008. /WrTrade2/QueryWrFactorTypeInfo:
  25009. get:
  25010. parameters:
  25011. - description: 仓单要素id
  25012. in: query
  25013. name: wrfactortypeid
  25014. required: true
  25015. type: integer
  25016. produces:
  25017. - application/json
  25018. responses:
  25019. "200":
  25020. description: OK
  25021. schema:
  25022. items:
  25023. $ref: '#/definitions/models.WrFactorTypeInfo'
  25024. type: array
  25025. "500":
  25026. description: Internal Server Error
  25027. schema:
  25028. $ref: '#/definitions/app.Response'
  25029. security:
  25030. - ApiKeyAuth: []
  25031. summary: 查询仓单要素详细信息
  25032. tags:
  25033. - 仓单贸易v2
  25034. /WrTrade2/QueryWrFactorTypeInfoEx:
  25035. get:
  25036. parameters:
  25037. - description: 仓单要素id
  25038. in: query
  25039. name: wrfactortypeid
  25040. required: true
  25041. type: integer
  25042. produces:
  25043. - application/json
  25044. responses:
  25045. "200":
  25046. description: OK
  25047. schema:
  25048. items:
  25049. $ref: '#/definitions/models.WrTypeItem'
  25050. type: array
  25051. "500":
  25052. description: Internal Server Error
  25053. schema:
  25054. $ref: '#/definitions/app.Response'
  25055. security:
  25056. - ApiKeyAuth: []
  25057. summary: 查询仓单要素详细信息列表项
  25058. tags:
  25059. - 仓单贸易v2
  25060. /WrTrade2/QueryWrFinanceBuyApply:
  25061. get:
  25062. description: 页面 融资信息+ / 申请单
  25063. parameters:
  25064. - description: 用户id
  25065. in: query
  25066. name: userid
  25067. required: true
  25068. type: integer
  25069. produces:
  25070. - application/json
  25071. responses:
  25072. "200":
  25073. description: OK
  25074. schema:
  25075. items:
  25076. $ref: '#/definitions/models.WrFinanceBuyApply'
  25077. type: array
  25078. "500":
  25079. description: Internal Server Error
  25080. schema:
  25081. $ref: '#/definitions/app.Response'
  25082. security:
  25083. - ApiKeyAuth: []
  25084. summary: 查询融资购买申请
  25085. tags:
  25086. - 仓单贸易v2
  25087. /WrTrade2/QueryWrFriendApply:
  25088. get:
  25089. parameters:
  25090. - description: 用户id
  25091. in: query
  25092. name: userid
  25093. required: true
  25094. type: integer
  25095. produces:
  25096. - application/json
  25097. responses:
  25098. "200":
  25099. description: OK
  25100. schema:
  25101. items:
  25102. $ref: '#/definitions/models.WrFriendApply'
  25103. type: array
  25104. "500":
  25105. description: Internal Server Error
  25106. schema:
  25107. $ref: '#/definitions/app.Response'
  25108. security:
  25109. - ApiKeyAuth: []
  25110. summary: 查询好友申请记录
  25111. tags:
  25112. - 仓单贸易v2
  25113. /WrTrade2/QueryWrGoodsInfo:
  25114. get:
  25115. parameters:
  25116. - description: 仓单贸易市场id
  25117. in: query
  25118. name: marketid
  25119. type: integer
  25120. - description: 0:仓单预售 1:仓单贸易
  25121. in: query
  25122. name: haswr
  25123. required: true
  25124. type: integer
  25125. - description: 仓单要素id
  25126. in: query
  25127. name: wrfactortypeid
  25128. required: true
  25129. type: integer
  25130. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  25131. in: query
  25132. name: tmplateid
  25133. type: integer
  25134. produces:
  25135. - application/json
  25136. responses:
  25137. "200":
  25138. description: OK
  25139. schema:
  25140. items:
  25141. $ref: '#/definitions/models.WrGoodsInfo'
  25142. type: array
  25143. "500":
  25144. description: Internal Server Error
  25145. schema:
  25146. $ref: '#/definitions/app.Response'
  25147. security:
  25148. - ApiKeyAuth: []
  25149. summary: 查询仓单商品信息
  25150. tags:
  25151. - 仓单贸易v2
  25152. /WrTrade2/QueryWrMarketTradeConfig:
  25153. get:
  25154. parameters:
  25155. - description: 市场id
  25156. in: query
  25157. name: marketid
  25158. type: integer
  25159. produces:
  25160. - application/json
  25161. responses:
  25162. "200":
  25163. description: OK
  25164. schema:
  25165. items:
  25166. $ref: '#/definitions/models.WrMarketTradeConfig'
  25167. type: array
  25168. "500":
  25169. description: Internal Server Error
  25170. schema:
  25171. $ref: '#/definitions/app.Response'
  25172. security:
  25173. - ApiKeyAuth: []
  25174. summary: 查询市场交易参数配置
  25175. tags:
  25176. - 仓单贸易v2
  25177. /WrTrade2/QueryWrOrderDetail:
  25178. get:
  25179. description: 页面 现货仓单 | 预售仓单 -> 挂单
  25180. parameters:
  25181. - description: 页码
  25182. in: query
  25183. name: page
  25184. type: integer
  25185. - description: 每页条数
  25186. in: query
  25187. name: pagesize
  25188. type: integer
  25189. - description: 用户id
  25190. in: query
  25191. name: userid
  25192. required: true
  25193. type: integer
  25194. - description: 仓单贸易市场id
  25195. in: query
  25196. name: marketid
  25197. type: integer
  25198. - description: 0:仓单预售 1:仓单贸易
  25199. in: query
  25200. name: haswr
  25201. required: true
  25202. type: integer
  25203. produces:
  25204. - application/json
  25205. responses:
  25206. "200":
  25207. description: OK
  25208. schema:
  25209. items:
  25210. $ref: '#/definitions/models.WrOrderDetail'
  25211. type: array
  25212. "500":
  25213. description: Internal Server Error
  25214. schema:
  25215. $ref: '#/definitions/app.Response'
  25216. security:
  25217. - ApiKeyAuth: []
  25218. summary: 查询仓单委托单(挂单)
  25219. tags:
  25220. - 仓单贸易v2
  25221. /WrTrade2/QueryWrOutInApply:
  25222. get:
  25223. parameters:
  25224. - description: 用户id
  25225. in: query
  25226. name: userid
  25227. required: true
  25228. type: integer
  25229. produces:
  25230. - application/json
  25231. responses:
  25232. "200":
  25233. description: OK
  25234. schema:
  25235. items:
  25236. $ref: '#/definitions/models.WrOutInApply'
  25237. type: array
  25238. "500":
  25239. description: Internal Server Error
  25240. schema:
  25241. $ref: '#/definitions/app.Response'
  25242. security:
  25243. - ApiKeyAuth: []
  25244. summary: 查询提货申请
  25245. tags:
  25246. - 仓单贸易v2
  25247. /WrTrade2/QueryWrPerformancePlanStep:
  25248. get:
  25249. parameters:
  25250. - description: 履约计划id(performanceplanid)
  25251. in: query
  25252. name: planid
  25253. required: true
  25254. type: integer
  25255. - description: 当前步骤id
  25256. in: query
  25257. name: curstepid
  25258. type: integer
  25259. produces:
  25260. - application/json
  25261. responses:
  25262. "200":
  25263. description: OK
  25264. schema:
  25265. items:
  25266. $ref: '#/definitions/models.WrPerformancePlanStep'
  25267. type: array
  25268. "500":
  25269. description: Internal Server Error
  25270. schema:
  25271. $ref: '#/definitions/app.Response'
  25272. security:
  25273. - ApiKeyAuth: []
  25274. summary: 查询履约信息详情
  25275. tags:
  25276. - 仓单贸易v2
  25277. /WrTrade2/QueryWrPerformanceStepType:
  25278. get:
  25279. produces:
  25280. - application/json
  25281. responses:
  25282. "200":
  25283. description: OK
  25284. schema:
  25285. items:
  25286. $ref: '#/definitions/models.WrPerformanceStepType'
  25287. type: array
  25288. "500":
  25289. description: Internal Server Error
  25290. schema:
  25291. $ref: '#/definitions/app.Response'
  25292. security:
  25293. - ApiKeyAuth: []
  25294. summary: 查询履约步骤枚举
  25295. tags:
  25296. - 仓单贸易v2
  25297. /WrTrade2/QueryWrPosition:
  25298. get:
  25299. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  25300. parameters:
  25301. - description: 用户id
  25302. in: query
  25303. name: userid
  25304. required: true
  25305. type: integer
  25306. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  25307. in: query
  25308. name: querytype
  25309. required: true
  25310. type: integer
  25311. - description: 0:仓单预售 1:仓单贸易
  25312. in: query
  25313. name: haswr
  25314. required: true
  25315. type: integer
  25316. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25317. in: query
  25318. name: dgitemname
  25319. type: string
  25320. - description: 仓库id(筛选条件)
  25321. in: query
  25322. name: warehouseid
  25323. type: integer
  25324. - description: 品种id
  25325. in: query
  25326. name: deliverygoodsid
  25327. type: integer
  25328. - description: 品类id
  25329. in: query
  25330. name: wrstandardid
  25331. type: integer
  25332. produces:
  25333. - application/json
  25334. responses:
  25335. "200":
  25336. description: OK
  25337. schema:
  25338. items:
  25339. $ref: '#/definitions/models.WrPosition'
  25340. type: array
  25341. "500":
  25342. description: Internal Server Error
  25343. schema:
  25344. $ref: '#/definitions/app.Response'
  25345. security:
  25346. - ApiKeyAuth: []
  25347. summary: 查询现货(预售)仓单持仓
  25348. tags:
  25349. - 仓单贸易v2
  25350. /WrTrade2/QueryWrScfContract:
  25351. get:
  25352. parameters:
  25353. - description: 用户id
  25354. in: query
  25355. name: userid
  25356. required: true
  25357. type: integer
  25358. - description: 融资合同id
  25359. in: query
  25360. name: scfcontractid
  25361. type: integer
  25362. produces:
  25363. - application/json
  25364. responses:
  25365. "200":
  25366. description: OK
  25367. schema:
  25368. items:
  25369. $ref: '#/definitions/models.WrScfContract'
  25370. type: array
  25371. "500":
  25372. description: Internal Server Error
  25373. schema:
  25374. $ref: '#/definitions/app.Response'
  25375. security:
  25376. - ApiKeyAuth: []
  25377. summary: 查询仓单贸易融资合同
  25378. tags:
  25379. - 仓单贸易v2
  25380. /WrTrade2/QueryWrScfContractInterest:
  25381. get:
  25382. parameters:
  25383. - description: 融资合同id
  25384. in: query
  25385. name: scfcontractid
  25386. type: integer
  25387. produces:
  25388. - application/json
  25389. responses:
  25390. "200":
  25391. description: OK
  25392. schema:
  25393. items:
  25394. $ref: '#/definitions/models.WrScfContractInterest'
  25395. type: array
  25396. "500":
  25397. description: Internal Server Error
  25398. schema:
  25399. $ref: '#/definitions/app.Response'
  25400. security:
  25401. - ApiKeyAuth: []
  25402. summary: 查询融资合同费用明细
  25403. tags:
  25404. - 仓单贸易v2
  25405. /WrTrade2/QueryWrSpecialMatchOrder:
  25406. get:
  25407. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  25408. parameters:
  25409. - description: 页码
  25410. in: query
  25411. name: page
  25412. type: integer
  25413. - description: 每页条数
  25414. in: query
  25415. name: pagesize
  25416. type: integer
  25417. - description: 用户id
  25418. in: query
  25419. name: userid
  25420. required: true
  25421. type: integer
  25422. - description: 仓单贸易市场id
  25423. in: query
  25424. name: marketid
  25425. type: integer
  25426. - description: 0:仓单预售 1:仓单贸易
  25427. in: query
  25428. name: haswr
  25429. required: true
  25430. type: integer
  25431. produces:
  25432. - application/json
  25433. responses:
  25434. "200":
  25435. description: OK
  25436. schema:
  25437. items:
  25438. $ref: '#/definitions/models.WrSpecialMatchOrder'
  25439. type: array
  25440. "500":
  25441. description: Internal Server Error
  25442. schema:
  25443. $ref: '#/definitions/app.Response'
  25444. security:
  25445. - ApiKeyAuth: []
  25446. summary: 查询指定成交
  25447. tags:
  25448. - 仓单贸易v2
  25449. /WrTrade2/QueryWrStandardFactoryItem:
  25450. get:
  25451. parameters:
  25452. - description: 品类id
  25453. in: query
  25454. name: wrstandardid
  25455. required: true
  25456. type: integer
  25457. produces:
  25458. - application/json
  25459. responses:
  25460. "200":
  25461. description: OK
  25462. schema:
  25463. items:
  25464. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  25465. type: array
  25466. "500":
  25467. description: Internal Server Error
  25468. schema:
  25469. $ref: '#/definitions/app.Response'
  25470. security:
  25471. - ApiKeyAuth: []
  25472. summary: 查询品类要素定义项
  25473. tags:
  25474. - 仓单贸易v2
  25475. /WrTrade2/QueryWrTradeBargainApply:
  25476. get:
  25477. description: 1.页面 挂单/议价单, 只需传单号就行 2.页面 议价, 查的是作为摘牌方发起的议价单, 参数 userid=登录userid
  25478. 3. 页面 议价/议价单, 和2类似, 但要指定单号 参数 userid, wrtradeorderid
  25479. parameters:
  25480. - description: 议价人id(摘牌方)
  25481. in: query
  25482. name: userid
  25483. type: integer
  25484. - description: 关联委托单id
  25485. in: query
  25486. name: wrtradeorderid
  25487. type: integer
  25488. - description: 0:仓单预售 1:仓单贸易
  25489. in: query
  25490. name: haswr
  25491. required: true
  25492. type: integer
  25493. produces:
  25494. - application/json
  25495. responses:
  25496. "200":
  25497. description: OK
  25498. schema:
  25499. items:
  25500. $ref: '#/definitions/models.WRTradeBargainApply'
  25501. type: array
  25502. "500":
  25503. description: Internal Server Error
  25504. schema:
  25505. $ref: '#/definitions/app.Response'
  25506. security:
  25507. - ApiKeyAuth: []
  25508. summary: 查询议价单
  25509. tags:
  25510. - 仓单贸易v2
  25511. /WrTrade2/QueryWrTradeDetail:
  25512. get:
  25513. parameters:
  25514. - description: 页码
  25515. in: query
  25516. name: page
  25517. type: integer
  25518. - description: 每页条数
  25519. in: query
  25520. name: pagesize
  25521. type: integer
  25522. - description: 用户id
  25523. in: query
  25524. name: userid
  25525. required: true
  25526. type: integer
  25527. - description: 仓单贸易市场id
  25528. in: query
  25529. name: marketid
  25530. type: integer
  25531. - description: 0:仓单预售 1:仓单贸易
  25532. in: query
  25533. name: haswr
  25534. required: true
  25535. type: integer
  25536. produces:
  25537. - application/json
  25538. responses:
  25539. "200":
  25540. description: OK
  25541. schema:
  25542. items:
  25543. $ref: '#/definitions/models.WrTradeDetail'
  25544. type: array
  25545. "500":
  25546. description: Internal Server Error
  25547. schema:
  25548. $ref: '#/definitions/app.Response'
  25549. security:
  25550. - ApiKeyAuth: []
  25551. summary: 查询仓单成交明细
  25552. tags:
  25553. - 仓单贸易v2
  25554. /WrTrade2/QueryWrTradeOrderDetail:
  25555. get:
  25556. parameters:
  25557. - description: 页码
  25558. in: query
  25559. name: page
  25560. type: integer
  25561. - description: 每页条数
  25562. in: query
  25563. name: pagesize
  25564. type: integer
  25565. - description: 商品id
  25566. in: query
  25567. name: goodsid
  25568. required: true
  25569. type: integer
  25570. - description: 买卖方向 0-买 1-卖
  25571. in: query
  25572. name: buyorsell
  25573. required: true
  25574. type: integer
  25575. produces:
  25576. - application/json
  25577. responses:
  25578. "200":
  25579. description: OK
  25580. schema:
  25581. items:
  25582. $ref: '#/definitions/models.WrTradeOrderDetail'
  25583. type: array
  25584. "500":
  25585. description: Internal Server Error
  25586. schema:
  25587. $ref: '#/definitions/app.Response'
  25588. security:
  25589. - ApiKeyAuth: []
  25590. summary: 查询合约交易买卖大厅
  25591. tags:
  25592. - 仓单贸易v2
  25593. /WrTrade2/QueryWrUserFriend:
  25594. get:
  25595. parameters:
  25596. - description: 用户id
  25597. in: query
  25598. name: userid
  25599. required: true
  25600. type: integer
  25601. - description: 新朋友userid, 如果填写了此项则查找新朋友
  25602. in: query
  25603. name: newuserid
  25604. type: integer
  25605. produces:
  25606. - application/json
  25607. responses:
  25608. "200":
  25609. description: OK
  25610. schema:
  25611. items:
  25612. $ref: '#/definitions/models.WrUserFriend'
  25613. type: array
  25614. "500":
  25615. description: Internal Server Error
  25616. schema:
  25617. $ref: '#/definitions/app.Response'
  25618. security:
  25619. - ApiKeyAuth: []
  25620. summary: 查询我的朋友
  25621. tags:
  25622. - 仓单贸易v2
  25623. securityDefinitions:
  25624. ApiKeyAuth:
  25625. in: header
  25626. name: Authorization
  25627. type: apiKey
  25628. swagger: "2.0"