docs.go 486 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481
  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. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "produces": [
  370. "application/json"
  371. ],
  372. "tags": [
  373. "通用服务"
  374. ],
  375. "summary": "获取所有枚举信息",
  376. "responses": {
  377. "200": {
  378. "description": "OK",
  379. "schema": {
  380. "$ref": "#/definitions/models.Enumdicitem"
  381. }
  382. },
  383. "500": {
  384. "description": "Internal Server Error",
  385. "schema": {
  386. "$ref": "#/definitions/app.Response"
  387. }
  388. }
  389. }
  390. }
  391. },
  392. "/Common/GetServerTime": {
  393. "get": {
  394. "produces": [
  395. "application/json"
  396. ],
  397. "tags": [
  398. "通用服务"
  399. ],
  400. "summary": "获取服务器时间",
  401. "responses": {
  402. "200": {
  403. "description": "OK",
  404. "schema": {
  405. "$ref": "#/definitions/app.Response"
  406. }
  407. },
  408. "500": {
  409. "description": "Internal Server Error",
  410. "schema": {
  411. "$ref": "#/definitions/app.Response"
  412. }
  413. }
  414. }
  415. }
  416. },
  417. "/Common/NoticeReaded": {
  418. "post": {
  419. "security": [
  420. {
  421. "ApiKeyAuth": []
  422. }
  423. ],
  424. "produces": [
  425. "application/json"
  426. ],
  427. "tags": [
  428. "通用服务"
  429. ],
  430. "summary": "通知公告设置已读请求",
  431. "parameters": [
  432. {
  433. "type": "integer",
  434. "description": "登录账号",
  435. "name": "loginID",
  436. "in": "query",
  437. "required": true
  438. },
  439. {
  440. "type": "integer",
  441. "description": "通知公告ID",
  442. "name": "noticeID",
  443. "in": "query",
  444. "required": true
  445. }
  446. ],
  447. "responses": {
  448. "200": {
  449. "description": "OK",
  450. "schema": {
  451. "$ref": "#/definitions/app.Response"
  452. }
  453. },
  454. "500": {
  455. "description": "Internal Server Error",
  456. "schema": {
  457. "$ref": "#/definitions/app.Response"
  458. }
  459. }
  460. }
  461. }
  462. },
  463. "/Common/QueryImageConfigs": {
  464. "get": {
  465. "produces": [
  466. "application/json"
  467. ],
  468. "tags": [
  469. "通用服务"
  470. ],
  471. "summary": "查询轮播图配置信息",
  472. "parameters": [
  473. {
  474. "type": "integer",
  475. "description": "类型 - 1:App首页轮播 2:我的",
  476. "name": "imageType",
  477. "in": "query"
  478. }
  479. ],
  480. "responses": {
  481. "200": {
  482. "description": "OK",
  483. "schema": {
  484. "$ref": "#/definitions/models.Szdz2imageconfig"
  485. }
  486. },
  487. "500": {
  488. "description": "Internal Server Error",
  489. "schema": {
  490. "$ref": "#/definitions/app.Response"
  491. }
  492. }
  493. }
  494. }
  495. },
  496. "/Common/QueryNotice": {
  497. "get": {
  498. "security": [
  499. {
  500. "ApiKeyAuth": []
  501. }
  502. ],
  503. "produces": [
  504. "application/json"
  505. ],
  506. "tags": [
  507. "通用服务"
  508. ],
  509. "summary": "通知公告系统消息查询",
  510. "parameters": [
  511. {
  512. "type": "integer",
  513. "description": "页码",
  514. "name": "page",
  515. "in": "query"
  516. },
  517. {
  518. "type": "integer",
  519. "description": "每页条数",
  520. "name": "pagesize",
  521. "in": "query"
  522. },
  523. {
  524. "type": "integer",
  525. "description": "登录账号",
  526. "name": "loginID",
  527. "in": "query",
  528. "required": true
  529. },
  530. {
  531. "type": "integer",
  532. "description": "消息类型 - 1:公告通知 2:系统消息",
  533. "name": "msgType",
  534. "in": "query"
  535. },
  536. {
  537. "type": "boolean",
  538. "description": "是否只获取未读信息",
  539. "name": "onlyUnRead",
  540. "in": "query"
  541. }
  542. ],
  543. "responses": {
  544. "200": {
  545. "description": "OK",
  546. "schema": {
  547. "$ref": "#/definitions/common.QueryNoticeRsp"
  548. }
  549. },
  550. "500": {
  551. "description": "Internal Server Error",
  552. "schema": {
  553. "$ref": "#/definitions/app.Response"
  554. }
  555. }
  556. }
  557. }
  558. },
  559. "/Common/QueryProvincesAndCities": {
  560. "get": {
  561. "produces": [
  562. "application/json"
  563. ],
  564. "tags": [
  565. "通用服务"
  566. ],
  567. "summary": "查询省市信息(不包括区)",
  568. "parameters": [
  569. {
  570. "type": "integer",
  571. "description": "省ID",
  572. "name": "provinceID",
  573. "in": "query"
  574. }
  575. ],
  576. "responses": {
  577. "200": {
  578. "description": "OK",
  579. "schema": {
  580. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  581. }
  582. },
  583. "500": {
  584. "description": "Internal Server Error",
  585. "schema": {
  586. "$ref": "#/definitions/app.Response"
  587. }
  588. }
  589. }
  590. }
  591. },
  592. "/Common/QueryTableDefine": {
  593. "get": {
  594. "produces": [
  595. "application/json"
  596. ],
  597. "tags": [
  598. "通用服务"
  599. ],
  600. "summary": "查询交易端列表头信息",
  601. "parameters": [
  602. {
  603. "type": "string",
  604. "description": "表key",
  605. "name": "tableKey",
  606. "in": "query"
  607. },
  608. {
  609. "type": "integer",
  610. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  611. "name": "tableType",
  612. "in": "query"
  613. }
  614. ],
  615. "responses": {
  616. "200": {
  617. "description": "OK",
  618. "schema": {
  619. "$ref": "#/definitions/common.QueryTableDefineRsp"
  620. }
  621. },
  622. "500": {
  623. "description": "Internal Server Error",
  624. "schema": {
  625. "$ref": "#/definitions/app.Response"
  626. }
  627. }
  628. }
  629. }
  630. },
  631. "/Common/QueryTraderMenu": {
  632. "get": {
  633. "produces": [
  634. "application/json"
  635. ],
  636. "tags": [
  637. "通用服务"
  638. ],
  639. "summary": "查询交易端菜单",
  640. "parameters": [
  641. {
  642. "type": "integer",
  643. "description": "登录账号",
  644. "name": "loginid",
  645. "in": "query",
  646. "required": true
  647. }
  648. ],
  649. "responses": {
  650. "200": {
  651. "description": "OK",
  652. "schema": {
  653. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  654. }
  655. },
  656. "500": {
  657. "description": "Internal Server Error",
  658. "schema": {
  659. "$ref": "#/definitions/app.Response"
  660. }
  661. }
  662. }
  663. }
  664. },
  665. "/Delivery/QueryDeliveryRelation": {
  666. "get": {
  667. "security": [
  668. {
  669. "ApiKeyAuth": []
  670. }
  671. ],
  672. "produces": [
  673. "application/json"
  674. ],
  675. "tags": [
  676. "交割服务"
  677. ],
  678. "summary": "查询商品交割关系表",
  679. "parameters": [
  680. {
  681. "type": "integer",
  682. "description": "商品ID",
  683. "name": "goodsid",
  684. "in": "query"
  685. },
  686. {
  687. "type": "integer",
  688. "description": "品种ID",
  689. "name": "deliverygoodsid",
  690. "in": "query"
  691. },
  692. {
  693. "type": "integer",
  694. "description": "市场ID",
  695. "name": "marketid",
  696. "in": "query"
  697. }
  698. ],
  699. "responses": {
  700. "200": {
  701. "description": "OK",
  702. "schema": {
  703. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  704. }
  705. },
  706. "500": {
  707. "description": "Internal Server Error",
  708. "schema": {
  709. "$ref": "#/definitions/app.Response"
  710. }
  711. }
  712. }
  713. }
  714. },
  715. "/Ermcp/QueryBusinessDj": {
  716. "get": {
  717. "security": [
  718. {
  719. "ApiKeyAuth": []
  720. }
  721. ],
  722. "produces": [
  723. "application/json"
  724. ],
  725. "tags": [
  726. "企业风险管理(app)"
  727. ],
  728. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  729. "parameters": [
  730. {
  731. "type": "integer",
  732. "description": "用户ID",
  733. "name": "UserId",
  734. "in": "query",
  735. "required": true
  736. },
  737. {
  738. "type": "string",
  739. "description": "现货合同ID, 不填则查所有",
  740. "name": "relatedid",
  741. "in": "query"
  742. }
  743. ],
  744. "responses": {
  745. "200": {
  746. "description": "OK",
  747. "schema": {
  748. "type": "array",
  749. "items": {
  750. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  751. }
  752. }
  753. },
  754. "500": {
  755. "description": "Internal Server Error",
  756. "schema": {
  757. "$ref": "#/definitions/app.Response"
  758. }
  759. }
  760. }
  761. }
  762. },
  763. "/Ermcp/QueryBusinessFp": {
  764. "get": {
  765. "security": [
  766. {
  767. "ApiKeyAuth": []
  768. }
  769. ],
  770. "produces": [
  771. "application/json"
  772. ],
  773. "tags": [
  774. "企业风险管理(app)"
  775. ],
  776. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  777. "parameters": [
  778. {
  779. "type": "integer",
  780. "description": "用户ID",
  781. "name": "UserId",
  782. "in": "query",
  783. "required": true
  784. },
  785. {
  786. "type": "string",
  787. "description": "现货合同ID, 不填则查所有",
  788. "name": "relatedid",
  789. "in": "query"
  790. }
  791. ],
  792. "responses": {
  793. "200": {
  794. "description": "OK",
  795. "schema": {
  796. "type": "array",
  797. "items": {
  798. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  799. }
  800. }
  801. },
  802. "500": {
  803. "description": "Internal Server Error",
  804. "schema": {
  805. "$ref": "#/definitions/app.Response"
  806. }
  807. }
  808. }
  809. }
  810. },
  811. "/Ermcp/QueryBusinessJs": {
  812. "get": {
  813. "security": [
  814. {
  815. "ApiKeyAuth": []
  816. }
  817. ],
  818. "produces": [
  819. "application/json"
  820. ],
  821. "tags": [
  822. "企业风险管理(app)"
  823. ],
  824. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  825. "parameters": [
  826. {
  827. "type": "integer",
  828. "description": "用户ID",
  829. "name": "UserId",
  830. "in": "query",
  831. "required": true
  832. },
  833. {
  834. "type": "string",
  835. "description": "现货合同ID, 不填则查所有",
  836. "name": "relatedid",
  837. "in": "query"
  838. }
  839. ],
  840. "responses": {
  841. "200": {
  842. "description": "OK",
  843. "schema": {
  844. "type": "array",
  845. "items": {
  846. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  847. }
  848. }
  849. },
  850. "500": {
  851. "description": "Internal Server Error",
  852. "schema": {
  853. "$ref": "#/definitions/app.Response"
  854. }
  855. }
  856. }
  857. }
  858. },
  859. "/Ermcp/QueryBusinessKx": {
  860. "get": {
  861. "security": [
  862. {
  863. "ApiKeyAuth": []
  864. }
  865. ],
  866. "produces": [
  867. "application/json"
  868. ],
  869. "tags": [
  870. "企业风险管理(app)"
  871. ],
  872. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  873. "parameters": [
  874. {
  875. "type": "integer",
  876. "description": "用户ID",
  877. "name": "UserId",
  878. "in": "query",
  879. "required": true
  880. },
  881. {
  882. "type": "string",
  883. "description": "现货合同ID, 不填则查所有",
  884. "name": "relatedid",
  885. "in": "query"
  886. }
  887. ],
  888. "responses": {
  889. "200": {
  890. "description": "OK",
  891. "schema": {
  892. "type": "array",
  893. "items": {
  894. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  895. }
  896. }
  897. },
  898. "500": {
  899. "description": "Internal Server Error",
  900. "schema": {
  901. "$ref": "#/definitions/app.Response"
  902. }
  903. }
  904. }
  905. }
  906. },
  907. "/Ermcp/QueryChangeLog": {
  908. "get": {
  909. "security": [
  910. {
  911. "ApiKeyAuth": []
  912. }
  913. ],
  914. "produces": [
  915. "application/json"
  916. ],
  917. "tags": [
  918. "企业风险管理(app)"
  919. ],
  920. "summary": "查询变更记录",
  921. "parameters": [
  922. {
  923. "type": "string",
  924. "description": "用户ID",
  925. "name": "RelatedId",
  926. "in": "query",
  927. "required": true
  928. }
  929. ],
  930. "responses": {
  931. "200": {
  932. "description": "OK",
  933. "schema": {
  934. "type": "array",
  935. "items": {
  936. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  937. }
  938. }
  939. },
  940. "500": {
  941. "description": "Internal Server Error",
  942. "schema": {
  943. "$ref": "#/definitions/app.Response"
  944. }
  945. }
  946. }
  947. }
  948. },
  949. "/Ermcp/QueryContract": {
  950. "get": {
  951. "security": [
  952. {
  953. "ApiKeyAuth": []
  954. }
  955. ],
  956. "produces": [
  957. "application/json"
  958. ],
  959. "tags": [
  960. "企业风险管理(app)"
  961. ],
  962. "summary": "查询合同(采购和销售)",
  963. "parameters": [
  964. {
  965. "type": "integer",
  966. "description": "用户ID",
  967. "name": "userId",
  968. "in": "query",
  969. "required": true
  970. },
  971. {
  972. "type": "integer",
  973. "description": "合同类型 1-采购, -1-销售",
  974. "name": "contracttype",
  975. "in": "query",
  976. "required": true
  977. },
  978. {
  979. "type": "integer",
  980. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  981. "name": "querytype",
  982. "in": "query",
  983. "required": true
  984. }
  985. ],
  986. "responses": {
  987. "200": {
  988. "description": "OK",
  989. "schema": {
  990. "type": "array",
  991. "items": {
  992. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  993. }
  994. }
  995. },
  996. "500": {
  997. "description": "Internal Server Error",
  998. "schema": {
  999. "$ref": "#/definitions/app.Response"
  1000. }
  1001. }
  1002. }
  1003. }
  1004. },
  1005. "/Ermcp/QueryExposureDetail": {
  1006. "get": {
  1007. "security": [
  1008. {
  1009. "ApiKeyAuth": []
  1010. }
  1011. ],
  1012. "produces": [
  1013. "application/json"
  1014. ],
  1015. "tags": [
  1016. "企业风险管理(app)"
  1017. ],
  1018. "summary": "查询敞口现货明细",
  1019. "parameters": [
  1020. {
  1021. "type": "integer",
  1022. "description": "所属机构ID",
  1023. "name": "areaUserId",
  1024. "in": "query",
  1025. "required": true
  1026. },
  1027. {
  1028. "type": "integer",
  1029. "description": "套保商品",
  1030. "name": "middleGoodsId",
  1031. "in": "query",
  1032. "required": true
  1033. }
  1034. ],
  1035. "responses": {
  1036. "200": {
  1037. "description": "OK",
  1038. "schema": {
  1039. "type": "array",
  1040. "items": {
  1041. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1042. }
  1043. }
  1044. },
  1045. "500": {
  1046. "description": "Internal Server Error",
  1047. "schema": {
  1048. "$ref": "#/definitions/app.Response"
  1049. }
  1050. }
  1051. }
  1052. }
  1053. },
  1054. "/Ermcp/QueryExposureSpot": {
  1055. "get": {
  1056. "security": [
  1057. {
  1058. "ApiKeyAuth": []
  1059. }
  1060. ],
  1061. "produces": [
  1062. "application/json"
  1063. ],
  1064. "tags": [
  1065. "企业风险管理(app)"
  1066. ],
  1067. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  1068. "parameters": [
  1069. {
  1070. "type": "integer",
  1071. "description": "所属机构ID",
  1072. "name": "areaUserId",
  1073. "in": "query",
  1074. "required": true
  1075. }
  1076. ],
  1077. "responses": {
  1078. "200": {
  1079. "description": "OK",
  1080. "schema": {
  1081. "type": "array",
  1082. "items": {
  1083. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  1084. }
  1085. }
  1086. },
  1087. "500": {
  1088. "description": "Internal Server Error",
  1089. "schema": {
  1090. "$ref": "#/definitions/app.Response"
  1091. }
  1092. }
  1093. }
  1094. }
  1095. },
  1096. "/Ermcp/QueryHedgePlan": {
  1097. "get": {
  1098. "security": [
  1099. {
  1100. "ApiKeyAuth": []
  1101. }
  1102. ],
  1103. "produces": [
  1104. "application/json"
  1105. ],
  1106. "tags": [
  1107. "企业风险管理(app)"
  1108. ],
  1109. "summary": "查询套保计划",
  1110. "parameters": [
  1111. {
  1112. "type": "integer",
  1113. "description": "用户ID",
  1114. "name": "userId",
  1115. "in": "query",
  1116. "required": true
  1117. },
  1118. {
  1119. "type": "string",
  1120. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  1121. "name": "HedgePlanStatus",
  1122. "in": "query",
  1123. "required": true
  1124. }
  1125. ],
  1126. "responses": {
  1127. "200": {
  1128. "description": "OK",
  1129. "schema": {
  1130. "type": "array",
  1131. "items": {
  1132. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  1133. }
  1134. }
  1135. },
  1136. "500": {
  1137. "description": "Internal Server Error",
  1138. "schema": {
  1139. "$ref": "#/definitions/app.Response"
  1140. }
  1141. }
  1142. }
  1143. }
  1144. },
  1145. "/Ermcp/QueryRealtimeExposure": {
  1146. "get": {
  1147. "security": [
  1148. {
  1149. "ApiKeyAuth": []
  1150. }
  1151. ],
  1152. "produces": [
  1153. "application/json"
  1154. ],
  1155. "tags": [
  1156. "企业风险管理(app)"
  1157. ],
  1158. "summary": "查询实时敞口",
  1159. "parameters": [
  1160. {
  1161. "type": "integer",
  1162. "description": "所属机构ID",
  1163. "name": "AreaUserID",
  1164. "in": "query",
  1165. "required": true
  1166. }
  1167. ],
  1168. "responses": {
  1169. "200": {
  1170. "description": "OK",
  1171. "schema": {
  1172. "type": "array",
  1173. "items": {
  1174. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  1175. }
  1176. }
  1177. },
  1178. "500": {
  1179. "description": "Internal Server Error",
  1180. "schema": {
  1181. "$ref": "#/definitions/app.Response"
  1182. }
  1183. }
  1184. }
  1185. }
  1186. },
  1187. "/Ermcp/QuerySpotContract": {
  1188. "get": {
  1189. "security": [
  1190. {
  1191. "ApiKeyAuth": []
  1192. }
  1193. ],
  1194. "produces": [
  1195. "application/json"
  1196. ],
  1197. "tags": [
  1198. "企业风险管理(app)"
  1199. ],
  1200. "summary": "查询现货合同(对应现货合同菜单)",
  1201. "parameters": [
  1202. {
  1203. "type": "integer",
  1204. "description": "用户ID",
  1205. "name": "userId",
  1206. "in": "query",
  1207. "required": true
  1208. },
  1209. {
  1210. "type": "integer",
  1211. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  1212. "name": "QueryType",
  1213. "in": "query",
  1214. "required": true
  1215. }
  1216. ],
  1217. "responses": {
  1218. "200": {
  1219. "description": "OK",
  1220. "schema": {
  1221. "type": "array",
  1222. "items": {
  1223. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  1224. }
  1225. }
  1226. },
  1227. "500": {
  1228. "description": "Internal Server Error",
  1229. "schema": {
  1230. "$ref": "#/definitions/app.Response"
  1231. }
  1232. }
  1233. }
  1234. }
  1235. },
  1236. "/Ermcp/QueryUserInfo": {
  1237. "get": {
  1238. "security": [
  1239. {
  1240. "ApiKeyAuth": []
  1241. }
  1242. ],
  1243. "produces": [
  1244. "application/json"
  1245. ],
  1246. "tags": [
  1247. "企业风险管理(app)"
  1248. ],
  1249. "summary": "查询客户资料",
  1250. "parameters": [
  1251. {
  1252. "type": "integer",
  1253. "description": "所属机构用户ID",
  1254. "name": "MemberUserID",
  1255. "in": "query",
  1256. "required": true
  1257. },
  1258. {
  1259. "type": "integer",
  1260. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  1261. "name": "queryType",
  1262. "in": "query",
  1263. "required": true
  1264. }
  1265. ],
  1266. "responses": {
  1267. "200": {
  1268. "description": "OK",
  1269. "schema": {
  1270. "type": "array",
  1271. "items": {
  1272. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  1273. }
  1274. }
  1275. },
  1276. "500": {
  1277. "description": "Internal Server Error",
  1278. "schema": {
  1279. "$ref": "#/definitions/app.Response"
  1280. }
  1281. }
  1282. }
  1283. }
  1284. },
  1285. "/Ermcp/QueryWrStandard": {
  1286. "get": {
  1287. "security": [
  1288. {
  1289. "ApiKeyAuth": []
  1290. }
  1291. ],
  1292. "produces": [
  1293. "application/json"
  1294. ],
  1295. "tags": [
  1296. "企业风险管理(app)"
  1297. ],
  1298. "summary": "查询现货商品",
  1299. "parameters": [
  1300. {
  1301. "type": "integer",
  1302. "description": "所属机构ID",
  1303. "name": "userid",
  1304. "in": "query",
  1305. "required": true
  1306. }
  1307. ],
  1308. "responses": {
  1309. "200": {
  1310. "description": "OK",
  1311. "schema": {
  1312. "type": "array",
  1313. "items": {
  1314. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  1315. }
  1316. }
  1317. },
  1318. "500": {
  1319. "description": "Internal Server Error",
  1320. "schema": {
  1321. "$ref": "#/definitions/app.Response"
  1322. }
  1323. }
  1324. }
  1325. }
  1326. },
  1327. "/Erms2/QueryArbitrageStrategy": {
  1328. "get": {
  1329. "security": [
  1330. {
  1331. "ApiKeyAuth": []
  1332. }
  1333. ],
  1334. "produces": [
  1335. "application/json"
  1336. ],
  1337. "tags": [
  1338. "风险管理"
  1339. ],
  1340. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  1341. "parameters": [
  1342. {
  1343. "type": "integer",
  1344. "description": "账户ID",
  1345. "name": "userid",
  1346. "in": "query",
  1347. "required": true
  1348. },
  1349. {
  1350. "type": "string",
  1351. "description": "商品组ID(品种ID)",
  1352. "name": "goodsgroupid",
  1353. "in": "query"
  1354. }
  1355. ],
  1356. "responses": {
  1357. "200": {
  1358. "description": "OK",
  1359. "schema": {
  1360. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  1361. }
  1362. },
  1363. "500": {
  1364. "description": "Internal Server Error",
  1365. "schema": {
  1366. "$ref": "#/definitions/app.Response"
  1367. }
  1368. }
  1369. }
  1370. }
  1371. },
  1372. "/Erms2/QueryInnerTradeDetail": {
  1373. "get": {
  1374. "security": [
  1375. {
  1376. "ApiKeyAuth": []
  1377. }
  1378. ],
  1379. "produces": [
  1380. "application/json"
  1381. ],
  1382. "tags": [
  1383. "风险管理"
  1384. ],
  1385. "summary": "查询内部成交单信息",
  1386. "parameters": [
  1387. {
  1388. "type": "integer",
  1389. "description": "资金账户",
  1390. "name": "accountid",
  1391. "in": "query",
  1392. "required": true
  1393. }
  1394. ],
  1395. "responses": {
  1396. "200": {
  1397. "description": "OK",
  1398. "schema": {
  1399. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  1400. }
  1401. },
  1402. "500": {
  1403. "description": "Internal Server Error",
  1404. "schema": {
  1405. "$ref": "#/definitions/app.Response"
  1406. }
  1407. }
  1408. }
  1409. }
  1410. },
  1411. "/Erms2/QuerySpotContract": {
  1412. "get": {
  1413. "security": [
  1414. {
  1415. "ApiKeyAuth": []
  1416. }
  1417. ],
  1418. "produces": [
  1419. "application/json"
  1420. ],
  1421. "tags": [
  1422. "风险管理"
  1423. ],
  1424. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  1425. "parameters": [
  1426. {
  1427. "type": "integer",
  1428. "description": "策略申请ID",
  1429. "name": "asapplyid",
  1430. "in": "query",
  1431. "required": true
  1432. },
  1433. {
  1434. "type": "integer",
  1435. "description": "现货合同ID",
  1436. "name": "spotcontractid",
  1437. "in": "query"
  1438. }
  1439. ],
  1440. "responses": {
  1441. "200": {
  1442. "description": "OK",
  1443. "schema": {
  1444. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  1445. }
  1446. },
  1447. "500": {
  1448. "description": "Internal Server Error",
  1449. "schema": {
  1450. "$ref": "#/definitions/app.Response"
  1451. }
  1452. }
  1453. }
  1454. }
  1455. },
  1456. "/Erms3/AddErms2ASApply": {
  1457. "post": {
  1458. "security": [
  1459. {
  1460. "ApiKeyAuth": []
  1461. }
  1462. ],
  1463. "produces": [
  1464. "application/json"
  1465. ],
  1466. "tags": [
  1467. "风险管理v3"
  1468. ],
  1469. "summary": "新增期现套利业务申请",
  1470. "parameters": [
  1471. {
  1472. "description": "申请参数",
  1473. "name": "jsonBody",
  1474. "in": "body",
  1475. "required": true,
  1476. "schema": {
  1477. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  1478. }
  1479. }
  1480. ],
  1481. "responses": {
  1482. "200": {
  1483. "description": "OK",
  1484. "schema": {
  1485. "$ref": "#/definitions/app.Response"
  1486. }
  1487. },
  1488. "500": {
  1489. "description": "Internal Server Error",
  1490. "schema": {
  1491. "$ref": "#/definitions/app.Response"
  1492. }
  1493. }
  1494. }
  1495. }
  1496. },
  1497. "/Erms3/AddErms2SpotTradeApply": {
  1498. "post": {
  1499. "security": [
  1500. {
  1501. "ApiKeyAuth": []
  1502. }
  1503. ],
  1504. "produces": [
  1505. "application/json"
  1506. ],
  1507. "tags": [
  1508. "风险管理v3"
  1509. ],
  1510. "summary": "新增现货贸易业务申请",
  1511. "parameters": [
  1512. {
  1513. "description": "申请参数",
  1514. "name": "jsonBody",
  1515. "in": "body",
  1516. "required": true,
  1517. "schema": {
  1518. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  1519. }
  1520. }
  1521. ],
  1522. "responses": {
  1523. "200": {
  1524. "description": "OK",
  1525. "schema": {
  1526. "$ref": "#/definitions/app.Response"
  1527. }
  1528. },
  1529. "500": {
  1530. "description": "Internal Server Error",
  1531. "schema": {
  1532. "$ref": "#/definitions/app.Response"
  1533. }
  1534. }
  1535. }
  1536. }
  1537. },
  1538. "/Erms3/AddSpotContractApply": {
  1539. "post": {
  1540. "security": [
  1541. {
  1542. "ApiKeyAuth": []
  1543. }
  1544. ],
  1545. "produces": [
  1546. "application/json"
  1547. ],
  1548. "tags": [
  1549. "风险管理v3"
  1550. ],
  1551. "summary": "新增现货合同申请",
  1552. "parameters": [
  1553. {
  1554. "description": "申请参数",
  1555. "name": "jsonBody",
  1556. "in": "body",
  1557. "required": true,
  1558. "schema": {
  1559. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  1560. }
  1561. }
  1562. ],
  1563. "responses": {
  1564. "200": {
  1565. "description": "OK",
  1566. "schema": {
  1567. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  1568. }
  1569. },
  1570. "500": {
  1571. "description": "Internal Server Error",
  1572. "schema": {
  1573. "$ref": "#/definitions/app.Response"
  1574. }
  1575. }
  1576. }
  1577. }
  1578. },
  1579. "/Erms3/AddUserInfoApply": {
  1580. "post": {
  1581. "security": [
  1582. {
  1583. "ApiKeyAuth": []
  1584. }
  1585. ],
  1586. "produces": [
  1587. "application/json"
  1588. ],
  1589. "tags": [
  1590. "风险管理v3"
  1591. ],
  1592. "summary": "新增客户申请",
  1593. "parameters": [
  1594. {
  1595. "description": "申请参数",
  1596. "name": "jsonBody",
  1597. "in": "body",
  1598. "required": true,
  1599. "schema": {
  1600. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  1601. }
  1602. }
  1603. ],
  1604. "responses": {
  1605. "200": {
  1606. "description": "OK",
  1607. "schema": {
  1608. "$ref": "#/definitions/app.Response"
  1609. }
  1610. },
  1611. "500": {
  1612. "description": "Internal Server Error",
  1613. "schema": {
  1614. "$ref": "#/definitions/app.Response"
  1615. }
  1616. }
  1617. }
  1618. }
  1619. },
  1620. "/Erms3/QueryBusinessInfo": {
  1621. "get": {
  1622. "security": [
  1623. {
  1624. "ApiKeyAuth": []
  1625. }
  1626. ],
  1627. "produces": [
  1628. "application/json"
  1629. ],
  1630. "tags": [
  1631. "风险管理v3"
  1632. ],
  1633. "summary": "查询业务表单数据",
  1634. "parameters": [
  1635. {
  1636. "type": "string",
  1637. "description": "资金账号ID列表,用逗号分隔",
  1638. "name": "accountids",
  1639. "in": "query",
  1640. "required": true
  1641. },
  1642. {
  1643. "type": "integer",
  1644. "description": "状态,0为未结束 1为已结束",
  1645. "name": "status",
  1646. "in": "query",
  1647. "required": true
  1648. }
  1649. ],
  1650. "responses": {
  1651. "200": {
  1652. "description": "OK",
  1653. "schema": {
  1654. "type": "array",
  1655. "items": {
  1656. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  1657. }
  1658. }
  1659. },
  1660. "500": {
  1661. "description": "Internal Server Error",
  1662. "schema": {
  1663. "$ref": "#/definitions/app.Response"
  1664. }
  1665. }
  1666. }
  1667. }
  1668. },
  1669. "/Erms3/QueryPendingAuditContract": {
  1670. "get": {
  1671. "security": [
  1672. {
  1673. "ApiKeyAuth": []
  1674. }
  1675. ],
  1676. "produces": [
  1677. "application/json"
  1678. ],
  1679. "tags": [
  1680. "风险管理v3"
  1681. ],
  1682. "summary": "查询待审核合同",
  1683. "parameters": [
  1684. {
  1685. "type": "string",
  1686. "description": "资金账号ID列表,逗号隔开",
  1687. "name": "accountids",
  1688. "in": "query",
  1689. "required": true
  1690. },
  1691. {
  1692. "type": "integer",
  1693. "description": "合同类型 1-采购 -1-销售",
  1694. "name": "contracttype",
  1695. "in": "query",
  1696. "required": true
  1697. },
  1698. {
  1699. "type": "integer",
  1700. "description": "合同模式 1-普通 2-回购",
  1701. "name": "contractmode",
  1702. "in": "query",
  1703. "required": true
  1704. }
  1705. ],
  1706. "responses": {
  1707. "200": {
  1708. "description": "OK",
  1709. "schema": {
  1710. "type": "array",
  1711. "items": {
  1712. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  1713. }
  1714. }
  1715. },
  1716. "500": {
  1717. "description": "Internal Server Error",
  1718. "schema": {
  1719. "$ref": "#/definitions/app.Response"
  1720. }
  1721. }
  1722. }
  1723. }
  1724. },
  1725. "/Erms3/QueryPendingBusiness": {
  1726. "get": {
  1727. "security": [
  1728. {
  1729. "ApiKeyAuth": []
  1730. }
  1731. ],
  1732. "produces": [
  1733. "application/json"
  1734. ],
  1735. "tags": [
  1736. "风险管理v3"
  1737. ],
  1738. "summary": "查询待审核基差贸易业务",
  1739. "parameters": [
  1740. {
  1741. "type": "string",
  1742. "description": "资金账号ID列表,逗号隔开",
  1743. "name": "accountids",
  1744. "in": "query",
  1745. "required": true
  1746. }
  1747. ],
  1748. "responses": {
  1749. "200": {
  1750. "description": "OK",
  1751. "schema": {
  1752. "type": "array",
  1753. "items": {
  1754. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  1755. }
  1756. }
  1757. },
  1758. "500": {
  1759. "description": "Internal Server Error",
  1760. "schema": {
  1761. "$ref": "#/definitions/app.Response"
  1762. }
  1763. }
  1764. }
  1765. }
  1766. },
  1767. "/Erms3/QuerySpotContractAppleForm": {
  1768. "get": {
  1769. "security": [
  1770. {
  1771. "ApiKeyAuth": []
  1772. }
  1773. ],
  1774. "produces": [
  1775. "application/json"
  1776. ],
  1777. "tags": [
  1778. "风险管理v3"
  1779. ],
  1780. "summary": "查询合同申请表单数据",
  1781. "parameters": [
  1782. {
  1783. "type": "integer",
  1784. "description": "登录账号",
  1785. "name": "loginID",
  1786. "in": "query",
  1787. "required": true
  1788. }
  1789. ],
  1790. "responses": {
  1791. "200": {
  1792. "description": "OK",
  1793. "schema": {
  1794. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  1795. }
  1796. },
  1797. "500": {
  1798. "description": "Internal Server Error",
  1799. "schema": {
  1800. "$ref": "#/definitions/app.Response"
  1801. }
  1802. }
  1803. }
  1804. }
  1805. },
  1806. "/Erms3/QuerySpotContractDetail": {
  1807. "get": {
  1808. "security": [
  1809. {
  1810. "ApiKeyAuth": []
  1811. }
  1812. ],
  1813. "produces": [
  1814. "application/json"
  1815. ],
  1816. "tags": [
  1817. "风险管理v3"
  1818. ],
  1819. "summary": "查询合同详细信息",
  1820. "parameters": [
  1821. {
  1822. "type": "string",
  1823. "description": "资金账号ID列表,用逗号分隔",
  1824. "name": "accountids",
  1825. "in": "query",
  1826. "required": true
  1827. },
  1828. {
  1829. "type": "integer",
  1830. "description": "合同类型,1为采购合同 -1为销售合同",
  1831. "name": "contracttype",
  1832. "in": "query",
  1833. "required": true
  1834. },
  1835. {
  1836. "type": "integer",
  1837. "description": "合同模式,1为普通合同 2为回购销售合同",
  1838. "name": "contractmode",
  1839. "in": "query",
  1840. "required": true
  1841. },
  1842. {
  1843. "type": "integer",
  1844. "description": "状态,0为履约中 1为已完成",
  1845. "name": "status",
  1846. "in": "query",
  1847. "required": true
  1848. }
  1849. ],
  1850. "responses": {
  1851. "200": {
  1852. "description": "OK",
  1853. "schema": {
  1854. "type": "array",
  1855. "items": {
  1856. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  1857. }
  1858. }
  1859. },
  1860. "500": {
  1861. "description": "Internal Server Error",
  1862. "schema": {
  1863. "$ref": "#/definitions/app.Response"
  1864. }
  1865. }
  1866. }
  1867. }
  1868. },
  1869. "/Erms3/QueryUserInfoApplies": {
  1870. "get": {
  1871. "security": [
  1872. {
  1873. "ApiKeyAuth": []
  1874. }
  1875. ],
  1876. "produces": [
  1877. "application/json"
  1878. ],
  1879. "tags": [
  1880. "风险管理v3"
  1881. ],
  1882. "summary": "客户申请信息查询",
  1883. "parameters": [
  1884. {
  1885. "type": "integer",
  1886. "description": "页码",
  1887. "name": "page",
  1888. "in": "query"
  1889. },
  1890. {
  1891. "type": "integer",
  1892. "description": "每页条数",
  1893. "name": "pagesize",
  1894. "in": "query"
  1895. },
  1896. {
  1897. "type": "string",
  1898. "description": "客户名称,支持模糊查询",
  1899. "name": "userName",
  1900. "in": "query"
  1901. }
  1902. ],
  1903. "responses": {
  1904. "200": {
  1905. "description": "OK",
  1906. "schema": {
  1907. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  1908. }
  1909. },
  1910. "500": {
  1911. "description": "Internal Server Error",
  1912. "schema": {
  1913. "$ref": "#/definitions/app.Response"
  1914. }
  1915. }
  1916. }
  1917. }
  1918. },
  1919. "/Erms3/QueryUserInfos": {
  1920. "get": {
  1921. "security": [
  1922. {
  1923. "ApiKeyAuth": []
  1924. }
  1925. ],
  1926. "produces": [
  1927. "application/json"
  1928. ],
  1929. "tags": [
  1930. "风险管理v3"
  1931. ],
  1932. "summary": "客户信息查询",
  1933. "parameters": [
  1934. {
  1935. "type": "integer",
  1936. "description": "页码",
  1937. "name": "page",
  1938. "in": "query"
  1939. },
  1940. {
  1941. "type": "integer",
  1942. "description": "每页条数",
  1943. "name": "pagesize",
  1944. "in": "query"
  1945. },
  1946. {
  1947. "type": "string",
  1948. "description": "客户名称,支持模糊查询",
  1949. "name": "userName",
  1950. "in": "query"
  1951. }
  1952. ],
  1953. "responses": {
  1954. "200": {
  1955. "description": "OK",
  1956. "schema": {
  1957. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  1958. }
  1959. },
  1960. "500": {
  1961. "description": "Internal Server Error",
  1962. "schema": {
  1963. "$ref": "#/definitions/app.Response"
  1964. }
  1965. }
  1966. }
  1967. }
  1968. },
  1969. "/HSBY/GetHsbyMyCount": {
  1970. "get": {
  1971. "security": [
  1972. {
  1973. "ApiKeyAuth": []
  1974. }
  1975. ],
  1976. "description": "说明: 不包括已完成的数量。",
  1977. "produces": [
  1978. "application/json"
  1979. ],
  1980. "tags": [
  1981. "定制【海商报业】"
  1982. ],
  1983. "summary": "获取我的订单与包裹数量",
  1984. "parameters": [
  1985. {
  1986. "type": "string",
  1987. "description": "资金账户列表,格式:1,2,3",
  1988. "name": "accountIDs",
  1989. "in": "query",
  1990. "required": true
  1991. }
  1992. ],
  1993. "responses": {
  1994. "200": {
  1995. "description": "OK",
  1996. "schema": {
  1997. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  1998. }
  1999. },
  2000. "500": {
  2001. "description": "Internal Server Error",
  2002. "schema": {
  2003. "$ref": "#/definitions/app.Response"
  2004. }
  2005. }
  2006. }
  2007. }
  2008. },
  2009. "/HSBY/QueryClientFixedADConfigs": {
  2010. "get": {
  2011. "security": [
  2012. {
  2013. "ApiKeyAuth": []
  2014. }
  2015. ],
  2016. "produces": [
  2017. "application/json"
  2018. ],
  2019. "tags": [
  2020. "定制【海商报业】"
  2021. ],
  2022. "summary": "获取终端固定广告配置",
  2023. "responses": {
  2024. "200": {
  2025. "description": "OK",
  2026. "schema": {
  2027. "$ref": "#/definitions/models.Clientfixedadconfig"
  2028. }
  2029. },
  2030. "500": {
  2031. "description": "Internal Server Error",
  2032. "schema": {
  2033. "$ref": "#/definitions/app.Response"
  2034. }
  2035. }
  2036. }
  2037. }
  2038. },
  2039. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  2040. "get": {
  2041. "security": [
  2042. {
  2043. "ApiKeyAuth": []
  2044. }
  2045. ],
  2046. "produces": [
  2047. "application/json"
  2048. ],
  2049. "tags": [
  2050. "定制【海商报业】"
  2051. ],
  2052. "summary": "查询\"我的订单 - 已完成\"单据信息",
  2053. "parameters": [
  2054. {
  2055. "type": "integer",
  2056. "description": "页码",
  2057. "name": "page",
  2058. "in": "query"
  2059. },
  2060. {
  2061. "type": "integer",
  2062. "description": "每页条数",
  2063. "name": "pagesize",
  2064. "in": "query"
  2065. },
  2066. {
  2067. "type": "string",
  2068. "description": "资金账户列表,格式:1,2,3",
  2069. "name": "accountIDs",
  2070. "in": "query",
  2071. "required": true
  2072. }
  2073. ],
  2074. "responses": {
  2075. "200": {
  2076. "description": "OK",
  2077. "schema": {
  2078. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  2079. }
  2080. },
  2081. "500": {
  2082. "description": "Internal Server Error",
  2083. "schema": {
  2084. "$ref": "#/definitions/app.Response"
  2085. }
  2086. }
  2087. }
  2088. }
  2089. },
  2090. "/HSBY/QueryHsbyGoodsOrderDetails": {
  2091. "get": {
  2092. "security": [
  2093. {
  2094. "ApiKeyAuth": []
  2095. }
  2096. ],
  2097. "description": "说明:查询结果已按委托价格和委托时间排序",
  2098. "produces": [
  2099. "application/json"
  2100. ],
  2101. "tags": [
  2102. "定制【海商报业】"
  2103. ],
  2104. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  2105. "parameters": [
  2106. {
  2107. "type": "integer",
  2108. "description": "商品ID",
  2109. "name": "goodsID",
  2110. "in": "query",
  2111. "required": true
  2112. },
  2113. {
  2114. "type": "string",
  2115. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  2116. "name": "accountIDs",
  2117. "in": "query"
  2118. },
  2119. {
  2120. "type": "integer",
  2121. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  2122. "name": "buyOrSell",
  2123. "in": "query"
  2124. },
  2125. {
  2126. "type": "number",
  2127. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  2128. "name": "price",
  2129. "in": "query"
  2130. },
  2131. {
  2132. "type": "integer",
  2133. "description": "档位,不传则默认为3档",
  2134. "name": "speed",
  2135. "in": "query"
  2136. }
  2137. ],
  2138. "responses": {
  2139. "200": {
  2140. "description": "OK",
  2141. "schema": {
  2142. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  2143. }
  2144. },
  2145. "500": {
  2146. "description": "Internal Server Error",
  2147. "schema": {
  2148. "$ref": "#/definitions/app.Response"
  2149. }
  2150. }
  2151. }
  2152. }
  2153. },
  2154. "/HSBY/QueryHsbyListingGoodsDetail": {
  2155. "get": {
  2156. "security": [
  2157. {
  2158. "ApiKeyAuth": []
  2159. }
  2160. ],
  2161. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  2162. "produces": [
  2163. "application/json"
  2164. ],
  2165. "tags": [
  2166. "定制【海商报业】"
  2167. ],
  2168. "summary": "查询二级市场(挂牌点选)商品信息详情",
  2169. "parameters": [
  2170. {
  2171. "type": "integer",
  2172. "description": "商品ID",
  2173. "name": "goodsID",
  2174. "in": "query",
  2175. "required": true
  2176. },
  2177. {
  2178. "type": "integer",
  2179. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  2180. "name": "accountID",
  2181. "in": "query"
  2182. }
  2183. ],
  2184. "responses": {
  2185. "200": {
  2186. "description": "OK",
  2187. "schema": {
  2188. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  2189. }
  2190. },
  2191. "500": {
  2192. "description": "Internal Server Error",
  2193. "schema": {
  2194. "$ref": "#/definitions/app.Response"
  2195. }
  2196. }
  2197. }
  2198. }
  2199. },
  2200. "/HSBY/QueryHsbyMarketGoodsDetail": {
  2201. "get": {
  2202. "security": [
  2203. {
  2204. "ApiKeyAuth": []
  2205. }
  2206. ],
  2207. "produces": [
  2208. "application/json"
  2209. ],
  2210. "tags": [
  2211. "定制【海商报业】"
  2212. ],
  2213. "summary": "查询三级市场(商城)商品信息详情",
  2214. "parameters": [
  2215. {
  2216. "type": "integer",
  2217. "description": "委托单号",
  2218. "name": "orderID",
  2219. "in": "query",
  2220. "required": true
  2221. },
  2222. {
  2223. "type": "integer",
  2224. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  2225. "name": "accountID",
  2226. "in": "query"
  2227. }
  2228. ],
  2229. "responses": {
  2230. "200": {
  2231. "description": "OK",
  2232. "schema": {
  2233. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  2234. }
  2235. },
  2236. "500": {
  2237. "description": "Internal Server Error",
  2238. "schema": {
  2239. "$ref": "#/definitions/app.Response"
  2240. }
  2241. }
  2242. }
  2243. }
  2244. },
  2245. "/HSBY/QueryHsbyMarketGoodses": {
  2246. "get": {
  2247. "security": [
  2248. {
  2249. "ApiKeyAuth": []
  2250. }
  2251. ],
  2252. "produces": [
  2253. "application/json"
  2254. ],
  2255. "tags": [
  2256. "定制【海商报业】"
  2257. ],
  2258. "summary": "查询特卖商品列表(三级商城)",
  2259. "parameters": [
  2260. {
  2261. "type": "integer",
  2262. "description": "页码",
  2263. "name": "page",
  2264. "in": "query"
  2265. },
  2266. {
  2267. "type": "integer",
  2268. "description": "每页条数",
  2269. "name": "pagesize",
  2270. "in": "query"
  2271. },
  2272. {
  2273. "type": "string",
  2274. "description": "市场ID列表,格式:1,2,3",
  2275. "name": "marketIDs",
  2276. "in": "query",
  2277. "required": true
  2278. },
  2279. {
  2280. "type": "integer",
  2281. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  2282. "name": "accountID",
  2283. "in": "query",
  2284. "required": true
  2285. },
  2286. {
  2287. "type": "integer",
  2288. "description": "类别ID",
  2289. "name": "categoryID",
  2290. "in": "query"
  2291. },
  2292. {
  2293. "type": "string",
  2294. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  2295. "name": "goodsIDs",
  2296. "in": "query"
  2297. },
  2298. {
  2299. "type": "integer",
  2300. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  2301. "name": "couponTypeID",
  2302. "in": "query"
  2303. }
  2304. ],
  2305. "responses": {
  2306. "200": {
  2307. "description": "OK",
  2308. "schema": {
  2309. "$ref": "#/definitions/models.HsbyMarketGoods"
  2310. }
  2311. },
  2312. "500": {
  2313. "description": "Internal Server Error",
  2314. "schema": {
  2315. "$ref": "#/definitions/app.Response"
  2316. }
  2317. }
  2318. }
  2319. }
  2320. },
  2321. "/HSBY/QueryHsbyMarkets": {
  2322. "get": {
  2323. "security": [
  2324. {
  2325. "ApiKeyAuth": []
  2326. }
  2327. ],
  2328. "produces": [
  2329. "application/json"
  2330. ],
  2331. "tags": [
  2332. "定制【海商报业】"
  2333. ],
  2334. "summary": "查询海商报业相关市场信息",
  2335. "responses": {
  2336. "200": {
  2337. "description": "OK",
  2338. "schema": {
  2339. "$ref": "#/definitions/models.HsbyMarketInfo"
  2340. }
  2341. },
  2342. "500": {
  2343. "description": "Internal Server Error",
  2344. "schema": {
  2345. "$ref": "#/definitions/app.Response"
  2346. }
  2347. }
  2348. }
  2349. }
  2350. },
  2351. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  2352. "get": {
  2353. "security": [
  2354. {
  2355. "ApiKeyAuth": []
  2356. }
  2357. ],
  2358. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  2359. "produces": [
  2360. "application/json"
  2361. ],
  2362. "tags": [
  2363. "定制【海商报业】"
  2364. ],
  2365. "summary": "查询“我的订单”信息",
  2366. "parameters": [
  2367. {
  2368. "type": "string",
  2369. "description": "资金账户列表,格式:1,2,3",
  2370. "name": "accountIDs",
  2371. "in": "query",
  2372. "required": true
  2373. },
  2374. {
  2375. "type": "integer",
  2376. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  2377. "name": "myBuyStatus",
  2378. "in": "query"
  2379. }
  2380. ],
  2381. "responses": {
  2382. "200": {
  2383. "description": "OK",
  2384. "schema": {
  2385. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  2386. }
  2387. },
  2388. "500": {
  2389. "description": "Internal Server Error",
  2390. "schema": {
  2391. "$ref": "#/definitions/app.Response"
  2392. }
  2393. }
  2394. }
  2395. }
  2396. },
  2397. "/HSBY/QueryHsbyMyGoods": {
  2398. "get": {
  2399. "security": [
  2400. {
  2401. "ApiKeyAuth": []
  2402. }
  2403. ],
  2404. "produces": [
  2405. "application/json"
  2406. ],
  2407. "tags": [
  2408. "定制【海商报业】"
  2409. ],
  2410. "summary": "查询“我的商品”信息",
  2411. "parameters": [
  2412. {
  2413. "type": "string",
  2414. "description": "资金账户列表,格式:1,2,3",
  2415. "name": "accountIDs",
  2416. "in": "query",
  2417. "required": true
  2418. }
  2419. ],
  2420. "responses": {
  2421. "200": {
  2422. "description": "OK",
  2423. "schema": {
  2424. "$ref": "#/definitions/models.HsbyMyGoods"
  2425. }
  2426. },
  2427. "500": {
  2428. "description": "Internal Server Error",
  2429. "schema": {
  2430. "$ref": "#/definitions/app.Response"
  2431. }
  2432. }
  2433. }
  2434. }
  2435. },
  2436. "/HSBY/QueryHsbyMyPackages": {
  2437. "get": {
  2438. "security": [
  2439. {
  2440. "ApiKeyAuth": []
  2441. }
  2442. ],
  2443. "produces": [
  2444. "application/json"
  2445. ],
  2446. "tags": [
  2447. "定制【海商报业】"
  2448. ],
  2449. "summary": "查询我的包裹信息",
  2450. "parameters": [
  2451. {
  2452. "type": "string",
  2453. "description": "资金账户列表,格式:1,2,3",
  2454. "name": "accountIDs",
  2455. "in": "query",
  2456. "required": true
  2457. },
  2458. {
  2459. "type": "integer",
  2460. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2461. "name": "takeOrderStatus",
  2462. "in": "query"
  2463. }
  2464. ],
  2465. "responses": {
  2466. "200": {
  2467. "description": "OK",
  2468. "schema": {
  2469. "$ref": "#/definitions/models.HsbyMyPackage"
  2470. }
  2471. },
  2472. "500": {
  2473. "description": "Internal Server Error",
  2474. "schema": {
  2475. "$ref": "#/definitions/app.Response"
  2476. }
  2477. }
  2478. }
  2479. }
  2480. },
  2481. "/HSBY/QueryHsbyPreGoodsDetail": {
  2482. "get": {
  2483. "security": [
  2484. {
  2485. "ApiKeyAuth": []
  2486. }
  2487. ],
  2488. "produces": [
  2489. "application/json"
  2490. ],
  2491. "tags": [
  2492. "定制【海商报业】"
  2493. ],
  2494. "summary": "查询一级市场(预售)商品信息详情",
  2495. "parameters": [
  2496. {
  2497. "type": "integer",
  2498. "description": "商品ID",
  2499. "name": "goodsID",
  2500. "in": "query",
  2501. "required": true
  2502. },
  2503. {
  2504. "type": "integer",
  2505. "description": "资金账户,主要用于获取预售商品购买上限",
  2506. "name": "accountID",
  2507. "in": "query"
  2508. }
  2509. ],
  2510. "responses": {
  2511. "200": {
  2512. "description": "OK",
  2513. "schema": {
  2514. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  2515. }
  2516. },
  2517. "500": {
  2518. "description": "Internal Server Error",
  2519. "schema": {
  2520. "$ref": "#/definitions/app.Response"
  2521. }
  2522. }
  2523. }
  2524. }
  2525. },
  2526. "/HSBY/QueryHsbyPreGoodses": {
  2527. "get": {
  2528. "security": [
  2529. {
  2530. "ApiKeyAuth": []
  2531. }
  2532. ],
  2533. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  2534. "produces": [
  2535. "application/json"
  2536. ],
  2537. "tags": [
  2538. "定制【海商报业】"
  2539. ],
  2540. "summary": "查询新品上市商品列表(一级市场预售)",
  2541. "parameters": [
  2542. {
  2543. "type": "integer",
  2544. "description": "页码",
  2545. "name": "page",
  2546. "in": "query"
  2547. },
  2548. {
  2549. "type": "integer",
  2550. "description": "每页条数",
  2551. "name": "pagesize",
  2552. "in": "query"
  2553. },
  2554. {
  2555. "type": "string",
  2556. "description": "市场ID列表,格式:1,2,3",
  2557. "name": "marketIDs",
  2558. "in": "query",
  2559. "required": true
  2560. },
  2561. {
  2562. "type": "integer",
  2563. "description": "目的地(省)ID",
  2564. "name": "descProvinceID",
  2565. "in": "query"
  2566. },
  2567. {
  2568. "type": "integer",
  2569. "description": "目的地(市)ID",
  2570. "name": "descCityID",
  2571. "in": "query"
  2572. }
  2573. ],
  2574. "responses": {
  2575. "200": {
  2576. "description": "OK",
  2577. "schema": {
  2578. "$ref": "#/definitions/models.HsbyPreGoods"
  2579. }
  2580. },
  2581. "500": {
  2582. "description": "Internal Server Error",
  2583. "schema": {
  2584. "$ref": "#/definitions/app.Response"
  2585. }
  2586. }
  2587. }
  2588. }
  2589. },
  2590. "/HSBY/QueryHsbySellMyDetails": {
  2591. "get": {
  2592. "security": [
  2593. {
  2594. "ApiKeyAuth": []
  2595. }
  2596. ],
  2597. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  2598. "produces": [
  2599. "application/json"
  2600. ],
  2601. "tags": [
  2602. "定制【海商报业】"
  2603. ],
  2604. "summary": "查询\"我的闲置\"单据信息",
  2605. "parameters": [
  2606. {
  2607. "type": "integer",
  2608. "description": "页码",
  2609. "name": "page",
  2610. "in": "query"
  2611. },
  2612. {
  2613. "type": "integer",
  2614. "description": "每页条数",
  2615. "name": "pagesize",
  2616. "in": "query"
  2617. },
  2618. {
  2619. "type": "string",
  2620. "description": "资金账户列表,格式:1,2,3",
  2621. "name": "accountIDs",
  2622. "in": "query",
  2623. "required": true
  2624. },
  2625. {
  2626. "type": "integer",
  2627. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  2628. "name": "orderType",
  2629. "in": "query"
  2630. }
  2631. ],
  2632. "responses": {
  2633. "200": {
  2634. "description": "OK",
  2635. "schema": {
  2636. "$ref": "#/definitions/models.HsbySellMyDetail"
  2637. }
  2638. },
  2639. "500": {
  2640. "description": "Internal Server Error",
  2641. "schema": {
  2642. "$ref": "#/definitions/app.Response"
  2643. }
  2644. }
  2645. }
  2646. }
  2647. },
  2648. "/HSBY/QueryHsbyTopGoodses": {
  2649. "get": {
  2650. "security": [
  2651. {
  2652. "ApiKeyAuth": []
  2653. }
  2654. ],
  2655. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  2656. "produces": [
  2657. "application/json"
  2658. ],
  2659. "tags": [
  2660. "定制【海商报业】"
  2661. ],
  2662. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  2663. "parameters": [
  2664. {
  2665. "type": "integer",
  2666. "description": "页码",
  2667. "name": "page",
  2668. "in": "query"
  2669. },
  2670. {
  2671. "type": "integer",
  2672. "description": "每页条数",
  2673. "name": "pagesize",
  2674. "in": "query"
  2675. },
  2676. {
  2677. "type": "string",
  2678. "description": "市场ID列表,格式:1,2,3",
  2679. "name": "marketIDs",
  2680. "in": "query",
  2681. "required": true
  2682. },
  2683. {
  2684. "type": "integer",
  2685. "description": "目的地(省)ID",
  2686. "name": "descProvinceID",
  2687. "in": "query"
  2688. },
  2689. {
  2690. "type": "integer",
  2691. "description": "目的地(市)ID",
  2692. "name": "descCityID",
  2693. "in": "query"
  2694. }
  2695. ],
  2696. "responses": {
  2697. "200": {
  2698. "description": "OK",
  2699. "schema": {
  2700. "$ref": "#/definitions/models.HsbyTopGoods"
  2701. }
  2702. },
  2703. "500": {
  2704. "description": "Internal Server Error",
  2705. "schema": {
  2706. "$ref": "#/definitions/app.Response"
  2707. }
  2708. }
  2709. }
  2710. }
  2711. },
  2712. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  2713. "get": {
  2714. "security": [
  2715. {
  2716. "ApiKeyAuth": []
  2717. }
  2718. ],
  2719. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  2720. "produces": [
  2721. "application/json"
  2722. ],
  2723. "tags": [
  2724. "定制【海商报业】"
  2725. ],
  2726. "summary": "查询游客三级市场(商城)商品信息详情",
  2727. "parameters": [
  2728. {
  2729. "type": "integer",
  2730. "description": "商品ID",
  2731. "name": "goodsID",
  2732. "in": "query",
  2733. "required": true
  2734. }
  2735. ],
  2736. "responses": {
  2737. "200": {
  2738. "description": "OK",
  2739. "schema": {
  2740. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  2741. }
  2742. },
  2743. "500": {
  2744. "description": "Internal Server Error",
  2745. "schema": {
  2746. "$ref": "#/definitions/app.Response"
  2747. }
  2748. }
  2749. }
  2750. }
  2751. },
  2752. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  2753. "get": {
  2754. "security": [
  2755. {
  2756. "ApiKeyAuth": []
  2757. }
  2758. ],
  2759. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  2760. "produces": [
  2761. "application/json"
  2762. ],
  2763. "tags": [
  2764. "定制【海商报业】"
  2765. ],
  2766. "summary": "查询游客特卖商品列表(三级商城)",
  2767. "parameters": [
  2768. {
  2769. "type": "integer",
  2770. "description": "页码",
  2771. "name": "page",
  2772. "in": "query"
  2773. },
  2774. {
  2775. "type": "integer",
  2776. "description": "每页条数",
  2777. "name": "pagesize",
  2778. "in": "query"
  2779. },
  2780. {
  2781. "type": "string",
  2782. "description": "市场ID列表,格式:1,2,3",
  2783. "name": "marketIDs",
  2784. "in": "query",
  2785. "required": true
  2786. },
  2787. {
  2788. "type": "integer",
  2789. "description": "类别ID",
  2790. "name": "categoryID",
  2791. "in": "query"
  2792. },
  2793. {
  2794. "type": "string",
  2795. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  2796. "name": "goodsIDs",
  2797. "in": "query"
  2798. }
  2799. ],
  2800. "responses": {
  2801. "200": {
  2802. "description": "OK",
  2803. "schema": {
  2804. "$ref": "#/definitions/models.HsbyMarketGoods"
  2805. }
  2806. },
  2807. "500": {
  2808. "description": "Internal Server Error",
  2809. "schema": {
  2810. "$ref": "#/definitions/app.Response"
  2811. }
  2812. }
  2813. }
  2814. }
  2815. },
  2816. "/HSBY/QueryMyCollectionOrders": {
  2817. "get": {
  2818. "security": [
  2819. {
  2820. "ApiKeyAuth": []
  2821. }
  2822. ],
  2823. "produces": [
  2824. "application/json"
  2825. ],
  2826. "tags": [
  2827. "定制【海商报业】"
  2828. ],
  2829. "summary": "我的闲置中收款信息查询",
  2830. "parameters": [
  2831. {
  2832. "type": "integer",
  2833. "description": "页码",
  2834. "name": "page",
  2835. "in": "query"
  2836. },
  2837. {
  2838. "type": "integer",
  2839. "description": "每页条数",
  2840. "name": "pagesize",
  2841. "in": "query"
  2842. },
  2843. {
  2844. "type": "string",
  2845. "description": "资金账户,格式:1,2,3",
  2846. "name": "accountIDs",
  2847. "in": "query",
  2848. "required": true
  2849. }
  2850. ],
  2851. "responses": {
  2852. "200": {
  2853. "description": "OK",
  2854. "schema": {
  2855. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  2856. }
  2857. },
  2858. "500": {
  2859. "description": "Internal Server Error",
  2860. "schema": {
  2861. "$ref": "#/definitions/app.Response"
  2862. }
  2863. }
  2864. }
  2865. }
  2866. },
  2867. "/HSBY/QueryMyCouponHolds": {
  2868. "get": {
  2869. "security": [
  2870. {
  2871. "ApiKeyAuth": []
  2872. }
  2873. ],
  2874. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  2875. "produces": [
  2876. "application/json"
  2877. ],
  2878. "tags": [
  2879. "定制【海商报业】"
  2880. ],
  2881. "summary": "我的优惠卷持仓查询",
  2882. "parameters": [
  2883. {
  2884. "type": "string",
  2885. "description": "资金账户列表,格式:1,2,3",
  2886. "name": "accountIDs",
  2887. "in": "query",
  2888. "required": true
  2889. },
  2890. {
  2891. "type": "string",
  2892. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  2893. "name": "holdStatus",
  2894. "in": "query"
  2895. }
  2896. ],
  2897. "responses": {
  2898. "200": {
  2899. "description": "OK",
  2900. "schema": {
  2901. "$ref": "#/definitions/models.MyCouponHold"
  2902. }
  2903. },
  2904. "500": {
  2905. "description": "Internal Server Error",
  2906. "schema": {
  2907. "$ref": "#/definitions/app.Response"
  2908. }
  2909. }
  2910. }
  2911. }
  2912. },
  2913. "/HSBY/QueryMyCoupons": {
  2914. "get": {
  2915. "security": [
  2916. {
  2917. "ApiKeyAuth": []
  2918. }
  2919. ],
  2920. "produces": [
  2921. "application/json"
  2922. ],
  2923. "tags": [
  2924. "定制【海商报业】"
  2925. ],
  2926. "summary": "我的优惠卷查询",
  2927. "parameters": [
  2928. {
  2929. "type": "string",
  2930. "description": "资金账户列表,格式:1,2,3",
  2931. "name": "accountIDs",
  2932. "in": "query",
  2933. "required": true
  2934. },
  2935. {
  2936. "type": "integer",
  2937. "description": "商品ID, 一般与sellUserID配套传入",
  2938. "name": "goodsID",
  2939. "in": "query"
  2940. },
  2941. {
  2942. "type": "integer",
  2943. "description": "卖方UserID",
  2944. "name": "sellUserID",
  2945. "in": "query"
  2946. }
  2947. ],
  2948. "responses": {
  2949. "200": {
  2950. "description": "OK",
  2951. "schema": {
  2952. "$ref": "#/definitions/models.MyCoupon"
  2953. }
  2954. },
  2955. "500": {
  2956. "description": "Internal Server Error",
  2957. "schema": {
  2958. "$ref": "#/definitions/app.Response"
  2959. }
  2960. }
  2961. }
  2962. }
  2963. },
  2964. "/HSBY/QueryMyPayOrders": {
  2965. "get": {
  2966. "security": [
  2967. {
  2968. "ApiKeyAuth": []
  2969. }
  2970. ],
  2971. "produces": [
  2972. "application/json"
  2973. ],
  2974. "tags": [
  2975. "定制【海商报业】"
  2976. ],
  2977. "summary": "获取我的订单中待付款信息",
  2978. "parameters": [
  2979. {
  2980. "type": "integer",
  2981. "description": "页码",
  2982. "name": "page",
  2983. "in": "query"
  2984. },
  2985. {
  2986. "type": "integer",
  2987. "description": "每页条数",
  2988. "name": "pagesize",
  2989. "in": "query"
  2990. },
  2991. {
  2992. "type": "string",
  2993. "description": "资金账户列表,格式:1,2,3",
  2994. "name": "accountIDs",
  2995. "in": "query",
  2996. "required": true
  2997. },
  2998. {
  2999. "type": "integer",
  3000. "description": "买方委托单号",
  3001. "name": "buyOrderID",
  3002. "in": "query"
  3003. },
  3004. {
  3005. "type": "integer",
  3006. "description": "卖方委托单号",
  3007. "name": "sellOrderID",
  3008. "in": "query"
  3009. }
  3010. ],
  3011. "responses": {
  3012. "200": {
  3013. "description": "OK",
  3014. "schema": {
  3015. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  3016. }
  3017. },
  3018. "500": {
  3019. "description": "Internal Server Error",
  3020. "schema": {
  3021. "$ref": "#/definitions/app.Response"
  3022. }
  3023. }
  3024. }
  3025. }
  3026. },
  3027. "/HSBY/QueryMyUsedCoupon": {
  3028. "get": {
  3029. "security": [
  3030. {
  3031. "ApiKeyAuth": []
  3032. }
  3033. ],
  3034. "produces": [
  3035. "application/json"
  3036. ],
  3037. "tags": [
  3038. "定制【海商报业】"
  3039. ],
  3040. "summary": "已使用优惠卷查询",
  3041. "parameters": [
  3042. {
  3043. "type": "string",
  3044. "description": "资金账户列表,格式:1,2,3",
  3045. "name": "accountIDs",
  3046. "in": "query",
  3047. "required": true
  3048. }
  3049. ],
  3050. "responses": {
  3051. "200": {
  3052. "description": "OK",
  3053. "schema": {
  3054. "$ref": "#/definitions/models.MyUsedCoupon"
  3055. }
  3056. },
  3057. "500": {
  3058. "description": "Internal Server Error",
  3059. "schema": {
  3060. "$ref": "#/definitions/app.Response"
  3061. }
  3062. }
  3063. }
  3064. }
  3065. },
  3066. "/HSBY/QueryProvincesAndCities": {
  3067. "get": {
  3068. "security": [
  3069. {
  3070. "ApiKeyAuth": []
  3071. }
  3072. ],
  3073. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  3074. "produces": [
  3075. "application/json"
  3076. ],
  3077. "tags": [
  3078. "定制【海商报业】"
  3079. ],
  3080. "summary": "查询省市信息(不包括区)",
  3081. "parameters": [
  3082. {
  3083. "type": "integer",
  3084. "description": "省ID",
  3085. "name": "provinceID",
  3086. "in": "query"
  3087. }
  3088. ],
  3089. "responses": {
  3090. "200": {
  3091. "description": "OK",
  3092. "schema": {
  3093. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  3094. }
  3095. },
  3096. "500": {
  3097. "description": "Internal Server Error",
  3098. "schema": {
  3099. "$ref": "#/definitions/app.Response"
  3100. }
  3101. }
  3102. }
  3103. }
  3104. },
  3105. "/HSBY/SetHsbyMyPackagesStatus": {
  3106. "post": {
  3107. "security": [
  3108. {
  3109. "ApiKeyAuth": []
  3110. }
  3111. ],
  3112. "produces": [
  3113. "application/json"
  3114. ],
  3115. "tags": [
  3116. "定制【海商报业】"
  3117. ],
  3118. "summary": "设置我的包裹已收货状态",
  3119. "parameters": [
  3120. {
  3121. "type": "string",
  3122. "description": "提货单号",
  3123. "name": "takeOrderID",
  3124. "in": "query",
  3125. "required": true
  3126. },
  3127. {
  3128. "type": "integer",
  3129. "description": "资金账号",
  3130. "name": "accountID",
  3131. "in": "query",
  3132. "required": true
  3133. }
  3134. ],
  3135. "responses": {
  3136. "200": {
  3137. "description": "OK",
  3138. "schema": {
  3139. "$ref": "#/definitions/app.Response"
  3140. }
  3141. },
  3142. "500": {
  3143. "description": "Internal Server Error",
  3144. "schema": {
  3145. "$ref": "#/definitions/app.Response"
  3146. }
  3147. }
  3148. }
  3149. }
  3150. },
  3151. "/Market/QueryGoodsesByLoginID": {
  3152. "get": {
  3153. "security": [
  3154. {
  3155. "ApiKeyAuth": []
  3156. }
  3157. ],
  3158. "produces": [
  3159. "application/json"
  3160. ],
  3161. "tags": [
  3162. "通用市场"
  3163. ],
  3164. "summary": "获取登录账号有权限的商品信息",
  3165. "parameters": [
  3166. {
  3167. "type": "integer",
  3168. "description": "登录账号",
  3169. "name": "loginID",
  3170. "in": "query",
  3171. "required": true
  3172. },
  3173. {
  3174. "type": "string",
  3175. "description": "市场ID列表,格式:1,2,3",
  3176. "name": "marketIDs",
  3177. "in": "query"
  3178. }
  3179. ],
  3180. "responses": {
  3181. "200": {
  3182. "description": "OK",
  3183. "schema": {
  3184. "$ref": "#/definitions/models.Market"
  3185. }
  3186. },
  3187. "500": {
  3188. "description": "Internal Server Error",
  3189. "schema": {
  3190. "$ref": "#/definitions/app.Response"
  3191. }
  3192. }
  3193. }
  3194. }
  3195. },
  3196. "/Market/QueryMarketRun": {
  3197. "get": {
  3198. "security": [
  3199. {
  3200. "ApiKeyAuth": []
  3201. }
  3202. ],
  3203. "produces": [
  3204. "application/json"
  3205. ],
  3206. "tags": [
  3207. "通用市场"
  3208. ],
  3209. "summary": "查询市场运行信息",
  3210. "parameters": [
  3211. {
  3212. "type": "integer",
  3213. "description": "市场ID,不传返回所有",
  3214. "name": "marketID",
  3215. "in": "query"
  3216. }
  3217. ],
  3218. "responses": {
  3219. "200": {
  3220. "description": "OK",
  3221. "schema": {
  3222. "$ref": "#/definitions/models.Marketrun"
  3223. }
  3224. },
  3225. "500": {
  3226. "description": "Internal Server Error",
  3227. "schema": {
  3228. "$ref": "#/definitions/app.Response"
  3229. }
  3230. }
  3231. }
  3232. }
  3233. },
  3234. "/Market/QueryMarketsByLoginID": {
  3235. "get": {
  3236. "security": [
  3237. {
  3238. "ApiKeyAuth": []
  3239. }
  3240. ],
  3241. "produces": [
  3242. "application/json"
  3243. ],
  3244. "tags": [
  3245. "通用市场"
  3246. ],
  3247. "summary": "获取登录账号有权限的市场信息",
  3248. "parameters": [
  3249. {
  3250. "type": "integer",
  3251. "description": "登录账号",
  3252. "name": "loginID",
  3253. "in": "query",
  3254. "required": true
  3255. }
  3256. ],
  3257. "responses": {
  3258. "200": {
  3259. "description": "OK",
  3260. "schema": {
  3261. "$ref": "#/definitions/models.Market"
  3262. }
  3263. },
  3264. "500": {
  3265. "description": "Internal Server Error",
  3266. "schema": {
  3267. "$ref": "#/definitions/app.Response"
  3268. }
  3269. }
  3270. }
  3271. }
  3272. },
  3273. "/Order/QueryHisTradeDetail": {
  3274. "get": {
  3275. "security": [
  3276. {
  3277. "ApiKeyAuth": []
  3278. }
  3279. ],
  3280. "produces": [
  3281. "application/json"
  3282. ],
  3283. "tags": [
  3284. "通用单据"
  3285. ],
  3286. "summary": "历史成交单查询(合约市场)",
  3287. "parameters": [
  3288. {
  3289. "type": "string",
  3290. "description": "资金账户 - 格式:1,2,3",
  3291. "name": "accountID",
  3292. "in": "query",
  3293. "required": true
  3294. },
  3295. {
  3296. "type": "integer",
  3297. "description": "成交单号",
  3298. "name": "tradeID",
  3299. "in": "query"
  3300. },
  3301. {
  3302. "type": "integer",
  3303. "description": "委托单号",
  3304. "name": "orderID",
  3305. "in": "query"
  3306. },
  3307. {
  3308. "type": "string",
  3309. "description": "交易模式 - 格式:1,2,3",
  3310. "name": "tradeMode",
  3311. "in": "query"
  3312. },
  3313. {
  3314. "type": "integer",
  3315. "description": "委托单据类型",
  3316. "name": "buildType",
  3317. "in": "query"
  3318. },
  3319. {
  3320. "type": "string",
  3321. "description": "成交类别 - 格式:1,2,3",
  3322. "name": "tradeType",
  3323. "in": "query"
  3324. },
  3325. {
  3326. "type": "string",
  3327. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3328. "name": "startDate",
  3329. "in": "query"
  3330. },
  3331. {
  3332. "type": "string",
  3333. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3334. "name": "endDate",
  3335. "in": "query"
  3336. }
  3337. ],
  3338. "responses": {
  3339. "200": {
  3340. "description": "OK",
  3341. "schema": {
  3342. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  3343. }
  3344. },
  3345. "500": {
  3346. "description": "Internal Server Error",
  3347. "schema": {
  3348. "$ref": "#/definitions/app.Response"
  3349. }
  3350. }
  3351. }
  3352. }
  3353. },
  3354. "/Order/QueryHisTradeOrderDetail": {
  3355. "get": {
  3356. "security": [
  3357. {
  3358. "ApiKeyAuth": []
  3359. }
  3360. ],
  3361. "produces": [
  3362. "application/json"
  3363. ],
  3364. "tags": [
  3365. "通用单据"
  3366. ],
  3367. "summary": "历史委托单查询请求(合约市场)",
  3368. "parameters": [
  3369. {
  3370. "type": "string",
  3371. "description": "资金账户 - 格式:1,2,3",
  3372. "name": "accountID",
  3373. "in": "query",
  3374. "required": true
  3375. },
  3376. {
  3377. "type": "string",
  3378. "description": "交易模式 - 格式:1,2,3",
  3379. "name": "tradeMode",
  3380. "in": "query"
  3381. },
  3382. {
  3383. "type": "string",
  3384. "description": "委托状态 - 格式:1,2,3",
  3385. "name": "orderStatus",
  3386. "in": "query"
  3387. },
  3388. {
  3389. "type": "integer",
  3390. "description": "委托单号",
  3391. "name": "orderID",
  3392. "in": "query"
  3393. },
  3394. {
  3395. "type": "string",
  3396. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3397. "name": "startDate",
  3398. "in": "query"
  3399. },
  3400. {
  3401. "type": "string",
  3402. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3403. "name": "endDate",
  3404. "in": "query"
  3405. }
  3406. ],
  3407. "responses": {
  3408. "200": {
  3409. "description": "OK",
  3410. "schema": {
  3411. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  3412. }
  3413. },
  3414. "500": {
  3415. "description": "Internal Server Error",
  3416. "schema": {
  3417. "$ref": "#/definitions/app.Response"
  3418. }
  3419. }
  3420. }
  3421. }
  3422. },
  3423. "/Order/QueryTradeDetail": {
  3424. "get": {
  3425. "security": [
  3426. {
  3427. "ApiKeyAuth": []
  3428. }
  3429. ],
  3430. "produces": [
  3431. "application/json"
  3432. ],
  3433. "tags": [
  3434. "通用单据"
  3435. ],
  3436. "summary": "成交单查询(合约市场)",
  3437. "parameters": [
  3438. {
  3439. "type": "string",
  3440. "description": "资金账户 - 格式:1,2,3",
  3441. "name": "accountID",
  3442. "in": "query",
  3443. "required": true
  3444. },
  3445. {
  3446. "type": "integer",
  3447. "description": "成交单号",
  3448. "name": "tradeID",
  3449. "in": "query"
  3450. },
  3451. {
  3452. "type": "integer",
  3453. "description": "委托单号",
  3454. "name": "orderID",
  3455. "in": "query"
  3456. },
  3457. {
  3458. "type": "string",
  3459. "description": "交易模式 - 格式:1,2,3",
  3460. "name": "tradeMode",
  3461. "in": "query"
  3462. },
  3463. {
  3464. "type": "integer",
  3465. "description": "委托单据类型",
  3466. "name": "buildType",
  3467. "in": "query"
  3468. },
  3469. {
  3470. "type": "string",
  3471. "description": "成交类别 - 格式:1,2,3",
  3472. "name": "tradeType",
  3473. "in": "query"
  3474. }
  3475. ],
  3476. "responses": {
  3477. "200": {
  3478. "description": "OK",
  3479. "schema": {
  3480. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  3481. }
  3482. },
  3483. "500": {
  3484. "description": "Internal Server Error",
  3485. "schema": {
  3486. "$ref": "#/definitions/app.Response"
  3487. }
  3488. }
  3489. }
  3490. }
  3491. },
  3492. "/Order/QueryTradeOrderDetail": {
  3493. "get": {
  3494. "security": [
  3495. {
  3496. "ApiKeyAuth": []
  3497. }
  3498. ],
  3499. "produces": [
  3500. "application/json"
  3501. ],
  3502. "tags": [
  3503. "通用单据"
  3504. ],
  3505. "summary": "委托单查询请求(合约市场)",
  3506. "parameters": [
  3507. {
  3508. "type": "string",
  3509. "description": "资金账户 - 格式:1,2,3",
  3510. "name": "accountID",
  3511. "in": "query",
  3512. "required": true
  3513. },
  3514. {
  3515. "type": "string",
  3516. "description": "交易模式 - 格式:1,2,3",
  3517. "name": "tradeMode",
  3518. "in": "query"
  3519. },
  3520. {
  3521. "type": "string",
  3522. "description": "委托状态 - 格式:1,2,3",
  3523. "name": "orderStatus",
  3524. "in": "query"
  3525. },
  3526. {
  3527. "type": "integer",
  3528. "description": "委托单号",
  3529. "name": "orderID",
  3530. "in": "query"
  3531. }
  3532. ],
  3533. "responses": {
  3534. "200": {
  3535. "description": "OK",
  3536. "schema": {
  3537. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  3538. }
  3539. },
  3540. "500": {
  3541. "description": "Internal Server Error",
  3542. "schema": {
  3543. "$ref": "#/definitions/app.Response"
  3544. }
  3545. }
  3546. }
  3547. }
  3548. },
  3549. "/Order/QueryTradePosition": {
  3550. "get": {
  3551. "security": [
  3552. {
  3553. "ApiKeyAuth": []
  3554. }
  3555. ],
  3556. "produces": [
  3557. "application/json"
  3558. ],
  3559. "tags": [
  3560. "通用单据"
  3561. ],
  3562. "summary": "持仓汇总查询(合约市场)",
  3563. "parameters": [
  3564. {
  3565. "type": "string",
  3566. "description": "资金账户 - 格式:1,2,3",
  3567. "name": "accountID",
  3568. "in": "query",
  3569. "required": true
  3570. },
  3571. {
  3572. "type": "string",
  3573. "description": "交易模式 - 格式:1,2,3",
  3574. "name": "tradeMode",
  3575. "in": "query"
  3576. }
  3577. ],
  3578. "responses": {
  3579. "200": {
  3580. "description": "OK",
  3581. "schema": {
  3582. "$ref": "#/definitions/order.QueryTradePositionRsp"
  3583. }
  3584. },
  3585. "500": {
  3586. "description": "Internal Server Error",
  3587. "schema": {
  3588. "$ref": "#/definitions/app.Response"
  3589. }
  3590. }
  3591. }
  3592. }
  3593. },
  3594. "/Quote/QueryHistoryDatas": {
  3595. "get": {
  3596. "security": [
  3597. {
  3598. "ApiKeyAuth": []
  3599. }
  3600. ],
  3601. "produces": [
  3602. "application/json"
  3603. ],
  3604. "tags": [
  3605. "行情服务"
  3606. ],
  3607. "summary": "查询行情历史数据",
  3608. "parameters": [
  3609. {
  3610. "type": "integer",
  3611. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  3612. "name": "cycleType",
  3613. "in": "query",
  3614. "required": true
  3615. },
  3616. {
  3617. "type": "string",
  3618. "description": "商品代码",
  3619. "name": "goodsCode",
  3620. "in": "query",
  3621. "required": true
  3622. },
  3623. {
  3624. "type": "string",
  3625. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  3626. "name": "startTime",
  3627. "in": "query"
  3628. },
  3629. {
  3630. "type": "string",
  3631. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  3632. "name": "endTime",
  3633. "in": "query"
  3634. },
  3635. {
  3636. "type": "integer",
  3637. "description": "条数",
  3638. "name": "count",
  3639. "in": "query"
  3640. },
  3641. {
  3642. "type": "boolean",
  3643. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  3644. "name": "isAsc",
  3645. "in": "query"
  3646. }
  3647. ],
  3648. "responses": {
  3649. "200": {
  3650. "description": "OK",
  3651. "schema": {
  3652. "$ref": "#/definitions/quote.HistoryData"
  3653. }
  3654. },
  3655. "500": {
  3656. "description": "Internal Server Error",
  3657. "schema": {
  3658. "$ref": "#/definitions/app.Response"
  3659. }
  3660. }
  3661. }
  3662. }
  3663. },
  3664. "/Quote/QueryTSData": {
  3665. "get": {
  3666. "produces": [
  3667. "application/json"
  3668. ],
  3669. "tags": [
  3670. "行情服务"
  3671. ],
  3672. "summary": "分时图数据查询",
  3673. "parameters": [
  3674. {
  3675. "type": "string",
  3676. "description": "商品代码",
  3677. "name": "GoodsCode",
  3678. "in": "query",
  3679. "required": true
  3680. }
  3681. ],
  3682. "responses": {
  3683. "200": {
  3684. "description": "OK",
  3685. "schema": {
  3686. "$ref": "#/definitions/quote.QueryTSDataRsp"
  3687. }
  3688. },
  3689. "500": {
  3690. "description": "Internal Server Error",
  3691. "schema": {
  3692. "$ref": "#/definitions/app.Response"
  3693. }
  3694. }
  3695. }
  3696. }
  3697. },
  3698. "/SZDZ/QueryConvertConfig": {
  3699. "get": {
  3700. "security": [
  3701. {
  3702. "ApiKeyAuth": []
  3703. }
  3704. ],
  3705. "produces": [
  3706. "application/json"
  3707. ],
  3708. "tags": [
  3709. "定制【尚志大宗】"
  3710. ],
  3711. "summary": "查询交易系统转换设置",
  3712. "parameters": [
  3713. {
  3714. "type": "integer",
  3715. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  3716. "name": "convertType",
  3717. "in": "query"
  3718. },
  3719. {
  3720. "type": "string",
  3721. "description": "外部商品代码[JD\\PD]",
  3722. "name": "outerGoodsCode",
  3723. "in": "query"
  3724. },
  3725. {
  3726. "type": "string",
  3727. "description": "内部商品ID列表[交易],格式:1,2,3",
  3728. "name": "innerGoodsIDs",
  3729. "in": "query"
  3730. }
  3731. ],
  3732. "responses": {
  3733. "200": {
  3734. "description": "OK",
  3735. "schema": {
  3736. "$ref": "#/definitions/models.Szdz3convertconfig"
  3737. }
  3738. },
  3739. "500": {
  3740. "description": "Internal Server Error",
  3741. "schema": {
  3742. "$ref": "#/definitions/app.Response"
  3743. }
  3744. }
  3745. }
  3746. }
  3747. },
  3748. "/SZDZ/QueryConvertLog": {
  3749. "get": {
  3750. "security": [
  3751. {
  3752. "ApiKeyAuth": []
  3753. }
  3754. ],
  3755. "produces": [
  3756. "application/json"
  3757. ],
  3758. "tags": [
  3759. "定制【尚志大宗】"
  3760. ],
  3761. "summary": "交易系统转换流水查询",
  3762. "parameters": [
  3763. {
  3764. "type": "string",
  3765. "description": "资金账户 - 格式:1,2,3",
  3766. "name": "accountID",
  3767. "in": "query",
  3768. "required": true
  3769. },
  3770. {
  3771. "type": "string",
  3772. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3773. "name": "startDate",
  3774. "in": "query"
  3775. },
  3776. {
  3777. "type": "string",
  3778. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3779. "name": "endDate",
  3780. "in": "query"
  3781. }
  3782. ],
  3783. "responses": {
  3784. "200": {
  3785. "description": "OK",
  3786. "schema": {
  3787. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  3788. }
  3789. },
  3790. "500": {
  3791. "description": "Internal Server Error",
  3792. "schema": {
  3793. "$ref": "#/definitions/app.Response"
  3794. }
  3795. }
  3796. }
  3797. }
  3798. },
  3799. "/SZDZ/QueryGoodsPickup": {
  3800. "get": {
  3801. "security": [
  3802. {
  3803. "ApiKeyAuth": []
  3804. }
  3805. ],
  3806. "produces": [
  3807. "application/json"
  3808. ],
  3809. "tags": [
  3810. "定制【尚志大宗】"
  3811. ],
  3812. "summary": "商品提货单查询",
  3813. "parameters": [
  3814. {
  3815. "type": "string",
  3816. "description": "资金账户 - 格式:1,2,3",
  3817. "name": "accountID",
  3818. "in": "query",
  3819. "required": true
  3820. },
  3821. {
  3822. "type": "integer",
  3823. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3824. "name": "takeOrderStatus",
  3825. "in": "query"
  3826. }
  3827. ],
  3828. "responses": {
  3829. "200": {
  3830. "description": "OK",
  3831. "schema": {
  3832. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  3833. }
  3834. },
  3835. "500": {
  3836. "description": "Internal Server Error",
  3837. "schema": {
  3838. "$ref": "#/definitions/app.Response"
  3839. }
  3840. }
  3841. }
  3842. }
  3843. },
  3844. "/SZDZ/QueryRecieptOrder": {
  3845. "get": {
  3846. "security": [
  3847. {
  3848. "ApiKeyAuth": []
  3849. }
  3850. ],
  3851. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3852. "produces": [
  3853. "application/json"
  3854. ],
  3855. "tags": [
  3856. "定制【尚志大宗】"
  3857. ],
  3858. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  3859. "parameters": [
  3860. {
  3861. "type": "integer",
  3862. "description": "页码",
  3863. "name": "page",
  3864. "in": "query"
  3865. },
  3866. {
  3867. "type": "integer",
  3868. "description": "每页条数",
  3869. "name": "pagesize",
  3870. "in": "query"
  3871. },
  3872. {
  3873. "type": "integer",
  3874. "description": "商品ID",
  3875. "name": "goodsID",
  3876. "in": "query",
  3877. "required": true
  3878. },
  3879. {
  3880. "type": "string",
  3881. "description": "所属账户名称",
  3882. "name": "accountName",
  3883. "in": "query"
  3884. },
  3885. {
  3886. "type": "integer",
  3887. "description": "市场ID",
  3888. "name": "marketID",
  3889. "in": "query"
  3890. },
  3891. {
  3892. "type": "integer",
  3893. "description": "方向 - 0:买 1:卖",
  3894. "name": "buyorsell",
  3895. "in": "query",
  3896. "required": true
  3897. }
  3898. ],
  3899. "responses": {
  3900. "200": {
  3901. "description": "OK",
  3902. "schema": {
  3903. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  3904. }
  3905. },
  3906. "500": {
  3907. "description": "Internal Server Error",
  3908. "schema": {
  3909. "$ref": "#/definitions/app.Response"
  3910. }
  3911. }
  3912. }
  3913. }
  3914. },
  3915. "/SZDZ/QuerySZDZTradePosition": {
  3916. "get": {
  3917. "security": [
  3918. {
  3919. "ApiKeyAuth": []
  3920. }
  3921. ],
  3922. "produces": [
  3923. "application/json"
  3924. ],
  3925. "tags": [
  3926. "定制【尚志大宗】"
  3927. ],
  3928. "summary": "持仓汇总查询(尚志大宗)",
  3929. "parameters": [
  3930. {
  3931. "type": "integer",
  3932. "description": "资金账户",
  3933. "name": "accountID",
  3934. "in": "query",
  3935. "required": true
  3936. }
  3937. ],
  3938. "responses": {
  3939. "200": {
  3940. "description": "OK",
  3941. "schema": {
  3942. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  3943. }
  3944. },
  3945. "500": {
  3946. "description": "Internal Server Error",
  3947. "schema": {
  3948. "$ref": "#/definitions/app.Response"
  3949. }
  3950. }
  3951. }
  3952. }
  3953. },
  3954. "/SZDZ/SearchWhite": {
  3955. "get": {
  3956. "security": [
  3957. {
  3958. "ApiKeyAuth": []
  3959. }
  3960. ],
  3961. "produces": [
  3962. "application/json"
  3963. ],
  3964. "tags": [
  3965. "定制【尚志大宗】"
  3966. ],
  3967. "summary": "搜索白名单",
  3968. "parameters": [
  3969. {
  3970. "type": "integer",
  3971. "description": "用户ID",
  3972. "name": "userID",
  3973. "in": "query",
  3974. "required": true
  3975. }
  3976. ],
  3977. "responses": {
  3978. "200": {
  3979. "description": "OK",
  3980. "schema": {
  3981. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  3982. }
  3983. },
  3984. "500": {
  3985. "description": "Internal Server Error",
  3986. "schema": {
  3987. "$ref": "#/definitions/app.Response"
  3988. }
  3989. }
  3990. }
  3991. }
  3992. },
  3993. "/Search/SearchGoodses": {
  3994. "get": {
  3995. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  3996. "produces": [
  3997. "application/json"
  3998. ],
  3999. "tags": [
  4000. "检索服务"
  4001. ],
  4002. "summary": "检索商品信息",
  4003. "parameters": [
  4004. {
  4005. "type": "string",
  4006. "description": "检索内容",
  4007. "name": "content",
  4008. "in": "query",
  4009. "required": true
  4010. },
  4011. {
  4012. "type": "string",
  4013. "description": "交易模式,格式:1,2,3",
  4014. "name": "tradeModes",
  4015. "in": "query"
  4016. }
  4017. ],
  4018. "responses": {
  4019. "200": {
  4020. "description": "OK",
  4021. "schema": {
  4022. "$ref": "#/definitions/models.SearchGoods"
  4023. }
  4024. },
  4025. "500": {
  4026. "description": "Internal Server Error",
  4027. "schema": {
  4028. "$ref": "#/definitions/app.Response"
  4029. }
  4030. }
  4031. }
  4032. }
  4033. },
  4034. "/TaAccount/QueryAmountLog": {
  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": "integer",
  4051. "description": "页码",
  4052. "name": "page",
  4053. "in": "query"
  4054. },
  4055. {
  4056. "type": "integer",
  4057. "description": "每页条数",
  4058. "name": "pagesize",
  4059. "in": "query"
  4060. },
  4061. {
  4062. "type": "string",
  4063. "description": "资金账户 - 格式:1,2,3",
  4064. "name": "accountID",
  4065. "in": "query",
  4066. "required": true
  4067. },
  4068. {
  4069. "type": "string",
  4070. "description": "资金操作类型 - 格式:1,2,3",
  4071. "name": "OperateType",
  4072. "in": "query"
  4073. }
  4074. ],
  4075. "responses": {
  4076. "200": {
  4077. "description": "OK",
  4078. "schema": {
  4079. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  4080. }
  4081. },
  4082. "500": {
  4083. "description": "Internal Server Error",
  4084. "schema": {
  4085. "$ref": "#/definitions/app.Response"
  4086. }
  4087. }
  4088. }
  4089. }
  4090. },
  4091. "/TaAccount/QueryHisAmountLog": {
  4092. "get": {
  4093. "security": [
  4094. {
  4095. "ApiKeyAuth": []
  4096. }
  4097. ],
  4098. "produces": [
  4099. "application/json"
  4100. ],
  4101. "tags": [
  4102. "资金账户"
  4103. ],
  4104. "summary": "资金流水查询(历史)",
  4105. "parameters": [
  4106. {
  4107. "type": "integer",
  4108. "description": "页码",
  4109. "name": "page",
  4110. "in": "query"
  4111. },
  4112. {
  4113. "type": "integer",
  4114. "description": "每页条数",
  4115. "name": "pagesize",
  4116. "in": "query"
  4117. },
  4118. {
  4119. "type": "string",
  4120. "description": "资金账户 - 格式:1,2,3",
  4121. "name": "accountID",
  4122. "in": "query",
  4123. "required": true
  4124. },
  4125. {
  4126. "type": "string",
  4127. "description": "资金操作类型 - 格式:1,2,3",
  4128. "name": "OperateType",
  4129. "in": "query"
  4130. },
  4131. {
  4132. "type": "string",
  4133. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4134. "name": "startDate",
  4135. "in": "query"
  4136. },
  4137. {
  4138. "type": "string",
  4139. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4140. "name": "endDate",
  4141. "in": "query"
  4142. }
  4143. ],
  4144. "responses": {
  4145. "200": {
  4146. "description": "OK",
  4147. "schema": {
  4148. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  4149. }
  4150. },
  4151. "500": {
  4152. "description": "Internal Server Error",
  4153. "schema": {
  4154. "$ref": "#/definitions/app.Response"
  4155. }
  4156. }
  4157. }
  4158. }
  4159. },
  4160. "/Trade/QueryRecieptOrder": {
  4161. "get": {
  4162. "security": [
  4163. {
  4164. "ApiKeyAuth": []
  4165. }
  4166. ],
  4167. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  4168. "produces": [
  4169. "application/json"
  4170. ],
  4171. "tags": [
  4172. "通用交易"
  4173. ],
  4174. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  4175. "parameters": [
  4176. {
  4177. "type": "integer",
  4178. "description": "页码",
  4179. "name": "page",
  4180. "in": "query"
  4181. },
  4182. {
  4183. "type": "integer",
  4184. "description": "每页条数",
  4185. "name": "pagesize",
  4186. "in": "query"
  4187. },
  4188. {
  4189. "type": "integer",
  4190. "description": "商品ID",
  4191. "name": "goodsID",
  4192. "in": "query",
  4193. "required": true
  4194. },
  4195. {
  4196. "type": "string",
  4197. "description": "所属账户名称",
  4198. "name": "accountName",
  4199. "in": "query"
  4200. },
  4201. {
  4202. "type": "integer",
  4203. "description": "市场ID",
  4204. "name": "marketID",
  4205. "in": "query"
  4206. },
  4207. {
  4208. "type": "integer",
  4209. "description": "方向 - 0:买 1:卖",
  4210. "name": "buyorsell",
  4211. "in": "query",
  4212. "required": true
  4213. }
  4214. ],
  4215. "responses": {
  4216. "200": {
  4217. "description": "OK",
  4218. "schema": {
  4219. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  4220. }
  4221. },
  4222. "500": {
  4223. "description": "Internal Server Error",
  4224. "schema": {
  4225. "$ref": "#/definitions/app.Response"
  4226. }
  4227. }
  4228. }
  4229. }
  4230. },
  4231. "/User/AddMessageBoard": {
  4232. "post": {
  4233. "security": [
  4234. {
  4235. "ApiKeyAuth": []
  4236. }
  4237. ],
  4238. "produces": [
  4239. "application/json"
  4240. ],
  4241. "tags": [
  4242. "用户信息"
  4243. ],
  4244. "summary": "添加用户留言板信息",
  4245. "parameters": [
  4246. {
  4247. "type": "integer",
  4248. "description": "用户ID",
  4249. "name": "userID",
  4250. "in": "query",
  4251. "required": true
  4252. },
  4253. {
  4254. "type": "string",
  4255. "description": "留言信息",
  4256. "name": "message",
  4257. "in": "query",
  4258. "required": true
  4259. }
  4260. ],
  4261. "responses": {
  4262. "200": {
  4263. "description": "OK",
  4264. "schema": {
  4265. "$ref": "#/definitions/app.Response"
  4266. }
  4267. },
  4268. "500": {
  4269. "description": "Internal Server Error",
  4270. "schema": {
  4271. "$ref": "#/definitions/app.Response"
  4272. }
  4273. }
  4274. }
  4275. }
  4276. },
  4277. "/User/AddUserFavoriteGoods": {
  4278. "post": {
  4279. "security": [
  4280. {
  4281. "ApiKeyAuth": []
  4282. }
  4283. ],
  4284. "produces": [
  4285. "application/json"
  4286. ],
  4287. "tags": [
  4288. "用户信息"
  4289. ],
  4290. "summary": "添加用户商品收藏信息",
  4291. "parameters": [
  4292. {
  4293. "type": "integer",
  4294. "description": "用户ID",
  4295. "name": "userID",
  4296. "in": "query",
  4297. "required": true
  4298. },
  4299. {
  4300. "type": "integer",
  4301. "description": "商品ID",
  4302. "name": "goodsID",
  4303. "in": "query",
  4304. "required": true
  4305. }
  4306. ],
  4307. "responses": {
  4308. "200": {
  4309. "description": "OK",
  4310. "schema": {
  4311. "$ref": "#/definitions/app.Response"
  4312. }
  4313. },
  4314. "500": {
  4315. "description": "Internal Server Error",
  4316. "schema": {
  4317. "$ref": "#/definitions/app.Response"
  4318. }
  4319. }
  4320. }
  4321. }
  4322. },
  4323. "/User/GetLoginID": {
  4324. "get": {
  4325. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  4326. "produces": [
  4327. "application/json"
  4328. ],
  4329. "tags": [
  4330. "用户信息"
  4331. ],
  4332. "summary": "获取登录ID",
  4333. "parameters": [
  4334. {
  4335. "type": "string",
  4336. "description": "登录代码",
  4337. "name": "username",
  4338. "in": "query",
  4339. "required": true
  4340. }
  4341. ],
  4342. "responses": {
  4343. "200": {
  4344. "description": "OK",
  4345. "schema": {
  4346. "$ref": "#/definitions/app.Response"
  4347. }
  4348. },
  4349. "500": {
  4350. "description": "Internal Server Error",
  4351. "schema": {
  4352. "$ref": "#/definitions/app.Response"
  4353. }
  4354. }
  4355. }
  4356. }
  4357. },
  4358. "/User/GetUserAccount": {
  4359. "get": {
  4360. "security": [
  4361. {
  4362. "ApiKeyAuth": []
  4363. }
  4364. ],
  4365. "produces": [
  4366. "application/json"
  4367. ],
  4368. "tags": [
  4369. "用户信息"
  4370. ],
  4371. "summary": "获取用户账号信息",
  4372. "parameters": [
  4373. {
  4374. "type": "integer",
  4375. "description": "用户ID",
  4376. "name": "userID",
  4377. "in": "query",
  4378. "required": true
  4379. }
  4380. ],
  4381. "responses": {
  4382. "200": {
  4383. "description": "OK",
  4384. "schema": {
  4385. "$ref": "#/definitions/models.Useraccount"
  4386. }
  4387. },
  4388. "500": {
  4389. "description": "Internal Server Error",
  4390. "schema": {
  4391. "$ref": "#/definitions/app.Response"
  4392. }
  4393. }
  4394. }
  4395. }
  4396. },
  4397. "/User/GetUserAuthStatus": {
  4398. "get": {
  4399. "security": [
  4400. {
  4401. "ApiKeyAuth": []
  4402. }
  4403. ],
  4404. "produces": [
  4405. "application/json"
  4406. ],
  4407. "tags": [
  4408. "用户信息"
  4409. ],
  4410. "summary": "获取用户实名认证状态",
  4411. "parameters": [
  4412. {
  4413. "type": "integer",
  4414. "description": "用户ID",
  4415. "name": "userID",
  4416. "in": "query",
  4417. "required": true
  4418. }
  4419. ],
  4420. "responses": {
  4421. "200": {
  4422. "description": "OK",
  4423. "schema": {
  4424. "$ref": "#/definitions/app.Response"
  4425. }
  4426. },
  4427. "500": {
  4428. "description": "Internal Server Error",
  4429. "schema": {
  4430. "$ref": "#/definitions/app.Response"
  4431. }
  4432. }
  4433. }
  4434. }
  4435. },
  4436. "/User/QueryMessageBoard": {
  4437. "get": {
  4438. "security": [
  4439. {
  4440. "ApiKeyAuth": []
  4441. }
  4442. ],
  4443. "produces": [
  4444. "application/json"
  4445. ],
  4446. "tags": [
  4447. "用户信息"
  4448. ],
  4449. "summary": "获取用户留言板信息",
  4450. "parameters": [
  4451. {
  4452. "type": "integer",
  4453. "description": "用户ID",
  4454. "name": "userID",
  4455. "in": "query",
  4456. "required": true
  4457. }
  4458. ],
  4459. "responses": {
  4460. "200": {
  4461. "description": "OK",
  4462. "schema": {
  4463. "$ref": "#/definitions/models.Messageboard"
  4464. }
  4465. },
  4466. "500": {
  4467. "description": "Internal Server Error",
  4468. "schema": {
  4469. "$ref": "#/definitions/app.Response"
  4470. }
  4471. }
  4472. }
  4473. }
  4474. },
  4475. "/User/QueryUserFavoriteGoodses": {
  4476. "get": {
  4477. "security": [
  4478. {
  4479. "ApiKeyAuth": []
  4480. }
  4481. ],
  4482. "produces": [
  4483. "application/json"
  4484. ],
  4485. "tags": [
  4486. "用户信息"
  4487. ],
  4488. "summary": "获取用户商品收藏信息",
  4489. "parameters": [
  4490. {
  4491. "type": "integer",
  4492. "description": "用户ID",
  4493. "name": "userID",
  4494. "in": "query",
  4495. "required": true
  4496. }
  4497. ],
  4498. "responses": {
  4499. "200": {
  4500. "description": "OK",
  4501. "schema": {
  4502. "$ref": "#/definitions/models.Userfavoritegoods"
  4503. }
  4504. },
  4505. "500": {
  4506. "description": "Internal Server Error",
  4507. "schema": {
  4508. "$ref": "#/definitions/app.Response"
  4509. }
  4510. }
  4511. }
  4512. }
  4513. },
  4514. "/User/QueryUserInfo": {
  4515. "get": {
  4516. "security": [
  4517. {
  4518. "ApiKeyAuth": []
  4519. }
  4520. ],
  4521. "produces": [
  4522. "application/json"
  4523. ],
  4524. "tags": [
  4525. "用户信息"
  4526. ],
  4527. "summary": "获取用户信息",
  4528. "parameters": [
  4529. {
  4530. "type": "integer",
  4531. "description": "用户ID",
  4532. "name": "userID",
  4533. "in": "query",
  4534. "required": true
  4535. }
  4536. ],
  4537. "responses": {
  4538. "200": {
  4539. "description": "OK",
  4540. "schema": {
  4541. "$ref": "#/definitions/models.Userinfo"
  4542. }
  4543. },
  4544. "500": {
  4545. "description": "Internal Server Error",
  4546. "schema": {
  4547. "$ref": "#/definitions/app.Response"
  4548. }
  4549. }
  4550. }
  4551. }
  4552. },
  4553. "/User/QueryUserReferNum": {
  4554. "get": {
  4555. "produces": [
  4556. "application/json"
  4557. ],
  4558. "tags": [
  4559. "用户信息"
  4560. ],
  4561. "summary": "获取用户邀请码",
  4562. "parameters": [
  4563. {
  4564. "type": "integer",
  4565. "description": "用户ID",
  4566. "name": "userID",
  4567. "in": "query",
  4568. "required": true
  4569. }
  4570. ],
  4571. "responses": {
  4572. "200": {
  4573. "description": "OK",
  4574. "schema": {
  4575. "$ref": "#/definitions/app.Response"
  4576. }
  4577. },
  4578. "500": {
  4579. "description": "Internal Server Error",
  4580. "schema": {
  4581. "$ref": "#/definitions/app.Response"
  4582. }
  4583. }
  4584. }
  4585. }
  4586. },
  4587. "/User/RemoveUserFavoriteGoods": {
  4588. "post": {
  4589. "security": [
  4590. {
  4591. "ApiKeyAuth": []
  4592. }
  4593. ],
  4594. "produces": [
  4595. "application/json"
  4596. ],
  4597. "tags": [
  4598. "用户信息"
  4599. ],
  4600. "summary": "移除用户商品收藏信息",
  4601. "parameters": [
  4602. {
  4603. "type": "integer",
  4604. "description": "用户ID",
  4605. "name": "userID",
  4606. "in": "query",
  4607. "required": true
  4608. },
  4609. {
  4610. "type": "integer",
  4611. "description": "商品ID",
  4612. "name": "goodsID",
  4613. "in": "query",
  4614. "required": true
  4615. }
  4616. ],
  4617. "responses": {
  4618. "200": {
  4619. "description": "OK",
  4620. "schema": {
  4621. "$ref": "#/definitions/app.Response"
  4622. }
  4623. },
  4624. "500": {
  4625. "description": "Internal Server Error",
  4626. "schema": {
  4627. "$ref": "#/definitions/app.Response"
  4628. }
  4629. }
  4630. }
  4631. }
  4632. },
  4633. "/WR/GetWRCategoryInfo": {
  4634. "get": {
  4635. "produces": [
  4636. "application/json"
  4637. ],
  4638. "tags": [
  4639. "仓单服务"
  4640. ],
  4641. "summary": "获取现货分类信息",
  4642. "responses": {
  4643. "200": {
  4644. "description": "OK",
  4645. "schema": {
  4646. "$ref": "#/definitions/models.WRCategoryTree"
  4647. }
  4648. },
  4649. "500": {
  4650. "description": "Internal Server Error",
  4651. "schema": {
  4652. "$ref": "#/definitions/app.Response"
  4653. }
  4654. }
  4655. }
  4656. }
  4657. },
  4658. "/WRTrade/GetAllDeliveryGoods": {
  4659. "get": {
  4660. "security": [
  4661. {
  4662. "ApiKeyAuth": []
  4663. },
  4664. {
  4665. "ApiKeyAuth": []
  4666. }
  4667. ],
  4668. "produces": [
  4669. "application/json",
  4670. "application/json"
  4671. ],
  4672. "tags": [
  4673. "仓单贸易",
  4674. "仓单贸易"
  4675. ],
  4676. "summary": "获取带仓单分类的种类信息",
  4677. "responses": {
  4678. "200": {
  4679. "description": "OK",
  4680. "schema": {
  4681. "$ref": "#/definitions/app.Response"
  4682. }
  4683. },
  4684. "500": {
  4685. "description": "Internal Server Error",
  4686. "schema": {
  4687. "$ref": "#/definitions/app.Response"
  4688. }
  4689. }
  4690. }
  4691. }
  4692. }
  4693. },
  4694. "definitions": {
  4695. "app.Response": {
  4696. "type": "object",
  4697. "properties": {
  4698. "code": {
  4699. "type": "integer"
  4700. },
  4701. "data": {
  4702. "type": "object"
  4703. },
  4704. "msg": {
  4705. "type": "string"
  4706. },
  4707. "page": {
  4708. "description": "页码",
  4709. "type": "integer"
  4710. },
  4711. "pagesize": {
  4712. "description": "每页条数",
  4713. "type": "integer"
  4714. },
  4715. "total": {
  4716. "description": "总条数",
  4717. "type": "integer"
  4718. }
  4719. }
  4720. },
  4721. "common.QueryNoticeRsp": {
  4722. "type": "object",
  4723. "required": [
  4724. "autoid"
  4725. ],
  4726. "properties": {
  4727. "auditoruserid": {
  4728. "description": "审核人",
  4729. "type": "integer"
  4730. },
  4731. "auditremark": {
  4732. "description": "审核备注",
  4733. "type": "string"
  4734. },
  4735. "audittime": {
  4736. "description": "审核日期",
  4737. "type": "string"
  4738. },
  4739. "autoid": {
  4740. "description": "自增ID",
  4741. "type": "integer"
  4742. },
  4743. "content": {
  4744. "description": "内容",
  4745. "type": "string"
  4746. },
  4747. "createtime": {
  4748. "description": "创建时间",
  4749. "type": "string"
  4750. },
  4751. "creatorid": {
  4752. "description": "建仓人",
  4753. "type": "integer"
  4754. },
  4755. "endtime": {
  4756. "description": "结束时间",
  4757. "type": "string"
  4758. },
  4759. "istop": {
  4760. "description": "是否置顶 - 0:不置顶 1:置顶",
  4761. "type": "integer"
  4762. },
  4763. "msgiconurl": {
  4764. "description": "消息图标Url",
  4765. "type": "string"
  4766. },
  4767. "msgtype": {
  4768. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  4769. "type": "integer"
  4770. },
  4771. "publisher": {
  4772. "description": "消息发布者",
  4773. "type": "string"
  4774. },
  4775. "readed": {
  4776. "description": "是否已读",
  4777. "type": "boolean"
  4778. },
  4779. "scheduletime": {
  4780. "description": "计划发送时间",
  4781. "type": "string"
  4782. },
  4783. "sendtype": {
  4784. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  4785. "type": "integer"
  4786. },
  4787. "sentstatus": {
  4788. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  4789. "type": "integer"
  4790. },
  4791. "title": {
  4792. "description": "标题",
  4793. "type": "string"
  4794. },
  4795. "userid": {
  4796. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  4797. "type": "integer"
  4798. }
  4799. }
  4800. },
  4801. "common.QueryProvincesAndCitiesRsp": {
  4802. "type": "object",
  4803. "properties": {
  4804. "cities": {
  4805. "description": "市",
  4806. "type": "array",
  4807. "items": {
  4808. "$ref": "#/definitions/models.Division"
  4809. }
  4810. },
  4811. "province": {
  4812. "description": "省",
  4813. "$ref": "#/definitions/models.Division"
  4814. }
  4815. }
  4816. },
  4817. "common.QueryTableDefineRsp": {
  4818. "type": "object",
  4819. "required": [
  4820. "tablekey"
  4821. ],
  4822. "properties": {
  4823. "columns": {
  4824. "description": "列头信息数组",
  4825. "type": "array",
  4826. "items": {
  4827. "$ref": "#/definitions/models.Tablecolumnconfig"
  4828. }
  4829. },
  4830. "remark": {
  4831. "description": "Remark",
  4832. "type": "string"
  4833. },
  4834. "tabelmenu": {
  4835. "description": "列表菜单",
  4836. "type": "string"
  4837. },
  4838. "tablekey": {
  4839. "description": "列表Key",
  4840. "type": "string"
  4841. },
  4842. "tablename": {
  4843. "description": "列表名称",
  4844. "type": "string"
  4845. },
  4846. "tabletype": {
  4847. "description": "列表类型 - 1:管理端 2:终端",
  4848. "type": "integer"
  4849. }
  4850. }
  4851. },
  4852. "common.QueryTraderMenuRsp": {
  4853. "type": "object",
  4854. "properties": {
  4855. "OperationMenu": {
  4856. "description": "功能菜单",
  4857. "type": "array",
  4858. "items": {
  4859. "$ref": "#/definitions/models.OperationPrimaryMenu"
  4860. }
  4861. },
  4862. "QuoteMenu": {
  4863. "description": "报价牌分类菜单",
  4864. "type": "array",
  4865. "items": {
  4866. "$ref": "#/definitions/models.QuotePrimaryMenu"
  4867. }
  4868. }
  4869. }
  4870. },
  4871. "cptrade.Cptradepositioncancel": {
  4872. "type": "object",
  4873. "required": [
  4874. "cancelid"
  4875. ],
  4876. "properties": {
  4877. "accountid": {
  4878. "description": "申请人账户ID",
  4879. "type": "integer"
  4880. },
  4881. "applystatus": {
  4882. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4883. "type": "integer"
  4884. },
  4885. "applytime": {
  4886. "description": "申请时间",
  4887. "type": "string"
  4888. },
  4889. "cancelid": {
  4890. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  4891. "type": "integer"
  4892. },
  4893. "cancelqty": {
  4894. "description": "注销数量",
  4895. "type": "integer"
  4896. },
  4897. "createtime": {
  4898. "description": "创建时间",
  4899. "type": "string"
  4900. },
  4901. "creatorid": {
  4902. "description": "创建人ID",
  4903. "type": "integer"
  4904. },
  4905. "creatorname": {
  4906. "description": "创建人",
  4907. "type": "string"
  4908. },
  4909. "goodscode": {
  4910. "description": "订单商品代码",
  4911. "type": "string"
  4912. },
  4913. "goodsid": {
  4914. "description": "商品ID",
  4915. "type": "integer"
  4916. },
  4917. "goodsname": {
  4918. "description": "订单商品名称",
  4919. "type": "string"
  4920. },
  4921. "goodunit": {
  4922. "description": "报价单位",
  4923. "type": "string"
  4924. },
  4925. "handlestatus": {
  4926. "description": "处理状态",
  4927. "type": "integer"
  4928. },
  4929. "marketid": {
  4930. "description": "市场ID",
  4931. "type": "integer"
  4932. },
  4933. "marketname": {
  4934. "description": "市场名称",
  4935. "type": "string"
  4936. },
  4937. "tradedate": {
  4938. "description": "交易日(yyyyMMdd)",
  4939. "type": "string"
  4940. },
  4941. "userid": {
  4942. "description": "申请人ID",
  4943. "type": "integer"
  4944. }
  4945. }
  4946. },
  4947. "cptrade.Cptradepresaleapply": {
  4948. "type": "object",
  4949. "required": [
  4950. "applyid"
  4951. ],
  4952. "properties": {
  4953. "accountid": {
  4954. "description": "申请人账户ID",
  4955. "type": "integer"
  4956. },
  4957. "applyid": {
  4958. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  4959. "type": "integer"
  4960. },
  4961. "applyremark": {
  4962. "description": "申请备注",
  4963. "type": "string"
  4964. },
  4965. "applystatus": {
  4966. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4967. "type": "integer"
  4968. },
  4969. "applytime": {
  4970. "description": "申请时间",
  4971. "type": "string"
  4972. },
  4973. "attachmenturl": {
  4974. "description": "附件地址",
  4975. "type": "string"
  4976. },
  4977. "endtime": {
  4978. "description": "预售结束时间",
  4979. "type": "string"
  4980. },
  4981. "goodscode": {
  4982. "description": "商品代码",
  4983. "type": "string"
  4984. },
  4985. "goodsid": {
  4986. "description": "商品ID",
  4987. "type": "integer"
  4988. },
  4989. "goodsname": {
  4990. "description": "商品名称",
  4991. "type": "string"
  4992. },
  4993. "goodunit": {
  4994. "description": "报价单位",
  4995. "type": "string"
  4996. },
  4997. "handlestatus": {
  4998. "description": "处理状态",
  4999. "type": "integer"
  5000. },
  5001. "marketid": {
  5002. "description": "预售市场ID",
  5003. "type": "integer"
  5004. },
  5005. "marketname": {
  5006. "description": "预售市场名称",
  5007. "type": "string"
  5008. },
  5009. "presaleqty": {
  5010. "description": "预售数量",
  5011. "type": "integer"
  5012. },
  5013. "relatedgoodscode": {
  5014. "description": "关联交易合约代码",
  5015. "type": "string"
  5016. },
  5017. "relatedgoodsid": {
  5018. "description": "关联交易合约ID",
  5019. "type": "integer"
  5020. },
  5021. "relatedgoodsname": {
  5022. "description": "关联交易合约名称",
  5023. "type": "string"
  5024. },
  5025. "starttime": {
  5026. "description": "预售开始时间",
  5027. "type": "string"
  5028. },
  5029. "tradedate": {
  5030. "description": "交易日(yyyyMMdd)",
  5031. "type": "string"
  5032. },
  5033. "trademode": {
  5034. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  5035. "type": "integer"
  5036. },
  5037. "userid": {
  5038. "description": "申请人ID",
  5039. "type": "integer"
  5040. }
  5041. }
  5042. },
  5043. "cptrade.Cptradeusergoodsdata": {
  5044. "type": "object",
  5045. "required": [
  5046. "accountid",
  5047. "goodsid"
  5048. ],
  5049. "properties": {
  5050. "EnabledQty": {
  5051. "description": "可用量",
  5052. "type": "integer"
  5053. },
  5054. "GoodsCode": {
  5055. "description": "订单商品代码",
  5056. "type": "string"
  5057. },
  5058. "GoodsName": {
  5059. "description": "订单商品名称",
  5060. "type": "string"
  5061. },
  5062. "WRStandardCode": {
  5063. "description": "仓单标准代码",
  5064. "type": "string"
  5065. },
  5066. "WRStandardName": {
  5067. "description": "仓单标准名称",
  5068. "type": "string"
  5069. },
  5070. "accountid": {
  5071. "description": "账户ID",
  5072. "type": "integer"
  5073. },
  5074. "cancelqty": {
  5075. "description": "注销量",
  5076. "type": "integer"
  5077. },
  5078. "curpresaleqty": {
  5079. "description": "当前预售量",
  5080. "type": "integer"
  5081. },
  5082. "deliveryqty": {
  5083. "description": "交割量",
  5084. "type": "integer"
  5085. },
  5086. "freezeamount": {
  5087. "description": "冻结金额",
  5088. "type": "number"
  5089. },
  5090. "goodsid": {
  5091. "description": "商品ID",
  5092. "type": "integer"
  5093. },
  5094. "goodunit": {
  5095. "description": "报价单位",
  5096. "type": "string"
  5097. },
  5098. "hasspotfreeze": {
  5099. "description": "是否有现货冻结 - 0:否 1:有",
  5100. "type": "integer"
  5101. },
  5102. "inqty": {
  5103. "description": "转入量(总数量)",
  5104. "type": "integer"
  5105. },
  5106. "marketid": {
  5107. "description": "市场ID",
  5108. "type": "integer"
  5109. },
  5110. "presaledamount": {
  5111. "description": "已预售总金额",
  5112. "type": "integer"
  5113. },
  5114. "presaledqty": {
  5115. "description": "已预售量",
  5116. "type": "integer"
  5117. },
  5118. "userid": {
  5119. "description": "用户ID",
  5120. "type": "integer"
  5121. },
  5122. "wrstandardid": {
  5123. "description": "仓单标准ID",
  5124. "type": "integer"
  5125. }
  5126. }
  5127. },
  5128. "cptrade.QueryCPTradeMyBidRsp": {
  5129. "type": "object",
  5130. "required": [
  5131. "accountid",
  5132. "goodsid",
  5133. "marketid",
  5134. "orderid",
  5135. "orderqty",
  5136. "ordertime",
  5137. "tradeprice",
  5138. "tradeqty"
  5139. ],
  5140. "properties": {
  5141. "accountid": {
  5142. "description": "账户ID[报价币种]",
  5143. "type": "integer"
  5144. },
  5145. "goodsid": {
  5146. "description": "商品ID",
  5147. "type": "integer"
  5148. },
  5149. "goodunit": {
  5150. "description": "报价单位",
  5151. "type": "string"
  5152. },
  5153. "marketid": {
  5154. "description": "市场ID",
  5155. "type": "integer"
  5156. },
  5157. "orderid": {
  5158. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5159. "type": "integer"
  5160. },
  5161. "orderprice": {
  5162. "description": "委托价格",
  5163. "type": "number"
  5164. },
  5165. "orderqty": {
  5166. "description": "委托数量",
  5167. "type": "integer"
  5168. },
  5169. "ordertime": {
  5170. "description": "委托时间",
  5171. "type": "string"
  5172. },
  5173. "ordertotalprice": {
  5174. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  5175. "type": "number"
  5176. },
  5177. "ordertotalweight": {
  5178. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  5179. "type": "integer"
  5180. },
  5181. "totaltotalprice": {
  5182. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  5183. "type": "number"
  5184. },
  5185. "tradeprice": {
  5186. "description": "成交价格",
  5187. "type": "number"
  5188. },
  5189. "tradeqty": {
  5190. "description": "成交数量",
  5191. "type": "integer"
  5192. }
  5193. }
  5194. },
  5195. "cptrade.QueryCPTradeOrderDetailRsq": {
  5196. "type": "object",
  5197. "required": [
  5198. "accountid",
  5199. "buildtype",
  5200. "buyorsell",
  5201. "goodsid",
  5202. "marketid",
  5203. "memberuserid",
  5204. "operatetype",
  5205. "orderqty",
  5206. "ordertime",
  5207. "pricemode",
  5208. "strorderid",
  5209. "tradedate",
  5210. "validtype"
  5211. ],
  5212. "properties": {
  5213. "accountid": {
  5214. "description": "账户ID[报价币种]",
  5215. "type": "integer"
  5216. },
  5217. "buildtype": {
  5218. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  5219. "type": "integer"
  5220. },
  5221. "buyorsell": {
  5222. "description": "买卖 - 0:买 1:卖",
  5223. "type": "integer"
  5224. },
  5225. "cancelorderid": {
  5226. "description": "撤单单号(撤单时填写)",
  5227. "type": "integer"
  5228. },
  5229. "cancelqty": {
  5230. "description": "撤单数量",
  5231. "type": "integer"
  5232. },
  5233. "clientordertime": {
  5234. "description": "客户端委托时间",
  5235. "type": "string"
  5236. },
  5237. "clientticket": {
  5238. "description": "客户端流水号",
  5239. "type": "string"
  5240. },
  5241. "clienttype": {
  5242. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  5243. "type": "integer"
  5244. },
  5245. "closeexchagechargevalue": {
  5246. "description": "平仓交易所手续费设置值",
  5247. "type": "number"
  5248. },
  5249. "closefeealgorithm": {
  5250. "description": "平仓手续费收取方式 1:比率 2:固定",
  5251. "type": "integer"
  5252. },
  5253. "closefreezecharge": {
  5254. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  5255. "type": "number"
  5256. },
  5257. "closememberchargevalue": {
  5258. "description": "平仓会员手续费设置值",
  5259. "type": "number"
  5260. },
  5261. "closeqty": {
  5262. "description": "平仓数量(先建后平操作 需要记录)",
  5263. "type": "integer"
  5264. },
  5265. "closetradeqty": {
  5266. "description": "平仓成交数量(先建后平操作,需要记录)",
  5267. "type": "integer"
  5268. },
  5269. "closeunfreezecharge": {
  5270. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  5271. "type": "number"
  5272. },
  5273. "delistingtype": {
  5274. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  5275. "type": "integer"
  5276. },
  5277. "freezecharge": {
  5278. "description": "冻结手续费",
  5279. "type": "number"
  5280. },
  5281. "freezemargin": {
  5282. "description": "冻结保证金(冻结交易金额)",
  5283. "type": "number"
  5284. },
  5285. "gcaccountid": {
  5286. "description": "账户ID[合约币种]",
  5287. "type": "integer"
  5288. },
  5289. "goodsid": {
  5290. "description": "商品ID",
  5291. "type": "integer"
  5292. },
  5293. "isconfirmexercise": {
  5294. "description": "是否确认行权- 0:否 1:是",
  5295. "type": "integer"
  5296. },
  5297. "ispreexercise": {
  5298. "description": "是否预申报- 0:否 1:是",
  5299. "type": "integer"
  5300. },
  5301. "listingselecttype": {
  5302. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  5303. "type": "integer"
  5304. },
  5305. "marginalgorithm": {
  5306. "description": "保证金收取方式 1:比率 2:固定",
  5307. "type": "integer"
  5308. },
  5309. "marginvalue": {
  5310. "description": "即市保证金设置值",
  5311. "type": "number"
  5312. },
  5313. "marketid": {
  5314. "description": "市场ID",
  5315. "type": "integer"
  5316. },
  5317. "marketmaxsub": {
  5318. "description": "市价最大偏移范围",
  5319. "type": "number"
  5320. },
  5321. "memberuserid": {
  5322. "description": "所属会员UserID",
  5323. "type": "integer"
  5324. },
  5325. "openexchagechargevalue": {
  5326. "description": "建仓交易所手续费设置值",
  5327. "type": "number"
  5328. },
  5329. "openfeealgorithm": {
  5330. "description": "建仓手续费收取方式 1:比率 2:固定",
  5331. "type": "integer"
  5332. },
  5333. "openfreezecharge": {
  5334. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  5335. "type": "number"
  5336. },
  5337. "openmemberchargevalue": {
  5338. "description": "建仓会员手续费设置值",
  5339. "type": "number"
  5340. },
  5341. "openqty": {
  5342. "description": "开仓数量(先建后平操作,需要记录)",
  5343. "type": "integer"
  5344. },
  5345. "opentradeqty": {
  5346. "description": "开仓成交数量(先建后平操作,需要记录)",
  5347. "type": "integer"
  5348. },
  5349. "openunfreezecharge": {
  5350. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  5351. "type": "number"
  5352. },
  5353. "operatetype": {
  5354. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  5355. "type": "integer"
  5356. },
  5357. "operatorid": {
  5358. "description": "登录账号(LoginID)",
  5359. "type": "integer"
  5360. },
  5361. "optiontype": {
  5362. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  5363. "type": "integer"
  5364. },
  5365. "orderprice": {
  5366. "description": "委托价格",
  5367. "type": "number"
  5368. },
  5369. "orderqty": {
  5370. "description": "委托数量",
  5371. "type": "integer"
  5372. },
  5373. "ordersrc": {
  5374. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  5375. "type": "integer"
  5376. },
  5377. "orderstatus": {
  5378. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  5379. "type": "integer"
  5380. },
  5381. "ordertime": {
  5382. "description": "委托时间",
  5383. "type": "string"
  5384. },
  5385. "preexerciseprice": {
  5386. "description": "预申报价格",
  5387. "type": "number"
  5388. },
  5389. "premium": {
  5390. "description": "权利金",
  5391. "type": "number"
  5392. },
  5393. "preorderid": {
  5394. "description": "关联预埋单号(止盈止损单时填写)",
  5395. "type": "integer"
  5396. },
  5397. "pricemode": {
  5398. "description": "取价方式 - 1:市价 2: 限价",
  5399. "type": "integer"
  5400. },
  5401. "quoteid": {
  5402. "description": "报价单ID",
  5403. "type": "integer"
  5404. },
  5405. "relatedid": {
  5406. "description": "关联单号(交割单)",
  5407. "type": "integer"
  5408. },
  5409. "retcode": {
  5410. "description": "错误代码",
  5411. "type": "integer"
  5412. },
  5413. "sessionid": {
  5414. "description": "会话ID",
  5415. "type": "integer"
  5416. },
  5417. "strorderid": {
  5418. "description": "委托单号",
  5419. "type": "string"
  5420. },
  5421. "tradedate": {
  5422. "description": "交易日(yyyyMMdd)",
  5423. "type": "string"
  5424. },
  5425. "tradeproperty": {
  5426. "description": "交易属性",
  5427. "type": "integer"
  5428. },
  5429. "tradeqty": {
  5430. "description": "成交数量",
  5431. "type": "integer"
  5432. },
  5433. "unfreezecharge": {
  5434. "description": "解冻手续费",
  5435. "type": "number"
  5436. },
  5437. "unfreezemargin": {
  5438. "description": "解冻保证金",
  5439. "type": "number"
  5440. },
  5441. "updatetime": {
  5442. "description": "更新时间",
  5443. "type": "string"
  5444. },
  5445. "uuid": {
  5446. "description": "发起端唯一id",
  5447. "type": "string"
  5448. },
  5449. "validtime": {
  5450. "description": "有效期限",
  5451. "type": "string"
  5452. },
  5453. "validtype": {
  5454. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  5455. "type": "integer"
  5456. },
  5457. "volumetype": {
  5458. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  5459. "type": "integer"
  5460. }
  5461. }
  5462. },
  5463. "cptrade.QueryMyCPTradeGoodsRsp": {
  5464. "type": "object",
  5465. "required": [
  5466. "goodscode",
  5467. "goodsid",
  5468. "goodsname",
  5469. "marketid",
  5470. "relatedgoodscode",
  5471. "relatedgoodsname"
  5472. ],
  5473. "properties": {
  5474. "accountid": {
  5475. "description": "卖方账户ID",
  5476. "type": "integer"
  5477. },
  5478. "agreeunit": {
  5479. "description": "合约单位",
  5480. "type": "number"
  5481. },
  5482. "applyid": {
  5483. "description": "关联申请ID",
  5484. "type": "integer"
  5485. },
  5486. "attachmenturl": {
  5487. "description": "附件地址",
  5488. "type": "string"
  5489. },
  5490. "createtime": {
  5491. "description": "创建时间",
  5492. "type": "string"
  5493. },
  5494. "currencyid": {
  5495. "description": "报价货币ID",
  5496. "type": "integer"
  5497. },
  5498. "decimalplace": {
  5499. "description": "报价小数位",
  5500. "type": "integer"
  5501. },
  5502. "endtime": {
  5503. "description": "预售结束时间",
  5504. "type": "string"
  5505. },
  5506. "floorprice": {
  5507. "description": "底价[大宗式竞拍]",
  5508. "type": "number"
  5509. },
  5510. "goodscode": {
  5511. "description": "商品代码(预售)",
  5512. "type": "string"
  5513. },
  5514. "goodsdetail": {
  5515. "description": "详情[大宗]",
  5516. "type": "string"
  5517. },
  5518. "goodsid": {
  5519. "description": "商品ID(自增ID SEQ_GOODS)",
  5520. "type": "integer"
  5521. },
  5522. "goodsname": {
  5523. "description": "商品名称(预售)",
  5524. "type": "string"
  5525. },
  5526. "goodunit": {
  5527. "description": "报价单位",
  5528. "type": "string"
  5529. },
  5530. "goodunitid": {
  5531. "description": "报价单位ID",
  5532. "type": "integer"
  5533. },
  5534. "marketid": {
  5535. "description": "所属市场ID",
  5536. "type": "integer"
  5537. },
  5538. "marketname": {
  5539. "description": "预售市场名称",
  5540. "type": "string"
  5541. },
  5542. "presaledamount": {
  5543. "description": "已预售总金额(预售结束时更新)",
  5544. "type": "number"
  5545. },
  5546. "presaledqty": {
  5547. "description": "已预售量(预售结束时更新)",
  5548. "type": "integer"
  5549. },
  5550. "presalemode": {
  5551. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5552. "type": "integer"
  5553. },
  5554. "presaleqty": {
  5555. "description": "预售数量",
  5556. "type": "integer"
  5557. },
  5558. "refprice": {
  5559. "description": "参考价格[一口价]",
  5560. "type": "number"
  5561. },
  5562. "relatedgoodscode": {
  5563. "description": "商品代码(订单)",
  5564. "type": "string"
  5565. },
  5566. "relatedgoodsid": {
  5567. "description": "关联交易合约ID",
  5568. "type": "integer"
  5569. },
  5570. "relatedgoodsname": {
  5571. "description": "商品名称(订单)",
  5572. "type": "string"
  5573. },
  5574. "relatedmarketid": {
  5575. "description": "关联交易合约市场ID",
  5576. "type": "integer"
  5577. },
  5578. "sellstatus": {
  5579. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5580. "type": "integer"
  5581. },
  5582. "startprice": {
  5583. "description": "起拍价[大宗式竞拍]",
  5584. "type": "number"
  5585. },
  5586. "starttime": {
  5587. "description": "预售开始时间",
  5588. "type": "string"
  5589. },
  5590. "tradedate": {
  5591. "description": "交易日(yyyyMMdd)",
  5592. "type": "string"
  5593. },
  5594. "tradeprice": {
  5595. "description": "成交价[大宗]",
  5596. "type": "number"
  5597. },
  5598. "userid": {
  5599. "description": "卖方用户ID",
  5600. "type": "integer"
  5601. }
  5602. }
  5603. },
  5604. "cptrade.QueryPresaleGoodsExRsp": {
  5605. "type": "object",
  5606. "required": [
  5607. "goodsid"
  5608. ],
  5609. "properties": {
  5610. "attachmenturl": {
  5611. "description": "附件地址",
  5612. "type": "string"
  5613. },
  5614. "createtime": {
  5615. "description": "创建时间",
  5616. "type": "string"
  5617. },
  5618. "endtime": {
  5619. "description": "预售结束时间",
  5620. "type": "string"
  5621. },
  5622. "floorprice": {
  5623. "description": "底价[大宗式竞拍]",
  5624. "type": "number"
  5625. },
  5626. "goodsdetail": {
  5627. "description": "详情[大宗]",
  5628. "type": "string"
  5629. },
  5630. "goodsid": {
  5631. "description": "商品ID(预售)",
  5632. "type": "integer"
  5633. },
  5634. "goodunit": {
  5635. "description": "报价单位",
  5636. "type": "string"
  5637. },
  5638. "marketid": {
  5639. "description": "预售市场ID - 根据预售模式选择市场",
  5640. "type": "integer"
  5641. },
  5642. "presaledamount": {
  5643. "description": "已预售总金额(预售结束时更新)",
  5644. "type": "number"
  5645. },
  5646. "presaledqty": {
  5647. "description": "已预售量(预售结束时更新)",
  5648. "type": "integer"
  5649. },
  5650. "presalemode": {
  5651. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5652. "type": "integer"
  5653. },
  5654. "presaleqty": {
  5655. "description": "预售数量",
  5656. "type": "integer"
  5657. },
  5658. "refprice": {
  5659. "description": "参考价格[一口价]",
  5660. "type": "number"
  5661. },
  5662. "relatedgoodsid": {
  5663. "description": "关联交易合约ID",
  5664. "type": "integer"
  5665. },
  5666. "relatedmarketid": {
  5667. "description": "关联交易合约市场ID",
  5668. "type": "integer"
  5669. },
  5670. "sellstatus": {
  5671. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5672. "type": "integer"
  5673. },
  5674. "startprice": {
  5675. "description": "起拍价[大宗式竞拍]",
  5676. "type": "number"
  5677. },
  5678. "starttime": {
  5679. "description": "预售开始时间",
  5680. "type": "string"
  5681. },
  5682. "tradedate": {
  5683. "description": "交易日(yyyyMMdd)",
  5684. "type": "string"
  5685. },
  5686. "tradeprice": {
  5687. "description": "成交价[大宗]",
  5688. "type": "number"
  5689. }
  5690. }
  5691. },
  5692. "delivery.QueryDeliveryRelationRsp": {
  5693. "type": "object",
  5694. "required": [
  5695. "begindate",
  5696. "enddate",
  5697. "goodsid",
  5698. "mindeliveryqty",
  5699. "xdeliveryratio"
  5700. ],
  5701. "properties": {
  5702. "begindate": {
  5703. "description": "起始日期(yyyyMMdd)",
  5704. "type": "string"
  5705. },
  5706. "buytemplateid": {
  5707. "description": "买履约计划模板ID",
  5708. "type": "integer"
  5709. },
  5710. "deliverygoodscode": {
  5711. "description": "品种代码",
  5712. "type": "string"
  5713. },
  5714. "deliverygoodsid": {
  5715. "description": "交割商品",
  5716. "type": "integer"
  5717. },
  5718. "deliverygoodsname": {
  5719. "description": "品种名称",
  5720. "type": "string"
  5721. },
  5722. "deliverymode": {
  5723. "description": "交割方式 - 1:点选式 2:申报式",
  5724. "type": "integer"
  5725. },
  5726. "deliverypricerule": {
  5727. "description": "交割价规则- 1:行情价 2:建仓价",
  5728. "type": "integer"
  5729. },
  5730. "deliverytype": {
  5731. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  5732. "type": "integer"
  5733. },
  5734. "enddate": {
  5735. "description": "结束日期(yyyyMMdd)",
  5736. "type": "string"
  5737. },
  5738. "goodscode": {
  5739. "description": "商品代码",
  5740. "type": "string"
  5741. },
  5742. "goodsid": {
  5743. "description": "交易合约ID",
  5744. "type": "integer"
  5745. },
  5746. "goodsname": {
  5747. "description": "商品名称",
  5748. "type": "string"
  5749. },
  5750. "marketid": {
  5751. "description": "市场ID",
  5752. "type": "integer"
  5753. },
  5754. "mindeliveryqty": {
  5755. "description": "最小交割系数(K)",
  5756. "type": "integer"
  5757. },
  5758. "p2deliveryprice": {
  5759. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  5760. "type": "number"
  5761. },
  5762. "p2deliveryratio": {
  5763. "description": "P2合约系数(p)",
  5764. "type": "integer"
  5765. },
  5766. "p2goodsid": {
  5767. "description": "P2合约ID",
  5768. "type": "integer"
  5769. },
  5770. "p2pricemode": {
  5771. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  5772. "type": "integer"
  5773. },
  5774. "pdeliveryprice": {
  5775. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  5776. "type": "number"
  5777. },
  5778. "pdeliveryratio": {
  5779. "description": "P合约系数(n)",
  5780. "type": "integer"
  5781. },
  5782. "pgoodsid": {
  5783. "description": "P合约ID",
  5784. "type": "integer"
  5785. },
  5786. "ppricemode": {
  5787. "description": "P合约价格方式 - 1:商品价 2:固定值",
  5788. "type": "integer"
  5789. },
  5790. "rratio": {
  5791. "description": "兑换系数(R)",
  5792. "type": "integer"
  5793. },
  5794. "rratio1": {
  5795. "description": "兑换系数(交易合约)(R1)",
  5796. "type": "integer"
  5797. },
  5798. "rratio2": {
  5799. "description": "兑换系数(仓单标准)(R2)",
  5800. "type": "integer"
  5801. },
  5802. "selltemplateid": {
  5803. "description": "卖履约计划模板ID",
  5804. "type": "integer"
  5805. },
  5806. "wrstandardid": {
  5807. "description": "仓单标准ID",
  5808. "type": "integer"
  5809. },
  5810. "xdeliveryratio": {
  5811. "description": "交易合约系数(m)",
  5812. "type": "integer"
  5813. }
  5814. }
  5815. },
  5816. "ermcp.ExposureDetailRsp": {
  5817. "type": "object",
  5818. "properties": {
  5819. "areauserid": {
  5820. "description": "机构ID",
  5821. "type": "integer"
  5822. },
  5823. "changeQty": {
  5824. "description": "套保变动量",
  5825. "type": "number"
  5826. },
  5827. "contracttype": {
  5828. "description": "现货合同类型 - 1:采购 -1:销售",
  5829. "type": "integer"
  5830. },
  5831. "convertfactor": {
  5832. "description": "标仓系数",
  5833. "type": "number"
  5834. },
  5835. "convertratio": {
  5836. "description": "套保系数",
  5837. "type": "number"
  5838. },
  5839. "createtime": {
  5840. "description": "时间",
  5841. "type": "string"
  5842. },
  5843. "enumdicname": {
  5844. "description": "现货商品单位名称",
  5845. "type": "string"
  5846. },
  5847. "logtype": {
  5848. "description": "类型 - 1:套保计划 2:现货合同",
  5849. "type": "integer"
  5850. },
  5851. "middlegoodsId": {
  5852. "description": "套保商品id",
  5853. "type": "integer"
  5854. },
  5855. "middlegoodscode": {
  5856. "description": "套保商品代码",
  5857. "type": "string"
  5858. },
  5859. "middlegoodsname": {
  5860. "description": "套保商品名称",
  5861. "type": "string"
  5862. },
  5863. "qty": {
  5864. "description": "数量",
  5865. "type": "number"
  5866. },
  5867. "relateNo": {
  5868. "description": "现货合同/套保计划编号",
  5869. "type": "string"
  5870. },
  5871. "wrstandardcode": {
  5872. "description": "现货商品代码",
  5873. "type": "string"
  5874. },
  5875. "wrstandardid": {
  5876. "description": "现货商品ID",
  5877. "type": "integer"
  5878. },
  5879. "wrstandardname": {
  5880. "description": "现货商品名称",
  5881. "type": "string"
  5882. }
  5883. }
  5884. },
  5885. "ermcp.ExposureSpotRsp": {
  5886. "type": "object",
  5887. "properties": {
  5888. "areauserid": {
  5889. "description": "所属机构",
  5890. "type": "integer"
  5891. },
  5892. "decreaseqty": {
  5893. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  5894. "type": "number"
  5895. },
  5896. "increaseqty": {
  5897. "description": "增加数量=销售计划数量+采购已定价数量",
  5898. "type": "number"
  5899. },
  5900. "oritoalspotqty": {
  5901. "description": "昨日数量",
  5902. "type": "number"
  5903. },
  5904. "totalspotqty": {
  5905. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  5906. "type": "number"
  5907. },
  5908. "updatetime": {
  5909. "description": "更新时间",
  5910. "type": "string"
  5911. },
  5912. "wrstandardcode": {
  5913. "description": "现货品种代码",
  5914. "type": "string"
  5915. },
  5916. "wrstandardid": {
  5917. "description": "现货商品ID",
  5918. "type": "integer"
  5919. },
  5920. "wrstandardname": {
  5921. "description": "现货品种",
  5922. "type": "string"
  5923. }
  5924. }
  5925. },
  5926. "ermcp.QryBusinessDjRsp": {
  5927. "type": "object",
  5928. "properties": {
  5929. "amount": {
  5930. "description": "点价金额=(点价价格+升贴水)*点价数量",
  5931. "type": "number"
  5932. },
  5933. "applyid": {
  5934. "description": "申请人",
  5935. "type": "string"
  5936. },
  5937. "applyname": {
  5938. "description": "申请人名称",
  5939. "type": "string"
  5940. },
  5941. "applystatus": {
  5942. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5943. "type": "integer"
  5944. },
  5945. "applytime": {
  5946. "description": "申请时间",
  5947. "type": "string"
  5948. },
  5949. "auditname": {
  5950. "description": "审核人名称",
  5951. "type": "string"
  5952. },
  5953. "audittime": {
  5954. "description": "审核时间",
  5955. "type": "string"
  5956. },
  5957. "buyusername": {
  5958. "description": "采购方名称",
  5959. "type": "string"
  5960. },
  5961. "contractno": {
  5962. "description": "合同编号",
  5963. "type": "string"
  5964. },
  5965. "contractstatus": {
  5966. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5967. "type": "integer"
  5968. },
  5969. "contracttype": {
  5970. "description": "现货合同类型 - 1:采购 -1:销售",
  5971. "type": "integer"
  5972. },
  5973. "enumdicname": {
  5974. "description": "单位名称",
  5975. "type": "string"
  5976. },
  5977. "goodscode": {
  5978. "description": "点价合约",
  5979. "type": "string"
  5980. },
  5981. "goodsname": {
  5982. "description": "商品名称",
  5983. "type": "string"
  5984. },
  5985. "operateapplyid": {
  5986. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5987. "type": "string"
  5988. },
  5989. "operateapplytype": {
  5990. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5991. "type": "integer"
  5992. },
  5993. "pricedPrice": {
  5994. "description": "点价价格(非必填)",
  5995. "type": "number"
  5996. },
  5997. "pricedQty": {
  5998. "description": "点价数量(非必填)",
  5999. "type": "number"
  6000. },
  6001. "pricemove": {
  6002. "description": "升贴水",
  6003. "type": "number"
  6004. },
  6005. "pricetype": {
  6006. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6007. "type": "integer"
  6008. },
  6009. "relatedid": {
  6010. "description": "现货合同ID",
  6011. "type": "string"
  6012. },
  6013. "sellusername": {
  6014. "description": "销售方名字",
  6015. "type": "string"
  6016. },
  6017. "userid": {
  6018. "description": "用户ID",
  6019. "type": "integer"
  6020. }
  6021. }
  6022. },
  6023. "ermcp.QryBussinessFpRsp": {
  6024. "type": "object",
  6025. "properties": {
  6026. "applyid": {
  6027. "description": "申请人",
  6028. "type": "string"
  6029. },
  6030. "applyname": {
  6031. "description": "申请人名称",
  6032. "type": "string"
  6033. },
  6034. "applystatus": {
  6035. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6036. "type": "integer"
  6037. },
  6038. "applytime": {
  6039. "description": "申请时间",
  6040. "type": "string"
  6041. },
  6042. "auditname": {
  6043. "description": "审核人名称",
  6044. "type": "string"
  6045. },
  6046. "audittime": {
  6047. "description": "审核时间",
  6048. "type": "string"
  6049. },
  6050. "buyusername": {
  6051. "description": "采购方名称",
  6052. "type": "string"
  6053. },
  6054. "contractno": {
  6055. "description": "合同编号",
  6056. "type": "string"
  6057. },
  6058. "contractstatus": {
  6059. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6060. "type": "integer"
  6061. },
  6062. "contracttype": {
  6063. "description": "现货合同类型 - 1:采购 -1:销售",
  6064. "type": "integer"
  6065. },
  6066. "enumdicname": {
  6067. "description": "单位名称",
  6068. "type": "string"
  6069. },
  6070. "goodscode": {
  6071. "description": "点价合约",
  6072. "type": "string"
  6073. },
  6074. "goodsname": {
  6075. "description": "商品名称",
  6076. "type": "string"
  6077. },
  6078. "invoiceAmount": {
  6079. "description": "已开收票金额(销售为开票,采购为收票)",
  6080. "type": "number"
  6081. },
  6082. "operateapplyid": {
  6083. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6084. "type": "string"
  6085. },
  6086. "operateapplytype": {
  6087. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6088. "type": "integer"
  6089. },
  6090. "pricemove": {
  6091. "description": "升贴水",
  6092. "type": "number"
  6093. },
  6094. "pricetype": {
  6095. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6096. "type": "integer"
  6097. },
  6098. "relatedid": {
  6099. "description": "现货合同ID",
  6100. "type": "string"
  6101. },
  6102. "sellusername": {
  6103. "description": "销售方名字",
  6104. "type": "string"
  6105. },
  6106. "userid": {
  6107. "description": "用户ID",
  6108. "type": "integer"
  6109. }
  6110. }
  6111. },
  6112. "ermcp.QryBussinessJsRsp": {
  6113. "type": "object",
  6114. "properties": {
  6115. "addmargin": {
  6116. "description": "追加保证金(非必填)",
  6117. "type": "number"
  6118. },
  6119. "applyid": {
  6120. "description": "申请人",
  6121. "type": "string"
  6122. },
  6123. "applyname": {
  6124. "description": "申请人名称",
  6125. "type": "string"
  6126. },
  6127. "applystatus": {
  6128. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6129. "type": "integer"
  6130. },
  6131. "applytime": {
  6132. "description": "申请时间",
  6133. "type": "string"
  6134. },
  6135. "auditname": {
  6136. "description": "审核人名称",
  6137. "type": "string"
  6138. },
  6139. "audittime": {
  6140. "description": "审核时间",
  6141. "type": "string"
  6142. },
  6143. "buyusername": {
  6144. "description": "采购方名称",
  6145. "type": "string"
  6146. },
  6147. "contractno": {
  6148. "description": "合同编号",
  6149. "type": "string"
  6150. },
  6151. "contractstatus": {
  6152. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6153. "type": "integer"
  6154. },
  6155. "contracttype": {
  6156. "description": "现货合同类型 - 1:采购 -1:销售",
  6157. "type": "integer"
  6158. },
  6159. "decmargin": {
  6160. "description": "减少保证金(非必填)",
  6161. "type": "number"
  6162. },
  6163. "enumdicname": {
  6164. "description": "单位名称",
  6165. "type": "string"
  6166. },
  6167. "goodscode": {
  6168. "description": "点价合约",
  6169. "type": "string"
  6170. },
  6171. "goodsname": {
  6172. "description": "商品名称",
  6173. "type": "string"
  6174. },
  6175. "operateapplyid": {
  6176. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6177. "type": "string"
  6178. },
  6179. "operateapplytype": {
  6180. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6181. "type": "integer"
  6182. },
  6183. "pricemove": {
  6184. "description": "升贴水",
  6185. "type": "number"
  6186. },
  6187. "pricetype": {
  6188. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6189. "type": "integer"
  6190. },
  6191. "reckonadjustamount": {
  6192. "description": "结算调整金额(非必填)",
  6193. "type": "number"
  6194. },
  6195. "reckonosamount": {
  6196. "description": "结算溢短金额(非必填)",
  6197. "type": "number"
  6198. },
  6199. "reckonotheramount": {
  6200. "description": "结算其他费用(非必填)",
  6201. "type": "number"
  6202. },
  6203. "reckonrealqty": {
  6204. "description": "结算实际数量(非必填)",
  6205. "type": "number"
  6206. },
  6207. "relatedid": {
  6208. "description": "现货合同ID",
  6209. "type": "string"
  6210. },
  6211. "sellusername": {
  6212. "description": "销售方名字",
  6213. "type": "string"
  6214. },
  6215. "userid": {
  6216. "description": "用户ID",
  6217. "type": "integer"
  6218. }
  6219. }
  6220. },
  6221. "ermcp.QryBussinessKxRsp": {
  6222. "type": "object",
  6223. "properties": {
  6224. "applyid": {
  6225. "description": "申请人",
  6226. "type": "string"
  6227. },
  6228. "applyname": {
  6229. "description": "申请人名称",
  6230. "type": "string"
  6231. },
  6232. "applystatus": {
  6233. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6234. "type": "integer"
  6235. },
  6236. "applytime": {
  6237. "description": "申请时间",
  6238. "type": "string"
  6239. },
  6240. "auditname": {
  6241. "description": "审核人名称",
  6242. "type": "string"
  6243. },
  6244. "audittime": {
  6245. "description": "审核时间",
  6246. "type": "string"
  6247. },
  6248. "buyusername": {
  6249. "description": "采购方名称",
  6250. "type": "string"
  6251. },
  6252. "contractno": {
  6253. "description": "合同编号",
  6254. "type": "string"
  6255. },
  6256. "contractstatus": {
  6257. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6258. "type": "integer"
  6259. },
  6260. "contracttype": {
  6261. "description": "现货合同类型 - 1:采购 -1:销售",
  6262. "type": "integer"
  6263. },
  6264. "deductamount": {
  6265. "description": "退款(非必填)",
  6266. "type": "number"
  6267. },
  6268. "enumdicname": {
  6269. "description": "单位名称",
  6270. "type": "string"
  6271. },
  6272. "goodscode": {
  6273. "description": "点价合约",
  6274. "type": "string"
  6275. },
  6276. "goodsname": {
  6277. "description": "商品名称",
  6278. "type": "string"
  6279. },
  6280. "kxtype": {
  6281. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  6282. "type": "integer"
  6283. },
  6284. "operateapplyid": {
  6285. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6286. "type": "string"
  6287. },
  6288. "operateapplytype": {
  6289. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6290. "type": "integer"
  6291. },
  6292. "payamount": {
  6293. "description": "收付款(非必填)",
  6294. "type": "number"
  6295. },
  6296. "pricemove": {
  6297. "description": "升贴水",
  6298. "type": "number"
  6299. },
  6300. "pricetype": {
  6301. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6302. "type": "integer"
  6303. },
  6304. "relatedid": {
  6305. "description": "现货合同ID",
  6306. "type": "string"
  6307. },
  6308. "sellusername": {
  6309. "description": "销售方名字",
  6310. "type": "string"
  6311. },
  6312. "userid": {
  6313. "description": "用户ID",
  6314. "type": "integer"
  6315. }
  6316. }
  6317. },
  6318. "ermcp.QryErmcpRsp": {
  6319. "type": "object",
  6320. "properties": {
  6321. "accountid": {
  6322. "description": "账户ID",
  6323. "type": "string"
  6324. },
  6325. "accountname": {
  6326. "description": "账户名称",
  6327. "type": "string"
  6328. },
  6329. "contracctstatus": {
  6330. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6331. "type": "integer"
  6332. },
  6333. "contractno": {
  6334. "description": "合同编号",
  6335. "type": "string"
  6336. },
  6337. "contracttype": {
  6338. "description": "合同类型 1-采购, -1-销售",
  6339. "type": "integer"
  6340. },
  6341. "convertfactor": {
  6342. "description": "标仓系数",
  6343. "type": "number"
  6344. },
  6345. "daikaiamount": {
  6346. "description": "待开票额",
  6347. "type": "number"
  6348. },
  6349. "deliveryenddate": {
  6350. "description": "交割结束日",
  6351. "type": "string"
  6352. },
  6353. "deliverygoodscode": {
  6354. "description": "现货商品代码",
  6355. "type": "string"
  6356. },
  6357. "deliverygoodsid": {
  6358. "description": "现货商品ID",
  6359. "type": "integer"
  6360. },
  6361. "deliverygoodsname": {
  6362. "description": "现货商品名称",
  6363. "type": "string"
  6364. },
  6365. "deliverystartdate": {
  6366. "description": "交割开始日",
  6367. "type": "string"
  6368. },
  6369. "enddate": {
  6370. "description": "点价结束日",
  6371. "type": "string"
  6372. },
  6373. "enumdicname": {
  6374. "description": "单位名称",
  6375. "type": "string"
  6376. },
  6377. "goodscode": {
  6378. "description": "点价商品代码",
  6379. "type": "string"
  6380. },
  6381. "goodsid": {
  6382. "description": "点价商品ID",
  6383. "type": "integer"
  6384. },
  6385. "invoiceamount": {
  6386. "description": "已开票额",
  6387. "type": "number"
  6388. },
  6389. "loanamount": {
  6390. "description": "贷款总额=已定价额+调整金额",
  6391. "type": "number"
  6392. },
  6393. "margin": {
  6394. "description": "保证金",
  6395. "type": "number"
  6396. },
  6397. "payamount": {
  6398. "description": "已收付额(收款或付款)",
  6399. "type": "number"
  6400. },
  6401. "price": {
  6402. "description": "价格",
  6403. "type": "number"
  6404. },
  6405. "pricedamount": {
  6406. "description": "已定价额",
  6407. "type": "number"
  6408. },
  6409. "pricedavg": {
  6410. "description": "已点均价",
  6411. "type": "number"
  6412. },
  6413. "pricedqty": {
  6414. "description": "已定价量",
  6415. "type": "number"
  6416. },
  6417. "pricemove": {
  6418. "description": "升贴水",
  6419. "type": "number"
  6420. },
  6421. "pricetype": {
  6422. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6423. "type": "integer"
  6424. },
  6425. "producttype": {
  6426. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  6427. "type": "integer"
  6428. },
  6429. "qty": {
  6430. "description": "合同量",
  6431. "type": "number"
  6432. },
  6433. "reckonadjustamount": {
  6434. "description": "调整金额",
  6435. "type": "number"
  6436. },
  6437. "reckonedamount": {
  6438. "description": "已收付额(已确定额)",
  6439. "type": "number"
  6440. },
  6441. "reckonotheramount": {
  6442. "description": "其它费用",
  6443. "type": "number"
  6444. },
  6445. "reckonrealqty": {
  6446. "description": "已确定量",
  6447. "type": "number"
  6448. },
  6449. "remark": {
  6450. "description": "备注",
  6451. "type": "string"
  6452. },
  6453. "spotcontractid": {
  6454. "description": "合同ID",
  6455. "type": "string"
  6456. },
  6457. "spotgoodsdesc": {
  6458. "description": "商品型号(商品规格)",
  6459. "type": "string"
  6460. },
  6461. "startdate": {
  6462. "description": "点价开始日",
  6463. "type": "string"
  6464. },
  6465. "totalamount": {
  6466. "description": "合计总额",
  6467. "type": "number"
  6468. },
  6469. "unpayamount": {
  6470. "description": "待支收额(支付或收款)",
  6471. "type": "number"
  6472. },
  6473. "unpricedqty": {
  6474. "description": "未定价量",
  6475. "type": "number"
  6476. },
  6477. "unsureqty": {
  6478. "description": "未确定量",
  6479. "type": "number"
  6480. },
  6481. "userid": {
  6482. "description": "用户ID",
  6483. "type": "integer"
  6484. }
  6485. }
  6486. },
  6487. "ermcp.QryHedgePlanRsp": {
  6488. "type": "object",
  6489. "properties": {
  6490. "areauserid": {
  6491. "description": "用户ID",
  6492. "type": "integer"
  6493. },
  6494. "contracttype": {
  6495. "description": "计划类型 - 1:采购 -1:销售",
  6496. "type": "integer"
  6497. },
  6498. "convertfactor": {
  6499. "description": "标仓系数",
  6500. "type": "number"
  6501. },
  6502. "deliverygoodsid": {
  6503. "description": "现货品种ID",
  6504. "type": "integer"
  6505. },
  6506. "deliverygoodsname": {
  6507. "description": "现货品种名称",
  6508. "type": "string"
  6509. },
  6510. "hedgeplanid": {
  6511. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  6512. "type": "string"
  6513. },
  6514. "hedgeplanno": {
  6515. "description": "套保计划编号(名称)",
  6516. "type": "string"
  6517. },
  6518. "hedgeplanstatus": {
  6519. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6520. "type": "integer"
  6521. },
  6522. "planqty": {
  6523. "description": "计划数量",
  6524. "type": "number"
  6525. },
  6526. "plantime": {
  6527. "description": "计划时间",
  6528. "type": "string"
  6529. },
  6530. "producttype": {
  6531. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  6532. "type": "integer"
  6533. },
  6534. "remark": {
  6535. "description": "备注",
  6536. "type": "string"
  6537. },
  6538. "spotgoodsdesc": {
  6539. "description": "商品型号",
  6540. "type": "string"
  6541. },
  6542. "wrstandardid": {
  6543. "description": "现货商品ID",
  6544. "type": "integer"
  6545. },
  6546. "wrstandardname": {
  6547. "description": "现货商品名称",
  6548. "type": "string"
  6549. }
  6550. }
  6551. },
  6552. "ermcp.QryOPLogRsp": {
  6553. "type": "object",
  6554. "properties": {
  6555. "aftervalue": {
  6556. "description": "变更后",
  6557. "type": "number"
  6558. },
  6559. "applyid": {
  6560. "description": "操作人ID",
  6561. "type": "string"
  6562. },
  6563. "applyname": {
  6564. "description": "操作人名称",
  6565. "type": "string"
  6566. },
  6567. "beforevalue": {
  6568. "description": "变更前",
  6569. "type": "number"
  6570. },
  6571. "biztype": {
  6572. "description": "业务类型 - 1:套保计划 2:现货合同",
  6573. "type": "integer"
  6574. },
  6575. "contracttype": {
  6576. "description": "现货合同类型 - 1:采购 -1:销售",
  6577. "type": "integer"
  6578. },
  6579. "logvalue": {
  6580. "description": "数值",
  6581. "type": "number"
  6582. },
  6583. "operatelogtype": {
  6584. "description": "操作流水类型",
  6585. "type": "integer"
  6586. },
  6587. "operatelogtypedesc": {
  6588. "description": "操作流水类型名称",
  6589. "type": "string"
  6590. },
  6591. "relatedid": {
  6592. "description": "现货合同ID\\套保计划",
  6593. "type": "string"
  6594. },
  6595. "updatetime": {
  6596. "description": "更新时间",
  6597. "type": "string"
  6598. }
  6599. }
  6600. },
  6601. "ermcp.QrySpotContractRsp": {
  6602. "type": "object",
  6603. "properties": {
  6604. "amount": {
  6605. "description": "金额 [1:一口价、3:暂定价]",
  6606. "type": "number"
  6607. },
  6608. "buyuserid": {
  6609. "description": "采购方ID",
  6610. "type": "integer"
  6611. },
  6612. "buyusername": {
  6613. "description": "采购方名称",
  6614. "type": "string"
  6615. },
  6616. "contracctstatus": {
  6617. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6618. "type": "integer"
  6619. },
  6620. "contractno": {
  6621. "description": "现货合同编号",
  6622. "type": "string"
  6623. },
  6624. "contracttype": {
  6625. "description": "现货合同类型 - 1:采购 -1:销售",
  6626. "type": "integer"
  6627. },
  6628. "convertfactor": {
  6629. "description": "标仓系数",
  6630. "type": "number"
  6631. },
  6632. "deliveryenddate": {
  6633. "description": "交收期(结束)",
  6634. "type": "string"
  6635. },
  6636. "deliverygoodscode": {
  6637. "description": "现货品种代码",
  6638. "type": "string"
  6639. },
  6640. "deliverygoodsid": {
  6641. "description": "现货品种ID",
  6642. "type": "integer"
  6643. },
  6644. "deliverygoodsname": {
  6645. "description": "现货品种名称",
  6646. "type": "string"
  6647. },
  6648. "deliverystartdate": {
  6649. "description": "交收期(开始)",
  6650. "type": "string"
  6651. },
  6652. "enddate": {
  6653. "description": "点价结束日期 [2:点价 3:暂定价]",
  6654. "type": "string"
  6655. },
  6656. "enumdicname": {
  6657. "description": "单位名称",
  6658. "type": "string"
  6659. },
  6660. "goodscode": {
  6661. "description": "点价合约代码",
  6662. "type": "string"
  6663. },
  6664. "goodsid": {
  6665. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  6666. "type": "integer"
  6667. },
  6668. "margin": {
  6669. "description": "当前保证金",
  6670. "type": "number"
  6671. },
  6672. "price": {
  6673. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  6674. "type": "number"
  6675. },
  6676. "pricemove": {
  6677. "description": "升贴水 [2:点价 3:暂定价]",
  6678. "type": "number"
  6679. },
  6680. "pricetype": {
  6681. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6682. "type": "integer"
  6683. },
  6684. "producttype": {
  6685. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  6686. "type": "integer"
  6687. },
  6688. "qty": {
  6689. "description": "数量",
  6690. "type": "number"
  6691. },
  6692. "remark": {
  6693. "description": "备注",
  6694. "type": "string"
  6695. },
  6696. "selluserid": {
  6697. "description": "销售方ID",
  6698. "type": "integer"
  6699. },
  6700. "sellusername": {
  6701. "description": "销售方名称",
  6702. "type": "string"
  6703. },
  6704. "spotcontractid": {
  6705. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  6706. "type": "string"
  6707. },
  6708. "spotgoodsdesc": {
  6709. "description": "商品型号",
  6710. "type": "string"
  6711. },
  6712. "startdate": {
  6713. "description": "点价开始日期 [2:点价 3:暂定价]",
  6714. "type": "string"
  6715. },
  6716. "userid": {
  6717. "description": "机构ID",
  6718. "type": "integer"
  6719. }
  6720. }
  6721. },
  6722. "ermcp.QryUserInfoRsp": {
  6723. "type": "object",
  6724. "properties": {
  6725. "address": {
  6726. "description": "通讯地址",
  6727. "type": "string"
  6728. },
  6729. "attachment1": {
  6730. "description": "附件1",
  6731. "type": "string"
  6732. },
  6733. "cardfrontphotourl": {
  6734. "description": "证件正面图片地址",
  6735. "type": "string"
  6736. },
  6737. "cardnum": {
  6738. "description": "证件号码",
  6739. "type": "string"
  6740. },
  6741. "cardtype": {
  6742. "description": "证件类型",
  6743. "type": "integer"
  6744. },
  6745. "cardtypename": {
  6746. "description": "证件类型名称",
  6747. "type": "string"
  6748. },
  6749. "cityid": {
  6750. "description": "市",
  6751. "type": "integer"
  6752. },
  6753. "countryid": {
  6754. "description": "国家",
  6755. "type": "integer"
  6756. },
  6757. "customername": {
  6758. "description": "企业名称",
  6759. "type": "string"
  6760. },
  6761. "memberuserid": {
  6762. "description": "所属机构ID",
  6763. "type": "integer"
  6764. },
  6765. "mobile": {
  6766. "description": "手机号码",
  6767. "type": "string"
  6768. },
  6769. "provinceid": {
  6770. "description": "省",
  6771. "type": "integer"
  6772. },
  6773. "remark": {
  6774. "description": "备注",
  6775. "type": "string"
  6776. },
  6777. "status": {
  6778. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  6779. "type": "integer"
  6780. },
  6781. "statusdesc": {
  6782. "description": "账户状态中文描述",
  6783. "type": "string"
  6784. },
  6785. "telphone": {
  6786. "description": "联系电话",
  6787. "type": "string"
  6788. },
  6789. "userid": {
  6790. "description": "用户ID",
  6791. "type": "integer"
  6792. },
  6793. "userinfotype": {
  6794. "description": "客户类型",
  6795. "type": "string"
  6796. }
  6797. }
  6798. },
  6799. "ermcp.QryWrStandardRsp": {
  6800. "type": "object",
  6801. "properties": {
  6802. "areauserid": {
  6803. "description": "所属机构",
  6804. "type": "integer"
  6805. },
  6806. "createtime": {
  6807. "description": "创建时间",
  6808. "type": "string"
  6809. },
  6810. "creatorid": {
  6811. "description": "创建人",
  6812. "type": "integer"
  6813. },
  6814. "deliverygoodsid": {
  6815. "description": "品种ID",
  6816. "type": "integer"
  6817. },
  6818. "enumdicname": {
  6819. "description": "单位名称",
  6820. "type": "string"
  6821. },
  6822. "minivalue": {
  6823. "description": "最小变动值",
  6824. "type": "integer"
  6825. },
  6826. "minivaluedp": {
  6827. "description": "最小变动值小数位",
  6828. "type": "integer"
  6829. },
  6830. "realminivalue": {
  6831. "description": "实际最小变动值",
  6832. "type": "integer"
  6833. },
  6834. "realminivaluedp": {
  6835. "description": "实际最小变动值小数位",
  6836. "type": "integer"
  6837. },
  6838. "unitid": {
  6839. "description": "单位ID",
  6840. "type": "integer"
  6841. },
  6842. "wrstandardcode": {
  6843. "description": "现货商品代码",
  6844. "type": "string"
  6845. },
  6846. "wrstandardid": {
  6847. "description": "现货商品ID(SEQ_WRSTANDARD)",
  6848. "type": "integer"
  6849. },
  6850. "wrstandardname": {
  6851. "description": "现货商品名称",
  6852. "type": "string"
  6853. }
  6854. }
  6855. },
  6856. "ermcp.RealtimeExposureRsp": {
  6857. "type": "object",
  6858. "properties": {
  6859. "areaUserID": {
  6860. "description": "所属机构",
  6861. "type": "integer"
  6862. },
  6863. "buyFutureQty": {
  6864. "description": "买入期货数量",
  6865. "type": "number"
  6866. },
  6867. "buyPlanQty": {
  6868. "description": "采购计划数量",
  6869. "type": "number"
  6870. },
  6871. "buyPricedQty": {
  6872. "description": "采购合同已定价数量",
  6873. "type": "number"
  6874. },
  6875. "middleGoodsCode": {
  6876. "description": "套保品种代码",
  6877. "type": "string"
  6878. },
  6879. "middleGoodsHedgeRatio": {
  6880. "description": "应套保比例",
  6881. "type": "number"
  6882. },
  6883. "middleGoodsID": {
  6884. "description": "套保品种",
  6885. "type": "integer"
  6886. },
  6887. "middleGoodsName": {
  6888. "description": "************以下需计算或非redis数据************//",
  6889. "type": "string"
  6890. },
  6891. "needHedgeExposoure": {
  6892. "description": "应套保敞口",
  6893. "type": "number"
  6894. },
  6895. "needHedgeRatio": {
  6896. "description": "应套保敞口比例",
  6897. "type": "number"
  6898. },
  6899. "oriBuyFutureQty": {
  6900. "description": "期初买入期货数量",
  6901. "type": "integer"
  6902. },
  6903. "oriBuyPlanQty": {
  6904. "description": "期初采购计划数量",
  6905. "type": "number"
  6906. },
  6907. "oriBuyPricedQty": {
  6908. "description": "期初采购合同已定价数量",
  6909. "type": "number"
  6910. },
  6911. "oriSellFutureQty": {
  6912. "description": "期初卖出期货数量",
  6913. "type": "integer"
  6914. },
  6915. "oriSellPlanQty": {
  6916. "description": "期初销售计划数量",
  6917. "type": "number"
  6918. },
  6919. "oriSellPricedQty": {
  6920. "description": "期初销售合同已定价数量",
  6921. "type": "number"
  6922. },
  6923. "oriTotalFutuQty": {
  6924. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  6925. "type": "integer"
  6926. },
  6927. "oriTotalSpotQty": {
  6928. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  6929. "type": "number"
  6930. },
  6931. "sellFutureQty": {
  6932. "description": "卖出期货数量",
  6933. "type": "number"
  6934. },
  6935. "sellPlanQty": {
  6936. "description": "销售计划数量",
  6937. "type": "number"
  6938. },
  6939. "sellPricedQty": {
  6940. "description": "销售合同已定价数量",
  6941. "type": "number"
  6942. },
  6943. "totalExposure": {
  6944. "description": "总敞口",
  6945. "type": "number"
  6946. },
  6947. "totalFutureQty": {
  6948. "description": "期货数量",
  6949. "type": "number"
  6950. },
  6951. "totalHedgeRatio": {
  6952. "description": "敞口比例",
  6953. "type": "number"
  6954. },
  6955. "totalNeedHedgeQty": {
  6956. "description": "期货应套保量",
  6957. "type": "number"
  6958. },
  6959. "totalSpotQty": {
  6960. "description": "现货数量",
  6961. "type": "number"
  6962. }
  6963. }
  6964. },
  6965. "erms2.QueryArbitrageStrategyRsp": {
  6966. "type": "object",
  6967. "required": [
  6968. "asapplyid"
  6969. ],
  6970. "properties": {
  6971. "applybasis": {
  6972. "description": "申请基差",
  6973. "type": "number"
  6974. },
  6975. "asapplyid": {
  6976. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  6977. "type": "string"
  6978. },
  6979. "asname": {
  6980. "description": "策略名称",
  6981. "type": "string"
  6982. },
  6983. "asno": {
  6984. "description": "策略编号",
  6985. "type": "string"
  6986. },
  6987. "basischangepl": {
  6988. "description": "基差变动损益[结算更新]",
  6989. "type": "number"
  6990. },
  6991. "biztype": {
  6992. "description": "业务类型 - 1:正向套利 -1:反向套利",
  6993. "type": "integer"
  6994. },
  6995. "closetradedate": {
  6996. "description": "完结交易日(yyyyMMdd)",
  6997. "type": "string"
  6998. },
  6999. "curbasis": {
  7000. "description": "当前基差[结算更新]",
  7001. "type": "number"
  7002. },
  7003. "deliverygoodsid": {
  7004. "description": "现货品种ID",
  7005. "type": "integer"
  7006. },
  7007. "futureavgprice": {
  7008. "description": "期货建仓均价",
  7009. "type": "number"
  7010. },
  7011. "futurecloseamount": {
  7012. "description": "期货平仓金额",
  7013. "type": "number"
  7014. },
  7015. "futurecloseqty": {
  7016. "description": "期货平仓数量",
  7017. "type": "number"
  7018. },
  7019. "futureopenamount": {
  7020. "description": "期货开仓金额",
  7021. "type": "number"
  7022. },
  7023. "futureopenqty": {
  7024. "description": "期货开仓数量",
  7025. "type": "number"
  7026. },
  7027. "futurepl": {
  7028. "description": "期货总盈亏[结算更新]",
  7029. "type": "number"
  7030. },
  7031. "futureqty": {
  7032. "description": "期货持仓数量",
  7033. "type": "number"
  7034. },
  7035. "futurequote": {
  7036. "description": "期货额度",
  7037. "type": "number"
  7038. },
  7039. "goodsgroupid": {
  7040. "description": "期货品种ID",
  7041. "type": "integer"
  7042. },
  7043. "marketid": {
  7044. "description": "市场ID",
  7045. "type": "integer"
  7046. },
  7047. "netexposure": {
  7048. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  7049. "type": "number"
  7050. },
  7051. "netexposurepl": {
  7052. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  7053. "type": "number"
  7054. },
  7055. "netexposurerate": {
  7056. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  7057. "type": "number"
  7058. },
  7059. "openbasis": {
  7060. "description": "建仓基差",
  7061. "type": "number"
  7062. },
  7063. "pricedspotqty": {
  7064. "description": "已定价现货数量",
  7065. "type": "number"
  7066. },
  7067. "pricedspotqtynotax": {
  7068. "description": "已定价现货不含税数量",
  7069. "type": "number"
  7070. },
  7071. "remark": {
  7072. "description": "备注",
  7073. "type": "string"
  7074. },
  7075. "spotavgprice": {
  7076. "description": "现货均价",
  7077. "type": "number"
  7078. },
  7079. "spotbuyamount": {
  7080. "description": "现货采购金额",
  7081. "type": "number"
  7082. },
  7083. "spotbuyqty": {
  7084. "description": "现货采购数量",
  7085. "type": "number"
  7086. },
  7087. "spotpl": {
  7088. "description": "现货总盈亏[结算更新]",
  7089. "type": "number"
  7090. },
  7091. "spotquota": {
  7092. "description": "现货额度",
  7093. "type": "number"
  7094. },
  7095. "spotsellamount": {
  7096. "description": "现货销售金额",
  7097. "type": "number"
  7098. },
  7099. "spotsellqty": {
  7100. "description": "现货销售数量",
  7101. "type": "number"
  7102. },
  7103. "spotusedquota": {
  7104. "description": "现货占用资金",
  7105. "type": "number"
  7106. },
  7107. "strategystatus": {
  7108. "description": "策略状态 - 0:未结束 1:已结束",
  7109. "type": "integer"
  7110. },
  7111. "totalpl": {
  7112. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  7113. "type": "number"
  7114. },
  7115. "tradedate": {
  7116. "description": "交易日(yyyyMMdd)",
  7117. "type": "string"
  7118. },
  7119. "updatetime": {
  7120. "description": "更新时间",
  7121. "type": "string"
  7122. },
  7123. "usedquota": {
  7124. "description": "已占用资金",
  7125. "type": "number"
  7126. },
  7127. "userid": {
  7128. "description": "所属机构",
  7129. "type": "integer"
  7130. }
  7131. }
  7132. },
  7133. "erms2.QueryInnerTradeDetailRsp": {
  7134. "type": "object",
  7135. "required": [
  7136. "asapplyid",
  7137. "buyorsell",
  7138. "goodscode",
  7139. "goodsgroupid",
  7140. "goodsgroupname",
  7141. "goodsname",
  7142. "tradeid"
  7143. ],
  7144. "properties": {
  7145. "accountid": {
  7146. "description": "账号ID",
  7147. "type": "integer"
  7148. },
  7149. "agreeunit": {
  7150. "description": "合约单位",
  7151. "type": "number"
  7152. },
  7153. "asapplyid": {
  7154. "description": "策略申请ID",
  7155. "type": "integer"
  7156. },
  7157. "asname": {
  7158. "description": "策略名称",
  7159. "type": "string"
  7160. },
  7161. "asno": {
  7162. "description": "策略编号",
  7163. "type": "string"
  7164. },
  7165. "buyorsell": {
  7166. "description": "方向 - 0:买 1:卖",
  7167. "type": "integer"
  7168. },
  7169. "channelbuildtype": {
  7170. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  7171. "type": "integer"
  7172. },
  7173. "closetype": {
  7174. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  7175. "type": "integer"
  7176. },
  7177. "decimalplace": {
  7178. "description": "报价小数位",
  7179. "type": "integer"
  7180. },
  7181. "detailtype": {
  7182. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  7183. "type": "integer"
  7184. },
  7185. "exexchangecode": {
  7186. "description": "外部交易所代码",
  7187. "type": "string"
  7188. },
  7189. "exexchangename": {
  7190. "description": "外部交易所名称",
  7191. "type": "string"
  7192. },
  7193. "goodscode": {
  7194. "description": "商品代码(合约)",
  7195. "type": "string"
  7196. },
  7197. "goodsgroupid": {
  7198. "description": "商品组ID(品种ID)",
  7199. "type": "integer"
  7200. },
  7201. "goodsgroupname": {
  7202. "description": "商品组名称(品种)",
  7203. "type": "string"
  7204. },
  7205. "goodsid": {
  7206. "description": "商品ID",
  7207. "type": "integer"
  7208. },
  7209. "goodsname": {
  7210. "description": "商品名称(合约)",
  7211. "type": "string"
  7212. },
  7213. "goodunit": {
  7214. "description": "报价单位",
  7215. "type": "string"
  7216. },
  7217. "marketid": {
  7218. "description": "市场ID",
  7219. "type": "integer"
  7220. },
  7221. "orderid": {
  7222. "description": "委托单号",
  7223. "type": "string"
  7224. },
  7225. "outgoodscode": {
  7226. "description": "商品代码(外部)",
  7227. "type": "string"
  7228. },
  7229. "relatedouttradeid": {
  7230. "description": "关联外部成交单ID",
  7231. "type": "string"
  7232. },
  7233. "remark": {
  7234. "description": "备注",
  7235. "type": "string"
  7236. },
  7237. "spotcontractid": {
  7238. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  7239. "type": "integer"
  7240. },
  7241. "spotcontractno": {
  7242. "description": "现货合同编号",
  7243. "type": "string"
  7244. },
  7245. "tradeid": {
  7246. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7247. "type": "string"
  7248. },
  7249. "tradeprice": {
  7250. "description": "成交价格",
  7251. "type": "number"
  7252. },
  7253. "tradeqty": {
  7254. "description": "成交数量",
  7255. "type": "integer"
  7256. },
  7257. "tradetime": {
  7258. "description": "成交时间",
  7259. "type": "string"
  7260. },
  7261. "updatetime": {
  7262. "description": "更新时间",
  7263. "type": "string"
  7264. }
  7265. }
  7266. },
  7267. "erms2.QuerySpotContractRsp": {
  7268. "type": "object",
  7269. "required": [
  7270. "spotcontractid"
  7271. ],
  7272. "properties": {
  7273. "accountid": {
  7274. "description": "资金账户ID",
  7275. "type": "integer"
  7276. },
  7277. "areauserid": {
  7278. "description": "所属机构",
  7279. "type": "integer"
  7280. },
  7281. "closedate": {
  7282. "description": "终止日期",
  7283. "type": "string"
  7284. },
  7285. "closeremark": {
  7286. "description": "结束备注",
  7287. "type": "string"
  7288. },
  7289. "closetradedate": {
  7290. "description": "完结交易日(yyyyMMdd)",
  7291. "type": "string"
  7292. },
  7293. "closetype": {
  7294. "description": "终止类型 - 1:违约 2:提前终止",
  7295. "type": "integer"
  7296. },
  7297. "contractamount": {
  7298. "description": "合同金额",
  7299. "type": "number"
  7300. },
  7301. "contractattachment": {
  7302. "description": "合同附件",
  7303. "type": "string"
  7304. },
  7305. "contractno": {
  7306. "description": "现货合同编号",
  7307. "type": "string"
  7308. },
  7309. "contractqty": {
  7310. "description": "合同数量(数值) (用于计算)",
  7311. "type": "number"
  7312. },
  7313. "contractqtychar": {
  7314. "description": "合同数量\\已订价数量 (用于显示)",
  7315. "type": "string"
  7316. },
  7317. "contractstatus": {
  7318. "description": "合同状态 - 0:未结束 1:已结束",
  7319. "type": "integer"
  7320. },
  7321. "contracttype": {
  7322. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  7323. "type": "integer"
  7324. },
  7325. "customeraccountid": {
  7326. "description": "客户资金账户ID",
  7327. "type": "integer"
  7328. },
  7329. "customeruserid": {
  7330. "description": "客户ID",
  7331. "type": "integer"
  7332. },
  7333. "deliverygoodsdesc": {
  7334. "description": "品种说明",
  7335. "type": "string"
  7336. },
  7337. "deliverygoodsid": {
  7338. "description": "现货品种ID",
  7339. "type": "integer"
  7340. },
  7341. "handlestatus": {
  7342. "description": "处理状态",
  7343. "type": "integer"
  7344. },
  7345. "invoiceatt": {
  7346. "description": "发票附件",
  7347. "type": "string"
  7348. },
  7349. "invoicedatetime": {
  7350. "description": "开收票更新时间",
  7351. "type": "string"
  7352. },
  7353. "invoiceopentime": {
  7354. "description": "开票时间",
  7355. "type": "string"
  7356. },
  7357. "invoiceremark": {
  7358. "description": "发票备注",
  7359. "type": "string"
  7360. },
  7361. "invoicestatus": {
  7362. "description": "开收票状态 - 0:未开票 1:已开票",
  7363. "type": "integer"
  7364. },
  7365. "lastdate": {
  7366. "description": "交货时间",
  7367. "type": "string"
  7368. },
  7369. "marketid": {
  7370. "description": "市场ID",
  7371. "type": "integer"
  7372. },
  7373. "paydatetime": {
  7374. "description": "收付款更新时间",
  7375. "type": "string"
  7376. },
  7377. "payremark": {
  7378. "description": "收付款备注",
  7379. "type": "string"
  7380. },
  7381. "paystatus": {
  7382. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  7383. "type": "integer"
  7384. },
  7385. "positionqty": {
  7386. "description": "头寸数量 - 合同数量去小数部分",
  7387. "type": "integer"
  7388. },
  7389. "producttype": {
  7390. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7391. "type": "integer"
  7392. },
  7393. "relatedqty": {
  7394. "description": "已关联数量",
  7395. "type": "number"
  7396. },
  7397. "relatedstatus": {
  7398. "description": "关联完结状态 - 0:未结束 1:已结束",
  7399. "type": "integer"
  7400. },
  7401. "remark": {
  7402. "description": "备注",
  7403. "type": "string"
  7404. },
  7405. "signdate": {
  7406. "description": "签订日期",
  7407. "type": "string"
  7408. },
  7409. "spotcontractid": {
  7410. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  7411. "type": "string"
  7412. },
  7413. "spotdatetime": {
  7414. "description": "收发货更新时间",
  7415. "type": "string"
  7416. },
  7417. "spotprice": {
  7418. "description": "价格",
  7419. "type": "number"
  7420. },
  7421. "spotremark": {
  7422. "description": "收发货备注",
  7423. "type": "string"
  7424. },
  7425. "spotstatus": {
  7426. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  7427. "type": "integer"
  7428. },
  7429. "tradedate": {
  7430. "description": "交易日(yyyyMMdd)",
  7431. "type": "string"
  7432. },
  7433. "userid": {
  7434. "description": "业务员用户ID",
  7435. "type": "integer"
  7436. },
  7437. "warehouseid": {
  7438. "description": "仓库ID",
  7439. "type": "integer"
  7440. },
  7441. "wrfactortypeid": {
  7442. "description": "仓单要素类型ID",
  7443. "type": "integer"
  7444. },
  7445. "wrstandardid": {
  7446. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  7447. "type": "integer"
  7448. }
  7449. }
  7450. },
  7451. "erms3.AddErms2ASApplyReq": {
  7452. "type": "object",
  7453. "required": [
  7454. "asapplyid"
  7455. ],
  7456. "properties": {
  7457. "applybasis": {
  7458. "description": "申请基差",
  7459. "type": "number"
  7460. },
  7461. "applystatus": {
  7462. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7463. "type": "integer"
  7464. },
  7465. "asapplyid": {
  7466. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  7467. "type": "integer"
  7468. },
  7469. "asname": {
  7470. "description": "策略名称",
  7471. "type": "string"
  7472. },
  7473. "asno": {
  7474. "description": "策略编号",
  7475. "type": "string"
  7476. },
  7477. "auditid": {
  7478. "description": "审核人",
  7479. "type": "integer"
  7480. },
  7481. "auditremark": {
  7482. "description": "审核备注",
  7483. "type": "string"
  7484. },
  7485. "audittime": {
  7486. "description": "审核时间",
  7487. "type": "string"
  7488. },
  7489. "biztype": {
  7490. "description": "业务类型 - 1:正向套利 2:反向套利",
  7491. "type": "integer"
  7492. },
  7493. "createtime": {
  7494. "description": "创建时间",
  7495. "type": "string"
  7496. },
  7497. "creatorid": {
  7498. "description": "创建人",
  7499. "type": "integer"
  7500. },
  7501. "deliverygoodsid": {
  7502. "description": "现货品种ID",
  7503. "type": "integer"
  7504. },
  7505. "futurequote": {
  7506. "description": "期货额度",
  7507. "type": "number"
  7508. },
  7509. "goodsgroupid": {
  7510. "description": "期货品种ID",
  7511. "type": "integer"
  7512. },
  7513. "marketid": {
  7514. "description": "市场ID",
  7515. "type": "integer"
  7516. },
  7517. "remark": {
  7518. "description": "备注",
  7519. "type": "string"
  7520. },
  7521. "spotquota": {
  7522. "description": "现货额度",
  7523. "type": "number"
  7524. },
  7525. "tradedate": {
  7526. "description": "交易日(yyyyMMdd)",
  7527. "type": "string"
  7528. },
  7529. "userid": {
  7530. "description": "所属机构",
  7531. "type": "integer"
  7532. }
  7533. }
  7534. },
  7535. "erms3.AddErms2SpotTradeApplyReq": {
  7536. "type": "object",
  7537. "required": [
  7538. "spottradeid"
  7539. ],
  7540. "properties": {
  7541. "applyjsondetail": {
  7542. "description": "申请明细(JSON)",
  7543. "type": "string"
  7544. },
  7545. "applystatus": {
  7546. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7547. "type": "integer"
  7548. },
  7549. "areauserid": {
  7550. "description": "所属机构",
  7551. "type": "integer"
  7552. },
  7553. "auditid": {
  7554. "description": "审核人",
  7555. "type": "integer"
  7556. },
  7557. "auditremark": {
  7558. "description": "审核备注",
  7559. "type": "string"
  7560. },
  7561. "audittime": {
  7562. "description": "审核时间",
  7563. "type": "string"
  7564. },
  7565. "createtime": {
  7566. "description": "创建时间",
  7567. "type": "string"
  7568. },
  7569. "creatorid": {
  7570. "description": "创建人",
  7571. "type": "integer"
  7572. },
  7573. "deliverygoodsid": {
  7574. "description": "现货品种ID",
  7575. "type": "integer"
  7576. },
  7577. "futureaccountid": {
  7578. "description": "期货资金账户",
  7579. "type": "integer"
  7580. },
  7581. "goodsgroupid": {
  7582. "description": "期货品种",
  7583. "type": "integer"
  7584. },
  7585. "marketid": {
  7586. "description": "市场ID",
  7587. "type": "integer"
  7588. },
  7589. "remark": {
  7590. "description": "备注",
  7591. "type": "string"
  7592. },
  7593. "spotaccountid": {
  7594. "description": "现货资金账户",
  7595. "type": "integer"
  7596. },
  7597. "spottradeid": {
  7598. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  7599. "type": "integer"
  7600. },
  7601. "spottradename": {
  7602. "description": "业务名称",
  7603. "type": "string"
  7604. },
  7605. "spottradeno": {
  7606. "description": "业务编号",
  7607. "type": "string"
  7608. },
  7609. "tradedate": {
  7610. "description": "交易日(yyyyMMdd)",
  7611. "type": "string"
  7612. },
  7613. "wrstandardid": {
  7614. "description": "仓单标准ID",
  7615. "type": "integer"
  7616. }
  7617. }
  7618. },
  7619. "erms3.AddSpotContractApplyReq": {
  7620. "type": "object",
  7621. "required": [
  7622. "accountid",
  7623. "areauserid",
  7624. "contractno",
  7625. "contracttype",
  7626. "customeraccountid",
  7627. "customeruserid",
  7628. "details",
  7629. "orimargin",
  7630. "signdate"
  7631. ],
  7632. "properties": {
  7633. "accountid": {
  7634. "description": "资金账户ID",
  7635. "type": "integer"
  7636. },
  7637. "areauserid": {
  7638. "description": "所属机构",
  7639. "type": "integer"
  7640. },
  7641. "contractattachment": {
  7642. "description": "合同附件",
  7643. "type": "string"
  7644. },
  7645. "contractno": {
  7646. "description": "现货合同编号",
  7647. "type": "string"
  7648. },
  7649. "contracttype": {
  7650. "description": "现货合同类型 - 1:采购 -1:销售",
  7651. "type": "integer"
  7652. },
  7653. "creatorid": {
  7654. "description": "申请人",
  7655. "type": "integer"
  7656. },
  7657. "customeraccountid": {
  7658. "description": "客户资金账户ID",
  7659. "type": "integer"
  7660. },
  7661. "customeruserid": {
  7662. "description": "客户ID",
  7663. "type": "integer"
  7664. },
  7665. "details": {
  7666. "description": "明细",
  7667. "type": "array",
  7668. "items": {
  7669. "$ref": "#/definitions/erms3.SoptContractDetail"
  7670. }
  7671. },
  7672. "orimargin": {
  7673. "description": "初始保证金",
  7674. "type": "number"
  7675. },
  7676. "remark": {
  7677. "description": "备注",
  7678. "type": "string"
  7679. },
  7680. "signdate": {
  7681. "description": "签订日期",
  7682. "type": "string"
  7683. }
  7684. }
  7685. },
  7686. "erms3.AddSpotContractApplyRsp": {
  7687. "type": "object",
  7688. "required": [
  7689. "contractno"
  7690. ],
  7691. "properties": {
  7692. "contractno": {
  7693. "description": "现货合同编号",
  7694. "type": "string"
  7695. },
  7696. "spotcontractid": {
  7697. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  7698. "type": "integer"
  7699. }
  7700. }
  7701. },
  7702. "erms3.AddUserInfoApplyReq": {
  7703. "type": "object",
  7704. "required": [
  7705. "userid"
  7706. ],
  7707. "properties": {
  7708. "accountid": {
  7709. "description": "交易系统帐号Id (加密存储)",
  7710. "type": "integer"
  7711. },
  7712. "areacode": {
  7713. "description": "机构代码",
  7714. "type": "string"
  7715. },
  7716. "areaid": {
  7717. "description": "机构Id",
  7718. "type": "integer"
  7719. },
  7720. "attachment1": {
  7721. "description": "附件1",
  7722. "type": "string"
  7723. },
  7724. "attachment2": {
  7725. "description": "附件2",
  7726. "type": "string"
  7727. },
  7728. "attachment3": {
  7729. "description": "附件3",
  7730. "type": "string"
  7731. },
  7732. "attachment4": {
  7733. "description": "附件4",
  7734. "type": "string"
  7735. },
  7736. "attachment5": {
  7737. "description": "附件5",
  7738. "type": "string"
  7739. },
  7740. "auditedby": {
  7741. "description": "审核人",
  7742. "type": "string"
  7743. },
  7744. "auditime": {
  7745. "description": "审核时间",
  7746. "type": "string"
  7747. },
  7748. "bankaccount": {
  7749. "description": "银行帐号 (加密存储)",
  7750. "type": "string"
  7751. },
  7752. "bankaccountname": {
  7753. "description": "收款人名称",
  7754. "type": "string"
  7755. },
  7756. "bankcardbackphotourl": {
  7757. "description": "银行卡背面照地址",
  7758. "type": "string"
  7759. },
  7760. "bankcardfrontphotourl": {
  7761. "description": "银行卡正面照地址",
  7762. "type": "string"
  7763. },
  7764. "bankid": {
  7765. "description": "银行编码",
  7766. "type": "string"
  7767. },
  7768. "bankname": {
  7769. "description": "银行名称",
  7770. "type": "string"
  7771. },
  7772. "bankpictureurl": {
  7773. "description": "银行卡正面地址",
  7774. "type": "string"
  7775. },
  7776. "biznature": {
  7777. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7778. "type": "integer"
  7779. },
  7780. "bizscope": {
  7781. "description": "企业经营范围(企业)",
  7782. "type": "string"
  7783. },
  7784. "biztype": {
  7785. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  7786. "type": "integer"
  7787. },
  7788. "brokerid": {
  7789. "description": "经纪人ID(加密存储)",
  7790. "type": "string"
  7791. },
  7792. "cardaddress": {
  7793. "description": "证件地址 (加密存储)",
  7794. "type": "string"
  7795. },
  7796. "cardbackphotourl": {
  7797. "description": "背面证件照地址",
  7798. "type": "string"
  7799. },
  7800. "cardfrontphotourl": {
  7801. "description": "正面证件照地址",
  7802. "type": "string"
  7803. },
  7804. "cardnum": {
  7805. "description": "证件号码 (加密存储)",
  7806. "type": "string"
  7807. },
  7808. "cardtype": {
  7809. "description": "证件类型",
  7810. "type": "integer"
  7811. },
  7812. "cityid": {
  7813. "description": "市",
  7814. "type": "integer"
  7815. },
  7816. "company": {
  7817. "description": "公司(个人)",
  7818. "type": "string"
  7819. },
  7820. "contactcardbackphotourl": {
  7821. "description": "联系人证件背面图片地址",
  7822. "type": "string"
  7823. },
  7824. "contactcardfrontphotourl": {
  7825. "description": "联系人证件正面图片地址",
  7826. "type": "string"
  7827. },
  7828. "contactname": {
  7829. "description": "联系人",
  7830. "type": "string"
  7831. },
  7832. "countryid": {
  7833. "description": "国家",
  7834. "type": "integer"
  7835. },
  7836. "createtime": {
  7837. "description": "开户申请时间",
  7838. "type": "string"
  7839. },
  7840. "cusbankid": {
  7841. "description": "签约类型",
  7842. "type": "string"
  7843. },
  7844. "cusbankname": {
  7845. "description": "签约类型名称",
  7846. "type": "string"
  7847. },
  7848. "customername": {
  7849. "description": "客户名称(企业名称)",
  7850. "type": "string"
  7851. },
  7852. "districtid": {
  7853. "description": "地区",
  7854. "type": "integer"
  7855. },
  7856. "email": {
  7857. "description": "Email地址(加密存储)",
  7858. "type": "string"
  7859. },
  7860. "halfbodyphotourl": {
  7861. "description": "半身照地址",
  7862. "type": "string"
  7863. },
  7864. "headurl": {
  7865. "description": "头像地址",
  7866. "type": "string"
  7867. },
  7868. "ipaddress": {
  7869. "description": "IP地址",
  7870. "type": "string"
  7871. },
  7872. "isvalidate": {
  7873. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  7874. "type": "string"
  7875. },
  7876. "legalcardbackphotourl": {
  7877. "description": "法人身份证背面照地址",
  7878. "type": "string"
  7879. },
  7880. "legalcardfrontphotourl": {
  7881. "description": "法人身份证正面照地址",
  7882. "type": "string"
  7883. },
  7884. "legalpersonname": {
  7885. "description": "法人姓名(企业)",
  7886. "type": "string"
  7887. },
  7888. "logincode": {
  7889. "description": "登录帐号 (加密存储)",
  7890. "type": "string"
  7891. },
  7892. "memberareaid": {
  7893. "description": "所属会员ID",
  7894. "type": "integer"
  7895. },
  7896. "mobile2": {
  7897. "description": "手机号码[明文-尚志]",
  7898. "type": "string"
  7899. },
  7900. "mobilephone": {
  7901. "description": "手机号码 (加密存储)",
  7902. "type": "string"
  7903. },
  7904. "modifiedby": {
  7905. "description": "修改人帐号",
  7906. "type": "integer"
  7907. },
  7908. "modifiedtime": {
  7909. "description": "修改时间",
  7910. "type": "string"
  7911. },
  7912. "nickname": {
  7913. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  7914. "type": "string"
  7915. },
  7916. "openmode": {
  7917. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  7918. "type": "integer"
  7919. },
  7920. "otherurl": {
  7921. "description": "其它图片地址[使用分号分隔]",
  7922. "type": "string"
  7923. },
  7924. "postalcode": {
  7925. "description": "邮政编码",
  7926. "type": "string"
  7927. },
  7928. "provinceid": {
  7929. "description": "省",
  7930. "type": "integer"
  7931. },
  7932. "proxystatementurl": {
  7933. "description": "授权委托书",
  7934. "type": "string"
  7935. },
  7936. "qq": {
  7937. "description": "QQ(加密存储",
  7938. "type": "string"
  7939. },
  7940. "referral": {
  7941. "description": "推荐人编码",
  7942. "type": "string"
  7943. },
  7944. "remark": {
  7945. "description": "备注",
  7946. "type": "string"
  7947. },
  7948. "removebeforestatus": {
  7949. "description": "REMOVEBEFORESTATUS",
  7950. "type": "integer"
  7951. },
  7952. "sex": {
  7953. "description": "性别 - 0:女 1:男",
  7954. "type": "integer"
  7955. },
  7956. "signedstatus": {
  7957. "description": "账户一号签签约状态",
  7958. "type": "integer"
  7959. },
  7960. "signpdfurl": {
  7961. "description": "签约pdf文件",
  7962. "type": "string"
  7963. },
  7964. "subbranch": {
  7965. "description": "开户支行",
  7966. "type": "string"
  7967. },
  7968. "telphone": {
  7969. "description": "联系电话(加密存储)",
  7970. "type": "string"
  7971. },
  7972. "userid": {
  7973. "description": "用户ID(自增ID)",
  7974. "type": "integer"
  7975. },
  7976. "userinfotype": {
  7977. "description": "用户信息类型 - 1:个人 2:企业",
  7978. "type": "integer"
  7979. },
  7980. "username": {
  7981. "description": "用户姓名",
  7982. "type": "string"
  7983. },
  7984. "userstate": {
  7985. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  7986. "type": "integer"
  7987. },
  7988. "usertype": {
  7989. "description": "用户类型 - 1:投资者 2:机构",
  7990. "type": "integer"
  7991. },
  7992. "videourl": {
  7993. "description": "视频地址",
  7994. "type": "string"
  7995. },
  7996. "wechat": {
  7997. "description": "微信号 (加密存储)",
  7998. "type": "string"
  7999. }
  8000. }
  8001. },
  8002. "erms3.CustomerInfo": {
  8003. "type": "object",
  8004. "required": [
  8005. "userid"
  8006. ],
  8007. "properties": {
  8008. "accountids": {
  8009. "description": "资金账户ID列表",
  8010. "type": "array",
  8011. "items": {
  8012. "type": "integer"
  8013. }
  8014. },
  8015. "customername": {
  8016. "description": "名称(企业名称)",
  8017. "type": "string"
  8018. },
  8019. "mobile": {
  8020. "description": "手机号码",
  8021. "type": "string"
  8022. },
  8023. "userid": {
  8024. "description": "用户ID",
  8025. "type": "integer"
  8026. }
  8027. }
  8028. },
  8029. "erms3.QryAuditContractRsp": {
  8030. "type": "object",
  8031. "required": [
  8032. "matchcustomername",
  8033. "spotcontractid"
  8034. ],
  8035. "properties": {
  8036. "accountid": {
  8037. "description": "交易员ID",
  8038. "type": "string"
  8039. },
  8040. "applystatus": {
  8041. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  8042. "type": "integer"
  8043. },
  8044. "curdeliveryqty": {
  8045. "description": "未交收量",
  8046. "type": "integer"
  8047. },
  8048. "customername": {
  8049. "description": "采购方ID",
  8050. "type": "string"
  8051. },
  8052. "deliverygoodsid": {
  8053. "description": "品种ID",
  8054. "type": "string"
  8055. },
  8056. "deliveryqty": {
  8057. "description": "交收量",
  8058. "type": "integer"
  8059. },
  8060. "enumdicname": {
  8061. "description": "单位名称",
  8062. "type": "string"
  8063. },
  8064. "matchaccountid": {
  8065. "description": "业务员ID",
  8066. "type": "string"
  8067. },
  8068. "matchcustomername": {
  8069. "description": "销售方ID",
  8070. "type": "string"
  8071. },
  8072. "pricedqty": {
  8073. "description": "定价量",
  8074. "type": "number"
  8075. },
  8076. "signdate": {
  8077. "description": "签订日期",
  8078. "type": "string"
  8079. },
  8080. "spotcontractid": {
  8081. "description": "合同ID",
  8082. "type": "string"
  8083. },
  8084. "totaldqty": {
  8085. "description": "合同量",
  8086. "type": "number"
  8087. },
  8088. "unpricedqty": {
  8089. "description": "未定价量",
  8090. "type": "number"
  8091. },
  8092. "wrstandardname": {
  8093. "description": "商品名称",
  8094. "type": "string"
  8095. }
  8096. }
  8097. },
  8098. "erms3.QryPendingBizRsp": {
  8099. "type": "object",
  8100. "properties": {
  8101. "accountid": {
  8102. "description": "现货账户",
  8103. "type": "string"
  8104. },
  8105. "areaname": {
  8106. "description": "所属部门",
  8107. "type": "string"
  8108. },
  8109. "bizid": {
  8110. "description": "业务ID",
  8111. "type": "string"
  8112. },
  8113. "bizname": {
  8114. "description": "业务名称",
  8115. "type": "string"
  8116. },
  8117. "status": {
  8118. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  8119. "type": "integer"
  8120. },
  8121. "type": {
  8122. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  8123. "type": "integer"
  8124. }
  8125. }
  8126. },
  8127. "erms3.QueryBusinessInfoRsp": {
  8128. "type": "object",
  8129. "properties": {
  8130. "businessid": {
  8131. "description": "业务ID.",
  8132. "type": "integer"
  8133. },
  8134. "buyamount": {
  8135. "description": "采购额.",
  8136. "type": "number"
  8137. },
  8138. "buyqty": {
  8139. "description": "采购量.",
  8140. "type": "string"
  8141. },
  8142. "futurepl": {
  8143. "description": "期货盈亏.",
  8144. "type": "number"
  8145. },
  8146. "futureqty": {
  8147. "description": "期货敞口.",
  8148. "type": "string"
  8149. },
  8150. "goodsid": {
  8151. "description": "商品名称/商品代码.",
  8152. "type": "string"
  8153. },
  8154. "hedgingqty": {
  8155. "description": "套保量.",
  8156. "type": "string"
  8157. },
  8158. "sellamount": {
  8159. "description": "销售额.",
  8160. "type": "number"
  8161. },
  8162. "sellqty": {
  8163. "description": "销售量.",
  8164. "type": "string"
  8165. },
  8166. "spotmarketvalue": {
  8167. "description": "现货市值.",
  8168. "type": "number"
  8169. },
  8170. "spotpl": {
  8171. "description": "浮动权益.",
  8172. "type": "number"
  8173. },
  8174. "spotqty": {
  8175. "description": "现货量.",
  8176. "type": "string"
  8177. },
  8178. "statu": {
  8179. "description": "状态,0-未结束 1-已结束.",
  8180. "type": "integer"
  8181. },
  8182. "totalpl": {
  8183. "description": "总盈亏.",
  8184. "type": "number"
  8185. },
  8186. "totalqty": {
  8187. "description": "总敞口.",
  8188. "type": "string"
  8189. },
  8190. "type": {
  8191. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  8192. "type": "integer"
  8193. }
  8194. }
  8195. },
  8196. "erms3.QuerySpotContractAppleFormRsp": {
  8197. "type": "object",
  8198. "properties": {
  8199. "goodses": {
  8200. "description": "合约列表",
  8201. "type": "array",
  8202. "items": {
  8203. "$ref": "#/definitions/models.GoodsIDAndName"
  8204. }
  8205. },
  8206. "oppositeusers": {
  8207. "description": "对方账号列表",
  8208. "type": "array",
  8209. "items": {
  8210. "$ref": "#/definitions/erms3.CustomerInfo"
  8211. }
  8212. },
  8213. "ouruser": {
  8214. "description": "我方账号",
  8215. "$ref": "#/definitions/erms3.CustomerInfo"
  8216. },
  8217. "warehouseinfos": {
  8218. "description": "仓库信息列表",
  8219. "type": "array",
  8220. "items": {
  8221. "$ref": "#/definitions/models.Warehouseinfo"
  8222. }
  8223. },
  8224. "wrstandards": {
  8225. "description": "仓单标准列表",
  8226. "type": "array",
  8227. "items": {
  8228. "$ref": "#/definitions/models.WRStandardInfo"
  8229. }
  8230. }
  8231. }
  8232. },
  8233. "erms3.QuerySpotContractInfoRsp": {
  8234. "type": "object",
  8235. "properties": {
  8236. "accountid": {
  8237. "description": "表示交易员ID.",
  8238. "type": "integer"
  8239. },
  8240. "curdeliveryqty": {
  8241. "description": "表示未交收量.",
  8242. "type": "number"
  8243. },
  8244. "customername": {
  8245. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  8246. "type": "string"
  8247. },
  8248. "deliverygoodsid": {
  8249. "description": "表示品种ID.",
  8250. "type": "string"
  8251. },
  8252. "deliveryqty": {
  8253. "description": "表示交收量.",
  8254. "type": "number"
  8255. },
  8256. "matchaccountid": {
  8257. "description": "表示业务员ID.",
  8258. "type": "integer"
  8259. },
  8260. "matchcustomername": {
  8261. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  8262. "type": "string"
  8263. },
  8264. "priceqty": {
  8265. "description": "表示定价量.",
  8266. "type": "number"
  8267. },
  8268. "relatedbizid": {
  8269. "description": "表示业务ID.",
  8270. "type": "string"
  8271. },
  8272. "signdate": {
  8273. "description": "表示签订日期.",
  8274. "type": "string"
  8275. },
  8276. "spotcontractid": {
  8277. "description": "合同ID",
  8278. "type": "string"
  8279. },
  8280. "status": {
  8281. "description": "表示状态,0-履约中 1-已完成.",
  8282. "type": "integer"
  8283. },
  8284. "totalqty": {
  8285. "description": "表示合同量.",
  8286. "type": "number"
  8287. },
  8288. "unpricedqty": {
  8289. "description": "表示未定价量.",
  8290. "type": "number"
  8291. },
  8292. "wrstandardname": {
  8293. "description": "表示商品ID.",
  8294. "type": "string"
  8295. }
  8296. }
  8297. },
  8298. "erms3.QueryUserInfoAppliesRsp": {
  8299. "type": "object",
  8300. "required": [
  8301. "userid"
  8302. ],
  8303. "properties": {
  8304. "biznature": {
  8305. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  8306. "type": "integer"
  8307. },
  8308. "contactname": {
  8309. "description": "联系人",
  8310. "type": "string"
  8311. },
  8312. "createtime": {
  8313. "description": "开户申请时间",
  8314. "type": "string"
  8315. },
  8316. "userid": {
  8317. "description": "用户ID(自增ID)",
  8318. "type": "integer"
  8319. },
  8320. "userinfotype": {
  8321. "description": "用户信息类型 - 1:个人 2:企业",
  8322. "type": "integer"
  8323. },
  8324. "username": {
  8325. "description": "用户姓名",
  8326. "type": "string"
  8327. },
  8328. "userstate": {
  8329. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  8330. "type": "integer"
  8331. }
  8332. }
  8333. },
  8334. "erms3.QueryUserInfosRsp": {
  8335. "type": "object",
  8336. "required": [
  8337. "userid"
  8338. ],
  8339. "properties": {
  8340. "biznature": {
  8341. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  8342. "type": "integer"
  8343. },
  8344. "contactname": {
  8345. "description": "联系人",
  8346. "type": "string"
  8347. },
  8348. "customername": {
  8349. "description": "客户名称(企业名称)",
  8350. "type": "string"
  8351. },
  8352. "userid": {
  8353. "description": "用户ID",
  8354. "type": "integer"
  8355. },
  8356. "userinfotype": {
  8357. "description": "用户信息类型 - 1:个人 2:企业",
  8358. "type": "integer"
  8359. },
  8360. "userstatus": {
  8361. "description": "用户状态 - 1:正常 2:注销",
  8362. "type": "integer"
  8363. }
  8364. }
  8365. },
  8366. "erms3.SoptContractDetail": {
  8367. "type": "object",
  8368. "required": [
  8369. "deliverygoodsid",
  8370. "producttype",
  8371. "unitname",
  8372. "warehouseid",
  8373. "wrstandardid",
  8374. "wrstandardname"
  8375. ],
  8376. "properties": {
  8377. "deliverygoodsdesc": {
  8378. "description": "现货品种说明",
  8379. "type": "string"
  8380. },
  8381. "deliverygoodsid": {
  8382. "description": "现货品种ID",
  8383. "type": "integer"
  8384. },
  8385. "deliverygoodsname": {
  8386. "description": "现货品种名称",
  8387. "type": "string"
  8388. },
  8389. "pointdesc": {
  8390. "description": "点价描述",
  8391. "type": "string"
  8392. },
  8393. "producttype": {
  8394. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  8395. "type": "integer"
  8396. },
  8397. "producttypename": {
  8398. "description": "产品类型名称",
  8399. "type": "string"
  8400. },
  8401. "spotPointOrderVoList": {
  8402. "description": "点价列表",
  8403. "type": "array",
  8404. "items": {
  8405. "$ref": "#/definitions/erms3.SpotPointOrder"
  8406. }
  8407. },
  8408. "spotPriceOrderList": {
  8409. "description": "定价列表",
  8410. "type": "array",
  8411. "items": {
  8412. "$ref": "#/definitions/erms3.SpotPriceOrder"
  8413. }
  8414. },
  8415. "unitname": {
  8416. "description": "单位名称",
  8417. "type": "string"
  8418. },
  8419. "warehouseid": {
  8420. "description": "仓库ID",
  8421. "type": "integer"
  8422. },
  8423. "warehousename": {
  8424. "description": "仓库名称",
  8425. "type": "string"
  8426. },
  8427. "wrstandardid": {
  8428. "description": "交易标的ID",
  8429. "type": "integer"
  8430. },
  8431. "wrstandardname": {
  8432. "description": "交易标的名称",
  8433. "type": "string"
  8434. }
  8435. }
  8436. },
  8437. "erms3.SpotPointOrder": {
  8438. "type": "object",
  8439. "required": [
  8440. "basic",
  8441. "goodsid",
  8442. "qty"
  8443. ],
  8444. "properties": {
  8445. "basic": {
  8446. "description": "基差",
  8447. "type": "number"
  8448. },
  8449. "deliveryenddate": {
  8450. "description": "交收结束日期",
  8451. "type": "string"
  8452. },
  8453. "deliverystartdate": {
  8454. "description": "交收开始日期",
  8455. "type": "string"
  8456. },
  8457. "enddate": {
  8458. "description": "点价结束日期",
  8459. "type": "string"
  8460. },
  8461. "goodsid": {
  8462. "description": "商品ID",
  8463. "type": "integer"
  8464. },
  8465. "goodsname": {
  8466. "description": "商品名称",
  8467. "type": "string"
  8468. },
  8469. "qty": {
  8470. "description": "数量",
  8471. "type": "number"
  8472. },
  8473. "startdate": {
  8474. "description": "点价开始日期",
  8475. "type": "string"
  8476. }
  8477. }
  8478. },
  8479. "erms3.SpotPriceOrder": {
  8480. "type": "object",
  8481. "required": [
  8482. "amount",
  8483. "price",
  8484. "qty"
  8485. ],
  8486. "properties": {
  8487. "amount": {
  8488. "description": "金额",
  8489. "type": "number"
  8490. },
  8491. "deliveryenddate": {
  8492. "description": "交收结束日期",
  8493. "type": "string"
  8494. },
  8495. "deliverystartdate": {
  8496. "description": "交收开始日期",
  8497. "type": "string"
  8498. },
  8499. "price": {
  8500. "description": "价格",
  8501. "type": "number"
  8502. },
  8503. "qty": {
  8504. "description": "数量",
  8505. "type": "number"
  8506. }
  8507. }
  8508. },
  8509. "hsby.GetHsbyMyCountRsp": {
  8510. "type": "object",
  8511. "properties": {
  8512. "myCouponCount": {
  8513. "description": "我的优惠卷数量",
  8514. "type": "integer"
  8515. },
  8516. "myOrderDetailListingCount": {
  8517. "description": "我的订单求购中数量",
  8518. "type": "integer"
  8519. },
  8520. "myOrderDetailPreCount": {
  8521. "description": "我的订单抢购中数量",
  8522. "type": "integer"
  8523. },
  8524. "myPackageUnReceiveCount": {
  8525. "description": "我的包裹待收货数量",
  8526. "type": "integer"
  8527. },
  8528. "myPackageUnSendCount": {
  8529. "description": "我的包裹待发货数量",
  8530. "type": "integer"
  8531. },
  8532. "myPayOrderCount": {
  8533. "description": "我的订单待付款数量",
  8534. "type": "integer"
  8535. }
  8536. }
  8537. },
  8538. "hsby.QueryProvincesAndCitiesRsp": {
  8539. "type": "object",
  8540. "properties": {
  8541. "cities": {
  8542. "description": "市",
  8543. "type": "array",
  8544. "items": {
  8545. "$ref": "#/definitions/models.Division"
  8546. }
  8547. },
  8548. "province": {
  8549. "description": "省",
  8550. "$ref": "#/definitions/models.Division"
  8551. }
  8552. }
  8553. },
  8554. "models.Clientfixedadconfig": {
  8555. "type": "object",
  8556. "required": [
  8557. "adsort",
  8558. "adtype"
  8559. ],
  8560. "properties": {
  8561. "adsort": {
  8562. "description": "排序",
  8563. "type": "integer"
  8564. },
  8565. "adtype": {
  8566. "description": "广告位类型 - 1:新品抢购(HSBY)",
  8567. "type": "integer"
  8568. },
  8569. "areauserid": {
  8570. "description": "所属机构ID",
  8571. "type": "integer"
  8572. },
  8573. "createdate": {
  8574. "description": "创建时间",
  8575. "type": "string"
  8576. },
  8577. "creatorid": {
  8578. "description": "创建人",
  8579. "type": "integer"
  8580. },
  8581. "imagepath": {
  8582. "description": "图片",
  8583. "type": "string"
  8584. },
  8585. "isshow": {
  8586. "description": "是否展示 - 0:不展示 1:展示",
  8587. "type": "integer"
  8588. },
  8589. "modifierid": {
  8590. "description": "操作人",
  8591. "type": "integer"
  8592. },
  8593. "recsize": {
  8594. "description": "推荐尺寸",
  8595. "type": "string"
  8596. },
  8597. "title": {
  8598. "description": "标题",
  8599. "type": "string"
  8600. },
  8601. "updatedate": {
  8602. "description": "更新时间",
  8603. "type": "string"
  8604. },
  8605. "urlcontent": {
  8606. "description": "链接(地址或商品ID)",
  8607. "type": "string"
  8608. },
  8609. "urltype": {
  8610. "description": "链接类型 - 1:直接地址 2:商品ID",
  8611. "type": "integer"
  8612. }
  8613. }
  8614. },
  8615. "models.Division": {
  8616. "type": "object",
  8617. "required": [
  8618. "autoid",
  8619. "divisioncode"
  8620. ],
  8621. "properties": {
  8622. "autoid": {
  8623. "description": "自增ID",
  8624. "type": "integer"
  8625. },
  8626. "divisioncode": {
  8627. "description": "行政代码",
  8628. "type": "string"
  8629. },
  8630. "divisionlevel": {
  8631. "description": "行政级别",
  8632. "type": "string"
  8633. },
  8634. "divisionname": {
  8635. "description": "行政名称",
  8636. "type": "string"
  8637. },
  8638. "modifierid": {
  8639. "description": "修改人",
  8640. "type": "integer"
  8641. },
  8642. "modifytime": {
  8643. "description": "修改时间",
  8644. "type": "string"
  8645. },
  8646. "parentcode": {
  8647. "description": "上级行政代码",
  8648. "type": "string"
  8649. },
  8650. "pathname": {
  8651. "description": "路径名称",
  8652. "type": "string"
  8653. },
  8654. "postcode": {
  8655. "description": "邮政编码",
  8656. "type": "string"
  8657. },
  8658. "separablename": {
  8659. "description": "可拆分的全称",
  8660. "type": "string"
  8661. },
  8662. "shortcode": {
  8663. "description": "地区简码",
  8664. "type": "string"
  8665. }
  8666. }
  8667. },
  8668. "models.Enumdicitem": {
  8669. "type": "object",
  8670. "required": [
  8671. "autoid",
  8672. "enumdiccode",
  8673. "enumdicid",
  8674. "enumitemname"
  8675. ],
  8676. "properties": {
  8677. "autoid": {
  8678. "description": "自增ID",
  8679. "type": "integer"
  8680. },
  8681. "bankmappedvalue": {
  8682. "description": "银行服务对应值",
  8683. "type": "string"
  8684. },
  8685. "enumdiccode": {
  8686. "description": "所属枚举代码",
  8687. "type": "string"
  8688. },
  8689. "enumdicid": {
  8690. "description": "所属枚举ID",
  8691. "type": "integer"
  8692. },
  8693. "enumdicname": {
  8694. "description": "枚举项名称",
  8695. "type": "string"
  8696. },
  8697. "enumitemname": {
  8698. "description": "枚举项值",
  8699. "type": "integer"
  8700. },
  8701. "enumitemstatus": {
  8702. "description": "枚举项状态 - 1.启用 2.不启用",
  8703. "type": "integer"
  8704. },
  8705. "enumitemvalue": {
  8706. "description": "通用值 - [币种通用简写]",
  8707. "type": "string"
  8708. },
  8709. "param1": {
  8710. "description": "参数1[币种:币种小数位]",
  8711. "type": "string"
  8712. },
  8713. "param2": {
  8714. "description": "参数1[币种:币种显示单位]",
  8715. "type": "string"
  8716. },
  8717. "remark": {
  8718. "description": "备注",
  8719. "type": "string"
  8720. }
  8721. }
  8722. },
  8723. "models.GoodsIDAndName": {
  8724. "type": "object",
  8725. "required": [
  8726. "goodscode",
  8727. "goodsid",
  8728. "goodsname",
  8729. "marketid"
  8730. ],
  8731. "properties": {
  8732. "goodscode": {
  8733. "description": "商品代码(内部)",
  8734. "type": "string"
  8735. },
  8736. "goodsid": {
  8737. "description": "商品ID(自增ID SEQ_GOODS)",
  8738. "type": "integer"
  8739. },
  8740. "goodsname": {
  8741. "description": "商品名称",
  8742. "type": "string"
  8743. },
  8744. "marketid": {
  8745. "description": "所属市场ID",
  8746. "type": "integer"
  8747. }
  8748. }
  8749. },
  8750. "models.HsbyBuyMyPayOrder": {
  8751. "type": "object",
  8752. "required": [
  8753. "goodscode",
  8754. "goodsname",
  8755. "tradeid",
  8756. "trademode"
  8757. ],
  8758. "properties": {
  8759. "agreeunit": {
  8760. "description": "合约单位",
  8761. "type": "number"
  8762. },
  8763. "buyaccountid": {
  8764. "description": "买方账号ID[报价币种]",
  8765. "type": "integer"
  8766. },
  8767. "buyorderid": {
  8768. "description": "买方委托单号",
  8769. "type": "string"
  8770. },
  8771. "createtime": {
  8772. "description": "创建时间",
  8773. "type": "string"
  8774. },
  8775. "currencysign": {
  8776. "description": "货币符号",
  8777. "type": "string"
  8778. },
  8779. "decimalplace": {
  8780. "description": "报价小数位",
  8781. "type": "integer"
  8782. },
  8783. "goodscode": {
  8784. "description": "商品代码(内部)",
  8785. "type": "string"
  8786. },
  8787. "goodsid": {
  8788. "description": "商品ID",
  8789. "type": "integer"
  8790. },
  8791. "goodsname": {
  8792. "description": "商品名称",
  8793. "type": "string"
  8794. },
  8795. "marketid": {
  8796. "description": "市场ID",
  8797. "type": "integer"
  8798. },
  8799. "offamount": {
  8800. "description": "优惠金额",
  8801. "type": "number"
  8802. },
  8803. "payamount": {
  8804. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  8805. "type": "number"
  8806. },
  8807. "payflag": {
  8808. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8809. "type": "integer"
  8810. },
  8811. "paylimitedtime": {
  8812. "description": "支付期限",
  8813. "type": "string"
  8814. },
  8815. "paytime": {
  8816. "description": "付款时间",
  8817. "type": "string"
  8818. },
  8819. "picurls1": {
  8820. "description": "预售商品介绍图片[多张用逗号分隔]",
  8821. "type": "string"
  8822. },
  8823. "picurls2": {
  8824. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  8825. "type": "string"
  8826. },
  8827. "sellaccountid": {
  8828. "description": "卖方账号ID[报价币种]",
  8829. "type": "integer"
  8830. },
  8831. "sellorderid": {
  8832. "description": "卖方委托单号",
  8833. "type": "string"
  8834. },
  8835. "tradeamount": {
  8836. "description": "成交金额",
  8837. "type": "number"
  8838. },
  8839. "tradecharge": {
  8840. "description": "成交手续费(买方)",
  8841. "type": "number"
  8842. },
  8843. "tradedate": {
  8844. "description": "交易日(yyyyMMdd)",
  8845. "type": "string"
  8846. },
  8847. "tradeid": {
  8848. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8849. "type": "string"
  8850. },
  8851. "trademode": {
  8852. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8853. "type": "integer"
  8854. },
  8855. "tradeprice": {
  8856. "description": "成交价格",
  8857. "type": "number"
  8858. },
  8859. "tradeqty": {
  8860. "description": "成交数量",
  8861. "type": "integer"
  8862. },
  8863. "vendorname1": {
  8864. "description": "预售商品供应商名称",
  8865. "type": "string"
  8866. },
  8867. "vendorname2": {
  8868. "description": "挂牌商品供应商名称",
  8869. "type": "string"
  8870. }
  8871. }
  8872. },
  8873. "models.HsbyBuyMyTradeDetail": {
  8874. "type": "object",
  8875. "required": [
  8876. "accountid",
  8877. "buyorsell",
  8878. "goodscode",
  8879. "goodsid",
  8880. "goodsname",
  8881. "marketid",
  8882. "orderid",
  8883. "qty",
  8884. "time",
  8885. "trademode"
  8886. ],
  8887. "properties": {
  8888. "accountid": {
  8889. "description": "账户ID[报价币种]",
  8890. "type": "integer"
  8891. },
  8892. "agreeunit": {
  8893. "description": "合约单位",
  8894. "type": "number"
  8895. },
  8896. "amount": {
  8897. "description": "金额 = 价格 * 数量 * 合约单位",
  8898. "type": "number"
  8899. },
  8900. "buyorsell": {
  8901. "description": "买卖 - 0:买 1:卖",
  8902. "type": "integer"
  8903. },
  8904. "currencysign": {
  8905. "description": "货币符号",
  8906. "type": "string"
  8907. },
  8908. "decimalplace": {
  8909. "description": "报价小数位",
  8910. "type": "integer"
  8911. },
  8912. "goodscode": {
  8913. "description": "商品代码(内部)",
  8914. "type": "string"
  8915. },
  8916. "goodsid": {
  8917. "description": "商品ID",
  8918. "type": "integer"
  8919. },
  8920. "goodsname": {
  8921. "description": "商品名称",
  8922. "type": "string"
  8923. },
  8924. "marketid": {
  8925. "description": "市场ID",
  8926. "type": "integer"
  8927. },
  8928. "orderid": {
  8929. "description": "单号(成交单号)",
  8930. "type": "string"
  8931. },
  8932. "picurls1": {
  8933. "description": "预售商品介绍图片[多张用逗号分隔]",
  8934. "type": "string"
  8935. },
  8936. "picurls2": {
  8937. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  8938. "type": "string"
  8939. },
  8940. "price": {
  8941. "description": "价格",
  8942. "type": "number"
  8943. },
  8944. "qty": {
  8945. "description": "数量",
  8946. "type": "integer"
  8947. },
  8948. "time": {
  8949. "description": "时间",
  8950. "type": "string"
  8951. },
  8952. "trademode": {
  8953. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8954. "type": "integer"
  8955. },
  8956. "vendorname1": {
  8957. "description": "预售商品供应商名称",
  8958. "type": "string"
  8959. },
  8960. "vendorname2": {
  8961. "description": "挂牌商品供应商名称",
  8962. "type": "string"
  8963. }
  8964. }
  8965. },
  8966. "models.HsbyGoodsOrderDetail": {
  8967. "type": "object",
  8968. "required": [
  8969. "buyorsell",
  8970. "orderid",
  8971. "ordertime"
  8972. ],
  8973. "properties": {
  8974. "buyorsell": {
  8975. "description": "买卖 - 0:买 1:卖",
  8976. "type": "integer"
  8977. },
  8978. "currencysign": {
  8979. "description": "货币符号",
  8980. "type": "string"
  8981. },
  8982. "customername": {
  8983. "description": "客户名称(企业名称),已脱敏",
  8984. "type": "string"
  8985. },
  8986. "enableqty": {
  8987. "description": "可用数量",
  8988. "type": "integer"
  8989. },
  8990. "goodunit": {
  8991. "description": "报价单位",
  8992. "type": "string"
  8993. },
  8994. "orderid": {
  8995. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8996. "type": "string"
  8997. },
  8998. "orderprice": {
  8999. "description": "委托价格",
  9000. "type": "number"
  9001. },
  9002. "ordertime": {
  9003. "description": "委托时间",
  9004. "type": "string"
  9005. }
  9006. }
  9007. },
  9008. "models.HsbyListingGoodsDetail": {
  9009. "type": "object",
  9010. "required": [
  9011. "goodscode",
  9012. "goodsid",
  9013. "goodsname",
  9014. "marketid",
  9015. "trademode"
  9016. ],
  9017. "properties": {
  9018. "agreeunit": {
  9019. "description": "合约单位",
  9020. "type": "number"
  9021. },
  9022. "buymaxqty": {
  9023. "description": "购买上限 [71] - 0为不限",
  9024. "type": "integer"
  9025. },
  9026. "currency": {
  9027. "description": "货币",
  9028. "type": "string"
  9029. },
  9030. "currencysign": {
  9031. "description": "货币符号",
  9032. "type": "string"
  9033. },
  9034. "decimalplace": {
  9035. "description": "报价小数位",
  9036. "type": "integer"
  9037. },
  9038. "desccityid": {
  9039. "description": "目的地(市)ID",
  9040. "type": "integer"
  9041. },
  9042. "descprovinceid": {
  9043. "description": "目的地(省)ID",
  9044. "type": "integer"
  9045. },
  9046. "goodscode": {
  9047. "description": "商品代码(内部)",
  9048. "type": "string"
  9049. },
  9050. "goodsdesc": {
  9051. "description": "商品详情",
  9052. "type": "string"
  9053. },
  9054. "goodsid": {
  9055. "description": "商品ID(自增ID SEQ_GOODS)",
  9056. "type": "integer"
  9057. },
  9058. "goodsname": {
  9059. "description": "商品名称",
  9060. "type": "string"
  9061. },
  9062. "goodsprice": {
  9063. "description": "商品价格",
  9064. "type": "number"
  9065. },
  9066. "hotindex": {
  9067. "description": "景点热度",
  9068. "type": "integer"
  9069. },
  9070. "last": {
  9071. "description": "现价",
  9072. "type": "number"
  9073. },
  9074. "limitdown": {
  9075. "description": "跌停价",
  9076. "type": "number"
  9077. },
  9078. "limitup": {
  9079. "description": "涨停价",
  9080. "type": "number"
  9081. },
  9082. "lotsize": {
  9083. "description": "手数最小变动单位",
  9084. "type": "integer"
  9085. },
  9086. "marketid": {
  9087. "description": "所属市场ID",
  9088. "type": "integer"
  9089. },
  9090. "picurls": {
  9091. "description": "介绍图片[多张用逗号分隔]",
  9092. "type": "string"
  9093. },
  9094. "quoteminunit": {
  9095. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9096. "type": "integer"
  9097. },
  9098. "stepvalue": {
  9099. "description": "价格最小变动单位",
  9100. "type": "number"
  9101. },
  9102. "trademode": {
  9103. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9104. "type": "integer"
  9105. },
  9106. "vendorattr": {
  9107. "description": "供应商附件(多张,逗号分隔)",
  9108. "type": "string"
  9109. },
  9110. "vendorname": {
  9111. "description": "供应商名称",
  9112. "type": "string"
  9113. },
  9114. "vendorphone": {
  9115. "description": "供应商客服电话",
  9116. "type": "string"
  9117. },
  9118. "videourls": {
  9119. "description": "介绍视频[多张用逗号分隔]",
  9120. "type": "string"
  9121. }
  9122. }
  9123. },
  9124. "models.HsbyMarketGoods": {
  9125. "type": "object",
  9126. "required": [
  9127. "accountid",
  9128. "buyorsell",
  9129. "goodscode",
  9130. "goodsid",
  9131. "goodsname",
  9132. "marketid",
  9133. "orderid",
  9134. "trademode"
  9135. ],
  9136. "properties": {
  9137. "accountid": {
  9138. "description": "账户ID[报价币种]",
  9139. "type": "integer"
  9140. },
  9141. "agreeunit": {
  9142. "description": "合约单位",
  9143. "type": "number"
  9144. },
  9145. "buyorsell": {
  9146. "description": "买卖 - 0:买 1:卖",
  9147. "type": "integer"
  9148. },
  9149. "categoryid": {
  9150. "description": "类别ID(WRCATEGORY)",
  9151. "type": "integer"
  9152. },
  9153. "currency": {
  9154. "description": "货币",
  9155. "type": "string"
  9156. },
  9157. "currencysign": {
  9158. "description": "货币符号",
  9159. "type": "string"
  9160. },
  9161. "customername": {
  9162. "description": "卖家名称",
  9163. "type": "string"
  9164. },
  9165. "decimalplace": {
  9166. "description": "报价小数位",
  9167. "type": "integer"
  9168. },
  9169. "goodscode": {
  9170. "description": "商品代码(内部)",
  9171. "type": "string"
  9172. },
  9173. "goodsid": {
  9174. "description": "商品ID",
  9175. "type": "integer"
  9176. },
  9177. "goodsname": {
  9178. "description": "商品名称",
  9179. "type": "string"
  9180. },
  9181. "goodsprice": {
  9182. "description": "商品价格",
  9183. "type": "number"
  9184. },
  9185. "hascoupon": {
  9186. "description": "是否可用优惠卷",
  9187. "type": "boolean"
  9188. },
  9189. "hotindex": {
  9190. "description": "景点热度",
  9191. "type": "integer"
  9192. },
  9193. "marketid": {
  9194. "description": "市场ID",
  9195. "type": "integer"
  9196. },
  9197. "orderid": {
  9198. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9199. "type": "string"
  9200. },
  9201. "orderprice": {
  9202. "description": "委托价格",
  9203. "type": "number"
  9204. },
  9205. "orderstatus": {
  9206. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9207. "type": "integer"
  9208. },
  9209. "picurls": {
  9210. "description": "介绍图片[多张用逗号分隔]",
  9211. "type": "string"
  9212. },
  9213. "quoteminunit": {
  9214. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9215. "type": "integer"
  9216. },
  9217. "sellUserID": {
  9218. "description": "卖方UserID",
  9219. "type": "integer"
  9220. },
  9221. "trademode": {
  9222. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9223. "type": "integer"
  9224. },
  9225. "videourls": {
  9226. "description": "介绍视频[多张用逗号分隔]",
  9227. "type": "string"
  9228. }
  9229. }
  9230. },
  9231. "models.HsbyMarketGoodsDetail": {
  9232. "type": "object",
  9233. "required": [
  9234. "accountid",
  9235. "buyorsell",
  9236. "goodscode",
  9237. "goodsid",
  9238. "goodsname",
  9239. "marketid",
  9240. "orderid",
  9241. "orderqty",
  9242. "trademode"
  9243. ],
  9244. "properties": {
  9245. "accountid": {
  9246. "description": "账户ID[报价币种]",
  9247. "type": "integer"
  9248. },
  9249. "agreeunit": {
  9250. "description": "合约单位",
  9251. "type": "number"
  9252. },
  9253. "buymaxqty": {
  9254. "description": "购买上限 [71] - 0为不限",
  9255. "type": "integer"
  9256. },
  9257. "buyorsell": {
  9258. "description": "买卖 - 0:买 1:卖",
  9259. "type": "integer"
  9260. },
  9261. "cancelqty": {
  9262. "description": "撤单数量",
  9263. "type": "integer"
  9264. },
  9265. "categoryid": {
  9266. "description": "类别ID(WRCATEGORY)",
  9267. "type": "integer"
  9268. },
  9269. "currency": {
  9270. "description": "货币",
  9271. "type": "string"
  9272. },
  9273. "currencysign": {
  9274. "description": "货币符号",
  9275. "type": "string"
  9276. },
  9277. "customername": {
  9278. "description": "卖家名称",
  9279. "type": "string"
  9280. },
  9281. "decimalplace": {
  9282. "description": "报价小数位",
  9283. "type": "integer"
  9284. },
  9285. "goodscode": {
  9286. "description": "商品代码(内部)",
  9287. "type": "string"
  9288. },
  9289. "goodsdesc": {
  9290. "description": "商品详情",
  9291. "type": "string"
  9292. },
  9293. "goodsid": {
  9294. "description": "商品ID",
  9295. "type": "integer"
  9296. },
  9297. "goodsname": {
  9298. "description": "商品名称",
  9299. "type": "string"
  9300. },
  9301. "goodsprice": {
  9302. "description": "商品价格",
  9303. "type": "number"
  9304. },
  9305. "hotindex": {
  9306. "description": "景点热度",
  9307. "type": "integer"
  9308. },
  9309. "lotsize": {
  9310. "description": "手数最小变动单位",
  9311. "type": "integer"
  9312. },
  9313. "marketid": {
  9314. "description": "市场ID",
  9315. "type": "integer"
  9316. },
  9317. "orderid": {
  9318. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9319. "type": "string"
  9320. },
  9321. "orderprice": {
  9322. "description": "委托价格",
  9323. "type": "number"
  9324. },
  9325. "orderqty": {
  9326. "description": "委托数量",
  9327. "type": "integer"
  9328. },
  9329. "orderstatus": {
  9330. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9331. "type": "integer"
  9332. },
  9333. "picurls": {
  9334. "description": "介绍图片[多张用逗号分隔]",
  9335. "type": "string"
  9336. },
  9337. "quoteminunit": {
  9338. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9339. "type": "integer"
  9340. },
  9341. "sellUserID": {
  9342. "description": "卖方UserID",
  9343. "type": "integer"
  9344. },
  9345. "trademode": {
  9346. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9347. "type": "integer"
  9348. },
  9349. "tradeqty": {
  9350. "description": "成交数量",
  9351. "type": "integer"
  9352. },
  9353. "vendorattr": {
  9354. "description": "供应商附件(多张,逗号分隔)",
  9355. "type": "string"
  9356. },
  9357. "vendorname": {
  9358. "description": "供应商名称",
  9359. "type": "string"
  9360. },
  9361. "vendorphone": {
  9362. "description": "供应商客服电话",
  9363. "type": "string"
  9364. },
  9365. "videourls": {
  9366. "description": "介绍视频[多张用逗号分隔]",
  9367. "type": "string"
  9368. }
  9369. }
  9370. },
  9371. "models.HsbyMarketInfo": {
  9372. "type": "object",
  9373. "required": [
  9374. "marketid",
  9375. "marketstatus",
  9376. "trademode"
  9377. ],
  9378. "properties": {
  9379. "marketid": {
  9380. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  9381. "type": "integer"
  9382. },
  9383. "marketname": {
  9384. "description": "市场名称",
  9385. "type": "string"
  9386. },
  9387. "marketstatus": {
  9388. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  9389. "type": "integer"
  9390. },
  9391. "trademode": {
  9392. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9393. "type": "integer"
  9394. }
  9395. }
  9396. },
  9397. "models.HsbyMyGoods": {
  9398. "type": "object",
  9399. "required": [
  9400. "accountid",
  9401. "goodscode",
  9402. "goodsid",
  9403. "goodsname",
  9404. "marketid",
  9405. "trademode"
  9406. ],
  9407. "properties": {
  9408. "accountid": {
  9409. "description": "账号Id",
  9410. "type": "integer"
  9411. },
  9412. "agreeunit": {
  9413. "description": "合约单位",
  9414. "type": "number"
  9415. },
  9416. "buyaverageprice": {
  9417. "description": "持仓均价",
  9418. "type": "number"
  9419. },
  9420. "buycurholderamount": {
  9421. "description": "买当前持仓总金额[商品币种]",
  9422. "type": "number"
  9423. },
  9424. "buycurpositionqty": {
  9425. "description": "买当前持仓总数量",
  9426. "type": "integer"
  9427. },
  9428. "buymaxqty": {
  9429. "description": "购买上限 [71] - 0为不限",
  9430. "type": "integer"
  9431. },
  9432. "currencysign": {
  9433. "description": "货币符号",
  9434. "type": "string"
  9435. },
  9436. "decimalplace": {
  9437. "description": "报价小数位",
  9438. "type": "integer"
  9439. },
  9440. "enableqty": {
  9441. "description": "可用数量",
  9442. "type": "integer"
  9443. },
  9444. "goodscode": {
  9445. "description": "商品代码(内部)",
  9446. "type": "string"
  9447. },
  9448. "goodsid": {
  9449. "description": "商品Id",
  9450. "type": "integer"
  9451. },
  9452. "goodsname": {
  9453. "description": "商品名称",
  9454. "type": "string"
  9455. },
  9456. "goodsprice": {
  9457. "description": "商品价格",
  9458. "type": "number"
  9459. },
  9460. "goodsstatus": {
  9461. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  9462. "type": "integer"
  9463. },
  9464. "last": {
  9465. "description": "现价(仅使用于挂牌点选)",
  9466. "type": "number"
  9467. },
  9468. "limitdown": {
  9469. "description": "跌停价(仅使用于挂牌点选)",
  9470. "type": "number"
  9471. },
  9472. "limitup": {
  9473. "description": "涨停价(仅使用于挂牌点选)",
  9474. "type": "number"
  9475. },
  9476. "lotsize": {
  9477. "description": "手数最小变动单位",
  9478. "type": "integer"
  9479. },
  9480. "marketid": {
  9481. "description": "所属市场ID",
  9482. "type": "integer"
  9483. },
  9484. "picurls": {
  9485. "description": "介绍图片[多张用逗号分隔]",
  9486. "type": "string"
  9487. },
  9488. "quoteminunit": {
  9489. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9490. "type": "integer"
  9491. },
  9492. "stepvalue": {
  9493. "description": "价格最小变动单位",
  9494. "type": "number"
  9495. },
  9496. "trademode": {
  9497. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9498. "type": "integer"
  9499. }
  9500. }
  9501. },
  9502. "models.HsbyMyPackage": {
  9503. "type": "object",
  9504. "required": [
  9505. "goodscode",
  9506. "goodsname",
  9507. "takeorderid"
  9508. ],
  9509. "properties": {
  9510. "accountid": {
  9511. "description": "账户ID",
  9512. "type": "integer"
  9513. },
  9514. "address": {
  9515. "description": "提货人详细地址",
  9516. "type": "string"
  9517. },
  9518. "agreeunit": {
  9519. "description": "合约单位",
  9520. "type": "number"
  9521. },
  9522. "amount": {
  9523. "description": "提货金额",
  9524. "type": "number"
  9525. },
  9526. "auditer": {
  9527. "description": "审核人",
  9528. "type": "integer"
  9529. },
  9530. "audittime": {
  9531. "description": "审核时间",
  9532. "type": "string"
  9533. },
  9534. "averageprice": {
  9535. "description": "均价",
  9536. "type": "number"
  9537. },
  9538. "cardnum": {
  9539. "description": "提货人证件号码",
  9540. "type": "string"
  9541. },
  9542. "cardtypeid": {
  9543. "description": "提货人证件类型",
  9544. "type": "integer"
  9545. },
  9546. "checkremark": {
  9547. "description": "审核备注",
  9548. "type": "string"
  9549. },
  9550. "currencysign": {
  9551. "description": "货币符号",
  9552. "type": "string"
  9553. },
  9554. "decimalplace": {
  9555. "description": "报价小数位",
  9556. "type": "integer"
  9557. },
  9558. "goodscode": {
  9559. "description": "商品代码(内部)",
  9560. "type": "string"
  9561. },
  9562. "goodsid": {
  9563. "description": "商品ID",
  9564. "type": "integer"
  9565. },
  9566. "goodsname": {
  9567. "description": "商品名称",
  9568. "type": "string"
  9569. },
  9570. "handlestatus": {
  9571. "description": "处理状态",
  9572. "type": "integer"
  9573. },
  9574. "marketid": {
  9575. "description": "市场ID",
  9576. "type": "integer"
  9577. },
  9578. "phonenum": {
  9579. "description": "提货人联系方式",
  9580. "type": "string"
  9581. },
  9582. "picurls": {
  9583. "description": "介绍图片[多张用逗号分隔]",
  9584. "type": "string"
  9585. },
  9586. "qty": {
  9587. "description": "提货数量",
  9588. "type": "number"
  9589. },
  9590. "recivername": {
  9591. "description": "提货人姓名",
  9592. "type": "string"
  9593. },
  9594. "reqtime": {
  9595. "description": "更新时间",
  9596. "type": "string"
  9597. },
  9598. "takemode": {
  9599. "description": "提货方式 - 2:自提 3:配送",
  9600. "type": "integer"
  9601. },
  9602. "takeorderid": {
  9603. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  9604. "type": "string"
  9605. },
  9606. "takeorderstatus": {
  9607. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  9608. "type": "integer"
  9609. },
  9610. "takeremark": {
  9611. "description": "提货备注",
  9612. "type": "string"
  9613. },
  9614. "tradedate": {
  9615. "description": "交易日(yyyyMMdd)",
  9616. "type": "string"
  9617. },
  9618. "userid": {
  9619. "description": "用户ID",
  9620. "type": "integer"
  9621. },
  9622. "vendorname": {
  9623. "description": "供应商名称",
  9624. "type": "string"
  9625. }
  9626. }
  9627. },
  9628. "models.HsbyPreGoods": {
  9629. "type": "object",
  9630. "required": [
  9631. "goodscode",
  9632. "goodsid",
  9633. "goodsname",
  9634. "marketid",
  9635. "trademode"
  9636. ],
  9637. "properties": {
  9638. "agreeunit": {
  9639. "description": "合约单位",
  9640. "type": "number"
  9641. },
  9642. "currency": {
  9643. "description": "货币",
  9644. "type": "string"
  9645. },
  9646. "currencysign": {
  9647. "description": "货币符号",
  9648. "type": "string"
  9649. },
  9650. "decimalplace": {
  9651. "description": "报价小数位",
  9652. "type": "integer"
  9653. },
  9654. "enableqty": {
  9655. "description": "剩余数量",
  9656. "type": "integer"
  9657. },
  9658. "goodscode": {
  9659. "description": "商品代码(内部)",
  9660. "type": "string"
  9661. },
  9662. "goodsid": {
  9663. "description": "商品ID(自增ID SEQ_GOODS)",
  9664. "type": "integer"
  9665. },
  9666. "goodsname": {
  9667. "description": "商品名称",
  9668. "type": "string"
  9669. },
  9670. "goodsstatus": {
  9671. "description": "商品状态- 2:未上市 3:上市",
  9672. "type": "integer"
  9673. },
  9674. "lasttradedate": {
  9675. "description": "最后交易日期(状态:待退市)",
  9676. "type": "string"
  9677. },
  9678. "listingdate": {
  9679. "description": "交易开始日期",
  9680. "type": "string"
  9681. },
  9682. "marketid": {
  9683. "description": "所属市场ID",
  9684. "type": "integer"
  9685. },
  9686. "picurls": {
  9687. "description": "介绍图片[多张用逗号分隔]",
  9688. "type": "string"
  9689. },
  9690. "presaledqty": {
  9691. "description": "已预售量(预售结束时更新)",
  9692. "type": "integer"
  9693. },
  9694. "presaleqty": {
  9695. "description": "预售数量",
  9696. "type": "integer"
  9697. },
  9698. "quoteminunit": {
  9699. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9700. "type": "integer"
  9701. },
  9702. "refprice": {
  9703. "description": "参考价格[一口价]",
  9704. "type": "number"
  9705. },
  9706. "relatedgoodsid": {
  9707. "description": "关联交易合约ID",
  9708. "type": "integer"
  9709. },
  9710. "trademode": {
  9711. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9712. "type": "integer"
  9713. },
  9714. "videourls": {
  9715. "description": "介绍视频[多张用逗号分隔]",
  9716. "type": "string"
  9717. }
  9718. }
  9719. },
  9720. "models.HsbyPreGoodsDetail": {
  9721. "type": "object",
  9722. "required": [
  9723. "goodscode",
  9724. "goodsid",
  9725. "goodsname",
  9726. "marketid",
  9727. "trademode"
  9728. ],
  9729. "properties": {
  9730. "agreeunit": {
  9731. "description": "合约单位",
  9732. "type": "number"
  9733. },
  9734. "buymaxqty": {
  9735. "description": "购买上限 [71] - 0为不限",
  9736. "type": "integer"
  9737. },
  9738. "currency": {
  9739. "description": "货币",
  9740. "type": "string"
  9741. },
  9742. "currencysign": {
  9743. "description": "货币符号",
  9744. "type": "string"
  9745. },
  9746. "customername": {
  9747. "description": "发行单位",
  9748. "type": "string"
  9749. },
  9750. "decimalplace": {
  9751. "description": "报价小数位",
  9752. "type": "integer"
  9753. },
  9754. "desccityid": {
  9755. "description": "目的地(市)ID",
  9756. "type": "integer"
  9757. },
  9758. "descprovinceid": {
  9759. "description": "目的地(省)ID",
  9760. "type": "integer"
  9761. },
  9762. "enableqty": {
  9763. "description": "剩余数量",
  9764. "type": "integer"
  9765. },
  9766. "goodscode": {
  9767. "description": "商品代码(内部)",
  9768. "type": "string"
  9769. },
  9770. "goodsdesc": {
  9771. "description": "商品详情",
  9772. "type": "string"
  9773. },
  9774. "goodsid": {
  9775. "description": "商品ID(自增ID SEQ_GOODS)",
  9776. "type": "integer"
  9777. },
  9778. "goodsname": {
  9779. "description": "商品名称",
  9780. "type": "string"
  9781. },
  9782. "goodsstatus": {
  9783. "description": "商品状态- 2:未上市 3:上市",
  9784. "type": "integer"
  9785. },
  9786. "goodunit": {
  9787. "description": "报价单位",
  9788. "type": "string"
  9789. },
  9790. "lasttradedate": {
  9791. "description": "最后交易日期(状态:待退市)",
  9792. "type": "string"
  9793. },
  9794. "listingdate": {
  9795. "description": "交易开始日期",
  9796. "type": "string"
  9797. },
  9798. "lotsize": {
  9799. "description": "手数最小变动单位",
  9800. "type": "integer"
  9801. },
  9802. "marketid": {
  9803. "description": "所属市场ID",
  9804. "type": "integer"
  9805. },
  9806. "picurls": {
  9807. "description": "介绍图片[多张用逗号分隔]",
  9808. "type": "string"
  9809. },
  9810. "presaledqty": {
  9811. "description": "已预售量(预售结束时更新)",
  9812. "type": "integer"
  9813. },
  9814. "presaleqty": {
  9815. "description": "预售数量",
  9816. "type": "integer"
  9817. },
  9818. "quoteminunit": {
  9819. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9820. "type": "integer"
  9821. },
  9822. "refprice": {
  9823. "description": "参考价格[一口价]",
  9824. "type": "number"
  9825. },
  9826. "relatedgoodsid": {
  9827. "description": "关联交易合约ID",
  9828. "type": "integer"
  9829. },
  9830. "stepvalue": {
  9831. "description": "价格最小变动单位",
  9832. "type": "number"
  9833. },
  9834. "trademode": {
  9835. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9836. "type": "integer"
  9837. },
  9838. "vendorattr": {
  9839. "description": "供应商附件(多张,逗号分隔)",
  9840. "type": "string"
  9841. },
  9842. "vendorname": {
  9843. "description": "供应商名称",
  9844. "type": "string"
  9845. },
  9846. "vendorphone": {
  9847. "description": "供应商客服电话",
  9848. "type": "string"
  9849. },
  9850. "videourls": {
  9851. "description": "介绍视频[多张用逗号分隔]",
  9852. "type": "string"
  9853. }
  9854. }
  9855. },
  9856. "models.HsbySellCollectionOrder": {
  9857. "type": "object",
  9858. "required": [
  9859. "goodscode",
  9860. "goodsname",
  9861. "tradeid",
  9862. "trademode"
  9863. ],
  9864. "properties": {
  9865. "agreeunit": {
  9866. "description": "合约单位",
  9867. "type": "number"
  9868. },
  9869. "buyaccountid": {
  9870. "description": "买方账号ID[报价币种]",
  9871. "type": "integer"
  9872. },
  9873. "buyorderid": {
  9874. "description": "买方委托单号",
  9875. "type": "string"
  9876. },
  9877. "createtime": {
  9878. "description": "创建时间",
  9879. "type": "string"
  9880. },
  9881. "currencysign": {
  9882. "description": "货币符号",
  9883. "type": "string"
  9884. },
  9885. "decimalplace": {
  9886. "description": "报价小数位",
  9887. "type": "integer"
  9888. },
  9889. "goodscode": {
  9890. "description": "商品代码(内部)",
  9891. "type": "string"
  9892. },
  9893. "goodsid": {
  9894. "description": "商品ID",
  9895. "type": "integer"
  9896. },
  9897. "goodsname": {
  9898. "description": "商品名称",
  9899. "type": "string"
  9900. },
  9901. "marketid": {
  9902. "description": "市场ID",
  9903. "type": "integer"
  9904. },
  9905. "offamount": {
  9906. "description": "优惠金额",
  9907. "type": "number"
  9908. },
  9909. "payamount": {
  9910. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  9911. "type": "number"
  9912. },
  9913. "payflag": {
  9914. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9915. "type": "integer"
  9916. },
  9917. "paylimitedtime": {
  9918. "description": "支付期限",
  9919. "type": "string"
  9920. },
  9921. "paytime": {
  9922. "description": "付款时间",
  9923. "type": "string"
  9924. },
  9925. "picurls": {
  9926. "description": "商品介绍图片[多张用逗号分隔]",
  9927. "type": "string"
  9928. },
  9929. "sellaccountid": {
  9930. "description": "卖方账号ID[报价币种]",
  9931. "type": "integer"
  9932. },
  9933. "sellorderid": {
  9934. "description": "卖方委托单号",
  9935. "type": "string"
  9936. },
  9937. "tradeamount": {
  9938. "description": "成交金额",
  9939. "type": "number"
  9940. },
  9941. "tradecharge": {
  9942. "description": "成交手续费(买方)",
  9943. "type": "number"
  9944. },
  9945. "tradedate": {
  9946. "description": "交易日(yyyyMMdd)",
  9947. "type": "string"
  9948. },
  9949. "tradeid": {
  9950. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9951. "type": "string"
  9952. },
  9953. "trademode": {
  9954. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9955. "type": "integer"
  9956. },
  9957. "tradeprice": {
  9958. "description": "成交价格",
  9959. "type": "number"
  9960. },
  9961. "tradeqty": {
  9962. "description": "成交数量",
  9963. "type": "integer"
  9964. }
  9965. }
  9966. },
  9967. "models.HsbySellMyDetail": {
  9968. "type": "object",
  9969. "required": [
  9970. "accountid",
  9971. "buyorsell",
  9972. "goodscode",
  9973. "goodsid",
  9974. "goodsname",
  9975. "marketid",
  9976. "orderid",
  9977. "time",
  9978. "trademode"
  9979. ],
  9980. "properties": {
  9981. "accountid": {
  9982. "description": "账户ID[报价币种]",
  9983. "type": "integer"
  9984. },
  9985. "agreeunit": {
  9986. "description": "合约单位",
  9987. "type": "number"
  9988. },
  9989. "buyorsell": {
  9990. "description": "买卖 - 0:买 1:卖",
  9991. "type": "integer"
  9992. },
  9993. "currencysign": {
  9994. "description": "货币符号",
  9995. "type": "string"
  9996. },
  9997. "decimalplace": {
  9998. "description": "报价小数位",
  9999. "type": "integer"
  10000. },
  10001. "goodscode": {
  10002. "description": "商品代码(内部)",
  10003. "type": "string"
  10004. },
  10005. "goodsid": {
  10006. "description": "商品ID",
  10007. "type": "integer"
  10008. },
  10009. "goodsname": {
  10010. "description": "商品名称",
  10011. "type": "string"
  10012. },
  10013. "marketid": {
  10014. "description": "市场ID",
  10015. "type": "integer"
  10016. },
  10017. "orderid": {
  10018. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  10019. "type": "string"
  10020. },
  10021. "ordertype": {
  10022. "description": "单据类型:0 - 发布中, 1 - 已完成",
  10023. "type": "integer"
  10024. },
  10025. "picurls": {
  10026. "description": "介绍图片[多张用逗号分隔]",
  10027. "type": "string"
  10028. },
  10029. "price": {
  10030. "description": "价格",
  10031. "type": "number"
  10032. },
  10033. "qty": {
  10034. "description": "数量",
  10035. "type": "integer"
  10036. },
  10037. "time": {
  10038. "description": "时间",
  10039. "type": "string"
  10040. },
  10041. "trademode": {
  10042. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10043. "type": "integer"
  10044. },
  10045. "vendorname": {
  10046. "description": "供应商名称",
  10047. "type": "string"
  10048. }
  10049. }
  10050. },
  10051. "models.HsbyTopGoods": {
  10052. "type": "object",
  10053. "required": [
  10054. "goodscode",
  10055. "goodsid",
  10056. "goodsname",
  10057. "marketid",
  10058. "trademode"
  10059. ],
  10060. "properties": {
  10061. "agreeunit": {
  10062. "description": "合约单位",
  10063. "type": "number"
  10064. },
  10065. "currency": {
  10066. "description": "货币",
  10067. "type": "string"
  10068. },
  10069. "currencysign": {
  10070. "description": "货币符号",
  10071. "type": "string"
  10072. },
  10073. "decimalplace": {
  10074. "description": "报价小数位",
  10075. "type": "integer"
  10076. },
  10077. "goodscode": {
  10078. "description": "商品代码(内部)",
  10079. "type": "string"
  10080. },
  10081. "goodsid": {
  10082. "description": "商品ID(自增ID SEQ_GOODS)",
  10083. "type": "integer"
  10084. },
  10085. "goodsname": {
  10086. "description": "商品名称",
  10087. "type": "string"
  10088. },
  10089. "hotindex": {
  10090. "description": "景点热度",
  10091. "type": "integer"
  10092. },
  10093. "last": {
  10094. "description": "现价",
  10095. "type": "number"
  10096. },
  10097. "marketid": {
  10098. "description": "所属市场ID",
  10099. "type": "integer"
  10100. },
  10101. "picurls": {
  10102. "description": "介绍图片[多张用逗号分隔]",
  10103. "type": "string"
  10104. },
  10105. "quoteminunit": {
  10106. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10107. "type": "integer"
  10108. },
  10109. "trademode": {
  10110. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10111. "type": "integer"
  10112. },
  10113. "videourls": {
  10114. "description": "介绍视频[多张用逗号分隔]",
  10115. "type": "string"
  10116. }
  10117. }
  10118. },
  10119. "models.HybsMyBuyOrderDetail": {
  10120. "type": "object",
  10121. "required": [
  10122. "accountid",
  10123. "buyorsell",
  10124. "goodscode",
  10125. "goodsid",
  10126. "goodsname",
  10127. "marketid",
  10128. "orderid",
  10129. "orderqty",
  10130. "ordertime",
  10131. "trademode"
  10132. ],
  10133. "properties": {
  10134. "accountid": {
  10135. "description": "账户ID[报价币种]",
  10136. "type": "integer"
  10137. },
  10138. "agreeunit": {
  10139. "description": "合约单位",
  10140. "type": "number"
  10141. },
  10142. "buyorsell": {
  10143. "description": "买卖 - 0:买 1:卖",
  10144. "type": "integer"
  10145. },
  10146. "cancelqty": {
  10147. "description": "撤单数量",
  10148. "type": "integer"
  10149. },
  10150. "currencysign": {
  10151. "description": "货币符号",
  10152. "type": "string"
  10153. },
  10154. "decimalplace": {
  10155. "description": "报价小数位",
  10156. "type": "integer"
  10157. },
  10158. "goodscode": {
  10159. "description": "商品代码(内部)",
  10160. "type": "string"
  10161. },
  10162. "goodsid": {
  10163. "description": "商品ID",
  10164. "type": "integer"
  10165. },
  10166. "goodsname": {
  10167. "description": "商品名称",
  10168. "type": "string"
  10169. },
  10170. "listingselecttype": {
  10171. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10172. "type": "integer"
  10173. },
  10174. "marketid": {
  10175. "description": "市场ID",
  10176. "type": "integer"
  10177. },
  10178. "mybuystatus": {
  10179. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  10180. "type": "integer"
  10181. },
  10182. "orderamount": {
  10183. "description": "委托金额",
  10184. "type": "number"
  10185. },
  10186. "orderid": {
  10187. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10188. "type": "string"
  10189. },
  10190. "orderprice": {
  10191. "description": "委托价格",
  10192. "type": "number"
  10193. },
  10194. "orderqty": {
  10195. "description": "委托数量",
  10196. "type": "integer"
  10197. },
  10198. "orderstatus": {
  10199. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10200. "type": "integer"
  10201. },
  10202. "ordertime": {
  10203. "description": "委托时间",
  10204. "type": "string"
  10205. },
  10206. "picurls1": {
  10207. "description": "预售商品介绍图片[多张用逗号分隔]",
  10208. "type": "string"
  10209. },
  10210. "picurls2": {
  10211. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  10212. "type": "string"
  10213. },
  10214. "trademode": {
  10215. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10216. "type": "integer"
  10217. },
  10218. "tradeqty": {
  10219. "description": "成交数量",
  10220. "type": "integer"
  10221. },
  10222. "vendorname1": {
  10223. "description": "预售商品供应商名称",
  10224. "type": "string"
  10225. },
  10226. "vendorname2": {
  10227. "description": "挂牌商品供应商名称",
  10228. "type": "string"
  10229. }
  10230. }
  10231. },
  10232. "models.Market": {
  10233. "type": "object",
  10234. "required": [
  10235. "marketid",
  10236. "marketstatus",
  10237. "openmethod",
  10238. "reckonpricealgorithm",
  10239. "trademode",
  10240. "tradeproperty"
  10241. ],
  10242. "properties": {
  10243. "auctionwrtype": {
  10244. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  10245. "type": "integer"
  10246. },
  10247. "canacceptquote": {
  10248. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  10249. "type": "integer"
  10250. },
  10251. "cangoodsexercise": {
  10252. "description": "[期权]是否可现货行权- 0:否 1:是",
  10253. "type": "integer"
  10254. },
  10255. "cangoodsexercisetype": {
  10256. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  10257. "type": "integer"
  10258. },
  10259. "canmanualquotestrike": {
  10260. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  10261. "type": "integer"
  10262. },
  10263. "canmutistage": {
  10264. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  10265. "type": "integer"
  10266. },
  10267. "canpreexercise": {
  10268. "description": "[期权]是否可预申报- 0:否 1:是",
  10269. "type": "integer"
  10270. },
  10271. "clearinterval": {
  10272. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  10273. "type": "integer"
  10274. },
  10275. "contracttmp": {
  10276. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  10277. "type": "string"
  10278. },
  10279. "exchareaid": {
  10280. "description": "所属交易所,可以没有",
  10281. "type": "integer"
  10282. },
  10283. "goodstype": {
  10284. "description": "商品类型 - 1:交易商品 2:仓单商品",
  10285. "type": "integer"
  10286. },
  10287. "hasrebate": {
  10288. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  10289. "type": "integer"
  10290. },
  10291. "hastradecredit": {
  10292. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  10293. "type": "integer"
  10294. },
  10295. "haswr": {
  10296. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  10297. "type": "integer"
  10298. },
  10299. "isdeductmargin": {
  10300. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  10301. "type": "integer"
  10302. },
  10303. "isrecordsource": {
  10304. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  10305. "type": "integer"
  10306. },
  10307. "isreleasemargin": {
  10308. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  10309. "type": "integer"
  10310. },
  10311. "marginformula": {
  10312. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  10313. "type": "integer"
  10314. },
  10315. "marginformula2": {
  10316. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  10317. "type": "integer"
  10318. },
  10319. "marketid": {
  10320. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  10321. "type": "integer"
  10322. },
  10323. "marketname": {
  10324. "description": "市场名称",
  10325. "type": "string"
  10326. },
  10327. "marketserviceid": {
  10328. "description": "市场服务ID",
  10329. "type": "integer"
  10330. },
  10331. "marketstatus": {
  10332. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  10333. "type": "integer"
  10334. },
  10335. "markettype": {
  10336. "description": "市场类型- 1:非交易服务 2:交易服务",
  10337. "type": "integer"
  10338. },
  10339. "matchermode": {
  10340. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  10341. "type": "integer"
  10342. },
  10343. "openmethod": {
  10344. "description": "开盘模式 - 0 自动 1手动",
  10345. "type": "integer"
  10346. },
  10347. "otcuserid": {
  10348. "description": "场外期权做市商[场外期权]",
  10349. "type": "integer"
  10350. },
  10351. "outersynctime": {
  10352. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  10353. "type": "string"
  10354. },
  10355. "pendingflag": {
  10356. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  10357. "type": "integer"
  10358. },
  10359. "pendingtime": {
  10360. "description": "待开市时间[通道交易-对冲](HH:mm)",
  10361. "type": "string"
  10362. },
  10363. "performancetempid": {
  10364. "description": "履约计划模板ID - 作废",
  10365. "type": "integer"
  10366. },
  10367. "premiumquotemode": {
  10368. "description": "权利金报价方式 - 1:自动 2:手动",
  10369. "type": "integer"
  10370. },
  10371. "rebateratio": {
  10372. "description": "返利比率[竞价式]",
  10373. "type": "number"
  10374. },
  10375. "reckonorder": {
  10376. "description": "结算顺序",
  10377. "type": "integer"
  10378. },
  10379. "reckonpricealgorithm": {
  10380. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  10381. "type": "integer"
  10382. },
  10383. "reckonpriceparam": {
  10384. "description": "结算价参数",
  10385. "type": "integer"
  10386. },
  10387. "reckontime": {
  10388. "description": "结算时间[通道交易-对冲](HH:mm)",
  10389. "type": "string"
  10390. },
  10391. "roleprioritytype": {
  10392. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  10393. "type": "integer"
  10394. },
  10395. "selllistingauditflag": {
  10396. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  10397. "type": "integer"
  10398. },
  10399. "trademarkettype": {
  10400. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  10401. "type": "integer"
  10402. },
  10403. "trademode": {
  10404. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10405. "type": "integer"
  10406. },
  10407. "tradeproperty": {
  10408. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  10409. "type": "integer"
  10410. },
  10411. "tradetype": {
  10412. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  10413. "type": "integer"
  10414. }
  10415. }
  10416. },
  10417. "models.Marketrun": {
  10418. "type": "object",
  10419. "required": [
  10420. "marketid",
  10421. "nexttradedate",
  10422. "reckonflag",
  10423. "runstatus",
  10424. "tradedate",
  10425. "tradedate2"
  10426. ],
  10427. "properties": {
  10428. "afternexttradedate": {
  10429. "description": "下下交易日",
  10430. "type": "string"
  10431. },
  10432. "clearquoteflag": {
  10433. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  10434. "type": "integer"
  10435. },
  10436. "lastreckondate": {
  10437. "description": "最新交易日(结算成功)",
  10438. "type": "string"
  10439. },
  10440. "machinedate": {
  10441. "description": "机器时间",
  10442. "type": "string"
  10443. },
  10444. "manualflag": {
  10445. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  10446. "type": "integer"
  10447. },
  10448. "marketid": {
  10449. "description": "市场ID",
  10450. "type": "integer"
  10451. },
  10452. "nexttradedate": {
  10453. "description": "下一交易日",
  10454. "type": "string"
  10455. },
  10456. "pretradedate": {
  10457. "description": "上一交易日",
  10458. "type": "string"
  10459. },
  10460. "reckonflag": {
  10461. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  10462. "type": "integer"
  10463. },
  10464. "runstatus": {
  10465. "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.今日免清算",
  10466. "type": "integer"
  10467. },
  10468. "sectionid": {
  10469. "description": "时间段号[多时段时用]",
  10470. "type": "integer"
  10471. },
  10472. "tradedate": {
  10473. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  10474. "type": "string"
  10475. },
  10476. "tradedate2": {
  10477. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  10478. "type": "string"
  10479. },
  10480. "updatetime": {
  10481. "description": "更新时间",
  10482. "type": "string"
  10483. }
  10484. }
  10485. },
  10486. "models.Messageboard": {
  10487. "type": "object",
  10488. "required": [
  10489. "messageboardid"
  10490. ],
  10491. "properties": {
  10492. "createtime": {
  10493. "description": "创建时间",
  10494. "type": "string"
  10495. },
  10496. "message": {
  10497. "description": "留言信息",
  10498. "type": "string"
  10499. },
  10500. "messageboardid": {
  10501. "description": "留言簿ID(SEQ_MessageBoard)",
  10502. "type": "integer"
  10503. },
  10504. "userid": {
  10505. "description": "用户ID",
  10506. "type": "integer"
  10507. }
  10508. }
  10509. },
  10510. "models.MyCoupon": {
  10511. "type": "object",
  10512. "required": [
  10513. "accountid",
  10514. "coupontypeid"
  10515. ],
  10516. "properties": {
  10517. "accountid": {
  10518. "description": "资金账户ID",
  10519. "type": "integer"
  10520. },
  10521. "areauserid": {
  10522. "description": "所属机构",
  10523. "type": "integer"
  10524. },
  10525. "conditionvalue": {
  10526. "description": "条件阈值(可为0)",
  10527. "type": "number"
  10528. },
  10529. "couponcategroy": {
  10530. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  10531. "type": "integer"
  10532. },
  10533. "couponname": {
  10534. "description": "优惠券名称",
  10535. "type": "string"
  10536. },
  10537. "coupontypeid": {
  10538. "description": "优惠券类型ID",
  10539. "type": "string"
  10540. },
  10541. "couponvalue": {
  10542. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  10543. "type": "number"
  10544. },
  10545. "curfreezeqty": {
  10546. "description": "期末冻结数量",
  10547. "type": "integer"
  10548. },
  10549. "curqty": {
  10550. "description": "期末数量",
  10551. "type": "integer"
  10552. },
  10553. "isgeneral": {
  10554. "description": "是否通用券 - 0:否 1:是",
  10555. "type": "integer"
  10556. },
  10557. "isunusable": {
  10558. "description": "是否不可用",
  10559. "type": "boolean"
  10560. },
  10561. "limitedflag": {
  10562. "description": "是否指定商品 - 0:不限 1:限制",
  10563. "type": "integer"
  10564. },
  10565. "limitedgoodsids": {
  10566. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  10567. "type": "string"
  10568. },
  10569. "orifreezeqty": {
  10570. "description": "期初冻结数量",
  10571. "type": "integer"
  10572. },
  10573. "oriqty": {
  10574. "description": "期初数量",
  10575. "type": "integer"
  10576. },
  10577. "reasontype": {
  10578. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  10579. "type": "integer"
  10580. },
  10581. "todaydecrease": {
  10582. "description": "今日减少",
  10583. "type": "integer"
  10584. },
  10585. "todayincrease": {
  10586. "description": "今日增加",
  10587. "type": "integer"
  10588. },
  10589. "userid": {
  10590. "description": "用户ID",
  10591. "type": "integer"
  10592. },
  10593. "userscope": {
  10594. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  10595. "type": "string"
  10596. }
  10597. }
  10598. },
  10599. "models.MyCouponHold": {
  10600. "type": "object",
  10601. "required": [
  10602. "couponholdid"
  10603. ],
  10604. "properties": {
  10605. "accountid": {
  10606. "description": "资金账户ID",
  10607. "type": "integer"
  10608. },
  10609. "conditionvalue": {
  10610. "description": "条件阈值(可为0)",
  10611. "type": "number"
  10612. },
  10613. "couponcategroy": {
  10614. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  10615. "type": "integer"
  10616. },
  10617. "couponholdid": {
  10618. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  10619. "type": "string"
  10620. },
  10621. "couponname": {
  10622. "description": "优惠券名称",
  10623. "type": "string"
  10624. },
  10625. "coupontypeid": {
  10626. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  10627. "type": "string"
  10628. },
  10629. "couponvalue": {
  10630. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  10631. "type": "number"
  10632. },
  10633. "createtime": {
  10634. "description": "创建时间",
  10635. "type": "string"
  10636. },
  10637. "enddate": {
  10638. "description": "结束日期",
  10639. "type": "string"
  10640. },
  10641. "giveapplyid": {
  10642. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  10643. "type": "integer"
  10644. },
  10645. "holdstatus": {
  10646. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  10647. "type": "integer"
  10648. },
  10649. "isgeneral": {
  10650. "description": "是否通用券 - 0:否 1:是",
  10651. "type": "integer"
  10652. },
  10653. "limitedflag": {
  10654. "description": "是否指定商品 - 0:不限 1:限制",
  10655. "type": "integer"
  10656. },
  10657. "limitedgoodsids": {
  10658. "description": "指定商品IDs[逗号分隔]",
  10659. "type": "string"
  10660. },
  10661. "qty": {
  10662. "description": "数量(按1平铺)",
  10663. "type": "integer"
  10664. },
  10665. "startdate": {
  10666. "description": "开始日期",
  10667. "type": "string"
  10668. },
  10669. "userid": {
  10670. "description": "用户ID",
  10671. "type": "integer"
  10672. },
  10673. "userscope": {
  10674. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  10675. "type": "string"
  10676. }
  10677. }
  10678. },
  10679. "models.MyUsedCoupon": {
  10680. "type": "object",
  10681. "required": [
  10682. "coupontypeid",
  10683. "orderid"
  10684. ],
  10685. "properties": {
  10686. "accountid": {
  10687. "description": "资金账户ID(买方)",
  10688. "type": "integer"
  10689. },
  10690. "conditionvalue": {
  10691. "description": "条件阈值(可为0)",
  10692. "type": "number"
  10693. },
  10694. "couponcategroy": {
  10695. "description": "种类 - 1:现金券 2:折扣券",
  10696. "type": "integer"
  10697. },
  10698. "couponname": {
  10699. "description": "优惠券名称",
  10700. "type": "string"
  10701. },
  10702. "coupontypeid": {
  10703. "description": "优惠券类型ID(买方)",
  10704. "type": "string"
  10705. },
  10706. "couponvalue": {
  10707. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  10708. "type": "number"
  10709. },
  10710. "createtime": {
  10711. "description": "创建时间",
  10712. "type": "string"
  10713. },
  10714. "goodsid": {
  10715. "description": "商品ID",
  10716. "type": "integer"
  10717. },
  10718. "handlestatus": {
  10719. "description": "处理状态",
  10720. "type": "integer"
  10721. },
  10722. "marketid": {
  10723. "description": "市场ID",
  10724. "type": "integer"
  10725. },
  10726. "offamount": {
  10727. "description": "优惠金额",
  10728. "type": "number"
  10729. },
  10730. "orderid": {
  10731. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10732. "type": "string"
  10733. },
  10734. "sellaccountid": {
  10735. "description": "资金账户ID(卖方)",
  10736. "type": "integer"
  10737. },
  10738. "tradeamount": {
  10739. "description": "成交金额",
  10740. "type": "number"
  10741. },
  10742. "tradeid": {
  10743. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10744. "type": "string"
  10745. },
  10746. "usedqty": {
  10747. "description": "使用数量",
  10748. "type": "integer"
  10749. }
  10750. }
  10751. },
  10752. "models.OperationPrimaryMenu": {
  10753. "type": "object",
  10754. "properties": {
  10755. "Children": {
  10756. "description": "二级功能菜单",
  10757. "type": "array",
  10758. "items": {
  10759. "$ref": "#/definitions/models.OperationSecondaryMenu"
  10760. }
  10761. },
  10762. "Key": {
  10763. "description": "菜单KEY",
  10764. "type": "string"
  10765. },
  10766. "Label": {
  10767. "description": "菜单标题",
  10768. "type": "string"
  10769. }
  10770. }
  10771. },
  10772. "models.OperationSecondaryMenu": {
  10773. "type": "object",
  10774. "properties": {
  10775. "Key": {
  10776. "description": "菜单KEY",
  10777. "type": "string"
  10778. },
  10779. "Label": {
  10780. "description": "菜单标题",
  10781. "type": "string"
  10782. },
  10783. "TabList": {
  10784. "description": "三级功能菜单",
  10785. "type": "array",
  10786. "items": {
  10787. "$ref": "#/definitions/models.OperationTabMenu"
  10788. }
  10789. }
  10790. }
  10791. },
  10792. "models.OperationTabMenu": {
  10793. "type": "object",
  10794. "properties": {
  10795. "Key": {
  10796. "description": "菜单KEY",
  10797. "type": "string"
  10798. },
  10799. "Label": {
  10800. "description": "菜单标题",
  10801. "type": "string"
  10802. }
  10803. }
  10804. },
  10805. "models.QuotePrimaryMenu": {
  10806. "type": "object",
  10807. "properties": {
  10808. "Index": {
  10809. "description": "序号",
  10810. "type": "integer"
  10811. },
  10812. "Key": {
  10813. "description": "键名",
  10814. "type": "string"
  10815. },
  10816. "Name": {
  10817. "description": "菜单名称",
  10818. "type": "string"
  10819. },
  10820. "SubMenus": {
  10821. "description": "子菜单",
  10822. "type": "array",
  10823. "items": {
  10824. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  10825. }
  10826. },
  10827. "SubTitleType": {
  10828. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  10829. "type": "integer"
  10830. },
  10831. "TradeModes": {
  10832. "description": "包含市场交易类型",
  10833. "type": "string"
  10834. }
  10835. }
  10836. },
  10837. "models.QuoteSecondaryMenu": {
  10838. "type": "object",
  10839. "properties": {
  10840. "ExExchangeCode": {
  10841. "description": "外部交易所代码",
  10842. "type": "string"
  10843. },
  10844. "ExExchangeID": {
  10845. "description": "外部交易所ID",
  10846. "type": "integer"
  10847. },
  10848. "GoodsGroupIDs": {
  10849. "description": "商品组ID列表",
  10850. "type": "array",
  10851. "items": {
  10852. "type": "integer"
  10853. }
  10854. },
  10855. "Index": {
  10856. "description": "序号",
  10857. "type": "integer"
  10858. },
  10859. "MarketID": {
  10860. "description": "市场ID",
  10861. "type": "integer"
  10862. },
  10863. "MenuTitle": {
  10864. "description": "菜单标题(市场名称或外部交易所名称)",
  10865. "type": "string"
  10866. },
  10867. "TradeMode": {
  10868. "description": "交易模式",
  10869. "type": "integer"
  10870. }
  10871. }
  10872. },
  10873. "models.SearchGoods": {
  10874. "type": "object",
  10875. "required": [
  10876. "goodscode",
  10877. "goodsid",
  10878. "goodsname",
  10879. "marketid",
  10880. "trademode"
  10881. ],
  10882. "properties": {
  10883. "goodscode": {
  10884. "description": "商品代码(内部)",
  10885. "type": "string"
  10886. },
  10887. "goodsid": {
  10888. "description": "商品ID(自增ID SEQ_GOODS)",
  10889. "type": "integer"
  10890. },
  10891. "goodsname": {
  10892. "description": "商品名称",
  10893. "type": "string"
  10894. },
  10895. "marketid": {
  10896. "description": "所属市场ID",
  10897. "type": "integer"
  10898. },
  10899. "marketname": {
  10900. "description": "市场名称",
  10901. "type": "string"
  10902. },
  10903. "trademode": {
  10904. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10905. "type": "integer"
  10906. }
  10907. }
  10908. },
  10909. "models.Szdz2imageconfig": {
  10910. "type": "object",
  10911. "required": [
  10912. "configid"
  10913. ],
  10914. "properties": {
  10915. "configid": {
  10916. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  10917. "type": "integer"
  10918. },
  10919. "imagepath": {
  10920. "description": "图片",
  10921. "type": "string"
  10922. },
  10923. "imagetype": {
  10924. "description": "类型 - 1:App首页轮播 2:我的",
  10925. "type": "integer"
  10926. },
  10927. "sort": {
  10928. "description": "排序",
  10929. "type": "integer"
  10930. },
  10931. "title": {
  10932. "description": "标题",
  10933. "type": "string"
  10934. },
  10935. "url": {
  10936. "description": "链接",
  10937. "type": "string"
  10938. }
  10939. }
  10940. },
  10941. "models.Szdz3convertconfig": {
  10942. "type": "object",
  10943. "required": [
  10944. "converttype",
  10945. "innergoodsid",
  10946. "outergoodscode"
  10947. ],
  10948. "properties": {
  10949. "canin": {
  10950. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  10951. "type": "integer"
  10952. },
  10953. "canout": {
  10954. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  10955. "type": "integer"
  10956. },
  10957. "converttype": {
  10958. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10959. "type": "integer"
  10960. },
  10961. "createtime": {
  10962. "description": "创建时间",
  10963. "type": "string"
  10964. },
  10965. "creatorid": {
  10966. "description": "创建人",
  10967. "type": "integer"
  10968. },
  10969. "daymaxvalue": {
  10970. "description": "当日最大转入限制",
  10971. "type": "number"
  10972. },
  10973. "freezedays": {
  10974. "description": "冻结天数 [5:花生米转交易]",
  10975. "type": "integer"
  10976. },
  10977. "innergoodsid": {
  10978. "description": "内部商品ID[交易]",
  10979. "type": "integer"
  10980. },
  10981. "inratio": {
  10982. "description": "目标值",
  10983. "type": "integer"
  10984. },
  10985. "modifierid": {
  10986. "description": "修改人",
  10987. "type": "integer"
  10988. },
  10989. "modifytime": {
  10990. "description": "修改时间",
  10991. "type": "string"
  10992. },
  10993. "outergoodscode": {
  10994. "description": "外部商品代码[JD\\PD]",
  10995. "type": "string"
  10996. },
  10997. "outratio": {
  10998. "description": "源值",
  10999. "type": "integer"
  11000. },
  11001. "pddecimalplace": {
  11002. "description": "PD小数位",
  11003. "type": "integer"
  11004. },
  11005. "timemaxvalue": {
  11006. "description": "单次最大转入限制",
  11007. "type": "number"
  11008. },
  11009. "timeminvalue": {
  11010. "description": "单次最小转入限制",
  11011. "type": "number"
  11012. }
  11013. }
  11014. },
  11015. "models.Szdz3searchwhitelist": {
  11016. "type": "object",
  11017. "required": [
  11018. "userid"
  11019. ],
  11020. "properties": {
  11021. "createtime": {
  11022. "description": "创建时间",
  11023. "type": "string"
  11024. },
  11025. "creatorid": {
  11026. "description": "创建人",
  11027. "type": "integer"
  11028. },
  11029. "modifierid": {
  11030. "description": "修改人",
  11031. "type": "integer"
  11032. },
  11033. "modifytime": {
  11034. "description": "修改时间",
  11035. "type": "string"
  11036. },
  11037. "userid": {
  11038. "description": "用户ID",
  11039. "type": "integer"
  11040. }
  11041. }
  11042. },
  11043. "models.Tablecolumnconfig": {
  11044. "type": "object",
  11045. "required": [
  11046. "autoid"
  11047. ],
  11048. "properties": {
  11049. "aligntype": {
  11050. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  11051. "type": "integer"
  11052. },
  11053. "autoid": {
  11054. "description": "AutoID",
  11055. "type": "integer"
  11056. },
  11057. "columnfield": {
  11058. "description": "列字段",
  11059. "type": "string"
  11060. },
  11061. "columntitle": {
  11062. "description": "列Title",
  11063. "type": "string"
  11064. },
  11065. "columnwidth": {
  11066. "description": "列宽",
  11067. "type": "string"
  11068. },
  11069. "formatterstring": {
  11070. "description": "格式化字符",
  11071. "type": "string"
  11072. },
  11073. "formattertype": {
  11074. "description": "格式化类型",
  11075. "type": "string"
  11076. },
  11077. "groupname": {
  11078. "description": "表头分组名称",
  11079. "type": "string"
  11080. },
  11081. "isshow": {
  11082. "description": "是否显示 - 0:不显示 1:显示",
  11083. "type": "integer"
  11084. },
  11085. "needsummary": {
  11086. "description": "是否需要汇总 - 0:不需要 1:需要",
  11087. "type": "integer"
  11088. },
  11089. "orderindex": {
  11090. "description": "顺序",
  11091. "type": "integer"
  11092. },
  11093. "remark": {
  11094. "description": "备注",
  11095. "type": "string"
  11096. },
  11097. "summarytype": {
  11098. "description": "汇总类型 - 1:加总 2:最后一个",
  11099. "type": "integer"
  11100. },
  11101. "tablekey": {
  11102. "description": "列表Key",
  11103. "type": "string"
  11104. }
  11105. }
  11106. },
  11107. "models.Useraccount": {
  11108. "type": "object",
  11109. "required": [
  11110. "userid"
  11111. ],
  11112. "properties": {
  11113. "accountname": {
  11114. "description": "账户名称(机构名称)",
  11115. "type": "string"
  11116. },
  11117. "accountstatus": {
  11118. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  11119. "type": "integer"
  11120. },
  11121. "auditremark": {
  11122. "description": "审核备注",
  11123. "type": "string"
  11124. },
  11125. "audittime": {
  11126. "description": "审核时间",
  11127. "type": "string"
  11128. },
  11129. "audituserid": {
  11130. "description": "审核人",
  11131. "type": "integer"
  11132. },
  11133. "broker": {
  11134. "description": "所属经纪人ID",
  11135. "type": "integer"
  11136. },
  11137. "canceltime": {
  11138. "description": "销户时间",
  11139. "type": "string"
  11140. },
  11141. "canceluserid": {
  11142. "description": "销户人",
  11143. "type": "integer"
  11144. },
  11145. "createtime": {
  11146. "description": "创建时间",
  11147. "type": "string"
  11148. },
  11149. "creatorid": {
  11150. "description": "创建人",
  11151. "type": "integer"
  11152. },
  11153. "hasauth": {
  11154. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  11155. "type": "integer"
  11156. },
  11157. "isanonymous": {
  11158. "description": "是否匿名下单 - 0:否 1:是",
  11159. "type": "integer"
  11160. },
  11161. "maxinvestornum": {
  11162. "description": "最大用户数(经纪会员下投资者个数)",
  11163. "type": "integer"
  11164. },
  11165. "memberuserid": {
  11166. "description": "所属会员ID",
  11167. "type": "integer"
  11168. },
  11169. "modifierid": {
  11170. "description": "修改人",
  11171. "type": "integer"
  11172. },
  11173. "modifyremark": {
  11174. "description": "变更备注",
  11175. "type": "string"
  11176. },
  11177. "modifystatus": {
  11178. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  11179. "type": "integer"
  11180. },
  11181. "modifytime": {
  11182. "description": "修改时间",
  11183. "type": "string"
  11184. },
  11185. "parentuserid": {
  11186. "description": "所属机构ID",
  11187. "type": "integer"
  11188. },
  11189. "reckonaccountid": {
  11190. "description": "默认结算资金账号ID(机构分润使用) 作废",
  11191. "type": "integer"
  11192. },
  11193. "refercount": {
  11194. "description": "推荐总人数",
  11195. "type": "integer"
  11196. },
  11197. "refereeuserid": {
  11198. "description": "推荐人ID",
  11199. "type": "integer"
  11200. },
  11201. "refernum": {
  11202. "description": "推荐码",
  11203. "type": "string"
  11204. },
  11205. "subarealevelpath": {
  11206. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  11207. "type": "string"
  11208. },
  11209. "userid": {
  11210. "description": "用户ID",
  11211. "type": "integer"
  11212. },
  11213. "usertype": {
  11214. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  11215. "type": "integer"
  11216. }
  11217. }
  11218. },
  11219. "models.Userfavoritegoods": {
  11220. "type": "object",
  11221. "required": [
  11222. "goodsid"
  11223. ],
  11224. "properties": {
  11225. "goodsid": {
  11226. "description": "商品ID",
  11227. "type": "integer"
  11228. }
  11229. }
  11230. },
  11231. "models.Userinfo": {
  11232. "type": "object",
  11233. "required": [
  11234. "userid"
  11235. ],
  11236. "properties": {
  11237. "address": {
  11238. "description": "地址",
  11239. "type": "string"
  11240. },
  11241. "attachment1": {
  11242. "description": "附件1",
  11243. "type": "string"
  11244. },
  11245. "attachment2": {
  11246. "description": "附件2",
  11247. "type": "string"
  11248. },
  11249. "bankaccount": {
  11250. "description": "银行帐号 (加密存储)",
  11251. "type": "string"
  11252. },
  11253. "bankaccountname": {
  11254. "description": "收款人名称",
  11255. "type": "string"
  11256. },
  11257. "bankcardfrontphotourl": {
  11258. "description": "银行卡正面照地址",
  11259. "type": "string"
  11260. },
  11261. "bankid": {
  11262. "description": "银行编码",
  11263. "type": "string"
  11264. },
  11265. "bankname": {
  11266. "description": "银行名称",
  11267. "type": "string"
  11268. },
  11269. "biznature": {
  11270. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11271. "type": "integer"
  11272. },
  11273. "bizscope": {
  11274. "description": "企业经营范围(企业)",
  11275. "type": "string"
  11276. },
  11277. "cardbackphotourl": {
  11278. "description": "证件背面图片地址",
  11279. "type": "string"
  11280. },
  11281. "cardfrontphotourl": {
  11282. "description": "证件正面图片地址",
  11283. "type": "string"
  11284. },
  11285. "cardnum": {
  11286. "description": "证件号码(加密存储)",
  11287. "type": "string"
  11288. },
  11289. "cardtypeid": {
  11290. "description": "证件类型ID",
  11291. "type": "integer"
  11292. },
  11293. "cityid": {
  11294. "description": "市",
  11295. "type": "integer"
  11296. },
  11297. "company": {
  11298. "description": "公司(个人)",
  11299. "type": "string"
  11300. },
  11301. "contactname": {
  11302. "description": "联系人",
  11303. "type": "string"
  11304. },
  11305. "countryid": {
  11306. "description": "国家",
  11307. "type": "integer"
  11308. },
  11309. "createtime": {
  11310. "description": "创建时间",
  11311. "type": "string"
  11312. },
  11313. "creatorid": {
  11314. "description": "创建人",
  11315. "type": "integer"
  11316. },
  11317. "customername": {
  11318. "description": "客户名称(企业名称)",
  11319. "type": "string"
  11320. },
  11321. "districtid": {
  11322. "description": "地区",
  11323. "type": "integer"
  11324. },
  11325. "email": {
  11326. "description": "邮件(加密存储)",
  11327. "type": "string"
  11328. },
  11329. "fax": {
  11330. "description": "传真(加密存储)",
  11331. "type": "string"
  11332. },
  11333. "halfbodyphotourl": {
  11334. "description": "半身照地址",
  11335. "type": "string"
  11336. },
  11337. "hasencrypt": {
  11338. "description": "数据是否已加密 - 0:未加密 1:已加密",
  11339. "type": "integer"
  11340. },
  11341. "headurl": {
  11342. "description": "头像地址",
  11343. "type": "string"
  11344. },
  11345. "legalcardbackphotourl": {
  11346. "description": "法人身份证背面照地址",
  11347. "type": "string"
  11348. },
  11349. "legalcardfrontphotourl": {
  11350. "description": "法人身份证正面照地址",
  11351. "type": "string"
  11352. },
  11353. "legalpersonname": {
  11354. "description": "法人姓名(企业)",
  11355. "type": "string"
  11356. },
  11357. "mobile": {
  11358. "description": "手机号码(加密存储)",
  11359. "type": "string"
  11360. },
  11361. "mobile2": {
  11362. "description": "手机号码[明文-尚志]",
  11363. "type": "string"
  11364. },
  11365. "modifierid": {
  11366. "description": "修改人",
  11367. "type": "integer"
  11368. },
  11369. "modifiertime": {
  11370. "description": "修改时间",
  11371. "type": "string"
  11372. },
  11373. "needinvoice": {
  11374. "description": "是否需要发票 - 0:不需要 1:需要",
  11375. "type": "integer"
  11376. },
  11377. "nickname": {
  11378. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  11379. "type": "string"
  11380. },
  11381. "openmode": {
  11382. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  11383. "type": "integer"
  11384. },
  11385. "otherurl": {
  11386. "description": "其它图片地址[使用分号分隔]",
  11387. "type": "string"
  11388. },
  11389. "postalcode": {
  11390. "description": "邮政编码",
  11391. "type": "string"
  11392. },
  11393. "provinceid": {
  11394. "description": "省",
  11395. "type": "integer"
  11396. },
  11397. "qq": {
  11398. "description": "QQ(加密存储",
  11399. "type": "string"
  11400. },
  11401. "remark": {
  11402. "description": "备注",
  11403. "type": "string"
  11404. },
  11405. "sex": {
  11406. "description": "用户性别 0: 女 1: 男",
  11407. "type": "integer"
  11408. },
  11409. "signpdfurl": {
  11410. "description": "签约pdf文件",
  11411. "type": "string"
  11412. },
  11413. "telphone": {
  11414. "description": "联系电话(加密存储)",
  11415. "type": "string"
  11416. },
  11417. "userid": {
  11418. "description": "用户ID",
  11419. "type": "integer"
  11420. },
  11421. "userinfotype": {
  11422. "description": "用户信息类型 - 1:个人 2:企业",
  11423. "type": "integer"
  11424. },
  11425. "userstatus": {
  11426. "description": "用户状态 - 1:正常 2:注销",
  11427. "type": "integer"
  11428. },
  11429. "usertype": {
  11430. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  11431. "type": "integer"
  11432. },
  11433. "wechat": {
  11434. "description": "微信(加密存储)",
  11435. "type": "string"
  11436. },
  11437. "wskhinfo": {
  11438. "description": "开户申请信息(JSON)",
  11439. "type": "string"
  11440. }
  11441. }
  11442. },
  11443. "models.WRCategoryTree": {
  11444. "type": "object",
  11445. "required": [
  11446. "categoryid"
  11447. ],
  11448. "properties": {
  11449. "areauserid": {
  11450. "description": "所属机构",
  11451. "type": "integer"
  11452. },
  11453. "categorydesc": {
  11454. "description": "类别描述",
  11455. "type": "string"
  11456. },
  11457. "categoryid": {
  11458. "description": "类别ID(SEQ_WRCATEGORY)",
  11459. "type": "integer"
  11460. },
  11461. "categoryname": {
  11462. "description": "类别名称",
  11463. "type": "string"
  11464. },
  11465. "iconurl": {
  11466. "description": "图标地址",
  11467. "type": "string"
  11468. },
  11469. "orderindex": {
  11470. "description": "顺序",
  11471. "type": "integer"
  11472. },
  11473. "parentcategoryid": {
  11474. "description": "父类别ID",
  11475. "type": "integer"
  11476. },
  11477. "subcategory": {
  11478. "description": "子分类",
  11479. "type": "array",
  11480. "items": {
  11481. "$ref": "#/definitions/models.WRCategoryTree"
  11482. }
  11483. }
  11484. }
  11485. },
  11486. "models.WRStandardInfo": {
  11487. "type": "object",
  11488. "required": [
  11489. "wrstandardid"
  11490. ],
  11491. "properties": {
  11492. "createtime": {
  11493. "description": "创建时间",
  11494. "type": "string"
  11495. },
  11496. "creatorid": {
  11497. "description": "创建人",
  11498. "type": "integer"
  11499. },
  11500. "deliverygoodsid": {
  11501. "description": "品种ID",
  11502. "type": "integer"
  11503. },
  11504. "deliverygoodsname": {
  11505. "description": "交割商品名称",
  11506. "type": "string"
  11507. },
  11508. "factoryitemjson": {
  11509. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  11510. "type": "string"
  11511. },
  11512. "isvalid": {
  11513. "description": "是否有效 - 0:无效 1:有效",
  11514. "type": "integer"
  11515. },
  11516. "minivalue": {
  11517. "description": "最小变动值",
  11518. "type": "integer"
  11519. },
  11520. "minivaluedp": {
  11521. "description": "最小变动值小数位",
  11522. "type": "integer"
  11523. },
  11524. "realminivalue": {
  11525. "description": "实际最小变动值",
  11526. "type": "integer"
  11527. },
  11528. "realminivaluedp": {
  11529. "description": "实际最小变动值小数位",
  11530. "type": "integer"
  11531. },
  11532. "unitid": {
  11533. "description": "单位ID",
  11534. "type": "integer"
  11535. },
  11536. "unitname": {
  11537. "description": "单位",
  11538. "type": "string"
  11539. },
  11540. "updatetime": {
  11541. "description": "更新时间",
  11542. "type": "string"
  11543. },
  11544. "updatorid": {
  11545. "description": "更新人",
  11546. "type": "integer"
  11547. },
  11548. "wrsstatus": {
  11549. "description": "状态 - 作废 - 0:未激活 1:正常",
  11550. "type": "integer"
  11551. },
  11552. "wrstandardcode": {
  11553. "description": "仓单标准代码",
  11554. "type": "string"
  11555. },
  11556. "wrstandardid": {
  11557. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  11558. "type": "integer"
  11559. },
  11560. "wrstandardname": {
  11561. "description": "仓单标准名称",
  11562. "type": "string"
  11563. }
  11564. }
  11565. },
  11566. "models.Warehouseinfo": {
  11567. "type": "object",
  11568. "required": [
  11569. "autoid",
  11570. "warehousecode"
  11571. ],
  11572. "properties": {
  11573. "address": {
  11574. "description": "详细地址",
  11575. "type": "string"
  11576. },
  11577. "areauserid": {
  11578. "description": "所属机构",
  11579. "type": "integer"
  11580. },
  11581. "autoid": {
  11582. "description": "自增ID",
  11583. "type": "integer"
  11584. },
  11585. "cityid": {
  11586. "description": "市",
  11587. "type": "integer"
  11588. },
  11589. "contactname": {
  11590. "description": "联系人",
  11591. "type": "string"
  11592. },
  11593. "contactnum": {
  11594. "description": "联系电话",
  11595. "type": "string"
  11596. },
  11597. "countryid": {
  11598. "description": "国家",
  11599. "type": "integer"
  11600. },
  11601. "createtime": {
  11602. "description": "创建时间",
  11603. "type": "string"
  11604. },
  11605. "districtid": {
  11606. "description": "区",
  11607. "type": "integer"
  11608. },
  11609. "hasvideo": {
  11610. "description": "是否有视频 - 0:无 1:有",
  11611. "type": "integer"
  11612. },
  11613. "provinceid": {
  11614. "description": "省",
  11615. "type": "integer"
  11616. },
  11617. "remark": {
  11618. "description": "审核备注",
  11619. "type": "string"
  11620. },
  11621. "videourl": {
  11622. "description": "视频地址",
  11623. "type": "string"
  11624. },
  11625. "warehousecode": {
  11626. "description": "仓库代码",
  11627. "type": "string"
  11628. },
  11629. "warehousename": {
  11630. "description": "仓库名称",
  11631. "type": "string"
  11632. },
  11633. "warehousestatus": {
  11634. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  11635. "type": "integer"
  11636. },
  11637. "warehousetype": {
  11638. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11639. "type": "integer"
  11640. }
  11641. }
  11642. },
  11643. "order.QueryHisTradeDetailRsp": {
  11644. "type": "object",
  11645. "required": [
  11646. "accountid",
  11647. "buyorsell",
  11648. "goodsid",
  11649. "histradedate",
  11650. "marketid",
  11651. "memberuserid",
  11652. "orderid",
  11653. "tradeamount",
  11654. "tradedate",
  11655. "tradeid",
  11656. "tradeprice",
  11657. "tradeqty",
  11658. "tradetime"
  11659. ],
  11660. "properties": {
  11661. "accountid": {
  11662. "description": "账户ID[报价币种]",
  11663. "type": "integer"
  11664. },
  11665. "buildtype": {
  11666. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  11667. "type": "integer"
  11668. },
  11669. "buyorsell": {
  11670. "description": "方向 - 0:买 1:卖",
  11671. "type": "integer"
  11672. },
  11673. "charge": {
  11674. "description": "手续费",
  11675. "type": "number"
  11676. },
  11677. "closecharge": {
  11678. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  11679. "type": "number"
  11680. },
  11681. "closeexchagechargevalue": {
  11682. "description": "平仓交易所手续费设置值",
  11683. "type": "number"
  11684. },
  11685. "closefeealgorithm": {
  11686. "description": "平仓手续费收取方式 1:比率 2:固定",
  11687. "type": "integer"
  11688. },
  11689. "closememberchargevalue": {
  11690. "description": "平仓会员手续费设置值",
  11691. "type": "number"
  11692. },
  11693. "closepl": {
  11694. "description": "平仓盈亏",
  11695. "type": "number"
  11696. },
  11697. "closepl2": {
  11698. "description": "平仓盈亏[逐笔]",
  11699. "type": "number"
  11700. },
  11701. "closeqty": {
  11702. "description": "平仓数量(先建后平操作 需要记录)",
  11703. "type": "integer"
  11704. },
  11705. "creditamount": {
  11706. "description": "授信金额",
  11707. "type": "number"
  11708. },
  11709. "gcaccountid": {
  11710. "description": "账户ID[合约币种]",
  11711. "type": "integer"
  11712. },
  11713. "goodscode": {
  11714. "description": "商品代码",
  11715. "type": "string"
  11716. },
  11717. "goodsid": {
  11718. "description": "商品ID",
  11719. "type": "integer"
  11720. },
  11721. "goodsname": {
  11722. "description": "商品名称",
  11723. "type": "string"
  11724. },
  11725. "histradedate": {
  11726. "description": "历史交易日",
  11727. "type": "string"
  11728. },
  11729. "intclosepl": {
  11730. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  11731. "type": "integer"
  11732. },
  11733. "isconfirmexercise": {
  11734. "description": "是否确认行权- 0:否 1:是",
  11735. "type": "integer"
  11736. },
  11737. "ismain": {
  11738. "description": "是否主单 - 0:不是 1:是",
  11739. "type": "integer"
  11740. },
  11741. "ispreexercise": {
  11742. "description": "是否预申报- 0:否 1:是",
  11743. "type": "integer"
  11744. },
  11745. "isreckoned": {
  11746. "description": "是否结算 - 0:未结算 1:已结算",
  11747. "type": "integer"
  11748. },
  11749. "isvaliddata": {
  11750. "description": "是否有效 - 0:无效 1:有效",
  11751. "type": "integer"
  11752. },
  11753. "listingselecttype": {
  11754. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11755. "type": "integer"
  11756. },
  11757. "marketid": {
  11758. "description": "市场ID",
  11759. "type": "integer"
  11760. },
  11761. "marketname": {
  11762. "description": "市场名称",
  11763. "type": "string"
  11764. },
  11765. "matchaccountid": {
  11766. "description": "对手账号id",
  11767. "type": "integer"
  11768. },
  11769. "memberuserid": {
  11770. "description": "会员id 个人投资者 需要填写",
  11771. "type": "integer"
  11772. },
  11773. "opencharge": {
  11774. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  11775. "type": "number"
  11776. },
  11777. "openexchagechargevalue": {
  11778. "description": "建仓交易所手续费设置值",
  11779. "type": "number"
  11780. },
  11781. "openfeealgorithm": {
  11782. "description": "建仓手续费收取方式 1:比率 2:固定",
  11783. "type": "integer"
  11784. },
  11785. "openmemberchargevalue": {
  11786. "description": "建仓会员手续费设置值",
  11787. "type": "number"
  11788. },
  11789. "openqty": {
  11790. "description": "开仓数量(先建后平操作 需要记录)",
  11791. "type": "integer"
  11792. },
  11793. "optiontype": {
  11794. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  11795. "type": "integer"
  11796. },
  11797. "orderid": {
  11798. "description": "委托单号",
  11799. "type": "string"
  11800. },
  11801. "performanceplanid": {
  11802. "description": "履约计划ID[期权]",
  11803. "type": "integer"
  11804. },
  11805. "performancestatus": {
  11806. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  11807. "type": "integer"
  11808. },
  11809. "preexerciseprice": {
  11810. "description": "预申报价格",
  11811. "type": "number"
  11812. },
  11813. "premium": {
  11814. "description": "权利金 - [持仓单的权利金]",
  11815. "type": "number"
  11816. },
  11817. "relatedouttradeid": {
  11818. "description": "关联外部成交单ID",
  11819. "type": "integer"
  11820. },
  11821. "status": {
  11822. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  11823. "type": "integer"
  11824. },
  11825. "tradeamount": {
  11826. "description": "成交金额[账户币种,用于所有权]",
  11827. "type": "number"
  11828. },
  11829. "tradedate": {
  11830. "description": "交易日(yyyyMMdd)",
  11831. "type": "string"
  11832. },
  11833. "tradeid": {
  11834. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11835. "type": "string"
  11836. },
  11837. "trademode": {
  11838. "description": "交易模式",
  11839. "type": "integer"
  11840. },
  11841. "tradeprice": {
  11842. "description": "成交价格",
  11843. "type": "number"
  11844. },
  11845. "tradeproperty": {
  11846. "description": "交易属性",
  11847. "type": "integer"
  11848. },
  11849. "tradeqty": {
  11850. "description": "成交数量",
  11851. "type": "integer"
  11852. },
  11853. "tradetime": {
  11854. "description": "成交时间",
  11855. "type": "string"
  11856. },
  11857. "tradetype": {
  11858. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  11859. "type": "integer"
  11860. }
  11861. }
  11862. },
  11863. "order.QueryHisTradeOrderDetailRsp": {
  11864. "type": "object",
  11865. "required": [
  11866. "accountid",
  11867. "buildtype",
  11868. "buyorsell",
  11869. "goodsid",
  11870. "histradedate",
  11871. "marketid",
  11872. "memberuserid",
  11873. "operatetype",
  11874. "orderid",
  11875. "orderqty",
  11876. "ordertime",
  11877. "pricemode",
  11878. "tradedate",
  11879. "validtype"
  11880. ],
  11881. "properties": {
  11882. "accountid": {
  11883. "description": "账户ID[报价币种]",
  11884. "type": "integer"
  11885. },
  11886. "buildtype": {
  11887. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  11888. "type": "integer"
  11889. },
  11890. "buyorsell": {
  11891. "description": "买卖 - 0:买 1:卖",
  11892. "type": "integer"
  11893. },
  11894. "cancelorderid": {
  11895. "description": "撤单单号(撤单时填写)",
  11896. "type": "string"
  11897. },
  11898. "cancelqty": {
  11899. "description": "撤单数量",
  11900. "type": "integer"
  11901. },
  11902. "clientordertime": {
  11903. "description": "客户端委托时间",
  11904. "type": "string"
  11905. },
  11906. "clientticket": {
  11907. "description": "客户端流水号",
  11908. "type": "string"
  11909. },
  11910. "clienttype": {
  11911. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  11912. "type": "integer"
  11913. },
  11914. "closeexchagechargevalue": {
  11915. "description": "平仓交易所手续费设置值",
  11916. "type": "number"
  11917. },
  11918. "closefeealgorithm": {
  11919. "description": "平仓手续费收取方式 1:比率 2:固定",
  11920. "type": "integer"
  11921. },
  11922. "closefreezecharge": {
  11923. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  11924. "type": "number"
  11925. },
  11926. "closememberchargevalue": {
  11927. "description": "平仓会员手续费设置值",
  11928. "type": "number"
  11929. },
  11930. "closeqty": {
  11931. "description": "平仓数量(先建后平操作 需要记录)",
  11932. "type": "integer"
  11933. },
  11934. "closetradeqty": {
  11935. "description": "平仓成交数量(先建后平操作,需要记录)",
  11936. "type": "integer"
  11937. },
  11938. "closeunfreezecharge": {
  11939. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  11940. "type": "number"
  11941. },
  11942. "delistingtype": {
  11943. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  11944. "type": "integer"
  11945. },
  11946. "freezecharge": {
  11947. "description": "冻结手续费",
  11948. "type": "number"
  11949. },
  11950. "freezemargin": {
  11951. "description": "冻结保证金(冻结交易金额)",
  11952. "type": "number"
  11953. },
  11954. "gcaccountid": {
  11955. "description": "账户ID[合约币种]",
  11956. "type": "integer"
  11957. },
  11958. "goodscode": {
  11959. "description": "商品代码",
  11960. "type": "string"
  11961. },
  11962. "goodsid": {
  11963. "description": "商品ID",
  11964. "type": "integer"
  11965. },
  11966. "goodsname": {
  11967. "description": "商品名称",
  11968. "type": "string"
  11969. },
  11970. "histradedate": {
  11971. "description": "历史交易日",
  11972. "type": "string"
  11973. },
  11974. "isconfirmexercise": {
  11975. "description": "是否确认行权- 0:否 1:是",
  11976. "type": "integer"
  11977. },
  11978. "ispreexercise": {
  11979. "description": "是否预申报- 0:否 1:是",
  11980. "type": "integer"
  11981. },
  11982. "isvaliddata": {
  11983. "description": "是否有效 - 0:无效 1:有效",
  11984. "type": "integer"
  11985. },
  11986. "listingselecttype": {
  11987. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11988. "type": "integer"
  11989. },
  11990. "marginalgorithm": {
  11991. "description": "保证金收取方式 1:比率 2:固定",
  11992. "type": "integer"
  11993. },
  11994. "marginvalue": {
  11995. "description": "即市保证金设置值",
  11996. "type": "number"
  11997. },
  11998. "marketid": {
  11999. "description": "市场ID",
  12000. "type": "integer"
  12001. },
  12002. "marketmaxsub": {
  12003. "description": "市价最大偏移范围",
  12004. "type": "number"
  12005. },
  12006. "marketname": {
  12007. "description": "市场名称",
  12008. "type": "string"
  12009. },
  12010. "memberuserid": {
  12011. "description": "所属会员UserID",
  12012. "type": "integer"
  12013. },
  12014. "openexchagechargevalue": {
  12015. "description": "建仓交易所手续费设置值",
  12016. "type": "number"
  12017. },
  12018. "openfeealgorithm": {
  12019. "description": "建仓手续费收取方式 1:比率 2:固定",
  12020. "type": "integer"
  12021. },
  12022. "openfreezecharge": {
  12023. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  12024. "type": "number"
  12025. },
  12026. "openmemberchargevalue": {
  12027. "description": "建仓会员手续费设置值",
  12028. "type": "number"
  12029. },
  12030. "openqty": {
  12031. "description": "开仓数量(先建后平操作,需要记录)",
  12032. "type": "integer"
  12033. },
  12034. "opentradeqty": {
  12035. "description": "开仓成交数量(先建后平操作,需要记录)",
  12036. "type": "integer"
  12037. },
  12038. "openunfreezecharge": {
  12039. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  12040. "type": "number"
  12041. },
  12042. "operatetype": {
  12043. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  12044. "type": "integer"
  12045. },
  12046. "operatorid": {
  12047. "description": "登录账号(LoginID)",
  12048. "type": "integer"
  12049. },
  12050. "optiontype": {
  12051. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  12052. "type": "integer"
  12053. },
  12054. "orderid": {
  12055. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12056. "type": "string"
  12057. },
  12058. "orderprice": {
  12059. "description": "委托价格",
  12060. "type": "number"
  12061. },
  12062. "orderqty": {
  12063. "description": "委托数量",
  12064. "type": "integer"
  12065. },
  12066. "ordersrc": {
  12067. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  12068. "type": "integer"
  12069. },
  12070. "orderstatus": {
  12071. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12072. "type": "integer"
  12073. },
  12074. "ordertime": {
  12075. "description": "委托时间",
  12076. "type": "string"
  12077. },
  12078. "preexerciseprice": {
  12079. "description": "预申报价格",
  12080. "type": "number"
  12081. },
  12082. "premium": {
  12083. "description": "权利金",
  12084. "type": "number"
  12085. },
  12086. "preorderid": {
  12087. "description": "关联预埋单号(止盈止损单时填写)",
  12088. "type": "string"
  12089. },
  12090. "pricemode": {
  12091. "description": "取价方式 - 1:市价 2: 限价",
  12092. "type": "integer"
  12093. },
  12094. "quoteid": {
  12095. "description": "报价单ID",
  12096. "type": "integer"
  12097. },
  12098. "relatedid": {
  12099. "description": "关联单号(交割单)",
  12100. "type": "string"
  12101. },
  12102. "retcode": {
  12103. "description": "错误代码",
  12104. "type": "integer"
  12105. },
  12106. "sessionid": {
  12107. "description": "会话ID",
  12108. "type": "integer"
  12109. },
  12110. "tradedate": {
  12111. "description": "交易日(yyyyMMdd)",
  12112. "type": "string"
  12113. },
  12114. "trademode": {
  12115. "description": "交易模式",
  12116. "type": "integer"
  12117. },
  12118. "tradeproperty": {
  12119. "description": "交易属性",
  12120. "type": "integer"
  12121. },
  12122. "tradeqty": {
  12123. "description": "成交数量",
  12124. "type": "integer"
  12125. },
  12126. "unfreezecharge": {
  12127. "description": "解冻手续费",
  12128. "type": "number"
  12129. },
  12130. "unfreezemargin": {
  12131. "description": "解冻保证金",
  12132. "type": "number"
  12133. },
  12134. "updatetime": {
  12135. "description": "更新时间",
  12136. "type": "string"
  12137. },
  12138. "uuid": {
  12139. "description": "发起端唯一id",
  12140. "type": "string"
  12141. },
  12142. "validtime": {
  12143. "description": "有效期限",
  12144. "type": "string"
  12145. },
  12146. "validtype": {
  12147. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  12148. "type": "integer"
  12149. },
  12150. "volumetype": {
  12151. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  12152. "type": "integer"
  12153. }
  12154. }
  12155. },
  12156. "order.QueryTradeDetailRsp": {
  12157. "type": "object",
  12158. "required": [
  12159. "accountid",
  12160. "buyorsell",
  12161. "goodsid",
  12162. "marketid",
  12163. "memberuserid",
  12164. "orderid",
  12165. "tradeamount",
  12166. "tradedate",
  12167. "tradeid",
  12168. "tradeprice",
  12169. "tradeqty",
  12170. "tradetime"
  12171. ],
  12172. "properties": {
  12173. "accountid": {
  12174. "description": "账户ID[报价币种]",
  12175. "type": "integer"
  12176. },
  12177. "buildtype": {
  12178. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  12179. "type": "integer"
  12180. },
  12181. "buyorsell": {
  12182. "description": "方向 - 0:买 1:卖",
  12183. "type": "integer"
  12184. },
  12185. "charge": {
  12186. "description": "手续费",
  12187. "type": "number"
  12188. },
  12189. "closecharge": {
  12190. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  12191. "type": "number"
  12192. },
  12193. "closeexchagechargevalue": {
  12194. "description": "平仓交易所手续费设置值",
  12195. "type": "number"
  12196. },
  12197. "closefeealgorithm": {
  12198. "description": "平仓手续费收取方式 1:比率 2:固定",
  12199. "type": "integer"
  12200. },
  12201. "closememberchargevalue": {
  12202. "description": "平仓会员手续费设置值",
  12203. "type": "number"
  12204. },
  12205. "closepl": {
  12206. "description": "平仓盈亏",
  12207. "type": "number"
  12208. },
  12209. "closepl2": {
  12210. "description": "平仓盈亏[逐笔]",
  12211. "type": "number"
  12212. },
  12213. "closeqty": {
  12214. "description": "平仓数量(先建后平操作 需要记录)",
  12215. "type": "integer"
  12216. },
  12217. "creditamount": {
  12218. "description": "授信金额",
  12219. "type": "number"
  12220. },
  12221. "gcaccountid": {
  12222. "description": "账户ID[合约币种]",
  12223. "type": "integer"
  12224. },
  12225. "goodscode": {
  12226. "description": "商品代码",
  12227. "type": "string"
  12228. },
  12229. "goodsid": {
  12230. "description": "商品ID",
  12231. "type": "integer"
  12232. },
  12233. "goodsname": {
  12234. "description": "商品名称",
  12235. "type": "string"
  12236. },
  12237. "intclosepl": {
  12238. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  12239. "type": "integer"
  12240. },
  12241. "isconfirmexercise": {
  12242. "description": "是否确认行权- 0:否 1:是",
  12243. "type": "integer"
  12244. },
  12245. "ismain": {
  12246. "description": "是否主单 - 0:不是 1:是",
  12247. "type": "integer"
  12248. },
  12249. "ispreexercise": {
  12250. "description": "是否预申报- 0:否 1:是",
  12251. "type": "integer"
  12252. },
  12253. "isreckoned": {
  12254. "description": "是否结算 - 0:未结算 1:已结算",
  12255. "type": "integer"
  12256. },
  12257. "listingselecttype": {
  12258. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  12259. "type": "integer"
  12260. },
  12261. "marketid": {
  12262. "description": "市场ID",
  12263. "type": "integer"
  12264. },
  12265. "marketname": {
  12266. "description": "市场名称",
  12267. "type": "string"
  12268. },
  12269. "matchaccountid": {
  12270. "description": "对手账号id",
  12271. "type": "integer"
  12272. },
  12273. "memberuserid": {
  12274. "description": "会员id 个人投资者 需要填写",
  12275. "type": "integer"
  12276. },
  12277. "opencharge": {
  12278. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  12279. "type": "number"
  12280. },
  12281. "openexchagechargevalue": {
  12282. "description": "建仓交易所手续费设置值",
  12283. "type": "number"
  12284. },
  12285. "openfeealgorithm": {
  12286. "description": "建仓手续费收取方式 1:比率 2:固定",
  12287. "type": "integer"
  12288. },
  12289. "openmemberchargevalue": {
  12290. "description": "建仓会员手续费设置值",
  12291. "type": "number"
  12292. },
  12293. "openqty": {
  12294. "description": "开仓数量(先建后平操作 需要记录)",
  12295. "type": "integer"
  12296. },
  12297. "optiontype": {
  12298. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  12299. "type": "integer"
  12300. },
  12301. "orderid": {
  12302. "description": "委托单号",
  12303. "type": "string"
  12304. },
  12305. "performanceplanid": {
  12306. "description": "履约计划ID[期权]",
  12307. "type": "integer"
  12308. },
  12309. "performancestatus": {
  12310. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  12311. "type": "integer"
  12312. },
  12313. "preexerciseprice": {
  12314. "description": "预申报价格",
  12315. "type": "number"
  12316. },
  12317. "premium": {
  12318. "description": "权利金 - [持仓单的权利金]",
  12319. "type": "number"
  12320. },
  12321. "relatedouttradeid": {
  12322. "description": "关联外部成交单ID",
  12323. "type": "integer"
  12324. },
  12325. "status": {
  12326. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  12327. "type": "integer"
  12328. },
  12329. "tradeamount": {
  12330. "description": "成交金额[账户币种,用于所有权]",
  12331. "type": "number"
  12332. },
  12333. "tradedate": {
  12334. "description": "交易日(yyyyMMdd)",
  12335. "type": "string"
  12336. },
  12337. "tradeid": {
  12338. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12339. "type": "string"
  12340. },
  12341. "trademode": {
  12342. "description": "交易模式",
  12343. "type": "integer"
  12344. },
  12345. "tradeprice": {
  12346. "description": "成交价格",
  12347. "type": "number"
  12348. },
  12349. "tradeproperty": {
  12350. "description": "交易属性",
  12351. "type": "integer"
  12352. },
  12353. "tradeqty": {
  12354. "description": "成交数量",
  12355. "type": "integer"
  12356. },
  12357. "tradetime": {
  12358. "description": "成交时间",
  12359. "type": "string"
  12360. },
  12361. "tradetype": {
  12362. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  12363. "type": "integer"
  12364. }
  12365. }
  12366. },
  12367. "order.QueryTradeOrderDetailRsp": {
  12368. "type": "object",
  12369. "required": [
  12370. "accountid",
  12371. "buildtype",
  12372. "buyorsell",
  12373. "goodsid",
  12374. "marketid",
  12375. "operatetype",
  12376. "orderqty",
  12377. "ordertime",
  12378. "pricemode",
  12379. "tradedate",
  12380. "validtype"
  12381. ],
  12382. "properties": {
  12383. "accountid": {
  12384. "description": "账户ID[报价币种]",
  12385. "type": "integer"
  12386. },
  12387. "buildtype": {
  12388. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  12389. "type": "integer"
  12390. },
  12391. "buyorsell": {
  12392. "description": "买卖 - 0:买 1:卖",
  12393. "type": "integer"
  12394. },
  12395. "cancelorderid": {
  12396. "description": "撤单单号(撤单时填写)",
  12397. "type": "string"
  12398. },
  12399. "cancelqty": {
  12400. "description": "撤单数量",
  12401. "type": "integer"
  12402. },
  12403. "clienttype": {
  12404. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  12405. "type": "integer"
  12406. },
  12407. "closefreezecharge": {
  12408. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  12409. "type": "number"
  12410. },
  12411. "closeqty": {
  12412. "description": "平仓数量(先建后平操作 需要记录)",
  12413. "type": "integer"
  12414. },
  12415. "closetradeqty": {
  12416. "description": "平仓成交数量(先建后平操作,需要记录)",
  12417. "type": "integer"
  12418. },
  12419. "closeunfreezecharge": {
  12420. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  12421. "type": "number"
  12422. },
  12423. "delistingtype": {
  12424. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  12425. "type": "integer"
  12426. },
  12427. "enableqty": {
  12428. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  12429. "type": "integer"
  12430. },
  12431. "freezecharge": {
  12432. "description": "冻结手续费",
  12433. "type": "number"
  12434. },
  12435. "freezemargin": {
  12436. "description": "冻结保证金(冻结交易金额)",
  12437. "type": "number"
  12438. },
  12439. "goodscode": {
  12440. "description": "商品代码",
  12441. "type": "string"
  12442. },
  12443. "goodsid": {
  12444. "description": "商品ID",
  12445. "type": "integer"
  12446. },
  12447. "goodsname": {
  12448. "description": "商品名称",
  12449. "type": "string"
  12450. },
  12451. "listingselecttype": {
  12452. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  12453. "type": "integer"
  12454. },
  12455. "marketid": {
  12456. "description": "市场ID",
  12457. "type": "integer"
  12458. },
  12459. "marketname": {
  12460. "description": "市场名称",
  12461. "type": "string"
  12462. },
  12463. "openfreezecharge": {
  12464. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  12465. "type": "number"
  12466. },
  12467. "openqty": {
  12468. "description": "开仓数量(先建后平操作,需要记录)",
  12469. "type": "integer"
  12470. },
  12471. "opentradeqty": {
  12472. "description": "开仓成交数量(先建后平操作,需要记录)",
  12473. "type": "integer"
  12474. },
  12475. "openunfreezecharge": {
  12476. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  12477. "type": "number"
  12478. },
  12479. "operatetype": {
  12480. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  12481. "type": "integer"
  12482. },
  12483. "operatorid": {
  12484. "description": "登录账号(LoginID)",
  12485. "type": "integer"
  12486. },
  12487. "orderid": {
  12488. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12489. "type": "string"
  12490. },
  12491. "orderprice": {
  12492. "description": "委托价格",
  12493. "type": "number"
  12494. },
  12495. "orderqty": {
  12496. "description": "委托数量",
  12497. "type": "integer"
  12498. },
  12499. "ordersrc": {
  12500. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  12501. "type": "integer"
  12502. },
  12503. "orderstatus": {
  12504. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12505. "type": "integer"
  12506. },
  12507. "ordertime": {
  12508. "description": "委托时间",
  12509. "type": "string"
  12510. },
  12511. "preorderid": {
  12512. "description": "关联预埋单号(止盈止损单时填写)",
  12513. "type": "string"
  12514. },
  12515. "pricemode": {
  12516. "description": "取价方式 - 1:市价 2: 限价",
  12517. "type": "integer"
  12518. },
  12519. "relatedid": {
  12520. "description": "关联单号(交割单)",
  12521. "type": "string"
  12522. },
  12523. "tradedate": {
  12524. "description": "交易日(yyyyMMdd)",
  12525. "type": "string"
  12526. },
  12527. "trademode": {
  12528. "description": "交易模式",
  12529. "type": "integer"
  12530. },
  12531. "tradeqty": {
  12532. "description": "成交数量",
  12533. "type": "integer"
  12534. },
  12535. "unfreezecharge": {
  12536. "description": "解冻手续费",
  12537. "type": "number"
  12538. },
  12539. "unfreezemargin": {
  12540. "description": "解冻保证金",
  12541. "type": "number"
  12542. },
  12543. "validtime": {
  12544. "description": "有效期限",
  12545. "type": "string"
  12546. },
  12547. "validtype": {
  12548. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  12549. "type": "integer"
  12550. },
  12551. "volumetype": {
  12552. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  12553. "type": "integer"
  12554. }
  12555. }
  12556. },
  12557. "order.QueryTradePositionRsp": {
  12558. "type": "object",
  12559. "required": [
  12560. "goodsid"
  12561. ],
  12562. "properties": {
  12563. "accountid": {
  12564. "description": "资金账户",
  12565. "type": "integer"
  12566. },
  12567. "agreeunit": {
  12568. "description": "合约单位",
  12569. "type": "number"
  12570. },
  12571. "averageprice": {
  12572. "description": "持仓均价",
  12573. "type": "number"
  12574. },
  12575. "buyorsell": {
  12576. "description": "方向 - 0:买 1:卖",
  12577. "type": "integer"
  12578. },
  12579. "closetotalqty": {
  12580. "description": "平仓总数量",
  12581. "type": "integer"
  12582. },
  12583. "curholderamount": {
  12584. "description": "当前持仓总金额[商品币种]",
  12585. "type": "number"
  12586. },
  12587. "curpositionqty": {
  12588. "description": "当前持仓总数量",
  12589. "type": "integer"
  12590. },
  12591. "currencyid": {
  12592. "description": "报价货币ID",
  12593. "type": "integer"
  12594. },
  12595. "curtdposition": {
  12596. "description": "期末今日头寸",
  12597. "type": "integer"
  12598. },
  12599. "decimalplace": {
  12600. "description": "报价小数位",
  12601. "type": "integer"
  12602. },
  12603. "enableqty": {
  12604. "description": "可用量",
  12605. "type": "integer"
  12606. },
  12607. "fretdposition": {
  12608. "description": "冻结今日头寸",
  12609. "type": "integer"
  12610. },
  12611. "frozenqty": {
  12612. "description": "持仓冻结数量",
  12613. "type": "integer"
  12614. },
  12615. "goodscode": {
  12616. "description": "商品代码",
  12617. "type": "string"
  12618. },
  12619. "goodsid": {
  12620. "description": "商品Id",
  12621. "type": "integer"
  12622. },
  12623. "goodsname": {
  12624. "description": "商品名称",
  12625. "type": "string"
  12626. },
  12627. "goodunit": {
  12628. "description": "报价单位",
  12629. "type": "string"
  12630. },
  12631. "goodunitid": {
  12632. "description": "报价单位ID",
  12633. "type": "integer"
  12634. },
  12635. "holderamount": {
  12636. "description": "期初持仓总金额[商品币种]",
  12637. "type": "number"
  12638. },
  12639. "marketid": {
  12640. "description": "所属市场ID",
  12641. "type": "integer"
  12642. },
  12643. "openreqqty": {
  12644. "description": "开仓申请数量(用于比较最大持仓数量)",
  12645. "type": "integer"
  12646. },
  12647. "opentotalqty": {
  12648. "description": "开仓总数量",
  12649. "type": "integer"
  12650. },
  12651. "otherfrozenqty": {
  12652. "description": "持仓其他冻结数量(交割冻结)",
  12653. "type": "integer"
  12654. },
  12655. "positionqty": {
  12656. "description": "期初持仓数量",
  12657. "type": "integer"
  12658. },
  12659. "tnqty": {
  12660. "description": "T+N冻结总量",
  12661. "type": "integer"
  12662. },
  12663. "tnusedqty": {
  12664. "description": "T+N使用量(可以使用T+N的冻结数量)",
  12665. "type": "integer"
  12666. },
  12667. "trademode": {
  12668. "description": "交易模式",
  12669. "type": "integer"
  12670. },
  12671. "usedmargin": {
  12672. "description": "占用保证金[商品币种]",
  12673. "type": "number"
  12674. }
  12675. }
  12676. },
  12677. "quote.HistoryData": {
  12678. "type": "object",
  12679. "properties": {
  12680. "c": {
  12681. "description": "收盘价",
  12682. "type": "number"
  12683. },
  12684. "h": {
  12685. "description": "最高价",
  12686. "type": "number"
  12687. },
  12688. "hv": {
  12689. "description": "持仓量",
  12690. "type": "integer"
  12691. },
  12692. "l": {
  12693. "description": "最低价",
  12694. "type": "number"
  12695. },
  12696. "o": {
  12697. "description": "开盘价",
  12698. "type": "number"
  12699. },
  12700. "s": {
  12701. "description": "结算价,日线周期(包括)以上才有",
  12702. "type": "number"
  12703. },
  12704. "ts": {
  12705. "description": "时间",
  12706. "type": "string"
  12707. },
  12708. "tt": {
  12709. "description": "总金额",
  12710. "type": "number"
  12711. },
  12712. "tv": {
  12713. "description": "总量",
  12714. "type": "integer"
  12715. }
  12716. }
  12717. },
  12718. "quote.QueryTSDataRsp": {
  12719. "type": "object",
  12720. "properties": {
  12721. "decimalPlace": {
  12722. "description": "小数位",
  12723. "type": "integer"
  12724. },
  12725. "endTime": {
  12726. "description": "结束时间",
  12727. "type": "string"
  12728. },
  12729. "goodsCode": {
  12730. "description": "商品代码",
  12731. "type": "string"
  12732. },
  12733. "historyDatas": {
  12734. "description": "历史数据",
  12735. "type": "array",
  12736. "items": {
  12737. "$ref": "#/definitions/quote.HistoryData"
  12738. }
  12739. },
  12740. "preSettle": {
  12741. "description": "昨结",
  12742. "type": "number"
  12743. },
  12744. "startTime": {
  12745. "description": "开始时间",
  12746. "type": "string"
  12747. },
  12748. "tradeDate": {
  12749. "description": "交易日",
  12750. "type": "string"
  12751. }
  12752. }
  12753. },
  12754. "szdz.QueryConvertLogRsp": {
  12755. "type": "object",
  12756. "required": [
  12757. "logid"
  12758. ],
  12759. "properties": {
  12760. "accountid": {
  12761. "description": "资金账户ID",
  12762. "type": "integer"
  12763. },
  12764. "clientticket": {
  12765. "description": "客户端流水号",
  12766. "type": "string"
  12767. },
  12768. "converttype": {
  12769. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  12770. "type": "integer"
  12771. },
  12772. "createtime": {
  12773. "description": "记账时间",
  12774. "type": "string"
  12775. },
  12776. "daymaxvalue": {
  12777. "description": "配置当日最大转入限制",
  12778. "type": "number"
  12779. },
  12780. "daymaxvalue2": {
  12781. "description": "配置当日最大转入限制(转入)",
  12782. "type": "number"
  12783. },
  12784. "goodscode": {
  12785. "description": "商品代码",
  12786. "type": "string"
  12787. },
  12788. "goodsname": {
  12789. "description": "商品名称",
  12790. "type": "string"
  12791. },
  12792. "handlestatus": {
  12793. "description": "处理状态",
  12794. "type": "integer"
  12795. },
  12796. "innergoodsid": {
  12797. "description": "内部商品ID",
  12798. "type": "integer"
  12799. },
  12800. "inratio": {
  12801. "description": "配置转入比值",
  12802. "type": "integer"
  12803. },
  12804. "invalue": {
  12805. "description": "目标值",
  12806. "type": "number"
  12807. },
  12808. "logid": {
  12809. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12810. "type": "integer"
  12811. },
  12812. "mobile": {
  12813. "description": "手机号码(加密存储)",
  12814. "type": "string"
  12815. },
  12816. "outergoodscode": {
  12817. "description": "外部商品代码[JD\\PD]",
  12818. "type": "string"
  12819. },
  12820. "outratio": {
  12821. "description": "配置转出比值",
  12822. "type": "integer"
  12823. },
  12824. "outvalue": {
  12825. "description": "源值",
  12826. "type": "number"
  12827. },
  12828. "pddecimalplace": {
  12829. "description": "PD小数位",
  12830. "type": "integer"
  12831. },
  12832. "qty": {
  12833. "description": "数量",
  12834. "type": "string"
  12835. },
  12836. "remark": {
  12837. "description": "备注",
  12838. "type": "string"
  12839. },
  12840. "sessionid": {
  12841. "description": "会话ID",
  12842. "type": "integer"
  12843. },
  12844. "timemaxvalue": {
  12845. "description": "配置单次最大转入限制",
  12846. "type": "number"
  12847. },
  12848. "timemaxvalue2": {
  12849. "description": "配置单次最大转入限制(转入)",
  12850. "type": "number"
  12851. },
  12852. "timeminvalue": {
  12853. "description": "配置单次最小数量限制",
  12854. "type": "number"
  12855. },
  12856. "timeminvalue2": {
  12857. "description": "配置单次最小数量限制(转入)",
  12858. "type": "number"
  12859. },
  12860. "tradedate": {
  12861. "description": "交易日(yyyyMMdd)",
  12862. "type": "string"
  12863. },
  12864. "userid": {
  12865. "description": "用户ID",
  12866. "type": "integer"
  12867. }
  12868. }
  12869. },
  12870. "szdz.QueryGoodsPickupRsp": {
  12871. "type": "object",
  12872. "required": [
  12873. "takeorderid"
  12874. ],
  12875. "properties": {
  12876. "accountid": {
  12877. "description": "账户ID",
  12878. "type": "integer"
  12879. },
  12880. "address": {
  12881. "description": "提货人详细地址",
  12882. "type": "string"
  12883. },
  12884. "auditer": {
  12885. "description": "审核人",
  12886. "type": "integer"
  12887. },
  12888. "audittime": {
  12889. "description": "审核时间",
  12890. "type": "string"
  12891. },
  12892. "cardnum": {
  12893. "description": "提货人证件号码",
  12894. "type": "string"
  12895. },
  12896. "cardtypeid": {
  12897. "description": "提货人证件类型",
  12898. "type": "integer"
  12899. },
  12900. "checkremark": {
  12901. "description": "审核备注",
  12902. "type": "string"
  12903. },
  12904. "goodscode": {
  12905. "description": "商品代码",
  12906. "type": "string"
  12907. },
  12908. "goodsid": {
  12909. "description": "商品ID",
  12910. "type": "integer"
  12911. },
  12912. "goodsname": {
  12913. "description": "商品名称",
  12914. "type": "string"
  12915. },
  12916. "handlestatus": {
  12917. "description": "处理状态",
  12918. "type": "integer"
  12919. },
  12920. "marketid": {
  12921. "description": "市场ID",
  12922. "type": "integer"
  12923. },
  12924. "phonenum": {
  12925. "description": "提货人联系方式",
  12926. "type": "string"
  12927. },
  12928. "qty": {
  12929. "description": "提货数量",
  12930. "type": "number"
  12931. },
  12932. "recivername": {
  12933. "description": "提货人姓名",
  12934. "type": "string"
  12935. },
  12936. "reqtime": {
  12937. "description": "更新时间",
  12938. "type": "string"
  12939. },
  12940. "takemode": {
  12941. "description": "提货方式 - 2:自提 3:配送",
  12942. "type": "integer"
  12943. },
  12944. "takeorderid": {
  12945. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  12946. "type": "string"
  12947. },
  12948. "takeorderstatus": {
  12949. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  12950. "type": "integer"
  12951. },
  12952. "takeremark": {
  12953. "description": "提货备注",
  12954. "type": "string"
  12955. },
  12956. "tradedate": {
  12957. "description": "交易日(yyyyMMdd)",
  12958. "type": "string"
  12959. },
  12960. "userid": {
  12961. "description": "用户ID",
  12962. "type": "integer"
  12963. }
  12964. }
  12965. },
  12966. "szdz.QueryRecieptOrderRsp": {
  12967. "type": "object",
  12968. "required": [
  12969. "ordertime"
  12970. ],
  12971. "properties": {
  12972. "accountName": {
  12973. "description": "所属账号名称(已脱敏)",
  12974. "type": "string"
  12975. },
  12976. "accountid": {
  12977. "description": "资金账号",
  12978. "type": "integer"
  12979. },
  12980. "buyorsell": {
  12981. "description": "方向 - 0:买 1:卖",
  12982. "type": "integer"
  12983. },
  12984. "enableqty": {
  12985. "description": "可摘数量",
  12986. "type": "integer"
  12987. },
  12988. "goodscode": {
  12989. "description": "商品代码",
  12990. "type": "string"
  12991. },
  12992. "goodsid": {
  12993. "description": "商品ID",
  12994. "type": "integer"
  12995. },
  12996. "goodsname": {
  12997. "description": "商品名称",
  12998. "type": "string"
  12999. },
  13000. "orderid": {
  13001. "description": "委托单号",
  13002. "type": "string"
  13003. },
  13004. "orderprice": {
  13005. "description": "委托价格",
  13006. "type": "number"
  13007. },
  13008. "ordertime": {
  13009. "description": "委托时间",
  13010. "type": "string"
  13011. },
  13012. "tradedate": {
  13013. "description": "交易日(yyyyMMdd)",
  13014. "type": "string"
  13015. }
  13016. }
  13017. },
  13018. "szdz.QuerySZDZTradePositionRsp": {
  13019. "type": "object",
  13020. "properties": {
  13021. "accountid": {
  13022. "description": "账号Id",
  13023. "type": "integer"
  13024. },
  13025. "agreeunit": {
  13026. "description": "合约单位",
  13027. "type": "number"
  13028. },
  13029. "averageprice": {
  13030. "description": "持仓均价",
  13031. "type": "number"
  13032. },
  13033. "buyorsell": {
  13034. "description": "方向 - 0:买 1:卖",
  13035. "type": "integer"
  13036. },
  13037. "closetotalqty": {
  13038. "description": "平仓总数量",
  13039. "type": "integer"
  13040. },
  13041. "curholderamount": {
  13042. "description": "当前持仓总金额",
  13043. "type": "number"
  13044. },
  13045. "curpositionqty": {
  13046. "description": "当前持仓总数量",
  13047. "type": "integer"
  13048. },
  13049. "currencyid": {
  13050. "description": "报价货币ID",
  13051. "type": "integer"
  13052. },
  13053. "curtdposition": {
  13054. "description": "期末今日头寸",
  13055. "type": "integer"
  13056. },
  13057. "decimalplace": {
  13058. "description": "报价小数位",
  13059. "type": "integer"
  13060. },
  13061. "enableqty": {
  13062. "description": "可用量",
  13063. "type": "integer"
  13064. },
  13065. "fretdposition": {
  13066. "description": "冻结今日头寸",
  13067. "type": "integer"
  13068. },
  13069. "frozenqty": {
  13070. "description": "持仓冻结数量",
  13071. "type": "integer"
  13072. },
  13073. "goodscode": {
  13074. "description": "商品代码(内部)",
  13075. "type": "string"
  13076. },
  13077. "goodsid": {
  13078. "description": "商品Id",
  13079. "type": "integer"
  13080. },
  13081. "goodsname": {
  13082. "description": "商品名称",
  13083. "type": "string"
  13084. },
  13085. "goodunit": {
  13086. "description": "报价单位",
  13087. "type": "string"
  13088. },
  13089. "goodunitid": {
  13090. "description": "报价单位ID",
  13091. "type": "integer"
  13092. },
  13093. "holderamount": {
  13094. "description": "期初持仓总金额",
  13095. "type": "number"
  13096. },
  13097. "marketid": {
  13098. "description": "市场ID",
  13099. "type": "integer"
  13100. },
  13101. "openreqqty": {
  13102. "description": "开仓申请数量",
  13103. "type": "integer"
  13104. },
  13105. "opentotalqty": {
  13106. "description": "开仓总数量",
  13107. "type": "integer"
  13108. },
  13109. "otherfrozenqty": {
  13110. "description": "持仓其他冻结数量(交割冻结)",
  13111. "type": "integer"
  13112. },
  13113. "positionqty": {
  13114. "description": "期初持仓数量",
  13115. "type": "integer"
  13116. },
  13117. "szdz3freezqty": {
  13118. "description": "尚志大宗转换冻结总数量",
  13119. "type": "integer"
  13120. },
  13121. "tnqty": {
  13122. "description": "T+N冻结总量",
  13123. "type": "integer"
  13124. },
  13125. "tnusedqty": {
  13126. "description": "T+N使用量",
  13127. "type": "integer"
  13128. },
  13129. "trademode": {
  13130. "description": "交易模式",
  13131. "type": "integer"
  13132. },
  13133. "usedmargin": {
  13134. "description": "占用保证金",
  13135. "type": "number"
  13136. }
  13137. }
  13138. },
  13139. "taaccount.QueryAmountLogRsp": {
  13140. "type": "object",
  13141. "required": [
  13142. "accountid",
  13143. "amount",
  13144. "amountadjusttype",
  13145. "autoid",
  13146. "balance",
  13147. "createtime",
  13148. "currentbalance",
  13149. "operatetype"
  13150. ],
  13151. "properties": {
  13152. "OPERATETYPENAME": {
  13153. "description": "资金操作类型名称",
  13154. "type": "string"
  13155. },
  13156. "accountid": {
  13157. "description": "资金账户ID",
  13158. "type": "integer"
  13159. },
  13160. "agoodscode": {
  13161. "description": "竞拍商品代码",
  13162. "type": "string"
  13163. },
  13164. "agoodsname": {
  13165. "description": "竞拍商品名称",
  13166. "type": "string"
  13167. },
  13168. "amount": {
  13169. "description": "资金金额",
  13170. "type": "number"
  13171. },
  13172. "amountadjusttype": {
  13173. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  13174. "type": "integer"
  13175. },
  13176. "autoid": {
  13177. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  13178. "type": "integer"
  13179. },
  13180. "balance": {
  13181. "description": "期初余额",
  13182. "type": "number"
  13183. },
  13184. "businesscode": {
  13185. "description": "业务编号",
  13186. "type": "integer"
  13187. },
  13188. "createtime": {
  13189. "description": "发生时间",
  13190. "type": "string"
  13191. },
  13192. "currencyid": {
  13193. "description": "币种ID",
  13194. "type": "integer"
  13195. },
  13196. "currentbalance": {
  13197. "description": "期末余额(变动后金额)",
  13198. "type": "number"
  13199. },
  13200. "dgoodscode": {
  13201. "description": "交割商品代码",
  13202. "type": "string"
  13203. },
  13204. "dgoodsname": {
  13205. "description": "交割商品名称",
  13206. "type": "string"
  13207. },
  13208. "goodscode": {
  13209. "description": "商品代码",
  13210. "type": "string"
  13211. },
  13212. "goodsid": {
  13213. "description": "商品ID",
  13214. "type": "integer"
  13215. },
  13216. "goodsname": {
  13217. "description": "商品名称",
  13218. "type": "string"
  13219. },
  13220. "marketid": {
  13221. "description": "市场ID",
  13222. "type": "integer"
  13223. },
  13224. "marketname": {
  13225. "description": "市场名称",
  13226. "type": "string"
  13227. },
  13228. "moneyticket": {
  13229. "description": "资金流水号:银行端流水号",
  13230. "type": "integer"
  13231. },
  13232. "operatetype": {
  13233. "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:营销收款",
  13234. "type": "integer"
  13235. },
  13236. "relationorderid": {
  13237. "description": "关联单号",
  13238. "type": "string"
  13239. },
  13240. "remark": {
  13241. "description": "备注",
  13242. "type": "string"
  13243. },
  13244. "trademode": {
  13245. "description": "交易模式",
  13246. "type": "integer"
  13247. }
  13248. }
  13249. },
  13250. "taaccount.QueryHisAmountLogRsp": {
  13251. "type": "object",
  13252. "required": [
  13253. "accountid",
  13254. "amount",
  13255. "amountadjusttype",
  13256. "autoid",
  13257. "balance",
  13258. "createtime",
  13259. "currentbalance",
  13260. "histradedate",
  13261. "operatetype"
  13262. ],
  13263. "properties": {
  13264. "OPERATETYPENAME": {
  13265. "description": "资金操作类型名称",
  13266. "type": "string"
  13267. },
  13268. "accountid": {
  13269. "description": "资金账户ID",
  13270. "type": "integer"
  13271. },
  13272. "agoodscode": {
  13273. "description": "竞拍商品代码",
  13274. "type": "string"
  13275. },
  13276. "agoodsname": {
  13277. "description": "竞拍商品名称",
  13278. "type": "string"
  13279. },
  13280. "amount": {
  13281. "description": "资金金额",
  13282. "type": "number"
  13283. },
  13284. "amountadjusttype": {
  13285. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  13286. "type": "integer"
  13287. },
  13288. "autoid": {
  13289. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  13290. "type": "integer"
  13291. },
  13292. "balance": {
  13293. "description": "期初余额",
  13294. "type": "number"
  13295. },
  13296. "businesscode": {
  13297. "description": "业务编号",
  13298. "type": "integer"
  13299. },
  13300. "createtime": {
  13301. "description": "发生时间",
  13302. "type": "string"
  13303. },
  13304. "currencyid": {
  13305. "description": "币种ID",
  13306. "type": "integer"
  13307. },
  13308. "currentbalance": {
  13309. "description": "期末余额(变动后金额)",
  13310. "type": "number"
  13311. },
  13312. "dgoodscode": {
  13313. "description": "交割商品代码",
  13314. "type": "string"
  13315. },
  13316. "dgoodsname": {
  13317. "description": "交割商品名称",
  13318. "type": "string"
  13319. },
  13320. "goodscode": {
  13321. "description": "商品代码",
  13322. "type": "string"
  13323. },
  13324. "goodsid": {
  13325. "description": "商品ID",
  13326. "type": "integer"
  13327. },
  13328. "goodsname": {
  13329. "description": "商品名称",
  13330. "type": "string"
  13331. },
  13332. "histradedate": {
  13333. "description": "历史交易日",
  13334. "type": "string"
  13335. },
  13336. "isvaliddata": {
  13337. "description": "是否有效 - 0:无效 1:有效",
  13338. "type": "integer"
  13339. },
  13340. "marketid": {
  13341. "description": "市场ID",
  13342. "type": "integer"
  13343. },
  13344. "marketname": {
  13345. "description": "市场名称",
  13346. "type": "string"
  13347. },
  13348. "moneyticket": {
  13349. "description": "资金流水号:银行端流水号",
  13350. "type": "integer"
  13351. },
  13352. "operatetype": {
  13353. "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:营销收款",
  13354. "type": "integer"
  13355. },
  13356. "relationorderid": {
  13357. "description": "关联单号",
  13358. "type": "string"
  13359. },
  13360. "remark": {
  13361. "description": "备注",
  13362. "type": "string"
  13363. },
  13364. "trademode": {
  13365. "description": "交易模式",
  13366. "type": "integer"
  13367. }
  13368. }
  13369. },
  13370. "trade.QueryRecieptOrderRsp": {
  13371. "type": "object",
  13372. "required": [
  13373. "ordertime"
  13374. ],
  13375. "properties": {
  13376. "accountName": {
  13377. "description": "所属账号名称(已脱敏)",
  13378. "type": "string"
  13379. },
  13380. "accountid": {
  13381. "description": "资金账号",
  13382. "type": "integer"
  13383. },
  13384. "buyorsell": {
  13385. "description": "方向 - 0:买 1:卖",
  13386. "type": "integer"
  13387. },
  13388. "enableqty": {
  13389. "description": "可摘数量",
  13390. "type": "integer"
  13391. },
  13392. "goodscode": {
  13393. "description": "商品代码",
  13394. "type": "string"
  13395. },
  13396. "goodsid": {
  13397. "description": "商品ID",
  13398. "type": "integer"
  13399. },
  13400. "goodsname": {
  13401. "description": "商品名称",
  13402. "type": "string"
  13403. },
  13404. "orderid": {
  13405. "description": "委托单号",
  13406. "type": "string"
  13407. },
  13408. "orderprice": {
  13409. "description": "委托价格",
  13410. "type": "number"
  13411. },
  13412. "ordertime": {
  13413. "description": "委托时间",
  13414. "type": "string"
  13415. },
  13416. "tradedate": {
  13417. "description": "交易日(yyyyMMdd)",
  13418. "type": "string"
  13419. }
  13420. }
  13421. }
  13422. },
  13423. "securityDefinitions": {
  13424. "ApiKeyAuth": {
  13425. "type": "apiKey",
  13426. "name": "Authorization",
  13427. "in": "header"
  13428. }
  13429. }
  13430. }`
  13431. type swaggerInfo struct {
  13432. Version string
  13433. Host string
  13434. BasePath string
  13435. Schemes []string
  13436. Title string
  13437. Description string
  13438. }
  13439. // SwaggerInfo holds exported Swagger Info so clients can modify it
  13440. var SwaggerInfo = swaggerInfo{
  13441. Version: "1.0",
  13442. Host: "",
  13443. BasePath: "/api",
  13444. Schemes: []string{},
  13445. Title: "MTP2.0 查询服务 API",
  13446. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  13447. }
  13448. type s struct{}
  13449. func (s *s) ReadDoc() string {
  13450. sInfo := SwaggerInfo
  13451. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  13452. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  13453. "marshal": func(v interface{}) string {
  13454. a, _ := json.Marshal(v)
  13455. return string(a)
  13456. },
  13457. }).Parse(doc)
  13458. if err != nil {
  13459. return doc
  13460. }
  13461. var tpl bytes.Buffer
  13462. if err := t.Execute(&tpl, sInfo); err != nil {
  13463. return doc
  13464. }
  13465. return tpl.String()
  13466. }
  13467. func init() {
  13468. swag.Register(swag.Name, &s{})
  13469. }