docs.go 302 KB

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