docs.go 337 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391
  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/NoticeReaded": {
  393. "post": {
  394. "security": [
  395. {
  396. "ApiKeyAuth": []
  397. }
  398. ],
  399. "produces": [
  400. "application/json"
  401. ],
  402. "tags": [
  403. "通用服务"
  404. ],
  405. "summary": "通知公告设置已读请求",
  406. "parameters": [
  407. {
  408. "type": "integer",
  409. "description": "登录账号",
  410. "name": "loginID",
  411. "in": "query",
  412. "required": true
  413. },
  414. {
  415. "type": "integer",
  416. "description": "通知公告ID",
  417. "name": "noticeID",
  418. "in": "query",
  419. "required": true
  420. }
  421. ],
  422. "responses": {
  423. "200": {
  424. "description": "OK",
  425. "schema": {
  426. "$ref": "#/definitions/app.Response"
  427. }
  428. },
  429. "500": {
  430. "description": "Internal Server Error",
  431. "schema": {
  432. "$ref": "#/definitions/app.Response"
  433. }
  434. }
  435. }
  436. }
  437. },
  438. "/Common/QueryImageConfigs": {
  439. "get": {
  440. "produces": [
  441. "application/json"
  442. ],
  443. "tags": [
  444. "通用服务"
  445. ],
  446. "summary": "查询轮播图配置信息",
  447. "parameters": [
  448. {
  449. "type": "integer",
  450. "description": "类型 - 1:App首页轮播 2:我的",
  451. "name": "imageType",
  452. "in": "query"
  453. }
  454. ],
  455. "responses": {
  456. "200": {
  457. "description": "OK",
  458. "schema": {
  459. "$ref": "#/definitions/models.Szdz2imageconfig"
  460. }
  461. },
  462. "500": {
  463. "description": "Internal Server Error",
  464. "schema": {
  465. "$ref": "#/definitions/app.Response"
  466. }
  467. }
  468. }
  469. }
  470. },
  471. "/Common/QueryNotice": {
  472. "get": {
  473. "security": [
  474. {
  475. "ApiKeyAuth": []
  476. }
  477. ],
  478. "produces": [
  479. "application/json"
  480. ],
  481. "tags": [
  482. "通用服务"
  483. ],
  484. "summary": "通知公告系统消息查询",
  485. "parameters": [
  486. {
  487. "type": "integer",
  488. "description": "页码",
  489. "name": "page",
  490. "in": "query"
  491. },
  492. {
  493. "type": "integer",
  494. "description": "每页条数",
  495. "name": "pagesize",
  496. "in": "query"
  497. },
  498. {
  499. "type": "integer",
  500. "description": "登录账号",
  501. "name": "loginID",
  502. "in": "query",
  503. "required": true
  504. },
  505. {
  506. "type": "integer",
  507. "description": "消息类型 - 1:公告通知 2:系统消息",
  508. "name": "msgType",
  509. "in": "query"
  510. },
  511. {
  512. "type": "boolean",
  513. "description": "是否只获取未读信息",
  514. "name": "onlyUnRead",
  515. "in": "query"
  516. }
  517. ],
  518. "responses": {
  519. "200": {
  520. "description": "OK",
  521. "schema": {
  522. "$ref": "#/definitions/common.QueryNoticeRsp"
  523. }
  524. },
  525. "500": {
  526. "description": "Internal Server Error",
  527. "schema": {
  528. "$ref": "#/definitions/app.Response"
  529. }
  530. }
  531. }
  532. }
  533. },
  534. "/Common/QueryProvincesAndCities": {
  535. "get": {
  536. "produces": [
  537. "application/json"
  538. ],
  539. "tags": [
  540. "通用服务"
  541. ],
  542. "summary": "查询省市信息(不包括区)",
  543. "parameters": [
  544. {
  545. "type": "integer",
  546. "description": "省ID",
  547. "name": "provinceID",
  548. "in": "query"
  549. }
  550. ],
  551. "responses": {
  552. "200": {
  553. "description": "OK",
  554. "schema": {
  555. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  556. }
  557. },
  558. "500": {
  559. "description": "Internal Server Error",
  560. "schema": {
  561. "$ref": "#/definitions/app.Response"
  562. }
  563. }
  564. }
  565. }
  566. },
  567. "/Common/QueryTableDefine": {
  568. "get": {
  569. "produces": [
  570. "application/json"
  571. ],
  572. "tags": [
  573. "通用服务"
  574. ],
  575. "summary": "查询交易端列表头信息",
  576. "parameters": [
  577. {
  578. "type": "string",
  579. "description": "表key",
  580. "name": "TableKey",
  581. "in": "query"
  582. }
  583. ],
  584. "responses": {
  585. "200": {
  586. "description": "OK",
  587. "schema": {
  588. "$ref": "#/definitions/common.QueryTableDefineRsp"
  589. }
  590. },
  591. "500": {
  592. "description": "Internal Server Error",
  593. "schema": {
  594. "$ref": "#/definitions/app.Response"
  595. }
  596. }
  597. }
  598. }
  599. },
  600. "/Common/QueryTraderMenu": {
  601. "get": {
  602. "produces": [
  603. "application/json"
  604. ],
  605. "tags": [
  606. "通用服务"
  607. ],
  608. "summary": "查询交易端菜单",
  609. "parameters": [
  610. {
  611. "type": "integer",
  612. "description": "登录账号",
  613. "name": "loginid",
  614. "in": "query",
  615. "required": true
  616. }
  617. ],
  618. "responses": {
  619. "200": {
  620. "description": "OK",
  621. "schema": {
  622. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  623. }
  624. },
  625. "500": {
  626. "description": "Internal Server Error",
  627. "schema": {
  628. "$ref": "#/definitions/app.Response"
  629. }
  630. }
  631. }
  632. }
  633. },
  634. "/Delivery/QueryDeliveryRelation": {
  635. "get": {
  636. "security": [
  637. {
  638. "ApiKeyAuth": []
  639. }
  640. ],
  641. "produces": [
  642. "application/json"
  643. ],
  644. "tags": [
  645. "交割服务"
  646. ],
  647. "summary": "查询商品交割关系表",
  648. "parameters": [
  649. {
  650. "type": "integer",
  651. "description": "商品ID",
  652. "name": "goodsid",
  653. "in": "query"
  654. },
  655. {
  656. "type": "integer",
  657. "description": "品种ID",
  658. "name": "deliverygoodsid",
  659. "in": "query"
  660. },
  661. {
  662. "type": "integer",
  663. "description": "市场ID",
  664. "name": "marketid",
  665. "in": "query"
  666. }
  667. ],
  668. "responses": {
  669. "200": {
  670. "description": "OK",
  671. "schema": {
  672. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  673. }
  674. },
  675. "500": {
  676. "description": "Internal Server Error",
  677. "schema": {
  678. "$ref": "#/definitions/app.Response"
  679. }
  680. }
  681. }
  682. }
  683. },
  684. "/Erms2/QueryArbitrageStrategy": {
  685. "get": {
  686. "security": [
  687. {
  688. "ApiKeyAuth": []
  689. }
  690. ],
  691. "produces": [
  692. "application/json"
  693. ],
  694. "tags": [
  695. "风险管理"
  696. ],
  697. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  698. "parameters": [
  699. {
  700. "type": "integer",
  701. "description": "账户ID",
  702. "name": "userid",
  703. "in": "query",
  704. "required": true
  705. },
  706. {
  707. "type": "string",
  708. "description": "商品组ID(品种ID)",
  709. "name": "goodsgroupid",
  710. "in": "query"
  711. }
  712. ],
  713. "responses": {
  714. "200": {
  715. "description": "OK",
  716. "schema": {
  717. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  718. }
  719. },
  720. "500": {
  721. "description": "Internal Server Error",
  722. "schema": {
  723. "$ref": "#/definitions/app.Response"
  724. }
  725. }
  726. }
  727. }
  728. },
  729. "/Erms2/QueryInnerTradeDetail": {
  730. "get": {
  731. "security": [
  732. {
  733. "ApiKeyAuth": []
  734. }
  735. ],
  736. "produces": [
  737. "application/json"
  738. ],
  739. "tags": [
  740. "风险管理"
  741. ],
  742. "summary": "查询内部成交单信息",
  743. "parameters": [
  744. {
  745. "type": "integer",
  746. "description": "资金账户",
  747. "name": "accountid",
  748. "in": "query",
  749. "required": true
  750. }
  751. ],
  752. "responses": {
  753. "200": {
  754. "description": "OK",
  755. "schema": {
  756. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  757. }
  758. },
  759. "500": {
  760. "description": "Internal Server Error",
  761. "schema": {
  762. "$ref": "#/definitions/app.Response"
  763. }
  764. }
  765. }
  766. }
  767. },
  768. "/Erms2/QuerySpotContract": {
  769. "get": {
  770. "security": [
  771. {
  772. "ApiKeyAuth": []
  773. }
  774. ],
  775. "produces": [
  776. "application/json"
  777. ],
  778. "tags": [
  779. "风险管理"
  780. ],
  781. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  782. "parameters": [
  783. {
  784. "type": "integer",
  785. "description": "策略申请ID",
  786. "name": "asapplyid",
  787. "in": "query",
  788. "required": true
  789. },
  790. {
  791. "type": "integer",
  792. "description": "现货合同ID",
  793. "name": "spotcontractid",
  794. "in": "query"
  795. }
  796. ],
  797. "responses": {
  798. "200": {
  799. "description": "OK",
  800. "schema": {
  801. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  802. }
  803. },
  804. "500": {
  805. "description": "Internal Server Error",
  806. "schema": {
  807. "$ref": "#/definitions/app.Response"
  808. }
  809. }
  810. }
  811. }
  812. },
  813. "/Erms3/AddSpotContractApply": {
  814. "post": {
  815. "security": [
  816. {
  817. "ApiKeyAuth": []
  818. }
  819. ],
  820. "produces": [
  821. "application/json"
  822. ],
  823. "tags": [
  824. "风险管理v3"
  825. ],
  826. "summary": "新增现货合同申请",
  827. "parameters": [
  828. {
  829. "description": "申请参数",
  830. "name": "jsonBody",
  831. "in": "body",
  832. "required": true,
  833. "schema": {
  834. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  835. }
  836. }
  837. ],
  838. "responses": {
  839. "200": {
  840. "description": "OK",
  841. "schema": {
  842. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  843. }
  844. },
  845. "500": {
  846. "description": "Internal Server Error",
  847. "schema": {
  848. "$ref": "#/definitions/app.Response"
  849. }
  850. }
  851. }
  852. }
  853. },
  854. "/Erms3/AddUserInfoApply": {
  855. "post": {
  856. "security": [
  857. {
  858. "ApiKeyAuth": []
  859. }
  860. ],
  861. "produces": [
  862. "application/json"
  863. ],
  864. "tags": [
  865. "风险管理v3"
  866. ],
  867. "summary": "新增客户申请",
  868. "parameters": [
  869. {
  870. "description": "申请参数",
  871. "name": "jsonBody",
  872. "in": "body",
  873. "required": true,
  874. "schema": {
  875. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  876. }
  877. }
  878. ],
  879. "responses": {
  880. "200": {
  881. "description": "OK",
  882. "schema": {
  883. "$ref": "#/definitions/app.Response"
  884. }
  885. },
  886. "500": {
  887. "description": "Internal Server Error",
  888. "schema": {
  889. "$ref": "#/definitions/app.Response"
  890. }
  891. }
  892. }
  893. }
  894. },
  895. "/Erms3/QueryBusinessInfo": {
  896. "get": {
  897. "security": [
  898. {
  899. "ApiKeyAuth": []
  900. }
  901. ],
  902. "produces": [
  903. "application/json"
  904. ],
  905. "tags": [
  906. "风险管理v3"
  907. ],
  908. "summary": "查询业务表单数据",
  909. "parameters": [
  910. {
  911. "type": "string",
  912. "description": "资金账号ID列表,用逗号分隔",
  913. "name": "accountids",
  914. "in": "query",
  915. "required": true
  916. },
  917. {
  918. "type": "integer",
  919. "description": "状态,0为未结束 1为已结束",
  920. "name": "status",
  921. "in": "query",
  922. "required": true
  923. }
  924. ],
  925. "responses": {
  926. "200": {
  927. "description": "OK",
  928. "schema": {
  929. "type": "array",
  930. "items": {
  931. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  932. }
  933. }
  934. },
  935. "500": {
  936. "description": "Internal Server Error",
  937. "schema": {
  938. "$ref": "#/definitions/app.Response"
  939. }
  940. }
  941. }
  942. }
  943. },
  944. "/Erms3/QueryPendingAuditContract": {
  945. "get": {
  946. "security": [
  947. {
  948. "ApiKeyAuth": []
  949. }
  950. ],
  951. "produces": [
  952. "application/json"
  953. ],
  954. "tags": [
  955. "风险管理v3"
  956. ],
  957. "summary": "查询待审核合同",
  958. "parameters": [
  959. {
  960. "type": "string",
  961. "description": "资金账号ID列表,逗号隔开",
  962. "name": "accountids",
  963. "in": "query",
  964. "required": true
  965. },
  966. {
  967. "type": "integer",
  968. "description": "合同类型 1-采购 -1-销售",
  969. "name": "contracttype",
  970. "in": "query",
  971. "required": true
  972. },
  973. {
  974. "type": "integer",
  975. "description": "合同模式 1-普通 2-回购",
  976. "name": "contractmode",
  977. "in": "query",
  978. "required": true
  979. }
  980. ],
  981. "responses": {
  982. "200": {
  983. "description": "OK",
  984. "schema": {
  985. "type": "array",
  986. "items": {
  987. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  988. }
  989. }
  990. },
  991. "500": {
  992. "description": "Internal Server Error",
  993. "schema": {
  994. "$ref": "#/definitions/app.Response"
  995. }
  996. }
  997. }
  998. }
  999. },
  1000. "/Erms3/QuerySpotContractAppleForm": {
  1001. "get": {
  1002. "security": [
  1003. {
  1004. "ApiKeyAuth": []
  1005. }
  1006. ],
  1007. "produces": [
  1008. "application/json"
  1009. ],
  1010. "tags": [
  1011. "风险管理v3"
  1012. ],
  1013. "summary": "查询合同申请表单数据",
  1014. "parameters": [
  1015. {
  1016. "type": "integer",
  1017. "description": "登录账号",
  1018. "name": "loginID",
  1019. "in": "query",
  1020. "required": true
  1021. }
  1022. ],
  1023. "responses": {
  1024. "200": {
  1025. "description": "OK",
  1026. "schema": {
  1027. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  1028. }
  1029. },
  1030. "500": {
  1031. "description": "Internal Server Error",
  1032. "schema": {
  1033. "$ref": "#/definitions/app.Response"
  1034. }
  1035. }
  1036. }
  1037. }
  1038. },
  1039. "/Erms3/QuerySpotContractDetail": {
  1040. "get": {
  1041. "security": [
  1042. {
  1043. "ApiKeyAuth": []
  1044. }
  1045. ],
  1046. "produces": [
  1047. "application/json"
  1048. ],
  1049. "tags": [
  1050. "风险管理v3"
  1051. ],
  1052. "summary": "查询合同详细信息",
  1053. "parameters": [
  1054. {
  1055. "type": "string",
  1056. "description": "资金账号ID列表,用逗号分隔",
  1057. "name": "accountids",
  1058. "in": "query",
  1059. "required": true
  1060. },
  1061. {
  1062. "type": "integer",
  1063. "description": "合同类型,1为采购合同 -1为销售合同",
  1064. "name": "contracttype",
  1065. "in": "query",
  1066. "required": true
  1067. },
  1068. {
  1069. "type": "integer",
  1070. "description": "合同模式,1为普通合同 2为回购销售合同",
  1071. "name": "contractmode",
  1072. "in": "query",
  1073. "required": true
  1074. },
  1075. {
  1076. "type": "integer",
  1077. "description": "状态,0为履约中 1为已完成",
  1078. "name": "status",
  1079. "in": "query",
  1080. "required": true
  1081. }
  1082. ],
  1083. "responses": {
  1084. "200": {
  1085. "description": "OK",
  1086. "schema": {
  1087. "type": "array",
  1088. "items": {
  1089. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  1090. }
  1091. }
  1092. },
  1093. "500": {
  1094. "description": "Internal Server Error",
  1095. "schema": {
  1096. "$ref": "#/definitions/app.Response"
  1097. }
  1098. }
  1099. }
  1100. }
  1101. },
  1102. "/Erms3/QueryUserInfoApplies": {
  1103. "get": {
  1104. "security": [
  1105. {
  1106. "ApiKeyAuth": []
  1107. }
  1108. ],
  1109. "produces": [
  1110. "application/json"
  1111. ],
  1112. "tags": [
  1113. "风险管理v3"
  1114. ],
  1115. "summary": "客户申请信息查询",
  1116. "parameters": [
  1117. {
  1118. "type": "integer",
  1119. "description": "页码",
  1120. "name": "page",
  1121. "in": "query"
  1122. },
  1123. {
  1124. "type": "integer",
  1125. "description": "每页条数",
  1126. "name": "pagesize",
  1127. "in": "query"
  1128. },
  1129. {
  1130. "type": "string",
  1131. "description": "客户名称,支持模糊查询",
  1132. "name": "userName",
  1133. "in": "query"
  1134. }
  1135. ],
  1136. "responses": {
  1137. "200": {
  1138. "description": "OK",
  1139. "schema": {
  1140. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  1141. }
  1142. },
  1143. "500": {
  1144. "description": "Internal Server Error",
  1145. "schema": {
  1146. "$ref": "#/definitions/app.Response"
  1147. }
  1148. }
  1149. }
  1150. }
  1151. },
  1152. "/Erms3/QueryUserInfos": {
  1153. "get": {
  1154. "security": [
  1155. {
  1156. "ApiKeyAuth": []
  1157. }
  1158. ],
  1159. "produces": [
  1160. "application/json"
  1161. ],
  1162. "tags": [
  1163. "风险管理v3"
  1164. ],
  1165. "summary": "客户信息查询",
  1166. "parameters": [
  1167. {
  1168. "type": "integer",
  1169. "description": "页码",
  1170. "name": "page",
  1171. "in": "query"
  1172. },
  1173. {
  1174. "type": "integer",
  1175. "description": "每页条数",
  1176. "name": "pagesize",
  1177. "in": "query"
  1178. },
  1179. {
  1180. "type": "string",
  1181. "description": "客户名称,支持模糊查询",
  1182. "name": "userName",
  1183. "in": "query"
  1184. }
  1185. ],
  1186. "responses": {
  1187. "200": {
  1188. "description": "OK",
  1189. "schema": {
  1190. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  1191. }
  1192. },
  1193. "500": {
  1194. "description": "Internal Server Error",
  1195. "schema": {
  1196. "$ref": "#/definitions/app.Response"
  1197. }
  1198. }
  1199. }
  1200. }
  1201. },
  1202. "/HSBY/GetHsbyMyCount": {
  1203. "get": {
  1204. "security": [
  1205. {
  1206. "ApiKeyAuth": []
  1207. }
  1208. ],
  1209. "description": "说明: 不包括已完成的数量。",
  1210. "produces": [
  1211. "application/json"
  1212. ],
  1213. "tags": [
  1214. "定制【海商报业】"
  1215. ],
  1216. "summary": "获取我的订单与包裹数量",
  1217. "parameters": [
  1218. {
  1219. "type": "string",
  1220. "description": "资金账户列表,格式:1,2,3",
  1221. "name": "accountIDs",
  1222. "in": "query",
  1223. "required": true
  1224. }
  1225. ],
  1226. "responses": {
  1227. "200": {
  1228. "description": "OK",
  1229. "schema": {
  1230. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  1231. }
  1232. },
  1233. "500": {
  1234. "description": "Internal Server Error",
  1235. "schema": {
  1236. "$ref": "#/definitions/app.Response"
  1237. }
  1238. }
  1239. }
  1240. }
  1241. },
  1242. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  1243. "get": {
  1244. "security": [
  1245. {
  1246. "ApiKeyAuth": []
  1247. }
  1248. ],
  1249. "produces": [
  1250. "application/json"
  1251. ],
  1252. "tags": [
  1253. "定制【海商报业】"
  1254. ],
  1255. "summary": "查询\"我的订单 - 已完成\"单据信息",
  1256. "parameters": [
  1257. {
  1258. "type": "integer",
  1259. "description": "页码",
  1260. "name": "page",
  1261. "in": "query"
  1262. },
  1263. {
  1264. "type": "integer",
  1265. "description": "每页条数",
  1266. "name": "pagesize",
  1267. "in": "query"
  1268. },
  1269. {
  1270. "type": "string",
  1271. "description": "资金账户列表,格式:1,2,3",
  1272. "name": "accountIDs",
  1273. "in": "query",
  1274. "required": true
  1275. }
  1276. ],
  1277. "responses": {
  1278. "200": {
  1279. "description": "OK",
  1280. "schema": {
  1281. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  1282. }
  1283. },
  1284. "500": {
  1285. "description": "Internal Server Error",
  1286. "schema": {
  1287. "$ref": "#/definitions/app.Response"
  1288. }
  1289. }
  1290. }
  1291. }
  1292. },
  1293. "/HSBY/QueryHsbyGoodsOrderDetails": {
  1294. "get": {
  1295. "security": [
  1296. {
  1297. "ApiKeyAuth": []
  1298. }
  1299. ],
  1300. "description": "说明:查询结果已按委托价格和委托时间排序",
  1301. "produces": [
  1302. "application/json"
  1303. ],
  1304. "tags": [
  1305. "定制【海商报业】"
  1306. ],
  1307. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  1308. "parameters": [
  1309. {
  1310. "type": "integer",
  1311. "description": "商品ID",
  1312. "name": "goodsID",
  1313. "in": "query",
  1314. "required": true
  1315. },
  1316. {
  1317. "type": "string",
  1318. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  1319. "name": "accountIDs",
  1320. "in": "query",
  1321. "required": true
  1322. },
  1323. {
  1324. "type": "integer",
  1325. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  1326. "name": "buyOrSell",
  1327. "in": "query"
  1328. },
  1329. {
  1330. "type": "number",
  1331. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  1332. "name": "price",
  1333. "in": "query"
  1334. },
  1335. {
  1336. "type": "integer",
  1337. "description": "档位,不传则默认为3档",
  1338. "name": "speed",
  1339. "in": "query"
  1340. }
  1341. ],
  1342. "responses": {
  1343. "200": {
  1344. "description": "OK",
  1345. "schema": {
  1346. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  1347. }
  1348. },
  1349. "500": {
  1350. "description": "Internal Server Error",
  1351. "schema": {
  1352. "$ref": "#/definitions/app.Response"
  1353. }
  1354. }
  1355. }
  1356. }
  1357. },
  1358. "/HSBY/QueryHsbyListingGoodsDetail": {
  1359. "get": {
  1360. "security": [
  1361. {
  1362. "ApiKeyAuth": []
  1363. }
  1364. ],
  1365. "produces": [
  1366. "application/json"
  1367. ],
  1368. "tags": [
  1369. "定制【海商报业】"
  1370. ],
  1371. "summary": "查询二级市场(挂牌点选)商品信息详情",
  1372. "parameters": [
  1373. {
  1374. "type": "integer",
  1375. "description": "商品ID",
  1376. "name": "goodsID",
  1377. "in": "query",
  1378. "required": true
  1379. },
  1380. {
  1381. "type": "integer",
  1382. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  1383. "name": "AccountID",
  1384. "in": "query"
  1385. }
  1386. ],
  1387. "responses": {
  1388. "200": {
  1389. "description": "OK",
  1390. "schema": {
  1391. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  1392. }
  1393. },
  1394. "500": {
  1395. "description": "Internal Server Error",
  1396. "schema": {
  1397. "$ref": "#/definitions/app.Response"
  1398. }
  1399. }
  1400. }
  1401. }
  1402. },
  1403. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  1404. "get": {
  1405. "security": [
  1406. {
  1407. "ApiKeyAuth": []
  1408. }
  1409. ],
  1410. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  1411. "produces": [
  1412. "application/json"
  1413. ],
  1414. "tags": [
  1415. "定制【海商报业】"
  1416. ],
  1417. "summary": "查询“我的订单”信息",
  1418. "parameters": [
  1419. {
  1420. "type": "string",
  1421. "description": "资金账户列表,格式:1,2,3",
  1422. "name": "accountIDs",
  1423. "in": "query",
  1424. "required": true
  1425. },
  1426. {
  1427. "type": "integer",
  1428. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  1429. "name": "myBuyStatus",
  1430. "in": "query"
  1431. }
  1432. ],
  1433. "responses": {
  1434. "200": {
  1435. "description": "OK",
  1436. "schema": {
  1437. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  1438. }
  1439. },
  1440. "500": {
  1441. "description": "Internal Server Error",
  1442. "schema": {
  1443. "$ref": "#/definitions/app.Response"
  1444. }
  1445. }
  1446. }
  1447. }
  1448. },
  1449. "/HSBY/QueryHsbyMyGoods": {
  1450. "get": {
  1451. "security": [
  1452. {
  1453. "ApiKeyAuth": []
  1454. }
  1455. ],
  1456. "produces": [
  1457. "application/json"
  1458. ],
  1459. "tags": [
  1460. "定制【海商报业】"
  1461. ],
  1462. "summary": "查询“我的商品”信息",
  1463. "parameters": [
  1464. {
  1465. "type": "string",
  1466. "description": "资金账户列表,格式:1,2,3",
  1467. "name": "accountIDs",
  1468. "in": "query",
  1469. "required": true
  1470. }
  1471. ],
  1472. "responses": {
  1473. "200": {
  1474. "description": "OK",
  1475. "schema": {
  1476. "$ref": "#/definitions/models.HsbyMyGoods"
  1477. }
  1478. },
  1479. "500": {
  1480. "description": "Internal Server Error",
  1481. "schema": {
  1482. "$ref": "#/definitions/app.Response"
  1483. }
  1484. }
  1485. }
  1486. }
  1487. },
  1488. "/HSBY/QueryHsbyMyPackages": {
  1489. "get": {
  1490. "security": [
  1491. {
  1492. "ApiKeyAuth": []
  1493. }
  1494. ],
  1495. "produces": [
  1496. "application/json"
  1497. ],
  1498. "tags": [
  1499. "定制【海商报业】"
  1500. ],
  1501. "summary": "查询我的包裹信息",
  1502. "parameters": [
  1503. {
  1504. "type": "string",
  1505. "description": "资金账户列表,格式:1,2,3",
  1506. "name": "accountIDs",
  1507. "in": "query",
  1508. "required": true
  1509. },
  1510. {
  1511. "type": "integer",
  1512. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  1513. "name": "takeOrderStatus",
  1514. "in": "query"
  1515. }
  1516. ],
  1517. "responses": {
  1518. "200": {
  1519. "description": "OK",
  1520. "schema": {
  1521. "$ref": "#/definitions/models.HsbyMyPackage"
  1522. }
  1523. },
  1524. "500": {
  1525. "description": "Internal Server Error",
  1526. "schema": {
  1527. "$ref": "#/definitions/app.Response"
  1528. }
  1529. }
  1530. }
  1531. }
  1532. },
  1533. "/HSBY/QueryHsbyPreGoodsDetail": {
  1534. "get": {
  1535. "security": [
  1536. {
  1537. "ApiKeyAuth": []
  1538. }
  1539. ],
  1540. "produces": [
  1541. "application/json"
  1542. ],
  1543. "tags": [
  1544. "定制【海商报业】"
  1545. ],
  1546. "summary": "查询一级市场(产能预售)商品信息详情",
  1547. "parameters": [
  1548. {
  1549. "type": "integer",
  1550. "description": "商品ID",
  1551. "name": "goodsID",
  1552. "in": "query",
  1553. "required": true
  1554. },
  1555. {
  1556. "type": "integer",
  1557. "description": "资金账户,主要用于获取预售商品购买上限",
  1558. "name": "accountID",
  1559. "in": "query",
  1560. "required": true
  1561. }
  1562. ],
  1563. "responses": {
  1564. "200": {
  1565. "description": "OK",
  1566. "schema": {
  1567. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  1568. }
  1569. },
  1570. "500": {
  1571. "description": "Internal Server Error",
  1572. "schema": {
  1573. "$ref": "#/definitions/app.Response"
  1574. }
  1575. }
  1576. }
  1577. }
  1578. },
  1579. "/HSBY/QueryHsbyPreGoodses": {
  1580. "get": {
  1581. "security": [
  1582. {
  1583. "ApiKeyAuth": []
  1584. }
  1585. ],
  1586. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  1587. "produces": [
  1588. "application/json"
  1589. ],
  1590. "tags": [
  1591. "定制【海商报业】"
  1592. ],
  1593. "summary": "查询新品上市商品列表(一级市场产能预售)",
  1594. "parameters": [
  1595. {
  1596. "type": "integer",
  1597. "description": "页码",
  1598. "name": "page",
  1599. "in": "query"
  1600. },
  1601. {
  1602. "type": "integer",
  1603. "description": "每页条数",
  1604. "name": "pagesize",
  1605. "in": "query"
  1606. },
  1607. {
  1608. "type": "string",
  1609. "description": "市场ID列表,格式:1,2,3",
  1610. "name": "marketIDs",
  1611. "in": "query",
  1612. "required": true
  1613. },
  1614. {
  1615. "type": "integer",
  1616. "description": "目的地(省)ID",
  1617. "name": "descProvinceID",
  1618. "in": "query"
  1619. },
  1620. {
  1621. "type": "integer",
  1622. "description": "目的地(市)ID",
  1623. "name": "descCityID",
  1624. "in": "query"
  1625. }
  1626. ],
  1627. "responses": {
  1628. "200": {
  1629. "description": "OK",
  1630. "schema": {
  1631. "$ref": "#/definitions/models.HsbyPreGoods"
  1632. }
  1633. },
  1634. "500": {
  1635. "description": "Internal Server Error",
  1636. "schema": {
  1637. "$ref": "#/definitions/app.Response"
  1638. }
  1639. }
  1640. }
  1641. }
  1642. },
  1643. "/HSBY/QueryHsbySellMyDetails": {
  1644. "get": {
  1645. "security": [
  1646. {
  1647. "ApiKeyAuth": []
  1648. }
  1649. ],
  1650. "description": "说明:已发布 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  1651. "produces": [
  1652. "application/json"
  1653. ],
  1654. "tags": [
  1655. "定制【海商报业】"
  1656. ],
  1657. "summary": "查询\"我的闲置\"单据信息",
  1658. "parameters": [
  1659. {
  1660. "type": "integer",
  1661. "description": "页码",
  1662. "name": "page",
  1663. "in": "query"
  1664. },
  1665. {
  1666. "type": "integer",
  1667. "description": "每页条数",
  1668. "name": "pagesize",
  1669. "in": "query"
  1670. },
  1671. {
  1672. "type": "string",
  1673. "description": "资金账户列表,格式:1,2,3",
  1674. "name": "accountIDs",
  1675. "in": "query",
  1676. "required": true
  1677. },
  1678. {
  1679. "type": "integer",
  1680. "description": "单据类型:0 - 已发布(默认), 1 - 已完成",
  1681. "name": "orderType",
  1682. "in": "query"
  1683. }
  1684. ],
  1685. "responses": {
  1686. "200": {
  1687. "description": "OK",
  1688. "schema": {
  1689. "$ref": "#/definitions/models.HsbySellMyDetail"
  1690. }
  1691. },
  1692. "500": {
  1693. "description": "Internal Server Error",
  1694. "schema": {
  1695. "$ref": "#/definitions/app.Response"
  1696. }
  1697. }
  1698. }
  1699. }
  1700. },
  1701. "/HSBY/QueryHsbyTopGoodses": {
  1702. "get": {
  1703. "security": [
  1704. {
  1705. "ApiKeyAuth": []
  1706. }
  1707. ],
  1708. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  1709. "produces": [
  1710. "application/json"
  1711. ],
  1712. "tags": [
  1713. "定制【海商报业】"
  1714. ],
  1715. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  1716. "parameters": [
  1717. {
  1718. "type": "integer",
  1719. "description": "页码",
  1720. "name": "page",
  1721. "in": "query"
  1722. },
  1723. {
  1724. "type": "integer",
  1725. "description": "每页条数",
  1726. "name": "pagesize",
  1727. "in": "query"
  1728. },
  1729. {
  1730. "type": "string",
  1731. "description": "市场ID列表,格式:1,2,3",
  1732. "name": "marketIDs",
  1733. "in": "query",
  1734. "required": true
  1735. },
  1736. {
  1737. "type": "integer",
  1738. "description": "目的地(省)ID",
  1739. "name": "descProvinceID",
  1740. "in": "query"
  1741. },
  1742. {
  1743. "type": "integer",
  1744. "description": "目的地(市)ID",
  1745. "name": "descCityID",
  1746. "in": "query"
  1747. }
  1748. ],
  1749. "responses": {
  1750. "200": {
  1751. "description": "OK",
  1752. "schema": {
  1753. "$ref": "#/definitions/models.HsbyTopGoods"
  1754. }
  1755. },
  1756. "500": {
  1757. "description": "Internal Server Error",
  1758. "schema": {
  1759. "$ref": "#/definitions/app.Response"
  1760. }
  1761. }
  1762. }
  1763. }
  1764. },
  1765. "/HSBY/QueryProvincesAndCities": {
  1766. "get": {
  1767. "security": [
  1768. {
  1769. "ApiKeyAuth": []
  1770. }
  1771. ],
  1772. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  1773. "produces": [
  1774. "application/json"
  1775. ],
  1776. "tags": [
  1777. "定制【海商报业】"
  1778. ],
  1779. "summary": "查询省市信息(不包括区)",
  1780. "parameters": [
  1781. {
  1782. "type": "integer",
  1783. "description": "省ID",
  1784. "name": "provinceID",
  1785. "in": "query"
  1786. }
  1787. ],
  1788. "responses": {
  1789. "200": {
  1790. "description": "OK",
  1791. "schema": {
  1792. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  1793. }
  1794. },
  1795. "500": {
  1796. "description": "Internal Server Error",
  1797. "schema": {
  1798. "$ref": "#/definitions/app.Response"
  1799. }
  1800. }
  1801. }
  1802. }
  1803. },
  1804. "/HSBY/SetHsbyMyPackagesStatus": {
  1805. "post": {
  1806. "security": [
  1807. {
  1808. "ApiKeyAuth": []
  1809. }
  1810. ],
  1811. "produces": [
  1812. "application/json"
  1813. ],
  1814. "tags": [
  1815. "定制【海商报业】"
  1816. ],
  1817. "summary": "设置我的包裹已收货状态",
  1818. "parameters": [
  1819. {
  1820. "type": "string",
  1821. "description": "提货单号",
  1822. "name": "takeOrderID",
  1823. "in": "query",
  1824. "required": true
  1825. },
  1826. {
  1827. "type": "integer",
  1828. "description": "资金账号",
  1829. "name": "accountID",
  1830. "in": "query",
  1831. "required": true
  1832. }
  1833. ],
  1834. "responses": {
  1835. "200": {
  1836. "description": "OK",
  1837. "schema": {
  1838. "$ref": "#/definitions/app.Response"
  1839. }
  1840. },
  1841. "500": {
  1842. "description": "Internal Server Error",
  1843. "schema": {
  1844. "$ref": "#/definitions/app.Response"
  1845. }
  1846. }
  1847. }
  1848. }
  1849. },
  1850. "/Order/QueryHisTradeDetail": {
  1851. "get": {
  1852. "security": [
  1853. {
  1854. "ApiKeyAuth": []
  1855. }
  1856. ],
  1857. "produces": [
  1858. "application/json"
  1859. ],
  1860. "tags": [
  1861. "通用单据"
  1862. ],
  1863. "summary": "历史成交单查询(合约市场)",
  1864. "parameters": [
  1865. {
  1866. "type": "string",
  1867. "description": "资金账户 - 格式:1,2,3",
  1868. "name": "accountID",
  1869. "in": "query",
  1870. "required": true
  1871. },
  1872. {
  1873. "type": "integer",
  1874. "description": "成交单号",
  1875. "name": "tradeID",
  1876. "in": "query"
  1877. },
  1878. {
  1879. "type": "integer",
  1880. "description": "委托单号",
  1881. "name": "orderID",
  1882. "in": "query"
  1883. },
  1884. {
  1885. "type": "string",
  1886. "description": "交易模式 - 格式:1,2,3",
  1887. "name": "tradeMode",
  1888. "in": "query"
  1889. },
  1890. {
  1891. "type": "integer",
  1892. "description": "委托单据类型",
  1893. "name": "buildType",
  1894. "in": "query"
  1895. },
  1896. {
  1897. "type": "string",
  1898. "description": "成交类别 - 格式:1,2,3",
  1899. "name": "tradeType",
  1900. "in": "query"
  1901. },
  1902. {
  1903. "type": "string",
  1904. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1905. "name": "startDate",
  1906. "in": "query"
  1907. },
  1908. {
  1909. "type": "string",
  1910. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1911. "name": "endDate",
  1912. "in": "query"
  1913. }
  1914. ],
  1915. "responses": {
  1916. "200": {
  1917. "description": "OK",
  1918. "schema": {
  1919. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  1920. }
  1921. },
  1922. "500": {
  1923. "description": "Internal Server Error",
  1924. "schema": {
  1925. "$ref": "#/definitions/app.Response"
  1926. }
  1927. }
  1928. }
  1929. }
  1930. },
  1931. "/Order/QueryHisTradeOrderDetail": {
  1932. "get": {
  1933. "security": [
  1934. {
  1935. "ApiKeyAuth": []
  1936. }
  1937. ],
  1938. "produces": [
  1939. "application/json"
  1940. ],
  1941. "tags": [
  1942. "通用单据"
  1943. ],
  1944. "summary": "历史委托单查询请求(合约市场)",
  1945. "parameters": [
  1946. {
  1947. "type": "string",
  1948. "description": "资金账户 - 格式:1,2,3",
  1949. "name": "accountID",
  1950. "in": "query",
  1951. "required": true
  1952. },
  1953. {
  1954. "type": "string",
  1955. "description": "交易模式 - 格式:1,2,3",
  1956. "name": "tradeMode",
  1957. "in": "query"
  1958. },
  1959. {
  1960. "type": "string",
  1961. "description": "委托状态 - 格式:1,2,3",
  1962. "name": "orderStatus",
  1963. "in": "query"
  1964. },
  1965. {
  1966. "type": "integer",
  1967. "description": "委托单号",
  1968. "name": "orderID",
  1969. "in": "query"
  1970. },
  1971. {
  1972. "type": "string",
  1973. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1974. "name": "startDate",
  1975. "in": "query"
  1976. },
  1977. {
  1978. "type": "string",
  1979. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1980. "name": "endDate",
  1981. "in": "query"
  1982. }
  1983. ],
  1984. "responses": {
  1985. "200": {
  1986. "description": "OK",
  1987. "schema": {
  1988. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  1989. }
  1990. },
  1991. "500": {
  1992. "description": "Internal Server Error",
  1993. "schema": {
  1994. "$ref": "#/definitions/app.Response"
  1995. }
  1996. }
  1997. }
  1998. }
  1999. },
  2000. "/Order/QueryTradeDetail": {
  2001. "get": {
  2002. "security": [
  2003. {
  2004. "ApiKeyAuth": []
  2005. }
  2006. ],
  2007. "produces": [
  2008. "application/json"
  2009. ],
  2010. "tags": [
  2011. "通用单据"
  2012. ],
  2013. "summary": "成交单查询(合约市场)",
  2014. "parameters": [
  2015. {
  2016. "type": "string",
  2017. "description": "资金账户 - 格式:1,2,3",
  2018. "name": "accountID",
  2019. "in": "query",
  2020. "required": true
  2021. },
  2022. {
  2023. "type": "integer",
  2024. "description": "成交单号",
  2025. "name": "tradeID",
  2026. "in": "query"
  2027. },
  2028. {
  2029. "type": "integer",
  2030. "description": "委托单号",
  2031. "name": "orderID",
  2032. "in": "query"
  2033. },
  2034. {
  2035. "type": "string",
  2036. "description": "交易模式 - 格式:1,2,3",
  2037. "name": "tradeMode",
  2038. "in": "query"
  2039. },
  2040. {
  2041. "type": "integer",
  2042. "description": "委托单据类型",
  2043. "name": "buildType",
  2044. "in": "query"
  2045. },
  2046. {
  2047. "type": "string",
  2048. "description": "成交类别 - 格式:1,2,3",
  2049. "name": "tradeType",
  2050. "in": "query"
  2051. }
  2052. ],
  2053. "responses": {
  2054. "200": {
  2055. "description": "OK",
  2056. "schema": {
  2057. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  2058. }
  2059. },
  2060. "500": {
  2061. "description": "Internal Server Error",
  2062. "schema": {
  2063. "$ref": "#/definitions/app.Response"
  2064. }
  2065. }
  2066. }
  2067. }
  2068. },
  2069. "/Order/QueryTradeOrderDetail": {
  2070. "get": {
  2071. "security": [
  2072. {
  2073. "ApiKeyAuth": []
  2074. }
  2075. ],
  2076. "produces": [
  2077. "application/json"
  2078. ],
  2079. "tags": [
  2080. "通用单据"
  2081. ],
  2082. "summary": "委托单查询请求(合约市场)",
  2083. "parameters": [
  2084. {
  2085. "type": "string",
  2086. "description": "资金账户 - 格式:1,2,3",
  2087. "name": "accountID",
  2088. "in": "query",
  2089. "required": true
  2090. },
  2091. {
  2092. "type": "string",
  2093. "description": "交易模式 - 格式:1,2,3",
  2094. "name": "tradeMode",
  2095. "in": "query"
  2096. },
  2097. {
  2098. "type": "string",
  2099. "description": "委托状态 - 格式:1,2,3",
  2100. "name": "orderStatus",
  2101. "in": "query"
  2102. },
  2103. {
  2104. "type": "integer",
  2105. "description": "委托单号",
  2106. "name": "orderID",
  2107. "in": "query"
  2108. }
  2109. ],
  2110. "responses": {
  2111. "200": {
  2112. "description": "OK",
  2113. "schema": {
  2114. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  2115. }
  2116. },
  2117. "500": {
  2118. "description": "Internal Server Error",
  2119. "schema": {
  2120. "$ref": "#/definitions/app.Response"
  2121. }
  2122. }
  2123. }
  2124. }
  2125. },
  2126. "/Order/QueryTradePosition": {
  2127. "get": {
  2128. "security": [
  2129. {
  2130. "ApiKeyAuth": []
  2131. }
  2132. ],
  2133. "produces": [
  2134. "application/json"
  2135. ],
  2136. "tags": [
  2137. "通用单据"
  2138. ],
  2139. "summary": "持仓汇总查询(合约市场)",
  2140. "parameters": [
  2141. {
  2142. "type": "string",
  2143. "description": "资金账户 - 格式:1,2,3",
  2144. "name": "accountID",
  2145. "in": "query",
  2146. "required": true
  2147. },
  2148. {
  2149. "type": "string",
  2150. "description": "交易模式 - 格式:1,2,3",
  2151. "name": "tradeMode",
  2152. "in": "query"
  2153. }
  2154. ],
  2155. "responses": {
  2156. "200": {
  2157. "description": "OK",
  2158. "schema": {
  2159. "$ref": "#/definitions/order.QueryTradePositionRsp"
  2160. }
  2161. },
  2162. "500": {
  2163. "description": "Internal Server Error",
  2164. "schema": {
  2165. "$ref": "#/definitions/app.Response"
  2166. }
  2167. }
  2168. }
  2169. }
  2170. },
  2171. "/Quote/QueryHistoryDatas": {
  2172. "get": {
  2173. "security": [
  2174. {
  2175. "ApiKeyAuth": []
  2176. }
  2177. ],
  2178. "produces": [
  2179. "application/json"
  2180. ],
  2181. "tags": [
  2182. "行情服务"
  2183. ],
  2184. "summary": "查询行情历史数据",
  2185. "parameters": [
  2186. {
  2187. "type": "integer",
  2188. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  2189. "name": "cycleType",
  2190. "in": "query",
  2191. "required": true
  2192. },
  2193. {
  2194. "type": "string",
  2195. "description": "商品代码",
  2196. "name": "goodsCode",
  2197. "in": "query",
  2198. "required": true
  2199. },
  2200. {
  2201. "type": "string",
  2202. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  2203. "name": "startTime",
  2204. "in": "query"
  2205. },
  2206. {
  2207. "type": "string",
  2208. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  2209. "name": "endTime",
  2210. "in": "query"
  2211. },
  2212. {
  2213. "type": "integer",
  2214. "description": "条数",
  2215. "name": "count",
  2216. "in": "query"
  2217. },
  2218. {
  2219. "type": "boolean",
  2220. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  2221. "name": "isAsc",
  2222. "in": "query"
  2223. }
  2224. ],
  2225. "responses": {
  2226. "200": {
  2227. "description": "OK",
  2228. "schema": {
  2229. "$ref": "#/definitions/quote.HistoryData"
  2230. }
  2231. },
  2232. "500": {
  2233. "description": "Internal Server Error",
  2234. "schema": {
  2235. "$ref": "#/definitions/app.Response"
  2236. }
  2237. }
  2238. }
  2239. }
  2240. },
  2241. "/Quote/QueryTSData": {
  2242. "get": {
  2243. "produces": [
  2244. "application/json"
  2245. ],
  2246. "tags": [
  2247. "行情服务"
  2248. ],
  2249. "summary": "分时图数据查询",
  2250. "parameters": [
  2251. {
  2252. "type": "string",
  2253. "description": "商品代码",
  2254. "name": "GoodsCode",
  2255. "in": "query",
  2256. "required": true
  2257. }
  2258. ],
  2259. "responses": {
  2260. "200": {
  2261. "description": "OK",
  2262. "schema": {
  2263. "$ref": "#/definitions/quote.QueryTSDataRsp"
  2264. }
  2265. },
  2266. "500": {
  2267. "description": "Internal Server Error",
  2268. "schema": {
  2269. "$ref": "#/definitions/app.Response"
  2270. }
  2271. }
  2272. }
  2273. }
  2274. },
  2275. "/SZDZ/QueryConvertConfig": {
  2276. "get": {
  2277. "security": [
  2278. {
  2279. "ApiKeyAuth": []
  2280. }
  2281. ],
  2282. "produces": [
  2283. "application/json"
  2284. ],
  2285. "tags": [
  2286. "定制【尚志大宗】"
  2287. ],
  2288. "summary": "查询交易系统转换设置",
  2289. "parameters": [
  2290. {
  2291. "type": "integer",
  2292. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  2293. "name": "convertType",
  2294. "in": "query"
  2295. },
  2296. {
  2297. "type": "string",
  2298. "description": "外部商品代码[JD\\PD]",
  2299. "name": "outerGoodsCode",
  2300. "in": "query"
  2301. },
  2302. {
  2303. "type": "string",
  2304. "description": "内部商品ID列表[交易],格式:1,2,3",
  2305. "name": "innerGoodsIDs",
  2306. "in": "query"
  2307. }
  2308. ],
  2309. "responses": {
  2310. "200": {
  2311. "description": "OK",
  2312. "schema": {
  2313. "$ref": "#/definitions/models.Szdz3convertconfig"
  2314. }
  2315. },
  2316. "500": {
  2317. "description": "Internal Server Error",
  2318. "schema": {
  2319. "$ref": "#/definitions/app.Response"
  2320. }
  2321. }
  2322. }
  2323. }
  2324. },
  2325. "/SZDZ/QueryConvertLog": {
  2326. "get": {
  2327. "security": [
  2328. {
  2329. "ApiKeyAuth": []
  2330. }
  2331. ],
  2332. "produces": [
  2333. "application/json"
  2334. ],
  2335. "tags": [
  2336. "定制【尚志大宗】"
  2337. ],
  2338. "summary": "交易系统转换流水查询",
  2339. "parameters": [
  2340. {
  2341. "type": "string",
  2342. "description": "资金账户 - 格式:1,2,3",
  2343. "name": "accountID",
  2344. "in": "query",
  2345. "required": true
  2346. },
  2347. {
  2348. "type": "string",
  2349. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  2350. "name": "startDate",
  2351. "in": "query"
  2352. },
  2353. {
  2354. "type": "string",
  2355. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  2356. "name": "endDate",
  2357. "in": "query"
  2358. }
  2359. ],
  2360. "responses": {
  2361. "200": {
  2362. "description": "OK",
  2363. "schema": {
  2364. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  2365. }
  2366. },
  2367. "500": {
  2368. "description": "Internal Server Error",
  2369. "schema": {
  2370. "$ref": "#/definitions/app.Response"
  2371. }
  2372. }
  2373. }
  2374. }
  2375. },
  2376. "/SZDZ/QueryGoodsPickup": {
  2377. "get": {
  2378. "security": [
  2379. {
  2380. "ApiKeyAuth": []
  2381. }
  2382. ],
  2383. "produces": [
  2384. "application/json"
  2385. ],
  2386. "tags": [
  2387. "定制【尚志大宗】"
  2388. ],
  2389. "summary": "商品提货单查询",
  2390. "parameters": [
  2391. {
  2392. "type": "string",
  2393. "description": "资金账户 - 格式:1,2,3",
  2394. "name": "accountID",
  2395. "in": "query",
  2396. "required": true
  2397. },
  2398. {
  2399. "type": "integer",
  2400. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2401. "name": "takeOrderStatus",
  2402. "in": "query"
  2403. }
  2404. ],
  2405. "responses": {
  2406. "200": {
  2407. "description": "OK",
  2408. "schema": {
  2409. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  2410. }
  2411. },
  2412. "500": {
  2413. "description": "Internal Server Error",
  2414. "schema": {
  2415. "$ref": "#/definitions/app.Response"
  2416. }
  2417. }
  2418. }
  2419. }
  2420. },
  2421. "/SZDZ/QueryRecieptOrder": {
  2422. "get": {
  2423. "security": [
  2424. {
  2425. "ApiKeyAuth": []
  2426. }
  2427. ],
  2428. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  2429. "produces": [
  2430. "application/json"
  2431. ],
  2432. "tags": [
  2433. "定制【尚志大宗】"
  2434. ],
  2435. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  2436. "parameters": [
  2437. {
  2438. "type": "integer",
  2439. "description": "页码",
  2440. "name": "page",
  2441. "in": "query"
  2442. },
  2443. {
  2444. "type": "integer",
  2445. "description": "每页条数",
  2446. "name": "pagesize",
  2447. "in": "query"
  2448. },
  2449. {
  2450. "type": "integer",
  2451. "description": "商品ID",
  2452. "name": "goodsID",
  2453. "in": "query",
  2454. "required": true
  2455. },
  2456. {
  2457. "type": "string",
  2458. "description": "所属账户名称",
  2459. "name": "accountName",
  2460. "in": "query"
  2461. },
  2462. {
  2463. "type": "integer",
  2464. "description": "市场ID",
  2465. "name": "marketID",
  2466. "in": "query"
  2467. },
  2468. {
  2469. "type": "integer",
  2470. "description": "方向 - 0:买 1:卖",
  2471. "name": "buyorsell",
  2472. "in": "query",
  2473. "required": true
  2474. }
  2475. ],
  2476. "responses": {
  2477. "200": {
  2478. "description": "OK",
  2479. "schema": {
  2480. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  2481. }
  2482. },
  2483. "500": {
  2484. "description": "Internal Server Error",
  2485. "schema": {
  2486. "$ref": "#/definitions/app.Response"
  2487. }
  2488. }
  2489. }
  2490. }
  2491. },
  2492. "/SZDZ/QuerySZDZTradePosition": {
  2493. "get": {
  2494. "security": [
  2495. {
  2496. "ApiKeyAuth": []
  2497. }
  2498. ],
  2499. "produces": [
  2500. "application/json"
  2501. ],
  2502. "tags": [
  2503. "定制【尚志大宗】"
  2504. ],
  2505. "summary": "持仓汇总查询(尚志大宗)",
  2506. "parameters": [
  2507. {
  2508. "type": "integer",
  2509. "description": "资金账户",
  2510. "name": "accountID",
  2511. "in": "query",
  2512. "required": true
  2513. }
  2514. ],
  2515. "responses": {
  2516. "200": {
  2517. "description": "OK",
  2518. "schema": {
  2519. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  2520. }
  2521. },
  2522. "500": {
  2523. "description": "Internal Server Error",
  2524. "schema": {
  2525. "$ref": "#/definitions/app.Response"
  2526. }
  2527. }
  2528. }
  2529. }
  2530. },
  2531. "/SZDZ/SearchWhite": {
  2532. "get": {
  2533. "security": [
  2534. {
  2535. "ApiKeyAuth": []
  2536. }
  2537. ],
  2538. "produces": [
  2539. "application/json"
  2540. ],
  2541. "tags": [
  2542. "定制【尚志大宗】"
  2543. ],
  2544. "summary": "搜索白名单",
  2545. "parameters": [
  2546. {
  2547. "type": "integer",
  2548. "description": "用户ID",
  2549. "name": "userID",
  2550. "in": "query",
  2551. "required": true
  2552. }
  2553. ],
  2554. "responses": {
  2555. "200": {
  2556. "description": "OK",
  2557. "schema": {
  2558. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  2559. }
  2560. },
  2561. "500": {
  2562. "description": "Internal Server Error",
  2563. "schema": {
  2564. "$ref": "#/definitions/app.Response"
  2565. }
  2566. }
  2567. }
  2568. }
  2569. },
  2570. "/Search/SearchGoodses": {
  2571. "get": {
  2572. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  2573. "produces": [
  2574. "application/json"
  2575. ],
  2576. "tags": [
  2577. "检索服务"
  2578. ],
  2579. "summary": "检索商品信息",
  2580. "parameters": [
  2581. {
  2582. "type": "string",
  2583. "description": "检索内容",
  2584. "name": "content",
  2585. "in": "query",
  2586. "required": true
  2587. }
  2588. ],
  2589. "responses": {
  2590. "200": {
  2591. "description": "OK",
  2592. "schema": {
  2593. "$ref": "#/definitions/models.SearchGoods"
  2594. }
  2595. },
  2596. "500": {
  2597. "description": "Internal Server Error",
  2598. "schema": {
  2599. "$ref": "#/definitions/app.Response"
  2600. }
  2601. }
  2602. }
  2603. }
  2604. },
  2605. "/TaAccount/QueryAmountLog": {
  2606. "get": {
  2607. "security": [
  2608. {
  2609. "ApiKeyAuth": []
  2610. }
  2611. ],
  2612. "produces": [
  2613. "application/json"
  2614. ],
  2615. "tags": [
  2616. "资金账户"
  2617. ],
  2618. "summary": "资金流水查询(当前)",
  2619. "parameters": [
  2620. {
  2621. "type": "integer",
  2622. "description": "页码",
  2623. "name": "page",
  2624. "in": "query"
  2625. },
  2626. {
  2627. "type": "integer",
  2628. "description": "每页条数",
  2629. "name": "pagesize",
  2630. "in": "query"
  2631. },
  2632. {
  2633. "type": "string",
  2634. "description": "资金账户 - 格式:1,2,3",
  2635. "name": "accountID",
  2636. "in": "query",
  2637. "required": true
  2638. },
  2639. {
  2640. "type": "string",
  2641. "description": "资金操作类型 - 格式:1,2,3",
  2642. "name": "OperateType",
  2643. "in": "query"
  2644. }
  2645. ],
  2646. "responses": {
  2647. "200": {
  2648. "description": "OK",
  2649. "schema": {
  2650. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  2651. }
  2652. },
  2653. "500": {
  2654. "description": "Internal Server Error",
  2655. "schema": {
  2656. "$ref": "#/definitions/app.Response"
  2657. }
  2658. }
  2659. }
  2660. }
  2661. },
  2662. "/TaAccount/QueryHisAmountLog": {
  2663. "get": {
  2664. "security": [
  2665. {
  2666. "ApiKeyAuth": []
  2667. }
  2668. ],
  2669. "produces": [
  2670. "application/json"
  2671. ],
  2672. "tags": [
  2673. "资金账户"
  2674. ],
  2675. "summary": "资金流水查询(历史)",
  2676. "parameters": [
  2677. {
  2678. "type": "integer",
  2679. "description": "页码",
  2680. "name": "page",
  2681. "in": "query"
  2682. },
  2683. {
  2684. "type": "integer",
  2685. "description": "每页条数",
  2686. "name": "pagesize",
  2687. "in": "query"
  2688. },
  2689. {
  2690. "type": "string",
  2691. "description": "资金账户 - 格式:1,2,3",
  2692. "name": "accountID",
  2693. "in": "query",
  2694. "required": true
  2695. },
  2696. {
  2697. "type": "string",
  2698. "description": "资金操作类型 - 格式:1,2,3",
  2699. "name": "OperateType",
  2700. "in": "query"
  2701. },
  2702. {
  2703. "type": "string",
  2704. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2705. "name": "startDate",
  2706. "in": "query"
  2707. },
  2708. {
  2709. "type": "string",
  2710. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2711. "name": "endDate",
  2712. "in": "query"
  2713. }
  2714. ],
  2715. "responses": {
  2716. "200": {
  2717. "description": "OK",
  2718. "schema": {
  2719. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  2720. }
  2721. },
  2722. "500": {
  2723. "description": "Internal Server Error",
  2724. "schema": {
  2725. "$ref": "#/definitions/app.Response"
  2726. }
  2727. }
  2728. }
  2729. }
  2730. },
  2731. "/User/AddMessageBoard": {
  2732. "post": {
  2733. "security": [
  2734. {
  2735. "ApiKeyAuth": []
  2736. }
  2737. ],
  2738. "produces": [
  2739. "application/json"
  2740. ],
  2741. "tags": [
  2742. "用户信息"
  2743. ],
  2744. "summary": "添加用户留言板信息",
  2745. "parameters": [
  2746. {
  2747. "type": "integer",
  2748. "description": "用户ID",
  2749. "name": "userID",
  2750. "in": "query",
  2751. "required": true
  2752. },
  2753. {
  2754. "type": "string",
  2755. "description": "留言信息",
  2756. "name": "message",
  2757. "in": "query",
  2758. "required": true
  2759. }
  2760. ],
  2761. "responses": {
  2762. "200": {
  2763. "description": "OK",
  2764. "schema": {
  2765. "$ref": "#/definitions/app.Response"
  2766. }
  2767. },
  2768. "500": {
  2769. "description": "Internal Server Error",
  2770. "schema": {
  2771. "$ref": "#/definitions/app.Response"
  2772. }
  2773. }
  2774. }
  2775. }
  2776. },
  2777. "/User/AddUserFavoriteGoods": {
  2778. "post": {
  2779. "security": [
  2780. {
  2781. "ApiKeyAuth": []
  2782. }
  2783. ],
  2784. "produces": [
  2785. "application/json"
  2786. ],
  2787. "tags": [
  2788. "用户信息"
  2789. ],
  2790. "summary": "添加用户商品收藏信息",
  2791. "parameters": [
  2792. {
  2793. "type": "integer",
  2794. "description": "用户ID",
  2795. "name": "userID",
  2796. "in": "query",
  2797. "required": true
  2798. },
  2799. {
  2800. "type": "integer",
  2801. "description": "商品ID",
  2802. "name": "goodsID",
  2803. "in": "query",
  2804. "required": true
  2805. }
  2806. ],
  2807. "responses": {
  2808. "200": {
  2809. "description": "OK",
  2810. "schema": {
  2811. "$ref": "#/definitions/app.Response"
  2812. }
  2813. },
  2814. "500": {
  2815. "description": "Internal Server Error",
  2816. "schema": {
  2817. "$ref": "#/definitions/app.Response"
  2818. }
  2819. }
  2820. }
  2821. }
  2822. },
  2823. "/User/GetLoginID": {
  2824. "get": {
  2825. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  2826. "produces": [
  2827. "application/json"
  2828. ],
  2829. "tags": [
  2830. "用户信息"
  2831. ],
  2832. "summary": "获取登录ID",
  2833. "parameters": [
  2834. {
  2835. "type": "string",
  2836. "description": "登录代码",
  2837. "name": "username",
  2838. "in": "query",
  2839. "required": true
  2840. }
  2841. ],
  2842. "responses": {
  2843. "200": {
  2844. "description": "OK",
  2845. "schema": {
  2846. "$ref": "#/definitions/app.Response"
  2847. }
  2848. },
  2849. "500": {
  2850. "description": "Internal Server Error",
  2851. "schema": {
  2852. "$ref": "#/definitions/app.Response"
  2853. }
  2854. }
  2855. }
  2856. }
  2857. },
  2858. "/User/GetUserAccount": {
  2859. "get": {
  2860. "security": [
  2861. {
  2862. "ApiKeyAuth": []
  2863. }
  2864. ],
  2865. "produces": [
  2866. "application/json"
  2867. ],
  2868. "tags": [
  2869. "用户信息"
  2870. ],
  2871. "summary": "获取用户账号信息",
  2872. "parameters": [
  2873. {
  2874. "type": "integer",
  2875. "description": "用户ID",
  2876. "name": "userID",
  2877. "in": "query",
  2878. "required": true
  2879. }
  2880. ],
  2881. "responses": {
  2882. "200": {
  2883. "description": "OK",
  2884. "schema": {
  2885. "$ref": "#/definitions/models.Useraccount"
  2886. }
  2887. },
  2888. "500": {
  2889. "description": "Internal Server Error",
  2890. "schema": {
  2891. "$ref": "#/definitions/app.Response"
  2892. }
  2893. }
  2894. }
  2895. }
  2896. },
  2897. "/User/GetUserAuthStatus": {
  2898. "get": {
  2899. "security": [
  2900. {
  2901. "ApiKeyAuth": []
  2902. }
  2903. ],
  2904. "produces": [
  2905. "application/json"
  2906. ],
  2907. "tags": [
  2908. "用户信息"
  2909. ],
  2910. "summary": "获取用户实名认证状态",
  2911. "parameters": [
  2912. {
  2913. "type": "integer",
  2914. "description": "用户ID",
  2915. "name": "userID",
  2916. "in": "query",
  2917. "required": true
  2918. }
  2919. ],
  2920. "responses": {
  2921. "200": {
  2922. "description": "OK",
  2923. "schema": {
  2924. "$ref": "#/definitions/app.Response"
  2925. }
  2926. },
  2927. "500": {
  2928. "description": "Internal Server Error",
  2929. "schema": {
  2930. "$ref": "#/definitions/app.Response"
  2931. }
  2932. }
  2933. }
  2934. }
  2935. },
  2936. "/User/QueryMessageBoard": {
  2937. "get": {
  2938. "security": [
  2939. {
  2940. "ApiKeyAuth": []
  2941. }
  2942. ],
  2943. "produces": [
  2944. "application/json"
  2945. ],
  2946. "tags": [
  2947. "用户信息"
  2948. ],
  2949. "summary": "获取用户留言板信息",
  2950. "parameters": [
  2951. {
  2952. "type": "integer",
  2953. "description": "用户ID",
  2954. "name": "userID",
  2955. "in": "query",
  2956. "required": true
  2957. }
  2958. ],
  2959. "responses": {
  2960. "200": {
  2961. "description": "OK",
  2962. "schema": {
  2963. "$ref": "#/definitions/models.Messageboard"
  2964. }
  2965. },
  2966. "500": {
  2967. "description": "Internal Server Error",
  2968. "schema": {
  2969. "$ref": "#/definitions/app.Response"
  2970. }
  2971. }
  2972. }
  2973. }
  2974. },
  2975. "/User/QueryUserFavoriteGoodses": {
  2976. "get": {
  2977. "security": [
  2978. {
  2979. "ApiKeyAuth": []
  2980. }
  2981. ],
  2982. "produces": [
  2983. "application/json"
  2984. ],
  2985. "tags": [
  2986. "用户信息"
  2987. ],
  2988. "summary": "获取用户商品收藏信息",
  2989. "parameters": [
  2990. {
  2991. "type": "integer",
  2992. "description": "用户ID",
  2993. "name": "userID",
  2994. "in": "query",
  2995. "required": true
  2996. }
  2997. ],
  2998. "responses": {
  2999. "200": {
  3000. "description": "OK",
  3001. "schema": {
  3002. "$ref": "#/definitions/models.Userfavoritegoods"
  3003. }
  3004. },
  3005. "500": {
  3006. "description": "Internal Server Error",
  3007. "schema": {
  3008. "$ref": "#/definitions/app.Response"
  3009. }
  3010. }
  3011. }
  3012. }
  3013. },
  3014. "/User/QueryUserInfo": {
  3015. "get": {
  3016. "security": [
  3017. {
  3018. "ApiKeyAuth": []
  3019. }
  3020. ],
  3021. "produces": [
  3022. "application/json"
  3023. ],
  3024. "tags": [
  3025. "用户信息"
  3026. ],
  3027. "summary": "获取用户信息",
  3028. "parameters": [
  3029. {
  3030. "type": "integer",
  3031. "description": "用户ID",
  3032. "name": "userID",
  3033. "in": "query",
  3034. "required": true
  3035. }
  3036. ],
  3037. "responses": {
  3038. "200": {
  3039. "description": "OK",
  3040. "schema": {
  3041. "$ref": "#/definitions/models.Userinfo"
  3042. }
  3043. },
  3044. "500": {
  3045. "description": "Internal Server Error",
  3046. "schema": {
  3047. "$ref": "#/definitions/app.Response"
  3048. }
  3049. }
  3050. }
  3051. }
  3052. },
  3053. "/User/QueryUserReferNum": {
  3054. "get": {
  3055. "produces": [
  3056. "application/json"
  3057. ],
  3058. "tags": [
  3059. "用户信息"
  3060. ],
  3061. "summary": "获取用户邀请码",
  3062. "parameters": [
  3063. {
  3064. "type": "integer",
  3065. "description": "用户ID",
  3066. "name": "userID",
  3067. "in": "query",
  3068. "required": true
  3069. }
  3070. ],
  3071. "responses": {
  3072. "200": {
  3073. "description": "OK",
  3074. "schema": {
  3075. "$ref": "#/definitions/app.Response"
  3076. }
  3077. },
  3078. "500": {
  3079. "description": "Internal Server Error",
  3080. "schema": {
  3081. "$ref": "#/definitions/app.Response"
  3082. }
  3083. }
  3084. }
  3085. }
  3086. },
  3087. "/User/RemoveUserFavoriteGoods": {
  3088. "post": {
  3089. "security": [
  3090. {
  3091. "ApiKeyAuth": []
  3092. }
  3093. ],
  3094. "produces": [
  3095. "application/json"
  3096. ],
  3097. "tags": [
  3098. "用户信息"
  3099. ],
  3100. "summary": "移除用户商品收藏信息",
  3101. "parameters": [
  3102. {
  3103. "type": "integer",
  3104. "description": "用户ID",
  3105. "name": "userID",
  3106. "in": "query",
  3107. "required": true
  3108. },
  3109. {
  3110. "type": "integer",
  3111. "description": "商品ID",
  3112. "name": "goodsID",
  3113. "in": "query",
  3114. "required": true
  3115. }
  3116. ],
  3117. "responses": {
  3118. "200": {
  3119. "description": "OK",
  3120. "schema": {
  3121. "$ref": "#/definitions/app.Response"
  3122. }
  3123. },
  3124. "500": {
  3125. "description": "Internal Server Error",
  3126. "schema": {
  3127. "$ref": "#/definitions/app.Response"
  3128. }
  3129. }
  3130. }
  3131. }
  3132. },
  3133. "/WRTrade/GetAllDeliveryGoods": {
  3134. "get": {
  3135. "security": [
  3136. {
  3137. "ApiKeyAuth": []
  3138. },
  3139. {
  3140. "ApiKeyAuth": []
  3141. }
  3142. ],
  3143. "produces": [
  3144. "application/json",
  3145. "application/json"
  3146. ],
  3147. "tags": [
  3148. "仓单贸易",
  3149. "仓单贸易"
  3150. ],
  3151. "summary": "获取带仓单分类的种类信息",
  3152. "responses": {
  3153. "200": {
  3154. "description": "OK",
  3155. "schema": {
  3156. "$ref": "#/definitions/app.Response"
  3157. }
  3158. },
  3159. "500": {
  3160. "description": "Internal Server Error",
  3161. "schema": {
  3162. "$ref": "#/definitions/app.Response"
  3163. }
  3164. }
  3165. }
  3166. }
  3167. }
  3168. },
  3169. "definitions": {
  3170. "app.Response": {
  3171. "type": "object",
  3172. "properties": {
  3173. "code": {
  3174. "type": "integer"
  3175. },
  3176. "data": {
  3177. "type": "object"
  3178. },
  3179. "msg": {
  3180. "type": "string"
  3181. },
  3182. "page": {
  3183. "description": "页码",
  3184. "type": "integer"
  3185. },
  3186. "pagesize": {
  3187. "description": "每页条数",
  3188. "type": "integer"
  3189. },
  3190. "total": {
  3191. "description": "总条数",
  3192. "type": "integer"
  3193. }
  3194. }
  3195. },
  3196. "common.QueryNoticeRsp": {
  3197. "type": "object",
  3198. "required": [
  3199. "autoid"
  3200. ],
  3201. "properties": {
  3202. "auditoruserid": {
  3203. "description": "审核人",
  3204. "type": "integer"
  3205. },
  3206. "auditremark": {
  3207. "description": "审核备注",
  3208. "type": "string"
  3209. },
  3210. "audittime": {
  3211. "description": "审核日期",
  3212. "type": "string"
  3213. },
  3214. "autoid": {
  3215. "description": "自增ID",
  3216. "type": "integer"
  3217. },
  3218. "content": {
  3219. "description": "内容",
  3220. "type": "string"
  3221. },
  3222. "createtime": {
  3223. "description": "创建时间",
  3224. "type": "string"
  3225. },
  3226. "creatorid": {
  3227. "description": "建仓人",
  3228. "type": "integer"
  3229. },
  3230. "endtime": {
  3231. "description": "结束时间",
  3232. "type": "string"
  3233. },
  3234. "istop": {
  3235. "description": "是否置顶 - 0:不置顶 1:置顶",
  3236. "type": "integer"
  3237. },
  3238. "msgiconurl": {
  3239. "description": "消息图标Url",
  3240. "type": "string"
  3241. },
  3242. "msgtype": {
  3243. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  3244. "type": "integer"
  3245. },
  3246. "publisher": {
  3247. "description": "消息发布者",
  3248. "type": "string"
  3249. },
  3250. "readed": {
  3251. "description": "是否已读",
  3252. "type": "boolean"
  3253. },
  3254. "scheduletime": {
  3255. "description": "计划发送时间",
  3256. "type": "string"
  3257. },
  3258. "sendtype": {
  3259. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  3260. "type": "integer"
  3261. },
  3262. "sentstatus": {
  3263. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  3264. "type": "integer"
  3265. },
  3266. "title": {
  3267. "description": "标题",
  3268. "type": "string"
  3269. },
  3270. "userid": {
  3271. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  3272. "type": "integer"
  3273. }
  3274. }
  3275. },
  3276. "common.QueryProvincesAndCitiesRsp": {
  3277. "type": "object",
  3278. "properties": {
  3279. "cities": {
  3280. "description": "市",
  3281. "type": "array",
  3282. "items": {
  3283. "$ref": "#/definitions/models.Division"
  3284. }
  3285. },
  3286. "province": {
  3287. "description": "省",
  3288. "$ref": "#/definitions/models.Division"
  3289. }
  3290. }
  3291. },
  3292. "common.QueryTableDefineRsp": {
  3293. "type": "object",
  3294. "required": [
  3295. "tablekey"
  3296. ],
  3297. "properties": {
  3298. "columns": {
  3299. "description": "列头信息数组",
  3300. "type": "array",
  3301. "items": {
  3302. "$ref": "#/definitions/models.Tablecolumnconfig"
  3303. }
  3304. },
  3305. "remark": {
  3306. "description": "Remark",
  3307. "type": "string"
  3308. },
  3309. "tabelmenu": {
  3310. "description": "列表菜单",
  3311. "type": "string"
  3312. },
  3313. "tablekey": {
  3314. "description": "列表Key",
  3315. "type": "string"
  3316. },
  3317. "tablename": {
  3318. "description": "列表名称",
  3319. "type": "string"
  3320. },
  3321. "tabletype": {
  3322. "description": "列表类型 - 1:管理端 2:终端",
  3323. "type": "integer"
  3324. }
  3325. }
  3326. },
  3327. "common.QueryTraderMenuRsp": {
  3328. "type": "object",
  3329. "properties": {
  3330. "OperationMenu": {
  3331. "description": "功能菜单",
  3332. "type": "array",
  3333. "items": {
  3334. "$ref": "#/definitions/models.OperationPrimaryMenu"
  3335. }
  3336. },
  3337. "QuoteMenu": {
  3338. "description": "报价牌分类菜单",
  3339. "type": "array",
  3340. "items": {
  3341. "$ref": "#/definitions/models.QuotePrimaryMenu"
  3342. }
  3343. }
  3344. }
  3345. },
  3346. "cptrade.Cptradepositioncancel": {
  3347. "type": "object",
  3348. "required": [
  3349. "cancelid"
  3350. ],
  3351. "properties": {
  3352. "accountid": {
  3353. "description": "申请人账户ID",
  3354. "type": "integer"
  3355. },
  3356. "applystatus": {
  3357. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  3358. "type": "integer"
  3359. },
  3360. "applytime": {
  3361. "description": "申请时间",
  3362. "type": "string"
  3363. },
  3364. "cancelid": {
  3365. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  3366. "type": "integer"
  3367. },
  3368. "cancelqty": {
  3369. "description": "注销数量",
  3370. "type": "integer"
  3371. },
  3372. "createtime": {
  3373. "description": "创建时间",
  3374. "type": "string"
  3375. },
  3376. "creatorid": {
  3377. "description": "创建人ID",
  3378. "type": "integer"
  3379. },
  3380. "creatorname": {
  3381. "description": "创建人",
  3382. "type": "string"
  3383. },
  3384. "goodscode": {
  3385. "description": "订单商品代码",
  3386. "type": "string"
  3387. },
  3388. "goodsid": {
  3389. "description": "商品ID",
  3390. "type": "integer"
  3391. },
  3392. "goodsname": {
  3393. "description": "订单商品名称",
  3394. "type": "string"
  3395. },
  3396. "goodunit": {
  3397. "description": "报价单位",
  3398. "type": "string"
  3399. },
  3400. "handlestatus": {
  3401. "description": "处理状态",
  3402. "type": "integer"
  3403. },
  3404. "marketid": {
  3405. "description": "市场ID",
  3406. "type": "integer"
  3407. },
  3408. "marketname": {
  3409. "description": "市场名称",
  3410. "type": "string"
  3411. },
  3412. "tradedate": {
  3413. "description": "交易日(yyyyMMdd)",
  3414. "type": "string"
  3415. },
  3416. "userid": {
  3417. "description": "申请人ID",
  3418. "type": "integer"
  3419. }
  3420. }
  3421. },
  3422. "cptrade.Cptradepresaleapply": {
  3423. "type": "object",
  3424. "required": [
  3425. "applyid"
  3426. ],
  3427. "properties": {
  3428. "accountid": {
  3429. "description": "申请人账户ID",
  3430. "type": "integer"
  3431. },
  3432. "applyid": {
  3433. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  3434. "type": "integer"
  3435. },
  3436. "applyremark": {
  3437. "description": "申请备注",
  3438. "type": "string"
  3439. },
  3440. "applystatus": {
  3441. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  3442. "type": "integer"
  3443. },
  3444. "applytime": {
  3445. "description": "申请时间",
  3446. "type": "string"
  3447. },
  3448. "attachmenturl": {
  3449. "description": "附件地址",
  3450. "type": "string"
  3451. },
  3452. "endtime": {
  3453. "description": "预售结束时间",
  3454. "type": "string"
  3455. },
  3456. "goodscode": {
  3457. "description": "商品代码",
  3458. "type": "string"
  3459. },
  3460. "goodsid": {
  3461. "description": "商品ID",
  3462. "type": "integer"
  3463. },
  3464. "goodsname": {
  3465. "description": "商品名称",
  3466. "type": "string"
  3467. },
  3468. "goodunit": {
  3469. "description": "报价单位",
  3470. "type": "string"
  3471. },
  3472. "handlestatus": {
  3473. "description": "处理状态",
  3474. "type": "integer"
  3475. },
  3476. "marketid": {
  3477. "description": "预售市场ID",
  3478. "type": "integer"
  3479. },
  3480. "marketname": {
  3481. "description": "预售市场名称",
  3482. "type": "string"
  3483. },
  3484. "presaleqty": {
  3485. "description": "预售数量",
  3486. "type": "integer"
  3487. },
  3488. "relatedgoodscode": {
  3489. "description": "关联交易合约代码",
  3490. "type": "string"
  3491. },
  3492. "relatedgoodsid": {
  3493. "description": "关联交易合约ID",
  3494. "type": "integer"
  3495. },
  3496. "relatedgoodsname": {
  3497. "description": "关联交易合约名称",
  3498. "type": "string"
  3499. },
  3500. "starttime": {
  3501. "description": "预售开始时间",
  3502. "type": "string"
  3503. },
  3504. "tradedate": {
  3505. "description": "交易日(yyyyMMdd)",
  3506. "type": "string"
  3507. },
  3508. "trademode": {
  3509. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  3510. "type": "integer"
  3511. },
  3512. "userid": {
  3513. "description": "申请人ID",
  3514. "type": "integer"
  3515. }
  3516. }
  3517. },
  3518. "cptrade.Cptradeusergoodsdata": {
  3519. "type": "object",
  3520. "required": [
  3521. "accountid",
  3522. "goodsid"
  3523. ],
  3524. "properties": {
  3525. "EnabledQty": {
  3526. "description": "可用量",
  3527. "type": "integer"
  3528. },
  3529. "GoodsCode": {
  3530. "description": "订单商品代码",
  3531. "type": "string"
  3532. },
  3533. "GoodsName": {
  3534. "description": "订单商品名称",
  3535. "type": "string"
  3536. },
  3537. "WRStandardCode": {
  3538. "description": "仓单标准代码",
  3539. "type": "string"
  3540. },
  3541. "WRStandardName": {
  3542. "description": "仓单标准名称",
  3543. "type": "string"
  3544. },
  3545. "accountid": {
  3546. "description": "账户ID",
  3547. "type": "integer"
  3548. },
  3549. "cancelqty": {
  3550. "description": "注销量",
  3551. "type": "integer"
  3552. },
  3553. "curpresaleqty": {
  3554. "description": "当前预售量",
  3555. "type": "integer"
  3556. },
  3557. "deliveryqty": {
  3558. "description": "交割量",
  3559. "type": "integer"
  3560. },
  3561. "freezeamount": {
  3562. "description": "冻结金额",
  3563. "type": "number"
  3564. },
  3565. "goodsid": {
  3566. "description": "商品ID",
  3567. "type": "integer"
  3568. },
  3569. "goodunit": {
  3570. "description": "报价单位",
  3571. "type": "string"
  3572. },
  3573. "hasspotfreeze": {
  3574. "description": "是否有现货冻结 - 0:否 1:有",
  3575. "type": "integer"
  3576. },
  3577. "inqty": {
  3578. "description": "转入量(总数量)",
  3579. "type": "integer"
  3580. },
  3581. "marketid": {
  3582. "description": "市场ID",
  3583. "type": "integer"
  3584. },
  3585. "presaledamount": {
  3586. "description": "已预售总金额",
  3587. "type": "integer"
  3588. },
  3589. "presaledqty": {
  3590. "description": "已预售量",
  3591. "type": "integer"
  3592. },
  3593. "userid": {
  3594. "description": "用户ID",
  3595. "type": "integer"
  3596. },
  3597. "wrstandardid": {
  3598. "description": "仓单标准ID",
  3599. "type": "integer"
  3600. }
  3601. }
  3602. },
  3603. "cptrade.QueryCPTradeMyBidRsp": {
  3604. "type": "object",
  3605. "required": [
  3606. "accountid",
  3607. "goodsid",
  3608. "marketid",
  3609. "orderid",
  3610. "orderqty",
  3611. "ordertime",
  3612. "tradeprice",
  3613. "tradeqty"
  3614. ],
  3615. "properties": {
  3616. "accountid": {
  3617. "description": "账户ID[报价币种]",
  3618. "type": "integer"
  3619. },
  3620. "goodsid": {
  3621. "description": "商品ID",
  3622. "type": "integer"
  3623. },
  3624. "goodunit": {
  3625. "description": "报价单位",
  3626. "type": "string"
  3627. },
  3628. "marketid": {
  3629. "description": "市场ID",
  3630. "type": "integer"
  3631. },
  3632. "orderid": {
  3633. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  3634. "type": "integer"
  3635. },
  3636. "orderprice": {
  3637. "description": "委托价格",
  3638. "type": "number"
  3639. },
  3640. "orderqty": {
  3641. "description": "委托数量",
  3642. "type": "integer"
  3643. },
  3644. "ordertime": {
  3645. "description": "委托时间",
  3646. "type": "string"
  3647. },
  3648. "ordertotalprice": {
  3649. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  3650. "type": "number"
  3651. },
  3652. "ordertotalweight": {
  3653. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  3654. "type": "integer"
  3655. },
  3656. "totaltotalprice": {
  3657. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  3658. "type": "number"
  3659. },
  3660. "tradeprice": {
  3661. "description": "成交价格",
  3662. "type": "number"
  3663. },
  3664. "tradeqty": {
  3665. "description": "成交数量",
  3666. "type": "integer"
  3667. }
  3668. }
  3669. },
  3670. "cptrade.QueryCPTradeOrderDetailRsq": {
  3671. "type": "object",
  3672. "required": [
  3673. "accountid",
  3674. "buildtype",
  3675. "buyorsell",
  3676. "goodsid",
  3677. "marketid",
  3678. "memberuserid",
  3679. "operatetype",
  3680. "orderqty",
  3681. "ordertime",
  3682. "pricemode",
  3683. "strorderid",
  3684. "tradedate",
  3685. "validtype"
  3686. ],
  3687. "properties": {
  3688. "accountid": {
  3689. "description": "账户ID[报价币种]",
  3690. "type": "integer"
  3691. },
  3692. "buildtype": {
  3693. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  3694. "type": "integer"
  3695. },
  3696. "buyorsell": {
  3697. "description": "买卖 - 0:买 1:卖",
  3698. "type": "integer"
  3699. },
  3700. "cancelorderid": {
  3701. "description": "撤单单号(撤单时填写)",
  3702. "type": "integer"
  3703. },
  3704. "cancelqty": {
  3705. "description": "撤单数量",
  3706. "type": "integer"
  3707. },
  3708. "clientordertime": {
  3709. "description": "客户端委托时间",
  3710. "type": "string"
  3711. },
  3712. "clientticket": {
  3713. "description": "客户端流水号",
  3714. "type": "string"
  3715. },
  3716. "clienttype": {
  3717. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  3718. "type": "integer"
  3719. },
  3720. "closeexchagechargevalue": {
  3721. "description": "平仓交易所手续费设置值",
  3722. "type": "number"
  3723. },
  3724. "closefeealgorithm": {
  3725. "description": "平仓手续费收取方式 1:比率 2:固定",
  3726. "type": "integer"
  3727. },
  3728. "closefreezecharge": {
  3729. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  3730. "type": "number"
  3731. },
  3732. "closememberchargevalue": {
  3733. "description": "平仓会员手续费设置值",
  3734. "type": "number"
  3735. },
  3736. "closeqty": {
  3737. "description": "平仓数量(先建后平操作 需要记录)",
  3738. "type": "integer"
  3739. },
  3740. "closetradeqty": {
  3741. "description": "平仓成交数量(先建后平操作,需要记录)",
  3742. "type": "integer"
  3743. },
  3744. "closeunfreezecharge": {
  3745. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  3746. "type": "number"
  3747. },
  3748. "delistingtype": {
  3749. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  3750. "type": "integer"
  3751. },
  3752. "freezecharge": {
  3753. "description": "冻结手续费",
  3754. "type": "number"
  3755. },
  3756. "freezemargin": {
  3757. "description": "冻结保证金(冻结交易金额)",
  3758. "type": "number"
  3759. },
  3760. "gcaccountid": {
  3761. "description": "账户ID[合约币种]",
  3762. "type": "integer"
  3763. },
  3764. "goodsid": {
  3765. "description": "商品ID",
  3766. "type": "integer"
  3767. },
  3768. "isconfirmexercise": {
  3769. "description": "是否确认行权- 0:否 1:是",
  3770. "type": "integer"
  3771. },
  3772. "ispreexercise": {
  3773. "description": "是否预申报- 0:否 1:是",
  3774. "type": "integer"
  3775. },
  3776. "listingselecttype": {
  3777. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  3778. "type": "integer"
  3779. },
  3780. "marginalgorithm": {
  3781. "description": "保证金收取方式 1:比率 2:固定",
  3782. "type": "integer"
  3783. },
  3784. "marginvalue": {
  3785. "description": "即市保证金设置值",
  3786. "type": "number"
  3787. },
  3788. "marketid": {
  3789. "description": "市场ID",
  3790. "type": "integer"
  3791. },
  3792. "marketmaxsub": {
  3793. "description": "市价最大偏移范围",
  3794. "type": "number"
  3795. },
  3796. "memberuserid": {
  3797. "description": "所属会员UserID",
  3798. "type": "integer"
  3799. },
  3800. "openexchagechargevalue": {
  3801. "description": "建仓交易所手续费设置值",
  3802. "type": "number"
  3803. },
  3804. "openfeealgorithm": {
  3805. "description": "建仓手续费收取方式 1:比率 2:固定",
  3806. "type": "integer"
  3807. },
  3808. "openfreezecharge": {
  3809. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  3810. "type": "number"
  3811. },
  3812. "openmemberchargevalue": {
  3813. "description": "建仓会员手续费设置值",
  3814. "type": "number"
  3815. },
  3816. "openqty": {
  3817. "description": "开仓数量(先建后平操作,需要记录)",
  3818. "type": "integer"
  3819. },
  3820. "opentradeqty": {
  3821. "description": "开仓成交数量(先建后平操作,需要记录)",
  3822. "type": "integer"
  3823. },
  3824. "openunfreezecharge": {
  3825. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  3826. "type": "number"
  3827. },
  3828. "operatetype": {
  3829. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  3830. "type": "integer"
  3831. },
  3832. "operatorid": {
  3833. "description": "登录账号(LoginID)",
  3834. "type": "integer"
  3835. },
  3836. "optiontype": {
  3837. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  3838. "type": "integer"
  3839. },
  3840. "orderprice": {
  3841. "description": "委托价格",
  3842. "type": "number"
  3843. },
  3844. "orderqty": {
  3845. "description": "委托数量",
  3846. "type": "integer"
  3847. },
  3848. "ordersrc": {
  3849. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  3850. "type": "integer"
  3851. },
  3852. "orderstatus": {
  3853. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  3854. "type": "integer"
  3855. },
  3856. "ordertime": {
  3857. "description": "委托时间",
  3858. "type": "string"
  3859. },
  3860. "preexerciseprice": {
  3861. "description": "预申报价格",
  3862. "type": "number"
  3863. },
  3864. "premium": {
  3865. "description": "权利金",
  3866. "type": "number"
  3867. },
  3868. "preorderid": {
  3869. "description": "关联预埋单号(止盈止损单时填写)",
  3870. "type": "integer"
  3871. },
  3872. "pricemode": {
  3873. "description": "取价方式 - 1:市价 2: 限价",
  3874. "type": "integer"
  3875. },
  3876. "quoteid": {
  3877. "description": "报价单ID",
  3878. "type": "integer"
  3879. },
  3880. "relatedid": {
  3881. "description": "关联单号(交割单)",
  3882. "type": "integer"
  3883. },
  3884. "retcode": {
  3885. "description": "错误代码",
  3886. "type": "integer"
  3887. },
  3888. "sessionid": {
  3889. "description": "会话ID",
  3890. "type": "integer"
  3891. },
  3892. "strorderid": {
  3893. "description": "委托单号",
  3894. "type": "string"
  3895. },
  3896. "tradedate": {
  3897. "description": "交易日(yyyyMMdd)",
  3898. "type": "string"
  3899. },
  3900. "tradeproperty": {
  3901. "description": "交易属性",
  3902. "type": "integer"
  3903. },
  3904. "tradeqty": {
  3905. "description": "成交数量",
  3906. "type": "integer"
  3907. },
  3908. "unfreezecharge": {
  3909. "description": "解冻手续费",
  3910. "type": "number"
  3911. },
  3912. "unfreezemargin": {
  3913. "description": "解冻保证金",
  3914. "type": "number"
  3915. },
  3916. "updatetime": {
  3917. "description": "更新时间",
  3918. "type": "string"
  3919. },
  3920. "uuid": {
  3921. "description": "发起端唯一id",
  3922. "type": "string"
  3923. },
  3924. "validtime": {
  3925. "description": "有效期限",
  3926. "type": "string"
  3927. },
  3928. "validtype": {
  3929. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  3930. "type": "integer"
  3931. },
  3932. "volumetype": {
  3933. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  3934. "type": "integer"
  3935. }
  3936. }
  3937. },
  3938. "cptrade.QueryMyCPTradeGoodsRsp": {
  3939. "type": "object",
  3940. "required": [
  3941. "goodscode",
  3942. "goodsid",
  3943. "goodsname",
  3944. "marketid",
  3945. "relatedgoodscode",
  3946. "relatedgoodsname"
  3947. ],
  3948. "properties": {
  3949. "accountid": {
  3950. "description": "卖方账户ID",
  3951. "type": "integer"
  3952. },
  3953. "agreeunit": {
  3954. "description": "合约单位",
  3955. "type": "number"
  3956. },
  3957. "applyid": {
  3958. "description": "关联申请ID",
  3959. "type": "integer"
  3960. },
  3961. "attachmenturl": {
  3962. "description": "附件地址",
  3963. "type": "string"
  3964. },
  3965. "createtime": {
  3966. "description": "创建时间",
  3967. "type": "string"
  3968. },
  3969. "currencyid": {
  3970. "description": "报价货币ID",
  3971. "type": "integer"
  3972. },
  3973. "decimalplace": {
  3974. "description": "报价小数位",
  3975. "type": "integer"
  3976. },
  3977. "endtime": {
  3978. "description": "预售结束时间",
  3979. "type": "string"
  3980. },
  3981. "floorprice": {
  3982. "description": "底价[大宗式竞拍]",
  3983. "type": "number"
  3984. },
  3985. "goodscode": {
  3986. "description": "商品代码(预售)",
  3987. "type": "string"
  3988. },
  3989. "goodsdetail": {
  3990. "description": "详情[大宗]",
  3991. "type": "string"
  3992. },
  3993. "goodsid": {
  3994. "description": "商品ID(自增ID SEQ_GOODS)",
  3995. "type": "integer"
  3996. },
  3997. "goodsname": {
  3998. "description": "商品名称(预售)",
  3999. "type": "string"
  4000. },
  4001. "goodunit": {
  4002. "description": "报价单位",
  4003. "type": "string"
  4004. },
  4005. "goodunitid": {
  4006. "description": "报价单位ID",
  4007. "type": "integer"
  4008. },
  4009. "marketid": {
  4010. "description": "所属市场ID",
  4011. "type": "integer"
  4012. },
  4013. "marketname": {
  4014. "description": "预售市场名称",
  4015. "type": "string"
  4016. },
  4017. "presaledamount": {
  4018. "description": "已预售总金额(预售结束时更新)",
  4019. "type": "number"
  4020. },
  4021. "presaledqty": {
  4022. "description": "已预售量(预售结束时更新)",
  4023. "type": "integer"
  4024. },
  4025. "presalemode": {
  4026. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  4027. "type": "integer"
  4028. },
  4029. "presaleqty": {
  4030. "description": "预售数量",
  4031. "type": "integer"
  4032. },
  4033. "refprice": {
  4034. "description": "参考价格[一口价]",
  4035. "type": "number"
  4036. },
  4037. "relatedgoodscode": {
  4038. "description": "商品代码(订单)",
  4039. "type": "string"
  4040. },
  4041. "relatedgoodsid": {
  4042. "description": "关联交易合约ID",
  4043. "type": "integer"
  4044. },
  4045. "relatedgoodsname": {
  4046. "description": "商品名称(订单)",
  4047. "type": "string"
  4048. },
  4049. "relatedmarketid": {
  4050. "description": "关联交易合约市场ID",
  4051. "type": "integer"
  4052. },
  4053. "sellstatus": {
  4054. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  4055. "type": "integer"
  4056. },
  4057. "startprice": {
  4058. "description": "起拍价[大宗式竞拍]",
  4059. "type": "number"
  4060. },
  4061. "starttime": {
  4062. "description": "预售开始时间",
  4063. "type": "string"
  4064. },
  4065. "tradedate": {
  4066. "description": "交易日(yyyyMMdd)",
  4067. "type": "string"
  4068. },
  4069. "tradeprice": {
  4070. "description": "成交价[大宗]",
  4071. "type": "number"
  4072. },
  4073. "userid": {
  4074. "description": "卖方用户ID",
  4075. "type": "integer"
  4076. }
  4077. }
  4078. },
  4079. "cptrade.QueryPresaleGoodsExRsp": {
  4080. "type": "object",
  4081. "required": [
  4082. "goodsid"
  4083. ],
  4084. "properties": {
  4085. "attachmenturl": {
  4086. "description": "附件地址",
  4087. "type": "string"
  4088. },
  4089. "createtime": {
  4090. "description": "创建时间",
  4091. "type": "string"
  4092. },
  4093. "endtime": {
  4094. "description": "预售结束时间",
  4095. "type": "string"
  4096. },
  4097. "floorprice": {
  4098. "description": "底价[大宗式竞拍]",
  4099. "type": "number"
  4100. },
  4101. "goodsdetail": {
  4102. "description": "详情[大宗]",
  4103. "type": "string"
  4104. },
  4105. "goodsid": {
  4106. "description": "商品ID(预售)",
  4107. "type": "integer"
  4108. },
  4109. "goodunit": {
  4110. "description": "报价单位",
  4111. "type": "string"
  4112. },
  4113. "marketid": {
  4114. "description": "预售市场ID - 根据预售模式选择市场",
  4115. "type": "integer"
  4116. },
  4117. "presaledamount": {
  4118. "description": "已预售总金额(预售结束时更新)",
  4119. "type": "number"
  4120. },
  4121. "presaledqty": {
  4122. "description": "已预售量(预售结束时更新)",
  4123. "type": "integer"
  4124. },
  4125. "presalemode": {
  4126. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  4127. "type": "integer"
  4128. },
  4129. "presaleqty": {
  4130. "description": "预售数量",
  4131. "type": "integer"
  4132. },
  4133. "refprice": {
  4134. "description": "参考价格[一口价]",
  4135. "type": "number"
  4136. },
  4137. "relatedgoodsid": {
  4138. "description": "关联交易合约ID",
  4139. "type": "integer"
  4140. },
  4141. "relatedmarketid": {
  4142. "description": "关联交易合约市场ID",
  4143. "type": "integer"
  4144. },
  4145. "sellstatus": {
  4146. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  4147. "type": "integer"
  4148. },
  4149. "startprice": {
  4150. "description": "起拍价[大宗式竞拍]",
  4151. "type": "number"
  4152. },
  4153. "starttime": {
  4154. "description": "预售开始时间",
  4155. "type": "string"
  4156. },
  4157. "tradedate": {
  4158. "description": "交易日(yyyyMMdd)",
  4159. "type": "string"
  4160. },
  4161. "tradeprice": {
  4162. "description": "成交价[大宗]",
  4163. "type": "number"
  4164. }
  4165. }
  4166. },
  4167. "delivery.QueryDeliveryRelationRsp": {
  4168. "type": "object",
  4169. "required": [
  4170. "begindate",
  4171. "enddate",
  4172. "goodsid",
  4173. "mindeliveryqty",
  4174. "xdeliveryratio"
  4175. ],
  4176. "properties": {
  4177. "begindate": {
  4178. "description": "起始日期(yyyyMMdd)",
  4179. "type": "string"
  4180. },
  4181. "buytemplateid": {
  4182. "description": "买履约计划模板ID",
  4183. "type": "integer"
  4184. },
  4185. "deliverygoodscode": {
  4186. "description": "品种代码",
  4187. "type": "string"
  4188. },
  4189. "deliverygoodsid": {
  4190. "description": "交割商品",
  4191. "type": "integer"
  4192. },
  4193. "deliverygoodsname": {
  4194. "description": "品种名称",
  4195. "type": "string"
  4196. },
  4197. "deliverymode": {
  4198. "description": "交割方式 - 1:点选式 2:申报式",
  4199. "type": "integer"
  4200. },
  4201. "deliverypricerule": {
  4202. "description": "交割价规则- 1:行情价 2:建仓价",
  4203. "type": "integer"
  4204. },
  4205. "deliverytype": {
  4206. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  4207. "type": "integer"
  4208. },
  4209. "enddate": {
  4210. "description": "结束日期(yyyyMMdd)",
  4211. "type": "string"
  4212. },
  4213. "goodscode": {
  4214. "description": "商品代码",
  4215. "type": "string"
  4216. },
  4217. "goodsid": {
  4218. "description": "交易合约ID",
  4219. "type": "integer"
  4220. },
  4221. "goodsname": {
  4222. "description": "商品名称",
  4223. "type": "string"
  4224. },
  4225. "marketid": {
  4226. "description": "市场ID",
  4227. "type": "integer"
  4228. },
  4229. "mindeliveryqty": {
  4230. "description": "最小交割系数(K)",
  4231. "type": "integer"
  4232. },
  4233. "p2deliveryprice": {
  4234. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  4235. "type": "number"
  4236. },
  4237. "p2deliveryratio": {
  4238. "description": "P2合约系数(p)",
  4239. "type": "integer"
  4240. },
  4241. "p2goodsid": {
  4242. "description": "P2合约ID",
  4243. "type": "integer"
  4244. },
  4245. "p2pricemode": {
  4246. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  4247. "type": "integer"
  4248. },
  4249. "pdeliveryprice": {
  4250. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  4251. "type": "number"
  4252. },
  4253. "pdeliveryratio": {
  4254. "description": "P合约系数(n)",
  4255. "type": "integer"
  4256. },
  4257. "pgoodsid": {
  4258. "description": "P合约ID",
  4259. "type": "integer"
  4260. },
  4261. "ppricemode": {
  4262. "description": "P合约价格方式 - 1:商品价 2:固定值",
  4263. "type": "integer"
  4264. },
  4265. "rratio": {
  4266. "description": "兑换系数(R)",
  4267. "type": "integer"
  4268. },
  4269. "rratio1": {
  4270. "description": "兑换系数(交易合约)(R1)",
  4271. "type": "integer"
  4272. },
  4273. "rratio2": {
  4274. "description": "兑换系数(仓单标准)(R2)",
  4275. "type": "integer"
  4276. },
  4277. "selltemplateid": {
  4278. "description": "卖履约计划模板ID",
  4279. "type": "integer"
  4280. },
  4281. "wrstandardid": {
  4282. "description": "仓单标准ID",
  4283. "type": "integer"
  4284. },
  4285. "xdeliveryratio": {
  4286. "description": "交易合约系数(m)",
  4287. "type": "integer"
  4288. }
  4289. }
  4290. },
  4291. "erms2.QueryArbitrageStrategyRsp": {
  4292. "type": "object",
  4293. "required": [
  4294. "asapplyid"
  4295. ],
  4296. "properties": {
  4297. "applybasis": {
  4298. "description": "申请基差",
  4299. "type": "number"
  4300. },
  4301. "asapplyid": {
  4302. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  4303. "type": "string"
  4304. },
  4305. "asname": {
  4306. "description": "策略名称",
  4307. "type": "string"
  4308. },
  4309. "asno": {
  4310. "description": "策略编号",
  4311. "type": "string"
  4312. },
  4313. "basischangepl": {
  4314. "description": "基差变动损益[结算更新]",
  4315. "type": "number"
  4316. },
  4317. "biztype": {
  4318. "description": "业务类型 - 1:正向套利 -1:反向套利",
  4319. "type": "integer"
  4320. },
  4321. "closetradedate": {
  4322. "description": "完结交易日(yyyyMMdd)",
  4323. "type": "string"
  4324. },
  4325. "curbasis": {
  4326. "description": "当前基差[结算更新]",
  4327. "type": "number"
  4328. },
  4329. "deliverygoodsid": {
  4330. "description": "现货品种ID",
  4331. "type": "integer"
  4332. },
  4333. "futureavgprice": {
  4334. "description": "期货建仓均价",
  4335. "type": "number"
  4336. },
  4337. "futurecloseamount": {
  4338. "description": "期货平仓金额",
  4339. "type": "number"
  4340. },
  4341. "futurecloseqty": {
  4342. "description": "期货平仓数量",
  4343. "type": "number"
  4344. },
  4345. "futureopenamount": {
  4346. "description": "期货开仓金额",
  4347. "type": "number"
  4348. },
  4349. "futureopenqty": {
  4350. "description": "期货开仓数量",
  4351. "type": "number"
  4352. },
  4353. "futurepl": {
  4354. "description": "期货总盈亏[结算更新]",
  4355. "type": "number"
  4356. },
  4357. "futureqty": {
  4358. "description": "期货持仓数量",
  4359. "type": "number"
  4360. },
  4361. "futurequote": {
  4362. "description": "期货额度",
  4363. "type": "number"
  4364. },
  4365. "goodsgroupid": {
  4366. "description": "期货品种ID",
  4367. "type": "integer"
  4368. },
  4369. "marketid": {
  4370. "description": "市场ID",
  4371. "type": "integer"
  4372. },
  4373. "netexposure": {
  4374. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  4375. "type": "number"
  4376. },
  4377. "netexposurepl": {
  4378. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  4379. "type": "number"
  4380. },
  4381. "netexposurerate": {
  4382. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  4383. "type": "number"
  4384. },
  4385. "openbasis": {
  4386. "description": "建仓基差",
  4387. "type": "number"
  4388. },
  4389. "pricedspotqty": {
  4390. "description": "已定价现货数量",
  4391. "type": "number"
  4392. },
  4393. "pricedspotqtynotax": {
  4394. "description": "已定价现货不含税数量",
  4395. "type": "number"
  4396. },
  4397. "remark": {
  4398. "description": "备注",
  4399. "type": "string"
  4400. },
  4401. "spotavgprice": {
  4402. "description": "现货均价",
  4403. "type": "number"
  4404. },
  4405. "spotbuyamount": {
  4406. "description": "现货采购金额",
  4407. "type": "number"
  4408. },
  4409. "spotbuyqty": {
  4410. "description": "现货采购数量",
  4411. "type": "number"
  4412. },
  4413. "spotpl": {
  4414. "description": "现货总盈亏[结算更新]",
  4415. "type": "number"
  4416. },
  4417. "spotquota": {
  4418. "description": "现货额度",
  4419. "type": "number"
  4420. },
  4421. "spotsellamount": {
  4422. "description": "现货销售金额",
  4423. "type": "number"
  4424. },
  4425. "spotsellqty": {
  4426. "description": "现货销售数量",
  4427. "type": "number"
  4428. },
  4429. "spotusedquota": {
  4430. "description": "现货占用资金",
  4431. "type": "number"
  4432. },
  4433. "strategystatus": {
  4434. "description": "策略状态 - 0:未结束 1:已结束",
  4435. "type": "integer"
  4436. },
  4437. "totalpl": {
  4438. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  4439. "type": "number"
  4440. },
  4441. "tradedate": {
  4442. "description": "交易日(yyyyMMdd)",
  4443. "type": "string"
  4444. },
  4445. "updatetime": {
  4446. "description": "更新时间",
  4447. "type": "string"
  4448. },
  4449. "usedquota": {
  4450. "description": "已占用资金",
  4451. "type": "number"
  4452. },
  4453. "userid": {
  4454. "description": "所属机构",
  4455. "type": "integer"
  4456. }
  4457. }
  4458. },
  4459. "erms2.QueryInnerTradeDetailRsp": {
  4460. "type": "object",
  4461. "required": [
  4462. "asapplyid",
  4463. "buyorsell",
  4464. "goodscode",
  4465. "goodsgroupid",
  4466. "goodsgroupname",
  4467. "goodsname",
  4468. "tradeid"
  4469. ],
  4470. "properties": {
  4471. "accountid": {
  4472. "description": "账号ID",
  4473. "type": "integer"
  4474. },
  4475. "agreeunit": {
  4476. "description": "合约单位",
  4477. "type": "number"
  4478. },
  4479. "asapplyid": {
  4480. "description": "策略申请ID",
  4481. "type": "integer"
  4482. },
  4483. "asname": {
  4484. "description": "策略名称",
  4485. "type": "string"
  4486. },
  4487. "asno": {
  4488. "description": "策略编号",
  4489. "type": "string"
  4490. },
  4491. "buyorsell": {
  4492. "description": "方向 - 0:买 1:卖",
  4493. "type": "integer"
  4494. },
  4495. "channelbuildtype": {
  4496. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  4497. "type": "integer"
  4498. },
  4499. "closetype": {
  4500. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  4501. "type": "integer"
  4502. },
  4503. "decimalplace": {
  4504. "description": "报价小数位",
  4505. "type": "integer"
  4506. },
  4507. "detailtype": {
  4508. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  4509. "type": "integer"
  4510. },
  4511. "exexchangecode": {
  4512. "description": "外部交易所代码",
  4513. "type": "string"
  4514. },
  4515. "exexchangename": {
  4516. "description": "外部交易所名称",
  4517. "type": "string"
  4518. },
  4519. "goodscode": {
  4520. "description": "商品代码(合约)",
  4521. "type": "string"
  4522. },
  4523. "goodsgroupid": {
  4524. "description": "商品组ID(品种ID)",
  4525. "type": "integer"
  4526. },
  4527. "goodsgroupname": {
  4528. "description": "商品组名称(品种)",
  4529. "type": "string"
  4530. },
  4531. "goodsid": {
  4532. "description": "商品ID",
  4533. "type": "integer"
  4534. },
  4535. "goodsname": {
  4536. "description": "商品名称(合约)",
  4537. "type": "string"
  4538. },
  4539. "goodunit": {
  4540. "description": "报价单位",
  4541. "type": "string"
  4542. },
  4543. "marketid": {
  4544. "description": "市场ID",
  4545. "type": "integer"
  4546. },
  4547. "orderid": {
  4548. "description": "委托单号",
  4549. "type": "string"
  4550. },
  4551. "outgoodscode": {
  4552. "description": "商品代码(外部)",
  4553. "type": "string"
  4554. },
  4555. "relatedouttradeid": {
  4556. "description": "关联外部成交单ID",
  4557. "type": "string"
  4558. },
  4559. "remark": {
  4560. "description": "备注",
  4561. "type": "string"
  4562. },
  4563. "spotcontractid": {
  4564. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  4565. "type": "integer"
  4566. },
  4567. "spotcontractno": {
  4568. "description": "现货合同编号",
  4569. "type": "string"
  4570. },
  4571. "tradeid": {
  4572. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4573. "type": "string"
  4574. },
  4575. "tradeprice": {
  4576. "description": "成交价格",
  4577. "type": "number"
  4578. },
  4579. "tradeqty": {
  4580. "description": "成交数量",
  4581. "type": "integer"
  4582. },
  4583. "tradetime": {
  4584. "description": "成交时间",
  4585. "type": "string"
  4586. },
  4587. "updatetime": {
  4588. "description": "更新时间",
  4589. "type": "string"
  4590. }
  4591. }
  4592. },
  4593. "erms2.QuerySpotContractRsp": {
  4594. "type": "object",
  4595. "required": [
  4596. "spotcontractid"
  4597. ],
  4598. "properties": {
  4599. "accountid": {
  4600. "description": "资金账户ID",
  4601. "type": "integer"
  4602. },
  4603. "areauserid": {
  4604. "description": "所属机构",
  4605. "type": "integer"
  4606. },
  4607. "closedate": {
  4608. "description": "终止日期",
  4609. "type": "string"
  4610. },
  4611. "closeremark": {
  4612. "description": "结束备注",
  4613. "type": "string"
  4614. },
  4615. "closetradedate": {
  4616. "description": "完结交易日(yyyyMMdd)",
  4617. "type": "string"
  4618. },
  4619. "closetype": {
  4620. "description": "终止类型 - 1:违约 2:提前终止",
  4621. "type": "integer"
  4622. },
  4623. "contractamount": {
  4624. "description": "合同金额",
  4625. "type": "number"
  4626. },
  4627. "contractattachment": {
  4628. "description": "合同附件",
  4629. "type": "string"
  4630. },
  4631. "contractno": {
  4632. "description": "现货合同编号",
  4633. "type": "string"
  4634. },
  4635. "contractqty": {
  4636. "description": "合同数量(数值) (用于计算)",
  4637. "type": "number"
  4638. },
  4639. "contractqtychar": {
  4640. "description": "合同数量\\已订价数量 (用于显示)",
  4641. "type": "string"
  4642. },
  4643. "contractstatus": {
  4644. "description": "合同状态 - 0:未结束 1:已结束",
  4645. "type": "integer"
  4646. },
  4647. "contracttype": {
  4648. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  4649. "type": "integer"
  4650. },
  4651. "customeraccountid": {
  4652. "description": "客户资金账户ID",
  4653. "type": "integer"
  4654. },
  4655. "customeruserid": {
  4656. "description": "客户ID",
  4657. "type": "integer"
  4658. },
  4659. "deliverygoodsdesc": {
  4660. "description": "品种说明",
  4661. "type": "string"
  4662. },
  4663. "deliverygoodsid": {
  4664. "description": "现货品种ID",
  4665. "type": "integer"
  4666. },
  4667. "handlestatus": {
  4668. "description": "处理状态",
  4669. "type": "integer"
  4670. },
  4671. "invoiceatt": {
  4672. "description": "发票附件",
  4673. "type": "string"
  4674. },
  4675. "invoicedatetime": {
  4676. "description": "开收票更新时间",
  4677. "type": "string"
  4678. },
  4679. "invoiceopentime": {
  4680. "description": "开票时间",
  4681. "type": "string"
  4682. },
  4683. "invoiceremark": {
  4684. "description": "发票备注",
  4685. "type": "string"
  4686. },
  4687. "invoicestatus": {
  4688. "description": "开收票状态 - 0:未开票 1:已开票",
  4689. "type": "integer"
  4690. },
  4691. "lastdate": {
  4692. "description": "交货时间",
  4693. "type": "string"
  4694. },
  4695. "marketid": {
  4696. "description": "市场ID",
  4697. "type": "integer"
  4698. },
  4699. "paydatetime": {
  4700. "description": "收付款更新时间",
  4701. "type": "string"
  4702. },
  4703. "payremark": {
  4704. "description": "收付款备注",
  4705. "type": "string"
  4706. },
  4707. "paystatus": {
  4708. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  4709. "type": "integer"
  4710. },
  4711. "positionqty": {
  4712. "description": "头寸数量 - 合同数量去小数部分",
  4713. "type": "integer"
  4714. },
  4715. "producttype": {
  4716. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  4717. "type": "integer"
  4718. },
  4719. "relatedqty": {
  4720. "description": "已关联数量",
  4721. "type": "number"
  4722. },
  4723. "relatedstatus": {
  4724. "description": "关联完结状态 - 0:未结束 1:已结束",
  4725. "type": "integer"
  4726. },
  4727. "remark": {
  4728. "description": "备注",
  4729. "type": "string"
  4730. },
  4731. "signdate": {
  4732. "description": "签订日期",
  4733. "type": "string"
  4734. },
  4735. "spotcontractid": {
  4736. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  4737. "type": "string"
  4738. },
  4739. "spotdatetime": {
  4740. "description": "收发货更新时间",
  4741. "type": "string"
  4742. },
  4743. "spotprice": {
  4744. "description": "价格",
  4745. "type": "number"
  4746. },
  4747. "spotremark": {
  4748. "description": "收发货备注",
  4749. "type": "string"
  4750. },
  4751. "spotstatus": {
  4752. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  4753. "type": "integer"
  4754. },
  4755. "tradedate": {
  4756. "description": "交易日(yyyyMMdd)",
  4757. "type": "string"
  4758. },
  4759. "userid": {
  4760. "description": "业务员用户ID",
  4761. "type": "integer"
  4762. },
  4763. "warehouseid": {
  4764. "description": "仓库ID",
  4765. "type": "integer"
  4766. },
  4767. "wrfactortypeid": {
  4768. "description": "仓单要素类型ID",
  4769. "type": "integer"
  4770. },
  4771. "wrstandardid": {
  4772. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  4773. "type": "integer"
  4774. }
  4775. }
  4776. },
  4777. "erms3.AddSpotContractApplyReq": {
  4778. "type": "object",
  4779. "required": [
  4780. "accountid",
  4781. "areauserid",
  4782. "contractno",
  4783. "contracttype",
  4784. "customeraccountid",
  4785. "customeruserid",
  4786. "details",
  4787. "orimargin",
  4788. "signdate"
  4789. ],
  4790. "properties": {
  4791. "accountid": {
  4792. "description": "资金账户ID",
  4793. "type": "integer"
  4794. },
  4795. "areauserid": {
  4796. "description": "所属机构",
  4797. "type": "integer"
  4798. },
  4799. "contractattachment": {
  4800. "description": "合同附件",
  4801. "type": "string"
  4802. },
  4803. "contractno": {
  4804. "description": "现货合同编号",
  4805. "type": "string"
  4806. },
  4807. "contracttype": {
  4808. "description": "现货合同类型 - 1:采购 -1:销售",
  4809. "type": "integer"
  4810. },
  4811. "creatorid": {
  4812. "description": "申请人",
  4813. "type": "integer"
  4814. },
  4815. "customeraccountid": {
  4816. "description": "客户资金账户ID",
  4817. "type": "integer"
  4818. },
  4819. "customeruserid": {
  4820. "description": "客户ID",
  4821. "type": "integer"
  4822. },
  4823. "details": {
  4824. "description": "明细",
  4825. "type": "array",
  4826. "items": {
  4827. "$ref": "#/definitions/erms3.SoptContractDetail"
  4828. }
  4829. },
  4830. "orimargin": {
  4831. "description": "初始保证金",
  4832. "type": "number"
  4833. },
  4834. "remark": {
  4835. "description": "备注",
  4836. "type": "string"
  4837. },
  4838. "signdate": {
  4839. "description": "签订日期",
  4840. "type": "string"
  4841. }
  4842. }
  4843. },
  4844. "erms3.AddSpotContractApplyRsp": {
  4845. "type": "object",
  4846. "required": [
  4847. "contractno"
  4848. ],
  4849. "properties": {
  4850. "contractno": {
  4851. "description": "现货合同编号",
  4852. "type": "string"
  4853. },
  4854. "spotcontractid": {
  4855. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  4856. "type": "integer"
  4857. }
  4858. }
  4859. },
  4860. "erms3.AddUserInfoApplyReq": {
  4861. "type": "object",
  4862. "required": [
  4863. "userid"
  4864. ],
  4865. "properties": {
  4866. "accountid": {
  4867. "description": "交易系统帐号Id (加密存储)",
  4868. "type": "integer"
  4869. },
  4870. "areacode": {
  4871. "description": "机构代码",
  4872. "type": "string"
  4873. },
  4874. "areaid": {
  4875. "description": "机构Id",
  4876. "type": "integer"
  4877. },
  4878. "attachment1": {
  4879. "description": "附件1",
  4880. "type": "string"
  4881. },
  4882. "attachment2": {
  4883. "description": "附件2",
  4884. "type": "string"
  4885. },
  4886. "attachment3": {
  4887. "description": "附件3",
  4888. "type": "string"
  4889. },
  4890. "attachment4": {
  4891. "description": "附件4",
  4892. "type": "string"
  4893. },
  4894. "attachment5": {
  4895. "description": "附件5",
  4896. "type": "string"
  4897. },
  4898. "auditedby": {
  4899. "description": "审核人",
  4900. "type": "string"
  4901. },
  4902. "auditime": {
  4903. "description": "审核时间",
  4904. "type": "string"
  4905. },
  4906. "bankaccount": {
  4907. "description": "银行帐号 (加密存储)",
  4908. "type": "string"
  4909. },
  4910. "bankaccountname": {
  4911. "description": "收款人名称",
  4912. "type": "string"
  4913. },
  4914. "bankcardbackphotourl": {
  4915. "description": "银行卡背面照地址",
  4916. "type": "string"
  4917. },
  4918. "bankcardfrontphotourl": {
  4919. "description": "银行卡正面照地址",
  4920. "type": "string"
  4921. },
  4922. "bankid": {
  4923. "description": "银行编码",
  4924. "type": "string"
  4925. },
  4926. "bankname": {
  4927. "description": "银行名称",
  4928. "type": "string"
  4929. },
  4930. "bankpictureurl": {
  4931. "description": "银行卡正面地址",
  4932. "type": "string"
  4933. },
  4934. "biznature": {
  4935. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  4936. "type": "integer"
  4937. },
  4938. "bizscope": {
  4939. "description": "企业经营范围(企业)",
  4940. "type": "string"
  4941. },
  4942. "biztype": {
  4943. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  4944. "type": "integer"
  4945. },
  4946. "brokerid": {
  4947. "description": "经纪人ID(加密存储)",
  4948. "type": "string"
  4949. },
  4950. "cardaddress": {
  4951. "description": "证件地址 (加密存储)",
  4952. "type": "string"
  4953. },
  4954. "cardbackphotourl": {
  4955. "description": "背面证件照地址",
  4956. "type": "string"
  4957. },
  4958. "cardfrontphotourl": {
  4959. "description": "正面证件照地址",
  4960. "type": "string"
  4961. },
  4962. "cardnum": {
  4963. "description": "证件号码 (加密存储)",
  4964. "type": "string"
  4965. },
  4966. "cardtype": {
  4967. "description": "证件类型",
  4968. "type": "integer"
  4969. },
  4970. "cityid": {
  4971. "description": "市",
  4972. "type": "integer"
  4973. },
  4974. "company": {
  4975. "description": "公司(个人)",
  4976. "type": "string"
  4977. },
  4978. "contactcardbackphotourl": {
  4979. "description": "联系人证件背面图片地址",
  4980. "type": "string"
  4981. },
  4982. "contactcardfrontphotourl": {
  4983. "description": "联系人证件正面图片地址",
  4984. "type": "string"
  4985. },
  4986. "contactname": {
  4987. "description": "联系人",
  4988. "type": "string"
  4989. },
  4990. "countryid": {
  4991. "description": "国家",
  4992. "type": "integer"
  4993. },
  4994. "createtime": {
  4995. "description": "开户申请时间",
  4996. "type": "string"
  4997. },
  4998. "cusbankid": {
  4999. "description": "签约类型",
  5000. "type": "string"
  5001. },
  5002. "cusbankname": {
  5003. "description": "签约类型名称",
  5004. "type": "string"
  5005. },
  5006. "customername": {
  5007. "description": "客户名称(企业名称)",
  5008. "type": "string"
  5009. },
  5010. "districtid": {
  5011. "description": "地区",
  5012. "type": "integer"
  5013. },
  5014. "email": {
  5015. "description": "Email地址(加密存储)",
  5016. "type": "string"
  5017. },
  5018. "halfbodyphotourl": {
  5019. "description": "半身照地址",
  5020. "type": "string"
  5021. },
  5022. "headurl": {
  5023. "description": "头像地址",
  5024. "type": "string"
  5025. },
  5026. "ipaddress": {
  5027. "description": "IP地址",
  5028. "type": "string"
  5029. },
  5030. "isvalidate": {
  5031. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  5032. "type": "string"
  5033. },
  5034. "legalcardbackphotourl": {
  5035. "description": "法人身份证背面照地址",
  5036. "type": "string"
  5037. },
  5038. "legalcardfrontphotourl": {
  5039. "description": "法人身份证正面照地址",
  5040. "type": "string"
  5041. },
  5042. "legalpersonname": {
  5043. "description": "法人姓名(企业)",
  5044. "type": "string"
  5045. },
  5046. "logincode": {
  5047. "description": "登录帐号 (加密存储)",
  5048. "type": "string"
  5049. },
  5050. "memberareaid": {
  5051. "description": "所属会员ID",
  5052. "type": "integer"
  5053. },
  5054. "mobile2": {
  5055. "description": "手机号码[明文-尚志]",
  5056. "type": "string"
  5057. },
  5058. "mobilephone": {
  5059. "description": "手机号码 (加密存储)",
  5060. "type": "string"
  5061. },
  5062. "modifiedby": {
  5063. "description": "修改人帐号",
  5064. "type": "integer"
  5065. },
  5066. "modifiedtime": {
  5067. "description": "修改时间",
  5068. "type": "string"
  5069. },
  5070. "nickname": {
  5071. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  5072. "type": "string"
  5073. },
  5074. "openmode": {
  5075. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  5076. "type": "integer"
  5077. },
  5078. "otherurl": {
  5079. "description": "其它图片地址[使用分号分隔]",
  5080. "type": "string"
  5081. },
  5082. "postalcode": {
  5083. "description": "邮政编码",
  5084. "type": "string"
  5085. },
  5086. "provinceid": {
  5087. "description": "省",
  5088. "type": "integer"
  5089. },
  5090. "proxystatementurl": {
  5091. "description": "授权委托书",
  5092. "type": "string"
  5093. },
  5094. "qq": {
  5095. "description": "QQ(加密存储",
  5096. "type": "string"
  5097. },
  5098. "referral": {
  5099. "description": "推荐人编码",
  5100. "type": "string"
  5101. },
  5102. "remark": {
  5103. "description": "备注",
  5104. "type": "string"
  5105. },
  5106. "removebeforestatus": {
  5107. "description": "REMOVEBEFORESTATUS",
  5108. "type": "integer"
  5109. },
  5110. "sex": {
  5111. "description": "性别 - 0:女 1:男",
  5112. "type": "integer"
  5113. },
  5114. "signedstatus": {
  5115. "description": "账户一号签签约状态",
  5116. "type": "integer"
  5117. },
  5118. "signpdfurl": {
  5119. "description": "签约pdf文件",
  5120. "type": "string"
  5121. },
  5122. "subbranch": {
  5123. "description": "开户支行",
  5124. "type": "string"
  5125. },
  5126. "telphone": {
  5127. "description": "联系电话(加密存储)",
  5128. "type": "string"
  5129. },
  5130. "userid": {
  5131. "description": "用户ID(自增ID)",
  5132. "type": "integer"
  5133. },
  5134. "userinfotype": {
  5135. "description": "用户信息类型 - 1:个人 2:企业",
  5136. "type": "integer"
  5137. },
  5138. "username": {
  5139. "description": "用户姓名",
  5140. "type": "string"
  5141. },
  5142. "userstate": {
  5143. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  5144. "type": "integer"
  5145. },
  5146. "usertype": {
  5147. "description": "用户类型 - 1:投资者 2:机构",
  5148. "type": "integer"
  5149. },
  5150. "videourl": {
  5151. "description": "视频地址",
  5152. "type": "string"
  5153. },
  5154. "wechat": {
  5155. "description": "微信号 (加密存储)",
  5156. "type": "string"
  5157. }
  5158. }
  5159. },
  5160. "erms3.CustomerInfo": {
  5161. "type": "object",
  5162. "required": [
  5163. "userid"
  5164. ],
  5165. "properties": {
  5166. "accountids": {
  5167. "description": "资金账户ID列表",
  5168. "type": "array",
  5169. "items": {
  5170. "type": "integer"
  5171. }
  5172. },
  5173. "customername": {
  5174. "description": "名称(企业名称)",
  5175. "type": "string"
  5176. },
  5177. "mobile": {
  5178. "description": "手机号码",
  5179. "type": "string"
  5180. },
  5181. "userid": {
  5182. "description": "用户ID",
  5183. "type": "integer"
  5184. }
  5185. }
  5186. },
  5187. "erms3.QryAuditContractRsp": {
  5188. "type": "object",
  5189. "required": [
  5190. "matchcustomername",
  5191. "spotcontractid"
  5192. ],
  5193. "properties": {
  5194. "accountid": {
  5195. "description": "交易员ID",
  5196. "type": "string"
  5197. },
  5198. "applystatus": {
  5199. "description": "状态",
  5200. "type": "integer"
  5201. },
  5202. "curdeliveryqty": {
  5203. "description": "未交收量",
  5204. "type": "integer"
  5205. },
  5206. "customername": {
  5207. "description": "采购方ID",
  5208. "type": "string"
  5209. },
  5210. "deliverygoodsid": {
  5211. "description": "品种ID",
  5212. "type": "string"
  5213. },
  5214. "deliveryqty": {
  5215. "description": "交收量",
  5216. "type": "integer"
  5217. },
  5218. "enumdicname": {
  5219. "description": "单位名称",
  5220. "type": "string"
  5221. },
  5222. "matchaccountid": {
  5223. "description": "业务员ID",
  5224. "type": "string"
  5225. },
  5226. "matchcustomername": {
  5227. "description": "销售方ID",
  5228. "type": "string"
  5229. },
  5230. "pricedqty": {
  5231. "description": "定价量",
  5232. "type": "number"
  5233. },
  5234. "signdate": {
  5235. "description": "签订日期",
  5236. "type": "string"
  5237. },
  5238. "spotcontractid": {
  5239. "description": "合同ID",
  5240. "type": "string"
  5241. },
  5242. "totaldqty": {
  5243. "description": "合同量",
  5244. "type": "number"
  5245. },
  5246. "unpricedqty": {
  5247. "description": "未定价量",
  5248. "type": "number"
  5249. },
  5250. "wrstandardname": {
  5251. "description": "商品名称",
  5252. "type": "string"
  5253. }
  5254. }
  5255. },
  5256. "erms3.QueryBusinessInfoRsp": {
  5257. "type": "object",
  5258. "properties": {
  5259. "businessid": {
  5260. "description": "业务ID.",
  5261. "type": "integer"
  5262. },
  5263. "buyamount": {
  5264. "description": "采购额.",
  5265. "type": "number"
  5266. },
  5267. "buyqty": {
  5268. "description": "采购量.",
  5269. "type": "string"
  5270. },
  5271. "futurepl": {
  5272. "description": "期货盈亏.",
  5273. "type": "number"
  5274. },
  5275. "futureqty": {
  5276. "description": "期货敞口.",
  5277. "type": "string"
  5278. },
  5279. "goodsid": {
  5280. "description": "商品名称/商品代码.",
  5281. "type": "string"
  5282. },
  5283. "hedgingqty": {
  5284. "description": "套保量.",
  5285. "type": "string"
  5286. },
  5287. "sellamount": {
  5288. "description": "销售额.",
  5289. "type": "number"
  5290. },
  5291. "sellqty": {
  5292. "description": "销售量.",
  5293. "type": "string"
  5294. },
  5295. "spotmarketvalue": {
  5296. "description": "现货市值.",
  5297. "type": "number"
  5298. },
  5299. "spotpl": {
  5300. "description": "浮动权益.",
  5301. "type": "number"
  5302. },
  5303. "spotqty": {
  5304. "description": "现货量.",
  5305. "type": "string"
  5306. },
  5307. "statu": {
  5308. "description": "状态,0-未结束 1-已结束.",
  5309. "type": "integer"
  5310. },
  5311. "totalpl": {
  5312. "description": "总盈亏.",
  5313. "type": "number"
  5314. },
  5315. "totalqty": {
  5316. "description": "总敞口.",
  5317. "type": "string"
  5318. },
  5319. "type": {
  5320. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  5321. "type": "integer"
  5322. }
  5323. }
  5324. },
  5325. "erms3.QuerySpotContractAppleFormRsp": {
  5326. "type": "object",
  5327. "properties": {
  5328. "goodses": {
  5329. "description": "合约列表",
  5330. "type": "array",
  5331. "items": {
  5332. "$ref": "#/definitions/models.GoodsIDAndName"
  5333. }
  5334. },
  5335. "oppositeusers": {
  5336. "description": "对方账号列表",
  5337. "type": "array",
  5338. "items": {
  5339. "$ref": "#/definitions/erms3.CustomerInfo"
  5340. }
  5341. },
  5342. "ouruser": {
  5343. "description": "我方账号",
  5344. "$ref": "#/definitions/erms3.CustomerInfo"
  5345. },
  5346. "warehouseinfos": {
  5347. "description": "仓库信息列表",
  5348. "type": "array",
  5349. "items": {
  5350. "$ref": "#/definitions/models.Warehouseinfo"
  5351. }
  5352. },
  5353. "wrstandards": {
  5354. "description": "仓单标准列表",
  5355. "type": "array",
  5356. "items": {
  5357. "$ref": "#/definitions/models.WRStandardInfo"
  5358. }
  5359. }
  5360. }
  5361. },
  5362. "erms3.QuerySpotContractInfoRsp": {
  5363. "type": "object",
  5364. "properties": {
  5365. "accountid": {
  5366. "description": "表示交易员ID.",
  5367. "type": "integer"
  5368. },
  5369. "curdeliveryqty": {
  5370. "description": "表示未交收量.",
  5371. "type": "number"
  5372. },
  5373. "customername": {
  5374. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  5375. "type": "string"
  5376. },
  5377. "deliverygoodsid": {
  5378. "description": "表示品种ID.",
  5379. "type": "string"
  5380. },
  5381. "deliveryqty": {
  5382. "description": "表示交收量.",
  5383. "type": "number"
  5384. },
  5385. "matchaccountid": {
  5386. "description": "表示业务员ID.",
  5387. "type": "integer"
  5388. },
  5389. "matchcustomername": {
  5390. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  5391. "type": "string"
  5392. },
  5393. "priceqty": {
  5394. "description": "表示定价量.",
  5395. "type": "number"
  5396. },
  5397. "relatedbizid": {
  5398. "description": "表示业务ID.",
  5399. "type": "string"
  5400. },
  5401. "signdate": {
  5402. "description": "表示签订日期.",
  5403. "type": "string"
  5404. },
  5405. "spotcontractid": {
  5406. "description": "合同ID",
  5407. "type": "string"
  5408. },
  5409. "status": {
  5410. "description": "表示状态,0-履约中 1-已完成.",
  5411. "type": "integer"
  5412. },
  5413. "totalqty": {
  5414. "description": "表示合同量.",
  5415. "type": "number"
  5416. },
  5417. "unpricedqty": {
  5418. "description": "表示未定价量.",
  5419. "type": "number"
  5420. },
  5421. "wrstandardname": {
  5422. "description": "表示商品ID.",
  5423. "type": "string"
  5424. }
  5425. }
  5426. },
  5427. "erms3.QueryUserInfoAppliesRsp": {
  5428. "type": "object",
  5429. "required": [
  5430. "userid"
  5431. ],
  5432. "properties": {
  5433. "biznature": {
  5434. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  5435. "type": "integer"
  5436. },
  5437. "contactname": {
  5438. "description": "联系人",
  5439. "type": "string"
  5440. },
  5441. "createtime": {
  5442. "description": "开户申请时间",
  5443. "type": "string"
  5444. },
  5445. "userid": {
  5446. "description": "用户ID(自增ID)",
  5447. "type": "integer"
  5448. },
  5449. "userinfotype": {
  5450. "description": "用户信息类型 - 1:个人 2:企业",
  5451. "type": "integer"
  5452. },
  5453. "username": {
  5454. "description": "用户姓名",
  5455. "type": "string"
  5456. },
  5457. "userstate": {
  5458. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  5459. "type": "integer"
  5460. }
  5461. }
  5462. },
  5463. "erms3.QueryUserInfosRsp": {
  5464. "type": "object",
  5465. "required": [
  5466. "userid"
  5467. ],
  5468. "properties": {
  5469. "biznature": {
  5470. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  5471. "type": "integer"
  5472. },
  5473. "contactname": {
  5474. "description": "联系人",
  5475. "type": "string"
  5476. },
  5477. "customername": {
  5478. "description": "客户名称(企业名称)",
  5479. "type": "string"
  5480. },
  5481. "userid": {
  5482. "description": "用户ID",
  5483. "type": "integer"
  5484. },
  5485. "userinfotype": {
  5486. "description": "用户信息类型 - 1:个人 2:企业",
  5487. "type": "integer"
  5488. },
  5489. "userstatus": {
  5490. "description": "用户状态 - 1:正常 2:注销",
  5491. "type": "integer"
  5492. }
  5493. }
  5494. },
  5495. "erms3.SoptContractDetail": {
  5496. "type": "object",
  5497. "required": [
  5498. "deliverygoodsid",
  5499. "producttype",
  5500. "unitname",
  5501. "warehouseid",
  5502. "wrstandardid",
  5503. "wrstandardname"
  5504. ],
  5505. "properties": {
  5506. "deliverygoodsdesc": {
  5507. "description": "现货品种说明",
  5508. "type": "string"
  5509. },
  5510. "deliverygoodsid": {
  5511. "description": "现货品种ID",
  5512. "type": "integer"
  5513. },
  5514. "deliverygoodsname": {
  5515. "description": "现货品种名称",
  5516. "type": "string"
  5517. },
  5518. "pointdesc": {
  5519. "description": "点价描述",
  5520. "type": "string"
  5521. },
  5522. "producttype": {
  5523. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  5524. "type": "integer"
  5525. },
  5526. "producttypename": {
  5527. "description": "产品类型名称",
  5528. "type": "string"
  5529. },
  5530. "spotPointOrderVoList": {
  5531. "description": "点价列表",
  5532. "type": "array",
  5533. "items": {
  5534. "$ref": "#/definitions/erms3.SpotPointOrder"
  5535. }
  5536. },
  5537. "spotPriceOrderList": {
  5538. "description": "定价列表",
  5539. "type": "array",
  5540. "items": {
  5541. "$ref": "#/definitions/erms3.SpotPriceOrder"
  5542. }
  5543. },
  5544. "unitname": {
  5545. "description": "单位名称",
  5546. "type": "string"
  5547. },
  5548. "warehouseid": {
  5549. "description": "仓库ID",
  5550. "type": "integer"
  5551. },
  5552. "warehousename": {
  5553. "description": "仓库名称",
  5554. "type": "string"
  5555. },
  5556. "wrstandardid": {
  5557. "description": "交易标的ID",
  5558. "type": "integer"
  5559. },
  5560. "wrstandardname": {
  5561. "description": "交易标的名称",
  5562. "type": "string"
  5563. }
  5564. }
  5565. },
  5566. "erms3.SpotPointOrder": {
  5567. "type": "object",
  5568. "required": [
  5569. "basic",
  5570. "goodsid",
  5571. "qty"
  5572. ],
  5573. "properties": {
  5574. "basic": {
  5575. "description": "基差",
  5576. "type": "number"
  5577. },
  5578. "deliveryendtdate": {
  5579. "description": "交收结束日期",
  5580. "type": "string"
  5581. },
  5582. "deliverystartdate": {
  5583. "description": "交收开始日期",
  5584. "type": "string"
  5585. },
  5586. "enddate": {
  5587. "description": "点价结束日期",
  5588. "type": "string"
  5589. },
  5590. "goodsid": {
  5591. "description": "商品ID",
  5592. "type": "integer"
  5593. },
  5594. "goodsname": {
  5595. "description": "商品名称",
  5596. "type": "string"
  5597. },
  5598. "qty": {
  5599. "description": "数量",
  5600. "type": "number"
  5601. },
  5602. "startdate": {
  5603. "description": "点价开始日期",
  5604. "type": "string"
  5605. }
  5606. }
  5607. },
  5608. "erms3.SpotPriceOrder": {
  5609. "type": "object",
  5610. "required": [
  5611. "amount",
  5612. "price",
  5613. "qty"
  5614. ],
  5615. "properties": {
  5616. "amount": {
  5617. "description": "金额",
  5618. "type": "number"
  5619. },
  5620. "deliveryendtdate": {
  5621. "description": "交收结束日期",
  5622. "type": "string"
  5623. },
  5624. "deliverystartdate": {
  5625. "description": "交收开始日期",
  5626. "type": "string"
  5627. },
  5628. "price": {
  5629. "description": "价格",
  5630. "type": "number"
  5631. },
  5632. "qty": {
  5633. "description": "数量",
  5634. "type": "number"
  5635. }
  5636. }
  5637. },
  5638. "hsby.GetHsbyMyCountRsp": {
  5639. "type": "object",
  5640. "properties": {
  5641. "myOrderDetailListingCount": {
  5642. "description": "我的订单求购中数量",
  5643. "type": "integer"
  5644. },
  5645. "myOrderDetailPreCount": {
  5646. "description": "我的订单抢购中数量",
  5647. "type": "integer"
  5648. },
  5649. "myPackageUnReceiveCount": {
  5650. "description": "我的包裹待收货数量",
  5651. "type": "integer"
  5652. },
  5653. "myPackageUnSendCount": {
  5654. "description": "我的包裹待发货数量",
  5655. "type": "integer"
  5656. }
  5657. }
  5658. },
  5659. "hsby.QueryProvincesAndCitiesRsp": {
  5660. "type": "object",
  5661. "properties": {
  5662. "cities": {
  5663. "description": "市",
  5664. "type": "array",
  5665. "items": {
  5666. "$ref": "#/definitions/models.Division"
  5667. }
  5668. },
  5669. "province": {
  5670. "description": "省",
  5671. "$ref": "#/definitions/models.Division"
  5672. }
  5673. }
  5674. },
  5675. "models.Division": {
  5676. "type": "object",
  5677. "required": [
  5678. "autoid",
  5679. "divisioncode"
  5680. ],
  5681. "properties": {
  5682. "autoid": {
  5683. "description": "自增ID",
  5684. "type": "integer"
  5685. },
  5686. "divisioncode": {
  5687. "description": "行政代码",
  5688. "type": "string"
  5689. },
  5690. "divisionlevel": {
  5691. "description": "行政级别",
  5692. "type": "string"
  5693. },
  5694. "divisionname": {
  5695. "description": "行政名称",
  5696. "type": "string"
  5697. },
  5698. "modifierid": {
  5699. "description": "修改人",
  5700. "type": "integer"
  5701. },
  5702. "modifytime": {
  5703. "description": "修改时间",
  5704. "type": "string"
  5705. },
  5706. "parentcode": {
  5707. "description": "上级行政代码",
  5708. "type": "string"
  5709. },
  5710. "pathname": {
  5711. "description": "路径名称",
  5712. "type": "string"
  5713. },
  5714. "postcode": {
  5715. "description": "邮政编码",
  5716. "type": "string"
  5717. },
  5718. "separablename": {
  5719. "description": "可拆分的全称",
  5720. "type": "string"
  5721. },
  5722. "shortcode": {
  5723. "description": "地区简码",
  5724. "type": "string"
  5725. }
  5726. }
  5727. },
  5728. "models.Enumdicitem": {
  5729. "type": "object",
  5730. "required": [
  5731. "autoid",
  5732. "enumdiccode",
  5733. "enumdicid",
  5734. "enumitemname"
  5735. ],
  5736. "properties": {
  5737. "autoid": {
  5738. "description": "自增ID",
  5739. "type": "integer"
  5740. },
  5741. "bankmappedvalue": {
  5742. "description": "银行服务对应值",
  5743. "type": "string"
  5744. },
  5745. "enumdiccode": {
  5746. "description": "所属枚举代码",
  5747. "type": "string"
  5748. },
  5749. "enumdicid": {
  5750. "description": "所属枚举ID",
  5751. "type": "integer"
  5752. },
  5753. "enumdicname": {
  5754. "description": "枚举项名称",
  5755. "type": "string"
  5756. },
  5757. "enumitemname": {
  5758. "description": "枚举项值",
  5759. "type": "integer"
  5760. },
  5761. "enumitemstatus": {
  5762. "description": "枚举项状态 - 1.启用 2.不启用",
  5763. "type": "integer"
  5764. },
  5765. "enumitemvalue": {
  5766. "description": "通用值 - [币种通用简写]",
  5767. "type": "string"
  5768. },
  5769. "param1": {
  5770. "description": "参数1[币种:币种小数位]",
  5771. "type": "string"
  5772. },
  5773. "param2": {
  5774. "description": "参数1[币种:币种显示单位]",
  5775. "type": "string"
  5776. },
  5777. "remark": {
  5778. "description": "备注",
  5779. "type": "string"
  5780. }
  5781. }
  5782. },
  5783. "models.GoodsIDAndName": {
  5784. "type": "object",
  5785. "required": [
  5786. "goodscode",
  5787. "goodsid",
  5788. "goodsname",
  5789. "marketid"
  5790. ],
  5791. "properties": {
  5792. "goodscode": {
  5793. "description": "商品代码(内部)",
  5794. "type": "string"
  5795. },
  5796. "goodsid": {
  5797. "description": "商品ID(自增ID SEQ_GOODS)",
  5798. "type": "integer"
  5799. },
  5800. "goodsname": {
  5801. "description": "商品名称",
  5802. "type": "string"
  5803. },
  5804. "marketid": {
  5805. "description": "所属市场ID",
  5806. "type": "integer"
  5807. }
  5808. }
  5809. },
  5810. "models.HsbyBuyMyTradeDetail": {
  5811. "type": "object",
  5812. "required": [
  5813. "accountid",
  5814. "buyorsell",
  5815. "goodscode",
  5816. "goodsid",
  5817. "goodsname",
  5818. "marketid",
  5819. "orderid",
  5820. "qty",
  5821. "time",
  5822. "trademode"
  5823. ],
  5824. "properties": {
  5825. "accountid": {
  5826. "description": "账户ID[报价币种]",
  5827. "type": "integer"
  5828. },
  5829. "agreeunit": {
  5830. "description": "合约单位",
  5831. "type": "number"
  5832. },
  5833. "amount": {
  5834. "description": "金额 = 价格 * 数量 * 合约单位",
  5835. "type": "number"
  5836. },
  5837. "buyorsell": {
  5838. "description": "买卖 - 0:买 1:卖",
  5839. "type": "integer"
  5840. },
  5841. "currencysign": {
  5842. "description": "货币符号",
  5843. "type": "string"
  5844. },
  5845. "decimalplace": {
  5846. "description": "报价小数位",
  5847. "type": "integer"
  5848. },
  5849. "goodscode": {
  5850. "description": "商品代码(内部)",
  5851. "type": "string"
  5852. },
  5853. "goodsid": {
  5854. "description": "商品ID",
  5855. "type": "integer"
  5856. },
  5857. "goodsname": {
  5858. "description": "商品名称",
  5859. "type": "string"
  5860. },
  5861. "marketid": {
  5862. "description": "市场ID",
  5863. "type": "integer"
  5864. },
  5865. "orderid": {
  5866. "description": "单号(成交单号)",
  5867. "type": "string"
  5868. },
  5869. "picurls1": {
  5870. "description": "预售商品介绍图片[多张用逗号分隔]",
  5871. "type": "string"
  5872. },
  5873. "picurls2": {
  5874. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  5875. "type": "string"
  5876. },
  5877. "price": {
  5878. "description": "价格",
  5879. "type": "number"
  5880. },
  5881. "qty": {
  5882. "description": "数量",
  5883. "type": "integer"
  5884. },
  5885. "time": {
  5886. "description": "时间",
  5887. "type": "string"
  5888. },
  5889. "trademode": {
  5890. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5891. "type": "integer"
  5892. },
  5893. "vendorname1": {
  5894. "description": "预售商品供应商名称",
  5895. "type": "string"
  5896. },
  5897. "vendorname2": {
  5898. "description": "挂牌商品供应商名称",
  5899. "type": "string"
  5900. }
  5901. }
  5902. },
  5903. "models.HsbyGoodsOrderDetail": {
  5904. "type": "object",
  5905. "required": [
  5906. "buyorsell",
  5907. "orderid",
  5908. "ordertime"
  5909. ],
  5910. "properties": {
  5911. "buyorsell": {
  5912. "description": "买卖 - 0:买 1:卖",
  5913. "type": "integer"
  5914. },
  5915. "currencysign": {
  5916. "description": "货币符号",
  5917. "type": "string"
  5918. },
  5919. "customername": {
  5920. "description": "客户名称(企业名称),已脱敏",
  5921. "type": "string"
  5922. },
  5923. "enableqty": {
  5924. "description": "可用数量",
  5925. "type": "integer"
  5926. },
  5927. "goodunit": {
  5928. "description": "报价单位",
  5929. "type": "string"
  5930. },
  5931. "orderid": {
  5932. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5933. "type": "string"
  5934. },
  5935. "orderprice": {
  5936. "description": "委托价格",
  5937. "type": "number"
  5938. },
  5939. "ordertime": {
  5940. "description": "委托时间",
  5941. "type": "string"
  5942. }
  5943. }
  5944. },
  5945. "models.HsbyListingGoodsDetail": {
  5946. "type": "object",
  5947. "required": [
  5948. "goodscode",
  5949. "goodsid",
  5950. "goodsname",
  5951. "marketid",
  5952. "trademode"
  5953. ],
  5954. "properties": {
  5955. "agreeunit": {
  5956. "description": "合约单位",
  5957. "type": "number"
  5958. },
  5959. "currency": {
  5960. "description": "货币",
  5961. "type": "string"
  5962. },
  5963. "currencysign": {
  5964. "description": "货币符号",
  5965. "type": "string"
  5966. },
  5967. "decimalplace": {
  5968. "description": "报价小数位",
  5969. "type": "integer"
  5970. },
  5971. "desccityid": {
  5972. "description": "目的地(市)ID",
  5973. "type": "integer"
  5974. },
  5975. "descprovinceid": {
  5976. "description": "目的地(省)ID",
  5977. "type": "integer"
  5978. },
  5979. "goodscode": {
  5980. "description": "商品代码(内部)",
  5981. "type": "string"
  5982. },
  5983. "goodsdesc": {
  5984. "description": "商品详情",
  5985. "type": "string"
  5986. },
  5987. "goodsid": {
  5988. "description": "商品ID(自增ID SEQ_GOODS)",
  5989. "type": "integer"
  5990. },
  5991. "goodsname": {
  5992. "description": "商品名称",
  5993. "type": "string"
  5994. },
  5995. "hotindex": {
  5996. "description": "景点热度",
  5997. "type": "integer"
  5998. },
  5999. "last": {
  6000. "description": "现价",
  6001. "type": "number"
  6002. },
  6003. "limitdown": {
  6004. "description": "跌停价",
  6005. "type": "number"
  6006. },
  6007. "limitup": {
  6008. "description": "涨停价",
  6009. "type": "number"
  6010. },
  6011. "lotsize": {
  6012. "description": "手数最小变动单位",
  6013. "type": "integer"
  6014. },
  6015. "marketid": {
  6016. "description": "所属市场ID",
  6017. "type": "integer"
  6018. },
  6019. "picurls": {
  6020. "description": "介绍图片[多张用逗号分隔]",
  6021. "type": "string"
  6022. },
  6023. "quoteminunit": {
  6024. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  6025. "type": "integer"
  6026. },
  6027. "stepvalue": {
  6028. "description": "价格最小变动单位",
  6029. "type": "number"
  6030. },
  6031. "trademode": {
  6032. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6033. "type": "integer"
  6034. },
  6035. "vendorattr": {
  6036. "description": "供应商附件(多张,逗号分隔)",
  6037. "type": "string"
  6038. },
  6039. "vendorname": {
  6040. "description": "供应商名称",
  6041. "type": "string"
  6042. },
  6043. "vendorphone": {
  6044. "description": "供应商客服电话",
  6045. "type": "string"
  6046. },
  6047. "videourls": {
  6048. "description": "介绍视频[多张用逗号分隔]",
  6049. "type": "string"
  6050. }
  6051. }
  6052. },
  6053. "models.HsbyMyGoods": {
  6054. "type": "object",
  6055. "required": [
  6056. "accountid",
  6057. "goodscode",
  6058. "goodsid",
  6059. "goodsname"
  6060. ],
  6061. "properties": {
  6062. "accountid": {
  6063. "description": "账号Id",
  6064. "type": "integer"
  6065. },
  6066. "agreeunit": {
  6067. "description": "合约单位",
  6068. "type": "number"
  6069. },
  6070. "buyaverageprice": {
  6071. "description": "持仓均价",
  6072. "type": "number"
  6073. },
  6074. "buycurholderamount": {
  6075. "description": "买当前持仓总金额[商品币种]",
  6076. "type": "number"
  6077. },
  6078. "buycurpositionqty": {
  6079. "description": "买当前持仓总数量",
  6080. "type": "integer"
  6081. },
  6082. "currencysign": {
  6083. "description": "货币符号",
  6084. "type": "string"
  6085. },
  6086. "decimalplace": {
  6087. "description": "报价小数位",
  6088. "type": "integer"
  6089. },
  6090. "enableqty": {
  6091. "description": "可用数量",
  6092. "type": "integer"
  6093. },
  6094. "goodscode": {
  6095. "description": "商品代码(内部)",
  6096. "type": "string"
  6097. },
  6098. "goodsid": {
  6099. "description": "商品Id",
  6100. "type": "integer"
  6101. },
  6102. "goodsname": {
  6103. "description": "商品名称",
  6104. "type": "string"
  6105. },
  6106. "goodsstatus": {
  6107. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  6108. "type": "integer"
  6109. },
  6110. "picurls": {
  6111. "description": "介绍图片[多张用逗号分隔]",
  6112. "type": "string"
  6113. }
  6114. }
  6115. },
  6116. "models.HsbyMyPackage": {
  6117. "type": "object",
  6118. "required": [
  6119. "goodscode",
  6120. "goodsname",
  6121. "takeorderid"
  6122. ],
  6123. "properties": {
  6124. "accountid": {
  6125. "description": "账户ID",
  6126. "type": "integer"
  6127. },
  6128. "address": {
  6129. "description": "提货人详细地址",
  6130. "type": "string"
  6131. },
  6132. "agreeunit": {
  6133. "description": "合约单位",
  6134. "type": "number"
  6135. },
  6136. "amount": {
  6137. "description": "提货金额",
  6138. "type": "number"
  6139. },
  6140. "auditer": {
  6141. "description": "审核人",
  6142. "type": "integer"
  6143. },
  6144. "audittime": {
  6145. "description": "审核时间",
  6146. "type": "string"
  6147. },
  6148. "averageprice": {
  6149. "description": "均价",
  6150. "type": "number"
  6151. },
  6152. "cardnum": {
  6153. "description": "提货人证件号码",
  6154. "type": "string"
  6155. },
  6156. "cardtypeid": {
  6157. "description": "提货人证件类型",
  6158. "type": "integer"
  6159. },
  6160. "checkremark": {
  6161. "description": "审核备注",
  6162. "type": "string"
  6163. },
  6164. "currencysign": {
  6165. "description": "货币符号",
  6166. "type": "string"
  6167. },
  6168. "decimalplace": {
  6169. "description": "报价小数位",
  6170. "type": "integer"
  6171. },
  6172. "goodscode": {
  6173. "description": "商品代码(内部)",
  6174. "type": "string"
  6175. },
  6176. "goodsid": {
  6177. "description": "商品ID",
  6178. "type": "integer"
  6179. },
  6180. "goodsname": {
  6181. "description": "商品名称",
  6182. "type": "string"
  6183. },
  6184. "handlestatus": {
  6185. "description": "处理状态",
  6186. "type": "integer"
  6187. },
  6188. "marketid": {
  6189. "description": "市场ID",
  6190. "type": "integer"
  6191. },
  6192. "phonenum": {
  6193. "description": "提货人联系方式",
  6194. "type": "string"
  6195. },
  6196. "picurls": {
  6197. "description": "介绍图片[多张用逗号分隔]",
  6198. "type": "string"
  6199. },
  6200. "qty": {
  6201. "description": "提货数量",
  6202. "type": "number"
  6203. },
  6204. "recivername": {
  6205. "description": "提货人姓名",
  6206. "type": "string"
  6207. },
  6208. "reqtime": {
  6209. "description": "更新时间",
  6210. "type": "string"
  6211. },
  6212. "takemode": {
  6213. "description": "提货方式 - 2:自提 3:配送",
  6214. "type": "integer"
  6215. },
  6216. "takeorderid": {
  6217. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  6218. "type": "string"
  6219. },
  6220. "takeorderstatus": {
  6221. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6222. "type": "integer"
  6223. },
  6224. "takeremark": {
  6225. "description": "提货备注",
  6226. "type": "string"
  6227. },
  6228. "tradedate": {
  6229. "description": "交易日(yyyyMMdd)",
  6230. "type": "string"
  6231. },
  6232. "userid": {
  6233. "description": "用户ID",
  6234. "type": "integer"
  6235. },
  6236. "vendorname": {
  6237. "description": "供应商名称",
  6238. "type": "string"
  6239. }
  6240. }
  6241. },
  6242. "models.HsbyPreGoods": {
  6243. "type": "object",
  6244. "required": [
  6245. "goodscode",
  6246. "goodsid",
  6247. "goodsname",
  6248. "marketid",
  6249. "trademode"
  6250. ],
  6251. "properties": {
  6252. "agreeunit": {
  6253. "description": "合约单位",
  6254. "type": "number"
  6255. },
  6256. "currency": {
  6257. "description": "货币",
  6258. "type": "string"
  6259. },
  6260. "currencysign": {
  6261. "description": "货币符号",
  6262. "type": "string"
  6263. },
  6264. "decimalplace": {
  6265. "description": "报价小数位",
  6266. "type": "integer"
  6267. },
  6268. "enableqty": {
  6269. "description": "剩余数量",
  6270. "type": "integer"
  6271. },
  6272. "goodscode": {
  6273. "description": "商品代码(内部)",
  6274. "type": "string"
  6275. },
  6276. "goodsid": {
  6277. "description": "商品ID(自增ID SEQ_GOODS)",
  6278. "type": "integer"
  6279. },
  6280. "goodsname": {
  6281. "description": "商品名称",
  6282. "type": "string"
  6283. },
  6284. "goodsstatus": {
  6285. "description": "商品状态- 2:未上市 3:上市",
  6286. "type": "integer"
  6287. },
  6288. "lasttradedate": {
  6289. "description": "最后交易日期(状态:待退市)",
  6290. "type": "string"
  6291. },
  6292. "listingdate": {
  6293. "description": "交易开始日期",
  6294. "type": "string"
  6295. },
  6296. "marketid": {
  6297. "description": "所属市场ID",
  6298. "type": "integer"
  6299. },
  6300. "picurls": {
  6301. "description": "介绍图片[多张用逗号分隔]",
  6302. "type": "string"
  6303. },
  6304. "presaledqty": {
  6305. "description": "已预售量(预售结束时更新)",
  6306. "type": "integer"
  6307. },
  6308. "presaleqty": {
  6309. "description": "预售数量",
  6310. "type": "integer"
  6311. },
  6312. "quoteminunit": {
  6313. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  6314. "type": "integer"
  6315. },
  6316. "refprice": {
  6317. "description": "参考价格[一口价]",
  6318. "type": "number"
  6319. },
  6320. "relatedgoodsid": {
  6321. "description": "关联交易合约ID",
  6322. "type": "integer"
  6323. },
  6324. "trademode": {
  6325. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6326. "type": "integer"
  6327. },
  6328. "videourls": {
  6329. "description": "介绍视频[多张用逗号分隔]",
  6330. "type": "string"
  6331. }
  6332. }
  6333. },
  6334. "models.HsbyPreGoodsDetail": {
  6335. "type": "object",
  6336. "required": [
  6337. "goodscode",
  6338. "goodsid",
  6339. "goodsname",
  6340. "marketid",
  6341. "trademode"
  6342. ],
  6343. "properties": {
  6344. "agreeunit": {
  6345. "description": "合约单位",
  6346. "type": "number"
  6347. },
  6348. "buymaxqty": {
  6349. "description": "购买上限 [71] - 0为不限",
  6350. "type": "integer"
  6351. },
  6352. "currency": {
  6353. "description": "货币",
  6354. "type": "string"
  6355. },
  6356. "currencysign": {
  6357. "description": "货币符号",
  6358. "type": "string"
  6359. },
  6360. "customername": {
  6361. "description": "发行单位",
  6362. "type": "string"
  6363. },
  6364. "decimalplace": {
  6365. "description": "报价小数位",
  6366. "type": "integer"
  6367. },
  6368. "desccityid": {
  6369. "description": "目的地(市)ID",
  6370. "type": "integer"
  6371. },
  6372. "descprovinceid": {
  6373. "description": "目的地(省)ID",
  6374. "type": "integer"
  6375. },
  6376. "enableqty": {
  6377. "description": "剩余数量",
  6378. "type": "integer"
  6379. },
  6380. "goodscode": {
  6381. "description": "商品代码(内部)",
  6382. "type": "string"
  6383. },
  6384. "goodsdesc": {
  6385. "description": "商品详情",
  6386. "type": "string"
  6387. },
  6388. "goodsid": {
  6389. "description": "商品ID(自增ID SEQ_GOODS)",
  6390. "type": "integer"
  6391. },
  6392. "goodsname": {
  6393. "description": "商品名称",
  6394. "type": "string"
  6395. },
  6396. "goodsstatus": {
  6397. "description": "商品状态- 2:未上市 3:上市",
  6398. "type": "integer"
  6399. },
  6400. "goodunit": {
  6401. "description": "报价单位",
  6402. "type": "string"
  6403. },
  6404. "lasttradedate": {
  6405. "description": "最后交易日期(状态:待退市)",
  6406. "type": "string"
  6407. },
  6408. "listingdate": {
  6409. "description": "交易开始日期",
  6410. "type": "string"
  6411. },
  6412. "lotsize": {
  6413. "description": "手数最小变动单位",
  6414. "type": "integer"
  6415. },
  6416. "marketid": {
  6417. "description": "所属市场ID",
  6418. "type": "integer"
  6419. },
  6420. "picurls": {
  6421. "description": "介绍图片[多张用逗号分隔]",
  6422. "type": "string"
  6423. },
  6424. "presaledqty": {
  6425. "description": "已预售量(预售结束时更新)",
  6426. "type": "integer"
  6427. },
  6428. "presaleqty": {
  6429. "description": "预售数量",
  6430. "type": "integer"
  6431. },
  6432. "quoteminunit": {
  6433. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  6434. "type": "integer"
  6435. },
  6436. "refprice": {
  6437. "description": "参考价格[一口价]",
  6438. "type": "number"
  6439. },
  6440. "relatedgoodsid": {
  6441. "description": "关联交易合约ID",
  6442. "type": "integer"
  6443. },
  6444. "stepvalue": {
  6445. "description": "价格最小变动单位",
  6446. "type": "number"
  6447. },
  6448. "trademode": {
  6449. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6450. "type": "integer"
  6451. },
  6452. "vendorattr": {
  6453. "description": "供应商附件(多张,逗号分隔)",
  6454. "type": "string"
  6455. },
  6456. "vendorname": {
  6457. "description": "供应商名称",
  6458. "type": "string"
  6459. },
  6460. "vendorphone": {
  6461. "description": "供应商客服电话",
  6462. "type": "string"
  6463. },
  6464. "videourls": {
  6465. "description": "介绍视频[多张用逗号分隔]",
  6466. "type": "string"
  6467. }
  6468. }
  6469. },
  6470. "models.HsbySellMyDetail": {
  6471. "type": "object",
  6472. "required": [
  6473. "accountid",
  6474. "buyorsell",
  6475. "goodscode",
  6476. "goodsid",
  6477. "goodsname",
  6478. "marketid",
  6479. "orderid",
  6480. "qty",
  6481. "time",
  6482. "trademode"
  6483. ],
  6484. "properties": {
  6485. "accountid": {
  6486. "description": "账户ID[报价币种]",
  6487. "type": "integer"
  6488. },
  6489. "agreeunit": {
  6490. "description": "合约单位",
  6491. "type": "number"
  6492. },
  6493. "amount": {
  6494. "description": "金额 = 价格 * 数量 * 合约单位",
  6495. "type": "number"
  6496. },
  6497. "buyorsell": {
  6498. "description": "买卖 - 0:买 1:卖",
  6499. "type": "integer"
  6500. },
  6501. "currencysign": {
  6502. "description": "货币符号",
  6503. "type": "string"
  6504. },
  6505. "decimalplace": {
  6506. "description": "报价小数位",
  6507. "type": "integer"
  6508. },
  6509. "goodscode": {
  6510. "description": "商品代码(内部)",
  6511. "type": "string"
  6512. },
  6513. "goodsid": {
  6514. "description": "商品ID",
  6515. "type": "integer"
  6516. },
  6517. "goodsname": {
  6518. "description": "商品名称",
  6519. "type": "string"
  6520. },
  6521. "marketid": {
  6522. "description": "市场ID",
  6523. "type": "integer"
  6524. },
  6525. "orderid": {
  6526. "description": "单号(已发布 - 委托单号;已完成 - 成交单号)",
  6527. "type": "string"
  6528. },
  6529. "ordertype": {
  6530. "description": "单据类型:0 - 已发布, 1 - 已完成",
  6531. "type": "integer"
  6532. },
  6533. "picurls": {
  6534. "description": "介绍图片[多张用逗号分隔]",
  6535. "type": "string"
  6536. },
  6537. "price": {
  6538. "description": "价格",
  6539. "type": "number"
  6540. },
  6541. "qty": {
  6542. "description": "数量",
  6543. "type": "integer"
  6544. },
  6545. "time": {
  6546. "description": "时间",
  6547. "type": "string"
  6548. },
  6549. "trademode": {
  6550. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6551. "type": "integer"
  6552. },
  6553. "vendorname": {
  6554. "description": "供应商名称",
  6555. "type": "string"
  6556. }
  6557. }
  6558. },
  6559. "models.HsbyTopGoods": {
  6560. "type": "object",
  6561. "required": [
  6562. "goodscode",
  6563. "goodsid",
  6564. "goodsname",
  6565. "marketid",
  6566. "trademode"
  6567. ],
  6568. "properties": {
  6569. "agreeunit": {
  6570. "description": "合约单位",
  6571. "type": "number"
  6572. },
  6573. "currency": {
  6574. "description": "货币",
  6575. "type": "string"
  6576. },
  6577. "currencysign": {
  6578. "description": "货币符号",
  6579. "type": "string"
  6580. },
  6581. "decimalplace": {
  6582. "description": "报价小数位",
  6583. "type": "integer"
  6584. },
  6585. "goodscode": {
  6586. "description": "商品代码(内部)",
  6587. "type": "string"
  6588. },
  6589. "goodsid": {
  6590. "description": "商品ID(自增ID SEQ_GOODS)",
  6591. "type": "integer"
  6592. },
  6593. "goodsname": {
  6594. "description": "商品名称",
  6595. "type": "string"
  6596. },
  6597. "hotindex": {
  6598. "description": "景点热度",
  6599. "type": "integer"
  6600. },
  6601. "last": {
  6602. "description": "现价",
  6603. "type": "number"
  6604. },
  6605. "marketid": {
  6606. "description": "所属市场ID",
  6607. "type": "integer"
  6608. },
  6609. "picurls": {
  6610. "description": "介绍图片[多张用逗号分隔]",
  6611. "type": "string"
  6612. },
  6613. "quoteminunit": {
  6614. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  6615. "type": "integer"
  6616. },
  6617. "trademode": {
  6618. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6619. "type": "integer"
  6620. },
  6621. "videourls": {
  6622. "description": "介绍视频[多张用逗号分隔]",
  6623. "type": "string"
  6624. }
  6625. }
  6626. },
  6627. "models.HybsMyBuyOrderDetail": {
  6628. "type": "object",
  6629. "required": [
  6630. "accountid",
  6631. "buyorsell",
  6632. "goodscode",
  6633. "goodsid",
  6634. "goodsname",
  6635. "marketid",
  6636. "orderid",
  6637. "orderqty",
  6638. "ordertime",
  6639. "trademode"
  6640. ],
  6641. "properties": {
  6642. "accountid": {
  6643. "description": "账户ID[报价币种]",
  6644. "type": "integer"
  6645. },
  6646. "agreeunit": {
  6647. "description": "合约单位",
  6648. "type": "number"
  6649. },
  6650. "buyorsell": {
  6651. "description": "买卖 - 0:买 1:卖",
  6652. "type": "integer"
  6653. },
  6654. "cancelqty": {
  6655. "description": "撤单数量",
  6656. "type": "integer"
  6657. },
  6658. "currencysign": {
  6659. "description": "货币符号",
  6660. "type": "string"
  6661. },
  6662. "decimalplace": {
  6663. "description": "报价小数位",
  6664. "type": "integer"
  6665. },
  6666. "goodscode": {
  6667. "description": "商品代码(内部)",
  6668. "type": "string"
  6669. },
  6670. "goodsid": {
  6671. "description": "商品ID",
  6672. "type": "integer"
  6673. },
  6674. "goodsname": {
  6675. "description": "商品名称",
  6676. "type": "string"
  6677. },
  6678. "listingselecttype": {
  6679. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  6680. "type": "integer"
  6681. },
  6682. "marketid": {
  6683. "description": "市场ID",
  6684. "type": "integer"
  6685. },
  6686. "mybuystatus": {
  6687. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  6688. "type": "integer"
  6689. },
  6690. "orderamount": {
  6691. "description": "委托金额",
  6692. "type": "number"
  6693. },
  6694. "orderid": {
  6695. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6696. "type": "string"
  6697. },
  6698. "orderprice": {
  6699. "description": "委托价格",
  6700. "type": "number"
  6701. },
  6702. "orderqty": {
  6703. "description": "委托数量",
  6704. "type": "integer"
  6705. },
  6706. "orderstatus": {
  6707. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  6708. "type": "integer"
  6709. },
  6710. "ordertime": {
  6711. "description": "委托时间",
  6712. "type": "string"
  6713. },
  6714. "picurls1": {
  6715. "description": "预售商品介绍图片[多张用逗号分隔]",
  6716. "type": "string"
  6717. },
  6718. "picurls2": {
  6719. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  6720. "type": "string"
  6721. },
  6722. "trademode": {
  6723. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6724. "type": "integer"
  6725. },
  6726. "tradeqty": {
  6727. "description": "成交数量",
  6728. "type": "integer"
  6729. },
  6730. "vendorname1": {
  6731. "description": "预售商品供应商名称",
  6732. "type": "string"
  6733. },
  6734. "vendorname2": {
  6735. "description": "挂牌商品供应商名称",
  6736. "type": "string"
  6737. }
  6738. }
  6739. },
  6740. "models.Messageboard": {
  6741. "type": "object",
  6742. "required": [
  6743. "messageboardid"
  6744. ],
  6745. "properties": {
  6746. "createtime": {
  6747. "description": "创建时间",
  6748. "type": "string"
  6749. },
  6750. "message": {
  6751. "description": "留言信息",
  6752. "type": "string"
  6753. },
  6754. "messageboardid": {
  6755. "description": "留言簿ID(SEQ_MessageBoard)",
  6756. "type": "integer"
  6757. },
  6758. "userid": {
  6759. "description": "用户ID",
  6760. "type": "integer"
  6761. }
  6762. }
  6763. },
  6764. "models.OperationPrimaryMenu": {
  6765. "type": "object",
  6766. "properties": {
  6767. "Children": {
  6768. "description": "二级功能菜单",
  6769. "type": "array",
  6770. "items": {
  6771. "$ref": "#/definitions/models.OperationSecondaryMenu"
  6772. }
  6773. },
  6774. "Key": {
  6775. "description": "菜单KEY",
  6776. "type": "string"
  6777. },
  6778. "Label": {
  6779. "description": "菜单标题",
  6780. "type": "string"
  6781. }
  6782. }
  6783. },
  6784. "models.OperationSecondaryMenu": {
  6785. "type": "object",
  6786. "properties": {
  6787. "Key": {
  6788. "description": "菜单KEY",
  6789. "type": "string"
  6790. },
  6791. "Label": {
  6792. "description": "菜单标题",
  6793. "type": "string"
  6794. },
  6795. "TabList": {
  6796. "description": "三级功能菜单",
  6797. "type": "array",
  6798. "items": {
  6799. "$ref": "#/definitions/models.OperationTabMenu"
  6800. }
  6801. }
  6802. }
  6803. },
  6804. "models.OperationTabMenu": {
  6805. "type": "object",
  6806. "properties": {
  6807. "Key": {
  6808. "description": "菜单KEY",
  6809. "type": "string"
  6810. },
  6811. "Label": {
  6812. "description": "菜单标题",
  6813. "type": "string"
  6814. }
  6815. }
  6816. },
  6817. "models.QuotePrimaryMenu": {
  6818. "type": "object",
  6819. "properties": {
  6820. "Index": {
  6821. "description": "序号",
  6822. "type": "integer"
  6823. },
  6824. "Key": {
  6825. "description": "键名",
  6826. "type": "string"
  6827. },
  6828. "Name": {
  6829. "description": "菜单名称",
  6830. "type": "string"
  6831. },
  6832. "SubMenus": {
  6833. "description": "子菜单",
  6834. "type": "array",
  6835. "items": {
  6836. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  6837. }
  6838. },
  6839. "SubTitleType": {
  6840. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  6841. "type": "integer"
  6842. },
  6843. "TradeModes": {
  6844. "description": "包含市场交易类型",
  6845. "type": "string"
  6846. }
  6847. }
  6848. },
  6849. "models.QuoteSecondaryMenu": {
  6850. "type": "object",
  6851. "properties": {
  6852. "ExExchangeCode": {
  6853. "description": "外部交易所代码",
  6854. "type": "string"
  6855. },
  6856. "ExExchangeID": {
  6857. "description": "外部交易所ID",
  6858. "type": "integer"
  6859. },
  6860. "GoodsGroupIDs": {
  6861. "description": "商品组ID列表",
  6862. "type": "array",
  6863. "items": {
  6864. "type": "integer"
  6865. }
  6866. },
  6867. "Index": {
  6868. "description": "序号",
  6869. "type": "integer"
  6870. },
  6871. "MarketID": {
  6872. "description": "市场ID",
  6873. "type": "integer"
  6874. },
  6875. "MenuTitle": {
  6876. "description": "菜单标题(市场名称或外部交易所名称)",
  6877. "type": "string"
  6878. },
  6879. "TradeMode": {
  6880. "description": "交易模式",
  6881. "type": "integer"
  6882. }
  6883. }
  6884. },
  6885. "models.SearchGoods": {
  6886. "type": "object",
  6887. "required": [
  6888. "goodscode",
  6889. "goodsid",
  6890. "goodsname",
  6891. "marketid",
  6892. "trademode"
  6893. ],
  6894. "properties": {
  6895. "goodscode": {
  6896. "description": "商品代码(内部)",
  6897. "type": "string"
  6898. },
  6899. "goodsid": {
  6900. "description": "商品ID(自增ID SEQ_GOODS)",
  6901. "type": "integer"
  6902. },
  6903. "goodsname": {
  6904. "description": "商品名称",
  6905. "type": "string"
  6906. },
  6907. "marketid": {
  6908. "description": "所属市场ID",
  6909. "type": "integer"
  6910. },
  6911. "marketname": {
  6912. "description": "市场名称",
  6913. "type": "string"
  6914. },
  6915. "trademode": {
  6916. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6917. "type": "integer"
  6918. }
  6919. }
  6920. },
  6921. "models.Szdz2imageconfig": {
  6922. "type": "object",
  6923. "required": [
  6924. "configid"
  6925. ],
  6926. "properties": {
  6927. "configid": {
  6928. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  6929. "type": "integer"
  6930. },
  6931. "imagepath": {
  6932. "description": "图片",
  6933. "type": "string"
  6934. },
  6935. "imagetype": {
  6936. "description": "类型 - 1:App首页轮播 2:我的",
  6937. "type": "integer"
  6938. },
  6939. "sort": {
  6940. "description": "排序",
  6941. "type": "integer"
  6942. },
  6943. "title": {
  6944. "description": "标题",
  6945. "type": "string"
  6946. },
  6947. "url": {
  6948. "description": "链接",
  6949. "type": "string"
  6950. }
  6951. }
  6952. },
  6953. "models.Szdz3convertconfig": {
  6954. "type": "object",
  6955. "required": [
  6956. "converttype",
  6957. "innergoodsid",
  6958. "outergoodscode"
  6959. ],
  6960. "properties": {
  6961. "canin": {
  6962. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  6963. "type": "integer"
  6964. },
  6965. "canout": {
  6966. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  6967. "type": "integer"
  6968. },
  6969. "converttype": {
  6970. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  6971. "type": "integer"
  6972. },
  6973. "createtime": {
  6974. "description": "创建时间",
  6975. "type": "string"
  6976. },
  6977. "creatorid": {
  6978. "description": "创建人",
  6979. "type": "integer"
  6980. },
  6981. "daymaxvalue": {
  6982. "description": "当日最大转入限制",
  6983. "type": "number"
  6984. },
  6985. "freezedays": {
  6986. "description": "冻结天数 [5:花生米转交易]",
  6987. "type": "integer"
  6988. },
  6989. "innergoodsid": {
  6990. "description": "内部商品ID[交易]",
  6991. "type": "integer"
  6992. },
  6993. "inratio": {
  6994. "description": "目标值",
  6995. "type": "integer"
  6996. },
  6997. "modifierid": {
  6998. "description": "修改人",
  6999. "type": "integer"
  7000. },
  7001. "modifytime": {
  7002. "description": "修改时间",
  7003. "type": "string"
  7004. },
  7005. "outergoodscode": {
  7006. "description": "外部商品代码[JD\\PD]",
  7007. "type": "string"
  7008. },
  7009. "outratio": {
  7010. "description": "源值",
  7011. "type": "integer"
  7012. },
  7013. "pddecimalplace": {
  7014. "description": "PD小数位",
  7015. "type": "integer"
  7016. },
  7017. "timemaxvalue": {
  7018. "description": "单次最大转入限制",
  7019. "type": "number"
  7020. },
  7021. "timeminvalue": {
  7022. "description": "单次最小转入限制",
  7023. "type": "number"
  7024. }
  7025. }
  7026. },
  7027. "models.Szdz3searchwhitelist": {
  7028. "type": "object",
  7029. "required": [
  7030. "userid"
  7031. ],
  7032. "properties": {
  7033. "createtime": {
  7034. "description": "创建时间",
  7035. "type": "string"
  7036. },
  7037. "creatorid": {
  7038. "description": "创建人",
  7039. "type": "integer"
  7040. },
  7041. "modifierid": {
  7042. "description": "修改人",
  7043. "type": "integer"
  7044. },
  7045. "modifytime": {
  7046. "description": "修改时间",
  7047. "type": "string"
  7048. },
  7049. "userid": {
  7050. "description": "用户ID",
  7051. "type": "integer"
  7052. }
  7053. }
  7054. },
  7055. "models.Tablecolumnconfig": {
  7056. "type": "object",
  7057. "required": [
  7058. "autoid"
  7059. ],
  7060. "properties": {
  7061. "aligntype": {
  7062. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  7063. "type": "integer"
  7064. },
  7065. "autoid": {
  7066. "description": "AutoID",
  7067. "type": "integer"
  7068. },
  7069. "columnfield": {
  7070. "description": "列字段",
  7071. "type": "string"
  7072. },
  7073. "columntitle": {
  7074. "description": "列Title",
  7075. "type": "string"
  7076. },
  7077. "columnwidth": {
  7078. "description": "列宽",
  7079. "type": "string"
  7080. },
  7081. "formatterstring": {
  7082. "description": "格式化字符",
  7083. "type": "string"
  7084. },
  7085. "formattertype": {
  7086. "description": "格式化类型",
  7087. "type": "string"
  7088. },
  7089. "groupname": {
  7090. "description": "表头分组名称",
  7091. "type": "string"
  7092. },
  7093. "isshow": {
  7094. "description": "是否显示 - 0:不显示 1:显示",
  7095. "type": "integer"
  7096. },
  7097. "needsummary": {
  7098. "description": "是否需要汇总 - 0:不需要 1:需要",
  7099. "type": "integer"
  7100. },
  7101. "orderindex": {
  7102. "description": "顺序",
  7103. "type": "integer"
  7104. },
  7105. "remark": {
  7106. "description": "备注",
  7107. "type": "string"
  7108. },
  7109. "summarytype": {
  7110. "description": "汇总类型 - 1:加总 2:最后一个",
  7111. "type": "integer"
  7112. },
  7113. "tablekey": {
  7114. "description": "列表Key",
  7115. "type": "string"
  7116. }
  7117. }
  7118. },
  7119. "models.Useraccount": {
  7120. "type": "object",
  7121. "required": [
  7122. "userid"
  7123. ],
  7124. "properties": {
  7125. "accountname": {
  7126. "description": "账户名称(机构名称)",
  7127. "type": "string"
  7128. },
  7129. "accountstatus": {
  7130. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  7131. "type": "integer"
  7132. },
  7133. "auditremark": {
  7134. "description": "审核备注",
  7135. "type": "string"
  7136. },
  7137. "audittime": {
  7138. "description": "审核时间",
  7139. "type": "string"
  7140. },
  7141. "audituserid": {
  7142. "description": "审核人",
  7143. "type": "integer"
  7144. },
  7145. "broker": {
  7146. "description": "所属经纪人ID",
  7147. "type": "integer"
  7148. },
  7149. "canceltime": {
  7150. "description": "销户时间",
  7151. "type": "string"
  7152. },
  7153. "canceluserid": {
  7154. "description": "销户人",
  7155. "type": "integer"
  7156. },
  7157. "createtime": {
  7158. "description": "创建时间",
  7159. "type": "string"
  7160. },
  7161. "creatorid": {
  7162. "description": "创建人",
  7163. "type": "integer"
  7164. },
  7165. "hasauth": {
  7166. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  7167. "type": "integer"
  7168. },
  7169. "isanonymous": {
  7170. "description": "是否匿名下单 - 0:否 1:是",
  7171. "type": "integer"
  7172. },
  7173. "maxinvestornum": {
  7174. "description": "最大用户数(经纪会员下投资者个数)",
  7175. "type": "integer"
  7176. },
  7177. "memberuserid": {
  7178. "description": "所属会员ID",
  7179. "type": "integer"
  7180. },
  7181. "modifierid": {
  7182. "description": "修改人",
  7183. "type": "integer"
  7184. },
  7185. "modifyremark": {
  7186. "description": "变更备注",
  7187. "type": "string"
  7188. },
  7189. "modifystatus": {
  7190. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  7191. "type": "integer"
  7192. },
  7193. "modifytime": {
  7194. "description": "修改时间",
  7195. "type": "string"
  7196. },
  7197. "parentuserid": {
  7198. "description": "所属机构ID",
  7199. "type": "integer"
  7200. },
  7201. "reckonaccountid": {
  7202. "description": "默认结算资金账号ID(机构分润使用) 作废",
  7203. "type": "integer"
  7204. },
  7205. "refercount": {
  7206. "description": "推荐总人数",
  7207. "type": "integer"
  7208. },
  7209. "refereeuserid": {
  7210. "description": "推荐人ID",
  7211. "type": "integer"
  7212. },
  7213. "refernum": {
  7214. "description": "推荐码",
  7215. "type": "string"
  7216. },
  7217. "subarealevelpath": {
  7218. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  7219. "type": "string"
  7220. },
  7221. "userid": {
  7222. "description": "用户ID",
  7223. "type": "integer"
  7224. },
  7225. "usertype": {
  7226. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  7227. "type": "integer"
  7228. }
  7229. }
  7230. },
  7231. "models.Userfavoritegoods": {
  7232. "type": "object",
  7233. "required": [
  7234. "goodsid"
  7235. ],
  7236. "properties": {
  7237. "goodsid": {
  7238. "description": "商品ID",
  7239. "type": "integer"
  7240. }
  7241. }
  7242. },
  7243. "models.Userinfo": {
  7244. "type": "object",
  7245. "required": [
  7246. "userid"
  7247. ],
  7248. "properties": {
  7249. "address": {
  7250. "description": "地址",
  7251. "type": "string"
  7252. },
  7253. "attachment1": {
  7254. "description": "附件1",
  7255. "type": "string"
  7256. },
  7257. "attachment2": {
  7258. "description": "附件2",
  7259. "type": "string"
  7260. },
  7261. "bankaccount": {
  7262. "description": "银行帐号 (加密存储)",
  7263. "type": "string"
  7264. },
  7265. "bankaccountname": {
  7266. "description": "收款人名称",
  7267. "type": "string"
  7268. },
  7269. "bankcardfrontphotourl": {
  7270. "description": "银行卡正面照地址",
  7271. "type": "string"
  7272. },
  7273. "bankid": {
  7274. "description": "银行编码",
  7275. "type": "string"
  7276. },
  7277. "bankname": {
  7278. "description": "银行名称",
  7279. "type": "string"
  7280. },
  7281. "biznature": {
  7282. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7283. "type": "integer"
  7284. },
  7285. "bizscope": {
  7286. "description": "企业经营范围(企业)",
  7287. "type": "string"
  7288. },
  7289. "cardbackphotourl": {
  7290. "description": "证件背面图片地址",
  7291. "type": "string"
  7292. },
  7293. "cardfrontphotourl": {
  7294. "description": "证件正面图片地址",
  7295. "type": "string"
  7296. },
  7297. "cardnum": {
  7298. "description": "证件号码(加密存储)",
  7299. "type": "string"
  7300. },
  7301. "cardtypeid": {
  7302. "description": "证件类型ID",
  7303. "type": "integer"
  7304. },
  7305. "cityid": {
  7306. "description": "市",
  7307. "type": "integer"
  7308. },
  7309. "company": {
  7310. "description": "公司(个人)",
  7311. "type": "string"
  7312. },
  7313. "contactname": {
  7314. "description": "联系人",
  7315. "type": "string"
  7316. },
  7317. "countryid": {
  7318. "description": "国家",
  7319. "type": "integer"
  7320. },
  7321. "createtime": {
  7322. "description": "创建时间",
  7323. "type": "string"
  7324. },
  7325. "creatorid": {
  7326. "description": "创建人",
  7327. "type": "integer"
  7328. },
  7329. "customername": {
  7330. "description": "客户名称(企业名称)",
  7331. "type": "string"
  7332. },
  7333. "districtid": {
  7334. "description": "地区",
  7335. "type": "integer"
  7336. },
  7337. "email": {
  7338. "description": "邮件(加密存储)",
  7339. "type": "string"
  7340. },
  7341. "fax": {
  7342. "description": "传真(加密存储)",
  7343. "type": "string"
  7344. },
  7345. "halfbodyphotourl": {
  7346. "description": "半身照地址",
  7347. "type": "string"
  7348. },
  7349. "hasencrypt": {
  7350. "description": "数据是否已加密 - 0:未加密 1:已加密",
  7351. "type": "integer"
  7352. },
  7353. "headurl": {
  7354. "description": "头像地址",
  7355. "type": "string"
  7356. },
  7357. "legalcardbackphotourl": {
  7358. "description": "法人身份证背面照地址",
  7359. "type": "string"
  7360. },
  7361. "legalcardfrontphotourl": {
  7362. "description": "法人身份证正面照地址",
  7363. "type": "string"
  7364. },
  7365. "legalpersonname": {
  7366. "description": "法人姓名(企业)",
  7367. "type": "string"
  7368. },
  7369. "mobile": {
  7370. "description": "手机号码(加密存储)",
  7371. "type": "string"
  7372. },
  7373. "mobile2": {
  7374. "description": "手机号码[明文-尚志]",
  7375. "type": "string"
  7376. },
  7377. "modifierid": {
  7378. "description": "修改人",
  7379. "type": "integer"
  7380. },
  7381. "modifiertime": {
  7382. "description": "修改时间",
  7383. "type": "string"
  7384. },
  7385. "needinvoice": {
  7386. "description": "是否需要发票 - 0:不需要 1:需要",
  7387. "type": "integer"
  7388. },
  7389. "nickname": {
  7390. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  7391. "type": "string"
  7392. },
  7393. "openmode": {
  7394. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  7395. "type": "integer"
  7396. },
  7397. "otherurl": {
  7398. "description": "其它图片地址[使用分号分隔]",
  7399. "type": "string"
  7400. },
  7401. "postalcode": {
  7402. "description": "邮政编码",
  7403. "type": "string"
  7404. },
  7405. "provinceid": {
  7406. "description": "省",
  7407. "type": "integer"
  7408. },
  7409. "qq": {
  7410. "description": "QQ(加密存储",
  7411. "type": "string"
  7412. },
  7413. "remark": {
  7414. "description": "备注",
  7415. "type": "string"
  7416. },
  7417. "sex": {
  7418. "description": "用户性别 0: 女 1: 男",
  7419. "type": "integer"
  7420. },
  7421. "signpdfurl": {
  7422. "description": "签约pdf文件",
  7423. "type": "string"
  7424. },
  7425. "telphone": {
  7426. "description": "联系电话(加密存储)",
  7427. "type": "string"
  7428. },
  7429. "userid": {
  7430. "description": "用户ID",
  7431. "type": "integer"
  7432. },
  7433. "userinfotype": {
  7434. "description": "用户信息类型 - 1:个人 2:企业",
  7435. "type": "integer"
  7436. },
  7437. "userstatus": {
  7438. "description": "用户状态 - 1:正常 2:注销",
  7439. "type": "integer"
  7440. },
  7441. "usertype": {
  7442. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  7443. "type": "integer"
  7444. },
  7445. "wechat": {
  7446. "description": "微信(加密存储)",
  7447. "type": "string"
  7448. },
  7449. "wskhinfo": {
  7450. "description": "开户申请信息(JSON)",
  7451. "type": "string"
  7452. }
  7453. }
  7454. },
  7455. "models.WRStandardInfo": {
  7456. "type": "object",
  7457. "required": [
  7458. "wrstandardid"
  7459. ],
  7460. "properties": {
  7461. "createtime": {
  7462. "description": "创建时间",
  7463. "type": "string"
  7464. },
  7465. "creatorid": {
  7466. "description": "创建人",
  7467. "type": "integer"
  7468. },
  7469. "deliverygoodsid": {
  7470. "description": "品种ID",
  7471. "type": "integer"
  7472. },
  7473. "deliverygoodsname": {
  7474. "description": "交割商品名称",
  7475. "type": "string"
  7476. },
  7477. "factoryitemjson": {
  7478. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  7479. "type": "string"
  7480. },
  7481. "isvalid": {
  7482. "description": "是否有效 - 0:无效 1:有效",
  7483. "type": "integer"
  7484. },
  7485. "minivalue": {
  7486. "description": "最小变动值",
  7487. "type": "integer"
  7488. },
  7489. "minivaluedp": {
  7490. "description": "最小变动值小数位",
  7491. "type": "integer"
  7492. },
  7493. "realminivalue": {
  7494. "description": "实际最小变动值",
  7495. "type": "integer"
  7496. },
  7497. "realminivaluedp": {
  7498. "description": "实际最小变动值小数位",
  7499. "type": "integer"
  7500. },
  7501. "unitid": {
  7502. "description": "单位ID",
  7503. "type": "integer"
  7504. },
  7505. "unitname": {
  7506. "description": "单位",
  7507. "type": "string"
  7508. },
  7509. "updatetime": {
  7510. "description": "更新时间",
  7511. "type": "string"
  7512. },
  7513. "updatorid": {
  7514. "description": "更新人",
  7515. "type": "integer"
  7516. },
  7517. "wrsstatus": {
  7518. "description": "状态 - 作废 - 0:未激活 1:正常",
  7519. "type": "integer"
  7520. },
  7521. "wrstandardcode": {
  7522. "description": "仓单标准代码",
  7523. "type": "string"
  7524. },
  7525. "wrstandardid": {
  7526. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  7527. "type": "integer"
  7528. },
  7529. "wrstandardname": {
  7530. "description": "仓单标准名称",
  7531. "type": "string"
  7532. }
  7533. }
  7534. },
  7535. "models.Warehouseinfo": {
  7536. "type": "object",
  7537. "required": [
  7538. "autoid",
  7539. "warehousecode"
  7540. ],
  7541. "properties": {
  7542. "address": {
  7543. "description": "详细地址",
  7544. "type": "string"
  7545. },
  7546. "areauserid": {
  7547. "description": "所属机构",
  7548. "type": "integer"
  7549. },
  7550. "autoid": {
  7551. "description": "自增ID",
  7552. "type": "integer"
  7553. },
  7554. "cityid": {
  7555. "description": "市",
  7556. "type": "integer"
  7557. },
  7558. "contactname": {
  7559. "description": "联系人",
  7560. "type": "string"
  7561. },
  7562. "contactnum": {
  7563. "description": "联系电话",
  7564. "type": "string"
  7565. },
  7566. "countryid": {
  7567. "description": "国家",
  7568. "type": "integer"
  7569. },
  7570. "createtime": {
  7571. "description": "创建时间",
  7572. "type": "string"
  7573. },
  7574. "districtid": {
  7575. "description": "区",
  7576. "type": "integer"
  7577. },
  7578. "hasvideo": {
  7579. "description": "是否有视频 - 0:无 1:有",
  7580. "type": "integer"
  7581. },
  7582. "provinceid": {
  7583. "description": "省",
  7584. "type": "integer"
  7585. },
  7586. "remark": {
  7587. "description": "审核备注",
  7588. "type": "string"
  7589. },
  7590. "videourl": {
  7591. "description": "视频地址",
  7592. "type": "string"
  7593. },
  7594. "warehousecode": {
  7595. "description": "仓库代码",
  7596. "type": "string"
  7597. },
  7598. "warehousename": {
  7599. "description": "仓库名称",
  7600. "type": "string"
  7601. },
  7602. "warehousestatus": {
  7603. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  7604. "type": "integer"
  7605. },
  7606. "warehousetype": {
  7607. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  7608. "type": "integer"
  7609. }
  7610. }
  7611. },
  7612. "order.QueryHisTradeDetailRsp": {
  7613. "type": "object",
  7614. "required": [
  7615. "accountid",
  7616. "buyorsell",
  7617. "goodsid",
  7618. "histradedate",
  7619. "marketid",
  7620. "memberuserid",
  7621. "orderid",
  7622. "tradeamount",
  7623. "tradedate",
  7624. "tradeid",
  7625. "tradeprice",
  7626. "tradeqty",
  7627. "tradetime"
  7628. ],
  7629. "properties": {
  7630. "accountid": {
  7631. "description": "账户ID[报价币种]",
  7632. "type": "integer"
  7633. },
  7634. "buildtype": {
  7635. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  7636. "type": "integer"
  7637. },
  7638. "buyorsell": {
  7639. "description": "方向 - 0:买 1:卖",
  7640. "type": "integer"
  7641. },
  7642. "charge": {
  7643. "description": "手续费",
  7644. "type": "number"
  7645. },
  7646. "closecharge": {
  7647. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  7648. "type": "number"
  7649. },
  7650. "closeexchagechargevalue": {
  7651. "description": "平仓交易所手续费设置值",
  7652. "type": "number"
  7653. },
  7654. "closefeealgorithm": {
  7655. "description": "平仓手续费收取方式 1:比率 2:固定",
  7656. "type": "integer"
  7657. },
  7658. "closememberchargevalue": {
  7659. "description": "平仓会员手续费设置值",
  7660. "type": "number"
  7661. },
  7662. "closepl": {
  7663. "description": "平仓盈亏",
  7664. "type": "number"
  7665. },
  7666. "closepl2": {
  7667. "description": "平仓盈亏[逐笔]",
  7668. "type": "number"
  7669. },
  7670. "closeqty": {
  7671. "description": "平仓数量(先建后平操作 需要记录)",
  7672. "type": "integer"
  7673. },
  7674. "creditamount": {
  7675. "description": "授信金额",
  7676. "type": "number"
  7677. },
  7678. "gcaccountid": {
  7679. "description": "账户ID[合约币种]",
  7680. "type": "integer"
  7681. },
  7682. "goodscode": {
  7683. "description": "商品代码",
  7684. "type": "string"
  7685. },
  7686. "goodsid": {
  7687. "description": "商品ID",
  7688. "type": "integer"
  7689. },
  7690. "goodsname": {
  7691. "description": "商品名称",
  7692. "type": "string"
  7693. },
  7694. "histradedate": {
  7695. "description": "历史交易日",
  7696. "type": "string"
  7697. },
  7698. "intclosepl": {
  7699. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  7700. "type": "integer"
  7701. },
  7702. "isconfirmexercise": {
  7703. "description": "是否确认行权- 0:否 1:是",
  7704. "type": "integer"
  7705. },
  7706. "ismain": {
  7707. "description": "是否主单 - 0:不是 1:是",
  7708. "type": "integer"
  7709. },
  7710. "ispreexercise": {
  7711. "description": "是否预申报- 0:否 1:是",
  7712. "type": "integer"
  7713. },
  7714. "isreckoned": {
  7715. "description": "是否结算 - 0:未结算 1:已结算",
  7716. "type": "integer"
  7717. },
  7718. "isvaliddata": {
  7719. "description": "是否有效 - 0:无效 1:有效",
  7720. "type": "integer"
  7721. },
  7722. "listingselecttype": {
  7723. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7724. "type": "integer"
  7725. },
  7726. "marketid": {
  7727. "description": "市场ID",
  7728. "type": "integer"
  7729. },
  7730. "marketname": {
  7731. "description": "市场名称",
  7732. "type": "string"
  7733. },
  7734. "matchaccountid": {
  7735. "description": "对手账号id",
  7736. "type": "integer"
  7737. },
  7738. "memberuserid": {
  7739. "description": "会员id 个人投资者 需要填写",
  7740. "type": "integer"
  7741. },
  7742. "opencharge": {
  7743. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  7744. "type": "number"
  7745. },
  7746. "openexchagechargevalue": {
  7747. "description": "建仓交易所手续费设置值",
  7748. "type": "number"
  7749. },
  7750. "openfeealgorithm": {
  7751. "description": "建仓手续费收取方式 1:比率 2:固定",
  7752. "type": "integer"
  7753. },
  7754. "openmemberchargevalue": {
  7755. "description": "建仓会员手续费设置值",
  7756. "type": "number"
  7757. },
  7758. "openqty": {
  7759. "description": "开仓数量(先建后平操作 需要记录)",
  7760. "type": "integer"
  7761. },
  7762. "optiontype": {
  7763. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  7764. "type": "integer"
  7765. },
  7766. "orderid": {
  7767. "description": "委托单号",
  7768. "type": "string"
  7769. },
  7770. "performanceplanid": {
  7771. "description": "履约计划ID[期权]",
  7772. "type": "integer"
  7773. },
  7774. "performancestatus": {
  7775. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  7776. "type": "integer"
  7777. },
  7778. "preexerciseprice": {
  7779. "description": "预申报价格",
  7780. "type": "number"
  7781. },
  7782. "premium": {
  7783. "description": "权利金 - [持仓单的权利金]",
  7784. "type": "number"
  7785. },
  7786. "relatedouttradeid": {
  7787. "description": "关联外部成交单ID",
  7788. "type": "integer"
  7789. },
  7790. "status": {
  7791. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  7792. "type": "integer"
  7793. },
  7794. "tradeamount": {
  7795. "description": "成交金额[账户币种,用于所有权]",
  7796. "type": "number"
  7797. },
  7798. "tradedate": {
  7799. "description": "交易日(yyyyMMdd)",
  7800. "type": "string"
  7801. },
  7802. "tradeid": {
  7803. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7804. "type": "string"
  7805. },
  7806. "trademode": {
  7807. "description": "交易模式",
  7808. "type": "integer"
  7809. },
  7810. "tradeprice": {
  7811. "description": "成交价格",
  7812. "type": "number"
  7813. },
  7814. "tradeproperty": {
  7815. "description": "交易属性",
  7816. "type": "integer"
  7817. },
  7818. "tradeqty": {
  7819. "description": "成交数量",
  7820. "type": "integer"
  7821. },
  7822. "tradetime": {
  7823. "description": "成交时间",
  7824. "type": "string"
  7825. },
  7826. "tradetype": {
  7827. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  7828. "type": "integer"
  7829. }
  7830. }
  7831. },
  7832. "order.QueryHisTradeOrderDetailRsp": {
  7833. "type": "object",
  7834. "required": [
  7835. "accountid",
  7836. "buildtype",
  7837. "buyorsell",
  7838. "goodsid",
  7839. "histradedate",
  7840. "marketid",
  7841. "memberuserid",
  7842. "operatetype",
  7843. "orderid",
  7844. "orderqty",
  7845. "ordertime",
  7846. "pricemode",
  7847. "tradedate",
  7848. "validtype"
  7849. ],
  7850. "properties": {
  7851. "accountid": {
  7852. "description": "账户ID[报价币种]",
  7853. "type": "integer"
  7854. },
  7855. "buildtype": {
  7856. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  7857. "type": "integer"
  7858. },
  7859. "buyorsell": {
  7860. "description": "买卖 - 0:买 1:卖",
  7861. "type": "integer"
  7862. },
  7863. "cancelorderid": {
  7864. "description": "撤单单号(撤单时填写)",
  7865. "type": "string"
  7866. },
  7867. "cancelqty": {
  7868. "description": "撤单数量",
  7869. "type": "integer"
  7870. },
  7871. "clientordertime": {
  7872. "description": "客户端委托时间",
  7873. "type": "string"
  7874. },
  7875. "clientticket": {
  7876. "description": "客户端流水号",
  7877. "type": "string"
  7878. },
  7879. "clienttype": {
  7880. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  7881. "type": "integer"
  7882. },
  7883. "closeexchagechargevalue": {
  7884. "description": "平仓交易所手续费设置值",
  7885. "type": "number"
  7886. },
  7887. "closefeealgorithm": {
  7888. "description": "平仓手续费收取方式 1:比率 2:固定",
  7889. "type": "integer"
  7890. },
  7891. "closefreezecharge": {
  7892. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  7893. "type": "number"
  7894. },
  7895. "closememberchargevalue": {
  7896. "description": "平仓会员手续费设置值",
  7897. "type": "number"
  7898. },
  7899. "closeqty": {
  7900. "description": "平仓数量(先建后平操作 需要记录)",
  7901. "type": "integer"
  7902. },
  7903. "closetradeqty": {
  7904. "description": "平仓成交数量(先建后平操作,需要记录)",
  7905. "type": "integer"
  7906. },
  7907. "closeunfreezecharge": {
  7908. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  7909. "type": "number"
  7910. },
  7911. "delistingtype": {
  7912. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  7913. "type": "integer"
  7914. },
  7915. "freezecharge": {
  7916. "description": "冻结手续费",
  7917. "type": "number"
  7918. },
  7919. "freezemargin": {
  7920. "description": "冻结保证金(冻结交易金额)",
  7921. "type": "number"
  7922. },
  7923. "gcaccountid": {
  7924. "description": "账户ID[合约币种]",
  7925. "type": "integer"
  7926. },
  7927. "goodscode": {
  7928. "description": "商品代码",
  7929. "type": "string"
  7930. },
  7931. "goodsid": {
  7932. "description": "商品ID",
  7933. "type": "integer"
  7934. },
  7935. "goodsname": {
  7936. "description": "商品名称",
  7937. "type": "string"
  7938. },
  7939. "histradedate": {
  7940. "description": "历史交易日",
  7941. "type": "string"
  7942. },
  7943. "isconfirmexercise": {
  7944. "description": "是否确认行权- 0:否 1:是",
  7945. "type": "integer"
  7946. },
  7947. "ispreexercise": {
  7948. "description": "是否预申报- 0:否 1:是",
  7949. "type": "integer"
  7950. },
  7951. "isvaliddata": {
  7952. "description": "是否有效 - 0:无效 1:有效",
  7953. "type": "integer"
  7954. },
  7955. "listingselecttype": {
  7956. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7957. "type": "integer"
  7958. },
  7959. "marginalgorithm": {
  7960. "description": "保证金收取方式 1:比率 2:固定",
  7961. "type": "integer"
  7962. },
  7963. "marginvalue": {
  7964. "description": "即市保证金设置值",
  7965. "type": "number"
  7966. },
  7967. "marketid": {
  7968. "description": "市场ID",
  7969. "type": "integer"
  7970. },
  7971. "marketmaxsub": {
  7972. "description": "市价最大偏移范围",
  7973. "type": "number"
  7974. },
  7975. "marketname": {
  7976. "description": "市场名称",
  7977. "type": "string"
  7978. },
  7979. "memberuserid": {
  7980. "description": "所属会员UserID",
  7981. "type": "integer"
  7982. },
  7983. "openexchagechargevalue": {
  7984. "description": "建仓交易所手续费设置值",
  7985. "type": "number"
  7986. },
  7987. "openfeealgorithm": {
  7988. "description": "建仓手续费收取方式 1:比率 2:固定",
  7989. "type": "integer"
  7990. },
  7991. "openfreezecharge": {
  7992. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  7993. "type": "number"
  7994. },
  7995. "openmemberchargevalue": {
  7996. "description": "建仓会员手续费设置值",
  7997. "type": "number"
  7998. },
  7999. "openqty": {
  8000. "description": "开仓数量(先建后平操作,需要记录)",
  8001. "type": "integer"
  8002. },
  8003. "opentradeqty": {
  8004. "description": "开仓成交数量(先建后平操作,需要记录)",
  8005. "type": "integer"
  8006. },
  8007. "openunfreezecharge": {
  8008. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  8009. "type": "number"
  8010. },
  8011. "operatetype": {
  8012. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  8013. "type": "integer"
  8014. },
  8015. "operatorid": {
  8016. "description": "登录账号(LoginID)",
  8017. "type": "integer"
  8018. },
  8019. "optiontype": {
  8020. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  8021. "type": "integer"
  8022. },
  8023. "orderid": {
  8024. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8025. "type": "string"
  8026. },
  8027. "orderprice": {
  8028. "description": "委托价格",
  8029. "type": "number"
  8030. },
  8031. "orderqty": {
  8032. "description": "委托数量",
  8033. "type": "integer"
  8034. },
  8035. "ordersrc": {
  8036. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  8037. "type": "integer"
  8038. },
  8039. "orderstatus": {
  8040. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8041. "type": "integer"
  8042. },
  8043. "ordertime": {
  8044. "description": "委托时间",
  8045. "type": "string"
  8046. },
  8047. "preexerciseprice": {
  8048. "description": "预申报价格",
  8049. "type": "number"
  8050. },
  8051. "premium": {
  8052. "description": "权利金",
  8053. "type": "number"
  8054. },
  8055. "preorderid": {
  8056. "description": "关联预埋单号(止盈止损单时填写)",
  8057. "type": "string"
  8058. },
  8059. "pricemode": {
  8060. "description": "取价方式 - 1:市价 2: 限价",
  8061. "type": "integer"
  8062. },
  8063. "quoteid": {
  8064. "description": "报价单ID",
  8065. "type": "integer"
  8066. },
  8067. "relatedid": {
  8068. "description": "关联单号(交割单)",
  8069. "type": "string"
  8070. },
  8071. "retcode": {
  8072. "description": "错误代码",
  8073. "type": "integer"
  8074. },
  8075. "sessionid": {
  8076. "description": "会话ID",
  8077. "type": "integer"
  8078. },
  8079. "tradedate": {
  8080. "description": "交易日(yyyyMMdd)",
  8081. "type": "string"
  8082. },
  8083. "trademode": {
  8084. "description": "交易模式",
  8085. "type": "integer"
  8086. },
  8087. "tradeproperty": {
  8088. "description": "交易属性",
  8089. "type": "integer"
  8090. },
  8091. "tradeqty": {
  8092. "description": "成交数量",
  8093. "type": "integer"
  8094. },
  8095. "unfreezecharge": {
  8096. "description": "解冻手续费",
  8097. "type": "number"
  8098. },
  8099. "unfreezemargin": {
  8100. "description": "解冻保证金",
  8101. "type": "number"
  8102. },
  8103. "updatetime": {
  8104. "description": "更新时间",
  8105. "type": "string"
  8106. },
  8107. "uuid": {
  8108. "description": "发起端唯一id",
  8109. "type": "string"
  8110. },
  8111. "validtime": {
  8112. "description": "有效期限",
  8113. "type": "string"
  8114. },
  8115. "validtype": {
  8116. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  8117. "type": "integer"
  8118. },
  8119. "volumetype": {
  8120. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  8121. "type": "integer"
  8122. }
  8123. }
  8124. },
  8125. "order.QueryTradeDetailRsp": {
  8126. "type": "object",
  8127. "required": [
  8128. "accountid",
  8129. "buyorsell",
  8130. "goodsid",
  8131. "marketid",
  8132. "memberuserid",
  8133. "orderid",
  8134. "tradeamount",
  8135. "tradedate",
  8136. "tradeid",
  8137. "tradeprice",
  8138. "tradeqty",
  8139. "tradetime"
  8140. ],
  8141. "properties": {
  8142. "accountid": {
  8143. "description": "账户ID[报价币种]",
  8144. "type": "integer"
  8145. },
  8146. "buildtype": {
  8147. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  8148. "type": "integer"
  8149. },
  8150. "buyorsell": {
  8151. "description": "方向 - 0:买 1:卖",
  8152. "type": "integer"
  8153. },
  8154. "charge": {
  8155. "description": "手续费",
  8156. "type": "number"
  8157. },
  8158. "closecharge": {
  8159. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  8160. "type": "number"
  8161. },
  8162. "closeexchagechargevalue": {
  8163. "description": "平仓交易所手续费设置值",
  8164. "type": "number"
  8165. },
  8166. "closefeealgorithm": {
  8167. "description": "平仓手续费收取方式 1:比率 2:固定",
  8168. "type": "integer"
  8169. },
  8170. "closememberchargevalue": {
  8171. "description": "平仓会员手续费设置值",
  8172. "type": "number"
  8173. },
  8174. "closepl": {
  8175. "description": "平仓盈亏",
  8176. "type": "number"
  8177. },
  8178. "closepl2": {
  8179. "description": "平仓盈亏[逐笔]",
  8180. "type": "number"
  8181. },
  8182. "closeqty": {
  8183. "description": "平仓数量(先建后平操作 需要记录)",
  8184. "type": "integer"
  8185. },
  8186. "creditamount": {
  8187. "description": "授信金额",
  8188. "type": "number"
  8189. },
  8190. "gcaccountid": {
  8191. "description": "账户ID[合约币种]",
  8192. "type": "integer"
  8193. },
  8194. "goodscode": {
  8195. "description": "商品代码",
  8196. "type": "string"
  8197. },
  8198. "goodsid": {
  8199. "description": "商品ID",
  8200. "type": "integer"
  8201. },
  8202. "goodsname": {
  8203. "description": "商品名称",
  8204. "type": "string"
  8205. },
  8206. "intclosepl": {
  8207. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  8208. "type": "integer"
  8209. },
  8210. "isconfirmexercise": {
  8211. "description": "是否确认行权- 0:否 1:是",
  8212. "type": "integer"
  8213. },
  8214. "ismain": {
  8215. "description": "是否主单 - 0:不是 1:是",
  8216. "type": "integer"
  8217. },
  8218. "ispreexercise": {
  8219. "description": "是否预申报- 0:否 1:是",
  8220. "type": "integer"
  8221. },
  8222. "isreckoned": {
  8223. "description": "是否结算 - 0:未结算 1:已结算",
  8224. "type": "integer"
  8225. },
  8226. "listingselecttype": {
  8227. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8228. "type": "integer"
  8229. },
  8230. "marketid": {
  8231. "description": "市场ID",
  8232. "type": "integer"
  8233. },
  8234. "marketname": {
  8235. "description": "市场名称",
  8236. "type": "string"
  8237. },
  8238. "matchaccountid": {
  8239. "description": "对手账号id",
  8240. "type": "integer"
  8241. },
  8242. "memberuserid": {
  8243. "description": "会员id 个人投资者 需要填写",
  8244. "type": "integer"
  8245. },
  8246. "opencharge": {
  8247. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  8248. "type": "number"
  8249. },
  8250. "openexchagechargevalue": {
  8251. "description": "建仓交易所手续费设置值",
  8252. "type": "number"
  8253. },
  8254. "openfeealgorithm": {
  8255. "description": "建仓手续费收取方式 1:比率 2:固定",
  8256. "type": "integer"
  8257. },
  8258. "openmemberchargevalue": {
  8259. "description": "建仓会员手续费设置值",
  8260. "type": "number"
  8261. },
  8262. "openqty": {
  8263. "description": "开仓数量(先建后平操作 需要记录)",
  8264. "type": "integer"
  8265. },
  8266. "optiontype": {
  8267. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  8268. "type": "integer"
  8269. },
  8270. "orderid": {
  8271. "description": "委托单号",
  8272. "type": "string"
  8273. },
  8274. "performanceplanid": {
  8275. "description": "履约计划ID[期权]",
  8276. "type": "integer"
  8277. },
  8278. "performancestatus": {
  8279. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  8280. "type": "integer"
  8281. },
  8282. "preexerciseprice": {
  8283. "description": "预申报价格",
  8284. "type": "number"
  8285. },
  8286. "premium": {
  8287. "description": "权利金 - [持仓单的权利金]",
  8288. "type": "number"
  8289. },
  8290. "relatedouttradeid": {
  8291. "description": "关联外部成交单ID",
  8292. "type": "integer"
  8293. },
  8294. "status": {
  8295. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  8296. "type": "integer"
  8297. },
  8298. "tradeamount": {
  8299. "description": "成交金额[账户币种,用于所有权]",
  8300. "type": "number"
  8301. },
  8302. "tradedate": {
  8303. "description": "交易日(yyyyMMdd)",
  8304. "type": "string"
  8305. },
  8306. "tradeid": {
  8307. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8308. "type": "string"
  8309. },
  8310. "trademode": {
  8311. "description": "交易模式",
  8312. "type": "integer"
  8313. },
  8314. "tradeprice": {
  8315. "description": "成交价格",
  8316. "type": "number"
  8317. },
  8318. "tradeproperty": {
  8319. "description": "交易属性",
  8320. "type": "integer"
  8321. },
  8322. "tradeqty": {
  8323. "description": "成交数量",
  8324. "type": "integer"
  8325. },
  8326. "tradetime": {
  8327. "description": "成交时间",
  8328. "type": "string"
  8329. },
  8330. "tradetype": {
  8331. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  8332. "type": "integer"
  8333. }
  8334. }
  8335. },
  8336. "order.QueryTradeOrderDetailRsp": {
  8337. "type": "object",
  8338. "required": [
  8339. "accountid",
  8340. "buildtype",
  8341. "buyorsell",
  8342. "goodsid",
  8343. "marketid",
  8344. "operatetype",
  8345. "orderqty",
  8346. "ordertime",
  8347. "pricemode",
  8348. "tradedate",
  8349. "validtype"
  8350. ],
  8351. "properties": {
  8352. "accountid": {
  8353. "description": "账户ID[报价币种]",
  8354. "type": "integer"
  8355. },
  8356. "buildtype": {
  8357. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  8358. "type": "integer"
  8359. },
  8360. "buyorsell": {
  8361. "description": "买卖 - 0:买 1:卖",
  8362. "type": "integer"
  8363. },
  8364. "cancelorderid": {
  8365. "description": "撤单单号(撤单时填写)",
  8366. "type": "string"
  8367. },
  8368. "cancelqty": {
  8369. "description": "撤单数量",
  8370. "type": "integer"
  8371. },
  8372. "clienttype": {
  8373. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  8374. "type": "integer"
  8375. },
  8376. "closefreezecharge": {
  8377. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  8378. "type": "number"
  8379. },
  8380. "closeqty": {
  8381. "description": "平仓数量(先建后平操作 需要记录)",
  8382. "type": "integer"
  8383. },
  8384. "closetradeqty": {
  8385. "description": "平仓成交数量(先建后平操作,需要记录)",
  8386. "type": "integer"
  8387. },
  8388. "closeunfreezecharge": {
  8389. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  8390. "type": "number"
  8391. },
  8392. "delistingtype": {
  8393. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  8394. "type": "integer"
  8395. },
  8396. "enableqty": {
  8397. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  8398. "type": "integer"
  8399. },
  8400. "freezecharge": {
  8401. "description": "冻结手续费",
  8402. "type": "number"
  8403. },
  8404. "freezemargin": {
  8405. "description": "冻结保证金(冻结交易金额)",
  8406. "type": "number"
  8407. },
  8408. "goodscode": {
  8409. "description": "商品代码",
  8410. "type": "string"
  8411. },
  8412. "goodsid": {
  8413. "description": "商品ID",
  8414. "type": "integer"
  8415. },
  8416. "goodsname": {
  8417. "description": "商品名称",
  8418. "type": "string"
  8419. },
  8420. "listingselecttype": {
  8421. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8422. "type": "integer"
  8423. },
  8424. "marketid": {
  8425. "description": "市场ID",
  8426. "type": "integer"
  8427. },
  8428. "marketname": {
  8429. "description": "市场名称",
  8430. "type": "string"
  8431. },
  8432. "openfreezecharge": {
  8433. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  8434. "type": "number"
  8435. },
  8436. "openqty": {
  8437. "description": "开仓数量(先建后平操作,需要记录)",
  8438. "type": "integer"
  8439. },
  8440. "opentradeqty": {
  8441. "description": "开仓成交数量(先建后平操作,需要记录)",
  8442. "type": "integer"
  8443. },
  8444. "openunfreezecharge": {
  8445. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  8446. "type": "number"
  8447. },
  8448. "operatetype": {
  8449. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  8450. "type": "integer"
  8451. },
  8452. "operatorid": {
  8453. "description": "登录账号(LoginID)",
  8454. "type": "integer"
  8455. },
  8456. "orderid": {
  8457. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8458. "type": "string"
  8459. },
  8460. "orderprice": {
  8461. "description": "委托价格",
  8462. "type": "number"
  8463. },
  8464. "orderqty": {
  8465. "description": "委托数量",
  8466. "type": "integer"
  8467. },
  8468. "ordersrc": {
  8469. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  8470. "type": "integer"
  8471. },
  8472. "orderstatus": {
  8473. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8474. "type": "integer"
  8475. },
  8476. "ordertime": {
  8477. "description": "委托时间",
  8478. "type": "string"
  8479. },
  8480. "preorderid": {
  8481. "description": "关联预埋单号(止盈止损单时填写)",
  8482. "type": "string"
  8483. },
  8484. "pricemode": {
  8485. "description": "取价方式 - 1:市价 2: 限价",
  8486. "type": "integer"
  8487. },
  8488. "relatedid": {
  8489. "description": "关联单号(交割单)",
  8490. "type": "string"
  8491. },
  8492. "tradedate": {
  8493. "description": "交易日(yyyyMMdd)",
  8494. "type": "string"
  8495. },
  8496. "trademode": {
  8497. "description": "交易模式",
  8498. "type": "integer"
  8499. },
  8500. "tradeqty": {
  8501. "description": "成交数量",
  8502. "type": "integer"
  8503. },
  8504. "unfreezecharge": {
  8505. "description": "解冻手续费",
  8506. "type": "number"
  8507. },
  8508. "unfreezemargin": {
  8509. "description": "解冻保证金",
  8510. "type": "number"
  8511. },
  8512. "validtime": {
  8513. "description": "有效期限",
  8514. "type": "string"
  8515. },
  8516. "validtype": {
  8517. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  8518. "type": "integer"
  8519. },
  8520. "volumetype": {
  8521. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  8522. "type": "integer"
  8523. }
  8524. }
  8525. },
  8526. "order.QueryTradePositionRsp": {
  8527. "type": "object",
  8528. "required": [
  8529. "goodsid"
  8530. ],
  8531. "properties": {
  8532. "accountid": {
  8533. "description": "资金账户",
  8534. "type": "integer"
  8535. },
  8536. "agreeunit": {
  8537. "description": "合约单位",
  8538. "type": "number"
  8539. },
  8540. "averageprice": {
  8541. "description": "持仓均价",
  8542. "type": "number"
  8543. },
  8544. "buyorsell": {
  8545. "description": "方向 - 0:买 1:卖",
  8546. "type": "integer"
  8547. },
  8548. "closetotalqty": {
  8549. "description": "平仓总数量",
  8550. "type": "integer"
  8551. },
  8552. "curholderamount": {
  8553. "description": "当前持仓总金额[商品币种]",
  8554. "type": "number"
  8555. },
  8556. "curpositionqty": {
  8557. "description": "当前持仓总数量",
  8558. "type": "integer"
  8559. },
  8560. "currencyid": {
  8561. "description": "报价货币ID",
  8562. "type": "integer"
  8563. },
  8564. "curtdposition": {
  8565. "description": "期末今日头寸",
  8566. "type": "integer"
  8567. },
  8568. "decimalplace": {
  8569. "description": "报价小数位",
  8570. "type": "integer"
  8571. },
  8572. "enableqty": {
  8573. "description": "可用量",
  8574. "type": "integer"
  8575. },
  8576. "fretdposition": {
  8577. "description": "冻结今日头寸",
  8578. "type": "integer"
  8579. },
  8580. "frozenqty": {
  8581. "description": "持仓冻结数量",
  8582. "type": "integer"
  8583. },
  8584. "goodscode": {
  8585. "description": "商品代码",
  8586. "type": "string"
  8587. },
  8588. "goodsid": {
  8589. "description": "商品Id",
  8590. "type": "integer"
  8591. },
  8592. "goodsname": {
  8593. "description": "商品名称",
  8594. "type": "string"
  8595. },
  8596. "goodunit": {
  8597. "description": "报价单位",
  8598. "type": "string"
  8599. },
  8600. "goodunitid": {
  8601. "description": "报价单位ID",
  8602. "type": "integer"
  8603. },
  8604. "holderamount": {
  8605. "description": "期初持仓总金额[商品币种]",
  8606. "type": "number"
  8607. },
  8608. "marketid": {
  8609. "description": "所属市场ID",
  8610. "type": "integer"
  8611. },
  8612. "openreqqty": {
  8613. "description": "开仓申请数量(用于比较最大持仓数量)",
  8614. "type": "integer"
  8615. },
  8616. "opentotalqty": {
  8617. "description": "开仓总数量",
  8618. "type": "integer"
  8619. },
  8620. "otherfrozenqty": {
  8621. "description": "持仓其他冻结数量(交割冻结)",
  8622. "type": "integer"
  8623. },
  8624. "positionqty": {
  8625. "description": "期初持仓数量",
  8626. "type": "integer"
  8627. },
  8628. "tnqty": {
  8629. "description": "T+N冻结总量",
  8630. "type": "integer"
  8631. },
  8632. "tnusedqty": {
  8633. "description": "T+N使用量(可以使用T+N的冻结数量)",
  8634. "type": "integer"
  8635. },
  8636. "trademode": {
  8637. "description": "交易模式",
  8638. "type": "integer"
  8639. },
  8640. "usedmargin": {
  8641. "description": "占用保证金[商品币种]",
  8642. "type": "number"
  8643. }
  8644. }
  8645. },
  8646. "quote.HistoryData": {
  8647. "type": "object",
  8648. "properties": {
  8649. "c": {
  8650. "description": "收盘价",
  8651. "type": "number"
  8652. },
  8653. "h": {
  8654. "description": "最高价",
  8655. "type": "number"
  8656. },
  8657. "hv": {
  8658. "description": "持仓量",
  8659. "type": "integer"
  8660. },
  8661. "l": {
  8662. "description": "最低价",
  8663. "type": "number"
  8664. },
  8665. "o": {
  8666. "description": "开盘价",
  8667. "type": "number"
  8668. },
  8669. "s": {
  8670. "description": "结算价,日线周期(包括)以上才有",
  8671. "type": "number"
  8672. },
  8673. "ts": {
  8674. "description": "时间",
  8675. "type": "string"
  8676. },
  8677. "tt": {
  8678. "description": "总金额",
  8679. "type": "number"
  8680. },
  8681. "tv": {
  8682. "description": "总量",
  8683. "type": "integer"
  8684. }
  8685. }
  8686. },
  8687. "quote.QueryTSDataRsp": {
  8688. "type": "object",
  8689. "properties": {
  8690. "decimalPlace": {
  8691. "description": "小数位",
  8692. "type": "integer"
  8693. },
  8694. "endTime": {
  8695. "description": "结束时间",
  8696. "type": "string"
  8697. },
  8698. "goodsCode": {
  8699. "description": "商品代码",
  8700. "type": "string"
  8701. },
  8702. "historyDatas": {
  8703. "description": "历史数据",
  8704. "type": "array",
  8705. "items": {
  8706. "$ref": "#/definitions/quote.HistoryData"
  8707. }
  8708. },
  8709. "preSettle": {
  8710. "description": "昨结",
  8711. "type": "number"
  8712. },
  8713. "startTime": {
  8714. "description": "开始时间",
  8715. "type": "string"
  8716. },
  8717. "tradeDate": {
  8718. "description": "交易日",
  8719. "type": "string"
  8720. }
  8721. }
  8722. },
  8723. "szdz.QueryConvertLogRsp": {
  8724. "type": "object",
  8725. "required": [
  8726. "logid"
  8727. ],
  8728. "properties": {
  8729. "accountid": {
  8730. "description": "资金账户ID",
  8731. "type": "integer"
  8732. },
  8733. "clientticket": {
  8734. "description": "客户端流水号",
  8735. "type": "string"
  8736. },
  8737. "converttype": {
  8738. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  8739. "type": "integer"
  8740. },
  8741. "createtime": {
  8742. "description": "记账时间",
  8743. "type": "string"
  8744. },
  8745. "daymaxvalue": {
  8746. "description": "配置当日最大转入限制",
  8747. "type": "number"
  8748. },
  8749. "daymaxvalue2": {
  8750. "description": "配置当日最大转入限制(转入)",
  8751. "type": "number"
  8752. },
  8753. "goodscode": {
  8754. "description": "商品代码",
  8755. "type": "string"
  8756. },
  8757. "goodsname": {
  8758. "description": "商品名称",
  8759. "type": "string"
  8760. },
  8761. "handlestatus": {
  8762. "description": "处理状态",
  8763. "type": "integer"
  8764. },
  8765. "innergoodsid": {
  8766. "description": "内部商品ID",
  8767. "type": "integer"
  8768. },
  8769. "inratio": {
  8770. "description": "配置转入比值",
  8771. "type": "integer"
  8772. },
  8773. "invalue": {
  8774. "description": "目标值",
  8775. "type": "number"
  8776. },
  8777. "logid": {
  8778. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8779. "type": "integer"
  8780. },
  8781. "mobile": {
  8782. "description": "手机号码(加密存储)",
  8783. "type": "string"
  8784. },
  8785. "outergoodscode": {
  8786. "description": "外部商品代码[JD\\PD]",
  8787. "type": "string"
  8788. },
  8789. "outratio": {
  8790. "description": "配置转出比值",
  8791. "type": "integer"
  8792. },
  8793. "outvalue": {
  8794. "description": "源值",
  8795. "type": "number"
  8796. },
  8797. "pddecimalplace": {
  8798. "description": "PD小数位",
  8799. "type": "integer"
  8800. },
  8801. "qty": {
  8802. "description": "数量",
  8803. "type": "string"
  8804. },
  8805. "remark": {
  8806. "description": "备注",
  8807. "type": "string"
  8808. },
  8809. "sessionid": {
  8810. "description": "会话ID",
  8811. "type": "integer"
  8812. },
  8813. "timemaxvalue": {
  8814. "description": "配置单次最大转入限制",
  8815. "type": "number"
  8816. },
  8817. "timemaxvalue2": {
  8818. "description": "配置单次最大转入限制(转入)",
  8819. "type": "number"
  8820. },
  8821. "timeminvalue": {
  8822. "description": "配置单次最小数量限制",
  8823. "type": "number"
  8824. },
  8825. "timeminvalue2": {
  8826. "description": "配置单次最小数量限制(转入)",
  8827. "type": "number"
  8828. },
  8829. "tradedate": {
  8830. "description": "交易日(yyyyMMdd)",
  8831. "type": "string"
  8832. },
  8833. "userid": {
  8834. "description": "用户ID",
  8835. "type": "integer"
  8836. }
  8837. }
  8838. },
  8839. "szdz.QueryGoodsPickupRsp": {
  8840. "type": "object",
  8841. "required": [
  8842. "takeorderid"
  8843. ],
  8844. "properties": {
  8845. "accountid": {
  8846. "description": "账户ID",
  8847. "type": "integer"
  8848. },
  8849. "address": {
  8850. "description": "提货人详细地址",
  8851. "type": "string"
  8852. },
  8853. "auditer": {
  8854. "description": "审核人",
  8855. "type": "integer"
  8856. },
  8857. "audittime": {
  8858. "description": "审核时间",
  8859. "type": "string"
  8860. },
  8861. "cardnum": {
  8862. "description": "提货人证件号码",
  8863. "type": "string"
  8864. },
  8865. "cardtypeid": {
  8866. "description": "提货人证件类型",
  8867. "type": "integer"
  8868. },
  8869. "checkremark": {
  8870. "description": "审核备注",
  8871. "type": "string"
  8872. },
  8873. "goodscode": {
  8874. "description": "商品代码",
  8875. "type": "string"
  8876. },
  8877. "goodsid": {
  8878. "description": "商品ID",
  8879. "type": "integer"
  8880. },
  8881. "goodsname": {
  8882. "description": "商品名称",
  8883. "type": "string"
  8884. },
  8885. "handlestatus": {
  8886. "description": "处理状态",
  8887. "type": "integer"
  8888. },
  8889. "marketid": {
  8890. "description": "市场ID",
  8891. "type": "integer"
  8892. },
  8893. "phonenum": {
  8894. "description": "提货人联系方式",
  8895. "type": "string"
  8896. },
  8897. "qty": {
  8898. "description": "提货数量",
  8899. "type": "number"
  8900. },
  8901. "recivername": {
  8902. "description": "提货人姓名",
  8903. "type": "string"
  8904. },
  8905. "reqtime": {
  8906. "description": "更新时间",
  8907. "type": "string"
  8908. },
  8909. "takemode": {
  8910. "description": "提货方式 - 2:自提 3:配送",
  8911. "type": "integer"
  8912. },
  8913. "takeorderid": {
  8914. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  8915. "type": "string"
  8916. },
  8917. "takeorderstatus": {
  8918. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  8919. "type": "integer"
  8920. },
  8921. "takeremark": {
  8922. "description": "提货备注",
  8923. "type": "string"
  8924. },
  8925. "tradedate": {
  8926. "description": "交易日(yyyyMMdd)",
  8927. "type": "string"
  8928. },
  8929. "userid": {
  8930. "description": "用户ID",
  8931. "type": "integer"
  8932. }
  8933. }
  8934. },
  8935. "szdz.QueryRecieptOrderRsp": {
  8936. "type": "object",
  8937. "properties": {
  8938. "accountName": {
  8939. "description": "所属账号名称(已脱敏)",
  8940. "type": "string"
  8941. },
  8942. "accountid": {
  8943. "description": "资金账号",
  8944. "type": "integer"
  8945. },
  8946. "buyorsell": {
  8947. "description": "方向 - 0:买 1:卖",
  8948. "type": "integer"
  8949. },
  8950. "enableqty": {
  8951. "description": "可摘数量",
  8952. "type": "integer"
  8953. },
  8954. "goodscode": {
  8955. "description": "商品代码",
  8956. "type": "string"
  8957. },
  8958. "goodsid": {
  8959. "description": "商品ID",
  8960. "type": "integer"
  8961. },
  8962. "goodsname": {
  8963. "description": "商品名称",
  8964. "type": "string"
  8965. },
  8966. "orderid": {
  8967. "description": "委托单号",
  8968. "type": "string"
  8969. },
  8970. "orderprice": {
  8971. "description": "委托价格",
  8972. "type": "number"
  8973. },
  8974. "tradedate": {
  8975. "description": "交易日(yyyyMMdd)",
  8976. "type": "string"
  8977. }
  8978. }
  8979. },
  8980. "szdz.QuerySZDZTradePositionRsp": {
  8981. "type": "object",
  8982. "properties": {
  8983. "accountid": {
  8984. "description": "账号Id",
  8985. "type": "integer"
  8986. },
  8987. "agreeunit": {
  8988. "description": "合约单位",
  8989. "type": "number"
  8990. },
  8991. "averageprice": {
  8992. "description": "持仓均价",
  8993. "type": "number"
  8994. },
  8995. "buyorsell": {
  8996. "description": "方向 - 0:买 1:卖",
  8997. "type": "integer"
  8998. },
  8999. "closetotalqty": {
  9000. "description": "平仓总数量",
  9001. "type": "integer"
  9002. },
  9003. "curholderamount": {
  9004. "description": "当前持仓总金额",
  9005. "type": "number"
  9006. },
  9007. "curpositionqty": {
  9008. "description": "当前持仓总数量",
  9009. "type": "integer"
  9010. },
  9011. "currencyid": {
  9012. "description": "报价货币ID",
  9013. "type": "integer"
  9014. },
  9015. "curtdposition": {
  9016. "description": "期末今日头寸",
  9017. "type": "integer"
  9018. },
  9019. "decimalplace": {
  9020. "description": "报价小数位",
  9021. "type": "integer"
  9022. },
  9023. "enableqty": {
  9024. "description": "可用量",
  9025. "type": "integer"
  9026. },
  9027. "fretdposition": {
  9028. "description": "冻结今日头寸",
  9029. "type": "integer"
  9030. },
  9031. "frozenqty": {
  9032. "description": "持仓冻结数量",
  9033. "type": "integer"
  9034. },
  9035. "goodscode": {
  9036. "description": "商品代码(内部)",
  9037. "type": "string"
  9038. },
  9039. "goodsid": {
  9040. "description": "商品Id",
  9041. "type": "integer"
  9042. },
  9043. "goodsname": {
  9044. "description": "商品名称",
  9045. "type": "string"
  9046. },
  9047. "goodunit": {
  9048. "description": "报价单位",
  9049. "type": "string"
  9050. },
  9051. "goodunitid": {
  9052. "description": "报价单位ID",
  9053. "type": "integer"
  9054. },
  9055. "holderamount": {
  9056. "description": "期初持仓总金额",
  9057. "type": "number"
  9058. },
  9059. "marketid": {
  9060. "description": "市场ID",
  9061. "type": "integer"
  9062. },
  9063. "openreqqty": {
  9064. "description": "开仓申请数量",
  9065. "type": "integer"
  9066. },
  9067. "opentotalqty": {
  9068. "description": "开仓总数量",
  9069. "type": "integer"
  9070. },
  9071. "otherfrozenqty": {
  9072. "description": "持仓其他冻结数量(交割冻结)",
  9073. "type": "integer"
  9074. },
  9075. "positionqty": {
  9076. "description": "期初持仓数量",
  9077. "type": "integer"
  9078. },
  9079. "szdz3freezqty": {
  9080. "description": "尚志大宗转换冻结总数量",
  9081. "type": "integer"
  9082. },
  9083. "tnqty": {
  9084. "description": "T+N冻结总量",
  9085. "type": "integer"
  9086. },
  9087. "tnusedqty": {
  9088. "description": "T+N使用量",
  9089. "type": "integer"
  9090. },
  9091. "trademode": {
  9092. "description": "交易模式",
  9093. "type": "integer"
  9094. },
  9095. "usedmargin": {
  9096. "description": "占用保证金",
  9097. "type": "number"
  9098. }
  9099. }
  9100. },
  9101. "taaccount.QueryAmountLogRsp": {
  9102. "type": "object",
  9103. "required": [
  9104. "accountid",
  9105. "amount",
  9106. "amountadjusttype",
  9107. "autoid",
  9108. "balance",
  9109. "createtime",
  9110. "currentbalance",
  9111. "operatetype"
  9112. ],
  9113. "properties": {
  9114. "OPERATETYPENAME": {
  9115. "description": "资金操作类型名称",
  9116. "type": "string"
  9117. },
  9118. "accountid": {
  9119. "description": "资金账户ID",
  9120. "type": "integer"
  9121. },
  9122. "agoodscode": {
  9123. "description": "竞拍商品代码",
  9124. "type": "string"
  9125. },
  9126. "agoodsname": {
  9127. "description": "竞拍商品名称",
  9128. "type": "string"
  9129. },
  9130. "amount": {
  9131. "description": "资金金额",
  9132. "type": "number"
  9133. },
  9134. "amountadjusttype": {
  9135. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  9136. "type": "integer"
  9137. },
  9138. "autoid": {
  9139. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  9140. "type": "integer"
  9141. },
  9142. "balance": {
  9143. "description": "期初余额",
  9144. "type": "number"
  9145. },
  9146. "businesscode": {
  9147. "description": "业务编号",
  9148. "type": "integer"
  9149. },
  9150. "createtime": {
  9151. "description": "发生时间",
  9152. "type": "string"
  9153. },
  9154. "currencyid": {
  9155. "description": "币种ID",
  9156. "type": "integer"
  9157. },
  9158. "currentbalance": {
  9159. "description": "期末余额(变动后金额)",
  9160. "type": "number"
  9161. },
  9162. "dgoodscode": {
  9163. "description": "交割商品代码",
  9164. "type": "string"
  9165. },
  9166. "dgoodsname": {
  9167. "description": "交割商品名称",
  9168. "type": "string"
  9169. },
  9170. "goodscode": {
  9171. "description": "商品代码",
  9172. "type": "string"
  9173. },
  9174. "goodsid": {
  9175. "description": "商品ID",
  9176. "type": "integer"
  9177. },
  9178. "goodsname": {
  9179. "description": "商品名称",
  9180. "type": "string"
  9181. },
  9182. "marketid": {
  9183. "description": "市场ID",
  9184. "type": "integer"
  9185. },
  9186. "marketname": {
  9187. "description": "市场名称",
  9188. "type": "string"
  9189. },
  9190. "moneyticket": {
  9191. "description": "资金流水号:银行端流水号",
  9192. "type": "integer"
  9193. },
  9194. "operatetype": {
  9195. "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:营销收款",
  9196. "type": "integer"
  9197. },
  9198. "relationorderid": {
  9199. "description": "关联单号",
  9200. "type": "string"
  9201. },
  9202. "remark": {
  9203. "description": "备注",
  9204. "type": "string"
  9205. },
  9206. "trademode": {
  9207. "description": "交易模式",
  9208. "type": "integer"
  9209. }
  9210. }
  9211. },
  9212. "taaccount.QueryHisAmountLogRsp": {
  9213. "type": "object",
  9214. "required": [
  9215. "accountid",
  9216. "amount",
  9217. "amountadjusttype",
  9218. "autoid",
  9219. "balance",
  9220. "createtime",
  9221. "currentbalance",
  9222. "histradedate",
  9223. "operatetype"
  9224. ],
  9225. "properties": {
  9226. "OPERATETYPENAME": {
  9227. "description": "资金操作类型名称",
  9228. "type": "string"
  9229. },
  9230. "accountid": {
  9231. "description": "资金账户ID",
  9232. "type": "integer"
  9233. },
  9234. "agoodscode": {
  9235. "description": "竞拍商品代码",
  9236. "type": "string"
  9237. },
  9238. "agoodsname": {
  9239. "description": "竞拍商品名称",
  9240. "type": "string"
  9241. },
  9242. "amount": {
  9243. "description": "资金金额",
  9244. "type": "number"
  9245. },
  9246. "amountadjusttype": {
  9247. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  9248. "type": "integer"
  9249. },
  9250. "autoid": {
  9251. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  9252. "type": "integer"
  9253. },
  9254. "balance": {
  9255. "description": "期初余额",
  9256. "type": "number"
  9257. },
  9258. "businesscode": {
  9259. "description": "业务编号",
  9260. "type": "integer"
  9261. },
  9262. "createtime": {
  9263. "description": "发生时间",
  9264. "type": "string"
  9265. },
  9266. "currencyid": {
  9267. "description": "币种ID",
  9268. "type": "integer"
  9269. },
  9270. "currentbalance": {
  9271. "description": "期末余额(变动后金额)",
  9272. "type": "number"
  9273. },
  9274. "dgoodscode": {
  9275. "description": "交割商品代码",
  9276. "type": "string"
  9277. },
  9278. "dgoodsname": {
  9279. "description": "交割商品名称",
  9280. "type": "string"
  9281. },
  9282. "goodscode": {
  9283. "description": "商品代码",
  9284. "type": "string"
  9285. },
  9286. "goodsid": {
  9287. "description": "商品ID",
  9288. "type": "integer"
  9289. },
  9290. "goodsname": {
  9291. "description": "商品名称",
  9292. "type": "string"
  9293. },
  9294. "histradedate": {
  9295. "description": "历史交易日",
  9296. "type": "string"
  9297. },
  9298. "isvaliddata": {
  9299. "description": "是否有效 - 0:无效 1:有效",
  9300. "type": "integer"
  9301. },
  9302. "marketid": {
  9303. "description": "市场ID",
  9304. "type": "integer"
  9305. },
  9306. "marketname": {
  9307. "description": "市场名称",
  9308. "type": "string"
  9309. },
  9310. "moneyticket": {
  9311. "description": "资金流水号:银行端流水号",
  9312. "type": "integer"
  9313. },
  9314. "operatetype": {
  9315. "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:营销收款",
  9316. "type": "integer"
  9317. },
  9318. "relationorderid": {
  9319. "description": "关联单号",
  9320. "type": "string"
  9321. },
  9322. "remark": {
  9323. "description": "备注",
  9324. "type": "string"
  9325. },
  9326. "trademode": {
  9327. "description": "交易模式",
  9328. "type": "integer"
  9329. }
  9330. }
  9331. }
  9332. },
  9333. "securityDefinitions": {
  9334. "ApiKeyAuth": {
  9335. "type": "apiKey",
  9336. "name": "Authorization",
  9337. "in": "header"
  9338. }
  9339. }
  9340. }`
  9341. type swaggerInfo struct {
  9342. Version string
  9343. Host string
  9344. BasePath string
  9345. Schemes []string
  9346. Title string
  9347. Description string
  9348. }
  9349. // SwaggerInfo holds exported Swagger Info so clients can modify it
  9350. var SwaggerInfo = swaggerInfo{
  9351. Version: "1.0",
  9352. Host: "",
  9353. BasePath: "/api",
  9354. Schemes: []string{},
  9355. Title: "MTP2.0 查询服务 API",
  9356. Description: "新的查询服务,替代原通用查询服务。",
  9357. }
  9358. type s struct{}
  9359. func (s *s) ReadDoc() string {
  9360. sInfo := SwaggerInfo
  9361. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  9362. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  9363. "marshal": func(v interface{}) string {
  9364. a, _ := json.Marshal(v)
  9365. return string(a)
  9366. },
  9367. }).Parse(doc)
  9368. if err != nil {
  9369. return doc
  9370. }
  9371. var tpl bytes.Buffer
  9372. if err := t.Execute(&tpl, sInfo); err != nil {
  9373. return doc
  9374. }
  9375. return tpl.String()
  9376. }
  9377. func init() {
  9378. swag.Register(swag.Name, &s{})
  9379. }