docs.go 402 KB

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