docs.go 359 KB

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