docs.go 388 KB

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