swagger.json 717 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  5. "title": "MTP2.0 查询服务 API",
  6. "termsOfService": "http://muchinfo.cn",
  7. "contact": {},
  8. "license": {},
  9. "version": "1.0"
  10. },
  11. "basePath": "/api",
  12. "paths": {
  13. "/CPTrade/QueryCPTradeMyBidInfos": {
  14. "get": {
  15. "security": [
  16. {
  17. "ApiKeyAuth": []
  18. }
  19. ],
  20. "produces": [
  21. "application/json"
  22. ],
  23. "tags": [
  24. "产能预售"
  25. ],
  26. "summary": "查询产能预售我的出价信息",
  27. "parameters": [
  28. {
  29. "type": "integer",
  30. "description": "资金账户",
  31. "name": "accountid",
  32. "in": "query",
  33. "required": true
  34. },
  35. {
  36. "type": "integer",
  37. "description": "预售市场ID",
  38. "name": "marketid",
  39. "in": "query"
  40. },
  41. {
  42. "type": "integer",
  43. "description": "预售商品ID",
  44. "name": "goodsid",
  45. "in": "query"
  46. }
  47. ],
  48. "responses": {
  49. "200": {
  50. "description": "OK",
  51. "schema": {
  52. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  53. }
  54. },
  55. "500": {
  56. "description": "Internal Server Error",
  57. "schema": {
  58. "$ref": "#/definitions/app.Response"
  59. }
  60. }
  61. }
  62. }
  63. },
  64. "/CPTrade/QueryCPTradeOrderDetail": {
  65. "get": {
  66. "security": [
  67. {
  68. "ApiKeyAuth": []
  69. }
  70. ],
  71. "produces": [
  72. "application/json"
  73. ],
  74. "tags": [
  75. "产能预售"
  76. ],
  77. "summary": "查询产能预售委托单信息",
  78. "parameters": [
  79. {
  80. "type": "integer",
  81. "description": "预售商品ID",
  82. "name": "goodsid",
  83. "in": "query"
  84. },
  85. {
  86. "type": "integer",
  87. "description": "预售市场ID",
  88. "name": "marketid",
  89. "in": "query"
  90. },
  91. {
  92. "type": "string",
  93. "description": "预售商品ID列表 - 格式:1,2,3",
  94. "name": "goodsids",
  95. "in": "query"
  96. }
  97. ],
  98. "responses": {
  99. "200": {
  100. "description": "OK",
  101. "schema": {
  102. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  103. }
  104. },
  105. "500": {
  106. "description": "Internal Server Error",
  107. "schema": {
  108. "$ref": "#/definitions/app.Response"
  109. }
  110. }
  111. }
  112. }
  113. },
  114. "/CPTrade/QueryMyCPTradeGoods": {
  115. "get": {
  116. "security": [
  117. {
  118. "ApiKeyAuth": []
  119. }
  120. ],
  121. "produces": [
  122. "application/json"
  123. ],
  124. "tags": [
  125. "产能预售"
  126. ],
  127. "summary": "查询我的预售信息",
  128. "parameters": [
  129. {
  130. "type": "integer",
  131. "description": "资金账户",
  132. "name": "accountid",
  133. "in": "query",
  134. "required": true
  135. }
  136. ],
  137. "responses": {
  138. "200": {
  139. "description": "OK",
  140. "schema": {
  141. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  142. }
  143. },
  144. "500": {
  145. "description": "Internal Server Error",
  146. "schema": {
  147. "$ref": "#/definitions/app.Response"
  148. }
  149. }
  150. }
  151. }
  152. },
  153. "/CPTrade/QueryPositionCancel": {
  154. "get": {
  155. "security": [
  156. {
  157. "ApiKeyAuth": []
  158. }
  159. ],
  160. "produces": [
  161. "application/json"
  162. ],
  163. "tags": [
  164. "产能预售"
  165. ],
  166. "summary": "查询远期订单注销申请信息",
  167. "parameters": [
  168. {
  169. "type": "integer",
  170. "description": "账户ID",
  171. "name": "userid",
  172. "in": "query",
  173. "required": true
  174. },
  175. {
  176. "type": "integer",
  177. "description": "注销ID",
  178. "name": "cancelid",
  179. "in": "query"
  180. },
  181. {
  182. "type": "integer",
  183. "description": "资金账户ID",
  184. "name": "accountid",
  185. "in": "query"
  186. }
  187. ],
  188. "responses": {
  189. "200": {
  190. "description": "OK",
  191. "schema": {
  192. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  193. }
  194. },
  195. "500": {
  196. "description": "Internal Server Error",
  197. "schema": {
  198. "$ref": "#/definitions/app.Response"
  199. }
  200. }
  201. }
  202. }
  203. },
  204. "/CPTrade/QueryPreasleApply": {
  205. "get": {
  206. "security": [
  207. {
  208. "ApiKeyAuth": []
  209. }
  210. ],
  211. "produces": [
  212. "application/json"
  213. ],
  214. "tags": [
  215. "产能预售"
  216. ],
  217. "summary": "查询产能预售申请信息",
  218. "parameters": [
  219. {
  220. "type": "integer",
  221. "description": "账户ID",
  222. "name": "userid",
  223. "in": "query",
  224. "required": true
  225. },
  226. {
  227. "type": "integer",
  228. "description": "申请ID",
  229. "name": "applyid",
  230. "in": "query"
  231. },
  232. {
  233. "type": "integer",
  234. "description": "资金账户ID",
  235. "name": "accountid",
  236. "in": "query"
  237. }
  238. ],
  239. "responses": {
  240. "200": {
  241. "description": "OK",
  242. "schema": {
  243. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  244. }
  245. },
  246. "500": {
  247. "description": "Internal Server Error",
  248. "schema": {
  249. "$ref": "#/definitions/app.Response"
  250. }
  251. }
  252. }
  253. }
  254. },
  255. "/CPTrade/QueryPresaleGoodsEx": {
  256. "get": {
  257. "security": [
  258. {
  259. "ApiKeyAuth": []
  260. }
  261. ],
  262. "produces": [
  263. "application/json"
  264. ],
  265. "tags": [
  266. "产能预售"
  267. ],
  268. "summary": "查询产能预售商品扩展信息",
  269. "parameters": [
  270. {
  271. "type": "integer",
  272. "description": "预售商品ID",
  273. "name": "goodsid",
  274. "in": "query"
  275. },
  276. {
  277. "type": "integer",
  278. "description": "预售市场ID",
  279. "name": "marketid",
  280. "in": "query"
  281. },
  282. {
  283. "type": "integer",
  284. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  285. "name": "presalemode",
  286. "in": "query"
  287. },
  288. {
  289. "type": "string",
  290. "description": "预售商品ID列表 - 格式:1,2,3",
  291. "name": "goodsids",
  292. "in": "query"
  293. },
  294. {
  295. "type": "string",
  296. "description": "预售商品代码",
  297. "name": "goodscode",
  298. "in": "query"
  299. }
  300. ],
  301. "responses": {
  302. "200": {
  303. "description": "OK",
  304. "schema": {
  305. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  306. }
  307. },
  308. "500": {
  309. "description": "Internal Server Error",
  310. "schema": {
  311. "$ref": "#/definitions/app.Response"
  312. }
  313. }
  314. }
  315. }
  316. },
  317. "/CPTrade/QueryUserGoodsData": {
  318. "get": {
  319. "security": [
  320. {
  321. "ApiKeyAuth": []
  322. }
  323. ],
  324. "produces": [
  325. "application/json"
  326. ],
  327. "tags": [
  328. "产能预售"
  329. ],
  330. "summary": "查询远期订单信息",
  331. "parameters": [
  332. {
  333. "type": "integer",
  334. "description": "资金账户ID",
  335. "name": "accountid",
  336. "in": "query",
  337. "required": true
  338. }
  339. ],
  340. "responses": {
  341. "200": {
  342. "description": "OK",
  343. "schema": {
  344. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  345. }
  346. },
  347. "500": {
  348. "description": "Internal Server Error",
  349. "schema": {
  350. "$ref": "#/definitions/app.Response"
  351. }
  352. }
  353. }
  354. }
  355. },
  356. "/Common/GetAllEnums": {
  357. "get": {
  358. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  359. "produces": [
  360. "application/json"
  361. ],
  362. "tags": [
  363. "通用服务"
  364. ],
  365. "summary": "获取所有枚举信息",
  366. "parameters": [
  367. {
  368. "type": "integer",
  369. "description": "起始自增ID",
  370. "name": "autoid",
  371. "in": "query"
  372. }
  373. ],
  374. "responses": {
  375. "200": {
  376. "description": "OK",
  377. "schema": {
  378. "$ref": "#/definitions/models.Enumdicitem"
  379. }
  380. },
  381. "500": {
  382. "description": "Internal Server Error",
  383. "schema": {
  384. "$ref": "#/definitions/app.Response"
  385. }
  386. }
  387. }
  388. }
  389. },
  390. "/Common/GetDivisions": {
  391. "get": {
  392. "produces": [
  393. "application/json"
  394. ],
  395. "tags": [
  396. "通用服务"
  397. ],
  398. "summary": "查询区域信息",
  399. "responses": {
  400. "200": {
  401. "description": "OK",
  402. "schema": {
  403. "$ref": "#/definitions/models.Division"
  404. }
  405. },
  406. "500": {
  407. "description": "Internal Server Error",
  408. "schema": {
  409. "$ref": "#/definitions/app.Response"
  410. }
  411. }
  412. }
  413. }
  414. },
  415. "/Common/GetServerTime": {
  416. "get": {
  417. "produces": [
  418. "application/json"
  419. ],
  420. "tags": [
  421. "通用服务"
  422. ],
  423. "summary": "获取服务器时间",
  424. "responses": {
  425. "200": {
  426. "description": "OK",
  427. "schema": {
  428. "$ref": "#/definitions/app.Response"
  429. }
  430. },
  431. "500": {
  432. "description": "Internal Server Error",
  433. "schema": {
  434. "$ref": "#/definitions/app.Response"
  435. }
  436. }
  437. }
  438. }
  439. },
  440. "/Common/NoticeReaded": {
  441. "post": {
  442. "security": [
  443. {
  444. "ApiKeyAuth": []
  445. }
  446. ],
  447. "produces": [
  448. "application/json"
  449. ],
  450. "tags": [
  451. "通用服务"
  452. ],
  453. "summary": "通知公告设置已读请求",
  454. "parameters": [
  455. {
  456. "type": "integer",
  457. "description": "登录账号",
  458. "name": "loginID",
  459. "in": "query",
  460. "required": true
  461. },
  462. {
  463. "type": "integer",
  464. "description": "通知公告ID",
  465. "name": "noticeID",
  466. "in": "query",
  467. "required": true
  468. }
  469. ],
  470. "responses": {
  471. "200": {
  472. "description": "OK",
  473. "schema": {
  474. "$ref": "#/definitions/app.Response"
  475. }
  476. },
  477. "500": {
  478. "description": "Internal Server Error",
  479. "schema": {
  480. "$ref": "#/definitions/app.Response"
  481. }
  482. }
  483. }
  484. }
  485. },
  486. "/Common/QueryErrorInfos": {
  487. "get": {
  488. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  489. "produces": [
  490. "application/json"
  491. ],
  492. "tags": [
  493. "通用服务"
  494. ],
  495. "summary": "获取数据库错误信息",
  496. "parameters": [
  497. {
  498. "type": "string",
  499. "description": "起始行号前索引",
  500. "name": "rowNumber",
  501. "in": "query"
  502. }
  503. ],
  504. "responses": {
  505. "200": {
  506. "description": "OK",
  507. "schema": {
  508. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  509. }
  510. },
  511. "500": {
  512. "description": "Internal Server Error",
  513. "schema": {
  514. "$ref": "#/definitions/app.Response"
  515. }
  516. }
  517. }
  518. }
  519. },
  520. "/Common/QueryImageConfigs": {
  521. "get": {
  522. "produces": [
  523. "application/json"
  524. ],
  525. "tags": [
  526. "通用服务"
  527. ],
  528. "summary": "查询轮播图配置信息",
  529. "parameters": [
  530. {
  531. "type": "integer",
  532. "description": "类型 - 1:App首页轮播 2:我的",
  533. "name": "imageType",
  534. "in": "query"
  535. }
  536. ],
  537. "responses": {
  538. "200": {
  539. "description": "OK",
  540. "schema": {
  541. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  542. }
  543. },
  544. "500": {
  545. "description": "Internal Server Error",
  546. "schema": {
  547. "$ref": "#/definitions/app.Response"
  548. }
  549. }
  550. }
  551. }
  552. },
  553. "/Common/QueryNotice": {
  554. "get": {
  555. "security": [
  556. {
  557. "ApiKeyAuth": []
  558. }
  559. ],
  560. "produces": [
  561. "application/json"
  562. ],
  563. "tags": [
  564. "通用服务"
  565. ],
  566. "summary": "通知公告系统消息查询",
  567. "parameters": [
  568. {
  569. "type": "integer",
  570. "description": "页码",
  571. "name": "page",
  572. "in": "query"
  573. },
  574. {
  575. "type": "integer",
  576. "description": "每页条数",
  577. "name": "pagesize",
  578. "in": "query"
  579. },
  580. {
  581. "type": "integer",
  582. "description": "登录账号",
  583. "name": "loginID",
  584. "in": "query",
  585. "required": true
  586. },
  587. {
  588. "type": "integer",
  589. "description": "消息类型 - 1:公告通知 2:系统消息",
  590. "name": "msgType",
  591. "in": "query"
  592. },
  593. {
  594. "type": "boolean",
  595. "description": "是否只获取未读信息",
  596. "name": "onlyUnRead",
  597. "in": "query"
  598. },
  599. {
  600. "type": "integer",
  601. "description": "自增ID,传入后会返回这个ID后面的记录",
  602. "name": "lastID",
  603. "in": "query"
  604. }
  605. ],
  606. "responses": {
  607. "200": {
  608. "description": "OK",
  609. "schema": {
  610. "$ref": "#/definitions/common.QueryNoticeRsp"
  611. }
  612. },
  613. "500": {
  614. "description": "Internal Server Error",
  615. "schema": {
  616. "$ref": "#/definitions/app.Response"
  617. }
  618. }
  619. }
  620. }
  621. },
  622. "/Common/QueryProvincesAndCities": {
  623. "get": {
  624. "produces": [
  625. "application/json"
  626. ],
  627. "tags": [
  628. "通用服务"
  629. ],
  630. "summary": "查询省市信息(不包括区)",
  631. "parameters": [
  632. {
  633. "type": "integer",
  634. "description": "省ID",
  635. "name": "provinceID",
  636. "in": "query"
  637. }
  638. ],
  639. "responses": {
  640. "200": {
  641. "description": "OK",
  642. "schema": {
  643. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  644. }
  645. },
  646. "500": {
  647. "description": "Internal Server Error",
  648. "schema": {
  649. "$ref": "#/definitions/app.Response"
  650. }
  651. }
  652. }
  653. }
  654. },
  655. "/Common/QueryTableDefine": {
  656. "get": {
  657. "produces": [
  658. "application/json"
  659. ],
  660. "tags": [
  661. "通用服务"
  662. ],
  663. "summary": "查询交易端列表头信息",
  664. "parameters": [
  665. {
  666. "type": "string",
  667. "description": "表key",
  668. "name": "tableKey",
  669. "in": "query"
  670. },
  671. {
  672. "type": "integer",
  673. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  674. "name": "tableType",
  675. "in": "query"
  676. }
  677. ],
  678. "responses": {
  679. "200": {
  680. "description": "OK",
  681. "schema": {
  682. "$ref": "#/definitions/common.QueryTableDefineRsp"
  683. }
  684. },
  685. "500": {
  686. "description": "Internal Server Error",
  687. "schema": {
  688. "$ref": "#/definitions/app.Response"
  689. }
  690. }
  691. }
  692. }
  693. },
  694. "/Common/QueryTraderMenu": {
  695. "get": {
  696. "produces": [
  697. "application/json"
  698. ],
  699. "tags": [
  700. "通用服务"
  701. ],
  702. "summary": "查询交易端菜单",
  703. "parameters": [
  704. {
  705. "type": "integer",
  706. "description": "登录账号",
  707. "name": "loginid",
  708. "in": "query",
  709. "required": true
  710. }
  711. ],
  712. "responses": {
  713. "200": {
  714. "description": "OK",
  715. "schema": {
  716. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  717. }
  718. },
  719. "500": {
  720. "description": "Internal Server Error",
  721. "schema": {
  722. "$ref": "#/definitions/app.Response"
  723. }
  724. }
  725. }
  726. }
  727. },
  728. "/Delivery/QueryDeliveryRelation": {
  729. "get": {
  730. "security": [
  731. {
  732. "ApiKeyAuth": []
  733. }
  734. ],
  735. "produces": [
  736. "application/json"
  737. ],
  738. "tags": [
  739. "交割服务"
  740. ],
  741. "summary": "查询商品交割关系表",
  742. "parameters": [
  743. {
  744. "type": "integer",
  745. "description": "商品ID",
  746. "name": "goodsid",
  747. "in": "query"
  748. },
  749. {
  750. "type": "integer",
  751. "description": "品种ID",
  752. "name": "deliverygoodsid",
  753. "in": "query"
  754. },
  755. {
  756. "type": "integer",
  757. "description": "市场ID",
  758. "name": "marketid",
  759. "in": "query"
  760. }
  761. ],
  762. "responses": {
  763. "200": {
  764. "description": "OK",
  765. "schema": {
  766. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  767. }
  768. },
  769. "500": {
  770. "description": "Internal Server Error",
  771. "schema": {
  772. "$ref": "#/definitions/app.Response"
  773. }
  774. }
  775. }
  776. }
  777. },
  778. "/Ermcp/GetErmcpGoods": {
  779. "get": {
  780. "security": [
  781. {
  782. "ApiKeyAuth": []
  783. }
  784. ],
  785. "produces": [
  786. "application/json"
  787. ],
  788. "tags": [
  789. "企业风险管理(app)"
  790. ],
  791. "summary": "查询企业风管期货商品信息",
  792. "parameters": [
  793. {
  794. "type": "string",
  795. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  796. "name": "lastUpdateTime",
  797. "in": "query"
  798. }
  799. ],
  800. "responses": {
  801. "200": {
  802. "description": "OK",
  803. "schema": {
  804. "$ref": "#/definitions/models.Goods"
  805. }
  806. },
  807. "500": {
  808. "description": "Internal Server Error",
  809. "schema": {
  810. "$ref": "#/definitions/app.Response"
  811. }
  812. }
  813. }
  814. }
  815. },
  816. "/Ermcp/GetErmcpGoodsSortByPosition": {
  817. "get": {
  818. "security": [
  819. {
  820. "ApiKeyAuth": []
  821. }
  822. ],
  823. "produces": [
  824. "application/json"
  825. ],
  826. "tags": [
  827. "企业风险管理(app)"
  828. ],
  829. "summary": "查询企业风管期货主力、次主力商品信息",
  830. "parameters": [
  831. {
  832. "type": "string",
  833. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  834. "name": "sortIndex",
  835. "in": "query"
  836. }
  837. ],
  838. "responses": {
  839. "200": {
  840. "description": "OK",
  841. "schema": {
  842. "$ref": "#/definitions/models.Goodssortbypreposition"
  843. }
  844. },
  845. "500": {
  846. "description": "Internal Server Error",
  847. "schema": {
  848. "$ref": "#/definitions/app.Response"
  849. }
  850. }
  851. }
  852. }
  853. },
  854. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  855. "get": {
  856. "security": [
  857. {
  858. "ApiKeyAuth": []
  859. }
  860. ],
  861. "produces": [
  862. "application/json"
  863. ],
  864. "tags": [
  865. "企业风险管理(app)"
  866. ],
  867. "summary": "获取企业风管终端权限",
  868. "parameters": [
  869. {
  870. "type": "integer",
  871. "description": "登录账号",
  872. "name": "loginID",
  873. "in": "query",
  874. "required": true
  875. }
  876. ],
  877. "responses": {
  878. "200": {
  879. "description": "OK",
  880. "schema": {
  881. "$ref": "#/definitions/models.Funcmenulist"
  882. }
  883. },
  884. "500": {
  885. "description": "Internal Server Error",
  886. "schema": {
  887. "$ref": "#/definitions/app.Response"
  888. }
  889. }
  890. }
  891. }
  892. },
  893. "/Ermcp/QryReportDayExposure": {
  894. "get": {
  895. "security": [
  896. {
  897. "ApiKeyAuth": []
  898. }
  899. ],
  900. "produces": [
  901. "application/json"
  902. ],
  903. "tags": [
  904. "企业风险管理(app)"
  905. ],
  906. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  907. "parameters": [
  908. {
  909. "type": "integer",
  910. "description": "用户ID",
  911. "name": "userid",
  912. "in": "query",
  913. "required": true
  914. },
  915. {
  916. "type": "string",
  917. "description": "交易日(格式:yyyyMMdd)",
  918. "name": "tradedate",
  919. "in": "query",
  920. "required": true
  921. }
  922. ],
  923. "responses": {
  924. "200": {
  925. "description": "OK",
  926. "schema": {
  927. "type": "array",
  928. "items": {
  929. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  930. }
  931. }
  932. },
  933. "500": {
  934. "description": "Internal Server Error",
  935. "schema": {
  936. "$ref": "#/definitions/app.Response"
  937. }
  938. }
  939. }
  940. }
  941. },
  942. "/Ermcp/QryReportDayFinance": {
  943. "get": {
  944. "security": [
  945. {
  946. "ApiKeyAuth": []
  947. }
  948. ],
  949. "produces": [
  950. "application/json"
  951. ],
  952. "tags": [
  953. "企业风险管理(app)"
  954. ],
  955. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  956. "parameters": [
  957. {
  958. "type": "integer",
  959. "description": "用户ID",
  960. "name": "userid",
  961. "in": "query",
  962. "required": true
  963. },
  964. {
  965. "type": "string",
  966. "description": "交易日(格式:yyyyMMdd)",
  967. "name": "tradedate",
  968. "in": "query",
  969. "required": true
  970. }
  971. ],
  972. "responses": {
  973. "200": {
  974. "description": "OK",
  975. "schema": {
  976. "type": "array",
  977. "items": {
  978. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  979. }
  980. }
  981. },
  982. "500": {
  983. "description": "Internal Server Error",
  984. "schema": {
  985. "$ref": "#/definitions/app.Response"
  986. }
  987. }
  988. }
  989. }
  990. },
  991. "/Ermcp/QryReportDayFinanceFp": {
  992. "get": {
  993. "security": [
  994. {
  995. "ApiKeyAuth": []
  996. }
  997. ],
  998. "produces": [
  999. "application/json"
  1000. ],
  1001. "tags": [
  1002. "企业风险管理(app)"
  1003. ],
  1004. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  1005. "parameters": [
  1006. {
  1007. "type": "integer",
  1008. "description": "用户ID",
  1009. "name": "userid",
  1010. "in": "query",
  1011. "required": true
  1012. },
  1013. {
  1014. "type": "string",
  1015. "description": "交易日(格式:yyyyMMdd)",
  1016. "name": "tradedate",
  1017. "in": "query",
  1018. "required": true
  1019. }
  1020. ],
  1021. "responses": {
  1022. "200": {
  1023. "description": "OK",
  1024. "schema": {
  1025. "type": "array",
  1026. "items": {
  1027. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1028. }
  1029. }
  1030. },
  1031. "500": {
  1032. "description": "Internal Server Error",
  1033. "schema": {
  1034. "$ref": "#/definitions/app.Response"
  1035. }
  1036. }
  1037. }
  1038. }
  1039. },
  1040. "/Ermcp/QryReportDayFinanceKx": {
  1041. "get": {
  1042. "security": [
  1043. {
  1044. "ApiKeyAuth": []
  1045. }
  1046. ],
  1047. "produces": [
  1048. "application/json"
  1049. ],
  1050. "tags": [
  1051. "企业风险管理(app)"
  1052. ],
  1053. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  1054. "parameters": [
  1055. {
  1056. "type": "integer",
  1057. "description": "用户ID",
  1058. "name": "userid",
  1059. "in": "query",
  1060. "required": true
  1061. },
  1062. {
  1063. "type": "string",
  1064. "description": "交易日(格式:yyyyMMdd)",
  1065. "name": "tradedate",
  1066. "in": "query",
  1067. "required": true
  1068. }
  1069. ],
  1070. "responses": {
  1071. "200": {
  1072. "description": "OK",
  1073. "schema": {
  1074. "type": "array",
  1075. "items": {
  1076. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1077. }
  1078. }
  1079. },
  1080. "500": {
  1081. "description": "Internal Server Error",
  1082. "schema": {
  1083. "$ref": "#/definitions/app.Response"
  1084. }
  1085. }
  1086. }
  1087. }
  1088. },
  1089. "/Ermcp/QryReportDaySpot": {
  1090. "get": {
  1091. "security": [
  1092. {
  1093. "ApiKeyAuth": []
  1094. }
  1095. ],
  1096. "produces": [
  1097. "application/json"
  1098. ],
  1099. "tags": [
  1100. "企业风险管理(app)"
  1101. ],
  1102. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1103. "parameters": [
  1104. {
  1105. "type": "integer",
  1106. "description": "用户ID",
  1107. "name": "userid",
  1108. "in": "query",
  1109. "required": true
  1110. },
  1111. {
  1112. "type": "string",
  1113. "description": "交易日(格式:yyyyMMdd)",
  1114. "name": "tradedate",
  1115. "in": "query",
  1116. "required": true
  1117. }
  1118. ],
  1119. "responses": {
  1120. "200": {
  1121. "description": "OK",
  1122. "schema": {
  1123. "type": "array",
  1124. "items": {
  1125. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1126. }
  1127. }
  1128. },
  1129. "500": {
  1130. "description": "Internal Server Error",
  1131. "schema": {
  1132. "$ref": "#/definitions/app.Response"
  1133. }
  1134. }
  1135. }
  1136. }
  1137. },
  1138. "/Ermcp/QryReportDaySpotDetail": {
  1139. "get": {
  1140. "security": [
  1141. {
  1142. "ApiKeyAuth": []
  1143. }
  1144. ],
  1145. "produces": [
  1146. "application/json"
  1147. ],
  1148. "tags": [
  1149. "企业风险管理(app)"
  1150. ],
  1151. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1152. "parameters": [
  1153. {
  1154. "type": "integer",
  1155. "description": "用户ID",
  1156. "name": "userid",
  1157. "in": "query",
  1158. "required": true
  1159. },
  1160. {
  1161. "type": "integer",
  1162. "description": "现货商品id",
  1163. "name": "wrstandardid",
  1164. "in": "query",
  1165. "required": true
  1166. },
  1167. {
  1168. "type": "string",
  1169. "description": "交易日(格式:yyyyMMdd)",
  1170. "name": "tradedate",
  1171. "in": "query",
  1172. "required": true
  1173. }
  1174. ],
  1175. "responses": {
  1176. "200": {
  1177. "description": "OK",
  1178. "schema": {
  1179. "type": "array",
  1180. "items": {
  1181. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1182. }
  1183. }
  1184. },
  1185. "500": {
  1186. "description": "Internal Server Error",
  1187. "schema": {
  1188. "$ref": "#/definitions/app.Response"
  1189. }
  1190. }
  1191. }
  1192. }
  1193. },
  1194. "/Ermcp/QryReportMonthFinance": {
  1195. "get": {
  1196. "security": [
  1197. {
  1198. "ApiKeyAuth": []
  1199. }
  1200. ],
  1201. "produces": [
  1202. "application/json"
  1203. ],
  1204. "tags": [
  1205. "企业风险管理(app)"
  1206. ],
  1207. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1208. "parameters": [
  1209. {
  1210. "type": "integer",
  1211. "description": "用户ID",
  1212. "name": "userid",
  1213. "in": "query",
  1214. "required": true
  1215. },
  1216. {
  1217. "type": "string",
  1218. "description": "周期时间:月(格式:yyyyMM)",
  1219. "name": "cycletime",
  1220. "in": "query",
  1221. "required": true
  1222. }
  1223. ],
  1224. "responses": {
  1225. "200": {
  1226. "description": "OK",
  1227. "schema": {
  1228. "type": "array",
  1229. "items": {
  1230. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1231. }
  1232. }
  1233. },
  1234. "500": {
  1235. "description": "Internal Server Error",
  1236. "schema": {
  1237. "$ref": "#/definitions/app.Response"
  1238. }
  1239. }
  1240. }
  1241. }
  1242. },
  1243. "/Ermcp/QryReportMonthSpot": {
  1244. "get": {
  1245. "security": [
  1246. {
  1247. "ApiKeyAuth": []
  1248. }
  1249. ],
  1250. "produces": [
  1251. "application/json"
  1252. ],
  1253. "tags": [
  1254. "企业风险管理(app)"
  1255. ],
  1256. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1257. "parameters": [
  1258. {
  1259. "type": "integer",
  1260. "description": "用户ID",
  1261. "name": "userid",
  1262. "in": "query",
  1263. "required": true
  1264. },
  1265. {
  1266. "type": "string",
  1267. "description": "周期时间:月(格式:yyyyMM)",
  1268. "name": "cycletime",
  1269. "in": "query",
  1270. "required": true
  1271. }
  1272. ],
  1273. "responses": {
  1274. "200": {
  1275. "description": "OK",
  1276. "schema": {
  1277. "type": "array",
  1278. "items": {
  1279. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1280. }
  1281. }
  1282. },
  1283. "500": {
  1284. "description": "Internal Server Error",
  1285. "schema": {
  1286. "$ref": "#/definitions/app.Response"
  1287. }
  1288. }
  1289. }
  1290. }
  1291. },
  1292. "/Ermcp/QryReportMonthSpotDetail": {
  1293. "get": {
  1294. "security": [
  1295. {
  1296. "ApiKeyAuth": []
  1297. }
  1298. ],
  1299. "produces": [
  1300. "application/json"
  1301. ],
  1302. "tags": [
  1303. "企业风险管理(app)"
  1304. ],
  1305. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1306. "parameters": [
  1307. {
  1308. "type": "integer",
  1309. "description": "用户ID",
  1310. "name": "userid",
  1311. "in": "query",
  1312. "required": true
  1313. },
  1314. {
  1315. "type": "integer",
  1316. "description": "现货商品id",
  1317. "name": "wrstandardid",
  1318. "in": "query",
  1319. "required": true
  1320. },
  1321. {
  1322. "type": "string",
  1323. "description": "周期时间:月(格式:yyyyMM)",
  1324. "name": "cycletime",
  1325. "in": "query",
  1326. "required": true
  1327. }
  1328. ],
  1329. "responses": {
  1330. "200": {
  1331. "description": "OK",
  1332. "schema": {
  1333. "type": "array",
  1334. "items": {
  1335. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1336. }
  1337. }
  1338. },
  1339. "500": {
  1340. "description": "Internal Server Error",
  1341. "schema": {
  1342. "$ref": "#/definitions/app.Response"
  1343. }
  1344. }
  1345. }
  1346. }
  1347. },
  1348. "/Ermcp/QueryAreaStock": {
  1349. "get": {
  1350. "security": [
  1351. {
  1352. "ApiKeyAuth": []
  1353. }
  1354. ],
  1355. "produces": [
  1356. "application/json"
  1357. ],
  1358. "tags": [
  1359. "企业风险管理(app)"
  1360. ],
  1361. "summary": "查询机构库存(库存管理/当前库存)",
  1362. "parameters": [
  1363. {
  1364. "type": "integer",
  1365. "description": "用户ID",
  1366. "name": "userid",
  1367. "in": "query",
  1368. "required": true
  1369. }
  1370. ],
  1371. "responses": {
  1372. "200": {
  1373. "description": "OK",
  1374. "schema": {
  1375. "type": "array",
  1376. "items": {
  1377. "$ref": "#/definitions/models.ErmcpAreaStock"
  1378. }
  1379. }
  1380. },
  1381. "500": {
  1382. "description": "Internal Server Error",
  1383. "schema": {
  1384. "$ref": "#/definitions/app.Response"
  1385. }
  1386. }
  1387. }
  1388. }
  1389. },
  1390. "/Ermcp/QueryAreaStockApply": {
  1391. "get": {
  1392. "security": [
  1393. {
  1394. "ApiKeyAuth": []
  1395. }
  1396. ],
  1397. "produces": [
  1398. "application/json"
  1399. ],
  1400. "tags": [
  1401. "企业风险管理(app)"
  1402. ],
  1403. "summary": "查询库存申请(出入库记录|库存审核)",
  1404. "parameters": [
  1405. {
  1406. "type": "integer",
  1407. "description": "用户ID",
  1408. "name": "userid",
  1409. "in": "query",
  1410. "required": true
  1411. },
  1412. {
  1413. "type": "string",
  1414. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  1415. "name": "inouttype",
  1416. "in": "query"
  1417. },
  1418. {
  1419. "type": "integer",
  1420. "description": "合同ID",
  1421. "name": "spotcontractid",
  1422. "in": "query"
  1423. },
  1424. {
  1425. "type": "integer",
  1426. "description": "现货商品ID",
  1427. "name": "wrstandardid",
  1428. "in": "query"
  1429. },
  1430. {
  1431. "type": "integer",
  1432. "description": "品牌ID",
  1433. "name": "spotgoodsbrandid",
  1434. "in": "query"
  1435. },
  1436. {
  1437. "type": "integer",
  1438. "description": "型号ID",
  1439. "name": "spotgoodsmodelid",
  1440. "in": "query"
  1441. },
  1442. {
  1443. "type": "integer",
  1444. "description": "仓库ID",
  1445. "name": "warehouseinfoid",
  1446. "in": "query"
  1447. },
  1448. {
  1449. "type": "string",
  1450. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1451. "name": "applystatus",
  1452. "in": "query"
  1453. }
  1454. ],
  1455. "responses": {
  1456. "200": {
  1457. "description": "OK",
  1458. "schema": {
  1459. "type": "array",
  1460. "items": {
  1461. "$ref": "#/definitions/ermcp.QryAreaStockApplyRsp"
  1462. }
  1463. }
  1464. },
  1465. "500": {
  1466. "description": "Internal Server Error",
  1467. "schema": {
  1468. "$ref": "#/definitions/app.Response"
  1469. }
  1470. }
  1471. }
  1472. }
  1473. },
  1474. "/Ermcp/QueryAreaStockApplySum": {
  1475. "get": {
  1476. "security": [
  1477. {
  1478. "ApiKeyAuth": []
  1479. }
  1480. ],
  1481. "produces": [
  1482. "application/json"
  1483. ],
  1484. "tags": [
  1485. "企业风险管理(app)"
  1486. ],
  1487. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  1488. "parameters": [
  1489. {
  1490. "type": "integer",
  1491. "description": "合同ID",
  1492. "name": "spotcontractid",
  1493. "in": "query"
  1494. }
  1495. ],
  1496. "responses": {
  1497. "200": {
  1498. "description": "OK",
  1499. "schema": {
  1500. "type": "array",
  1501. "items": {
  1502. "$ref": "#/definitions/ermcp.QueryAreaStockApplySumRsp"
  1503. }
  1504. }
  1505. },
  1506. "500": {
  1507. "description": "Internal Server Error",
  1508. "schema": {
  1509. "$ref": "#/definitions/app.Response"
  1510. }
  1511. }
  1512. }
  1513. }
  1514. },
  1515. "/Ermcp/QueryAreaStockReport": {
  1516. "get": {
  1517. "security": [
  1518. {
  1519. "ApiKeyAuth": []
  1520. }
  1521. ],
  1522. "produces": [
  1523. "application/json"
  1524. ],
  1525. "tags": [
  1526. "企业风险管理(app)"
  1527. ],
  1528. "summary": "查询库存报表",
  1529. "parameters": [
  1530. {
  1531. "type": "integer",
  1532. "description": "用户ID",
  1533. "name": "userid",
  1534. "in": "query",
  1535. "required": true
  1536. },
  1537. {
  1538. "type": "integer",
  1539. "description": "查询类型 1-日报表 2-月报表",
  1540. "name": "querytype",
  1541. "in": "query",
  1542. "required": true
  1543. },
  1544. {
  1545. "type": "string",
  1546. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1547. "name": "querydate",
  1548. "in": "query",
  1549. "required": true
  1550. },
  1551. {
  1552. "type": "integer",
  1553. "description": "现货商品ID",
  1554. "name": "wrstandardid",
  1555. "in": "query"
  1556. },
  1557. {
  1558. "type": "integer",
  1559. "description": "品牌ID",
  1560. "name": "spotgoodsbrandid",
  1561. "in": "query"
  1562. },
  1563. {
  1564. "type": "integer",
  1565. "description": "型号ID",
  1566. "name": "spotgoodsmodelid",
  1567. "in": "query"
  1568. },
  1569. {
  1570. "type": "integer",
  1571. "description": "仓库ID",
  1572. "name": "warehouseinfoid",
  1573. "in": "query"
  1574. }
  1575. ],
  1576. "responses": {
  1577. "200": {
  1578. "description": "OK",
  1579. "schema": {
  1580. "type": "array",
  1581. "items": {
  1582. "$ref": "#/definitions/models.ErmcpAreaStockReport"
  1583. }
  1584. }
  1585. },
  1586. "500": {
  1587. "description": "Internal Server Error",
  1588. "schema": {
  1589. "$ref": "#/definitions/app.Response"
  1590. }
  1591. }
  1592. }
  1593. }
  1594. },
  1595. "/Ermcp/QueryAreaStockReportDetail": {
  1596. "get": {
  1597. "security": [
  1598. {
  1599. "ApiKeyAuth": []
  1600. }
  1601. ],
  1602. "produces": [
  1603. "application/json"
  1604. ],
  1605. "tags": [
  1606. "企业风险管理(app)"
  1607. ],
  1608. "summary": "查询库存报表明细",
  1609. "parameters": [
  1610. {
  1611. "type": "integer",
  1612. "description": "用户ID",
  1613. "name": "userid",
  1614. "in": "query",
  1615. "required": true
  1616. },
  1617. {
  1618. "type": "integer",
  1619. "description": "查询类型 1-日报表明细 2-月报表明细",
  1620. "name": "querytype",
  1621. "in": "query",
  1622. "required": true
  1623. },
  1624. {
  1625. "type": "integer",
  1626. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  1627. "name": "detailtype",
  1628. "in": "query",
  1629. "required": true
  1630. },
  1631. {
  1632. "type": "string",
  1633. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1634. "name": "querydate",
  1635. "in": "query",
  1636. "required": true
  1637. },
  1638. {
  1639. "type": "integer",
  1640. "description": "现货商品ID",
  1641. "name": "wrstandardid",
  1642. "in": "query"
  1643. },
  1644. {
  1645. "type": "integer",
  1646. "description": "品牌ID",
  1647. "name": "spotgoodsbrandid",
  1648. "in": "query"
  1649. },
  1650. {
  1651. "type": "integer",
  1652. "description": "型号ID",
  1653. "name": "spotgoodsmodelid",
  1654. "in": "query"
  1655. },
  1656. {
  1657. "type": "integer",
  1658. "description": "仓库ID",
  1659. "name": "warehouseinfoid",
  1660. "in": "query"
  1661. }
  1662. ],
  1663. "responses": {
  1664. "200": {
  1665. "description": "OK",
  1666. "schema": {
  1667. "type": "array",
  1668. "items": {
  1669. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  1670. }
  1671. }
  1672. },
  1673. "500": {
  1674. "description": "Internal Server Error",
  1675. "schema": {
  1676. "$ref": "#/definitions/app.Response"
  1677. }
  1678. }
  1679. }
  1680. }
  1681. },
  1682. "/Ermcp/QueryAvaildGoodsGroup": {
  1683. "get": {
  1684. "security": [
  1685. {
  1686. "ApiKeyAuth": []
  1687. }
  1688. ],
  1689. "produces": [
  1690. "application/json"
  1691. ],
  1692. "tags": [
  1693. "企业风险管理(app)"
  1694. ],
  1695. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1696. "parameters": [
  1697. {
  1698. "type": "integer",
  1699. "description": "所属机构ID",
  1700. "name": "userid",
  1701. "in": "query",
  1702. "required": true
  1703. }
  1704. ],
  1705. "responses": {
  1706. "200": {
  1707. "description": "OK",
  1708. "schema": {
  1709. "type": "array",
  1710. "items": {
  1711. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1712. }
  1713. }
  1714. },
  1715. "500": {
  1716. "description": "Internal Server Error",
  1717. "schema": {
  1718. "$ref": "#/definitions/app.Response"
  1719. }
  1720. }
  1721. }
  1722. }
  1723. },
  1724. "/Ermcp/QueryBusinessDj": {
  1725. "get": {
  1726. "security": [
  1727. {
  1728. "ApiKeyAuth": []
  1729. }
  1730. ],
  1731. "produces": [
  1732. "application/json"
  1733. ],
  1734. "tags": [
  1735. "企业风险管理(app)"
  1736. ],
  1737. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1738. "parameters": [
  1739. {
  1740. "type": "integer",
  1741. "description": "用户ID",
  1742. "name": "UserId",
  1743. "in": "query",
  1744. "required": true
  1745. },
  1746. {
  1747. "type": "string",
  1748. "description": "现货合同ID, 不填则查所有",
  1749. "name": "relatedid",
  1750. "in": "query"
  1751. }
  1752. ],
  1753. "responses": {
  1754. "200": {
  1755. "description": "OK",
  1756. "schema": {
  1757. "type": "array",
  1758. "items": {
  1759. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1760. }
  1761. }
  1762. },
  1763. "500": {
  1764. "description": "Internal Server Error",
  1765. "schema": {
  1766. "$ref": "#/definitions/app.Response"
  1767. }
  1768. }
  1769. }
  1770. }
  1771. },
  1772. "/Ermcp/QueryBusinessFp": {
  1773. "get": {
  1774. "security": [
  1775. {
  1776. "ApiKeyAuth": []
  1777. }
  1778. ],
  1779. "produces": [
  1780. "application/json"
  1781. ],
  1782. "tags": [
  1783. "企业风险管理(app)"
  1784. ],
  1785. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1786. "parameters": [
  1787. {
  1788. "type": "integer",
  1789. "description": "用户ID",
  1790. "name": "UserId",
  1791. "in": "query",
  1792. "required": true
  1793. },
  1794. {
  1795. "type": "string",
  1796. "description": "现货合同ID, 不填则查所有",
  1797. "name": "relatedid",
  1798. "in": "query"
  1799. }
  1800. ],
  1801. "responses": {
  1802. "200": {
  1803. "description": "OK",
  1804. "schema": {
  1805. "type": "array",
  1806. "items": {
  1807. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1808. }
  1809. }
  1810. },
  1811. "500": {
  1812. "description": "Internal Server Error",
  1813. "schema": {
  1814. "$ref": "#/definitions/app.Response"
  1815. }
  1816. }
  1817. }
  1818. }
  1819. },
  1820. "/Ermcp/QueryBusinessJs": {
  1821. "get": {
  1822. "security": [
  1823. {
  1824. "ApiKeyAuth": []
  1825. }
  1826. ],
  1827. "produces": [
  1828. "application/json"
  1829. ],
  1830. "tags": [
  1831. "企业风险管理(app)"
  1832. ],
  1833. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1834. "parameters": [
  1835. {
  1836. "type": "integer",
  1837. "description": "用户ID",
  1838. "name": "UserId",
  1839. "in": "query",
  1840. "required": true
  1841. },
  1842. {
  1843. "type": "string",
  1844. "description": "现货合同ID, 不填则查所有",
  1845. "name": "relatedid",
  1846. "in": "query"
  1847. },
  1848. {
  1849. "type": "string",
  1850. "description": "操作申请id",
  1851. "name": "operateapplyid",
  1852. "in": "query"
  1853. }
  1854. ],
  1855. "responses": {
  1856. "200": {
  1857. "description": "OK",
  1858. "schema": {
  1859. "type": "array",
  1860. "items": {
  1861. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1862. }
  1863. }
  1864. },
  1865. "500": {
  1866. "description": "Internal Server Error",
  1867. "schema": {
  1868. "$ref": "#/definitions/app.Response"
  1869. }
  1870. }
  1871. }
  1872. }
  1873. },
  1874. "/Ermcp/QueryBusinessJsEx": {
  1875. "get": {
  1876. "security": [
  1877. {
  1878. "ApiKeyAuth": []
  1879. }
  1880. ],
  1881. "produces": [
  1882. "application/json"
  1883. ],
  1884. "tags": [
  1885. "企业风险管理(app)"
  1886. ],
  1887. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1888. "parameters": [
  1889. {
  1890. "type": "integer",
  1891. "description": "用户ID",
  1892. "name": "UserId",
  1893. "in": "query",
  1894. "required": true
  1895. },
  1896. {
  1897. "type": "string",
  1898. "description": "现货合同ID, 不填则查所有",
  1899. "name": "relatedid",
  1900. "in": "query"
  1901. }
  1902. ],
  1903. "responses": {
  1904. "200": {
  1905. "description": "OK",
  1906. "schema": {
  1907. "type": "array",
  1908. "items": {
  1909. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1910. }
  1911. }
  1912. },
  1913. "500": {
  1914. "description": "Internal Server Error",
  1915. "schema": {
  1916. "$ref": "#/definitions/app.Response"
  1917. }
  1918. }
  1919. }
  1920. }
  1921. },
  1922. "/Ermcp/QueryBusinessKx": {
  1923. "get": {
  1924. "security": [
  1925. {
  1926. "ApiKeyAuth": []
  1927. }
  1928. ],
  1929. "produces": [
  1930. "application/json"
  1931. ],
  1932. "tags": [
  1933. "企业风险管理(app)"
  1934. ],
  1935. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1936. "parameters": [
  1937. {
  1938. "type": "integer",
  1939. "description": "用户ID",
  1940. "name": "UserId",
  1941. "in": "query",
  1942. "required": true
  1943. },
  1944. {
  1945. "type": "string",
  1946. "description": "现货合同ID, 不填则查所有",
  1947. "name": "relatedid",
  1948. "in": "query"
  1949. }
  1950. ],
  1951. "responses": {
  1952. "200": {
  1953. "description": "OK",
  1954. "schema": {
  1955. "type": "array",
  1956. "items": {
  1957. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1958. }
  1959. }
  1960. },
  1961. "500": {
  1962. "description": "Internal Server Error",
  1963. "schema": {
  1964. "$ref": "#/definitions/app.Response"
  1965. }
  1966. }
  1967. }
  1968. }
  1969. },
  1970. "/Ermcp/QueryChangeLog": {
  1971. "get": {
  1972. "security": [
  1973. {
  1974. "ApiKeyAuth": []
  1975. }
  1976. ],
  1977. "produces": [
  1978. "application/json"
  1979. ],
  1980. "tags": [
  1981. "企业风险管理(app)"
  1982. ],
  1983. "summary": "查询变更记录",
  1984. "parameters": [
  1985. {
  1986. "type": "string",
  1987. "description": "合同ID",
  1988. "name": "RelatedId",
  1989. "in": "query",
  1990. "required": true
  1991. }
  1992. ],
  1993. "responses": {
  1994. "200": {
  1995. "description": "OK",
  1996. "schema": {
  1997. "type": "array",
  1998. "items": {
  1999. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  2000. }
  2001. }
  2002. },
  2003. "500": {
  2004. "description": "Internal Server Error",
  2005. "schema": {
  2006. "$ref": "#/definitions/app.Response"
  2007. }
  2008. }
  2009. }
  2010. }
  2011. },
  2012. "/Ermcp/QueryContract": {
  2013. "get": {
  2014. "security": [
  2015. {
  2016. "ApiKeyAuth": []
  2017. }
  2018. ],
  2019. "produces": [
  2020. "application/json"
  2021. ],
  2022. "tags": [
  2023. "企业风险管理(app)"
  2024. ],
  2025. "summary": "查询合同(采购和销售)",
  2026. "parameters": [
  2027. {
  2028. "type": "integer",
  2029. "description": "用户ID",
  2030. "name": "userId",
  2031. "in": "query",
  2032. "required": true
  2033. },
  2034. {
  2035. "type": "integer",
  2036. "description": "合同类型 1-采购, -1-销售",
  2037. "name": "contracttype",
  2038. "in": "query",
  2039. "required": true
  2040. },
  2041. {
  2042. "type": "integer",
  2043. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  2044. "name": "querytype",
  2045. "in": "query",
  2046. "required": true
  2047. },
  2048. {
  2049. "type": "string",
  2050. "description": "合同ID(SpotContractId)",
  2051. "name": "contractid",
  2052. "in": "query"
  2053. }
  2054. ],
  2055. "responses": {
  2056. "200": {
  2057. "description": "OK",
  2058. "schema": {
  2059. "type": "array",
  2060. "items": {
  2061. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  2062. }
  2063. }
  2064. },
  2065. "500": {
  2066. "description": "Internal Server Error",
  2067. "schema": {
  2068. "$ref": "#/definitions/app.Response"
  2069. }
  2070. }
  2071. }
  2072. }
  2073. },
  2074. "/Ermcp/QueryErmcpHisOrderDetails": {
  2075. "get": {
  2076. "security": [
  2077. {
  2078. "ApiKeyAuth": []
  2079. }
  2080. ],
  2081. "produces": [
  2082. "application/json"
  2083. ],
  2084. "tags": [
  2085. "企业风险管理(app)"
  2086. ],
  2087. "summary": "获取企业风管期货历史委托单信息",
  2088. "parameters": [
  2089. {
  2090. "type": "integer",
  2091. "description": "资金账户ID",
  2092. "name": "accountID",
  2093. "in": "query",
  2094. "required": true
  2095. },
  2096. {
  2097. "type": "string",
  2098. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2099. "name": "startDate",
  2100. "in": "query"
  2101. },
  2102. {
  2103. "type": "string",
  2104. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2105. "name": "endDate",
  2106. "in": "query"
  2107. }
  2108. ],
  2109. "responses": {
  2110. "200": {
  2111. "description": "OK",
  2112. "schema": {
  2113. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2114. }
  2115. },
  2116. "500": {
  2117. "description": "Internal Server Error",
  2118. "schema": {
  2119. "$ref": "#/definitions/app.Response"
  2120. }
  2121. }
  2122. }
  2123. }
  2124. },
  2125. "/Ermcp/QueryErmcpHisTradeDetails": {
  2126. "get": {
  2127. "security": [
  2128. {
  2129. "ApiKeyAuth": []
  2130. }
  2131. ],
  2132. "produces": [
  2133. "application/json"
  2134. ],
  2135. "tags": [
  2136. "企业风险管理(app)"
  2137. ],
  2138. "summary": "获取企业风管期货历史成交单信息",
  2139. "parameters": [
  2140. {
  2141. "type": "integer",
  2142. "description": "资金账户ID",
  2143. "name": "accountID",
  2144. "in": "query",
  2145. "required": true
  2146. },
  2147. {
  2148. "type": "integer",
  2149. "description": "商品ID",
  2150. "name": "goodsID",
  2151. "in": "query"
  2152. },
  2153. {
  2154. "type": "integer",
  2155. "description": "买卖方向,0:买 1:卖",
  2156. "name": "buyOrSell",
  2157. "in": "query"
  2158. },
  2159. {
  2160. "type": "string",
  2161. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2162. "name": "startDate",
  2163. "in": "query"
  2164. },
  2165. {
  2166. "type": "string",
  2167. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2168. "name": "endDate",
  2169. "in": "query"
  2170. }
  2171. ],
  2172. "responses": {
  2173. "200": {
  2174. "description": "OK",
  2175. "schema": {
  2176. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2177. }
  2178. },
  2179. "500": {
  2180. "description": "Internal Server Error",
  2181. "schema": {
  2182. "$ref": "#/definitions/app.Response"
  2183. }
  2184. }
  2185. }
  2186. }
  2187. },
  2188. "/Ermcp/QueryErmcpOrderDetails": {
  2189. "get": {
  2190. "security": [
  2191. {
  2192. "ApiKeyAuth": []
  2193. }
  2194. ],
  2195. "produces": [
  2196. "application/json"
  2197. ],
  2198. "tags": [
  2199. "企业风险管理(app)"
  2200. ],
  2201. "summary": "获取企业风管期货委托单信息",
  2202. "parameters": [
  2203. {
  2204. "type": "integer",
  2205. "description": "资金账户ID",
  2206. "name": "accountID",
  2207. "in": "query",
  2208. "required": true
  2209. }
  2210. ],
  2211. "responses": {
  2212. "200": {
  2213. "description": "OK",
  2214. "schema": {
  2215. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2216. }
  2217. },
  2218. "500": {
  2219. "description": "Internal Server Error",
  2220. "schema": {
  2221. "$ref": "#/definitions/app.Response"
  2222. }
  2223. }
  2224. }
  2225. }
  2226. },
  2227. "/Ermcp/QueryErmcpTradeDetails": {
  2228. "get": {
  2229. "security": [
  2230. {
  2231. "ApiKeyAuth": []
  2232. }
  2233. ],
  2234. "produces": [
  2235. "application/json"
  2236. ],
  2237. "tags": [
  2238. "企业风险管理(app)"
  2239. ],
  2240. "summary": "获取企业风管期货成交单信息",
  2241. "parameters": [
  2242. {
  2243. "type": "integer",
  2244. "description": "资金账户ID",
  2245. "name": "accountID",
  2246. "in": "query",
  2247. "required": true
  2248. },
  2249. {
  2250. "type": "integer",
  2251. "description": "商品ID",
  2252. "name": "goodsID",
  2253. "in": "query"
  2254. },
  2255. {
  2256. "type": "integer",
  2257. "description": "买卖方向,0:买 1:卖",
  2258. "name": "buyOrSell",
  2259. "in": "query"
  2260. }
  2261. ],
  2262. "responses": {
  2263. "200": {
  2264. "description": "OK",
  2265. "schema": {
  2266. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2267. }
  2268. },
  2269. "500": {
  2270. "description": "Internal Server Error",
  2271. "schema": {
  2272. "$ref": "#/definitions/app.Response"
  2273. }
  2274. }
  2275. }
  2276. }
  2277. },
  2278. "/Ermcp/QueryErmcpTradePosition": {
  2279. "get": {
  2280. "security": [
  2281. {
  2282. "ApiKeyAuth": []
  2283. }
  2284. ],
  2285. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2286. "produces": [
  2287. "application/json"
  2288. ],
  2289. "tags": [
  2290. "企业风险管理(app)"
  2291. ],
  2292. "summary": "获取企业风管期货持仓头寸信息",
  2293. "parameters": [
  2294. {
  2295. "type": "integer",
  2296. "description": "资金账户ID",
  2297. "name": "accountID",
  2298. "in": "query",
  2299. "required": true
  2300. },
  2301. {
  2302. "type": "integer",
  2303. "description": "所属市场ID",
  2304. "name": "marketID",
  2305. "in": "query"
  2306. }
  2307. ],
  2308. "responses": {
  2309. "200": {
  2310. "description": "OK",
  2311. "schema": {
  2312. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2313. }
  2314. },
  2315. "500": {
  2316. "description": "Internal Server Error",
  2317. "schema": {
  2318. "$ref": "#/definitions/app.Response"
  2319. }
  2320. }
  2321. }
  2322. }
  2323. },
  2324. "/Ermcp/QueryExposureDetail": {
  2325. "get": {
  2326. "security": [
  2327. {
  2328. "ApiKeyAuth": []
  2329. }
  2330. ],
  2331. "produces": [
  2332. "application/json"
  2333. ],
  2334. "tags": [
  2335. "企业风险管理(app)"
  2336. ],
  2337. "summary": "查询敞口现货明细",
  2338. "parameters": [
  2339. {
  2340. "type": "integer",
  2341. "description": "所属机构ID",
  2342. "name": "areaUserId",
  2343. "in": "query",
  2344. "required": true
  2345. },
  2346. {
  2347. "type": "integer",
  2348. "description": "套保商品",
  2349. "name": "middleGoodsId",
  2350. "in": "query",
  2351. "required": true
  2352. }
  2353. ],
  2354. "responses": {
  2355. "200": {
  2356. "description": "OK",
  2357. "schema": {
  2358. "type": "array",
  2359. "items": {
  2360. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2361. }
  2362. }
  2363. },
  2364. "500": {
  2365. "description": "Internal Server Error",
  2366. "schema": {
  2367. "$ref": "#/definitions/app.Response"
  2368. }
  2369. }
  2370. }
  2371. }
  2372. },
  2373. "/Ermcp/QueryExposureHedgePosition": {
  2374. "get": {
  2375. "security": [
  2376. {
  2377. "ApiKeyAuth": []
  2378. }
  2379. ],
  2380. "produces": [
  2381. "application/json"
  2382. ],
  2383. "tags": [
  2384. "企业风险管理(app)"
  2385. ],
  2386. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2387. "parameters": [
  2388. {
  2389. "type": "integer",
  2390. "description": "所属机构ID",
  2391. "name": "areaUserId",
  2392. "in": "query",
  2393. "required": true
  2394. }
  2395. ],
  2396. "responses": {
  2397. "200": {
  2398. "description": "OK",
  2399. "schema": {
  2400. "type": "array",
  2401. "items": {
  2402. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2403. }
  2404. }
  2405. },
  2406. "500": {
  2407. "description": "Internal Server Error",
  2408. "schema": {
  2409. "$ref": "#/definitions/app.Response"
  2410. }
  2411. }
  2412. }
  2413. }
  2414. },
  2415. "/Ermcp/QueryExposureHedgePositionDetail": {
  2416. "get": {
  2417. "security": [
  2418. {
  2419. "ApiKeyAuth": []
  2420. }
  2421. ],
  2422. "produces": [
  2423. "application/json"
  2424. ],
  2425. "tags": [
  2426. "企业风险管理(app)"
  2427. ],
  2428. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2429. "parameters": [
  2430. {
  2431. "type": "integer",
  2432. "description": "所属机构ID",
  2433. "name": "areaUserId",
  2434. "in": "query",
  2435. "required": true
  2436. },
  2437. {
  2438. "type": "integer",
  2439. "description": "商品id",
  2440. "name": "goodsId",
  2441. "in": "query",
  2442. "required": true
  2443. }
  2444. ],
  2445. "responses": {
  2446. "200": {
  2447. "description": "OK",
  2448. "schema": {
  2449. "type": "array",
  2450. "items": {
  2451. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2452. }
  2453. }
  2454. },
  2455. "500": {
  2456. "description": "Internal Server Error",
  2457. "schema": {
  2458. "$ref": "#/definitions/app.Response"
  2459. }
  2460. }
  2461. }
  2462. }
  2463. },
  2464. "/Ermcp/QueryExposureSpot": {
  2465. "get": {
  2466. "security": [
  2467. {
  2468. "ApiKeyAuth": []
  2469. }
  2470. ],
  2471. "produces": [
  2472. "application/json"
  2473. ],
  2474. "tags": [
  2475. "企业风险管理(app)"
  2476. ],
  2477. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2478. "parameters": [
  2479. {
  2480. "type": "integer",
  2481. "description": "所属机构ID",
  2482. "name": "areaUserId",
  2483. "in": "query",
  2484. "required": true
  2485. }
  2486. ],
  2487. "responses": {
  2488. "200": {
  2489. "description": "OK",
  2490. "schema": {
  2491. "type": "array",
  2492. "items": {
  2493. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2494. }
  2495. }
  2496. },
  2497. "500": {
  2498. "description": "Internal Server Error",
  2499. "schema": {
  2500. "$ref": "#/definitions/app.Response"
  2501. }
  2502. }
  2503. }
  2504. }
  2505. },
  2506. "/Ermcp/QueryExposureSpotDetail": {
  2507. "get": {
  2508. "security": [
  2509. {
  2510. "ApiKeyAuth": []
  2511. }
  2512. ],
  2513. "produces": [
  2514. "application/json"
  2515. ],
  2516. "tags": [
  2517. "企业风险管理(app)"
  2518. ],
  2519. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2520. "parameters": [
  2521. {
  2522. "type": "integer",
  2523. "description": "所属机构ID",
  2524. "name": "areaUserId",
  2525. "in": "query",
  2526. "required": true
  2527. },
  2528. {
  2529. "type": "integer",
  2530. "description": "现货品种ID",
  2531. "name": "wrstandardId",
  2532. "in": "query",
  2533. "required": true
  2534. }
  2535. ],
  2536. "responses": {
  2537. "200": {
  2538. "description": "OK",
  2539. "schema": {
  2540. "type": "array",
  2541. "items": {
  2542. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2543. }
  2544. }
  2545. },
  2546. "500": {
  2547. "description": "Internal Server Error",
  2548. "schema": {
  2549. "$ref": "#/definitions/app.Response"
  2550. }
  2551. }
  2552. }
  2553. }
  2554. },
  2555. "/Ermcp/QueryGGConvertConfig": {
  2556. "get": {
  2557. "security": [
  2558. {
  2559. "ApiKeyAuth": []
  2560. }
  2561. ],
  2562. "produces": [
  2563. "application/json"
  2564. ],
  2565. "tags": [
  2566. "企业风险管理(app)"
  2567. ],
  2568. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2569. "parameters": [
  2570. {
  2571. "type": "integer",
  2572. "description": "品种id(不填则查所有)",
  2573. "name": "goodsgroupid",
  2574. "in": "query"
  2575. }
  2576. ],
  2577. "responses": {
  2578. "200": {
  2579. "description": "OK",
  2580. "schema": {
  2581. "type": "array",
  2582. "items": {
  2583. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2584. }
  2585. }
  2586. },
  2587. "500": {
  2588. "description": "Internal Server Error",
  2589. "schema": {
  2590. "$ref": "#/definitions/app.Response"
  2591. }
  2592. }
  2593. }
  2594. }
  2595. },
  2596. "/Ermcp/QueryGoodsBrand": {
  2597. "get": {
  2598. "security": [
  2599. {
  2600. "ApiKeyAuth": []
  2601. }
  2602. ],
  2603. "produces": [
  2604. "application/json"
  2605. ],
  2606. "tags": [
  2607. "企业风险管理(app)"
  2608. ],
  2609. "summary": "查询商品品牌",
  2610. "parameters": [
  2611. {
  2612. "type": "integer",
  2613. "description": "用户ID",
  2614. "name": "userid",
  2615. "in": "query",
  2616. "required": true
  2617. },
  2618. {
  2619. "type": "integer",
  2620. "description": "现货商品ID",
  2621. "name": "wrstandardid",
  2622. "in": "query"
  2623. }
  2624. ],
  2625. "responses": {
  2626. "200": {
  2627. "description": "OK",
  2628. "schema": {
  2629. "type": "array",
  2630. "items": {
  2631. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2632. }
  2633. }
  2634. },
  2635. "500": {
  2636. "description": "Internal Server Error",
  2637. "schema": {
  2638. "$ref": "#/definitions/app.Response"
  2639. }
  2640. }
  2641. }
  2642. }
  2643. },
  2644. "/Ermcp/QueryGoodsModel": {
  2645. "get": {
  2646. "security": [
  2647. {
  2648. "ApiKeyAuth": []
  2649. }
  2650. ],
  2651. "produces": [
  2652. "application/json"
  2653. ],
  2654. "tags": [
  2655. "企业风险管理(app)"
  2656. ],
  2657. "summary": "查询商品型号",
  2658. "parameters": [
  2659. {
  2660. "type": "integer",
  2661. "description": "用户ID",
  2662. "name": "userid",
  2663. "in": "query",
  2664. "required": true
  2665. }
  2666. ],
  2667. "responses": {
  2668. "200": {
  2669. "description": "OK",
  2670. "schema": {
  2671. "type": "array",
  2672. "items": {
  2673. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2674. }
  2675. }
  2676. },
  2677. "500": {
  2678. "description": "Internal Server Error",
  2679. "schema": {
  2680. "$ref": "#/definitions/app.Response"
  2681. }
  2682. }
  2683. }
  2684. }
  2685. },
  2686. "/Ermcp/QueryHedgePlan": {
  2687. "get": {
  2688. "security": [
  2689. {
  2690. "ApiKeyAuth": []
  2691. }
  2692. ],
  2693. "produces": [
  2694. "application/json"
  2695. ],
  2696. "tags": [
  2697. "企业风险管理(app)"
  2698. ],
  2699. "summary": "查询套保计划",
  2700. "parameters": [
  2701. {
  2702. "type": "integer",
  2703. "description": "用户ID",
  2704. "name": "userId",
  2705. "in": "query",
  2706. "required": true
  2707. },
  2708. {
  2709. "type": "string",
  2710. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  2711. "name": "HedgePlanStatus",
  2712. "in": "query",
  2713. "required": true
  2714. }
  2715. ],
  2716. "responses": {
  2717. "200": {
  2718. "description": "OK",
  2719. "schema": {
  2720. "type": "array",
  2721. "items": {
  2722. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  2723. }
  2724. }
  2725. },
  2726. "500": {
  2727. "description": "Internal Server Error",
  2728. "schema": {
  2729. "$ref": "#/definitions/app.Response"
  2730. }
  2731. }
  2732. }
  2733. }
  2734. },
  2735. "/Ermcp/QueryHisExposure": {
  2736. "get": {
  2737. "security": [
  2738. {
  2739. "ApiKeyAuth": []
  2740. }
  2741. ],
  2742. "produces": [
  2743. "application/json"
  2744. ],
  2745. "tags": [
  2746. "企业风险管理(app)"
  2747. ],
  2748. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2749. "parameters": [
  2750. {
  2751. "type": "integer",
  2752. "description": "所属机构ID",
  2753. "name": "areaUserId",
  2754. "in": "query",
  2755. "required": true
  2756. },
  2757. {
  2758. "type": "integer",
  2759. "description": "每个品种记录数",
  2760. "name": "lastNum",
  2761. "in": "query",
  2762. "required": true
  2763. }
  2764. ],
  2765. "responses": {
  2766. "200": {
  2767. "description": "OK",
  2768. "schema": {
  2769. "type": "array",
  2770. "items": {
  2771. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2772. }
  2773. }
  2774. },
  2775. "500": {
  2776. "description": "Internal Server Error",
  2777. "schema": {
  2778. "$ref": "#/definitions/app.Response"
  2779. }
  2780. }
  2781. }
  2782. }
  2783. },
  2784. "/Ermcp/QueryMiddleGoods": {
  2785. "get": {
  2786. "security": [
  2787. {
  2788. "ApiKeyAuth": []
  2789. }
  2790. ],
  2791. "produces": [
  2792. "application/json"
  2793. ],
  2794. "tags": [
  2795. "企业风险管理(app)"
  2796. ],
  2797. "summary": "查询套保品种(菜单:套保品种)",
  2798. "parameters": [
  2799. {
  2800. "type": "integer",
  2801. "description": "所属机构ID",
  2802. "name": "userid",
  2803. "in": "query",
  2804. "required": true
  2805. },
  2806. {
  2807. "type": "integer",
  2808. "description": "状态 0-停用 1-正常",
  2809. "name": "status",
  2810. "in": "query",
  2811. "required": true
  2812. }
  2813. ],
  2814. "responses": {
  2815. "200": {
  2816. "description": "OK",
  2817. "schema": {
  2818. "type": "array",
  2819. "items": {
  2820. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2821. }
  2822. }
  2823. },
  2824. "500": {
  2825. "description": "Internal Server Error",
  2826. "schema": {
  2827. "$ref": "#/definitions/app.Response"
  2828. }
  2829. }
  2830. }
  2831. }
  2832. },
  2833. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2834. "get": {
  2835. "security": [
  2836. {
  2837. "ApiKeyAuth": []
  2838. }
  2839. ],
  2840. "produces": [
  2841. "application/json"
  2842. ],
  2843. "tags": [
  2844. "企业风险管理(app)"
  2845. ],
  2846. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2847. "parameters": [
  2848. {
  2849. "type": "integer",
  2850. "description": "所属机构ID",
  2851. "name": "userid",
  2852. "in": "query",
  2853. "required": true
  2854. },
  2855. {
  2856. "type": "integer",
  2857. "description": "套保品种id",
  2858. "name": "middlegoodsid",
  2859. "in": "query",
  2860. "required": true
  2861. }
  2862. ],
  2863. "responses": {
  2864. "200": {
  2865. "description": "OK",
  2866. "schema": {
  2867. "type": "array",
  2868. "items": {
  2869. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2870. }
  2871. }
  2872. },
  2873. "500": {
  2874. "description": "Internal Server Error",
  2875. "schema": {
  2876. "$ref": "#/definitions/app.Response"
  2877. }
  2878. }
  2879. }
  2880. }
  2881. },
  2882. "/Ermcp/QueryMiddleGoodsDetail": {
  2883. "get": {
  2884. "security": [
  2885. {
  2886. "ApiKeyAuth": []
  2887. }
  2888. ],
  2889. "produces": [
  2890. "application/json"
  2891. ],
  2892. "tags": [
  2893. "企业风险管理(app)"
  2894. ],
  2895. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2896. "parameters": [
  2897. {
  2898. "type": "integer",
  2899. "description": "所属机构ID",
  2900. "name": "userid",
  2901. "in": "query",
  2902. "required": true
  2903. },
  2904. {
  2905. "type": "integer",
  2906. "description": "套保品种id",
  2907. "name": "middlegoodsid",
  2908. "in": "query",
  2909. "required": true
  2910. }
  2911. ],
  2912. "responses": {
  2913. "200": {
  2914. "description": "OK",
  2915. "schema": {
  2916. "type": "array",
  2917. "items": {
  2918. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2919. }
  2920. }
  2921. },
  2922. "500": {
  2923. "description": "Internal Server Error",
  2924. "schema": {
  2925. "$ref": "#/definitions/app.Response"
  2926. }
  2927. }
  2928. }
  2929. }
  2930. },
  2931. "/Ermcp/QueryPendingAuditInfo": {
  2932. "get": {
  2933. "security": [
  2934. {
  2935. "ApiKeyAuth": []
  2936. }
  2937. ],
  2938. "produces": [
  2939. "application/json"
  2940. ],
  2941. "tags": [
  2942. "企业风险管理(app)"
  2943. ],
  2944. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2945. "parameters": [
  2946. {
  2947. "type": "integer",
  2948. "description": "用户ID",
  2949. "name": "UserId",
  2950. "in": "query",
  2951. "required": true
  2952. }
  2953. ],
  2954. "responses": {
  2955. "200": {
  2956. "description": "OK",
  2957. "schema": {
  2958. "type": "array",
  2959. "items": {
  2960. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2961. }
  2962. }
  2963. },
  2964. "500": {
  2965. "description": "Internal Server Error",
  2966. "schema": {
  2967. "$ref": "#/definitions/app.Response"
  2968. }
  2969. }
  2970. }
  2971. }
  2972. },
  2973. "/Ermcp/QueryRealtimeExposure": {
  2974. "get": {
  2975. "security": [
  2976. {
  2977. "ApiKeyAuth": []
  2978. }
  2979. ],
  2980. "produces": [
  2981. "application/json"
  2982. ],
  2983. "tags": [
  2984. "企业风险管理(app)"
  2985. ],
  2986. "summary": "查询实时敞口",
  2987. "parameters": [
  2988. {
  2989. "type": "integer",
  2990. "description": "所属机构ID",
  2991. "name": "AreaUserID",
  2992. "in": "query",
  2993. "required": true
  2994. }
  2995. ],
  2996. "responses": {
  2997. "200": {
  2998. "description": "OK",
  2999. "schema": {
  3000. "type": "array",
  3001. "items": {
  3002. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3003. }
  3004. }
  3005. },
  3006. "500": {
  3007. "description": "Internal Server Error",
  3008. "schema": {
  3009. "$ref": "#/definitions/app.Response"
  3010. }
  3011. }
  3012. }
  3013. }
  3014. },
  3015. "/Ermcp/QueryRealtimeExposurePosition": {
  3016. "get": {
  3017. "security": [
  3018. {
  3019. "ApiKeyAuth": []
  3020. }
  3021. ],
  3022. "produces": [
  3023. "application/json"
  3024. ],
  3025. "tags": [
  3026. "企业风险管理(app)"
  3027. ],
  3028. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3029. "parameters": [
  3030. {
  3031. "type": "integer",
  3032. "description": "所属机构ID",
  3033. "name": "areaUserId",
  3034. "in": "query",
  3035. "required": true
  3036. },
  3037. {
  3038. "type": "integer",
  3039. "description": "套保商品ID",
  3040. "name": "middleGoodsId",
  3041. "in": "query",
  3042. "required": true
  3043. }
  3044. ],
  3045. "responses": {
  3046. "200": {
  3047. "description": "OK",
  3048. "schema": {
  3049. "type": "array",
  3050. "items": {
  3051. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3052. }
  3053. }
  3054. },
  3055. "500": {
  3056. "description": "Internal Server Error",
  3057. "schema": {
  3058. "$ref": "#/definitions/app.Response"
  3059. }
  3060. }
  3061. }
  3062. }
  3063. },
  3064. "/Ermcp/QuerySpotContract": {
  3065. "get": {
  3066. "security": [
  3067. {
  3068. "ApiKeyAuth": []
  3069. }
  3070. ],
  3071. "produces": [
  3072. "application/json"
  3073. ],
  3074. "tags": [
  3075. "企业风险管理(app)"
  3076. ],
  3077. "summary": "查询现货合同(对应现货合同菜单)",
  3078. "parameters": [
  3079. {
  3080. "type": "integer",
  3081. "description": "用户ID",
  3082. "name": "userId",
  3083. "in": "query",
  3084. "required": true
  3085. },
  3086. {
  3087. "type": "integer",
  3088. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  3089. "name": "QueryType",
  3090. "in": "query",
  3091. "required": true
  3092. }
  3093. ],
  3094. "responses": {
  3095. "200": {
  3096. "description": "OK",
  3097. "schema": {
  3098. "type": "array",
  3099. "items": {
  3100. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  3101. }
  3102. }
  3103. },
  3104. "500": {
  3105. "description": "Internal Server Error",
  3106. "schema": {
  3107. "$ref": "#/definitions/app.Response"
  3108. }
  3109. }
  3110. }
  3111. }
  3112. },
  3113. "/Ermcp/QueryUserInfo": {
  3114. "get": {
  3115. "security": [
  3116. {
  3117. "ApiKeyAuth": []
  3118. }
  3119. ],
  3120. "produces": [
  3121. "application/json"
  3122. ],
  3123. "tags": [
  3124. "企业风险管理(app)"
  3125. ],
  3126. "summary": "查询客户资料",
  3127. "parameters": [
  3128. {
  3129. "type": "integer",
  3130. "description": "所属机构用户ID",
  3131. "name": "MemberUserID",
  3132. "in": "query",
  3133. "required": true
  3134. },
  3135. {
  3136. "type": "integer",
  3137. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3138. "name": "queryType",
  3139. "in": "query",
  3140. "required": true
  3141. }
  3142. ],
  3143. "responses": {
  3144. "200": {
  3145. "description": "OK",
  3146. "schema": {
  3147. "type": "array",
  3148. "items": {
  3149. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3150. }
  3151. }
  3152. },
  3153. "500": {
  3154. "description": "Internal Server Error",
  3155. "schema": {
  3156. "$ref": "#/definitions/app.Response"
  3157. }
  3158. }
  3159. }
  3160. }
  3161. },
  3162. "/Ermcp/QueryWarehouseInfo": {
  3163. "get": {
  3164. "security": [
  3165. {
  3166. "ApiKeyAuth": []
  3167. }
  3168. ],
  3169. "produces": [
  3170. "application/json"
  3171. ],
  3172. "tags": [
  3173. "企业风险管理(app)"
  3174. ],
  3175. "summary": "查询仓库信息",
  3176. "parameters": [
  3177. {
  3178. "type": "integer",
  3179. "description": "用户ID",
  3180. "name": "userid",
  3181. "in": "query",
  3182. "required": true
  3183. },
  3184. {
  3185. "type": "string",
  3186. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3187. "name": "status",
  3188. "in": "query"
  3189. }
  3190. ],
  3191. "responses": {
  3192. "200": {
  3193. "description": "OK",
  3194. "schema": {
  3195. "type": "array",
  3196. "items": {
  3197. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3198. }
  3199. }
  3200. },
  3201. "500": {
  3202. "description": "Internal Server Error",
  3203. "schema": {
  3204. "$ref": "#/definitions/app.Response"
  3205. }
  3206. }
  3207. }
  3208. }
  3209. },
  3210. "/Ermcp/QueryWrStandard": {
  3211. "get": {
  3212. "security": [
  3213. {
  3214. "ApiKeyAuth": []
  3215. }
  3216. ],
  3217. "produces": [
  3218. "application/json"
  3219. ],
  3220. "tags": [
  3221. "企业风险管理(app)"
  3222. ],
  3223. "summary": "查询现货商品",
  3224. "parameters": [
  3225. {
  3226. "type": "integer",
  3227. "description": "所属机构ID",
  3228. "name": "userid",
  3229. "in": "query",
  3230. "required": true
  3231. },
  3232. {
  3233. "type": "integer",
  3234. "description": "状态 0-停用 1-正常",
  3235. "name": "status",
  3236. "in": "query",
  3237. "required": true
  3238. }
  3239. ],
  3240. "responses": {
  3241. "200": {
  3242. "description": "OK",
  3243. "schema": {
  3244. "type": "array",
  3245. "items": {
  3246. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  3247. }
  3248. }
  3249. },
  3250. "500": {
  3251. "description": "Internal Server Error",
  3252. "schema": {
  3253. "$ref": "#/definitions/app.Response"
  3254. }
  3255. }
  3256. }
  3257. }
  3258. },
  3259. "/Ermcp/QueryWrStandardDetail": {
  3260. "get": {
  3261. "security": [
  3262. {
  3263. "ApiKeyAuth": []
  3264. }
  3265. ],
  3266. "produces": [
  3267. "application/json"
  3268. ],
  3269. "tags": [
  3270. "企业风险管理(app)"
  3271. ],
  3272. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  3273. "parameters": [
  3274. {
  3275. "type": "integer",
  3276. "description": "所属机构ID",
  3277. "name": "userid",
  3278. "in": "query",
  3279. "required": true
  3280. },
  3281. {
  3282. "type": "integer",
  3283. "description": "现货商品ID",
  3284. "name": "wrstandardid",
  3285. "in": "query",
  3286. "required": true
  3287. },
  3288. {
  3289. "type": "integer",
  3290. "description": "可不填, 1-查询关联交易商品",
  3291. "name": "goods",
  3292. "in": "query"
  3293. }
  3294. ],
  3295. "responses": {
  3296. "200": {
  3297. "description": "OK",
  3298. "schema": {
  3299. "type": "array",
  3300. "items": {
  3301. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  3302. }
  3303. }
  3304. },
  3305. "500": {
  3306. "description": "Internal Server Error",
  3307. "schema": {
  3308. "$ref": "#/definitions/app.Response"
  3309. }
  3310. }
  3311. }
  3312. }
  3313. },
  3314. "/Erms2/QueryArbitrageStrategy": {
  3315. "get": {
  3316. "security": [
  3317. {
  3318. "ApiKeyAuth": []
  3319. }
  3320. ],
  3321. "produces": [
  3322. "application/json"
  3323. ],
  3324. "tags": [
  3325. "风险管理"
  3326. ],
  3327. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  3328. "parameters": [
  3329. {
  3330. "type": "integer",
  3331. "description": "账户ID",
  3332. "name": "userid",
  3333. "in": "query",
  3334. "required": true
  3335. },
  3336. {
  3337. "type": "string",
  3338. "description": "商品组ID(品种ID)",
  3339. "name": "goodsgroupid",
  3340. "in": "query"
  3341. }
  3342. ],
  3343. "responses": {
  3344. "200": {
  3345. "description": "OK",
  3346. "schema": {
  3347. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  3348. }
  3349. },
  3350. "500": {
  3351. "description": "Internal Server Error",
  3352. "schema": {
  3353. "$ref": "#/definitions/app.Response"
  3354. }
  3355. }
  3356. }
  3357. }
  3358. },
  3359. "/Erms2/QueryInnerTradeDetail": {
  3360. "get": {
  3361. "security": [
  3362. {
  3363. "ApiKeyAuth": []
  3364. }
  3365. ],
  3366. "produces": [
  3367. "application/json"
  3368. ],
  3369. "tags": [
  3370. "风险管理"
  3371. ],
  3372. "summary": "查询内部成交单信息",
  3373. "parameters": [
  3374. {
  3375. "type": "integer",
  3376. "description": "资金账户",
  3377. "name": "accountid",
  3378. "in": "query",
  3379. "required": true
  3380. }
  3381. ],
  3382. "responses": {
  3383. "200": {
  3384. "description": "OK",
  3385. "schema": {
  3386. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  3387. }
  3388. },
  3389. "500": {
  3390. "description": "Internal Server Error",
  3391. "schema": {
  3392. "$ref": "#/definitions/app.Response"
  3393. }
  3394. }
  3395. }
  3396. }
  3397. },
  3398. "/Erms2/QuerySpotContract": {
  3399. "get": {
  3400. "security": [
  3401. {
  3402. "ApiKeyAuth": []
  3403. }
  3404. ],
  3405. "produces": [
  3406. "application/json"
  3407. ],
  3408. "tags": [
  3409. "风险管理"
  3410. ],
  3411. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  3412. "parameters": [
  3413. {
  3414. "type": "integer",
  3415. "description": "策略申请ID",
  3416. "name": "asapplyid",
  3417. "in": "query",
  3418. "required": true
  3419. },
  3420. {
  3421. "type": "integer",
  3422. "description": "现货合同ID",
  3423. "name": "spotcontractid",
  3424. "in": "query"
  3425. }
  3426. ],
  3427. "responses": {
  3428. "200": {
  3429. "description": "OK",
  3430. "schema": {
  3431. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  3432. }
  3433. },
  3434. "500": {
  3435. "description": "Internal Server Error",
  3436. "schema": {
  3437. "$ref": "#/definitions/app.Response"
  3438. }
  3439. }
  3440. }
  3441. }
  3442. },
  3443. "/Erms3/AddErms2ASApply": {
  3444. "post": {
  3445. "security": [
  3446. {
  3447. "ApiKeyAuth": []
  3448. }
  3449. ],
  3450. "produces": [
  3451. "application/json"
  3452. ],
  3453. "tags": [
  3454. "风险管理v3"
  3455. ],
  3456. "summary": "新增期现套利业务申请",
  3457. "parameters": [
  3458. {
  3459. "description": "申请参数",
  3460. "name": "jsonBody",
  3461. "in": "body",
  3462. "required": true,
  3463. "schema": {
  3464. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  3465. }
  3466. }
  3467. ],
  3468. "responses": {
  3469. "200": {
  3470. "description": "OK",
  3471. "schema": {
  3472. "$ref": "#/definitions/app.Response"
  3473. }
  3474. },
  3475. "500": {
  3476. "description": "Internal Server Error",
  3477. "schema": {
  3478. "$ref": "#/definitions/app.Response"
  3479. }
  3480. }
  3481. }
  3482. }
  3483. },
  3484. "/Erms3/AddErms2SpotTradeApply": {
  3485. "post": {
  3486. "security": [
  3487. {
  3488. "ApiKeyAuth": []
  3489. }
  3490. ],
  3491. "produces": [
  3492. "application/json"
  3493. ],
  3494. "tags": [
  3495. "风险管理v3"
  3496. ],
  3497. "summary": "新增现货贸易业务申请",
  3498. "parameters": [
  3499. {
  3500. "description": "申请参数",
  3501. "name": "jsonBody",
  3502. "in": "body",
  3503. "required": true,
  3504. "schema": {
  3505. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  3506. }
  3507. }
  3508. ],
  3509. "responses": {
  3510. "200": {
  3511. "description": "OK",
  3512. "schema": {
  3513. "$ref": "#/definitions/app.Response"
  3514. }
  3515. },
  3516. "500": {
  3517. "description": "Internal Server Error",
  3518. "schema": {
  3519. "$ref": "#/definitions/app.Response"
  3520. }
  3521. }
  3522. }
  3523. }
  3524. },
  3525. "/Erms3/AddSpotContractApply": {
  3526. "post": {
  3527. "security": [
  3528. {
  3529. "ApiKeyAuth": []
  3530. }
  3531. ],
  3532. "produces": [
  3533. "application/json"
  3534. ],
  3535. "tags": [
  3536. "风险管理v3"
  3537. ],
  3538. "summary": "新增现货合同申请",
  3539. "parameters": [
  3540. {
  3541. "description": "申请参数",
  3542. "name": "jsonBody",
  3543. "in": "body",
  3544. "required": true,
  3545. "schema": {
  3546. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  3547. }
  3548. }
  3549. ],
  3550. "responses": {
  3551. "200": {
  3552. "description": "OK",
  3553. "schema": {
  3554. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  3555. }
  3556. },
  3557. "500": {
  3558. "description": "Internal Server Error",
  3559. "schema": {
  3560. "$ref": "#/definitions/app.Response"
  3561. }
  3562. }
  3563. }
  3564. }
  3565. },
  3566. "/Erms3/AddUserInfoApply": {
  3567. "post": {
  3568. "security": [
  3569. {
  3570. "ApiKeyAuth": []
  3571. }
  3572. ],
  3573. "produces": [
  3574. "application/json"
  3575. ],
  3576. "tags": [
  3577. "风险管理v3"
  3578. ],
  3579. "summary": "新增客户申请",
  3580. "parameters": [
  3581. {
  3582. "description": "用户信息",
  3583. "name": "jsonBody",
  3584. "in": "body",
  3585. "required": true,
  3586. "schema": {
  3587. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  3588. }
  3589. }
  3590. ],
  3591. "responses": {
  3592. "200": {
  3593. "description": "OK",
  3594. "schema": {
  3595. "$ref": "#/definitions/app.Response"
  3596. }
  3597. },
  3598. "500": {
  3599. "description": "Internal Server Error",
  3600. "schema": {
  3601. "$ref": "#/definitions/app.Response"
  3602. }
  3603. }
  3604. }
  3605. }
  3606. },
  3607. "/Erms3/ModifyUserInfoApply": {
  3608. "post": {
  3609. "security": [
  3610. {
  3611. "ApiKeyAuth": []
  3612. }
  3613. ],
  3614. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  3615. "produces": [
  3616. "application/json"
  3617. ],
  3618. "tags": [
  3619. "风险管理v3"
  3620. ],
  3621. "summary": "修改客户申请",
  3622. "parameters": [
  3623. {
  3624. "description": "用户信息",
  3625. "name": "jsonBody",
  3626. "in": "body",
  3627. "required": true,
  3628. "schema": {
  3629. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  3630. }
  3631. }
  3632. ],
  3633. "responses": {
  3634. "200": {
  3635. "description": "OK",
  3636. "schema": {
  3637. "$ref": "#/definitions/app.Response"
  3638. }
  3639. },
  3640. "500": {
  3641. "description": "Internal Server Error",
  3642. "schema": {
  3643. "$ref": "#/definitions/app.Response"
  3644. }
  3645. }
  3646. }
  3647. }
  3648. },
  3649. "/Erms3/QueryBusinessInfo": {
  3650. "get": {
  3651. "security": [
  3652. {
  3653. "ApiKeyAuth": []
  3654. }
  3655. ],
  3656. "produces": [
  3657. "application/json"
  3658. ],
  3659. "tags": [
  3660. "风险管理v3"
  3661. ],
  3662. "summary": "查询业务表单数据",
  3663. "parameters": [
  3664. {
  3665. "type": "string",
  3666. "description": "资金账号ID列表,用逗号分隔",
  3667. "name": "accountids",
  3668. "in": "query",
  3669. "required": true
  3670. },
  3671. {
  3672. "type": "integer",
  3673. "description": "状态,0为未结束 1为已结束",
  3674. "name": "status",
  3675. "in": "query",
  3676. "required": true
  3677. }
  3678. ],
  3679. "responses": {
  3680. "200": {
  3681. "description": "OK",
  3682. "schema": {
  3683. "type": "array",
  3684. "items": {
  3685. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  3686. }
  3687. }
  3688. },
  3689. "500": {
  3690. "description": "Internal Server Error",
  3691. "schema": {
  3692. "$ref": "#/definitions/app.Response"
  3693. }
  3694. }
  3695. }
  3696. }
  3697. },
  3698. "/Erms3/QueryPendingAuditContract": {
  3699. "get": {
  3700. "security": [
  3701. {
  3702. "ApiKeyAuth": []
  3703. }
  3704. ],
  3705. "produces": [
  3706. "application/json"
  3707. ],
  3708. "tags": [
  3709. "风险管理v3"
  3710. ],
  3711. "summary": "查询待审核合同",
  3712. "parameters": [
  3713. {
  3714. "type": "string",
  3715. "description": "资金账号ID列表,逗号隔开",
  3716. "name": "accountids",
  3717. "in": "query",
  3718. "required": true
  3719. },
  3720. {
  3721. "type": "integer",
  3722. "description": "合同类型 1-采购 -1-销售",
  3723. "name": "contracttype",
  3724. "in": "query",
  3725. "required": true
  3726. },
  3727. {
  3728. "type": "integer",
  3729. "description": "合同模式 1-普通 2-回购",
  3730. "name": "contractmode",
  3731. "in": "query",
  3732. "required": true
  3733. }
  3734. ],
  3735. "responses": {
  3736. "200": {
  3737. "description": "OK",
  3738. "schema": {
  3739. "type": "array",
  3740. "items": {
  3741. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  3742. }
  3743. }
  3744. },
  3745. "500": {
  3746. "description": "Internal Server Error",
  3747. "schema": {
  3748. "$ref": "#/definitions/app.Response"
  3749. }
  3750. }
  3751. }
  3752. }
  3753. },
  3754. "/Erms3/QueryPendingBusiness": {
  3755. "get": {
  3756. "security": [
  3757. {
  3758. "ApiKeyAuth": []
  3759. }
  3760. ],
  3761. "produces": [
  3762. "application/json"
  3763. ],
  3764. "tags": [
  3765. "风险管理v3"
  3766. ],
  3767. "summary": "查询待审核基差贸易业务",
  3768. "parameters": [
  3769. {
  3770. "type": "string",
  3771. "description": "资金账号ID列表,逗号隔开",
  3772. "name": "accountids",
  3773. "in": "query",
  3774. "required": true
  3775. }
  3776. ],
  3777. "responses": {
  3778. "200": {
  3779. "description": "OK",
  3780. "schema": {
  3781. "type": "array",
  3782. "items": {
  3783. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  3784. }
  3785. }
  3786. },
  3787. "500": {
  3788. "description": "Internal Server Error",
  3789. "schema": {
  3790. "$ref": "#/definitions/app.Response"
  3791. }
  3792. }
  3793. }
  3794. }
  3795. },
  3796. "/Erms3/QuerySpotContractAppleForm": {
  3797. "get": {
  3798. "security": [
  3799. {
  3800. "ApiKeyAuth": []
  3801. }
  3802. ],
  3803. "produces": [
  3804. "application/json"
  3805. ],
  3806. "tags": [
  3807. "风险管理v3"
  3808. ],
  3809. "summary": "查询合同申请表单数据",
  3810. "parameters": [
  3811. {
  3812. "type": "integer",
  3813. "description": "登录账号",
  3814. "name": "loginID",
  3815. "in": "query",
  3816. "required": true
  3817. }
  3818. ],
  3819. "responses": {
  3820. "200": {
  3821. "description": "OK",
  3822. "schema": {
  3823. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  3824. }
  3825. },
  3826. "500": {
  3827. "description": "Internal Server Error",
  3828. "schema": {
  3829. "$ref": "#/definitions/app.Response"
  3830. }
  3831. }
  3832. }
  3833. }
  3834. },
  3835. "/Erms3/QuerySpotContractDetail": {
  3836. "get": {
  3837. "security": [
  3838. {
  3839. "ApiKeyAuth": []
  3840. }
  3841. ],
  3842. "produces": [
  3843. "application/json"
  3844. ],
  3845. "tags": [
  3846. "风险管理v3"
  3847. ],
  3848. "summary": "查询合同详细信息",
  3849. "parameters": [
  3850. {
  3851. "type": "string",
  3852. "description": "资金账号ID列表,用逗号分隔",
  3853. "name": "accountids",
  3854. "in": "query",
  3855. "required": true
  3856. },
  3857. {
  3858. "type": "integer",
  3859. "description": "合同类型,1为采购合同 -1为销售合同",
  3860. "name": "contracttype",
  3861. "in": "query",
  3862. "required": true
  3863. },
  3864. {
  3865. "type": "integer",
  3866. "description": "合同模式,1为普通合同 2为回购销售合同",
  3867. "name": "contractmode",
  3868. "in": "query",
  3869. "required": true
  3870. },
  3871. {
  3872. "type": "integer",
  3873. "description": "状态,0为履约中 1为已完成",
  3874. "name": "status",
  3875. "in": "query",
  3876. "required": true
  3877. }
  3878. ],
  3879. "responses": {
  3880. "200": {
  3881. "description": "OK",
  3882. "schema": {
  3883. "type": "array",
  3884. "items": {
  3885. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  3886. }
  3887. }
  3888. },
  3889. "500": {
  3890. "description": "Internal Server Error",
  3891. "schema": {
  3892. "$ref": "#/definitions/app.Response"
  3893. }
  3894. }
  3895. }
  3896. }
  3897. },
  3898. "/Erms3/QueryUserInfoApplies": {
  3899. "get": {
  3900. "security": [
  3901. {
  3902. "ApiKeyAuth": []
  3903. }
  3904. ],
  3905. "produces": [
  3906. "application/json"
  3907. ],
  3908. "tags": [
  3909. "风险管理v3"
  3910. ],
  3911. "summary": "客户申请信息查询",
  3912. "parameters": [
  3913. {
  3914. "type": "integer",
  3915. "description": "页码",
  3916. "name": "page",
  3917. "in": "query"
  3918. },
  3919. {
  3920. "type": "integer",
  3921. "description": "每页条数",
  3922. "name": "pagesize",
  3923. "in": "query"
  3924. },
  3925. {
  3926. "type": "string",
  3927. "description": "客户名称,支持模糊查询",
  3928. "name": "userName",
  3929. "in": "query"
  3930. }
  3931. ],
  3932. "responses": {
  3933. "200": {
  3934. "description": "OK",
  3935. "schema": {
  3936. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  3937. }
  3938. },
  3939. "500": {
  3940. "description": "Internal Server Error",
  3941. "schema": {
  3942. "$ref": "#/definitions/app.Response"
  3943. }
  3944. }
  3945. }
  3946. }
  3947. },
  3948. "/Erms3/QueryUserInfos": {
  3949. "get": {
  3950. "security": [
  3951. {
  3952. "ApiKeyAuth": []
  3953. }
  3954. ],
  3955. "produces": [
  3956. "application/json"
  3957. ],
  3958. "tags": [
  3959. "风险管理v3"
  3960. ],
  3961. "summary": "客户信息查询",
  3962. "parameters": [
  3963. {
  3964. "type": "integer",
  3965. "description": "页码",
  3966. "name": "page",
  3967. "in": "query"
  3968. },
  3969. {
  3970. "type": "integer",
  3971. "description": "每页条数",
  3972. "name": "pagesize",
  3973. "in": "query"
  3974. },
  3975. {
  3976. "type": "string",
  3977. "description": "客户名称,支持模糊查询",
  3978. "name": "userName",
  3979. "in": "query"
  3980. }
  3981. ],
  3982. "responses": {
  3983. "200": {
  3984. "description": "OK",
  3985. "schema": {
  3986. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  3987. }
  3988. },
  3989. "500": {
  3990. "description": "Internal Server Error",
  3991. "schema": {
  3992. "$ref": "#/definitions/app.Response"
  3993. }
  3994. }
  3995. }
  3996. }
  3997. },
  3998. "/HSBY/GetHsbyMyCount": {
  3999. "get": {
  4000. "security": [
  4001. {
  4002. "ApiKeyAuth": []
  4003. }
  4004. ],
  4005. "description": "说明: 不包括已完成的数量。",
  4006. "produces": [
  4007. "application/json"
  4008. ],
  4009. "tags": [
  4010. "定制【海商报业】"
  4011. ],
  4012. "summary": "获取我的订单与包裹数量",
  4013. "parameters": [
  4014. {
  4015. "type": "string",
  4016. "description": "资金账户列表,格式:1,2,3",
  4017. "name": "accountIDs",
  4018. "in": "query",
  4019. "required": true
  4020. }
  4021. ],
  4022. "responses": {
  4023. "200": {
  4024. "description": "OK",
  4025. "schema": {
  4026. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  4027. }
  4028. },
  4029. "500": {
  4030. "description": "Internal Server Error",
  4031. "schema": {
  4032. "$ref": "#/definitions/app.Response"
  4033. }
  4034. }
  4035. }
  4036. }
  4037. },
  4038. "/HSBY/QueryClientFixedADConfigs": {
  4039. "get": {
  4040. "security": [
  4041. {
  4042. "ApiKeyAuth": []
  4043. }
  4044. ],
  4045. "produces": [
  4046. "application/json"
  4047. ],
  4048. "tags": [
  4049. "定制【海商报业】"
  4050. ],
  4051. "summary": "获取终端固定广告配置",
  4052. "responses": {
  4053. "200": {
  4054. "description": "OK",
  4055. "schema": {
  4056. "$ref": "#/definitions/models.Clientfixedadconfig"
  4057. }
  4058. },
  4059. "500": {
  4060. "description": "Internal Server Error",
  4061. "schema": {
  4062. "$ref": "#/definitions/app.Response"
  4063. }
  4064. }
  4065. }
  4066. }
  4067. },
  4068. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  4069. "get": {
  4070. "security": [
  4071. {
  4072. "ApiKeyAuth": []
  4073. }
  4074. ],
  4075. "produces": [
  4076. "application/json"
  4077. ],
  4078. "tags": [
  4079. "定制【海商报业】"
  4080. ],
  4081. "summary": "查询\"我的订单 - 已完成\"单据信息",
  4082. "parameters": [
  4083. {
  4084. "type": "integer",
  4085. "description": "页码",
  4086. "name": "page",
  4087. "in": "query"
  4088. },
  4089. {
  4090. "type": "integer",
  4091. "description": "每页条数",
  4092. "name": "pagesize",
  4093. "in": "query"
  4094. },
  4095. {
  4096. "type": "string",
  4097. "description": "资金账户列表,格式:1,2,3",
  4098. "name": "accountIDs",
  4099. "in": "query",
  4100. "required": true
  4101. }
  4102. ],
  4103. "responses": {
  4104. "200": {
  4105. "description": "OK",
  4106. "schema": {
  4107. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  4108. }
  4109. },
  4110. "500": {
  4111. "description": "Internal Server Error",
  4112. "schema": {
  4113. "$ref": "#/definitions/app.Response"
  4114. }
  4115. }
  4116. }
  4117. }
  4118. },
  4119. "/HSBY/QueryHsbyGoodsOrderDetails": {
  4120. "get": {
  4121. "security": [
  4122. {
  4123. "ApiKeyAuth": []
  4124. }
  4125. ],
  4126. "description": "说明:查询结果已按委托价格和委托时间排序",
  4127. "produces": [
  4128. "application/json"
  4129. ],
  4130. "tags": [
  4131. "定制【海商报业】"
  4132. ],
  4133. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  4134. "parameters": [
  4135. {
  4136. "type": "integer",
  4137. "description": "商品ID",
  4138. "name": "goodsID",
  4139. "in": "query",
  4140. "required": true
  4141. },
  4142. {
  4143. "type": "string",
  4144. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  4145. "name": "accountIDs",
  4146. "in": "query"
  4147. },
  4148. {
  4149. "type": "integer",
  4150. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  4151. "name": "buyOrSell",
  4152. "in": "query"
  4153. },
  4154. {
  4155. "type": "number",
  4156. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  4157. "name": "price",
  4158. "in": "query"
  4159. },
  4160. {
  4161. "type": "integer",
  4162. "description": "档位,不传则默认为3档",
  4163. "name": "speed",
  4164. "in": "query"
  4165. }
  4166. ],
  4167. "responses": {
  4168. "200": {
  4169. "description": "OK",
  4170. "schema": {
  4171. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  4172. }
  4173. },
  4174. "500": {
  4175. "description": "Internal Server Error",
  4176. "schema": {
  4177. "$ref": "#/definitions/app.Response"
  4178. }
  4179. }
  4180. }
  4181. }
  4182. },
  4183. "/HSBY/QueryHsbyListingGoodsDetail": {
  4184. "get": {
  4185. "security": [
  4186. {
  4187. "ApiKeyAuth": []
  4188. }
  4189. ],
  4190. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  4191. "produces": [
  4192. "application/json"
  4193. ],
  4194. "tags": [
  4195. "定制【海商报业】"
  4196. ],
  4197. "summary": "查询二级市场(挂牌点选)商品信息详情",
  4198. "parameters": [
  4199. {
  4200. "type": "integer",
  4201. "description": "商品ID",
  4202. "name": "goodsID",
  4203. "in": "query",
  4204. "required": true
  4205. },
  4206. {
  4207. "type": "integer",
  4208. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  4209. "name": "accountID",
  4210. "in": "query"
  4211. }
  4212. ],
  4213. "responses": {
  4214. "200": {
  4215. "description": "OK",
  4216. "schema": {
  4217. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  4218. }
  4219. },
  4220. "500": {
  4221. "description": "Internal Server Error",
  4222. "schema": {
  4223. "$ref": "#/definitions/app.Response"
  4224. }
  4225. }
  4226. }
  4227. }
  4228. },
  4229. "/HSBY/QueryHsbyMarketGoodsDetail": {
  4230. "get": {
  4231. "security": [
  4232. {
  4233. "ApiKeyAuth": []
  4234. }
  4235. ],
  4236. "produces": [
  4237. "application/json"
  4238. ],
  4239. "tags": [
  4240. "定制【海商报业】"
  4241. ],
  4242. "summary": "查询三级市场(商城)商品信息详情",
  4243. "parameters": [
  4244. {
  4245. "type": "integer",
  4246. "description": "委托单号",
  4247. "name": "orderID",
  4248. "in": "query",
  4249. "required": true
  4250. },
  4251. {
  4252. "type": "integer",
  4253. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  4254. "name": "accountID",
  4255. "in": "query"
  4256. }
  4257. ],
  4258. "responses": {
  4259. "200": {
  4260. "description": "OK",
  4261. "schema": {
  4262. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4263. }
  4264. },
  4265. "500": {
  4266. "description": "Internal Server Error",
  4267. "schema": {
  4268. "$ref": "#/definitions/app.Response"
  4269. }
  4270. }
  4271. }
  4272. }
  4273. },
  4274. "/HSBY/QueryHsbyMarketGoodses": {
  4275. "get": {
  4276. "security": [
  4277. {
  4278. "ApiKeyAuth": []
  4279. }
  4280. ],
  4281. "produces": [
  4282. "application/json"
  4283. ],
  4284. "tags": [
  4285. "定制【海商报业】"
  4286. ],
  4287. "summary": "查询特卖商品列表(三级商城)",
  4288. "parameters": [
  4289. {
  4290. "type": "integer",
  4291. "description": "页码",
  4292. "name": "page",
  4293. "in": "query"
  4294. },
  4295. {
  4296. "type": "integer",
  4297. "description": "每页条数",
  4298. "name": "pagesize",
  4299. "in": "query"
  4300. },
  4301. {
  4302. "type": "string",
  4303. "description": "市场ID列表,格式:1,2,3",
  4304. "name": "marketIDs",
  4305. "in": "query",
  4306. "required": true
  4307. },
  4308. {
  4309. "type": "integer",
  4310. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  4311. "name": "accountID",
  4312. "in": "query",
  4313. "required": true
  4314. },
  4315. {
  4316. "type": "integer",
  4317. "description": "类别ID",
  4318. "name": "categoryID",
  4319. "in": "query"
  4320. },
  4321. {
  4322. "type": "string",
  4323. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4324. "name": "goodsIDs",
  4325. "in": "query"
  4326. },
  4327. {
  4328. "type": "integer",
  4329. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  4330. "name": "couponTypeID",
  4331. "in": "query"
  4332. }
  4333. ],
  4334. "responses": {
  4335. "200": {
  4336. "description": "OK",
  4337. "schema": {
  4338. "$ref": "#/definitions/models.HsbyMarketGoods"
  4339. }
  4340. },
  4341. "500": {
  4342. "description": "Internal Server Error",
  4343. "schema": {
  4344. "$ref": "#/definitions/app.Response"
  4345. }
  4346. }
  4347. }
  4348. }
  4349. },
  4350. "/HSBY/QueryHsbyMarkets": {
  4351. "get": {
  4352. "security": [
  4353. {
  4354. "ApiKeyAuth": []
  4355. }
  4356. ],
  4357. "produces": [
  4358. "application/json"
  4359. ],
  4360. "tags": [
  4361. "定制【海商报业】"
  4362. ],
  4363. "summary": "查询海商报业相关市场信息",
  4364. "responses": {
  4365. "200": {
  4366. "description": "OK",
  4367. "schema": {
  4368. "$ref": "#/definitions/models.HsbyMarketInfo"
  4369. }
  4370. },
  4371. "500": {
  4372. "description": "Internal Server Error",
  4373. "schema": {
  4374. "$ref": "#/definitions/app.Response"
  4375. }
  4376. }
  4377. }
  4378. }
  4379. },
  4380. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  4381. "get": {
  4382. "security": [
  4383. {
  4384. "ApiKeyAuth": []
  4385. }
  4386. ],
  4387. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  4388. "produces": [
  4389. "application/json"
  4390. ],
  4391. "tags": [
  4392. "定制【海商报业】"
  4393. ],
  4394. "summary": "查询“我的订单”信息",
  4395. "parameters": [
  4396. {
  4397. "type": "string",
  4398. "description": "资金账户列表,格式:1,2,3",
  4399. "name": "accountIDs",
  4400. "in": "query",
  4401. "required": true
  4402. }
  4403. ],
  4404. "responses": {
  4405. "200": {
  4406. "description": "OK",
  4407. "schema": {
  4408. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  4409. }
  4410. },
  4411. "500": {
  4412. "description": "Internal Server Error",
  4413. "schema": {
  4414. "$ref": "#/definitions/app.Response"
  4415. }
  4416. }
  4417. }
  4418. }
  4419. },
  4420. "/HSBY/QueryHsbyMyGoods": {
  4421. "get": {
  4422. "security": [
  4423. {
  4424. "ApiKeyAuth": []
  4425. }
  4426. ],
  4427. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  4428. "produces": [
  4429. "application/json"
  4430. ],
  4431. "tags": [
  4432. "定制【海商报业】"
  4433. ],
  4434. "summary": "查询“我的商品”信息",
  4435. "parameters": [
  4436. {
  4437. "type": "string",
  4438. "description": "资金账户列表,格式:1,2,3",
  4439. "name": "accountIDs",
  4440. "in": "query",
  4441. "required": true
  4442. }
  4443. ],
  4444. "responses": {
  4445. "200": {
  4446. "description": "OK",
  4447. "schema": {
  4448. "$ref": "#/definitions/models.HsbyMyGoods"
  4449. }
  4450. },
  4451. "500": {
  4452. "description": "Internal Server Error",
  4453. "schema": {
  4454. "$ref": "#/definitions/app.Response"
  4455. }
  4456. }
  4457. }
  4458. }
  4459. },
  4460. "/HSBY/QueryHsbyMyPackages": {
  4461. "get": {
  4462. "security": [
  4463. {
  4464. "ApiKeyAuth": []
  4465. }
  4466. ],
  4467. "produces": [
  4468. "application/json"
  4469. ],
  4470. "tags": [
  4471. "定制【海商报业】"
  4472. ],
  4473. "summary": "查询我的包裹信息",
  4474. "parameters": [
  4475. {
  4476. "type": "string",
  4477. "description": "资金账户列表,格式:1,2,3",
  4478. "name": "accountIDs",
  4479. "in": "query",
  4480. "required": true
  4481. },
  4482. {
  4483. "type": "integer",
  4484. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  4485. "name": "takeOrderStatus",
  4486. "in": "query"
  4487. }
  4488. ],
  4489. "responses": {
  4490. "200": {
  4491. "description": "OK",
  4492. "schema": {
  4493. "$ref": "#/definitions/models.HsbyMyPackage"
  4494. }
  4495. },
  4496. "500": {
  4497. "description": "Internal Server Error",
  4498. "schema": {
  4499. "$ref": "#/definitions/app.Response"
  4500. }
  4501. }
  4502. }
  4503. }
  4504. },
  4505. "/HSBY/QueryHsbyPreGoodsDetail": {
  4506. "get": {
  4507. "security": [
  4508. {
  4509. "ApiKeyAuth": []
  4510. }
  4511. ],
  4512. "produces": [
  4513. "application/json"
  4514. ],
  4515. "tags": [
  4516. "定制【海商报业】"
  4517. ],
  4518. "summary": "查询一级市场(预售)商品信息详情",
  4519. "parameters": [
  4520. {
  4521. "type": "integer",
  4522. "description": "商品ID",
  4523. "name": "goodsID",
  4524. "in": "query",
  4525. "required": true
  4526. },
  4527. {
  4528. "type": "integer",
  4529. "description": "资金账户,主要用于获取预售商品购买上限",
  4530. "name": "accountID",
  4531. "in": "query"
  4532. }
  4533. ],
  4534. "responses": {
  4535. "200": {
  4536. "description": "OK",
  4537. "schema": {
  4538. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  4539. }
  4540. },
  4541. "500": {
  4542. "description": "Internal Server Error",
  4543. "schema": {
  4544. "$ref": "#/definitions/app.Response"
  4545. }
  4546. }
  4547. }
  4548. }
  4549. },
  4550. "/HSBY/QueryHsbyPreGoodses": {
  4551. "get": {
  4552. "security": [
  4553. {
  4554. "ApiKeyAuth": []
  4555. }
  4556. ],
  4557. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  4558. "produces": [
  4559. "application/json"
  4560. ],
  4561. "tags": [
  4562. "定制【海商报业】"
  4563. ],
  4564. "summary": "查询新品上市商品列表(一级市场预售)",
  4565. "parameters": [
  4566. {
  4567. "type": "integer",
  4568. "description": "页码",
  4569. "name": "page",
  4570. "in": "query"
  4571. },
  4572. {
  4573. "type": "integer",
  4574. "description": "每页条数",
  4575. "name": "pagesize",
  4576. "in": "query"
  4577. },
  4578. {
  4579. "type": "string",
  4580. "description": "市场ID列表,格式:1,2,3",
  4581. "name": "marketIDs",
  4582. "in": "query",
  4583. "required": true
  4584. },
  4585. {
  4586. "type": "integer",
  4587. "description": "目的地(省)ID",
  4588. "name": "descProvinceID",
  4589. "in": "query"
  4590. },
  4591. {
  4592. "type": "integer",
  4593. "description": "目的地(市)ID",
  4594. "name": "descCityID",
  4595. "in": "query"
  4596. }
  4597. ],
  4598. "responses": {
  4599. "200": {
  4600. "description": "OK",
  4601. "schema": {
  4602. "$ref": "#/definitions/models.HsbyPreGoods"
  4603. }
  4604. },
  4605. "500": {
  4606. "description": "Internal Server Error",
  4607. "schema": {
  4608. "$ref": "#/definitions/app.Response"
  4609. }
  4610. }
  4611. }
  4612. }
  4613. },
  4614. "/HSBY/QueryHsbySellMyDetails": {
  4615. "get": {
  4616. "security": [
  4617. {
  4618. "ApiKeyAuth": []
  4619. }
  4620. ],
  4621. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  4622. "produces": [
  4623. "application/json"
  4624. ],
  4625. "tags": [
  4626. "定制【海商报业】"
  4627. ],
  4628. "summary": "查询\"我的闲置\"单据信息",
  4629. "parameters": [
  4630. {
  4631. "type": "integer",
  4632. "description": "页码",
  4633. "name": "page",
  4634. "in": "query"
  4635. },
  4636. {
  4637. "type": "integer",
  4638. "description": "每页条数",
  4639. "name": "pagesize",
  4640. "in": "query"
  4641. },
  4642. {
  4643. "type": "string",
  4644. "description": "资金账户列表,格式:1,2,3",
  4645. "name": "accountIDs",
  4646. "in": "query",
  4647. "required": true
  4648. },
  4649. {
  4650. "type": "integer",
  4651. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  4652. "name": "orderType",
  4653. "in": "query"
  4654. }
  4655. ],
  4656. "responses": {
  4657. "200": {
  4658. "description": "OK",
  4659. "schema": {
  4660. "$ref": "#/definitions/models.HsbySellMyDetail"
  4661. }
  4662. },
  4663. "500": {
  4664. "description": "Internal Server Error",
  4665. "schema": {
  4666. "$ref": "#/definitions/app.Response"
  4667. }
  4668. }
  4669. }
  4670. }
  4671. },
  4672. "/HSBY/QueryHsbyTopGoodses": {
  4673. "get": {
  4674. "security": [
  4675. {
  4676. "ApiKeyAuth": []
  4677. }
  4678. ],
  4679. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  4680. "produces": [
  4681. "application/json"
  4682. ],
  4683. "tags": [
  4684. "定制【海商报业】"
  4685. ],
  4686. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  4687. "parameters": [
  4688. {
  4689. "type": "integer",
  4690. "description": "页码",
  4691. "name": "page",
  4692. "in": "query"
  4693. },
  4694. {
  4695. "type": "integer",
  4696. "description": "每页条数",
  4697. "name": "pagesize",
  4698. "in": "query"
  4699. },
  4700. {
  4701. "type": "string",
  4702. "description": "市场ID列表,格式:1,2,3",
  4703. "name": "marketIDs",
  4704. "in": "query",
  4705. "required": true
  4706. },
  4707. {
  4708. "type": "integer",
  4709. "description": "目的地(省)ID",
  4710. "name": "descProvinceID",
  4711. "in": "query"
  4712. },
  4713. {
  4714. "type": "integer",
  4715. "description": "目的地(市)ID",
  4716. "name": "descCityID",
  4717. "in": "query"
  4718. }
  4719. ],
  4720. "responses": {
  4721. "200": {
  4722. "description": "OK",
  4723. "schema": {
  4724. "$ref": "#/definitions/models.HsbyTopGoods"
  4725. }
  4726. },
  4727. "500": {
  4728. "description": "Internal Server Error",
  4729. "schema": {
  4730. "$ref": "#/definitions/app.Response"
  4731. }
  4732. }
  4733. }
  4734. }
  4735. },
  4736. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  4737. "get": {
  4738. "security": [
  4739. {
  4740. "ApiKeyAuth": []
  4741. }
  4742. ],
  4743. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  4744. "produces": [
  4745. "application/json"
  4746. ],
  4747. "tags": [
  4748. "定制【海商报业】"
  4749. ],
  4750. "summary": "查询游客三级市场(商城)商品信息详情",
  4751. "parameters": [
  4752. {
  4753. "type": "integer",
  4754. "description": "商品ID",
  4755. "name": "goodsID",
  4756. "in": "query",
  4757. "required": true
  4758. }
  4759. ],
  4760. "responses": {
  4761. "200": {
  4762. "description": "OK",
  4763. "schema": {
  4764. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4765. }
  4766. },
  4767. "500": {
  4768. "description": "Internal Server Error",
  4769. "schema": {
  4770. "$ref": "#/definitions/app.Response"
  4771. }
  4772. }
  4773. }
  4774. }
  4775. },
  4776. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  4777. "get": {
  4778. "security": [
  4779. {
  4780. "ApiKeyAuth": []
  4781. }
  4782. ],
  4783. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  4784. "produces": [
  4785. "application/json"
  4786. ],
  4787. "tags": [
  4788. "定制【海商报业】"
  4789. ],
  4790. "summary": "查询游客特卖商品列表(三级商城)",
  4791. "parameters": [
  4792. {
  4793. "type": "integer",
  4794. "description": "页码",
  4795. "name": "page",
  4796. "in": "query"
  4797. },
  4798. {
  4799. "type": "integer",
  4800. "description": "每页条数",
  4801. "name": "pagesize",
  4802. "in": "query"
  4803. },
  4804. {
  4805. "type": "string",
  4806. "description": "市场ID列表,格式:1,2,3",
  4807. "name": "marketIDs",
  4808. "in": "query",
  4809. "required": true
  4810. },
  4811. {
  4812. "type": "integer",
  4813. "description": "类别ID",
  4814. "name": "categoryID",
  4815. "in": "query"
  4816. },
  4817. {
  4818. "type": "string",
  4819. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4820. "name": "goodsIDs",
  4821. "in": "query"
  4822. }
  4823. ],
  4824. "responses": {
  4825. "200": {
  4826. "description": "OK",
  4827. "schema": {
  4828. "$ref": "#/definitions/models.HsbyMarketGoods"
  4829. }
  4830. },
  4831. "500": {
  4832. "description": "Internal Server Error",
  4833. "schema": {
  4834. "$ref": "#/definitions/app.Response"
  4835. }
  4836. }
  4837. }
  4838. }
  4839. },
  4840. "/HSBY/QueryMyCollectionOrders": {
  4841. "get": {
  4842. "security": [
  4843. {
  4844. "ApiKeyAuth": []
  4845. }
  4846. ],
  4847. "produces": [
  4848. "application/json"
  4849. ],
  4850. "tags": [
  4851. "定制【海商报业】"
  4852. ],
  4853. "summary": "我的闲置中收款信息查询",
  4854. "parameters": [
  4855. {
  4856. "type": "integer",
  4857. "description": "页码",
  4858. "name": "page",
  4859. "in": "query"
  4860. },
  4861. {
  4862. "type": "integer",
  4863. "description": "每页条数",
  4864. "name": "pagesize",
  4865. "in": "query"
  4866. },
  4867. {
  4868. "type": "string",
  4869. "description": "资金账户,格式:1,2,3",
  4870. "name": "accountIDs",
  4871. "in": "query",
  4872. "required": true
  4873. }
  4874. ],
  4875. "responses": {
  4876. "200": {
  4877. "description": "OK",
  4878. "schema": {
  4879. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  4880. }
  4881. },
  4882. "500": {
  4883. "description": "Internal Server Error",
  4884. "schema": {
  4885. "$ref": "#/definitions/app.Response"
  4886. }
  4887. }
  4888. }
  4889. }
  4890. },
  4891. "/HSBY/QueryMyCouponHolds": {
  4892. "get": {
  4893. "security": [
  4894. {
  4895. "ApiKeyAuth": []
  4896. }
  4897. ],
  4898. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  4899. "produces": [
  4900. "application/json"
  4901. ],
  4902. "tags": [
  4903. "定制【海商报业】"
  4904. ],
  4905. "summary": "我的优惠卷持仓查询",
  4906. "parameters": [
  4907. {
  4908. "type": "string",
  4909. "description": "资金账户列表,格式:1,2,3",
  4910. "name": "accountIDs",
  4911. "in": "query",
  4912. "required": true
  4913. },
  4914. {
  4915. "type": "string",
  4916. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  4917. "name": "holdStatus",
  4918. "in": "query"
  4919. }
  4920. ],
  4921. "responses": {
  4922. "200": {
  4923. "description": "OK",
  4924. "schema": {
  4925. "$ref": "#/definitions/models.MyCouponHold"
  4926. }
  4927. },
  4928. "500": {
  4929. "description": "Internal Server Error",
  4930. "schema": {
  4931. "$ref": "#/definitions/app.Response"
  4932. }
  4933. }
  4934. }
  4935. }
  4936. },
  4937. "/HSBY/QueryMyCoupons": {
  4938. "get": {
  4939. "security": [
  4940. {
  4941. "ApiKeyAuth": []
  4942. }
  4943. ],
  4944. "produces": [
  4945. "application/json"
  4946. ],
  4947. "tags": [
  4948. "定制【海商报业】"
  4949. ],
  4950. "summary": "我的优惠卷查询",
  4951. "parameters": [
  4952. {
  4953. "type": "string",
  4954. "description": "资金账户列表,格式:1,2,3",
  4955. "name": "accountIDs",
  4956. "in": "query",
  4957. "required": true
  4958. },
  4959. {
  4960. "type": "integer",
  4961. "description": "商品ID, 一般与sellUserID配套传入",
  4962. "name": "goodsID",
  4963. "in": "query"
  4964. },
  4965. {
  4966. "type": "integer",
  4967. "description": "卖方UserID",
  4968. "name": "sellUserID",
  4969. "in": "query"
  4970. }
  4971. ],
  4972. "responses": {
  4973. "200": {
  4974. "description": "OK",
  4975. "schema": {
  4976. "$ref": "#/definitions/models.MyCoupon"
  4977. }
  4978. },
  4979. "500": {
  4980. "description": "Internal Server Error",
  4981. "schema": {
  4982. "$ref": "#/definitions/app.Response"
  4983. }
  4984. }
  4985. }
  4986. }
  4987. },
  4988. "/HSBY/QueryMyPayOrders": {
  4989. "get": {
  4990. "security": [
  4991. {
  4992. "ApiKeyAuth": []
  4993. }
  4994. ],
  4995. "produces": [
  4996. "application/json"
  4997. ],
  4998. "tags": [
  4999. "定制【海商报业】"
  5000. ],
  5001. "summary": "获取我的订单中待付款信息",
  5002. "parameters": [
  5003. {
  5004. "type": "integer",
  5005. "description": "页码",
  5006. "name": "page",
  5007. "in": "query"
  5008. },
  5009. {
  5010. "type": "integer",
  5011. "description": "每页条数",
  5012. "name": "pagesize",
  5013. "in": "query"
  5014. },
  5015. {
  5016. "type": "string",
  5017. "description": "资金账户列表,格式:1,2,3",
  5018. "name": "accountIDs",
  5019. "in": "query",
  5020. "required": true
  5021. },
  5022. {
  5023. "type": "integer",
  5024. "description": "买方委托单号",
  5025. "name": "buyOrderID",
  5026. "in": "query"
  5027. },
  5028. {
  5029. "type": "integer",
  5030. "description": "卖方委托单号",
  5031. "name": "sellOrderID",
  5032. "in": "query"
  5033. }
  5034. ],
  5035. "responses": {
  5036. "200": {
  5037. "description": "OK",
  5038. "schema": {
  5039. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  5040. }
  5041. },
  5042. "500": {
  5043. "description": "Internal Server Error",
  5044. "schema": {
  5045. "$ref": "#/definitions/app.Response"
  5046. }
  5047. }
  5048. }
  5049. }
  5050. },
  5051. "/HSBY/QueryMyUsedCoupon": {
  5052. "get": {
  5053. "security": [
  5054. {
  5055. "ApiKeyAuth": []
  5056. }
  5057. ],
  5058. "produces": [
  5059. "application/json"
  5060. ],
  5061. "tags": [
  5062. "定制【海商报业】"
  5063. ],
  5064. "summary": "已使用优惠卷查询",
  5065. "parameters": [
  5066. {
  5067. "type": "string",
  5068. "description": "资金账户列表,格式:1,2,3",
  5069. "name": "accountIDs",
  5070. "in": "query",
  5071. "required": true
  5072. }
  5073. ],
  5074. "responses": {
  5075. "200": {
  5076. "description": "OK",
  5077. "schema": {
  5078. "$ref": "#/definitions/models.MyUsedCoupon"
  5079. }
  5080. },
  5081. "500": {
  5082. "description": "Internal Server Error",
  5083. "schema": {
  5084. "$ref": "#/definitions/app.Response"
  5085. }
  5086. }
  5087. }
  5088. }
  5089. },
  5090. "/HSBY/QueryProvincesAndCities": {
  5091. "get": {
  5092. "security": [
  5093. {
  5094. "ApiKeyAuth": []
  5095. }
  5096. ],
  5097. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  5098. "produces": [
  5099. "application/json"
  5100. ],
  5101. "tags": [
  5102. "定制【海商报业】"
  5103. ],
  5104. "summary": "查询省市信息(不包括区)",
  5105. "parameters": [
  5106. {
  5107. "type": "integer",
  5108. "description": "省ID",
  5109. "name": "provinceID",
  5110. "in": "query"
  5111. }
  5112. ],
  5113. "responses": {
  5114. "200": {
  5115. "description": "OK",
  5116. "schema": {
  5117. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  5118. }
  5119. },
  5120. "500": {
  5121. "description": "Internal Server Error",
  5122. "schema": {
  5123. "$ref": "#/definitions/app.Response"
  5124. }
  5125. }
  5126. }
  5127. }
  5128. },
  5129. "/HSBY/SetHsbyMyPackagesStatus": {
  5130. "post": {
  5131. "security": [
  5132. {
  5133. "ApiKeyAuth": []
  5134. }
  5135. ],
  5136. "produces": [
  5137. "application/json"
  5138. ],
  5139. "tags": [
  5140. "定制【海商报业】"
  5141. ],
  5142. "summary": "设置我的包裹已收货状态",
  5143. "parameters": [
  5144. {
  5145. "type": "string",
  5146. "description": "提货单号",
  5147. "name": "takeOrderID",
  5148. "in": "query",
  5149. "required": true
  5150. },
  5151. {
  5152. "type": "integer",
  5153. "description": "资金账号",
  5154. "name": "accountID",
  5155. "in": "query",
  5156. "required": true
  5157. }
  5158. ],
  5159. "responses": {
  5160. "200": {
  5161. "description": "OK",
  5162. "schema": {
  5163. "$ref": "#/definitions/app.Response"
  5164. }
  5165. },
  5166. "500": {
  5167. "description": "Internal Server Error",
  5168. "schema": {
  5169. "$ref": "#/definitions/app.Response"
  5170. }
  5171. }
  5172. }
  5173. }
  5174. },
  5175. "/Market/QueryGoodsesByLoginID": {
  5176. "get": {
  5177. "security": [
  5178. {
  5179. "ApiKeyAuth": []
  5180. }
  5181. ],
  5182. "produces": [
  5183. "application/json"
  5184. ],
  5185. "tags": [
  5186. "通用市场"
  5187. ],
  5188. "summary": "获取登录账号有权限的商品信息",
  5189. "parameters": [
  5190. {
  5191. "type": "integer",
  5192. "description": "登录账号",
  5193. "name": "loginID",
  5194. "in": "query",
  5195. "required": true
  5196. },
  5197. {
  5198. "type": "string",
  5199. "description": "市场ID列表,格式:1,2,3",
  5200. "name": "marketIDs",
  5201. "in": "query"
  5202. }
  5203. ],
  5204. "responses": {
  5205. "200": {
  5206. "description": "OK",
  5207. "schema": {
  5208. "$ref": "#/definitions/models.Goods"
  5209. }
  5210. },
  5211. "500": {
  5212. "description": "Internal Server Error",
  5213. "schema": {
  5214. "$ref": "#/definitions/app.Response"
  5215. }
  5216. }
  5217. }
  5218. }
  5219. },
  5220. "/Market/QueryMarketRun": {
  5221. "get": {
  5222. "security": [
  5223. {
  5224. "ApiKeyAuth": []
  5225. }
  5226. ],
  5227. "produces": [
  5228. "application/json"
  5229. ],
  5230. "tags": [
  5231. "通用市场"
  5232. ],
  5233. "summary": "查询市场运行信息",
  5234. "parameters": [
  5235. {
  5236. "type": "integer",
  5237. "description": "市场ID,不传返回所有",
  5238. "name": "marketID",
  5239. "in": "query"
  5240. }
  5241. ],
  5242. "responses": {
  5243. "200": {
  5244. "description": "OK",
  5245. "schema": {
  5246. "$ref": "#/definitions/models.Marketrun"
  5247. }
  5248. },
  5249. "500": {
  5250. "description": "Internal Server Error",
  5251. "schema": {
  5252. "$ref": "#/definitions/app.Response"
  5253. }
  5254. }
  5255. }
  5256. }
  5257. },
  5258. "/Market/QueryMarketsByLoginID": {
  5259. "get": {
  5260. "security": [
  5261. {
  5262. "ApiKeyAuth": []
  5263. }
  5264. ],
  5265. "produces": [
  5266. "application/json"
  5267. ],
  5268. "tags": [
  5269. "通用市场"
  5270. ],
  5271. "summary": "获取登录账号有权限的市场信息",
  5272. "parameters": [
  5273. {
  5274. "type": "integer",
  5275. "description": "登录账号",
  5276. "name": "loginID",
  5277. "in": "query",
  5278. "required": true
  5279. }
  5280. ],
  5281. "responses": {
  5282. "200": {
  5283. "description": "OK",
  5284. "schema": {
  5285. "$ref": "#/definitions/models.Market"
  5286. }
  5287. },
  5288. "500": {
  5289. "description": "Internal Server Error",
  5290. "schema": {
  5291. "$ref": "#/definitions/app.Response"
  5292. }
  5293. }
  5294. }
  5295. }
  5296. },
  5297. "/Order/QueryHisTradeDetail": {
  5298. "get": {
  5299. "security": [
  5300. {
  5301. "ApiKeyAuth": []
  5302. }
  5303. ],
  5304. "produces": [
  5305. "application/json"
  5306. ],
  5307. "tags": [
  5308. "通用单据"
  5309. ],
  5310. "summary": "历史成交单查询(合约市场)",
  5311. "parameters": [
  5312. {
  5313. "type": "string",
  5314. "description": "资金账户 - 格式:1,2,3",
  5315. "name": "accountID",
  5316. "in": "query",
  5317. "required": true
  5318. },
  5319. {
  5320. "type": "integer",
  5321. "description": "成交单号",
  5322. "name": "tradeID",
  5323. "in": "query"
  5324. },
  5325. {
  5326. "type": "integer",
  5327. "description": "委托单号",
  5328. "name": "orderID",
  5329. "in": "query"
  5330. },
  5331. {
  5332. "type": "string",
  5333. "description": "交易模式 - 格式:1,2,3",
  5334. "name": "tradeMode",
  5335. "in": "query"
  5336. },
  5337. {
  5338. "type": "integer",
  5339. "description": "委托单据类型",
  5340. "name": "buildType",
  5341. "in": "query"
  5342. },
  5343. {
  5344. "type": "string",
  5345. "description": "成交类别 - 格式:1,2,3",
  5346. "name": "tradeType",
  5347. "in": "query"
  5348. },
  5349. {
  5350. "type": "string",
  5351. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5352. "name": "startDate",
  5353. "in": "query"
  5354. },
  5355. {
  5356. "type": "string",
  5357. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5358. "name": "endDate",
  5359. "in": "query"
  5360. }
  5361. ],
  5362. "responses": {
  5363. "200": {
  5364. "description": "OK",
  5365. "schema": {
  5366. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  5367. }
  5368. },
  5369. "500": {
  5370. "description": "Internal Server Error",
  5371. "schema": {
  5372. "$ref": "#/definitions/app.Response"
  5373. }
  5374. }
  5375. }
  5376. }
  5377. },
  5378. "/Order/QueryHisTradeOrderDetail": {
  5379. "get": {
  5380. "security": [
  5381. {
  5382. "ApiKeyAuth": []
  5383. }
  5384. ],
  5385. "produces": [
  5386. "application/json"
  5387. ],
  5388. "tags": [
  5389. "通用单据"
  5390. ],
  5391. "summary": "历史委托单查询请求(合约市场)",
  5392. "parameters": [
  5393. {
  5394. "type": "string",
  5395. "description": "资金账户 - 格式:1,2,3",
  5396. "name": "accountID",
  5397. "in": "query",
  5398. "required": true
  5399. },
  5400. {
  5401. "type": "string",
  5402. "description": "交易模式 - 格式:1,2,3",
  5403. "name": "tradeMode",
  5404. "in": "query"
  5405. },
  5406. {
  5407. "type": "string",
  5408. "description": "委托状态 - 格式:1,2,3",
  5409. "name": "orderStatus",
  5410. "in": "query"
  5411. },
  5412. {
  5413. "type": "integer",
  5414. "description": "委托单号",
  5415. "name": "orderID",
  5416. "in": "query"
  5417. },
  5418. {
  5419. "type": "string",
  5420. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5421. "name": "startDate",
  5422. "in": "query"
  5423. },
  5424. {
  5425. "type": "string",
  5426. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5427. "name": "endDate",
  5428. "in": "query"
  5429. }
  5430. ],
  5431. "responses": {
  5432. "200": {
  5433. "description": "OK",
  5434. "schema": {
  5435. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  5436. }
  5437. },
  5438. "500": {
  5439. "description": "Internal Server Error",
  5440. "schema": {
  5441. "$ref": "#/definitions/app.Response"
  5442. }
  5443. }
  5444. }
  5445. }
  5446. },
  5447. "/Order/QueryTradeDetail": {
  5448. "get": {
  5449. "security": [
  5450. {
  5451. "ApiKeyAuth": []
  5452. }
  5453. ],
  5454. "produces": [
  5455. "application/json"
  5456. ],
  5457. "tags": [
  5458. "通用单据"
  5459. ],
  5460. "summary": "成交单查询(合约市场)",
  5461. "parameters": [
  5462. {
  5463. "type": "string",
  5464. "description": "资金账户 - 格式:1,2,3",
  5465. "name": "accountID",
  5466. "in": "query",
  5467. "required": true
  5468. },
  5469. {
  5470. "type": "integer",
  5471. "description": "成交单号",
  5472. "name": "tradeID",
  5473. "in": "query"
  5474. },
  5475. {
  5476. "type": "integer",
  5477. "description": "委托单号",
  5478. "name": "orderID",
  5479. "in": "query"
  5480. },
  5481. {
  5482. "type": "string",
  5483. "description": "交易模式 - 格式:1,2,3",
  5484. "name": "tradeMode",
  5485. "in": "query"
  5486. },
  5487. {
  5488. "type": "integer",
  5489. "description": "委托单据类型",
  5490. "name": "buildType",
  5491. "in": "query"
  5492. },
  5493. {
  5494. "type": "string",
  5495. "description": "成交类别 - 格式:1,2,3",
  5496. "name": "tradeType",
  5497. "in": "query"
  5498. }
  5499. ],
  5500. "responses": {
  5501. "200": {
  5502. "description": "OK",
  5503. "schema": {
  5504. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  5505. }
  5506. },
  5507. "500": {
  5508. "description": "Internal Server Error",
  5509. "schema": {
  5510. "$ref": "#/definitions/app.Response"
  5511. }
  5512. }
  5513. }
  5514. }
  5515. },
  5516. "/Order/QueryTradeOrderDetail": {
  5517. "get": {
  5518. "security": [
  5519. {
  5520. "ApiKeyAuth": []
  5521. }
  5522. ],
  5523. "produces": [
  5524. "application/json"
  5525. ],
  5526. "tags": [
  5527. "通用单据"
  5528. ],
  5529. "summary": "委托单查询请求(合约市场)",
  5530. "parameters": [
  5531. {
  5532. "type": "string",
  5533. "description": "资金账户 - 格式:1,2,3",
  5534. "name": "accountID",
  5535. "in": "query",
  5536. "required": true
  5537. },
  5538. {
  5539. "type": "string",
  5540. "description": "交易模式 - 格式:1,2,3",
  5541. "name": "tradeMode",
  5542. "in": "query"
  5543. },
  5544. {
  5545. "type": "string",
  5546. "description": "委托状态 - 格式:1,2,3",
  5547. "name": "orderStatus",
  5548. "in": "query"
  5549. },
  5550. {
  5551. "type": "integer",
  5552. "description": "委托单号",
  5553. "name": "orderID",
  5554. "in": "query"
  5555. }
  5556. ],
  5557. "responses": {
  5558. "200": {
  5559. "description": "OK",
  5560. "schema": {
  5561. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  5562. }
  5563. },
  5564. "500": {
  5565. "description": "Internal Server Error",
  5566. "schema": {
  5567. "$ref": "#/definitions/app.Response"
  5568. }
  5569. }
  5570. }
  5571. }
  5572. },
  5573. "/Order/QueryTradePosition": {
  5574. "get": {
  5575. "security": [
  5576. {
  5577. "ApiKeyAuth": []
  5578. }
  5579. ],
  5580. "produces": [
  5581. "application/json"
  5582. ],
  5583. "tags": [
  5584. "通用单据"
  5585. ],
  5586. "summary": "持仓汇总查询(合约市场)",
  5587. "parameters": [
  5588. {
  5589. "type": "string",
  5590. "description": "资金账户 - 格式:1,2,3",
  5591. "name": "accountID",
  5592. "in": "query",
  5593. "required": true
  5594. },
  5595. {
  5596. "type": "string",
  5597. "description": "交易模式 - 格式:1,2,3",
  5598. "name": "tradeMode",
  5599. "in": "query"
  5600. }
  5601. ],
  5602. "responses": {
  5603. "200": {
  5604. "description": "OK",
  5605. "schema": {
  5606. "$ref": "#/definitions/order.QueryTradePositionRsp"
  5607. }
  5608. },
  5609. "500": {
  5610. "description": "Internal Server Error",
  5611. "schema": {
  5612. "$ref": "#/definitions/app.Response"
  5613. }
  5614. }
  5615. }
  5616. }
  5617. },
  5618. "/Quote/QueryHistoryDatas": {
  5619. "get": {
  5620. "security": [
  5621. {
  5622. "ApiKeyAuth": []
  5623. }
  5624. ],
  5625. "produces": [
  5626. "application/json"
  5627. ],
  5628. "tags": [
  5629. "行情服务"
  5630. ],
  5631. "summary": "查询行情历史数据",
  5632. "parameters": [
  5633. {
  5634. "type": "integer",
  5635. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  5636. "name": "cycleType",
  5637. "in": "query",
  5638. "required": true
  5639. },
  5640. {
  5641. "type": "string",
  5642. "description": "商品代码",
  5643. "name": "goodsCode",
  5644. "in": "query",
  5645. "required": true
  5646. },
  5647. {
  5648. "type": "string",
  5649. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5650. "name": "startTime",
  5651. "in": "query"
  5652. },
  5653. {
  5654. "type": "string",
  5655. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5656. "name": "endTime",
  5657. "in": "query"
  5658. },
  5659. {
  5660. "type": "integer",
  5661. "description": "条数",
  5662. "name": "count",
  5663. "in": "query"
  5664. },
  5665. {
  5666. "type": "boolean",
  5667. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5668. "name": "isAsc",
  5669. "in": "query"
  5670. }
  5671. ],
  5672. "responses": {
  5673. "200": {
  5674. "description": "OK",
  5675. "schema": {
  5676. "$ref": "#/definitions/quote.HistoryData"
  5677. }
  5678. },
  5679. "500": {
  5680. "description": "Internal Server Error",
  5681. "schema": {
  5682. "$ref": "#/definitions/app.Response"
  5683. }
  5684. }
  5685. }
  5686. }
  5687. },
  5688. "/Quote/QueryHistoryTikDatas": {
  5689. "get": {
  5690. "security": [
  5691. {
  5692. "ApiKeyAuth": []
  5693. }
  5694. ],
  5695. "produces": [
  5696. "application/json"
  5697. ],
  5698. "tags": [
  5699. "行情服务"
  5700. ],
  5701. "summary": "查询行情Tik数据",
  5702. "parameters": [
  5703. {
  5704. "type": "string",
  5705. "description": "商品代码",
  5706. "name": "goodsCode",
  5707. "in": "query",
  5708. "required": true
  5709. },
  5710. {
  5711. "type": "string",
  5712. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5713. "name": "startTime",
  5714. "in": "query"
  5715. },
  5716. {
  5717. "type": "string",
  5718. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5719. "name": "endTime",
  5720. "in": "query"
  5721. },
  5722. {
  5723. "type": "integer",
  5724. "description": "条数",
  5725. "name": "count",
  5726. "in": "query"
  5727. },
  5728. {
  5729. "type": "boolean",
  5730. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5731. "name": "isAsc",
  5732. "in": "query"
  5733. }
  5734. ],
  5735. "responses": {
  5736. "200": {
  5737. "description": "OK",
  5738. "schema": {
  5739. "$ref": "#/definitions/quote.HistoryTikData"
  5740. }
  5741. },
  5742. "500": {
  5743. "description": "Internal Server Error",
  5744. "schema": {
  5745. "$ref": "#/definitions/app.Response"
  5746. }
  5747. }
  5748. }
  5749. }
  5750. },
  5751. "/Quote/QueryQuoteDay": {
  5752. "get": {
  5753. "security": [
  5754. {
  5755. "ApiKeyAuth": []
  5756. }
  5757. ],
  5758. "produces": [
  5759. "application/json"
  5760. ],
  5761. "tags": [
  5762. "行情服务"
  5763. ],
  5764. "summary": "获取商品盘面信息",
  5765. "parameters": [
  5766. {
  5767. "type": "string",
  5768. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  5769. "name": "goodsCodes",
  5770. "in": "query",
  5771. "required": true
  5772. }
  5773. ],
  5774. "responses": {
  5775. "200": {
  5776. "description": "OK",
  5777. "schema": {
  5778. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  5779. }
  5780. },
  5781. "500": {
  5782. "description": "Internal Server Error",
  5783. "schema": {
  5784. "$ref": "#/definitions/app.Response"
  5785. }
  5786. }
  5787. }
  5788. }
  5789. },
  5790. "/Quote/QueryTSData": {
  5791. "get": {
  5792. "security": [
  5793. {
  5794. "ApiKeyAuth": []
  5795. }
  5796. ],
  5797. "produces": [
  5798. "application/json"
  5799. ],
  5800. "tags": [
  5801. "行情服务"
  5802. ],
  5803. "summary": "分时图数据查询",
  5804. "parameters": [
  5805. {
  5806. "type": "string",
  5807. "description": "商品代码",
  5808. "name": "goodsCode",
  5809. "in": "query",
  5810. "required": true
  5811. }
  5812. ],
  5813. "responses": {
  5814. "200": {
  5815. "description": "OK",
  5816. "schema": {
  5817. "$ref": "#/definitions/quote.QueryTSDataRsp"
  5818. }
  5819. },
  5820. "500": {
  5821. "description": "Internal Server Error",
  5822. "schema": {
  5823. "$ref": "#/definitions/app.Response"
  5824. }
  5825. }
  5826. }
  5827. }
  5828. },
  5829. "/SZDZ/QueryConvertConfig": {
  5830. "get": {
  5831. "security": [
  5832. {
  5833. "ApiKeyAuth": []
  5834. }
  5835. ],
  5836. "produces": [
  5837. "application/json"
  5838. ],
  5839. "tags": [
  5840. "定制【尚志大宗】"
  5841. ],
  5842. "summary": "查询交易系统转换设置",
  5843. "parameters": [
  5844. {
  5845. "type": "integer",
  5846. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  5847. "name": "convertType",
  5848. "in": "query"
  5849. },
  5850. {
  5851. "type": "string",
  5852. "description": "外部商品代码[JD\\PD]",
  5853. "name": "outerGoodsCode",
  5854. "in": "query"
  5855. },
  5856. {
  5857. "type": "string",
  5858. "description": "内部商品ID列表[交易],格式:1,2,3",
  5859. "name": "innerGoodsIDs",
  5860. "in": "query"
  5861. }
  5862. ],
  5863. "responses": {
  5864. "200": {
  5865. "description": "OK",
  5866. "schema": {
  5867. "$ref": "#/definitions/models.Szdz3convertconfig"
  5868. }
  5869. },
  5870. "500": {
  5871. "description": "Internal Server Error",
  5872. "schema": {
  5873. "$ref": "#/definitions/app.Response"
  5874. }
  5875. }
  5876. }
  5877. }
  5878. },
  5879. "/SZDZ/QueryConvertLog": {
  5880. "get": {
  5881. "security": [
  5882. {
  5883. "ApiKeyAuth": []
  5884. }
  5885. ],
  5886. "produces": [
  5887. "application/json"
  5888. ],
  5889. "tags": [
  5890. "定制【尚志大宗】"
  5891. ],
  5892. "summary": "交易系统转换流水查询",
  5893. "parameters": [
  5894. {
  5895. "type": "string",
  5896. "description": "资金账户 - 格式:1,2,3",
  5897. "name": "accountID",
  5898. "in": "query",
  5899. "required": true
  5900. },
  5901. {
  5902. "type": "string",
  5903. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5904. "name": "startDate",
  5905. "in": "query"
  5906. },
  5907. {
  5908. "type": "string",
  5909. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5910. "name": "endDate",
  5911. "in": "query"
  5912. }
  5913. ],
  5914. "responses": {
  5915. "200": {
  5916. "description": "OK",
  5917. "schema": {
  5918. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  5919. }
  5920. },
  5921. "500": {
  5922. "description": "Internal Server Error",
  5923. "schema": {
  5924. "$ref": "#/definitions/app.Response"
  5925. }
  5926. }
  5927. }
  5928. }
  5929. },
  5930. "/SZDZ/QueryGoodsPickup": {
  5931. "get": {
  5932. "security": [
  5933. {
  5934. "ApiKeyAuth": []
  5935. }
  5936. ],
  5937. "produces": [
  5938. "application/json"
  5939. ],
  5940. "tags": [
  5941. "定制【尚志大宗】"
  5942. ],
  5943. "summary": "商品提货单查询",
  5944. "parameters": [
  5945. {
  5946. "type": "string",
  5947. "description": "资金账户 - 格式:1,2,3",
  5948. "name": "accountID",
  5949. "in": "query",
  5950. "required": true
  5951. },
  5952. {
  5953. "type": "integer",
  5954. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5955. "name": "takeOrderStatus",
  5956. "in": "query"
  5957. }
  5958. ],
  5959. "responses": {
  5960. "200": {
  5961. "description": "OK",
  5962. "schema": {
  5963. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  5964. }
  5965. },
  5966. "500": {
  5967. "description": "Internal Server Error",
  5968. "schema": {
  5969. "$ref": "#/definitions/app.Response"
  5970. }
  5971. }
  5972. }
  5973. }
  5974. },
  5975. "/SZDZ/QueryRecieptOrder": {
  5976. "get": {
  5977. "security": [
  5978. {
  5979. "ApiKeyAuth": []
  5980. }
  5981. ],
  5982. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5983. "produces": [
  5984. "application/json"
  5985. ],
  5986. "tags": [
  5987. "定制【尚志大宗】"
  5988. ],
  5989. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  5990. "parameters": [
  5991. {
  5992. "type": "integer",
  5993. "description": "页码",
  5994. "name": "page",
  5995. "in": "query"
  5996. },
  5997. {
  5998. "type": "integer",
  5999. "description": "每页条数",
  6000. "name": "pagesize",
  6001. "in": "query"
  6002. },
  6003. {
  6004. "type": "integer",
  6005. "description": "商品ID",
  6006. "name": "goodsID",
  6007. "in": "query",
  6008. "required": true
  6009. },
  6010. {
  6011. "type": "string",
  6012. "description": "所属账户名称",
  6013. "name": "accountName",
  6014. "in": "query"
  6015. },
  6016. {
  6017. "type": "integer",
  6018. "description": "市场ID",
  6019. "name": "marketID",
  6020. "in": "query"
  6021. },
  6022. {
  6023. "type": "integer",
  6024. "description": "方向 - 0:买 1:卖",
  6025. "name": "buyorsell",
  6026. "in": "query",
  6027. "required": true
  6028. }
  6029. ],
  6030. "responses": {
  6031. "200": {
  6032. "description": "OK",
  6033. "schema": {
  6034. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  6035. }
  6036. },
  6037. "500": {
  6038. "description": "Internal Server Error",
  6039. "schema": {
  6040. "$ref": "#/definitions/app.Response"
  6041. }
  6042. }
  6043. }
  6044. }
  6045. },
  6046. "/SZDZ/QuerySZDZTradePosition": {
  6047. "get": {
  6048. "security": [
  6049. {
  6050. "ApiKeyAuth": []
  6051. }
  6052. ],
  6053. "produces": [
  6054. "application/json"
  6055. ],
  6056. "tags": [
  6057. "定制【尚志大宗】"
  6058. ],
  6059. "summary": "持仓汇总查询(尚志大宗)",
  6060. "parameters": [
  6061. {
  6062. "type": "integer",
  6063. "description": "资金账户",
  6064. "name": "accountID",
  6065. "in": "query",
  6066. "required": true
  6067. }
  6068. ],
  6069. "responses": {
  6070. "200": {
  6071. "description": "OK",
  6072. "schema": {
  6073. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  6074. }
  6075. },
  6076. "500": {
  6077. "description": "Internal Server Error",
  6078. "schema": {
  6079. "$ref": "#/definitions/app.Response"
  6080. }
  6081. }
  6082. }
  6083. }
  6084. },
  6085. "/SZDZ/SearchWhite": {
  6086. "get": {
  6087. "security": [
  6088. {
  6089. "ApiKeyAuth": []
  6090. }
  6091. ],
  6092. "produces": [
  6093. "application/json"
  6094. ],
  6095. "tags": [
  6096. "定制【尚志大宗】"
  6097. ],
  6098. "summary": "搜索白名单",
  6099. "parameters": [
  6100. {
  6101. "type": "integer",
  6102. "description": "用户ID",
  6103. "name": "userID",
  6104. "in": "query",
  6105. "required": true
  6106. }
  6107. ],
  6108. "responses": {
  6109. "200": {
  6110. "description": "OK",
  6111. "schema": {
  6112. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  6113. }
  6114. },
  6115. "500": {
  6116. "description": "Internal Server Error",
  6117. "schema": {
  6118. "$ref": "#/definitions/app.Response"
  6119. }
  6120. }
  6121. }
  6122. }
  6123. },
  6124. "/Search/SearchGoodses": {
  6125. "get": {
  6126. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  6127. "produces": [
  6128. "application/json"
  6129. ],
  6130. "tags": [
  6131. "检索服务"
  6132. ],
  6133. "summary": "检索商品信息",
  6134. "parameters": [
  6135. {
  6136. "type": "string",
  6137. "description": "检索内容",
  6138. "name": "content",
  6139. "in": "query",
  6140. "required": true
  6141. },
  6142. {
  6143. "type": "string",
  6144. "description": "交易模式,格式:1,2,3",
  6145. "name": "tradeModes",
  6146. "in": "query"
  6147. }
  6148. ],
  6149. "responses": {
  6150. "200": {
  6151. "description": "OK",
  6152. "schema": {
  6153. "$ref": "#/definitions/models.SearchGoods"
  6154. }
  6155. },
  6156. "500": {
  6157. "description": "Internal Server Error",
  6158. "schema": {
  6159. "$ref": "#/definitions/app.Response"
  6160. }
  6161. }
  6162. }
  6163. }
  6164. },
  6165. "/TaAccount/GetTaAccounts": {
  6166. "get": {
  6167. "security": [
  6168. {
  6169. "ApiKeyAuth": []
  6170. }
  6171. ],
  6172. "produces": [
  6173. "application/json"
  6174. ],
  6175. "tags": [
  6176. "资金账户"
  6177. ],
  6178. "summary": "获取资金账户信息",
  6179. "parameters": [
  6180. {
  6181. "type": "integer",
  6182. "description": "登录账户",
  6183. "name": "loginID",
  6184. "in": "query",
  6185. "required": true
  6186. },
  6187. {
  6188. "type": "integer",
  6189. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  6190. "name": "taAccountType",
  6191. "in": "query"
  6192. }
  6193. ],
  6194. "responses": {
  6195. "200": {
  6196. "description": "OK",
  6197. "schema": {
  6198. "$ref": "#/definitions/models.Taaccount"
  6199. }
  6200. },
  6201. "500": {
  6202. "description": "Internal Server Error",
  6203. "schema": {
  6204. "$ref": "#/definitions/app.Response"
  6205. }
  6206. }
  6207. }
  6208. }
  6209. },
  6210. "/TaAccount/QueryAmountLog": {
  6211. "get": {
  6212. "security": [
  6213. {
  6214. "ApiKeyAuth": []
  6215. }
  6216. ],
  6217. "produces": [
  6218. "application/json"
  6219. ],
  6220. "tags": [
  6221. "资金账户"
  6222. ],
  6223. "summary": "资金流水查询(当前)",
  6224. "parameters": [
  6225. {
  6226. "type": "integer",
  6227. "description": "页码",
  6228. "name": "page",
  6229. "in": "query"
  6230. },
  6231. {
  6232. "type": "integer",
  6233. "description": "每页条数",
  6234. "name": "pagesize",
  6235. "in": "query"
  6236. },
  6237. {
  6238. "type": "string",
  6239. "description": "资金账户 - 格式:1,2,3",
  6240. "name": "accountID",
  6241. "in": "query",
  6242. "required": true
  6243. },
  6244. {
  6245. "type": "string",
  6246. "description": "资金操作类型 - 格式:1,2,3",
  6247. "name": "OperateType",
  6248. "in": "query"
  6249. }
  6250. ],
  6251. "responses": {
  6252. "200": {
  6253. "description": "OK",
  6254. "schema": {
  6255. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  6256. }
  6257. },
  6258. "500": {
  6259. "description": "Internal Server Error",
  6260. "schema": {
  6261. "$ref": "#/definitions/app.Response"
  6262. }
  6263. }
  6264. }
  6265. }
  6266. },
  6267. "/TaAccount/QueryHisAmountLog": {
  6268. "get": {
  6269. "security": [
  6270. {
  6271. "ApiKeyAuth": []
  6272. }
  6273. ],
  6274. "produces": [
  6275. "application/json"
  6276. ],
  6277. "tags": [
  6278. "资金账户"
  6279. ],
  6280. "summary": "资金流水查询(历史)",
  6281. "parameters": [
  6282. {
  6283. "type": "integer",
  6284. "description": "页码",
  6285. "name": "page",
  6286. "in": "query"
  6287. },
  6288. {
  6289. "type": "integer",
  6290. "description": "每页条数",
  6291. "name": "pagesize",
  6292. "in": "query"
  6293. },
  6294. {
  6295. "type": "string",
  6296. "description": "资金账户 - 格式:1,2,3",
  6297. "name": "accountID",
  6298. "in": "query",
  6299. "required": true
  6300. },
  6301. {
  6302. "type": "string",
  6303. "description": "资金操作类型 - 格式:1,2,3",
  6304. "name": "OperateType",
  6305. "in": "query"
  6306. },
  6307. {
  6308. "type": "string",
  6309. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6310. "name": "startDate",
  6311. "in": "query"
  6312. },
  6313. {
  6314. "type": "string",
  6315. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6316. "name": "endDate",
  6317. "in": "query"
  6318. }
  6319. ],
  6320. "responses": {
  6321. "200": {
  6322. "description": "OK",
  6323. "schema": {
  6324. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  6325. }
  6326. },
  6327. "500": {
  6328. "description": "Internal Server Error",
  6329. "schema": {
  6330. "$ref": "#/definitions/app.Response"
  6331. }
  6332. }
  6333. }
  6334. }
  6335. },
  6336. "/Trade/QueryRecieptOrder": {
  6337. "get": {
  6338. "security": [
  6339. {
  6340. "ApiKeyAuth": []
  6341. }
  6342. ],
  6343. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  6344. "produces": [
  6345. "application/json"
  6346. ],
  6347. "tags": [
  6348. "通用交易"
  6349. ],
  6350. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  6351. "parameters": [
  6352. {
  6353. "type": "integer",
  6354. "description": "页码",
  6355. "name": "page",
  6356. "in": "query"
  6357. },
  6358. {
  6359. "type": "integer",
  6360. "description": "每页条数",
  6361. "name": "pagesize",
  6362. "in": "query"
  6363. },
  6364. {
  6365. "type": "integer",
  6366. "description": "商品ID",
  6367. "name": "goodsID",
  6368. "in": "query",
  6369. "required": true
  6370. },
  6371. {
  6372. "type": "string",
  6373. "description": "所属账户名称",
  6374. "name": "accountName",
  6375. "in": "query"
  6376. },
  6377. {
  6378. "type": "integer",
  6379. "description": "市场ID",
  6380. "name": "marketID",
  6381. "in": "query"
  6382. },
  6383. {
  6384. "type": "integer",
  6385. "description": "方向 - 0:买 1:卖",
  6386. "name": "buyorsell",
  6387. "in": "query",
  6388. "required": true
  6389. }
  6390. ],
  6391. "responses": {
  6392. "200": {
  6393. "description": "OK",
  6394. "schema": {
  6395. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  6396. }
  6397. },
  6398. "500": {
  6399. "description": "Internal Server Error",
  6400. "schema": {
  6401. "$ref": "#/definitions/app.Response"
  6402. }
  6403. }
  6404. }
  6405. }
  6406. },
  6407. "/User/AddMessageBoard": {
  6408. "post": {
  6409. "security": [
  6410. {
  6411. "ApiKeyAuth": []
  6412. }
  6413. ],
  6414. "produces": [
  6415. "application/json"
  6416. ],
  6417. "tags": [
  6418. "用户信息"
  6419. ],
  6420. "summary": "添加用户留言板信息",
  6421. "parameters": [
  6422. {
  6423. "type": "integer",
  6424. "description": "用户ID",
  6425. "name": "userID",
  6426. "in": "query",
  6427. "required": true
  6428. },
  6429. {
  6430. "type": "string",
  6431. "description": "留言信息",
  6432. "name": "message",
  6433. "in": "query",
  6434. "required": true
  6435. },
  6436. {
  6437. "type": "string",
  6438. "description": "联系电话",
  6439. "name": "contactNum",
  6440. "in": "query",
  6441. "required": true
  6442. }
  6443. ],
  6444. "responses": {
  6445. "200": {
  6446. "description": "OK",
  6447. "schema": {
  6448. "$ref": "#/definitions/app.Response"
  6449. }
  6450. },
  6451. "500": {
  6452. "description": "Internal Server Error",
  6453. "schema": {
  6454. "$ref": "#/definitions/app.Response"
  6455. }
  6456. }
  6457. }
  6458. }
  6459. },
  6460. "/User/AddUserFavoriteGoods": {
  6461. "post": {
  6462. "security": [
  6463. {
  6464. "ApiKeyAuth": []
  6465. }
  6466. ],
  6467. "produces": [
  6468. "application/json"
  6469. ],
  6470. "tags": [
  6471. "用户信息"
  6472. ],
  6473. "summary": "添加用户商品收藏信息",
  6474. "parameters": [
  6475. {
  6476. "type": "integer",
  6477. "description": "用户ID",
  6478. "name": "userID",
  6479. "in": "query",
  6480. "required": true
  6481. },
  6482. {
  6483. "type": "integer",
  6484. "description": "商品ID",
  6485. "name": "goodsID",
  6486. "in": "query",
  6487. "required": true
  6488. }
  6489. ],
  6490. "responses": {
  6491. "200": {
  6492. "description": "OK",
  6493. "schema": {
  6494. "$ref": "#/definitions/app.Response"
  6495. }
  6496. },
  6497. "500": {
  6498. "description": "Internal Server Error",
  6499. "schema": {
  6500. "$ref": "#/definitions/app.Response"
  6501. }
  6502. }
  6503. }
  6504. }
  6505. },
  6506. "/User/GetLoginID": {
  6507. "get": {
  6508. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  6509. "produces": [
  6510. "application/json"
  6511. ],
  6512. "tags": [
  6513. "用户信息"
  6514. ],
  6515. "summary": "获取登录ID",
  6516. "parameters": [
  6517. {
  6518. "type": "string",
  6519. "description": "登录代码",
  6520. "name": "username",
  6521. "in": "query",
  6522. "required": true
  6523. }
  6524. ],
  6525. "responses": {
  6526. "200": {
  6527. "description": "OK",
  6528. "schema": {
  6529. "$ref": "#/definitions/app.Response"
  6530. }
  6531. },
  6532. "500": {
  6533. "description": "Internal Server Error",
  6534. "schema": {
  6535. "$ref": "#/definitions/app.Response"
  6536. }
  6537. }
  6538. }
  6539. }
  6540. },
  6541. "/User/GetUserAccount": {
  6542. "get": {
  6543. "security": [
  6544. {
  6545. "ApiKeyAuth": []
  6546. }
  6547. ],
  6548. "produces": [
  6549. "application/json"
  6550. ],
  6551. "tags": [
  6552. "用户信息"
  6553. ],
  6554. "summary": "获取用户账号信息",
  6555. "parameters": [
  6556. {
  6557. "type": "integer",
  6558. "description": "用户ID",
  6559. "name": "userID",
  6560. "in": "query",
  6561. "required": true
  6562. }
  6563. ],
  6564. "responses": {
  6565. "200": {
  6566. "description": "OK",
  6567. "schema": {
  6568. "$ref": "#/definitions/models.Useraccount"
  6569. }
  6570. },
  6571. "500": {
  6572. "description": "Internal Server Error",
  6573. "schema": {
  6574. "$ref": "#/definitions/app.Response"
  6575. }
  6576. }
  6577. }
  6578. }
  6579. },
  6580. "/User/GetUserAuthStatus": {
  6581. "get": {
  6582. "security": [
  6583. {
  6584. "ApiKeyAuth": []
  6585. }
  6586. ],
  6587. "produces": [
  6588. "application/json"
  6589. ],
  6590. "tags": [
  6591. "用户信息"
  6592. ],
  6593. "summary": "获取用户实名认证状态",
  6594. "parameters": [
  6595. {
  6596. "type": "integer",
  6597. "description": "用户ID",
  6598. "name": "userID",
  6599. "in": "query",
  6600. "required": true
  6601. }
  6602. ],
  6603. "responses": {
  6604. "200": {
  6605. "description": "OK",
  6606. "schema": {
  6607. "$ref": "#/definitions/app.Response"
  6608. }
  6609. },
  6610. "500": {
  6611. "description": "Internal Server Error",
  6612. "schema": {
  6613. "$ref": "#/definitions/app.Response"
  6614. }
  6615. }
  6616. }
  6617. }
  6618. },
  6619. "/User/LoginQuery": {
  6620. "get": {
  6621. "security": [
  6622. {
  6623. "ApiKeyAuth": []
  6624. }
  6625. ],
  6626. "produces": [
  6627. "application/json"
  6628. ],
  6629. "tags": [
  6630. "用户信息"
  6631. ],
  6632. "summary": "账户登录后信息查询",
  6633. "parameters": [
  6634. {
  6635. "type": "integer",
  6636. "description": "登录账号",
  6637. "name": "loginID",
  6638. "in": "query",
  6639. "required": true
  6640. }
  6641. ],
  6642. "responses": {
  6643. "200": {
  6644. "description": "OK",
  6645. "schema": {
  6646. "$ref": "#/definitions/user.LoginQueryRsp"
  6647. }
  6648. },
  6649. "500": {
  6650. "description": "Internal Server Error",
  6651. "schema": {
  6652. "$ref": "#/definitions/app.Response"
  6653. }
  6654. }
  6655. }
  6656. }
  6657. },
  6658. "/User/QueryMessageBoard": {
  6659. "get": {
  6660. "security": [
  6661. {
  6662. "ApiKeyAuth": []
  6663. }
  6664. ],
  6665. "produces": [
  6666. "application/json"
  6667. ],
  6668. "tags": [
  6669. "用户信息"
  6670. ],
  6671. "summary": "获取用户留言板信息",
  6672. "parameters": [
  6673. {
  6674. "type": "integer",
  6675. "description": "用户ID",
  6676. "name": "userID",
  6677. "in": "query",
  6678. "required": true
  6679. }
  6680. ],
  6681. "responses": {
  6682. "200": {
  6683. "description": "OK",
  6684. "schema": {
  6685. "$ref": "#/definitions/models.Messageboard"
  6686. }
  6687. },
  6688. "500": {
  6689. "description": "Internal Server Error",
  6690. "schema": {
  6691. "$ref": "#/definitions/app.Response"
  6692. }
  6693. }
  6694. }
  6695. }
  6696. },
  6697. "/User/QueryUserFavoriteGoodses": {
  6698. "get": {
  6699. "security": [
  6700. {
  6701. "ApiKeyAuth": []
  6702. }
  6703. ],
  6704. "produces": [
  6705. "application/json"
  6706. ],
  6707. "tags": [
  6708. "用户信息"
  6709. ],
  6710. "summary": "获取用户商品收藏信息",
  6711. "parameters": [
  6712. {
  6713. "type": "integer",
  6714. "description": "用户ID",
  6715. "name": "userID",
  6716. "in": "query",
  6717. "required": true
  6718. }
  6719. ],
  6720. "responses": {
  6721. "200": {
  6722. "description": "OK",
  6723. "schema": {
  6724. "$ref": "#/definitions/models.Userfavoritegoods"
  6725. }
  6726. },
  6727. "500": {
  6728. "description": "Internal Server Error",
  6729. "schema": {
  6730. "$ref": "#/definitions/app.Response"
  6731. }
  6732. }
  6733. }
  6734. }
  6735. },
  6736. "/User/QueryUserInfo": {
  6737. "get": {
  6738. "security": [
  6739. {
  6740. "ApiKeyAuth": []
  6741. }
  6742. ],
  6743. "produces": [
  6744. "application/json"
  6745. ],
  6746. "tags": [
  6747. "用户信息"
  6748. ],
  6749. "summary": "获取用户信息",
  6750. "parameters": [
  6751. {
  6752. "type": "integer",
  6753. "description": "用户ID",
  6754. "name": "userID",
  6755. "in": "query",
  6756. "required": true
  6757. },
  6758. {
  6759. "type": "boolean",
  6760. "description": "是否解密",
  6761. "name": "isDecrypt",
  6762. "in": "query"
  6763. }
  6764. ],
  6765. "responses": {
  6766. "200": {
  6767. "description": "OK",
  6768. "schema": {
  6769. "$ref": "#/definitions/models.Userinfo"
  6770. }
  6771. },
  6772. "500": {
  6773. "description": "Internal Server Error",
  6774. "schema": {
  6775. "$ref": "#/definitions/app.Response"
  6776. }
  6777. }
  6778. }
  6779. }
  6780. },
  6781. "/User/QueryUserReferNum": {
  6782. "get": {
  6783. "produces": [
  6784. "application/json"
  6785. ],
  6786. "tags": [
  6787. "用户信息"
  6788. ],
  6789. "summary": "获取用户邀请码",
  6790. "parameters": [
  6791. {
  6792. "type": "integer",
  6793. "description": "用户ID",
  6794. "name": "userID",
  6795. "in": "query",
  6796. "required": true
  6797. }
  6798. ],
  6799. "responses": {
  6800. "200": {
  6801. "description": "OK",
  6802. "schema": {
  6803. "$ref": "#/definitions/app.Response"
  6804. }
  6805. },
  6806. "500": {
  6807. "description": "Internal Server Error",
  6808. "schema": {
  6809. "$ref": "#/definitions/app.Response"
  6810. }
  6811. }
  6812. }
  6813. }
  6814. },
  6815. "/User/RemoveUserFavoriteGoods": {
  6816. "post": {
  6817. "security": [
  6818. {
  6819. "ApiKeyAuth": []
  6820. }
  6821. ],
  6822. "produces": [
  6823. "application/json"
  6824. ],
  6825. "tags": [
  6826. "用户信息"
  6827. ],
  6828. "summary": "移除用户商品收藏信息",
  6829. "parameters": [
  6830. {
  6831. "type": "integer",
  6832. "description": "用户ID",
  6833. "name": "userID",
  6834. "in": "query",
  6835. "required": true
  6836. },
  6837. {
  6838. "type": "integer",
  6839. "description": "商品ID",
  6840. "name": "goodsID",
  6841. "in": "query",
  6842. "required": true
  6843. }
  6844. ],
  6845. "responses": {
  6846. "200": {
  6847. "description": "OK",
  6848. "schema": {
  6849. "$ref": "#/definitions/app.Response"
  6850. }
  6851. },
  6852. "500": {
  6853. "description": "Internal Server Error",
  6854. "schema": {
  6855. "$ref": "#/definitions/app.Response"
  6856. }
  6857. }
  6858. }
  6859. }
  6860. },
  6861. "/User/UpdateUserAccountStatus": {
  6862. "post": {
  6863. "security": [
  6864. {
  6865. "ApiKeyAuth": []
  6866. }
  6867. ],
  6868. "produces": [
  6869. "application/json"
  6870. ],
  6871. "tags": [
  6872. "用户信息"
  6873. ],
  6874. "summary": "更新用户状态",
  6875. "parameters": [
  6876. {
  6877. "type": "integer",
  6878. "description": "用户ID",
  6879. "name": "userID",
  6880. "in": "query",
  6881. "required": true
  6882. },
  6883. {
  6884. "type": "integer",
  6885. "description": "账户状态 - 4:正常 6:注销(停用)",
  6886. "name": "accountStatus",
  6887. "in": "query",
  6888. "required": true
  6889. }
  6890. ],
  6891. "responses": {
  6892. "200": {
  6893. "description": "OK",
  6894. "schema": {
  6895. "$ref": "#/definitions/app.Response"
  6896. }
  6897. },
  6898. "500": {
  6899. "description": "Internal Server Error",
  6900. "schema": {
  6901. "$ref": "#/definitions/app.Response"
  6902. }
  6903. }
  6904. }
  6905. }
  6906. },
  6907. "/WR/GetWRCategoryInfo": {
  6908. "get": {
  6909. "produces": [
  6910. "application/json"
  6911. ],
  6912. "tags": [
  6913. "仓单服务"
  6914. ],
  6915. "summary": "获取现货分类信息",
  6916. "responses": {
  6917. "200": {
  6918. "description": "OK",
  6919. "schema": {
  6920. "$ref": "#/definitions/models.WRCategoryTree"
  6921. }
  6922. },
  6923. "500": {
  6924. "description": "Internal Server Error",
  6925. "schema": {
  6926. "$ref": "#/definitions/app.Response"
  6927. }
  6928. }
  6929. }
  6930. }
  6931. },
  6932. "/WRTrade/GetAllDeliveryGoods": {
  6933. "get": {
  6934. "security": [
  6935. {
  6936. "ApiKeyAuth": []
  6937. },
  6938. {
  6939. "ApiKeyAuth": []
  6940. }
  6941. ],
  6942. "produces": [
  6943. "application/json",
  6944. "application/json"
  6945. ],
  6946. "tags": [
  6947. "仓单贸易",
  6948. "仓单贸易"
  6949. ],
  6950. "summary": "获取带仓单分类的种类信息",
  6951. "responses": {
  6952. "200": {
  6953. "description": "OK",
  6954. "schema": {
  6955. "$ref": "#/definitions/app.Response"
  6956. }
  6957. },
  6958. "500": {
  6959. "description": "Internal Server Error",
  6960. "schema": {
  6961. "$ref": "#/definitions/app.Response"
  6962. }
  6963. }
  6964. }
  6965. }
  6966. }
  6967. },
  6968. "definitions": {
  6969. "app.Response": {
  6970. "type": "object",
  6971. "properties": {
  6972. "code": {
  6973. "type": "integer"
  6974. },
  6975. "data": {
  6976. "type": "object"
  6977. },
  6978. "msg": {
  6979. "type": "string"
  6980. },
  6981. "page": {
  6982. "description": "页码",
  6983. "type": "integer"
  6984. },
  6985. "pagesize": {
  6986. "description": "每页条数",
  6987. "type": "integer"
  6988. },
  6989. "total": {
  6990. "description": "总条数",
  6991. "type": "integer"
  6992. }
  6993. }
  6994. },
  6995. "common.QueryImageConfigsRsp": {
  6996. "type": "object",
  6997. "required": [
  6998. "configid"
  6999. ],
  7000. "properties": {
  7001. "areauserid": {
  7002. "description": "所属机构ID",
  7003. "type": "integer"
  7004. },
  7005. "configid": {
  7006. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  7007. "type": "integer"
  7008. },
  7009. "createdate": {
  7010. "description": "创建时间",
  7011. "type": "string"
  7012. },
  7013. "creatorid": {
  7014. "description": "创建人",
  7015. "type": "integer"
  7016. },
  7017. "imagepath": {
  7018. "description": "图片",
  7019. "type": "string"
  7020. },
  7021. "imagetype": {
  7022. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  7023. "type": "integer"
  7024. },
  7025. "isshow": {
  7026. "description": "是否展示 - 0:不展示 1:展示",
  7027. "type": "integer"
  7028. },
  7029. "marketid": {
  7030. "description": "市场ID",
  7031. "type": "integer"
  7032. },
  7033. "modifierid": {
  7034. "description": "操作人",
  7035. "type": "integer"
  7036. },
  7037. "sort": {
  7038. "description": "排序",
  7039. "type": "integer"
  7040. },
  7041. "title": {
  7042. "description": "标题",
  7043. "type": "string"
  7044. },
  7045. "trademode": {
  7046. "description": "交易模式",
  7047. "type": "integer"
  7048. },
  7049. "updatedate": {
  7050. "description": "修改时间",
  7051. "type": "string"
  7052. },
  7053. "url": {
  7054. "description": "链接(地址或商品ID)",
  7055. "type": "string"
  7056. },
  7057. "urltype": {
  7058. "description": "链接类型 - 1:直接地址 2:商品ID",
  7059. "type": "integer"
  7060. }
  7061. }
  7062. },
  7063. "common.QueryNoticeRsp": {
  7064. "type": "object",
  7065. "required": [
  7066. "autoid"
  7067. ],
  7068. "properties": {
  7069. "auditoruserid": {
  7070. "description": "审核人",
  7071. "type": "integer"
  7072. },
  7073. "auditremark": {
  7074. "description": "审核备注",
  7075. "type": "string"
  7076. },
  7077. "audittime": {
  7078. "description": "审核日期",
  7079. "type": "string"
  7080. },
  7081. "autoid": {
  7082. "description": "自增ID",
  7083. "type": "integer"
  7084. },
  7085. "content": {
  7086. "description": "内容",
  7087. "type": "string"
  7088. },
  7089. "createtime": {
  7090. "description": "创建时间",
  7091. "type": "string"
  7092. },
  7093. "creatorid": {
  7094. "description": "建仓人",
  7095. "type": "integer"
  7096. },
  7097. "endtime": {
  7098. "description": "结束时间",
  7099. "type": "string"
  7100. },
  7101. "istop": {
  7102. "description": "是否置顶 - 0:不置顶 1:置顶",
  7103. "type": "integer"
  7104. },
  7105. "msgiconurl": {
  7106. "description": "消息图标Url",
  7107. "type": "string"
  7108. },
  7109. "msgtype": {
  7110. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  7111. "type": "integer"
  7112. },
  7113. "publisher": {
  7114. "description": "消息发布者",
  7115. "type": "string"
  7116. },
  7117. "readed": {
  7118. "description": "是否已读",
  7119. "type": "boolean"
  7120. },
  7121. "scheduletime": {
  7122. "description": "计划发送时间",
  7123. "type": "string"
  7124. },
  7125. "sendtype": {
  7126. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  7127. "type": "integer"
  7128. },
  7129. "sentstatus": {
  7130. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  7131. "type": "integer"
  7132. },
  7133. "title": {
  7134. "description": "标题",
  7135. "type": "string"
  7136. },
  7137. "userid": {
  7138. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  7139. "type": "integer"
  7140. }
  7141. }
  7142. },
  7143. "common.QueryProvincesAndCitiesRsp": {
  7144. "type": "object",
  7145. "properties": {
  7146. "cities": {
  7147. "description": "市",
  7148. "type": "array",
  7149. "items": {
  7150. "$ref": "#/definitions/models.Division"
  7151. }
  7152. },
  7153. "province": {
  7154. "description": "省",
  7155. "type": "object",
  7156. "$ref": "#/definitions/models.Division"
  7157. }
  7158. }
  7159. },
  7160. "common.QueryTableDefineRsp": {
  7161. "type": "object",
  7162. "required": [
  7163. "tablekey"
  7164. ],
  7165. "properties": {
  7166. "columns": {
  7167. "description": "列头信息数组",
  7168. "type": "array",
  7169. "items": {
  7170. "$ref": "#/definitions/models.Tablecolumnconfig"
  7171. }
  7172. },
  7173. "remark": {
  7174. "description": "Remark",
  7175. "type": "string"
  7176. },
  7177. "tabelmenu": {
  7178. "description": "列表菜单",
  7179. "type": "string"
  7180. },
  7181. "tablekey": {
  7182. "description": "列表Key",
  7183. "type": "string"
  7184. },
  7185. "tablename": {
  7186. "description": "列表名称",
  7187. "type": "string"
  7188. },
  7189. "tabletype": {
  7190. "description": "列表类型 - 1:管理端 2:终端",
  7191. "type": "integer"
  7192. }
  7193. }
  7194. },
  7195. "common.QueryTraderMenuRsp": {
  7196. "type": "object",
  7197. "properties": {
  7198. "OperationMenu": {
  7199. "description": "功能菜单",
  7200. "type": "array",
  7201. "items": {
  7202. "$ref": "#/definitions/models.OperationPrimaryMenu"
  7203. }
  7204. },
  7205. "QuoteMenu": {
  7206. "description": "报价牌分类菜单",
  7207. "type": "array",
  7208. "items": {
  7209. "$ref": "#/definitions/models.QuotePrimaryMenu"
  7210. }
  7211. }
  7212. }
  7213. },
  7214. "cptrade.Cptradepositioncancel": {
  7215. "type": "object",
  7216. "required": [
  7217. "cancelid"
  7218. ],
  7219. "properties": {
  7220. "accountid": {
  7221. "description": "申请人账户ID",
  7222. "type": "integer"
  7223. },
  7224. "applystatus": {
  7225. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  7226. "type": "integer"
  7227. },
  7228. "applytime": {
  7229. "description": "申请时间",
  7230. "type": "string"
  7231. },
  7232. "cancelid": {
  7233. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  7234. "type": "integer"
  7235. },
  7236. "cancelqty": {
  7237. "description": "注销数量",
  7238. "type": "integer"
  7239. },
  7240. "createtime": {
  7241. "description": "创建时间",
  7242. "type": "string"
  7243. },
  7244. "creatorid": {
  7245. "description": "创建人ID",
  7246. "type": "integer"
  7247. },
  7248. "creatorname": {
  7249. "description": "创建人",
  7250. "type": "string"
  7251. },
  7252. "goodscode": {
  7253. "description": "订单商品代码",
  7254. "type": "string"
  7255. },
  7256. "goodsid": {
  7257. "description": "商品ID",
  7258. "type": "integer"
  7259. },
  7260. "goodsname": {
  7261. "description": "订单商品名称",
  7262. "type": "string"
  7263. },
  7264. "goodunit": {
  7265. "description": "报价单位",
  7266. "type": "string"
  7267. },
  7268. "handlestatus": {
  7269. "description": "处理状态",
  7270. "type": "integer"
  7271. },
  7272. "marketid": {
  7273. "description": "市场ID",
  7274. "type": "integer"
  7275. },
  7276. "marketname": {
  7277. "description": "市场名称",
  7278. "type": "string"
  7279. },
  7280. "tradedate": {
  7281. "description": "交易日(yyyyMMdd)",
  7282. "type": "string"
  7283. },
  7284. "userid": {
  7285. "description": "申请人ID",
  7286. "type": "integer"
  7287. }
  7288. }
  7289. },
  7290. "cptrade.Cptradepresaleapply": {
  7291. "type": "object",
  7292. "required": [
  7293. "applyid"
  7294. ],
  7295. "properties": {
  7296. "accountid": {
  7297. "description": "申请人账户ID",
  7298. "type": "integer"
  7299. },
  7300. "applyid": {
  7301. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  7302. "type": "integer"
  7303. },
  7304. "applyremark": {
  7305. "description": "申请备注",
  7306. "type": "string"
  7307. },
  7308. "applystatus": {
  7309. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  7310. "type": "integer"
  7311. },
  7312. "applytime": {
  7313. "description": "申请时间",
  7314. "type": "string"
  7315. },
  7316. "attachmenturl": {
  7317. "description": "附件地址",
  7318. "type": "string"
  7319. },
  7320. "endtime": {
  7321. "description": "预售结束时间",
  7322. "type": "string"
  7323. },
  7324. "goodscode": {
  7325. "description": "商品代码",
  7326. "type": "string"
  7327. },
  7328. "goodsid": {
  7329. "description": "商品ID",
  7330. "type": "integer"
  7331. },
  7332. "goodsname": {
  7333. "description": "商品名称",
  7334. "type": "string"
  7335. },
  7336. "goodunit": {
  7337. "description": "报价单位",
  7338. "type": "string"
  7339. },
  7340. "handlestatus": {
  7341. "description": "处理状态",
  7342. "type": "integer"
  7343. },
  7344. "marketid": {
  7345. "description": "预售市场ID",
  7346. "type": "integer"
  7347. },
  7348. "marketname": {
  7349. "description": "预售市场名称",
  7350. "type": "string"
  7351. },
  7352. "presaleqty": {
  7353. "description": "预售数量",
  7354. "type": "integer"
  7355. },
  7356. "relatedgoodscode": {
  7357. "description": "关联交易合约代码",
  7358. "type": "string"
  7359. },
  7360. "relatedgoodsid": {
  7361. "description": "关联交易合约ID",
  7362. "type": "integer"
  7363. },
  7364. "relatedgoodsname": {
  7365. "description": "关联交易合约名称",
  7366. "type": "string"
  7367. },
  7368. "starttime": {
  7369. "description": "预售开始时间",
  7370. "type": "string"
  7371. },
  7372. "tradedate": {
  7373. "description": "交易日(yyyyMMdd)",
  7374. "type": "string"
  7375. },
  7376. "trademode": {
  7377. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  7378. "type": "integer"
  7379. },
  7380. "userid": {
  7381. "description": "申请人ID",
  7382. "type": "integer"
  7383. }
  7384. }
  7385. },
  7386. "cptrade.Cptradeusergoodsdata": {
  7387. "type": "object",
  7388. "required": [
  7389. "accountid",
  7390. "goodsid"
  7391. ],
  7392. "properties": {
  7393. "EnabledQty": {
  7394. "description": "可用量",
  7395. "type": "integer"
  7396. },
  7397. "GoodsCode": {
  7398. "description": "订单商品代码",
  7399. "type": "string"
  7400. },
  7401. "GoodsName": {
  7402. "description": "订单商品名称",
  7403. "type": "string"
  7404. },
  7405. "WRStandardCode": {
  7406. "description": "仓单标准代码",
  7407. "type": "string"
  7408. },
  7409. "WRStandardName": {
  7410. "description": "仓单标准名称",
  7411. "type": "string"
  7412. },
  7413. "accountid": {
  7414. "description": "账户ID",
  7415. "type": "integer"
  7416. },
  7417. "cancelqty": {
  7418. "description": "注销量",
  7419. "type": "integer"
  7420. },
  7421. "curpresaleqty": {
  7422. "description": "当前预售量",
  7423. "type": "integer"
  7424. },
  7425. "deliveryqty": {
  7426. "description": "交割量",
  7427. "type": "integer"
  7428. },
  7429. "freezeamount": {
  7430. "description": "冻结金额",
  7431. "type": "number"
  7432. },
  7433. "goodsid": {
  7434. "description": "商品ID",
  7435. "type": "integer"
  7436. },
  7437. "goodunit": {
  7438. "description": "报价单位",
  7439. "type": "string"
  7440. },
  7441. "hasspotfreeze": {
  7442. "description": "是否有现货冻结 - 0:否 1:有",
  7443. "type": "integer"
  7444. },
  7445. "inqty": {
  7446. "description": "转入量(总数量)",
  7447. "type": "integer"
  7448. },
  7449. "marketid": {
  7450. "description": "市场ID",
  7451. "type": "integer"
  7452. },
  7453. "presaledamount": {
  7454. "description": "已预售总金额",
  7455. "type": "integer"
  7456. },
  7457. "presaledqty": {
  7458. "description": "已预售量",
  7459. "type": "integer"
  7460. },
  7461. "userid": {
  7462. "description": "用户ID",
  7463. "type": "integer"
  7464. },
  7465. "wrstandardid": {
  7466. "description": "仓单标准ID",
  7467. "type": "integer"
  7468. }
  7469. }
  7470. },
  7471. "cptrade.QueryCPTradeMyBidRsp": {
  7472. "type": "object",
  7473. "required": [
  7474. "accountid",
  7475. "goodsid",
  7476. "marketid",
  7477. "orderid",
  7478. "orderqty",
  7479. "ordertime",
  7480. "tradeprice",
  7481. "tradeqty"
  7482. ],
  7483. "properties": {
  7484. "accountid": {
  7485. "description": "账户ID[报价币种]",
  7486. "type": "integer"
  7487. },
  7488. "goodsid": {
  7489. "description": "商品ID",
  7490. "type": "integer"
  7491. },
  7492. "goodunit": {
  7493. "description": "报价单位",
  7494. "type": "string"
  7495. },
  7496. "marketid": {
  7497. "description": "市场ID",
  7498. "type": "integer"
  7499. },
  7500. "orderid": {
  7501. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7502. "type": "integer"
  7503. },
  7504. "orderprice": {
  7505. "description": "委托价格",
  7506. "type": "number"
  7507. },
  7508. "orderqty": {
  7509. "description": "委托数量",
  7510. "type": "integer"
  7511. },
  7512. "ordertime": {
  7513. "description": "委托时间",
  7514. "type": "string"
  7515. },
  7516. "ordertotalprice": {
  7517. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  7518. "type": "number"
  7519. },
  7520. "ordertotalweight": {
  7521. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  7522. "type": "integer"
  7523. },
  7524. "totaltotalprice": {
  7525. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  7526. "type": "number"
  7527. },
  7528. "tradeprice": {
  7529. "description": "成交价格",
  7530. "type": "number"
  7531. },
  7532. "tradeqty": {
  7533. "description": "成交数量",
  7534. "type": "integer"
  7535. }
  7536. }
  7537. },
  7538. "cptrade.QueryCPTradeOrderDetailRsq": {
  7539. "type": "object",
  7540. "required": [
  7541. "accountid",
  7542. "buildtype",
  7543. "buyorsell",
  7544. "goodsid",
  7545. "marketid",
  7546. "memberuserid",
  7547. "operatetype",
  7548. "orderqty",
  7549. "ordertime",
  7550. "pricemode",
  7551. "strorderid",
  7552. "tradedate",
  7553. "validtype"
  7554. ],
  7555. "properties": {
  7556. "accountid": {
  7557. "description": "账户ID[报价币种]",
  7558. "type": "integer"
  7559. },
  7560. "buildtype": {
  7561. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  7562. "type": "integer"
  7563. },
  7564. "buyorsell": {
  7565. "description": "买卖 - 0:买 1:卖",
  7566. "type": "integer"
  7567. },
  7568. "cancelorderid": {
  7569. "description": "撤单单号(撤单时填写)",
  7570. "type": "integer"
  7571. },
  7572. "cancelqty": {
  7573. "description": "撤单数量",
  7574. "type": "integer"
  7575. },
  7576. "clientordertime": {
  7577. "description": "客户端委托时间",
  7578. "type": "string"
  7579. },
  7580. "clientticket": {
  7581. "description": "客户端流水号",
  7582. "type": "string"
  7583. },
  7584. "clienttype": {
  7585. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  7586. "type": "integer"
  7587. },
  7588. "closeexchagechargevalue": {
  7589. "description": "平仓交易所手续费设置值",
  7590. "type": "number"
  7591. },
  7592. "closefeealgorithm": {
  7593. "description": "平仓手续费收取方式 1:比率 2:固定",
  7594. "type": "integer"
  7595. },
  7596. "closefreezecharge": {
  7597. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  7598. "type": "number"
  7599. },
  7600. "closememberchargevalue": {
  7601. "description": "平仓会员手续费设置值",
  7602. "type": "number"
  7603. },
  7604. "closeqty": {
  7605. "description": "平仓数量(先建后平操作 需要记录)",
  7606. "type": "integer"
  7607. },
  7608. "closetradeqty": {
  7609. "description": "平仓成交数量(先建后平操作,需要记录)",
  7610. "type": "integer"
  7611. },
  7612. "closeunfreezecharge": {
  7613. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  7614. "type": "number"
  7615. },
  7616. "delistingtype": {
  7617. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  7618. "type": "integer"
  7619. },
  7620. "freezecharge": {
  7621. "description": "冻结手续费",
  7622. "type": "number"
  7623. },
  7624. "freezemargin": {
  7625. "description": "冻结保证金(冻结交易金额)",
  7626. "type": "number"
  7627. },
  7628. "gcaccountid": {
  7629. "description": "账户ID[合约币种]",
  7630. "type": "integer"
  7631. },
  7632. "goodsid": {
  7633. "description": "商品ID",
  7634. "type": "integer"
  7635. },
  7636. "isconfirmexercise": {
  7637. "description": "是否确认行权- 0:否 1:是",
  7638. "type": "integer"
  7639. },
  7640. "ispreexercise": {
  7641. "description": "是否预申报- 0:否 1:是",
  7642. "type": "integer"
  7643. },
  7644. "listingselecttype": {
  7645. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7646. "type": "integer"
  7647. },
  7648. "marginalgorithm": {
  7649. "description": "保证金收取方式 1:比率 2:固定",
  7650. "type": "integer"
  7651. },
  7652. "marginvalue": {
  7653. "description": "即市保证金设置值",
  7654. "type": "number"
  7655. },
  7656. "marketid": {
  7657. "description": "市场ID",
  7658. "type": "integer"
  7659. },
  7660. "marketmaxsub": {
  7661. "description": "市价最大偏移范围",
  7662. "type": "number"
  7663. },
  7664. "memberuserid": {
  7665. "description": "所属会员UserID",
  7666. "type": "integer"
  7667. },
  7668. "openexchagechargevalue": {
  7669. "description": "建仓交易所手续费设置值",
  7670. "type": "number"
  7671. },
  7672. "openfeealgorithm": {
  7673. "description": "建仓手续费收取方式 1:比率 2:固定",
  7674. "type": "integer"
  7675. },
  7676. "openfreezecharge": {
  7677. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  7678. "type": "number"
  7679. },
  7680. "openmemberchargevalue": {
  7681. "description": "建仓会员手续费设置值",
  7682. "type": "number"
  7683. },
  7684. "openqty": {
  7685. "description": "开仓数量(先建后平操作,需要记录)",
  7686. "type": "integer"
  7687. },
  7688. "opentradeqty": {
  7689. "description": "开仓成交数量(先建后平操作,需要记录)",
  7690. "type": "integer"
  7691. },
  7692. "openunfreezecharge": {
  7693. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  7694. "type": "number"
  7695. },
  7696. "operatetype": {
  7697. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  7698. "type": "integer"
  7699. },
  7700. "operatorid": {
  7701. "description": "登录账号(LoginID)",
  7702. "type": "integer"
  7703. },
  7704. "optiontype": {
  7705. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  7706. "type": "integer"
  7707. },
  7708. "orderprice": {
  7709. "description": "委托价格",
  7710. "type": "number"
  7711. },
  7712. "orderqty": {
  7713. "description": "委托数量",
  7714. "type": "integer"
  7715. },
  7716. "ordersrc": {
  7717. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  7718. "type": "integer"
  7719. },
  7720. "orderstatus": {
  7721. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7722. "type": "integer"
  7723. },
  7724. "ordertime": {
  7725. "description": "委托时间",
  7726. "type": "string"
  7727. },
  7728. "preexerciseprice": {
  7729. "description": "预申报价格",
  7730. "type": "number"
  7731. },
  7732. "premium": {
  7733. "description": "权利金",
  7734. "type": "number"
  7735. },
  7736. "preorderid": {
  7737. "description": "关联预埋单号(止盈止损单时填写)",
  7738. "type": "integer"
  7739. },
  7740. "pricemode": {
  7741. "description": "取价方式 - 1:市价 2: 限价",
  7742. "type": "integer"
  7743. },
  7744. "quoteid": {
  7745. "description": "报价单ID",
  7746. "type": "integer"
  7747. },
  7748. "relatedid": {
  7749. "description": "关联单号(交割单)",
  7750. "type": "integer"
  7751. },
  7752. "retcode": {
  7753. "description": "错误代码",
  7754. "type": "integer"
  7755. },
  7756. "sessionid": {
  7757. "description": "会话ID",
  7758. "type": "integer"
  7759. },
  7760. "strorderid": {
  7761. "description": "委托单号",
  7762. "type": "string"
  7763. },
  7764. "tradedate": {
  7765. "description": "交易日(yyyyMMdd)",
  7766. "type": "string"
  7767. },
  7768. "tradeproperty": {
  7769. "description": "交易属性",
  7770. "type": "integer"
  7771. },
  7772. "tradeqty": {
  7773. "description": "成交数量",
  7774. "type": "integer"
  7775. },
  7776. "unfreezecharge": {
  7777. "description": "解冻手续费",
  7778. "type": "number"
  7779. },
  7780. "unfreezemargin": {
  7781. "description": "解冻保证金",
  7782. "type": "number"
  7783. },
  7784. "updatetime": {
  7785. "description": "更新时间",
  7786. "type": "string"
  7787. },
  7788. "uuid": {
  7789. "description": "发起端唯一id",
  7790. "type": "string"
  7791. },
  7792. "validtime": {
  7793. "description": "有效期限",
  7794. "type": "string"
  7795. },
  7796. "validtype": {
  7797. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  7798. "type": "integer"
  7799. },
  7800. "volumetype": {
  7801. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  7802. "type": "integer"
  7803. }
  7804. }
  7805. },
  7806. "cptrade.QueryMyCPTradeGoodsRsp": {
  7807. "type": "object",
  7808. "required": [
  7809. "goodscode",
  7810. "goodsid",
  7811. "goodsname",
  7812. "marketid",
  7813. "relatedgoodscode",
  7814. "relatedgoodsname"
  7815. ],
  7816. "properties": {
  7817. "accountid": {
  7818. "description": "卖方账户ID",
  7819. "type": "integer"
  7820. },
  7821. "agreeunit": {
  7822. "description": "合约单位",
  7823. "type": "number"
  7824. },
  7825. "applyid": {
  7826. "description": "关联申请ID",
  7827. "type": "integer"
  7828. },
  7829. "attachmenturl": {
  7830. "description": "附件地址",
  7831. "type": "string"
  7832. },
  7833. "createtime": {
  7834. "description": "创建时间",
  7835. "type": "string"
  7836. },
  7837. "currencyid": {
  7838. "description": "报价货币ID",
  7839. "type": "integer"
  7840. },
  7841. "decimalplace": {
  7842. "description": "报价小数位",
  7843. "type": "integer"
  7844. },
  7845. "endtime": {
  7846. "description": "预售结束时间",
  7847. "type": "string"
  7848. },
  7849. "floorprice": {
  7850. "description": "底价[大宗式竞拍]",
  7851. "type": "number"
  7852. },
  7853. "goodscode": {
  7854. "description": "商品代码(预售)",
  7855. "type": "string"
  7856. },
  7857. "goodsdetail": {
  7858. "description": "详情[大宗]",
  7859. "type": "string"
  7860. },
  7861. "goodsid": {
  7862. "description": "商品ID(自增ID SEQ_GOODS)",
  7863. "type": "integer"
  7864. },
  7865. "goodsname": {
  7866. "description": "商品名称(预售)",
  7867. "type": "string"
  7868. },
  7869. "goodunit": {
  7870. "description": "报价单位",
  7871. "type": "string"
  7872. },
  7873. "goodunitid": {
  7874. "description": "报价单位ID",
  7875. "type": "integer"
  7876. },
  7877. "marketid": {
  7878. "description": "所属市场ID",
  7879. "type": "integer"
  7880. },
  7881. "marketname": {
  7882. "description": "预售市场名称",
  7883. "type": "string"
  7884. },
  7885. "presaledamount": {
  7886. "description": "已预售总金额(预售结束时更新)",
  7887. "type": "number"
  7888. },
  7889. "presaledqty": {
  7890. "description": "已预售量(预售结束时更新)",
  7891. "type": "integer"
  7892. },
  7893. "presalemode": {
  7894. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7895. "type": "integer"
  7896. },
  7897. "presaleqty": {
  7898. "description": "预售数量",
  7899. "type": "integer"
  7900. },
  7901. "refprice": {
  7902. "description": "参考价格[一口价]",
  7903. "type": "number"
  7904. },
  7905. "relatedgoodscode": {
  7906. "description": "商品代码(订单)",
  7907. "type": "string"
  7908. },
  7909. "relatedgoodsid": {
  7910. "description": "关联交易合约ID",
  7911. "type": "integer"
  7912. },
  7913. "relatedgoodsname": {
  7914. "description": "商品名称(订单)",
  7915. "type": "string"
  7916. },
  7917. "relatedmarketid": {
  7918. "description": "关联交易合约市场ID",
  7919. "type": "integer"
  7920. },
  7921. "sellstatus": {
  7922. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7923. "type": "integer"
  7924. },
  7925. "startprice": {
  7926. "description": "起拍价[大宗式竞拍]",
  7927. "type": "number"
  7928. },
  7929. "starttime": {
  7930. "description": "预售开始时间",
  7931. "type": "string"
  7932. },
  7933. "tradedate": {
  7934. "description": "交易日(yyyyMMdd)",
  7935. "type": "string"
  7936. },
  7937. "tradeprice": {
  7938. "description": "成交价[大宗]",
  7939. "type": "number"
  7940. },
  7941. "userid": {
  7942. "description": "卖方用户ID",
  7943. "type": "integer"
  7944. }
  7945. }
  7946. },
  7947. "cptrade.QueryPresaleGoodsExRsp": {
  7948. "type": "object",
  7949. "required": [
  7950. "goodsid"
  7951. ],
  7952. "properties": {
  7953. "attachmenturl": {
  7954. "description": "附件地址",
  7955. "type": "string"
  7956. },
  7957. "createtime": {
  7958. "description": "创建时间",
  7959. "type": "string"
  7960. },
  7961. "endtime": {
  7962. "description": "预售结束时间",
  7963. "type": "string"
  7964. },
  7965. "floorprice": {
  7966. "description": "底价[大宗式竞拍]",
  7967. "type": "number"
  7968. },
  7969. "goodsdetail": {
  7970. "description": "详情[大宗]",
  7971. "type": "string"
  7972. },
  7973. "goodsid": {
  7974. "description": "商品ID(预售)",
  7975. "type": "integer"
  7976. },
  7977. "goodunit": {
  7978. "description": "报价单位",
  7979. "type": "string"
  7980. },
  7981. "marketid": {
  7982. "description": "预售市场ID - 根据预售模式选择市场",
  7983. "type": "integer"
  7984. },
  7985. "presaledamount": {
  7986. "description": "已预售总金额(预售结束时更新)",
  7987. "type": "number"
  7988. },
  7989. "presaledqty": {
  7990. "description": "已预售量(预售结束时更新)",
  7991. "type": "integer"
  7992. },
  7993. "presalemode": {
  7994. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7995. "type": "integer"
  7996. },
  7997. "presaleqty": {
  7998. "description": "预售数量",
  7999. "type": "integer"
  8000. },
  8001. "refprice": {
  8002. "description": "参考价格[一口价]",
  8003. "type": "number"
  8004. },
  8005. "relatedgoodsid": {
  8006. "description": "关联交易合约ID",
  8007. "type": "integer"
  8008. },
  8009. "relatedmarketid": {
  8010. "description": "关联交易合约市场ID",
  8011. "type": "integer"
  8012. },
  8013. "sellstatus": {
  8014. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  8015. "type": "integer"
  8016. },
  8017. "startprice": {
  8018. "description": "起拍价[大宗式竞拍]",
  8019. "type": "number"
  8020. },
  8021. "starttime": {
  8022. "description": "预售开始时间",
  8023. "type": "string"
  8024. },
  8025. "tradedate": {
  8026. "description": "交易日(yyyyMMdd)",
  8027. "type": "string"
  8028. },
  8029. "tradeprice": {
  8030. "description": "成交价[大宗]",
  8031. "type": "number"
  8032. }
  8033. }
  8034. },
  8035. "delivery.QueryDeliveryRelationRsp": {
  8036. "type": "object",
  8037. "required": [
  8038. "begindate",
  8039. "enddate",
  8040. "goodsid",
  8041. "mindeliveryqty",
  8042. "xdeliveryratio"
  8043. ],
  8044. "properties": {
  8045. "begindate": {
  8046. "description": "起始日期(yyyyMMdd)",
  8047. "type": "string"
  8048. },
  8049. "buytemplateid": {
  8050. "description": "买履约计划模板ID",
  8051. "type": "integer"
  8052. },
  8053. "deliverygoodscode": {
  8054. "description": "品种代码",
  8055. "type": "string"
  8056. },
  8057. "deliverygoodsid": {
  8058. "description": "交割商品",
  8059. "type": "integer"
  8060. },
  8061. "deliverygoodsname": {
  8062. "description": "品种名称",
  8063. "type": "string"
  8064. },
  8065. "deliverymode": {
  8066. "description": "交割方式 - 1:点选式 2:申报式",
  8067. "type": "integer"
  8068. },
  8069. "deliverypricerule": {
  8070. "description": "交割价规则- 1:行情价 2:建仓价",
  8071. "type": "integer"
  8072. },
  8073. "deliverytype": {
  8074. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  8075. "type": "integer"
  8076. },
  8077. "enddate": {
  8078. "description": "结束日期(yyyyMMdd)",
  8079. "type": "string"
  8080. },
  8081. "goodscode": {
  8082. "description": "商品代码",
  8083. "type": "string"
  8084. },
  8085. "goodsid": {
  8086. "description": "交易合约ID",
  8087. "type": "integer"
  8088. },
  8089. "goodsname": {
  8090. "description": "商品名称",
  8091. "type": "string"
  8092. },
  8093. "marketid": {
  8094. "description": "市场ID",
  8095. "type": "integer"
  8096. },
  8097. "mindeliveryqty": {
  8098. "description": "最小交割系数(K)",
  8099. "type": "integer"
  8100. },
  8101. "p2deliveryprice": {
  8102. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  8103. "type": "number"
  8104. },
  8105. "p2deliveryratio": {
  8106. "description": "P2合约系数(p)",
  8107. "type": "integer"
  8108. },
  8109. "p2goodsid": {
  8110. "description": "P2合约ID",
  8111. "type": "integer"
  8112. },
  8113. "p2pricemode": {
  8114. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  8115. "type": "integer"
  8116. },
  8117. "pdeliveryprice": {
  8118. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  8119. "type": "number"
  8120. },
  8121. "pdeliveryratio": {
  8122. "description": "P合约系数(n)",
  8123. "type": "integer"
  8124. },
  8125. "pgoodsid": {
  8126. "description": "P合约ID",
  8127. "type": "integer"
  8128. },
  8129. "ppricemode": {
  8130. "description": "P合约价格方式 - 1:商品价 2:固定值",
  8131. "type": "integer"
  8132. },
  8133. "rratio": {
  8134. "description": "兑换系数(R)",
  8135. "type": "integer"
  8136. },
  8137. "rratio1": {
  8138. "description": "兑换系数(交易合约)(R1)",
  8139. "type": "integer"
  8140. },
  8141. "rratio2": {
  8142. "description": "兑换系数(仓单标准)(R2)",
  8143. "type": "integer"
  8144. },
  8145. "selltemplateid": {
  8146. "description": "卖履约计划模板ID",
  8147. "type": "integer"
  8148. },
  8149. "wrstandardid": {
  8150. "description": "仓单标准ID",
  8151. "type": "integer"
  8152. },
  8153. "xdeliveryratio": {
  8154. "description": "交易合约系数(m)",
  8155. "type": "integer"
  8156. }
  8157. }
  8158. },
  8159. "ermcp.ExposureDetailRsp": {
  8160. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  8161. },
  8162. "ermcp.ExposureHedgePosDetailRsp": {
  8163. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  8164. },
  8165. "ermcp.ExposureHedgePositionRsp": {
  8166. "$ref": "#/definitions/models.ErmcpHedgePosition"
  8167. },
  8168. "ermcp.ExposureSpotDetailRsp": {
  8169. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  8170. },
  8171. "ermcp.ExposureSpotRsp": {
  8172. "$ref": "#/definitions/models.AreaSpotModel"
  8173. },
  8174. "ermcp.HisExposureRsp": {
  8175. "$ref": "#/definitions/models.ErmcpHisExposureS"
  8176. },
  8177. "ermcp.PendingAuditCntRsp": {
  8178. "$ref": "#/definitions/models.ErmcpPendingAudit"
  8179. },
  8180. "ermcp.QryAreaStockApplyRsp": {
  8181. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  8182. },
  8183. "ermcp.QryAvalidGPRsp": {
  8184. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  8185. },
  8186. "ermcp.QryBusinessDjRsp": {
  8187. "type": "object",
  8188. "properties": {
  8189. "amount": {
  8190. "description": "点价金额=(点价价格+升贴水)*点价数量",
  8191. "type": "number"
  8192. },
  8193. "applyid": {
  8194. "description": "申请人",
  8195. "type": "string"
  8196. },
  8197. "applyname": {
  8198. "description": "申请人名称",
  8199. "type": "string"
  8200. },
  8201. "applystatus": {
  8202. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8203. "type": "integer"
  8204. },
  8205. "applytime": {
  8206. "description": "申请时间",
  8207. "type": "string"
  8208. },
  8209. "attachurl": {
  8210. "description": "附件",
  8211. "type": "string"
  8212. },
  8213. "auditid": {
  8214. "description": "审核人ID",
  8215. "type": "string"
  8216. },
  8217. "auditname": {
  8218. "description": "审核人名称",
  8219. "type": "string"
  8220. },
  8221. "audittime": {
  8222. "description": "审核时间",
  8223. "type": "string"
  8224. },
  8225. "buyusername": {
  8226. "description": "采购方名称",
  8227. "type": "string"
  8228. },
  8229. "contractno": {
  8230. "description": "合同编号",
  8231. "type": "string"
  8232. },
  8233. "contractstatus": {
  8234. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8235. "type": "integer"
  8236. },
  8237. "contracttype": {
  8238. "description": "现货合同类型 - 1:采购 -1:销售",
  8239. "type": "integer"
  8240. },
  8241. "enumdicname": {
  8242. "description": "单位名称",
  8243. "type": "string"
  8244. },
  8245. "goodscode": {
  8246. "description": "点价合约",
  8247. "type": "string"
  8248. },
  8249. "goodsname": {
  8250. "description": "商品名称",
  8251. "type": "string"
  8252. },
  8253. "operateapplyid": {
  8254. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8255. "type": "string"
  8256. },
  8257. "operateapplytype": {
  8258. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8259. "type": "integer"
  8260. },
  8261. "pricedPrice": {
  8262. "description": "点价价格(非必填)",
  8263. "type": "number"
  8264. },
  8265. "pricedQty": {
  8266. "description": "点价数量(非必填)",
  8267. "type": "number"
  8268. },
  8269. "pricemove": {
  8270. "description": "升贴水",
  8271. "type": "number"
  8272. },
  8273. "pricetype": {
  8274. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8275. "type": "integer"
  8276. },
  8277. "relatedid": {
  8278. "description": "现货合同ID",
  8279. "type": "string"
  8280. },
  8281. "sellusername": {
  8282. "description": "销售方名字",
  8283. "type": "string"
  8284. },
  8285. "userid": {
  8286. "description": "用户ID",
  8287. "type": "integer"
  8288. },
  8289. "wrstandardcode": {
  8290. "description": "现货商品代码",
  8291. "type": "string"
  8292. },
  8293. "wrstandardid": {
  8294. "description": "现货商品id",
  8295. "type": "integer"
  8296. },
  8297. "wrstandardname": {
  8298. "description": "现货商品名称",
  8299. "type": "string"
  8300. }
  8301. }
  8302. },
  8303. "ermcp.QryBussinessFpRsp": {
  8304. "type": "object",
  8305. "properties": {
  8306. "applyid": {
  8307. "description": "申请人",
  8308. "type": "string"
  8309. },
  8310. "applyname": {
  8311. "description": "申请人名称",
  8312. "type": "string"
  8313. },
  8314. "applystatus": {
  8315. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8316. "type": "integer"
  8317. },
  8318. "applytime": {
  8319. "description": "申请时间",
  8320. "type": "string"
  8321. },
  8322. "attachurl": {
  8323. "description": "附件",
  8324. "type": "string"
  8325. },
  8326. "auditid": {
  8327. "description": "审核人ID",
  8328. "type": "string"
  8329. },
  8330. "auditname": {
  8331. "description": "审核人名称",
  8332. "type": "string"
  8333. },
  8334. "audittime": {
  8335. "description": "审核时间",
  8336. "type": "string"
  8337. },
  8338. "buyusername": {
  8339. "description": "采购方名称",
  8340. "type": "string"
  8341. },
  8342. "contractno": {
  8343. "description": "合同编号",
  8344. "type": "string"
  8345. },
  8346. "contractstatus": {
  8347. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8348. "type": "integer"
  8349. },
  8350. "contracttype": {
  8351. "description": "现货合同类型 - 1:采购 -1:销售",
  8352. "type": "integer"
  8353. },
  8354. "enumdicname": {
  8355. "description": "单位名称",
  8356. "type": "string"
  8357. },
  8358. "goodscode": {
  8359. "description": "点价合约",
  8360. "type": "string"
  8361. },
  8362. "goodsname": {
  8363. "description": "商品名称",
  8364. "type": "string"
  8365. },
  8366. "invoiceAmount": {
  8367. "description": "已开收票金额(销售为开票,采购为收票)",
  8368. "type": "number"
  8369. },
  8370. "operateapplyid": {
  8371. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8372. "type": "string"
  8373. },
  8374. "operateapplytype": {
  8375. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8376. "type": "integer"
  8377. },
  8378. "pricemove": {
  8379. "description": "升贴水",
  8380. "type": "number"
  8381. },
  8382. "pricetype": {
  8383. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8384. "type": "integer"
  8385. },
  8386. "relatedid": {
  8387. "description": "现货合同ID",
  8388. "type": "string"
  8389. },
  8390. "sellusername": {
  8391. "description": "销售方名字",
  8392. "type": "string"
  8393. },
  8394. "userid": {
  8395. "description": "用户ID",
  8396. "type": "integer"
  8397. },
  8398. "wrstandardcode": {
  8399. "description": "现货商品代码",
  8400. "type": "string"
  8401. },
  8402. "wrstandardid": {
  8403. "description": "现货商品id",
  8404. "type": "integer"
  8405. },
  8406. "wrstandardname": {
  8407. "description": "现货商品名称",
  8408. "type": "string"
  8409. }
  8410. }
  8411. },
  8412. "ermcp.QryBussinessJsExRsp": {
  8413. "type": "object",
  8414. "properties": {
  8415. "applyid": {
  8416. "description": "申请人",
  8417. "type": "string"
  8418. },
  8419. "applyname": {
  8420. "description": "申请人名称",
  8421. "type": "string"
  8422. },
  8423. "applystatus": {
  8424. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8425. "type": "integer"
  8426. },
  8427. "applytime": {
  8428. "description": "申请时间",
  8429. "type": "string"
  8430. },
  8431. "attachurl": {
  8432. "description": "附件",
  8433. "type": "string"
  8434. },
  8435. "auditid": {
  8436. "description": "审核人ID",
  8437. "type": "string"
  8438. },
  8439. "auditname": {
  8440. "description": "审核人名称",
  8441. "type": "string"
  8442. },
  8443. "audittime": {
  8444. "description": "审核时间",
  8445. "type": "string"
  8446. },
  8447. "buyusername": {
  8448. "description": "采购方名称",
  8449. "type": "string"
  8450. },
  8451. "contractno": {
  8452. "description": "合同编号",
  8453. "type": "string"
  8454. },
  8455. "contractstatus": {
  8456. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8457. "type": "integer"
  8458. },
  8459. "contracttype": {
  8460. "description": "现货合同类型 - 1:采购 -1:销售",
  8461. "type": "integer"
  8462. },
  8463. "enumdicname": {
  8464. "description": "单位名称",
  8465. "type": "string"
  8466. },
  8467. "goodscode": {
  8468. "description": "点价合约",
  8469. "type": "string"
  8470. },
  8471. "goodsname": {
  8472. "description": "商品名称",
  8473. "type": "string"
  8474. },
  8475. "operateapplyid": {
  8476. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8477. "type": "string"
  8478. },
  8479. "operateapplytype": {
  8480. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8481. "type": "integer"
  8482. },
  8483. "pricemove": {
  8484. "description": "升贴水",
  8485. "type": "number"
  8486. },
  8487. "pricetype": {
  8488. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8489. "type": "integer"
  8490. },
  8491. "reckontype": {
  8492. "description": "结算类型",
  8493. "type": "string"
  8494. },
  8495. "reckonvalue": {
  8496. "description": "值",
  8497. "type": "number"
  8498. },
  8499. "relatedid": {
  8500. "description": "现货合同ID",
  8501. "type": "string"
  8502. },
  8503. "sellusername": {
  8504. "description": "销售方名字",
  8505. "type": "string"
  8506. },
  8507. "userid": {
  8508. "description": "用户ID",
  8509. "type": "integer"
  8510. },
  8511. "wrstandardcode": {
  8512. "description": "现货商品代码",
  8513. "type": "string"
  8514. },
  8515. "wrstandardid": {
  8516. "description": "现货商品id",
  8517. "type": "integer"
  8518. },
  8519. "wrstandardname": {
  8520. "description": "现货商品名称",
  8521. "type": "string"
  8522. }
  8523. }
  8524. },
  8525. "ermcp.QryBussinessJsRsp": {
  8526. "type": "object",
  8527. "properties": {
  8528. "addmargin": {
  8529. "description": "追加保证金(非必填)",
  8530. "type": "number"
  8531. },
  8532. "applyid": {
  8533. "description": "申请人",
  8534. "type": "string"
  8535. },
  8536. "applyname": {
  8537. "description": "申请人名称",
  8538. "type": "string"
  8539. },
  8540. "applystatus": {
  8541. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8542. "type": "integer"
  8543. },
  8544. "applytime": {
  8545. "description": "申请时间",
  8546. "type": "string"
  8547. },
  8548. "attachurl": {
  8549. "description": "附件",
  8550. "type": "string"
  8551. },
  8552. "auditid": {
  8553. "description": "审核人ID",
  8554. "type": "string"
  8555. },
  8556. "auditname": {
  8557. "description": "审核人名称",
  8558. "type": "string"
  8559. },
  8560. "audittime": {
  8561. "description": "审核时间",
  8562. "type": "string"
  8563. },
  8564. "buyusername": {
  8565. "description": "采购方名称",
  8566. "type": "string"
  8567. },
  8568. "contractno": {
  8569. "description": "合同编号",
  8570. "type": "string"
  8571. },
  8572. "contractstatus": {
  8573. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8574. "type": "integer"
  8575. },
  8576. "contracttype": {
  8577. "description": "现货合同类型 - 1:采购 -1:销售",
  8578. "type": "integer"
  8579. },
  8580. "decmargin": {
  8581. "description": "减少保证金(非必填)",
  8582. "type": "number"
  8583. },
  8584. "enumdicname": {
  8585. "description": "单位名称",
  8586. "type": "string"
  8587. },
  8588. "goodscode": {
  8589. "description": "点价合约",
  8590. "type": "string"
  8591. },
  8592. "goodsname": {
  8593. "description": "商品名称",
  8594. "type": "string"
  8595. },
  8596. "operateapplyid": {
  8597. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8598. "type": "string"
  8599. },
  8600. "operateapplytype": {
  8601. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8602. "type": "integer"
  8603. },
  8604. "pricemove": {
  8605. "description": "升贴水",
  8606. "type": "number"
  8607. },
  8608. "pricetype": {
  8609. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8610. "type": "integer"
  8611. },
  8612. "reckonadjustamount": {
  8613. "description": "结算调整金额(非必填)",
  8614. "type": "number"
  8615. },
  8616. "reckonosamount": {
  8617. "description": "结算溢短金额(非必填)",
  8618. "type": "number"
  8619. },
  8620. "reckonotheramount": {
  8621. "description": "结算其他费用(非必填)",
  8622. "type": "number"
  8623. },
  8624. "reckonrealqty": {
  8625. "description": "结算实际数量(非必填)",
  8626. "type": "number"
  8627. },
  8628. "relatedid": {
  8629. "description": "现货合同ID",
  8630. "type": "string"
  8631. },
  8632. "sellusername": {
  8633. "description": "销售方名字",
  8634. "type": "string"
  8635. },
  8636. "userid": {
  8637. "description": "用户ID",
  8638. "type": "integer"
  8639. },
  8640. "wrstandardcode": {
  8641. "description": "现货商品代码",
  8642. "type": "string"
  8643. },
  8644. "wrstandardid": {
  8645. "description": "现货商品id",
  8646. "type": "integer"
  8647. },
  8648. "wrstandardname": {
  8649. "description": "现货商品名称",
  8650. "type": "string"
  8651. }
  8652. }
  8653. },
  8654. "ermcp.QryBussinessKxRsp": {
  8655. "type": "object",
  8656. "properties": {
  8657. "applyid": {
  8658. "description": "申请人",
  8659. "type": "string"
  8660. },
  8661. "applyname": {
  8662. "description": "申请人名称",
  8663. "type": "string"
  8664. },
  8665. "applystatus": {
  8666. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8667. "type": "integer"
  8668. },
  8669. "applytime": {
  8670. "description": "申请时间",
  8671. "type": "string"
  8672. },
  8673. "attachurl": {
  8674. "description": "附件",
  8675. "type": "string"
  8676. },
  8677. "auditid": {
  8678. "description": "审核人ID",
  8679. "type": "string"
  8680. },
  8681. "auditname": {
  8682. "description": "审核人名称",
  8683. "type": "string"
  8684. },
  8685. "audittime": {
  8686. "description": "审核时间",
  8687. "type": "string"
  8688. },
  8689. "buyusername": {
  8690. "description": "采购方名称",
  8691. "type": "string"
  8692. },
  8693. "contractno": {
  8694. "description": "合同编号",
  8695. "type": "string"
  8696. },
  8697. "contractstatus": {
  8698. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8699. "type": "integer"
  8700. },
  8701. "contracttype": {
  8702. "description": "现货合同类型 - 1:采购 -1:销售",
  8703. "type": "integer"
  8704. },
  8705. "deductamount": {
  8706. "description": "退款(非必填)",
  8707. "type": "number"
  8708. },
  8709. "enumdicname": {
  8710. "description": "单位名称",
  8711. "type": "string"
  8712. },
  8713. "goodscode": {
  8714. "description": "点价合约",
  8715. "type": "string"
  8716. },
  8717. "goodsname": {
  8718. "description": "商品名称",
  8719. "type": "string"
  8720. },
  8721. "kxtype": {
  8722. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  8723. "type": "integer"
  8724. },
  8725. "operateapplyid": {
  8726. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8727. "type": "string"
  8728. },
  8729. "operateapplytype": {
  8730. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8731. "type": "integer"
  8732. },
  8733. "payamount": {
  8734. "description": "收付款(非必填)",
  8735. "type": "number"
  8736. },
  8737. "pricemove": {
  8738. "description": "升贴水",
  8739. "type": "number"
  8740. },
  8741. "pricetype": {
  8742. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8743. "type": "integer"
  8744. },
  8745. "relatedid": {
  8746. "description": "现货合同ID",
  8747. "type": "string"
  8748. },
  8749. "sellusername": {
  8750. "description": "销售方名字",
  8751. "type": "string"
  8752. },
  8753. "userid": {
  8754. "description": "用户ID",
  8755. "type": "integer"
  8756. },
  8757. "wrstandardcode": {
  8758. "description": "现货商品代码",
  8759. "type": "string"
  8760. },
  8761. "wrstandardid": {
  8762. "description": "现货商品id",
  8763. "type": "integer"
  8764. },
  8765. "wrstandardname": {
  8766. "description": "现货商品名称",
  8767. "type": "string"
  8768. }
  8769. }
  8770. },
  8771. "ermcp.QryErmcpRsp": {
  8772. "$ref": "#/definitions/models.ErmcpModel"
  8773. },
  8774. "ermcp.QryGGCovertCfgRsp": {
  8775. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  8776. },
  8777. "ermcp.QryHedgePlanRsp": {
  8778. "$ref": "#/definitions/models.ErmcpHedgePlan"
  8779. },
  8780. "ermcp.QryMGChangeLogRsp": {
  8781. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  8782. },
  8783. "ermcp.QryMiddleGoodsDetailRsp": {
  8784. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  8785. },
  8786. "ermcp.QryMiddleGoodsRsp": {
  8787. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  8788. },
  8789. "ermcp.QryOPLogRsp": {
  8790. "$ref": "#/definitions/models.ErmcpOPLogModel"
  8791. },
  8792. "ermcp.QryReportDaySpotDetailRsp": {
  8793. "$ref": "#/definitions/models.ErmcpReportOPLog"
  8794. },
  8795. "ermcp.QryReportExposureDayRsp": {
  8796. "$ref": "#/definitions/models.ErmcpReportDayExposure"
  8797. },
  8798. "ermcp.QryReportFinanceDayRsp": {
  8799. "$ref": "#/definitions/models.ErmcpReportDayFR"
  8800. },
  8801. "ermcp.QryReportFinanceKxRsp": {
  8802. "$ref": "#/definitions/models.ErmcpReportOPLog"
  8803. },
  8804. "ermcp.QryReportFinanceMonRsp": {
  8805. "$ref": "#/definitions/models.ErmcpReportMonthFR"
  8806. },
  8807. "ermcp.QryReportSpotDayRsp": {
  8808. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  8809. },
  8810. "ermcp.QryReportSpotMonRsp": {
  8811. "$ref": "#/definitions/models.ErmcpReportMonSpot"
  8812. },
  8813. "ermcp.QryReportSpotMonthDetailRsp": {
  8814. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  8815. },
  8816. "ermcp.QrySpotContractRsp": {
  8817. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  8818. },
  8819. "ermcp.QryUserInfoRsp": {
  8820. "$ref": "#/definitions/models.ErmcpUserModel"
  8821. },
  8822. "ermcp.QryWarehouseRsp": {
  8823. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  8824. },
  8825. "ermcp.QryWrStandardDetailRsp": {
  8826. "$ref": "#/definitions/models.ErmcpWrstandDetail"
  8827. },
  8828. "ermcp.QryWrStandardRsp": {
  8829. "$ref": "#/definitions/models.ErmcpWrstandard"
  8830. },
  8831. "ermcp.QueryAreaStockApplySumRsp": {
  8832. "$ref": "#/definitions/models.ErmcpAreaStockApplySum"
  8833. },
  8834. "ermcp.QueryErmcpTradePositionRsp": {
  8835. "type": "object",
  8836. "properties": {
  8837. "agreeunit": {
  8838. "description": "合约单位",
  8839. "type": "number"
  8840. },
  8841. "buyorsell": {
  8842. "description": "方向 - 0:买 1:卖",
  8843. "type": "integer"
  8844. },
  8845. "curpositionqty": {
  8846. "description": "持仓(总仓数量, 期末头寸)",
  8847. "type": "integer"
  8848. },
  8849. "curtdposition": {
  8850. "description": "今仓数量(期末今日头寸)",
  8851. "type": "integer"
  8852. },
  8853. "curtdpositionenabled": {
  8854. "description": "今仓可用",
  8855. "type": "integer"
  8856. },
  8857. "decimalplace": {
  8858. "description": "报价小数位",
  8859. "type": "integer"
  8860. },
  8861. "enableqty": {
  8862. "description": "可用(总仓可用)",
  8863. "type": "integer"
  8864. },
  8865. "exexchangename": {
  8866. "description": "外部交易所名称",
  8867. "type": "string"
  8868. },
  8869. "goodscode": {
  8870. "description": "商品代码(内部)",
  8871. "type": "string"
  8872. },
  8873. "goodsid": {
  8874. "description": "商品ID(自增ID SEQ_GOODS)",
  8875. "type": "integer"
  8876. },
  8877. "goodsname": {
  8878. "description": "商品名称",
  8879. "type": "string"
  8880. },
  8881. "last": {
  8882. "description": "现价",
  8883. "type": "number"
  8884. },
  8885. "marketid": {
  8886. "description": "所属市场ID",
  8887. "type": "integer"
  8888. },
  8889. "openaverageprice": {
  8890. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  8891. "type": "number"
  8892. },
  8893. "opencost": {
  8894. "description": "开仓成本",
  8895. "type": "number"
  8896. },
  8897. "openpl": {
  8898. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  8899. "type": "number"
  8900. },
  8901. "outgoodscode": {
  8902. "description": "商品代码(外部)",
  8903. "type": "string"
  8904. },
  8905. "positionaverageprice": {
  8906. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  8907. "type": "number"
  8908. },
  8909. "positioncost": {
  8910. "description": "持仓成本",
  8911. "type": "number"
  8912. },
  8913. "positionpl": {
  8914. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  8915. "type": "number"
  8916. },
  8917. "positionplrate": {
  8918. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  8919. "type": "number"
  8920. },
  8921. "usedmargin": {
  8922. "description": "占用保证金",
  8923. "type": "number"
  8924. }
  8925. }
  8926. },
  8927. "ermcp.RealtimeExposurePositionRsp": {
  8928. "$ref": "#/definitions/models.ErmcpExposurePostion"
  8929. },
  8930. "ermcp.RealtimeExposureRsp": {
  8931. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  8932. },
  8933. "erms2.QueryArbitrageStrategyRsp": {
  8934. "type": "object",
  8935. "required": [
  8936. "asapplyid"
  8937. ],
  8938. "properties": {
  8939. "applybasis": {
  8940. "description": "申请基差",
  8941. "type": "number"
  8942. },
  8943. "asapplyid": {
  8944. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  8945. "type": "string"
  8946. },
  8947. "asname": {
  8948. "description": "策略名称",
  8949. "type": "string"
  8950. },
  8951. "asno": {
  8952. "description": "策略编号",
  8953. "type": "string"
  8954. },
  8955. "basischangepl": {
  8956. "description": "基差变动损益[结算更新]",
  8957. "type": "number"
  8958. },
  8959. "biztype": {
  8960. "description": "业务类型 - 1:正向套利 -1:反向套利",
  8961. "type": "integer"
  8962. },
  8963. "closetradedate": {
  8964. "description": "完结交易日(yyyyMMdd)",
  8965. "type": "string"
  8966. },
  8967. "curbasis": {
  8968. "description": "当前基差[结算更新]",
  8969. "type": "number"
  8970. },
  8971. "deliverygoodsid": {
  8972. "description": "现货品种ID",
  8973. "type": "integer"
  8974. },
  8975. "futureavgprice": {
  8976. "description": "期货建仓均价",
  8977. "type": "number"
  8978. },
  8979. "futurecloseamount": {
  8980. "description": "期货平仓金额",
  8981. "type": "number"
  8982. },
  8983. "futurecloseqty": {
  8984. "description": "期货平仓数量",
  8985. "type": "number"
  8986. },
  8987. "futureopenamount": {
  8988. "description": "期货开仓金额",
  8989. "type": "number"
  8990. },
  8991. "futureopenqty": {
  8992. "description": "期货开仓数量",
  8993. "type": "number"
  8994. },
  8995. "futurepl": {
  8996. "description": "期货总盈亏[结算更新]",
  8997. "type": "number"
  8998. },
  8999. "futureqty": {
  9000. "description": "期货持仓数量",
  9001. "type": "number"
  9002. },
  9003. "futurequote": {
  9004. "description": "期货额度",
  9005. "type": "number"
  9006. },
  9007. "goodsgroupid": {
  9008. "description": "期货品种ID",
  9009. "type": "integer"
  9010. },
  9011. "marketid": {
  9012. "description": "市场ID",
  9013. "type": "integer"
  9014. },
  9015. "netexposure": {
  9016. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  9017. "type": "number"
  9018. },
  9019. "netexposurepl": {
  9020. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  9021. "type": "number"
  9022. },
  9023. "netexposurerate": {
  9024. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  9025. "type": "number"
  9026. },
  9027. "openbasis": {
  9028. "description": "建仓基差",
  9029. "type": "number"
  9030. },
  9031. "pricedspotqty": {
  9032. "description": "已定价现货数量",
  9033. "type": "number"
  9034. },
  9035. "pricedspotqtynotax": {
  9036. "description": "已定价现货不含税数量",
  9037. "type": "number"
  9038. },
  9039. "remark": {
  9040. "description": "备注",
  9041. "type": "string"
  9042. },
  9043. "spotavgprice": {
  9044. "description": "现货均价",
  9045. "type": "number"
  9046. },
  9047. "spotbuyamount": {
  9048. "description": "现货采购金额",
  9049. "type": "number"
  9050. },
  9051. "spotbuyqty": {
  9052. "description": "现货采购数量",
  9053. "type": "number"
  9054. },
  9055. "spotpl": {
  9056. "description": "现货总盈亏[结算更新]",
  9057. "type": "number"
  9058. },
  9059. "spotquota": {
  9060. "description": "现货额度",
  9061. "type": "number"
  9062. },
  9063. "spotsellamount": {
  9064. "description": "现货销售金额",
  9065. "type": "number"
  9066. },
  9067. "spotsellqty": {
  9068. "description": "现货销售数量",
  9069. "type": "number"
  9070. },
  9071. "spotusedquota": {
  9072. "description": "现货占用资金",
  9073. "type": "number"
  9074. },
  9075. "strategystatus": {
  9076. "description": "策略状态 - 0:未结束 1:已结束",
  9077. "type": "integer"
  9078. },
  9079. "totalpl": {
  9080. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  9081. "type": "number"
  9082. },
  9083. "tradedate": {
  9084. "description": "交易日(yyyyMMdd)",
  9085. "type": "string"
  9086. },
  9087. "updatetime": {
  9088. "description": "更新时间",
  9089. "type": "string"
  9090. },
  9091. "usedquota": {
  9092. "description": "已占用资金",
  9093. "type": "number"
  9094. },
  9095. "userid": {
  9096. "description": "所属机构",
  9097. "type": "integer"
  9098. }
  9099. }
  9100. },
  9101. "erms2.QueryInnerTradeDetailRsp": {
  9102. "type": "object",
  9103. "required": [
  9104. "asapplyid",
  9105. "buyorsell",
  9106. "goodscode",
  9107. "goodsgroupid",
  9108. "goodsgroupname",
  9109. "goodsname",
  9110. "tradeid"
  9111. ],
  9112. "properties": {
  9113. "accountid": {
  9114. "description": "账号ID",
  9115. "type": "integer"
  9116. },
  9117. "agreeunit": {
  9118. "description": "合约单位",
  9119. "type": "number"
  9120. },
  9121. "asapplyid": {
  9122. "description": "策略申请ID",
  9123. "type": "integer"
  9124. },
  9125. "asname": {
  9126. "description": "策略名称",
  9127. "type": "string"
  9128. },
  9129. "asno": {
  9130. "description": "策略编号",
  9131. "type": "string"
  9132. },
  9133. "buyorsell": {
  9134. "description": "方向 - 0:买 1:卖",
  9135. "type": "integer"
  9136. },
  9137. "channelbuildtype": {
  9138. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  9139. "type": "integer"
  9140. },
  9141. "closetype": {
  9142. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  9143. "type": "integer"
  9144. },
  9145. "decimalplace": {
  9146. "description": "报价小数位",
  9147. "type": "integer"
  9148. },
  9149. "detailtype": {
  9150. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  9151. "type": "integer"
  9152. },
  9153. "exexchangecode": {
  9154. "description": "外部交易所代码",
  9155. "type": "string"
  9156. },
  9157. "exexchangename": {
  9158. "description": "外部交易所名称",
  9159. "type": "string"
  9160. },
  9161. "goodscode": {
  9162. "description": "商品代码(合约)",
  9163. "type": "string"
  9164. },
  9165. "goodsgroupid": {
  9166. "description": "商品组ID(品种ID)",
  9167. "type": "integer"
  9168. },
  9169. "goodsgroupname": {
  9170. "description": "商品组名称(品种)",
  9171. "type": "string"
  9172. },
  9173. "goodsid": {
  9174. "description": "商品ID",
  9175. "type": "integer"
  9176. },
  9177. "goodsname": {
  9178. "description": "商品名称(合约)",
  9179. "type": "string"
  9180. },
  9181. "goodunit": {
  9182. "description": "报价单位",
  9183. "type": "string"
  9184. },
  9185. "marketid": {
  9186. "description": "市场ID",
  9187. "type": "integer"
  9188. },
  9189. "orderid": {
  9190. "description": "委托单号",
  9191. "type": "string"
  9192. },
  9193. "outgoodscode": {
  9194. "description": "商品代码(外部)",
  9195. "type": "string"
  9196. },
  9197. "relatedouttradeid": {
  9198. "description": "关联外部成交单ID",
  9199. "type": "string"
  9200. },
  9201. "remark": {
  9202. "description": "备注",
  9203. "type": "string"
  9204. },
  9205. "spotcontractid": {
  9206. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  9207. "type": "integer"
  9208. },
  9209. "spotcontractno": {
  9210. "description": "现货合同编号",
  9211. "type": "string"
  9212. },
  9213. "tradeid": {
  9214. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9215. "type": "string"
  9216. },
  9217. "tradeprice": {
  9218. "description": "成交价格",
  9219. "type": "number"
  9220. },
  9221. "tradeqty": {
  9222. "description": "成交数量",
  9223. "type": "integer"
  9224. },
  9225. "tradetime": {
  9226. "description": "成交时间",
  9227. "type": "string"
  9228. },
  9229. "updatetime": {
  9230. "description": "更新时间",
  9231. "type": "string"
  9232. }
  9233. }
  9234. },
  9235. "erms2.QuerySpotContractRsp": {
  9236. "type": "object",
  9237. "required": [
  9238. "spotcontractid"
  9239. ],
  9240. "properties": {
  9241. "accountid": {
  9242. "description": "资金账户ID",
  9243. "type": "integer"
  9244. },
  9245. "areauserid": {
  9246. "description": "所属机构",
  9247. "type": "integer"
  9248. },
  9249. "closedate": {
  9250. "description": "终止日期",
  9251. "type": "string"
  9252. },
  9253. "closeremark": {
  9254. "description": "结束备注",
  9255. "type": "string"
  9256. },
  9257. "closetradedate": {
  9258. "description": "完结交易日(yyyyMMdd)",
  9259. "type": "string"
  9260. },
  9261. "closetype": {
  9262. "description": "终止类型 - 1:违约 2:提前终止",
  9263. "type": "integer"
  9264. },
  9265. "contractamount": {
  9266. "description": "合同金额",
  9267. "type": "number"
  9268. },
  9269. "contractattachment": {
  9270. "description": "合同附件",
  9271. "type": "string"
  9272. },
  9273. "contractno": {
  9274. "description": "现货合同编号",
  9275. "type": "string"
  9276. },
  9277. "contractqty": {
  9278. "description": "合同数量(数值) (用于计算)",
  9279. "type": "number"
  9280. },
  9281. "contractqtychar": {
  9282. "description": "合同数量\\已订价数量 (用于显示)",
  9283. "type": "string"
  9284. },
  9285. "contractstatus": {
  9286. "description": "合同状态 - 0:未结束 1:已结束",
  9287. "type": "integer"
  9288. },
  9289. "contracttype": {
  9290. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  9291. "type": "integer"
  9292. },
  9293. "customeraccountid": {
  9294. "description": "客户资金账户ID",
  9295. "type": "integer"
  9296. },
  9297. "customeruserid": {
  9298. "description": "客户ID",
  9299. "type": "integer"
  9300. },
  9301. "deliverygoodsdesc": {
  9302. "description": "品种说明",
  9303. "type": "string"
  9304. },
  9305. "deliverygoodsid": {
  9306. "description": "现货品种ID",
  9307. "type": "integer"
  9308. },
  9309. "handlestatus": {
  9310. "description": "处理状态",
  9311. "type": "integer"
  9312. },
  9313. "invoiceatt": {
  9314. "description": "发票附件",
  9315. "type": "string"
  9316. },
  9317. "invoicedatetime": {
  9318. "description": "开收票更新时间",
  9319. "type": "string"
  9320. },
  9321. "invoiceopentime": {
  9322. "description": "开票时间",
  9323. "type": "string"
  9324. },
  9325. "invoiceremark": {
  9326. "description": "发票备注",
  9327. "type": "string"
  9328. },
  9329. "invoicestatus": {
  9330. "description": "开收票状态 - 0:未开票 1:已开票",
  9331. "type": "integer"
  9332. },
  9333. "lastdate": {
  9334. "description": "交货时间",
  9335. "type": "string"
  9336. },
  9337. "marketid": {
  9338. "description": "市场ID",
  9339. "type": "integer"
  9340. },
  9341. "paydatetime": {
  9342. "description": "收付款更新时间",
  9343. "type": "string"
  9344. },
  9345. "payremark": {
  9346. "description": "收付款备注",
  9347. "type": "string"
  9348. },
  9349. "paystatus": {
  9350. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  9351. "type": "integer"
  9352. },
  9353. "positionqty": {
  9354. "description": "头寸数量 - 合同数量去小数部分",
  9355. "type": "integer"
  9356. },
  9357. "producttype": {
  9358. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9359. "type": "integer"
  9360. },
  9361. "relatedqty": {
  9362. "description": "已关联数量",
  9363. "type": "number"
  9364. },
  9365. "relatedstatus": {
  9366. "description": "关联完结状态 - 0:未结束 1:已结束",
  9367. "type": "integer"
  9368. },
  9369. "remark": {
  9370. "description": "备注",
  9371. "type": "string"
  9372. },
  9373. "signdate": {
  9374. "description": "签订日期",
  9375. "type": "string"
  9376. },
  9377. "spotcontractid": {
  9378. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  9379. "type": "string"
  9380. },
  9381. "spotdatetime": {
  9382. "description": "收发货更新时间",
  9383. "type": "string"
  9384. },
  9385. "spotprice": {
  9386. "description": "价格",
  9387. "type": "number"
  9388. },
  9389. "spotremark": {
  9390. "description": "收发货备注",
  9391. "type": "string"
  9392. },
  9393. "spotstatus": {
  9394. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  9395. "type": "integer"
  9396. },
  9397. "tradedate": {
  9398. "description": "交易日(yyyyMMdd)",
  9399. "type": "string"
  9400. },
  9401. "userid": {
  9402. "description": "业务员用户ID",
  9403. "type": "integer"
  9404. },
  9405. "warehouseid": {
  9406. "description": "仓库ID",
  9407. "type": "integer"
  9408. },
  9409. "wrfactortypeid": {
  9410. "description": "仓单要素类型ID",
  9411. "type": "integer"
  9412. },
  9413. "wrstandardid": {
  9414. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  9415. "type": "integer"
  9416. }
  9417. }
  9418. },
  9419. "erms3.AddErms2ASApplyReq": {
  9420. "type": "object",
  9421. "required": [
  9422. "asapplyid"
  9423. ],
  9424. "properties": {
  9425. "applybasis": {
  9426. "description": "申请基差",
  9427. "type": "number"
  9428. },
  9429. "applystatus": {
  9430. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9431. "type": "integer"
  9432. },
  9433. "asapplyid": {
  9434. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  9435. "type": "integer"
  9436. },
  9437. "asname": {
  9438. "description": "策略名称",
  9439. "type": "string"
  9440. },
  9441. "asno": {
  9442. "description": "策略编号",
  9443. "type": "string"
  9444. },
  9445. "auditid": {
  9446. "description": "审核人",
  9447. "type": "integer"
  9448. },
  9449. "auditremark": {
  9450. "description": "审核备注",
  9451. "type": "string"
  9452. },
  9453. "audittime": {
  9454. "description": "审核时间",
  9455. "type": "string"
  9456. },
  9457. "biztype": {
  9458. "description": "业务类型 - 1:正向套利 2:反向套利",
  9459. "type": "integer"
  9460. },
  9461. "createtime": {
  9462. "description": "创建时间",
  9463. "type": "string"
  9464. },
  9465. "creatorid": {
  9466. "description": "创建人",
  9467. "type": "integer"
  9468. },
  9469. "deliverygoodsid": {
  9470. "description": "现货品种ID",
  9471. "type": "integer"
  9472. },
  9473. "futurequote": {
  9474. "description": "期货额度",
  9475. "type": "number"
  9476. },
  9477. "goodsgroupid": {
  9478. "description": "期货品种ID",
  9479. "type": "integer"
  9480. },
  9481. "marketid": {
  9482. "description": "市场ID",
  9483. "type": "integer"
  9484. },
  9485. "remark": {
  9486. "description": "备注",
  9487. "type": "string"
  9488. },
  9489. "spotquota": {
  9490. "description": "现货额度",
  9491. "type": "number"
  9492. },
  9493. "tradedate": {
  9494. "description": "交易日(yyyyMMdd)",
  9495. "type": "string"
  9496. },
  9497. "userid": {
  9498. "description": "所属机构",
  9499. "type": "integer"
  9500. }
  9501. }
  9502. },
  9503. "erms3.AddErms2SpotTradeApplyReq": {
  9504. "type": "object",
  9505. "required": [
  9506. "spottradeid"
  9507. ],
  9508. "properties": {
  9509. "applyjsondetail": {
  9510. "description": "申请明细(JSON)",
  9511. "type": "string"
  9512. },
  9513. "applystatus": {
  9514. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9515. "type": "integer"
  9516. },
  9517. "areauserid": {
  9518. "description": "所属机构",
  9519. "type": "integer"
  9520. },
  9521. "auditid": {
  9522. "description": "审核人",
  9523. "type": "integer"
  9524. },
  9525. "auditremark": {
  9526. "description": "审核备注",
  9527. "type": "string"
  9528. },
  9529. "audittime": {
  9530. "description": "审核时间",
  9531. "type": "string"
  9532. },
  9533. "createtime": {
  9534. "description": "创建时间",
  9535. "type": "string"
  9536. },
  9537. "creatorid": {
  9538. "description": "创建人",
  9539. "type": "integer"
  9540. },
  9541. "deliverygoodsid": {
  9542. "description": "现货品种ID",
  9543. "type": "integer"
  9544. },
  9545. "futureaccountid": {
  9546. "description": "期货资金账户",
  9547. "type": "integer"
  9548. },
  9549. "goodsgroupid": {
  9550. "description": "期货品种",
  9551. "type": "integer"
  9552. },
  9553. "marketid": {
  9554. "description": "市场ID",
  9555. "type": "integer"
  9556. },
  9557. "remark": {
  9558. "description": "备注",
  9559. "type": "string"
  9560. },
  9561. "spotaccountid": {
  9562. "description": "现货资金账户",
  9563. "type": "integer"
  9564. },
  9565. "spottradeid": {
  9566. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  9567. "type": "integer"
  9568. },
  9569. "spottradename": {
  9570. "description": "业务名称",
  9571. "type": "string"
  9572. },
  9573. "spottradeno": {
  9574. "description": "业务编号",
  9575. "type": "string"
  9576. },
  9577. "tradedate": {
  9578. "description": "交易日(yyyyMMdd)",
  9579. "type": "string"
  9580. },
  9581. "wrstandardid": {
  9582. "description": "仓单标准ID",
  9583. "type": "integer"
  9584. }
  9585. }
  9586. },
  9587. "erms3.AddSpotContractApplyReq": {
  9588. "type": "object",
  9589. "required": [
  9590. "accountid",
  9591. "areauserid",
  9592. "contractno",
  9593. "contracttype",
  9594. "customeraccountid",
  9595. "customeruserid",
  9596. "details",
  9597. "orimargin",
  9598. "signdate"
  9599. ],
  9600. "properties": {
  9601. "accountid": {
  9602. "description": "资金账户ID",
  9603. "type": "integer"
  9604. },
  9605. "areauserid": {
  9606. "description": "所属机构",
  9607. "type": "integer"
  9608. },
  9609. "contractattachment": {
  9610. "description": "合同附件",
  9611. "type": "string"
  9612. },
  9613. "contractno": {
  9614. "description": "现货合同编号",
  9615. "type": "string"
  9616. },
  9617. "contracttype": {
  9618. "description": "现货合同类型 - 1:采购 -1:销售",
  9619. "type": "integer"
  9620. },
  9621. "creatorid": {
  9622. "description": "申请人",
  9623. "type": "integer"
  9624. },
  9625. "customeraccountid": {
  9626. "description": "客户资金账户ID",
  9627. "type": "integer"
  9628. },
  9629. "customeruserid": {
  9630. "description": "客户ID",
  9631. "type": "integer"
  9632. },
  9633. "details": {
  9634. "description": "明细",
  9635. "type": "array",
  9636. "items": {
  9637. "$ref": "#/definitions/erms3.SoptContractDetail"
  9638. }
  9639. },
  9640. "orimargin": {
  9641. "description": "初始保证金",
  9642. "type": "number"
  9643. },
  9644. "remark": {
  9645. "description": "备注",
  9646. "type": "string"
  9647. },
  9648. "signdate": {
  9649. "description": "签订日期",
  9650. "type": "string"
  9651. }
  9652. }
  9653. },
  9654. "erms3.AddSpotContractApplyRsp": {
  9655. "type": "object",
  9656. "required": [
  9657. "contractno"
  9658. ],
  9659. "properties": {
  9660. "contractno": {
  9661. "description": "现货合同编号",
  9662. "type": "string"
  9663. },
  9664. "spotcontractid": {
  9665. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  9666. "type": "integer"
  9667. }
  9668. }
  9669. },
  9670. "erms3.AddUserInfoApplyReq": {
  9671. "type": "object",
  9672. "required": [
  9673. "userid"
  9674. ],
  9675. "properties": {
  9676. "accountid": {
  9677. "description": "交易系统帐号Id (加密存储)",
  9678. "type": "integer"
  9679. },
  9680. "areacode": {
  9681. "description": "机构代码",
  9682. "type": "string"
  9683. },
  9684. "areaid": {
  9685. "description": "机构Id",
  9686. "type": "integer"
  9687. },
  9688. "attachment1": {
  9689. "description": "附件1",
  9690. "type": "string"
  9691. },
  9692. "attachment2": {
  9693. "description": "附件2",
  9694. "type": "string"
  9695. },
  9696. "attachment3": {
  9697. "description": "附件3",
  9698. "type": "string"
  9699. },
  9700. "attachment4": {
  9701. "description": "附件4",
  9702. "type": "string"
  9703. },
  9704. "attachment5": {
  9705. "description": "附件5",
  9706. "type": "string"
  9707. },
  9708. "auditedby": {
  9709. "description": "审核人",
  9710. "type": "string"
  9711. },
  9712. "auditime": {
  9713. "description": "审核时间",
  9714. "type": "string"
  9715. },
  9716. "bankaccount": {
  9717. "description": "银行帐号 (加密存储)",
  9718. "type": "string"
  9719. },
  9720. "bankaccountname": {
  9721. "description": "收款人名称",
  9722. "type": "string"
  9723. },
  9724. "bankcardbackphotourl": {
  9725. "description": "银行卡背面照地址",
  9726. "type": "string"
  9727. },
  9728. "bankcardfrontphotourl": {
  9729. "description": "银行卡正面照地址",
  9730. "type": "string"
  9731. },
  9732. "bankid": {
  9733. "description": "银行编码",
  9734. "type": "string"
  9735. },
  9736. "bankname": {
  9737. "description": "银行名称",
  9738. "type": "string"
  9739. },
  9740. "bankpictureurl": {
  9741. "description": "银行卡正面地址",
  9742. "type": "string"
  9743. },
  9744. "biznature": {
  9745. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9746. "type": "integer"
  9747. },
  9748. "bizscope": {
  9749. "description": "企业经营范围(企业)",
  9750. "type": "string"
  9751. },
  9752. "biztype": {
  9753. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  9754. "type": "integer"
  9755. },
  9756. "brokerid": {
  9757. "description": "经纪人ID(加密存储)",
  9758. "type": "string"
  9759. },
  9760. "cardaddress": {
  9761. "description": "证件地址 (加密存储)",
  9762. "type": "string"
  9763. },
  9764. "cardbackphotourl": {
  9765. "description": "背面证件照地址",
  9766. "type": "string"
  9767. },
  9768. "cardfrontphotourl": {
  9769. "description": "正面证件照地址",
  9770. "type": "string"
  9771. },
  9772. "cardnum": {
  9773. "description": "证件号码 (加密存储)",
  9774. "type": "string"
  9775. },
  9776. "cardtype": {
  9777. "description": "证件类型",
  9778. "type": "integer"
  9779. },
  9780. "cityid": {
  9781. "description": "市",
  9782. "type": "integer"
  9783. },
  9784. "company": {
  9785. "description": "公司(个人)",
  9786. "type": "string"
  9787. },
  9788. "contactcardbackphotourl": {
  9789. "description": "联系人证件背面图片地址",
  9790. "type": "string"
  9791. },
  9792. "contactcardfrontphotourl": {
  9793. "description": "联系人证件正面图片地址",
  9794. "type": "string"
  9795. },
  9796. "contactname": {
  9797. "description": "联系人",
  9798. "type": "string"
  9799. },
  9800. "countryid": {
  9801. "description": "国家",
  9802. "type": "integer"
  9803. },
  9804. "createtime": {
  9805. "description": "开户申请时间",
  9806. "type": "string"
  9807. },
  9808. "cusbankid": {
  9809. "description": "签约类型",
  9810. "type": "string"
  9811. },
  9812. "cusbankname": {
  9813. "description": "签约类型名称",
  9814. "type": "string"
  9815. },
  9816. "customername": {
  9817. "description": "客户名称(企业名称)",
  9818. "type": "string"
  9819. },
  9820. "districtid": {
  9821. "description": "地区",
  9822. "type": "integer"
  9823. },
  9824. "email": {
  9825. "description": "Email地址(加密存储)",
  9826. "type": "string"
  9827. },
  9828. "halfbodyphotourl": {
  9829. "description": "半身照地址",
  9830. "type": "string"
  9831. },
  9832. "headurl": {
  9833. "description": "头像地址",
  9834. "type": "string"
  9835. },
  9836. "ipaddress": {
  9837. "description": "IP地址",
  9838. "type": "string"
  9839. },
  9840. "isvalidate": {
  9841. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  9842. "type": "string"
  9843. },
  9844. "legalcardbackphotourl": {
  9845. "description": "法人身份证背面照地址",
  9846. "type": "string"
  9847. },
  9848. "legalcardfrontphotourl": {
  9849. "description": "法人身份证正面照地址",
  9850. "type": "string"
  9851. },
  9852. "legalpersonname": {
  9853. "description": "法人姓名(企业)",
  9854. "type": "string"
  9855. },
  9856. "logincode": {
  9857. "description": "登录帐号 (加密存储)",
  9858. "type": "string"
  9859. },
  9860. "memberareaid": {
  9861. "description": "所属会员ID",
  9862. "type": "integer"
  9863. },
  9864. "mobile2": {
  9865. "description": "手机号码[明文-尚志]",
  9866. "type": "string"
  9867. },
  9868. "mobilephone": {
  9869. "description": "手机号码 (加密存储)",
  9870. "type": "string"
  9871. },
  9872. "modifiedby": {
  9873. "description": "修改人帐号",
  9874. "type": "integer"
  9875. },
  9876. "modifiedtime": {
  9877. "description": "修改时间",
  9878. "type": "string"
  9879. },
  9880. "nickname": {
  9881. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  9882. "type": "string"
  9883. },
  9884. "openmode": {
  9885. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  9886. "type": "integer"
  9887. },
  9888. "otherurl": {
  9889. "description": "其它图片地址[使用分号分隔]",
  9890. "type": "string"
  9891. },
  9892. "postalcode": {
  9893. "description": "邮政编码",
  9894. "type": "string"
  9895. },
  9896. "provinceid": {
  9897. "description": "省",
  9898. "type": "integer"
  9899. },
  9900. "proxystatementurl": {
  9901. "description": "授权委托书",
  9902. "type": "string"
  9903. },
  9904. "qq": {
  9905. "description": "QQ(加密存储",
  9906. "type": "string"
  9907. },
  9908. "referral": {
  9909. "description": "推荐人编码",
  9910. "type": "string"
  9911. },
  9912. "remark": {
  9913. "description": "备注",
  9914. "type": "string"
  9915. },
  9916. "removebeforestatus": {
  9917. "description": "REMOVEBEFORESTATUS",
  9918. "type": "integer"
  9919. },
  9920. "sex": {
  9921. "description": "性别 - 0:女 1:男",
  9922. "type": "integer"
  9923. },
  9924. "signedstatus": {
  9925. "description": "账户一号签签约状态",
  9926. "type": "integer"
  9927. },
  9928. "signpdfurl": {
  9929. "description": "签约pdf文件",
  9930. "type": "string"
  9931. },
  9932. "subbranch": {
  9933. "description": "开户支行",
  9934. "type": "string"
  9935. },
  9936. "telphone": {
  9937. "description": "联系电话(加密存储)",
  9938. "type": "string"
  9939. },
  9940. "userid": {
  9941. "description": "用户ID(自增ID)",
  9942. "type": "integer"
  9943. },
  9944. "userinfotype": {
  9945. "description": "用户信息类型 - 1:个人 2:企业",
  9946. "type": "integer"
  9947. },
  9948. "username": {
  9949. "description": "用户姓名",
  9950. "type": "string"
  9951. },
  9952. "userstate": {
  9953. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  9954. "type": "integer"
  9955. },
  9956. "usertype": {
  9957. "description": "用户类型 - 1:投资者 2:机构",
  9958. "type": "integer"
  9959. },
  9960. "videourl": {
  9961. "description": "视频地址",
  9962. "type": "string"
  9963. },
  9964. "wechat": {
  9965. "description": "微信号 (加密存储)",
  9966. "type": "string"
  9967. }
  9968. }
  9969. },
  9970. "erms3.CustomerInfo": {
  9971. "type": "object",
  9972. "required": [
  9973. "userid"
  9974. ],
  9975. "properties": {
  9976. "accountids": {
  9977. "description": "资金账户ID列表",
  9978. "type": "array",
  9979. "items": {
  9980. "type": "integer"
  9981. }
  9982. },
  9983. "customername": {
  9984. "description": "名称(企业名称)",
  9985. "type": "string"
  9986. },
  9987. "mobile": {
  9988. "description": "手机号码",
  9989. "type": "string"
  9990. },
  9991. "userid": {
  9992. "description": "用户ID",
  9993. "type": "integer"
  9994. }
  9995. }
  9996. },
  9997. "erms3.ModifyUserInfoApplyReq": {
  9998. "type": "object",
  9999. "required": [
  10000. "userid"
  10001. ],
  10002. "properties": {
  10003. "accountid": {
  10004. "description": "交易系统帐号Id (加密存储)",
  10005. "type": "integer"
  10006. },
  10007. "areacode": {
  10008. "description": "机构代码",
  10009. "type": "string"
  10010. },
  10011. "areaid": {
  10012. "description": "机构Id",
  10013. "type": "integer"
  10014. },
  10015. "attachment1": {
  10016. "description": "附件1",
  10017. "type": "string"
  10018. },
  10019. "attachment2": {
  10020. "description": "附件2",
  10021. "type": "string"
  10022. },
  10023. "attachment3": {
  10024. "description": "附件3",
  10025. "type": "string"
  10026. },
  10027. "attachment4": {
  10028. "description": "附件4",
  10029. "type": "string"
  10030. },
  10031. "attachment5": {
  10032. "description": "附件5",
  10033. "type": "string"
  10034. },
  10035. "auditedby": {
  10036. "description": "审核人",
  10037. "type": "string"
  10038. },
  10039. "auditime": {
  10040. "description": "审核时间",
  10041. "type": "string"
  10042. },
  10043. "bankaccount": {
  10044. "description": "银行帐号 (加密存储)",
  10045. "type": "string"
  10046. },
  10047. "bankaccountname": {
  10048. "description": "收款人名称",
  10049. "type": "string"
  10050. },
  10051. "bankcardbackphotourl": {
  10052. "description": "银行卡背面照地址",
  10053. "type": "string"
  10054. },
  10055. "bankcardfrontphotourl": {
  10056. "description": "银行卡正面照地址",
  10057. "type": "string"
  10058. },
  10059. "bankid": {
  10060. "description": "银行编码",
  10061. "type": "string"
  10062. },
  10063. "bankname": {
  10064. "description": "银行名称",
  10065. "type": "string"
  10066. },
  10067. "bankpictureurl": {
  10068. "description": "银行卡正面地址",
  10069. "type": "string"
  10070. },
  10071. "biznature": {
  10072. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10073. "type": "integer"
  10074. },
  10075. "bizscope": {
  10076. "description": "企业经营范围(企业)",
  10077. "type": "string"
  10078. },
  10079. "biztype": {
  10080. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10081. "type": "integer"
  10082. },
  10083. "brokerid": {
  10084. "description": "经纪人ID(加密存储)",
  10085. "type": "string"
  10086. },
  10087. "cardaddress": {
  10088. "description": "证件地址 (加密存储)",
  10089. "type": "string"
  10090. },
  10091. "cardbackphotourl": {
  10092. "description": "背面证件照地址",
  10093. "type": "string"
  10094. },
  10095. "cardfrontphotourl": {
  10096. "description": "正面证件照地址",
  10097. "type": "string"
  10098. },
  10099. "cardnum": {
  10100. "description": "证件号码 (加密存储)",
  10101. "type": "string"
  10102. },
  10103. "cardtype": {
  10104. "description": "证件类型",
  10105. "type": "integer"
  10106. },
  10107. "cityid": {
  10108. "description": "市",
  10109. "type": "integer"
  10110. },
  10111. "company": {
  10112. "description": "公司(个人)",
  10113. "type": "string"
  10114. },
  10115. "contactcardbackphotourl": {
  10116. "description": "联系人证件背面图片地址",
  10117. "type": "string"
  10118. },
  10119. "contactcardfrontphotourl": {
  10120. "description": "联系人证件正面图片地址",
  10121. "type": "string"
  10122. },
  10123. "contactname": {
  10124. "description": "联系人",
  10125. "type": "string"
  10126. },
  10127. "countryid": {
  10128. "description": "国家",
  10129. "type": "integer"
  10130. },
  10131. "createtime": {
  10132. "description": "开户申请时间",
  10133. "type": "string"
  10134. },
  10135. "cusbankid": {
  10136. "description": "签约类型",
  10137. "type": "string"
  10138. },
  10139. "cusbankname": {
  10140. "description": "签约类型名称",
  10141. "type": "string"
  10142. },
  10143. "customername": {
  10144. "description": "客户名称(企业名称)",
  10145. "type": "string"
  10146. },
  10147. "districtid": {
  10148. "description": "地区",
  10149. "type": "integer"
  10150. },
  10151. "email": {
  10152. "description": "Email地址(加密存储)",
  10153. "type": "string"
  10154. },
  10155. "halfbodyphotourl": {
  10156. "description": "半身照地址",
  10157. "type": "string"
  10158. },
  10159. "headurl": {
  10160. "description": "头像地址",
  10161. "type": "string"
  10162. },
  10163. "ipaddress": {
  10164. "description": "IP地址",
  10165. "type": "string"
  10166. },
  10167. "isvalidate": {
  10168. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10169. "type": "string"
  10170. },
  10171. "legalcardbackphotourl": {
  10172. "description": "法人身份证背面照地址",
  10173. "type": "string"
  10174. },
  10175. "legalcardfrontphotourl": {
  10176. "description": "法人身份证正面照地址",
  10177. "type": "string"
  10178. },
  10179. "legalpersonname": {
  10180. "description": "法人姓名(企业)",
  10181. "type": "string"
  10182. },
  10183. "logincode": {
  10184. "description": "登录帐号 (加密存储)",
  10185. "type": "string"
  10186. },
  10187. "memberareaid": {
  10188. "description": "所属会员ID",
  10189. "type": "integer"
  10190. },
  10191. "mobile2": {
  10192. "description": "手机号码[明文-尚志]",
  10193. "type": "string"
  10194. },
  10195. "mobilephone": {
  10196. "description": "手机号码 (加密存储)",
  10197. "type": "string"
  10198. },
  10199. "modifiedby": {
  10200. "description": "修改人帐号",
  10201. "type": "integer"
  10202. },
  10203. "modifiedtime": {
  10204. "description": "修改时间",
  10205. "type": "string"
  10206. },
  10207. "nickname": {
  10208. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10209. "type": "string"
  10210. },
  10211. "openmode": {
  10212. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10213. "type": "integer"
  10214. },
  10215. "otherurl": {
  10216. "description": "其它图片地址[使用分号分隔]",
  10217. "type": "string"
  10218. },
  10219. "postalcode": {
  10220. "description": "邮政编码",
  10221. "type": "string"
  10222. },
  10223. "provinceid": {
  10224. "description": "省",
  10225. "type": "integer"
  10226. },
  10227. "proxystatementurl": {
  10228. "description": "授权委托书",
  10229. "type": "string"
  10230. },
  10231. "qq": {
  10232. "description": "QQ(加密存储",
  10233. "type": "string"
  10234. },
  10235. "referral": {
  10236. "description": "推荐人编码",
  10237. "type": "string"
  10238. },
  10239. "remark": {
  10240. "description": "备注",
  10241. "type": "string"
  10242. },
  10243. "removebeforestatus": {
  10244. "description": "REMOVEBEFORESTATUS",
  10245. "type": "integer"
  10246. },
  10247. "sex": {
  10248. "description": "性别 - 0:女 1:男",
  10249. "type": "integer"
  10250. },
  10251. "signedstatus": {
  10252. "description": "账户一号签签约状态",
  10253. "type": "integer"
  10254. },
  10255. "signpdfurl": {
  10256. "description": "签约pdf文件",
  10257. "type": "string"
  10258. },
  10259. "subbranch": {
  10260. "description": "开户支行",
  10261. "type": "string"
  10262. },
  10263. "telphone": {
  10264. "description": "联系电话(加密存储)",
  10265. "type": "string"
  10266. },
  10267. "userid": {
  10268. "description": "用户ID(自增ID)",
  10269. "type": "integer"
  10270. },
  10271. "userinfotype": {
  10272. "description": "用户信息类型 - 1:个人 2:企业",
  10273. "type": "integer"
  10274. },
  10275. "username": {
  10276. "description": "用户姓名",
  10277. "type": "string"
  10278. },
  10279. "userstate": {
  10280. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10281. "type": "integer"
  10282. },
  10283. "usertype": {
  10284. "description": "用户类型 - 1:投资者 2:机构",
  10285. "type": "integer"
  10286. },
  10287. "videourl": {
  10288. "description": "视频地址",
  10289. "type": "string"
  10290. },
  10291. "wechat": {
  10292. "description": "微信号 (加密存储)",
  10293. "type": "string"
  10294. }
  10295. }
  10296. },
  10297. "erms3.QryAuditContractRsp": {
  10298. "type": "object",
  10299. "required": [
  10300. "matchcustomername",
  10301. "spotcontractid"
  10302. ],
  10303. "properties": {
  10304. "accountid": {
  10305. "description": "交易员ID",
  10306. "type": "string"
  10307. },
  10308. "applystatus": {
  10309. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10310. "type": "integer"
  10311. },
  10312. "curdeliveryqty": {
  10313. "description": "未交收量",
  10314. "type": "integer"
  10315. },
  10316. "customername": {
  10317. "description": "采购方ID",
  10318. "type": "string"
  10319. },
  10320. "deliverygoodsid": {
  10321. "description": "品种ID",
  10322. "type": "string"
  10323. },
  10324. "deliveryqty": {
  10325. "description": "交收量",
  10326. "type": "integer"
  10327. },
  10328. "enumdicname": {
  10329. "description": "单位名称",
  10330. "type": "string"
  10331. },
  10332. "matchaccountid": {
  10333. "description": "业务员ID",
  10334. "type": "string"
  10335. },
  10336. "matchcustomername": {
  10337. "description": "销售方ID",
  10338. "type": "string"
  10339. },
  10340. "pricedqty": {
  10341. "description": "定价量",
  10342. "type": "number"
  10343. },
  10344. "signdate": {
  10345. "description": "签订日期",
  10346. "type": "string"
  10347. },
  10348. "spotcontractid": {
  10349. "description": "合同ID",
  10350. "type": "string"
  10351. },
  10352. "totaldqty": {
  10353. "description": "合同量",
  10354. "type": "number"
  10355. },
  10356. "unpricedqty": {
  10357. "description": "未定价量",
  10358. "type": "number"
  10359. },
  10360. "wrstandardname": {
  10361. "description": "商品名称",
  10362. "type": "string"
  10363. }
  10364. }
  10365. },
  10366. "erms3.QryPendingBizRsp": {
  10367. "$ref": "#/definitions/models.PendingAuditBizModel"
  10368. },
  10369. "erms3.QueryBusinessInfoRsp": {
  10370. "type": "object",
  10371. "properties": {
  10372. "businessid": {
  10373. "description": "业务ID.",
  10374. "type": "integer"
  10375. },
  10376. "buyamount": {
  10377. "description": "采购额.",
  10378. "type": "number"
  10379. },
  10380. "buyqty": {
  10381. "description": "采购量.",
  10382. "type": "string"
  10383. },
  10384. "futurepl": {
  10385. "description": "期货盈亏.",
  10386. "type": "number"
  10387. },
  10388. "futureqty": {
  10389. "description": "期货敞口.",
  10390. "type": "string"
  10391. },
  10392. "goodsid": {
  10393. "description": "商品名称/商品代码.",
  10394. "type": "string"
  10395. },
  10396. "hedgingqty": {
  10397. "description": "套保量.",
  10398. "type": "string"
  10399. },
  10400. "sellamount": {
  10401. "description": "销售额.",
  10402. "type": "number"
  10403. },
  10404. "sellqty": {
  10405. "description": "销售量.",
  10406. "type": "string"
  10407. },
  10408. "spotmarketvalue": {
  10409. "description": "现货市值.",
  10410. "type": "number"
  10411. },
  10412. "spotpl": {
  10413. "description": "浮动权益.",
  10414. "type": "number"
  10415. },
  10416. "spotqty": {
  10417. "description": "现货量.",
  10418. "type": "string"
  10419. },
  10420. "statu": {
  10421. "description": "状态,0-未结束 1-已结束.",
  10422. "type": "integer"
  10423. },
  10424. "totalpl": {
  10425. "description": "总盈亏.",
  10426. "type": "number"
  10427. },
  10428. "totalqty": {
  10429. "description": "总敞口.",
  10430. "type": "string"
  10431. },
  10432. "type": {
  10433. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  10434. "type": "integer"
  10435. }
  10436. }
  10437. },
  10438. "erms3.QuerySpotContractAppleFormRsp": {
  10439. "type": "object",
  10440. "properties": {
  10441. "goodses": {
  10442. "description": "合约列表",
  10443. "type": "array",
  10444. "items": {
  10445. "$ref": "#/definitions/models.GoodsIDAndName"
  10446. }
  10447. },
  10448. "oppositeusers": {
  10449. "description": "对方账号列表",
  10450. "type": "array",
  10451. "items": {
  10452. "$ref": "#/definitions/erms3.CustomerInfo"
  10453. }
  10454. },
  10455. "ouruser": {
  10456. "description": "我方账号",
  10457. "type": "object",
  10458. "$ref": "#/definitions/erms3.CustomerInfo"
  10459. },
  10460. "warehouseinfos": {
  10461. "description": "仓库信息列表",
  10462. "type": "array",
  10463. "items": {
  10464. "$ref": "#/definitions/models.Warehouseinfo"
  10465. }
  10466. },
  10467. "wrstandards": {
  10468. "description": "仓单标准列表",
  10469. "type": "array",
  10470. "items": {
  10471. "$ref": "#/definitions/models.WRStandardInfo"
  10472. }
  10473. }
  10474. }
  10475. },
  10476. "erms3.QuerySpotContractInfoRsp": {
  10477. "type": "object",
  10478. "properties": {
  10479. "accountid": {
  10480. "description": "表示交易员ID.",
  10481. "type": "integer"
  10482. },
  10483. "curdeliveryqty": {
  10484. "description": "表示未交收量.",
  10485. "type": "number"
  10486. },
  10487. "customername": {
  10488. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  10489. "type": "string"
  10490. },
  10491. "deliverygoodsid": {
  10492. "description": "表示品种ID.",
  10493. "type": "string"
  10494. },
  10495. "deliveryqty": {
  10496. "description": "表示交收量.",
  10497. "type": "number"
  10498. },
  10499. "matchaccountid": {
  10500. "description": "表示业务员ID.",
  10501. "type": "integer"
  10502. },
  10503. "matchcustomername": {
  10504. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  10505. "type": "string"
  10506. },
  10507. "priceqty": {
  10508. "description": "表示定价量.",
  10509. "type": "number"
  10510. },
  10511. "relatedbizid": {
  10512. "description": "表示业务ID.",
  10513. "type": "string"
  10514. },
  10515. "signdate": {
  10516. "description": "表示签订日期.",
  10517. "type": "string"
  10518. },
  10519. "spotcontractid": {
  10520. "description": "合同ID",
  10521. "type": "string"
  10522. },
  10523. "status": {
  10524. "description": "表示状态,0-履约中 1-已完成.",
  10525. "type": "integer"
  10526. },
  10527. "totalqty": {
  10528. "description": "表示合同量.",
  10529. "type": "number"
  10530. },
  10531. "unpricedqty": {
  10532. "description": "表示未定价量.",
  10533. "type": "number"
  10534. },
  10535. "wrstandardname": {
  10536. "description": "表示商品ID.",
  10537. "type": "string"
  10538. }
  10539. }
  10540. },
  10541. "erms3.QueryUserInfoAppliesRsp": {
  10542. "type": "object",
  10543. "required": [
  10544. "userid"
  10545. ],
  10546. "properties": {
  10547. "biznature": {
  10548. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10549. "type": "integer"
  10550. },
  10551. "contactname": {
  10552. "description": "联系人",
  10553. "type": "string"
  10554. },
  10555. "createtime": {
  10556. "description": "开户申请时间",
  10557. "type": "string"
  10558. },
  10559. "userid": {
  10560. "description": "用户ID(自增ID)",
  10561. "type": "integer"
  10562. },
  10563. "userinfotype": {
  10564. "description": "用户信息类型 - 1:个人 2:企业",
  10565. "type": "integer"
  10566. },
  10567. "username": {
  10568. "description": "用户姓名",
  10569. "type": "string"
  10570. },
  10571. "userstate": {
  10572. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10573. "type": "integer"
  10574. }
  10575. }
  10576. },
  10577. "erms3.QueryUserInfosRsp": {
  10578. "type": "object",
  10579. "required": [
  10580. "userid"
  10581. ],
  10582. "properties": {
  10583. "biznature": {
  10584. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10585. "type": "integer"
  10586. },
  10587. "contactname": {
  10588. "description": "联系人",
  10589. "type": "string"
  10590. },
  10591. "customername": {
  10592. "description": "客户名称(企业名称)",
  10593. "type": "string"
  10594. },
  10595. "userid": {
  10596. "description": "用户ID",
  10597. "type": "integer"
  10598. },
  10599. "userinfotype": {
  10600. "description": "用户信息类型 - 1:个人 2:企业",
  10601. "type": "integer"
  10602. },
  10603. "userstatus": {
  10604. "description": "用户状态 - 1:正常 2:注销",
  10605. "type": "integer"
  10606. }
  10607. }
  10608. },
  10609. "erms3.SoptContractDetail": {
  10610. "type": "object",
  10611. "required": [
  10612. "deliverygoodsid",
  10613. "producttype",
  10614. "unitname",
  10615. "warehouseid",
  10616. "wrstandardid",
  10617. "wrstandardname"
  10618. ],
  10619. "properties": {
  10620. "deliverygoodsdesc": {
  10621. "description": "现货品种说明",
  10622. "type": "string"
  10623. },
  10624. "deliverygoodsid": {
  10625. "description": "现货品种ID",
  10626. "type": "integer"
  10627. },
  10628. "deliverygoodsname": {
  10629. "description": "现货品种名称",
  10630. "type": "string"
  10631. },
  10632. "pointdesc": {
  10633. "description": "点价描述",
  10634. "type": "string"
  10635. },
  10636. "producttype": {
  10637. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  10638. "type": "integer"
  10639. },
  10640. "producttypename": {
  10641. "description": "产品类型名称",
  10642. "type": "string"
  10643. },
  10644. "spotPointOrderVoList": {
  10645. "description": "点价列表",
  10646. "type": "array",
  10647. "items": {
  10648. "$ref": "#/definitions/erms3.SpotPointOrder"
  10649. }
  10650. },
  10651. "spotPriceOrderList": {
  10652. "description": "定价列表",
  10653. "type": "array",
  10654. "items": {
  10655. "$ref": "#/definitions/erms3.SpotPriceOrder"
  10656. }
  10657. },
  10658. "unitname": {
  10659. "description": "单位名称",
  10660. "type": "string"
  10661. },
  10662. "warehouseid": {
  10663. "description": "仓库ID",
  10664. "type": "integer"
  10665. },
  10666. "warehousename": {
  10667. "description": "仓库名称",
  10668. "type": "string"
  10669. },
  10670. "wrstandardid": {
  10671. "description": "交易标的ID",
  10672. "type": "integer"
  10673. },
  10674. "wrstandardname": {
  10675. "description": "交易标的名称",
  10676. "type": "string"
  10677. }
  10678. }
  10679. },
  10680. "erms3.SpotPointOrder": {
  10681. "type": "object",
  10682. "required": [
  10683. "basic",
  10684. "goodsid",
  10685. "qty"
  10686. ],
  10687. "properties": {
  10688. "basic": {
  10689. "description": "基差",
  10690. "type": "number"
  10691. },
  10692. "deliveryenddate": {
  10693. "description": "交收结束日期",
  10694. "type": "string"
  10695. },
  10696. "deliverystartdate": {
  10697. "description": "交收开始日期",
  10698. "type": "string"
  10699. },
  10700. "enddate": {
  10701. "description": "点价结束日期",
  10702. "type": "string"
  10703. },
  10704. "goodsid": {
  10705. "description": "商品ID",
  10706. "type": "integer"
  10707. },
  10708. "goodsname": {
  10709. "description": "商品名称",
  10710. "type": "string"
  10711. },
  10712. "qty": {
  10713. "description": "数量",
  10714. "type": "number"
  10715. },
  10716. "startdate": {
  10717. "description": "点价开始日期",
  10718. "type": "string"
  10719. }
  10720. }
  10721. },
  10722. "erms3.SpotPriceOrder": {
  10723. "type": "object",
  10724. "required": [
  10725. "amount",
  10726. "price",
  10727. "qty"
  10728. ],
  10729. "properties": {
  10730. "amount": {
  10731. "description": "金额",
  10732. "type": "number"
  10733. },
  10734. "deliveryenddate": {
  10735. "description": "交收结束日期",
  10736. "type": "string"
  10737. },
  10738. "deliverystartdate": {
  10739. "description": "交收开始日期",
  10740. "type": "string"
  10741. },
  10742. "price": {
  10743. "description": "价格",
  10744. "type": "number"
  10745. },
  10746. "qty": {
  10747. "description": "数量",
  10748. "type": "number"
  10749. }
  10750. }
  10751. },
  10752. "hsby.GetHsbyMyCountRsp": {
  10753. "type": "object",
  10754. "properties": {
  10755. "myCouponCount": {
  10756. "description": "我的优惠卷数量",
  10757. "type": "integer"
  10758. },
  10759. "myOrderDetailListingCount": {
  10760. "description": "我的订单求购中数量",
  10761. "type": "integer"
  10762. },
  10763. "myOrderDetailPreCount": {
  10764. "description": "我的订单抢购中数量",
  10765. "type": "integer"
  10766. },
  10767. "myPackageUnReceiveCount": {
  10768. "description": "我的包裹待收货数量",
  10769. "type": "integer"
  10770. },
  10771. "myPackageUnSendCount": {
  10772. "description": "我的包裹待发货数量",
  10773. "type": "integer"
  10774. },
  10775. "myPayOrderCount": {
  10776. "description": "我的订单待付款数量",
  10777. "type": "integer"
  10778. }
  10779. }
  10780. },
  10781. "hsby.QueryProvincesAndCitiesRsp": {
  10782. "type": "object",
  10783. "properties": {
  10784. "cities": {
  10785. "description": "市",
  10786. "type": "array",
  10787. "items": {
  10788. "$ref": "#/definitions/models.Division"
  10789. }
  10790. },
  10791. "province": {
  10792. "description": "省",
  10793. "type": "object",
  10794. "$ref": "#/definitions/models.Division"
  10795. }
  10796. }
  10797. },
  10798. "models.AreaSpotModel": {
  10799. "type": "object",
  10800. "properties": {
  10801. "areauserid": {
  10802. "description": "所属机构",
  10803. "type": "integer"
  10804. },
  10805. "decreaseqty": {
  10806. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  10807. "type": "number"
  10808. },
  10809. "increaseqty": {
  10810. "description": "增加数量=销售计划数量+采购已定价数量",
  10811. "type": "number"
  10812. },
  10813. "oritoalspotqty": {
  10814. "description": "昨日数量",
  10815. "type": "number"
  10816. },
  10817. "totalspotqty": {
  10818. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  10819. "type": "number"
  10820. },
  10821. "updatetime": {
  10822. "description": "更新时间",
  10823. "type": "string"
  10824. },
  10825. "wrstandardcode": {
  10826. "description": "现货品种代码",
  10827. "type": "string"
  10828. },
  10829. "wrstandardid": {
  10830. "description": "现货商品ID",
  10831. "type": "integer"
  10832. },
  10833. "wrstandardname": {
  10834. "description": "现货品种",
  10835. "type": "string"
  10836. }
  10837. }
  10838. },
  10839. "models.Clientfixedadconfig": {
  10840. "type": "object",
  10841. "required": [
  10842. "adsort",
  10843. "adtype"
  10844. ],
  10845. "properties": {
  10846. "adsort": {
  10847. "description": "排序",
  10848. "type": "integer"
  10849. },
  10850. "adtype": {
  10851. "description": "广告位类型 - 1:新品抢购(HSBY)",
  10852. "type": "integer"
  10853. },
  10854. "areauserid": {
  10855. "description": "所属机构ID",
  10856. "type": "integer"
  10857. },
  10858. "createdate": {
  10859. "description": "创建时间",
  10860. "type": "string"
  10861. },
  10862. "creatorid": {
  10863. "description": "创建人",
  10864. "type": "integer"
  10865. },
  10866. "imagepath": {
  10867. "description": "图片",
  10868. "type": "string"
  10869. },
  10870. "isshow": {
  10871. "description": "是否展示 - 0:不展示 1:展示",
  10872. "type": "integer"
  10873. },
  10874. "modifierid": {
  10875. "description": "操作人",
  10876. "type": "integer"
  10877. },
  10878. "recsize": {
  10879. "description": "推荐尺寸",
  10880. "type": "string"
  10881. },
  10882. "title": {
  10883. "description": "标题",
  10884. "type": "string"
  10885. },
  10886. "updatedate": {
  10887. "description": "更新时间",
  10888. "type": "string"
  10889. },
  10890. "urlcontent": {
  10891. "description": "链接(地址或商品ID)",
  10892. "type": "string"
  10893. },
  10894. "urltype": {
  10895. "description": "链接类型 - 1:直接地址 2:商品ID",
  10896. "type": "integer"
  10897. }
  10898. }
  10899. },
  10900. "models.Division": {
  10901. "type": "object",
  10902. "required": [
  10903. "autoid",
  10904. "divisioncode"
  10905. ],
  10906. "properties": {
  10907. "autoid": {
  10908. "description": "自增ID",
  10909. "type": "integer"
  10910. },
  10911. "divisioncode": {
  10912. "description": "行政代码",
  10913. "type": "string"
  10914. },
  10915. "divisionlevel": {
  10916. "description": "行政级别",
  10917. "type": "string"
  10918. },
  10919. "divisionname": {
  10920. "description": "行政名称",
  10921. "type": "string"
  10922. },
  10923. "modifierid": {
  10924. "description": "修改人",
  10925. "type": "integer"
  10926. },
  10927. "modifytime": {
  10928. "description": "修改时间",
  10929. "type": "string"
  10930. },
  10931. "parentcode": {
  10932. "description": "上级行政代码",
  10933. "type": "string"
  10934. },
  10935. "pathname": {
  10936. "description": "路径名称",
  10937. "type": "string"
  10938. },
  10939. "postcode": {
  10940. "description": "邮政编码",
  10941. "type": "string"
  10942. },
  10943. "separablename": {
  10944. "description": "可拆分的全称",
  10945. "type": "string"
  10946. },
  10947. "shortcode": {
  10948. "description": "地区简码",
  10949. "type": "string"
  10950. }
  10951. }
  10952. },
  10953. "models.Enumdicitem": {
  10954. "type": "object",
  10955. "required": [
  10956. "autoid",
  10957. "enumdiccode",
  10958. "enumdicid",
  10959. "enumitemname"
  10960. ],
  10961. "properties": {
  10962. "autoid": {
  10963. "description": "自增ID",
  10964. "type": "integer"
  10965. },
  10966. "bankmappedvalue": {
  10967. "description": "银行服务对应值",
  10968. "type": "string"
  10969. },
  10970. "enumdiccode": {
  10971. "description": "所属枚举代码",
  10972. "type": "string"
  10973. },
  10974. "enumdicid": {
  10975. "description": "所属枚举ID",
  10976. "type": "integer"
  10977. },
  10978. "enumdicname": {
  10979. "description": "枚举项名称",
  10980. "type": "string"
  10981. },
  10982. "enumitemname": {
  10983. "description": "枚举项值",
  10984. "type": "integer"
  10985. },
  10986. "enumitemstatus": {
  10987. "description": "枚举项状态 - 1.启用 2.不启用",
  10988. "type": "integer"
  10989. },
  10990. "enumitemvalue": {
  10991. "description": "通用值 - [币种通用简写]",
  10992. "type": "string"
  10993. },
  10994. "param1": {
  10995. "description": "参数1[币种:币种小数位]",
  10996. "type": "string"
  10997. },
  10998. "param2": {
  10999. "description": "参数1[币种:币种显示单位]",
  11000. "type": "string"
  11001. },
  11002. "remark": {
  11003. "description": "备注",
  11004. "type": "string"
  11005. }
  11006. }
  11007. },
  11008. "models.ErmcpAreaSpotDetailModel": {
  11009. "type": "object",
  11010. "properties": {
  11011. "contracttype": {
  11012. "description": "合同类型 1-采购 -1-销售",
  11013. "type": "integer"
  11014. },
  11015. "createtime": {
  11016. "description": "创建时间",
  11017. "type": "string"
  11018. },
  11019. "enumdicname": {
  11020. "description": "现货商品单位名称",
  11021. "type": "string"
  11022. },
  11023. "logtype": {
  11024. "description": "记录类型 1-套保 2-现货合同",
  11025. "type": "integer"
  11026. },
  11027. "qty": {
  11028. "description": "数量",
  11029. "type": "number"
  11030. },
  11031. "recordname": {
  11032. "description": "类型名称",
  11033. "type": "string"
  11034. },
  11035. "relatedid": {
  11036. "description": "套保计划ID/现货合同ID",
  11037. "type": "string"
  11038. },
  11039. "relatedno": {
  11040. "description": "编号",
  11041. "type": "string"
  11042. },
  11043. "strtime": {
  11044. "description": "时间",
  11045. "type": "string"
  11046. },
  11047. "wrstandardcode": {
  11048. "description": "现货商品代码",
  11049. "type": "string"
  11050. },
  11051. "wrstandardname": {
  11052. "description": "现货商品名称",
  11053. "type": "string"
  11054. }
  11055. }
  11056. },
  11057. "models.ErmcpAreaStock": {
  11058. "type": "object",
  11059. "properties": {
  11060. "brandname": {
  11061. "description": "品牌名称",
  11062. "type": "string"
  11063. },
  11064. "curstock": {
  11065. "description": "期末库存量(今日量)",
  11066. "type": "number"
  11067. },
  11068. "deliverygoodsid": {
  11069. "description": "现货品种ID",
  11070. "type": "integer"
  11071. },
  11072. "enumdicname": {
  11073. "description": "单位名称",
  11074. "type": "string"
  11075. },
  11076. "modelname": {
  11077. "description": "型号名称",
  11078. "type": "string"
  11079. },
  11080. "oristock": {
  11081. "description": "期初库存量(昨日量)",
  11082. "type": "number"
  11083. },
  11084. "spotgoodsbrandid": {
  11085. "description": "现货品牌ID",
  11086. "type": "integer"
  11087. },
  11088. "spotgoodsmodelid": {
  11089. "description": "现货型号ID",
  11090. "type": "integer"
  11091. },
  11092. "todaybuyinqty": {
  11093. "description": "今日采购入库量",
  11094. "type": "number"
  11095. },
  11096. "todayproduceinqty": {
  11097. "description": "今日生产入库量",
  11098. "type": "number"
  11099. },
  11100. "todayproduceoutqty": {
  11101. "description": "今日生产出库量",
  11102. "type": "number"
  11103. },
  11104. "todayselloutqty": {
  11105. "description": "今日销售出库量",
  11106. "type": "number"
  11107. },
  11108. "unitid": {
  11109. "description": "单位id",
  11110. "type": "integer"
  11111. },
  11112. "updatetime": {
  11113. "description": "更新时间",
  11114. "type": "string"
  11115. },
  11116. "userid": {
  11117. "description": "机构ID",
  11118. "type": "integer"
  11119. },
  11120. "username": {
  11121. "description": "机构名称",
  11122. "type": "string"
  11123. },
  11124. "warehousecode": {
  11125. "description": "仓库代码",
  11126. "type": "string"
  11127. },
  11128. "warehouseinfoid": {
  11129. "description": "仓库ID",
  11130. "type": "string"
  11131. },
  11132. "warehousename": {
  11133. "description": "仓库名称",
  11134. "type": "string"
  11135. },
  11136. "warehousetype": {
  11137. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11138. "type": "integer"
  11139. },
  11140. "wrstandardcode": {
  11141. "description": "现货商品代码",
  11142. "type": "string"
  11143. },
  11144. "wrstandardid": {
  11145. "description": "现货商品ID",
  11146. "type": "string"
  11147. },
  11148. "wrstandardname": {
  11149. "description": "现货商品名称",
  11150. "type": "string"
  11151. }
  11152. }
  11153. },
  11154. "models.ErmcpAreaStockApply": {
  11155. "type": "object",
  11156. "properties": {
  11157. "applyid": {
  11158. "description": "申请人",
  11159. "type": "integer"
  11160. },
  11161. "applyname": {
  11162. "description": "申请人名称",
  11163. "type": "string"
  11164. },
  11165. "applyremark": {
  11166. "description": "申请备注",
  11167. "type": "string"
  11168. },
  11169. "applysrc": {
  11170. "description": "申请来源 - 1:管理端 2:终端",
  11171. "type": "integer"
  11172. },
  11173. "applystatus": {
  11174. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11175. "type": "integer"
  11176. },
  11177. "applytime": {
  11178. "description": "申请时间",
  11179. "type": "string"
  11180. },
  11181. "auditid": {
  11182. "description": "审核人",
  11183. "type": "integer"
  11184. },
  11185. "auditname": {
  11186. "description": "审核人名称",
  11187. "type": "string"
  11188. },
  11189. "auditremark": {
  11190. "description": "审核备注",
  11191. "type": "string"
  11192. },
  11193. "auditsrc": {
  11194. "description": "审核来源 - 1:管理端 2:终端",
  11195. "type": "integer"
  11196. },
  11197. "audittime": {
  11198. "description": "审核时间",
  11199. "type": "string"
  11200. },
  11201. "audittradedate": {
  11202. "description": "审核交易日(yyyyMMdd)",
  11203. "type": "string"
  11204. },
  11205. "brandname": {
  11206. "description": "品牌名称",
  11207. "type": "string"
  11208. },
  11209. "buyuserid": {
  11210. "description": "采购方userid",
  11211. "type": "integer"
  11212. },
  11213. "buyusername": {
  11214. "description": "采购方名称",
  11215. "type": "string"
  11216. },
  11217. "contractno": {
  11218. "description": "合同编号",
  11219. "type": "string"
  11220. },
  11221. "contractqty": {
  11222. "description": "合同量",
  11223. "type": "number"
  11224. },
  11225. "contracttype": {
  11226. "description": "现货合同类型 - 1:采购 -1:销售",
  11227. "type": "integer"
  11228. },
  11229. "deliverygoodsid": {
  11230. "description": "现货品种ID",
  11231. "type": "integer"
  11232. },
  11233. "enumdicname": {
  11234. "description": "现货商品单位名称",
  11235. "type": "string"
  11236. },
  11237. "inoutapplyid": {
  11238. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  11239. "type": "string"
  11240. },
  11241. "inouttype": {
  11242. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  11243. "type": "integer"
  11244. },
  11245. "modelname": {
  11246. "description": "型号名称",
  11247. "type": "string"
  11248. },
  11249. "pricetype": {
  11250. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11251. "type": "integer"
  11252. },
  11253. "qty": {
  11254. "description": "数量",
  11255. "type": "number"
  11256. },
  11257. "selluserid": {
  11258. "description": "销售方userid",
  11259. "type": "integer"
  11260. },
  11261. "sellusername": {
  11262. "description": "销售方名称",
  11263. "type": "string"
  11264. },
  11265. "spotcontractid": {
  11266. "description": "关联现货合同ID",
  11267. "type": "string"
  11268. },
  11269. "spotgoodsbrandid": {
  11270. "description": "现货品牌ID",
  11271. "type": "integer"
  11272. },
  11273. "spotgoodsmodelid": {
  11274. "description": "现货型号ID",
  11275. "type": "integer"
  11276. },
  11277. "unitid": {
  11278. "description": "单位id",
  11279. "type": "integer"
  11280. },
  11281. "userid": {
  11282. "description": "机构ID",
  11283. "type": "integer"
  11284. },
  11285. "warehousecode": {
  11286. "description": "仓库代码",
  11287. "type": "string"
  11288. },
  11289. "warehouseinfoid": {
  11290. "description": "现货仓库ID",
  11291. "type": "string"
  11292. },
  11293. "warehousename": {
  11294. "description": "仓库名称",
  11295. "type": "string"
  11296. },
  11297. "warehousetype": {
  11298. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11299. "type": "integer"
  11300. },
  11301. "wrstandardcode": {
  11302. "description": "现货商品代码",
  11303. "type": "string"
  11304. },
  11305. "wrstandardid": {
  11306. "description": "现货商品ID",
  11307. "type": "string"
  11308. },
  11309. "wrstandardname": {
  11310. "description": "现货商品名称",
  11311. "type": "string"
  11312. }
  11313. }
  11314. },
  11315. "models.ErmcpAreaStockApplySum": {
  11316. "type": "object",
  11317. "properties": {
  11318. "brandname": {
  11319. "description": "品牌名称",
  11320. "type": "string"
  11321. },
  11322. "inouttype": {
  11323. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  11324. "type": "integer"
  11325. },
  11326. "modelname": {
  11327. "description": "型号名称",
  11328. "type": "string"
  11329. },
  11330. "spotcontractid": {
  11331. "description": "关联现货合同ID",
  11332. "type": "string"
  11333. },
  11334. "spotgoodsbrandid": {
  11335. "description": "品牌id",
  11336. "type": "integer"
  11337. },
  11338. "spotgoodsmodelid": {
  11339. "description": "型号id",
  11340. "type": "integer"
  11341. },
  11342. "totalqty": {
  11343. "description": "总数量",
  11344. "type": "number"
  11345. }
  11346. }
  11347. },
  11348. "models.ErmcpAreaStockReport": {
  11349. "type": "object",
  11350. "properties": {
  11351. "brandname": {
  11352. "description": "品牌名称",
  11353. "type": "string"
  11354. },
  11355. "curstock": {
  11356. "description": "期末库存量",
  11357. "type": "number"
  11358. },
  11359. "deliverygoodsid": {
  11360. "description": "现货品种ID",
  11361. "type": "integer"
  11362. },
  11363. "enumdicname": {
  11364. "description": "单位名称",
  11365. "type": "string"
  11366. },
  11367. "modelname": {
  11368. "description": "型号名称",
  11369. "type": "string"
  11370. },
  11371. "oristock": {
  11372. "description": "期初库存量",
  11373. "type": "number"
  11374. },
  11375. "spotgoodsbrandid": {
  11376. "description": "现货品牌ID",
  11377. "type": "integer"
  11378. },
  11379. "spotgoodsmodelid": {
  11380. "description": "现货型号ID",
  11381. "type": "integer"
  11382. },
  11383. "todaybuyinqty": {
  11384. "description": "今日采购入库量",
  11385. "type": "number"
  11386. },
  11387. "todayproduceinqty": {
  11388. "description": "今日生产入库量",
  11389. "type": "number"
  11390. },
  11391. "todayproduceoutqty": {
  11392. "description": "今日生产出库量",
  11393. "type": "number"
  11394. },
  11395. "todayselloutqty": {
  11396. "description": "今日销售出库量",
  11397. "type": "number"
  11398. },
  11399. "unitid": {
  11400. "description": "单位id",
  11401. "type": "integer"
  11402. },
  11403. "updatetime": {
  11404. "description": "更新时间",
  11405. "type": "string"
  11406. },
  11407. "userid": {
  11408. "description": "机构ID",
  11409. "type": "integer"
  11410. },
  11411. "username": {
  11412. "description": "机构名称",
  11413. "type": "string"
  11414. },
  11415. "warehousecode": {
  11416. "description": "仓库代码",
  11417. "type": "string"
  11418. },
  11419. "warehouseinfoid": {
  11420. "description": "仓库ID",
  11421. "type": "string"
  11422. },
  11423. "warehousename": {
  11424. "description": "仓库名称",
  11425. "type": "string"
  11426. },
  11427. "warehousetype": {
  11428. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11429. "type": "integer"
  11430. },
  11431. "wrstandardcode": {
  11432. "description": "现货商品代码",
  11433. "type": "string"
  11434. },
  11435. "wrstandardid": {
  11436. "description": "现货商品ID",
  11437. "type": "string"
  11438. },
  11439. "wrstandardname": {
  11440. "description": "现货商品名称",
  11441. "type": "string"
  11442. }
  11443. }
  11444. },
  11445. "models.ErmcpAvalidGoodsGroupModel": {
  11446. "type": "object",
  11447. "properties": {
  11448. "goodsgroupid": {
  11449. "description": "期货品种id",
  11450. "type": "integer"
  11451. },
  11452. "goodsgroupname": {
  11453. "description": "期货品种名称",
  11454. "type": "string"
  11455. },
  11456. "goodunitid": {
  11457. "description": "品种单位id",
  11458. "type": "integer"
  11459. },
  11460. "goodunitname": {
  11461. "description": "品种单位名称",
  11462. "type": "string"
  11463. },
  11464. "outergroupcode": {
  11465. "description": "期货品种代码",
  11466. "type": "string"
  11467. }
  11468. }
  11469. },
  11470. "models.ErmcpExposureDetailModel": {
  11471. "type": "object",
  11472. "properties": {
  11473. "areauserid": {
  11474. "description": "机构ID",
  11475. "type": "integer"
  11476. },
  11477. "changeQty": {
  11478. "description": "套保变动量",
  11479. "type": "number"
  11480. },
  11481. "contracttype": {
  11482. "description": "现货合同类型 - 1:采购 -1:销售",
  11483. "type": "integer"
  11484. },
  11485. "convertfactor": {
  11486. "description": "标仓系数",
  11487. "type": "number"
  11488. },
  11489. "convertratio": {
  11490. "description": "套保系数",
  11491. "type": "number"
  11492. },
  11493. "createtime": {
  11494. "description": "时间",
  11495. "type": "string"
  11496. },
  11497. "enumdicname": {
  11498. "description": "现货商品单位名称",
  11499. "type": "string"
  11500. },
  11501. "logtype": {
  11502. "description": "类型 - 1:套保计划 2:现货合同",
  11503. "type": "integer"
  11504. },
  11505. "middlegoodsId": {
  11506. "description": "套保商品id",
  11507. "type": "integer"
  11508. },
  11509. "middlegoodscode": {
  11510. "description": "套保商品代码",
  11511. "type": "string"
  11512. },
  11513. "middlegoodsname": {
  11514. "description": "套保商品名称",
  11515. "type": "string"
  11516. },
  11517. "qty": {
  11518. "description": "数量",
  11519. "type": "number"
  11520. },
  11521. "relateNo": {
  11522. "description": "现货合同/套保计划编号",
  11523. "type": "string"
  11524. },
  11525. "wrstandardcode": {
  11526. "description": "现货商品代码",
  11527. "type": "string"
  11528. },
  11529. "wrstandardid": {
  11530. "description": "现货商品ID",
  11531. "type": "integer"
  11532. },
  11533. "wrstandardname": {
  11534. "description": "现货商品名称",
  11535. "type": "string"
  11536. }
  11537. }
  11538. },
  11539. "models.ErmcpExposurePostion": {
  11540. "type": "object",
  11541. "properties": {
  11542. "agreeunit": {
  11543. "description": "合约单位",
  11544. "type": "string"
  11545. },
  11546. "areauserid": {
  11547. "description": "所属机构id",
  11548. "type": "integer"
  11549. },
  11550. "convertratio": {
  11551. "description": "期货品种系数(折算系数)",
  11552. "type": "number"
  11553. },
  11554. "curqty": {
  11555. "description": "当前持仓",
  11556. "type": "integer"
  11557. },
  11558. "diffhedgeqty": {
  11559. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  11560. "type": "number"
  11561. },
  11562. "diffqty": {
  11563. "description": "持仓变动量=当前持仓-昨日持仓",
  11564. "type": "integer"
  11565. },
  11566. "goodscode": {
  11567. "description": "商品代码",
  11568. "type": "string"
  11569. },
  11570. "goodsid": {
  11571. "description": "商品id",
  11572. "type": "integer"
  11573. },
  11574. "goodsname": {
  11575. "description": "商品名称",
  11576. "type": "string"
  11577. },
  11578. "middlegoodsid": {
  11579. "description": "套保商品id",
  11580. "type": "integer"
  11581. },
  11582. "ydqty": {
  11583. "description": "昨日持仓",
  11584. "type": "integer"
  11585. }
  11586. }
  11587. },
  11588. "models.ErmcpGGConvertCfg": {
  11589. "type": "object",
  11590. "properties": {
  11591. "convertratio": {
  11592. "description": "折算系数",
  11593. "type": "number"
  11594. },
  11595. "destgoodsgroupid": {
  11596. "description": "目标品种ID",
  11597. "type": "integer"
  11598. },
  11599. "dstcode": {
  11600. "description": "目录品种代码",
  11601. "type": "string"
  11602. },
  11603. "dstexchangecode": {
  11604. "description": "目标期货交易所",
  11605. "type": "string"
  11606. },
  11607. "dstname": {
  11608. "description": "目标品种名称",
  11609. "type": "string"
  11610. },
  11611. "dstunitid": {
  11612. "description": "目标品种单位ID",
  11613. "type": "integer"
  11614. },
  11615. "dstunitidname": {
  11616. "description": "目标品种单位名称",
  11617. "type": "string"
  11618. },
  11619. "modifytime": {
  11620. "description": "修改时间",
  11621. "type": "string"
  11622. },
  11623. "srccode": {
  11624. "description": "源品种代码",
  11625. "type": "string"
  11626. },
  11627. "srcexchangecode": {
  11628. "description": "源期货交易所",
  11629. "type": "string"
  11630. },
  11631. "srcgoodsgroupid": {
  11632. "description": "源品种ID",
  11633. "type": "integer"
  11634. },
  11635. "srcname": {
  11636. "description": "源品种名称",
  11637. "type": "string"
  11638. },
  11639. "srcunitid": {
  11640. "description": "源品种单位ID",
  11641. "type": "integer"
  11642. },
  11643. "srcunitidname": {
  11644. "description": "源品种单位名称",
  11645. "type": "string"
  11646. }
  11647. }
  11648. },
  11649. "models.ErmcpGoodsBrand": {
  11650. "type": "object",
  11651. "properties": {
  11652. "areauserid": {
  11653. "description": "所属机构",
  11654. "type": "integer"
  11655. },
  11656. "brandid": {
  11657. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  11658. "type": "integer"
  11659. },
  11660. "brandname": {
  11661. "description": "品牌名称",
  11662. "type": "string"
  11663. },
  11664. "createtime": {
  11665. "description": "创建时间",
  11666. "type": "string"
  11667. },
  11668. "creatorid": {
  11669. "description": "创建人",
  11670. "type": "integer"
  11671. },
  11672. "creatorsrc": {
  11673. "description": "创建人来源 - 1:管理端 2:终端",
  11674. "type": "integer"
  11675. },
  11676. "deliverygoodsid": {
  11677. "description": "现货品种ID",
  11678. "type": "integer"
  11679. },
  11680. "isvalid": {
  11681. "description": "是否有效 - 0:无效 1:有效",
  11682. "type": "integer"
  11683. },
  11684. "updatetime": {
  11685. "description": "更新时间",
  11686. "type": "string"
  11687. },
  11688. "updatorid": {
  11689. "description": "更新人",
  11690. "type": "integer"
  11691. },
  11692. "updatorsrc": {
  11693. "description": "更新人来源 - 1:管理端 2:终端",
  11694. "type": "integer"
  11695. },
  11696. "wrstandardid": {
  11697. "description": "现货商品ID",
  11698. "type": "integer"
  11699. }
  11700. }
  11701. },
  11702. "models.ErmcpGoodsModel": {
  11703. "type": "object",
  11704. "properties": {
  11705. "areauserid": {
  11706. "description": "所属机构",
  11707. "type": "integer"
  11708. },
  11709. "createtime": {
  11710. "description": "创建时间",
  11711. "type": "string"
  11712. },
  11713. "creatorid": {
  11714. "description": "创建人",
  11715. "type": "integer"
  11716. },
  11717. "creatorsrc": {
  11718. "description": "创建人来源 - 1:管理端 2:终端",
  11719. "type": "integer"
  11720. },
  11721. "deliverygoodsid": {
  11722. "description": "现货品种ID",
  11723. "type": "integer"
  11724. },
  11725. "isvalid": {
  11726. "description": "是否有效 - 0:无效 1:有效",
  11727. "type": "integer"
  11728. },
  11729. "modelid": {
  11730. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  11731. "type": "integer"
  11732. },
  11733. "modelname": {
  11734. "description": "型号名称",
  11735. "type": "string"
  11736. },
  11737. "updatetime": {
  11738. "description": "更新时间",
  11739. "type": "string"
  11740. },
  11741. "updatorid": {
  11742. "description": "更新人",
  11743. "type": "integer"
  11744. },
  11745. "updatorsrc": {
  11746. "description": "更新人来源 - 1:管理端 2:终端",
  11747. "type": "integer"
  11748. },
  11749. "wrstandardid": {
  11750. "description": "现货商品ID",
  11751. "type": "integer"
  11752. }
  11753. }
  11754. },
  11755. "models.ErmcpHedgePlan": {
  11756. "type": "object",
  11757. "properties": {
  11758. "areauserid": {
  11759. "description": "用户ID",
  11760. "type": "integer"
  11761. },
  11762. "audittime": {
  11763. "description": "审核时间",
  11764. "type": "string"
  11765. },
  11766. "contracttype": {
  11767. "description": "计划类型 - 1:采购 -1:销售",
  11768. "type": "integer"
  11769. },
  11770. "convertfactor": {
  11771. "description": "标仓系数",
  11772. "type": "number"
  11773. },
  11774. "createtime": {
  11775. "description": "创建时间",
  11776. "type": "string"
  11777. },
  11778. "deliverygoodsid": {
  11779. "description": "现货品种ID",
  11780. "type": "integer"
  11781. },
  11782. "deliverygoodsname": {
  11783. "description": "现货品种名称",
  11784. "type": "string"
  11785. },
  11786. "enumdicname": {
  11787. "description": "单位名称",
  11788. "type": "string"
  11789. },
  11790. "hedgeplanid": {
  11791. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  11792. "type": "string"
  11793. },
  11794. "hedgeplanno": {
  11795. "description": "套保计划编号(名称)",
  11796. "type": "string"
  11797. },
  11798. "hedgeplanstatus": {
  11799. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11800. "type": "integer"
  11801. },
  11802. "planqty": {
  11803. "description": "计划数量",
  11804. "type": "number"
  11805. },
  11806. "plantime": {
  11807. "description": "计划时间",
  11808. "type": "string"
  11809. },
  11810. "producttype": {
  11811. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11812. "type": "integer"
  11813. },
  11814. "remark": {
  11815. "description": "备注",
  11816. "type": "string"
  11817. },
  11818. "spotgoodsdesc": {
  11819. "description": "商品型号",
  11820. "type": "string"
  11821. },
  11822. "unitid": {
  11823. "description": "单位id",
  11824. "type": "integer"
  11825. },
  11826. "updatetime": {
  11827. "description": "更新时间",
  11828. "type": "string"
  11829. },
  11830. "wrstandardid": {
  11831. "description": "现货商品ID",
  11832. "type": "integer"
  11833. },
  11834. "wrstandardname": {
  11835. "description": "现货商品名称",
  11836. "type": "string"
  11837. }
  11838. }
  11839. },
  11840. "models.ErmcpHedgePosition": {
  11841. "type": "object",
  11842. "properties": {
  11843. "accountid": {
  11844. "description": "资金账号[外部母账户]",
  11845. "type": "integer"
  11846. },
  11847. "curbuyposition": {
  11848. "description": "期末买头寸",
  11849. "type": "integer"
  11850. },
  11851. "cursellposition": {
  11852. "description": "期末卖头寸",
  11853. "type": "integer"
  11854. },
  11855. "curtdbuyposition": {
  11856. "description": "期末今日买头寸",
  11857. "type": "integer"
  11858. },
  11859. "curtdsellposition": {
  11860. "description": "期末今日卖头寸",
  11861. "type": "integer"
  11862. },
  11863. "curydbuyposition": {
  11864. "description": "期末上日买头寸",
  11865. "type": "integer"
  11866. },
  11867. "curydsellposition": {
  11868. "description": "期末上日卖头寸",
  11869. "type": "integer"
  11870. },
  11871. "decreaseqty": {
  11872. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  11873. "type": "integer"
  11874. },
  11875. "fretdbuyposition": {
  11876. "description": "冻结今日买头寸",
  11877. "type": "integer"
  11878. },
  11879. "fretdsellposition": {
  11880. "description": "冻结今日卖头寸",
  11881. "type": "integer"
  11882. },
  11883. "freydbuyposition": {
  11884. "description": "冻结上日买头寸",
  11885. "type": "integer"
  11886. },
  11887. "freydsellposition": {
  11888. "description": "冻结上日卖头寸",
  11889. "type": "integer"
  11890. },
  11891. "goodscode": {
  11892. "description": "商品代码",
  11893. "type": "string"
  11894. },
  11895. "goodsid": {
  11896. "description": "商品id",
  11897. "type": "integer"
  11898. },
  11899. "goodsname": {
  11900. "description": "商品名称",
  11901. "type": "string"
  11902. },
  11903. "hedgeaccountcode": {
  11904. "description": "对冲账号",
  11905. "type": "string"
  11906. },
  11907. "hedgegoodsid": {
  11908. "description": "对冲合约ID",
  11909. "type": "integer"
  11910. },
  11911. "increaseqty": {
  11912. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  11913. "type": "integer"
  11914. },
  11915. "marketid": {
  11916. "description": "市场ID",
  11917. "type": "integer"
  11918. },
  11919. "relateduserid": {
  11920. "description": "关联用户id",
  11921. "type": "integer"
  11922. },
  11923. "totalcurqty": {
  11924. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  11925. "type": "integer"
  11926. },
  11927. "totalydqty": {
  11928. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  11929. "type": "integer"
  11930. },
  11931. "tradedate": {
  11932. "description": "交易日(yyyyMMdd)",
  11933. "type": "string"
  11934. },
  11935. "ydbuyposition": {
  11936. "description": "期初买头寸",
  11937. "type": "integer"
  11938. },
  11939. "ydsellposition": {
  11940. "description": "期初卖头寸",
  11941. "type": "integer"
  11942. }
  11943. }
  11944. },
  11945. "models.ErmcpHedgePositionDetail": {
  11946. "type": "object",
  11947. "properties": {
  11948. "buyorsell": {
  11949. "description": "买卖方向 0-买 1-卖",
  11950. "type": "integer"
  11951. },
  11952. "channelbuildtype": {
  11953. "description": "开平方向 1-建仓 2-平仓",
  11954. "type": "integer"
  11955. },
  11956. "goodscode": {
  11957. "description": "商品代码",
  11958. "type": "string"
  11959. },
  11960. "goodsname": {
  11961. "description": "商品名称",
  11962. "type": "string"
  11963. },
  11964. "hedgegoodsid": {
  11965. "description": "商品id",
  11966. "type": "integer"
  11967. },
  11968. "tradeqty": {
  11969. "description": "数量(成交数量)",
  11970. "type": "integer"
  11971. },
  11972. "tradetime": {
  11973. "description": "时间(成交时间)",
  11974. "type": "string"
  11975. }
  11976. }
  11977. },
  11978. "models.ErmcpHisExposure": {
  11979. "type": "object",
  11980. "properties": {
  11981. "needhedgeexposoure": {
  11982. "description": "应套保敞口",
  11983. "type": "number"
  11984. },
  11985. "reckondate": {
  11986. "description": "日照时期(yyyyMMdd)",
  11987. "type": "string"
  11988. },
  11989. "totalexposure": {
  11990. "description": "总敞口",
  11991. "type": "number"
  11992. }
  11993. }
  11994. },
  11995. "models.ErmcpHisExposureS": {
  11996. "type": "object",
  11997. "properties": {
  11998. "data": {
  11999. "description": "历史敞口",
  12000. "type": "array",
  12001. "items": {
  12002. "$ref": "#/definitions/models.ErmcpHisExposure"
  12003. }
  12004. },
  12005. "enumdicname": {
  12006. "description": "单位名称",
  12007. "type": "string"
  12008. },
  12009. "middlegoodscode": {
  12010. "description": "套保品种代码",
  12011. "type": "string"
  12012. },
  12013. "middlegoodsid": {
  12014. "description": "套保品种ID",
  12015. "type": "integer"
  12016. },
  12017. "middlegoodsname": {
  12018. "description": "套保品种名称",
  12019. "type": "string"
  12020. }
  12021. }
  12022. },
  12023. "models.ErmcpMiddleGoodsChangeLog": {
  12024. "type": "object",
  12025. "properties": {
  12026. "aftervalue": {
  12027. "description": "变更后",
  12028. "type": "number"
  12029. },
  12030. "applyid": {
  12031. "description": "操作人",
  12032. "type": "integer"
  12033. },
  12034. "applyname": {
  12035. "description": "操作人名称",
  12036. "type": "string"
  12037. },
  12038. "applysrc": {
  12039. "description": "操作来源 - 1:管理端 2:终端",
  12040. "type": "integer"
  12041. },
  12042. "beforevalue": {
  12043. "description": "变更前",
  12044. "type": "number"
  12045. },
  12046. "changelogtype": {
  12047. "description": "变更流水类型 - 1:套保比率变更",
  12048. "type": "integer"
  12049. },
  12050. "handlestatus": {
  12051. "description": "处理状态",
  12052. "type": "integer"
  12053. },
  12054. "logdatetime": {
  12055. "description": "流水日期",
  12056. "type": "string"
  12057. },
  12058. "logid": {
  12059. "description": "流水ID",
  12060. "type": "integer"
  12061. },
  12062. "logremark": {
  12063. "description": "流水备注",
  12064. "type": "string"
  12065. },
  12066. "middlegoodsid": {
  12067. "description": "套保品种ID",
  12068. "type": "integer"
  12069. },
  12070. "tradedate": {
  12071. "description": "交易日(yyyyMMdd)",
  12072. "type": "string"
  12073. },
  12074. "updatetime": {
  12075. "description": "更新时间",
  12076. "type": "string"
  12077. }
  12078. }
  12079. },
  12080. "models.ErmcpMiddleGoodsDetail": {
  12081. "type": "object",
  12082. "properties": {
  12083. "cvList": {
  12084. "description": "期货品种折算列表",
  12085. "type": "array",
  12086. "items": {
  12087. "$ref": "#/definitions/models.GoodsGroupConvert"
  12088. }
  12089. },
  12090. "mg": {
  12091. "description": "套保品种基本信息",
  12092. "type": "object",
  12093. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  12094. }
  12095. }
  12096. },
  12097. "models.ErmcpMiddleGoodsModel": {
  12098. "type": "object",
  12099. "properties": {
  12100. "areauserid": {
  12101. "description": "机构用户ID",
  12102. "type": "integer"
  12103. },
  12104. "createtime": {
  12105. "description": "修改时间",
  12106. "type": "string"
  12107. },
  12108. "enumdicname": {
  12109. "description": "单位名称",
  12110. "type": "string"
  12111. },
  12112. "evaluateratio": {
  12113. "description": "估价系数",
  12114. "type": "number"
  12115. },
  12116. "goodsgroupid": {
  12117. "description": "关联期货品种ID",
  12118. "type": "integer"
  12119. },
  12120. "isvalid": {
  12121. "description": "状态 0-无效(停用) 1-有效(正常)",
  12122. "type": "integer"
  12123. },
  12124. "middlegoodscode": {
  12125. "description": "套保品种代码",
  12126. "type": "string"
  12127. },
  12128. "middlegoodsid": {
  12129. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  12130. "type": "integer"
  12131. },
  12132. "middlegoodsname": {
  12133. "description": "套保品种名称",
  12134. "type": "string"
  12135. },
  12136. "modifytime": {
  12137. "description": "修改时间",
  12138. "type": "string"
  12139. },
  12140. "needhedgeratio": {
  12141. "description": "套保比率",
  12142. "type": "number"
  12143. },
  12144. "qtydecimalplace": {
  12145. "description": "数量小数位",
  12146. "type": "integer"
  12147. },
  12148. "relatedgoodsid": {
  12149. "description": "关联交易商品ID",
  12150. "type": "integer"
  12151. },
  12152. "relatedgoodstype": {
  12153. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  12154. "type": "integer"
  12155. }
  12156. }
  12157. },
  12158. "models.ErmcpModel": {
  12159. "type": "object",
  12160. "properties": {
  12161. "accountname": {
  12162. "description": "账户名称",
  12163. "type": "string"
  12164. },
  12165. "attachment": {
  12166. "description": "附件",
  12167. "type": "string"
  12168. },
  12169. "audittime": {
  12170. "description": "审核时间",
  12171. "type": "string"
  12172. },
  12173. "brandname": {
  12174. "description": "品牌名称",
  12175. "type": "string"
  12176. },
  12177. "contracctstatus": {
  12178. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12179. "type": "integer"
  12180. },
  12181. "contractmargin": {
  12182. "description": "合同保证金",
  12183. "type": "number"
  12184. },
  12185. "contractno": {
  12186. "description": "合同编号",
  12187. "type": "string"
  12188. },
  12189. "contracttype": {
  12190. "description": "合同类型 1-采购, -1-销售",
  12191. "type": "integer"
  12192. },
  12193. "convertfactor": {
  12194. "description": "标仓系数",
  12195. "type": "number"
  12196. },
  12197. "createtime": {
  12198. "description": "创建时间",
  12199. "type": "string"
  12200. },
  12201. "daikaiamount": {
  12202. "description": "待开票额",
  12203. "type": "number"
  12204. },
  12205. "deliveryenddate": {
  12206. "description": "交割结束日",
  12207. "type": "string"
  12208. },
  12209. "deliverygoodscode": {
  12210. "description": "现货品种代码",
  12211. "type": "string"
  12212. },
  12213. "deliverygoodsid": {
  12214. "description": "现货商品ID",
  12215. "type": "integer"
  12216. },
  12217. "deliverygoodsname": {
  12218. "description": "现货品种名称",
  12219. "type": "string"
  12220. },
  12221. "deliverystartdate": {
  12222. "description": "交割开始日",
  12223. "type": "string"
  12224. },
  12225. "enddate": {
  12226. "description": "点价结束日",
  12227. "type": "string"
  12228. },
  12229. "enumdicname": {
  12230. "description": "单位名称",
  12231. "type": "string"
  12232. },
  12233. "goodscode": {
  12234. "description": "点价商品代码",
  12235. "type": "string"
  12236. },
  12237. "goodsid": {
  12238. "description": "点价商品ID",
  12239. "type": "integer"
  12240. },
  12241. "goodsname": {
  12242. "description": "点价商品名称",
  12243. "type": "string"
  12244. },
  12245. "invoiceamount": {
  12246. "description": "已开票额",
  12247. "type": "number"
  12248. },
  12249. "loanamount": {
  12250. "description": "贷款总额=已定价额+调整金额",
  12251. "type": "number"
  12252. },
  12253. "margin": {
  12254. "description": "保证金",
  12255. "type": "number"
  12256. },
  12257. "modelname": {
  12258. "description": "型号名称",
  12259. "type": "string"
  12260. },
  12261. "payamount": {
  12262. "description": "已收付额(收款或付款)",
  12263. "type": "number"
  12264. },
  12265. "price": {
  12266. "description": "价格",
  12267. "type": "number"
  12268. },
  12269. "pricedamount": {
  12270. "description": "已定价额",
  12271. "type": "number"
  12272. },
  12273. "pricedavg": {
  12274. "description": "已点均价",
  12275. "type": "number"
  12276. },
  12277. "pricedqty": {
  12278. "description": "已定价量",
  12279. "type": "number"
  12280. },
  12281. "pricemove": {
  12282. "description": "升贴水",
  12283. "type": "number"
  12284. },
  12285. "pricetype": {
  12286. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12287. "type": "integer"
  12288. },
  12289. "producttype": {
  12290. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12291. "type": "integer"
  12292. },
  12293. "qty": {
  12294. "description": "合同量",
  12295. "type": "number"
  12296. },
  12297. "reckonadjustamount": {
  12298. "description": "调整金额",
  12299. "type": "number"
  12300. },
  12301. "reckonedamount": {
  12302. "description": "已收付额(已确定额)",
  12303. "type": "number"
  12304. },
  12305. "reckonotheramount": {
  12306. "description": "其它费用",
  12307. "type": "number"
  12308. },
  12309. "reckonrealqty": {
  12310. "description": "已确定量",
  12311. "type": "number"
  12312. },
  12313. "remark": {
  12314. "description": "备注",
  12315. "type": "string"
  12316. },
  12317. "spotcontractid": {
  12318. "description": "合同ID",
  12319. "type": "string"
  12320. },
  12321. "spotgoodsbrandid": {
  12322. "description": "现货品牌ID",
  12323. "type": "integer"
  12324. },
  12325. "spotgoodsdesc": {
  12326. "description": "商品型号(商品规格)",
  12327. "type": "string"
  12328. },
  12329. "spotgoodsmodelid": {
  12330. "description": "现货型号ID",
  12331. "type": "integer"
  12332. },
  12333. "startdate": {
  12334. "description": "点价开始日",
  12335. "type": "string"
  12336. },
  12337. "totalamount": {
  12338. "description": "合计总额",
  12339. "type": "number"
  12340. },
  12341. "unpayamount": {
  12342. "description": "待支收额(支付或收款)",
  12343. "type": "number"
  12344. },
  12345. "unpricedqty": {
  12346. "description": "未定价量",
  12347. "type": "number"
  12348. },
  12349. "unsureqty": {
  12350. "description": "未确定量",
  12351. "type": "number"
  12352. },
  12353. "userid": {
  12354. "description": "用户ID",
  12355. "type": "integer"
  12356. },
  12357. "wrstandardcode": {
  12358. "description": "现货商品代码",
  12359. "type": "string"
  12360. },
  12361. "wrstandardid": {
  12362. "description": "现货商品ID",
  12363. "type": "integer"
  12364. },
  12365. "wrstandardname": {
  12366. "description": "现货商品名称",
  12367. "type": "string"
  12368. }
  12369. }
  12370. },
  12371. "models.ErmcpOPLogModel": {
  12372. "type": "object",
  12373. "properties": {
  12374. "aftervalue": {
  12375. "description": "变更后",
  12376. "type": "number"
  12377. },
  12378. "applyid": {
  12379. "description": "操作人ID",
  12380. "type": "string"
  12381. },
  12382. "applyname": {
  12383. "description": "操作人名称",
  12384. "type": "string"
  12385. },
  12386. "beforevalue": {
  12387. "description": "变更前",
  12388. "type": "number"
  12389. },
  12390. "biztype": {
  12391. "description": "业务类型 - 1:套保计划 2:现货合同",
  12392. "type": "integer"
  12393. },
  12394. "contracttype": {
  12395. "description": "现货合同类型 - 1:采购 -1:销售",
  12396. "type": "integer"
  12397. },
  12398. "logvalue": {
  12399. "description": "数值",
  12400. "type": "number"
  12401. },
  12402. "operatelogtype": {
  12403. "description": "操作流水类型",
  12404. "type": "integer"
  12405. },
  12406. "operatelogtypedesc": {
  12407. "description": "操作流水类型名称",
  12408. "type": "string"
  12409. },
  12410. "relatedid": {
  12411. "description": "现货合同ID\\套保计划",
  12412. "type": "string"
  12413. },
  12414. "updatetime": {
  12415. "description": "更新时间",
  12416. "type": "string"
  12417. }
  12418. }
  12419. },
  12420. "models.ErmcpPendingAudit": {
  12421. "type": "object",
  12422. "properties": {
  12423. "areastockqty": {
  12424. "description": "待审核数量: 库存申请",
  12425. "type": "integer"
  12426. },
  12427. "businessdjqty": {
  12428. "description": "待审核数量: 点价",
  12429. "type": "integer"
  12430. },
  12431. "businessfpqty": {
  12432. "description": "待审核数量: 发票",
  12433. "type": "integer"
  12434. },
  12435. "businessjsqty": {
  12436. "description": "待审核数量: 结算",
  12437. "type": "integer"
  12438. },
  12439. "businesskxqty": {
  12440. "description": "待审核数量: 款项",
  12441. "type": "integer"
  12442. },
  12443. "hedgeplanqty": {
  12444. "description": "待审核数量: 套保计划",
  12445. "type": "integer"
  12446. },
  12447. "spotcontractqty": {
  12448. "description": "待审核数量: 现货合同",
  12449. "type": "integer"
  12450. },
  12451. "userqty": {
  12452. "description": "待审核数量: 用户",
  12453. "type": "integer"
  12454. }
  12455. }
  12456. },
  12457. "models.ErmcpRealExposureModel": {
  12458. "type": "object",
  12459. "properties": {
  12460. "AreaUserID": {
  12461. "description": "所属机构",
  12462. "type": "integer"
  12463. },
  12464. "BuyFutureQty": {
  12465. "description": "买入期货数量",
  12466. "type": "number"
  12467. },
  12468. "BuyPlanQty": {
  12469. "description": "采购计划数量",
  12470. "type": "number"
  12471. },
  12472. "BuyPricedQty": {
  12473. "description": "采购合同已定价数量",
  12474. "type": "number"
  12475. },
  12476. "MiddleGoodsCode": {
  12477. "description": "套保品种代码",
  12478. "type": "string"
  12479. },
  12480. "MiddleGoodsHedgeRatio": {
  12481. "description": "应套保比例",
  12482. "type": "number"
  12483. },
  12484. "MiddleGoodsID": {
  12485. "description": "套保品种",
  12486. "type": "integer"
  12487. },
  12488. "MiddleGoodsName": {
  12489. "description": "套保品种名称",
  12490. "type": "string"
  12491. },
  12492. "NeedHedgeExposoure": {
  12493. "description": "应套保敞口",
  12494. "type": "number"
  12495. },
  12496. "NeedHedgeRatio": {
  12497. "description": "应套保敞口比例",
  12498. "type": "number"
  12499. },
  12500. "OriBuyFutureQty": {
  12501. "description": "期初买入期货数量",
  12502. "type": "number"
  12503. },
  12504. "OriBuyPlanQty": {
  12505. "description": "期初采购计划数量",
  12506. "type": "number"
  12507. },
  12508. "OriBuyPricedQty": {
  12509. "description": "期初采购合同已定价数量",
  12510. "type": "number"
  12511. },
  12512. "OriSellFutureQty": {
  12513. "description": "期初卖出期货数量",
  12514. "type": "number"
  12515. },
  12516. "OriSellPlanQty": {
  12517. "description": "期初销售计划数量",
  12518. "type": "number"
  12519. },
  12520. "OriSellPricedQty": {
  12521. "description": "期初销售合同已定价数量",
  12522. "type": "number"
  12523. },
  12524. "SellFutureQty": {
  12525. "description": "卖出期货数量",
  12526. "type": "number"
  12527. },
  12528. "SellPlanQty": {
  12529. "description": "销售计划数量",
  12530. "type": "number"
  12531. },
  12532. "SellPricedQty": {
  12533. "description": "销售合同已定价数量",
  12534. "type": "number"
  12535. },
  12536. "TotalExposure": {
  12537. "description": "总敞口",
  12538. "type": "number"
  12539. },
  12540. "TotalFutureQty": {
  12541. "description": "期货数量",
  12542. "type": "number"
  12543. },
  12544. "TotalHedgeRatio": {
  12545. "description": "敞口比例",
  12546. "type": "number"
  12547. },
  12548. "TotalNeedHedgeQty": {
  12549. "description": "期货应套保量",
  12550. "type": "number"
  12551. },
  12552. "TotalSpotQty": {
  12553. "description": "现货数量",
  12554. "type": "number"
  12555. },
  12556. "diffFutuQty": {
  12557. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  12558. "type": "number"
  12559. },
  12560. "diffSpotQty": {
  12561. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  12562. "type": "number"
  12563. },
  12564. "enumdicname": {
  12565. "description": "单位名称",
  12566. "type": "string"
  12567. },
  12568. "oriTotalFutuQty": {
  12569. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  12570. "type": "number"
  12571. },
  12572. "oriTotalSpotQty": {
  12573. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  12574. "type": "number"
  12575. }
  12576. }
  12577. },
  12578. "models.ErmcpReportDayExposure": {
  12579. "type": "object",
  12580. "properties": {
  12581. "areauserid": {
  12582. "description": "所属机构",
  12583. "type": "integer"
  12584. },
  12585. "buyfutureqty": {
  12586. "description": "买入期货数量",
  12587. "type": "number"
  12588. },
  12589. "buyplanqty": {
  12590. "description": "采购计划数量",
  12591. "type": "number"
  12592. },
  12593. "buypricedqty": {
  12594. "description": "采购合同已定价数量",
  12595. "type": "number"
  12596. },
  12597. "diffFutuQty": {
  12598. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  12599. "type": "number"
  12600. },
  12601. "diffSpotQty": {
  12602. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  12603. "type": "number"
  12604. },
  12605. "enumdicname": {
  12606. "description": "单位名称",
  12607. "type": "string"
  12608. },
  12609. "middlegoodscode": {
  12610. "description": "套保品种代码",
  12611. "type": "string"
  12612. },
  12613. "middlegoodshedgeratio": {
  12614. "description": "应套保比例",
  12615. "type": "number"
  12616. },
  12617. "middlegoodsid": {
  12618. "description": "套保品种ID",
  12619. "type": "integer"
  12620. },
  12621. "middlegoodsname": {
  12622. "description": "套保品种名称",
  12623. "type": "string"
  12624. },
  12625. "needhedgeexposoure": {
  12626. "description": "应套保敞口",
  12627. "type": "number"
  12628. },
  12629. "needhedgeratio": {
  12630. "description": "应套保敞口比例",
  12631. "type": "number"
  12632. },
  12633. "oriTotalFutuQty": {
  12634. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  12635. "type": "number"
  12636. },
  12637. "oriTotalSpotQty": {
  12638. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  12639. "type": "number"
  12640. },
  12641. "oribuyfutureqty": {
  12642. "description": "期初买入期货数量",
  12643. "type": "number"
  12644. },
  12645. "oribuyplanqty": {
  12646. "description": "期初采购计划数量",
  12647. "type": "number"
  12648. },
  12649. "oribuypricedqty": {
  12650. "description": "期初采购合同已定价数量",
  12651. "type": "number"
  12652. },
  12653. "orisellfutureqty": {
  12654. "description": "期初卖出期货数量",
  12655. "type": "number"
  12656. },
  12657. "orisellplanqty": {
  12658. "description": "期初销售计划数量",
  12659. "type": "number"
  12660. },
  12661. "orisellpricedqty": {
  12662. "description": "期初销售合同已定价数量",
  12663. "type": "number"
  12664. },
  12665. "reckondate": {
  12666. "description": "日照时期(yyyyMMdd)",
  12667. "type": "string"
  12668. },
  12669. "sellfutureqty": {
  12670. "description": "卖出期货数量",
  12671. "type": "number"
  12672. },
  12673. "sellplanqty": {
  12674. "description": "销售计划数量",
  12675. "type": "number"
  12676. },
  12677. "sellpricedqty": {
  12678. "description": "销售合同已定价数量",
  12679. "type": "number"
  12680. },
  12681. "totalexposure": {
  12682. "description": "总敞口",
  12683. "type": "number"
  12684. },
  12685. "totalfutureqty": {
  12686. "description": "期货数量",
  12687. "type": "number"
  12688. },
  12689. "totalhedgeratio": {
  12690. "description": "敞口比例",
  12691. "type": "number"
  12692. },
  12693. "totalneedhedgeqty": {
  12694. "description": "期货应套保量",
  12695. "type": "number"
  12696. },
  12697. "totalspotqty": {
  12698. "description": "现货数量",
  12699. "type": "number"
  12700. }
  12701. }
  12702. },
  12703. "models.ErmcpReportDayFR": {
  12704. "type": "object",
  12705. "properties": {
  12706. "areauserid": {
  12707. "description": "所属机构",
  12708. "type": "integer"
  12709. },
  12710. "collectinvoiceamount": {
  12711. "description": "今日开票金额",
  12712. "type": "number"
  12713. },
  12714. "collectinvoicecount": {
  12715. "description": "今日开票笔数",
  12716. "type": "integer"
  12717. },
  12718. "collectmoneyamount": {
  12719. "description": "今日收款金额",
  12720. "type": "number"
  12721. },
  12722. "collectmoneycount": {
  12723. "description": "今日收款笔数",
  12724. "type": "integer"
  12725. },
  12726. "payinvoiceamount": {
  12727. "description": "今日收票金额",
  12728. "type": "number"
  12729. },
  12730. "payinvoicecount": {
  12731. "description": "今日收票笔数",
  12732. "type": "integer"
  12733. },
  12734. "paymoneyamount": {
  12735. "description": "今日付款金额",
  12736. "type": "number"
  12737. },
  12738. "paymoneycount": {
  12739. "description": "今日付款笔数",
  12740. "type": "integer"
  12741. },
  12742. "reckondate": {
  12743. "description": "日照时期(yyyyMMdd)",
  12744. "type": "string"
  12745. },
  12746. "updatetime": {
  12747. "description": "更新时间",
  12748. "type": "string"
  12749. }
  12750. }
  12751. },
  12752. "models.ErmcpReportDaySpot": {
  12753. "type": "object",
  12754. "properties": {
  12755. "areauserid": {
  12756. "description": "所属机构T",
  12757. "type": "integer"
  12758. },
  12759. "buyinqty": {
  12760. "description": "采购入库量",
  12761. "type": "number"
  12762. },
  12763. "enumdicname": {
  12764. "description": "现货商品单位名称",
  12765. "type": "string"
  12766. },
  12767. "reckondate": {
  12768. "description": "日照时期(yyyyMMdd)",
  12769. "type": "string"
  12770. },
  12771. "selloutqty": {
  12772. "description": "销售出库量",
  12773. "type": "number"
  12774. },
  12775. "todaybuyreckonqty": {
  12776. "description": "采购确定量",
  12777. "type": "number"
  12778. },
  12779. "todaysellreckonqty": {
  12780. "description": "销售确定量",
  12781. "type": "number"
  12782. },
  12783. "totalbuypricedqty": {
  12784. "description": "采购定价量 = 期末 - 期初",
  12785. "type": "number"
  12786. },
  12787. "totalsellpricedqty": {
  12788. "description": "销售定价量 = 期末 - 期初",
  12789. "type": "number"
  12790. },
  12791. "wrstandardcode": {
  12792. "description": "现货商品代码",
  12793. "type": "string"
  12794. },
  12795. "wrstandardid": {
  12796. "description": "现货商品ID",
  12797. "type": "integer"
  12798. },
  12799. "wrstandardname": {
  12800. "description": "现货商品名称",
  12801. "type": "string"
  12802. }
  12803. }
  12804. },
  12805. "models.ErmcpReportMonSpot": {
  12806. "type": "object",
  12807. "properties": {
  12808. "areauserid": {
  12809. "description": "所属机构T",
  12810. "type": "integer"
  12811. },
  12812. "buyinqty": {
  12813. "description": "采购入库量",
  12814. "type": "number"
  12815. },
  12816. "cycletime": {
  12817. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12818. "type": "string"
  12819. },
  12820. "cycletype": {
  12821. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12822. "type": "integer"
  12823. },
  12824. "enumdicname": {
  12825. "description": "现货商品单位名称",
  12826. "type": "string"
  12827. },
  12828. "selloutqty": {
  12829. "description": "销售出库量",
  12830. "type": "number"
  12831. },
  12832. "todaybuyreckonqty": {
  12833. "description": "采购确定量",
  12834. "type": "number"
  12835. },
  12836. "todaysellreckonqty": {
  12837. "description": "销售确定量",
  12838. "type": "number"
  12839. },
  12840. "totalbuypricedqty": {
  12841. "description": "采购定价量 = 期末 - 期初",
  12842. "type": "number"
  12843. },
  12844. "totalsellpricedqty": {
  12845. "description": "销售定价量 = 期末 - 期初",
  12846. "type": "number"
  12847. },
  12848. "wrstandardcode": {
  12849. "description": "现货商品代码",
  12850. "type": "string"
  12851. },
  12852. "wrstandardid": {
  12853. "description": "现货商品ID",
  12854. "type": "integer"
  12855. },
  12856. "wrstandardname": {
  12857. "description": "现货商品名称",
  12858. "type": "string"
  12859. }
  12860. }
  12861. },
  12862. "models.ErmcpReportMonthFR": {
  12863. "type": "object",
  12864. "properties": {
  12865. "areauserid": {
  12866. "description": "所属机构【原值】",
  12867. "type": "integer"
  12868. },
  12869. "collectinvoiceamount": {
  12870. "description": "今日开票金额【汇总】",
  12871. "type": "number"
  12872. },
  12873. "collectinvoicecount": {
  12874. "description": "今日开票笔数【汇总】",
  12875. "type": "integer"
  12876. },
  12877. "collectmoneyamount": {
  12878. "description": "今日收款金额【汇总】",
  12879. "type": "number"
  12880. },
  12881. "collectmoneycount": {
  12882. "description": "今日收款笔数 【汇总】",
  12883. "type": "integer"
  12884. },
  12885. "cycletime": {
  12886. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12887. "type": "string"
  12888. },
  12889. "cycletype": {
  12890. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12891. "type": "integer"
  12892. },
  12893. "dayFr": {
  12894. "description": "日报表明细",
  12895. "type": "array",
  12896. "items": {
  12897. "$ref": "#/definitions/models.ErmcpReportDayFR"
  12898. }
  12899. },
  12900. "payinvoiceamount": {
  12901. "description": "今日收票金额【汇总】",
  12902. "type": "number"
  12903. },
  12904. "payinvoicecount": {
  12905. "description": "今日收票笔数【汇总】",
  12906. "type": "integer"
  12907. },
  12908. "paymoneyamount": {
  12909. "description": "今日付款金额【汇总】",
  12910. "type": "number"
  12911. },
  12912. "paymoneycount": {
  12913. "description": "今日付款笔数【汇总】",
  12914. "type": "integer"
  12915. },
  12916. "updatetime": {
  12917. "description": "更新时间",
  12918. "type": "string"
  12919. }
  12920. }
  12921. },
  12922. "models.ErmcpReportOPLog": {
  12923. "type": "object",
  12924. "properties": {
  12925. "applyid": {
  12926. "description": "操作人",
  12927. "type": "integer"
  12928. },
  12929. "applyname": {
  12930. "description": "操作人名称",
  12931. "type": "string"
  12932. },
  12933. "biztype": {
  12934. "description": "业务类型 - 1:套保计划 2:现货合同",
  12935. "type": "integer"
  12936. },
  12937. "brandname": {
  12938. "description": "品牌名称",
  12939. "type": "string"
  12940. },
  12941. "contracttype": {
  12942. "description": "现货合同类型 - 1:采购 -1:销售",
  12943. "type": "integer"
  12944. },
  12945. "enumdicName": {
  12946. "description": "单位名称",
  12947. "type": "string"
  12948. },
  12949. "logdatetime": {
  12950. "description": "流水日期(时间)",
  12951. "type": "string"
  12952. },
  12953. "logid": {
  12954. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  12955. "type": "string"
  12956. },
  12957. "logtypename": {
  12958. "description": "合同类型(名称)",
  12959. "type": "string"
  12960. },
  12961. "logvalue": {
  12962. "description": "数值",
  12963. "type": "string"
  12964. },
  12965. "modelname": {
  12966. "description": "型号名称",
  12967. "type": "string"
  12968. },
  12969. "operatelogtype": {
  12970. "description": "操作流水类型 -",
  12971. "type": "integer"
  12972. },
  12973. "optypename": {
  12974. "description": "流水类型名称",
  12975. "type": "string"
  12976. },
  12977. "relatedid": {
  12978. "description": "现货合同ID\\套保计划",
  12979. "type": "string"
  12980. },
  12981. "relatedno": {
  12982. "description": "合同编号",
  12983. "type": "string"
  12984. },
  12985. "tradedate": {
  12986. "description": "交易日(yyyyMMdd)",
  12987. "type": "string"
  12988. },
  12989. "userid": {
  12990. "description": "机构ID",
  12991. "type": "integer"
  12992. },
  12993. "wrstandardcode": {
  12994. "description": "现货商品代码",
  12995. "type": "string"
  12996. },
  12997. "wrstandardid": {
  12998. "description": "现货商品ID",
  12999. "type": "integer"
  13000. },
  13001. "wrstandardname": {
  13002. "description": "现货商品名称",
  13003. "type": "string"
  13004. }
  13005. }
  13006. },
  13007. "models.ErmcpSpotContractModel": {
  13008. "type": "object",
  13009. "properties": {
  13010. "amount": {
  13011. "description": "金额 [1:一口价、3:暂定价]",
  13012. "type": "number"
  13013. },
  13014. "attachment": {
  13015. "description": "附件",
  13016. "type": "string"
  13017. },
  13018. "auditremark": {
  13019. "description": "审核意见",
  13020. "type": "string"
  13021. },
  13022. "audittime": {
  13023. "description": "审核时间",
  13024. "type": "string"
  13025. },
  13026. "brandname": {
  13027. "description": "品牌名称",
  13028. "type": "string"
  13029. },
  13030. "buyuserid": {
  13031. "description": "采购方ID",
  13032. "type": "integer"
  13033. },
  13034. "buyusername": {
  13035. "description": "采购方名称",
  13036. "type": "string"
  13037. },
  13038. "contracctstatus": {
  13039. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13040. "type": "integer"
  13041. },
  13042. "contractmargin": {
  13043. "description": "合同保证金",
  13044. "type": "number"
  13045. },
  13046. "contractno": {
  13047. "description": "现货合同编号",
  13048. "type": "string"
  13049. },
  13050. "contracttype": {
  13051. "description": "现货合同类型 - 1:采购 -1:销售",
  13052. "type": "integer"
  13053. },
  13054. "convertfactor": {
  13055. "description": "标仓系数",
  13056. "type": "number"
  13057. },
  13058. "createtime": {
  13059. "description": "创建时间",
  13060. "type": "string"
  13061. },
  13062. "deliveryenddate": {
  13063. "description": "交收期(结束)",
  13064. "type": "string"
  13065. },
  13066. "deliverygoodscode": {
  13067. "description": "现货品种代码",
  13068. "type": "string"
  13069. },
  13070. "deliverygoodsid": {
  13071. "description": "现货品种ID",
  13072. "type": "integer"
  13073. },
  13074. "deliverygoodsname": {
  13075. "description": "现货品种名称",
  13076. "type": "string"
  13077. },
  13078. "deliverystartdate": {
  13079. "description": "交收期(开始)",
  13080. "type": "string"
  13081. },
  13082. "enddate": {
  13083. "description": "点价结束日期 [2:点价 3:暂定价]",
  13084. "type": "string"
  13085. },
  13086. "enumdicname": {
  13087. "description": "单位名称",
  13088. "type": "string"
  13089. },
  13090. "goodscode": {
  13091. "description": "点价合约代码",
  13092. "type": "string"
  13093. },
  13094. "goodsid": {
  13095. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  13096. "type": "integer"
  13097. },
  13098. "goodsname": {
  13099. "description": "点价商品名称",
  13100. "type": "string"
  13101. },
  13102. "margin": {
  13103. "description": "当前保证金",
  13104. "type": "number"
  13105. },
  13106. "modelname": {
  13107. "description": "型号名称",
  13108. "type": "string"
  13109. },
  13110. "price": {
  13111. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  13112. "type": "number"
  13113. },
  13114. "pricemove": {
  13115. "description": "升贴水 [2:点价 3:暂定价]",
  13116. "type": "number"
  13117. },
  13118. "pricetype": {
  13119. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13120. "type": "integer"
  13121. },
  13122. "producttype": {
  13123. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13124. "type": "integer"
  13125. },
  13126. "qty": {
  13127. "description": "数量",
  13128. "type": "number"
  13129. },
  13130. "remark": {
  13131. "description": "备注",
  13132. "type": "string"
  13133. },
  13134. "selluserid": {
  13135. "description": "销售方ID",
  13136. "type": "integer"
  13137. },
  13138. "sellusername": {
  13139. "description": "销售方名称",
  13140. "type": "string"
  13141. },
  13142. "spotcontractid": {
  13143. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  13144. "type": "string"
  13145. },
  13146. "spotgoodsbrandid": {
  13147. "description": "现货品牌ID",
  13148. "type": "integer"
  13149. },
  13150. "spotgoodsdesc": {
  13151. "description": "商品型号",
  13152. "type": "string"
  13153. },
  13154. "spotgoodsmodelid": {
  13155. "description": "现货型号ID",
  13156. "type": "integer"
  13157. },
  13158. "startdate": {
  13159. "description": "点价开始日期 [2:点价 3:暂定价]",
  13160. "type": "string"
  13161. },
  13162. "updatetime": {
  13163. "description": "更新时间",
  13164. "type": "string"
  13165. },
  13166. "userid": {
  13167. "description": "机构ID",
  13168. "type": "integer"
  13169. },
  13170. "wrstandardcode": {
  13171. "description": "现货商品代码",
  13172. "type": "string"
  13173. },
  13174. "wrstandardid": {
  13175. "description": "现货商品ID",
  13176. "type": "integer"
  13177. },
  13178. "wrstandardname": {
  13179. "description": "现货商品名称",
  13180. "type": "string"
  13181. }
  13182. }
  13183. },
  13184. "models.ErmcpUserModel": {
  13185. "type": "object",
  13186. "properties": {
  13187. "address": {
  13188. "description": "通讯地址",
  13189. "type": "string"
  13190. },
  13191. "attachment1": {
  13192. "description": "附件1",
  13193. "type": "string"
  13194. },
  13195. "audittime": {
  13196. "description": "审核时间",
  13197. "type": "string"
  13198. },
  13199. "cardfrontphotourl": {
  13200. "description": "证件正面图片地址",
  13201. "type": "string"
  13202. },
  13203. "cardnum": {
  13204. "description": "证件号码",
  13205. "type": "string"
  13206. },
  13207. "cardtype": {
  13208. "description": "证件类型",
  13209. "type": "integer"
  13210. },
  13211. "cardtypename": {
  13212. "description": "证件类型名称",
  13213. "type": "string"
  13214. },
  13215. "cityid": {
  13216. "description": "市",
  13217. "type": "integer"
  13218. },
  13219. "countryid": {
  13220. "description": "国家",
  13221. "type": "integer"
  13222. },
  13223. "createtime": {
  13224. "description": "创建时间",
  13225. "type": "string"
  13226. },
  13227. "customername": {
  13228. "description": "企业名称",
  13229. "type": "string"
  13230. },
  13231. "memberuserid": {
  13232. "description": "所属机构ID",
  13233. "type": "integer"
  13234. },
  13235. "mobile": {
  13236. "description": "手机号码",
  13237. "type": "string"
  13238. },
  13239. "modifytime": {
  13240. "description": "修改时间",
  13241. "type": "string"
  13242. },
  13243. "provinceid": {
  13244. "description": "省",
  13245. "type": "integer"
  13246. },
  13247. "remark": {
  13248. "description": "备注",
  13249. "type": "string"
  13250. },
  13251. "status": {
  13252. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  13253. "type": "integer"
  13254. },
  13255. "statusdesc": {
  13256. "description": "账户状态中文描述",
  13257. "type": "string"
  13258. },
  13259. "telphone": {
  13260. "description": "联系电话",
  13261. "type": "string"
  13262. },
  13263. "userid": {
  13264. "description": "用户ID",
  13265. "type": "integer"
  13266. },
  13267. "userinfotype": {
  13268. "description": "客户类型",
  13269. "type": "string"
  13270. }
  13271. }
  13272. },
  13273. "models.ErmcpWareHouseInfo": {
  13274. "type": "object",
  13275. "properties": {
  13276. "address": {
  13277. "description": "详细地址",
  13278. "type": "string"
  13279. },
  13280. "areauserid": {
  13281. "description": "所属机构",
  13282. "type": "integer"
  13283. },
  13284. "autoid": {
  13285. "description": "自增ID(仓库ID)",
  13286. "type": "integer"
  13287. },
  13288. "cityid": {
  13289. "description": "市",
  13290. "type": "integer"
  13291. },
  13292. "contactname": {
  13293. "description": "联系人",
  13294. "type": "string"
  13295. },
  13296. "contactnum": {
  13297. "description": "联系电话",
  13298. "type": "string"
  13299. },
  13300. "countryid": {
  13301. "description": "国家",
  13302. "type": "integer"
  13303. },
  13304. "createtime": {
  13305. "description": "创建时间",
  13306. "type": "string"
  13307. },
  13308. "districtid": {
  13309. "description": "区",
  13310. "type": "integer"
  13311. },
  13312. "hasvideo": {
  13313. "description": "是否有视频 - 0:无 1:有",
  13314. "type": "integer"
  13315. },
  13316. "provinceid": {
  13317. "description": "省",
  13318. "type": "integer"
  13319. },
  13320. "remark": {
  13321. "description": "审核备注",
  13322. "type": "string"
  13323. },
  13324. "videourl": {
  13325. "description": "视频地址",
  13326. "type": "string"
  13327. },
  13328. "warehousecode": {
  13329. "description": "仓库代码",
  13330. "type": "string"
  13331. },
  13332. "warehousename": {
  13333. "description": "仓库名称",
  13334. "type": "string"
  13335. },
  13336. "warehousestatus": {
  13337. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  13338. "type": "integer"
  13339. },
  13340. "warehousetype": {
  13341. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13342. "type": "integer"
  13343. }
  13344. }
  13345. },
  13346. "models.ErmcpWrstandDetail": {
  13347. "type": "object",
  13348. "properties": {
  13349. "gbList": {
  13350. "description": "品牌列表",
  13351. "type": "array",
  13352. "items": {
  13353. "$ref": "#/definitions/models.GoodsBrand"
  13354. }
  13355. },
  13356. "goodsList": {
  13357. "description": "关联交易商品列表",
  13358. "type": "array",
  13359. "items": {
  13360. "$ref": "#/definitions/models.RelatedGoodsEx"
  13361. }
  13362. },
  13363. "gtList": {
  13364. "description": "型号列表",
  13365. "type": "array",
  13366. "items": {
  13367. "$ref": "#/definitions/models.GoodsTypeModel"
  13368. }
  13369. },
  13370. "wrd": {
  13371. "description": "基本信息",
  13372. "type": "object",
  13373. "$ref": "#/definitions/models.ErmcpWrstandard"
  13374. },
  13375. "wrsList": {
  13376. "description": "套保信息列表",
  13377. "type": "array",
  13378. "items": {
  13379. "$ref": "#/definitions/models.WRSConverTDetail"
  13380. }
  13381. }
  13382. }
  13383. },
  13384. "models.ErmcpWrstandard": {
  13385. "type": "object",
  13386. "properties": {
  13387. "areauserid": {
  13388. "description": "所属机构",
  13389. "type": "integer"
  13390. },
  13391. "createtime": {
  13392. "description": "创建时间",
  13393. "type": "string"
  13394. },
  13395. "creatorid": {
  13396. "description": "创建人",
  13397. "type": "integer"
  13398. },
  13399. "deliverygoodsid": {
  13400. "description": "品种ID",
  13401. "type": "integer"
  13402. },
  13403. "enumdicname": {
  13404. "description": "单位名称",
  13405. "type": "string"
  13406. },
  13407. "isvalid": {
  13408. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  13409. "type": "integer"
  13410. },
  13411. "minivalue": {
  13412. "description": "最小变动值",
  13413. "type": "integer"
  13414. },
  13415. "minivaluedp": {
  13416. "description": "最小变动值小数位",
  13417. "type": "integer"
  13418. },
  13419. "realminivalue": {
  13420. "description": "实际最小变动值",
  13421. "type": "integer"
  13422. },
  13423. "realminivaluedp": {
  13424. "description": "实际最小变动值小数位",
  13425. "type": "integer"
  13426. },
  13427. "remark": {
  13428. "description": "备注",
  13429. "type": "string"
  13430. },
  13431. "unitid": {
  13432. "description": "单位ID",
  13433. "type": "integer"
  13434. },
  13435. "updatetime": {
  13436. "description": "更新时间",
  13437. "type": "string"
  13438. },
  13439. "wrstandardcode": {
  13440. "description": "现货商品代码",
  13441. "type": "string"
  13442. },
  13443. "wrstandardid": {
  13444. "description": "现货商品ID(SEQ_WRSTANDARD)",
  13445. "type": "integer"
  13446. },
  13447. "wrstandardname": {
  13448. "description": "现货商品名称",
  13449. "type": "string"
  13450. }
  13451. }
  13452. },
  13453. "models.Externalexchange": {
  13454. "type": "object",
  13455. "required": [
  13456. "autoid"
  13457. ],
  13458. "properties": {
  13459. "autoid": {
  13460. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  13461. "type": "integer"
  13462. },
  13463. "exchangefullname": {
  13464. "description": "外部交易所全称",
  13465. "type": "string"
  13466. },
  13467. "exexchangecode": {
  13468. "description": "外部交易所代码",
  13469. "type": "string"
  13470. },
  13471. "exexchangename": {
  13472. "description": "外部交易所名称(简称)",
  13473. "type": "string"
  13474. },
  13475. "ismarketprice": {
  13476. "description": "是否支持市价 - 0:不支持 1:支持",
  13477. "type": "integer"
  13478. },
  13479. "quotegear": {
  13480. "description": "行情档位(1-10)",
  13481. "type": "integer"
  13482. },
  13483. "showbrokerflag": {
  13484. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  13485. "type": "integer"
  13486. },
  13487. "updatetime": {
  13488. "description": "更新时间",
  13489. "type": "string"
  13490. }
  13491. }
  13492. },
  13493. "models.Funcmenulist": {
  13494. "type": "object",
  13495. "required": [
  13496. "resourcecode"
  13497. ],
  13498. "properties": {
  13499. "iconame": {
  13500. "description": "菜单图标",
  13501. "type": "string"
  13502. },
  13503. "menutype": {
  13504. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  13505. "type": "integer"
  13506. },
  13507. "parentcode": {
  13508. "description": "上级资源代码",
  13509. "type": "string"
  13510. },
  13511. "remark": {
  13512. "description": "备注",
  13513. "type": "string"
  13514. },
  13515. "resourcecode": {
  13516. "description": "资源代码",
  13517. "type": "string"
  13518. },
  13519. "resourcelevel": {
  13520. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  13521. "type": "integer"
  13522. },
  13523. "resourcename": {
  13524. "description": "资源名",
  13525. "type": "string"
  13526. },
  13527. "sort": {
  13528. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  13529. "type": "integer"
  13530. },
  13531. "url": {
  13532. "description": "URL",
  13533. "type": "string"
  13534. }
  13535. }
  13536. },
  13537. "models.Goods": {
  13538. "type": "object",
  13539. "required": [
  13540. "goodscode",
  13541. "goodsid",
  13542. "goodsname",
  13543. "marketid"
  13544. ],
  13545. "properties": {
  13546. "agreeunit": {
  13547. "description": "合约单位",
  13548. "type": "number"
  13549. },
  13550. "auditaccountid": {
  13551. "description": "审核操作员账号",
  13552. "type": "integer"
  13553. },
  13554. "audittime": {
  13555. "description": "审核时间",
  13556. "type": "string"
  13557. },
  13558. "cancelaccountid": {
  13559. "description": "注销操作员账号",
  13560. "type": "integer"
  13561. },
  13562. "canceltime": {
  13563. "description": "注销时间",
  13564. "type": "string"
  13565. },
  13566. "closepricemode": {
  13567. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  13568. "type": "integer"
  13569. },
  13570. "closepriceparam": {
  13571. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  13572. "type": "number"
  13573. },
  13574. "createtime": {
  13575. "description": "创建时间",
  13576. "type": "string"
  13577. },
  13578. "creatorid": {
  13579. "description": "创建人",
  13580. "type": "integer"
  13581. },
  13582. "currencyid": {
  13583. "description": "报价货币ID",
  13584. "type": "integer"
  13585. },
  13586. "cutmode": {
  13587. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  13588. "type": "integer"
  13589. },
  13590. "decimalplace": {
  13591. "description": "报价小数位",
  13592. "type": "integer"
  13593. },
  13594. "delistingdate": {
  13595. "description": "商品退市时间(状态:退市) -- 已作废",
  13596. "type": "string"
  13597. },
  13598. "delistingmode": {
  13599. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  13600. "type": "integer"
  13601. },
  13602. "deliveryflag": {
  13603. "description": "交割标志 - 0:不可交割 1:可交割",
  13604. "type": "integer"
  13605. },
  13606. "forceclosemode": {
  13607. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  13608. "type": "integer"
  13609. },
  13610. "forceclosevalue": {
  13611. "description": "定期强平参数 [收益权]",
  13612. "type": "integer"
  13613. },
  13614. "goodscode": {
  13615. "description": "商品代码(内部)",
  13616. "type": "string"
  13617. },
  13618. "goodscurrencyid": {
  13619. "description": "合约货币ID",
  13620. "type": "integer"
  13621. },
  13622. "goodsgroupid": {
  13623. "description": "所属商品组ID",
  13624. "type": "integer"
  13625. },
  13626. "goodsid": {
  13627. "description": "商品ID(自增ID SEQ_GOODS)",
  13628. "type": "integer"
  13629. },
  13630. "goodsname": {
  13631. "description": "商品名称",
  13632. "type": "string"
  13633. },
  13634. "goodsquotetype": {
  13635. "description": "合约报价类型: 1-直接报价 2-间接报价",
  13636. "type": "integer"
  13637. },
  13638. "goodsstatus": {
  13639. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  13640. "type": "integer"
  13641. },
  13642. "goodstradetype": {
  13643. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  13644. "type": "integer"
  13645. },
  13646. "goodunitid": {
  13647. "description": "报价单位ID",
  13648. "type": "integer"
  13649. },
  13650. "hasquoter": {
  13651. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  13652. "type": "integer"
  13653. },
  13654. "hqprotecttime": {
  13655. "description": "行情保护时间(秒)",
  13656. "type": "integer"
  13657. },
  13658. "innerdealmode": {
  13659. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  13660. "type": "integer"
  13661. },
  13662. "isbuylimited": {
  13663. "description": "是否限制建仓量 - 0:不限制 1:限制",
  13664. "type": "integer"
  13665. },
  13666. "lasttradedate": {
  13667. "description": "最后交易日期(状态:待退市)",
  13668. "type": "string"
  13669. },
  13670. "listingdate": {
  13671. "description": "交易开始日期",
  13672. "type": "string"
  13673. },
  13674. "marketid": {
  13675. "description": "所属市场ID",
  13676. "type": "integer"
  13677. },
  13678. "modifierid": {
  13679. "description": "修改人",
  13680. "type": "integer"
  13681. },
  13682. "modifystatus": {
  13683. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  13684. "type": "integer"
  13685. },
  13686. "modifytime": {
  13687. "description": "修改时间",
  13688. "type": "string"
  13689. },
  13690. "outerdealmode": {
  13691. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  13692. "type": "integer"
  13693. },
  13694. "outgoodscode": {
  13695. "description": "商品代码(外部)",
  13696. "type": "string"
  13697. },
  13698. "qtydecimalplace": {
  13699. "description": "成交量小数位",
  13700. "type": "integer"
  13701. },
  13702. "quotegear": {
  13703. "description": "行情档位(1-10)",
  13704. "type": "integer"
  13705. },
  13706. "quoteminunit": {
  13707. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13708. "type": "integer"
  13709. },
  13710. "quoteshowtype": {
  13711. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  13712. "type": "integer"
  13713. },
  13714. "quoteshowtypeinterval": {
  13715. "description": "行情报价间隔时间(秒)(成交价时为0)",
  13716. "type": "integer"
  13717. },
  13718. "remark": {
  13719. "description": "备注",
  13720. "type": "string"
  13721. }
  13722. }
  13723. },
  13724. "models.GoodsBrand": {
  13725. "type": "object",
  13726. "properties": {
  13727. "brandid": {
  13728. "description": "品牌ID",
  13729. "type": "integer"
  13730. },
  13731. "brandname": {
  13732. "description": "品牌名称",
  13733. "type": "string"
  13734. },
  13735. "isvalid": {
  13736. "description": "是否有效 - 0:无效 1:有效",
  13737. "type": "integer"
  13738. }
  13739. }
  13740. },
  13741. "models.GoodsGroupConvert": {
  13742. "type": "object",
  13743. "properties": {
  13744. "convertratio": {
  13745. "description": "折算系数",
  13746. "type": "number"
  13747. },
  13748. "dstgoodsgroupid": {
  13749. "description": "目标期货品种ID",
  13750. "type": "integer"
  13751. },
  13752. "goodsgroupname": {
  13753. "description": "期货品种名称",
  13754. "type": "string"
  13755. },
  13756. "outergroupcode": {
  13757. "description": "期货品种代码",
  13758. "type": "string"
  13759. },
  13760. "srcgoodsgroupid": {
  13761. "description": "源期货品种ID",
  13762. "type": "integer"
  13763. }
  13764. }
  13765. },
  13766. "models.GoodsIDAndName": {
  13767. "type": "object",
  13768. "required": [
  13769. "goodscode",
  13770. "goodsid",
  13771. "goodsname",
  13772. "marketid"
  13773. ],
  13774. "properties": {
  13775. "goodscode": {
  13776. "description": "商品代码(内部)",
  13777. "type": "string"
  13778. },
  13779. "goodsid": {
  13780. "description": "商品ID(自增ID SEQ_GOODS)",
  13781. "type": "integer"
  13782. },
  13783. "goodsname": {
  13784. "description": "商品名称",
  13785. "type": "string"
  13786. },
  13787. "marketid": {
  13788. "description": "所属市场ID",
  13789. "type": "integer"
  13790. }
  13791. }
  13792. },
  13793. "models.GoodsTypeModel": {
  13794. "type": "object",
  13795. "properties": {
  13796. "modelid": {
  13797. "description": "型号ID",
  13798. "type": "integer"
  13799. },
  13800. "modelname": {
  13801. "description": "型号名称",
  13802. "type": "string"
  13803. },
  13804. "updatetime": {
  13805. "description": "更新时间",
  13806. "type": "string"
  13807. }
  13808. }
  13809. },
  13810. "models.Goodsgroup": {
  13811. "type": "object",
  13812. "required": [
  13813. "goodsgroupid",
  13814. "goodsgroupname",
  13815. "goodsgroupstatus",
  13816. "marketid"
  13817. ],
  13818. "properties": {
  13819. "agreeunit": {
  13820. "description": "合约单位",
  13821. "type": "number"
  13822. },
  13823. "canshort": {
  13824. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  13825. "type": "integer"
  13826. },
  13827. "closepricemode": {
  13828. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  13829. "type": "integer"
  13830. },
  13831. "closepriceparam": {
  13832. "description": "强平最新价浮动比例 - 方式为2时使用",
  13833. "type": "number"
  13834. },
  13835. "createtime": {
  13836. "description": "创建时间",
  13837. "type": "string"
  13838. },
  13839. "creatorid": {
  13840. "description": "创建人",
  13841. "type": "integer"
  13842. },
  13843. "currencyid": {
  13844. "description": "报价货币ID",
  13845. "type": "integer"
  13846. },
  13847. "decimalplace": {
  13848. "description": "报价小数位",
  13849. "type": "integer"
  13850. },
  13851. "exercisetype": {
  13852. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  13853. "type": "integer"
  13854. },
  13855. "exexchangeid": {
  13856. "description": "外部交易所ID[通道交易]",
  13857. "type": "integer"
  13858. },
  13859. "goodsgroupid": {
  13860. "description": "商品组ID(自增ID)",
  13861. "type": "integer"
  13862. },
  13863. "goodsgroupname": {
  13864. "description": "商品组名称",
  13865. "type": "string"
  13866. },
  13867. "goodsgroupstatus": {
  13868. "description": "商品组状态 - 1:正常 2:注销",
  13869. "type": "integer"
  13870. },
  13871. "goodunitid": {
  13872. "description": "报价单位ID",
  13873. "type": "integer"
  13874. },
  13875. "innerdealmode": {
  13876. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  13877. "type": "integer"
  13878. },
  13879. "isbuylimited": {
  13880. "description": "是否限制建仓量 - 0:不限制 1:限制",
  13881. "type": "integer"
  13882. },
  13883. "marketid": {
  13884. "description": "所属市场ID",
  13885. "type": "integer"
  13886. },
  13887. "modifierid": {
  13888. "description": "修改人",
  13889. "type": "integer"
  13890. },
  13891. "modifytime": {
  13892. "description": "修改时间",
  13893. "type": "string"
  13894. },
  13895. "outerdealmode": {
  13896. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  13897. "type": "integer"
  13898. },
  13899. "outergroupcode": {
  13900. "description": "外部商品组代码[通道交易]",
  13901. "type": "string"
  13902. },
  13903. "premiumdecimalplace": {
  13904. "description": "权利金小数位[场外期权]",
  13905. "type": "integer"
  13906. },
  13907. "premiumspreadalgorithm": {
  13908. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  13909. "type": "integer"
  13910. },
  13911. "premiumspreadvalue": {
  13912. "description": "权利金点差值[场外期权]",
  13913. "type": "number"
  13914. },
  13915. "qtydecimalplace": {
  13916. "description": "成交量小数位",
  13917. "type": "integer"
  13918. },
  13919. "quotegear": {
  13920. "description": "行情档位(1-10)",
  13921. "type": "integer"
  13922. },
  13923. "quoteminunit": {
  13924. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13925. "type": "integer"
  13926. },
  13927. "quoterid": {
  13928. "description": "报价商ID[场外期权]",
  13929. "type": "integer"
  13930. },
  13931. "quotesourcegroupid": {
  13932. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  13933. "type": "integer"
  13934. },
  13935. "syncgoodsqty": {
  13936. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  13937. "type": "integer"
  13938. }
  13939. }
  13940. },
  13941. "models.Goodssortbypreposition": {
  13942. "type": "object",
  13943. "required": [
  13944. "goodscode",
  13945. "tradedate"
  13946. ],
  13947. "properties": {
  13948. "goodscode": {
  13949. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  13950. "type": "string"
  13951. },
  13952. "goodsgroupcode": {
  13953. "description": "品种代码",
  13954. "type": "string"
  13955. },
  13956. "prepositionqty": {
  13957. "description": "昨持仓量",
  13958. "type": "integer"
  13959. },
  13960. "sortindex": {
  13961. "description": "排序",
  13962. "type": "integer"
  13963. },
  13964. "tradedate": {
  13965. "description": "交易日",
  13966. "type": "string"
  13967. },
  13968. "updatetime": {
  13969. "description": "更新时间",
  13970. "type": "string"
  13971. }
  13972. }
  13973. },
  13974. "models.HsbyBuyMyPayOrder": {
  13975. "type": "object",
  13976. "required": [
  13977. "goodscode",
  13978. "goodsname",
  13979. "tradeid",
  13980. "trademode"
  13981. ],
  13982. "properties": {
  13983. "agreeunit": {
  13984. "description": "合约单位",
  13985. "type": "number"
  13986. },
  13987. "buyaccountid": {
  13988. "description": "买方账号ID[报价币种]",
  13989. "type": "integer"
  13990. },
  13991. "buyorderid": {
  13992. "description": "买方委托单号",
  13993. "type": "string"
  13994. },
  13995. "createtime": {
  13996. "description": "创建时间",
  13997. "type": "string"
  13998. },
  13999. "currencysign": {
  14000. "description": "货币符号",
  14001. "type": "string"
  14002. },
  14003. "decimalplace": {
  14004. "description": "报价小数位",
  14005. "type": "integer"
  14006. },
  14007. "goodscode": {
  14008. "description": "商品代码(内部)",
  14009. "type": "string"
  14010. },
  14011. "goodsid": {
  14012. "description": "商品ID",
  14013. "type": "integer"
  14014. },
  14015. "goodsname": {
  14016. "description": "商品名称",
  14017. "type": "string"
  14018. },
  14019. "marketid": {
  14020. "description": "市场ID",
  14021. "type": "integer"
  14022. },
  14023. "offamount": {
  14024. "description": "优惠金额",
  14025. "type": "number"
  14026. },
  14027. "originalamount": {
  14028. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  14029. "type": "number"
  14030. },
  14031. "payamount": {
  14032. "description": "支付金额 = TradeAmount + TradeCharge",
  14033. "type": "number"
  14034. },
  14035. "payflag": {
  14036. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  14037. "type": "integer"
  14038. },
  14039. "paylimitedtime": {
  14040. "description": "支付期限",
  14041. "type": "string"
  14042. },
  14043. "paytime": {
  14044. "description": "付款时间",
  14045. "type": "string"
  14046. },
  14047. "picurls1": {
  14048. "description": "预售商品介绍图片[多张用逗号分隔]",
  14049. "type": "string"
  14050. },
  14051. "picurls2": {
  14052. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  14053. "type": "string"
  14054. },
  14055. "sellaccountid": {
  14056. "description": "卖方账号ID[报价币种]",
  14057. "type": "integer"
  14058. },
  14059. "sellorderid": {
  14060. "description": "卖方委托单号",
  14061. "type": "string"
  14062. },
  14063. "tradeamount": {
  14064. "description": "成交金额",
  14065. "type": "number"
  14066. },
  14067. "tradecharge": {
  14068. "description": "成交手续费(买方)",
  14069. "type": "number"
  14070. },
  14071. "tradedate": {
  14072. "description": "交易日(yyyyMMdd)",
  14073. "type": "string"
  14074. },
  14075. "tradeid": {
  14076. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14077. "type": "string"
  14078. },
  14079. "trademode": {
  14080. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14081. "type": "integer"
  14082. },
  14083. "tradeprice": {
  14084. "description": "成交价格",
  14085. "type": "number"
  14086. },
  14087. "tradeqty": {
  14088. "description": "成交数量",
  14089. "type": "integer"
  14090. },
  14091. "vendorname1": {
  14092. "description": "预售商品供应商名称",
  14093. "type": "string"
  14094. },
  14095. "vendorname2": {
  14096. "description": "挂牌商品供应商名称",
  14097. "type": "string"
  14098. }
  14099. }
  14100. },
  14101. "models.HsbyBuyMyTradeDetail": {
  14102. "type": "object",
  14103. "required": [
  14104. "accountid",
  14105. "buyorsell",
  14106. "goodscode",
  14107. "goodsid",
  14108. "goodsname",
  14109. "marketid",
  14110. "orderid",
  14111. "qty",
  14112. "time",
  14113. "trademode"
  14114. ],
  14115. "properties": {
  14116. "accountid": {
  14117. "description": "账户ID[报价币种]",
  14118. "type": "integer"
  14119. },
  14120. "agreeunit": {
  14121. "description": "合约单位",
  14122. "type": "number"
  14123. },
  14124. "amount": {
  14125. "description": "金额 = 价格 * 数量 * 合约单位",
  14126. "type": "number"
  14127. },
  14128. "buyorsell": {
  14129. "description": "买卖 - 0:买 1:卖",
  14130. "type": "integer"
  14131. },
  14132. "currencysign": {
  14133. "description": "货币符号",
  14134. "type": "string"
  14135. },
  14136. "decimalplace": {
  14137. "description": "报价小数位",
  14138. "type": "integer"
  14139. },
  14140. "goodscode": {
  14141. "description": "商品代码(内部)",
  14142. "type": "string"
  14143. },
  14144. "goodsid": {
  14145. "description": "商品ID",
  14146. "type": "integer"
  14147. },
  14148. "goodsname": {
  14149. "description": "商品名称",
  14150. "type": "string"
  14151. },
  14152. "marketid": {
  14153. "description": "市场ID",
  14154. "type": "integer"
  14155. },
  14156. "orderamount": {
  14157. "description": "委托金额",
  14158. "type": "number"
  14159. },
  14160. "orderid": {
  14161. "description": "单号(成交单号)",
  14162. "type": "string"
  14163. },
  14164. "picurls1": {
  14165. "description": "预售商品介绍图片[多张用逗号分隔]",
  14166. "type": "string"
  14167. },
  14168. "picurls2": {
  14169. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  14170. "type": "string"
  14171. },
  14172. "price": {
  14173. "description": "价格",
  14174. "type": "number"
  14175. },
  14176. "qty": {
  14177. "description": "数量",
  14178. "type": "integer"
  14179. },
  14180. "time": {
  14181. "description": "时间",
  14182. "type": "string"
  14183. },
  14184. "trademode": {
  14185. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14186. "type": "integer"
  14187. },
  14188. "vendorname1": {
  14189. "description": "预售商品供应商名称",
  14190. "type": "string"
  14191. },
  14192. "vendorname2": {
  14193. "description": "挂牌商品供应商名称",
  14194. "type": "string"
  14195. }
  14196. }
  14197. },
  14198. "models.HsbyGoodsOrderDetail": {
  14199. "type": "object",
  14200. "required": [
  14201. "buyorsell",
  14202. "orderid",
  14203. "ordertime"
  14204. ],
  14205. "properties": {
  14206. "buyorsell": {
  14207. "description": "买卖 - 0:买 1:卖",
  14208. "type": "integer"
  14209. },
  14210. "currencysign": {
  14211. "description": "货币符号",
  14212. "type": "string"
  14213. },
  14214. "customername": {
  14215. "description": "客户名称(企业名称),已脱敏",
  14216. "type": "string"
  14217. },
  14218. "enableqty": {
  14219. "description": "可用数量",
  14220. "type": "integer"
  14221. },
  14222. "goodunit": {
  14223. "description": "报价单位",
  14224. "type": "string"
  14225. },
  14226. "orderid": {
  14227. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14228. "type": "string"
  14229. },
  14230. "orderprice": {
  14231. "description": "委托价格",
  14232. "type": "number"
  14233. },
  14234. "ordertime": {
  14235. "description": "委托时间",
  14236. "type": "string"
  14237. }
  14238. }
  14239. },
  14240. "models.HsbyListingGoodsDetail": {
  14241. "type": "object",
  14242. "required": [
  14243. "goodscode",
  14244. "goodsid",
  14245. "goodsname",
  14246. "marketid",
  14247. "trademode"
  14248. ],
  14249. "properties": {
  14250. "agreeunit": {
  14251. "description": "合约单位",
  14252. "type": "number"
  14253. },
  14254. "buymaxqty": {
  14255. "description": "购买上限 [71] - 0为不限",
  14256. "type": "integer"
  14257. },
  14258. "currency": {
  14259. "description": "货币",
  14260. "type": "string"
  14261. },
  14262. "currencysign": {
  14263. "description": "货币符号",
  14264. "type": "string"
  14265. },
  14266. "decimalplace": {
  14267. "description": "报价小数位",
  14268. "type": "integer"
  14269. },
  14270. "desccityid": {
  14271. "description": "目的地(市)ID",
  14272. "type": "integer"
  14273. },
  14274. "descprovinceid": {
  14275. "description": "目的地(省)ID",
  14276. "type": "integer"
  14277. },
  14278. "goodscode": {
  14279. "description": "商品代码(内部)",
  14280. "type": "string"
  14281. },
  14282. "goodsdesc": {
  14283. "description": "商品详情",
  14284. "type": "string"
  14285. },
  14286. "goodsid": {
  14287. "description": "商品ID(自增ID SEQ_GOODS)",
  14288. "type": "integer"
  14289. },
  14290. "goodsname": {
  14291. "description": "商品名称",
  14292. "type": "string"
  14293. },
  14294. "goodsprice": {
  14295. "description": "商品价格",
  14296. "type": "number"
  14297. },
  14298. "hotindex": {
  14299. "description": "景点热度",
  14300. "type": "integer"
  14301. },
  14302. "last": {
  14303. "description": "现价",
  14304. "type": "number"
  14305. },
  14306. "limitdown": {
  14307. "description": "跌停价",
  14308. "type": "number"
  14309. },
  14310. "limitup": {
  14311. "description": "涨停价",
  14312. "type": "number"
  14313. },
  14314. "lotsize": {
  14315. "description": "手数最小变动单位",
  14316. "type": "integer"
  14317. },
  14318. "marketid": {
  14319. "description": "所属市场ID",
  14320. "type": "integer"
  14321. },
  14322. "picurls": {
  14323. "description": "介绍图片[多张用逗号分隔]",
  14324. "type": "string"
  14325. },
  14326. "quoteminunit": {
  14327. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14328. "type": "integer"
  14329. },
  14330. "stepvalue": {
  14331. "description": "价格最小变动单位",
  14332. "type": "number"
  14333. },
  14334. "trademode": {
  14335. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14336. "type": "integer"
  14337. },
  14338. "vendorattr": {
  14339. "description": "供应商附件(多张,逗号分隔)",
  14340. "type": "string"
  14341. },
  14342. "vendorname": {
  14343. "description": "供应商名称",
  14344. "type": "string"
  14345. },
  14346. "vendorphone": {
  14347. "description": "供应商客服电话",
  14348. "type": "string"
  14349. },
  14350. "videourls": {
  14351. "description": "介绍视频[多张用逗号分隔]",
  14352. "type": "string"
  14353. }
  14354. }
  14355. },
  14356. "models.HsbyMarketGoods": {
  14357. "type": "object",
  14358. "required": [
  14359. "accountid",
  14360. "buyorsell",
  14361. "goodscode",
  14362. "goodsid",
  14363. "goodsname",
  14364. "marketid",
  14365. "orderid",
  14366. "trademode"
  14367. ],
  14368. "properties": {
  14369. "accountid": {
  14370. "description": "账户ID[报价币种]",
  14371. "type": "integer"
  14372. },
  14373. "agreeunit": {
  14374. "description": "合约单位",
  14375. "type": "number"
  14376. },
  14377. "buyorsell": {
  14378. "description": "买卖 - 0:买 1:卖",
  14379. "type": "integer"
  14380. },
  14381. "categoryid": {
  14382. "description": "类别ID(WRCATEGORY)",
  14383. "type": "integer"
  14384. },
  14385. "currency": {
  14386. "description": "货币",
  14387. "type": "string"
  14388. },
  14389. "currencysign": {
  14390. "description": "货币符号",
  14391. "type": "string"
  14392. },
  14393. "customername": {
  14394. "description": "卖家名称",
  14395. "type": "string"
  14396. },
  14397. "decimalplace": {
  14398. "description": "报价小数位",
  14399. "type": "integer"
  14400. },
  14401. "goodscode": {
  14402. "description": "商品代码(内部)",
  14403. "type": "string"
  14404. },
  14405. "goodsid": {
  14406. "description": "商品ID",
  14407. "type": "integer"
  14408. },
  14409. "goodsname": {
  14410. "description": "商品名称",
  14411. "type": "string"
  14412. },
  14413. "goodsprice": {
  14414. "description": "商品价格",
  14415. "type": "number"
  14416. },
  14417. "hascoupon": {
  14418. "description": "是否可用优惠卷",
  14419. "type": "boolean"
  14420. },
  14421. "hotindex": {
  14422. "description": "景点热度",
  14423. "type": "integer"
  14424. },
  14425. "marketid": {
  14426. "description": "市场ID",
  14427. "type": "integer"
  14428. },
  14429. "orderid": {
  14430. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14431. "type": "string"
  14432. },
  14433. "orderprice": {
  14434. "description": "委托价格",
  14435. "type": "number"
  14436. },
  14437. "orderstatus": {
  14438. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14439. "type": "integer"
  14440. },
  14441. "picurls": {
  14442. "description": "介绍图片[多张用逗号分隔]",
  14443. "type": "string"
  14444. },
  14445. "quoteminunit": {
  14446. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14447. "type": "integer"
  14448. },
  14449. "sellUserID": {
  14450. "description": "卖方UserID",
  14451. "type": "integer"
  14452. },
  14453. "trademode": {
  14454. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14455. "type": "integer"
  14456. },
  14457. "videourls": {
  14458. "description": "介绍视频[多张用逗号分隔]",
  14459. "type": "string"
  14460. }
  14461. }
  14462. },
  14463. "models.HsbyMarketGoodsDetail": {
  14464. "type": "object",
  14465. "required": [
  14466. "accountid",
  14467. "buyorsell",
  14468. "goodscode",
  14469. "goodsid",
  14470. "goodsname",
  14471. "marketid",
  14472. "orderid",
  14473. "orderqty",
  14474. "trademode"
  14475. ],
  14476. "properties": {
  14477. "accountid": {
  14478. "description": "账户ID[报价币种]",
  14479. "type": "integer"
  14480. },
  14481. "agreeunit": {
  14482. "description": "合约单位",
  14483. "type": "number"
  14484. },
  14485. "buymaxqty": {
  14486. "description": "购买上限 [71] - 0为不限",
  14487. "type": "integer"
  14488. },
  14489. "buyorsell": {
  14490. "description": "买卖 - 0:买 1:卖",
  14491. "type": "integer"
  14492. },
  14493. "cancelqty": {
  14494. "description": "撤单数量",
  14495. "type": "integer"
  14496. },
  14497. "categoryid": {
  14498. "description": "类别ID(WRCATEGORY)",
  14499. "type": "integer"
  14500. },
  14501. "currency": {
  14502. "description": "货币",
  14503. "type": "string"
  14504. },
  14505. "currencysign": {
  14506. "description": "货币符号",
  14507. "type": "string"
  14508. },
  14509. "customername": {
  14510. "description": "卖家名称",
  14511. "type": "string"
  14512. },
  14513. "decimalplace": {
  14514. "description": "报价小数位",
  14515. "type": "integer"
  14516. },
  14517. "goodscode": {
  14518. "description": "商品代码(内部)",
  14519. "type": "string"
  14520. },
  14521. "goodsdesc": {
  14522. "description": "商品详情",
  14523. "type": "string"
  14524. },
  14525. "goodsid": {
  14526. "description": "商品ID",
  14527. "type": "integer"
  14528. },
  14529. "goodsname": {
  14530. "description": "商品名称",
  14531. "type": "string"
  14532. },
  14533. "goodsprice": {
  14534. "description": "商品价格",
  14535. "type": "number"
  14536. },
  14537. "hotindex": {
  14538. "description": "景点热度",
  14539. "type": "integer"
  14540. },
  14541. "lotsize": {
  14542. "description": "手数最小变动单位",
  14543. "type": "integer"
  14544. },
  14545. "marketid": {
  14546. "description": "市场ID",
  14547. "type": "integer"
  14548. },
  14549. "orderid": {
  14550. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14551. "type": "string"
  14552. },
  14553. "orderprice": {
  14554. "description": "委托价格",
  14555. "type": "number"
  14556. },
  14557. "orderqty": {
  14558. "description": "委托数量",
  14559. "type": "integer"
  14560. },
  14561. "orderstatus": {
  14562. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14563. "type": "integer"
  14564. },
  14565. "picurls": {
  14566. "description": "介绍图片[多张用逗号分隔]",
  14567. "type": "string"
  14568. },
  14569. "quoteminunit": {
  14570. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14571. "type": "integer"
  14572. },
  14573. "sellUserID": {
  14574. "description": "卖方UserID",
  14575. "type": "integer"
  14576. },
  14577. "trademode": {
  14578. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14579. "type": "integer"
  14580. },
  14581. "tradeqty": {
  14582. "description": "成交数量",
  14583. "type": "integer"
  14584. },
  14585. "vendorattr": {
  14586. "description": "供应商附件(多张,逗号分隔)",
  14587. "type": "string"
  14588. },
  14589. "vendorname": {
  14590. "description": "供应商名称",
  14591. "type": "string"
  14592. },
  14593. "vendorphone": {
  14594. "description": "供应商客服电话",
  14595. "type": "string"
  14596. },
  14597. "videourls": {
  14598. "description": "介绍视频[多张用逗号分隔]",
  14599. "type": "string"
  14600. }
  14601. }
  14602. },
  14603. "models.HsbyMarketInfo": {
  14604. "type": "object",
  14605. "required": [
  14606. "marketid",
  14607. "marketstatus",
  14608. "trademode"
  14609. ],
  14610. "properties": {
  14611. "marketid": {
  14612. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  14613. "type": "integer"
  14614. },
  14615. "marketname": {
  14616. "description": "市场名称",
  14617. "type": "string"
  14618. },
  14619. "marketstatus": {
  14620. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  14621. "type": "integer"
  14622. },
  14623. "trademode": {
  14624. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14625. "type": "integer"
  14626. }
  14627. }
  14628. },
  14629. "models.HsbyMyGoods": {
  14630. "type": "object",
  14631. "required": [
  14632. "accountid",
  14633. "goodscode",
  14634. "goodsid",
  14635. "goodsname",
  14636. "marketid",
  14637. "trademode"
  14638. ],
  14639. "properties": {
  14640. "accountid": {
  14641. "description": "账号Id",
  14642. "type": "integer"
  14643. },
  14644. "agreeunit": {
  14645. "description": "合约单位",
  14646. "type": "number"
  14647. },
  14648. "buyaverageprice": {
  14649. "description": "持仓均价",
  14650. "type": "number"
  14651. },
  14652. "buycurholderamount": {
  14653. "description": "买当前持仓总金额[商品币种]",
  14654. "type": "number"
  14655. },
  14656. "buycurpositionqty": {
  14657. "description": "买当前持仓总数量",
  14658. "type": "integer"
  14659. },
  14660. "buymaxqty": {
  14661. "description": "购买上限 [71] - 0为不限",
  14662. "type": "integer"
  14663. },
  14664. "currencysign": {
  14665. "description": "货币符号",
  14666. "type": "string"
  14667. },
  14668. "decimalplace": {
  14669. "description": "报价小数位",
  14670. "type": "integer"
  14671. },
  14672. "enableqty": {
  14673. "description": "可用数量",
  14674. "type": "integer"
  14675. },
  14676. "goodscode": {
  14677. "description": "商品代码(内部)",
  14678. "type": "string"
  14679. },
  14680. "goodsid": {
  14681. "description": "商品Id",
  14682. "type": "integer"
  14683. },
  14684. "goodsname": {
  14685. "description": "商品名称",
  14686. "type": "string"
  14687. },
  14688. "goodsprice": {
  14689. "description": "商品价格",
  14690. "type": "number"
  14691. },
  14692. "goodsstatus": {
  14693. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  14694. "type": "integer"
  14695. },
  14696. "last": {
  14697. "description": "现价(仅使用于挂牌点选)",
  14698. "type": "number"
  14699. },
  14700. "limitdown": {
  14701. "description": "跌停价(仅使用于挂牌点选)",
  14702. "type": "number"
  14703. },
  14704. "limitup": {
  14705. "description": "涨停价(仅使用于挂牌点选)",
  14706. "type": "number"
  14707. },
  14708. "lotsize": {
  14709. "description": "手数最小变动单位",
  14710. "type": "integer"
  14711. },
  14712. "marketid": {
  14713. "description": "所属市场ID",
  14714. "type": "integer"
  14715. },
  14716. "picurls": {
  14717. "description": "介绍图片[多张用逗号分隔]",
  14718. "type": "string"
  14719. },
  14720. "quoteminunit": {
  14721. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14722. "type": "integer"
  14723. },
  14724. "stepvalue": {
  14725. "description": "价格最小变动单位",
  14726. "type": "number"
  14727. },
  14728. "trademode": {
  14729. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14730. "type": "integer"
  14731. }
  14732. }
  14733. },
  14734. "models.HsbyMyPackage": {
  14735. "type": "object",
  14736. "required": [
  14737. "goodscode",
  14738. "goodsname",
  14739. "takeorderid",
  14740. "trademode"
  14741. ],
  14742. "properties": {
  14743. "accountid": {
  14744. "description": "账户ID",
  14745. "type": "integer"
  14746. },
  14747. "address": {
  14748. "description": "提货人详细地址",
  14749. "type": "string"
  14750. },
  14751. "agreeunit": {
  14752. "description": "合约单位",
  14753. "type": "number"
  14754. },
  14755. "amount": {
  14756. "description": "提货金额",
  14757. "type": "number"
  14758. },
  14759. "auditer": {
  14760. "description": "审核人",
  14761. "type": "integer"
  14762. },
  14763. "audittime": {
  14764. "description": "审核时间",
  14765. "type": "string"
  14766. },
  14767. "averageprice": {
  14768. "description": "均价",
  14769. "type": "number"
  14770. },
  14771. "cardnum": {
  14772. "description": "提货人证件号码",
  14773. "type": "string"
  14774. },
  14775. "cardtypeid": {
  14776. "description": "提货人证件类型",
  14777. "type": "integer"
  14778. },
  14779. "checkremark": {
  14780. "description": "审核备注",
  14781. "type": "string"
  14782. },
  14783. "currencysign": {
  14784. "description": "货币符号",
  14785. "type": "string"
  14786. },
  14787. "decimalplace": {
  14788. "description": "报价小数位",
  14789. "type": "integer"
  14790. },
  14791. "goodscode": {
  14792. "description": "商品代码(内部)",
  14793. "type": "string"
  14794. },
  14795. "goodsid": {
  14796. "description": "商品ID",
  14797. "type": "integer"
  14798. },
  14799. "goodsname": {
  14800. "description": "商品名称",
  14801. "type": "string"
  14802. },
  14803. "handlestatus": {
  14804. "description": "处理状态",
  14805. "type": "integer"
  14806. },
  14807. "marketid": {
  14808. "description": "市场ID",
  14809. "type": "integer"
  14810. },
  14811. "phonenum": {
  14812. "description": "提货人联系方式",
  14813. "type": "string"
  14814. },
  14815. "picurls": {
  14816. "description": "介绍图片[多张用逗号分隔]",
  14817. "type": "string"
  14818. },
  14819. "qty": {
  14820. "description": "提货数量",
  14821. "type": "number"
  14822. },
  14823. "recivername": {
  14824. "description": "提货人姓名",
  14825. "type": "string"
  14826. },
  14827. "reqtime": {
  14828. "description": "更新时间",
  14829. "type": "string"
  14830. },
  14831. "takemode": {
  14832. "description": "提货方式 - 2:自提 3:配送",
  14833. "type": "integer"
  14834. },
  14835. "takeorderid": {
  14836. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  14837. "type": "string"
  14838. },
  14839. "takeorderstatus": {
  14840. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  14841. "type": "integer"
  14842. },
  14843. "takeremark": {
  14844. "description": "提货备注",
  14845. "type": "string"
  14846. },
  14847. "tradedate": {
  14848. "description": "交易日(yyyyMMdd)",
  14849. "type": "string"
  14850. },
  14851. "trademode": {
  14852. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14853. "type": "integer"
  14854. },
  14855. "userid": {
  14856. "description": "用户ID",
  14857. "type": "integer"
  14858. },
  14859. "vendorname": {
  14860. "description": "供应商名称",
  14861. "type": "string"
  14862. }
  14863. }
  14864. },
  14865. "models.HsbyPreGoods": {
  14866. "type": "object",
  14867. "required": [
  14868. "goodscode",
  14869. "goodsid",
  14870. "goodsname",
  14871. "marketid",
  14872. "trademode"
  14873. ],
  14874. "properties": {
  14875. "agreeunit": {
  14876. "description": "合约单位",
  14877. "type": "number"
  14878. },
  14879. "currency": {
  14880. "description": "货币",
  14881. "type": "string"
  14882. },
  14883. "currencysign": {
  14884. "description": "货币符号",
  14885. "type": "string"
  14886. },
  14887. "decimalplace": {
  14888. "description": "报价小数位",
  14889. "type": "integer"
  14890. },
  14891. "desccityid": {
  14892. "description": "目的地(市)",
  14893. "type": "integer"
  14894. },
  14895. "descprovinceid": {
  14896. "description": "目的地(省)",
  14897. "type": "integer"
  14898. },
  14899. "enableqty": {
  14900. "description": "剩余数量",
  14901. "type": "integer"
  14902. },
  14903. "goodscode": {
  14904. "description": "商品代码(内部)",
  14905. "type": "string"
  14906. },
  14907. "goodsid": {
  14908. "description": "商品ID(自增ID SEQ_GOODS)",
  14909. "type": "integer"
  14910. },
  14911. "goodsname": {
  14912. "description": "商品名称",
  14913. "type": "string"
  14914. },
  14915. "goodsstatus": {
  14916. "description": "商品状态- 2:未上市 3:上市",
  14917. "type": "integer"
  14918. },
  14919. "lasttradedate": {
  14920. "description": "最后交易日期(状态:待退市)",
  14921. "type": "string"
  14922. },
  14923. "listingdate": {
  14924. "description": "交易开始日期",
  14925. "type": "string"
  14926. },
  14927. "marketid": {
  14928. "description": "所属市场ID",
  14929. "type": "integer"
  14930. },
  14931. "picurls": {
  14932. "description": "介绍图片[多张用逗号分隔]",
  14933. "type": "string"
  14934. },
  14935. "presaledqty": {
  14936. "description": "已预售量(预售结束时更新)",
  14937. "type": "integer"
  14938. },
  14939. "presaleqty": {
  14940. "description": "预售数量",
  14941. "type": "integer"
  14942. },
  14943. "quoteminunit": {
  14944. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14945. "type": "integer"
  14946. },
  14947. "refprice": {
  14948. "description": "参考价格[一口价]",
  14949. "type": "number"
  14950. },
  14951. "relatedgoodsid": {
  14952. "description": "关联交易合约ID",
  14953. "type": "integer"
  14954. },
  14955. "trademode": {
  14956. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14957. "type": "integer"
  14958. },
  14959. "videourls": {
  14960. "description": "介绍视频[多张用逗号分隔]",
  14961. "type": "string"
  14962. }
  14963. }
  14964. },
  14965. "models.HsbyPreGoodsDetail": {
  14966. "type": "object",
  14967. "required": [
  14968. "goodscode",
  14969. "goodsid",
  14970. "goodsname",
  14971. "marketid",
  14972. "trademode"
  14973. ],
  14974. "properties": {
  14975. "agreeunit": {
  14976. "description": "合约单位",
  14977. "type": "number"
  14978. },
  14979. "buymaxqty": {
  14980. "description": "购买上限 [71] - 0为不限",
  14981. "type": "integer"
  14982. },
  14983. "currency": {
  14984. "description": "货币",
  14985. "type": "string"
  14986. },
  14987. "currencysign": {
  14988. "description": "货币符号",
  14989. "type": "string"
  14990. },
  14991. "customername": {
  14992. "description": "发行单位",
  14993. "type": "string"
  14994. },
  14995. "decimalplace": {
  14996. "description": "报价小数位",
  14997. "type": "integer"
  14998. },
  14999. "desccityid": {
  15000. "description": "目的地(市)ID",
  15001. "type": "integer"
  15002. },
  15003. "descprovinceid": {
  15004. "description": "目的地(省)ID",
  15005. "type": "integer"
  15006. },
  15007. "enableqty": {
  15008. "description": "剩余数量",
  15009. "type": "integer"
  15010. },
  15011. "goodscode": {
  15012. "description": "商品代码(内部)",
  15013. "type": "string"
  15014. },
  15015. "goodsdesc": {
  15016. "description": "商品详情",
  15017. "type": "string"
  15018. },
  15019. "goodsid": {
  15020. "description": "商品ID(自增ID SEQ_GOODS)",
  15021. "type": "integer"
  15022. },
  15023. "goodsname": {
  15024. "description": "商品名称",
  15025. "type": "string"
  15026. },
  15027. "goodsstatus": {
  15028. "description": "商品状态- 2:未上市 3:上市",
  15029. "type": "integer"
  15030. },
  15031. "goodunit": {
  15032. "description": "报价单位",
  15033. "type": "string"
  15034. },
  15035. "lasttradedate": {
  15036. "description": "最后交易日期(状态:待退市)",
  15037. "type": "string"
  15038. },
  15039. "listingdate": {
  15040. "description": "交易开始日期",
  15041. "type": "string"
  15042. },
  15043. "lotsize": {
  15044. "description": "手数最小变动单位",
  15045. "type": "integer"
  15046. },
  15047. "marketid": {
  15048. "description": "所属市场ID",
  15049. "type": "integer"
  15050. },
  15051. "picurls": {
  15052. "description": "介绍图片[多张用逗号分隔]",
  15053. "type": "string"
  15054. },
  15055. "presaledqty": {
  15056. "description": "已预售量(预售结束时更新)",
  15057. "type": "integer"
  15058. },
  15059. "presaleqty": {
  15060. "description": "预售数量",
  15061. "type": "integer"
  15062. },
  15063. "quoteminunit": {
  15064. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15065. "type": "integer"
  15066. },
  15067. "refprice": {
  15068. "description": "参考价格[一口价]",
  15069. "type": "number"
  15070. },
  15071. "relatedgoodsid": {
  15072. "description": "关联交易合约ID",
  15073. "type": "integer"
  15074. },
  15075. "stepvalue": {
  15076. "description": "价格最小变动单位",
  15077. "type": "number"
  15078. },
  15079. "trademode": {
  15080. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15081. "type": "integer"
  15082. },
  15083. "vendorattr": {
  15084. "description": "供应商附件(多张,逗号分隔)",
  15085. "type": "string"
  15086. },
  15087. "vendorname": {
  15088. "description": "供应商名称",
  15089. "type": "string"
  15090. },
  15091. "vendorphone": {
  15092. "description": "供应商客服电话",
  15093. "type": "string"
  15094. },
  15095. "videourls": {
  15096. "description": "介绍视频[多张用逗号分隔]",
  15097. "type": "string"
  15098. }
  15099. }
  15100. },
  15101. "models.HsbySellCollectionOrder": {
  15102. "type": "object",
  15103. "required": [
  15104. "goodscode",
  15105. "goodsname",
  15106. "tradeid",
  15107. "trademode"
  15108. ],
  15109. "properties": {
  15110. "agreeunit": {
  15111. "description": "合约单位",
  15112. "type": "number"
  15113. },
  15114. "buyaccountid": {
  15115. "description": "买方账号ID[报价币种]",
  15116. "type": "integer"
  15117. },
  15118. "buyorderid": {
  15119. "description": "买方委托单号",
  15120. "type": "string"
  15121. },
  15122. "createtime": {
  15123. "description": "创建时间",
  15124. "type": "string"
  15125. },
  15126. "currencysign": {
  15127. "description": "货币符号",
  15128. "type": "string"
  15129. },
  15130. "decimalplace": {
  15131. "description": "报价小数位",
  15132. "type": "integer"
  15133. },
  15134. "goodscode": {
  15135. "description": "商品代码(内部)",
  15136. "type": "string"
  15137. },
  15138. "goodsid": {
  15139. "description": "商品ID",
  15140. "type": "integer"
  15141. },
  15142. "goodsname": {
  15143. "description": "商品名称",
  15144. "type": "string"
  15145. },
  15146. "marketid": {
  15147. "description": "市场ID",
  15148. "type": "integer"
  15149. },
  15150. "offamount": {
  15151. "description": "优惠金额",
  15152. "type": "number"
  15153. },
  15154. "payamount": {
  15155. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  15156. "type": "number"
  15157. },
  15158. "payflag": {
  15159. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  15160. "type": "integer"
  15161. },
  15162. "paylimitedtime": {
  15163. "description": "支付期限",
  15164. "type": "string"
  15165. },
  15166. "paytime": {
  15167. "description": "付款时间",
  15168. "type": "string"
  15169. },
  15170. "picurls": {
  15171. "description": "商品介绍图片[多张用逗号分隔]",
  15172. "type": "string"
  15173. },
  15174. "sellaccountid": {
  15175. "description": "卖方账号ID[报价币种]",
  15176. "type": "integer"
  15177. },
  15178. "sellorderid": {
  15179. "description": "卖方委托单号",
  15180. "type": "string"
  15181. },
  15182. "tradeamount": {
  15183. "description": "成交金额",
  15184. "type": "number"
  15185. },
  15186. "tradecharge": {
  15187. "description": "成交手续费(买方)",
  15188. "type": "number"
  15189. },
  15190. "tradedate": {
  15191. "description": "交易日(yyyyMMdd)",
  15192. "type": "string"
  15193. },
  15194. "tradeid": {
  15195. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15196. "type": "string"
  15197. },
  15198. "trademode": {
  15199. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15200. "type": "integer"
  15201. },
  15202. "tradeprice": {
  15203. "description": "成交价格",
  15204. "type": "number"
  15205. },
  15206. "tradeqty": {
  15207. "description": "成交数量",
  15208. "type": "integer"
  15209. }
  15210. }
  15211. },
  15212. "models.HsbySellMyDetail": {
  15213. "type": "object",
  15214. "required": [
  15215. "accountid",
  15216. "buyorsell",
  15217. "goodscode",
  15218. "goodsid",
  15219. "goodsname",
  15220. "marketid",
  15221. "orderid",
  15222. "time",
  15223. "trademode"
  15224. ],
  15225. "properties": {
  15226. "accountid": {
  15227. "description": "账户ID[报价币种]",
  15228. "type": "integer"
  15229. },
  15230. "agreeunit": {
  15231. "description": "合约单位",
  15232. "type": "number"
  15233. },
  15234. "buyorsell": {
  15235. "description": "买卖 - 0:买 1:卖",
  15236. "type": "integer"
  15237. },
  15238. "currencysign": {
  15239. "description": "货币符号",
  15240. "type": "string"
  15241. },
  15242. "decimalplace": {
  15243. "description": "报价小数位",
  15244. "type": "integer"
  15245. },
  15246. "goodscode": {
  15247. "description": "商品代码(内部)",
  15248. "type": "string"
  15249. },
  15250. "goodsid": {
  15251. "description": "商品ID",
  15252. "type": "integer"
  15253. },
  15254. "goodsname": {
  15255. "description": "商品名称",
  15256. "type": "string"
  15257. },
  15258. "marketid": {
  15259. "description": "市场ID",
  15260. "type": "integer"
  15261. },
  15262. "orderid": {
  15263. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  15264. "type": "string"
  15265. },
  15266. "ordertype": {
  15267. "description": "单据类型:0 - 发布中, 1 - 已完成",
  15268. "type": "integer"
  15269. },
  15270. "picurls": {
  15271. "description": "介绍图片[多张用逗号分隔]",
  15272. "type": "string"
  15273. },
  15274. "price": {
  15275. "description": "价格",
  15276. "type": "number"
  15277. },
  15278. "qty": {
  15279. "description": "数量",
  15280. "type": "integer"
  15281. },
  15282. "time": {
  15283. "description": "时间",
  15284. "type": "string"
  15285. },
  15286. "trademode": {
  15287. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15288. "type": "integer"
  15289. },
  15290. "vendorname": {
  15291. "description": "供应商名称",
  15292. "type": "string"
  15293. }
  15294. }
  15295. },
  15296. "models.HsbyTopGoods": {
  15297. "type": "object",
  15298. "required": [
  15299. "goodscode",
  15300. "goodsid",
  15301. "goodsname",
  15302. "marketid",
  15303. "trademode"
  15304. ],
  15305. "properties": {
  15306. "agreeunit": {
  15307. "description": "合约单位",
  15308. "type": "number"
  15309. },
  15310. "currency": {
  15311. "description": "货币",
  15312. "type": "string"
  15313. },
  15314. "currencysign": {
  15315. "description": "货币符号",
  15316. "type": "string"
  15317. },
  15318. "decimalplace": {
  15319. "description": "报价小数位",
  15320. "type": "integer"
  15321. },
  15322. "desccityid": {
  15323. "description": "目的地(市)",
  15324. "type": "integer"
  15325. },
  15326. "descprovinceid": {
  15327. "description": "目的地(省)",
  15328. "type": "integer"
  15329. },
  15330. "goodscode": {
  15331. "description": "商品代码(内部)",
  15332. "type": "string"
  15333. },
  15334. "goodsid": {
  15335. "description": "商品ID(自增ID SEQ_GOODS)",
  15336. "type": "integer"
  15337. },
  15338. "goodsname": {
  15339. "description": "商品名称",
  15340. "type": "string"
  15341. },
  15342. "hotindex": {
  15343. "description": "景点热度",
  15344. "type": "integer"
  15345. },
  15346. "last": {
  15347. "description": "现价",
  15348. "type": "number"
  15349. },
  15350. "marketid": {
  15351. "description": "所属市场ID",
  15352. "type": "integer"
  15353. },
  15354. "picurls": {
  15355. "description": "介绍图片[多张用逗号分隔]",
  15356. "type": "string"
  15357. },
  15358. "quoteminunit": {
  15359. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15360. "type": "integer"
  15361. },
  15362. "trademode": {
  15363. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15364. "type": "integer"
  15365. },
  15366. "videourls": {
  15367. "description": "介绍视频[多张用逗号分隔]",
  15368. "type": "string"
  15369. }
  15370. }
  15371. },
  15372. "models.HybsMyBuyOrderDetail": {
  15373. "type": "object",
  15374. "required": [
  15375. "accountid",
  15376. "buyorsell",
  15377. "goodscode",
  15378. "goodsid",
  15379. "goodsname",
  15380. "marketid",
  15381. "orderid",
  15382. "orderqty",
  15383. "ordertime",
  15384. "trademode"
  15385. ],
  15386. "properties": {
  15387. "accountid": {
  15388. "description": "账户ID[报价币种]",
  15389. "type": "integer"
  15390. },
  15391. "agreeunit": {
  15392. "description": "合约单位",
  15393. "type": "number"
  15394. },
  15395. "buyorsell": {
  15396. "description": "买卖 - 0:买 1:卖",
  15397. "type": "integer"
  15398. },
  15399. "cancelqty": {
  15400. "description": "撤单数量",
  15401. "type": "integer"
  15402. },
  15403. "currencysign": {
  15404. "description": "货币符号",
  15405. "type": "string"
  15406. },
  15407. "decimalplace": {
  15408. "description": "报价小数位",
  15409. "type": "integer"
  15410. },
  15411. "goodscode": {
  15412. "description": "商品代码(内部)",
  15413. "type": "string"
  15414. },
  15415. "goodsid": {
  15416. "description": "商品ID",
  15417. "type": "integer"
  15418. },
  15419. "goodsname": {
  15420. "description": "商品名称",
  15421. "type": "string"
  15422. },
  15423. "listingselecttype": {
  15424. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15425. "type": "integer"
  15426. },
  15427. "marketid": {
  15428. "description": "市场ID",
  15429. "type": "integer"
  15430. },
  15431. "mybuystatus": {
  15432. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  15433. "type": "integer"
  15434. },
  15435. "orderamount": {
  15436. "description": "委托金额",
  15437. "type": "number"
  15438. },
  15439. "orderid": {
  15440. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15441. "type": "string"
  15442. },
  15443. "orderprice": {
  15444. "description": "委托价格",
  15445. "type": "number"
  15446. },
  15447. "orderqty": {
  15448. "description": "委托数量",
  15449. "type": "integer"
  15450. },
  15451. "orderstatus": {
  15452. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15453. "type": "integer"
  15454. },
  15455. "ordertime": {
  15456. "description": "委托时间",
  15457. "type": "string"
  15458. },
  15459. "picurls1": {
  15460. "description": "预售商品介绍图片[多张用逗号分隔]",
  15461. "type": "string"
  15462. },
  15463. "picurls2": {
  15464. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  15465. "type": "string"
  15466. },
  15467. "trademode": {
  15468. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15469. "type": "integer"
  15470. },
  15471. "tradeqty": {
  15472. "description": "成交数量",
  15473. "type": "integer"
  15474. },
  15475. "vendorname1": {
  15476. "description": "预售商品供应商名称",
  15477. "type": "string"
  15478. },
  15479. "vendorname2": {
  15480. "description": "挂牌商品供应商名称",
  15481. "type": "string"
  15482. }
  15483. }
  15484. },
  15485. "models.Loginaccount": {
  15486. "type": "object",
  15487. "required": [
  15488. "loginid"
  15489. ],
  15490. "properties": {
  15491. "canoutin": {
  15492. "description": "是否可出入金 - 0:不可 1:可",
  15493. "type": "integer"
  15494. },
  15495. "clientroleid": {
  15496. "description": "终端角色ID",
  15497. "type": "integer"
  15498. },
  15499. "haslogined": {
  15500. "description": "是否已登录 - 0:未登录 1:已登录",
  15501. "type": "integer"
  15502. },
  15503. "hasupdatedpwd": {
  15504. "description": "是否已更改密码 - 0:未修改 1:已修改",
  15505. "type": "integer"
  15506. },
  15507. "lastloginip": {
  15508. "description": "最新登录地址",
  15509. "type": "string"
  15510. },
  15511. "lastloginmode": {
  15512. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  15513. "type": "integer"
  15514. },
  15515. "lastloginremark": {
  15516. "description": "最新登录描述",
  15517. "type": "string"
  15518. },
  15519. "lastlogintime": {
  15520. "description": "最新登录时间",
  15521. "type": "string"
  15522. },
  15523. "logincode": {
  15524. "description": "登录代码",
  15525. "type": "string"
  15526. },
  15527. "loginfailnum": {
  15528. "description": "连续登录失败次数(登录成功时清零)",
  15529. "type": "integer"
  15530. },
  15531. "loginid": {
  15532. "description": "登陆账号",
  15533. "type": "integer"
  15534. },
  15535. "loginport": {
  15536. "description": "最新登录端口",
  15537. "type": "integer"
  15538. },
  15539. "loginstatus": {
  15540. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  15541. "type": "integer"
  15542. },
  15543. "loginusertype": {
  15544. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  15545. "type": "integer"
  15546. },
  15547. "modifierid": {
  15548. "description": "修改人",
  15549. "type": "integer"
  15550. },
  15551. "modifytime": {
  15552. "description": "修改时间",
  15553. "type": "string"
  15554. },
  15555. "pwdwrongcount": {
  15556. "description": "密码错误次数",
  15557. "type": "integer"
  15558. },
  15559. "taaccountrighttype": {
  15560. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  15561. "type": "integer"
  15562. },
  15563. "unfreezetime": {
  15564. "description": "账户解冻时间",
  15565. "type": "string"
  15566. },
  15567. "userid": {
  15568. "description": "用户ID",
  15569. "type": "integer"
  15570. }
  15571. }
  15572. },
  15573. "models.Market": {
  15574. "type": "object",
  15575. "required": [
  15576. "marketid",
  15577. "marketstatus",
  15578. "openmethod",
  15579. "reckonpricealgorithm",
  15580. "trademode",
  15581. "tradeproperty"
  15582. ],
  15583. "properties": {
  15584. "auctionwrtype": {
  15585. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  15586. "type": "integer"
  15587. },
  15588. "canacceptquote": {
  15589. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  15590. "type": "integer"
  15591. },
  15592. "cangoodsexercise": {
  15593. "description": "[期权]是否可现货行权- 0:否 1:是",
  15594. "type": "integer"
  15595. },
  15596. "cangoodsexercisetype": {
  15597. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  15598. "type": "integer"
  15599. },
  15600. "canmanualquotestrike": {
  15601. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  15602. "type": "integer"
  15603. },
  15604. "canmutistage": {
  15605. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  15606. "type": "integer"
  15607. },
  15608. "canpreexercise": {
  15609. "description": "[期权]是否可预申报- 0:否 1:是",
  15610. "type": "integer"
  15611. },
  15612. "clearinterval": {
  15613. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  15614. "type": "integer"
  15615. },
  15616. "contracttmp": {
  15617. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  15618. "type": "string"
  15619. },
  15620. "exchareaid": {
  15621. "description": "所属交易所,可以没有",
  15622. "type": "integer"
  15623. },
  15624. "goodstype": {
  15625. "description": "商品类型 - 1:交易商品 2:仓单商品",
  15626. "type": "integer"
  15627. },
  15628. "hasrebate": {
  15629. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  15630. "type": "integer"
  15631. },
  15632. "hastradecredit": {
  15633. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  15634. "type": "integer"
  15635. },
  15636. "haswr": {
  15637. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  15638. "type": "integer"
  15639. },
  15640. "isdeductmargin": {
  15641. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  15642. "type": "integer"
  15643. },
  15644. "isrecordsource": {
  15645. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  15646. "type": "integer"
  15647. },
  15648. "isreleasemargin": {
  15649. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  15650. "type": "integer"
  15651. },
  15652. "marginformula": {
  15653. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  15654. "type": "integer"
  15655. },
  15656. "marginformula2": {
  15657. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  15658. "type": "integer"
  15659. },
  15660. "marketid": {
  15661. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  15662. "type": "integer"
  15663. },
  15664. "marketname": {
  15665. "description": "市场名称",
  15666. "type": "string"
  15667. },
  15668. "marketserviceid": {
  15669. "description": "市场服务ID",
  15670. "type": "integer"
  15671. },
  15672. "marketstatus": {
  15673. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  15674. "type": "integer"
  15675. },
  15676. "markettype": {
  15677. "description": "市场类型- 1:非交易服务 2:交易服务",
  15678. "type": "integer"
  15679. },
  15680. "matchermode": {
  15681. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  15682. "type": "integer"
  15683. },
  15684. "openmethod": {
  15685. "description": "开盘模式 - 0 自动 1手动",
  15686. "type": "integer"
  15687. },
  15688. "otcuserid": {
  15689. "description": "场外期权做市商[场外期权]",
  15690. "type": "integer"
  15691. },
  15692. "outersynctime": {
  15693. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  15694. "type": "string"
  15695. },
  15696. "pendingflag": {
  15697. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  15698. "type": "integer"
  15699. },
  15700. "pendingtime": {
  15701. "description": "待开市时间[通道交易-对冲](HH:mm)",
  15702. "type": "string"
  15703. },
  15704. "performancetempid": {
  15705. "description": "履约计划模板ID - 作废",
  15706. "type": "integer"
  15707. },
  15708. "premiumquotemode": {
  15709. "description": "权利金报价方式 - 1:自动 2:手动",
  15710. "type": "integer"
  15711. },
  15712. "rebateratio": {
  15713. "description": "返利比率[竞价式]",
  15714. "type": "number"
  15715. },
  15716. "reckonorder": {
  15717. "description": "结算顺序",
  15718. "type": "integer"
  15719. },
  15720. "reckonpricealgorithm": {
  15721. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  15722. "type": "integer"
  15723. },
  15724. "reckonpriceparam": {
  15725. "description": "结算价参数",
  15726. "type": "integer"
  15727. },
  15728. "reckontime": {
  15729. "description": "结算时间[通道交易-对冲](HH:mm)",
  15730. "type": "string"
  15731. },
  15732. "roleprioritytype": {
  15733. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  15734. "type": "integer"
  15735. },
  15736. "selllistingauditflag": {
  15737. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  15738. "type": "integer"
  15739. },
  15740. "trademarkettype": {
  15741. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  15742. "type": "integer"
  15743. },
  15744. "trademode": {
  15745. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15746. "type": "integer"
  15747. },
  15748. "tradeproperty": {
  15749. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  15750. "type": "integer"
  15751. },
  15752. "tradetype": {
  15753. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  15754. "type": "integer"
  15755. }
  15756. }
  15757. },
  15758. "models.Marketrun": {
  15759. "type": "object",
  15760. "required": [
  15761. "marketid",
  15762. "nexttradedate",
  15763. "reckonflag",
  15764. "runstatus",
  15765. "tradedate",
  15766. "tradedate2"
  15767. ],
  15768. "properties": {
  15769. "afternexttradedate": {
  15770. "description": "下下交易日",
  15771. "type": "string"
  15772. },
  15773. "clearquoteflag": {
  15774. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  15775. "type": "integer"
  15776. },
  15777. "lastreckondate": {
  15778. "description": "最新交易日(结算成功)",
  15779. "type": "string"
  15780. },
  15781. "machinedate": {
  15782. "description": "机器时间",
  15783. "type": "string"
  15784. },
  15785. "manualflag": {
  15786. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  15787. "type": "integer"
  15788. },
  15789. "marketid": {
  15790. "description": "市场ID",
  15791. "type": "integer"
  15792. },
  15793. "nexttradedate": {
  15794. "description": "下一交易日",
  15795. "type": "string"
  15796. },
  15797. "pretradedate": {
  15798. "description": "上一交易日",
  15799. "type": "string"
  15800. },
  15801. "reckonflag": {
  15802. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  15803. "type": "integer"
  15804. },
  15805. "runstatus": {
  15806. "description": "运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内) 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始 62.今日免清算",
  15807. "type": "integer"
  15808. },
  15809. "sectionid": {
  15810. "description": "时间段号[多时段时用]",
  15811. "type": "integer"
  15812. },
  15813. "tradedate": {
  15814. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  15815. "type": "string"
  15816. },
  15817. "tradedate2": {
  15818. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  15819. "type": "string"
  15820. },
  15821. "updatetime": {
  15822. "description": "更新时间",
  15823. "type": "string"
  15824. }
  15825. }
  15826. },
  15827. "models.Messageboard": {
  15828. "type": "object",
  15829. "required": [
  15830. "messageboardid"
  15831. ],
  15832. "properties": {
  15833. "contactnum": {
  15834. "description": "联系电话",
  15835. "type": "string"
  15836. },
  15837. "createtime": {
  15838. "description": "创建时间",
  15839. "type": "string"
  15840. },
  15841. "message": {
  15842. "description": "留言信息",
  15843. "type": "string"
  15844. },
  15845. "messageboardid": {
  15846. "description": "留言簿ID(SEQ_MessageBoard)",
  15847. "type": "integer"
  15848. },
  15849. "userid": {
  15850. "description": "用户ID",
  15851. "type": "integer"
  15852. }
  15853. }
  15854. },
  15855. "models.MyCoupon": {
  15856. "type": "object",
  15857. "required": [
  15858. "accountid",
  15859. "coupontypeid"
  15860. ],
  15861. "properties": {
  15862. "accountid": {
  15863. "description": "资金账户ID",
  15864. "type": "integer"
  15865. },
  15866. "areauserid": {
  15867. "description": "所属机构",
  15868. "type": "integer"
  15869. },
  15870. "conditionvalue": {
  15871. "description": "条件阈值(可为0)",
  15872. "type": "number"
  15873. },
  15874. "couponcategroy": {
  15875. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  15876. "type": "integer"
  15877. },
  15878. "couponname": {
  15879. "description": "优惠券名称",
  15880. "type": "string"
  15881. },
  15882. "coupontypeid": {
  15883. "description": "优惠券类型ID",
  15884. "type": "string"
  15885. },
  15886. "couponvalue": {
  15887. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  15888. "type": "number"
  15889. },
  15890. "curfreezeqty": {
  15891. "description": "期末冻结数量",
  15892. "type": "integer"
  15893. },
  15894. "curqty": {
  15895. "description": "期末数量",
  15896. "type": "integer"
  15897. },
  15898. "isgeneral": {
  15899. "description": "是否通用券 - 0:否 1:是",
  15900. "type": "integer"
  15901. },
  15902. "isunusable": {
  15903. "description": "是否不可用",
  15904. "type": "boolean"
  15905. },
  15906. "limitedflag": {
  15907. "description": "是否指定商品 - 0:不限 1:限制",
  15908. "type": "integer"
  15909. },
  15910. "limitedgoodsids": {
  15911. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  15912. "type": "string"
  15913. },
  15914. "orifreezeqty": {
  15915. "description": "期初冻结数量",
  15916. "type": "integer"
  15917. },
  15918. "oriqty": {
  15919. "description": "期初数量",
  15920. "type": "integer"
  15921. },
  15922. "reasontype": {
  15923. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  15924. "type": "integer"
  15925. },
  15926. "todaydecrease": {
  15927. "description": "今日减少",
  15928. "type": "integer"
  15929. },
  15930. "todayincrease": {
  15931. "description": "今日增加",
  15932. "type": "integer"
  15933. },
  15934. "userid": {
  15935. "description": "用户ID",
  15936. "type": "integer"
  15937. },
  15938. "userscope": {
  15939. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  15940. "type": "string"
  15941. }
  15942. }
  15943. },
  15944. "models.MyCouponHold": {
  15945. "type": "object",
  15946. "required": [
  15947. "couponholdid"
  15948. ],
  15949. "properties": {
  15950. "accountid": {
  15951. "description": "资金账户ID",
  15952. "type": "integer"
  15953. },
  15954. "conditionvalue": {
  15955. "description": "条件阈值(可为0)",
  15956. "type": "number"
  15957. },
  15958. "couponcategroy": {
  15959. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  15960. "type": "integer"
  15961. },
  15962. "couponholdid": {
  15963. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  15964. "type": "string"
  15965. },
  15966. "couponname": {
  15967. "description": "优惠券名称",
  15968. "type": "string"
  15969. },
  15970. "coupontypeid": {
  15971. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  15972. "type": "string"
  15973. },
  15974. "couponvalue": {
  15975. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  15976. "type": "number"
  15977. },
  15978. "createtime": {
  15979. "description": "创建时间",
  15980. "type": "string"
  15981. },
  15982. "enddate": {
  15983. "description": "结束日期",
  15984. "type": "string"
  15985. },
  15986. "giveapplyid": {
  15987. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  15988. "type": "integer"
  15989. },
  15990. "holdstatus": {
  15991. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  15992. "type": "integer"
  15993. },
  15994. "isgeneral": {
  15995. "description": "是否通用券 - 0:否 1:是",
  15996. "type": "integer"
  15997. },
  15998. "limitedflag": {
  15999. "description": "是否指定商品 - 0:不限 1:限制",
  16000. "type": "integer"
  16001. },
  16002. "limitedgoodsids": {
  16003. "description": "指定商品IDs[逗号分隔]",
  16004. "type": "string"
  16005. },
  16006. "qty": {
  16007. "description": "数量(按1平铺)",
  16008. "type": "integer"
  16009. },
  16010. "startdate": {
  16011. "description": "开始日期",
  16012. "type": "string"
  16013. },
  16014. "userid": {
  16015. "description": "用户ID",
  16016. "type": "integer"
  16017. },
  16018. "userscope": {
  16019. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  16020. "type": "string"
  16021. }
  16022. }
  16023. },
  16024. "models.MyUsedCoupon": {
  16025. "type": "object",
  16026. "required": [
  16027. "coupontypeid",
  16028. "orderid"
  16029. ],
  16030. "properties": {
  16031. "accountid": {
  16032. "description": "资金账户ID(买方)",
  16033. "type": "integer"
  16034. },
  16035. "conditionvalue": {
  16036. "description": "条件阈值(可为0)",
  16037. "type": "number"
  16038. },
  16039. "couponcategroy": {
  16040. "description": "种类 - 1:现金券 2:折扣券",
  16041. "type": "integer"
  16042. },
  16043. "couponname": {
  16044. "description": "优惠券名称",
  16045. "type": "string"
  16046. },
  16047. "coupontypeid": {
  16048. "description": "优惠券类型ID(买方)",
  16049. "type": "string"
  16050. },
  16051. "couponvalue": {
  16052. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  16053. "type": "number"
  16054. },
  16055. "createtime": {
  16056. "description": "创建时间",
  16057. "type": "string"
  16058. },
  16059. "goodsid": {
  16060. "description": "商品ID",
  16061. "type": "integer"
  16062. },
  16063. "handlestatus": {
  16064. "description": "处理状态",
  16065. "type": "integer"
  16066. },
  16067. "marketid": {
  16068. "description": "市场ID",
  16069. "type": "integer"
  16070. },
  16071. "offamount": {
  16072. "description": "优惠金额",
  16073. "type": "number"
  16074. },
  16075. "orderid": {
  16076. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16077. "type": "string"
  16078. },
  16079. "sellaccountid": {
  16080. "description": "资金账户ID(卖方)",
  16081. "type": "integer"
  16082. },
  16083. "tradeamount": {
  16084. "description": "成交金额",
  16085. "type": "number"
  16086. },
  16087. "tradeid": {
  16088. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16089. "type": "string"
  16090. },
  16091. "usedqty": {
  16092. "description": "使用数量",
  16093. "type": "integer"
  16094. }
  16095. }
  16096. },
  16097. "models.OperationPrimaryMenu": {
  16098. "type": "object",
  16099. "properties": {
  16100. "Children": {
  16101. "description": "二级功能菜单",
  16102. "type": "array",
  16103. "items": {
  16104. "$ref": "#/definitions/models.OperationSecondaryMenu"
  16105. }
  16106. },
  16107. "Key": {
  16108. "description": "菜单KEY",
  16109. "type": "string"
  16110. },
  16111. "Label": {
  16112. "description": "菜单标题",
  16113. "type": "string"
  16114. }
  16115. }
  16116. },
  16117. "models.OperationSecondaryMenu": {
  16118. "type": "object",
  16119. "properties": {
  16120. "Key": {
  16121. "description": "菜单KEY",
  16122. "type": "string"
  16123. },
  16124. "Label": {
  16125. "description": "菜单标题",
  16126. "type": "string"
  16127. },
  16128. "TabList": {
  16129. "description": "三级功能菜单",
  16130. "type": "array",
  16131. "items": {
  16132. "$ref": "#/definitions/models.OperationTabMenu"
  16133. }
  16134. }
  16135. }
  16136. },
  16137. "models.OperationTabMenu": {
  16138. "type": "object",
  16139. "properties": {
  16140. "Key": {
  16141. "description": "菜单KEY",
  16142. "type": "string"
  16143. },
  16144. "Label": {
  16145. "description": "菜单标题",
  16146. "type": "string"
  16147. }
  16148. }
  16149. },
  16150. "models.PendingAuditBizModel": {
  16151. "type": "object",
  16152. "properties": {
  16153. "accountid": {
  16154. "description": "现货账户",
  16155. "type": "string"
  16156. },
  16157. "areaname": {
  16158. "description": "所属部门",
  16159. "type": "string"
  16160. },
  16161. "bizid": {
  16162. "description": "业务ID",
  16163. "type": "string"
  16164. },
  16165. "bizname": {
  16166. "description": "业务名称",
  16167. "type": "string"
  16168. },
  16169. "status": {
  16170. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  16171. "type": "integer"
  16172. },
  16173. "type": {
  16174. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  16175. "type": "integer"
  16176. }
  16177. }
  16178. },
  16179. "models.QueryErrorInfosRsp": {
  16180. "type": "object",
  16181. "required": [
  16182. "errorid"
  16183. ],
  16184. "properties": {
  16185. "description": {
  16186. "description": "异常描述",
  16187. "type": "string"
  16188. },
  16189. "errorcode": {
  16190. "description": "异常代码",
  16191. "type": "string"
  16192. },
  16193. "errorid": {
  16194. "description": "异常ID",
  16195. "type": "integer"
  16196. },
  16197. "modulecode": {
  16198. "description": "所属模块",
  16199. "type": "string"
  16200. },
  16201. "operatecode": {
  16202. "description": "所属操作",
  16203. "type": "string"
  16204. },
  16205. "rownumber": {
  16206. "description": "行号",
  16207. "type": "string"
  16208. }
  16209. }
  16210. },
  16211. "models.QueryHedgeOrderDetailRsp": {
  16212. "type": "object",
  16213. "properties": {
  16214. "accountid": {
  16215. "description": "账户ID",
  16216. "type": "integer"
  16217. },
  16218. "buyorsell": {
  16219. "description": "买卖 - 0:买 1:卖",
  16220. "type": "integer"
  16221. },
  16222. "cancellogincode": {
  16223. "description": "撤单人",
  16224. "type": "string"
  16225. },
  16226. "channelbuildtype": {
  16227. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  16228. "type": "integer"
  16229. },
  16230. "channelinnerorderstatus": {
  16231. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  16232. "type": "integer"
  16233. },
  16234. "channeloperatetype": {
  16235. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  16236. "type": "integer"
  16237. },
  16238. "closetype": {
  16239. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  16240. "type": "integer"
  16241. },
  16242. "curexchangerate": {
  16243. "description": "当前汇率",
  16244. "type": "number"
  16245. },
  16246. "exchangefullname": {
  16247. "description": "外部交易所全称",
  16248. "type": "string"
  16249. },
  16250. "goodscode": {
  16251. "description": "商品代码(内部)",
  16252. "type": "string"
  16253. },
  16254. "goodsid": {
  16255. "description": "商品ID",
  16256. "type": "integer"
  16257. },
  16258. "goodsname": {
  16259. "description": "商品名称",
  16260. "type": "string"
  16261. },
  16262. "marketid": {
  16263. "description": "市场ID",
  16264. "type": "integer"
  16265. },
  16266. "openfreezemargin": {
  16267. "description": "冻结保证金(冻结交易金额)",
  16268. "type": "number"
  16269. },
  16270. "orderid": {
  16271. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16272. "type": "string"
  16273. },
  16274. "orderlogincode": {
  16275. "description": "委托人",
  16276. "type": "string"
  16277. },
  16278. "orderprice": {
  16279. "description": "委托价格(账户)",
  16280. "type": "number"
  16281. },
  16282. "orderqty": {
  16283. "description": "委托数量",
  16284. "type": "integer"
  16285. },
  16286. "ordertime": {
  16287. "description": "委托时间",
  16288. "type": "string"
  16289. },
  16290. "pricemode": {
  16291. "description": "取价方式 - 1:市价 2: 限价",
  16292. "type": "integer"
  16293. },
  16294. "tradedate": {
  16295. "description": "交易日(yyyyMMdd)",
  16296. "type": "string"
  16297. },
  16298. "tradeqty": {
  16299. "description": "成交数量",
  16300. "type": "integer"
  16301. }
  16302. }
  16303. },
  16304. "models.QueryHedgeTradeDetailRsp": {
  16305. "type": "object",
  16306. "properties": {
  16307. "accountid": {
  16308. "description": "账号ID",
  16309. "type": "integer"
  16310. },
  16311. "buyorsell": {
  16312. "description": "方向 - 0:买 1:卖",
  16313. "type": "integer"
  16314. },
  16315. "channelbuildtype": {
  16316. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  16317. "type": "integer"
  16318. },
  16319. "closecharge": {
  16320. "description": "平仓手续费(账户)",
  16321. "type": "number"
  16322. },
  16323. "closecharge2": {
  16324. "description": "平仓手续费(商品)",
  16325. "type": "number"
  16326. },
  16327. "closetype": {
  16328. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  16329. "type": "integer"
  16330. },
  16331. "curexchangerate": {
  16332. "description": "当前汇率",
  16333. "type": "number"
  16334. },
  16335. "exchangefullname": {
  16336. "description": "外部交易所全称",
  16337. "type": "string"
  16338. },
  16339. "goodscode": {
  16340. "description": "商品代码(内部)",
  16341. "type": "string"
  16342. },
  16343. "goodsid": {
  16344. "description": "商品ID",
  16345. "type": "integer"
  16346. },
  16347. "goodsname": {
  16348. "description": "商品名称",
  16349. "type": "string"
  16350. },
  16351. "marketid": {
  16352. "description": "市场ID",
  16353. "type": "integer"
  16354. },
  16355. "opencharge": {
  16356. "description": "建仓手续费(账户)",
  16357. "type": "number"
  16358. },
  16359. "opencharge2": {
  16360. "description": "建仓手续费(商品)",
  16361. "type": "number"
  16362. },
  16363. "orderid": {
  16364. "description": "委托单号",
  16365. "type": "string"
  16366. },
  16367. "orderlogincode": {
  16368. "description": "委托人",
  16369. "type": "string"
  16370. },
  16371. "tradeamount": {
  16372. "description": "成交金额(账户)",
  16373. "type": "number"
  16374. },
  16375. "tradedate": {
  16376. "description": "交易日(yyyyMMdd)",
  16377. "type": "string"
  16378. },
  16379. "tradeid": {
  16380. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16381. "type": "string"
  16382. },
  16383. "tradeprice": {
  16384. "description": "成交价格",
  16385. "type": "number"
  16386. },
  16387. "tradeqty": {
  16388. "description": "成交数量",
  16389. "type": "integer"
  16390. },
  16391. "tradetime": {
  16392. "description": "成交时间",
  16393. "type": "string"
  16394. },
  16395. "tradetype": {
  16396. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  16397. "type": "integer"
  16398. }
  16399. }
  16400. },
  16401. "models.QuotePrimaryMenu": {
  16402. "type": "object",
  16403. "properties": {
  16404. "Index": {
  16405. "description": "序号",
  16406. "type": "integer"
  16407. },
  16408. "Key": {
  16409. "description": "键名",
  16410. "type": "string"
  16411. },
  16412. "Name": {
  16413. "description": "菜单名称",
  16414. "type": "string"
  16415. },
  16416. "SubMenus": {
  16417. "description": "子菜单",
  16418. "type": "array",
  16419. "items": {
  16420. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  16421. }
  16422. },
  16423. "SubTitleType": {
  16424. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  16425. "type": "integer"
  16426. },
  16427. "TradeModes": {
  16428. "description": "包含市场交易类型",
  16429. "type": "string"
  16430. }
  16431. }
  16432. },
  16433. "models.QuoteSecondaryMenu": {
  16434. "type": "object",
  16435. "properties": {
  16436. "ExExchangeCode": {
  16437. "description": "外部交易所代码",
  16438. "type": "string"
  16439. },
  16440. "ExExchangeID": {
  16441. "description": "外部交易所ID",
  16442. "type": "integer"
  16443. },
  16444. "GoodsGroupIDs": {
  16445. "description": "商品组ID列表",
  16446. "type": "array",
  16447. "items": {
  16448. "type": "integer"
  16449. }
  16450. },
  16451. "Index": {
  16452. "description": "序号",
  16453. "type": "integer"
  16454. },
  16455. "MarketID": {
  16456. "description": "市场ID",
  16457. "type": "integer"
  16458. },
  16459. "MenuTitle": {
  16460. "description": "菜单标题(市场名称或外部交易所名称)",
  16461. "type": "string"
  16462. },
  16463. "TradeMode": {
  16464. "description": "交易模式",
  16465. "type": "integer"
  16466. }
  16467. }
  16468. },
  16469. "models.RelatedGoodsEx": {
  16470. "type": "object",
  16471. "properties": {
  16472. "goodscode": {
  16473. "description": "商品代码",
  16474. "type": "string"
  16475. },
  16476. "goodsid": {
  16477. "description": "商品id",
  16478. "type": "integer"
  16479. },
  16480. "goodsname": {
  16481. "description": "商品名称",
  16482. "type": "string"
  16483. }
  16484. }
  16485. },
  16486. "models.SearchGoods": {
  16487. "type": "object",
  16488. "required": [
  16489. "goodscode",
  16490. "goodsid",
  16491. "goodsname",
  16492. "marketid",
  16493. "trademode"
  16494. ],
  16495. "properties": {
  16496. "goodscode": {
  16497. "description": "商品代码(内部)",
  16498. "type": "string"
  16499. },
  16500. "goodsid": {
  16501. "description": "商品ID(自增ID SEQ_GOODS)",
  16502. "type": "integer"
  16503. },
  16504. "goodsname": {
  16505. "description": "商品名称",
  16506. "type": "string"
  16507. },
  16508. "marketid": {
  16509. "description": "所属市场ID",
  16510. "type": "integer"
  16511. },
  16512. "marketname": {
  16513. "description": "市场名称",
  16514. "type": "string"
  16515. },
  16516. "trademode": {
  16517. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16518. "type": "integer"
  16519. }
  16520. }
  16521. },
  16522. "models.Systemparam": {
  16523. "type": "object",
  16524. "required": [
  16525. "paramcode"
  16526. ],
  16527. "properties": {
  16528. "loginid": {
  16529. "description": "更新用户账号,登录账号",
  16530. "type": "string"
  16531. },
  16532. "modifyflag": {
  16533. "description": "修改标志0 不允许修改 1 允许修改",
  16534. "type": "integer"
  16535. },
  16536. "paramcode": {
  16537. "description": "参数代码",
  16538. "type": "string"
  16539. },
  16540. "paramname": {
  16541. "description": "参数名",
  16542. "type": "string"
  16543. },
  16544. "paramtype": {
  16545. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  16546. "type": "integer"
  16547. },
  16548. "paramvalue": {
  16549. "description": "参数值",
  16550. "type": "string"
  16551. },
  16552. "paramvalue2": {
  16553. "description": "参数值(CLOB)",
  16554. "type": "string"
  16555. },
  16556. "regexpress": {
  16557. "description": "正则表达式",
  16558. "type": "string"
  16559. },
  16560. "remark": {
  16561. "description": "备注",
  16562. "type": "string"
  16563. },
  16564. "serverip": {
  16565. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  16566. "type": "string"
  16567. },
  16568. "showflag": {
  16569. "description": "是否显示0 不显示 1 显示",
  16570. "type": "integer"
  16571. },
  16572. "updatetime": {
  16573. "description": "更新时间",
  16574. "type": "string"
  16575. },
  16576. "userid": {
  16577. "description": "更新用户ID",
  16578. "type": "integer"
  16579. }
  16580. }
  16581. },
  16582. "models.Szdz3convertconfig": {
  16583. "type": "object",
  16584. "required": [
  16585. "converttype",
  16586. "innergoodsid",
  16587. "outergoodscode"
  16588. ],
  16589. "properties": {
  16590. "canin": {
  16591. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  16592. "type": "integer"
  16593. },
  16594. "canout": {
  16595. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  16596. "type": "integer"
  16597. },
  16598. "converttype": {
  16599. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  16600. "type": "integer"
  16601. },
  16602. "createtime": {
  16603. "description": "创建时间",
  16604. "type": "string"
  16605. },
  16606. "creatorid": {
  16607. "description": "创建人",
  16608. "type": "integer"
  16609. },
  16610. "daymaxvalue": {
  16611. "description": "当日最大转入限制",
  16612. "type": "number"
  16613. },
  16614. "freezedays": {
  16615. "description": "冻结天数 [5:花生米转交易]",
  16616. "type": "integer"
  16617. },
  16618. "innergoodsid": {
  16619. "description": "内部商品ID[交易]",
  16620. "type": "integer"
  16621. },
  16622. "inratio": {
  16623. "description": "目标值",
  16624. "type": "integer"
  16625. },
  16626. "modifierid": {
  16627. "description": "修改人",
  16628. "type": "integer"
  16629. },
  16630. "modifytime": {
  16631. "description": "修改时间",
  16632. "type": "string"
  16633. },
  16634. "outergoodscode": {
  16635. "description": "外部商品代码[JD\\PD]",
  16636. "type": "string"
  16637. },
  16638. "outratio": {
  16639. "description": "源值",
  16640. "type": "integer"
  16641. },
  16642. "pddecimalplace": {
  16643. "description": "PD小数位",
  16644. "type": "integer"
  16645. },
  16646. "timemaxvalue": {
  16647. "description": "单次最大转入限制",
  16648. "type": "number"
  16649. },
  16650. "timeminvalue": {
  16651. "description": "单次最小转入限制",
  16652. "type": "number"
  16653. }
  16654. }
  16655. },
  16656. "models.Szdz3searchwhitelist": {
  16657. "type": "object",
  16658. "required": [
  16659. "userid"
  16660. ],
  16661. "properties": {
  16662. "createtime": {
  16663. "description": "创建时间",
  16664. "type": "string"
  16665. },
  16666. "creatorid": {
  16667. "description": "创建人",
  16668. "type": "integer"
  16669. },
  16670. "modifierid": {
  16671. "description": "修改人",
  16672. "type": "integer"
  16673. },
  16674. "modifytime": {
  16675. "description": "修改时间",
  16676. "type": "string"
  16677. },
  16678. "userid": {
  16679. "description": "用户ID",
  16680. "type": "integer"
  16681. }
  16682. }
  16683. },
  16684. "models.Taaccount": {
  16685. "type": "object",
  16686. "required": [
  16687. "accountid",
  16688. "userid"
  16689. ],
  16690. "properties": {
  16691. "accountflag": {
  16692. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  16693. "type": "integer"
  16694. },
  16695. "accountid": {
  16696. "description": "资金账户ID",
  16697. "type": "integer"
  16698. },
  16699. "accountname": {
  16700. "description": "账户名称",
  16701. "type": "string"
  16702. },
  16703. "balance": {
  16704. "description": "期初余额",
  16705. "type": "number"
  16706. },
  16707. "capitalbalance": {
  16708. "description": "本金余额[外部子账户实际出入金余额]",
  16709. "type": "number"
  16710. },
  16711. "changeflag": {
  16712. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  16713. "type": "integer"
  16714. },
  16715. "changetime": {
  16716. "description": "账户状态变更时间",
  16717. "type": "string"
  16718. },
  16719. "closepl": {
  16720. "description": "今日平仓盈亏",
  16721. "type": "number"
  16722. },
  16723. "creditdecrease": {
  16724. "description": "今日授信减少",
  16725. "type": "number"
  16726. },
  16727. "creditincrease": {
  16728. "description": "今日授信增加",
  16729. "type": "number"
  16730. },
  16731. "currencyid": {
  16732. "description": "货币ID",
  16733. "type": "integer"
  16734. },
  16735. "currentbalance": {
  16736. "description": "期末余额",
  16737. "type": "number"
  16738. },
  16739. "freezecharge": {
  16740. "description": "手续费冻结",
  16741. "type": "number"
  16742. },
  16743. "freezemargin": {
  16744. "description": "冻结保证金",
  16745. "type": "number"
  16746. },
  16747. "fromaccountid": {
  16748. "description": "所属上级账户",
  16749. "type": "integer"
  16750. },
  16751. "inamount": {
  16752. "description": "今日入金金额(包括三方入金)",
  16753. "type": "number"
  16754. },
  16755. "ismain": {
  16756. "description": "是否母账号 0:不是母账户 1:是母账户",
  16757. "type": "integer"
  16758. },
  16759. "ismarketaccount": {
  16760. "description": "是否机构接单账号 0:不是 1:是",
  16761. "type": "integer"
  16762. },
  16763. "isreckonaccount": {
  16764. "description": "是否机构分润账号 0:不是 1:是",
  16765. "type": "integer"
  16766. },
  16767. "mortgagecredit": {
  16768. "description": "授信金额",
  16769. "type": "number"
  16770. },
  16771. "orifreezecharge": {
  16772. "description": "期初手续费冻结",
  16773. "type": "number"
  16774. },
  16775. "orifreezemargin": {
  16776. "description": "期初冻结保证金",
  16777. "type": "number"
  16778. },
  16779. "orimortgagecredit": {
  16780. "description": "期初授信金额",
  16781. "type": "number"
  16782. },
  16783. "oriothercredit": {
  16784. "description": "期初其它授信金额",
  16785. "type": "number"
  16786. },
  16787. "oriotherfreezemargin": {
  16788. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  16789. "type": "number"
  16790. },
  16791. "orioutamountfreeze": {
  16792. "description": "期初出金冻结",
  16793. "type": "number"
  16794. },
  16795. "oriusedmargin": {
  16796. "description": "期初占用保证金",
  16797. "type": "number"
  16798. },
  16799. "othercredit": {
  16800. "description": "其它授信金额",
  16801. "type": "number"
  16802. },
  16803. "othercreditdecrease": {
  16804. "description": "今日其它授信减少",
  16805. "type": "number"
  16806. },
  16807. "othercreditincrease": {
  16808. "description": "今日其它授信增加",
  16809. "type": "number"
  16810. },
  16811. "otherfreezemargin": {
  16812. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  16813. "type": "number"
  16814. },
  16815. "otherincome": {
  16816. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  16817. "type": "number"
  16818. },
  16819. "otherpay": {
  16820. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  16821. "type": "number"
  16822. },
  16823. "outamount": {
  16824. "description": "今日出金金额(包括三方出金)",
  16825. "type": "number"
  16826. },
  16827. "outamountfreeze": {
  16828. "description": "出金冻结",
  16829. "type": "number"
  16830. },
  16831. "outthreshold": {
  16832. "description": "出金阈值",
  16833. "type": "number"
  16834. },
  16835. "parentaccountid": {
  16836. "description": "所属根账号",
  16837. "type": "integer"
  16838. },
  16839. "paycharge": {
  16840. "description": "今日手续费支出",
  16841. "type": "number"
  16842. },
  16843. "relatedaccountstatus": {
  16844. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  16845. "type": "integer"
  16846. },
  16847. "relateduserid": {
  16848. "description": "关联用户",
  16849. "type": "integer"
  16850. },
  16851. "serivcegroup": {
  16852. "description": "服务分组",
  16853. "type": "integer"
  16854. },
  16855. "signstatus": {
  16856. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  16857. "type": "integer"
  16858. },
  16859. "sublevelpath": {
  16860. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  16861. "type": "string"
  16862. },
  16863. "taaccounttype": {
  16864. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  16865. "type": "integer"
  16866. },
  16867. "thirdinamount": {
  16868. "description": "今日三方入金",
  16869. "type": "number"
  16870. },
  16871. "thirdoutamount": {
  16872. "description": "今日三方出金",
  16873. "type": "number"
  16874. },
  16875. "tradestatus": {
  16876. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16877. "type": "integer"
  16878. },
  16879. "tradestatuschangetime": {
  16880. "description": "激活时间",
  16881. "type": "string"
  16882. },
  16883. "transferamount": {
  16884. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  16885. "type": "number"
  16886. },
  16887. "usedmargin": {
  16888. "description": "占用保证金",
  16889. "type": "number"
  16890. },
  16891. "userid": {
  16892. "description": "用户ID",
  16893. "type": "integer"
  16894. }
  16895. }
  16896. },
  16897. "models.Tablecolumnconfig": {
  16898. "type": "object",
  16899. "required": [
  16900. "autoid"
  16901. ],
  16902. "properties": {
  16903. "aligntype": {
  16904. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  16905. "type": "integer"
  16906. },
  16907. "autoid": {
  16908. "description": "AutoID",
  16909. "type": "integer"
  16910. },
  16911. "columnfield": {
  16912. "description": "列字段",
  16913. "type": "string"
  16914. },
  16915. "columntitle": {
  16916. "description": "列Title",
  16917. "type": "string"
  16918. },
  16919. "columnwidth": {
  16920. "description": "列宽",
  16921. "type": "string"
  16922. },
  16923. "formatterstring": {
  16924. "description": "格式化字符",
  16925. "type": "string"
  16926. },
  16927. "formattertype": {
  16928. "description": "格式化类型",
  16929. "type": "string"
  16930. },
  16931. "groupname": {
  16932. "description": "表头分组名称",
  16933. "type": "string"
  16934. },
  16935. "isshow": {
  16936. "description": "是否显示 - 0:不显示 1:显示",
  16937. "type": "integer"
  16938. },
  16939. "needsummary": {
  16940. "description": "是否需要汇总 - 0:不需要 1:需要",
  16941. "type": "integer"
  16942. },
  16943. "orderindex": {
  16944. "description": "顺序",
  16945. "type": "integer"
  16946. },
  16947. "remark": {
  16948. "description": "备注",
  16949. "type": "string"
  16950. },
  16951. "summarytype": {
  16952. "description": "汇总类型 - 1:加总 2:最后一个",
  16953. "type": "integer"
  16954. },
  16955. "tablekey": {
  16956. "description": "列表Key",
  16957. "type": "string"
  16958. }
  16959. }
  16960. },
  16961. "models.Useraccount": {
  16962. "type": "object",
  16963. "required": [
  16964. "userid"
  16965. ],
  16966. "properties": {
  16967. "accountname": {
  16968. "description": "账户名称(机构名称)",
  16969. "type": "string"
  16970. },
  16971. "accountstatus": {
  16972. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16973. "type": "integer"
  16974. },
  16975. "auditremark": {
  16976. "description": "审核备注",
  16977. "type": "string"
  16978. },
  16979. "audittime": {
  16980. "description": "审核时间",
  16981. "type": "string"
  16982. },
  16983. "audituserid": {
  16984. "description": "审核人",
  16985. "type": "integer"
  16986. },
  16987. "broker": {
  16988. "description": "所属经纪人ID",
  16989. "type": "integer"
  16990. },
  16991. "canceltime": {
  16992. "description": "销户时间",
  16993. "type": "string"
  16994. },
  16995. "canceluserid": {
  16996. "description": "销户人",
  16997. "type": "integer"
  16998. },
  16999. "createtime": {
  17000. "description": "创建时间",
  17001. "type": "string"
  17002. },
  17003. "creatorid": {
  17004. "description": "创建人",
  17005. "type": "integer"
  17006. },
  17007. "hasauth": {
  17008. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  17009. "type": "integer"
  17010. },
  17011. "isanonymous": {
  17012. "description": "是否匿名下单 - 0:否 1:是",
  17013. "type": "integer"
  17014. },
  17015. "maxinvestornum": {
  17016. "description": "最大用户数(经纪会员下投资者个数)",
  17017. "type": "integer"
  17018. },
  17019. "memberuserid": {
  17020. "description": "所属会员ID",
  17021. "type": "integer"
  17022. },
  17023. "modifierid": {
  17024. "description": "修改人",
  17025. "type": "integer"
  17026. },
  17027. "modifyremark": {
  17028. "description": "变更备注",
  17029. "type": "string"
  17030. },
  17031. "modifystatus": {
  17032. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  17033. "type": "integer"
  17034. },
  17035. "modifytime": {
  17036. "description": "修改时间",
  17037. "type": "string"
  17038. },
  17039. "parentuserid": {
  17040. "description": "所属机构ID",
  17041. "type": "integer"
  17042. },
  17043. "reckonaccountid": {
  17044. "description": "默认结算资金账号ID(机构分润使用) 作废",
  17045. "type": "integer"
  17046. },
  17047. "refercount": {
  17048. "description": "推荐总人数",
  17049. "type": "integer"
  17050. },
  17051. "refereeuserid": {
  17052. "description": "推荐人ID",
  17053. "type": "integer"
  17054. },
  17055. "refernum": {
  17056. "description": "推荐码",
  17057. "type": "string"
  17058. },
  17059. "subarealevelpath": {
  17060. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  17061. "type": "string"
  17062. },
  17063. "userid": {
  17064. "description": "用户ID",
  17065. "type": "integer"
  17066. },
  17067. "usertype": {
  17068. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  17069. "type": "integer"
  17070. }
  17071. }
  17072. },
  17073. "models.Userfavoritegoods": {
  17074. "type": "object",
  17075. "required": [
  17076. "goodsid"
  17077. ],
  17078. "properties": {
  17079. "goodsid": {
  17080. "description": "商品ID",
  17081. "type": "integer"
  17082. }
  17083. }
  17084. },
  17085. "models.Userinfo": {
  17086. "type": "object",
  17087. "required": [
  17088. "userid"
  17089. ],
  17090. "properties": {
  17091. "address": {
  17092. "description": "地址",
  17093. "type": "string"
  17094. },
  17095. "attachment1": {
  17096. "description": "附件1",
  17097. "type": "string"
  17098. },
  17099. "attachment2": {
  17100. "description": "附件2",
  17101. "type": "string"
  17102. },
  17103. "bankaccount": {
  17104. "description": "银行帐号 (加密存储)",
  17105. "type": "string"
  17106. },
  17107. "bankaccountname": {
  17108. "description": "收款人名称",
  17109. "type": "string"
  17110. },
  17111. "bankcardfrontphotourl": {
  17112. "description": "银行卡正面照地址",
  17113. "type": "string"
  17114. },
  17115. "bankid": {
  17116. "description": "银行编码",
  17117. "type": "string"
  17118. },
  17119. "bankname": {
  17120. "description": "银行名称",
  17121. "type": "string"
  17122. },
  17123. "biznature": {
  17124. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17125. "type": "integer"
  17126. },
  17127. "bizscope": {
  17128. "description": "企业经营范围(企业)",
  17129. "type": "string"
  17130. },
  17131. "cardbackphotourl": {
  17132. "description": "证件背面图片地址",
  17133. "type": "string"
  17134. },
  17135. "cardfrontphotourl": {
  17136. "description": "证件正面图片地址",
  17137. "type": "string"
  17138. },
  17139. "cardnum": {
  17140. "description": "证件号码(加密存储)",
  17141. "type": "string"
  17142. },
  17143. "cardtypeid": {
  17144. "description": "证件类型ID",
  17145. "type": "integer"
  17146. },
  17147. "cityid": {
  17148. "description": "市",
  17149. "type": "integer"
  17150. },
  17151. "company": {
  17152. "description": "公司(个人)",
  17153. "type": "string"
  17154. },
  17155. "contactname": {
  17156. "description": "联系人",
  17157. "type": "string"
  17158. },
  17159. "countryid": {
  17160. "description": "国家",
  17161. "type": "integer"
  17162. },
  17163. "createtime": {
  17164. "description": "创建时间",
  17165. "type": "string"
  17166. },
  17167. "creatorid": {
  17168. "description": "创建人",
  17169. "type": "integer"
  17170. },
  17171. "customername": {
  17172. "description": "客户名称(企业名称)",
  17173. "type": "string"
  17174. },
  17175. "districtid": {
  17176. "description": "地区",
  17177. "type": "integer"
  17178. },
  17179. "email": {
  17180. "description": "邮件(加密存储)",
  17181. "type": "string"
  17182. },
  17183. "fax": {
  17184. "description": "传真(加密存储)",
  17185. "type": "string"
  17186. },
  17187. "halfbodyphotourl": {
  17188. "description": "半身照地址",
  17189. "type": "string"
  17190. },
  17191. "hasencrypt": {
  17192. "description": "数据是否已加密 - 0:未加密 1:已加密",
  17193. "type": "integer"
  17194. },
  17195. "headurl": {
  17196. "description": "头像地址",
  17197. "type": "string"
  17198. },
  17199. "legalcardbackphotourl": {
  17200. "description": "法人身份证背面照地址",
  17201. "type": "string"
  17202. },
  17203. "legalcardfrontphotourl": {
  17204. "description": "法人身份证正面照地址",
  17205. "type": "string"
  17206. },
  17207. "legalpersonname": {
  17208. "description": "法人姓名(企业)",
  17209. "type": "string"
  17210. },
  17211. "mobile": {
  17212. "description": "手机号码(加密存储)",
  17213. "type": "string"
  17214. },
  17215. "mobile2": {
  17216. "description": "手机号码[明文-尚志]",
  17217. "type": "string"
  17218. },
  17219. "modifierid": {
  17220. "description": "修改人",
  17221. "type": "integer"
  17222. },
  17223. "modifiertime": {
  17224. "description": "修改时间",
  17225. "type": "string"
  17226. },
  17227. "needinvoice": {
  17228. "description": "是否需要发票 - 0:不需要 1:需要",
  17229. "type": "integer"
  17230. },
  17231. "nickname": {
  17232. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  17233. "type": "string"
  17234. },
  17235. "openmode": {
  17236. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  17237. "type": "integer"
  17238. },
  17239. "otherurl": {
  17240. "description": "其它图片地址[使用分号分隔]",
  17241. "type": "string"
  17242. },
  17243. "postalcode": {
  17244. "description": "邮政编码",
  17245. "type": "string"
  17246. },
  17247. "provinceid": {
  17248. "description": "省",
  17249. "type": "integer"
  17250. },
  17251. "qq": {
  17252. "description": "QQ(加密存储",
  17253. "type": "string"
  17254. },
  17255. "remark": {
  17256. "description": "备注",
  17257. "type": "string"
  17258. },
  17259. "sex": {
  17260. "description": "用户性别 0: 女 1: 男",
  17261. "type": "integer"
  17262. },
  17263. "signpdfurl": {
  17264. "description": "签约pdf文件",
  17265. "type": "string"
  17266. },
  17267. "telphone": {
  17268. "description": "联系电话(加密存储)",
  17269. "type": "string"
  17270. },
  17271. "userid": {
  17272. "description": "用户ID",
  17273. "type": "integer"
  17274. },
  17275. "userinfotype": {
  17276. "description": "用户信息类型 - 1:个人 2:企业",
  17277. "type": "integer"
  17278. },
  17279. "userstatus": {
  17280. "description": "用户状态 - 1:正常 2:注销",
  17281. "type": "integer"
  17282. },
  17283. "usertype": {
  17284. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  17285. "type": "integer"
  17286. },
  17287. "wechat": {
  17288. "description": "微信(加密存储)",
  17289. "type": "string"
  17290. },
  17291. "wskhinfo": {
  17292. "description": "开户申请信息(JSON)",
  17293. "type": "string"
  17294. }
  17295. }
  17296. },
  17297. "models.WRCategoryTree": {
  17298. "type": "object",
  17299. "required": [
  17300. "categoryid"
  17301. ],
  17302. "properties": {
  17303. "areauserid": {
  17304. "description": "所属机构",
  17305. "type": "integer"
  17306. },
  17307. "categorydesc": {
  17308. "description": "类别描述",
  17309. "type": "string"
  17310. },
  17311. "categoryid": {
  17312. "description": "类别ID(SEQ_WRCATEGORY)",
  17313. "type": "integer"
  17314. },
  17315. "categoryname": {
  17316. "description": "类别名称",
  17317. "type": "string"
  17318. },
  17319. "iconurl": {
  17320. "description": "图标地址",
  17321. "type": "string"
  17322. },
  17323. "orderindex": {
  17324. "description": "顺序",
  17325. "type": "integer"
  17326. },
  17327. "parentcategoryid": {
  17328. "description": "父类别ID",
  17329. "type": "integer"
  17330. },
  17331. "subcategory": {
  17332. "description": "子分类",
  17333. "type": "array",
  17334. "items": {
  17335. "$ref": "#/definitions/models.WRCategoryTree"
  17336. }
  17337. }
  17338. }
  17339. },
  17340. "models.WRSConverTDetail": {
  17341. "type": "object",
  17342. "properties": {
  17343. "convertratio": {
  17344. "description": "套保系数",
  17345. "type": "number"
  17346. },
  17347. "deliverygoodsid": {
  17348. "description": "现货品种ID",
  17349. "type": "integer"
  17350. },
  17351. "middlegoodscode": {
  17352. "description": "套保品种代码",
  17353. "type": "string"
  17354. },
  17355. "middlegoodsid": {
  17356. "description": "套保品种ID",
  17357. "type": "integer"
  17358. },
  17359. "middlegoodsname": {
  17360. "description": "套保品种名称",
  17361. "type": "string"
  17362. },
  17363. "modifytime": {
  17364. "description": "修改时间",
  17365. "type": "string"
  17366. },
  17367. "wrstandardid": {
  17368. "description": "现货商品ID",
  17369. "type": "integer"
  17370. }
  17371. }
  17372. },
  17373. "models.WRStandardInfo": {
  17374. "type": "object",
  17375. "required": [
  17376. "wrstandardid"
  17377. ],
  17378. "properties": {
  17379. "createtime": {
  17380. "description": "创建时间",
  17381. "type": "string"
  17382. },
  17383. "creatorid": {
  17384. "description": "创建人",
  17385. "type": "integer"
  17386. },
  17387. "deliverygoodsid": {
  17388. "description": "品种ID",
  17389. "type": "integer"
  17390. },
  17391. "deliverygoodsname": {
  17392. "description": "交割商品名称",
  17393. "type": "string"
  17394. },
  17395. "factoryitemjson": {
  17396. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  17397. "type": "string"
  17398. },
  17399. "isvalid": {
  17400. "description": "是否有效 - 0:无效 1:有效",
  17401. "type": "integer"
  17402. },
  17403. "minivalue": {
  17404. "description": "最小变动值",
  17405. "type": "integer"
  17406. },
  17407. "minivaluedp": {
  17408. "description": "最小变动值小数位",
  17409. "type": "integer"
  17410. },
  17411. "realminivalue": {
  17412. "description": "实际最小变动值",
  17413. "type": "integer"
  17414. },
  17415. "realminivaluedp": {
  17416. "description": "实际最小变动值小数位",
  17417. "type": "integer"
  17418. },
  17419. "unitid": {
  17420. "description": "单位ID",
  17421. "type": "integer"
  17422. },
  17423. "unitname": {
  17424. "description": "单位",
  17425. "type": "string"
  17426. },
  17427. "updatetime": {
  17428. "description": "更新时间",
  17429. "type": "string"
  17430. },
  17431. "updatorid": {
  17432. "description": "更新人",
  17433. "type": "integer"
  17434. },
  17435. "wrsstatus": {
  17436. "description": "状态 - 作废 - 0:未激活 1:正常",
  17437. "type": "integer"
  17438. },
  17439. "wrstandardcode": {
  17440. "description": "仓单标准代码",
  17441. "type": "string"
  17442. },
  17443. "wrstandardid": {
  17444. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  17445. "type": "integer"
  17446. },
  17447. "wrstandardname": {
  17448. "description": "仓单标准名称",
  17449. "type": "string"
  17450. }
  17451. }
  17452. },
  17453. "models.Warehouseinfo": {
  17454. "type": "object",
  17455. "required": [
  17456. "autoid",
  17457. "warehousecode"
  17458. ],
  17459. "properties": {
  17460. "address": {
  17461. "description": "详细地址",
  17462. "type": "string"
  17463. },
  17464. "areauserid": {
  17465. "description": "所属机构",
  17466. "type": "integer"
  17467. },
  17468. "autoid": {
  17469. "description": "自增ID",
  17470. "type": "integer"
  17471. },
  17472. "cityid": {
  17473. "description": "市",
  17474. "type": "integer"
  17475. },
  17476. "contactname": {
  17477. "description": "联系人",
  17478. "type": "string"
  17479. },
  17480. "contactnum": {
  17481. "description": "联系电话",
  17482. "type": "string"
  17483. },
  17484. "countryid": {
  17485. "description": "国家",
  17486. "type": "integer"
  17487. },
  17488. "createtime": {
  17489. "description": "创建时间",
  17490. "type": "string"
  17491. },
  17492. "districtid": {
  17493. "description": "区",
  17494. "type": "integer"
  17495. },
  17496. "hasvideo": {
  17497. "description": "是否有视频 - 0:无 1:有",
  17498. "type": "integer"
  17499. },
  17500. "provinceid": {
  17501. "description": "省",
  17502. "type": "integer"
  17503. },
  17504. "remark": {
  17505. "description": "审核备注",
  17506. "type": "string"
  17507. },
  17508. "videourl": {
  17509. "description": "视频地址",
  17510. "type": "string"
  17511. },
  17512. "warehousecode": {
  17513. "description": "仓库代码",
  17514. "type": "string"
  17515. },
  17516. "warehousename": {
  17517. "description": "仓库名称",
  17518. "type": "string"
  17519. },
  17520. "warehousestatus": {
  17521. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  17522. "type": "integer"
  17523. },
  17524. "warehousetype": {
  17525. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17526. "type": "integer"
  17527. }
  17528. }
  17529. },
  17530. "order.QueryHisTradeDetailRsp": {
  17531. "type": "object",
  17532. "required": [
  17533. "accountid",
  17534. "buyorsell",
  17535. "goodsid",
  17536. "histradedate",
  17537. "marketid",
  17538. "memberuserid",
  17539. "orderid",
  17540. "tradeamount",
  17541. "tradedate",
  17542. "tradeid",
  17543. "tradeprice",
  17544. "tradeqty",
  17545. "tradetime"
  17546. ],
  17547. "properties": {
  17548. "accountid": {
  17549. "description": "账户ID[报价币种]",
  17550. "type": "integer"
  17551. },
  17552. "buildtype": {
  17553. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  17554. "type": "integer"
  17555. },
  17556. "buyorsell": {
  17557. "description": "方向 - 0:买 1:卖",
  17558. "type": "integer"
  17559. },
  17560. "charge": {
  17561. "description": "手续费",
  17562. "type": "number"
  17563. },
  17564. "closecharge": {
  17565. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  17566. "type": "number"
  17567. },
  17568. "closeexchagechargevalue": {
  17569. "description": "平仓交易所手续费设置值",
  17570. "type": "number"
  17571. },
  17572. "closefeealgorithm": {
  17573. "description": "平仓手续费收取方式 1:比率 2:固定",
  17574. "type": "integer"
  17575. },
  17576. "closememberchargevalue": {
  17577. "description": "平仓会员手续费设置值",
  17578. "type": "number"
  17579. },
  17580. "closepl": {
  17581. "description": "平仓盈亏",
  17582. "type": "number"
  17583. },
  17584. "closepl2": {
  17585. "description": "平仓盈亏[逐笔]",
  17586. "type": "number"
  17587. },
  17588. "closeqty": {
  17589. "description": "平仓数量(先建后平操作 需要记录)",
  17590. "type": "integer"
  17591. },
  17592. "creditamount": {
  17593. "description": "授信金额",
  17594. "type": "number"
  17595. },
  17596. "gcaccountid": {
  17597. "description": "账户ID[合约币种]",
  17598. "type": "integer"
  17599. },
  17600. "goodscode": {
  17601. "description": "商品代码",
  17602. "type": "string"
  17603. },
  17604. "goodsid": {
  17605. "description": "商品ID",
  17606. "type": "integer"
  17607. },
  17608. "goodsname": {
  17609. "description": "商品名称",
  17610. "type": "string"
  17611. },
  17612. "histradedate": {
  17613. "description": "历史交易日",
  17614. "type": "string"
  17615. },
  17616. "intclosepl": {
  17617. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  17618. "type": "integer"
  17619. },
  17620. "isconfirmexercise": {
  17621. "description": "是否确认行权- 0:否 1:是",
  17622. "type": "integer"
  17623. },
  17624. "ismain": {
  17625. "description": "是否主单 - 0:不是 1:是",
  17626. "type": "integer"
  17627. },
  17628. "ispreexercise": {
  17629. "description": "是否预申报- 0:否 1:是",
  17630. "type": "integer"
  17631. },
  17632. "isreckoned": {
  17633. "description": "是否结算 - 0:未结算 1:已结算",
  17634. "type": "integer"
  17635. },
  17636. "isvaliddata": {
  17637. "description": "是否有效 - 0:无效 1:有效",
  17638. "type": "integer"
  17639. },
  17640. "listingselecttype": {
  17641. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17642. "type": "integer"
  17643. },
  17644. "marketid": {
  17645. "description": "市场ID",
  17646. "type": "integer"
  17647. },
  17648. "marketname": {
  17649. "description": "市场名称",
  17650. "type": "string"
  17651. },
  17652. "matchaccountid": {
  17653. "description": "对手账号id",
  17654. "type": "integer"
  17655. },
  17656. "memberuserid": {
  17657. "description": "会员id 个人投资者 需要填写",
  17658. "type": "integer"
  17659. },
  17660. "opencharge": {
  17661. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  17662. "type": "number"
  17663. },
  17664. "openexchagechargevalue": {
  17665. "description": "建仓交易所手续费设置值",
  17666. "type": "number"
  17667. },
  17668. "openfeealgorithm": {
  17669. "description": "建仓手续费收取方式 1:比率 2:固定",
  17670. "type": "integer"
  17671. },
  17672. "openmemberchargevalue": {
  17673. "description": "建仓会员手续费设置值",
  17674. "type": "number"
  17675. },
  17676. "openqty": {
  17677. "description": "开仓数量(先建后平操作 需要记录)",
  17678. "type": "integer"
  17679. },
  17680. "optiontype": {
  17681. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  17682. "type": "integer"
  17683. },
  17684. "orderid": {
  17685. "description": "委托单号",
  17686. "type": "string"
  17687. },
  17688. "performanceplanid": {
  17689. "description": "履约计划ID[期权]",
  17690. "type": "integer"
  17691. },
  17692. "performancestatus": {
  17693. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  17694. "type": "integer"
  17695. },
  17696. "preexerciseprice": {
  17697. "description": "预申报价格",
  17698. "type": "number"
  17699. },
  17700. "premium": {
  17701. "description": "权利金 - [持仓单的权利金]",
  17702. "type": "number"
  17703. },
  17704. "relatedouttradeid": {
  17705. "description": "关联外部成交单ID",
  17706. "type": "integer"
  17707. },
  17708. "status": {
  17709. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  17710. "type": "integer"
  17711. },
  17712. "tradeamount": {
  17713. "description": "成交金额[账户币种,用于所有权]",
  17714. "type": "number"
  17715. },
  17716. "tradedate": {
  17717. "description": "交易日(yyyyMMdd)",
  17718. "type": "string"
  17719. },
  17720. "tradeid": {
  17721. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17722. "type": "string"
  17723. },
  17724. "trademode": {
  17725. "description": "交易模式",
  17726. "type": "integer"
  17727. },
  17728. "tradeprice": {
  17729. "description": "成交价格",
  17730. "type": "number"
  17731. },
  17732. "tradeproperty": {
  17733. "description": "交易属性",
  17734. "type": "integer"
  17735. },
  17736. "tradeqty": {
  17737. "description": "成交数量",
  17738. "type": "integer"
  17739. },
  17740. "tradetime": {
  17741. "description": "成交时间",
  17742. "type": "string"
  17743. },
  17744. "tradetype": {
  17745. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  17746. "type": "integer"
  17747. }
  17748. }
  17749. },
  17750. "order.QueryHisTradeOrderDetailRsp": {
  17751. "type": "object",
  17752. "required": [
  17753. "accountid",
  17754. "buildtype",
  17755. "buyorsell",
  17756. "goodsid",
  17757. "histradedate",
  17758. "marketid",
  17759. "memberuserid",
  17760. "operatetype",
  17761. "orderid",
  17762. "orderqty",
  17763. "ordertime",
  17764. "pricemode",
  17765. "tradedate",
  17766. "validtype"
  17767. ],
  17768. "properties": {
  17769. "accountid": {
  17770. "description": "账户ID[报价币种]",
  17771. "type": "integer"
  17772. },
  17773. "buildtype": {
  17774. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  17775. "type": "integer"
  17776. },
  17777. "buyorsell": {
  17778. "description": "买卖 - 0:买 1:卖",
  17779. "type": "integer"
  17780. },
  17781. "cancelorderid": {
  17782. "description": "撤单单号(撤单时填写)",
  17783. "type": "string"
  17784. },
  17785. "cancelqty": {
  17786. "description": "撤单数量",
  17787. "type": "integer"
  17788. },
  17789. "clientordertime": {
  17790. "description": "客户端委托时间",
  17791. "type": "string"
  17792. },
  17793. "clientticket": {
  17794. "description": "客户端流水号",
  17795. "type": "string"
  17796. },
  17797. "clienttype": {
  17798. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  17799. "type": "integer"
  17800. },
  17801. "closeexchagechargevalue": {
  17802. "description": "平仓交易所手续费设置值",
  17803. "type": "number"
  17804. },
  17805. "closefeealgorithm": {
  17806. "description": "平仓手续费收取方式 1:比率 2:固定",
  17807. "type": "integer"
  17808. },
  17809. "closefreezecharge": {
  17810. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  17811. "type": "number"
  17812. },
  17813. "closememberchargevalue": {
  17814. "description": "平仓会员手续费设置值",
  17815. "type": "number"
  17816. },
  17817. "closeqty": {
  17818. "description": "平仓数量(先建后平操作 需要记录)",
  17819. "type": "integer"
  17820. },
  17821. "closetradeqty": {
  17822. "description": "平仓成交数量(先建后平操作,需要记录)",
  17823. "type": "integer"
  17824. },
  17825. "closeunfreezecharge": {
  17826. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  17827. "type": "number"
  17828. },
  17829. "delistingtype": {
  17830. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  17831. "type": "integer"
  17832. },
  17833. "freezecharge": {
  17834. "description": "冻结手续费",
  17835. "type": "number"
  17836. },
  17837. "freezemargin": {
  17838. "description": "冻结保证金(冻结交易金额)",
  17839. "type": "number"
  17840. },
  17841. "gcaccountid": {
  17842. "description": "账户ID[合约币种]",
  17843. "type": "integer"
  17844. },
  17845. "goodscode": {
  17846. "description": "商品代码",
  17847. "type": "string"
  17848. },
  17849. "goodsid": {
  17850. "description": "商品ID",
  17851. "type": "integer"
  17852. },
  17853. "goodsname": {
  17854. "description": "商品名称",
  17855. "type": "string"
  17856. },
  17857. "histradedate": {
  17858. "description": "历史交易日",
  17859. "type": "string"
  17860. },
  17861. "isconfirmexercise": {
  17862. "description": "是否确认行权- 0:否 1:是",
  17863. "type": "integer"
  17864. },
  17865. "ispreexercise": {
  17866. "description": "是否预申报- 0:否 1:是",
  17867. "type": "integer"
  17868. },
  17869. "isvaliddata": {
  17870. "description": "是否有效 - 0:无效 1:有效",
  17871. "type": "integer"
  17872. },
  17873. "listingselecttype": {
  17874. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17875. "type": "integer"
  17876. },
  17877. "marginalgorithm": {
  17878. "description": "保证金收取方式 1:比率 2:固定",
  17879. "type": "integer"
  17880. },
  17881. "marginvalue": {
  17882. "description": "即市保证金设置值",
  17883. "type": "number"
  17884. },
  17885. "marketid": {
  17886. "description": "市场ID",
  17887. "type": "integer"
  17888. },
  17889. "marketmaxsub": {
  17890. "description": "市价最大偏移范围",
  17891. "type": "number"
  17892. },
  17893. "marketname": {
  17894. "description": "市场名称",
  17895. "type": "string"
  17896. },
  17897. "memberuserid": {
  17898. "description": "所属会员UserID",
  17899. "type": "integer"
  17900. },
  17901. "openexchagechargevalue": {
  17902. "description": "建仓交易所手续费设置值",
  17903. "type": "number"
  17904. },
  17905. "openfeealgorithm": {
  17906. "description": "建仓手续费收取方式 1:比率 2:固定",
  17907. "type": "integer"
  17908. },
  17909. "openfreezecharge": {
  17910. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  17911. "type": "number"
  17912. },
  17913. "openmemberchargevalue": {
  17914. "description": "建仓会员手续费设置值",
  17915. "type": "number"
  17916. },
  17917. "openqty": {
  17918. "description": "开仓数量(先建后平操作,需要记录)",
  17919. "type": "integer"
  17920. },
  17921. "opentradeqty": {
  17922. "description": "开仓成交数量(先建后平操作,需要记录)",
  17923. "type": "integer"
  17924. },
  17925. "openunfreezecharge": {
  17926. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  17927. "type": "number"
  17928. },
  17929. "operatetype": {
  17930. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  17931. "type": "integer"
  17932. },
  17933. "operatorid": {
  17934. "description": "登录账号(LoginID)",
  17935. "type": "integer"
  17936. },
  17937. "optiontype": {
  17938. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  17939. "type": "integer"
  17940. },
  17941. "orderid": {
  17942. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17943. "type": "string"
  17944. },
  17945. "orderprice": {
  17946. "description": "委托价格",
  17947. "type": "number"
  17948. },
  17949. "orderqty": {
  17950. "description": "委托数量",
  17951. "type": "integer"
  17952. },
  17953. "ordersrc": {
  17954. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  17955. "type": "integer"
  17956. },
  17957. "orderstatus": {
  17958. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17959. "type": "integer"
  17960. },
  17961. "ordertime": {
  17962. "description": "委托时间",
  17963. "type": "string"
  17964. },
  17965. "preexerciseprice": {
  17966. "description": "预申报价格",
  17967. "type": "number"
  17968. },
  17969. "premium": {
  17970. "description": "权利金",
  17971. "type": "number"
  17972. },
  17973. "preorderid": {
  17974. "description": "关联预埋单号(止盈止损单时填写)",
  17975. "type": "string"
  17976. },
  17977. "pricemode": {
  17978. "description": "取价方式 - 1:市价 2: 限价",
  17979. "type": "integer"
  17980. },
  17981. "quoteid": {
  17982. "description": "报价单ID",
  17983. "type": "integer"
  17984. },
  17985. "relatedid": {
  17986. "description": "关联单号(交割单)",
  17987. "type": "string"
  17988. },
  17989. "retcode": {
  17990. "description": "错误代码",
  17991. "type": "integer"
  17992. },
  17993. "sessionid": {
  17994. "description": "会话ID",
  17995. "type": "integer"
  17996. },
  17997. "tradedate": {
  17998. "description": "交易日(yyyyMMdd)",
  17999. "type": "string"
  18000. },
  18001. "trademode": {
  18002. "description": "交易模式",
  18003. "type": "integer"
  18004. },
  18005. "tradeproperty": {
  18006. "description": "交易属性",
  18007. "type": "integer"
  18008. },
  18009. "tradeqty": {
  18010. "description": "成交数量",
  18011. "type": "integer"
  18012. },
  18013. "unfreezecharge": {
  18014. "description": "解冻手续费",
  18015. "type": "number"
  18016. },
  18017. "unfreezemargin": {
  18018. "description": "解冻保证金",
  18019. "type": "number"
  18020. },
  18021. "updatetime": {
  18022. "description": "更新时间",
  18023. "type": "string"
  18024. },
  18025. "uuid": {
  18026. "description": "发起端唯一id",
  18027. "type": "string"
  18028. },
  18029. "validtime": {
  18030. "description": "有效期限",
  18031. "type": "string"
  18032. },
  18033. "validtype": {
  18034. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  18035. "type": "integer"
  18036. },
  18037. "volumetype": {
  18038. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  18039. "type": "integer"
  18040. }
  18041. }
  18042. },
  18043. "order.QueryTradeDetailRsp": {
  18044. "type": "object",
  18045. "required": [
  18046. "accountid",
  18047. "buyorsell",
  18048. "goodsid",
  18049. "marketid",
  18050. "memberuserid",
  18051. "orderid",
  18052. "tradeamount",
  18053. "tradedate",
  18054. "tradeid",
  18055. "tradeprice",
  18056. "tradeqty",
  18057. "tradetime"
  18058. ],
  18059. "properties": {
  18060. "accountid": {
  18061. "description": "账户ID[报价币种]",
  18062. "type": "integer"
  18063. },
  18064. "buildtype": {
  18065. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  18066. "type": "integer"
  18067. },
  18068. "buyorsell": {
  18069. "description": "方向 - 0:买 1:卖",
  18070. "type": "integer"
  18071. },
  18072. "charge": {
  18073. "description": "手续费",
  18074. "type": "number"
  18075. },
  18076. "closecharge": {
  18077. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  18078. "type": "number"
  18079. },
  18080. "closeexchagechargevalue": {
  18081. "description": "平仓交易所手续费设置值",
  18082. "type": "number"
  18083. },
  18084. "closefeealgorithm": {
  18085. "description": "平仓手续费收取方式 1:比率 2:固定",
  18086. "type": "integer"
  18087. },
  18088. "closememberchargevalue": {
  18089. "description": "平仓会员手续费设置值",
  18090. "type": "number"
  18091. },
  18092. "closepl": {
  18093. "description": "平仓盈亏",
  18094. "type": "number"
  18095. },
  18096. "closepl2": {
  18097. "description": "平仓盈亏[逐笔]",
  18098. "type": "number"
  18099. },
  18100. "closeqty": {
  18101. "description": "平仓数量(先建后平操作 需要记录)",
  18102. "type": "integer"
  18103. },
  18104. "creditamount": {
  18105. "description": "授信金额",
  18106. "type": "number"
  18107. },
  18108. "gcaccountid": {
  18109. "description": "账户ID[合约币种]",
  18110. "type": "integer"
  18111. },
  18112. "goodscode": {
  18113. "description": "商品代码",
  18114. "type": "string"
  18115. },
  18116. "goodsid": {
  18117. "description": "商品ID",
  18118. "type": "integer"
  18119. },
  18120. "goodsname": {
  18121. "description": "商品名称",
  18122. "type": "string"
  18123. },
  18124. "intclosepl": {
  18125. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  18126. "type": "integer"
  18127. },
  18128. "isconfirmexercise": {
  18129. "description": "是否确认行权- 0:否 1:是",
  18130. "type": "integer"
  18131. },
  18132. "ismain": {
  18133. "description": "是否主单 - 0:不是 1:是",
  18134. "type": "integer"
  18135. },
  18136. "ispreexercise": {
  18137. "description": "是否预申报- 0:否 1:是",
  18138. "type": "integer"
  18139. },
  18140. "isreckoned": {
  18141. "description": "是否结算 - 0:未结算 1:已结算",
  18142. "type": "integer"
  18143. },
  18144. "listingselecttype": {
  18145. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18146. "type": "integer"
  18147. },
  18148. "marketid": {
  18149. "description": "市场ID",
  18150. "type": "integer"
  18151. },
  18152. "marketname": {
  18153. "description": "市场名称",
  18154. "type": "string"
  18155. },
  18156. "matchaccountid": {
  18157. "description": "对手账号id",
  18158. "type": "integer"
  18159. },
  18160. "memberuserid": {
  18161. "description": "会员id 个人投资者 需要填写",
  18162. "type": "integer"
  18163. },
  18164. "opencharge": {
  18165. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  18166. "type": "number"
  18167. },
  18168. "openexchagechargevalue": {
  18169. "description": "建仓交易所手续费设置值",
  18170. "type": "number"
  18171. },
  18172. "openfeealgorithm": {
  18173. "description": "建仓手续费收取方式 1:比率 2:固定",
  18174. "type": "integer"
  18175. },
  18176. "openmemberchargevalue": {
  18177. "description": "建仓会员手续费设置值",
  18178. "type": "number"
  18179. },
  18180. "openqty": {
  18181. "description": "开仓数量(先建后平操作 需要记录)",
  18182. "type": "integer"
  18183. },
  18184. "optiontype": {
  18185. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  18186. "type": "integer"
  18187. },
  18188. "orderid": {
  18189. "description": "委托单号",
  18190. "type": "string"
  18191. },
  18192. "performanceplanid": {
  18193. "description": "履约计划ID[期权]",
  18194. "type": "integer"
  18195. },
  18196. "performancestatus": {
  18197. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  18198. "type": "integer"
  18199. },
  18200. "preexerciseprice": {
  18201. "description": "预申报价格",
  18202. "type": "number"
  18203. },
  18204. "premium": {
  18205. "description": "权利金 - [持仓单的权利金]",
  18206. "type": "number"
  18207. },
  18208. "relatedouttradeid": {
  18209. "description": "关联外部成交单ID",
  18210. "type": "integer"
  18211. },
  18212. "status": {
  18213. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  18214. "type": "integer"
  18215. },
  18216. "tradeamount": {
  18217. "description": "成交金额[账户币种,用于所有权]",
  18218. "type": "number"
  18219. },
  18220. "tradedate": {
  18221. "description": "交易日(yyyyMMdd)",
  18222. "type": "string"
  18223. },
  18224. "tradeid": {
  18225. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18226. "type": "string"
  18227. },
  18228. "trademode": {
  18229. "description": "交易模式",
  18230. "type": "integer"
  18231. },
  18232. "tradeprice": {
  18233. "description": "成交价格",
  18234. "type": "number"
  18235. },
  18236. "tradeproperty": {
  18237. "description": "交易属性",
  18238. "type": "integer"
  18239. },
  18240. "tradeqty": {
  18241. "description": "成交数量",
  18242. "type": "integer"
  18243. },
  18244. "tradetime": {
  18245. "description": "成交时间",
  18246. "type": "string"
  18247. },
  18248. "tradetype": {
  18249. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  18250. "type": "integer"
  18251. }
  18252. }
  18253. },
  18254. "order.QueryTradeOrderDetailRsp": {
  18255. "type": "object",
  18256. "required": [
  18257. "accountid",
  18258. "buildtype",
  18259. "buyorsell",
  18260. "goodsid",
  18261. "marketid",
  18262. "operatetype",
  18263. "orderqty",
  18264. "ordertime",
  18265. "pricemode",
  18266. "tradedate",
  18267. "validtype"
  18268. ],
  18269. "properties": {
  18270. "accountid": {
  18271. "description": "账户ID[报价币种]",
  18272. "type": "integer"
  18273. },
  18274. "buildtype": {
  18275. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  18276. "type": "integer"
  18277. },
  18278. "buyorsell": {
  18279. "description": "买卖 - 0:买 1:卖",
  18280. "type": "integer"
  18281. },
  18282. "cancelorderid": {
  18283. "description": "撤单单号(撤单时填写)",
  18284. "type": "string"
  18285. },
  18286. "cancelqty": {
  18287. "description": "撤单数量",
  18288. "type": "integer"
  18289. },
  18290. "clienttype": {
  18291. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  18292. "type": "integer"
  18293. },
  18294. "closefreezecharge": {
  18295. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  18296. "type": "number"
  18297. },
  18298. "closeqty": {
  18299. "description": "平仓数量(先建后平操作 需要记录)",
  18300. "type": "integer"
  18301. },
  18302. "closetradeqty": {
  18303. "description": "平仓成交数量(先建后平操作,需要记录)",
  18304. "type": "integer"
  18305. },
  18306. "closeunfreezecharge": {
  18307. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  18308. "type": "number"
  18309. },
  18310. "delistingtype": {
  18311. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  18312. "type": "integer"
  18313. },
  18314. "enableqty": {
  18315. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  18316. "type": "integer"
  18317. },
  18318. "freezecharge": {
  18319. "description": "冻结手续费",
  18320. "type": "number"
  18321. },
  18322. "freezemargin": {
  18323. "description": "冻结保证金(冻结交易金额)",
  18324. "type": "number"
  18325. },
  18326. "goodscode": {
  18327. "description": "商品代码",
  18328. "type": "string"
  18329. },
  18330. "goodsid": {
  18331. "description": "商品ID",
  18332. "type": "integer"
  18333. },
  18334. "goodsname": {
  18335. "description": "商品名称",
  18336. "type": "string"
  18337. },
  18338. "listingselecttype": {
  18339. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18340. "type": "integer"
  18341. },
  18342. "marketid": {
  18343. "description": "市场ID",
  18344. "type": "integer"
  18345. },
  18346. "marketname": {
  18347. "description": "市场名称",
  18348. "type": "string"
  18349. },
  18350. "openfreezecharge": {
  18351. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  18352. "type": "number"
  18353. },
  18354. "openqty": {
  18355. "description": "开仓数量(先建后平操作,需要记录)",
  18356. "type": "integer"
  18357. },
  18358. "opentradeqty": {
  18359. "description": "开仓成交数量(先建后平操作,需要记录)",
  18360. "type": "integer"
  18361. },
  18362. "openunfreezecharge": {
  18363. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  18364. "type": "number"
  18365. },
  18366. "operatetype": {
  18367. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  18368. "type": "integer"
  18369. },
  18370. "operatorid": {
  18371. "description": "登录账号(LoginID)",
  18372. "type": "integer"
  18373. },
  18374. "orderid": {
  18375. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18376. "type": "string"
  18377. },
  18378. "orderprice": {
  18379. "description": "委托价格",
  18380. "type": "number"
  18381. },
  18382. "orderqty": {
  18383. "description": "委托数量",
  18384. "type": "integer"
  18385. },
  18386. "ordersrc": {
  18387. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  18388. "type": "integer"
  18389. },
  18390. "orderstatus": {
  18391. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18392. "type": "integer"
  18393. },
  18394. "ordertime": {
  18395. "description": "委托时间",
  18396. "type": "string"
  18397. },
  18398. "preorderid": {
  18399. "description": "关联预埋单号(止盈止损单时填写)",
  18400. "type": "string"
  18401. },
  18402. "pricemode": {
  18403. "description": "取价方式 - 1:市价 2: 限价",
  18404. "type": "integer"
  18405. },
  18406. "relatedid": {
  18407. "description": "关联单号(交割单)",
  18408. "type": "string"
  18409. },
  18410. "tradedate": {
  18411. "description": "交易日(yyyyMMdd)",
  18412. "type": "string"
  18413. },
  18414. "trademode": {
  18415. "description": "交易模式",
  18416. "type": "integer"
  18417. },
  18418. "tradeqty": {
  18419. "description": "成交数量",
  18420. "type": "integer"
  18421. },
  18422. "unfreezecharge": {
  18423. "description": "解冻手续费",
  18424. "type": "number"
  18425. },
  18426. "unfreezemargin": {
  18427. "description": "解冻保证金",
  18428. "type": "number"
  18429. },
  18430. "validtime": {
  18431. "description": "有效期限",
  18432. "type": "string"
  18433. },
  18434. "validtype": {
  18435. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  18436. "type": "integer"
  18437. },
  18438. "volumetype": {
  18439. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  18440. "type": "integer"
  18441. }
  18442. }
  18443. },
  18444. "order.QueryTradePositionRsp": {
  18445. "type": "object",
  18446. "required": [
  18447. "goodsid"
  18448. ],
  18449. "properties": {
  18450. "accountid": {
  18451. "description": "资金账户",
  18452. "type": "integer"
  18453. },
  18454. "agreeunit": {
  18455. "description": "合约单位",
  18456. "type": "number"
  18457. },
  18458. "averageprice": {
  18459. "description": "持仓均价",
  18460. "type": "number"
  18461. },
  18462. "buyorsell": {
  18463. "description": "方向 - 0:买 1:卖",
  18464. "type": "integer"
  18465. },
  18466. "closetotalqty": {
  18467. "description": "平仓总数量",
  18468. "type": "integer"
  18469. },
  18470. "curholderamount": {
  18471. "description": "当前持仓总金额[商品币种]",
  18472. "type": "number"
  18473. },
  18474. "curpositionqty": {
  18475. "description": "当前持仓总数量",
  18476. "type": "integer"
  18477. },
  18478. "currencyid": {
  18479. "description": "报价货币ID",
  18480. "type": "integer"
  18481. },
  18482. "curtdposition": {
  18483. "description": "期末今日头寸",
  18484. "type": "integer"
  18485. },
  18486. "decimalplace": {
  18487. "description": "报价小数位",
  18488. "type": "integer"
  18489. },
  18490. "enableqty": {
  18491. "description": "可用量",
  18492. "type": "integer"
  18493. },
  18494. "fretdposition": {
  18495. "description": "冻结今日头寸",
  18496. "type": "integer"
  18497. },
  18498. "frozenqty": {
  18499. "description": "持仓冻结数量",
  18500. "type": "integer"
  18501. },
  18502. "goodscode": {
  18503. "description": "商品代码",
  18504. "type": "string"
  18505. },
  18506. "goodsid": {
  18507. "description": "商品Id",
  18508. "type": "integer"
  18509. },
  18510. "goodsname": {
  18511. "description": "商品名称",
  18512. "type": "string"
  18513. },
  18514. "goodunit": {
  18515. "description": "报价单位",
  18516. "type": "string"
  18517. },
  18518. "goodunitid": {
  18519. "description": "报价单位ID",
  18520. "type": "integer"
  18521. },
  18522. "holderamount": {
  18523. "description": "期初持仓总金额[商品币种]",
  18524. "type": "number"
  18525. },
  18526. "marketid": {
  18527. "description": "所属市场ID",
  18528. "type": "integer"
  18529. },
  18530. "openreqqty": {
  18531. "description": "开仓申请数量(用于比较最大持仓数量)",
  18532. "type": "integer"
  18533. },
  18534. "opentotalqty": {
  18535. "description": "开仓总数量",
  18536. "type": "integer"
  18537. },
  18538. "otherfrozenqty": {
  18539. "description": "持仓其他冻结数量(交割冻结)",
  18540. "type": "integer"
  18541. },
  18542. "positionqty": {
  18543. "description": "期初持仓数量",
  18544. "type": "integer"
  18545. },
  18546. "tnqty": {
  18547. "description": "T+N冻结总量",
  18548. "type": "integer"
  18549. },
  18550. "tnusedqty": {
  18551. "description": "T+N使用量(可以使用T+N的冻结数量)",
  18552. "type": "integer"
  18553. },
  18554. "trademode": {
  18555. "description": "交易模式",
  18556. "type": "integer"
  18557. },
  18558. "usedmargin": {
  18559. "description": "占用保证金[商品币种]",
  18560. "type": "number"
  18561. }
  18562. }
  18563. },
  18564. "quote.HistoryData": {
  18565. "type": "object",
  18566. "properties": {
  18567. "c": {
  18568. "description": "收盘价",
  18569. "type": "number"
  18570. },
  18571. "f": {
  18572. "description": "是否补充数据",
  18573. "type": "boolean"
  18574. },
  18575. "h": {
  18576. "description": "最高价",
  18577. "type": "number"
  18578. },
  18579. "hv": {
  18580. "description": "持仓量",
  18581. "type": "integer"
  18582. },
  18583. "l": {
  18584. "description": "最低价",
  18585. "type": "number"
  18586. },
  18587. "o": {
  18588. "description": "开盘价",
  18589. "type": "number"
  18590. },
  18591. "s": {
  18592. "description": "结算价,日线周期(包括)以上才有",
  18593. "type": "number"
  18594. },
  18595. "ts": {
  18596. "description": "时间",
  18597. "type": "string"
  18598. },
  18599. "tt": {
  18600. "description": "总金额",
  18601. "type": "number"
  18602. },
  18603. "tv": {
  18604. "description": "总量",
  18605. "type": "integer"
  18606. }
  18607. }
  18608. },
  18609. "quote.HistoryTikData": {
  18610. "type": "object",
  18611. "properties": {
  18612. "AV": {
  18613. "description": "卖量",
  18614. "type": "integer"
  18615. },
  18616. "Ask": {
  18617. "description": "卖价",
  18618. "type": "number"
  18619. },
  18620. "BV": {
  18621. "description": "买量",
  18622. "type": "integer"
  18623. },
  18624. "Bid": {
  18625. "description": "买价",
  18626. "type": "number"
  18627. },
  18628. "HI": {
  18629. "description": "单笔持仓",
  18630. "type": "integer"
  18631. },
  18632. "HV": {
  18633. "description": "持仓量",
  18634. "type": "integer"
  18635. },
  18636. "PE": {
  18637. "description": "现价",
  18638. "type": "number"
  18639. },
  18640. "TDR": {
  18641. "description": "交易方向,0:买 1:卖",
  18642. "type": "integer"
  18643. },
  18644. "TK": {
  18645. "description": "交易类型",
  18646. "type": "integer"
  18647. },
  18648. "TS": {
  18649. "description": "行情时间文本",
  18650. "type": "string"
  18651. },
  18652. "TT": {
  18653. "description": "现金额",
  18654. "type": "number"
  18655. },
  18656. "Vol": {
  18657. "description": "现量",
  18658. "type": "integer"
  18659. }
  18660. }
  18661. },
  18662. "quote.QueryQuoteDayRsp": {
  18663. "type": "object",
  18664. "properties": {
  18665. "ask": {
  18666. "description": "卖1",
  18667. "type": "number"
  18668. },
  18669. "ask10": {
  18670. "description": "卖10",
  18671. "type": "number"
  18672. },
  18673. "ask2": {
  18674. "description": "卖2",
  18675. "type": "number"
  18676. },
  18677. "ask3": {
  18678. "description": "卖3",
  18679. "type": "number"
  18680. },
  18681. "ask4": {
  18682. "description": "卖4",
  18683. "type": "number"
  18684. },
  18685. "ask5": {
  18686. "description": "卖5",
  18687. "type": "number"
  18688. },
  18689. "ask6": {
  18690. "description": "卖6",
  18691. "type": "number"
  18692. },
  18693. "ask7": {
  18694. "description": "卖7",
  18695. "type": "number"
  18696. },
  18697. "ask8": {
  18698. "description": "卖8",
  18699. "type": "number"
  18700. },
  18701. "ask9": {
  18702. "description": "卖9",
  18703. "type": "number"
  18704. },
  18705. "askorderid": {
  18706. "description": "卖单号1",
  18707. "type": "integer"
  18708. },
  18709. "askorderid2": {
  18710. "description": "卖单号2",
  18711. "type": "integer"
  18712. },
  18713. "askorderid3": {
  18714. "description": "卖单号3",
  18715. "type": "integer"
  18716. },
  18717. "askorderid4": {
  18718. "description": "卖单号4",
  18719. "type": "integer"
  18720. },
  18721. "askorderid5": {
  18722. "description": "卖单号5",
  18723. "type": "integer"
  18724. },
  18725. "askordervolume": {
  18726. "description": "卖单量1",
  18727. "type": "integer"
  18728. },
  18729. "askordervolume10": {
  18730. "description": "卖单量10",
  18731. "type": "integer"
  18732. },
  18733. "askordervolume2": {
  18734. "description": "卖单量2",
  18735. "type": "integer"
  18736. },
  18737. "askordervolume3": {
  18738. "description": "卖单量3",
  18739. "type": "integer"
  18740. },
  18741. "askordervolume4": {
  18742. "description": "卖单量4",
  18743. "type": "integer"
  18744. },
  18745. "askordervolume5": {
  18746. "description": "卖单量5",
  18747. "type": "integer"
  18748. },
  18749. "askordervolume6": {
  18750. "description": "卖单量6",
  18751. "type": "integer"
  18752. },
  18753. "askordervolume7": {
  18754. "description": "卖单量7",
  18755. "type": "integer"
  18756. },
  18757. "askordervolume8": {
  18758. "description": "卖单量8",
  18759. "type": "integer"
  18760. },
  18761. "askordervolume9": {
  18762. "description": "卖单量9",
  18763. "type": "integer"
  18764. },
  18765. "askqueueinfo": {
  18766. "description": "大利市卖港股用",
  18767. "type": "string"
  18768. },
  18769. "askvolume": {
  18770. "description": "卖量1",
  18771. "type": "integer"
  18772. },
  18773. "askvolume10": {
  18774. "description": "卖量10",
  18775. "type": "integer"
  18776. },
  18777. "askvolume2": {
  18778. "description": "卖量2",
  18779. "type": "integer"
  18780. },
  18781. "askvolume3": {
  18782. "description": "卖量3",
  18783. "type": "integer"
  18784. },
  18785. "askvolume4": {
  18786. "description": "卖量4",
  18787. "type": "integer"
  18788. },
  18789. "askvolume5": {
  18790. "description": "卖量5",
  18791. "type": "integer"
  18792. },
  18793. "askvolume6": {
  18794. "description": "卖量6",
  18795. "type": "integer"
  18796. },
  18797. "askvolume7": {
  18798. "description": "卖量7",
  18799. "type": "integer"
  18800. },
  18801. "askvolume8": {
  18802. "description": "卖量8",
  18803. "type": "integer"
  18804. },
  18805. "askvolume9": {
  18806. "description": "卖量9",
  18807. "type": "integer"
  18808. },
  18809. "averageprice": {
  18810. "description": "均价",
  18811. "type": "number"
  18812. },
  18813. "bid": {
  18814. "description": "买1",
  18815. "type": "number"
  18816. },
  18817. "bid10": {
  18818. "description": "买10",
  18819. "type": "number"
  18820. },
  18821. "bid2": {
  18822. "description": "买2",
  18823. "type": "number"
  18824. },
  18825. "bid3": {
  18826. "description": "买3",
  18827. "type": "number"
  18828. },
  18829. "bid4": {
  18830. "description": "买4",
  18831. "type": "number"
  18832. },
  18833. "bid5": {
  18834. "description": "买5",
  18835. "type": "number"
  18836. },
  18837. "bid6": {
  18838. "description": "买6",
  18839. "type": "number"
  18840. },
  18841. "bid7": {
  18842. "description": "买7",
  18843. "type": "number"
  18844. },
  18845. "bid8": {
  18846. "description": "买8",
  18847. "type": "number"
  18848. },
  18849. "bid9": {
  18850. "description": "买9",
  18851. "type": "number"
  18852. },
  18853. "bidorderid": {
  18854. "description": "买单号1",
  18855. "type": "integer"
  18856. },
  18857. "bidorderid2": {
  18858. "description": "买单号2",
  18859. "type": "integer"
  18860. },
  18861. "bidorderid3": {
  18862. "description": "买单号3",
  18863. "type": "integer"
  18864. },
  18865. "bidorderid4": {
  18866. "description": "买单号4",
  18867. "type": "integer"
  18868. },
  18869. "bidorderid5": {
  18870. "description": "买单号5",
  18871. "type": "integer"
  18872. },
  18873. "bidordervolume": {
  18874. "description": "买单量1",
  18875. "type": "integer"
  18876. },
  18877. "bidordervolume10": {
  18878. "description": "买单量10",
  18879. "type": "integer"
  18880. },
  18881. "bidordervolume2": {
  18882. "description": "买单量2",
  18883. "type": "integer"
  18884. },
  18885. "bidordervolume3": {
  18886. "description": "买单量3",
  18887. "type": "integer"
  18888. },
  18889. "bidordervolume4": {
  18890. "description": "买单量4",
  18891. "type": "integer"
  18892. },
  18893. "bidordervolume5": {
  18894. "description": "买单量5",
  18895. "type": "integer"
  18896. },
  18897. "bidordervolume6": {
  18898. "description": "买单量6",
  18899. "type": "integer"
  18900. },
  18901. "bidordervolume7": {
  18902. "description": "买单量7",
  18903. "type": "integer"
  18904. },
  18905. "bidordervolume8": {
  18906. "description": "买单量8",
  18907. "type": "integer"
  18908. },
  18909. "bidordervolume9": {
  18910. "description": "买单量9",
  18911. "type": "integer"
  18912. },
  18913. "bidqueueinfo": {
  18914. "description": "大利市买港股用",
  18915. "type": "string"
  18916. },
  18917. "bidvolume": {
  18918. "description": "买量1",
  18919. "type": "integer"
  18920. },
  18921. "bidvolume10": {
  18922. "description": "买量10",
  18923. "type": "integer"
  18924. },
  18925. "bidvolume2": {
  18926. "description": "买量2",
  18927. "type": "integer"
  18928. },
  18929. "bidvolume3": {
  18930. "description": "买量3",
  18931. "type": "integer"
  18932. },
  18933. "bidvolume4": {
  18934. "description": "买量4",
  18935. "type": "integer"
  18936. },
  18937. "bidvolume5": {
  18938. "description": "买量5",
  18939. "type": "integer"
  18940. },
  18941. "bidvolume6": {
  18942. "description": "买量6",
  18943. "type": "integer"
  18944. },
  18945. "bidvolume7": {
  18946. "description": "买量7",
  18947. "type": "integer"
  18948. },
  18949. "bidvolume8": {
  18950. "description": "买量8",
  18951. "type": "integer"
  18952. },
  18953. "bidvolume9": {
  18954. "description": "买量9",
  18955. "type": "integer"
  18956. },
  18957. "calloptionpremiums": {
  18958. "description": "认购期权1",
  18959. "type": "integer"
  18960. },
  18961. "calloptionpremiums2": {
  18962. "description": "认购期权2",
  18963. "type": "integer"
  18964. },
  18965. "calloptionpremiums3": {
  18966. "description": "认购期权3",
  18967. "type": "integer"
  18968. },
  18969. "calloptionpremiums4": {
  18970. "description": "认购期权4",
  18971. "type": "integer"
  18972. },
  18973. "calloptionpremiums5": {
  18974. "description": "认购期权5",
  18975. "type": "integer"
  18976. },
  18977. "cleartime": {
  18978. "description": "清盘时间",
  18979. "type": "integer"
  18980. },
  18981. "exchangecode": {
  18982. "description": "交易所代码",
  18983. "type": "integer"
  18984. },
  18985. "exchangedate": {
  18986. "description": "交易日",
  18987. "type": "integer"
  18988. },
  18989. "goodscode": {
  18990. "description": "商品代码",
  18991. "type": "string"
  18992. },
  18993. "grepmarketprice": {
  18994. "description": "暗盘价 港股专用",
  18995. "type": "number"
  18996. },
  18997. "highest": {
  18998. "description": "最高价",
  18999. "type": "number"
  19000. },
  19001. "holdincrement": {
  19002. "description": "单笔持仓",
  19003. "type": "integer"
  19004. },
  19005. "holdvolume": {
  19006. "description": "持仓",
  19007. "type": "integer"
  19008. },
  19009. "iep": {
  19010. "description": "平衡价 港股专用",
  19011. "type": "number"
  19012. },
  19013. "iev": {
  19014. "description": "平衡量 港股专用",
  19015. "type": "number"
  19016. },
  19017. "inventory": {
  19018. "description": "库存",
  19019. "type": "integer"
  19020. },
  19021. "iscleared": {
  19022. "description": "是否清盘标志",
  19023. "type": "integer"
  19024. },
  19025. "issettled": {
  19026. "description": "是否结算标志",
  19027. "type": "integer"
  19028. },
  19029. "last": {
  19030. "description": "最新价",
  19031. "type": "number"
  19032. },
  19033. "lastlot": {
  19034. "description": "最新成交手数",
  19035. "type": "integer"
  19036. },
  19037. "lasttime": {
  19038. "description": "行情时间(只有现价变化行情时间才变化)",
  19039. "type": "string"
  19040. },
  19041. "lastturnover": {
  19042. "description": "最新成交金额",
  19043. "type": "number"
  19044. },
  19045. "lastvolume": {
  19046. "description": "最新成交量",
  19047. "type": "integer"
  19048. },
  19049. "limitdown": {
  19050. "description": "跌停价",
  19051. "type": "number"
  19052. },
  19053. "limitup": {
  19054. "description": "涨停价",
  19055. "type": "number"
  19056. },
  19057. "lowest": {
  19058. "description": "最低价",
  19059. "type": "number"
  19060. },
  19061. "nontotalholdervolume": {
  19062. "description": "非交易持仓量",
  19063. "type": "integer"
  19064. },
  19065. "nontotallot": {
  19066. "description": "非交易总手数",
  19067. "type": "integer"
  19068. },
  19069. "nontotalturnover": {
  19070. "description": "非交易总金额",
  19071. "type": "integer"
  19072. },
  19073. "nontotalvolume": {
  19074. "description": "非交易总量",
  19075. "type": "integer"
  19076. },
  19077. "opened": {
  19078. "description": "开盘价",
  19079. "type": "number"
  19080. },
  19081. "opentime": {
  19082. "description": "开盘时间",
  19083. "type": "string"
  19084. },
  19085. "orderid": {
  19086. "description": "序号",
  19087. "type": "integer"
  19088. },
  19089. "preclose": {
  19090. "description": "昨收",
  19091. "type": "number"
  19092. },
  19093. "preholdvolume": {
  19094. "description": "昨持仓",
  19095. "type": "integer"
  19096. },
  19097. "presettle": {
  19098. "description": "昨结价",
  19099. "type": "number"
  19100. },
  19101. "publictradetype": {
  19102. "description": "公共交易标志类型 港股专用",
  19103. "type": "string"
  19104. },
  19105. "putoptionpremiums": {
  19106. "description": "认沽期权1",
  19107. "type": "integer"
  19108. },
  19109. "putoptionpremiums2": {
  19110. "description": "认沽期权2",
  19111. "type": "integer"
  19112. },
  19113. "putoptionpremiums3": {
  19114. "description": "认沽期权3",
  19115. "type": "integer"
  19116. },
  19117. "putoptionpremiums4": {
  19118. "description": "认沽期权4",
  19119. "type": "integer"
  19120. },
  19121. "putoptionpremiums5": {
  19122. "description": "认沽期权5",
  19123. "type": "integer"
  19124. },
  19125. "settle": {
  19126. "description": "结算价",
  19127. "type": "number"
  19128. },
  19129. "strikeprice": {
  19130. "description": "发行价",
  19131. "type": "number"
  19132. },
  19133. "totalaskvolume": {
  19134. "description": "内盘",
  19135. "type": "integer"
  19136. },
  19137. "totalbidvolume": {
  19138. "description": "外盘",
  19139. "type": "integer"
  19140. },
  19141. "totallot": {
  19142. "description": "总手数",
  19143. "type": "integer"
  19144. },
  19145. "totalturnover": {
  19146. "description": "总金额",
  19147. "type": "number"
  19148. },
  19149. "totalvolume": {
  19150. "description": "总量",
  19151. "type": "integer"
  19152. },
  19153. "utclasttime": {
  19154. "description": "utc的行情时间",
  19155. "type": "string"
  19156. }
  19157. }
  19158. },
  19159. "quote.QueryTSDataRsp": {
  19160. "type": "object",
  19161. "properties": {
  19162. "decimalPlace": {
  19163. "description": "小数位",
  19164. "type": "integer"
  19165. },
  19166. "endTime": {
  19167. "description": "结束时间",
  19168. "type": "string"
  19169. },
  19170. "goodsCode": {
  19171. "description": "商品代码",
  19172. "type": "string"
  19173. },
  19174. "historyDatas": {
  19175. "description": "历史数据",
  19176. "type": "array",
  19177. "items": {
  19178. "$ref": "#/definitions/quote.HistoryData"
  19179. }
  19180. },
  19181. "outGoodsCode": {
  19182. "description": "外部商品代码",
  19183. "type": "string"
  19184. },
  19185. "preSettle": {
  19186. "description": "昨结价",
  19187. "type": "number"
  19188. },
  19189. "startTime": {
  19190. "description": "开始时间",
  19191. "type": "string"
  19192. },
  19193. "tradeDate": {
  19194. "description": "交易日",
  19195. "type": "string"
  19196. }
  19197. }
  19198. },
  19199. "szdz.QueryConvertLogRsp": {
  19200. "type": "object",
  19201. "required": [
  19202. "logid"
  19203. ],
  19204. "properties": {
  19205. "accountid": {
  19206. "description": "资金账户ID",
  19207. "type": "integer"
  19208. },
  19209. "clientticket": {
  19210. "description": "客户端流水号",
  19211. "type": "string"
  19212. },
  19213. "converttype": {
  19214. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  19215. "type": "integer"
  19216. },
  19217. "createtime": {
  19218. "description": "记账时间",
  19219. "type": "string"
  19220. },
  19221. "daymaxvalue": {
  19222. "description": "配置当日最大转入限制",
  19223. "type": "number"
  19224. },
  19225. "daymaxvalue2": {
  19226. "description": "配置当日最大转入限制(转入)",
  19227. "type": "number"
  19228. },
  19229. "goodscode": {
  19230. "description": "商品代码",
  19231. "type": "string"
  19232. },
  19233. "goodsname": {
  19234. "description": "商品名称",
  19235. "type": "string"
  19236. },
  19237. "handlestatus": {
  19238. "description": "处理状态",
  19239. "type": "integer"
  19240. },
  19241. "innergoodsid": {
  19242. "description": "内部商品ID",
  19243. "type": "integer"
  19244. },
  19245. "inratio": {
  19246. "description": "配置转入比值",
  19247. "type": "integer"
  19248. },
  19249. "invalue": {
  19250. "description": "目标值",
  19251. "type": "number"
  19252. },
  19253. "logid": {
  19254. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19255. "type": "integer"
  19256. },
  19257. "mobile": {
  19258. "description": "手机号码(加密存储)",
  19259. "type": "string"
  19260. },
  19261. "outergoodscode": {
  19262. "description": "外部商品代码[JD\\PD]",
  19263. "type": "string"
  19264. },
  19265. "outratio": {
  19266. "description": "配置转出比值",
  19267. "type": "integer"
  19268. },
  19269. "outvalue": {
  19270. "description": "源值",
  19271. "type": "number"
  19272. },
  19273. "pddecimalplace": {
  19274. "description": "PD小数位",
  19275. "type": "integer"
  19276. },
  19277. "qty": {
  19278. "description": "数量",
  19279. "type": "string"
  19280. },
  19281. "remark": {
  19282. "description": "备注",
  19283. "type": "string"
  19284. },
  19285. "sessionid": {
  19286. "description": "会话ID",
  19287. "type": "integer"
  19288. },
  19289. "timemaxvalue": {
  19290. "description": "配置单次最大转入限制",
  19291. "type": "number"
  19292. },
  19293. "timemaxvalue2": {
  19294. "description": "配置单次最大转入限制(转入)",
  19295. "type": "number"
  19296. },
  19297. "timeminvalue": {
  19298. "description": "配置单次最小数量限制",
  19299. "type": "number"
  19300. },
  19301. "timeminvalue2": {
  19302. "description": "配置单次最小数量限制(转入)",
  19303. "type": "number"
  19304. },
  19305. "tradedate": {
  19306. "description": "交易日(yyyyMMdd)",
  19307. "type": "string"
  19308. },
  19309. "userid": {
  19310. "description": "用户ID",
  19311. "type": "integer"
  19312. }
  19313. }
  19314. },
  19315. "szdz.QueryGoodsPickupRsp": {
  19316. "type": "object",
  19317. "required": [
  19318. "takeorderid"
  19319. ],
  19320. "properties": {
  19321. "accountid": {
  19322. "description": "账户ID",
  19323. "type": "integer"
  19324. },
  19325. "address": {
  19326. "description": "提货人详细地址",
  19327. "type": "string"
  19328. },
  19329. "auditer": {
  19330. "description": "审核人",
  19331. "type": "integer"
  19332. },
  19333. "audittime": {
  19334. "description": "审核时间",
  19335. "type": "string"
  19336. },
  19337. "cardnum": {
  19338. "description": "提货人证件号码",
  19339. "type": "string"
  19340. },
  19341. "cardtypeid": {
  19342. "description": "提货人证件类型",
  19343. "type": "integer"
  19344. },
  19345. "checkremark": {
  19346. "description": "审核备注",
  19347. "type": "string"
  19348. },
  19349. "goodscode": {
  19350. "description": "商品代码",
  19351. "type": "string"
  19352. },
  19353. "goodsid": {
  19354. "description": "商品ID",
  19355. "type": "integer"
  19356. },
  19357. "goodsname": {
  19358. "description": "商品名称",
  19359. "type": "string"
  19360. },
  19361. "handlestatus": {
  19362. "description": "处理状态",
  19363. "type": "integer"
  19364. },
  19365. "marketid": {
  19366. "description": "市场ID",
  19367. "type": "integer"
  19368. },
  19369. "phonenum": {
  19370. "description": "提货人联系方式",
  19371. "type": "string"
  19372. },
  19373. "qty": {
  19374. "description": "提货数量",
  19375. "type": "number"
  19376. },
  19377. "recivername": {
  19378. "description": "提货人姓名",
  19379. "type": "string"
  19380. },
  19381. "reqtime": {
  19382. "description": "更新时间",
  19383. "type": "string"
  19384. },
  19385. "takemode": {
  19386. "description": "提货方式 - 2:自提 3:配送",
  19387. "type": "integer"
  19388. },
  19389. "takeorderid": {
  19390. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  19391. "type": "string"
  19392. },
  19393. "takeorderstatus": {
  19394. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  19395. "type": "integer"
  19396. },
  19397. "takeremark": {
  19398. "description": "提货备注",
  19399. "type": "string"
  19400. },
  19401. "tradedate": {
  19402. "description": "交易日(yyyyMMdd)",
  19403. "type": "string"
  19404. },
  19405. "userid": {
  19406. "description": "用户ID",
  19407. "type": "integer"
  19408. }
  19409. }
  19410. },
  19411. "szdz.QueryRecieptOrderRsp": {
  19412. "type": "object",
  19413. "required": [
  19414. "ordertime"
  19415. ],
  19416. "properties": {
  19417. "accountName": {
  19418. "description": "所属账号名称(已脱敏)",
  19419. "type": "string"
  19420. },
  19421. "accountid": {
  19422. "description": "资金账号",
  19423. "type": "integer"
  19424. },
  19425. "buyorsell": {
  19426. "description": "方向 - 0:买 1:卖",
  19427. "type": "integer"
  19428. },
  19429. "enableqty": {
  19430. "description": "可摘数量",
  19431. "type": "integer"
  19432. },
  19433. "goodscode": {
  19434. "description": "商品代码",
  19435. "type": "string"
  19436. },
  19437. "goodsid": {
  19438. "description": "商品ID",
  19439. "type": "integer"
  19440. },
  19441. "goodsname": {
  19442. "description": "商品名称",
  19443. "type": "string"
  19444. },
  19445. "orderid": {
  19446. "description": "委托单号",
  19447. "type": "string"
  19448. },
  19449. "orderprice": {
  19450. "description": "委托价格",
  19451. "type": "number"
  19452. },
  19453. "ordertime": {
  19454. "description": "委托时间",
  19455. "type": "string"
  19456. },
  19457. "tradedate": {
  19458. "description": "交易日(yyyyMMdd)",
  19459. "type": "string"
  19460. }
  19461. }
  19462. },
  19463. "szdz.QuerySZDZTradePositionRsp": {
  19464. "type": "object",
  19465. "properties": {
  19466. "accountid": {
  19467. "description": "账号Id",
  19468. "type": "integer"
  19469. },
  19470. "agreeunit": {
  19471. "description": "合约单位",
  19472. "type": "number"
  19473. },
  19474. "averageprice": {
  19475. "description": "持仓均价",
  19476. "type": "number"
  19477. },
  19478. "buyorsell": {
  19479. "description": "方向 - 0:买 1:卖",
  19480. "type": "integer"
  19481. },
  19482. "closetotalqty": {
  19483. "description": "平仓总数量",
  19484. "type": "integer"
  19485. },
  19486. "curholderamount": {
  19487. "description": "当前持仓总金额",
  19488. "type": "number"
  19489. },
  19490. "curpositionqty": {
  19491. "description": "当前持仓总数量",
  19492. "type": "integer"
  19493. },
  19494. "currencyid": {
  19495. "description": "报价货币ID",
  19496. "type": "integer"
  19497. },
  19498. "curtdposition": {
  19499. "description": "期末今日头寸",
  19500. "type": "integer"
  19501. },
  19502. "decimalplace": {
  19503. "description": "报价小数位",
  19504. "type": "integer"
  19505. },
  19506. "enableqty": {
  19507. "description": "可用量",
  19508. "type": "integer"
  19509. },
  19510. "fretdposition": {
  19511. "description": "冻结今日头寸",
  19512. "type": "integer"
  19513. },
  19514. "frozenqty": {
  19515. "description": "持仓冻结数量",
  19516. "type": "integer"
  19517. },
  19518. "goodscode": {
  19519. "description": "商品代码(内部)",
  19520. "type": "string"
  19521. },
  19522. "goodsid": {
  19523. "description": "商品Id",
  19524. "type": "integer"
  19525. },
  19526. "goodsname": {
  19527. "description": "商品名称",
  19528. "type": "string"
  19529. },
  19530. "goodunit": {
  19531. "description": "报价单位",
  19532. "type": "string"
  19533. },
  19534. "goodunitid": {
  19535. "description": "报价单位ID",
  19536. "type": "integer"
  19537. },
  19538. "holderamount": {
  19539. "description": "期初持仓总金额",
  19540. "type": "number"
  19541. },
  19542. "marketid": {
  19543. "description": "市场ID",
  19544. "type": "integer"
  19545. },
  19546. "openreqqty": {
  19547. "description": "开仓申请数量",
  19548. "type": "integer"
  19549. },
  19550. "opentotalqty": {
  19551. "description": "开仓总数量",
  19552. "type": "integer"
  19553. },
  19554. "otherfrozenqty": {
  19555. "description": "持仓其他冻结数量(交割冻结)",
  19556. "type": "integer"
  19557. },
  19558. "positionqty": {
  19559. "description": "期初持仓数量",
  19560. "type": "integer"
  19561. },
  19562. "szdz3freezqty": {
  19563. "description": "尚志大宗转换冻结总数量",
  19564. "type": "integer"
  19565. },
  19566. "tnqty": {
  19567. "description": "T+N冻结总量",
  19568. "type": "integer"
  19569. },
  19570. "tnusedqty": {
  19571. "description": "T+N使用量",
  19572. "type": "integer"
  19573. },
  19574. "trademode": {
  19575. "description": "交易模式",
  19576. "type": "integer"
  19577. },
  19578. "usedmargin": {
  19579. "description": "占用保证金",
  19580. "type": "number"
  19581. }
  19582. }
  19583. },
  19584. "taaccount.QueryAmountLogRsp": {
  19585. "type": "object",
  19586. "required": [
  19587. "accountid",
  19588. "amount",
  19589. "amountadjusttype",
  19590. "autoid",
  19591. "balance",
  19592. "createtime",
  19593. "currentbalance",
  19594. "operatetype"
  19595. ],
  19596. "properties": {
  19597. "OPERATETYPENAME": {
  19598. "description": "资金操作类型名称",
  19599. "type": "string"
  19600. },
  19601. "accountid": {
  19602. "description": "资金账户ID",
  19603. "type": "integer"
  19604. },
  19605. "agoodscode": {
  19606. "description": "竞拍商品代码",
  19607. "type": "string"
  19608. },
  19609. "agoodsname": {
  19610. "description": "竞拍商品名称",
  19611. "type": "string"
  19612. },
  19613. "amount": {
  19614. "description": "资金金额",
  19615. "type": "number"
  19616. },
  19617. "amountadjusttype": {
  19618. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  19619. "type": "integer"
  19620. },
  19621. "autoid": {
  19622. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  19623. "type": "integer"
  19624. },
  19625. "balance": {
  19626. "description": "期初余额",
  19627. "type": "number"
  19628. },
  19629. "businesscode": {
  19630. "description": "业务编号",
  19631. "type": "integer"
  19632. },
  19633. "createtime": {
  19634. "description": "发生时间",
  19635. "type": "string"
  19636. },
  19637. "currencyid": {
  19638. "description": "币种ID",
  19639. "type": "integer"
  19640. },
  19641. "currentbalance": {
  19642. "description": "期末余额(变动后金额)",
  19643. "type": "number"
  19644. },
  19645. "dgoodscode": {
  19646. "description": "交割商品代码",
  19647. "type": "string"
  19648. },
  19649. "dgoodsname": {
  19650. "description": "交割商品名称",
  19651. "type": "string"
  19652. },
  19653. "goodscode": {
  19654. "description": "商品代码",
  19655. "type": "string"
  19656. },
  19657. "goodsid": {
  19658. "description": "商品ID",
  19659. "type": "integer"
  19660. },
  19661. "goodsname": {
  19662. "description": "商品名称",
  19663. "type": "string"
  19664. },
  19665. "marketid": {
  19666. "description": "市场ID",
  19667. "type": "integer"
  19668. },
  19669. "marketname": {
  19670. "description": "市场名称",
  19671. "type": "string"
  19672. },
  19673. "moneyticket": {
  19674. "description": "资金流水号:银行端流水号",
  19675. "type": "integer"
  19676. },
  19677. "operatetype": {
  19678. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  19679. "type": "integer"
  19680. },
  19681. "relationorderid": {
  19682. "description": "关联单号",
  19683. "type": "string"
  19684. },
  19685. "remark": {
  19686. "description": "备注",
  19687. "type": "string"
  19688. },
  19689. "trademode": {
  19690. "description": "交易模式",
  19691. "type": "integer"
  19692. }
  19693. }
  19694. },
  19695. "taaccount.QueryHisAmountLogRsp": {
  19696. "type": "object",
  19697. "required": [
  19698. "accountid",
  19699. "amount",
  19700. "amountadjusttype",
  19701. "autoid",
  19702. "balance",
  19703. "createtime",
  19704. "currentbalance",
  19705. "histradedate",
  19706. "operatetype"
  19707. ],
  19708. "properties": {
  19709. "OPERATETYPENAME": {
  19710. "description": "资金操作类型名称",
  19711. "type": "string"
  19712. },
  19713. "accountid": {
  19714. "description": "资金账户ID",
  19715. "type": "integer"
  19716. },
  19717. "agoodscode": {
  19718. "description": "竞拍商品代码",
  19719. "type": "string"
  19720. },
  19721. "agoodsname": {
  19722. "description": "竞拍商品名称",
  19723. "type": "string"
  19724. },
  19725. "amount": {
  19726. "description": "资金金额",
  19727. "type": "number"
  19728. },
  19729. "amountadjusttype": {
  19730. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  19731. "type": "integer"
  19732. },
  19733. "autoid": {
  19734. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  19735. "type": "integer"
  19736. },
  19737. "balance": {
  19738. "description": "期初余额",
  19739. "type": "number"
  19740. },
  19741. "businesscode": {
  19742. "description": "业务编号",
  19743. "type": "integer"
  19744. },
  19745. "createtime": {
  19746. "description": "发生时间",
  19747. "type": "string"
  19748. },
  19749. "currencyid": {
  19750. "description": "币种ID",
  19751. "type": "integer"
  19752. },
  19753. "currentbalance": {
  19754. "description": "期末余额(变动后金额)",
  19755. "type": "number"
  19756. },
  19757. "dgoodscode": {
  19758. "description": "交割商品代码",
  19759. "type": "string"
  19760. },
  19761. "dgoodsname": {
  19762. "description": "交割商品名称",
  19763. "type": "string"
  19764. },
  19765. "goodscode": {
  19766. "description": "商品代码",
  19767. "type": "string"
  19768. },
  19769. "goodsid": {
  19770. "description": "商品ID",
  19771. "type": "integer"
  19772. },
  19773. "goodsname": {
  19774. "description": "商品名称",
  19775. "type": "string"
  19776. },
  19777. "histradedate": {
  19778. "description": "历史交易日",
  19779. "type": "string"
  19780. },
  19781. "isvaliddata": {
  19782. "description": "是否有效 - 0:无效 1:有效",
  19783. "type": "integer"
  19784. },
  19785. "marketid": {
  19786. "description": "市场ID",
  19787. "type": "integer"
  19788. },
  19789. "marketname": {
  19790. "description": "市场名称",
  19791. "type": "string"
  19792. },
  19793. "moneyticket": {
  19794. "description": "资金流水号:银行端流水号",
  19795. "type": "integer"
  19796. },
  19797. "operatetype": {
  19798. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  19799. "type": "integer"
  19800. },
  19801. "relationorderid": {
  19802. "description": "关联单号",
  19803. "type": "string"
  19804. },
  19805. "remark": {
  19806. "description": "备注",
  19807. "type": "string"
  19808. },
  19809. "trademode": {
  19810. "description": "交易模式",
  19811. "type": "integer"
  19812. }
  19813. }
  19814. },
  19815. "trade.QueryRecieptOrderRsp": {
  19816. "type": "object",
  19817. "required": [
  19818. "ordertime"
  19819. ],
  19820. "properties": {
  19821. "accountName": {
  19822. "description": "所属账号名称(已脱敏)",
  19823. "type": "string"
  19824. },
  19825. "accountid": {
  19826. "description": "资金账号",
  19827. "type": "integer"
  19828. },
  19829. "buyorsell": {
  19830. "description": "方向 - 0:买 1:卖",
  19831. "type": "integer"
  19832. },
  19833. "enableqty": {
  19834. "description": "可摘数量",
  19835. "type": "integer"
  19836. },
  19837. "goodscode": {
  19838. "description": "商品代码",
  19839. "type": "string"
  19840. },
  19841. "goodsid": {
  19842. "description": "商品ID",
  19843. "type": "integer"
  19844. },
  19845. "goodsname": {
  19846. "description": "商品名称",
  19847. "type": "string"
  19848. },
  19849. "orderid": {
  19850. "description": "委托单号",
  19851. "type": "string"
  19852. },
  19853. "orderprice": {
  19854. "description": "委托价格",
  19855. "type": "number"
  19856. },
  19857. "ordertime": {
  19858. "description": "委托时间",
  19859. "type": "string"
  19860. },
  19861. "tradedate": {
  19862. "description": "交易日(yyyyMMdd)",
  19863. "type": "string"
  19864. }
  19865. }
  19866. },
  19867. "user.LoginQueryRsp": {
  19868. "type": "object",
  19869. "properties": {
  19870. "externalExchanges": {
  19871. "description": "外部交易所",
  19872. "type": "array",
  19873. "items": {
  19874. "$ref": "#/definitions/models.Externalexchange"
  19875. }
  19876. },
  19877. "goodsgroups": {
  19878. "description": "商品组",
  19879. "type": "array",
  19880. "items": {
  19881. "$ref": "#/definitions/models.Goodsgroup"
  19882. }
  19883. },
  19884. "loginAccount": {
  19885. "description": "登录账号",
  19886. "type": "object",
  19887. "$ref": "#/definitions/models.Loginaccount"
  19888. },
  19889. "markets": {
  19890. "description": "市场",
  19891. "type": "array",
  19892. "items": {
  19893. "$ref": "#/definitions/models.Market"
  19894. }
  19895. },
  19896. "systemParams": {
  19897. "description": "系统参数",
  19898. "type": "array",
  19899. "items": {
  19900. "$ref": "#/definitions/models.Systemparam"
  19901. }
  19902. },
  19903. "userAccount": {
  19904. "description": "用户账号",
  19905. "type": "object",
  19906. "$ref": "#/definitions/models.Useraccount"
  19907. },
  19908. "userInfo": {
  19909. "description": "用户信息",
  19910. "type": "object",
  19911. "$ref": "#/definitions/models.Userinfo"
  19912. },
  19913. "username": {
  19914. "description": "用户姓名",
  19915. "type": "string"
  19916. }
  19917. }
  19918. }
  19919. },
  19920. "securityDefinitions": {
  19921. "ApiKeyAuth": {
  19922. "type": "apiKey",
  19923. "name": "Authorization",
  19924. "in": "header"
  19925. }
  19926. }
  19927. }