docs.go 367 KB

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