docs.go 518 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "responses": {
  378. "200": {
  379. "description": "OK",
  380. "schema": {
  381. "$ref": "#/definitions/models.Enumdicitem"
  382. }
  383. },
  384. "500": {
  385. "description": "Internal Server Error",
  386. "schema": {
  387. "$ref": "#/definitions/app.Response"
  388. }
  389. }
  390. }
  391. }
  392. },
  393. "/Common/GetServerTime": {
  394. "get": {
  395. "produces": [
  396. "application/json"
  397. ],
  398. "tags": [
  399. "通用服务"
  400. ],
  401. "summary": "获取服务器时间",
  402. "responses": {
  403. "200": {
  404. "description": "OK",
  405. "schema": {
  406. "$ref": "#/definitions/app.Response"
  407. }
  408. },
  409. "500": {
  410. "description": "Internal Server Error",
  411. "schema": {
  412. "$ref": "#/definitions/app.Response"
  413. }
  414. }
  415. }
  416. }
  417. },
  418. "/Common/NoticeReaded": {
  419. "post": {
  420. "security": [
  421. {
  422. "ApiKeyAuth": []
  423. }
  424. ],
  425. "produces": [
  426. "application/json"
  427. ],
  428. "tags": [
  429. "通用服务"
  430. ],
  431. "summary": "通知公告设置已读请求",
  432. "parameters": [
  433. {
  434. "type": "integer",
  435. "description": "登录账号",
  436. "name": "loginID",
  437. "in": "query",
  438. "required": true
  439. },
  440. {
  441. "type": "integer",
  442. "description": "通知公告ID",
  443. "name": "noticeID",
  444. "in": "query",
  445. "required": true
  446. }
  447. ],
  448. "responses": {
  449. "200": {
  450. "description": "OK",
  451. "schema": {
  452. "$ref": "#/definitions/app.Response"
  453. }
  454. },
  455. "500": {
  456. "description": "Internal Server Error",
  457. "schema": {
  458. "$ref": "#/definitions/app.Response"
  459. }
  460. }
  461. }
  462. }
  463. },
  464. "/Common/QueryImageConfigs": {
  465. "get": {
  466. "produces": [
  467. "application/json"
  468. ],
  469. "tags": [
  470. "通用服务"
  471. ],
  472. "summary": "查询轮播图配置信息",
  473. "parameters": [
  474. {
  475. "type": "integer",
  476. "description": "类型 - 1:App首页轮播 2:我的",
  477. "name": "imageType",
  478. "in": "query"
  479. }
  480. ],
  481. "responses": {
  482. "200": {
  483. "description": "OK",
  484. "schema": {
  485. "$ref": "#/definitions/models.Szdz2imageconfig"
  486. }
  487. },
  488. "500": {
  489. "description": "Internal Server Error",
  490. "schema": {
  491. "$ref": "#/definitions/app.Response"
  492. }
  493. }
  494. }
  495. }
  496. },
  497. "/Common/QueryNotice": {
  498. "get": {
  499. "security": [
  500. {
  501. "ApiKeyAuth": []
  502. }
  503. ],
  504. "produces": [
  505. "application/json"
  506. ],
  507. "tags": [
  508. "通用服务"
  509. ],
  510. "summary": "通知公告系统消息查询",
  511. "parameters": [
  512. {
  513. "type": "integer",
  514. "description": "页码",
  515. "name": "page",
  516. "in": "query"
  517. },
  518. {
  519. "type": "integer",
  520. "description": "每页条数",
  521. "name": "pagesize",
  522. "in": "query"
  523. },
  524. {
  525. "type": "integer",
  526. "description": "登录账号",
  527. "name": "loginID",
  528. "in": "query",
  529. "required": true
  530. },
  531. {
  532. "type": "integer",
  533. "description": "消息类型 - 1:公告通知 2:系统消息",
  534. "name": "msgType",
  535. "in": "query"
  536. },
  537. {
  538. "type": "boolean",
  539. "description": "是否只获取未读信息",
  540. "name": "onlyUnRead",
  541. "in": "query"
  542. }
  543. ],
  544. "responses": {
  545. "200": {
  546. "description": "OK",
  547. "schema": {
  548. "$ref": "#/definitions/common.QueryNoticeRsp"
  549. }
  550. },
  551. "500": {
  552. "description": "Internal Server Error",
  553. "schema": {
  554. "$ref": "#/definitions/app.Response"
  555. }
  556. }
  557. }
  558. }
  559. },
  560. "/Common/QueryProvincesAndCities": {
  561. "get": {
  562. "produces": [
  563. "application/json"
  564. ],
  565. "tags": [
  566. "通用服务"
  567. ],
  568. "summary": "查询省市信息(不包括区)",
  569. "parameters": [
  570. {
  571. "type": "integer",
  572. "description": "省ID",
  573. "name": "provinceID",
  574. "in": "query"
  575. }
  576. ],
  577. "responses": {
  578. "200": {
  579. "description": "OK",
  580. "schema": {
  581. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  582. }
  583. },
  584. "500": {
  585. "description": "Internal Server Error",
  586. "schema": {
  587. "$ref": "#/definitions/app.Response"
  588. }
  589. }
  590. }
  591. }
  592. },
  593. "/Common/QueryTableDefine": {
  594. "get": {
  595. "produces": [
  596. "application/json"
  597. ],
  598. "tags": [
  599. "通用服务"
  600. ],
  601. "summary": "查询交易端列表头信息",
  602. "parameters": [
  603. {
  604. "type": "string",
  605. "description": "表key",
  606. "name": "tableKey",
  607. "in": "query"
  608. },
  609. {
  610. "type": "integer",
  611. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  612. "name": "tableType",
  613. "in": "query"
  614. }
  615. ],
  616. "responses": {
  617. "200": {
  618. "description": "OK",
  619. "schema": {
  620. "$ref": "#/definitions/common.QueryTableDefineRsp"
  621. }
  622. },
  623. "500": {
  624. "description": "Internal Server Error",
  625. "schema": {
  626. "$ref": "#/definitions/app.Response"
  627. }
  628. }
  629. }
  630. }
  631. },
  632. "/Common/QueryTraderMenu": {
  633. "get": {
  634. "produces": [
  635. "application/json"
  636. ],
  637. "tags": [
  638. "通用服务"
  639. ],
  640. "summary": "查询交易端菜单",
  641. "parameters": [
  642. {
  643. "type": "integer",
  644. "description": "登录账号",
  645. "name": "loginid",
  646. "in": "query",
  647. "required": true
  648. }
  649. ],
  650. "responses": {
  651. "200": {
  652. "description": "OK",
  653. "schema": {
  654. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  655. }
  656. },
  657. "500": {
  658. "description": "Internal Server Error",
  659. "schema": {
  660. "$ref": "#/definitions/app.Response"
  661. }
  662. }
  663. }
  664. }
  665. },
  666. "/Delivery/QueryDeliveryRelation": {
  667. "get": {
  668. "security": [
  669. {
  670. "ApiKeyAuth": []
  671. }
  672. ],
  673. "produces": [
  674. "application/json"
  675. ],
  676. "tags": [
  677. "交割服务"
  678. ],
  679. "summary": "查询商品交割关系表",
  680. "parameters": [
  681. {
  682. "type": "integer",
  683. "description": "商品ID",
  684. "name": "goodsid",
  685. "in": "query"
  686. },
  687. {
  688. "type": "integer",
  689. "description": "品种ID",
  690. "name": "deliverygoodsid",
  691. "in": "query"
  692. },
  693. {
  694. "type": "integer",
  695. "description": "市场ID",
  696. "name": "marketid",
  697. "in": "query"
  698. }
  699. ],
  700. "responses": {
  701. "200": {
  702. "description": "OK",
  703. "schema": {
  704. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  705. }
  706. },
  707. "500": {
  708. "description": "Internal Server Error",
  709. "schema": {
  710. "$ref": "#/definitions/app.Response"
  711. }
  712. }
  713. }
  714. }
  715. },
  716. "/Ermcp/QueryBusinessDj": {
  717. "get": {
  718. "security": [
  719. {
  720. "ApiKeyAuth": []
  721. }
  722. ],
  723. "produces": [
  724. "application/json"
  725. ],
  726. "tags": [
  727. "企业风险管理(app)"
  728. ],
  729. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  730. "parameters": [
  731. {
  732. "type": "integer",
  733. "description": "用户ID",
  734. "name": "UserId",
  735. "in": "query",
  736. "required": true
  737. },
  738. {
  739. "type": "string",
  740. "description": "现货合同ID, 不填则查所有",
  741. "name": "relatedid",
  742. "in": "query"
  743. }
  744. ],
  745. "responses": {
  746. "200": {
  747. "description": "OK",
  748. "schema": {
  749. "type": "array",
  750. "items": {
  751. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  752. }
  753. }
  754. },
  755. "500": {
  756. "description": "Internal Server Error",
  757. "schema": {
  758. "$ref": "#/definitions/app.Response"
  759. }
  760. }
  761. }
  762. }
  763. },
  764. "/Ermcp/QueryBusinessFp": {
  765. "get": {
  766. "security": [
  767. {
  768. "ApiKeyAuth": []
  769. }
  770. ],
  771. "produces": [
  772. "application/json"
  773. ],
  774. "tags": [
  775. "企业风险管理(app)"
  776. ],
  777. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  778. "parameters": [
  779. {
  780. "type": "integer",
  781. "description": "用户ID",
  782. "name": "UserId",
  783. "in": "query",
  784. "required": true
  785. },
  786. {
  787. "type": "string",
  788. "description": "现货合同ID, 不填则查所有",
  789. "name": "relatedid",
  790. "in": "query"
  791. }
  792. ],
  793. "responses": {
  794. "200": {
  795. "description": "OK",
  796. "schema": {
  797. "type": "array",
  798. "items": {
  799. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  800. }
  801. }
  802. },
  803. "500": {
  804. "description": "Internal Server Error",
  805. "schema": {
  806. "$ref": "#/definitions/app.Response"
  807. }
  808. }
  809. }
  810. }
  811. },
  812. "/Ermcp/QueryBusinessJs": {
  813. "get": {
  814. "security": [
  815. {
  816. "ApiKeyAuth": []
  817. }
  818. ],
  819. "produces": [
  820. "application/json"
  821. ],
  822. "tags": [
  823. "企业风险管理(app)"
  824. ],
  825. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  826. "parameters": [
  827. {
  828. "type": "integer",
  829. "description": "用户ID",
  830. "name": "UserId",
  831. "in": "query",
  832. "required": true
  833. },
  834. {
  835. "type": "string",
  836. "description": "现货合同ID, 不填则查所有",
  837. "name": "relatedid",
  838. "in": "query"
  839. }
  840. ],
  841. "responses": {
  842. "200": {
  843. "description": "OK",
  844. "schema": {
  845. "type": "array",
  846. "items": {
  847. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  848. }
  849. }
  850. },
  851. "500": {
  852. "description": "Internal Server Error",
  853. "schema": {
  854. "$ref": "#/definitions/app.Response"
  855. }
  856. }
  857. }
  858. }
  859. },
  860. "/Ermcp/QueryBusinessKx": {
  861. "get": {
  862. "security": [
  863. {
  864. "ApiKeyAuth": []
  865. }
  866. ],
  867. "produces": [
  868. "application/json"
  869. ],
  870. "tags": [
  871. "企业风险管理(app)"
  872. ],
  873. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  874. "parameters": [
  875. {
  876. "type": "integer",
  877. "description": "用户ID",
  878. "name": "UserId",
  879. "in": "query",
  880. "required": true
  881. },
  882. {
  883. "type": "string",
  884. "description": "现货合同ID, 不填则查所有",
  885. "name": "relatedid",
  886. "in": "query"
  887. }
  888. ],
  889. "responses": {
  890. "200": {
  891. "description": "OK",
  892. "schema": {
  893. "type": "array",
  894. "items": {
  895. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  896. }
  897. }
  898. },
  899. "500": {
  900. "description": "Internal Server Error",
  901. "schema": {
  902. "$ref": "#/definitions/app.Response"
  903. }
  904. }
  905. }
  906. }
  907. },
  908. "/Ermcp/QueryChangeLog": {
  909. "get": {
  910. "security": [
  911. {
  912. "ApiKeyAuth": []
  913. }
  914. ],
  915. "produces": [
  916. "application/json"
  917. ],
  918. "tags": [
  919. "企业风险管理(app)"
  920. ],
  921. "summary": "查询变更记录",
  922. "parameters": [
  923. {
  924. "type": "string",
  925. "description": "用户ID",
  926. "name": "RelatedId",
  927. "in": "query",
  928. "required": true
  929. }
  930. ],
  931. "responses": {
  932. "200": {
  933. "description": "OK",
  934. "schema": {
  935. "type": "array",
  936. "items": {
  937. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  938. }
  939. }
  940. },
  941. "500": {
  942. "description": "Internal Server Error",
  943. "schema": {
  944. "$ref": "#/definitions/app.Response"
  945. }
  946. }
  947. }
  948. }
  949. },
  950. "/Ermcp/QueryContract": {
  951. "get": {
  952. "security": [
  953. {
  954. "ApiKeyAuth": []
  955. }
  956. ],
  957. "produces": [
  958. "application/json"
  959. ],
  960. "tags": [
  961. "企业风险管理(app)"
  962. ],
  963. "summary": "查询合同(采购和销售)",
  964. "parameters": [
  965. {
  966. "type": "integer",
  967. "description": "用户ID",
  968. "name": "userId",
  969. "in": "query",
  970. "required": true
  971. },
  972. {
  973. "type": "integer",
  974. "description": "合同类型 1-采购, -1-销售",
  975. "name": "contracttype",
  976. "in": "query",
  977. "required": true
  978. },
  979. {
  980. "type": "integer",
  981. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  982. "name": "querytype",
  983. "in": "query",
  984. "required": true
  985. }
  986. ],
  987. "responses": {
  988. "200": {
  989. "description": "OK",
  990. "schema": {
  991. "type": "array",
  992. "items": {
  993. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  994. }
  995. }
  996. },
  997. "500": {
  998. "description": "Internal Server Error",
  999. "schema": {
  1000. "$ref": "#/definitions/app.Response"
  1001. }
  1002. }
  1003. }
  1004. }
  1005. },
  1006. "/Ermcp/QueryExposureDetail": {
  1007. "get": {
  1008. "security": [
  1009. {
  1010. "ApiKeyAuth": []
  1011. }
  1012. ],
  1013. "produces": [
  1014. "application/json"
  1015. ],
  1016. "tags": [
  1017. "企业风险管理(app)"
  1018. ],
  1019. "summary": "查询敞口现货明细",
  1020. "parameters": [
  1021. {
  1022. "type": "integer",
  1023. "description": "所属机构ID",
  1024. "name": "areaUserId",
  1025. "in": "query",
  1026. "required": true
  1027. },
  1028. {
  1029. "type": "integer",
  1030. "description": "套保商品",
  1031. "name": "middleGoodsId",
  1032. "in": "query",
  1033. "required": true
  1034. }
  1035. ],
  1036. "responses": {
  1037. "200": {
  1038. "description": "OK",
  1039. "schema": {
  1040. "type": "array",
  1041. "items": {
  1042. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1043. }
  1044. }
  1045. },
  1046. "500": {
  1047. "description": "Internal Server Error",
  1048. "schema": {
  1049. "$ref": "#/definitions/app.Response"
  1050. }
  1051. }
  1052. }
  1053. }
  1054. },
  1055. "/Ermcp/QueryExposureSpot": {
  1056. "get": {
  1057. "security": [
  1058. {
  1059. "ApiKeyAuth": []
  1060. }
  1061. ],
  1062. "produces": [
  1063. "application/json"
  1064. ],
  1065. "tags": [
  1066. "企业风险管理(app)"
  1067. ],
  1068. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  1069. "parameters": [
  1070. {
  1071. "type": "integer",
  1072. "description": "所属机构ID",
  1073. "name": "areaUserId",
  1074. "in": "query",
  1075. "required": true
  1076. }
  1077. ],
  1078. "responses": {
  1079. "200": {
  1080. "description": "OK",
  1081. "schema": {
  1082. "type": "array",
  1083. "items": {
  1084. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  1085. }
  1086. }
  1087. },
  1088. "500": {
  1089. "description": "Internal Server Error",
  1090. "schema": {
  1091. "$ref": "#/definitions/app.Response"
  1092. }
  1093. }
  1094. }
  1095. }
  1096. },
  1097. "/Ermcp/QueryExposureSpotDetail": {
  1098. "get": {
  1099. "security": [
  1100. {
  1101. "ApiKeyAuth": []
  1102. }
  1103. ],
  1104. "produces": [
  1105. "application/json"
  1106. ],
  1107. "tags": [
  1108. "企业风险管理(app)"
  1109. ],
  1110. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  1111. "parameters": [
  1112. {
  1113. "type": "integer",
  1114. "description": "所属机构ID",
  1115. "name": "areaUserId",
  1116. "in": "query",
  1117. "required": true
  1118. },
  1119. {
  1120. "type": "integer",
  1121. "description": "现货品种ID",
  1122. "name": "wrstandardId",
  1123. "in": "query",
  1124. "required": true
  1125. }
  1126. ],
  1127. "responses": {
  1128. "200": {
  1129. "description": "OK",
  1130. "schema": {
  1131. "type": "array",
  1132. "items": {
  1133. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  1134. }
  1135. }
  1136. },
  1137. "500": {
  1138. "description": "Internal Server Error",
  1139. "schema": {
  1140. "$ref": "#/definitions/app.Response"
  1141. }
  1142. }
  1143. }
  1144. }
  1145. },
  1146. "/Ermcp/QueryGGConvertConfig": {
  1147. "get": {
  1148. "security": [
  1149. {
  1150. "ApiKeyAuth": []
  1151. }
  1152. ],
  1153. "produces": [
  1154. "application/json"
  1155. ],
  1156. "tags": [
  1157. "企业风险管理(app)"
  1158. ],
  1159. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  1160. "responses": {
  1161. "200": {
  1162. "description": "OK",
  1163. "schema": {
  1164. "type": "array",
  1165. "items": {
  1166. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  1167. }
  1168. }
  1169. },
  1170. "500": {
  1171. "description": "Internal Server Error",
  1172. "schema": {
  1173. "$ref": "#/definitions/app.Response"
  1174. }
  1175. }
  1176. }
  1177. }
  1178. },
  1179. "/Ermcp/QueryHedgePlan": {
  1180. "get": {
  1181. "security": [
  1182. {
  1183. "ApiKeyAuth": []
  1184. }
  1185. ],
  1186. "produces": [
  1187. "application/json"
  1188. ],
  1189. "tags": [
  1190. "企业风险管理(app)"
  1191. ],
  1192. "summary": "查询套保计划",
  1193. "parameters": [
  1194. {
  1195. "type": "integer",
  1196. "description": "用户ID",
  1197. "name": "userId",
  1198. "in": "query",
  1199. "required": true
  1200. },
  1201. {
  1202. "type": "string",
  1203. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  1204. "name": "HedgePlanStatus",
  1205. "in": "query",
  1206. "required": true
  1207. }
  1208. ],
  1209. "responses": {
  1210. "200": {
  1211. "description": "OK",
  1212. "schema": {
  1213. "type": "array",
  1214. "items": {
  1215. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  1216. }
  1217. }
  1218. },
  1219. "500": {
  1220. "description": "Internal Server Error",
  1221. "schema": {
  1222. "$ref": "#/definitions/app.Response"
  1223. }
  1224. }
  1225. }
  1226. }
  1227. },
  1228. "/Ermcp/QueryHisExposure": {
  1229. "get": {
  1230. "security": [
  1231. {
  1232. "ApiKeyAuth": []
  1233. }
  1234. ],
  1235. "produces": [
  1236. "application/json"
  1237. ],
  1238. "tags": [
  1239. "企业风险管理(app)"
  1240. ],
  1241. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  1242. "parameters": [
  1243. {
  1244. "type": "integer",
  1245. "description": "所属机构ID",
  1246. "name": "areaUserId",
  1247. "in": "query",
  1248. "required": true
  1249. },
  1250. {
  1251. "type": "integer",
  1252. "description": "最近多少条记录, -1:为查全部",
  1253. "name": "lastNum",
  1254. "in": "query",
  1255. "required": true
  1256. }
  1257. ],
  1258. "responses": {
  1259. "200": {
  1260. "description": "OK",
  1261. "schema": {
  1262. "type": "array",
  1263. "items": {
  1264. "$ref": "#/definitions/ermcp.HisExposureRsp"
  1265. }
  1266. }
  1267. },
  1268. "500": {
  1269. "description": "Internal Server Error",
  1270. "schema": {
  1271. "$ref": "#/definitions/app.Response"
  1272. }
  1273. }
  1274. }
  1275. }
  1276. },
  1277. "/Ermcp/QueryMiddleGoods": {
  1278. "get": {
  1279. "security": [
  1280. {
  1281. "ApiKeyAuth": []
  1282. }
  1283. ],
  1284. "produces": [
  1285. "application/json"
  1286. ],
  1287. "tags": [
  1288. "企业风险管理(app)"
  1289. ],
  1290. "summary": "查询套保品种(菜单:套保品种)",
  1291. "parameters": [
  1292. {
  1293. "type": "integer",
  1294. "description": "所属机构ID",
  1295. "name": "userid",
  1296. "in": "query",
  1297. "required": true
  1298. },
  1299. {
  1300. "type": "integer",
  1301. "description": "状态 0-停用 1-正常",
  1302. "name": "status",
  1303. "in": "query",
  1304. "required": true
  1305. }
  1306. ],
  1307. "responses": {
  1308. "200": {
  1309. "description": "OK",
  1310. "schema": {
  1311. "type": "array",
  1312. "items": {
  1313. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  1314. }
  1315. }
  1316. },
  1317. "500": {
  1318. "description": "Internal Server Error",
  1319. "schema": {
  1320. "$ref": "#/definitions/app.Response"
  1321. }
  1322. }
  1323. }
  1324. }
  1325. },
  1326. "/Ermcp/QueryMiddleGoodsDetail": {
  1327. "get": {
  1328. "security": [
  1329. {
  1330. "ApiKeyAuth": []
  1331. }
  1332. ],
  1333. "produces": [
  1334. "application/json"
  1335. ],
  1336. "tags": [
  1337. "企业风险管理(app)"
  1338. ],
  1339. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  1340. "parameters": [
  1341. {
  1342. "type": "integer",
  1343. "description": "所属机构ID",
  1344. "name": "userid",
  1345. "in": "query",
  1346. "required": true
  1347. },
  1348. {
  1349. "type": "integer",
  1350. "description": "套保品种id",
  1351. "name": "middlegoodsid",
  1352. "in": "query",
  1353. "required": true
  1354. }
  1355. ],
  1356. "responses": {
  1357. "200": {
  1358. "description": "OK",
  1359. "schema": {
  1360. "type": "array",
  1361. "items": {
  1362. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  1363. }
  1364. }
  1365. },
  1366. "500": {
  1367. "description": "Internal Server Error",
  1368. "schema": {
  1369. "$ref": "#/definitions/app.Response"
  1370. }
  1371. }
  1372. }
  1373. }
  1374. },
  1375. "/Ermcp/QueryRealtimeExposure": {
  1376. "get": {
  1377. "security": [
  1378. {
  1379. "ApiKeyAuth": []
  1380. }
  1381. ],
  1382. "produces": [
  1383. "application/json"
  1384. ],
  1385. "tags": [
  1386. "企业风险管理(app)"
  1387. ],
  1388. "summary": "查询实时敞口",
  1389. "parameters": [
  1390. {
  1391. "type": "integer",
  1392. "description": "所属机构ID",
  1393. "name": "AreaUserID",
  1394. "in": "query",
  1395. "required": true
  1396. }
  1397. ],
  1398. "responses": {
  1399. "200": {
  1400. "description": "OK",
  1401. "schema": {
  1402. "type": "array",
  1403. "items": {
  1404. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  1405. }
  1406. }
  1407. },
  1408. "500": {
  1409. "description": "Internal Server Error",
  1410. "schema": {
  1411. "$ref": "#/definitions/app.Response"
  1412. }
  1413. }
  1414. }
  1415. }
  1416. },
  1417. "/Ermcp/QuerySpotContract": {
  1418. "get": {
  1419. "security": [
  1420. {
  1421. "ApiKeyAuth": []
  1422. }
  1423. ],
  1424. "produces": [
  1425. "application/json"
  1426. ],
  1427. "tags": [
  1428. "企业风险管理(app)"
  1429. ],
  1430. "summary": "查询现货合同(对应现货合同菜单)",
  1431. "parameters": [
  1432. {
  1433. "type": "integer",
  1434. "description": "用户ID",
  1435. "name": "userId",
  1436. "in": "query",
  1437. "required": true
  1438. },
  1439. {
  1440. "type": "integer",
  1441. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  1442. "name": "QueryType",
  1443. "in": "query",
  1444. "required": true
  1445. }
  1446. ],
  1447. "responses": {
  1448. "200": {
  1449. "description": "OK",
  1450. "schema": {
  1451. "type": "array",
  1452. "items": {
  1453. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  1454. }
  1455. }
  1456. },
  1457. "500": {
  1458. "description": "Internal Server Error",
  1459. "schema": {
  1460. "$ref": "#/definitions/app.Response"
  1461. }
  1462. }
  1463. }
  1464. }
  1465. },
  1466. "/Ermcp/QueryUserInfo": {
  1467. "get": {
  1468. "security": [
  1469. {
  1470. "ApiKeyAuth": []
  1471. }
  1472. ],
  1473. "produces": [
  1474. "application/json"
  1475. ],
  1476. "tags": [
  1477. "企业风险管理(app)"
  1478. ],
  1479. "summary": "查询客户资料",
  1480. "parameters": [
  1481. {
  1482. "type": "integer",
  1483. "description": "所属机构用户ID",
  1484. "name": "MemberUserID",
  1485. "in": "query",
  1486. "required": true
  1487. },
  1488. {
  1489. "type": "integer",
  1490. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  1491. "name": "queryType",
  1492. "in": "query",
  1493. "required": true
  1494. }
  1495. ],
  1496. "responses": {
  1497. "200": {
  1498. "description": "OK",
  1499. "schema": {
  1500. "type": "array",
  1501. "items": {
  1502. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  1503. }
  1504. }
  1505. },
  1506. "500": {
  1507. "description": "Internal Server Error",
  1508. "schema": {
  1509. "$ref": "#/definitions/app.Response"
  1510. }
  1511. }
  1512. }
  1513. }
  1514. },
  1515. "/Ermcp/QueryWrStandard": {
  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": "状态 0-停用 1-正常",
  1540. "name": "status",
  1541. "in": "query",
  1542. "required": true
  1543. }
  1544. ],
  1545. "responses": {
  1546. "200": {
  1547. "description": "OK",
  1548. "schema": {
  1549. "type": "array",
  1550. "items": {
  1551. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  1552. }
  1553. }
  1554. },
  1555. "500": {
  1556. "description": "Internal Server Error",
  1557. "schema": {
  1558. "$ref": "#/definitions/app.Response"
  1559. }
  1560. }
  1561. }
  1562. }
  1563. },
  1564. "/Ermcp/QueryWrStandardDetail": {
  1565. "get": {
  1566. "security": [
  1567. {
  1568. "ApiKeyAuth": []
  1569. }
  1570. ],
  1571. "produces": [
  1572. "application/json"
  1573. ],
  1574. "tags": [
  1575. "企业风险管理(app)"
  1576. ],
  1577. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  1578. "parameters": [
  1579. {
  1580. "type": "integer",
  1581. "description": "所属机构ID",
  1582. "name": "userid",
  1583. "in": "query",
  1584. "required": true
  1585. },
  1586. {
  1587. "type": "integer",
  1588. "description": "现货商品ID",
  1589. "name": "wrstandardid",
  1590. "in": "query",
  1591. "required": true
  1592. }
  1593. ],
  1594. "responses": {
  1595. "200": {
  1596. "description": "OK",
  1597. "schema": {
  1598. "type": "array",
  1599. "items": {
  1600. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  1601. }
  1602. }
  1603. },
  1604. "500": {
  1605. "description": "Internal Server Error",
  1606. "schema": {
  1607. "$ref": "#/definitions/app.Response"
  1608. }
  1609. }
  1610. }
  1611. }
  1612. },
  1613. "/Erms2/QueryArbitrageStrategy": {
  1614. "get": {
  1615. "security": [
  1616. {
  1617. "ApiKeyAuth": []
  1618. }
  1619. ],
  1620. "produces": [
  1621. "application/json"
  1622. ],
  1623. "tags": [
  1624. "风险管理"
  1625. ],
  1626. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  1627. "parameters": [
  1628. {
  1629. "type": "integer",
  1630. "description": "账户ID",
  1631. "name": "userid",
  1632. "in": "query",
  1633. "required": true
  1634. },
  1635. {
  1636. "type": "string",
  1637. "description": "商品组ID(品种ID)",
  1638. "name": "goodsgroupid",
  1639. "in": "query"
  1640. }
  1641. ],
  1642. "responses": {
  1643. "200": {
  1644. "description": "OK",
  1645. "schema": {
  1646. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  1647. }
  1648. },
  1649. "500": {
  1650. "description": "Internal Server Error",
  1651. "schema": {
  1652. "$ref": "#/definitions/app.Response"
  1653. }
  1654. }
  1655. }
  1656. }
  1657. },
  1658. "/Erms2/QueryInnerTradeDetail": {
  1659. "get": {
  1660. "security": [
  1661. {
  1662. "ApiKeyAuth": []
  1663. }
  1664. ],
  1665. "produces": [
  1666. "application/json"
  1667. ],
  1668. "tags": [
  1669. "风险管理"
  1670. ],
  1671. "summary": "查询内部成交单信息",
  1672. "parameters": [
  1673. {
  1674. "type": "integer",
  1675. "description": "资金账户",
  1676. "name": "accountid",
  1677. "in": "query",
  1678. "required": true
  1679. }
  1680. ],
  1681. "responses": {
  1682. "200": {
  1683. "description": "OK",
  1684. "schema": {
  1685. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  1686. }
  1687. },
  1688. "500": {
  1689. "description": "Internal Server Error",
  1690. "schema": {
  1691. "$ref": "#/definitions/app.Response"
  1692. }
  1693. }
  1694. }
  1695. }
  1696. },
  1697. "/Erms2/QuerySpotContract": {
  1698. "get": {
  1699. "security": [
  1700. {
  1701. "ApiKeyAuth": []
  1702. }
  1703. ],
  1704. "produces": [
  1705. "application/json"
  1706. ],
  1707. "tags": [
  1708. "风险管理"
  1709. ],
  1710. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  1711. "parameters": [
  1712. {
  1713. "type": "integer",
  1714. "description": "策略申请ID",
  1715. "name": "asapplyid",
  1716. "in": "query",
  1717. "required": true
  1718. },
  1719. {
  1720. "type": "integer",
  1721. "description": "现货合同ID",
  1722. "name": "spotcontractid",
  1723. "in": "query"
  1724. }
  1725. ],
  1726. "responses": {
  1727. "200": {
  1728. "description": "OK",
  1729. "schema": {
  1730. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  1731. }
  1732. },
  1733. "500": {
  1734. "description": "Internal Server Error",
  1735. "schema": {
  1736. "$ref": "#/definitions/app.Response"
  1737. }
  1738. }
  1739. }
  1740. }
  1741. },
  1742. "/Erms3/AddErms2ASApply": {
  1743. "post": {
  1744. "security": [
  1745. {
  1746. "ApiKeyAuth": []
  1747. }
  1748. ],
  1749. "produces": [
  1750. "application/json"
  1751. ],
  1752. "tags": [
  1753. "风险管理v3"
  1754. ],
  1755. "summary": "新增期现套利业务申请",
  1756. "parameters": [
  1757. {
  1758. "description": "申请参数",
  1759. "name": "jsonBody",
  1760. "in": "body",
  1761. "required": true,
  1762. "schema": {
  1763. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  1764. }
  1765. }
  1766. ],
  1767. "responses": {
  1768. "200": {
  1769. "description": "OK",
  1770. "schema": {
  1771. "$ref": "#/definitions/app.Response"
  1772. }
  1773. },
  1774. "500": {
  1775. "description": "Internal Server Error",
  1776. "schema": {
  1777. "$ref": "#/definitions/app.Response"
  1778. }
  1779. }
  1780. }
  1781. }
  1782. },
  1783. "/Erms3/AddErms2SpotTradeApply": {
  1784. "post": {
  1785. "security": [
  1786. {
  1787. "ApiKeyAuth": []
  1788. }
  1789. ],
  1790. "produces": [
  1791. "application/json"
  1792. ],
  1793. "tags": [
  1794. "风险管理v3"
  1795. ],
  1796. "summary": "新增现货贸易业务申请",
  1797. "parameters": [
  1798. {
  1799. "description": "申请参数",
  1800. "name": "jsonBody",
  1801. "in": "body",
  1802. "required": true,
  1803. "schema": {
  1804. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  1805. }
  1806. }
  1807. ],
  1808. "responses": {
  1809. "200": {
  1810. "description": "OK",
  1811. "schema": {
  1812. "$ref": "#/definitions/app.Response"
  1813. }
  1814. },
  1815. "500": {
  1816. "description": "Internal Server Error",
  1817. "schema": {
  1818. "$ref": "#/definitions/app.Response"
  1819. }
  1820. }
  1821. }
  1822. }
  1823. },
  1824. "/Erms3/AddSpotContractApply": {
  1825. "post": {
  1826. "security": [
  1827. {
  1828. "ApiKeyAuth": []
  1829. }
  1830. ],
  1831. "produces": [
  1832. "application/json"
  1833. ],
  1834. "tags": [
  1835. "风险管理v3"
  1836. ],
  1837. "summary": "新增现货合同申请",
  1838. "parameters": [
  1839. {
  1840. "description": "申请参数",
  1841. "name": "jsonBody",
  1842. "in": "body",
  1843. "required": true,
  1844. "schema": {
  1845. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  1846. }
  1847. }
  1848. ],
  1849. "responses": {
  1850. "200": {
  1851. "description": "OK",
  1852. "schema": {
  1853. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  1854. }
  1855. },
  1856. "500": {
  1857. "description": "Internal Server Error",
  1858. "schema": {
  1859. "$ref": "#/definitions/app.Response"
  1860. }
  1861. }
  1862. }
  1863. }
  1864. },
  1865. "/Erms3/AddUserInfoApply": {
  1866. "post": {
  1867. "security": [
  1868. {
  1869. "ApiKeyAuth": []
  1870. }
  1871. ],
  1872. "produces": [
  1873. "application/json"
  1874. ],
  1875. "tags": [
  1876. "风险管理v3"
  1877. ],
  1878. "summary": "新增客户申请",
  1879. "parameters": [
  1880. {
  1881. "description": "申请参数",
  1882. "name": "jsonBody",
  1883. "in": "body",
  1884. "required": true,
  1885. "schema": {
  1886. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  1887. }
  1888. }
  1889. ],
  1890. "responses": {
  1891. "200": {
  1892. "description": "OK",
  1893. "schema": {
  1894. "$ref": "#/definitions/app.Response"
  1895. }
  1896. },
  1897. "500": {
  1898. "description": "Internal Server Error",
  1899. "schema": {
  1900. "$ref": "#/definitions/app.Response"
  1901. }
  1902. }
  1903. }
  1904. }
  1905. },
  1906. "/Erms3/QueryBusinessInfo": {
  1907. "get": {
  1908. "security": [
  1909. {
  1910. "ApiKeyAuth": []
  1911. }
  1912. ],
  1913. "produces": [
  1914. "application/json"
  1915. ],
  1916. "tags": [
  1917. "风险管理v3"
  1918. ],
  1919. "summary": "查询业务表单数据",
  1920. "parameters": [
  1921. {
  1922. "type": "string",
  1923. "description": "资金账号ID列表,用逗号分隔",
  1924. "name": "accountids",
  1925. "in": "query",
  1926. "required": true
  1927. },
  1928. {
  1929. "type": "integer",
  1930. "description": "状态,0为未结束 1为已结束",
  1931. "name": "status",
  1932. "in": "query",
  1933. "required": true
  1934. }
  1935. ],
  1936. "responses": {
  1937. "200": {
  1938. "description": "OK",
  1939. "schema": {
  1940. "type": "array",
  1941. "items": {
  1942. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  1943. }
  1944. }
  1945. },
  1946. "500": {
  1947. "description": "Internal Server Error",
  1948. "schema": {
  1949. "$ref": "#/definitions/app.Response"
  1950. }
  1951. }
  1952. }
  1953. }
  1954. },
  1955. "/Erms3/QueryPendingAuditContract": {
  1956. "get": {
  1957. "security": [
  1958. {
  1959. "ApiKeyAuth": []
  1960. }
  1961. ],
  1962. "produces": [
  1963. "application/json"
  1964. ],
  1965. "tags": [
  1966. "风险管理v3"
  1967. ],
  1968. "summary": "查询待审核合同",
  1969. "parameters": [
  1970. {
  1971. "type": "string",
  1972. "description": "资金账号ID列表,逗号隔开",
  1973. "name": "accountids",
  1974. "in": "query",
  1975. "required": true
  1976. },
  1977. {
  1978. "type": "integer",
  1979. "description": "合同类型 1-采购 -1-销售",
  1980. "name": "contracttype",
  1981. "in": "query",
  1982. "required": true
  1983. },
  1984. {
  1985. "type": "integer",
  1986. "description": "合同模式 1-普通 2-回购",
  1987. "name": "contractmode",
  1988. "in": "query",
  1989. "required": true
  1990. }
  1991. ],
  1992. "responses": {
  1993. "200": {
  1994. "description": "OK",
  1995. "schema": {
  1996. "type": "array",
  1997. "items": {
  1998. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  1999. }
  2000. }
  2001. },
  2002. "500": {
  2003. "description": "Internal Server Error",
  2004. "schema": {
  2005. "$ref": "#/definitions/app.Response"
  2006. }
  2007. }
  2008. }
  2009. }
  2010. },
  2011. "/Erms3/QueryPendingBusiness": {
  2012. "get": {
  2013. "security": [
  2014. {
  2015. "ApiKeyAuth": []
  2016. }
  2017. ],
  2018. "produces": [
  2019. "application/json"
  2020. ],
  2021. "tags": [
  2022. "风险管理v3"
  2023. ],
  2024. "summary": "查询待审核基差贸易业务",
  2025. "parameters": [
  2026. {
  2027. "type": "string",
  2028. "description": "资金账号ID列表,逗号隔开",
  2029. "name": "accountids",
  2030. "in": "query",
  2031. "required": true
  2032. }
  2033. ],
  2034. "responses": {
  2035. "200": {
  2036. "description": "OK",
  2037. "schema": {
  2038. "type": "array",
  2039. "items": {
  2040. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  2041. }
  2042. }
  2043. },
  2044. "500": {
  2045. "description": "Internal Server Error",
  2046. "schema": {
  2047. "$ref": "#/definitions/app.Response"
  2048. }
  2049. }
  2050. }
  2051. }
  2052. },
  2053. "/Erms3/QuerySpotContractAppleForm": {
  2054. "get": {
  2055. "security": [
  2056. {
  2057. "ApiKeyAuth": []
  2058. }
  2059. ],
  2060. "produces": [
  2061. "application/json"
  2062. ],
  2063. "tags": [
  2064. "风险管理v3"
  2065. ],
  2066. "summary": "查询合同申请表单数据",
  2067. "parameters": [
  2068. {
  2069. "type": "integer",
  2070. "description": "登录账号",
  2071. "name": "loginID",
  2072. "in": "query",
  2073. "required": true
  2074. }
  2075. ],
  2076. "responses": {
  2077. "200": {
  2078. "description": "OK",
  2079. "schema": {
  2080. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  2081. }
  2082. },
  2083. "500": {
  2084. "description": "Internal Server Error",
  2085. "schema": {
  2086. "$ref": "#/definitions/app.Response"
  2087. }
  2088. }
  2089. }
  2090. }
  2091. },
  2092. "/Erms3/QuerySpotContractDetail": {
  2093. "get": {
  2094. "security": [
  2095. {
  2096. "ApiKeyAuth": []
  2097. }
  2098. ],
  2099. "produces": [
  2100. "application/json"
  2101. ],
  2102. "tags": [
  2103. "风险管理v3"
  2104. ],
  2105. "summary": "查询合同详细信息",
  2106. "parameters": [
  2107. {
  2108. "type": "string",
  2109. "description": "资金账号ID列表,用逗号分隔",
  2110. "name": "accountids",
  2111. "in": "query",
  2112. "required": true
  2113. },
  2114. {
  2115. "type": "integer",
  2116. "description": "合同类型,1为采购合同 -1为销售合同",
  2117. "name": "contracttype",
  2118. "in": "query",
  2119. "required": true
  2120. },
  2121. {
  2122. "type": "integer",
  2123. "description": "合同模式,1为普通合同 2为回购销售合同",
  2124. "name": "contractmode",
  2125. "in": "query",
  2126. "required": true
  2127. },
  2128. {
  2129. "type": "integer",
  2130. "description": "状态,0为履约中 1为已完成",
  2131. "name": "status",
  2132. "in": "query",
  2133. "required": true
  2134. }
  2135. ],
  2136. "responses": {
  2137. "200": {
  2138. "description": "OK",
  2139. "schema": {
  2140. "type": "array",
  2141. "items": {
  2142. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  2143. }
  2144. }
  2145. },
  2146. "500": {
  2147. "description": "Internal Server Error",
  2148. "schema": {
  2149. "$ref": "#/definitions/app.Response"
  2150. }
  2151. }
  2152. }
  2153. }
  2154. },
  2155. "/Erms3/QueryUserInfoApplies": {
  2156. "get": {
  2157. "security": [
  2158. {
  2159. "ApiKeyAuth": []
  2160. }
  2161. ],
  2162. "produces": [
  2163. "application/json"
  2164. ],
  2165. "tags": [
  2166. "风险管理v3"
  2167. ],
  2168. "summary": "客户申请信息查询",
  2169. "parameters": [
  2170. {
  2171. "type": "integer",
  2172. "description": "页码",
  2173. "name": "page",
  2174. "in": "query"
  2175. },
  2176. {
  2177. "type": "integer",
  2178. "description": "每页条数",
  2179. "name": "pagesize",
  2180. "in": "query"
  2181. },
  2182. {
  2183. "type": "string",
  2184. "description": "客户名称,支持模糊查询",
  2185. "name": "userName",
  2186. "in": "query"
  2187. }
  2188. ],
  2189. "responses": {
  2190. "200": {
  2191. "description": "OK",
  2192. "schema": {
  2193. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  2194. }
  2195. },
  2196. "500": {
  2197. "description": "Internal Server Error",
  2198. "schema": {
  2199. "$ref": "#/definitions/app.Response"
  2200. }
  2201. }
  2202. }
  2203. }
  2204. },
  2205. "/Erms3/QueryUserInfos": {
  2206. "get": {
  2207. "security": [
  2208. {
  2209. "ApiKeyAuth": []
  2210. }
  2211. ],
  2212. "produces": [
  2213. "application/json"
  2214. ],
  2215. "tags": [
  2216. "风险管理v3"
  2217. ],
  2218. "summary": "客户信息查询",
  2219. "parameters": [
  2220. {
  2221. "type": "integer",
  2222. "description": "页码",
  2223. "name": "page",
  2224. "in": "query"
  2225. },
  2226. {
  2227. "type": "integer",
  2228. "description": "每页条数",
  2229. "name": "pagesize",
  2230. "in": "query"
  2231. },
  2232. {
  2233. "type": "string",
  2234. "description": "客户名称,支持模糊查询",
  2235. "name": "userName",
  2236. "in": "query"
  2237. }
  2238. ],
  2239. "responses": {
  2240. "200": {
  2241. "description": "OK",
  2242. "schema": {
  2243. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  2244. }
  2245. },
  2246. "500": {
  2247. "description": "Internal Server Error",
  2248. "schema": {
  2249. "$ref": "#/definitions/app.Response"
  2250. }
  2251. }
  2252. }
  2253. }
  2254. },
  2255. "/HSBY/GetHsbyMyCount": {
  2256. "get": {
  2257. "security": [
  2258. {
  2259. "ApiKeyAuth": []
  2260. }
  2261. ],
  2262. "description": "说明: 不包括已完成的数量。",
  2263. "produces": [
  2264. "application/json"
  2265. ],
  2266. "tags": [
  2267. "定制【海商报业】"
  2268. ],
  2269. "summary": "获取我的订单与包裹数量",
  2270. "parameters": [
  2271. {
  2272. "type": "string",
  2273. "description": "资金账户列表,格式:1,2,3",
  2274. "name": "accountIDs",
  2275. "in": "query",
  2276. "required": true
  2277. }
  2278. ],
  2279. "responses": {
  2280. "200": {
  2281. "description": "OK",
  2282. "schema": {
  2283. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  2284. }
  2285. },
  2286. "500": {
  2287. "description": "Internal Server Error",
  2288. "schema": {
  2289. "$ref": "#/definitions/app.Response"
  2290. }
  2291. }
  2292. }
  2293. }
  2294. },
  2295. "/HSBY/QueryClientFixedADConfigs": {
  2296. "get": {
  2297. "security": [
  2298. {
  2299. "ApiKeyAuth": []
  2300. }
  2301. ],
  2302. "produces": [
  2303. "application/json"
  2304. ],
  2305. "tags": [
  2306. "定制【海商报业】"
  2307. ],
  2308. "summary": "获取终端固定广告配置",
  2309. "responses": {
  2310. "200": {
  2311. "description": "OK",
  2312. "schema": {
  2313. "$ref": "#/definitions/models.Clientfixedadconfig"
  2314. }
  2315. },
  2316. "500": {
  2317. "description": "Internal Server Error",
  2318. "schema": {
  2319. "$ref": "#/definitions/app.Response"
  2320. }
  2321. }
  2322. }
  2323. }
  2324. },
  2325. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  2326. "get": {
  2327. "security": [
  2328. {
  2329. "ApiKeyAuth": []
  2330. }
  2331. ],
  2332. "produces": [
  2333. "application/json"
  2334. ],
  2335. "tags": [
  2336. "定制【海商报业】"
  2337. ],
  2338. "summary": "查询\"我的订单 - 已完成\"单据信息",
  2339. "parameters": [
  2340. {
  2341. "type": "integer",
  2342. "description": "页码",
  2343. "name": "page",
  2344. "in": "query"
  2345. },
  2346. {
  2347. "type": "integer",
  2348. "description": "每页条数",
  2349. "name": "pagesize",
  2350. "in": "query"
  2351. },
  2352. {
  2353. "type": "string",
  2354. "description": "资金账户列表,格式:1,2,3",
  2355. "name": "accountIDs",
  2356. "in": "query",
  2357. "required": true
  2358. }
  2359. ],
  2360. "responses": {
  2361. "200": {
  2362. "description": "OK",
  2363. "schema": {
  2364. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  2365. }
  2366. },
  2367. "500": {
  2368. "description": "Internal Server Error",
  2369. "schema": {
  2370. "$ref": "#/definitions/app.Response"
  2371. }
  2372. }
  2373. }
  2374. }
  2375. },
  2376. "/HSBY/QueryHsbyGoodsOrderDetails": {
  2377. "get": {
  2378. "security": [
  2379. {
  2380. "ApiKeyAuth": []
  2381. }
  2382. ],
  2383. "description": "说明:查询结果已按委托价格和委托时间排序",
  2384. "produces": [
  2385. "application/json"
  2386. ],
  2387. "tags": [
  2388. "定制【海商报业】"
  2389. ],
  2390. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  2391. "parameters": [
  2392. {
  2393. "type": "integer",
  2394. "description": "商品ID",
  2395. "name": "goodsID",
  2396. "in": "query",
  2397. "required": true
  2398. },
  2399. {
  2400. "type": "string",
  2401. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  2402. "name": "accountIDs",
  2403. "in": "query"
  2404. },
  2405. {
  2406. "type": "integer",
  2407. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  2408. "name": "buyOrSell",
  2409. "in": "query"
  2410. },
  2411. {
  2412. "type": "number",
  2413. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  2414. "name": "price",
  2415. "in": "query"
  2416. },
  2417. {
  2418. "type": "integer",
  2419. "description": "档位,不传则默认为3档",
  2420. "name": "speed",
  2421. "in": "query"
  2422. }
  2423. ],
  2424. "responses": {
  2425. "200": {
  2426. "description": "OK",
  2427. "schema": {
  2428. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  2429. }
  2430. },
  2431. "500": {
  2432. "description": "Internal Server Error",
  2433. "schema": {
  2434. "$ref": "#/definitions/app.Response"
  2435. }
  2436. }
  2437. }
  2438. }
  2439. },
  2440. "/HSBY/QueryHsbyListingGoodsDetail": {
  2441. "get": {
  2442. "security": [
  2443. {
  2444. "ApiKeyAuth": []
  2445. }
  2446. ],
  2447. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  2448. "produces": [
  2449. "application/json"
  2450. ],
  2451. "tags": [
  2452. "定制【海商报业】"
  2453. ],
  2454. "summary": "查询二级市场(挂牌点选)商品信息详情",
  2455. "parameters": [
  2456. {
  2457. "type": "integer",
  2458. "description": "商品ID",
  2459. "name": "goodsID",
  2460. "in": "query",
  2461. "required": true
  2462. },
  2463. {
  2464. "type": "integer",
  2465. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  2466. "name": "accountID",
  2467. "in": "query"
  2468. }
  2469. ],
  2470. "responses": {
  2471. "200": {
  2472. "description": "OK",
  2473. "schema": {
  2474. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  2475. }
  2476. },
  2477. "500": {
  2478. "description": "Internal Server Error",
  2479. "schema": {
  2480. "$ref": "#/definitions/app.Response"
  2481. }
  2482. }
  2483. }
  2484. }
  2485. },
  2486. "/HSBY/QueryHsbyMarketGoodsDetail": {
  2487. "get": {
  2488. "security": [
  2489. {
  2490. "ApiKeyAuth": []
  2491. }
  2492. ],
  2493. "produces": [
  2494. "application/json"
  2495. ],
  2496. "tags": [
  2497. "定制【海商报业】"
  2498. ],
  2499. "summary": "查询三级市场(商城)商品信息详情",
  2500. "parameters": [
  2501. {
  2502. "type": "integer",
  2503. "description": "委托单号",
  2504. "name": "orderID",
  2505. "in": "query",
  2506. "required": true
  2507. },
  2508. {
  2509. "type": "integer",
  2510. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  2511. "name": "accountID",
  2512. "in": "query"
  2513. }
  2514. ],
  2515. "responses": {
  2516. "200": {
  2517. "description": "OK",
  2518. "schema": {
  2519. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  2520. }
  2521. },
  2522. "500": {
  2523. "description": "Internal Server Error",
  2524. "schema": {
  2525. "$ref": "#/definitions/app.Response"
  2526. }
  2527. }
  2528. }
  2529. }
  2530. },
  2531. "/HSBY/QueryHsbyMarketGoodses": {
  2532. "get": {
  2533. "security": [
  2534. {
  2535. "ApiKeyAuth": []
  2536. }
  2537. ],
  2538. "produces": [
  2539. "application/json"
  2540. ],
  2541. "tags": [
  2542. "定制【海商报业】"
  2543. ],
  2544. "summary": "查询特卖商品列表(三级商城)",
  2545. "parameters": [
  2546. {
  2547. "type": "integer",
  2548. "description": "页码",
  2549. "name": "page",
  2550. "in": "query"
  2551. },
  2552. {
  2553. "type": "integer",
  2554. "description": "每页条数",
  2555. "name": "pagesize",
  2556. "in": "query"
  2557. },
  2558. {
  2559. "type": "string",
  2560. "description": "市场ID列表,格式:1,2,3",
  2561. "name": "marketIDs",
  2562. "in": "query",
  2563. "required": true
  2564. },
  2565. {
  2566. "type": "integer",
  2567. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  2568. "name": "accountID",
  2569. "in": "query",
  2570. "required": true
  2571. },
  2572. {
  2573. "type": "integer",
  2574. "description": "类别ID",
  2575. "name": "categoryID",
  2576. "in": "query"
  2577. },
  2578. {
  2579. "type": "string",
  2580. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  2581. "name": "goodsIDs",
  2582. "in": "query"
  2583. },
  2584. {
  2585. "type": "integer",
  2586. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  2587. "name": "couponTypeID",
  2588. "in": "query"
  2589. }
  2590. ],
  2591. "responses": {
  2592. "200": {
  2593. "description": "OK",
  2594. "schema": {
  2595. "$ref": "#/definitions/models.HsbyMarketGoods"
  2596. }
  2597. },
  2598. "500": {
  2599. "description": "Internal Server Error",
  2600. "schema": {
  2601. "$ref": "#/definitions/app.Response"
  2602. }
  2603. }
  2604. }
  2605. }
  2606. },
  2607. "/HSBY/QueryHsbyMarkets": {
  2608. "get": {
  2609. "security": [
  2610. {
  2611. "ApiKeyAuth": []
  2612. }
  2613. ],
  2614. "produces": [
  2615. "application/json"
  2616. ],
  2617. "tags": [
  2618. "定制【海商报业】"
  2619. ],
  2620. "summary": "查询海商报业相关市场信息",
  2621. "responses": {
  2622. "200": {
  2623. "description": "OK",
  2624. "schema": {
  2625. "$ref": "#/definitions/models.HsbyMarketInfo"
  2626. }
  2627. },
  2628. "500": {
  2629. "description": "Internal Server Error",
  2630. "schema": {
  2631. "$ref": "#/definitions/app.Response"
  2632. }
  2633. }
  2634. }
  2635. }
  2636. },
  2637. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  2638. "get": {
  2639. "security": [
  2640. {
  2641. "ApiKeyAuth": []
  2642. }
  2643. ],
  2644. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  2645. "produces": [
  2646. "application/json"
  2647. ],
  2648. "tags": [
  2649. "定制【海商报业】"
  2650. ],
  2651. "summary": "查询“我的订单”信息",
  2652. "parameters": [
  2653. {
  2654. "type": "string",
  2655. "description": "资金账户列表,格式:1,2,3",
  2656. "name": "accountIDs",
  2657. "in": "query",
  2658. "required": true
  2659. },
  2660. {
  2661. "type": "integer",
  2662. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  2663. "name": "myBuyStatus",
  2664. "in": "query"
  2665. }
  2666. ],
  2667. "responses": {
  2668. "200": {
  2669. "description": "OK",
  2670. "schema": {
  2671. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  2672. }
  2673. },
  2674. "500": {
  2675. "description": "Internal Server Error",
  2676. "schema": {
  2677. "$ref": "#/definitions/app.Response"
  2678. }
  2679. }
  2680. }
  2681. }
  2682. },
  2683. "/HSBY/QueryHsbyMyGoods": {
  2684. "get": {
  2685. "security": [
  2686. {
  2687. "ApiKeyAuth": []
  2688. }
  2689. ],
  2690. "produces": [
  2691. "application/json"
  2692. ],
  2693. "tags": [
  2694. "定制【海商报业】"
  2695. ],
  2696. "summary": "查询“我的商品”信息",
  2697. "parameters": [
  2698. {
  2699. "type": "string",
  2700. "description": "资金账户列表,格式:1,2,3",
  2701. "name": "accountIDs",
  2702. "in": "query",
  2703. "required": true
  2704. }
  2705. ],
  2706. "responses": {
  2707. "200": {
  2708. "description": "OK",
  2709. "schema": {
  2710. "$ref": "#/definitions/models.HsbyMyGoods"
  2711. }
  2712. },
  2713. "500": {
  2714. "description": "Internal Server Error",
  2715. "schema": {
  2716. "$ref": "#/definitions/app.Response"
  2717. }
  2718. }
  2719. }
  2720. }
  2721. },
  2722. "/HSBY/QueryHsbyMyPackages": {
  2723. "get": {
  2724. "security": [
  2725. {
  2726. "ApiKeyAuth": []
  2727. }
  2728. ],
  2729. "produces": [
  2730. "application/json"
  2731. ],
  2732. "tags": [
  2733. "定制【海商报业】"
  2734. ],
  2735. "summary": "查询我的包裹信息",
  2736. "parameters": [
  2737. {
  2738. "type": "string",
  2739. "description": "资金账户列表,格式:1,2,3",
  2740. "name": "accountIDs",
  2741. "in": "query",
  2742. "required": true
  2743. },
  2744. {
  2745. "type": "integer",
  2746. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2747. "name": "takeOrderStatus",
  2748. "in": "query"
  2749. }
  2750. ],
  2751. "responses": {
  2752. "200": {
  2753. "description": "OK",
  2754. "schema": {
  2755. "$ref": "#/definitions/models.HsbyMyPackage"
  2756. }
  2757. },
  2758. "500": {
  2759. "description": "Internal Server Error",
  2760. "schema": {
  2761. "$ref": "#/definitions/app.Response"
  2762. }
  2763. }
  2764. }
  2765. }
  2766. },
  2767. "/HSBY/QueryHsbyPreGoodsDetail": {
  2768. "get": {
  2769. "security": [
  2770. {
  2771. "ApiKeyAuth": []
  2772. }
  2773. ],
  2774. "produces": [
  2775. "application/json"
  2776. ],
  2777. "tags": [
  2778. "定制【海商报业】"
  2779. ],
  2780. "summary": "查询一级市场(预售)商品信息详情",
  2781. "parameters": [
  2782. {
  2783. "type": "integer",
  2784. "description": "商品ID",
  2785. "name": "goodsID",
  2786. "in": "query",
  2787. "required": true
  2788. },
  2789. {
  2790. "type": "integer",
  2791. "description": "资金账户,主要用于获取预售商品购买上限",
  2792. "name": "accountID",
  2793. "in": "query"
  2794. }
  2795. ],
  2796. "responses": {
  2797. "200": {
  2798. "description": "OK",
  2799. "schema": {
  2800. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  2801. }
  2802. },
  2803. "500": {
  2804. "description": "Internal Server Error",
  2805. "schema": {
  2806. "$ref": "#/definitions/app.Response"
  2807. }
  2808. }
  2809. }
  2810. }
  2811. },
  2812. "/HSBY/QueryHsbyPreGoodses": {
  2813. "get": {
  2814. "security": [
  2815. {
  2816. "ApiKeyAuth": []
  2817. }
  2818. ],
  2819. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  2820. "produces": [
  2821. "application/json"
  2822. ],
  2823. "tags": [
  2824. "定制【海商报业】"
  2825. ],
  2826. "summary": "查询新品上市商品列表(一级市场预售)",
  2827. "parameters": [
  2828. {
  2829. "type": "integer",
  2830. "description": "页码",
  2831. "name": "page",
  2832. "in": "query"
  2833. },
  2834. {
  2835. "type": "integer",
  2836. "description": "每页条数",
  2837. "name": "pagesize",
  2838. "in": "query"
  2839. },
  2840. {
  2841. "type": "string",
  2842. "description": "市场ID列表,格式:1,2,3",
  2843. "name": "marketIDs",
  2844. "in": "query",
  2845. "required": true
  2846. },
  2847. {
  2848. "type": "integer",
  2849. "description": "目的地(省)ID",
  2850. "name": "descProvinceID",
  2851. "in": "query"
  2852. },
  2853. {
  2854. "type": "integer",
  2855. "description": "目的地(市)ID",
  2856. "name": "descCityID",
  2857. "in": "query"
  2858. }
  2859. ],
  2860. "responses": {
  2861. "200": {
  2862. "description": "OK",
  2863. "schema": {
  2864. "$ref": "#/definitions/models.HsbyPreGoods"
  2865. }
  2866. },
  2867. "500": {
  2868. "description": "Internal Server Error",
  2869. "schema": {
  2870. "$ref": "#/definitions/app.Response"
  2871. }
  2872. }
  2873. }
  2874. }
  2875. },
  2876. "/HSBY/QueryHsbySellMyDetails": {
  2877. "get": {
  2878. "security": [
  2879. {
  2880. "ApiKeyAuth": []
  2881. }
  2882. ],
  2883. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  2884. "produces": [
  2885. "application/json"
  2886. ],
  2887. "tags": [
  2888. "定制【海商报业】"
  2889. ],
  2890. "summary": "查询\"我的闲置\"单据信息",
  2891. "parameters": [
  2892. {
  2893. "type": "integer",
  2894. "description": "页码",
  2895. "name": "page",
  2896. "in": "query"
  2897. },
  2898. {
  2899. "type": "integer",
  2900. "description": "每页条数",
  2901. "name": "pagesize",
  2902. "in": "query"
  2903. },
  2904. {
  2905. "type": "string",
  2906. "description": "资金账户列表,格式:1,2,3",
  2907. "name": "accountIDs",
  2908. "in": "query",
  2909. "required": true
  2910. },
  2911. {
  2912. "type": "integer",
  2913. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  2914. "name": "orderType",
  2915. "in": "query"
  2916. }
  2917. ],
  2918. "responses": {
  2919. "200": {
  2920. "description": "OK",
  2921. "schema": {
  2922. "$ref": "#/definitions/models.HsbySellMyDetail"
  2923. }
  2924. },
  2925. "500": {
  2926. "description": "Internal Server Error",
  2927. "schema": {
  2928. "$ref": "#/definitions/app.Response"
  2929. }
  2930. }
  2931. }
  2932. }
  2933. },
  2934. "/HSBY/QueryHsbyTopGoodses": {
  2935. "get": {
  2936. "security": [
  2937. {
  2938. "ApiKeyAuth": []
  2939. }
  2940. ],
  2941. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  2942. "produces": [
  2943. "application/json"
  2944. ],
  2945. "tags": [
  2946. "定制【海商报业】"
  2947. ],
  2948. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  2949. "parameters": [
  2950. {
  2951. "type": "integer",
  2952. "description": "页码",
  2953. "name": "page",
  2954. "in": "query"
  2955. },
  2956. {
  2957. "type": "integer",
  2958. "description": "每页条数",
  2959. "name": "pagesize",
  2960. "in": "query"
  2961. },
  2962. {
  2963. "type": "string",
  2964. "description": "市场ID列表,格式:1,2,3",
  2965. "name": "marketIDs",
  2966. "in": "query",
  2967. "required": true
  2968. },
  2969. {
  2970. "type": "integer",
  2971. "description": "目的地(省)ID",
  2972. "name": "descProvinceID",
  2973. "in": "query"
  2974. },
  2975. {
  2976. "type": "integer",
  2977. "description": "目的地(市)ID",
  2978. "name": "descCityID",
  2979. "in": "query"
  2980. }
  2981. ],
  2982. "responses": {
  2983. "200": {
  2984. "description": "OK",
  2985. "schema": {
  2986. "$ref": "#/definitions/models.HsbyTopGoods"
  2987. }
  2988. },
  2989. "500": {
  2990. "description": "Internal Server Error",
  2991. "schema": {
  2992. "$ref": "#/definitions/app.Response"
  2993. }
  2994. }
  2995. }
  2996. }
  2997. },
  2998. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  2999. "get": {
  3000. "security": [
  3001. {
  3002. "ApiKeyAuth": []
  3003. }
  3004. ],
  3005. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  3006. "produces": [
  3007. "application/json"
  3008. ],
  3009. "tags": [
  3010. "定制【海商报业】"
  3011. ],
  3012. "summary": "查询游客三级市场(商城)商品信息详情",
  3013. "parameters": [
  3014. {
  3015. "type": "integer",
  3016. "description": "商品ID",
  3017. "name": "goodsID",
  3018. "in": "query",
  3019. "required": true
  3020. }
  3021. ],
  3022. "responses": {
  3023. "200": {
  3024. "description": "OK",
  3025. "schema": {
  3026. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3027. }
  3028. },
  3029. "500": {
  3030. "description": "Internal Server Error",
  3031. "schema": {
  3032. "$ref": "#/definitions/app.Response"
  3033. }
  3034. }
  3035. }
  3036. }
  3037. },
  3038. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  3039. "get": {
  3040. "security": [
  3041. {
  3042. "ApiKeyAuth": []
  3043. }
  3044. ],
  3045. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  3046. "produces": [
  3047. "application/json"
  3048. ],
  3049. "tags": [
  3050. "定制【海商报业】"
  3051. ],
  3052. "summary": "查询游客特卖商品列表(三级商城)",
  3053. "parameters": [
  3054. {
  3055. "type": "integer",
  3056. "description": "页码",
  3057. "name": "page",
  3058. "in": "query"
  3059. },
  3060. {
  3061. "type": "integer",
  3062. "description": "每页条数",
  3063. "name": "pagesize",
  3064. "in": "query"
  3065. },
  3066. {
  3067. "type": "string",
  3068. "description": "市场ID列表,格式:1,2,3",
  3069. "name": "marketIDs",
  3070. "in": "query",
  3071. "required": true
  3072. },
  3073. {
  3074. "type": "integer",
  3075. "description": "类别ID",
  3076. "name": "categoryID",
  3077. "in": "query"
  3078. },
  3079. {
  3080. "type": "string",
  3081. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3082. "name": "goodsIDs",
  3083. "in": "query"
  3084. }
  3085. ],
  3086. "responses": {
  3087. "200": {
  3088. "description": "OK",
  3089. "schema": {
  3090. "$ref": "#/definitions/models.HsbyMarketGoods"
  3091. }
  3092. },
  3093. "500": {
  3094. "description": "Internal Server Error",
  3095. "schema": {
  3096. "$ref": "#/definitions/app.Response"
  3097. }
  3098. }
  3099. }
  3100. }
  3101. },
  3102. "/HSBY/QueryMyCollectionOrders": {
  3103. "get": {
  3104. "security": [
  3105. {
  3106. "ApiKeyAuth": []
  3107. }
  3108. ],
  3109. "produces": [
  3110. "application/json"
  3111. ],
  3112. "tags": [
  3113. "定制【海商报业】"
  3114. ],
  3115. "summary": "我的闲置中收款信息查询",
  3116. "parameters": [
  3117. {
  3118. "type": "integer",
  3119. "description": "页码",
  3120. "name": "page",
  3121. "in": "query"
  3122. },
  3123. {
  3124. "type": "integer",
  3125. "description": "每页条数",
  3126. "name": "pagesize",
  3127. "in": "query"
  3128. },
  3129. {
  3130. "type": "string",
  3131. "description": "资金账户,格式:1,2,3",
  3132. "name": "accountIDs",
  3133. "in": "query",
  3134. "required": true
  3135. }
  3136. ],
  3137. "responses": {
  3138. "200": {
  3139. "description": "OK",
  3140. "schema": {
  3141. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  3142. }
  3143. },
  3144. "500": {
  3145. "description": "Internal Server Error",
  3146. "schema": {
  3147. "$ref": "#/definitions/app.Response"
  3148. }
  3149. }
  3150. }
  3151. }
  3152. },
  3153. "/HSBY/QueryMyCouponHolds": {
  3154. "get": {
  3155. "security": [
  3156. {
  3157. "ApiKeyAuth": []
  3158. }
  3159. ],
  3160. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  3161. "produces": [
  3162. "application/json"
  3163. ],
  3164. "tags": [
  3165. "定制【海商报业】"
  3166. ],
  3167. "summary": "我的优惠卷持仓查询",
  3168. "parameters": [
  3169. {
  3170. "type": "string",
  3171. "description": "资金账户列表,格式:1,2,3",
  3172. "name": "accountIDs",
  3173. "in": "query",
  3174. "required": true
  3175. },
  3176. {
  3177. "type": "string",
  3178. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  3179. "name": "holdStatus",
  3180. "in": "query"
  3181. }
  3182. ],
  3183. "responses": {
  3184. "200": {
  3185. "description": "OK",
  3186. "schema": {
  3187. "$ref": "#/definitions/models.MyCouponHold"
  3188. }
  3189. },
  3190. "500": {
  3191. "description": "Internal Server Error",
  3192. "schema": {
  3193. "$ref": "#/definitions/app.Response"
  3194. }
  3195. }
  3196. }
  3197. }
  3198. },
  3199. "/HSBY/QueryMyCoupons": {
  3200. "get": {
  3201. "security": [
  3202. {
  3203. "ApiKeyAuth": []
  3204. }
  3205. ],
  3206. "produces": [
  3207. "application/json"
  3208. ],
  3209. "tags": [
  3210. "定制【海商报业】"
  3211. ],
  3212. "summary": "我的优惠卷查询",
  3213. "parameters": [
  3214. {
  3215. "type": "string",
  3216. "description": "资金账户列表,格式:1,2,3",
  3217. "name": "accountIDs",
  3218. "in": "query",
  3219. "required": true
  3220. },
  3221. {
  3222. "type": "integer",
  3223. "description": "商品ID, 一般与sellUserID配套传入",
  3224. "name": "goodsID",
  3225. "in": "query"
  3226. },
  3227. {
  3228. "type": "integer",
  3229. "description": "卖方UserID",
  3230. "name": "sellUserID",
  3231. "in": "query"
  3232. }
  3233. ],
  3234. "responses": {
  3235. "200": {
  3236. "description": "OK",
  3237. "schema": {
  3238. "$ref": "#/definitions/models.MyCoupon"
  3239. }
  3240. },
  3241. "500": {
  3242. "description": "Internal Server Error",
  3243. "schema": {
  3244. "$ref": "#/definitions/app.Response"
  3245. }
  3246. }
  3247. }
  3248. }
  3249. },
  3250. "/HSBY/QueryMyPayOrders": {
  3251. "get": {
  3252. "security": [
  3253. {
  3254. "ApiKeyAuth": []
  3255. }
  3256. ],
  3257. "produces": [
  3258. "application/json"
  3259. ],
  3260. "tags": [
  3261. "定制【海商报业】"
  3262. ],
  3263. "summary": "获取我的订单中待付款信息",
  3264. "parameters": [
  3265. {
  3266. "type": "integer",
  3267. "description": "页码",
  3268. "name": "page",
  3269. "in": "query"
  3270. },
  3271. {
  3272. "type": "integer",
  3273. "description": "每页条数",
  3274. "name": "pagesize",
  3275. "in": "query"
  3276. },
  3277. {
  3278. "type": "string",
  3279. "description": "资金账户列表,格式:1,2,3",
  3280. "name": "accountIDs",
  3281. "in": "query",
  3282. "required": true
  3283. },
  3284. {
  3285. "type": "integer",
  3286. "description": "买方委托单号",
  3287. "name": "buyOrderID",
  3288. "in": "query"
  3289. },
  3290. {
  3291. "type": "integer",
  3292. "description": "卖方委托单号",
  3293. "name": "sellOrderID",
  3294. "in": "query"
  3295. }
  3296. ],
  3297. "responses": {
  3298. "200": {
  3299. "description": "OK",
  3300. "schema": {
  3301. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  3302. }
  3303. },
  3304. "500": {
  3305. "description": "Internal Server Error",
  3306. "schema": {
  3307. "$ref": "#/definitions/app.Response"
  3308. }
  3309. }
  3310. }
  3311. }
  3312. },
  3313. "/HSBY/QueryMyUsedCoupon": {
  3314. "get": {
  3315. "security": [
  3316. {
  3317. "ApiKeyAuth": []
  3318. }
  3319. ],
  3320. "produces": [
  3321. "application/json"
  3322. ],
  3323. "tags": [
  3324. "定制【海商报业】"
  3325. ],
  3326. "summary": "已使用优惠卷查询",
  3327. "parameters": [
  3328. {
  3329. "type": "string",
  3330. "description": "资金账户列表,格式:1,2,3",
  3331. "name": "accountIDs",
  3332. "in": "query",
  3333. "required": true
  3334. }
  3335. ],
  3336. "responses": {
  3337. "200": {
  3338. "description": "OK",
  3339. "schema": {
  3340. "$ref": "#/definitions/models.MyUsedCoupon"
  3341. }
  3342. },
  3343. "500": {
  3344. "description": "Internal Server Error",
  3345. "schema": {
  3346. "$ref": "#/definitions/app.Response"
  3347. }
  3348. }
  3349. }
  3350. }
  3351. },
  3352. "/HSBY/QueryProvincesAndCities": {
  3353. "get": {
  3354. "security": [
  3355. {
  3356. "ApiKeyAuth": []
  3357. }
  3358. ],
  3359. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  3360. "produces": [
  3361. "application/json"
  3362. ],
  3363. "tags": [
  3364. "定制【海商报业】"
  3365. ],
  3366. "summary": "查询省市信息(不包括区)",
  3367. "parameters": [
  3368. {
  3369. "type": "integer",
  3370. "description": "省ID",
  3371. "name": "provinceID",
  3372. "in": "query"
  3373. }
  3374. ],
  3375. "responses": {
  3376. "200": {
  3377. "description": "OK",
  3378. "schema": {
  3379. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  3380. }
  3381. },
  3382. "500": {
  3383. "description": "Internal Server Error",
  3384. "schema": {
  3385. "$ref": "#/definitions/app.Response"
  3386. }
  3387. }
  3388. }
  3389. }
  3390. },
  3391. "/HSBY/SetHsbyMyPackagesStatus": {
  3392. "post": {
  3393. "security": [
  3394. {
  3395. "ApiKeyAuth": []
  3396. }
  3397. ],
  3398. "produces": [
  3399. "application/json"
  3400. ],
  3401. "tags": [
  3402. "定制【海商报业】"
  3403. ],
  3404. "summary": "设置我的包裹已收货状态",
  3405. "parameters": [
  3406. {
  3407. "type": "string",
  3408. "description": "提货单号",
  3409. "name": "takeOrderID",
  3410. "in": "query",
  3411. "required": true
  3412. },
  3413. {
  3414. "type": "integer",
  3415. "description": "资金账号",
  3416. "name": "accountID",
  3417. "in": "query",
  3418. "required": true
  3419. }
  3420. ],
  3421. "responses": {
  3422. "200": {
  3423. "description": "OK",
  3424. "schema": {
  3425. "$ref": "#/definitions/app.Response"
  3426. }
  3427. },
  3428. "500": {
  3429. "description": "Internal Server Error",
  3430. "schema": {
  3431. "$ref": "#/definitions/app.Response"
  3432. }
  3433. }
  3434. }
  3435. }
  3436. },
  3437. "/Market/QueryGoodsesByLoginID": {
  3438. "get": {
  3439. "security": [
  3440. {
  3441. "ApiKeyAuth": []
  3442. }
  3443. ],
  3444. "produces": [
  3445. "application/json"
  3446. ],
  3447. "tags": [
  3448. "通用市场"
  3449. ],
  3450. "summary": "获取登录账号有权限的商品信息",
  3451. "parameters": [
  3452. {
  3453. "type": "integer",
  3454. "description": "登录账号",
  3455. "name": "loginID",
  3456. "in": "query",
  3457. "required": true
  3458. },
  3459. {
  3460. "type": "string",
  3461. "description": "市场ID列表,格式:1,2,3",
  3462. "name": "marketIDs",
  3463. "in": "query"
  3464. }
  3465. ],
  3466. "responses": {
  3467. "200": {
  3468. "description": "OK",
  3469. "schema": {
  3470. "$ref": "#/definitions/models.Goods"
  3471. }
  3472. },
  3473. "500": {
  3474. "description": "Internal Server Error",
  3475. "schema": {
  3476. "$ref": "#/definitions/app.Response"
  3477. }
  3478. }
  3479. }
  3480. }
  3481. },
  3482. "/Market/QueryMarketRun": {
  3483. "get": {
  3484. "security": [
  3485. {
  3486. "ApiKeyAuth": []
  3487. }
  3488. ],
  3489. "produces": [
  3490. "application/json"
  3491. ],
  3492. "tags": [
  3493. "通用市场"
  3494. ],
  3495. "summary": "查询市场运行信息",
  3496. "parameters": [
  3497. {
  3498. "type": "integer",
  3499. "description": "市场ID,不传返回所有",
  3500. "name": "marketID",
  3501. "in": "query"
  3502. }
  3503. ],
  3504. "responses": {
  3505. "200": {
  3506. "description": "OK",
  3507. "schema": {
  3508. "$ref": "#/definitions/models.Marketrun"
  3509. }
  3510. },
  3511. "500": {
  3512. "description": "Internal Server Error",
  3513. "schema": {
  3514. "$ref": "#/definitions/app.Response"
  3515. }
  3516. }
  3517. }
  3518. }
  3519. },
  3520. "/Market/QueryMarketsByLoginID": {
  3521. "get": {
  3522. "security": [
  3523. {
  3524. "ApiKeyAuth": []
  3525. }
  3526. ],
  3527. "produces": [
  3528. "application/json"
  3529. ],
  3530. "tags": [
  3531. "通用市场"
  3532. ],
  3533. "summary": "获取登录账号有权限的市场信息",
  3534. "parameters": [
  3535. {
  3536. "type": "integer",
  3537. "description": "登录账号",
  3538. "name": "loginID",
  3539. "in": "query",
  3540. "required": true
  3541. }
  3542. ],
  3543. "responses": {
  3544. "200": {
  3545. "description": "OK",
  3546. "schema": {
  3547. "$ref": "#/definitions/models.Market"
  3548. }
  3549. },
  3550. "500": {
  3551. "description": "Internal Server Error",
  3552. "schema": {
  3553. "$ref": "#/definitions/app.Response"
  3554. }
  3555. }
  3556. }
  3557. }
  3558. },
  3559. "/Order/QueryHisTradeDetail": {
  3560. "get": {
  3561. "security": [
  3562. {
  3563. "ApiKeyAuth": []
  3564. }
  3565. ],
  3566. "produces": [
  3567. "application/json"
  3568. ],
  3569. "tags": [
  3570. "通用单据"
  3571. ],
  3572. "summary": "历史成交单查询(合约市场)",
  3573. "parameters": [
  3574. {
  3575. "type": "string",
  3576. "description": "资金账户 - 格式:1,2,3",
  3577. "name": "accountID",
  3578. "in": "query",
  3579. "required": true
  3580. },
  3581. {
  3582. "type": "integer",
  3583. "description": "成交单号",
  3584. "name": "tradeID",
  3585. "in": "query"
  3586. },
  3587. {
  3588. "type": "integer",
  3589. "description": "委托单号",
  3590. "name": "orderID",
  3591. "in": "query"
  3592. },
  3593. {
  3594. "type": "string",
  3595. "description": "交易模式 - 格式:1,2,3",
  3596. "name": "tradeMode",
  3597. "in": "query"
  3598. },
  3599. {
  3600. "type": "integer",
  3601. "description": "委托单据类型",
  3602. "name": "buildType",
  3603. "in": "query"
  3604. },
  3605. {
  3606. "type": "string",
  3607. "description": "成交类别 - 格式:1,2,3",
  3608. "name": "tradeType",
  3609. "in": "query"
  3610. },
  3611. {
  3612. "type": "string",
  3613. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3614. "name": "startDate",
  3615. "in": "query"
  3616. },
  3617. {
  3618. "type": "string",
  3619. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3620. "name": "endDate",
  3621. "in": "query"
  3622. }
  3623. ],
  3624. "responses": {
  3625. "200": {
  3626. "description": "OK",
  3627. "schema": {
  3628. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  3629. }
  3630. },
  3631. "500": {
  3632. "description": "Internal Server Error",
  3633. "schema": {
  3634. "$ref": "#/definitions/app.Response"
  3635. }
  3636. }
  3637. }
  3638. }
  3639. },
  3640. "/Order/QueryHisTradeOrderDetail": {
  3641. "get": {
  3642. "security": [
  3643. {
  3644. "ApiKeyAuth": []
  3645. }
  3646. ],
  3647. "produces": [
  3648. "application/json"
  3649. ],
  3650. "tags": [
  3651. "通用单据"
  3652. ],
  3653. "summary": "历史委托单查询请求(合约市场)",
  3654. "parameters": [
  3655. {
  3656. "type": "string",
  3657. "description": "资金账户 - 格式:1,2,3",
  3658. "name": "accountID",
  3659. "in": "query",
  3660. "required": true
  3661. },
  3662. {
  3663. "type": "string",
  3664. "description": "交易模式 - 格式:1,2,3",
  3665. "name": "tradeMode",
  3666. "in": "query"
  3667. },
  3668. {
  3669. "type": "string",
  3670. "description": "委托状态 - 格式:1,2,3",
  3671. "name": "orderStatus",
  3672. "in": "query"
  3673. },
  3674. {
  3675. "type": "integer",
  3676. "description": "委托单号",
  3677. "name": "orderID",
  3678. "in": "query"
  3679. },
  3680. {
  3681. "type": "string",
  3682. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3683. "name": "startDate",
  3684. "in": "query"
  3685. },
  3686. {
  3687. "type": "string",
  3688. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3689. "name": "endDate",
  3690. "in": "query"
  3691. }
  3692. ],
  3693. "responses": {
  3694. "200": {
  3695. "description": "OK",
  3696. "schema": {
  3697. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  3698. }
  3699. },
  3700. "500": {
  3701. "description": "Internal Server Error",
  3702. "schema": {
  3703. "$ref": "#/definitions/app.Response"
  3704. }
  3705. }
  3706. }
  3707. }
  3708. },
  3709. "/Order/QueryTradeDetail": {
  3710. "get": {
  3711. "security": [
  3712. {
  3713. "ApiKeyAuth": []
  3714. }
  3715. ],
  3716. "produces": [
  3717. "application/json"
  3718. ],
  3719. "tags": [
  3720. "通用单据"
  3721. ],
  3722. "summary": "成交单查询(合约市场)",
  3723. "parameters": [
  3724. {
  3725. "type": "string",
  3726. "description": "资金账户 - 格式:1,2,3",
  3727. "name": "accountID",
  3728. "in": "query",
  3729. "required": true
  3730. },
  3731. {
  3732. "type": "integer",
  3733. "description": "成交单号",
  3734. "name": "tradeID",
  3735. "in": "query"
  3736. },
  3737. {
  3738. "type": "integer",
  3739. "description": "委托单号",
  3740. "name": "orderID",
  3741. "in": "query"
  3742. },
  3743. {
  3744. "type": "string",
  3745. "description": "交易模式 - 格式:1,2,3",
  3746. "name": "tradeMode",
  3747. "in": "query"
  3748. },
  3749. {
  3750. "type": "integer",
  3751. "description": "委托单据类型",
  3752. "name": "buildType",
  3753. "in": "query"
  3754. },
  3755. {
  3756. "type": "string",
  3757. "description": "成交类别 - 格式:1,2,3",
  3758. "name": "tradeType",
  3759. "in": "query"
  3760. }
  3761. ],
  3762. "responses": {
  3763. "200": {
  3764. "description": "OK",
  3765. "schema": {
  3766. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  3767. }
  3768. },
  3769. "500": {
  3770. "description": "Internal Server Error",
  3771. "schema": {
  3772. "$ref": "#/definitions/app.Response"
  3773. }
  3774. }
  3775. }
  3776. }
  3777. },
  3778. "/Order/QueryTradeOrderDetail": {
  3779. "get": {
  3780. "security": [
  3781. {
  3782. "ApiKeyAuth": []
  3783. }
  3784. ],
  3785. "produces": [
  3786. "application/json"
  3787. ],
  3788. "tags": [
  3789. "通用单据"
  3790. ],
  3791. "summary": "委托单查询请求(合约市场)",
  3792. "parameters": [
  3793. {
  3794. "type": "string",
  3795. "description": "资金账户 - 格式:1,2,3",
  3796. "name": "accountID",
  3797. "in": "query",
  3798. "required": true
  3799. },
  3800. {
  3801. "type": "string",
  3802. "description": "交易模式 - 格式:1,2,3",
  3803. "name": "tradeMode",
  3804. "in": "query"
  3805. },
  3806. {
  3807. "type": "string",
  3808. "description": "委托状态 - 格式:1,2,3",
  3809. "name": "orderStatus",
  3810. "in": "query"
  3811. },
  3812. {
  3813. "type": "integer",
  3814. "description": "委托单号",
  3815. "name": "orderID",
  3816. "in": "query"
  3817. }
  3818. ],
  3819. "responses": {
  3820. "200": {
  3821. "description": "OK",
  3822. "schema": {
  3823. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  3824. }
  3825. },
  3826. "500": {
  3827. "description": "Internal Server Error",
  3828. "schema": {
  3829. "$ref": "#/definitions/app.Response"
  3830. }
  3831. }
  3832. }
  3833. }
  3834. },
  3835. "/Order/QueryTradePosition": {
  3836. "get": {
  3837. "security": [
  3838. {
  3839. "ApiKeyAuth": []
  3840. }
  3841. ],
  3842. "produces": [
  3843. "application/json"
  3844. ],
  3845. "tags": [
  3846. "通用单据"
  3847. ],
  3848. "summary": "持仓汇总查询(合约市场)",
  3849. "parameters": [
  3850. {
  3851. "type": "string",
  3852. "description": "资金账户 - 格式:1,2,3",
  3853. "name": "accountID",
  3854. "in": "query",
  3855. "required": true
  3856. },
  3857. {
  3858. "type": "string",
  3859. "description": "交易模式 - 格式:1,2,3",
  3860. "name": "tradeMode",
  3861. "in": "query"
  3862. }
  3863. ],
  3864. "responses": {
  3865. "200": {
  3866. "description": "OK",
  3867. "schema": {
  3868. "$ref": "#/definitions/order.QueryTradePositionRsp"
  3869. }
  3870. },
  3871. "500": {
  3872. "description": "Internal Server Error",
  3873. "schema": {
  3874. "$ref": "#/definitions/app.Response"
  3875. }
  3876. }
  3877. }
  3878. }
  3879. },
  3880. "/Quote/QueryHistoryDatas": {
  3881. "get": {
  3882. "security": [
  3883. {
  3884. "ApiKeyAuth": []
  3885. }
  3886. ],
  3887. "produces": [
  3888. "application/json"
  3889. ],
  3890. "tags": [
  3891. "行情服务"
  3892. ],
  3893. "summary": "查询行情历史数据",
  3894. "parameters": [
  3895. {
  3896. "type": "integer",
  3897. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  3898. "name": "cycleType",
  3899. "in": "query",
  3900. "required": true
  3901. },
  3902. {
  3903. "type": "string",
  3904. "description": "商品代码",
  3905. "name": "goodsCode",
  3906. "in": "query",
  3907. "required": true
  3908. },
  3909. {
  3910. "type": "string",
  3911. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  3912. "name": "startTime",
  3913. "in": "query"
  3914. },
  3915. {
  3916. "type": "string",
  3917. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  3918. "name": "endTime",
  3919. "in": "query"
  3920. },
  3921. {
  3922. "type": "integer",
  3923. "description": "条数",
  3924. "name": "count",
  3925. "in": "query"
  3926. },
  3927. {
  3928. "type": "boolean",
  3929. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  3930. "name": "isAsc",
  3931. "in": "query"
  3932. }
  3933. ],
  3934. "responses": {
  3935. "200": {
  3936. "description": "OK",
  3937. "schema": {
  3938. "$ref": "#/definitions/quote.HistoryData"
  3939. }
  3940. },
  3941. "500": {
  3942. "description": "Internal Server Error",
  3943. "schema": {
  3944. "$ref": "#/definitions/app.Response"
  3945. }
  3946. }
  3947. }
  3948. }
  3949. },
  3950. "/Quote/QueryTSData": {
  3951. "get": {
  3952. "produces": [
  3953. "application/json"
  3954. ],
  3955. "tags": [
  3956. "行情服务"
  3957. ],
  3958. "summary": "分时图数据查询",
  3959. "parameters": [
  3960. {
  3961. "type": "string",
  3962. "description": "商品代码",
  3963. "name": "GoodsCode",
  3964. "in": "query",
  3965. "required": true
  3966. }
  3967. ],
  3968. "responses": {
  3969. "200": {
  3970. "description": "OK",
  3971. "schema": {
  3972. "$ref": "#/definitions/quote.QueryTSDataRsp"
  3973. }
  3974. },
  3975. "500": {
  3976. "description": "Internal Server Error",
  3977. "schema": {
  3978. "$ref": "#/definitions/app.Response"
  3979. }
  3980. }
  3981. }
  3982. }
  3983. },
  3984. "/SZDZ/QueryConvertConfig": {
  3985. "get": {
  3986. "security": [
  3987. {
  3988. "ApiKeyAuth": []
  3989. }
  3990. ],
  3991. "produces": [
  3992. "application/json"
  3993. ],
  3994. "tags": [
  3995. "定制【尚志大宗】"
  3996. ],
  3997. "summary": "查询交易系统转换设置",
  3998. "parameters": [
  3999. {
  4000. "type": "integer",
  4001. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  4002. "name": "convertType",
  4003. "in": "query"
  4004. },
  4005. {
  4006. "type": "string",
  4007. "description": "外部商品代码[JD\\PD]",
  4008. "name": "outerGoodsCode",
  4009. "in": "query"
  4010. },
  4011. {
  4012. "type": "string",
  4013. "description": "内部商品ID列表[交易],格式:1,2,3",
  4014. "name": "innerGoodsIDs",
  4015. "in": "query"
  4016. }
  4017. ],
  4018. "responses": {
  4019. "200": {
  4020. "description": "OK",
  4021. "schema": {
  4022. "$ref": "#/definitions/models.Szdz3convertconfig"
  4023. }
  4024. },
  4025. "500": {
  4026. "description": "Internal Server Error",
  4027. "schema": {
  4028. "$ref": "#/definitions/app.Response"
  4029. }
  4030. }
  4031. }
  4032. }
  4033. },
  4034. "/SZDZ/QueryConvertLog": {
  4035. "get": {
  4036. "security": [
  4037. {
  4038. "ApiKeyAuth": []
  4039. }
  4040. ],
  4041. "produces": [
  4042. "application/json"
  4043. ],
  4044. "tags": [
  4045. "定制【尚志大宗】"
  4046. ],
  4047. "summary": "交易系统转换流水查询",
  4048. "parameters": [
  4049. {
  4050. "type": "string",
  4051. "description": "资金账户 - 格式:1,2,3",
  4052. "name": "accountID",
  4053. "in": "query",
  4054. "required": true
  4055. },
  4056. {
  4057. "type": "string",
  4058. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  4059. "name": "startDate",
  4060. "in": "query"
  4061. },
  4062. {
  4063. "type": "string",
  4064. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  4065. "name": "endDate",
  4066. "in": "query"
  4067. }
  4068. ],
  4069. "responses": {
  4070. "200": {
  4071. "description": "OK",
  4072. "schema": {
  4073. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  4074. }
  4075. },
  4076. "500": {
  4077. "description": "Internal Server Error",
  4078. "schema": {
  4079. "$ref": "#/definitions/app.Response"
  4080. }
  4081. }
  4082. }
  4083. }
  4084. },
  4085. "/SZDZ/QueryGoodsPickup": {
  4086. "get": {
  4087. "security": [
  4088. {
  4089. "ApiKeyAuth": []
  4090. }
  4091. ],
  4092. "produces": [
  4093. "application/json"
  4094. ],
  4095. "tags": [
  4096. "定制【尚志大宗】"
  4097. ],
  4098. "summary": "商品提货单查询",
  4099. "parameters": [
  4100. {
  4101. "type": "string",
  4102. "description": "资金账户 - 格式:1,2,3",
  4103. "name": "accountID",
  4104. "in": "query",
  4105. "required": true
  4106. },
  4107. {
  4108. "type": "integer",
  4109. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  4110. "name": "takeOrderStatus",
  4111. "in": "query"
  4112. }
  4113. ],
  4114. "responses": {
  4115. "200": {
  4116. "description": "OK",
  4117. "schema": {
  4118. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  4119. }
  4120. },
  4121. "500": {
  4122. "description": "Internal Server Error",
  4123. "schema": {
  4124. "$ref": "#/definitions/app.Response"
  4125. }
  4126. }
  4127. }
  4128. }
  4129. },
  4130. "/SZDZ/QueryRecieptOrder": {
  4131. "get": {
  4132. "security": [
  4133. {
  4134. "ApiKeyAuth": []
  4135. }
  4136. ],
  4137. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  4138. "produces": [
  4139. "application/json"
  4140. ],
  4141. "tags": [
  4142. "定制【尚志大宗】"
  4143. ],
  4144. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  4145. "parameters": [
  4146. {
  4147. "type": "integer",
  4148. "description": "页码",
  4149. "name": "page",
  4150. "in": "query"
  4151. },
  4152. {
  4153. "type": "integer",
  4154. "description": "每页条数",
  4155. "name": "pagesize",
  4156. "in": "query"
  4157. },
  4158. {
  4159. "type": "integer",
  4160. "description": "商品ID",
  4161. "name": "goodsID",
  4162. "in": "query",
  4163. "required": true
  4164. },
  4165. {
  4166. "type": "string",
  4167. "description": "所属账户名称",
  4168. "name": "accountName",
  4169. "in": "query"
  4170. },
  4171. {
  4172. "type": "integer",
  4173. "description": "市场ID",
  4174. "name": "marketID",
  4175. "in": "query"
  4176. },
  4177. {
  4178. "type": "integer",
  4179. "description": "方向 - 0:买 1:卖",
  4180. "name": "buyorsell",
  4181. "in": "query",
  4182. "required": true
  4183. }
  4184. ],
  4185. "responses": {
  4186. "200": {
  4187. "description": "OK",
  4188. "schema": {
  4189. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  4190. }
  4191. },
  4192. "500": {
  4193. "description": "Internal Server Error",
  4194. "schema": {
  4195. "$ref": "#/definitions/app.Response"
  4196. }
  4197. }
  4198. }
  4199. }
  4200. },
  4201. "/SZDZ/QuerySZDZTradePosition": {
  4202. "get": {
  4203. "security": [
  4204. {
  4205. "ApiKeyAuth": []
  4206. }
  4207. ],
  4208. "produces": [
  4209. "application/json"
  4210. ],
  4211. "tags": [
  4212. "定制【尚志大宗】"
  4213. ],
  4214. "summary": "持仓汇总查询(尚志大宗)",
  4215. "parameters": [
  4216. {
  4217. "type": "integer",
  4218. "description": "资金账户",
  4219. "name": "accountID",
  4220. "in": "query",
  4221. "required": true
  4222. }
  4223. ],
  4224. "responses": {
  4225. "200": {
  4226. "description": "OK",
  4227. "schema": {
  4228. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  4229. }
  4230. },
  4231. "500": {
  4232. "description": "Internal Server Error",
  4233. "schema": {
  4234. "$ref": "#/definitions/app.Response"
  4235. }
  4236. }
  4237. }
  4238. }
  4239. },
  4240. "/SZDZ/SearchWhite": {
  4241. "get": {
  4242. "security": [
  4243. {
  4244. "ApiKeyAuth": []
  4245. }
  4246. ],
  4247. "produces": [
  4248. "application/json"
  4249. ],
  4250. "tags": [
  4251. "定制【尚志大宗】"
  4252. ],
  4253. "summary": "搜索白名单",
  4254. "parameters": [
  4255. {
  4256. "type": "integer",
  4257. "description": "用户ID",
  4258. "name": "userID",
  4259. "in": "query",
  4260. "required": true
  4261. }
  4262. ],
  4263. "responses": {
  4264. "200": {
  4265. "description": "OK",
  4266. "schema": {
  4267. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  4268. }
  4269. },
  4270. "500": {
  4271. "description": "Internal Server Error",
  4272. "schema": {
  4273. "$ref": "#/definitions/app.Response"
  4274. }
  4275. }
  4276. }
  4277. }
  4278. },
  4279. "/Search/SearchGoodses": {
  4280. "get": {
  4281. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  4282. "produces": [
  4283. "application/json"
  4284. ],
  4285. "tags": [
  4286. "检索服务"
  4287. ],
  4288. "summary": "检索商品信息",
  4289. "parameters": [
  4290. {
  4291. "type": "string",
  4292. "description": "检索内容",
  4293. "name": "content",
  4294. "in": "query",
  4295. "required": true
  4296. },
  4297. {
  4298. "type": "string",
  4299. "description": "交易模式,格式:1,2,3",
  4300. "name": "tradeModes",
  4301. "in": "query"
  4302. }
  4303. ],
  4304. "responses": {
  4305. "200": {
  4306. "description": "OK",
  4307. "schema": {
  4308. "$ref": "#/definitions/models.SearchGoods"
  4309. }
  4310. },
  4311. "500": {
  4312. "description": "Internal Server Error",
  4313. "schema": {
  4314. "$ref": "#/definitions/app.Response"
  4315. }
  4316. }
  4317. }
  4318. }
  4319. },
  4320. "/TaAccount/QueryAmountLog": {
  4321. "get": {
  4322. "security": [
  4323. {
  4324. "ApiKeyAuth": []
  4325. }
  4326. ],
  4327. "produces": [
  4328. "application/json"
  4329. ],
  4330. "tags": [
  4331. "资金账户"
  4332. ],
  4333. "summary": "资金流水查询(当前)",
  4334. "parameters": [
  4335. {
  4336. "type": "integer",
  4337. "description": "页码",
  4338. "name": "page",
  4339. "in": "query"
  4340. },
  4341. {
  4342. "type": "integer",
  4343. "description": "每页条数",
  4344. "name": "pagesize",
  4345. "in": "query"
  4346. },
  4347. {
  4348. "type": "string",
  4349. "description": "资金账户 - 格式:1,2,3",
  4350. "name": "accountID",
  4351. "in": "query",
  4352. "required": true
  4353. },
  4354. {
  4355. "type": "string",
  4356. "description": "资金操作类型 - 格式:1,2,3",
  4357. "name": "OperateType",
  4358. "in": "query"
  4359. }
  4360. ],
  4361. "responses": {
  4362. "200": {
  4363. "description": "OK",
  4364. "schema": {
  4365. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  4366. }
  4367. },
  4368. "500": {
  4369. "description": "Internal Server Error",
  4370. "schema": {
  4371. "$ref": "#/definitions/app.Response"
  4372. }
  4373. }
  4374. }
  4375. }
  4376. },
  4377. "/TaAccount/QueryHisAmountLog": {
  4378. "get": {
  4379. "security": [
  4380. {
  4381. "ApiKeyAuth": []
  4382. }
  4383. ],
  4384. "produces": [
  4385. "application/json"
  4386. ],
  4387. "tags": [
  4388. "资金账户"
  4389. ],
  4390. "summary": "资金流水查询(历史)",
  4391. "parameters": [
  4392. {
  4393. "type": "integer",
  4394. "description": "页码",
  4395. "name": "page",
  4396. "in": "query"
  4397. },
  4398. {
  4399. "type": "integer",
  4400. "description": "每页条数",
  4401. "name": "pagesize",
  4402. "in": "query"
  4403. },
  4404. {
  4405. "type": "string",
  4406. "description": "资金账户 - 格式:1,2,3",
  4407. "name": "accountID",
  4408. "in": "query",
  4409. "required": true
  4410. },
  4411. {
  4412. "type": "string",
  4413. "description": "资金操作类型 - 格式:1,2,3",
  4414. "name": "OperateType",
  4415. "in": "query"
  4416. },
  4417. {
  4418. "type": "string",
  4419. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4420. "name": "startDate",
  4421. "in": "query"
  4422. },
  4423. {
  4424. "type": "string",
  4425. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4426. "name": "endDate",
  4427. "in": "query"
  4428. }
  4429. ],
  4430. "responses": {
  4431. "200": {
  4432. "description": "OK",
  4433. "schema": {
  4434. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  4435. }
  4436. },
  4437. "500": {
  4438. "description": "Internal Server Error",
  4439. "schema": {
  4440. "$ref": "#/definitions/app.Response"
  4441. }
  4442. }
  4443. }
  4444. }
  4445. },
  4446. "/Trade/QueryRecieptOrder": {
  4447. "get": {
  4448. "security": [
  4449. {
  4450. "ApiKeyAuth": []
  4451. }
  4452. ],
  4453. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  4454. "produces": [
  4455. "application/json"
  4456. ],
  4457. "tags": [
  4458. "通用交易"
  4459. ],
  4460. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  4461. "parameters": [
  4462. {
  4463. "type": "integer",
  4464. "description": "页码",
  4465. "name": "page",
  4466. "in": "query"
  4467. },
  4468. {
  4469. "type": "integer",
  4470. "description": "每页条数",
  4471. "name": "pagesize",
  4472. "in": "query"
  4473. },
  4474. {
  4475. "type": "integer",
  4476. "description": "商品ID",
  4477. "name": "goodsID",
  4478. "in": "query",
  4479. "required": true
  4480. },
  4481. {
  4482. "type": "string",
  4483. "description": "所属账户名称",
  4484. "name": "accountName",
  4485. "in": "query"
  4486. },
  4487. {
  4488. "type": "integer",
  4489. "description": "市场ID",
  4490. "name": "marketID",
  4491. "in": "query"
  4492. },
  4493. {
  4494. "type": "integer",
  4495. "description": "方向 - 0:买 1:卖",
  4496. "name": "buyorsell",
  4497. "in": "query",
  4498. "required": true
  4499. }
  4500. ],
  4501. "responses": {
  4502. "200": {
  4503. "description": "OK",
  4504. "schema": {
  4505. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  4506. }
  4507. },
  4508. "500": {
  4509. "description": "Internal Server Error",
  4510. "schema": {
  4511. "$ref": "#/definitions/app.Response"
  4512. }
  4513. }
  4514. }
  4515. }
  4516. },
  4517. "/User/AddMessageBoard": {
  4518. "post": {
  4519. "security": [
  4520. {
  4521. "ApiKeyAuth": []
  4522. }
  4523. ],
  4524. "produces": [
  4525. "application/json"
  4526. ],
  4527. "tags": [
  4528. "用户信息"
  4529. ],
  4530. "summary": "添加用户留言板信息",
  4531. "parameters": [
  4532. {
  4533. "type": "integer",
  4534. "description": "用户ID",
  4535. "name": "userID",
  4536. "in": "query",
  4537. "required": true
  4538. },
  4539. {
  4540. "type": "string",
  4541. "description": "留言信息",
  4542. "name": "message",
  4543. "in": "query",
  4544. "required": true
  4545. }
  4546. ],
  4547. "responses": {
  4548. "200": {
  4549. "description": "OK",
  4550. "schema": {
  4551. "$ref": "#/definitions/app.Response"
  4552. }
  4553. },
  4554. "500": {
  4555. "description": "Internal Server Error",
  4556. "schema": {
  4557. "$ref": "#/definitions/app.Response"
  4558. }
  4559. }
  4560. }
  4561. }
  4562. },
  4563. "/User/AddUserFavoriteGoods": {
  4564. "post": {
  4565. "security": [
  4566. {
  4567. "ApiKeyAuth": []
  4568. }
  4569. ],
  4570. "produces": [
  4571. "application/json"
  4572. ],
  4573. "tags": [
  4574. "用户信息"
  4575. ],
  4576. "summary": "添加用户商品收藏信息",
  4577. "parameters": [
  4578. {
  4579. "type": "integer",
  4580. "description": "用户ID",
  4581. "name": "userID",
  4582. "in": "query",
  4583. "required": true
  4584. },
  4585. {
  4586. "type": "integer",
  4587. "description": "商品ID",
  4588. "name": "goodsID",
  4589. "in": "query",
  4590. "required": true
  4591. }
  4592. ],
  4593. "responses": {
  4594. "200": {
  4595. "description": "OK",
  4596. "schema": {
  4597. "$ref": "#/definitions/app.Response"
  4598. }
  4599. },
  4600. "500": {
  4601. "description": "Internal Server Error",
  4602. "schema": {
  4603. "$ref": "#/definitions/app.Response"
  4604. }
  4605. }
  4606. }
  4607. }
  4608. },
  4609. "/User/GetLoginID": {
  4610. "get": {
  4611. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  4612. "produces": [
  4613. "application/json"
  4614. ],
  4615. "tags": [
  4616. "用户信息"
  4617. ],
  4618. "summary": "获取登录ID",
  4619. "parameters": [
  4620. {
  4621. "type": "string",
  4622. "description": "登录代码",
  4623. "name": "username",
  4624. "in": "query",
  4625. "required": true
  4626. }
  4627. ],
  4628. "responses": {
  4629. "200": {
  4630. "description": "OK",
  4631. "schema": {
  4632. "$ref": "#/definitions/app.Response"
  4633. }
  4634. },
  4635. "500": {
  4636. "description": "Internal Server Error",
  4637. "schema": {
  4638. "$ref": "#/definitions/app.Response"
  4639. }
  4640. }
  4641. }
  4642. }
  4643. },
  4644. "/User/GetUserAccount": {
  4645. "get": {
  4646. "security": [
  4647. {
  4648. "ApiKeyAuth": []
  4649. }
  4650. ],
  4651. "produces": [
  4652. "application/json"
  4653. ],
  4654. "tags": [
  4655. "用户信息"
  4656. ],
  4657. "summary": "获取用户账号信息",
  4658. "parameters": [
  4659. {
  4660. "type": "integer",
  4661. "description": "用户ID",
  4662. "name": "userID",
  4663. "in": "query",
  4664. "required": true
  4665. }
  4666. ],
  4667. "responses": {
  4668. "200": {
  4669. "description": "OK",
  4670. "schema": {
  4671. "$ref": "#/definitions/models.Useraccount"
  4672. }
  4673. },
  4674. "500": {
  4675. "description": "Internal Server Error",
  4676. "schema": {
  4677. "$ref": "#/definitions/app.Response"
  4678. }
  4679. }
  4680. }
  4681. }
  4682. },
  4683. "/User/GetUserAuthStatus": {
  4684. "get": {
  4685. "security": [
  4686. {
  4687. "ApiKeyAuth": []
  4688. }
  4689. ],
  4690. "produces": [
  4691. "application/json"
  4692. ],
  4693. "tags": [
  4694. "用户信息"
  4695. ],
  4696. "summary": "获取用户实名认证状态",
  4697. "parameters": [
  4698. {
  4699. "type": "integer",
  4700. "description": "用户ID",
  4701. "name": "userID",
  4702. "in": "query",
  4703. "required": true
  4704. }
  4705. ],
  4706. "responses": {
  4707. "200": {
  4708. "description": "OK",
  4709. "schema": {
  4710. "$ref": "#/definitions/app.Response"
  4711. }
  4712. },
  4713. "500": {
  4714. "description": "Internal Server Error",
  4715. "schema": {
  4716. "$ref": "#/definitions/app.Response"
  4717. }
  4718. }
  4719. }
  4720. }
  4721. },
  4722. "/User/QueryMessageBoard": {
  4723. "get": {
  4724. "security": [
  4725. {
  4726. "ApiKeyAuth": []
  4727. }
  4728. ],
  4729. "produces": [
  4730. "application/json"
  4731. ],
  4732. "tags": [
  4733. "用户信息"
  4734. ],
  4735. "summary": "获取用户留言板信息",
  4736. "parameters": [
  4737. {
  4738. "type": "integer",
  4739. "description": "用户ID",
  4740. "name": "userID",
  4741. "in": "query",
  4742. "required": true
  4743. }
  4744. ],
  4745. "responses": {
  4746. "200": {
  4747. "description": "OK",
  4748. "schema": {
  4749. "$ref": "#/definitions/models.Messageboard"
  4750. }
  4751. },
  4752. "500": {
  4753. "description": "Internal Server Error",
  4754. "schema": {
  4755. "$ref": "#/definitions/app.Response"
  4756. }
  4757. }
  4758. }
  4759. }
  4760. },
  4761. "/User/QueryUserFavoriteGoodses": {
  4762. "get": {
  4763. "security": [
  4764. {
  4765. "ApiKeyAuth": []
  4766. }
  4767. ],
  4768. "produces": [
  4769. "application/json"
  4770. ],
  4771. "tags": [
  4772. "用户信息"
  4773. ],
  4774. "summary": "获取用户商品收藏信息",
  4775. "parameters": [
  4776. {
  4777. "type": "integer",
  4778. "description": "用户ID",
  4779. "name": "userID",
  4780. "in": "query",
  4781. "required": true
  4782. }
  4783. ],
  4784. "responses": {
  4785. "200": {
  4786. "description": "OK",
  4787. "schema": {
  4788. "$ref": "#/definitions/models.Userfavoritegoods"
  4789. }
  4790. },
  4791. "500": {
  4792. "description": "Internal Server Error",
  4793. "schema": {
  4794. "$ref": "#/definitions/app.Response"
  4795. }
  4796. }
  4797. }
  4798. }
  4799. },
  4800. "/User/QueryUserInfo": {
  4801. "get": {
  4802. "security": [
  4803. {
  4804. "ApiKeyAuth": []
  4805. }
  4806. ],
  4807. "produces": [
  4808. "application/json"
  4809. ],
  4810. "tags": [
  4811. "用户信息"
  4812. ],
  4813. "summary": "获取用户信息",
  4814. "parameters": [
  4815. {
  4816. "type": "integer",
  4817. "description": "用户ID",
  4818. "name": "userID",
  4819. "in": "query",
  4820. "required": true
  4821. }
  4822. ],
  4823. "responses": {
  4824. "200": {
  4825. "description": "OK",
  4826. "schema": {
  4827. "$ref": "#/definitions/models.Userinfo"
  4828. }
  4829. },
  4830. "500": {
  4831. "description": "Internal Server Error",
  4832. "schema": {
  4833. "$ref": "#/definitions/app.Response"
  4834. }
  4835. }
  4836. }
  4837. }
  4838. },
  4839. "/User/QueryUserReferNum": {
  4840. "get": {
  4841. "produces": [
  4842. "application/json"
  4843. ],
  4844. "tags": [
  4845. "用户信息"
  4846. ],
  4847. "summary": "获取用户邀请码",
  4848. "parameters": [
  4849. {
  4850. "type": "integer",
  4851. "description": "用户ID",
  4852. "name": "userID",
  4853. "in": "query",
  4854. "required": true
  4855. }
  4856. ],
  4857. "responses": {
  4858. "200": {
  4859. "description": "OK",
  4860. "schema": {
  4861. "$ref": "#/definitions/app.Response"
  4862. }
  4863. },
  4864. "500": {
  4865. "description": "Internal Server Error",
  4866. "schema": {
  4867. "$ref": "#/definitions/app.Response"
  4868. }
  4869. }
  4870. }
  4871. }
  4872. },
  4873. "/User/RemoveUserFavoriteGoods": {
  4874. "post": {
  4875. "security": [
  4876. {
  4877. "ApiKeyAuth": []
  4878. }
  4879. ],
  4880. "produces": [
  4881. "application/json"
  4882. ],
  4883. "tags": [
  4884. "用户信息"
  4885. ],
  4886. "summary": "移除用户商品收藏信息",
  4887. "parameters": [
  4888. {
  4889. "type": "integer",
  4890. "description": "用户ID",
  4891. "name": "userID",
  4892. "in": "query",
  4893. "required": true
  4894. },
  4895. {
  4896. "type": "integer",
  4897. "description": "商品ID",
  4898. "name": "goodsID",
  4899. "in": "query",
  4900. "required": true
  4901. }
  4902. ],
  4903. "responses": {
  4904. "200": {
  4905. "description": "OK",
  4906. "schema": {
  4907. "$ref": "#/definitions/app.Response"
  4908. }
  4909. },
  4910. "500": {
  4911. "description": "Internal Server Error",
  4912. "schema": {
  4913. "$ref": "#/definitions/app.Response"
  4914. }
  4915. }
  4916. }
  4917. }
  4918. },
  4919. "/WR/GetWRCategoryInfo": {
  4920. "get": {
  4921. "produces": [
  4922. "application/json"
  4923. ],
  4924. "tags": [
  4925. "仓单服务"
  4926. ],
  4927. "summary": "获取现货分类信息",
  4928. "responses": {
  4929. "200": {
  4930. "description": "OK",
  4931. "schema": {
  4932. "$ref": "#/definitions/models.WRCategoryTree"
  4933. }
  4934. },
  4935. "500": {
  4936. "description": "Internal Server Error",
  4937. "schema": {
  4938. "$ref": "#/definitions/app.Response"
  4939. }
  4940. }
  4941. }
  4942. }
  4943. },
  4944. "/WRTrade/GetAllDeliveryGoods": {
  4945. "get": {
  4946. "security": [
  4947. {
  4948. "ApiKeyAuth": []
  4949. },
  4950. {
  4951. "ApiKeyAuth": []
  4952. }
  4953. ],
  4954. "produces": [
  4955. "application/json",
  4956. "application/json"
  4957. ],
  4958. "tags": [
  4959. "仓单贸易",
  4960. "仓单贸易"
  4961. ],
  4962. "summary": "获取带仓单分类的种类信息",
  4963. "responses": {
  4964. "200": {
  4965. "description": "OK",
  4966. "schema": {
  4967. "$ref": "#/definitions/app.Response"
  4968. }
  4969. },
  4970. "500": {
  4971. "description": "Internal Server Error",
  4972. "schema": {
  4973. "$ref": "#/definitions/app.Response"
  4974. }
  4975. }
  4976. }
  4977. }
  4978. }
  4979. },
  4980. "definitions": {
  4981. "app.Response": {
  4982. "type": "object",
  4983. "properties": {
  4984. "code": {
  4985. "type": "integer"
  4986. },
  4987. "data": {
  4988. "type": "object"
  4989. },
  4990. "msg": {
  4991. "type": "string"
  4992. },
  4993. "page": {
  4994. "description": "页码",
  4995. "type": "integer"
  4996. },
  4997. "pagesize": {
  4998. "description": "每页条数",
  4999. "type": "integer"
  5000. },
  5001. "total": {
  5002. "description": "总条数",
  5003. "type": "integer"
  5004. }
  5005. }
  5006. },
  5007. "common.QueryNoticeRsp": {
  5008. "type": "object",
  5009. "required": [
  5010. "autoid"
  5011. ],
  5012. "properties": {
  5013. "auditoruserid": {
  5014. "description": "审核人",
  5015. "type": "integer"
  5016. },
  5017. "auditremark": {
  5018. "description": "审核备注",
  5019. "type": "string"
  5020. },
  5021. "audittime": {
  5022. "description": "审核日期",
  5023. "type": "string"
  5024. },
  5025. "autoid": {
  5026. "description": "自增ID",
  5027. "type": "integer"
  5028. },
  5029. "content": {
  5030. "description": "内容",
  5031. "type": "string"
  5032. },
  5033. "createtime": {
  5034. "description": "创建时间",
  5035. "type": "string"
  5036. },
  5037. "creatorid": {
  5038. "description": "建仓人",
  5039. "type": "integer"
  5040. },
  5041. "endtime": {
  5042. "description": "结束时间",
  5043. "type": "string"
  5044. },
  5045. "istop": {
  5046. "description": "是否置顶 - 0:不置顶 1:置顶",
  5047. "type": "integer"
  5048. },
  5049. "msgiconurl": {
  5050. "description": "消息图标Url",
  5051. "type": "string"
  5052. },
  5053. "msgtype": {
  5054. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  5055. "type": "integer"
  5056. },
  5057. "publisher": {
  5058. "description": "消息发布者",
  5059. "type": "string"
  5060. },
  5061. "readed": {
  5062. "description": "是否已读",
  5063. "type": "boolean"
  5064. },
  5065. "scheduletime": {
  5066. "description": "计划发送时间",
  5067. "type": "string"
  5068. },
  5069. "sendtype": {
  5070. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  5071. "type": "integer"
  5072. },
  5073. "sentstatus": {
  5074. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  5075. "type": "integer"
  5076. },
  5077. "title": {
  5078. "description": "标题",
  5079. "type": "string"
  5080. },
  5081. "userid": {
  5082. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  5083. "type": "integer"
  5084. }
  5085. }
  5086. },
  5087. "common.QueryProvincesAndCitiesRsp": {
  5088. "type": "object",
  5089. "properties": {
  5090. "cities": {
  5091. "description": "市",
  5092. "type": "array",
  5093. "items": {
  5094. "$ref": "#/definitions/models.Division"
  5095. }
  5096. },
  5097. "province": {
  5098. "description": "省",
  5099. "type": "object",
  5100. "$ref": "#/definitions/models.Division"
  5101. }
  5102. }
  5103. },
  5104. "common.QueryTableDefineRsp": {
  5105. "type": "object",
  5106. "required": [
  5107. "tablekey"
  5108. ],
  5109. "properties": {
  5110. "columns": {
  5111. "description": "列头信息数组",
  5112. "type": "array",
  5113. "items": {
  5114. "$ref": "#/definitions/models.Tablecolumnconfig"
  5115. }
  5116. },
  5117. "remark": {
  5118. "description": "Remark",
  5119. "type": "string"
  5120. },
  5121. "tabelmenu": {
  5122. "description": "列表菜单",
  5123. "type": "string"
  5124. },
  5125. "tablekey": {
  5126. "description": "列表Key",
  5127. "type": "string"
  5128. },
  5129. "tablename": {
  5130. "description": "列表名称",
  5131. "type": "string"
  5132. },
  5133. "tabletype": {
  5134. "description": "列表类型 - 1:管理端 2:终端",
  5135. "type": "integer"
  5136. }
  5137. }
  5138. },
  5139. "common.QueryTraderMenuRsp": {
  5140. "type": "object",
  5141. "properties": {
  5142. "OperationMenu": {
  5143. "description": "功能菜单",
  5144. "type": "array",
  5145. "items": {
  5146. "$ref": "#/definitions/models.OperationPrimaryMenu"
  5147. }
  5148. },
  5149. "QuoteMenu": {
  5150. "description": "报价牌分类菜单",
  5151. "type": "array",
  5152. "items": {
  5153. "$ref": "#/definitions/models.QuotePrimaryMenu"
  5154. }
  5155. }
  5156. }
  5157. },
  5158. "cptrade.Cptradepositioncancel": {
  5159. "type": "object",
  5160. "required": [
  5161. "cancelid"
  5162. ],
  5163. "properties": {
  5164. "accountid": {
  5165. "description": "申请人账户ID",
  5166. "type": "integer"
  5167. },
  5168. "applystatus": {
  5169. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  5170. "type": "integer"
  5171. },
  5172. "applytime": {
  5173. "description": "申请时间",
  5174. "type": "string"
  5175. },
  5176. "cancelid": {
  5177. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  5178. "type": "integer"
  5179. },
  5180. "cancelqty": {
  5181. "description": "注销数量",
  5182. "type": "integer"
  5183. },
  5184. "createtime": {
  5185. "description": "创建时间",
  5186. "type": "string"
  5187. },
  5188. "creatorid": {
  5189. "description": "创建人ID",
  5190. "type": "integer"
  5191. },
  5192. "creatorname": {
  5193. "description": "创建人",
  5194. "type": "string"
  5195. },
  5196. "goodscode": {
  5197. "description": "订单商品代码",
  5198. "type": "string"
  5199. },
  5200. "goodsid": {
  5201. "description": "商品ID",
  5202. "type": "integer"
  5203. },
  5204. "goodsname": {
  5205. "description": "订单商品名称",
  5206. "type": "string"
  5207. },
  5208. "goodunit": {
  5209. "description": "报价单位",
  5210. "type": "string"
  5211. },
  5212. "handlestatus": {
  5213. "description": "处理状态",
  5214. "type": "integer"
  5215. },
  5216. "marketid": {
  5217. "description": "市场ID",
  5218. "type": "integer"
  5219. },
  5220. "marketname": {
  5221. "description": "市场名称",
  5222. "type": "string"
  5223. },
  5224. "tradedate": {
  5225. "description": "交易日(yyyyMMdd)",
  5226. "type": "string"
  5227. },
  5228. "userid": {
  5229. "description": "申请人ID",
  5230. "type": "integer"
  5231. }
  5232. }
  5233. },
  5234. "cptrade.Cptradepresaleapply": {
  5235. "type": "object",
  5236. "required": [
  5237. "applyid"
  5238. ],
  5239. "properties": {
  5240. "accountid": {
  5241. "description": "申请人账户ID",
  5242. "type": "integer"
  5243. },
  5244. "applyid": {
  5245. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  5246. "type": "integer"
  5247. },
  5248. "applyremark": {
  5249. "description": "申请备注",
  5250. "type": "string"
  5251. },
  5252. "applystatus": {
  5253. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  5254. "type": "integer"
  5255. },
  5256. "applytime": {
  5257. "description": "申请时间",
  5258. "type": "string"
  5259. },
  5260. "attachmenturl": {
  5261. "description": "附件地址",
  5262. "type": "string"
  5263. },
  5264. "endtime": {
  5265. "description": "预售结束时间",
  5266. "type": "string"
  5267. },
  5268. "goodscode": {
  5269. "description": "商品代码",
  5270. "type": "string"
  5271. },
  5272. "goodsid": {
  5273. "description": "商品ID",
  5274. "type": "integer"
  5275. },
  5276. "goodsname": {
  5277. "description": "商品名称",
  5278. "type": "string"
  5279. },
  5280. "goodunit": {
  5281. "description": "报价单位",
  5282. "type": "string"
  5283. },
  5284. "handlestatus": {
  5285. "description": "处理状态",
  5286. "type": "integer"
  5287. },
  5288. "marketid": {
  5289. "description": "预售市场ID",
  5290. "type": "integer"
  5291. },
  5292. "marketname": {
  5293. "description": "预售市场名称",
  5294. "type": "string"
  5295. },
  5296. "presaleqty": {
  5297. "description": "预售数量",
  5298. "type": "integer"
  5299. },
  5300. "relatedgoodscode": {
  5301. "description": "关联交易合约代码",
  5302. "type": "string"
  5303. },
  5304. "relatedgoodsid": {
  5305. "description": "关联交易合约ID",
  5306. "type": "integer"
  5307. },
  5308. "relatedgoodsname": {
  5309. "description": "关联交易合约名称",
  5310. "type": "string"
  5311. },
  5312. "starttime": {
  5313. "description": "预售开始时间",
  5314. "type": "string"
  5315. },
  5316. "tradedate": {
  5317. "description": "交易日(yyyyMMdd)",
  5318. "type": "string"
  5319. },
  5320. "trademode": {
  5321. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  5322. "type": "integer"
  5323. },
  5324. "userid": {
  5325. "description": "申请人ID",
  5326. "type": "integer"
  5327. }
  5328. }
  5329. },
  5330. "cptrade.Cptradeusergoodsdata": {
  5331. "type": "object",
  5332. "required": [
  5333. "accountid",
  5334. "goodsid"
  5335. ],
  5336. "properties": {
  5337. "EnabledQty": {
  5338. "description": "可用量",
  5339. "type": "integer"
  5340. },
  5341. "GoodsCode": {
  5342. "description": "订单商品代码",
  5343. "type": "string"
  5344. },
  5345. "GoodsName": {
  5346. "description": "订单商品名称",
  5347. "type": "string"
  5348. },
  5349. "WRStandardCode": {
  5350. "description": "仓单标准代码",
  5351. "type": "string"
  5352. },
  5353. "WRStandardName": {
  5354. "description": "仓单标准名称",
  5355. "type": "string"
  5356. },
  5357. "accountid": {
  5358. "description": "账户ID",
  5359. "type": "integer"
  5360. },
  5361. "cancelqty": {
  5362. "description": "注销量",
  5363. "type": "integer"
  5364. },
  5365. "curpresaleqty": {
  5366. "description": "当前预售量",
  5367. "type": "integer"
  5368. },
  5369. "deliveryqty": {
  5370. "description": "交割量",
  5371. "type": "integer"
  5372. },
  5373. "freezeamount": {
  5374. "description": "冻结金额",
  5375. "type": "number"
  5376. },
  5377. "goodsid": {
  5378. "description": "商品ID",
  5379. "type": "integer"
  5380. },
  5381. "goodunit": {
  5382. "description": "报价单位",
  5383. "type": "string"
  5384. },
  5385. "hasspotfreeze": {
  5386. "description": "是否有现货冻结 - 0:否 1:有",
  5387. "type": "integer"
  5388. },
  5389. "inqty": {
  5390. "description": "转入量(总数量)",
  5391. "type": "integer"
  5392. },
  5393. "marketid": {
  5394. "description": "市场ID",
  5395. "type": "integer"
  5396. },
  5397. "presaledamount": {
  5398. "description": "已预售总金额",
  5399. "type": "integer"
  5400. },
  5401. "presaledqty": {
  5402. "description": "已预售量",
  5403. "type": "integer"
  5404. },
  5405. "userid": {
  5406. "description": "用户ID",
  5407. "type": "integer"
  5408. },
  5409. "wrstandardid": {
  5410. "description": "仓单标准ID",
  5411. "type": "integer"
  5412. }
  5413. }
  5414. },
  5415. "cptrade.QueryCPTradeMyBidRsp": {
  5416. "type": "object",
  5417. "required": [
  5418. "accountid",
  5419. "goodsid",
  5420. "marketid",
  5421. "orderid",
  5422. "orderqty",
  5423. "ordertime",
  5424. "tradeprice",
  5425. "tradeqty"
  5426. ],
  5427. "properties": {
  5428. "accountid": {
  5429. "description": "账户ID[报价币种]",
  5430. "type": "integer"
  5431. },
  5432. "goodsid": {
  5433. "description": "商品ID",
  5434. "type": "integer"
  5435. },
  5436. "goodunit": {
  5437. "description": "报价单位",
  5438. "type": "string"
  5439. },
  5440. "marketid": {
  5441. "description": "市场ID",
  5442. "type": "integer"
  5443. },
  5444. "orderid": {
  5445. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5446. "type": "integer"
  5447. },
  5448. "orderprice": {
  5449. "description": "委托价格",
  5450. "type": "number"
  5451. },
  5452. "orderqty": {
  5453. "description": "委托数量",
  5454. "type": "integer"
  5455. },
  5456. "ordertime": {
  5457. "description": "委托时间",
  5458. "type": "string"
  5459. },
  5460. "ordertotalprice": {
  5461. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  5462. "type": "number"
  5463. },
  5464. "ordertotalweight": {
  5465. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  5466. "type": "integer"
  5467. },
  5468. "totaltotalprice": {
  5469. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  5470. "type": "number"
  5471. },
  5472. "tradeprice": {
  5473. "description": "成交价格",
  5474. "type": "number"
  5475. },
  5476. "tradeqty": {
  5477. "description": "成交数量",
  5478. "type": "integer"
  5479. }
  5480. }
  5481. },
  5482. "cptrade.QueryCPTradeOrderDetailRsq": {
  5483. "type": "object",
  5484. "required": [
  5485. "accountid",
  5486. "buildtype",
  5487. "buyorsell",
  5488. "goodsid",
  5489. "marketid",
  5490. "memberuserid",
  5491. "operatetype",
  5492. "orderqty",
  5493. "ordertime",
  5494. "pricemode",
  5495. "strorderid",
  5496. "tradedate",
  5497. "validtype"
  5498. ],
  5499. "properties": {
  5500. "accountid": {
  5501. "description": "账户ID[报价币种]",
  5502. "type": "integer"
  5503. },
  5504. "buildtype": {
  5505. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  5506. "type": "integer"
  5507. },
  5508. "buyorsell": {
  5509. "description": "买卖 - 0:买 1:卖",
  5510. "type": "integer"
  5511. },
  5512. "cancelorderid": {
  5513. "description": "撤单单号(撤单时填写)",
  5514. "type": "integer"
  5515. },
  5516. "cancelqty": {
  5517. "description": "撤单数量",
  5518. "type": "integer"
  5519. },
  5520. "clientordertime": {
  5521. "description": "客户端委托时间",
  5522. "type": "string"
  5523. },
  5524. "clientticket": {
  5525. "description": "客户端流水号",
  5526. "type": "string"
  5527. },
  5528. "clienttype": {
  5529. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  5530. "type": "integer"
  5531. },
  5532. "closeexchagechargevalue": {
  5533. "description": "平仓交易所手续费设置值",
  5534. "type": "number"
  5535. },
  5536. "closefeealgorithm": {
  5537. "description": "平仓手续费收取方式 1:比率 2:固定",
  5538. "type": "integer"
  5539. },
  5540. "closefreezecharge": {
  5541. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  5542. "type": "number"
  5543. },
  5544. "closememberchargevalue": {
  5545. "description": "平仓会员手续费设置值",
  5546. "type": "number"
  5547. },
  5548. "closeqty": {
  5549. "description": "平仓数量(先建后平操作 需要记录)",
  5550. "type": "integer"
  5551. },
  5552. "closetradeqty": {
  5553. "description": "平仓成交数量(先建后平操作,需要记录)",
  5554. "type": "integer"
  5555. },
  5556. "closeunfreezecharge": {
  5557. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  5558. "type": "number"
  5559. },
  5560. "delistingtype": {
  5561. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  5562. "type": "integer"
  5563. },
  5564. "freezecharge": {
  5565. "description": "冻结手续费",
  5566. "type": "number"
  5567. },
  5568. "freezemargin": {
  5569. "description": "冻结保证金(冻结交易金额)",
  5570. "type": "number"
  5571. },
  5572. "gcaccountid": {
  5573. "description": "账户ID[合约币种]",
  5574. "type": "integer"
  5575. },
  5576. "goodsid": {
  5577. "description": "商品ID",
  5578. "type": "integer"
  5579. },
  5580. "isconfirmexercise": {
  5581. "description": "是否确认行权- 0:否 1:是",
  5582. "type": "integer"
  5583. },
  5584. "ispreexercise": {
  5585. "description": "是否预申报- 0:否 1:是",
  5586. "type": "integer"
  5587. },
  5588. "listingselecttype": {
  5589. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  5590. "type": "integer"
  5591. },
  5592. "marginalgorithm": {
  5593. "description": "保证金收取方式 1:比率 2:固定",
  5594. "type": "integer"
  5595. },
  5596. "marginvalue": {
  5597. "description": "即市保证金设置值",
  5598. "type": "number"
  5599. },
  5600. "marketid": {
  5601. "description": "市场ID",
  5602. "type": "integer"
  5603. },
  5604. "marketmaxsub": {
  5605. "description": "市价最大偏移范围",
  5606. "type": "number"
  5607. },
  5608. "memberuserid": {
  5609. "description": "所属会员UserID",
  5610. "type": "integer"
  5611. },
  5612. "openexchagechargevalue": {
  5613. "description": "建仓交易所手续费设置值",
  5614. "type": "number"
  5615. },
  5616. "openfeealgorithm": {
  5617. "description": "建仓手续费收取方式 1:比率 2:固定",
  5618. "type": "integer"
  5619. },
  5620. "openfreezecharge": {
  5621. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  5622. "type": "number"
  5623. },
  5624. "openmemberchargevalue": {
  5625. "description": "建仓会员手续费设置值",
  5626. "type": "number"
  5627. },
  5628. "openqty": {
  5629. "description": "开仓数量(先建后平操作,需要记录)",
  5630. "type": "integer"
  5631. },
  5632. "opentradeqty": {
  5633. "description": "开仓成交数量(先建后平操作,需要记录)",
  5634. "type": "integer"
  5635. },
  5636. "openunfreezecharge": {
  5637. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  5638. "type": "number"
  5639. },
  5640. "operatetype": {
  5641. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  5642. "type": "integer"
  5643. },
  5644. "operatorid": {
  5645. "description": "登录账号(LoginID)",
  5646. "type": "integer"
  5647. },
  5648. "optiontype": {
  5649. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  5650. "type": "integer"
  5651. },
  5652. "orderprice": {
  5653. "description": "委托价格",
  5654. "type": "number"
  5655. },
  5656. "orderqty": {
  5657. "description": "委托数量",
  5658. "type": "integer"
  5659. },
  5660. "ordersrc": {
  5661. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  5662. "type": "integer"
  5663. },
  5664. "orderstatus": {
  5665. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  5666. "type": "integer"
  5667. },
  5668. "ordertime": {
  5669. "description": "委托时间",
  5670. "type": "string"
  5671. },
  5672. "preexerciseprice": {
  5673. "description": "预申报价格",
  5674. "type": "number"
  5675. },
  5676. "premium": {
  5677. "description": "权利金",
  5678. "type": "number"
  5679. },
  5680. "preorderid": {
  5681. "description": "关联预埋单号(止盈止损单时填写)",
  5682. "type": "integer"
  5683. },
  5684. "pricemode": {
  5685. "description": "取价方式 - 1:市价 2: 限价",
  5686. "type": "integer"
  5687. },
  5688. "quoteid": {
  5689. "description": "报价单ID",
  5690. "type": "integer"
  5691. },
  5692. "relatedid": {
  5693. "description": "关联单号(交割单)",
  5694. "type": "integer"
  5695. },
  5696. "retcode": {
  5697. "description": "错误代码",
  5698. "type": "integer"
  5699. },
  5700. "sessionid": {
  5701. "description": "会话ID",
  5702. "type": "integer"
  5703. },
  5704. "strorderid": {
  5705. "description": "委托单号",
  5706. "type": "string"
  5707. },
  5708. "tradedate": {
  5709. "description": "交易日(yyyyMMdd)",
  5710. "type": "string"
  5711. },
  5712. "tradeproperty": {
  5713. "description": "交易属性",
  5714. "type": "integer"
  5715. },
  5716. "tradeqty": {
  5717. "description": "成交数量",
  5718. "type": "integer"
  5719. },
  5720. "unfreezecharge": {
  5721. "description": "解冻手续费",
  5722. "type": "number"
  5723. },
  5724. "unfreezemargin": {
  5725. "description": "解冻保证金",
  5726. "type": "number"
  5727. },
  5728. "updatetime": {
  5729. "description": "更新时间",
  5730. "type": "string"
  5731. },
  5732. "uuid": {
  5733. "description": "发起端唯一id",
  5734. "type": "string"
  5735. },
  5736. "validtime": {
  5737. "description": "有效期限",
  5738. "type": "string"
  5739. },
  5740. "validtype": {
  5741. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  5742. "type": "integer"
  5743. },
  5744. "volumetype": {
  5745. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  5746. "type": "integer"
  5747. }
  5748. }
  5749. },
  5750. "cptrade.QueryMyCPTradeGoodsRsp": {
  5751. "type": "object",
  5752. "required": [
  5753. "goodscode",
  5754. "goodsid",
  5755. "goodsname",
  5756. "marketid",
  5757. "relatedgoodscode",
  5758. "relatedgoodsname"
  5759. ],
  5760. "properties": {
  5761. "accountid": {
  5762. "description": "卖方账户ID",
  5763. "type": "integer"
  5764. },
  5765. "agreeunit": {
  5766. "description": "合约单位",
  5767. "type": "number"
  5768. },
  5769. "applyid": {
  5770. "description": "关联申请ID",
  5771. "type": "integer"
  5772. },
  5773. "attachmenturl": {
  5774. "description": "附件地址",
  5775. "type": "string"
  5776. },
  5777. "createtime": {
  5778. "description": "创建时间",
  5779. "type": "string"
  5780. },
  5781. "currencyid": {
  5782. "description": "报价货币ID",
  5783. "type": "integer"
  5784. },
  5785. "decimalplace": {
  5786. "description": "报价小数位",
  5787. "type": "integer"
  5788. },
  5789. "endtime": {
  5790. "description": "预售结束时间",
  5791. "type": "string"
  5792. },
  5793. "floorprice": {
  5794. "description": "底价[大宗式竞拍]",
  5795. "type": "number"
  5796. },
  5797. "goodscode": {
  5798. "description": "商品代码(预售)",
  5799. "type": "string"
  5800. },
  5801. "goodsdetail": {
  5802. "description": "详情[大宗]",
  5803. "type": "string"
  5804. },
  5805. "goodsid": {
  5806. "description": "商品ID(自增ID SEQ_GOODS)",
  5807. "type": "integer"
  5808. },
  5809. "goodsname": {
  5810. "description": "商品名称(预售)",
  5811. "type": "string"
  5812. },
  5813. "goodunit": {
  5814. "description": "报价单位",
  5815. "type": "string"
  5816. },
  5817. "goodunitid": {
  5818. "description": "报价单位ID",
  5819. "type": "integer"
  5820. },
  5821. "marketid": {
  5822. "description": "所属市场ID",
  5823. "type": "integer"
  5824. },
  5825. "marketname": {
  5826. "description": "预售市场名称",
  5827. "type": "string"
  5828. },
  5829. "presaledamount": {
  5830. "description": "已预售总金额(预售结束时更新)",
  5831. "type": "number"
  5832. },
  5833. "presaledqty": {
  5834. "description": "已预售量(预售结束时更新)",
  5835. "type": "integer"
  5836. },
  5837. "presalemode": {
  5838. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5839. "type": "integer"
  5840. },
  5841. "presaleqty": {
  5842. "description": "预售数量",
  5843. "type": "integer"
  5844. },
  5845. "refprice": {
  5846. "description": "参考价格[一口价]",
  5847. "type": "number"
  5848. },
  5849. "relatedgoodscode": {
  5850. "description": "商品代码(订单)",
  5851. "type": "string"
  5852. },
  5853. "relatedgoodsid": {
  5854. "description": "关联交易合约ID",
  5855. "type": "integer"
  5856. },
  5857. "relatedgoodsname": {
  5858. "description": "商品名称(订单)",
  5859. "type": "string"
  5860. },
  5861. "relatedmarketid": {
  5862. "description": "关联交易合约市场ID",
  5863. "type": "integer"
  5864. },
  5865. "sellstatus": {
  5866. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5867. "type": "integer"
  5868. },
  5869. "startprice": {
  5870. "description": "起拍价[大宗式竞拍]",
  5871. "type": "number"
  5872. },
  5873. "starttime": {
  5874. "description": "预售开始时间",
  5875. "type": "string"
  5876. },
  5877. "tradedate": {
  5878. "description": "交易日(yyyyMMdd)",
  5879. "type": "string"
  5880. },
  5881. "tradeprice": {
  5882. "description": "成交价[大宗]",
  5883. "type": "number"
  5884. },
  5885. "userid": {
  5886. "description": "卖方用户ID",
  5887. "type": "integer"
  5888. }
  5889. }
  5890. },
  5891. "cptrade.QueryPresaleGoodsExRsp": {
  5892. "type": "object",
  5893. "required": [
  5894. "goodsid"
  5895. ],
  5896. "properties": {
  5897. "attachmenturl": {
  5898. "description": "附件地址",
  5899. "type": "string"
  5900. },
  5901. "createtime": {
  5902. "description": "创建时间",
  5903. "type": "string"
  5904. },
  5905. "endtime": {
  5906. "description": "预售结束时间",
  5907. "type": "string"
  5908. },
  5909. "floorprice": {
  5910. "description": "底价[大宗式竞拍]",
  5911. "type": "number"
  5912. },
  5913. "goodsdetail": {
  5914. "description": "详情[大宗]",
  5915. "type": "string"
  5916. },
  5917. "goodsid": {
  5918. "description": "商品ID(预售)",
  5919. "type": "integer"
  5920. },
  5921. "goodunit": {
  5922. "description": "报价单位",
  5923. "type": "string"
  5924. },
  5925. "marketid": {
  5926. "description": "预售市场ID - 根据预售模式选择市场",
  5927. "type": "integer"
  5928. },
  5929. "presaledamount": {
  5930. "description": "已预售总金额(预售结束时更新)",
  5931. "type": "number"
  5932. },
  5933. "presaledqty": {
  5934. "description": "已预售量(预售结束时更新)",
  5935. "type": "integer"
  5936. },
  5937. "presalemode": {
  5938. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5939. "type": "integer"
  5940. },
  5941. "presaleqty": {
  5942. "description": "预售数量",
  5943. "type": "integer"
  5944. },
  5945. "refprice": {
  5946. "description": "参考价格[一口价]",
  5947. "type": "number"
  5948. },
  5949. "relatedgoodsid": {
  5950. "description": "关联交易合约ID",
  5951. "type": "integer"
  5952. },
  5953. "relatedmarketid": {
  5954. "description": "关联交易合约市场ID",
  5955. "type": "integer"
  5956. },
  5957. "sellstatus": {
  5958. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5959. "type": "integer"
  5960. },
  5961. "startprice": {
  5962. "description": "起拍价[大宗式竞拍]",
  5963. "type": "number"
  5964. },
  5965. "starttime": {
  5966. "description": "预售开始时间",
  5967. "type": "string"
  5968. },
  5969. "tradedate": {
  5970. "description": "交易日(yyyyMMdd)",
  5971. "type": "string"
  5972. },
  5973. "tradeprice": {
  5974. "description": "成交价[大宗]",
  5975. "type": "number"
  5976. }
  5977. }
  5978. },
  5979. "delivery.QueryDeliveryRelationRsp": {
  5980. "type": "object",
  5981. "required": [
  5982. "begindate",
  5983. "enddate",
  5984. "goodsid",
  5985. "mindeliveryqty",
  5986. "xdeliveryratio"
  5987. ],
  5988. "properties": {
  5989. "begindate": {
  5990. "description": "起始日期(yyyyMMdd)",
  5991. "type": "string"
  5992. },
  5993. "buytemplateid": {
  5994. "description": "买履约计划模板ID",
  5995. "type": "integer"
  5996. },
  5997. "deliverygoodscode": {
  5998. "description": "品种代码",
  5999. "type": "string"
  6000. },
  6001. "deliverygoodsid": {
  6002. "description": "交割商品",
  6003. "type": "integer"
  6004. },
  6005. "deliverygoodsname": {
  6006. "description": "品种名称",
  6007. "type": "string"
  6008. },
  6009. "deliverymode": {
  6010. "description": "交割方式 - 1:点选式 2:申报式",
  6011. "type": "integer"
  6012. },
  6013. "deliverypricerule": {
  6014. "description": "交割价规则- 1:行情价 2:建仓价",
  6015. "type": "integer"
  6016. },
  6017. "deliverytype": {
  6018. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  6019. "type": "integer"
  6020. },
  6021. "enddate": {
  6022. "description": "结束日期(yyyyMMdd)",
  6023. "type": "string"
  6024. },
  6025. "goodscode": {
  6026. "description": "商品代码",
  6027. "type": "string"
  6028. },
  6029. "goodsid": {
  6030. "description": "交易合约ID",
  6031. "type": "integer"
  6032. },
  6033. "goodsname": {
  6034. "description": "商品名称",
  6035. "type": "string"
  6036. },
  6037. "marketid": {
  6038. "description": "市场ID",
  6039. "type": "integer"
  6040. },
  6041. "mindeliveryqty": {
  6042. "description": "最小交割系数(K)",
  6043. "type": "integer"
  6044. },
  6045. "p2deliveryprice": {
  6046. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  6047. "type": "number"
  6048. },
  6049. "p2deliveryratio": {
  6050. "description": "P2合约系数(p)",
  6051. "type": "integer"
  6052. },
  6053. "p2goodsid": {
  6054. "description": "P2合约ID",
  6055. "type": "integer"
  6056. },
  6057. "p2pricemode": {
  6058. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  6059. "type": "integer"
  6060. },
  6061. "pdeliveryprice": {
  6062. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  6063. "type": "number"
  6064. },
  6065. "pdeliveryratio": {
  6066. "description": "P合约系数(n)",
  6067. "type": "integer"
  6068. },
  6069. "pgoodsid": {
  6070. "description": "P合约ID",
  6071. "type": "integer"
  6072. },
  6073. "ppricemode": {
  6074. "description": "P合约价格方式 - 1:商品价 2:固定值",
  6075. "type": "integer"
  6076. },
  6077. "rratio": {
  6078. "description": "兑换系数(R)",
  6079. "type": "integer"
  6080. },
  6081. "rratio1": {
  6082. "description": "兑换系数(交易合约)(R1)",
  6083. "type": "integer"
  6084. },
  6085. "rratio2": {
  6086. "description": "兑换系数(仓单标准)(R2)",
  6087. "type": "integer"
  6088. },
  6089. "selltemplateid": {
  6090. "description": "卖履约计划模板ID",
  6091. "type": "integer"
  6092. },
  6093. "wrstandardid": {
  6094. "description": "仓单标准ID",
  6095. "type": "integer"
  6096. },
  6097. "xdeliveryratio": {
  6098. "description": "交易合约系数(m)",
  6099. "type": "integer"
  6100. }
  6101. }
  6102. },
  6103. "ermcp.ExposureDetailRsp": {
  6104. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  6105. },
  6106. "ermcp.ExposureSpotDetailRsp": {
  6107. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  6108. },
  6109. "ermcp.ExposureSpotRsp": {
  6110. "$ref": "#/definitions/models.AreaSpotModel"
  6111. },
  6112. "ermcp.HisExposureRsp": {
  6113. "$ref": "#/definitions/models.ErmcpHisExposure"
  6114. },
  6115. "ermcp.QryBusinessDjRsp": {
  6116. "type": "object",
  6117. "properties": {
  6118. "amount": {
  6119. "description": "点价金额=(点价价格+升贴水)*点价数量",
  6120. "type": "number"
  6121. },
  6122. "applyid": {
  6123. "description": "申请人",
  6124. "type": "string"
  6125. },
  6126. "applyname": {
  6127. "description": "申请人名称",
  6128. "type": "string"
  6129. },
  6130. "applystatus": {
  6131. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6132. "type": "integer"
  6133. },
  6134. "applytime": {
  6135. "description": "申请时间",
  6136. "type": "string"
  6137. },
  6138. "auditname": {
  6139. "description": "审核人名称",
  6140. "type": "string"
  6141. },
  6142. "audittime": {
  6143. "description": "审核时间",
  6144. "type": "string"
  6145. },
  6146. "buyusername": {
  6147. "description": "采购方名称",
  6148. "type": "string"
  6149. },
  6150. "contractno": {
  6151. "description": "合同编号",
  6152. "type": "string"
  6153. },
  6154. "contractstatus": {
  6155. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6156. "type": "integer"
  6157. },
  6158. "contracttype": {
  6159. "description": "现货合同类型 - 1:采购 -1:销售",
  6160. "type": "integer"
  6161. },
  6162. "enumdicname": {
  6163. "description": "单位名称",
  6164. "type": "string"
  6165. },
  6166. "goodscode": {
  6167. "description": "点价合约",
  6168. "type": "string"
  6169. },
  6170. "goodsname": {
  6171. "description": "商品名称",
  6172. "type": "string"
  6173. },
  6174. "operateapplyid": {
  6175. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6176. "type": "string"
  6177. },
  6178. "operateapplytype": {
  6179. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6180. "type": "integer"
  6181. },
  6182. "pricedPrice": {
  6183. "description": "点价价格(非必填)",
  6184. "type": "number"
  6185. },
  6186. "pricedQty": {
  6187. "description": "点价数量(非必填)",
  6188. "type": "number"
  6189. },
  6190. "pricemove": {
  6191. "description": "升贴水",
  6192. "type": "number"
  6193. },
  6194. "pricetype": {
  6195. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6196. "type": "integer"
  6197. },
  6198. "relatedid": {
  6199. "description": "现货合同ID",
  6200. "type": "string"
  6201. },
  6202. "sellusername": {
  6203. "description": "销售方名字",
  6204. "type": "string"
  6205. },
  6206. "userid": {
  6207. "description": "用户ID",
  6208. "type": "integer"
  6209. }
  6210. }
  6211. },
  6212. "ermcp.QryBussinessFpRsp": {
  6213. "type": "object",
  6214. "properties": {
  6215. "applyid": {
  6216. "description": "申请人",
  6217. "type": "string"
  6218. },
  6219. "applyname": {
  6220. "description": "申请人名称",
  6221. "type": "string"
  6222. },
  6223. "applystatus": {
  6224. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6225. "type": "integer"
  6226. },
  6227. "applytime": {
  6228. "description": "申请时间",
  6229. "type": "string"
  6230. },
  6231. "auditname": {
  6232. "description": "审核人名称",
  6233. "type": "string"
  6234. },
  6235. "audittime": {
  6236. "description": "审核时间",
  6237. "type": "string"
  6238. },
  6239. "buyusername": {
  6240. "description": "采购方名称",
  6241. "type": "string"
  6242. },
  6243. "contractno": {
  6244. "description": "合同编号",
  6245. "type": "string"
  6246. },
  6247. "contractstatus": {
  6248. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6249. "type": "integer"
  6250. },
  6251. "contracttype": {
  6252. "description": "现货合同类型 - 1:采购 -1:销售",
  6253. "type": "integer"
  6254. },
  6255. "enumdicname": {
  6256. "description": "单位名称",
  6257. "type": "string"
  6258. },
  6259. "goodscode": {
  6260. "description": "点价合约",
  6261. "type": "string"
  6262. },
  6263. "goodsname": {
  6264. "description": "商品名称",
  6265. "type": "string"
  6266. },
  6267. "invoiceAmount": {
  6268. "description": "已开收票金额(销售为开票,采购为收票)",
  6269. "type": "number"
  6270. },
  6271. "operateapplyid": {
  6272. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6273. "type": "string"
  6274. },
  6275. "operateapplytype": {
  6276. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6277. "type": "integer"
  6278. },
  6279. "pricemove": {
  6280. "description": "升贴水",
  6281. "type": "number"
  6282. },
  6283. "pricetype": {
  6284. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6285. "type": "integer"
  6286. },
  6287. "relatedid": {
  6288. "description": "现货合同ID",
  6289. "type": "string"
  6290. },
  6291. "sellusername": {
  6292. "description": "销售方名字",
  6293. "type": "string"
  6294. },
  6295. "userid": {
  6296. "description": "用户ID",
  6297. "type": "integer"
  6298. }
  6299. }
  6300. },
  6301. "ermcp.QryBussinessJsRsp": {
  6302. "type": "object",
  6303. "properties": {
  6304. "addmargin": {
  6305. "description": "追加保证金(非必填)",
  6306. "type": "number"
  6307. },
  6308. "applyid": {
  6309. "description": "申请人",
  6310. "type": "string"
  6311. },
  6312. "applyname": {
  6313. "description": "申请人名称",
  6314. "type": "string"
  6315. },
  6316. "applystatus": {
  6317. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6318. "type": "integer"
  6319. },
  6320. "applytime": {
  6321. "description": "申请时间",
  6322. "type": "string"
  6323. },
  6324. "auditname": {
  6325. "description": "审核人名称",
  6326. "type": "string"
  6327. },
  6328. "audittime": {
  6329. "description": "审核时间",
  6330. "type": "string"
  6331. },
  6332. "buyusername": {
  6333. "description": "采购方名称",
  6334. "type": "string"
  6335. },
  6336. "contractno": {
  6337. "description": "合同编号",
  6338. "type": "string"
  6339. },
  6340. "contractstatus": {
  6341. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6342. "type": "integer"
  6343. },
  6344. "contracttype": {
  6345. "description": "现货合同类型 - 1:采购 -1:销售",
  6346. "type": "integer"
  6347. },
  6348. "decmargin": {
  6349. "description": "减少保证金(非必填)",
  6350. "type": "number"
  6351. },
  6352. "enumdicname": {
  6353. "description": "单位名称",
  6354. "type": "string"
  6355. },
  6356. "goodscode": {
  6357. "description": "点价合约",
  6358. "type": "string"
  6359. },
  6360. "goodsname": {
  6361. "description": "商品名称",
  6362. "type": "string"
  6363. },
  6364. "operateapplyid": {
  6365. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6366. "type": "string"
  6367. },
  6368. "operateapplytype": {
  6369. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6370. "type": "integer"
  6371. },
  6372. "pricemove": {
  6373. "description": "升贴水",
  6374. "type": "number"
  6375. },
  6376. "pricetype": {
  6377. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6378. "type": "integer"
  6379. },
  6380. "reckonadjustamount": {
  6381. "description": "结算调整金额(非必填)",
  6382. "type": "number"
  6383. },
  6384. "reckonosamount": {
  6385. "description": "结算溢短金额(非必填)",
  6386. "type": "number"
  6387. },
  6388. "reckonotheramount": {
  6389. "description": "结算其他费用(非必填)",
  6390. "type": "number"
  6391. },
  6392. "reckonrealqty": {
  6393. "description": "结算实际数量(非必填)",
  6394. "type": "number"
  6395. },
  6396. "relatedid": {
  6397. "description": "现货合同ID",
  6398. "type": "string"
  6399. },
  6400. "sellusername": {
  6401. "description": "销售方名字",
  6402. "type": "string"
  6403. },
  6404. "userid": {
  6405. "description": "用户ID",
  6406. "type": "integer"
  6407. }
  6408. }
  6409. },
  6410. "ermcp.QryBussinessKxRsp": {
  6411. "type": "object",
  6412. "properties": {
  6413. "applyid": {
  6414. "description": "申请人",
  6415. "type": "string"
  6416. },
  6417. "applyname": {
  6418. "description": "申请人名称",
  6419. "type": "string"
  6420. },
  6421. "applystatus": {
  6422. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6423. "type": "integer"
  6424. },
  6425. "applytime": {
  6426. "description": "申请时间",
  6427. "type": "string"
  6428. },
  6429. "auditname": {
  6430. "description": "审核人名称",
  6431. "type": "string"
  6432. },
  6433. "audittime": {
  6434. "description": "审核时间",
  6435. "type": "string"
  6436. },
  6437. "buyusername": {
  6438. "description": "采购方名称",
  6439. "type": "string"
  6440. },
  6441. "contractno": {
  6442. "description": "合同编号",
  6443. "type": "string"
  6444. },
  6445. "contractstatus": {
  6446. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6447. "type": "integer"
  6448. },
  6449. "contracttype": {
  6450. "description": "现货合同类型 - 1:采购 -1:销售",
  6451. "type": "integer"
  6452. },
  6453. "deductamount": {
  6454. "description": "退款(非必填)",
  6455. "type": "number"
  6456. },
  6457. "enumdicname": {
  6458. "description": "单位名称",
  6459. "type": "string"
  6460. },
  6461. "goodscode": {
  6462. "description": "点价合约",
  6463. "type": "string"
  6464. },
  6465. "goodsname": {
  6466. "description": "商品名称",
  6467. "type": "string"
  6468. },
  6469. "kxtype": {
  6470. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  6471. "type": "integer"
  6472. },
  6473. "operateapplyid": {
  6474. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6475. "type": "string"
  6476. },
  6477. "operateapplytype": {
  6478. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6479. "type": "integer"
  6480. },
  6481. "payamount": {
  6482. "description": "收付款(非必填)",
  6483. "type": "number"
  6484. },
  6485. "pricemove": {
  6486. "description": "升贴水",
  6487. "type": "number"
  6488. },
  6489. "pricetype": {
  6490. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6491. "type": "integer"
  6492. },
  6493. "relatedid": {
  6494. "description": "现货合同ID",
  6495. "type": "string"
  6496. },
  6497. "sellusername": {
  6498. "description": "销售方名字",
  6499. "type": "string"
  6500. },
  6501. "userid": {
  6502. "description": "用户ID",
  6503. "type": "integer"
  6504. }
  6505. }
  6506. },
  6507. "ermcp.QryErmcpRsp": {
  6508. "$ref": "#/definitions/models.ErmcpModel"
  6509. },
  6510. "ermcp.QryGGCovertCfgRsp": {
  6511. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  6512. },
  6513. "ermcp.QryHedgePlanRsp": {
  6514. "$ref": "#/definitions/models.ErmcpHedgePlan"
  6515. },
  6516. "ermcp.QryMiddleGoodsDetailRsp": {
  6517. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  6518. },
  6519. "ermcp.QryMiddleGoodsRsp": {
  6520. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  6521. },
  6522. "ermcp.QryOPLogRsp": {
  6523. "$ref": "#/definitions/models.ErmcpOPLogModel"
  6524. },
  6525. "ermcp.QrySpotContractRsp": {
  6526. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  6527. },
  6528. "ermcp.QryUserInfoRsp": {
  6529. "$ref": "#/definitions/models.ErmcpUserModel"
  6530. },
  6531. "ermcp.QryWrStandardDetailRsp": {
  6532. "$ref": "#/definitions/models.ErmcpWrstandDetail"
  6533. },
  6534. "ermcp.QryWrStandardRsp": {
  6535. "$ref": "#/definitions/models.ErmcpWrstandard"
  6536. },
  6537. "ermcp.RealtimeExposureRsp": {
  6538. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  6539. },
  6540. "erms2.QueryArbitrageStrategyRsp": {
  6541. "type": "object",
  6542. "required": [
  6543. "asapplyid"
  6544. ],
  6545. "properties": {
  6546. "applybasis": {
  6547. "description": "申请基差",
  6548. "type": "number"
  6549. },
  6550. "asapplyid": {
  6551. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  6552. "type": "string"
  6553. },
  6554. "asname": {
  6555. "description": "策略名称",
  6556. "type": "string"
  6557. },
  6558. "asno": {
  6559. "description": "策略编号",
  6560. "type": "string"
  6561. },
  6562. "basischangepl": {
  6563. "description": "基差变动损益[结算更新]",
  6564. "type": "number"
  6565. },
  6566. "biztype": {
  6567. "description": "业务类型 - 1:正向套利 -1:反向套利",
  6568. "type": "integer"
  6569. },
  6570. "closetradedate": {
  6571. "description": "完结交易日(yyyyMMdd)",
  6572. "type": "string"
  6573. },
  6574. "curbasis": {
  6575. "description": "当前基差[结算更新]",
  6576. "type": "number"
  6577. },
  6578. "deliverygoodsid": {
  6579. "description": "现货品种ID",
  6580. "type": "integer"
  6581. },
  6582. "futureavgprice": {
  6583. "description": "期货建仓均价",
  6584. "type": "number"
  6585. },
  6586. "futurecloseamount": {
  6587. "description": "期货平仓金额",
  6588. "type": "number"
  6589. },
  6590. "futurecloseqty": {
  6591. "description": "期货平仓数量",
  6592. "type": "number"
  6593. },
  6594. "futureopenamount": {
  6595. "description": "期货开仓金额",
  6596. "type": "number"
  6597. },
  6598. "futureopenqty": {
  6599. "description": "期货开仓数量",
  6600. "type": "number"
  6601. },
  6602. "futurepl": {
  6603. "description": "期货总盈亏[结算更新]",
  6604. "type": "number"
  6605. },
  6606. "futureqty": {
  6607. "description": "期货持仓数量",
  6608. "type": "number"
  6609. },
  6610. "futurequote": {
  6611. "description": "期货额度",
  6612. "type": "number"
  6613. },
  6614. "goodsgroupid": {
  6615. "description": "期货品种ID",
  6616. "type": "integer"
  6617. },
  6618. "marketid": {
  6619. "description": "市场ID",
  6620. "type": "integer"
  6621. },
  6622. "netexposure": {
  6623. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  6624. "type": "number"
  6625. },
  6626. "netexposurepl": {
  6627. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  6628. "type": "number"
  6629. },
  6630. "netexposurerate": {
  6631. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  6632. "type": "number"
  6633. },
  6634. "openbasis": {
  6635. "description": "建仓基差",
  6636. "type": "number"
  6637. },
  6638. "pricedspotqty": {
  6639. "description": "已定价现货数量",
  6640. "type": "number"
  6641. },
  6642. "pricedspotqtynotax": {
  6643. "description": "已定价现货不含税数量",
  6644. "type": "number"
  6645. },
  6646. "remark": {
  6647. "description": "备注",
  6648. "type": "string"
  6649. },
  6650. "spotavgprice": {
  6651. "description": "现货均价",
  6652. "type": "number"
  6653. },
  6654. "spotbuyamount": {
  6655. "description": "现货采购金额",
  6656. "type": "number"
  6657. },
  6658. "spotbuyqty": {
  6659. "description": "现货采购数量",
  6660. "type": "number"
  6661. },
  6662. "spotpl": {
  6663. "description": "现货总盈亏[结算更新]",
  6664. "type": "number"
  6665. },
  6666. "spotquota": {
  6667. "description": "现货额度",
  6668. "type": "number"
  6669. },
  6670. "spotsellamount": {
  6671. "description": "现货销售金额",
  6672. "type": "number"
  6673. },
  6674. "spotsellqty": {
  6675. "description": "现货销售数量",
  6676. "type": "number"
  6677. },
  6678. "spotusedquota": {
  6679. "description": "现货占用资金",
  6680. "type": "number"
  6681. },
  6682. "strategystatus": {
  6683. "description": "策略状态 - 0:未结束 1:已结束",
  6684. "type": "integer"
  6685. },
  6686. "totalpl": {
  6687. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  6688. "type": "number"
  6689. },
  6690. "tradedate": {
  6691. "description": "交易日(yyyyMMdd)",
  6692. "type": "string"
  6693. },
  6694. "updatetime": {
  6695. "description": "更新时间",
  6696. "type": "string"
  6697. },
  6698. "usedquota": {
  6699. "description": "已占用资金",
  6700. "type": "number"
  6701. },
  6702. "userid": {
  6703. "description": "所属机构",
  6704. "type": "integer"
  6705. }
  6706. }
  6707. },
  6708. "erms2.QueryInnerTradeDetailRsp": {
  6709. "type": "object",
  6710. "required": [
  6711. "asapplyid",
  6712. "buyorsell",
  6713. "goodscode",
  6714. "goodsgroupid",
  6715. "goodsgroupname",
  6716. "goodsname",
  6717. "tradeid"
  6718. ],
  6719. "properties": {
  6720. "accountid": {
  6721. "description": "账号ID",
  6722. "type": "integer"
  6723. },
  6724. "agreeunit": {
  6725. "description": "合约单位",
  6726. "type": "number"
  6727. },
  6728. "asapplyid": {
  6729. "description": "策略申请ID",
  6730. "type": "integer"
  6731. },
  6732. "asname": {
  6733. "description": "策略名称",
  6734. "type": "string"
  6735. },
  6736. "asno": {
  6737. "description": "策略编号",
  6738. "type": "string"
  6739. },
  6740. "buyorsell": {
  6741. "description": "方向 - 0:买 1:卖",
  6742. "type": "integer"
  6743. },
  6744. "channelbuildtype": {
  6745. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  6746. "type": "integer"
  6747. },
  6748. "closetype": {
  6749. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  6750. "type": "integer"
  6751. },
  6752. "decimalplace": {
  6753. "description": "报价小数位",
  6754. "type": "integer"
  6755. },
  6756. "detailtype": {
  6757. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  6758. "type": "integer"
  6759. },
  6760. "exexchangecode": {
  6761. "description": "外部交易所代码",
  6762. "type": "string"
  6763. },
  6764. "exexchangename": {
  6765. "description": "外部交易所名称",
  6766. "type": "string"
  6767. },
  6768. "goodscode": {
  6769. "description": "商品代码(合约)",
  6770. "type": "string"
  6771. },
  6772. "goodsgroupid": {
  6773. "description": "商品组ID(品种ID)",
  6774. "type": "integer"
  6775. },
  6776. "goodsgroupname": {
  6777. "description": "商品组名称(品种)",
  6778. "type": "string"
  6779. },
  6780. "goodsid": {
  6781. "description": "商品ID",
  6782. "type": "integer"
  6783. },
  6784. "goodsname": {
  6785. "description": "商品名称(合约)",
  6786. "type": "string"
  6787. },
  6788. "goodunit": {
  6789. "description": "报价单位",
  6790. "type": "string"
  6791. },
  6792. "marketid": {
  6793. "description": "市场ID",
  6794. "type": "integer"
  6795. },
  6796. "orderid": {
  6797. "description": "委托单号",
  6798. "type": "string"
  6799. },
  6800. "outgoodscode": {
  6801. "description": "商品代码(外部)",
  6802. "type": "string"
  6803. },
  6804. "relatedouttradeid": {
  6805. "description": "关联外部成交单ID",
  6806. "type": "string"
  6807. },
  6808. "remark": {
  6809. "description": "备注",
  6810. "type": "string"
  6811. },
  6812. "spotcontractid": {
  6813. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  6814. "type": "integer"
  6815. },
  6816. "spotcontractno": {
  6817. "description": "现货合同编号",
  6818. "type": "string"
  6819. },
  6820. "tradeid": {
  6821. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6822. "type": "string"
  6823. },
  6824. "tradeprice": {
  6825. "description": "成交价格",
  6826. "type": "number"
  6827. },
  6828. "tradeqty": {
  6829. "description": "成交数量",
  6830. "type": "integer"
  6831. },
  6832. "tradetime": {
  6833. "description": "成交时间",
  6834. "type": "string"
  6835. },
  6836. "updatetime": {
  6837. "description": "更新时间",
  6838. "type": "string"
  6839. }
  6840. }
  6841. },
  6842. "erms2.QuerySpotContractRsp": {
  6843. "type": "object",
  6844. "required": [
  6845. "spotcontractid"
  6846. ],
  6847. "properties": {
  6848. "accountid": {
  6849. "description": "资金账户ID",
  6850. "type": "integer"
  6851. },
  6852. "areauserid": {
  6853. "description": "所属机构",
  6854. "type": "integer"
  6855. },
  6856. "closedate": {
  6857. "description": "终止日期",
  6858. "type": "string"
  6859. },
  6860. "closeremark": {
  6861. "description": "结束备注",
  6862. "type": "string"
  6863. },
  6864. "closetradedate": {
  6865. "description": "完结交易日(yyyyMMdd)",
  6866. "type": "string"
  6867. },
  6868. "closetype": {
  6869. "description": "终止类型 - 1:违约 2:提前终止",
  6870. "type": "integer"
  6871. },
  6872. "contractamount": {
  6873. "description": "合同金额",
  6874. "type": "number"
  6875. },
  6876. "contractattachment": {
  6877. "description": "合同附件",
  6878. "type": "string"
  6879. },
  6880. "contractno": {
  6881. "description": "现货合同编号",
  6882. "type": "string"
  6883. },
  6884. "contractqty": {
  6885. "description": "合同数量(数值) (用于计算)",
  6886. "type": "number"
  6887. },
  6888. "contractqtychar": {
  6889. "description": "合同数量\\已订价数量 (用于显示)",
  6890. "type": "string"
  6891. },
  6892. "contractstatus": {
  6893. "description": "合同状态 - 0:未结束 1:已结束",
  6894. "type": "integer"
  6895. },
  6896. "contracttype": {
  6897. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  6898. "type": "integer"
  6899. },
  6900. "customeraccountid": {
  6901. "description": "客户资金账户ID",
  6902. "type": "integer"
  6903. },
  6904. "customeruserid": {
  6905. "description": "客户ID",
  6906. "type": "integer"
  6907. },
  6908. "deliverygoodsdesc": {
  6909. "description": "品种说明",
  6910. "type": "string"
  6911. },
  6912. "deliverygoodsid": {
  6913. "description": "现货品种ID",
  6914. "type": "integer"
  6915. },
  6916. "handlestatus": {
  6917. "description": "处理状态",
  6918. "type": "integer"
  6919. },
  6920. "invoiceatt": {
  6921. "description": "发票附件",
  6922. "type": "string"
  6923. },
  6924. "invoicedatetime": {
  6925. "description": "开收票更新时间",
  6926. "type": "string"
  6927. },
  6928. "invoiceopentime": {
  6929. "description": "开票时间",
  6930. "type": "string"
  6931. },
  6932. "invoiceremark": {
  6933. "description": "发票备注",
  6934. "type": "string"
  6935. },
  6936. "invoicestatus": {
  6937. "description": "开收票状态 - 0:未开票 1:已开票",
  6938. "type": "integer"
  6939. },
  6940. "lastdate": {
  6941. "description": "交货时间",
  6942. "type": "string"
  6943. },
  6944. "marketid": {
  6945. "description": "市场ID",
  6946. "type": "integer"
  6947. },
  6948. "paydatetime": {
  6949. "description": "收付款更新时间",
  6950. "type": "string"
  6951. },
  6952. "payremark": {
  6953. "description": "收付款备注",
  6954. "type": "string"
  6955. },
  6956. "paystatus": {
  6957. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  6958. "type": "integer"
  6959. },
  6960. "positionqty": {
  6961. "description": "头寸数量 - 合同数量去小数部分",
  6962. "type": "integer"
  6963. },
  6964. "producttype": {
  6965. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  6966. "type": "integer"
  6967. },
  6968. "relatedqty": {
  6969. "description": "已关联数量",
  6970. "type": "number"
  6971. },
  6972. "relatedstatus": {
  6973. "description": "关联完结状态 - 0:未结束 1:已结束",
  6974. "type": "integer"
  6975. },
  6976. "remark": {
  6977. "description": "备注",
  6978. "type": "string"
  6979. },
  6980. "signdate": {
  6981. "description": "签订日期",
  6982. "type": "string"
  6983. },
  6984. "spotcontractid": {
  6985. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  6986. "type": "string"
  6987. },
  6988. "spotdatetime": {
  6989. "description": "收发货更新时间",
  6990. "type": "string"
  6991. },
  6992. "spotprice": {
  6993. "description": "价格",
  6994. "type": "number"
  6995. },
  6996. "spotremark": {
  6997. "description": "收发货备注",
  6998. "type": "string"
  6999. },
  7000. "spotstatus": {
  7001. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  7002. "type": "integer"
  7003. },
  7004. "tradedate": {
  7005. "description": "交易日(yyyyMMdd)",
  7006. "type": "string"
  7007. },
  7008. "userid": {
  7009. "description": "业务员用户ID",
  7010. "type": "integer"
  7011. },
  7012. "warehouseid": {
  7013. "description": "仓库ID",
  7014. "type": "integer"
  7015. },
  7016. "wrfactortypeid": {
  7017. "description": "仓单要素类型ID",
  7018. "type": "integer"
  7019. },
  7020. "wrstandardid": {
  7021. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  7022. "type": "integer"
  7023. }
  7024. }
  7025. },
  7026. "erms3.AddErms2ASApplyReq": {
  7027. "type": "object",
  7028. "required": [
  7029. "asapplyid"
  7030. ],
  7031. "properties": {
  7032. "applybasis": {
  7033. "description": "申请基差",
  7034. "type": "number"
  7035. },
  7036. "applystatus": {
  7037. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7038. "type": "integer"
  7039. },
  7040. "asapplyid": {
  7041. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  7042. "type": "integer"
  7043. },
  7044. "asname": {
  7045. "description": "策略名称",
  7046. "type": "string"
  7047. },
  7048. "asno": {
  7049. "description": "策略编号",
  7050. "type": "string"
  7051. },
  7052. "auditid": {
  7053. "description": "审核人",
  7054. "type": "integer"
  7055. },
  7056. "auditremark": {
  7057. "description": "审核备注",
  7058. "type": "string"
  7059. },
  7060. "audittime": {
  7061. "description": "审核时间",
  7062. "type": "string"
  7063. },
  7064. "biztype": {
  7065. "description": "业务类型 - 1:正向套利 2:反向套利",
  7066. "type": "integer"
  7067. },
  7068. "createtime": {
  7069. "description": "创建时间",
  7070. "type": "string"
  7071. },
  7072. "creatorid": {
  7073. "description": "创建人",
  7074. "type": "integer"
  7075. },
  7076. "deliverygoodsid": {
  7077. "description": "现货品种ID",
  7078. "type": "integer"
  7079. },
  7080. "futurequote": {
  7081. "description": "期货额度",
  7082. "type": "number"
  7083. },
  7084. "goodsgroupid": {
  7085. "description": "期货品种ID",
  7086. "type": "integer"
  7087. },
  7088. "marketid": {
  7089. "description": "市场ID",
  7090. "type": "integer"
  7091. },
  7092. "remark": {
  7093. "description": "备注",
  7094. "type": "string"
  7095. },
  7096. "spotquota": {
  7097. "description": "现货额度",
  7098. "type": "number"
  7099. },
  7100. "tradedate": {
  7101. "description": "交易日(yyyyMMdd)",
  7102. "type": "string"
  7103. },
  7104. "userid": {
  7105. "description": "所属机构",
  7106. "type": "integer"
  7107. }
  7108. }
  7109. },
  7110. "erms3.AddErms2SpotTradeApplyReq": {
  7111. "type": "object",
  7112. "required": [
  7113. "spottradeid"
  7114. ],
  7115. "properties": {
  7116. "applyjsondetail": {
  7117. "description": "申请明细(JSON)",
  7118. "type": "string"
  7119. },
  7120. "applystatus": {
  7121. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7122. "type": "integer"
  7123. },
  7124. "areauserid": {
  7125. "description": "所属机构",
  7126. "type": "integer"
  7127. },
  7128. "auditid": {
  7129. "description": "审核人",
  7130. "type": "integer"
  7131. },
  7132. "auditremark": {
  7133. "description": "审核备注",
  7134. "type": "string"
  7135. },
  7136. "audittime": {
  7137. "description": "审核时间",
  7138. "type": "string"
  7139. },
  7140. "createtime": {
  7141. "description": "创建时间",
  7142. "type": "string"
  7143. },
  7144. "creatorid": {
  7145. "description": "创建人",
  7146. "type": "integer"
  7147. },
  7148. "deliverygoodsid": {
  7149. "description": "现货品种ID",
  7150. "type": "integer"
  7151. },
  7152. "futureaccountid": {
  7153. "description": "期货资金账户",
  7154. "type": "integer"
  7155. },
  7156. "goodsgroupid": {
  7157. "description": "期货品种",
  7158. "type": "integer"
  7159. },
  7160. "marketid": {
  7161. "description": "市场ID",
  7162. "type": "integer"
  7163. },
  7164. "remark": {
  7165. "description": "备注",
  7166. "type": "string"
  7167. },
  7168. "spotaccountid": {
  7169. "description": "现货资金账户",
  7170. "type": "integer"
  7171. },
  7172. "spottradeid": {
  7173. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  7174. "type": "integer"
  7175. },
  7176. "spottradename": {
  7177. "description": "业务名称",
  7178. "type": "string"
  7179. },
  7180. "spottradeno": {
  7181. "description": "业务编号",
  7182. "type": "string"
  7183. },
  7184. "tradedate": {
  7185. "description": "交易日(yyyyMMdd)",
  7186. "type": "string"
  7187. },
  7188. "wrstandardid": {
  7189. "description": "仓单标准ID",
  7190. "type": "integer"
  7191. }
  7192. }
  7193. },
  7194. "erms3.AddSpotContractApplyReq": {
  7195. "type": "object",
  7196. "required": [
  7197. "accountid",
  7198. "areauserid",
  7199. "contractno",
  7200. "contracttype",
  7201. "customeraccountid",
  7202. "customeruserid",
  7203. "details",
  7204. "orimargin",
  7205. "signdate"
  7206. ],
  7207. "properties": {
  7208. "accountid": {
  7209. "description": "资金账户ID",
  7210. "type": "integer"
  7211. },
  7212. "areauserid": {
  7213. "description": "所属机构",
  7214. "type": "integer"
  7215. },
  7216. "contractattachment": {
  7217. "description": "合同附件",
  7218. "type": "string"
  7219. },
  7220. "contractno": {
  7221. "description": "现货合同编号",
  7222. "type": "string"
  7223. },
  7224. "contracttype": {
  7225. "description": "现货合同类型 - 1:采购 -1:销售",
  7226. "type": "integer"
  7227. },
  7228. "creatorid": {
  7229. "description": "申请人",
  7230. "type": "integer"
  7231. },
  7232. "customeraccountid": {
  7233. "description": "客户资金账户ID",
  7234. "type": "integer"
  7235. },
  7236. "customeruserid": {
  7237. "description": "客户ID",
  7238. "type": "integer"
  7239. },
  7240. "details": {
  7241. "description": "明细",
  7242. "type": "array",
  7243. "items": {
  7244. "$ref": "#/definitions/erms3.SoptContractDetail"
  7245. }
  7246. },
  7247. "orimargin": {
  7248. "description": "初始保证金",
  7249. "type": "number"
  7250. },
  7251. "remark": {
  7252. "description": "备注",
  7253. "type": "string"
  7254. },
  7255. "signdate": {
  7256. "description": "签订日期",
  7257. "type": "string"
  7258. }
  7259. }
  7260. },
  7261. "erms3.AddSpotContractApplyRsp": {
  7262. "type": "object",
  7263. "required": [
  7264. "contractno"
  7265. ],
  7266. "properties": {
  7267. "contractno": {
  7268. "description": "现货合同编号",
  7269. "type": "string"
  7270. },
  7271. "spotcontractid": {
  7272. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  7273. "type": "integer"
  7274. }
  7275. }
  7276. },
  7277. "erms3.AddUserInfoApplyReq": {
  7278. "type": "object",
  7279. "required": [
  7280. "userid"
  7281. ],
  7282. "properties": {
  7283. "accountid": {
  7284. "description": "交易系统帐号Id (加密存储)",
  7285. "type": "integer"
  7286. },
  7287. "areacode": {
  7288. "description": "机构代码",
  7289. "type": "string"
  7290. },
  7291. "areaid": {
  7292. "description": "机构Id",
  7293. "type": "integer"
  7294. },
  7295. "attachment1": {
  7296. "description": "附件1",
  7297. "type": "string"
  7298. },
  7299. "attachment2": {
  7300. "description": "附件2",
  7301. "type": "string"
  7302. },
  7303. "attachment3": {
  7304. "description": "附件3",
  7305. "type": "string"
  7306. },
  7307. "attachment4": {
  7308. "description": "附件4",
  7309. "type": "string"
  7310. },
  7311. "attachment5": {
  7312. "description": "附件5",
  7313. "type": "string"
  7314. },
  7315. "auditedby": {
  7316. "description": "审核人",
  7317. "type": "string"
  7318. },
  7319. "auditime": {
  7320. "description": "审核时间",
  7321. "type": "string"
  7322. },
  7323. "bankaccount": {
  7324. "description": "银行帐号 (加密存储)",
  7325. "type": "string"
  7326. },
  7327. "bankaccountname": {
  7328. "description": "收款人名称",
  7329. "type": "string"
  7330. },
  7331. "bankcardbackphotourl": {
  7332. "description": "银行卡背面照地址",
  7333. "type": "string"
  7334. },
  7335. "bankcardfrontphotourl": {
  7336. "description": "银行卡正面照地址",
  7337. "type": "string"
  7338. },
  7339. "bankid": {
  7340. "description": "银行编码",
  7341. "type": "string"
  7342. },
  7343. "bankname": {
  7344. "description": "银行名称",
  7345. "type": "string"
  7346. },
  7347. "bankpictureurl": {
  7348. "description": "银行卡正面地址",
  7349. "type": "string"
  7350. },
  7351. "biznature": {
  7352. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7353. "type": "integer"
  7354. },
  7355. "bizscope": {
  7356. "description": "企业经营范围(企业)",
  7357. "type": "string"
  7358. },
  7359. "biztype": {
  7360. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  7361. "type": "integer"
  7362. },
  7363. "brokerid": {
  7364. "description": "经纪人ID(加密存储)",
  7365. "type": "string"
  7366. },
  7367. "cardaddress": {
  7368. "description": "证件地址 (加密存储)",
  7369. "type": "string"
  7370. },
  7371. "cardbackphotourl": {
  7372. "description": "背面证件照地址",
  7373. "type": "string"
  7374. },
  7375. "cardfrontphotourl": {
  7376. "description": "正面证件照地址",
  7377. "type": "string"
  7378. },
  7379. "cardnum": {
  7380. "description": "证件号码 (加密存储)",
  7381. "type": "string"
  7382. },
  7383. "cardtype": {
  7384. "description": "证件类型",
  7385. "type": "integer"
  7386. },
  7387. "cityid": {
  7388. "description": "市",
  7389. "type": "integer"
  7390. },
  7391. "company": {
  7392. "description": "公司(个人)",
  7393. "type": "string"
  7394. },
  7395. "contactcardbackphotourl": {
  7396. "description": "联系人证件背面图片地址",
  7397. "type": "string"
  7398. },
  7399. "contactcardfrontphotourl": {
  7400. "description": "联系人证件正面图片地址",
  7401. "type": "string"
  7402. },
  7403. "contactname": {
  7404. "description": "联系人",
  7405. "type": "string"
  7406. },
  7407. "countryid": {
  7408. "description": "国家",
  7409. "type": "integer"
  7410. },
  7411. "createtime": {
  7412. "description": "开户申请时间",
  7413. "type": "string"
  7414. },
  7415. "cusbankid": {
  7416. "description": "签约类型",
  7417. "type": "string"
  7418. },
  7419. "cusbankname": {
  7420. "description": "签约类型名称",
  7421. "type": "string"
  7422. },
  7423. "customername": {
  7424. "description": "客户名称(企业名称)",
  7425. "type": "string"
  7426. },
  7427. "districtid": {
  7428. "description": "地区",
  7429. "type": "integer"
  7430. },
  7431. "email": {
  7432. "description": "Email地址(加密存储)",
  7433. "type": "string"
  7434. },
  7435. "halfbodyphotourl": {
  7436. "description": "半身照地址",
  7437. "type": "string"
  7438. },
  7439. "headurl": {
  7440. "description": "头像地址",
  7441. "type": "string"
  7442. },
  7443. "ipaddress": {
  7444. "description": "IP地址",
  7445. "type": "string"
  7446. },
  7447. "isvalidate": {
  7448. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  7449. "type": "string"
  7450. },
  7451. "legalcardbackphotourl": {
  7452. "description": "法人身份证背面照地址",
  7453. "type": "string"
  7454. },
  7455. "legalcardfrontphotourl": {
  7456. "description": "法人身份证正面照地址",
  7457. "type": "string"
  7458. },
  7459. "legalpersonname": {
  7460. "description": "法人姓名(企业)",
  7461. "type": "string"
  7462. },
  7463. "logincode": {
  7464. "description": "登录帐号 (加密存储)",
  7465. "type": "string"
  7466. },
  7467. "memberareaid": {
  7468. "description": "所属会员ID",
  7469. "type": "integer"
  7470. },
  7471. "mobile2": {
  7472. "description": "手机号码[明文-尚志]",
  7473. "type": "string"
  7474. },
  7475. "mobilephone": {
  7476. "description": "手机号码 (加密存储)",
  7477. "type": "string"
  7478. },
  7479. "modifiedby": {
  7480. "description": "修改人帐号",
  7481. "type": "integer"
  7482. },
  7483. "modifiedtime": {
  7484. "description": "修改时间",
  7485. "type": "string"
  7486. },
  7487. "nickname": {
  7488. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  7489. "type": "string"
  7490. },
  7491. "openmode": {
  7492. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  7493. "type": "integer"
  7494. },
  7495. "otherurl": {
  7496. "description": "其它图片地址[使用分号分隔]",
  7497. "type": "string"
  7498. },
  7499. "postalcode": {
  7500. "description": "邮政编码",
  7501. "type": "string"
  7502. },
  7503. "provinceid": {
  7504. "description": "省",
  7505. "type": "integer"
  7506. },
  7507. "proxystatementurl": {
  7508. "description": "授权委托书",
  7509. "type": "string"
  7510. },
  7511. "qq": {
  7512. "description": "QQ(加密存储",
  7513. "type": "string"
  7514. },
  7515. "referral": {
  7516. "description": "推荐人编码",
  7517. "type": "string"
  7518. },
  7519. "remark": {
  7520. "description": "备注",
  7521. "type": "string"
  7522. },
  7523. "removebeforestatus": {
  7524. "description": "REMOVEBEFORESTATUS",
  7525. "type": "integer"
  7526. },
  7527. "sex": {
  7528. "description": "性别 - 0:女 1:男",
  7529. "type": "integer"
  7530. },
  7531. "signedstatus": {
  7532. "description": "账户一号签签约状态",
  7533. "type": "integer"
  7534. },
  7535. "signpdfurl": {
  7536. "description": "签约pdf文件",
  7537. "type": "string"
  7538. },
  7539. "subbranch": {
  7540. "description": "开户支行",
  7541. "type": "string"
  7542. },
  7543. "telphone": {
  7544. "description": "联系电话(加密存储)",
  7545. "type": "string"
  7546. },
  7547. "userid": {
  7548. "description": "用户ID(自增ID)",
  7549. "type": "integer"
  7550. },
  7551. "userinfotype": {
  7552. "description": "用户信息类型 - 1:个人 2:企业",
  7553. "type": "integer"
  7554. },
  7555. "username": {
  7556. "description": "用户姓名",
  7557. "type": "string"
  7558. },
  7559. "userstate": {
  7560. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  7561. "type": "integer"
  7562. },
  7563. "usertype": {
  7564. "description": "用户类型 - 1:投资者 2:机构",
  7565. "type": "integer"
  7566. },
  7567. "videourl": {
  7568. "description": "视频地址",
  7569. "type": "string"
  7570. },
  7571. "wechat": {
  7572. "description": "微信号 (加密存储)",
  7573. "type": "string"
  7574. }
  7575. }
  7576. },
  7577. "erms3.CustomerInfo": {
  7578. "type": "object",
  7579. "required": [
  7580. "userid"
  7581. ],
  7582. "properties": {
  7583. "accountids": {
  7584. "description": "资金账户ID列表",
  7585. "type": "array",
  7586. "items": {
  7587. "type": "integer"
  7588. }
  7589. },
  7590. "customername": {
  7591. "description": "名称(企业名称)",
  7592. "type": "string"
  7593. },
  7594. "mobile": {
  7595. "description": "手机号码",
  7596. "type": "string"
  7597. },
  7598. "userid": {
  7599. "description": "用户ID",
  7600. "type": "integer"
  7601. }
  7602. }
  7603. },
  7604. "erms3.QryAuditContractRsp": {
  7605. "type": "object",
  7606. "required": [
  7607. "matchcustomername",
  7608. "spotcontractid"
  7609. ],
  7610. "properties": {
  7611. "accountid": {
  7612. "description": "交易员ID",
  7613. "type": "string"
  7614. },
  7615. "applystatus": {
  7616. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7617. "type": "integer"
  7618. },
  7619. "curdeliveryqty": {
  7620. "description": "未交收量",
  7621. "type": "integer"
  7622. },
  7623. "customername": {
  7624. "description": "采购方ID",
  7625. "type": "string"
  7626. },
  7627. "deliverygoodsid": {
  7628. "description": "品种ID",
  7629. "type": "string"
  7630. },
  7631. "deliveryqty": {
  7632. "description": "交收量",
  7633. "type": "integer"
  7634. },
  7635. "enumdicname": {
  7636. "description": "单位名称",
  7637. "type": "string"
  7638. },
  7639. "matchaccountid": {
  7640. "description": "业务员ID",
  7641. "type": "string"
  7642. },
  7643. "matchcustomername": {
  7644. "description": "销售方ID",
  7645. "type": "string"
  7646. },
  7647. "pricedqty": {
  7648. "description": "定价量",
  7649. "type": "number"
  7650. },
  7651. "signdate": {
  7652. "description": "签订日期",
  7653. "type": "string"
  7654. },
  7655. "spotcontractid": {
  7656. "description": "合同ID",
  7657. "type": "string"
  7658. },
  7659. "totaldqty": {
  7660. "description": "合同量",
  7661. "type": "number"
  7662. },
  7663. "unpricedqty": {
  7664. "description": "未定价量",
  7665. "type": "number"
  7666. },
  7667. "wrstandardname": {
  7668. "description": "商品名称",
  7669. "type": "string"
  7670. }
  7671. }
  7672. },
  7673. "erms3.QryPendingBizRsp": {
  7674. "$ref": "#/definitions/models.PendingAuditBizModel"
  7675. },
  7676. "erms3.QueryBusinessInfoRsp": {
  7677. "type": "object",
  7678. "properties": {
  7679. "businessid": {
  7680. "description": "业务ID.",
  7681. "type": "integer"
  7682. },
  7683. "buyamount": {
  7684. "description": "采购额.",
  7685. "type": "number"
  7686. },
  7687. "buyqty": {
  7688. "description": "采购量.",
  7689. "type": "string"
  7690. },
  7691. "futurepl": {
  7692. "description": "期货盈亏.",
  7693. "type": "number"
  7694. },
  7695. "futureqty": {
  7696. "description": "期货敞口.",
  7697. "type": "string"
  7698. },
  7699. "goodsid": {
  7700. "description": "商品名称/商品代码.",
  7701. "type": "string"
  7702. },
  7703. "hedgingqty": {
  7704. "description": "套保量.",
  7705. "type": "string"
  7706. },
  7707. "sellamount": {
  7708. "description": "销售额.",
  7709. "type": "number"
  7710. },
  7711. "sellqty": {
  7712. "description": "销售量.",
  7713. "type": "string"
  7714. },
  7715. "spotmarketvalue": {
  7716. "description": "现货市值.",
  7717. "type": "number"
  7718. },
  7719. "spotpl": {
  7720. "description": "浮动权益.",
  7721. "type": "number"
  7722. },
  7723. "spotqty": {
  7724. "description": "现货量.",
  7725. "type": "string"
  7726. },
  7727. "statu": {
  7728. "description": "状态,0-未结束 1-已结束.",
  7729. "type": "integer"
  7730. },
  7731. "totalpl": {
  7732. "description": "总盈亏.",
  7733. "type": "number"
  7734. },
  7735. "totalqty": {
  7736. "description": "总敞口.",
  7737. "type": "string"
  7738. },
  7739. "type": {
  7740. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  7741. "type": "integer"
  7742. }
  7743. }
  7744. },
  7745. "erms3.QuerySpotContractAppleFormRsp": {
  7746. "type": "object",
  7747. "properties": {
  7748. "goodses": {
  7749. "description": "合约列表",
  7750. "type": "array",
  7751. "items": {
  7752. "$ref": "#/definitions/models.GoodsIDAndName"
  7753. }
  7754. },
  7755. "oppositeusers": {
  7756. "description": "对方账号列表",
  7757. "type": "array",
  7758. "items": {
  7759. "$ref": "#/definitions/erms3.CustomerInfo"
  7760. }
  7761. },
  7762. "ouruser": {
  7763. "description": "我方账号",
  7764. "type": "object",
  7765. "$ref": "#/definitions/erms3.CustomerInfo"
  7766. },
  7767. "warehouseinfos": {
  7768. "description": "仓库信息列表",
  7769. "type": "array",
  7770. "items": {
  7771. "$ref": "#/definitions/models.Warehouseinfo"
  7772. }
  7773. },
  7774. "wrstandards": {
  7775. "description": "仓单标准列表",
  7776. "type": "array",
  7777. "items": {
  7778. "$ref": "#/definitions/models.WRStandardInfo"
  7779. }
  7780. }
  7781. }
  7782. },
  7783. "erms3.QuerySpotContractInfoRsp": {
  7784. "type": "object",
  7785. "properties": {
  7786. "accountid": {
  7787. "description": "表示交易员ID.",
  7788. "type": "integer"
  7789. },
  7790. "curdeliveryqty": {
  7791. "description": "表示未交收量.",
  7792. "type": "number"
  7793. },
  7794. "customername": {
  7795. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  7796. "type": "string"
  7797. },
  7798. "deliverygoodsid": {
  7799. "description": "表示品种ID.",
  7800. "type": "string"
  7801. },
  7802. "deliveryqty": {
  7803. "description": "表示交收量.",
  7804. "type": "number"
  7805. },
  7806. "matchaccountid": {
  7807. "description": "表示业务员ID.",
  7808. "type": "integer"
  7809. },
  7810. "matchcustomername": {
  7811. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  7812. "type": "string"
  7813. },
  7814. "priceqty": {
  7815. "description": "表示定价量.",
  7816. "type": "number"
  7817. },
  7818. "relatedbizid": {
  7819. "description": "表示业务ID.",
  7820. "type": "string"
  7821. },
  7822. "signdate": {
  7823. "description": "表示签订日期.",
  7824. "type": "string"
  7825. },
  7826. "spotcontractid": {
  7827. "description": "合同ID",
  7828. "type": "string"
  7829. },
  7830. "status": {
  7831. "description": "表示状态,0-履约中 1-已完成.",
  7832. "type": "integer"
  7833. },
  7834. "totalqty": {
  7835. "description": "表示合同量.",
  7836. "type": "number"
  7837. },
  7838. "unpricedqty": {
  7839. "description": "表示未定价量.",
  7840. "type": "number"
  7841. },
  7842. "wrstandardname": {
  7843. "description": "表示商品ID.",
  7844. "type": "string"
  7845. }
  7846. }
  7847. },
  7848. "erms3.QueryUserInfoAppliesRsp": {
  7849. "type": "object",
  7850. "required": [
  7851. "userid"
  7852. ],
  7853. "properties": {
  7854. "biznature": {
  7855. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7856. "type": "integer"
  7857. },
  7858. "contactname": {
  7859. "description": "联系人",
  7860. "type": "string"
  7861. },
  7862. "createtime": {
  7863. "description": "开户申请时间",
  7864. "type": "string"
  7865. },
  7866. "userid": {
  7867. "description": "用户ID(自增ID)",
  7868. "type": "integer"
  7869. },
  7870. "userinfotype": {
  7871. "description": "用户信息类型 - 1:个人 2:企业",
  7872. "type": "integer"
  7873. },
  7874. "username": {
  7875. "description": "用户姓名",
  7876. "type": "string"
  7877. },
  7878. "userstate": {
  7879. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  7880. "type": "integer"
  7881. }
  7882. }
  7883. },
  7884. "erms3.QueryUserInfosRsp": {
  7885. "type": "object",
  7886. "required": [
  7887. "userid"
  7888. ],
  7889. "properties": {
  7890. "biznature": {
  7891. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7892. "type": "integer"
  7893. },
  7894. "contactname": {
  7895. "description": "联系人",
  7896. "type": "string"
  7897. },
  7898. "customername": {
  7899. "description": "客户名称(企业名称)",
  7900. "type": "string"
  7901. },
  7902. "userid": {
  7903. "description": "用户ID",
  7904. "type": "integer"
  7905. },
  7906. "userinfotype": {
  7907. "description": "用户信息类型 - 1:个人 2:企业",
  7908. "type": "integer"
  7909. },
  7910. "userstatus": {
  7911. "description": "用户状态 - 1:正常 2:注销",
  7912. "type": "integer"
  7913. }
  7914. }
  7915. },
  7916. "erms3.SoptContractDetail": {
  7917. "type": "object",
  7918. "required": [
  7919. "deliverygoodsid",
  7920. "producttype",
  7921. "unitname",
  7922. "warehouseid",
  7923. "wrstandardid",
  7924. "wrstandardname"
  7925. ],
  7926. "properties": {
  7927. "deliverygoodsdesc": {
  7928. "description": "现货品种说明",
  7929. "type": "string"
  7930. },
  7931. "deliverygoodsid": {
  7932. "description": "现货品种ID",
  7933. "type": "integer"
  7934. },
  7935. "deliverygoodsname": {
  7936. "description": "现货品种名称",
  7937. "type": "string"
  7938. },
  7939. "pointdesc": {
  7940. "description": "点价描述",
  7941. "type": "string"
  7942. },
  7943. "producttype": {
  7944. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  7945. "type": "integer"
  7946. },
  7947. "producttypename": {
  7948. "description": "产品类型名称",
  7949. "type": "string"
  7950. },
  7951. "spotPointOrderVoList": {
  7952. "description": "点价列表",
  7953. "type": "array",
  7954. "items": {
  7955. "$ref": "#/definitions/erms3.SpotPointOrder"
  7956. }
  7957. },
  7958. "spotPriceOrderList": {
  7959. "description": "定价列表",
  7960. "type": "array",
  7961. "items": {
  7962. "$ref": "#/definitions/erms3.SpotPriceOrder"
  7963. }
  7964. },
  7965. "unitname": {
  7966. "description": "单位名称",
  7967. "type": "string"
  7968. },
  7969. "warehouseid": {
  7970. "description": "仓库ID",
  7971. "type": "integer"
  7972. },
  7973. "warehousename": {
  7974. "description": "仓库名称",
  7975. "type": "string"
  7976. },
  7977. "wrstandardid": {
  7978. "description": "交易标的ID",
  7979. "type": "integer"
  7980. },
  7981. "wrstandardname": {
  7982. "description": "交易标的名称",
  7983. "type": "string"
  7984. }
  7985. }
  7986. },
  7987. "erms3.SpotPointOrder": {
  7988. "type": "object",
  7989. "required": [
  7990. "basic",
  7991. "goodsid",
  7992. "qty"
  7993. ],
  7994. "properties": {
  7995. "basic": {
  7996. "description": "基差",
  7997. "type": "number"
  7998. },
  7999. "deliveryenddate": {
  8000. "description": "交收结束日期",
  8001. "type": "string"
  8002. },
  8003. "deliverystartdate": {
  8004. "description": "交收开始日期",
  8005. "type": "string"
  8006. },
  8007. "enddate": {
  8008. "description": "点价结束日期",
  8009. "type": "string"
  8010. },
  8011. "goodsid": {
  8012. "description": "商品ID",
  8013. "type": "integer"
  8014. },
  8015. "goodsname": {
  8016. "description": "商品名称",
  8017. "type": "string"
  8018. },
  8019. "qty": {
  8020. "description": "数量",
  8021. "type": "number"
  8022. },
  8023. "startdate": {
  8024. "description": "点价开始日期",
  8025. "type": "string"
  8026. }
  8027. }
  8028. },
  8029. "erms3.SpotPriceOrder": {
  8030. "type": "object",
  8031. "required": [
  8032. "amount",
  8033. "price",
  8034. "qty"
  8035. ],
  8036. "properties": {
  8037. "amount": {
  8038. "description": "金额",
  8039. "type": "number"
  8040. },
  8041. "deliveryenddate": {
  8042. "description": "交收结束日期",
  8043. "type": "string"
  8044. },
  8045. "deliverystartdate": {
  8046. "description": "交收开始日期",
  8047. "type": "string"
  8048. },
  8049. "price": {
  8050. "description": "价格",
  8051. "type": "number"
  8052. },
  8053. "qty": {
  8054. "description": "数量",
  8055. "type": "number"
  8056. }
  8057. }
  8058. },
  8059. "hsby.GetHsbyMyCountRsp": {
  8060. "type": "object",
  8061. "properties": {
  8062. "myCouponCount": {
  8063. "description": "我的优惠卷数量",
  8064. "type": "integer"
  8065. },
  8066. "myOrderDetailListingCount": {
  8067. "description": "我的订单求购中数量",
  8068. "type": "integer"
  8069. },
  8070. "myOrderDetailPreCount": {
  8071. "description": "我的订单抢购中数量",
  8072. "type": "integer"
  8073. },
  8074. "myPackageUnReceiveCount": {
  8075. "description": "我的包裹待收货数量",
  8076. "type": "integer"
  8077. },
  8078. "myPackageUnSendCount": {
  8079. "description": "我的包裹待发货数量",
  8080. "type": "integer"
  8081. },
  8082. "myPayOrderCount": {
  8083. "description": "我的订单待付款数量",
  8084. "type": "integer"
  8085. }
  8086. }
  8087. },
  8088. "hsby.QueryProvincesAndCitiesRsp": {
  8089. "type": "object",
  8090. "properties": {
  8091. "cities": {
  8092. "description": "市",
  8093. "type": "array",
  8094. "items": {
  8095. "$ref": "#/definitions/models.Division"
  8096. }
  8097. },
  8098. "province": {
  8099. "description": "省",
  8100. "type": "object",
  8101. "$ref": "#/definitions/models.Division"
  8102. }
  8103. }
  8104. },
  8105. "models.AreaSpotModel": {
  8106. "type": "object",
  8107. "properties": {
  8108. "areauserid": {
  8109. "description": "所属机构",
  8110. "type": "integer"
  8111. },
  8112. "decreaseqty": {
  8113. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  8114. "type": "number"
  8115. },
  8116. "increaseqty": {
  8117. "description": "增加数量=销售计划数量+采购已定价数量",
  8118. "type": "number"
  8119. },
  8120. "oritoalspotqty": {
  8121. "description": "昨日数量",
  8122. "type": "number"
  8123. },
  8124. "totalspotqty": {
  8125. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  8126. "type": "number"
  8127. },
  8128. "updatetime": {
  8129. "description": "更新时间",
  8130. "type": "string"
  8131. },
  8132. "wrstandardcode": {
  8133. "description": "现货品种代码",
  8134. "type": "string"
  8135. },
  8136. "wrstandardid": {
  8137. "description": "现货商品ID",
  8138. "type": "integer"
  8139. },
  8140. "wrstandardname": {
  8141. "description": "现货品种",
  8142. "type": "string"
  8143. }
  8144. }
  8145. },
  8146. "models.Clientfixedadconfig": {
  8147. "type": "object",
  8148. "required": [
  8149. "adsort",
  8150. "adtype"
  8151. ],
  8152. "properties": {
  8153. "adsort": {
  8154. "description": "排序",
  8155. "type": "integer"
  8156. },
  8157. "adtype": {
  8158. "description": "广告位类型 - 1:新品抢购(HSBY)",
  8159. "type": "integer"
  8160. },
  8161. "areauserid": {
  8162. "description": "所属机构ID",
  8163. "type": "integer"
  8164. },
  8165. "createdate": {
  8166. "description": "创建时间",
  8167. "type": "string"
  8168. },
  8169. "creatorid": {
  8170. "description": "创建人",
  8171. "type": "integer"
  8172. },
  8173. "imagepath": {
  8174. "description": "图片",
  8175. "type": "string"
  8176. },
  8177. "isshow": {
  8178. "description": "是否展示 - 0:不展示 1:展示",
  8179. "type": "integer"
  8180. },
  8181. "modifierid": {
  8182. "description": "操作人",
  8183. "type": "integer"
  8184. },
  8185. "recsize": {
  8186. "description": "推荐尺寸",
  8187. "type": "string"
  8188. },
  8189. "title": {
  8190. "description": "标题",
  8191. "type": "string"
  8192. },
  8193. "updatedate": {
  8194. "description": "更新时间",
  8195. "type": "string"
  8196. },
  8197. "urlcontent": {
  8198. "description": "链接(地址或商品ID)",
  8199. "type": "string"
  8200. },
  8201. "urltype": {
  8202. "description": "链接类型 - 1:直接地址 2:商品ID",
  8203. "type": "integer"
  8204. }
  8205. }
  8206. },
  8207. "models.Division": {
  8208. "type": "object",
  8209. "required": [
  8210. "autoid",
  8211. "divisioncode"
  8212. ],
  8213. "properties": {
  8214. "autoid": {
  8215. "description": "自增ID",
  8216. "type": "integer"
  8217. },
  8218. "divisioncode": {
  8219. "description": "行政代码",
  8220. "type": "string"
  8221. },
  8222. "divisionlevel": {
  8223. "description": "行政级别",
  8224. "type": "string"
  8225. },
  8226. "divisionname": {
  8227. "description": "行政名称",
  8228. "type": "string"
  8229. },
  8230. "modifierid": {
  8231. "description": "修改人",
  8232. "type": "integer"
  8233. },
  8234. "modifytime": {
  8235. "description": "修改时间",
  8236. "type": "string"
  8237. },
  8238. "parentcode": {
  8239. "description": "上级行政代码",
  8240. "type": "string"
  8241. },
  8242. "pathname": {
  8243. "description": "路径名称",
  8244. "type": "string"
  8245. },
  8246. "postcode": {
  8247. "description": "邮政编码",
  8248. "type": "string"
  8249. },
  8250. "separablename": {
  8251. "description": "可拆分的全称",
  8252. "type": "string"
  8253. },
  8254. "shortcode": {
  8255. "description": "地区简码",
  8256. "type": "string"
  8257. }
  8258. }
  8259. },
  8260. "models.Enumdicitem": {
  8261. "type": "object",
  8262. "required": [
  8263. "autoid",
  8264. "enumdiccode",
  8265. "enumdicid",
  8266. "enumitemname"
  8267. ],
  8268. "properties": {
  8269. "autoid": {
  8270. "description": "自增ID",
  8271. "type": "integer"
  8272. },
  8273. "bankmappedvalue": {
  8274. "description": "银行服务对应值",
  8275. "type": "string"
  8276. },
  8277. "enumdiccode": {
  8278. "description": "所属枚举代码",
  8279. "type": "string"
  8280. },
  8281. "enumdicid": {
  8282. "description": "所属枚举ID",
  8283. "type": "integer"
  8284. },
  8285. "enumdicname": {
  8286. "description": "枚举项名称",
  8287. "type": "string"
  8288. },
  8289. "enumitemname": {
  8290. "description": "枚举项值",
  8291. "type": "integer"
  8292. },
  8293. "enumitemstatus": {
  8294. "description": "枚举项状态 - 1.启用 2.不启用",
  8295. "type": "integer"
  8296. },
  8297. "enumitemvalue": {
  8298. "description": "通用值 - [币种通用简写]",
  8299. "type": "string"
  8300. },
  8301. "param1": {
  8302. "description": "参数1[币种:币种小数位]",
  8303. "type": "string"
  8304. },
  8305. "param2": {
  8306. "description": "参数1[币种:币种显示单位]",
  8307. "type": "string"
  8308. },
  8309. "remark": {
  8310. "description": "备注",
  8311. "type": "string"
  8312. }
  8313. }
  8314. },
  8315. "models.ErmcpAreaSpotDetailModel": {
  8316. "type": "object",
  8317. "properties": {
  8318. "contracttype": {
  8319. "description": "合同类型 1-采购 -1-销售",
  8320. "type": "integer"
  8321. },
  8322. "enumdicname": {
  8323. "description": "现货商品单位名称",
  8324. "type": "string"
  8325. },
  8326. "logtype": {
  8327. "description": "记录类型 1-套保 2-现货合同",
  8328. "type": "integer"
  8329. },
  8330. "qty": {
  8331. "description": "数量",
  8332. "type": "number"
  8333. },
  8334. "recordname": {
  8335. "description": "类型名称",
  8336. "type": "string"
  8337. },
  8338. "relatedid": {
  8339. "description": "套保计划ID/现货合同ID",
  8340. "type": "string"
  8341. },
  8342. "relatedno": {
  8343. "description": "编号",
  8344. "type": "string"
  8345. },
  8346. "strtime": {
  8347. "description": "时间",
  8348. "type": "string"
  8349. },
  8350. "wrstandardcode": {
  8351. "description": "现货商品代码",
  8352. "type": "string"
  8353. },
  8354. "wrstandardname": {
  8355. "description": "现货商品名称",
  8356. "type": "string"
  8357. }
  8358. }
  8359. },
  8360. "models.ErmcpExposureDetailModel": {
  8361. "type": "object",
  8362. "properties": {
  8363. "areauserid": {
  8364. "description": "机构ID",
  8365. "type": "integer"
  8366. },
  8367. "changeQty": {
  8368. "description": "套保变动量",
  8369. "type": "number"
  8370. },
  8371. "contracttype": {
  8372. "description": "现货合同类型 - 1:采购 -1:销售",
  8373. "type": "integer"
  8374. },
  8375. "convertfactor": {
  8376. "description": "标仓系数",
  8377. "type": "number"
  8378. },
  8379. "convertratio": {
  8380. "description": "套保系数",
  8381. "type": "number"
  8382. },
  8383. "createtime": {
  8384. "description": "时间",
  8385. "type": "string"
  8386. },
  8387. "enumdicname": {
  8388. "description": "现货商品单位名称",
  8389. "type": "string"
  8390. },
  8391. "logtype": {
  8392. "description": "类型 - 1:套保计划 2:现货合同",
  8393. "type": "integer"
  8394. },
  8395. "middlegoodsId": {
  8396. "description": "套保商品id",
  8397. "type": "integer"
  8398. },
  8399. "middlegoodscode": {
  8400. "description": "套保商品代码",
  8401. "type": "string"
  8402. },
  8403. "middlegoodsname": {
  8404. "description": "套保商品名称",
  8405. "type": "string"
  8406. },
  8407. "qty": {
  8408. "description": "数量",
  8409. "type": "number"
  8410. },
  8411. "relateNo": {
  8412. "description": "现货合同/套保计划编号",
  8413. "type": "string"
  8414. },
  8415. "wrstandardcode": {
  8416. "description": "现货商品代码",
  8417. "type": "string"
  8418. },
  8419. "wrstandardid": {
  8420. "description": "现货商品ID",
  8421. "type": "integer"
  8422. },
  8423. "wrstandardname": {
  8424. "description": "现货商品名称",
  8425. "type": "string"
  8426. }
  8427. }
  8428. },
  8429. "models.ErmcpGGConvertCfg": {
  8430. "type": "object",
  8431. "properties": {
  8432. "convertratio": {
  8433. "description": "折算系数",
  8434. "type": "number"
  8435. },
  8436. "destgoodsgroupid": {
  8437. "description": "目标品种ID",
  8438. "type": "integer"
  8439. },
  8440. "dstcode": {
  8441. "description": "目录品种代码",
  8442. "type": "string"
  8443. },
  8444. "dstname": {
  8445. "description": "目标品种名称",
  8446. "type": "string"
  8447. },
  8448. "dstunitid": {
  8449. "description": "目标品种单位ID",
  8450. "type": "integer"
  8451. },
  8452. "dstunitidname": {
  8453. "description": "目标品种单位名称",
  8454. "type": "string"
  8455. },
  8456. "srccode": {
  8457. "description": "源品种代码",
  8458. "type": "string"
  8459. },
  8460. "srcgoodsgroupid": {
  8461. "description": "源品种ID",
  8462. "type": "integer"
  8463. },
  8464. "srcname": {
  8465. "description": "源品种名称",
  8466. "type": "string"
  8467. },
  8468. "srcunitid": {
  8469. "description": "源品种单位ID",
  8470. "type": "integer"
  8471. },
  8472. "srcunitidname": {
  8473. "description": "源品种单位名称",
  8474. "type": "string"
  8475. }
  8476. }
  8477. },
  8478. "models.ErmcpHedgePlan": {
  8479. "type": "object",
  8480. "properties": {
  8481. "areauserid": {
  8482. "description": "用户ID",
  8483. "type": "integer"
  8484. },
  8485. "contracttype": {
  8486. "description": "计划类型 - 1:采购 -1:销售",
  8487. "type": "integer"
  8488. },
  8489. "convertfactor": {
  8490. "description": "标仓系数",
  8491. "type": "number"
  8492. },
  8493. "deliverygoodsid": {
  8494. "description": "现货品种ID",
  8495. "type": "integer"
  8496. },
  8497. "deliverygoodsname": {
  8498. "description": "现货品种名称",
  8499. "type": "string"
  8500. },
  8501. "hedgeplanid": {
  8502. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  8503. "type": "string"
  8504. },
  8505. "hedgeplanno": {
  8506. "description": "套保计划编号(名称)",
  8507. "type": "string"
  8508. },
  8509. "hedgeplanstatus": {
  8510. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8511. "type": "integer"
  8512. },
  8513. "planqty": {
  8514. "description": "计划数量",
  8515. "type": "number"
  8516. },
  8517. "plantime": {
  8518. "description": "计划时间",
  8519. "type": "string"
  8520. },
  8521. "producttype": {
  8522. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8523. "type": "integer"
  8524. },
  8525. "remark": {
  8526. "description": "备注",
  8527. "type": "string"
  8528. },
  8529. "spotgoodsdesc": {
  8530. "description": "商品型号",
  8531. "type": "string"
  8532. },
  8533. "wrstandardid": {
  8534. "description": "现货商品ID",
  8535. "type": "integer"
  8536. },
  8537. "wrstandardname": {
  8538. "description": "现货商品名称",
  8539. "type": "string"
  8540. }
  8541. }
  8542. },
  8543. "models.ErmcpHisExposure": {
  8544. "type": "object",
  8545. "properties": {
  8546. "areauserid": {
  8547. "description": "所属机构",
  8548. "type": "integer"
  8549. },
  8550. "middlegoodscode": {
  8551. "description": "套保品种代码",
  8552. "type": "string"
  8553. },
  8554. "middlegoodsid": {
  8555. "description": "套保品种ID",
  8556. "type": "integer"
  8557. },
  8558. "middlegoodsname": {
  8559. "description": "套保品种名称",
  8560. "type": "string"
  8561. },
  8562. "needhedgeexposourE": {
  8563. "description": "应套保敞口",
  8564. "type": "number"
  8565. },
  8566. "needhedgeratio": {
  8567. "description": "应套保敞口比例",
  8568. "type": "number"
  8569. },
  8570. "reckondate": {
  8571. "description": "日照时期(yyyyMMdd)",
  8572. "type": "string"
  8573. },
  8574. "totalexposure": {
  8575. "description": "总敞口",
  8576. "type": "number"
  8577. },
  8578. "totalfutureqty": {
  8579. "description": "期货头寸总量",
  8580. "type": "number"
  8581. },
  8582. "totalhedgeratio": {
  8583. "description": "敞口比例",
  8584. "type": "number"
  8585. },
  8586. "totalneedhedgeqty": {
  8587. "description": "应套保总量",
  8588. "type": "number"
  8589. },
  8590. "totalspotqty": {
  8591. "description": "现货头寸总量",
  8592. "type": "number"
  8593. }
  8594. }
  8595. },
  8596. "models.ErmcpMiddleGoodsDetail": {
  8597. "type": "object",
  8598. "properties": {
  8599. "cvList": {
  8600. "description": "期货品种折算列表",
  8601. "type": "array",
  8602. "items": {
  8603. "$ref": "#/definitions/models.GoodsGroupConvert"
  8604. }
  8605. },
  8606. "mg": {
  8607. "description": "套保品种基本信息",
  8608. "type": "object",
  8609. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  8610. }
  8611. }
  8612. },
  8613. "models.ErmcpMiddleGoodsModel": {
  8614. "type": "object",
  8615. "properties": {
  8616. "areauserid": {
  8617. "description": "机构用户ID",
  8618. "type": "integer"
  8619. },
  8620. "enumdicname": {
  8621. "description": "单位名称",
  8622. "type": "string"
  8623. },
  8624. "evaluateratio": {
  8625. "description": "估价系数",
  8626. "type": "number"
  8627. },
  8628. "goodsgroupid": {
  8629. "description": "关联期货品种ID",
  8630. "type": "integer"
  8631. },
  8632. "isvalid": {
  8633. "description": "状态 0-无效(停用) 1-有效(正常)",
  8634. "type": "integer"
  8635. },
  8636. "middlegoodscode": {
  8637. "description": "套保品种代码",
  8638. "type": "string"
  8639. },
  8640. "middlegoodsid": {
  8641. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  8642. "type": "integer"
  8643. },
  8644. "middlegoodsname": {
  8645. "description": "套保品种名称",
  8646. "type": "string"
  8647. },
  8648. "modifytime": {
  8649. "description": "修改时间",
  8650. "type": "string"
  8651. },
  8652. "needhedgeratio": {
  8653. "description": "套保比率",
  8654. "type": "number"
  8655. },
  8656. "qtydecimalplace": {
  8657. "description": "数量小数位",
  8658. "type": "integer"
  8659. },
  8660. "relatedgoodsid": {
  8661. "description": "关联交易商品ID",
  8662. "type": "integer"
  8663. },
  8664. "relatedgoodstype": {
  8665. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  8666. "type": "integer"
  8667. }
  8668. }
  8669. },
  8670. "models.ErmcpModel": {
  8671. "type": "object",
  8672. "properties": {
  8673. "accountid": {
  8674. "description": "账户ID",
  8675. "type": "string"
  8676. },
  8677. "accountname": {
  8678. "description": "账户名称",
  8679. "type": "string"
  8680. },
  8681. "contracctstatus": {
  8682. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8683. "type": "integer"
  8684. },
  8685. "contractno": {
  8686. "description": "合同编号",
  8687. "type": "string"
  8688. },
  8689. "contracttype": {
  8690. "description": "合同类型 1-采购, -1-销售",
  8691. "type": "integer"
  8692. },
  8693. "convertfactor": {
  8694. "description": "标仓系数",
  8695. "type": "number"
  8696. },
  8697. "daikaiamount": {
  8698. "description": "待开票额",
  8699. "type": "number"
  8700. },
  8701. "deliveryenddate": {
  8702. "description": "交割结束日",
  8703. "type": "string"
  8704. },
  8705. "deliverygoodscode": {
  8706. "description": "现货商品代码",
  8707. "type": "string"
  8708. },
  8709. "deliverygoodsid": {
  8710. "description": "现货商品ID",
  8711. "type": "integer"
  8712. },
  8713. "deliverygoodsname": {
  8714. "description": "现货商品名称",
  8715. "type": "string"
  8716. },
  8717. "deliverystartdate": {
  8718. "description": "交割开始日",
  8719. "type": "string"
  8720. },
  8721. "enddate": {
  8722. "description": "点价结束日",
  8723. "type": "string"
  8724. },
  8725. "enumdicname": {
  8726. "description": "单位名称",
  8727. "type": "string"
  8728. },
  8729. "goodscode": {
  8730. "description": "点价商品代码",
  8731. "type": "string"
  8732. },
  8733. "goodsid": {
  8734. "description": "点价商品ID",
  8735. "type": "integer"
  8736. },
  8737. "invoiceamount": {
  8738. "description": "已开票额",
  8739. "type": "number"
  8740. },
  8741. "loanamount": {
  8742. "description": "贷款总额=已定价额+调整金额",
  8743. "type": "number"
  8744. },
  8745. "margin": {
  8746. "description": "保证金",
  8747. "type": "number"
  8748. },
  8749. "payamount": {
  8750. "description": "已收付额(收款或付款)",
  8751. "type": "number"
  8752. },
  8753. "price": {
  8754. "description": "价格",
  8755. "type": "number"
  8756. },
  8757. "pricedamount": {
  8758. "description": "已定价额",
  8759. "type": "number"
  8760. },
  8761. "pricedavg": {
  8762. "description": "已点均价",
  8763. "type": "number"
  8764. },
  8765. "pricedqty": {
  8766. "description": "已定价量",
  8767. "type": "number"
  8768. },
  8769. "pricemove": {
  8770. "description": "升贴水",
  8771. "type": "number"
  8772. },
  8773. "pricetype": {
  8774. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8775. "type": "integer"
  8776. },
  8777. "producttype": {
  8778. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8779. "type": "integer"
  8780. },
  8781. "qty": {
  8782. "description": "合同量",
  8783. "type": "number"
  8784. },
  8785. "reckonadjustamount": {
  8786. "description": "调整金额",
  8787. "type": "number"
  8788. },
  8789. "reckonedamount": {
  8790. "description": "已收付额(已确定额)",
  8791. "type": "number"
  8792. },
  8793. "reckonotheramount": {
  8794. "description": "其它费用",
  8795. "type": "number"
  8796. },
  8797. "reckonrealqty": {
  8798. "description": "已确定量",
  8799. "type": "number"
  8800. },
  8801. "remark": {
  8802. "description": "备注",
  8803. "type": "string"
  8804. },
  8805. "spotcontractid": {
  8806. "description": "合同ID",
  8807. "type": "string"
  8808. },
  8809. "spotgoodsdesc": {
  8810. "description": "商品型号(商品规格)",
  8811. "type": "string"
  8812. },
  8813. "startdate": {
  8814. "description": "点价开始日",
  8815. "type": "string"
  8816. },
  8817. "totalamount": {
  8818. "description": "合计总额",
  8819. "type": "number"
  8820. },
  8821. "unpayamount": {
  8822. "description": "待支收额(支付或收款)",
  8823. "type": "number"
  8824. },
  8825. "unpricedqty": {
  8826. "description": "未定价量",
  8827. "type": "number"
  8828. },
  8829. "unsureqty": {
  8830. "description": "未确定量",
  8831. "type": "number"
  8832. },
  8833. "userid": {
  8834. "description": "用户ID",
  8835. "type": "integer"
  8836. }
  8837. }
  8838. },
  8839. "models.ErmcpOPLogModel": {
  8840. "type": "object",
  8841. "properties": {
  8842. "aftervalue": {
  8843. "description": "变更后",
  8844. "type": "number"
  8845. },
  8846. "applyid": {
  8847. "description": "操作人ID",
  8848. "type": "string"
  8849. },
  8850. "applyname": {
  8851. "description": "操作人名称",
  8852. "type": "string"
  8853. },
  8854. "beforevalue": {
  8855. "description": "变更前",
  8856. "type": "number"
  8857. },
  8858. "biztype": {
  8859. "description": "业务类型 - 1:套保计划 2:现货合同",
  8860. "type": "integer"
  8861. },
  8862. "contracttype": {
  8863. "description": "现货合同类型 - 1:采购 -1:销售",
  8864. "type": "integer"
  8865. },
  8866. "logvalue": {
  8867. "description": "数值",
  8868. "type": "number"
  8869. },
  8870. "operatelogtype": {
  8871. "description": "操作流水类型",
  8872. "type": "integer"
  8873. },
  8874. "operatelogtypedesc": {
  8875. "description": "操作流水类型名称",
  8876. "type": "string"
  8877. },
  8878. "relatedid": {
  8879. "description": "现货合同ID\\套保计划",
  8880. "type": "string"
  8881. },
  8882. "updatetime": {
  8883. "description": "更新时间",
  8884. "type": "string"
  8885. }
  8886. }
  8887. },
  8888. "models.ErmcpRealExposureModel": {
  8889. "type": "object",
  8890. "properties": {
  8891. "areaUserID": {
  8892. "description": "所属机构",
  8893. "type": "integer"
  8894. },
  8895. "buyFutureQty": {
  8896. "description": "买入期货数量",
  8897. "type": "number"
  8898. },
  8899. "buyPlanQty": {
  8900. "description": "采购计划数量",
  8901. "type": "number"
  8902. },
  8903. "buyPricedQty": {
  8904. "description": "采购合同已定价数量",
  8905. "type": "number"
  8906. },
  8907. "middleGoodsCode": {
  8908. "description": "套保品种代码",
  8909. "type": "string"
  8910. },
  8911. "middleGoodsHedgeRatio": {
  8912. "description": "应套保比例",
  8913. "type": "number"
  8914. },
  8915. "middleGoodsID": {
  8916. "description": "套保品种",
  8917. "type": "integer"
  8918. },
  8919. "middleGoodsName": {
  8920. "description": "************以下需计算或非redis数据************//",
  8921. "type": "string"
  8922. },
  8923. "needHedgeExposoure": {
  8924. "description": "应套保敞口",
  8925. "type": "number"
  8926. },
  8927. "needHedgeRatio": {
  8928. "description": "应套保敞口比例",
  8929. "type": "number"
  8930. },
  8931. "oriBuyFutureQty": {
  8932. "description": "期初买入期货数量",
  8933. "type": "integer"
  8934. },
  8935. "oriBuyPlanQty": {
  8936. "description": "期初采购计划数量",
  8937. "type": "number"
  8938. },
  8939. "oriBuyPricedQty": {
  8940. "description": "期初采购合同已定价数量",
  8941. "type": "number"
  8942. },
  8943. "oriSellFutureQty": {
  8944. "description": "期初卖出期货数量",
  8945. "type": "integer"
  8946. },
  8947. "oriSellPlanQty": {
  8948. "description": "期初销售计划数量",
  8949. "type": "number"
  8950. },
  8951. "oriSellPricedQty": {
  8952. "description": "期初销售合同已定价数量",
  8953. "type": "number"
  8954. },
  8955. "oriTotalFutuQty": {
  8956. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  8957. "type": "integer"
  8958. },
  8959. "oriTotalSpotQty": {
  8960. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  8961. "type": "number"
  8962. },
  8963. "sellFutureQty": {
  8964. "description": "卖出期货数量",
  8965. "type": "number"
  8966. },
  8967. "sellPlanQty": {
  8968. "description": "销售计划数量",
  8969. "type": "number"
  8970. },
  8971. "sellPricedQty": {
  8972. "description": "销售合同已定价数量",
  8973. "type": "number"
  8974. },
  8975. "totalExposure": {
  8976. "description": "总敞口",
  8977. "type": "number"
  8978. },
  8979. "totalFutureQty": {
  8980. "description": "期货数量",
  8981. "type": "number"
  8982. },
  8983. "totalHedgeRatio": {
  8984. "description": "敞口比例",
  8985. "type": "number"
  8986. },
  8987. "totalNeedHedgeQty": {
  8988. "description": "期货应套保量",
  8989. "type": "number"
  8990. },
  8991. "totalSpotQty": {
  8992. "description": "现货数量",
  8993. "type": "number"
  8994. }
  8995. }
  8996. },
  8997. "models.ErmcpSpotContractModel": {
  8998. "type": "object",
  8999. "properties": {
  9000. "amount": {
  9001. "description": "金额 [1:一口价、3:暂定价]",
  9002. "type": "number"
  9003. },
  9004. "buyuserid": {
  9005. "description": "采购方ID",
  9006. "type": "integer"
  9007. },
  9008. "buyusername": {
  9009. "description": "采购方名称",
  9010. "type": "string"
  9011. },
  9012. "contracctstatus": {
  9013. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9014. "type": "integer"
  9015. },
  9016. "contractno": {
  9017. "description": "现货合同编号",
  9018. "type": "string"
  9019. },
  9020. "contracttype": {
  9021. "description": "现货合同类型 - 1:采购 -1:销售",
  9022. "type": "integer"
  9023. },
  9024. "convertfactor": {
  9025. "description": "标仓系数",
  9026. "type": "number"
  9027. },
  9028. "deliveryenddate": {
  9029. "description": "交收期(结束)",
  9030. "type": "string"
  9031. },
  9032. "deliverygoodscode": {
  9033. "description": "现货品种代码",
  9034. "type": "string"
  9035. },
  9036. "deliverygoodsid": {
  9037. "description": "现货品种ID",
  9038. "type": "integer"
  9039. },
  9040. "deliverygoodsname": {
  9041. "description": "现货品种名称",
  9042. "type": "string"
  9043. },
  9044. "deliverystartdate": {
  9045. "description": "交收期(开始)",
  9046. "type": "string"
  9047. },
  9048. "enddate": {
  9049. "description": "点价结束日期 [2:点价 3:暂定价]",
  9050. "type": "string"
  9051. },
  9052. "enumdicname": {
  9053. "description": "单位名称",
  9054. "type": "string"
  9055. },
  9056. "goodscode": {
  9057. "description": "点价合约代码",
  9058. "type": "string"
  9059. },
  9060. "goodsid": {
  9061. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  9062. "type": "integer"
  9063. },
  9064. "margin": {
  9065. "description": "当前保证金",
  9066. "type": "number"
  9067. },
  9068. "price": {
  9069. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  9070. "type": "number"
  9071. },
  9072. "pricemove": {
  9073. "description": "升贴水 [2:点价 3:暂定价]",
  9074. "type": "number"
  9075. },
  9076. "pricetype": {
  9077. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9078. "type": "integer"
  9079. },
  9080. "producttype": {
  9081. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9082. "type": "integer"
  9083. },
  9084. "qty": {
  9085. "description": "数量",
  9086. "type": "number"
  9087. },
  9088. "remark": {
  9089. "description": "备注",
  9090. "type": "string"
  9091. },
  9092. "selluserid": {
  9093. "description": "销售方ID",
  9094. "type": "integer"
  9095. },
  9096. "sellusername": {
  9097. "description": "销售方名称",
  9098. "type": "string"
  9099. },
  9100. "spotcontractid": {
  9101. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  9102. "type": "string"
  9103. },
  9104. "spotgoodsdesc": {
  9105. "description": "商品型号",
  9106. "type": "string"
  9107. },
  9108. "startdate": {
  9109. "description": "点价开始日期 [2:点价 3:暂定价]",
  9110. "type": "string"
  9111. },
  9112. "userid": {
  9113. "description": "机构ID",
  9114. "type": "integer"
  9115. }
  9116. }
  9117. },
  9118. "models.ErmcpUserModel": {
  9119. "type": "object",
  9120. "properties": {
  9121. "address": {
  9122. "description": "通讯地址",
  9123. "type": "string"
  9124. },
  9125. "attachment1": {
  9126. "description": "附件1",
  9127. "type": "string"
  9128. },
  9129. "cardfrontphotourl": {
  9130. "description": "证件正面图片地址",
  9131. "type": "string"
  9132. },
  9133. "cardnum": {
  9134. "description": "证件号码",
  9135. "type": "string"
  9136. },
  9137. "cardtype": {
  9138. "description": "证件类型",
  9139. "type": "integer"
  9140. },
  9141. "cardtypename": {
  9142. "description": "证件类型名称",
  9143. "type": "string"
  9144. },
  9145. "cityid": {
  9146. "description": "市",
  9147. "type": "integer"
  9148. },
  9149. "countryid": {
  9150. "description": "国家",
  9151. "type": "integer"
  9152. },
  9153. "customername": {
  9154. "description": "企业名称",
  9155. "type": "string"
  9156. },
  9157. "memberuserid": {
  9158. "description": "所属机构ID",
  9159. "type": "integer"
  9160. },
  9161. "mobile": {
  9162. "description": "手机号码",
  9163. "type": "string"
  9164. },
  9165. "provinceid": {
  9166. "description": "省",
  9167. "type": "integer"
  9168. },
  9169. "remark": {
  9170. "description": "备注",
  9171. "type": "string"
  9172. },
  9173. "status": {
  9174. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  9175. "type": "integer"
  9176. },
  9177. "statusdesc": {
  9178. "description": "账户状态中文描述",
  9179. "type": "string"
  9180. },
  9181. "telphone": {
  9182. "description": "联系电话",
  9183. "type": "string"
  9184. },
  9185. "userid": {
  9186. "description": "用户ID",
  9187. "type": "integer"
  9188. },
  9189. "userinfotype": {
  9190. "description": "客户类型",
  9191. "type": "string"
  9192. }
  9193. }
  9194. },
  9195. "models.ErmcpWrstandDetail": {
  9196. "type": "object",
  9197. "properties": {
  9198. "gbList": {
  9199. "description": "品牌列表",
  9200. "type": "array",
  9201. "items": {
  9202. "$ref": "#/definitions/models.GoodsBrand"
  9203. }
  9204. },
  9205. "gtList": {
  9206. "description": "型号列表",
  9207. "type": "array",
  9208. "items": {
  9209. "$ref": "#/definitions/models.GoodsTypeModel"
  9210. }
  9211. },
  9212. "wrd": {
  9213. "description": "基本信息",
  9214. "type": "object",
  9215. "$ref": "#/definitions/models.ErmcpWrstandard"
  9216. },
  9217. "wrsList": {
  9218. "description": "套保信息列表",
  9219. "type": "array",
  9220. "items": {
  9221. "$ref": "#/definitions/models.WRSConverTDetail"
  9222. }
  9223. }
  9224. }
  9225. },
  9226. "models.ErmcpWrstandard": {
  9227. "type": "object",
  9228. "properties": {
  9229. "areauserid": {
  9230. "description": "所属机构",
  9231. "type": "integer"
  9232. },
  9233. "createtime": {
  9234. "description": "创建时间",
  9235. "type": "string"
  9236. },
  9237. "creatorid": {
  9238. "description": "创建人",
  9239. "type": "integer"
  9240. },
  9241. "deliverygoodsid": {
  9242. "description": "品种ID",
  9243. "type": "integer"
  9244. },
  9245. "enumdicname": {
  9246. "description": "单位名称",
  9247. "type": "string"
  9248. },
  9249. "isvalid": {
  9250. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  9251. "type": "integer"
  9252. },
  9253. "minivalue": {
  9254. "description": "最小变动值",
  9255. "type": "integer"
  9256. },
  9257. "minivaluedp": {
  9258. "description": "最小变动值小数位",
  9259. "type": "integer"
  9260. },
  9261. "realminivalue": {
  9262. "description": "实际最小变动值",
  9263. "type": "integer"
  9264. },
  9265. "realminivaluedp": {
  9266. "description": "实际最小变动值小数位",
  9267. "type": "integer"
  9268. },
  9269. "remark": {
  9270. "description": "备注",
  9271. "type": "string"
  9272. },
  9273. "unitid": {
  9274. "description": "单位ID",
  9275. "type": "integer"
  9276. },
  9277. "updatetime": {
  9278. "description": "更新时间",
  9279. "type": "string"
  9280. },
  9281. "wrstandardcode": {
  9282. "description": "现货商品代码",
  9283. "type": "string"
  9284. },
  9285. "wrstandardid": {
  9286. "description": "现货商品ID(SEQ_WRSTANDARD)",
  9287. "type": "integer"
  9288. },
  9289. "wrstandardname": {
  9290. "description": "现货商品名称",
  9291. "type": "string"
  9292. }
  9293. }
  9294. },
  9295. "models.Goods": {
  9296. "type": "object",
  9297. "required": [
  9298. "goodscode",
  9299. "goodsid",
  9300. "goodsname",
  9301. "marketid"
  9302. ],
  9303. "properties": {
  9304. "agreeunit": {
  9305. "description": "合约单位",
  9306. "type": "number"
  9307. },
  9308. "auditaccountid": {
  9309. "description": "审核操作员账号",
  9310. "type": "integer"
  9311. },
  9312. "audittime": {
  9313. "description": "审核时间",
  9314. "type": "string"
  9315. },
  9316. "cancelaccountid": {
  9317. "description": "注销操作员账号",
  9318. "type": "integer"
  9319. },
  9320. "canceltime": {
  9321. "description": "注销时间",
  9322. "type": "string"
  9323. },
  9324. "closepricemode": {
  9325. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  9326. "type": "integer"
  9327. },
  9328. "closepriceparam": {
  9329. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  9330. "type": "number"
  9331. },
  9332. "createtime": {
  9333. "description": "创建时间",
  9334. "type": "string"
  9335. },
  9336. "creatorid": {
  9337. "description": "创建人",
  9338. "type": "integer"
  9339. },
  9340. "currencyid": {
  9341. "description": "报价货币ID",
  9342. "type": "integer"
  9343. },
  9344. "cutmode": {
  9345. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  9346. "type": "integer"
  9347. },
  9348. "decimalplace": {
  9349. "description": "报价小数位",
  9350. "type": "integer"
  9351. },
  9352. "delistingdate": {
  9353. "description": "商品退市时间(状态:退市) -- 已作废",
  9354. "type": "string"
  9355. },
  9356. "delistingmode": {
  9357. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  9358. "type": "integer"
  9359. },
  9360. "deliveryflag": {
  9361. "description": "交割标志 - 0:不可交割 1:可交割",
  9362. "type": "integer"
  9363. },
  9364. "forceclosemode": {
  9365. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  9366. "type": "integer"
  9367. },
  9368. "forceclosevalue": {
  9369. "description": "定期强平参数 [收益权]",
  9370. "type": "integer"
  9371. },
  9372. "goodscode": {
  9373. "description": "商品代码(内部)",
  9374. "type": "string"
  9375. },
  9376. "goodscurrencyid": {
  9377. "description": "合约货币ID",
  9378. "type": "integer"
  9379. },
  9380. "goodsgroupid": {
  9381. "description": "所属商品组ID",
  9382. "type": "integer"
  9383. },
  9384. "goodsid": {
  9385. "description": "商品ID(自增ID SEQ_GOODS)",
  9386. "type": "integer"
  9387. },
  9388. "goodsname": {
  9389. "description": "商品名称",
  9390. "type": "string"
  9391. },
  9392. "goodsquotetype": {
  9393. "description": "合约报价类型: 1-直接报价 2-间接报价",
  9394. "type": "integer"
  9395. },
  9396. "goodsstatus": {
  9397. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  9398. "type": "integer"
  9399. },
  9400. "goodstradetype": {
  9401. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  9402. "type": "integer"
  9403. },
  9404. "goodunitid": {
  9405. "description": "报价单位ID",
  9406. "type": "integer"
  9407. },
  9408. "hasquoter": {
  9409. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  9410. "type": "integer"
  9411. },
  9412. "hqprotecttime": {
  9413. "description": "行情保护时间(秒)",
  9414. "type": "integer"
  9415. },
  9416. "innerdealmode": {
  9417. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  9418. "type": "integer"
  9419. },
  9420. "isbuylimited": {
  9421. "description": "是否限制建仓量 - 0:不限制 1:限制",
  9422. "type": "integer"
  9423. },
  9424. "lasttradedate": {
  9425. "description": "最后交易日期(状态:待退市)",
  9426. "type": "string"
  9427. },
  9428. "listingdate": {
  9429. "description": "交易开始日期",
  9430. "type": "string"
  9431. },
  9432. "marketid": {
  9433. "description": "所属市场ID",
  9434. "type": "integer"
  9435. },
  9436. "modifierid": {
  9437. "description": "修改人",
  9438. "type": "integer"
  9439. },
  9440. "modifystatus": {
  9441. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  9442. "type": "integer"
  9443. },
  9444. "modifytime": {
  9445. "description": "修改时间",
  9446. "type": "string"
  9447. },
  9448. "outerdealmode": {
  9449. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  9450. "type": "integer"
  9451. },
  9452. "outgoodscode": {
  9453. "description": "商品代码(外部)",
  9454. "type": "string"
  9455. },
  9456. "qtydecimalplace": {
  9457. "description": "成交量小数位",
  9458. "type": "integer"
  9459. },
  9460. "quotegear": {
  9461. "description": "行情档位(1-10)",
  9462. "type": "integer"
  9463. },
  9464. "quoteminunit": {
  9465. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9466. "type": "integer"
  9467. },
  9468. "quoteshowtype": {
  9469. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  9470. "type": "integer"
  9471. },
  9472. "quoteshowtypeinterval": {
  9473. "description": "行情报价间隔时间(秒)(成交价时为0)",
  9474. "type": "integer"
  9475. },
  9476. "remark": {
  9477. "description": "备注",
  9478. "type": "string"
  9479. }
  9480. }
  9481. },
  9482. "models.GoodsBrand": {
  9483. "type": "object",
  9484. "properties": {
  9485. "brandid": {
  9486. "description": "品牌ID",
  9487. "type": "integer"
  9488. },
  9489. "brandname": {
  9490. "description": "品牌名称",
  9491. "type": "string"
  9492. },
  9493. "isvalid": {
  9494. "description": "是否有效 - 0:无效 1:有效",
  9495. "type": "integer"
  9496. }
  9497. }
  9498. },
  9499. "models.GoodsGroupConvert": {
  9500. "type": "object",
  9501. "properties": {
  9502. "convertratio": {
  9503. "description": "折算系数",
  9504. "type": "number"
  9505. },
  9506. "dstgoodsgroupid": {
  9507. "description": "目标期货品种ID",
  9508. "type": "integer"
  9509. },
  9510. "goodsgroupname": {
  9511. "description": "期货品种名称",
  9512. "type": "string"
  9513. },
  9514. "outergroupcode": {
  9515. "description": "期货品种代码",
  9516. "type": "string"
  9517. },
  9518. "srcgoodsgroupid": {
  9519. "description": "源期货品种ID",
  9520. "type": "integer"
  9521. }
  9522. }
  9523. },
  9524. "models.GoodsIDAndName": {
  9525. "type": "object",
  9526. "required": [
  9527. "goodscode",
  9528. "goodsid",
  9529. "goodsname",
  9530. "marketid"
  9531. ],
  9532. "properties": {
  9533. "goodscode": {
  9534. "description": "商品代码(内部)",
  9535. "type": "string"
  9536. },
  9537. "goodsid": {
  9538. "description": "商品ID(自增ID SEQ_GOODS)",
  9539. "type": "integer"
  9540. },
  9541. "goodsname": {
  9542. "description": "商品名称",
  9543. "type": "string"
  9544. },
  9545. "marketid": {
  9546. "description": "所属市场ID",
  9547. "type": "integer"
  9548. }
  9549. }
  9550. },
  9551. "models.GoodsTypeModel": {
  9552. "type": "object",
  9553. "properties": {
  9554. "modelid": {
  9555. "description": "型号ID",
  9556. "type": "integer"
  9557. },
  9558. "modelname": {
  9559. "description": "型号名称",
  9560. "type": "string"
  9561. },
  9562. "updatetime": {
  9563. "description": "更新时间",
  9564. "type": "string"
  9565. }
  9566. }
  9567. },
  9568. "models.HsbyBuyMyPayOrder": {
  9569. "type": "object",
  9570. "required": [
  9571. "goodscode",
  9572. "goodsname",
  9573. "tradeid",
  9574. "trademode"
  9575. ],
  9576. "properties": {
  9577. "agreeunit": {
  9578. "description": "合约单位",
  9579. "type": "number"
  9580. },
  9581. "buyaccountid": {
  9582. "description": "买方账号ID[报价币种]",
  9583. "type": "integer"
  9584. },
  9585. "buyorderid": {
  9586. "description": "买方委托单号",
  9587. "type": "string"
  9588. },
  9589. "createtime": {
  9590. "description": "创建时间",
  9591. "type": "string"
  9592. },
  9593. "currencysign": {
  9594. "description": "货币符号",
  9595. "type": "string"
  9596. },
  9597. "decimalplace": {
  9598. "description": "报价小数位",
  9599. "type": "integer"
  9600. },
  9601. "goodscode": {
  9602. "description": "商品代码(内部)",
  9603. "type": "string"
  9604. },
  9605. "goodsid": {
  9606. "description": "商品ID",
  9607. "type": "integer"
  9608. },
  9609. "goodsname": {
  9610. "description": "商品名称",
  9611. "type": "string"
  9612. },
  9613. "marketid": {
  9614. "description": "市场ID",
  9615. "type": "integer"
  9616. },
  9617. "offamount": {
  9618. "description": "优惠金额",
  9619. "type": "number"
  9620. },
  9621. "payamount": {
  9622. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  9623. "type": "number"
  9624. },
  9625. "payflag": {
  9626. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9627. "type": "integer"
  9628. },
  9629. "paylimitedtime": {
  9630. "description": "支付期限",
  9631. "type": "string"
  9632. },
  9633. "paytime": {
  9634. "description": "付款时间",
  9635. "type": "string"
  9636. },
  9637. "picurls1": {
  9638. "description": "预售商品介绍图片[多张用逗号分隔]",
  9639. "type": "string"
  9640. },
  9641. "picurls2": {
  9642. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  9643. "type": "string"
  9644. },
  9645. "sellaccountid": {
  9646. "description": "卖方账号ID[报价币种]",
  9647. "type": "integer"
  9648. },
  9649. "sellorderid": {
  9650. "description": "卖方委托单号",
  9651. "type": "string"
  9652. },
  9653. "tradeamount": {
  9654. "description": "成交金额",
  9655. "type": "number"
  9656. },
  9657. "tradecharge": {
  9658. "description": "成交手续费(买方)",
  9659. "type": "number"
  9660. },
  9661. "tradedate": {
  9662. "description": "交易日(yyyyMMdd)",
  9663. "type": "string"
  9664. },
  9665. "tradeid": {
  9666. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9667. "type": "string"
  9668. },
  9669. "trademode": {
  9670. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9671. "type": "integer"
  9672. },
  9673. "tradeprice": {
  9674. "description": "成交价格",
  9675. "type": "number"
  9676. },
  9677. "tradeqty": {
  9678. "description": "成交数量",
  9679. "type": "integer"
  9680. },
  9681. "vendorname1": {
  9682. "description": "预售商品供应商名称",
  9683. "type": "string"
  9684. },
  9685. "vendorname2": {
  9686. "description": "挂牌商品供应商名称",
  9687. "type": "string"
  9688. }
  9689. }
  9690. },
  9691. "models.HsbyBuyMyTradeDetail": {
  9692. "type": "object",
  9693. "required": [
  9694. "accountid",
  9695. "buyorsell",
  9696. "goodscode",
  9697. "goodsid",
  9698. "goodsname",
  9699. "marketid",
  9700. "orderid",
  9701. "qty",
  9702. "time",
  9703. "trademode"
  9704. ],
  9705. "properties": {
  9706. "accountid": {
  9707. "description": "账户ID[报价币种]",
  9708. "type": "integer"
  9709. },
  9710. "agreeunit": {
  9711. "description": "合约单位",
  9712. "type": "number"
  9713. },
  9714. "amount": {
  9715. "description": "金额 = 价格 * 数量 * 合约单位",
  9716. "type": "number"
  9717. },
  9718. "buyorsell": {
  9719. "description": "买卖 - 0:买 1:卖",
  9720. "type": "integer"
  9721. },
  9722. "currencysign": {
  9723. "description": "货币符号",
  9724. "type": "string"
  9725. },
  9726. "decimalplace": {
  9727. "description": "报价小数位",
  9728. "type": "integer"
  9729. },
  9730. "goodscode": {
  9731. "description": "商品代码(内部)",
  9732. "type": "string"
  9733. },
  9734. "goodsid": {
  9735. "description": "商品ID",
  9736. "type": "integer"
  9737. },
  9738. "goodsname": {
  9739. "description": "商品名称",
  9740. "type": "string"
  9741. },
  9742. "marketid": {
  9743. "description": "市场ID",
  9744. "type": "integer"
  9745. },
  9746. "orderid": {
  9747. "description": "单号(成交单号)",
  9748. "type": "string"
  9749. },
  9750. "picurls1": {
  9751. "description": "预售商品介绍图片[多张用逗号分隔]",
  9752. "type": "string"
  9753. },
  9754. "picurls2": {
  9755. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  9756. "type": "string"
  9757. },
  9758. "price": {
  9759. "description": "价格",
  9760. "type": "number"
  9761. },
  9762. "qty": {
  9763. "description": "数量",
  9764. "type": "integer"
  9765. },
  9766. "time": {
  9767. "description": "时间",
  9768. "type": "string"
  9769. },
  9770. "trademode": {
  9771. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9772. "type": "integer"
  9773. },
  9774. "vendorname1": {
  9775. "description": "预售商品供应商名称",
  9776. "type": "string"
  9777. },
  9778. "vendorname2": {
  9779. "description": "挂牌商品供应商名称",
  9780. "type": "string"
  9781. }
  9782. }
  9783. },
  9784. "models.HsbyGoodsOrderDetail": {
  9785. "type": "object",
  9786. "required": [
  9787. "buyorsell",
  9788. "orderid",
  9789. "ordertime"
  9790. ],
  9791. "properties": {
  9792. "buyorsell": {
  9793. "description": "买卖 - 0:买 1:卖",
  9794. "type": "integer"
  9795. },
  9796. "currencysign": {
  9797. "description": "货币符号",
  9798. "type": "string"
  9799. },
  9800. "customername": {
  9801. "description": "客户名称(企业名称),已脱敏",
  9802. "type": "string"
  9803. },
  9804. "enableqty": {
  9805. "description": "可用数量",
  9806. "type": "integer"
  9807. },
  9808. "goodunit": {
  9809. "description": "报价单位",
  9810. "type": "string"
  9811. },
  9812. "orderid": {
  9813. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9814. "type": "string"
  9815. },
  9816. "orderprice": {
  9817. "description": "委托价格",
  9818. "type": "number"
  9819. },
  9820. "ordertime": {
  9821. "description": "委托时间",
  9822. "type": "string"
  9823. }
  9824. }
  9825. },
  9826. "models.HsbyListingGoodsDetail": {
  9827. "type": "object",
  9828. "required": [
  9829. "goodscode",
  9830. "goodsid",
  9831. "goodsname",
  9832. "marketid",
  9833. "trademode"
  9834. ],
  9835. "properties": {
  9836. "agreeunit": {
  9837. "description": "合约单位",
  9838. "type": "number"
  9839. },
  9840. "buymaxqty": {
  9841. "description": "购买上限 [71] - 0为不限",
  9842. "type": "integer"
  9843. },
  9844. "currency": {
  9845. "description": "货币",
  9846. "type": "string"
  9847. },
  9848. "currencysign": {
  9849. "description": "货币符号",
  9850. "type": "string"
  9851. },
  9852. "decimalplace": {
  9853. "description": "报价小数位",
  9854. "type": "integer"
  9855. },
  9856. "desccityid": {
  9857. "description": "目的地(市)ID",
  9858. "type": "integer"
  9859. },
  9860. "descprovinceid": {
  9861. "description": "目的地(省)ID",
  9862. "type": "integer"
  9863. },
  9864. "goodscode": {
  9865. "description": "商品代码(内部)",
  9866. "type": "string"
  9867. },
  9868. "goodsdesc": {
  9869. "description": "商品详情",
  9870. "type": "string"
  9871. },
  9872. "goodsid": {
  9873. "description": "商品ID(自增ID SEQ_GOODS)",
  9874. "type": "integer"
  9875. },
  9876. "goodsname": {
  9877. "description": "商品名称",
  9878. "type": "string"
  9879. },
  9880. "goodsprice": {
  9881. "description": "商品价格",
  9882. "type": "number"
  9883. },
  9884. "hotindex": {
  9885. "description": "景点热度",
  9886. "type": "integer"
  9887. },
  9888. "last": {
  9889. "description": "现价",
  9890. "type": "number"
  9891. },
  9892. "limitdown": {
  9893. "description": "跌停价",
  9894. "type": "number"
  9895. },
  9896. "limitup": {
  9897. "description": "涨停价",
  9898. "type": "number"
  9899. },
  9900. "lotsize": {
  9901. "description": "手数最小变动单位",
  9902. "type": "integer"
  9903. },
  9904. "marketid": {
  9905. "description": "所属市场ID",
  9906. "type": "integer"
  9907. },
  9908. "picurls": {
  9909. "description": "介绍图片[多张用逗号分隔]",
  9910. "type": "string"
  9911. },
  9912. "quoteminunit": {
  9913. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9914. "type": "integer"
  9915. },
  9916. "stepvalue": {
  9917. "description": "价格最小变动单位",
  9918. "type": "number"
  9919. },
  9920. "trademode": {
  9921. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9922. "type": "integer"
  9923. },
  9924. "vendorattr": {
  9925. "description": "供应商附件(多张,逗号分隔)",
  9926. "type": "string"
  9927. },
  9928. "vendorname": {
  9929. "description": "供应商名称",
  9930. "type": "string"
  9931. },
  9932. "vendorphone": {
  9933. "description": "供应商客服电话",
  9934. "type": "string"
  9935. },
  9936. "videourls": {
  9937. "description": "介绍视频[多张用逗号分隔]",
  9938. "type": "string"
  9939. }
  9940. }
  9941. },
  9942. "models.HsbyMarketGoods": {
  9943. "type": "object",
  9944. "required": [
  9945. "accountid",
  9946. "buyorsell",
  9947. "goodscode",
  9948. "goodsid",
  9949. "goodsname",
  9950. "marketid",
  9951. "orderid",
  9952. "trademode"
  9953. ],
  9954. "properties": {
  9955. "accountid": {
  9956. "description": "账户ID[报价币种]",
  9957. "type": "integer"
  9958. },
  9959. "agreeunit": {
  9960. "description": "合约单位",
  9961. "type": "number"
  9962. },
  9963. "buyorsell": {
  9964. "description": "买卖 - 0:买 1:卖",
  9965. "type": "integer"
  9966. },
  9967. "categoryid": {
  9968. "description": "类别ID(WRCATEGORY)",
  9969. "type": "integer"
  9970. },
  9971. "currency": {
  9972. "description": "货币",
  9973. "type": "string"
  9974. },
  9975. "currencysign": {
  9976. "description": "货币符号",
  9977. "type": "string"
  9978. },
  9979. "customername": {
  9980. "description": "卖家名称",
  9981. "type": "string"
  9982. },
  9983. "decimalplace": {
  9984. "description": "报价小数位",
  9985. "type": "integer"
  9986. },
  9987. "goodscode": {
  9988. "description": "商品代码(内部)",
  9989. "type": "string"
  9990. },
  9991. "goodsid": {
  9992. "description": "商品ID",
  9993. "type": "integer"
  9994. },
  9995. "goodsname": {
  9996. "description": "商品名称",
  9997. "type": "string"
  9998. },
  9999. "goodsprice": {
  10000. "description": "商品价格",
  10001. "type": "number"
  10002. },
  10003. "hascoupon": {
  10004. "description": "是否可用优惠卷",
  10005. "type": "boolean"
  10006. },
  10007. "hotindex": {
  10008. "description": "景点热度",
  10009. "type": "integer"
  10010. },
  10011. "marketid": {
  10012. "description": "市场ID",
  10013. "type": "integer"
  10014. },
  10015. "orderid": {
  10016. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10017. "type": "string"
  10018. },
  10019. "orderprice": {
  10020. "description": "委托价格",
  10021. "type": "number"
  10022. },
  10023. "orderstatus": {
  10024. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10025. "type": "integer"
  10026. },
  10027. "picurls": {
  10028. "description": "介绍图片[多张用逗号分隔]",
  10029. "type": "string"
  10030. },
  10031. "quoteminunit": {
  10032. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10033. "type": "integer"
  10034. },
  10035. "sellUserID": {
  10036. "description": "卖方UserID",
  10037. "type": "integer"
  10038. },
  10039. "trademode": {
  10040. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10041. "type": "integer"
  10042. },
  10043. "videourls": {
  10044. "description": "介绍视频[多张用逗号分隔]",
  10045. "type": "string"
  10046. }
  10047. }
  10048. },
  10049. "models.HsbyMarketGoodsDetail": {
  10050. "type": "object",
  10051. "required": [
  10052. "accountid",
  10053. "buyorsell",
  10054. "goodscode",
  10055. "goodsid",
  10056. "goodsname",
  10057. "marketid",
  10058. "orderid",
  10059. "orderqty",
  10060. "trademode"
  10061. ],
  10062. "properties": {
  10063. "accountid": {
  10064. "description": "账户ID[报价币种]",
  10065. "type": "integer"
  10066. },
  10067. "agreeunit": {
  10068. "description": "合约单位",
  10069. "type": "number"
  10070. },
  10071. "buymaxqty": {
  10072. "description": "购买上限 [71] - 0为不限",
  10073. "type": "integer"
  10074. },
  10075. "buyorsell": {
  10076. "description": "买卖 - 0:买 1:卖",
  10077. "type": "integer"
  10078. },
  10079. "cancelqty": {
  10080. "description": "撤单数量",
  10081. "type": "integer"
  10082. },
  10083. "categoryid": {
  10084. "description": "类别ID(WRCATEGORY)",
  10085. "type": "integer"
  10086. },
  10087. "currency": {
  10088. "description": "货币",
  10089. "type": "string"
  10090. },
  10091. "currencysign": {
  10092. "description": "货币符号",
  10093. "type": "string"
  10094. },
  10095. "customername": {
  10096. "description": "卖家名称",
  10097. "type": "string"
  10098. },
  10099. "decimalplace": {
  10100. "description": "报价小数位",
  10101. "type": "integer"
  10102. },
  10103. "goodscode": {
  10104. "description": "商品代码(内部)",
  10105. "type": "string"
  10106. },
  10107. "goodsdesc": {
  10108. "description": "商品详情",
  10109. "type": "string"
  10110. },
  10111. "goodsid": {
  10112. "description": "商品ID",
  10113. "type": "integer"
  10114. },
  10115. "goodsname": {
  10116. "description": "商品名称",
  10117. "type": "string"
  10118. },
  10119. "goodsprice": {
  10120. "description": "商品价格",
  10121. "type": "number"
  10122. },
  10123. "hotindex": {
  10124. "description": "景点热度",
  10125. "type": "integer"
  10126. },
  10127. "lotsize": {
  10128. "description": "手数最小变动单位",
  10129. "type": "integer"
  10130. },
  10131. "marketid": {
  10132. "description": "市场ID",
  10133. "type": "integer"
  10134. },
  10135. "orderid": {
  10136. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10137. "type": "string"
  10138. },
  10139. "orderprice": {
  10140. "description": "委托价格",
  10141. "type": "number"
  10142. },
  10143. "orderqty": {
  10144. "description": "委托数量",
  10145. "type": "integer"
  10146. },
  10147. "orderstatus": {
  10148. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10149. "type": "integer"
  10150. },
  10151. "picurls": {
  10152. "description": "介绍图片[多张用逗号分隔]",
  10153. "type": "string"
  10154. },
  10155. "quoteminunit": {
  10156. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10157. "type": "integer"
  10158. },
  10159. "sellUserID": {
  10160. "description": "卖方UserID",
  10161. "type": "integer"
  10162. },
  10163. "trademode": {
  10164. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10165. "type": "integer"
  10166. },
  10167. "tradeqty": {
  10168. "description": "成交数量",
  10169. "type": "integer"
  10170. },
  10171. "vendorattr": {
  10172. "description": "供应商附件(多张,逗号分隔)",
  10173. "type": "string"
  10174. },
  10175. "vendorname": {
  10176. "description": "供应商名称",
  10177. "type": "string"
  10178. },
  10179. "vendorphone": {
  10180. "description": "供应商客服电话",
  10181. "type": "string"
  10182. },
  10183. "videourls": {
  10184. "description": "介绍视频[多张用逗号分隔]",
  10185. "type": "string"
  10186. }
  10187. }
  10188. },
  10189. "models.HsbyMarketInfo": {
  10190. "type": "object",
  10191. "required": [
  10192. "marketid",
  10193. "marketstatus",
  10194. "trademode"
  10195. ],
  10196. "properties": {
  10197. "marketid": {
  10198. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  10199. "type": "integer"
  10200. },
  10201. "marketname": {
  10202. "description": "市场名称",
  10203. "type": "string"
  10204. },
  10205. "marketstatus": {
  10206. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  10207. "type": "integer"
  10208. },
  10209. "trademode": {
  10210. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10211. "type": "integer"
  10212. }
  10213. }
  10214. },
  10215. "models.HsbyMyGoods": {
  10216. "type": "object",
  10217. "required": [
  10218. "accountid",
  10219. "goodscode",
  10220. "goodsid",
  10221. "goodsname",
  10222. "marketid",
  10223. "trademode"
  10224. ],
  10225. "properties": {
  10226. "accountid": {
  10227. "description": "账号Id",
  10228. "type": "integer"
  10229. },
  10230. "agreeunit": {
  10231. "description": "合约单位",
  10232. "type": "number"
  10233. },
  10234. "buyaverageprice": {
  10235. "description": "持仓均价",
  10236. "type": "number"
  10237. },
  10238. "buycurholderamount": {
  10239. "description": "买当前持仓总金额[商品币种]",
  10240. "type": "number"
  10241. },
  10242. "buycurpositionqty": {
  10243. "description": "买当前持仓总数量",
  10244. "type": "integer"
  10245. },
  10246. "buymaxqty": {
  10247. "description": "购买上限 [71] - 0为不限",
  10248. "type": "integer"
  10249. },
  10250. "currencysign": {
  10251. "description": "货币符号",
  10252. "type": "string"
  10253. },
  10254. "decimalplace": {
  10255. "description": "报价小数位",
  10256. "type": "integer"
  10257. },
  10258. "enableqty": {
  10259. "description": "可用数量",
  10260. "type": "integer"
  10261. },
  10262. "goodscode": {
  10263. "description": "商品代码(内部)",
  10264. "type": "string"
  10265. },
  10266. "goodsid": {
  10267. "description": "商品Id",
  10268. "type": "integer"
  10269. },
  10270. "goodsname": {
  10271. "description": "商品名称",
  10272. "type": "string"
  10273. },
  10274. "goodsprice": {
  10275. "description": "商品价格",
  10276. "type": "number"
  10277. },
  10278. "goodsstatus": {
  10279. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  10280. "type": "integer"
  10281. },
  10282. "last": {
  10283. "description": "现价(仅使用于挂牌点选)",
  10284. "type": "number"
  10285. },
  10286. "limitdown": {
  10287. "description": "跌停价(仅使用于挂牌点选)",
  10288. "type": "number"
  10289. },
  10290. "limitup": {
  10291. "description": "涨停价(仅使用于挂牌点选)",
  10292. "type": "number"
  10293. },
  10294. "lotsize": {
  10295. "description": "手数最小变动单位",
  10296. "type": "integer"
  10297. },
  10298. "marketid": {
  10299. "description": "所属市场ID",
  10300. "type": "integer"
  10301. },
  10302. "picurls": {
  10303. "description": "介绍图片[多张用逗号分隔]",
  10304. "type": "string"
  10305. },
  10306. "quoteminunit": {
  10307. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10308. "type": "integer"
  10309. },
  10310. "stepvalue": {
  10311. "description": "价格最小变动单位",
  10312. "type": "number"
  10313. },
  10314. "trademode": {
  10315. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10316. "type": "integer"
  10317. }
  10318. }
  10319. },
  10320. "models.HsbyMyPackage": {
  10321. "type": "object",
  10322. "required": [
  10323. "goodscode",
  10324. "goodsname",
  10325. "takeorderid",
  10326. "trademode"
  10327. ],
  10328. "properties": {
  10329. "accountid": {
  10330. "description": "账户ID",
  10331. "type": "integer"
  10332. },
  10333. "address": {
  10334. "description": "提货人详细地址",
  10335. "type": "string"
  10336. },
  10337. "agreeunit": {
  10338. "description": "合约单位",
  10339. "type": "number"
  10340. },
  10341. "amount": {
  10342. "description": "提货金额",
  10343. "type": "number"
  10344. },
  10345. "auditer": {
  10346. "description": "审核人",
  10347. "type": "integer"
  10348. },
  10349. "audittime": {
  10350. "description": "审核时间",
  10351. "type": "string"
  10352. },
  10353. "averageprice": {
  10354. "description": "均价",
  10355. "type": "number"
  10356. },
  10357. "cardnum": {
  10358. "description": "提货人证件号码",
  10359. "type": "string"
  10360. },
  10361. "cardtypeid": {
  10362. "description": "提货人证件类型",
  10363. "type": "integer"
  10364. },
  10365. "checkremark": {
  10366. "description": "审核备注",
  10367. "type": "string"
  10368. },
  10369. "currencysign": {
  10370. "description": "货币符号",
  10371. "type": "string"
  10372. },
  10373. "decimalplace": {
  10374. "description": "报价小数位",
  10375. "type": "integer"
  10376. },
  10377. "goodscode": {
  10378. "description": "商品代码(内部)",
  10379. "type": "string"
  10380. },
  10381. "goodsid": {
  10382. "description": "商品ID",
  10383. "type": "integer"
  10384. },
  10385. "goodsname": {
  10386. "description": "商品名称",
  10387. "type": "string"
  10388. },
  10389. "handlestatus": {
  10390. "description": "处理状态",
  10391. "type": "integer"
  10392. },
  10393. "marketid": {
  10394. "description": "市场ID",
  10395. "type": "integer"
  10396. },
  10397. "phonenum": {
  10398. "description": "提货人联系方式",
  10399. "type": "string"
  10400. },
  10401. "picurls": {
  10402. "description": "介绍图片[多张用逗号分隔]",
  10403. "type": "string"
  10404. },
  10405. "qty": {
  10406. "description": "提货数量",
  10407. "type": "number"
  10408. },
  10409. "recivername": {
  10410. "description": "提货人姓名",
  10411. "type": "string"
  10412. },
  10413. "reqtime": {
  10414. "description": "更新时间",
  10415. "type": "string"
  10416. },
  10417. "takemode": {
  10418. "description": "提货方式 - 2:自提 3:配送",
  10419. "type": "integer"
  10420. },
  10421. "takeorderid": {
  10422. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  10423. "type": "string"
  10424. },
  10425. "takeorderstatus": {
  10426. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10427. "type": "integer"
  10428. },
  10429. "takeremark": {
  10430. "description": "提货备注",
  10431. "type": "string"
  10432. },
  10433. "tradedate": {
  10434. "description": "交易日(yyyyMMdd)",
  10435. "type": "string"
  10436. },
  10437. "trademode": {
  10438. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10439. "type": "integer"
  10440. },
  10441. "userid": {
  10442. "description": "用户ID",
  10443. "type": "integer"
  10444. },
  10445. "vendorname": {
  10446. "description": "供应商名称",
  10447. "type": "string"
  10448. }
  10449. }
  10450. },
  10451. "models.HsbyPreGoods": {
  10452. "type": "object",
  10453. "required": [
  10454. "goodscode",
  10455. "goodsid",
  10456. "goodsname",
  10457. "marketid",
  10458. "trademode"
  10459. ],
  10460. "properties": {
  10461. "agreeunit": {
  10462. "description": "合约单位",
  10463. "type": "number"
  10464. },
  10465. "currency": {
  10466. "description": "货币",
  10467. "type": "string"
  10468. },
  10469. "currencysign": {
  10470. "description": "货币符号",
  10471. "type": "string"
  10472. },
  10473. "decimalplace": {
  10474. "description": "报价小数位",
  10475. "type": "integer"
  10476. },
  10477. "enableqty": {
  10478. "description": "剩余数量",
  10479. "type": "integer"
  10480. },
  10481. "goodscode": {
  10482. "description": "商品代码(内部)",
  10483. "type": "string"
  10484. },
  10485. "goodsid": {
  10486. "description": "商品ID(自增ID SEQ_GOODS)",
  10487. "type": "integer"
  10488. },
  10489. "goodsname": {
  10490. "description": "商品名称",
  10491. "type": "string"
  10492. },
  10493. "goodsstatus": {
  10494. "description": "商品状态- 2:未上市 3:上市",
  10495. "type": "integer"
  10496. },
  10497. "lasttradedate": {
  10498. "description": "最后交易日期(状态:待退市)",
  10499. "type": "string"
  10500. },
  10501. "listingdate": {
  10502. "description": "交易开始日期",
  10503. "type": "string"
  10504. },
  10505. "marketid": {
  10506. "description": "所属市场ID",
  10507. "type": "integer"
  10508. },
  10509. "picurls": {
  10510. "description": "介绍图片[多张用逗号分隔]",
  10511. "type": "string"
  10512. },
  10513. "presaledqty": {
  10514. "description": "已预售量(预售结束时更新)",
  10515. "type": "integer"
  10516. },
  10517. "presaleqty": {
  10518. "description": "预售数量",
  10519. "type": "integer"
  10520. },
  10521. "quoteminunit": {
  10522. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10523. "type": "integer"
  10524. },
  10525. "refprice": {
  10526. "description": "参考价格[一口价]",
  10527. "type": "number"
  10528. },
  10529. "relatedgoodsid": {
  10530. "description": "关联交易合约ID",
  10531. "type": "integer"
  10532. },
  10533. "trademode": {
  10534. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10535. "type": "integer"
  10536. },
  10537. "videourls": {
  10538. "description": "介绍视频[多张用逗号分隔]",
  10539. "type": "string"
  10540. }
  10541. }
  10542. },
  10543. "models.HsbyPreGoodsDetail": {
  10544. "type": "object",
  10545. "required": [
  10546. "goodscode",
  10547. "goodsid",
  10548. "goodsname",
  10549. "marketid",
  10550. "trademode"
  10551. ],
  10552. "properties": {
  10553. "agreeunit": {
  10554. "description": "合约单位",
  10555. "type": "number"
  10556. },
  10557. "buymaxqty": {
  10558. "description": "购买上限 [71] - 0为不限",
  10559. "type": "integer"
  10560. },
  10561. "currency": {
  10562. "description": "货币",
  10563. "type": "string"
  10564. },
  10565. "currencysign": {
  10566. "description": "货币符号",
  10567. "type": "string"
  10568. },
  10569. "customername": {
  10570. "description": "发行单位",
  10571. "type": "string"
  10572. },
  10573. "decimalplace": {
  10574. "description": "报价小数位",
  10575. "type": "integer"
  10576. },
  10577. "desccityid": {
  10578. "description": "目的地(市)ID",
  10579. "type": "integer"
  10580. },
  10581. "descprovinceid": {
  10582. "description": "目的地(省)ID",
  10583. "type": "integer"
  10584. },
  10585. "enableqty": {
  10586. "description": "剩余数量",
  10587. "type": "integer"
  10588. },
  10589. "goodscode": {
  10590. "description": "商品代码(内部)",
  10591. "type": "string"
  10592. },
  10593. "goodsdesc": {
  10594. "description": "商品详情",
  10595. "type": "string"
  10596. },
  10597. "goodsid": {
  10598. "description": "商品ID(自增ID SEQ_GOODS)",
  10599. "type": "integer"
  10600. },
  10601. "goodsname": {
  10602. "description": "商品名称",
  10603. "type": "string"
  10604. },
  10605. "goodsstatus": {
  10606. "description": "商品状态- 2:未上市 3:上市",
  10607. "type": "integer"
  10608. },
  10609. "goodunit": {
  10610. "description": "报价单位",
  10611. "type": "string"
  10612. },
  10613. "lasttradedate": {
  10614. "description": "最后交易日期(状态:待退市)",
  10615. "type": "string"
  10616. },
  10617. "listingdate": {
  10618. "description": "交易开始日期",
  10619. "type": "string"
  10620. },
  10621. "lotsize": {
  10622. "description": "手数最小变动单位",
  10623. "type": "integer"
  10624. },
  10625. "marketid": {
  10626. "description": "所属市场ID",
  10627. "type": "integer"
  10628. },
  10629. "picurls": {
  10630. "description": "介绍图片[多张用逗号分隔]",
  10631. "type": "string"
  10632. },
  10633. "presaledqty": {
  10634. "description": "已预售量(预售结束时更新)",
  10635. "type": "integer"
  10636. },
  10637. "presaleqty": {
  10638. "description": "预售数量",
  10639. "type": "integer"
  10640. },
  10641. "quoteminunit": {
  10642. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10643. "type": "integer"
  10644. },
  10645. "refprice": {
  10646. "description": "参考价格[一口价]",
  10647. "type": "number"
  10648. },
  10649. "relatedgoodsid": {
  10650. "description": "关联交易合约ID",
  10651. "type": "integer"
  10652. },
  10653. "stepvalue": {
  10654. "description": "价格最小变动单位",
  10655. "type": "number"
  10656. },
  10657. "trademode": {
  10658. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10659. "type": "integer"
  10660. },
  10661. "vendorattr": {
  10662. "description": "供应商附件(多张,逗号分隔)",
  10663. "type": "string"
  10664. },
  10665. "vendorname": {
  10666. "description": "供应商名称",
  10667. "type": "string"
  10668. },
  10669. "vendorphone": {
  10670. "description": "供应商客服电话",
  10671. "type": "string"
  10672. },
  10673. "videourls": {
  10674. "description": "介绍视频[多张用逗号分隔]",
  10675. "type": "string"
  10676. }
  10677. }
  10678. },
  10679. "models.HsbySellCollectionOrder": {
  10680. "type": "object",
  10681. "required": [
  10682. "goodscode",
  10683. "goodsname",
  10684. "tradeid",
  10685. "trademode"
  10686. ],
  10687. "properties": {
  10688. "agreeunit": {
  10689. "description": "合约单位",
  10690. "type": "number"
  10691. },
  10692. "buyaccountid": {
  10693. "description": "买方账号ID[报价币种]",
  10694. "type": "integer"
  10695. },
  10696. "buyorderid": {
  10697. "description": "买方委托单号",
  10698. "type": "string"
  10699. },
  10700. "createtime": {
  10701. "description": "创建时间",
  10702. "type": "string"
  10703. },
  10704. "currencysign": {
  10705. "description": "货币符号",
  10706. "type": "string"
  10707. },
  10708. "decimalplace": {
  10709. "description": "报价小数位",
  10710. "type": "integer"
  10711. },
  10712. "goodscode": {
  10713. "description": "商品代码(内部)",
  10714. "type": "string"
  10715. },
  10716. "goodsid": {
  10717. "description": "商品ID",
  10718. "type": "integer"
  10719. },
  10720. "goodsname": {
  10721. "description": "商品名称",
  10722. "type": "string"
  10723. },
  10724. "marketid": {
  10725. "description": "市场ID",
  10726. "type": "integer"
  10727. },
  10728. "offamount": {
  10729. "description": "优惠金额",
  10730. "type": "number"
  10731. },
  10732. "payamount": {
  10733. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  10734. "type": "number"
  10735. },
  10736. "payflag": {
  10737. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  10738. "type": "integer"
  10739. },
  10740. "paylimitedtime": {
  10741. "description": "支付期限",
  10742. "type": "string"
  10743. },
  10744. "paytime": {
  10745. "description": "付款时间",
  10746. "type": "string"
  10747. },
  10748. "picurls": {
  10749. "description": "商品介绍图片[多张用逗号分隔]",
  10750. "type": "string"
  10751. },
  10752. "sellaccountid": {
  10753. "description": "卖方账号ID[报价币种]",
  10754. "type": "integer"
  10755. },
  10756. "sellorderid": {
  10757. "description": "卖方委托单号",
  10758. "type": "string"
  10759. },
  10760. "tradeamount": {
  10761. "description": "成交金额",
  10762. "type": "number"
  10763. },
  10764. "tradecharge": {
  10765. "description": "成交手续费(买方)",
  10766. "type": "number"
  10767. },
  10768. "tradedate": {
  10769. "description": "交易日(yyyyMMdd)",
  10770. "type": "string"
  10771. },
  10772. "tradeid": {
  10773. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10774. "type": "string"
  10775. },
  10776. "trademode": {
  10777. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10778. "type": "integer"
  10779. },
  10780. "tradeprice": {
  10781. "description": "成交价格",
  10782. "type": "number"
  10783. },
  10784. "tradeqty": {
  10785. "description": "成交数量",
  10786. "type": "integer"
  10787. }
  10788. }
  10789. },
  10790. "models.HsbySellMyDetail": {
  10791. "type": "object",
  10792. "required": [
  10793. "accountid",
  10794. "buyorsell",
  10795. "goodscode",
  10796. "goodsid",
  10797. "goodsname",
  10798. "marketid",
  10799. "orderid",
  10800. "time",
  10801. "trademode"
  10802. ],
  10803. "properties": {
  10804. "accountid": {
  10805. "description": "账户ID[报价币种]",
  10806. "type": "integer"
  10807. },
  10808. "agreeunit": {
  10809. "description": "合约单位",
  10810. "type": "number"
  10811. },
  10812. "buyorsell": {
  10813. "description": "买卖 - 0:买 1:卖",
  10814. "type": "integer"
  10815. },
  10816. "currencysign": {
  10817. "description": "货币符号",
  10818. "type": "string"
  10819. },
  10820. "decimalplace": {
  10821. "description": "报价小数位",
  10822. "type": "integer"
  10823. },
  10824. "goodscode": {
  10825. "description": "商品代码(内部)",
  10826. "type": "string"
  10827. },
  10828. "goodsid": {
  10829. "description": "商品ID",
  10830. "type": "integer"
  10831. },
  10832. "goodsname": {
  10833. "description": "商品名称",
  10834. "type": "string"
  10835. },
  10836. "marketid": {
  10837. "description": "市场ID",
  10838. "type": "integer"
  10839. },
  10840. "orderid": {
  10841. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  10842. "type": "string"
  10843. },
  10844. "ordertype": {
  10845. "description": "单据类型:0 - 发布中, 1 - 已完成",
  10846. "type": "integer"
  10847. },
  10848. "picurls": {
  10849. "description": "介绍图片[多张用逗号分隔]",
  10850. "type": "string"
  10851. },
  10852. "price": {
  10853. "description": "价格",
  10854. "type": "number"
  10855. },
  10856. "qty": {
  10857. "description": "数量",
  10858. "type": "integer"
  10859. },
  10860. "time": {
  10861. "description": "时间",
  10862. "type": "string"
  10863. },
  10864. "trademode": {
  10865. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10866. "type": "integer"
  10867. },
  10868. "vendorname": {
  10869. "description": "供应商名称",
  10870. "type": "string"
  10871. }
  10872. }
  10873. },
  10874. "models.HsbyTopGoods": {
  10875. "type": "object",
  10876. "required": [
  10877. "goodscode",
  10878. "goodsid",
  10879. "goodsname",
  10880. "marketid",
  10881. "trademode"
  10882. ],
  10883. "properties": {
  10884. "agreeunit": {
  10885. "description": "合约单位",
  10886. "type": "number"
  10887. },
  10888. "currency": {
  10889. "description": "货币",
  10890. "type": "string"
  10891. },
  10892. "currencysign": {
  10893. "description": "货币符号",
  10894. "type": "string"
  10895. },
  10896. "decimalplace": {
  10897. "description": "报价小数位",
  10898. "type": "integer"
  10899. },
  10900. "goodscode": {
  10901. "description": "商品代码(内部)",
  10902. "type": "string"
  10903. },
  10904. "goodsid": {
  10905. "description": "商品ID(自增ID SEQ_GOODS)",
  10906. "type": "integer"
  10907. },
  10908. "goodsname": {
  10909. "description": "商品名称",
  10910. "type": "string"
  10911. },
  10912. "hotindex": {
  10913. "description": "景点热度",
  10914. "type": "integer"
  10915. },
  10916. "last": {
  10917. "description": "现价",
  10918. "type": "number"
  10919. },
  10920. "marketid": {
  10921. "description": "所属市场ID",
  10922. "type": "integer"
  10923. },
  10924. "picurls": {
  10925. "description": "介绍图片[多张用逗号分隔]",
  10926. "type": "string"
  10927. },
  10928. "quoteminunit": {
  10929. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10930. "type": "integer"
  10931. },
  10932. "trademode": {
  10933. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10934. "type": "integer"
  10935. },
  10936. "videourls": {
  10937. "description": "介绍视频[多张用逗号分隔]",
  10938. "type": "string"
  10939. }
  10940. }
  10941. },
  10942. "models.HybsMyBuyOrderDetail": {
  10943. "type": "object",
  10944. "required": [
  10945. "accountid",
  10946. "buyorsell",
  10947. "goodscode",
  10948. "goodsid",
  10949. "goodsname",
  10950. "marketid",
  10951. "orderid",
  10952. "orderqty",
  10953. "ordertime",
  10954. "trademode"
  10955. ],
  10956. "properties": {
  10957. "accountid": {
  10958. "description": "账户ID[报价币种]",
  10959. "type": "integer"
  10960. },
  10961. "agreeunit": {
  10962. "description": "合约单位",
  10963. "type": "number"
  10964. },
  10965. "buyorsell": {
  10966. "description": "买卖 - 0:买 1:卖",
  10967. "type": "integer"
  10968. },
  10969. "cancelqty": {
  10970. "description": "撤单数量",
  10971. "type": "integer"
  10972. },
  10973. "currencysign": {
  10974. "description": "货币符号",
  10975. "type": "string"
  10976. },
  10977. "decimalplace": {
  10978. "description": "报价小数位",
  10979. "type": "integer"
  10980. },
  10981. "goodscode": {
  10982. "description": "商品代码(内部)",
  10983. "type": "string"
  10984. },
  10985. "goodsid": {
  10986. "description": "商品ID",
  10987. "type": "integer"
  10988. },
  10989. "goodsname": {
  10990. "description": "商品名称",
  10991. "type": "string"
  10992. },
  10993. "listingselecttype": {
  10994. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10995. "type": "integer"
  10996. },
  10997. "marketid": {
  10998. "description": "市场ID",
  10999. "type": "integer"
  11000. },
  11001. "mybuystatus": {
  11002. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  11003. "type": "integer"
  11004. },
  11005. "orderamount": {
  11006. "description": "委托金额",
  11007. "type": "number"
  11008. },
  11009. "orderid": {
  11010. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11011. "type": "string"
  11012. },
  11013. "orderprice": {
  11014. "description": "委托价格",
  11015. "type": "number"
  11016. },
  11017. "orderqty": {
  11018. "description": "委托数量",
  11019. "type": "integer"
  11020. },
  11021. "orderstatus": {
  11022. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11023. "type": "integer"
  11024. },
  11025. "ordertime": {
  11026. "description": "委托时间",
  11027. "type": "string"
  11028. },
  11029. "picurls1": {
  11030. "description": "预售商品介绍图片[多张用逗号分隔]",
  11031. "type": "string"
  11032. },
  11033. "picurls2": {
  11034. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  11035. "type": "string"
  11036. },
  11037. "trademode": {
  11038. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11039. "type": "integer"
  11040. },
  11041. "tradeqty": {
  11042. "description": "成交数量",
  11043. "type": "integer"
  11044. },
  11045. "vendorname1": {
  11046. "description": "预售商品供应商名称",
  11047. "type": "string"
  11048. },
  11049. "vendorname2": {
  11050. "description": "挂牌商品供应商名称",
  11051. "type": "string"
  11052. }
  11053. }
  11054. },
  11055. "models.Market": {
  11056. "type": "object",
  11057. "required": [
  11058. "marketid",
  11059. "marketstatus",
  11060. "openmethod",
  11061. "reckonpricealgorithm",
  11062. "trademode",
  11063. "tradeproperty"
  11064. ],
  11065. "properties": {
  11066. "auctionwrtype": {
  11067. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  11068. "type": "integer"
  11069. },
  11070. "canacceptquote": {
  11071. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  11072. "type": "integer"
  11073. },
  11074. "cangoodsexercise": {
  11075. "description": "[期权]是否可现货行权- 0:否 1:是",
  11076. "type": "integer"
  11077. },
  11078. "cangoodsexercisetype": {
  11079. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  11080. "type": "integer"
  11081. },
  11082. "canmanualquotestrike": {
  11083. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  11084. "type": "integer"
  11085. },
  11086. "canmutistage": {
  11087. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  11088. "type": "integer"
  11089. },
  11090. "canpreexercise": {
  11091. "description": "[期权]是否可预申报- 0:否 1:是",
  11092. "type": "integer"
  11093. },
  11094. "clearinterval": {
  11095. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  11096. "type": "integer"
  11097. },
  11098. "contracttmp": {
  11099. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  11100. "type": "string"
  11101. },
  11102. "exchareaid": {
  11103. "description": "所属交易所,可以没有",
  11104. "type": "integer"
  11105. },
  11106. "goodstype": {
  11107. "description": "商品类型 - 1:交易商品 2:仓单商品",
  11108. "type": "integer"
  11109. },
  11110. "hasrebate": {
  11111. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  11112. "type": "integer"
  11113. },
  11114. "hastradecredit": {
  11115. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  11116. "type": "integer"
  11117. },
  11118. "haswr": {
  11119. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  11120. "type": "integer"
  11121. },
  11122. "isdeductmargin": {
  11123. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  11124. "type": "integer"
  11125. },
  11126. "isrecordsource": {
  11127. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  11128. "type": "integer"
  11129. },
  11130. "isreleasemargin": {
  11131. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  11132. "type": "integer"
  11133. },
  11134. "marginformula": {
  11135. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  11136. "type": "integer"
  11137. },
  11138. "marginformula2": {
  11139. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  11140. "type": "integer"
  11141. },
  11142. "marketid": {
  11143. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  11144. "type": "integer"
  11145. },
  11146. "marketname": {
  11147. "description": "市场名称",
  11148. "type": "string"
  11149. },
  11150. "marketserviceid": {
  11151. "description": "市场服务ID",
  11152. "type": "integer"
  11153. },
  11154. "marketstatus": {
  11155. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  11156. "type": "integer"
  11157. },
  11158. "markettype": {
  11159. "description": "市场类型- 1:非交易服务 2:交易服务",
  11160. "type": "integer"
  11161. },
  11162. "matchermode": {
  11163. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  11164. "type": "integer"
  11165. },
  11166. "openmethod": {
  11167. "description": "开盘模式 - 0 自动 1手动",
  11168. "type": "integer"
  11169. },
  11170. "otcuserid": {
  11171. "description": "场外期权做市商[场外期权]",
  11172. "type": "integer"
  11173. },
  11174. "outersynctime": {
  11175. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  11176. "type": "string"
  11177. },
  11178. "pendingflag": {
  11179. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  11180. "type": "integer"
  11181. },
  11182. "pendingtime": {
  11183. "description": "待开市时间[通道交易-对冲](HH:mm)",
  11184. "type": "string"
  11185. },
  11186. "performancetempid": {
  11187. "description": "履约计划模板ID - 作废",
  11188. "type": "integer"
  11189. },
  11190. "premiumquotemode": {
  11191. "description": "权利金报价方式 - 1:自动 2:手动",
  11192. "type": "integer"
  11193. },
  11194. "rebateratio": {
  11195. "description": "返利比率[竞价式]",
  11196. "type": "number"
  11197. },
  11198. "reckonorder": {
  11199. "description": "结算顺序",
  11200. "type": "integer"
  11201. },
  11202. "reckonpricealgorithm": {
  11203. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  11204. "type": "integer"
  11205. },
  11206. "reckonpriceparam": {
  11207. "description": "结算价参数",
  11208. "type": "integer"
  11209. },
  11210. "reckontime": {
  11211. "description": "结算时间[通道交易-对冲](HH:mm)",
  11212. "type": "string"
  11213. },
  11214. "roleprioritytype": {
  11215. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  11216. "type": "integer"
  11217. },
  11218. "selllistingauditflag": {
  11219. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  11220. "type": "integer"
  11221. },
  11222. "trademarkettype": {
  11223. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  11224. "type": "integer"
  11225. },
  11226. "trademode": {
  11227. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11228. "type": "integer"
  11229. },
  11230. "tradeproperty": {
  11231. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  11232. "type": "integer"
  11233. },
  11234. "tradetype": {
  11235. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  11236. "type": "integer"
  11237. }
  11238. }
  11239. },
  11240. "models.Marketrun": {
  11241. "type": "object",
  11242. "required": [
  11243. "marketid",
  11244. "nexttradedate",
  11245. "reckonflag",
  11246. "runstatus",
  11247. "tradedate",
  11248. "tradedate2"
  11249. ],
  11250. "properties": {
  11251. "afternexttradedate": {
  11252. "description": "下下交易日",
  11253. "type": "string"
  11254. },
  11255. "clearquoteflag": {
  11256. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  11257. "type": "integer"
  11258. },
  11259. "lastreckondate": {
  11260. "description": "最新交易日(结算成功)",
  11261. "type": "string"
  11262. },
  11263. "machinedate": {
  11264. "description": "机器时间",
  11265. "type": "string"
  11266. },
  11267. "manualflag": {
  11268. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  11269. "type": "integer"
  11270. },
  11271. "marketid": {
  11272. "description": "市场ID",
  11273. "type": "integer"
  11274. },
  11275. "nexttradedate": {
  11276. "description": "下一交易日",
  11277. "type": "string"
  11278. },
  11279. "pretradedate": {
  11280. "description": "上一交易日",
  11281. "type": "string"
  11282. },
  11283. "reckonflag": {
  11284. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  11285. "type": "integer"
  11286. },
  11287. "runstatus": {
  11288. "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.今日免清算",
  11289. "type": "integer"
  11290. },
  11291. "sectionid": {
  11292. "description": "时间段号[多时段时用]",
  11293. "type": "integer"
  11294. },
  11295. "tradedate": {
  11296. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  11297. "type": "string"
  11298. },
  11299. "tradedate2": {
  11300. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  11301. "type": "string"
  11302. },
  11303. "updatetime": {
  11304. "description": "更新时间",
  11305. "type": "string"
  11306. }
  11307. }
  11308. },
  11309. "models.Messageboard": {
  11310. "type": "object",
  11311. "required": [
  11312. "messageboardid"
  11313. ],
  11314. "properties": {
  11315. "createtime": {
  11316. "description": "创建时间",
  11317. "type": "string"
  11318. },
  11319. "message": {
  11320. "description": "留言信息",
  11321. "type": "string"
  11322. },
  11323. "messageboardid": {
  11324. "description": "留言簿ID(SEQ_MessageBoard)",
  11325. "type": "integer"
  11326. },
  11327. "userid": {
  11328. "description": "用户ID",
  11329. "type": "integer"
  11330. }
  11331. }
  11332. },
  11333. "models.MyCoupon": {
  11334. "type": "object",
  11335. "required": [
  11336. "accountid",
  11337. "coupontypeid"
  11338. ],
  11339. "properties": {
  11340. "accountid": {
  11341. "description": "资金账户ID",
  11342. "type": "integer"
  11343. },
  11344. "areauserid": {
  11345. "description": "所属机构",
  11346. "type": "integer"
  11347. },
  11348. "conditionvalue": {
  11349. "description": "条件阈值(可为0)",
  11350. "type": "number"
  11351. },
  11352. "couponcategroy": {
  11353. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  11354. "type": "integer"
  11355. },
  11356. "couponname": {
  11357. "description": "优惠券名称",
  11358. "type": "string"
  11359. },
  11360. "coupontypeid": {
  11361. "description": "优惠券类型ID",
  11362. "type": "string"
  11363. },
  11364. "couponvalue": {
  11365. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  11366. "type": "number"
  11367. },
  11368. "curfreezeqty": {
  11369. "description": "期末冻结数量",
  11370. "type": "integer"
  11371. },
  11372. "curqty": {
  11373. "description": "期末数量",
  11374. "type": "integer"
  11375. },
  11376. "isgeneral": {
  11377. "description": "是否通用券 - 0:否 1:是",
  11378. "type": "integer"
  11379. },
  11380. "isunusable": {
  11381. "description": "是否不可用",
  11382. "type": "boolean"
  11383. },
  11384. "limitedflag": {
  11385. "description": "是否指定商品 - 0:不限 1:限制",
  11386. "type": "integer"
  11387. },
  11388. "limitedgoodsids": {
  11389. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  11390. "type": "string"
  11391. },
  11392. "orifreezeqty": {
  11393. "description": "期初冻结数量",
  11394. "type": "integer"
  11395. },
  11396. "oriqty": {
  11397. "description": "期初数量",
  11398. "type": "integer"
  11399. },
  11400. "reasontype": {
  11401. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  11402. "type": "integer"
  11403. },
  11404. "todaydecrease": {
  11405. "description": "今日减少",
  11406. "type": "integer"
  11407. },
  11408. "todayincrease": {
  11409. "description": "今日增加",
  11410. "type": "integer"
  11411. },
  11412. "userid": {
  11413. "description": "用户ID",
  11414. "type": "integer"
  11415. },
  11416. "userscope": {
  11417. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  11418. "type": "string"
  11419. }
  11420. }
  11421. },
  11422. "models.MyCouponHold": {
  11423. "type": "object",
  11424. "required": [
  11425. "couponholdid"
  11426. ],
  11427. "properties": {
  11428. "accountid": {
  11429. "description": "资金账户ID",
  11430. "type": "integer"
  11431. },
  11432. "conditionvalue": {
  11433. "description": "条件阈值(可为0)",
  11434. "type": "number"
  11435. },
  11436. "couponcategroy": {
  11437. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  11438. "type": "integer"
  11439. },
  11440. "couponholdid": {
  11441. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  11442. "type": "string"
  11443. },
  11444. "couponname": {
  11445. "description": "优惠券名称",
  11446. "type": "string"
  11447. },
  11448. "coupontypeid": {
  11449. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  11450. "type": "string"
  11451. },
  11452. "couponvalue": {
  11453. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  11454. "type": "number"
  11455. },
  11456. "createtime": {
  11457. "description": "创建时间",
  11458. "type": "string"
  11459. },
  11460. "enddate": {
  11461. "description": "结束日期",
  11462. "type": "string"
  11463. },
  11464. "giveapplyid": {
  11465. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  11466. "type": "integer"
  11467. },
  11468. "holdstatus": {
  11469. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  11470. "type": "integer"
  11471. },
  11472. "isgeneral": {
  11473. "description": "是否通用券 - 0:否 1:是",
  11474. "type": "integer"
  11475. },
  11476. "limitedflag": {
  11477. "description": "是否指定商品 - 0:不限 1:限制",
  11478. "type": "integer"
  11479. },
  11480. "limitedgoodsids": {
  11481. "description": "指定商品IDs[逗号分隔]",
  11482. "type": "string"
  11483. },
  11484. "qty": {
  11485. "description": "数量(按1平铺)",
  11486. "type": "integer"
  11487. },
  11488. "startdate": {
  11489. "description": "开始日期",
  11490. "type": "string"
  11491. },
  11492. "userid": {
  11493. "description": "用户ID",
  11494. "type": "integer"
  11495. },
  11496. "userscope": {
  11497. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  11498. "type": "string"
  11499. }
  11500. }
  11501. },
  11502. "models.MyUsedCoupon": {
  11503. "type": "object",
  11504. "required": [
  11505. "coupontypeid",
  11506. "orderid"
  11507. ],
  11508. "properties": {
  11509. "accountid": {
  11510. "description": "资金账户ID(买方)",
  11511. "type": "integer"
  11512. },
  11513. "conditionvalue": {
  11514. "description": "条件阈值(可为0)",
  11515. "type": "number"
  11516. },
  11517. "couponcategroy": {
  11518. "description": "种类 - 1:现金券 2:折扣券",
  11519. "type": "integer"
  11520. },
  11521. "couponname": {
  11522. "description": "优惠券名称",
  11523. "type": "string"
  11524. },
  11525. "coupontypeid": {
  11526. "description": "优惠券类型ID(买方)",
  11527. "type": "string"
  11528. },
  11529. "couponvalue": {
  11530. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  11531. "type": "number"
  11532. },
  11533. "createtime": {
  11534. "description": "创建时间",
  11535. "type": "string"
  11536. },
  11537. "goodsid": {
  11538. "description": "商品ID",
  11539. "type": "integer"
  11540. },
  11541. "handlestatus": {
  11542. "description": "处理状态",
  11543. "type": "integer"
  11544. },
  11545. "marketid": {
  11546. "description": "市场ID",
  11547. "type": "integer"
  11548. },
  11549. "offamount": {
  11550. "description": "优惠金额",
  11551. "type": "number"
  11552. },
  11553. "orderid": {
  11554. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11555. "type": "string"
  11556. },
  11557. "sellaccountid": {
  11558. "description": "资金账户ID(卖方)",
  11559. "type": "integer"
  11560. },
  11561. "tradeamount": {
  11562. "description": "成交金额",
  11563. "type": "number"
  11564. },
  11565. "tradeid": {
  11566. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11567. "type": "string"
  11568. },
  11569. "usedqty": {
  11570. "description": "使用数量",
  11571. "type": "integer"
  11572. }
  11573. }
  11574. },
  11575. "models.OperationPrimaryMenu": {
  11576. "type": "object",
  11577. "properties": {
  11578. "Children": {
  11579. "description": "二级功能菜单",
  11580. "type": "array",
  11581. "items": {
  11582. "$ref": "#/definitions/models.OperationSecondaryMenu"
  11583. }
  11584. },
  11585. "Key": {
  11586. "description": "菜单KEY",
  11587. "type": "string"
  11588. },
  11589. "Label": {
  11590. "description": "菜单标题",
  11591. "type": "string"
  11592. }
  11593. }
  11594. },
  11595. "models.OperationSecondaryMenu": {
  11596. "type": "object",
  11597. "properties": {
  11598. "Key": {
  11599. "description": "菜单KEY",
  11600. "type": "string"
  11601. },
  11602. "Label": {
  11603. "description": "菜单标题",
  11604. "type": "string"
  11605. },
  11606. "TabList": {
  11607. "description": "三级功能菜单",
  11608. "type": "array",
  11609. "items": {
  11610. "$ref": "#/definitions/models.OperationTabMenu"
  11611. }
  11612. }
  11613. }
  11614. },
  11615. "models.OperationTabMenu": {
  11616. "type": "object",
  11617. "properties": {
  11618. "Key": {
  11619. "description": "菜单KEY",
  11620. "type": "string"
  11621. },
  11622. "Label": {
  11623. "description": "菜单标题",
  11624. "type": "string"
  11625. }
  11626. }
  11627. },
  11628. "models.PendingAuditBizModel": {
  11629. "type": "object",
  11630. "properties": {
  11631. "accountid": {
  11632. "description": "现货账户",
  11633. "type": "string"
  11634. },
  11635. "areaname": {
  11636. "description": "所属部门",
  11637. "type": "string"
  11638. },
  11639. "bizid": {
  11640. "description": "业务ID",
  11641. "type": "string"
  11642. },
  11643. "bizname": {
  11644. "description": "业务名称",
  11645. "type": "string"
  11646. },
  11647. "status": {
  11648. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11649. "type": "integer"
  11650. },
  11651. "type": {
  11652. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  11653. "type": "integer"
  11654. }
  11655. }
  11656. },
  11657. "models.QuotePrimaryMenu": {
  11658. "type": "object",
  11659. "properties": {
  11660. "Index": {
  11661. "description": "序号",
  11662. "type": "integer"
  11663. },
  11664. "Key": {
  11665. "description": "键名",
  11666. "type": "string"
  11667. },
  11668. "Name": {
  11669. "description": "菜单名称",
  11670. "type": "string"
  11671. },
  11672. "SubMenus": {
  11673. "description": "子菜单",
  11674. "type": "array",
  11675. "items": {
  11676. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  11677. }
  11678. },
  11679. "SubTitleType": {
  11680. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  11681. "type": "integer"
  11682. },
  11683. "TradeModes": {
  11684. "description": "包含市场交易类型",
  11685. "type": "string"
  11686. }
  11687. }
  11688. },
  11689. "models.QuoteSecondaryMenu": {
  11690. "type": "object",
  11691. "properties": {
  11692. "ExExchangeCode": {
  11693. "description": "外部交易所代码",
  11694. "type": "string"
  11695. },
  11696. "ExExchangeID": {
  11697. "description": "外部交易所ID",
  11698. "type": "integer"
  11699. },
  11700. "GoodsGroupIDs": {
  11701. "description": "商品组ID列表",
  11702. "type": "array",
  11703. "items": {
  11704. "type": "integer"
  11705. }
  11706. },
  11707. "Index": {
  11708. "description": "序号",
  11709. "type": "integer"
  11710. },
  11711. "MarketID": {
  11712. "description": "市场ID",
  11713. "type": "integer"
  11714. },
  11715. "MenuTitle": {
  11716. "description": "菜单标题(市场名称或外部交易所名称)",
  11717. "type": "string"
  11718. },
  11719. "TradeMode": {
  11720. "description": "交易模式",
  11721. "type": "integer"
  11722. }
  11723. }
  11724. },
  11725. "models.SearchGoods": {
  11726. "type": "object",
  11727. "required": [
  11728. "goodscode",
  11729. "goodsid",
  11730. "goodsname",
  11731. "marketid",
  11732. "trademode"
  11733. ],
  11734. "properties": {
  11735. "goodscode": {
  11736. "description": "商品代码(内部)",
  11737. "type": "string"
  11738. },
  11739. "goodsid": {
  11740. "description": "商品ID(自增ID SEQ_GOODS)",
  11741. "type": "integer"
  11742. },
  11743. "goodsname": {
  11744. "description": "商品名称",
  11745. "type": "string"
  11746. },
  11747. "marketid": {
  11748. "description": "所属市场ID",
  11749. "type": "integer"
  11750. },
  11751. "marketname": {
  11752. "description": "市场名称",
  11753. "type": "string"
  11754. },
  11755. "trademode": {
  11756. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11757. "type": "integer"
  11758. }
  11759. }
  11760. },
  11761. "models.Szdz2imageconfig": {
  11762. "type": "object",
  11763. "required": [
  11764. "configid"
  11765. ],
  11766. "properties": {
  11767. "configid": {
  11768. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  11769. "type": "integer"
  11770. },
  11771. "imagepath": {
  11772. "description": "图片",
  11773. "type": "string"
  11774. },
  11775. "imagetype": {
  11776. "description": "类型 - 1:App首页轮播 2:我的",
  11777. "type": "integer"
  11778. },
  11779. "sort": {
  11780. "description": "排序",
  11781. "type": "integer"
  11782. },
  11783. "title": {
  11784. "description": "标题",
  11785. "type": "string"
  11786. },
  11787. "url": {
  11788. "description": "链接",
  11789. "type": "string"
  11790. }
  11791. }
  11792. },
  11793. "models.Szdz3convertconfig": {
  11794. "type": "object",
  11795. "required": [
  11796. "converttype",
  11797. "innergoodsid",
  11798. "outergoodscode"
  11799. ],
  11800. "properties": {
  11801. "canin": {
  11802. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  11803. "type": "integer"
  11804. },
  11805. "canout": {
  11806. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  11807. "type": "integer"
  11808. },
  11809. "converttype": {
  11810. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  11811. "type": "integer"
  11812. },
  11813. "createtime": {
  11814. "description": "创建时间",
  11815. "type": "string"
  11816. },
  11817. "creatorid": {
  11818. "description": "创建人",
  11819. "type": "integer"
  11820. },
  11821. "daymaxvalue": {
  11822. "description": "当日最大转入限制",
  11823. "type": "number"
  11824. },
  11825. "freezedays": {
  11826. "description": "冻结天数 [5:花生米转交易]",
  11827. "type": "integer"
  11828. },
  11829. "innergoodsid": {
  11830. "description": "内部商品ID[交易]",
  11831. "type": "integer"
  11832. },
  11833. "inratio": {
  11834. "description": "目标值",
  11835. "type": "integer"
  11836. },
  11837. "modifierid": {
  11838. "description": "修改人",
  11839. "type": "integer"
  11840. },
  11841. "modifytime": {
  11842. "description": "修改时间",
  11843. "type": "string"
  11844. },
  11845. "outergoodscode": {
  11846. "description": "外部商品代码[JD\\PD]",
  11847. "type": "string"
  11848. },
  11849. "outratio": {
  11850. "description": "源值",
  11851. "type": "integer"
  11852. },
  11853. "pddecimalplace": {
  11854. "description": "PD小数位",
  11855. "type": "integer"
  11856. },
  11857. "timemaxvalue": {
  11858. "description": "单次最大转入限制",
  11859. "type": "number"
  11860. },
  11861. "timeminvalue": {
  11862. "description": "单次最小转入限制",
  11863. "type": "number"
  11864. }
  11865. }
  11866. },
  11867. "models.Szdz3searchwhitelist": {
  11868. "type": "object",
  11869. "required": [
  11870. "userid"
  11871. ],
  11872. "properties": {
  11873. "createtime": {
  11874. "description": "创建时间",
  11875. "type": "string"
  11876. },
  11877. "creatorid": {
  11878. "description": "创建人",
  11879. "type": "integer"
  11880. },
  11881. "modifierid": {
  11882. "description": "修改人",
  11883. "type": "integer"
  11884. },
  11885. "modifytime": {
  11886. "description": "修改时间",
  11887. "type": "string"
  11888. },
  11889. "userid": {
  11890. "description": "用户ID",
  11891. "type": "integer"
  11892. }
  11893. }
  11894. },
  11895. "models.Tablecolumnconfig": {
  11896. "type": "object",
  11897. "required": [
  11898. "autoid"
  11899. ],
  11900. "properties": {
  11901. "aligntype": {
  11902. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  11903. "type": "integer"
  11904. },
  11905. "autoid": {
  11906. "description": "AutoID",
  11907. "type": "integer"
  11908. },
  11909. "columnfield": {
  11910. "description": "列字段",
  11911. "type": "string"
  11912. },
  11913. "columntitle": {
  11914. "description": "列Title",
  11915. "type": "string"
  11916. },
  11917. "columnwidth": {
  11918. "description": "列宽",
  11919. "type": "string"
  11920. },
  11921. "formatterstring": {
  11922. "description": "格式化字符",
  11923. "type": "string"
  11924. },
  11925. "formattertype": {
  11926. "description": "格式化类型",
  11927. "type": "string"
  11928. },
  11929. "groupname": {
  11930. "description": "表头分组名称",
  11931. "type": "string"
  11932. },
  11933. "isshow": {
  11934. "description": "是否显示 - 0:不显示 1:显示",
  11935. "type": "integer"
  11936. },
  11937. "needsummary": {
  11938. "description": "是否需要汇总 - 0:不需要 1:需要",
  11939. "type": "integer"
  11940. },
  11941. "orderindex": {
  11942. "description": "顺序",
  11943. "type": "integer"
  11944. },
  11945. "remark": {
  11946. "description": "备注",
  11947. "type": "string"
  11948. },
  11949. "summarytype": {
  11950. "description": "汇总类型 - 1:加总 2:最后一个",
  11951. "type": "integer"
  11952. },
  11953. "tablekey": {
  11954. "description": "列表Key",
  11955. "type": "string"
  11956. }
  11957. }
  11958. },
  11959. "models.Useraccount": {
  11960. "type": "object",
  11961. "required": [
  11962. "userid"
  11963. ],
  11964. "properties": {
  11965. "accountname": {
  11966. "description": "账户名称(机构名称)",
  11967. "type": "string"
  11968. },
  11969. "accountstatus": {
  11970. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  11971. "type": "integer"
  11972. },
  11973. "auditremark": {
  11974. "description": "审核备注",
  11975. "type": "string"
  11976. },
  11977. "audittime": {
  11978. "description": "审核时间",
  11979. "type": "string"
  11980. },
  11981. "audituserid": {
  11982. "description": "审核人",
  11983. "type": "integer"
  11984. },
  11985. "broker": {
  11986. "description": "所属经纪人ID",
  11987. "type": "integer"
  11988. },
  11989. "canceltime": {
  11990. "description": "销户时间",
  11991. "type": "string"
  11992. },
  11993. "canceluserid": {
  11994. "description": "销户人",
  11995. "type": "integer"
  11996. },
  11997. "createtime": {
  11998. "description": "创建时间",
  11999. "type": "string"
  12000. },
  12001. "creatorid": {
  12002. "description": "创建人",
  12003. "type": "integer"
  12004. },
  12005. "hasauth": {
  12006. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  12007. "type": "integer"
  12008. },
  12009. "isanonymous": {
  12010. "description": "是否匿名下单 - 0:否 1:是",
  12011. "type": "integer"
  12012. },
  12013. "maxinvestornum": {
  12014. "description": "最大用户数(经纪会员下投资者个数)",
  12015. "type": "integer"
  12016. },
  12017. "memberuserid": {
  12018. "description": "所属会员ID",
  12019. "type": "integer"
  12020. },
  12021. "modifierid": {
  12022. "description": "修改人",
  12023. "type": "integer"
  12024. },
  12025. "modifyremark": {
  12026. "description": "变更备注",
  12027. "type": "string"
  12028. },
  12029. "modifystatus": {
  12030. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  12031. "type": "integer"
  12032. },
  12033. "modifytime": {
  12034. "description": "修改时间",
  12035. "type": "string"
  12036. },
  12037. "parentuserid": {
  12038. "description": "所属机构ID",
  12039. "type": "integer"
  12040. },
  12041. "reckonaccountid": {
  12042. "description": "默认结算资金账号ID(机构分润使用) 作废",
  12043. "type": "integer"
  12044. },
  12045. "refercount": {
  12046. "description": "推荐总人数",
  12047. "type": "integer"
  12048. },
  12049. "refereeuserid": {
  12050. "description": "推荐人ID",
  12051. "type": "integer"
  12052. },
  12053. "refernum": {
  12054. "description": "推荐码",
  12055. "type": "string"
  12056. },
  12057. "subarealevelpath": {
  12058. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  12059. "type": "string"
  12060. },
  12061. "userid": {
  12062. "description": "用户ID",
  12063. "type": "integer"
  12064. },
  12065. "usertype": {
  12066. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  12067. "type": "integer"
  12068. }
  12069. }
  12070. },
  12071. "models.Userfavoritegoods": {
  12072. "type": "object",
  12073. "required": [
  12074. "goodsid"
  12075. ],
  12076. "properties": {
  12077. "goodsid": {
  12078. "description": "商品ID",
  12079. "type": "integer"
  12080. }
  12081. }
  12082. },
  12083. "models.Userinfo": {
  12084. "type": "object",
  12085. "required": [
  12086. "userid"
  12087. ],
  12088. "properties": {
  12089. "address": {
  12090. "description": "地址",
  12091. "type": "string"
  12092. },
  12093. "attachment1": {
  12094. "description": "附件1",
  12095. "type": "string"
  12096. },
  12097. "attachment2": {
  12098. "description": "附件2",
  12099. "type": "string"
  12100. },
  12101. "bankaccount": {
  12102. "description": "银行帐号 (加密存储)",
  12103. "type": "string"
  12104. },
  12105. "bankaccountname": {
  12106. "description": "收款人名称",
  12107. "type": "string"
  12108. },
  12109. "bankcardfrontphotourl": {
  12110. "description": "银行卡正面照地址",
  12111. "type": "string"
  12112. },
  12113. "bankid": {
  12114. "description": "银行编码",
  12115. "type": "string"
  12116. },
  12117. "bankname": {
  12118. "description": "银行名称",
  12119. "type": "string"
  12120. },
  12121. "biznature": {
  12122. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12123. "type": "integer"
  12124. },
  12125. "bizscope": {
  12126. "description": "企业经营范围(企业)",
  12127. "type": "string"
  12128. },
  12129. "cardbackphotourl": {
  12130. "description": "证件背面图片地址",
  12131. "type": "string"
  12132. },
  12133. "cardfrontphotourl": {
  12134. "description": "证件正面图片地址",
  12135. "type": "string"
  12136. },
  12137. "cardnum": {
  12138. "description": "证件号码(加密存储)",
  12139. "type": "string"
  12140. },
  12141. "cardtypeid": {
  12142. "description": "证件类型ID",
  12143. "type": "integer"
  12144. },
  12145. "cityid": {
  12146. "description": "市",
  12147. "type": "integer"
  12148. },
  12149. "company": {
  12150. "description": "公司(个人)",
  12151. "type": "string"
  12152. },
  12153. "contactname": {
  12154. "description": "联系人",
  12155. "type": "string"
  12156. },
  12157. "countryid": {
  12158. "description": "国家",
  12159. "type": "integer"
  12160. },
  12161. "createtime": {
  12162. "description": "创建时间",
  12163. "type": "string"
  12164. },
  12165. "creatorid": {
  12166. "description": "创建人",
  12167. "type": "integer"
  12168. },
  12169. "customername": {
  12170. "description": "客户名称(企业名称)",
  12171. "type": "string"
  12172. },
  12173. "districtid": {
  12174. "description": "地区",
  12175. "type": "integer"
  12176. },
  12177. "email": {
  12178. "description": "邮件(加密存储)",
  12179. "type": "string"
  12180. },
  12181. "fax": {
  12182. "description": "传真(加密存储)",
  12183. "type": "string"
  12184. },
  12185. "halfbodyphotourl": {
  12186. "description": "半身照地址",
  12187. "type": "string"
  12188. },
  12189. "hasencrypt": {
  12190. "description": "数据是否已加密 - 0:未加密 1:已加密",
  12191. "type": "integer"
  12192. },
  12193. "headurl": {
  12194. "description": "头像地址",
  12195. "type": "string"
  12196. },
  12197. "legalcardbackphotourl": {
  12198. "description": "法人身份证背面照地址",
  12199. "type": "string"
  12200. },
  12201. "legalcardfrontphotourl": {
  12202. "description": "法人身份证正面照地址",
  12203. "type": "string"
  12204. },
  12205. "legalpersonname": {
  12206. "description": "法人姓名(企业)",
  12207. "type": "string"
  12208. },
  12209. "mobile": {
  12210. "description": "手机号码(加密存储)",
  12211. "type": "string"
  12212. },
  12213. "mobile2": {
  12214. "description": "手机号码[明文-尚志]",
  12215. "type": "string"
  12216. },
  12217. "modifierid": {
  12218. "description": "修改人",
  12219. "type": "integer"
  12220. },
  12221. "modifiertime": {
  12222. "description": "修改时间",
  12223. "type": "string"
  12224. },
  12225. "needinvoice": {
  12226. "description": "是否需要发票 - 0:不需要 1:需要",
  12227. "type": "integer"
  12228. },
  12229. "nickname": {
  12230. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  12231. "type": "string"
  12232. },
  12233. "openmode": {
  12234. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  12235. "type": "integer"
  12236. },
  12237. "otherurl": {
  12238. "description": "其它图片地址[使用分号分隔]",
  12239. "type": "string"
  12240. },
  12241. "postalcode": {
  12242. "description": "邮政编码",
  12243. "type": "string"
  12244. },
  12245. "provinceid": {
  12246. "description": "省",
  12247. "type": "integer"
  12248. },
  12249. "qq": {
  12250. "description": "QQ(加密存储",
  12251. "type": "string"
  12252. },
  12253. "remark": {
  12254. "description": "备注",
  12255. "type": "string"
  12256. },
  12257. "sex": {
  12258. "description": "用户性别 0: 女 1: 男",
  12259. "type": "integer"
  12260. },
  12261. "signpdfurl": {
  12262. "description": "签约pdf文件",
  12263. "type": "string"
  12264. },
  12265. "telphone": {
  12266. "description": "联系电话(加密存储)",
  12267. "type": "string"
  12268. },
  12269. "userid": {
  12270. "description": "用户ID",
  12271. "type": "integer"
  12272. },
  12273. "userinfotype": {
  12274. "description": "用户信息类型 - 1:个人 2:企业",
  12275. "type": "integer"
  12276. },
  12277. "userstatus": {
  12278. "description": "用户状态 - 1:正常 2:注销",
  12279. "type": "integer"
  12280. },
  12281. "usertype": {
  12282. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  12283. "type": "integer"
  12284. },
  12285. "wechat": {
  12286. "description": "微信(加密存储)",
  12287. "type": "string"
  12288. },
  12289. "wskhinfo": {
  12290. "description": "开户申请信息(JSON)",
  12291. "type": "string"
  12292. }
  12293. }
  12294. },
  12295. "models.WRCategoryTree": {
  12296. "type": "object",
  12297. "required": [
  12298. "categoryid"
  12299. ],
  12300. "properties": {
  12301. "areauserid": {
  12302. "description": "所属机构",
  12303. "type": "integer"
  12304. },
  12305. "categorydesc": {
  12306. "description": "类别描述",
  12307. "type": "string"
  12308. },
  12309. "categoryid": {
  12310. "description": "类别ID(SEQ_WRCATEGORY)",
  12311. "type": "integer"
  12312. },
  12313. "categoryname": {
  12314. "description": "类别名称",
  12315. "type": "string"
  12316. },
  12317. "iconurl": {
  12318. "description": "图标地址",
  12319. "type": "string"
  12320. },
  12321. "orderindex": {
  12322. "description": "顺序",
  12323. "type": "integer"
  12324. },
  12325. "parentcategoryid": {
  12326. "description": "父类别ID",
  12327. "type": "integer"
  12328. },
  12329. "subcategory": {
  12330. "description": "子分类",
  12331. "type": "array",
  12332. "items": {
  12333. "$ref": "#/definitions/models.WRCategoryTree"
  12334. }
  12335. }
  12336. }
  12337. },
  12338. "models.WRSConverTDetail": {
  12339. "type": "object",
  12340. "properties": {
  12341. "convertratio": {
  12342. "description": "套保系数",
  12343. "type": "number"
  12344. },
  12345. "deliverygoodsid": {
  12346. "description": "现货品种ID",
  12347. "type": "integer"
  12348. },
  12349. "middlegoodscode": {
  12350. "description": "套保品种代码",
  12351. "type": "string"
  12352. },
  12353. "middlegoodsid": {
  12354. "description": "套保品种ID",
  12355. "type": "integer"
  12356. },
  12357. "middlegoodsname": {
  12358. "description": "套保品种名称",
  12359. "type": "string"
  12360. },
  12361. "modifytime": {
  12362. "description": "修改时间",
  12363. "type": "string"
  12364. },
  12365. "wrstandardid": {
  12366. "description": "现货商品ID",
  12367. "type": "integer"
  12368. }
  12369. }
  12370. },
  12371. "models.WRStandardInfo": {
  12372. "type": "object",
  12373. "required": [
  12374. "wrstandardid"
  12375. ],
  12376. "properties": {
  12377. "createtime": {
  12378. "description": "创建时间",
  12379. "type": "string"
  12380. },
  12381. "creatorid": {
  12382. "description": "创建人",
  12383. "type": "integer"
  12384. },
  12385. "deliverygoodsid": {
  12386. "description": "品种ID",
  12387. "type": "integer"
  12388. },
  12389. "deliverygoodsname": {
  12390. "description": "交割商品名称",
  12391. "type": "string"
  12392. },
  12393. "factoryitemjson": {
  12394. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  12395. "type": "string"
  12396. },
  12397. "isvalid": {
  12398. "description": "是否有效 - 0:无效 1:有效",
  12399. "type": "integer"
  12400. },
  12401. "minivalue": {
  12402. "description": "最小变动值",
  12403. "type": "integer"
  12404. },
  12405. "minivaluedp": {
  12406. "description": "最小变动值小数位",
  12407. "type": "integer"
  12408. },
  12409. "realminivalue": {
  12410. "description": "实际最小变动值",
  12411. "type": "integer"
  12412. },
  12413. "realminivaluedp": {
  12414. "description": "实际最小变动值小数位",
  12415. "type": "integer"
  12416. },
  12417. "unitid": {
  12418. "description": "单位ID",
  12419. "type": "integer"
  12420. },
  12421. "unitname": {
  12422. "description": "单位",
  12423. "type": "string"
  12424. },
  12425. "updatetime": {
  12426. "description": "更新时间",
  12427. "type": "string"
  12428. },
  12429. "updatorid": {
  12430. "description": "更新人",
  12431. "type": "integer"
  12432. },
  12433. "wrsstatus": {
  12434. "description": "状态 - 作废 - 0:未激活 1:正常",
  12435. "type": "integer"
  12436. },
  12437. "wrstandardcode": {
  12438. "description": "仓单标准代码",
  12439. "type": "string"
  12440. },
  12441. "wrstandardid": {
  12442. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  12443. "type": "integer"
  12444. },
  12445. "wrstandardname": {
  12446. "description": "仓单标准名称",
  12447. "type": "string"
  12448. }
  12449. }
  12450. },
  12451. "models.Warehouseinfo": {
  12452. "type": "object",
  12453. "required": [
  12454. "autoid",
  12455. "warehousecode"
  12456. ],
  12457. "properties": {
  12458. "address": {
  12459. "description": "详细地址",
  12460. "type": "string"
  12461. },
  12462. "areauserid": {
  12463. "description": "所属机构",
  12464. "type": "integer"
  12465. },
  12466. "autoid": {
  12467. "description": "自增ID",
  12468. "type": "integer"
  12469. },
  12470. "cityid": {
  12471. "description": "市",
  12472. "type": "integer"
  12473. },
  12474. "contactname": {
  12475. "description": "联系人",
  12476. "type": "string"
  12477. },
  12478. "contactnum": {
  12479. "description": "联系电话",
  12480. "type": "string"
  12481. },
  12482. "countryid": {
  12483. "description": "国家",
  12484. "type": "integer"
  12485. },
  12486. "createtime": {
  12487. "description": "创建时间",
  12488. "type": "string"
  12489. },
  12490. "districtid": {
  12491. "description": "区",
  12492. "type": "integer"
  12493. },
  12494. "hasvideo": {
  12495. "description": "是否有视频 - 0:无 1:有",
  12496. "type": "integer"
  12497. },
  12498. "provinceid": {
  12499. "description": "省",
  12500. "type": "integer"
  12501. },
  12502. "remark": {
  12503. "description": "审核备注",
  12504. "type": "string"
  12505. },
  12506. "videourl": {
  12507. "description": "视频地址",
  12508. "type": "string"
  12509. },
  12510. "warehousecode": {
  12511. "description": "仓库代码",
  12512. "type": "string"
  12513. },
  12514. "warehousename": {
  12515. "description": "仓库名称",
  12516. "type": "string"
  12517. },
  12518. "warehousestatus": {
  12519. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  12520. "type": "integer"
  12521. },
  12522. "warehousetype": {
  12523. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  12524. "type": "integer"
  12525. }
  12526. }
  12527. },
  12528. "order.QueryHisTradeDetailRsp": {
  12529. "type": "object",
  12530. "required": [
  12531. "accountid",
  12532. "buyorsell",
  12533. "goodsid",
  12534. "histradedate",
  12535. "marketid",
  12536. "memberuserid",
  12537. "orderid",
  12538. "tradeamount",
  12539. "tradedate",
  12540. "tradeid",
  12541. "tradeprice",
  12542. "tradeqty",
  12543. "tradetime"
  12544. ],
  12545. "properties": {
  12546. "accountid": {
  12547. "description": "账户ID[报价币种]",
  12548. "type": "integer"
  12549. },
  12550. "buildtype": {
  12551. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  12552. "type": "integer"
  12553. },
  12554. "buyorsell": {
  12555. "description": "方向 - 0:买 1:卖",
  12556. "type": "integer"
  12557. },
  12558. "charge": {
  12559. "description": "手续费",
  12560. "type": "number"
  12561. },
  12562. "closecharge": {
  12563. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  12564. "type": "number"
  12565. },
  12566. "closeexchagechargevalue": {
  12567. "description": "平仓交易所手续费设置值",
  12568. "type": "number"
  12569. },
  12570. "closefeealgorithm": {
  12571. "description": "平仓手续费收取方式 1:比率 2:固定",
  12572. "type": "integer"
  12573. },
  12574. "closememberchargevalue": {
  12575. "description": "平仓会员手续费设置值",
  12576. "type": "number"
  12577. },
  12578. "closepl": {
  12579. "description": "平仓盈亏",
  12580. "type": "number"
  12581. },
  12582. "closepl2": {
  12583. "description": "平仓盈亏[逐笔]",
  12584. "type": "number"
  12585. },
  12586. "closeqty": {
  12587. "description": "平仓数量(先建后平操作 需要记录)",
  12588. "type": "integer"
  12589. },
  12590. "creditamount": {
  12591. "description": "授信金额",
  12592. "type": "number"
  12593. },
  12594. "gcaccountid": {
  12595. "description": "账户ID[合约币种]",
  12596. "type": "integer"
  12597. },
  12598. "goodscode": {
  12599. "description": "商品代码",
  12600. "type": "string"
  12601. },
  12602. "goodsid": {
  12603. "description": "商品ID",
  12604. "type": "integer"
  12605. },
  12606. "goodsname": {
  12607. "description": "商品名称",
  12608. "type": "string"
  12609. },
  12610. "histradedate": {
  12611. "description": "历史交易日",
  12612. "type": "string"
  12613. },
  12614. "intclosepl": {
  12615. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  12616. "type": "integer"
  12617. },
  12618. "isconfirmexercise": {
  12619. "description": "是否确认行权- 0:否 1:是",
  12620. "type": "integer"
  12621. },
  12622. "ismain": {
  12623. "description": "是否主单 - 0:不是 1:是",
  12624. "type": "integer"
  12625. },
  12626. "ispreexercise": {
  12627. "description": "是否预申报- 0:否 1:是",
  12628. "type": "integer"
  12629. },
  12630. "isreckoned": {
  12631. "description": "是否结算 - 0:未结算 1:已结算",
  12632. "type": "integer"
  12633. },
  12634. "isvaliddata": {
  12635. "description": "是否有效 - 0:无效 1:有效",
  12636. "type": "integer"
  12637. },
  12638. "listingselecttype": {
  12639. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  12640. "type": "integer"
  12641. },
  12642. "marketid": {
  12643. "description": "市场ID",
  12644. "type": "integer"
  12645. },
  12646. "marketname": {
  12647. "description": "市场名称",
  12648. "type": "string"
  12649. },
  12650. "matchaccountid": {
  12651. "description": "对手账号id",
  12652. "type": "integer"
  12653. },
  12654. "memberuserid": {
  12655. "description": "会员id 个人投资者 需要填写",
  12656. "type": "integer"
  12657. },
  12658. "opencharge": {
  12659. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  12660. "type": "number"
  12661. },
  12662. "openexchagechargevalue": {
  12663. "description": "建仓交易所手续费设置值",
  12664. "type": "number"
  12665. },
  12666. "openfeealgorithm": {
  12667. "description": "建仓手续费收取方式 1:比率 2:固定",
  12668. "type": "integer"
  12669. },
  12670. "openmemberchargevalue": {
  12671. "description": "建仓会员手续费设置值",
  12672. "type": "number"
  12673. },
  12674. "openqty": {
  12675. "description": "开仓数量(先建后平操作 需要记录)",
  12676. "type": "integer"
  12677. },
  12678. "optiontype": {
  12679. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  12680. "type": "integer"
  12681. },
  12682. "orderid": {
  12683. "description": "委托单号",
  12684. "type": "string"
  12685. },
  12686. "performanceplanid": {
  12687. "description": "履约计划ID[期权]",
  12688. "type": "integer"
  12689. },
  12690. "performancestatus": {
  12691. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  12692. "type": "integer"
  12693. },
  12694. "preexerciseprice": {
  12695. "description": "预申报价格",
  12696. "type": "number"
  12697. },
  12698. "premium": {
  12699. "description": "权利金 - [持仓单的权利金]",
  12700. "type": "number"
  12701. },
  12702. "relatedouttradeid": {
  12703. "description": "关联外部成交单ID",
  12704. "type": "integer"
  12705. },
  12706. "status": {
  12707. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  12708. "type": "integer"
  12709. },
  12710. "tradeamount": {
  12711. "description": "成交金额[账户币种,用于所有权]",
  12712. "type": "number"
  12713. },
  12714. "tradedate": {
  12715. "description": "交易日(yyyyMMdd)",
  12716. "type": "string"
  12717. },
  12718. "tradeid": {
  12719. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12720. "type": "string"
  12721. },
  12722. "trademode": {
  12723. "description": "交易模式",
  12724. "type": "integer"
  12725. },
  12726. "tradeprice": {
  12727. "description": "成交价格",
  12728. "type": "number"
  12729. },
  12730. "tradeproperty": {
  12731. "description": "交易属性",
  12732. "type": "integer"
  12733. },
  12734. "tradeqty": {
  12735. "description": "成交数量",
  12736. "type": "integer"
  12737. },
  12738. "tradetime": {
  12739. "description": "成交时间",
  12740. "type": "string"
  12741. },
  12742. "tradetype": {
  12743. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  12744. "type": "integer"
  12745. }
  12746. }
  12747. },
  12748. "order.QueryHisTradeOrderDetailRsp": {
  12749. "type": "object",
  12750. "required": [
  12751. "accountid",
  12752. "buildtype",
  12753. "buyorsell",
  12754. "goodsid",
  12755. "histradedate",
  12756. "marketid",
  12757. "memberuserid",
  12758. "operatetype",
  12759. "orderid",
  12760. "orderqty",
  12761. "ordertime",
  12762. "pricemode",
  12763. "tradedate",
  12764. "validtype"
  12765. ],
  12766. "properties": {
  12767. "accountid": {
  12768. "description": "账户ID[报价币种]",
  12769. "type": "integer"
  12770. },
  12771. "buildtype": {
  12772. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  12773. "type": "integer"
  12774. },
  12775. "buyorsell": {
  12776. "description": "买卖 - 0:买 1:卖",
  12777. "type": "integer"
  12778. },
  12779. "cancelorderid": {
  12780. "description": "撤单单号(撤单时填写)",
  12781. "type": "string"
  12782. },
  12783. "cancelqty": {
  12784. "description": "撤单数量",
  12785. "type": "integer"
  12786. },
  12787. "clientordertime": {
  12788. "description": "客户端委托时间",
  12789. "type": "string"
  12790. },
  12791. "clientticket": {
  12792. "description": "客户端流水号",
  12793. "type": "string"
  12794. },
  12795. "clienttype": {
  12796. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  12797. "type": "integer"
  12798. },
  12799. "closeexchagechargevalue": {
  12800. "description": "平仓交易所手续费设置值",
  12801. "type": "number"
  12802. },
  12803. "closefeealgorithm": {
  12804. "description": "平仓手续费收取方式 1:比率 2:固定",
  12805. "type": "integer"
  12806. },
  12807. "closefreezecharge": {
  12808. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  12809. "type": "number"
  12810. },
  12811. "closememberchargevalue": {
  12812. "description": "平仓会员手续费设置值",
  12813. "type": "number"
  12814. },
  12815. "closeqty": {
  12816. "description": "平仓数量(先建后平操作 需要记录)",
  12817. "type": "integer"
  12818. },
  12819. "closetradeqty": {
  12820. "description": "平仓成交数量(先建后平操作,需要记录)",
  12821. "type": "integer"
  12822. },
  12823. "closeunfreezecharge": {
  12824. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  12825. "type": "number"
  12826. },
  12827. "delistingtype": {
  12828. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  12829. "type": "integer"
  12830. },
  12831. "freezecharge": {
  12832. "description": "冻结手续费",
  12833. "type": "number"
  12834. },
  12835. "freezemargin": {
  12836. "description": "冻结保证金(冻结交易金额)",
  12837. "type": "number"
  12838. },
  12839. "gcaccountid": {
  12840. "description": "账户ID[合约币种]",
  12841. "type": "integer"
  12842. },
  12843. "goodscode": {
  12844. "description": "商品代码",
  12845. "type": "string"
  12846. },
  12847. "goodsid": {
  12848. "description": "商品ID",
  12849. "type": "integer"
  12850. },
  12851. "goodsname": {
  12852. "description": "商品名称",
  12853. "type": "string"
  12854. },
  12855. "histradedate": {
  12856. "description": "历史交易日",
  12857. "type": "string"
  12858. },
  12859. "isconfirmexercise": {
  12860. "description": "是否确认行权- 0:否 1:是",
  12861. "type": "integer"
  12862. },
  12863. "ispreexercise": {
  12864. "description": "是否预申报- 0:否 1:是",
  12865. "type": "integer"
  12866. },
  12867. "isvaliddata": {
  12868. "description": "是否有效 - 0:无效 1:有效",
  12869. "type": "integer"
  12870. },
  12871. "listingselecttype": {
  12872. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  12873. "type": "integer"
  12874. },
  12875. "marginalgorithm": {
  12876. "description": "保证金收取方式 1:比率 2:固定",
  12877. "type": "integer"
  12878. },
  12879. "marginvalue": {
  12880. "description": "即市保证金设置值",
  12881. "type": "number"
  12882. },
  12883. "marketid": {
  12884. "description": "市场ID",
  12885. "type": "integer"
  12886. },
  12887. "marketmaxsub": {
  12888. "description": "市价最大偏移范围",
  12889. "type": "number"
  12890. },
  12891. "marketname": {
  12892. "description": "市场名称",
  12893. "type": "string"
  12894. },
  12895. "memberuserid": {
  12896. "description": "所属会员UserID",
  12897. "type": "integer"
  12898. },
  12899. "openexchagechargevalue": {
  12900. "description": "建仓交易所手续费设置值",
  12901. "type": "number"
  12902. },
  12903. "openfeealgorithm": {
  12904. "description": "建仓手续费收取方式 1:比率 2:固定",
  12905. "type": "integer"
  12906. },
  12907. "openfreezecharge": {
  12908. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  12909. "type": "number"
  12910. },
  12911. "openmemberchargevalue": {
  12912. "description": "建仓会员手续费设置值",
  12913. "type": "number"
  12914. },
  12915. "openqty": {
  12916. "description": "开仓数量(先建后平操作,需要记录)",
  12917. "type": "integer"
  12918. },
  12919. "opentradeqty": {
  12920. "description": "开仓成交数量(先建后平操作,需要记录)",
  12921. "type": "integer"
  12922. },
  12923. "openunfreezecharge": {
  12924. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  12925. "type": "number"
  12926. },
  12927. "operatetype": {
  12928. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  12929. "type": "integer"
  12930. },
  12931. "operatorid": {
  12932. "description": "登录账号(LoginID)",
  12933. "type": "integer"
  12934. },
  12935. "optiontype": {
  12936. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  12937. "type": "integer"
  12938. },
  12939. "orderid": {
  12940. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12941. "type": "string"
  12942. },
  12943. "orderprice": {
  12944. "description": "委托价格",
  12945. "type": "number"
  12946. },
  12947. "orderqty": {
  12948. "description": "委托数量",
  12949. "type": "integer"
  12950. },
  12951. "ordersrc": {
  12952. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  12953. "type": "integer"
  12954. },
  12955. "orderstatus": {
  12956. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12957. "type": "integer"
  12958. },
  12959. "ordertime": {
  12960. "description": "委托时间",
  12961. "type": "string"
  12962. },
  12963. "preexerciseprice": {
  12964. "description": "预申报价格",
  12965. "type": "number"
  12966. },
  12967. "premium": {
  12968. "description": "权利金",
  12969. "type": "number"
  12970. },
  12971. "preorderid": {
  12972. "description": "关联预埋单号(止盈止损单时填写)",
  12973. "type": "string"
  12974. },
  12975. "pricemode": {
  12976. "description": "取价方式 - 1:市价 2: 限价",
  12977. "type": "integer"
  12978. },
  12979. "quoteid": {
  12980. "description": "报价单ID",
  12981. "type": "integer"
  12982. },
  12983. "relatedid": {
  12984. "description": "关联单号(交割单)",
  12985. "type": "string"
  12986. },
  12987. "retcode": {
  12988. "description": "错误代码",
  12989. "type": "integer"
  12990. },
  12991. "sessionid": {
  12992. "description": "会话ID",
  12993. "type": "integer"
  12994. },
  12995. "tradedate": {
  12996. "description": "交易日(yyyyMMdd)",
  12997. "type": "string"
  12998. },
  12999. "trademode": {
  13000. "description": "交易模式",
  13001. "type": "integer"
  13002. },
  13003. "tradeproperty": {
  13004. "description": "交易属性",
  13005. "type": "integer"
  13006. },
  13007. "tradeqty": {
  13008. "description": "成交数量",
  13009. "type": "integer"
  13010. },
  13011. "unfreezecharge": {
  13012. "description": "解冻手续费",
  13013. "type": "number"
  13014. },
  13015. "unfreezemargin": {
  13016. "description": "解冻保证金",
  13017. "type": "number"
  13018. },
  13019. "updatetime": {
  13020. "description": "更新时间",
  13021. "type": "string"
  13022. },
  13023. "uuid": {
  13024. "description": "发起端唯一id",
  13025. "type": "string"
  13026. },
  13027. "validtime": {
  13028. "description": "有效期限",
  13029. "type": "string"
  13030. },
  13031. "validtype": {
  13032. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  13033. "type": "integer"
  13034. },
  13035. "volumetype": {
  13036. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  13037. "type": "integer"
  13038. }
  13039. }
  13040. },
  13041. "order.QueryTradeDetailRsp": {
  13042. "type": "object",
  13043. "required": [
  13044. "accountid",
  13045. "buyorsell",
  13046. "goodsid",
  13047. "marketid",
  13048. "memberuserid",
  13049. "orderid",
  13050. "tradeamount",
  13051. "tradedate",
  13052. "tradeid",
  13053. "tradeprice",
  13054. "tradeqty",
  13055. "tradetime"
  13056. ],
  13057. "properties": {
  13058. "accountid": {
  13059. "description": "账户ID[报价币种]",
  13060. "type": "integer"
  13061. },
  13062. "buildtype": {
  13063. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  13064. "type": "integer"
  13065. },
  13066. "buyorsell": {
  13067. "description": "方向 - 0:买 1:卖",
  13068. "type": "integer"
  13069. },
  13070. "charge": {
  13071. "description": "手续费",
  13072. "type": "number"
  13073. },
  13074. "closecharge": {
  13075. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  13076. "type": "number"
  13077. },
  13078. "closeexchagechargevalue": {
  13079. "description": "平仓交易所手续费设置值",
  13080. "type": "number"
  13081. },
  13082. "closefeealgorithm": {
  13083. "description": "平仓手续费收取方式 1:比率 2:固定",
  13084. "type": "integer"
  13085. },
  13086. "closememberchargevalue": {
  13087. "description": "平仓会员手续费设置值",
  13088. "type": "number"
  13089. },
  13090. "closepl": {
  13091. "description": "平仓盈亏",
  13092. "type": "number"
  13093. },
  13094. "closepl2": {
  13095. "description": "平仓盈亏[逐笔]",
  13096. "type": "number"
  13097. },
  13098. "closeqty": {
  13099. "description": "平仓数量(先建后平操作 需要记录)",
  13100. "type": "integer"
  13101. },
  13102. "creditamount": {
  13103. "description": "授信金额",
  13104. "type": "number"
  13105. },
  13106. "gcaccountid": {
  13107. "description": "账户ID[合约币种]",
  13108. "type": "integer"
  13109. },
  13110. "goodscode": {
  13111. "description": "商品代码",
  13112. "type": "string"
  13113. },
  13114. "goodsid": {
  13115. "description": "商品ID",
  13116. "type": "integer"
  13117. },
  13118. "goodsname": {
  13119. "description": "商品名称",
  13120. "type": "string"
  13121. },
  13122. "intclosepl": {
  13123. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  13124. "type": "integer"
  13125. },
  13126. "isconfirmexercise": {
  13127. "description": "是否确认行权- 0:否 1:是",
  13128. "type": "integer"
  13129. },
  13130. "ismain": {
  13131. "description": "是否主单 - 0:不是 1:是",
  13132. "type": "integer"
  13133. },
  13134. "ispreexercise": {
  13135. "description": "是否预申报- 0:否 1:是",
  13136. "type": "integer"
  13137. },
  13138. "isreckoned": {
  13139. "description": "是否结算 - 0:未结算 1:已结算",
  13140. "type": "integer"
  13141. },
  13142. "listingselecttype": {
  13143. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13144. "type": "integer"
  13145. },
  13146. "marketid": {
  13147. "description": "市场ID",
  13148. "type": "integer"
  13149. },
  13150. "marketname": {
  13151. "description": "市场名称",
  13152. "type": "string"
  13153. },
  13154. "matchaccountid": {
  13155. "description": "对手账号id",
  13156. "type": "integer"
  13157. },
  13158. "memberuserid": {
  13159. "description": "会员id 个人投资者 需要填写",
  13160. "type": "integer"
  13161. },
  13162. "opencharge": {
  13163. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  13164. "type": "number"
  13165. },
  13166. "openexchagechargevalue": {
  13167. "description": "建仓交易所手续费设置值",
  13168. "type": "number"
  13169. },
  13170. "openfeealgorithm": {
  13171. "description": "建仓手续费收取方式 1:比率 2:固定",
  13172. "type": "integer"
  13173. },
  13174. "openmemberchargevalue": {
  13175. "description": "建仓会员手续费设置值",
  13176. "type": "number"
  13177. },
  13178. "openqty": {
  13179. "description": "开仓数量(先建后平操作 需要记录)",
  13180. "type": "integer"
  13181. },
  13182. "optiontype": {
  13183. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  13184. "type": "integer"
  13185. },
  13186. "orderid": {
  13187. "description": "委托单号",
  13188. "type": "string"
  13189. },
  13190. "performanceplanid": {
  13191. "description": "履约计划ID[期权]",
  13192. "type": "integer"
  13193. },
  13194. "performancestatus": {
  13195. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  13196. "type": "integer"
  13197. },
  13198. "preexerciseprice": {
  13199. "description": "预申报价格",
  13200. "type": "number"
  13201. },
  13202. "premium": {
  13203. "description": "权利金 - [持仓单的权利金]",
  13204. "type": "number"
  13205. },
  13206. "relatedouttradeid": {
  13207. "description": "关联外部成交单ID",
  13208. "type": "integer"
  13209. },
  13210. "status": {
  13211. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  13212. "type": "integer"
  13213. },
  13214. "tradeamount": {
  13215. "description": "成交金额[账户币种,用于所有权]",
  13216. "type": "number"
  13217. },
  13218. "tradedate": {
  13219. "description": "交易日(yyyyMMdd)",
  13220. "type": "string"
  13221. },
  13222. "tradeid": {
  13223. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13224. "type": "string"
  13225. },
  13226. "trademode": {
  13227. "description": "交易模式",
  13228. "type": "integer"
  13229. },
  13230. "tradeprice": {
  13231. "description": "成交价格",
  13232. "type": "number"
  13233. },
  13234. "tradeproperty": {
  13235. "description": "交易属性",
  13236. "type": "integer"
  13237. },
  13238. "tradeqty": {
  13239. "description": "成交数量",
  13240. "type": "integer"
  13241. },
  13242. "tradetime": {
  13243. "description": "成交时间",
  13244. "type": "string"
  13245. },
  13246. "tradetype": {
  13247. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  13248. "type": "integer"
  13249. }
  13250. }
  13251. },
  13252. "order.QueryTradeOrderDetailRsp": {
  13253. "type": "object",
  13254. "required": [
  13255. "accountid",
  13256. "buildtype",
  13257. "buyorsell",
  13258. "goodsid",
  13259. "marketid",
  13260. "operatetype",
  13261. "orderqty",
  13262. "ordertime",
  13263. "pricemode",
  13264. "tradedate",
  13265. "validtype"
  13266. ],
  13267. "properties": {
  13268. "accountid": {
  13269. "description": "账户ID[报价币种]",
  13270. "type": "integer"
  13271. },
  13272. "buildtype": {
  13273. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  13274. "type": "integer"
  13275. },
  13276. "buyorsell": {
  13277. "description": "买卖 - 0:买 1:卖",
  13278. "type": "integer"
  13279. },
  13280. "cancelorderid": {
  13281. "description": "撤单单号(撤单时填写)",
  13282. "type": "string"
  13283. },
  13284. "cancelqty": {
  13285. "description": "撤单数量",
  13286. "type": "integer"
  13287. },
  13288. "clienttype": {
  13289. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  13290. "type": "integer"
  13291. },
  13292. "closefreezecharge": {
  13293. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  13294. "type": "number"
  13295. },
  13296. "closeqty": {
  13297. "description": "平仓数量(先建后平操作 需要记录)",
  13298. "type": "integer"
  13299. },
  13300. "closetradeqty": {
  13301. "description": "平仓成交数量(先建后平操作,需要记录)",
  13302. "type": "integer"
  13303. },
  13304. "closeunfreezecharge": {
  13305. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  13306. "type": "number"
  13307. },
  13308. "delistingtype": {
  13309. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  13310. "type": "integer"
  13311. },
  13312. "enableqty": {
  13313. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  13314. "type": "integer"
  13315. },
  13316. "freezecharge": {
  13317. "description": "冻结手续费",
  13318. "type": "number"
  13319. },
  13320. "freezemargin": {
  13321. "description": "冻结保证金(冻结交易金额)",
  13322. "type": "number"
  13323. },
  13324. "goodscode": {
  13325. "description": "商品代码",
  13326. "type": "string"
  13327. },
  13328. "goodsid": {
  13329. "description": "商品ID",
  13330. "type": "integer"
  13331. },
  13332. "goodsname": {
  13333. "description": "商品名称",
  13334. "type": "string"
  13335. },
  13336. "listingselecttype": {
  13337. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13338. "type": "integer"
  13339. },
  13340. "marketid": {
  13341. "description": "市场ID",
  13342. "type": "integer"
  13343. },
  13344. "marketname": {
  13345. "description": "市场名称",
  13346. "type": "string"
  13347. },
  13348. "openfreezecharge": {
  13349. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  13350. "type": "number"
  13351. },
  13352. "openqty": {
  13353. "description": "开仓数量(先建后平操作,需要记录)",
  13354. "type": "integer"
  13355. },
  13356. "opentradeqty": {
  13357. "description": "开仓成交数量(先建后平操作,需要记录)",
  13358. "type": "integer"
  13359. },
  13360. "openunfreezecharge": {
  13361. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  13362. "type": "number"
  13363. },
  13364. "operatetype": {
  13365. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  13366. "type": "integer"
  13367. },
  13368. "operatorid": {
  13369. "description": "登录账号(LoginID)",
  13370. "type": "integer"
  13371. },
  13372. "orderid": {
  13373. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13374. "type": "string"
  13375. },
  13376. "orderprice": {
  13377. "description": "委托价格",
  13378. "type": "number"
  13379. },
  13380. "orderqty": {
  13381. "description": "委托数量",
  13382. "type": "integer"
  13383. },
  13384. "ordersrc": {
  13385. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  13386. "type": "integer"
  13387. },
  13388. "orderstatus": {
  13389. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13390. "type": "integer"
  13391. },
  13392. "ordertime": {
  13393. "description": "委托时间",
  13394. "type": "string"
  13395. },
  13396. "preorderid": {
  13397. "description": "关联预埋单号(止盈止损单时填写)",
  13398. "type": "string"
  13399. },
  13400. "pricemode": {
  13401. "description": "取价方式 - 1:市价 2: 限价",
  13402. "type": "integer"
  13403. },
  13404. "relatedid": {
  13405. "description": "关联单号(交割单)",
  13406. "type": "string"
  13407. },
  13408. "tradedate": {
  13409. "description": "交易日(yyyyMMdd)",
  13410. "type": "string"
  13411. },
  13412. "trademode": {
  13413. "description": "交易模式",
  13414. "type": "integer"
  13415. },
  13416. "tradeqty": {
  13417. "description": "成交数量",
  13418. "type": "integer"
  13419. },
  13420. "unfreezecharge": {
  13421. "description": "解冻手续费",
  13422. "type": "number"
  13423. },
  13424. "unfreezemargin": {
  13425. "description": "解冻保证金",
  13426. "type": "number"
  13427. },
  13428. "validtime": {
  13429. "description": "有效期限",
  13430. "type": "string"
  13431. },
  13432. "validtype": {
  13433. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  13434. "type": "integer"
  13435. },
  13436. "volumetype": {
  13437. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  13438. "type": "integer"
  13439. }
  13440. }
  13441. },
  13442. "order.QueryTradePositionRsp": {
  13443. "type": "object",
  13444. "required": [
  13445. "goodsid"
  13446. ],
  13447. "properties": {
  13448. "accountid": {
  13449. "description": "资金账户",
  13450. "type": "integer"
  13451. },
  13452. "agreeunit": {
  13453. "description": "合约单位",
  13454. "type": "number"
  13455. },
  13456. "averageprice": {
  13457. "description": "持仓均价",
  13458. "type": "number"
  13459. },
  13460. "buyorsell": {
  13461. "description": "方向 - 0:买 1:卖",
  13462. "type": "integer"
  13463. },
  13464. "closetotalqty": {
  13465. "description": "平仓总数量",
  13466. "type": "integer"
  13467. },
  13468. "curholderamount": {
  13469. "description": "当前持仓总金额[商品币种]",
  13470. "type": "number"
  13471. },
  13472. "curpositionqty": {
  13473. "description": "当前持仓总数量",
  13474. "type": "integer"
  13475. },
  13476. "currencyid": {
  13477. "description": "报价货币ID",
  13478. "type": "integer"
  13479. },
  13480. "curtdposition": {
  13481. "description": "期末今日头寸",
  13482. "type": "integer"
  13483. },
  13484. "decimalplace": {
  13485. "description": "报价小数位",
  13486. "type": "integer"
  13487. },
  13488. "enableqty": {
  13489. "description": "可用量",
  13490. "type": "integer"
  13491. },
  13492. "fretdposition": {
  13493. "description": "冻结今日头寸",
  13494. "type": "integer"
  13495. },
  13496. "frozenqty": {
  13497. "description": "持仓冻结数量",
  13498. "type": "integer"
  13499. },
  13500. "goodscode": {
  13501. "description": "商品代码",
  13502. "type": "string"
  13503. },
  13504. "goodsid": {
  13505. "description": "商品Id",
  13506. "type": "integer"
  13507. },
  13508. "goodsname": {
  13509. "description": "商品名称",
  13510. "type": "string"
  13511. },
  13512. "goodunit": {
  13513. "description": "报价单位",
  13514. "type": "string"
  13515. },
  13516. "goodunitid": {
  13517. "description": "报价单位ID",
  13518. "type": "integer"
  13519. },
  13520. "holderamount": {
  13521. "description": "期初持仓总金额[商品币种]",
  13522. "type": "number"
  13523. },
  13524. "marketid": {
  13525. "description": "所属市场ID",
  13526. "type": "integer"
  13527. },
  13528. "openreqqty": {
  13529. "description": "开仓申请数量(用于比较最大持仓数量)",
  13530. "type": "integer"
  13531. },
  13532. "opentotalqty": {
  13533. "description": "开仓总数量",
  13534. "type": "integer"
  13535. },
  13536. "otherfrozenqty": {
  13537. "description": "持仓其他冻结数量(交割冻结)",
  13538. "type": "integer"
  13539. },
  13540. "positionqty": {
  13541. "description": "期初持仓数量",
  13542. "type": "integer"
  13543. },
  13544. "tnqty": {
  13545. "description": "T+N冻结总量",
  13546. "type": "integer"
  13547. },
  13548. "tnusedqty": {
  13549. "description": "T+N使用量(可以使用T+N的冻结数量)",
  13550. "type": "integer"
  13551. },
  13552. "trademode": {
  13553. "description": "交易模式",
  13554. "type": "integer"
  13555. },
  13556. "usedmargin": {
  13557. "description": "占用保证金[商品币种]",
  13558. "type": "number"
  13559. }
  13560. }
  13561. },
  13562. "quote.HistoryData": {
  13563. "type": "object",
  13564. "properties": {
  13565. "c": {
  13566. "description": "收盘价",
  13567. "type": "number"
  13568. },
  13569. "h": {
  13570. "description": "最高价",
  13571. "type": "number"
  13572. },
  13573. "hv": {
  13574. "description": "持仓量",
  13575. "type": "integer"
  13576. },
  13577. "l": {
  13578. "description": "最低价",
  13579. "type": "number"
  13580. },
  13581. "o": {
  13582. "description": "开盘价",
  13583. "type": "number"
  13584. },
  13585. "s": {
  13586. "description": "结算价,日线周期(包括)以上才有",
  13587. "type": "number"
  13588. },
  13589. "ts": {
  13590. "description": "时间",
  13591. "type": "string"
  13592. },
  13593. "tt": {
  13594. "description": "总金额",
  13595. "type": "number"
  13596. },
  13597. "tv": {
  13598. "description": "总量",
  13599. "type": "integer"
  13600. }
  13601. }
  13602. },
  13603. "quote.QueryTSDataRsp": {
  13604. "type": "object",
  13605. "properties": {
  13606. "decimalPlace": {
  13607. "description": "小数位",
  13608. "type": "integer"
  13609. },
  13610. "endTime": {
  13611. "description": "结束时间",
  13612. "type": "string"
  13613. },
  13614. "goodsCode": {
  13615. "description": "商品代码",
  13616. "type": "string"
  13617. },
  13618. "historyDatas": {
  13619. "description": "历史数据",
  13620. "type": "array",
  13621. "items": {
  13622. "$ref": "#/definitions/quote.HistoryData"
  13623. }
  13624. },
  13625. "preSettle": {
  13626. "description": "昨结",
  13627. "type": "number"
  13628. },
  13629. "startTime": {
  13630. "description": "开始时间",
  13631. "type": "string"
  13632. },
  13633. "tradeDate": {
  13634. "description": "交易日",
  13635. "type": "string"
  13636. }
  13637. }
  13638. },
  13639. "szdz.QueryConvertLogRsp": {
  13640. "type": "object",
  13641. "required": [
  13642. "logid"
  13643. ],
  13644. "properties": {
  13645. "accountid": {
  13646. "description": "资金账户ID",
  13647. "type": "integer"
  13648. },
  13649. "clientticket": {
  13650. "description": "客户端流水号",
  13651. "type": "string"
  13652. },
  13653. "converttype": {
  13654. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  13655. "type": "integer"
  13656. },
  13657. "createtime": {
  13658. "description": "记账时间",
  13659. "type": "string"
  13660. },
  13661. "daymaxvalue": {
  13662. "description": "配置当日最大转入限制",
  13663. "type": "number"
  13664. },
  13665. "daymaxvalue2": {
  13666. "description": "配置当日最大转入限制(转入)",
  13667. "type": "number"
  13668. },
  13669. "goodscode": {
  13670. "description": "商品代码",
  13671. "type": "string"
  13672. },
  13673. "goodsname": {
  13674. "description": "商品名称",
  13675. "type": "string"
  13676. },
  13677. "handlestatus": {
  13678. "description": "处理状态",
  13679. "type": "integer"
  13680. },
  13681. "innergoodsid": {
  13682. "description": "内部商品ID",
  13683. "type": "integer"
  13684. },
  13685. "inratio": {
  13686. "description": "配置转入比值",
  13687. "type": "integer"
  13688. },
  13689. "invalue": {
  13690. "description": "目标值",
  13691. "type": "number"
  13692. },
  13693. "logid": {
  13694. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13695. "type": "integer"
  13696. },
  13697. "mobile": {
  13698. "description": "手机号码(加密存储)",
  13699. "type": "string"
  13700. },
  13701. "outergoodscode": {
  13702. "description": "外部商品代码[JD\\PD]",
  13703. "type": "string"
  13704. },
  13705. "outratio": {
  13706. "description": "配置转出比值",
  13707. "type": "integer"
  13708. },
  13709. "outvalue": {
  13710. "description": "源值",
  13711. "type": "number"
  13712. },
  13713. "pddecimalplace": {
  13714. "description": "PD小数位",
  13715. "type": "integer"
  13716. },
  13717. "qty": {
  13718. "description": "数量",
  13719. "type": "string"
  13720. },
  13721. "remark": {
  13722. "description": "备注",
  13723. "type": "string"
  13724. },
  13725. "sessionid": {
  13726. "description": "会话ID",
  13727. "type": "integer"
  13728. },
  13729. "timemaxvalue": {
  13730. "description": "配置单次最大转入限制",
  13731. "type": "number"
  13732. },
  13733. "timemaxvalue2": {
  13734. "description": "配置单次最大转入限制(转入)",
  13735. "type": "number"
  13736. },
  13737. "timeminvalue": {
  13738. "description": "配置单次最小数量限制",
  13739. "type": "number"
  13740. },
  13741. "timeminvalue2": {
  13742. "description": "配置单次最小数量限制(转入)",
  13743. "type": "number"
  13744. },
  13745. "tradedate": {
  13746. "description": "交易日(yyyyMMdd)",
  13747. "type": "string"
  13748. },
  13749. "userid": {
  13750. "description": "用户ID",
  13751. "type": "integer"
  13752. }
  13753. }
  13754. },
  13755. "szdz.QueryGoodsPickupRsp": {
  13756. "type": "object",
  13757. "required": [
  13758. "takeorderid"
  13759. ],
  13760. "properties": {
  13761. "accountid": {
  13762. "description": "账户ID",
  13763. "type": "integer"
  13764. },
  13765. "address": {
  13766. "description": "提货人详细地址",
  13767. "type": "string"
  13768. },
  13769. "auditer": {
  13770. "description": "审核人",
  13771. "type": "integer"
  13772. },
  13773. "audittime": {
  13774. "description": "审核时间",
  13775. "type": "string"
  13776. },
  13777. "cardnum": {
  13778. "description": "提货人证件号码",
  13779. "type": "string"
  13780. },
  13781. "cardtypeid": {
  13782. "description": "提货人证件类型",
  13783. "type": "integer"
  13784. },
  13785. "checkremark": {
  13786. "description": "审核备注",
  13787. "type": "string"
  13788. },
  13789. "goodscode": {
  13790. "description": "商品代码",
  13791. "type": "string"
  13792. },
  13793. "goodsid": {
  13794. "description": "商品ID",
  13795. "type": "integer"
  13796. },
  13797. "goodsname": {
  13798. "description": "商品名称",
  13799. "type": "string"
  13800. },
  13801. "handlestatus": {
  13802. "description": "处理状态",
  13803. "type": "integer"
  13804. },
  13805. "marketid": {
  13806. "description": "市场ID",
  13807. "type": "integer"
  13808. },
  13809. "phonenum": {
  13810. "description": "提货人联系方式",
  13811. "type": "string"
  13812. },
  13813. "qty": {
  13814. "description": "提货数量",
  13815. "type": "number"
  13816. },
  13817. "recivername": {
  13818. "description": "提货人姓名",
  13819. "type": "string"
  13820. },
  13821. "reqtime": {
  13822. "description": "更新时间",
  13823. "type": "string"
  13824. },
  13825. "takemode": {
  13826. "description": "提货方式 - 2:自提 3:配送",
  13827. "type": "integer"
  13828. },
  13829. "takeorderid": {
  13830. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  13831. "type": "string"
  13832. },
  13833. "takeorderstatus": {
  13834. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  13835. "type": "integer"
  13836. },
  13837. "takeremark": {
  13838. "description": "提货备注",
  13839. "type": "string"
  13840. },
  13841. "tradedate": {
  13842. "description": "交易日(yyyyMMdd)",
  13843. "type": "string"
  13844. },
  13845. "userid": {
  13846. "description": "用户ID",
  13847. "type": "integer"
  13848. }
  13849. }
  13850. },
  13851. "szdz.QueryRecieptOrderRsp": {
  13852. "type": "object",
  13853. "required": [
  13854. "ordertime"
  13855. ],
  13856. "properties": {
  13857. "accountName": {
  13858. "description": "所属账号名称(已脱敏)",
  13859. "type": "string"
  13860. },
  13861. "accountid": {
  13862. "description": "资金账号",
  13863. "type": "integer"
  13864. },
  13865. "buyorsell": {
  13866. "description": "方向 - 0:买 1:卖",
  13867. "type": "integer"
  13868. },
  13869. "enableqty": {
  13870. "description": "可摘数量",
  13871. "type": "integer"
  13872. },
  13873. "goodscode": {
  13874. "description": "商品代码",
  13875. "type": "string"
  13876. },
  13877. "goodsid": {
  13878. "description": "商品ID",
  13879. "type": "integer"
  13880. },
  13881. "goodsname": {
  13882. "description": "商品名称",
  13883. "type": "string"
  13884. },
  13885. "orderid": {
  13886. "description": "委托单号",
  13887. "type": "string"
  13888. },
  13889. "orderprice": {
  13890. "description": "委托价格",
  13891. "type": "number"
  13892. },
  13893. "ordertime": {
  13894. "description": "委托时间",
  13895. "type": "string"
  13896. },
  13897. "tradedate": {
  13898. "description": "交易日(yyyyMMdd)",
  13899. "type": "string"
  13900. }
  13901. }
  13902. },
  13903. "szdz.QuerySZDZTradePositionRsp": {
  13904. "type": "object",
  13905. "properties": {
  13906. "accountid": {
  13907. "description": "账号Id",
  13908. "type": "integer"
  13909. },
  13910. "agreeunit": {
  13911. "description": "合约单位",
  13912. "type": "number"
  13913. },
  13914. "averageprice": {
  13915. "description": "持仓均价",
  13916. "type": "number"
  13917. },
  13918. "buyorsell": {
  13919. "description": "方向 - 0:买 1:卖",
  13920. "type": "integer"
  13921. },
  13922. "closetotalqty": {
  13923. "description": "平仓总数量",
  13924. "type": "integer"
  13925. },
  13926. "curholderamount": {
  13927. "description": "当前持仓总金额",
  13928. "type": "number"
  13929. },
  13930. "curpositionqty": {
  13931. "description": "当前持仓总数量",
  13932. "type": "integer"
  13933. },
  13934. "currencyid": {
  13935. "description": "报价货币ID",
  13936. "type": "integer"
  13937. },
  13938. "curtdposition": {
  13939. "description": "期末今日头寸",
  13940. "type": "integer"
  13941. },
  13942. "decimalplace": {
  13943. "description": "报价小数位",
  13944. "type": "integer"
  13945. },
  13946. "enableqty": {
  13947. "description": "可用量",
  13948. "type": "integer"
  13949. },
  13950. "fretdposition": {
  13951. "description": "冻结今日头寸",
  13952. "type": "integer"
  13953. },
  13954. "frozenqty": {
  13955. "description": "持仓冻结数量",
  13956. "type": "integer"
  13957. },
  13958. "goodscode": {
  13959. "description": "商品代码(内部)",
  13960. "type": "string"
  13961. },
  13962. "goodsid": {
  13963. "description": "商品Id",
  13964. "type": "integer"
  13965. },
  13966. "goodsname": {
  13967. "description": "商品名称",
  13968. "type": "string"
  13969. },
  13970. "goodunit": {
  13971. "description": "报价单位",
  13972. "type": "string"
  13973. },
  13974. "goodunitid": {
  13975. "description": "报价单位ID",
  13976. "type": "integer"
  13977. },
  13978. "holderamount": {
  13979. "description": "期初持仓总金额",
  13980. "type": "number"
  13981. },
  13982. "marketid": {
  13983. "description": "市场ID",
  13984. "type": "integer"
  13985. },
  13986. "openreqqty": {
  13987. "description": "开仓申请数量",
  13988. "type": "integer"
  13989. },
  13990. "opentotalqty": {
  13991. "description": "开仓总数量",
  13992. "type": "integer"
  13993. },
  13994. "otherfrozenqty": {
  13995. "description": "持仓其他冻结数量(交割冻结)",
  13996. "type": "integer"
  13997. },
  13998. "positionqty": {
  13999. "description": "期初持仓数量",
  14000. "type": "integer"
  14001. },
  14002. "szdz3freezqty": {
  14003. "description": "尚志大宗转换冻结总数量",
  14004. "type": "integer"
  14005. },
  14006. "tnqty": {
  14007. "description": "T+N冻结总量",
  14008. "type": "integer"
  14009. },
  14010. "tnusedqty": {
  14011. "description": "T+N使用量",
  14012. "type": "integer"
  14013. },
  14014. "trademode": {
  14015. "description": "交易模式",
  14016. "type": "integer"
  14017. },
  14018. "usedmargin": {
  14019. "description": "占用保证金",
  14020. "type": "number"
  14021. }
  14022. }
  14023. },
  14024. "taaccount.QueryAmountLogRsp": {
  14025. "type": "object",
  14026. "required": [
  14027. "accountid",
  14028. "amount",
  14029. "amountadjusttype",
  14030. "autoid",
  14031. "balance",
  14032. "createtime",
  14033. "currentbalance",
  14034. "operatetype"
  14035. ],
  14036. "properties": {
  14037. "OPERATETYPENAME": {
  14038. "description": "资金操作类型名称",
  14039. "type": "string"
  14040. },
  14041. "accountid": {
  14042. "description": "资金账户ID",
  14043. "type": "integer"
  14044. },
  14045. "agoodscode": {
  14046. "description": "竞拍商品代码",
  14047. "type": "string"
  14048. },
  14049. "agoodsname": {
  14050. "description": "竞拍商品名称",
  14051. "type": "string"
  14052. },
  14053. "amount": {
  14054. "description": "资金金额",
  14055. "type": "number"
  14056. },
  14057. "amountadjusttype": {
  14058. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  14059. "type": "integer"
  14060. },
  14061. "autoid": {
  14062. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  14063. "type": "integer"
  14064. },
  14065. "balance": {
  14066. "description": "期初余额",
  14067. "type": "number"
  14068. },
  14069. "businesscode": {
  14070. "description": "业务编号",
  14071. "type": "integer"
  14072. },
  14073. "createtime": {
  14074. "description": "发生时间",
  14075. "type": "string"
  14076. },
  14077. "currencyid": {
  14078. "description": "币种ID",
  14079. "type": "integer"
  14080. },
  14081. "currentbalance": {
  14082. "description": "期末余额(变动后金额)",
  14083. "type": "number"
  14084. },
  14085. "dgoodscode": {
  14086. "description": "交割商品代码",
  14087. "type": "string"
  14088. },
  14089. "dgoodsname": {
  14090. "description": "交割商品名称",
  14091. "type": "string"
  14092. },
  14093. "goodscode": {
  14094. "description": "商品代码",
  14095. "type": "string"
  14096. },
  14097. "goodsid": {
  14098. "description": "商品ID",
  14099. "type": "integer"
  14100. },
  14101. "goodsname": {
  14102. "description": "商品名称",
  14103. "type": "string"
  14104. },
  14105. "marketid": {
  14106. "description": "市场ID",
  14107. "type": "integer"
  14108. },
  14109. "marketname": {
  14110. "description": "市场名称",
  14111. "type": "string"
  14112. },
  14113. "moneyticket": {
  14114. "description": "资金流水号:银行端流水号",
  14115. "type": "integer"
  14116. },
  14117. "operatetype": {
  14118. "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:营销收款",
  14119. "type": "integer"
  14120. },
  14121. "relationorderid": {
  14122. "description": "关联单号",
  14123. "type": "string"
  14124. },
  14125. "remark": {
  14126. "description": "备注",
  14127. "type": "string"
  14128. },
  14129. "trademode": {
  14130. "description": "交易模式",
  14131. "type": "integer"
  14132. }
  14133. }
  14134. },
  14135. "taaccount.QueryHisAmountLogRsp": {
  14136. "type": "object",
  14137. "required": [
  14138. "accountid",
  14139. "amount",
  14140. "amountadjusttype",
  14141. "autoid",
  14142. "balance",
  14143. "createtime",
  14144. "currentbalance",
  14145. "histradedate",
  14146. "operatetype"
  14147. ],
  14148. "properties": {
  14149. "OPERATETYPENAME": {
  14150. "description": "资金操作类型名称",
  14151. "type": "string"
  14152. },
  14153. "accountid": {
  14154. "description": "资金账户ID",
  14155. "type": "integer"
  14156. },
  14157. "agoodscode": {
  14158. "description": "竞拍商品代码",
  14159. "type": "string"
  14160. },
  14161. "agoodsname": {
  14162. "description": "竞拍商品名称",
  14163. "type": "string"
  14164. },
  14165. "amount": {
  14166. "description": "资金金额",
  14167. "type": "number"
  14168. },
  14169. "amountadjusttype": {
  14170. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  14171. "type": "integer"
  14172. },
  14173. "autoid": {
  14174. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  14175. "type": "integer"
  14176. },
  14177. "balance": {
  14178. "description": "期初余额",
  14179. "type": "number"
  14180. },
  14181. "businesscode": {
  14182. "description": "业务编号",
  14183. "type": "integer"
  14184. },
  14185. "createtime": {
  14186. "description": "发生时间",
  14187. "type": "string"
  14188. },
  14189. "currencyid": {
  14190. "description": "币种ID",
  14191. "type": "integer"
  14192. },
  14193. "currentbalance": {
  14194. "description": "期末余额(变动后金额)",
  14195. "type": "number"
  14196. },
  14197. "dgoodscode": {
  14198. "description": "交割商品代码",
  14199. "type": "string"
  14200. },
  14201. "dgoodsname": {
  14202. "description": "交割商品名称",
  14203. "type": "string"
  14204. },
  14205. "goodscode": {
  14206. "description": "商品代码",
  14207. "type": "string"
  14208. },
  14209. "goodsid": {
  14210. "description": "商品ID",
  14211. "type": "integer"
  14212. },
  14213. "goodsname": {
  14214. "description": "商品名称",
  14215. "type": "string"
  14216. },
  14217. "histradedate": {
  14218. "description": "历史交易日",
  14219. "type": "string"
  14220. },
  14221. "isvaliddata": {
  14222. "description": "是否有效 - 0:无效 1:有效",
  14223. "type": "integer"
  14224. },
  14225. "marketid": {
  14226. "description": "市场ID",
  14227. "type": "integer"
  14228. },
  14229. "marketname": {
  14230. "description": "市场名称",
  14231. "type": "string"
  14232. },
  14233. "moneyticket": {
  14234. "description": "资金流水号:银行端流水号",
  14235. "type": "integer"
  14236. },
  14237. "operatetype": {
  14238. "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:营销收款",
  14239. "type": "integer"
  14240. },
  14241. "relationorderid": {
  14242. "description": "关联单号",
  14243. "type": "string"
  14244. },
  14245. "remark": {
  14246. "description": "备注",
  14247. "type": "string"
  14248. },
  14249. "trademode": {
  14250. "description": "交易模式",
  14251. "type": "integer"
  14252. }
  14253. }
  14254. },
  14255. "trade.QueryRecieptOrderRsp": {
  14256. "type": "object",
  14257. "required": [
  14258. "ordertime"
  14259. ],
  14260. "properties": {
  14261. "accountName": {
  14262. "description": "所属账号名称(已脱敏)",
  14263. "type": "string"
  14264. },
  14265. "accountid": {
  14266. "description": "资金账号",
  14267. "type": "integer"
  14268. },
  14269. "buyorsell": {
  14270. "description": "方向 - 0:买 1:卖",
  14271. "type": "integer"
  14272. },
  14273. "enableqty": {
  14274. "description": "可摘数量",
  14275. "type": "integer"
  14276. },
  14277. "goodscode": {
  14278. "description": "商品代码",
  14279. "type": "string"
  14280. },
  14281. "goodsid": {
  14282. "description": "商品ID",
  14283. "type": "integer"
  14284. },
  14285. "goodsname": {
  14286. "description": "商品名称",
  14287. "type": "string"
  14288. },
  14289. "orderid": {
  14290. "description": "委托单号",
  14291. "type": "string"
  14292. },
  14293. "orderprice": {
  14294. "description": "委托价格",
  14295. "type": "number"
  14296. },
  14297. "ordertime": {
  14298. "description": "委托时间",
  14299. "type": "string"
  14300. },
  14301. "tradedate": {
  14302. "description": "交易日(yyyyMMdd)",
  14303. "type": "string"
  14304. }
  14305. }
  14306. }
  14307. },
  14308. "securityDefinitions": {
  14309. "ApiKeyAuth": {
  14310. "type": "apiKey",
  14311. "name": "Authorization",
  14312. "in": "header"
  14313. }
  14314. }
  14315. }`
  14316. type swaggerInfo struct {
  14317. Version string
  14318. Host string
  14319. BasePath string
  14320. Schemes []string
  14321. Title string
  14322. Description string
  14323. }
  14324. // SwaggerInfo holds exported Swagger Info so clients can modify it
  14325. var SwaggerInfo = swaggerInfo{
  14326. Version: "1.0",
  14327. Host: "",
  14328. BasePath: "/api",
  14329. Schemes: []string{},
  14330. Title: "MTP2.0 查询服务 API",
  14331. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  14332. }
  14333. type s struct{}
  14334. func (s *s) ReadDoc() string {
  14335. sInfo := SwaggerInfo
  14336. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  14337. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  14338. "marshal": func(v interface{}) string {
  14339. a, _ := json.Marshal(v)
  14340. return string(a)
  14341. },
  14342. }).Parse(doc)
  14343. if err != nil {
  14344. return doc
  14345. }
  14346. var tpl bytes.Buffer
  14347. if err := t.Execute(&tpl, sInfo); err != nil {
  14348. return doc
  14349. }
  14350. return tpl.String()
  14351. }
  14352. func init() {
  14353. swag.Register(swag.Name, &s{})
  14354. }