docs.go 334 KB

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