docs.go 415 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "produces": [
  370. "application/json"
  371. ],
  372. "tags": [
  373. "通用服务"
  374. ],
  375. "summary": "获取所有枚举信息",
  376. "responses": {
  377. "200": {
  378. "description": "OK",
  379. "schema": {
  380. "$ref": "#/definitions/models.Enumdicitem"
  381. }
  382. },
  383. "500": {
  384. "description": "Internal Server Error",
  385. "schema": {
  386. "$ref": "#/definitions/app.Response"
  387. }
  388. }
  389. }
  390. }
  391. },
  392. "/Common/GetServerTime": {
  393. "get": {
  394. "produces": [
  395. "application/json"
  396. ],
  397. "tags": [
  398. "通用服务"
  399. ],
  400. "summary": "获取服务器时间",
  401. "responses": {
  402. "200": {
  403. "description": "OK",
  404. "schema": {
  405. "$ref": "#/definitions/app.Response"
  406. }
  407. },
  408. "500": {
  409. "description": "Internal Server Error",
  410. "schema": {
  411. "$ref": "#/definitions/app.Response"
  412. }
  413. }
  414. }
  415. }
  416. },
  417. "/Common/NoticeReaded": {
  418. "post": {
  419. "security": [
  420. {
  421. "ApiKeyAuth": []
  422. }
  423. ],
  424. "produces": [
  425. "application/json"
  426. ],
  427. "tags": [
  428. "通用服务"
  429. ],
  430. "summary": "通知公告设置已读请求",
  431. "parameters": [
  432. {
  433. "type": "integer",
  434. "description": "登录账号",
  435. "name": "loginID",
  436. "in": "query",
  437. "required": true
  438. },
  439. {
  440. "type": "integer",
  441. "description": "通知公告ID",
  442. "name": "noticeID",
  443. "in": "query",
  444. "required": true
  445. }
  446. ],
  447. "responses": {
  448. "200": {
  449. "description": "OK",
  450. "schema": {
  451. "$ref": "#/definitions/app.Response"
  452. }
  453. },
  454. "500": {
  455. "description": "Internal Server Error",
  456. "schema": {
  457. "$ref": "#/definitions/app.Response"
  458. }
  459. }
  460. }
  461. }
  462. },
  463. "/Common/QueryImageConfigs": {
  464. "get": {
  465. "produces": [
  466. "application/json"
  467. ],
  468. "tags": [
  469. "通用服务"
  470. ],
  471. "summary": "查询轮播图配置信息",
  472. "parameters": [
  473. {
  474. "type": "integer",
  475. "description": "类型 - 1:App首页轮播 2:我的",
  476. "name": "imageType",
  477. "in": "query"
  478. }
  479. ],
  480. "responses": {
  481. "200": {
  482. "description": "OK",
  483. "schema": {
  484. "$ref": "#/definitions/models.Szdz2imageconfig"
  485. }
  486. },
  487. "500": {
  488. "description": "Internal Server Error",
  489. "schema": {
  490. "$ref": "#/definitions/app.Response"
  491. }
  492. }
  493. }
  494. }
  495. },
  496. "/Common/QueryNotice": {
  497. "get": {
  498. "security": [
  499. {
  500. "ApiKeyAuth": []
  501. }
  502. ],
  503. "produces": [
  504. "application/json"
  505. ],
  506. "tags": [
  507. "通用服务"
  508. ],
  509. "summary": "通知公告系统消息查询",
  510. "parameters": [
  511. {
  512. "type": "integer",
  513. "description": "页码",
  514. "name": "page",
  515. "in": "query"
  516. },
  517. {
  518. "type": "integer",
  519. "description": "每页条数",
  520. "name": "pagesize",
  521. "in": "query"
  522. },
  523. {
  524. "type": "integer",
  525. "description": "登录账号",
  526. "name": "loginID",
  527. "in": "query",
  528. "required": true
  529. },
  530. {
  531. "type": "integer",
  532. "description": "消息类型 - 1:公告通知 2:系统消息",
  533. "name": "msgType",
  534. "in": "query"
  535. },
  536. {
  537. "type": "boolean",
  538. "description": "是否只获取未读信息",
  539. "name": "onlyUnRead",
  540. "in": "query"
  541. }
  542. ],
  543. "responses": {
  544. "200": {
  545. "description": "OK",
  546. "schema": {
  547. "$ref": "#/definitions/common.QueryNoticeRsp"
  548. }
  549. },
  550. "500": {
  551. "description": "Internal Server Error",
  552. "schema": {
  553. "$ref": "#/definitions/app.Response"
  554. }
  555. }
  556. }
  557. }
  558. },
  559. "/Common/QueryProvincesAndCities": {
  560. "get": {
  561. "produces": [
  562. "application/json"
  563. ],
  564. "tags": [
  565. "通用服务"
  566. ],
  567. "summary": "查询省市信息(不包括区)",
  568. "parameters": [
  569. {
  570. "type": "integer",
  571. "description": "省ID",
  572. "name": "provinceID",
  573. "in": "query"
  574. }
  575. ],
  576. "responses": {
  577. "200": {
  578. "description": "OK",
  579. "schema": {
  580. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  581. }
  582. },
  583. "500": {
  584. "description": "Internal Server Error",
  585. "schema": {
  586. "$ref": "#/definitions/app.Response"
  587. }
  588. }
  589. }
  590. }
  591. },
  592. "/Common/QueryTableDefine": {
  593. "get": {
  594. "produces": [
  595. "application/json"
  596. ],
  597. "tags": [
  598. "通用服务"
  599. ],
  600. "summary": "查询交易端列表头信息",
  601. "parameters": [
  602. {
  603. "type": "string",
  604. "description": "表key",
  605. "name": "tableKey",
  606. "in": "query"
  607. },
  608. {
  609. "type": "integer",
  610. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  611. "name": "tableType",
  612. "in": "query"
  613. }
  614. ],
  615. "responses": {
  616. "200": {
  617. "description": "OK",
  618. "schema": {
  619. "$ref": "#/definitions/common.QueryTableDefineRsp"
  620. }
  621. },
  622. "500": {
  623. "description": "Internal Server Error",
  624. "schema": {
  625. "$ref": "#/definitions/app.Response"
  626. }
  627. }
  628. }
  629. }
  630. },
  631. "/Common/QueryTraderMenu": {
  632. "get": {
  633. "produces": [
  634. "application/json"
  635. ],
  636. "tags": [
  637. "通用服务"
  638. ],
  639. "summary": "查询交易端菜单",
  640. "parameters": [
  641. {
  642. "type": "integer",
  643. "description": "登录账号",
  644. "name": "loginid",
  645. "in": "query",
  646. "required": true
  647. }
  648. ],
  649. "responses": {
  650. "200": {
  651. "description": "OK",
  652. "schema": {
  653. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  654. }
  655. },
  656. "500": {
  657. "description": "Internal Server Error",
  658. "schema": {
  659. "$ref": "#/definitions/app.Response"
  660. }
  661. }
  662. }
  663. }
  664. },
  665. "/Delivery/QueryDeliveryRelation": {
  666. "get": {
  667. "security": [
  668. {
  669. "ApiKeyAuth": []
  670. }
  671. ],
  672. "produces": [
  673. "application/json"
  674. ],
  675. "tags": [
  676. "交割服务"
  677. ],
  678. "summary": "查询商品交割关系表",
  679. "parameters": [
  680. {
  681. "type": "integer",
  682. "description": "商品ID",
  683. "name": "goodsid",
  684. "in": "query"
  685. },
  686. {
  687. "type": "integer",
  688. "description": "品种ID",
  689. "name": "deliverygoodsid",
  690. "in": "query"
  691. },
  692. {
  693. "type": "integer",
  694. "description": "市场ID",
  695. "name": "marketid",
  696. "in": "query"
  697. }
  698. ],
  699. "responses": {
  700. "200": {
  701. "description": "OK",
  702. "schema": {
  703. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  704. }
  705. },
  706. "500": {
  707. "description": "Internal Server Error",
  708. "schema": {
  709. "$ref": "#/definitions/app.Response"
  710. }
  711. }
  712. }
  713. }
  714. },
  715. "/Ermcp/QueryContract": {
  716. "get": {
  717. "security": [
  718. {
  719. "ApiKeyAuth": []
  720. }
  721. ],
  722. "produces": [
  723. "application/json"
  724. ],
  725. "tags": [
  726. "企业风险管理(app)"
  727. ],
  728. "summary": "查询合同(采购和销售)",
  729. "parameters": [
  730. {
  731. "type": "integer",
  732. "description": "合同类型 1-采购, -1-销售",
  733. "name": "contracttype",
  734. "in": "query",
  735. "required": true
  736. },
  737. {
  738. "type": "integer",
  739. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  740. "name": "QueryType",
  741. "in": "query",
  742. "required": true
  743. }
  744. ],
  745. "responses": {
  746. "200": {
  747. "description": "OK",
  748. "schema": {
  749. "type": "array",
  750. "items": {
  751. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  752. }
  753. }
  754. },
  755. "500": {
  756. "description": "Internal Server Error",
  757. "schema": {
  758. "$ref": "#/definitions/app.Response"
  759. }
  760. }
  761. }
  762. }
  763. },
  764. "/Ermcp/QueryHedgePlan": {
  765. "get": {
  766. "security": [
  767. {
  768. "ApiKeyAuth": []
  769. }
  770. ],
  771. "produces": [
  772. "application/json"
  773. ],
  774. "tags": [
  775. "企业风险管理(app)"
  776. ],
  777. "summary": "查询套保计划",
  778. "parameters": [
  779. {
  780. "type": "integer",
  781. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  782. "name": "HedgePlanStatus",
  783. "in": "query",
  784. "required": true
  785. }
  786. ],
  787. "responses": {
  788. "200": {
  789. "description": "OK",
  790. "schema": {
  791. "type": "array",
  792. "items": {
  793. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  794. }
  795. }
  796. },
  797. "500": {
  798. "description": "Internal Server Error",
  799. "schema": {
  800. "$ref": "#/definitions/app.Response"
  801. }
  802. }
  803. }
  804. }
  805. },
  806. "/Ermcp/QueryUserInfo": {
  807. "get": {
  808. "security": [
  809. {
  810. "ApiKeyAuth": []
  811. }
  812. ],
  813. "produces": [
  814. "application/json"
  815. ],
  816. "tags": [
  817. "企业风险管理(app)"
  818. ],
  819. "summary": "查询客户资料",
  820. "parameters": [
  821. {
  822. "type": "string",
  823. "description": "账户状态(可填多个, 逗号隔开) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  824. "name": "AccountStatus",
  825. "in": "query",
  826. "required": true
  827. }
  828. ],
  829. "responses": {
  830. "200": {
  831. "description": "OK",
  832. "schema": {
  833. "type": "array",
  834. "items": {
  835. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  836. }
  837. }
  838. },
  839. "500": {
  840. "description": "Internal Server Error",
  841. "schema": {
  842. "$ref": "#/definitions/app.Response"
  843. }
  844. }
  845. }
  846. }
  847. },
  848. "/Erms2/QueryArbitrageStrategy": {
  849. "get": {
  850. "security": [
  851. {
  852. "ApiKeyAuth": []
  853. }
  854. ],
  855. "produces": [
  856. "application/json"
  857. ],
  858. "tags": [
  859. "风险管理"
  860. ],
  861. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  862. "parameters": [
  863. {
  864. "type": "integer",
  865. "description": "账户ID",
  866. "name": "userid",
  867. "in": "query",
  868. "required": true
  869. },
  870. {
  871. "type": "string",
  872. "description": "商品组ID(品种ID)",
  873. "name": "goodsgroupid",
  874. "in": "query"
  875. }
  876. ],
  877. "responses": {
  878. "200": {
  879. "description": "OK",
  880. "schema": {
  881. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  882. }
  883. },
  884. "500": {
  885. "description": "Internal Server Error",
  886. "schema": {
  887. "$ref": "#/definitions/app.Response"
  888. }
  889. }
  890. }
  891. }
  892. },
  893. "/Erms2/QueryInnerTradeDetail": {
  894. "get": {
  895. "security": [
  896. {
  897. "ApiKeyAuth": []
  898. }
  899. ],
  900. "produces": [
  901. "application/json"
  902. ],
  903. "tags": [
  904. "风险管理"
  905. ],
  906. "summary": "查询内部成交单信息",
  907. "parameters": [
  908. {
  909. "type": "integer",
  910. "description": "资金账户",
  911. "name": "accountid",
  912. "in": "query",
  913. "required": true
  914. }
  915. ],
  916. "responses": {
  917. "200": {
  918. "description": "OK",
  919. "schema": {
  920. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  921. }
  922. },
  923. "500": {
  924. "description": "Internal Server Error",
  925. "schema": {
  926. "$ref": "#/definitions/app.Response"
  927. }
  928. }
  929. }
  930. }
  931. },
  932. "/Erms2/QuerySpotContract": {
  933. "get": {
  934. "security": [
  935. {
  936. "ApiKeyAuth": []
  937. }
  938. ],
  939. "produces": [
  940. "application/json"
  941. ],
  942. "tags": [
  943. "风险管理"
  944. ],
  945. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  946. "parameters": [
  947. {
  948. "type": "integer",
  949. "description": "策略申请ID",
  950. "name": "asapplyid",
  951. "in": "query",
  952. "required": true
  953. },
  954. {
  955. "type": "integer",
  956. "description": "现货合同ID",
  957. "name": "spotcontractid",
  958. "in": "query"
  959. }
  960. ],
  961. "responses": {
  962. "200": {
  963. "description": "OK",
  964. "schema": {
  965. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  966. }
  967. },
  968. "500": {
  969. "description": "Internal Server Error",
  970. "schema": {
  971. "$ref": "#/definitions/app.Response"
  972. }
  973. }
  974. }
  975. }
  976. },
  977. "/Erms3/AddErms2ASApply": {
  978. "post": {
  979. "security": [
  980. {
  981. "ApiKeyAuth": []
  982. }
  983. ],
  984. "produces": [
  985. "application/json"
  986. ],
  987. "tags": [
  988. "风险管理v3"
  989. ],
  990. "summary": "新增期现套利业务申请",
  991. "parameters": [
  992. {
  993. "description": "申请参数",
  994. "name": "jsonBody",
  995. "in": "body",
  996. "required": true,
  997. "schema": {
  998. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  999. }
  1000. }
  1001. ],
  1002. "responses": {
  1003. "200": {
  1004. "description": "OK",
  1005. "schema": {
  1006. "$ref": "#/definitions/app.Response"
  1007. }
  1008. },
  1009. "500": {
  1010. "description": "Internal Server Error",
  1011. "schema": {
  1012. "$ref": "#/definitions/app.Response"
  1013. }
  1014. }
  1015. }
  1016. }
  1017. },
  1018. "/Erms3/AddErms2SpotTradeApply": {
  1019. "post": {
  1020. "security": [
  1021. {
  1022. "ApiKeyAuth": []
  1023. }
  1024. ],
  1025. "produces": [
  1026. "application/json"
  1027. ],
  1028. "tags": [
  1029. "风险管理v3"
  1030. ],
  1031. "summary": "新增现货贸易业务申请",
  1032. "parameters": [
  1033. {
  1034. "description": "申请参数",
  1035. "name": "jsonBody",
  1036. "in": "body",
  1037. "required": true,
  1038. "schema": {
  1039. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  1040. }
  1041. }
  1042. ],
  1043. "responses": {
  1044. "200": {
  1045. "description": "OK",
  1046. "schema": {
  1047. "$ref": "#/definitions/app.Response"
  1048. }
  1049. },
  1050. "500": {
  1051. "description": "Internal Server Error",
  1052. "schema": {
  1053. "$ref": "#/definitions/app.Response"
  1054. }
  1055. }
  1056. }
  1057. }
  1058. },
  1059. "/Erms3/AddSpotContractApply": {
  1060. "post": {
  1061. "security": [
  1062. {
  1063. "ApiKeyAuth": []
  1064. }
  1065. ],
  1066. "produces": [
  1067. "application/json"
  1068. ],
  1069. "tags": [
  1070. "风险管理v3"
  1071. ],
  1072. "summary": "新增现货合同申请",
  1073. "parameters": [
  1074. {
  1075. "description": "申请参数",
  1076. "name": "jsonBody",
  1077. "in": "body",
  1078. "required": true,
  1079. "schema": {
  1080. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  1081. }
  1082. }
  1083. ],
  1084. "responses": {
  1085. "200": {
  1086. "description": "OK",
  1087. "schema": {
  1088. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  1089. }
  1090. },
  1091. "500": {
  1092. "description": "Internal Server Error",
  1093. "schema": {
  1094. "$ref": "#/definitions/app.Response"
  1095. }
  1096. }
  1097. }
  1098. }
  1099. },
  1100. "/Erms3/AddUserInfoApply": {
  1101. "post": {
  1102. "security": [
  1103. {
  1104. "ApiKeyAuth": []
  1105. }
  1106. ],
  1107. "produces": [
  1108. "application/json"
  1109. ],
  1110. "tags": [
  1111. "风险管理v3"
  1112. ],
  1113. "summary": "新增客户申请",
  1114. "parameters": [
  1115. {
  1116. "description": "申请参数",
  1117. "name": "jsonBody",
  1118. "in": "body",
  1119. "required": true,
  1120. "schema": {
  1121. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  1122. }
  1123. }
  1124. ],
  1125. "responses": {
  1126. "200": {
  1127. "description": "OK",
  1128. "schema": {
  1129. "$ref": "#/definitions/app.Response"
  1130. }
  1131. },
  1132. "500": {
  1133. "description": "Internal Server Error",
  1134. "schema": {
  1135. "$ref": "#/definitions/app.Response"
  1136. }
  1137. }
  1138. }
  1139. }
  1140. },
  1141. "/Erms3/QueryBusinessInfo": {
  1142. "get": {
  1143. "security": [
  1144. {
  1145. "ApiKeyAuth": []
  1146. }
  1147. ],
  1148. "produces": [
  1149. "application/json"
  1150. ],
  1151. "tags": [
  1152. "风险管理v3"
  1153. ],
  1154. "summary": "查询业务表单数据",
  1155. "parameters": [
  1156. {
  1157. "type": "string",
  1158. "description": "资金账号ID列表,用逗号分隔",
  1159. "name": "accountids",
  1160. "in": "query",
  1161. "required": true
  1162. },
  1163. {
  1164. "type": "integer",
  1165. "description": "状态,0为未结束 1为已结束",
  1166. "name": "status",
  1167. "in": "query",
  1168. "required": true
  1169. }
  1170. ],
  1171. "responses": {
  1172. "200": {
  1173. "description": "OK",
  1174. "schema": {
  1175. "type": "array",
  1176. "items": {
  1177. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  1178. }
  1179. }
  1180. },
  1181. "500": {
  1182. "description": "Internal Server Error",
  1183. "schema": {
  1184. "$ref": "#/definitions/app.Response"
  1185. }
  1186. }
  1187. }
  1188. }
  1189. },
  1190. "/Erms3/QueryPendingAuditContract": {
  1191. "get": {
  1192. "security": [
  1193. {
  1194. "ApiKeyAuth": []
  1195. }
  1196. ],
  1197. "produces": [
  1198. "application/json"
  1199. ],
  1200. "tags": [
  1201. "风险管理v3"
  1202. ],
  1203. "summary": "查询待审核合同",
  1204. "parameters": [
  1205. {
  1206. "type": "string",
  1207. "description": "资金账号ID列表,逗号隔开",
  1208. "name": "accountids",
  1209. "in": "query",
  1210. "required": true
  1211. },
  1212. {
  1213. "type": "integer",
  1214. "description": "合同类型 1-采购 -1-销售",
  1215. "name": "contracttype",
  1216. "in": "query",
  1217. "required": true
  1218. },
  1219. {
  1220. "type": "integer",
  1221. "description": "合同模式 1-普通 2-回购",
  1222. "name": "contractmode",
  1223. "in": "query",
  1224. "required": true
  1225. }
  1226. ],
  1227. "responses": {
  1228. "200": {
  1229. "description": "OK",
  1230. "schema": {
  1231. "type": "array",
  1232. "items": {
  1233. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  1234. }
  1235. }
  1236. },
  1237. "500": {
  1238. "description": "Internal Server Error",
  1239. "schema": {
  1240. "$ref": "#/definitions/app.Response"
  1241. }
  1242. }
  1243. }
  1244. }
  1245. },
  1246. "/Erms3/QueryPendingBusiness": {
  1247. "get": {
  1248. "security": [
  1249. {
  1250. "ApiKeyAuth": []
  1251. }
  1252. ],
  1253. "produces": [
  1254. "application/json"
  1255. ],
  1256. "tags": [
  1257. "风险管理v3"
  1258. ],
  1259. "summary": "查询待审核基差贸易业务",
  1260. "parameters": [
  1261. {
  1262. "type": "string",
  1263. "description": "资金账号ID列表,逗号隔开",
  1264. "name": "accountids",
  1265. "in": "query",
  1266. "required": true
  1267. }
  1268. ],
  1269. "responses": {
  1270. "200": {
  1271. "description": "OK",
  1272. "schema": {
  1273. "type": "array",
  1274. "items": {
  1275. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  1276. }
  1277. }
  1278. },
  1279. "500": {
  1280. "description": "Internal Server Error",
  1281. "schema": {
  1282. "$ref": "#/definitions/app.Response"
  1283. }
  1284. }
  1285. }
  1286. }
  1287. },
  1288. "/Erms3/QuerySpotContractAppleForm": {
  1289. "get": {
  1290. "security": [
  1291. {
  1292. "ApiKeyAuth": []
  1293. }
  1294. ],
  1295. "produces": [
  1296. "application/json"
  1297. ],
  1298. "tags": [
  1299. "风险管理v3"
  1300. ],
  1301. "summary": "查询合同申请表单数据",
  1302. "parameters": [
  1303. {
  1304. "type": "integer",
  1305. "description": "登录账号",
  1306. "name": "loginID",
  1307. "in": "query",
  1308. "required": true
  1309. }
  1310. ],
  1311. "responses": {
  1312. "200": {
  1313. "description": "OK",
  1314. "schema": {
  1315. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  1316. }
  1317. },
  1318. "500": {
  1319. "description": "Internal Server Error",
  1320. "schema": {
  1321. "$ref": "#/definitions/app.Response"
  1322. }
  1323. }
  1324. }
  1325. }
  1326. },
  1327. "/Erms3/QuerySpotContractDetail": {
  1328. "get": {
  1329. "security": [
  1330. {
  1331. "ApiKeyAuth": []
  1332. }
  1333. ],
  1334. "produces": [
  1335. "application/json"
  1336. ],
  1337. "tags": [
  1338. "风险管理v3"
  1339. ],
  1340. "summary": "查询合同详细信息",
  1341. "parameters": [
  1342. {
  1343. "type": "string",
  1344. "description": "资金账号ID列表,用逗号分隔",
  1345. "name": "accountids",
  1346. "in": "query",
  1347. "required": true
  1348. },
  1349. {
  1350. "type": "integer",
  1351. "description": "合同类型,1为采购合同 -1为销售合同",
  1352. "name": "contracttype",
  1353. "in": "query",
  1354. "required": true
  1355. },
  1356. {
  1357. "type": "integer",
  1358. "description": "合同模式,1为普通合同 2为回购销售合同",
  1359. "name": "contractmode",
  1360. "in": "query",
  1361. "required": true
  1362. },
  1363. {
  1364. "type": "integer",
  1365. "description": "状态,0为履约中 1为已完成",
  1366. "name": "status",
  1367. "in": "query",
  1368. "required": true
  1369. }
  1370. ],
  1371. "responses": {
  1372. "200": {
  1373. "description": "OK",
  1374. "schema": {
  1375. "type": "array",
  1376. "items": {
  1377. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  1378. }
  1379. }
  1380. },
  1381. "500": {
  1382. "description": "Internal Server Error",
  1383. "schema": {
  1384. "$ref": "#/definitions/app.Response"
  1385. }
  1386. }
  1387. }
  1388. }
  1389. },
  1390. "/Erms3/QueryUserInfoApplies": {
  1391. "get": {
  1392. "security": [
  1393. {
  1394. "ApiKeyAuth": []
  1395. }
  1396. ],
  1397. "produces": [
  1398. "application/json"
  1399. ],
  1400. "tags": [
  1401. "风险管理v3"
  1402. ],
  1403. "summary": "客户申请信息查询",
  1404. "parameters": [
  1405. {
  1406. "type": "integer",
  1407. "description": "页码",
  1408. "name": "page",
  1409. "in": "query"
  1410. },
  1411. {
  1412. "type": "integer",
  1413. "description": "每页条数",
  1414. "name": "pagesize",
  1415. "in": "query"
  1416. },
  1417. {
  1418. "type": "string",
  1419. "description": "客户名称,支持模糊查询",
  1420. "name": "userName",
  1421. "in": "query"
  1422. }
  1423. ],
  1424. "responses": {
  1425. "200": {
  1426. "description": "OK",
  1427. "schema": {
  1428. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  1429. }
  1430. },
  1431. "500": {
  1432. "description": "Internal Server Error",
  1433. "schema": {
  1434. "$ref": "#/definitions/app.Response"
  1435. }
  1436. }
  1437. }
  1438. }
  1439. },
  1440. "/Erms3/QueryUserInfos": {
  1441. "get": {
  1442. "security": [
  1443. {
  1444. "ApiKeyAuth": []
  1445. }
  1446. ],
  1447. "produces": [
  1448. "application/json"
  1449. ],
  1450. "tags": [
  1451. "风险管理v3"
  1452. ],
  1453. "summary": "客户信息查询",
  1454. "parameters": [
  1455. {
  1456. "type": "integer",
  1457. "description": "页码",
  1458. "name": "page",
  1459. "in": "query"
  1460. },
  1461. {
  1462. "type": "integer",
  1463. "description": "每页条数",
  1464. "name": "pagesize",
  1465. "in": "query"
  1466. },
  1467. {
  1468. "type": "string",
  1469. "description": "客户名称,支持模糊查询",
  1470. "name": "userName",
  1471. "in": "query"
  1472. }
  1473. ],
  1474. "responses": {
  1475. "200": {
  1476. "description": "OK",
  1477. "schema": {
  1478. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  1479. }
  1480. },
  1481. "500": {
  1482. "description": "Internal Server Error",
  1483. "schema": {
  1484. "$ref": "#/definitions/app.Response"
  1485. }
  1486. }
  1487. }
  1488. }
  1489. },
  1490. "/HSBY/GetHsbyMyCount": {
  1491. "get": {
  1492. "security": [
  1493. {
  1494. "ApiKeyAuth": []
  1495. }
  1496. ],
  1497. "description": "说明: 不包括已完成的数量。",
  1498. "produces": [
  1499. "application/json"
  1500. ],
  1501. "tags": [
  1502. "定制【海商报业】"
  1503. ],
  1504. "summary": "获取我的订单与包裹数量",
  1505. "parameters": [
  1506. {
  1507. "type": "string",
  1508. "description": "资金账户列表,格式:1,2,3",
  1509. "name": "accountIDs",
  1510. "in": "query",
  1511. "required": true
  1512. }
  1513. ],
  1514. "responses": {
  1515. "200": {
  1516. "description": "OK",
  1517. "schema": {
  1518. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  1519. }
  1520. },
  1521. "500": {
  1522. "description": "Internal Server Error",
  1523. "schema": {
  1524. "$ref": "#/definitions/app.Response"
  1525. }
  1526. }
  1527. }
  1528. }
  1529. },
  1530. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  1531. "get": {
  1532. "security": [
  1533. {
  1534. "ApiKeyAuth": []
  1535. }
  1536. ],
  1537. "produces": [
  1538. "application/json"
  1539. ],
  1540. "tags": [
  1541. "定制【海商报业】"
  1542. ],
  1543. "summary": "查询\"我的订单 - 已完成\"单据信息",
  1544. "parameters": [
  1545. {
  1546. "type": "integer",
  1547. "description": "页码",
  1548. "name": "page",
  1549. "in": "query"
  1550. },
  1551. {
  1552. "type": "integer",
  1553. "description": "每页条数",
  1554. "name": "pagesize",
  1555. "in": "query"
  1556. },
  1557. {
  1558. "type": "string",
  1559. "description": "资金账户列表,格式:1,2,3",
  1560. "name": "accountIDs",
  1561. "in": "query",
  1562. "required": true
  1563. }
  1564. ],
  1565. "responses": {
  1566. "200": {
  1567. "description": "OK",
  1568. "schema": {
  1569. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  1570. }
  1571. },
  1572. "500": {
  1573. "description": "Internal Server Error",
  1574. "schema": {
  1575. "$ref": "#/definitions/app.Response"
  1576. }
  1577. }
  1578. }
  1579. }
  1580. },
  1581. "/HSBY/QueryHsbyGoodsOrderDetails": {
  1582. "get": {
  1583. "security": [
  1584. {
  1585. "ApiKeyAuth": []
  1586. }
  1587. ],
  1588. "description": "说明:查询结果已按委托价格和委托时间排序",
  1589. "produces": [
  1590. "application/json"
  1591. ],
  1592. "tags": [
  1593. "定制【海商报业】"
  1594. ],
  1595. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  1596. "parameters": [
  1597. {
  1598. "type": "integer",
  1599. "description": "商品ID",
  1600. "name": "goodsID",
  1601. "in": "query",
  1602. "required": true
  1603. },
  1604. {
  1605. "type": "string",
  1606. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  1607. "name": "accountIDs",
  1608. "in": "query"
  1609. },
  1610. {
  1611. "type": "integer",
  1612. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  1613. "name": "buyOrSell",
  1614. "in": "query"
  1615. },
  1616. {
  1617. "type": "number",
  1618. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  1619. "name": "price",
  1620. "in": "query"
  1621. },
  1622. {
  1623. "type": "integer",
  1624. "description": "档位,不传则默认为3档",
  1625. "name": "speed",
  1626. "in": "query"
  1627. }
  1628. ],
  1629. "responses": {
  1630. "200": {
  1631. "description": "OK",
  1632. "schema": {
  1633. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  1634. }
  1635. },
  1636. "500": {
  1637. "description": "Internal Server Error",
  1638. "schema": {
  1639. "$ref": "#/definitions/app.Response"
  1640. }
  1641. }
  1642. }
  1643. }
  1644. },
  1645. "/HSBY/QueryHsbyListingGoodsDetail": {
  1646. "get": {
  1647. "security": [
  1648. {
  1649. "ApiKeyAuth": []
  1650. }
  1651. ],
  1652. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  1653. "produces": [
  1654. "application/json"
  1655. ],
  1656. "tags": [
  1657. "定制【海商报业】"
  1658. ],
  1659. "summary": "查询二级市场(挂牌点选)商品信息详情",
  1660. "parameters": [
  1661. {
  1662. "type": "integer",
  1663. "description": "商品ID",
  1664. "name": "goodsID",
  1665. "in": "query",
  1666. "required": true
  1667. },
  1668. {
  1669. "type": "integer",
  1670. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  1671. "name": "AccountID",
  1672. "in": "query"
  1673. }
  1674. ],
  1675. "responses": {
  1676. "200": {
  1677. "description": "OK",
  1678. "schema": {
  1679. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  1680. }
  1681. },
  1682. "500": {
  1683. "description": "Internal Server Error",
  1684. "schema": {
  1685. "$ref": "#/definitions/app.Response"
  1686. }
  1687. }
  1688. }
  1689. }
  1690. },
  1691. "/HSBY/QueryHsbyMarketGoodsDetail": {
  1692. "get": {
  1693. "security": [
  1694. {
  1695. "ApiKeyAuth": []
  1696. }
  1697. ],
  1698. "produces": [
  1699. "application/json"
  1700. ],
  1701. "tags": [
  1702. "定制【海商报业】"
  1703. ],
  1704. "summary": "查询三级市场(商城)商品信息详情",
  1705. "parameters": [
  1706. {
  1707. "type": "integer",
  1708. "description": "委托单号",
  1709. "name": "orderID",
  1710. "in": "query",
  1711. "required": true
  1712. }
  1713. ],
  1714. "responses": {
  1715. "200": {
  1716. "description": "OK",
  1717. "schema": {
  1718. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  1719. }
  1720. },
  1721. "500": {
  1722. "description": "Internal Server Error",
  1723. "schema": {
  1724. "$ref": "#/definitions/app.Response"
  1725. }
  1726. }
  1727. }
  1728. }
  1729. },
  1730. "/HSBY/QueryHsbyMarketGoodses": {
  1731. "get": {
  1732. "security": [
  1733. {
  1734. "ApiKeyAuth": []
  1735. }
  1736. ],
  1737. "produces": [
  1738. "application/json"
  1739. ],
  1740. "tags": [
  1741. "定制【海商报业】"
  1742. ],
  1743. "summary": "查询特卖商品列表(三级商城)",
  1744. "parameters": [
  1745. {
  1746. "type": "integer",
  1747. "description": "页码",
  1748. "name": "page",
  1749. "in": "query"
  1750. },
  1751. {
  1752. "type": "integer",
  1753. "description": "每页条数",
  1754. "name": "pagesize",
  1755. "in": "query"
  1756. },
  1757. {
  1758. "type": "string",
  1759. "description": "市场ID列表,格式:1,2,3",
  1760. "name": "marketIDs",
  1761. "in": "query",
  1762. "required": true
  1763. },
  1764. {
  1765. "type": "integer",
  1766. "description": "资金账户,主要用于判断商品是否有可用的优惠卷;如未登录可不传。",
  1767. "name": "accountID",
  1768. "in": "query"
  1769. },
  1770. {
  1771. "type": "integer",
  1772. "description": "类别ID",
  1773. "name": "categoryID",
  1774. "in": "query"
  1775. },
  1776. {
  1777. "type": "string",
  1778. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  1779. "name": "goodsIDs",
  1780. "in": "query"
  1781. },
  1782. {
  1783. "type": "integer",
  1784. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  1785. "name": "couponTypeID",
  1786. "in": "query"
  1787. }
  1788. ],
  1789. "responses": {
  1790. "200": {
  1791. "description": "OK",
  1792. "schema": {
  1793. "$ref": "#/definitions/models.HsbyMarketGoods"
  1794. }
  1795. },
  1796. "500": {
  1797. "description": "Internal Server Error",
  1798. "schema": {
  1799. "$ref": "#/definitions/app.Response"
  1800. }
  1801. }
  1802. }
  1803. }
  1804. },
  1805. "/HSBY/QueryHsbyMarkets": {
  1806. "get": {
  1807. "security": [
  1808. {
  1809. "ApiKeyAuth": []
  1810. }
  1811. ],
  1812. "produces": [
  1813. "application/json"
  1814. ],
  1815. "tags": [
  1816. "定制【海商报业】"
  1817. ],
  1818. "summary": "查询海商报业相关市场信息",
  1819. "responses": {
  1820. "200": {
  1821. "description": "OK",
  1822. "schema": {
  1823. "$ref": "#/definitions/models.HsbyMarketInfo"
  1824. }
  1825. },
  1826. "500": {
  1827. "description": "Internal Server Error",
  1828. "schema": {
  1829. "$ref": "#/definitions/app.Response"
  1830. }
  1831. }
  1832. }
  1833. }
  1834. },
  1835. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  1836. "get": {
  1837. "security": [
  1838. {
  1839. "ApiKeyAuth": []
  1840. }
  1841. ],
  1842. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  1843. "produces": [
  1844. "application/json"
  1845. ],
  1846. "tags": [
  1847. "定制【海商报业】"
  1848. ],
  1849. "summary": "查询“我的订单”信息",
  1850. "parameters": [
  1851. {
  1852. "type": "string",
  1853. "description": "资金账户列表,格式:1,2,3",
  1854. "name": "accountIDs",
  1855. "in": "query",
  1856. "required": true
  1857. },
  1858. {
  1859. "type": "integer",
  1860. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  1861. "name": "myBuyStatus",
  1862. "in": "query"
  1863. }
  1864. ],
  1865. "responses": {
  1866. "200": {
  1867. "description": "OK",
  1868. "schema": {
  1869. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  1870. }
  1871. },
  1872. "500": {
  1873. "description": "Internal Server Error",
  1874. "schema": {
  1875. "$ref": "#/definitions/app.Response"
  1876. }
  1877. }
  1878. }
  1879. }
  1880. },
  1881. "/HSBY/QueryHsbyMyGoods": {
  1882. "get": {
  1883. "security": [
  1884. {
  1885. "ApiKeyAuth": []
  1886. }
  1887. ],
  1888. "produces": [
  1889. "application/json"
  1890. ],
  1891. "tags": [
  1892. "定制【海商报业】"
  1893. ],
  1894. "summary": "查询“我的商品”信息",
  1895. "parameters": [
  1896. {
  1897. "type": "string",
  1898. "description": "资金账户列表,格式:1,2,3",
  1899. "name": "accountIDs",
  1900. "in": "query",
  1901. "required": true
  1902. }
  1903. ],
  1904. "responses": {
  1905. "200": {
  1906. "description": "OK",
  1907. "schema": {
  1908. "$ref": "#/definitions/models.HsbyMyGoods"
  1909. }
  1910. },
  1911. "500": {
  1912. "description": "Internal Server Error",
  1913. "schema": {
  1914. "$ref": "#/definitions/app.Response"
  1915. }
  1916. }
  1917. }
  1918. }
  1919. },
  1920. "/HSBY/QueryHsbyMyPackages": {
  1921. "get": {
  1922. "security": [
  1923. {
  1924. "ApiKeyAuth": []
  1925. }
  1926. ],
  1927. "produces": [
  1928. "application/json"
  1929. ],
  1930. "tags": [
  1931. "定制【海商报业】"
  1932. ],
  1933. "summary": "查询我的包裹信息",
  1934. "parameters": [
  1935. {
  1936. "type": "string",
  1937. "description": "资金账户列表,格式:1,2,3",
  1938. "name": "accountIDs",
  1939. "in": "query",
  1940. "required": true
  1941. },
  1942. {
  1943. "type": "integer",
  1944. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  1945. "name": "takeOrderStatus",
  1946. "in": "query"
  1947. }
  1948. ],
  1949. "responses": {
  1950. "200": {
  1951. "description": "OK",
  1952. "schema": {
  1953. "$ref": "#/definitions/models.HsbyMyPackage"
  1954. }
  1955. },
  1956. "500": {
  1957. "description": "Internal Server Error",
  1958. "schema": {
  1959. "$ref": "#/definitions/app.Response"
  1960. }
  1961. }
  1962. }
  1963. }
  1964. },
  1965. "/HSBY/QueryHsbyPreGoodsDetail": {
  1966. "get": {
  1967. "security": [
  1968. {
  1969. "ApiKeyAuth": []
  1970. }
  1971. ],
  1972. "produces": [
  1973. "application/json"
  1974. ],
  1975. "tags": [
  1976. "定制【海商报业】"
  1977. ],
  1978. "summary": "查询一级市场(预售)商品信息详情",
  1979. "parameters": [
  1980. {
  1981. "type": "integer",
  1982. "description": "商品ID",
  1983. "name": "goodsID",
  1984. "in": "query",
  1985. "required": true
  1986. },
  1987. {
  1988. "type": "integer",
  1989. "description": "资金账户,主要用于获取预售商品购买上限",
  1990. "name": "accountID",
  1991. "in": "query"
  1992. }
  1993. ],
  1994. "responses": {
  1995. "200": {
  1996. "description": "OK",
  1997. "schema": {
  1998. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  1999. }
  2000. },
  2001. "500": {
  2002. "description": "Internal Server Error",
  2003. "schema": {
  2004. "$ref": "#/definitions/app.Response"
  2005. }
  2006. }
  2007. }
  2008. }
  2009. },
  2010. "/HSBY/QueryHsbyPreGoodses": {
  2011. "get": {
  2012. "security": [
  2013. {
  2014. "ApiKeyAuth": []
  2015. }
  2016. ],
  2017. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  2018. "produces": [
  2019. "application/json"
  2020. ],
  2021. "tags": [
  2022. "定制【海商报业】"
  2023. ],
  2024. "summary": "查询新品上市商品列表(一级市场预售)",
  2025. "parameters": [
  2026. {
  2027. "type": "integer",
  2028. "description": "页码",
  2029. "name": "page",
  2030. "in": "query"
  2031. },
  2032. {
  2033. "type": "integer",
  2034. "description": "每页条数",
  2035. "name": "pagesize",
  2036. "in": "query"
  2037. },
  2038. {
  2039. "type": "string",
  2040. "description": "市场ID列表,格式:1,2,3",
  2041. "name": "marketIDs",
  2042. "in": "query",
  2043. "required": true
  2044. },
  2045. {
  2046. "type": "integer",
  2047. "description": "目的地(省)ID",
  2048. "name": "descProvinceID",
  2049. "in": "query"
  2050. },
  2051. {
  2052. "type": "integer",
  2053. "description": "目的地(市)ID",
  2054. "name": "descCityID",
  2055. "in": "query"
  2056. }
  2057. ],
  2058. "responses": {
  2059. "200": {
  2060. "description": "OK",
  2061. "schema": {
  2062. "$ref": "#/definitions/models.HsbyPreGoods"
  2063. }
  2064. },
  2065. "500": {
  2066. "description": "Internal Server Error",
  2067. "schema": {
  2068. "$ref": "#/definitions/app.Response"
  2069. }
  2070. }
  2071. }
  2072. }
  2073. },
  2074. "/HSBY/QueryHsbySellMyDetails": {
  2075. "get": {
  2076. "security": [
  2077. {
  2078. "ApiKeyAuth": []
  2079. }
  2080. ],
  2081. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  2082. "produces": [
  2083. "application/json"
  2084. ],
  2085. "tags": [
  2086. "定制【海商报业】"
  2087. ],
  2088. "summary": "查询\"我的闲置\"单据信息",
  2089. "parameters": [
  2090. {
  2091. "type": "integer",
  2092. "description": "页码",
  2093. "name": "page",
  2094. "in": "query"
  2095. },
  2096. {
  2097. "type": "integer",
  2098. "description": "每页条数",
  2099. "name": "pagesize",
  2100. "in": "query"
  2101. },
  2102. {
  2103. "type": "string",
  2104. "description": "资金账户列表,格式:1,2,3",
  2105. "name": "accountIDs",
  2106. "in": "query",
  2107. "required": true
  2108. },
  2109. {
  2110. "type": "integer",
  2111. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  2112. "name": "orderType",
  2113. "in": "query"
  2114. }
  2115. ],
  2116. "responses": {
  2117. "200": {
  2118. "description": "OK",
  2119. "schema": {
  2120. "$ref": "#/definitions/models.HsbySellMyDetail"
  2121. }
  2122. },
  2123. "500": {
  2124. "description": "Internal Server Error",
  2125. "schema": {
  2126. "$ref": "#/definitions/app.Response"
  2127. }
  2128. }
  2129. }
  2130. }
  2131. },
  2132. "/HSBY/QueryHsbyTopGoodses": {
  2133. "get": {
  2134. "security": [
  2135. {
  2136. "ApiKeyAuth": []
  2137. }
  2138. ],
  2139. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  2140. "produces": [
  2141. "application/json"
  2142. ],
  2143. "tags": [
  2144. "定制【海商报业】"
  2145. ],
  2146. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  2147. "parameters": [
  2148. {
  2149. "type": "integer",
  2150. "description": "页码",
  2151. "name": "page",
  2152. "in": "query"
  2153. },
  2154. {
  2155. "type": "integer",
  2156. "description": "每页条数",
  2157. "name": "pagesize",
  2158. "in": "query"
  2159. },
  2160. {
  2161. "type": "string",
  2162. "description": "市场ID列表,格式:1,2,3",
  2163. "name": "marketIDs",
  2164. "in": "query",
  2165. "required": true
  2166. },
  2167. {
  2168. "type": "integer",
  2169. "description": "目的地(省)ID",
  2170. "name": "descProvinceID",
  2171. "in": "query"
  2172. },
  2173. {
  2174. "type": "integer",
  2175. "description": "目的地(市)ID",
  2176. "name": "descCityID",
  2177. "in": "query"
  2178. }
  2179. ],
  2180. "responses": {
  2181. "200": {
  2182. "description": "OK",
  2183. "schema": {
  2184. "$ref": "#/definitions/models.HsbyTopGoods"
  2185. }
  2186. },
  2187. "500": {
  2188. "description": "Internal Server Error",
  2189. "schema": {
  2190. "$ref": "#/definitions/app.Response"
  2191. }
  2192. }
  2193. }
  2194. }
  2195. },
  2196. "/HSBY/QueryMyCollectionOrders": {
  2197. "get": {
  2198. "security": [
  2199. {
  2200. "ApiKeyAuth": []
  2201. }
  2202. ],
  2203. "produces": [
  2204. "application/json"
  2205. ],
  2206. "tags": [
  2207. "定制【海商报业】"
  2208. ],
  2209. "summary": "我的闲置中收款信息查询",
  2210. "parameters": [
  2211. {
  2212. "type": "integer",
  2213. "description": "页码",
  2214. "name": "page",
  2215. "in": "query"
  2216. },
  2217. {
  2218. "type": "integer",
  2219. "description": "每页条数",
  2220. "name": "pagesize",
  2221. "in": "query"
  2222. },
  2223. {
  2224. "type": "string",
  2225. "description": "资金账户,格式:1,2,3",
  2226. "name": "accountIDs",
  2227. "in": "query",
  2228. "required": true
  2229. }
  2230. ],
  2231. "responses": {
  2232. "200": {
  2233. "description": "OK",
  2234. "schema": {
  2235. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  2236. }
  2237. },
  2238. "500": {
  2239. "description": "Internal Server Error",
  2240. "schema": {
  2241. "$ref": "#/definitions/app.Response"
  2242. }
  2243. }
  2244. }
  2245. }
  2246. },
  2247. "/HSBY/QueryMyCouponHolds": {
  2248. "get": {
  2249. "security": [
  2250. {
  2251. "ApiKeyAuth": []
  2252. }
  2253. ],
  2254. "produces": [
  2255. "application/json"
  2256. ],
  2257. "tags": [
  2258. "定制【海商报业】"
  2259. ],
  2260. "summary": "我的优惠卷持仓查询",
  2261. "parameters": [
  2262. {
  2263. "type": "string",
  2264. "description": "资金账户列表,格式:1,2,3",
  2265. "name": "accountIDs",
  2266. "in": "query",
  2267. "required": true
  2268. },
  2269. {
  2270. "type": "string",
  2271. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  2272. "name": "holdStatus",
  2273. "in": "query"
  2274. }
  2275. ],
  2276. "responses": {
  2277. "200": {
  2278. "description": "OK",
  2279. "schema": {
  2280. "$ref": "#/definitions/models.MyCouponHold"
  2281. }
  2282. },
  2283. "500": {
  2284. "description": "Internal Server Error",
  2285. "schema": {
  2286. "$ref": "#/definitions/app.Response"
  2287. }
  2288. }
  2289. }
  2290. }
  2291. },
  2292. "/HSBY/QueryMyCoupons": {
  2293. "get": {
  2294. "security": [
  2295. {
  2296. "ApiKeyAuth": []
  2297. }
  2298. ],
  2299. "produces": [
  2300. "application/json"
  2301. ],
  2302. "tags": [
  2303. "定制【海商报业】"
  2304. ],
  2305. "summary": "我的优惠卷查询",
  2306. "parameters": [
  2307. {
  2308. "type": "string",
  2309. "description": "资金账户列表,格式:1,2,3",
  2310. "name": "accountIDs",
  2311. "in": "query",
  2312. "required": true
  2313. },
  2314. {
  2315. "type": "integer",
  2316. "description": "商品ID, 一般与sellUserID配套传入",
  2317. "name": "goodsID",
  2318. "in": "query"
  2319. },
  2320. {
  2321. "type": "integer",
  2322. "description": "卖方UserID",
  2323. "name": "sellUserID",
  2324. "in": "query"
  2325. }
  2326. ],
  2327. "responses": {
  2328. "200": {
  2329. "description": "OK",
  2330. "schema": {
  2331. "$ref": "#/definitions/models.MyCoupon"
  2332. }
  2333. },
  2334. "500": {
  2335. "description": "Internal Server Error",
  2336. "schema": {
  2337. "$ref": "#/definitions/app.Response"
  2338. }
  2339. }
  2340. }
  2341. }
  2342. },
  2343. "/HSBY/QueryMyPayOrders": {
  2344. "get": {
  2345. "security": [
  2346. {
  2347. "ApiKeyAuth": []
  2348. }
  2349. ],
  2350. "produces": [
  2351. "application/json"
  2352. ],
  2353. "tags": [
  2354. "定制【海商报业】"
  2355. ],
  2356. "summary": "获取我的订单中待付款信息",
  2357. "parameters": [
  2358. {
  2359. "type": "integer",
  2360. "description": "页码",
  2361. "name": "page",
  2362. "in": "query"
  2363. },
  2364. {
  2365. "type": "integer",
  2366. "description": "每页条数",
  2367. "name": "pagesize",
  2368. "in": "query"
  2369. },
  2370. {
  2371. "type": "string",
  2372. "description": "资金账户列表,格式:1,2,3",
  2373. "name": "accountIDs",
  2374. "in": "query",
  2375. "required": true
  2376. },
  2377. {
  2378. "type": "integer",
  2379. "description": "买方委托单号",
  2380. "name": "buyOrderID",
  2381. "in": "query"
  2382. },
  2383. {
  2384. "type": "integer",
  2385. "description": "卖方委托单号",
  2386. "name": "sellOrderID",
  2387. "in": "query"
  2388. }
  2389. ],
  2390. "responses": {
  2391. "200": {
  2392. "description": "OK",
  2393. "schema": {
  2394. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  2395. }
  2396. },
  2397. "500": {
  2398. "description": "Internal Server Error",
  2399. "schema": {
  2400. "$ref": "#/definitions/app.Response"
  2401. }
  2402. }
  2403. }
  2404. }
  2405. },
  2406. "/HSBY/QueryMyUsedCoupon": {
  2407. "get": {
  2408. "security": [
  2409. {
  2410. "ApiKeyAuth": []
  2411. }
  2412. ],
  2413. "produces": [
  2414. "application/json"
  2415. ],
  2416. "tags": [
  2417. "定制【海商报业】"
  2418. ],
  2419. "summary": "已使用优惠卷查询",
  2420. "parameters": [
  2421. {
  2422. "type": "string",
  2423. "description": "资金账户列表,格式:1,2,3",
  2424. "name": "accountIDs",
  2425. "in": "query",
  2426. "required": true
  2427. }
  2428. ],
  2429. "responses": {
  2430. "200": {
  2431. "description": "OK",
  2432. "schema": {
  2433. "$ref": "#/definitions/models.MyUsedCoupon"
  2434. }
  2435. },
  2436. "500": {
  2437. "description": "Internal Server Error",
  2438. "schema": {
  2439. "$ref": "#/definitions/app.Response"
  2440. }
  2441. }
  2442. }
  2443. }
  2444. },
  2445. "/HSBY/QueryProvincesAndCities": {
  2446. "get": {
  2447. "security": [
  2448. {
  2449. "ApiKeyAuth": []
  2450. }
  2451. ],
  2452. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  2453. "produces": [
  2454. "application/json"
  2455. ],
  2456. "tags": [
  2457. "定制【海商报业】"
  2458. ],
  2459. "summary": "查询省市信息(不包括区)",
  2460. "parameters": [
  2461. {
  2462. "type": "integer",
  2463. "description": "省ID",
  2464. "name": "provinceID",
  2465. "in": "query"
  2466. }
  2467. ],
  2468. "responses": {
  2469. "200": {
  2470. "description": "OK",
  2471. "schema": {
  2472. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  2473. }
  2474. },
  2475. "500": {
  2476. "description": "Internal Server Error",
  2477. "schema": {
  2478. "$ref": "#/definitions/app.Response"
  2479. }
  2480. }
  2481. }
  2482. }
  2483. },
  2484. "/HSBY/SetHsbyMyPackagesStatus": {
  2485. "post": {
  2486. "security": [
  2487. {
  2488. "ApiKeyAuth": []
  2489. }
  2490. ],
  2491. "produces": [
  2492. "application/json"
  2493. ],
  2494. "tags": [
  2495. "定制【海商报业】"
  2496. ],
  2497. "summary": "设置我的包裹已收货状态",
  2498. "parameters": [
  2499. {
  2500. "type": "string",
  2501. "description": "提货单号",
  2502. "name": "takeOrderID",
  2503. "in": "query",
  2504. "required": true
  2505. },
  2506. {
  2507. "type": "integer",
  2508. "description": "资金账号",
  2509. "name": "accountID",
  2510. "in": "query",
  2511. "required": true
  2512. }
  2513. ],
  2514. "responses": {
  2515. "200": {
  2516. "description": "OK",
  2517. "schema": {
  2518. "$ref": "#/definitions/app.Response"
  2519. }
  2520. },
  2521. "500": {
  2522. "description": "Internal Server Error",
  2523. "schema": {
  2524. "$ref": "#/definitions/app.Response"
  2525. }
  2526. }
  2527. }
  2528. }
  2529. },
  2530. "/Market/QueryMarketRun": {
  2531. "get": {
  2532. "security": [
  2533. {
  2534. "ApiKeyAuth": []
  2535. }
  2536. ],
  2537. "produces": [
  2538. "application/json"
  2539. ],
  2540. "tags": [
  2541. "通用市场"
  2542. ],
  2543. "summary": "查询市场运行信息",
  2544. "parameters": [
  2545. {
  2546. "type": "integer",
  2547. "description": "市场ID,不传返回所有",
  2548. "name": "marketID",
  2549. "in": "query"
  2550. }
  2551. ],
  2552. "responses": {
  2553. "200": {
  2554. "description": "OK",
  2555. "schema": {
  2556. "$ref": "#/definitions/models.Marketrun"
  2557. }
  2558. },
  2559. "500": {
  2560. "description": "Internal Server Error",
  2561. "schema": {
  2562. "$ref": "#/definitions/app.Response"
  2563. }
  2564. }
  2565. }
  2566. }
  2567. },
  2568. "/Order/QueryHisTradeDetail": {
  2569. "get": {
  2570. "security": [
  2571. {
  2572. "ApiKeyAuth": []
  2573. }
  2574. ],
  2575. "produces": [
  2576. "application/json"
  2577. ],
  2578. "tags": [
  2579. "通用单据"
  2580. ],
  2581. "summary": "历史成交单查询(合约市场)",
  2582. "parameters": [
  2583. {
  2584. "type": "string",
  2585. "description": "资金账户 - 格式:1,2,3",
  2586. "name": "accountID",
  2587. "in": "query",
  2588. "required": true
  2589. },
  2590. {
  2591. "type": "integer",
  2592. "description": "成交单号",
  2593. "name": "tradeID",
  2594. "in": "query"
  2595. },
  2596. {
  2597. "type": "integer",
  2598. "description": "委托单号",
  2599. "name": "orderID",
  2600. "in": "query"
  2601. },
  2602. {
  2603. "type": "string",
  2604. "description": "交易模式 - 格式:1,2,3",
  2605. "name": "tradeMode",
  2606. "in": "query"
  2607. },
  2608. {
  2609. "type": "integer",
  2610. "description": "委托单据类型",
  2611. "name": "buildType",
  2612. "in": "query"
  2613. },
  2614. {
  2615. "type": "string",
  2616. "description": "成交类别 - 格式:1,2,3",
  2617. "name": "tradeType",
  2618. "in": "query"
  2619. },
  2620. {
  2621. "type": "string",
  2622. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2623. "name": "startDate",
  2624. "in": "query"
  2625. },
  2626. {
  2627. "type": "string",
  2628. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2629. "name": "endDate",
  2630. "in": "query"
  2631. }
  2632. ],
  2633. "responses": {
  2634. "200": {
  2635. "description": "OK",
  2636. "schema": {
  2637. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  2638. }
  2639. },
  2640. "500": {
  2641. "description": "Internal Server Error",
  2642. "schema": {
  2643. "$ref": "#/definitions/app.Response"
  2644. }
  2645. }
  2646. }
  2647. }
  2648. },
  2649. "/Order/QueryHisTradeOrderDetail": {
  2650. "get": {
  2651. "security": [
  2652. {
  2653. "ApiKeyAuth": []
  2654. }
  2655. ],
  2656. "produces": [
  2657. "application/json"
  2658. ],
  2659. "tags": [
  2660. "通用单据"
  2661. ],
  2662. "summary": "历史委托单查询请求(合约市场)",
  2663. "parameters": [
  2664. {
  2665. "type": "string",
  2666. "description": "资金账户 - 格式:1,2,3",
  2667. "name": "accountID",
  2668. "in": "query",
  2669. "required": true
  2670. },
  2671. {
  2672. "type": "string",
  2673. "description": "交易模式 - 格式:1,2,3",
  2674. "name": "tradeMode",
  2675. "in": "query"
  2676. },
  2677. {
  2678. "type": "string",
  2679. "description": "委托状态 - 格式:1,2,3",
  2680. "name": "orderStatus",
  2681. "in": "query"
  2682. },
  2683. {
  2684. "type": "integer",
  2685. "description": "委托单号",
  2686. "name": "orderID",
  2687. "in": "query"
  2688. },
  2689. {
  2690. "type": "string",
  2691. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2692. "name": "startDate",
  2693. "in": "query"
  2694. },
  2695. {
  2696. "type": "string",
  2697. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2698. "name": "endDate",
  2699. "in": "query"
  2700. }
  2701. ],
  2702. "responses": {
  2703. "200": {
  2704. "description": "OK",
  2705. "schema": {
  2706. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  2707. }
  2708. },
  2709. "500": {
  2710. "description": "Internal Server Error",
  2711. "schema": {
  2712. "$ref": "#/definitions/app.Response"
  2713. }
  2714. }
  2715. }
  2716. }
  2717. },
  2718. "/Order/QueryTradeDetail": {
  2719. "get": {
  2720. "security": [
  2721. {
  2722. "ApiKeyAuth": []
  2723. }
  2724. ],
  2725. "produces": [
  2726. "application/json"
  2727. ],
  2728. "tags": [
  2729. "通用单据"
  2730. ],
  2731. "summary": "成交单查询(合约市场)",
  2732. "parameters": [
  2733. {
  2734. "type": "string",
  2735. "description": "资金账户 - 格式:1,2,3",
  2736. "name": "accountID",
  2737. "in": "query",
  2738. "required": true
  2739. },
  2740. {
  2741. "type": "integer",
  2742. "description": "成交单号",
  2743. "name": "tradeID",
  2744. "in": "query"
  2745. },
  2746. {
  2747. "type": "integer",
  2748. "description": "委托单号",
  2749. "name": "orderID",
  2750. "in": "query"
  2751. },
  2752. {
  2753. "type": "string",
  2754. "description": "交易模式 - 格式:1,2,3",
  2755. "name": "tradeMode",
  2756. "in": "query"
  2757. },
  2758. {
  2759. "type": "integer",
  2760. "description": "委托单据类型",
  2761. "name": "buildType",
  2762. "in": "query"
  2763. },
  2764. {
  2765. "type": "string",
  2766. "description": "成交类别 - 格式:1,2,3",
  2767. "name": "tradeType",
  2768. "in": "query"
  2769. }
  2770. ],
  2771. "responses": {
  2772. "200": {
  2773. "description": "OK",
  2774. "schema": {
  2775. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  2776. }
  2777. },
  2778. "500": {
  2779. "description": "Internal Server Error",
  2780. "schema": {
  2781. "$ref": "#/definitions/app.Response"
  2782. }
  2783. }
  2784. }
  2785. }
  2786. },
  2787. "/Order/QueryTradeOrderDetail": {
  2788. "get": {
  2789. "security": [
  2790. {
  2791. "ApiKeyAuth": []
  2792. }
  2793. ],
  2794. "produces": [
  2795. "application/json"
  2796. ],
  2797. "tags": [
  2798. "通用单据"
  2799. ],
  2800. "summary": "委托单查询请求(合约市场)",
  2801. "parameters": [
  2802. {
  2803. "type": "string",
  2804. "description": "资金账户 - 格式:1,2,3",
  2805. "name": "accountID",
  2806. "in": "query",
  2807. "required": true
  2808. },
  2809. {
  2810. "type": "string",
  2811. "description": "交易模式 - 格式:1,2,3",
  2812. "name": "tradeMode",
  2813. "in": "query"
  2814. },
  2815. {
  2816. "type": "string",
  2817. "description": "委托状态 - 格式:1,2,3",
  2818. "name": "orderStatus",
  2819. "in": "query"
  2820. },
  2821. {
  2822. "type": "integer",
  2823. "description": "委托单号",
  2824. "name": "orderID",
  2825. "in": "query"
  2826. }
  2827. ],
  2828. "responses": {
  2829. "200": {
  2830. "description": "OK",
  2831. "schema": {
  2832. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  2833. }
  2834. },
  2835. "500": {
  2836. "description": "Internal Server Error",
  2837. "schema": {
  2838. "$ref": "#/definitions/app.Response"
  2839. }
  2840. }
  2841. }
  2842. }
  2843. },
  2844. "/Order/QueryTradePosition": {
  2845. "get": {
  2846. "security": [
  2847. {
  2848. "ApiKeyAuth": []
  2849. }
  2850. ],
  2851. "produces": [
  2852. "application/json"
  2853. ],
  2854. "tags": [
  2855. "通用单据"
  2856. ],
  2857. "summary": "持仓汇总查询(合约市场)",
  2858. "parameters": [
  2859. {
  2860. "type": "string",
  2861. "description": "资金账户 - 格式:1,2,3",
  2862. "name": "accountID",
  2863. "in": "query",
  2864. "required": true
  2865. },
  2866. {
  2867. "type": "string",
  2868. "description": "交易模式 - 格式:1,2,3",
  2869. "name": "tradeMode",
  2870. "in": "query"
  2871. }
  2872. ],
  2873. "responses": {
  2874. "200": {
  2875. "description": "OK",
  2876. "schema": {
  2877. "$ref": "#/definitions/order.QueryTradePositionRsp"
  2878. }
  2879. },
  2880. "500": {
  2881. "description": "Internal Server Error",
  2882. "schema": {
  2883. "$ref": "#/definitions/app.Response"
  2884. }
  2885. }
  2886. }
  2887. }
  2888. },
  2889. "/Quote/QueryHistoryDatas": {
  2890. "get": {
  2891. "security": [
  2892. {
  2893. "ApiKeyAuth": []
  2894. }
  2895. ],
  2896. "produces": [
  2897. "application/json"
  2898. ],
  2899. "tags": [
  2900. "行情服务"
  2901. ],
  2902. "summary": "查询行情历史数据",
  2903. "parameters": [
  2904. {
  2905. "type": "integer",
  2906. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  2907. "name": "cycleType",
  2908. "in": "query",
  2909. "required": true
  2910. },
  2911. {
  2912. "type": "string",
  2913. "description": "商品代码",
  2914. "name": "goodsCode",
  2915. "in": "query",
  2916. "required": true
  2917. },
  2918. {
  2919. "type": "string",
  2920. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  2921. "name": "startTime",
  2922. "in": "query"
  2923. },
  2924. {
  2925. "type": "string",
  2926. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  2927. "name": "endTime",
  2928. "in": "query"
  2929. },
  2930. {
  2931. "type": "integer",
  2932. "description": "条数",
  2933. "name": "count",
  2934. "in": "query"
  2935. },
  2936. {
  2937. "type": "boolean",
  2938. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  2939. "name": "isAsc",
  2940. "in": "query"
  2941. }
  2942. ],
  2943. "responses": {
  2944. "200": {
  2945. "description": "OK",
  2946. "schema": {
  2947. "$ref": "#/definitions/quote.HistoryData"
  2948. }
  2949. },
  2950. "500": {
  2951. "description": "Internal Server Error",
  2952. "schema": {
  2953. "$ref": "#/definitions/app.Response"
  2954. }
  2955. }
  2956. }
  2957. }
  2958. },
  2959. "/Quote/QueryTSData": {
  2960. "get": {
  2961. "produces": [
  2962. "application/json"
  2963. ],
  2964. "tags": [
  2965. "行情服务"
  2966. ],
  2967. "summary": "分时图数据查询",
  2968. "parameters": [
  2969. {
  2970. "type": "string",
  2971. "description": "商品代码",
  2972. "name": "GoodsCode",
  2973. "in": "query",
  2974. "required": true
  2975. }
  2976. ],
  2977. "responses": {
  2978. "200": {
  2979. "description": "OK",
  2980. "schema": {
  2981. "$ref": "#/definitions/quote.QueryTSDataRsp"
  2982. }
  2983. },
  2984. "500": {
  2985. "description": "Internal Server Error",
  2986. "schema": {
  2987. "$ref": "#/definitions/app.Response"
  2988. }
  2989. }
  2990. }
  2991. }
  2992. },
  2993. "/SZDZ/QueryConvertConfig": {
  2994. "get": {
  2995. "security": [
  2996. {
  2997. "ApiKeyAuth": []
  2998. }
  2999. ],
  3000. "produces": [
  3001. "application/json"
  3002. ],
  3003. "tags": [
  3004. "定制【尚志大宗】"
  3005. ],
  3006. "summary": "查询交易系统转换设置",
  3007. "parameters": [
  3008. {
  3009. "type": "integer",
  3010. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  3011. "name": "convertType",
  3012. "in": "query"
  3013. },
  3014. {
  3015. "type": "string",
  3016. "description": "外部商品代码[JD\\PD]",
  3017. "name": "outerGoodsCode",
  3018. "in": "query"
  3019. },
  3020. {
  3021. "type": "string",
  3022. "description": "内部商品ID列表[交易],格式:1,2,3",
  3023. "name": "innerGoodsIDs",
  3024. "in": "query"
  3025. }
  3026. ],
  3027. "responses": {
  3028. "200": {
  3029. "description": "OK",
  3030. "schema": {
  3031. "$ref": "#/definitions/models.Szdz3convertconfig"
  3032. }
  3033. },
  3034. "500": {
  3035. "description": "Internal Server Error",
  3036. "schema": {
  3037. "$ref": "#/definitions/app.Response"
  3038. }
  3039. }
  3040. }
  3041. }
  3042. },
  3043. "/SZDZ/QueryConvertLog": {
  3044. "get": {
  3045. "security": [
  3046. {
  3047. "ApiKeyAuth": []
  3048. }
  3049. ],
  3050. "produces": [
  3051. "application/json"
  3052. ],
  3053. "tags": [
  3054. "定制【尚志大宗】"
  3055. ],
  3056. "summary": "交易系统转换流水查询",
  3057. "parameters": [
  3058. {
  3059. "type": "string",
  3060. "description": "资金账户 - 格式:1,2,3",
  3061. "name": "accountID",
  3062. "in": "query",
  3063. "required": true
  3064. },
  3065. {
  3066. "type": "string",
  3067. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3068. "name": "startDate",
  3069. "in": "query"
  3070. },
  3071. {
  3072. "type": "string",
  3073. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3074. "name": "endDate",
  3075. "in": "query"
  3076. }
  3077. ],
  3078. "responses": {
  3079. "200": {
  3080. "description": "OK",
  3081. "schema": {
  3082. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  3083. }
  3084. },
  3085. "500": {
  3086. "description": "Internal Server Error",
  3087. "schema": {
  3088. "$ref": "#/definitions/app.Response"
  3089. }
  3090. }
  3091. }
  3092. }
  3093. },
  3094. "/SZDZ/QueryGoodsPickup": {
  3095. "get": {
  3096. "security": [
  3097. {
  3098. "ApiKeyAuth": []
  3099. }
  3100. ],
  3101. "produces": [
  3102. "application/json"
  3103. ],
  3104. "tags": [
  3105. "定制【尚志大宗】"
  3106. ],
  3107. "summary": "商品提货单查询",
  3108. "parameters": [
  3109. {
  3110. "type": "string",
  3111. "description": "资金账户 - 格式:1,2,3",
  3112. "name": "accountID",
  3113. "in": "query",
  3114. "required": true
  3115. },
  3116. {
  3117. "type": "integer",
  3118. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3119. "name": "takeOrderStatus",
  3120. "in": "query"
  3121. }
  3122. ],
  3123. "responses": {
  3124. "200": {
  3125. "description": "OK",
  3126. "schema": {
  3127. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  3128. }
  3129. },
  3130. "500": {
  3131. "description": "Internal Server Error",
  3132. "schema": {
  3133. "$ref": "#/definitions/app.Response"
  3134. }
  3135. }
  3136. }
  3137. }
  3138. },
  3139. "/SZDZ/QueryRecieptOrder": {
  3140. "get": {
  3141. "security": [
  3142. {
  3143. "ApiKeyAuth": []
  3144. }
  3145. ],
  3146. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3147. "produces": [
  3148. "application/json"
  3149. ],
  3150. "tags": [
  3151. "定制【尚志大宗】"
  3152. ],
  3153. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  3154. "parameters": [
  3155. {
  3156. "type": "integer",
  3157. "description": "页码",
  3158. "name": "page",
  3159. "in": "query"
  3160. },
  3161. {
  3162. "type": "integer",
  3163. "description": "每页条数",
  3164. "name": "pagesize",
  3165. "in": "query"
  3166. },
  3167. {
  3168. "type": "integer",
  3169. "description": "商品ID",
  3170. "name": "goodsID",
  3171. "in": "query",
  3172. "required": true
  3173. },
  3174. {
  3175. "type": "string",
  3176. "description": "所属账户名称",
  3177. "name": "accountName",
  3178. "in": "query"
  3179. },
  3180. {
  3181. "type": "integer",
  3182. "description": "市场ID",
  3183. "name": "marketID",
  3184. "in": "query"
  3185. },
  3186. {
  3187. "type": "integer",
  3188. "description": "方向 - 0:买 1:卖",
  3189. "name": "buyorsell",
  3190. "in": "query",
  3191. "required": true
  3192. }
  3193. ],
  3194. "responses": {
  3195. "200": {
  3196. "description": "OK",
  3197. "schema": {
  3198. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  3199. }
  3200. },
  3201. "500": {
  3202. "description": "Internal Server Error",
  3203. "schema": {
  3204. "$ref": "#/definitions/app.Response"
  3205. }
  3206. }
  3207. }
  3208. }
  3209. },
  3210. "/SZDZ/QuerySZDZTradePosition": {
  3211. "get": {
  3212. "security": [
  3213. {
  3214. "ApiKeyAuth": []
  3215. }
  3216. ],
  3217. "produces": [
  3218. "application/json"
  3219. ],
  3220. "tags": [
  3221. "定制【尚志大宗】"
  3222. ],
  3223. "summary": "持仓汇总查询(尚志大宗)",
  3224. "parameters": [
  3225. {
  3226. "type": "integer",
  3227. "description": "资金账户",
  3228. "name": "accountID",
  3229. "in": "query",
  3230. "required": true
  3231. }
  3232. ],
  3233. "responses": {
  3234. "200": {
  3235. "description": "OK",
  3236. "schema": {
  3237. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  3238. }
  3239. },
  3240. "500": {
  3241. "description": "Internal Server Error",
  3242. "schema": {
  3243. "$ref": "#/definitions/app.Response"
  3244. }
  3245. }
  3246. }
  3247. }
  3248. },
  3249. "/SZDZ/SearchWhite": {
  3250. "get": {
  3251. "security": [
  3252. {
  3253. "ApiKeyAuth": []
  3254. }
  3255. ],
  3256. "produces": [
  3257. "application/json"
  3258. ],
  3259. "tags": [
  3260. "定制【尚志大宗】"
  3261. ],
  3262. "summary": "搜索白名单",
  3263. "parameters": [
  3264. {
  3265. "type": "integer",
  3266. "description": "用户ID",
  3267. "name": "userID",
  3268. "in": "query",
  3269. "required": true
  3270. }
  3271. ],
  3272. "responses": {
  3273. "200": {
  3274. "description": "OK",
  3275. "schema": {
  3276. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  3277. }
  3278. },
  3279. "500": {
  3280. "description": "Internal Server Error",
  3281. "schema": {
  3282. "$ref": "#/definitions/app.Response"
  3283. }
  3284. }
  3285. }
  3286. }
  3287. },
  3288. "/Search/SearchGoodses": {
  3289. "get": {
  3290. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  3291. "produces": [
  3292. "application/json"
  3293. ],
  3294. "tags": [
  3295. "检索服务"
  3296. ],
  3297. "summary": "检索商品信息",
  3298. "parameters": [
  3299. {
  3300. "type": "string",
  3301. "description": "检索内容",
  3302. "name": "content",
  3303. "in": "query",
  3304. "required": true
  3305. },
  3306. {
  3307. "type": "string",
  3308. "description": "交易模式,格式:1,2,3",
  3309. "name": "tradeModes",
  3310. "in": "query"
  3311. }
  3312. ],
  3313. "responses": {
  3314. "200": {
  3315. "description": "OK",
  3316. "schema": {
  3317. "$ref": "#/definitions/models.SearchGoods"
  3318. }
  3319. },
  3320. "500": {
  3321. "description": "Internal Server Error",
  3322. "schema": {
  3323. "$ref": "#/definitions/app.Response"
  3324. }
  3325. }
  3326. }
  3327. }
  3328. },
  3329. "/TaAccount/QueryAmountLog": {
  3330. "get": {
  3331. "security": [
  3332. {
  3333. "ApiKeyAuth": []
  3334. }
  3335. ],
  3336. "produces": [
  3337. "application/json"
  3338. ],
  3339. "tags": [
  3340. "资金账户"
  3341. ],
  3342. "summary": "资金流水查询(当前)",
  3343. "parameters": [
  3344. {
  3345. "type": "integer",
  3346. "description": "页码",
  3347. "name": "page",
  3348. "in": "query"
  3349. },
  3350. {
  3351. "type": "integer",
  3352. "description": "每页条数",
  3353. "name": "pagesize",
  3354. "in": "query"
  3355. },
  3356. {
  3357. "type": "string",
  3358. "description": "资金账户 - 格式:1,2,3",
  3359. "name": "accountID",
  3360. "in": "query",
  3361. "required": true
  3362. },
  3363. {
  3364. "type": "string",
  3365. "description": "资金操作类型 - 格式:1,2,3",
  3366. "name": "OperateType",
  3367. "in": "query"
  3368. }
  3369. ],
  3370. "responses": {
  3371. "200": {
  3372. "description": "OK",
  3373. "schema": {
  3374. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  3375. }
  3376. },
  3377. "500": {
  3378. "description": "Internal Server Error",
  3379. "schema": {
  3380. "$ref": "#/definitions/app.Response"
  3381. }
  3382. }
  3383. }
  3384. }
  3385. },
  3386. "/TaAccount/QueryHisAmountLog": {
  3387. "get": {
  3388. "security": [
  3389. {
  3390. "ApiKeyAuth": []
  3391. }
  3392. ],
  3393. "produces": [
  3394. "application/json"
  3395. ],
  3396. "tags": [
  3397. "资金账户"
  3398. ],
  3399. "summary": "资金流水查询(历史)",
  3400. "parameters": [
  3401. {
  3402. "type": "integer",
  3403. "description": "页码",
  3404. "name": "page",
  3405. "in": "query"
  3406. },
  3407. {
  3408. "type": "integer",
  3409. "description": "每页条数",
  3410. "name": "pagesize",
  3411. "in": "query"
  3412. },
  3413. {
  3414. "type": "string",
  3415. "description": "资金账户 - 格式:1,2,3",
  3416. "name": "accountID",
  3417. "in": "query",
  3418. "required": true
  3419. },
  3420. {
  3421. "type": "string",
  3422. "description": "资金操作类型 - 格式:1,2,3",
  3423. "name": "OperateType",
  3424. "in": "query"
  3425. },
  3426. {
  3427. "type": "string",
  3428. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3429. "name": "startDate",
  3430. "in": "query"
  3431. },
  3432. {
  3433. "type": "string",
  3434. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3435. "name": "endDate",
  3436. "in": "query"
  3437. }
  3438. ],
  3439. "responses": {
  3440. "200": {
  3441. "description": "OK",
  3442. "schema": {
  3443. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  3444. }
  3445. },
  3446. "500": {
  3447. "description": "Internal Server Error",
  3448. "schema": {
  3449. "$ref": "#/definitions/app.Response"
  3450. }
  3451. }
  3452. }
  3453. }
  3454. },
  3455. "/Trade/QueryRecieptOrder": {
  3456. "get": {
  3457. "security": [
  3458. {
  3459. "ApiKeyAuth": []
  3460. }
  3461. ],
  3462. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3463. "produces": [
  3464. "application/json"
  3465. ],
  3466. "tags": [
  3467. "通用交易"
  3468. ],
  3469. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  3470. "parameters": [
  3471. {
  3472. "type": "integer",
  3473. "description": "页码",
  3474. "name": "page",
  3475. "in": "query"
  3476. },
  3477. {
  3478. "type": "integer",
  3479. "description": "每页条数",
  3480. "name": "pagesize",
  3481. "in": "query"
  3482. },
  3483. {
  3484. "type": "integer",
  3485. "description": "商品ID",
  3486. "name": "goodsID",
  3487. "in": "query",
  3488. "required": true
  3489. },
  3490. {
  3491. "type": "string",
  3492. "description": "所属账户名称",
  3493. "name": "accountName",
  3494. "in": "query"
  3495. },
  3496. {
  3497. "type": "integer",
  3498. "description": "市场ID",
  3499. "name": "marketID",
  3500. "in": "query"
  3501. },
  3502. {
  3503. "type": "integer",
  3504. "description": "方向 - 0:买 1:卖",
  3505. "name": "buyorsell",
  3506. "in": "query",
  3507. "required": true
  3508. }
  3509. ],
  3510. "responses": {
  3511. "200": {
  3512. "description": "OK",
  3513. "schema": {
  3514. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  3515. }
  3516. },
  3517. "500": {
  3518. "description": "Internal Server Error",
  3519. "schema": {
  3520. "$ref": "#/definitions/app.Response"
  3521. }
  3522. }
  3523. }
  3524. }
  3525. },
  3526. "/User/AddMessageBoard": {
  3527. "post": {
  3528. "security": [
  3529. {
  3530. "ApiKeyAuth": []
  3531. }
  3532. ],
  3533. "produces": [
  3534. "application/json"
  3535. ],
  3536. "tags": [
  3537. "用户信息"
  3538. ],
  3539. "summary": "添加用户留言板信息",
  3540. "parameters": [
  3541. {
  3542. "type": "integer",
  3543. "description": "用户ID",
  3544. "name": "userID",
  3545. "in": "query",
  3546. "required": true
  3547. },
  3548. {
  3549. "type": "string",
  3550. "description": "留言信息",
  3551. "name": "message",
  3552. "in": "query",
  3553. "required": true
  3554. }
  3555. ],
  3556. "responses": {
  3557. "200": {
  3558. "description": "OK",
  3559. "schema": {
  3560. "$ref": "#/definitions/app.Response"
  3561. }
  3562. },
  3563. "500": {
  3564. "description": "Internal Server Error",
  3565. "schema": {
  3566. "$ref": "#/definitions/app.Response"
  3567. }
  3568. }
  3569. }
  3570. }
  3571. },
  3572. "/User/AddUserFavoriteGoods": {
  3573. "post": {
  3574. "security": [
  3575. {
  3576. "ApiKeyAuth": []
  3577. }
  3578. ],
  3579. "produces": [
  3580. "application/json"
  3581. ],
  3582. "tags": [
  3583. "用户信息"
  3584. ],
  3585. "summary": "添加用户商品收藏信息",
  3586. "parameters": [
  3587. {
  3588. "type": "integer",
  3589. "description": "用户ID",
  3590. "name": "userID",
  3591. "in": "query",
  3592. "required": true
  3593. },
  3594. {
  3595. "type": "integer",
  3596. "description": "商品ID",
  3597. "name": "goodsID",
  3598. "in": "query",
  3599. "required": true
  3600. }
  3601. ],
  3602. "responses": {
  3603. "200": {
  3604. "description": "OK",
  3605. "schema": {
  3606. "$ref": "#/definitions/app.Response"
  3607. }
  3608. },
  3609. "500": {
  3610. "description": "Internal Server Error",
  3611. "schema": {
  3612. "$ref": "#/definitions/app.Response"
  3613. }
  3614. }
  3615. }
  3616. }
  3617. },
  3618. "/User/GetLoginID": {
  3619. "get": {
  3620. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  3621. "produces": [
  3622. "application/json"
  3623. ],
  3624. "tags": [
  3625. "用户信息"
  3626. ],
  3627. "summary": "获取登录ID",
  3628. "parameters": [
  3629. {
  3630. "type": "string",
  3631. "description": "登录代码",
  3632. "name": "username",
  3633. "in": "query",
  3634. "required": true
  3635. }
  3636. ],
  3637. "responses": {
  3638. "200": {
  3639. "description": "OK",
  3640. "schema": {
  3641. "$ref": "#/definitions/app.Response"
  3642. }
  3643. },
  3644. "500": {
  3645. "description": "Internal Server Error",
  3646. "schema": {
  3647. "$ref": "#/definitions/app.Response"
  3648. }
  3649. }
  3650. }
  3651. }
  3652. },
  3653. "/User/GetUserAccount": {
  3654. "get": {
  3655. "security": [
  3656. {
  3657. "ApiKeyAuth": []
  3658. }
  3659. ],
  3660. "produces": [
  3661. "application/json"
  3662. ],
  3663. "tags": [
  3664. "用户信息"
  3665. ],
  3666. "summary": "获取用户账号信息",
  3667. "parameters": [
  3668. {
  3669. "type": "integer",
  3670. "description": "用户ID",
  3671. "name": "userID",
  3672. "in": "query",
  3673. "required": true
  3674. }
  3675. ],
  3676. "responses": {
  3677. "200": {
  3678. "description": "OK",
  3679. "schema": {
  3680. "$ref": "#/definitions/models.Useraccount"
  3681. }
  3682. },
  3683. "500": {
  3684. "description": "Internal Server Error",
  3685. "schema": {
  3686. "$ref": "#/definitions/app.Response"
  3687. }
  3688. }
  3689. }
  3690. }
  3691. },
  3692. "/User/GetUserAuthStatus": {
  3693. "get": {
  3694. "security": [
  3695. {
  3696. "ApiKeyAuth": []
  3697. }
  3698. ],
  3699. "produces": [
  3700. "application/json"
  3701. ],
  3702. "tags": [
  3703. "用户信息"
  3704. ],
  3705. "summary": "获取用户实名认证状态",
  3706. "parameters": [
  3707. {
  3708. "type": "integer",
  3709. "description": "用户ID",
  3710. "name": "userID",
  3711. "in": "query",
  3712. "required": true
  3713. }
  3714. ],
  3715. "responses": {
  3716. "200": {
  3717. "description": "OK",
  3718. "schema": {
  3719. "$ref": "#/definitions/app.Response"
  3720. }
  3721. },
  3722. "500": {
  3723. "description": "Internal Server Error",
  3724. "schema": {
  3725. "$ref": "#/definitions/app.Response"
  3726. }
  3727. }
  3728. }
  3729. }
  3730. },
  3731. "/User/QueryMessageBoard": {
  3732. "get": {
  3733. "security": [
  3734. {
  3735. "ApiKeyAuth": []
  3736. }
  3737. ],
  3738. "produces": [
  3739. "application/json"
  3740. ],
  3741. "tags": [
  3742. "用户信息"
  3743. ],
  3744. "summary": "获取用户留言板信息",
  3745. "parameters": [
  3746. {
  3747. "type": "integer",
  3748. "description": "用户ID",
  3749. "name": "userID",
  3750. "in": "query",
  3751. "required": true
  3752. }
  3753. ],
  3754. "responses": {
  3755. "200": {
  3756. "description": "OK",
  3757. "schema": {
  3758. "$ref": "#/definitions/models.Messageboard"
  3759. }
  3760. },
  3761. "500": {
  3762. "description": "Internal Server Error",
  3763. "schema": {
  3764. "$ref": "#/definitions/app.Response"
  3765. }
  3766. }
  3767. }
  3768. }
  3769. },
  3770. "/User/QueryUserFavoriteGoodses": {
  3771. "get": {
  3772. "security": [
  3773. {
  3774. "ApiKeyAuth": []
  3775. }
  3776. ],
  3777. "produces": [
  3778. "application/json"
  3779. ],
  3780. "tags": [
  3781. "用户信息"
  3782. ],
  3783. "summary": "获取用户商品收藏信息",
  3784. "parameters": [
  3785. {
  3786. "type": "integer",
  3787. "description": "用户ID",
  3788. "name": "userID",
  3789. "in": "query",
  3790. "required": true
  3791. }
  3792. ],
  3793. "responses": {
  3794. "200": {
  3795. "description": "OK",
  3796. "schema": {
  3797. "$ref": "#/definitions/models.Userfavoritegoods"
  3798. }
  3799. },
  3800. "500": {
  3801. "description": "Internal Server Error",
  3802. "schema": {
  3803. "$ref": "#/definitions/app.Response"
  3804. }
  3805. }
  3806. }
  3807. }
  3808. },
  3809. "/User/QueryUserInfo": {
  3810. "get": {
  3811. "security": [
  3812. {
  3813. "ApiKeyAuth": []
  3814. }
  3815. ],
  3816. "produces": [
  3817. "application/json"
  3818. ],
  3819. "tags": [
  3820. "用户信息"
  3821. ],
  3822. "summary": "获取用户信息",
  3823. "parameters": [
  3824. {
  3825. "type": "integer",
  3826. "description": "用户ID",
  3827. "name": "userID",
  3828. "in": "query",
  3829. "required": true
  3830. }
  3831. ],
  3832. "responses": {
  3833. "200": {
  3834. "description": "OK",
  3835. "schema": {
  3836. "$ref": "#/definitions/models.Userinfo"
  3837. }
  3838. },
  3839. "500": {
  3840. "description": "Internal Server Error",
  3841. "schema": {
  3842. "$ref": "#/definitions/app.Response"
  3843. }
  3844. }
  3845. }
  3846. }
  3847. },
  3848. "/User/QueryUserReferNum": {
  3849. "get": {
  3850. "produces": [
  3851. "application/json"
  3852. ],
  3853. "tags": [
  3854. "用户信息"
  3855. ],
  3856. "summary": "获取用户邀请码",
  3857. "parameters": [
  3858. {
  3859. "type": "integer",
  3860. "description": "用户ID",
  3861. "name": "userID",
  3862. "in": "query",
  3863. "required": true
  3864. }
  3865. ],
  3866. "responses": {
  3867. "200": {
  3868. "description": "OK",
  3869. "schema": {
  3870. "$ref": "#/definitions/app.Response"
  3871. }
  3872. },
  3873. "500": {
  3874. "description": "Internal Server Error",
  3875. "schema": {
  3876. "$ref": "#/definitions/app.Response"
  3877. }
  3878. }
  3879. }
  3880. }
  3881. },
  3882. "/User/RemoveUserFavoriteGoods": {
  3883. "post": {
  3884. "security": [
  3885. {
  3886. "ApiKeyAuth": []
  3887. }
  3888. ],
  3889. "produces": [
  3890. "application/json"
  3891. ],
  3892. "tags": [
  3893. "用户信息"
  3894. ],
  3895. "summary": "移除用户商品收藏信息",
  3896. "parameters": [
  3897. {
  3898. "type": "integer",
  3899. "description": "用户ID",
  3900. "name": "userID",
  3901. "in": "query",
  3902. "required": true
  3903. },
  3904. {
  3905. "type": "integer",
  3906. "description": "商品ID",
  3907. "name": "goodsID",
  3908. "in": "query",
  3909. "required": true
  3910. }
  3911. ],
  3912. "responses": {
  3913. "200": {
  3914. "description": "OK",
  3915. "schema": {
  3916. "$ref": "#/definitions/app.Response"
  3917. }
  3918. },
  3919. "500": {
  3920. "description": "Internal Server Error",
  3921. "schema": {
  3922. "$ref": "#/definitions/app.Response"
  3923. }
  3924. }
  3925. }
  3926. }
  3927. },
  3928. "/WR/GetWRCategoryInfo": {
  3929. "get": {
  3930. "produces": [
  3931. "application/json"
  3932. ],
  3933. "tags": [
  3934. "仓单服务"
  3935. ],
  3936. "summary": "获取现货分类信息",
  3937. "responses": {
  3938. "200": {
  3939. "description": "OK",
  3940. "schema": {
  3941. "$ref": "#/definitions/models.WRCategoryTree"
  3942. }
  3943. },
  3944. "500": {
  3945. "description": "Internal Server Error",
  3946. "schema": {
  3947. "$ref": "#/definitions/app.Response"
  3948. }
  3949. }
  3950. }
  3951. }
  3952. },
  3953. "/WRTrade/GetAllDeliveryGoods": {
  3954. "get": {
  3955. "security": [
  3956. {
  3957. "ApiKeyAuth": []
  3958. },
  3959. {
  3960. "ApiKeyAuth": []
  3961. }
  3962. ],
  3963. "produces": [
  3964. "application/json",
  3965. "application/json"
  3966. ],
  3967. "tags": [
  3968. "仓单贸易",
  3969. "仓单贸易"
  3970. ],
  3971. "summary": "获取带仓单分类的种类信息",
  3972. "responses": {
  3973. "200": {
  3974. "description": "OK",
  3975. "schema": {
  3976. "$ref": "#/definitions/app.Response"
  3977. }
  3978. },
  3979. "500": {
  3980. "description": "Internal Server Error",
  3981. "schema": {
  3982. "$ref": "#/definitions/app.Response"
  3983. }
  3984. }
  3985. }
  3986. }
  3987. }
  3988. },
  3989. "definitions": {
  3990. "app.Response": {
  3991. "type": "object",
  3992. "properties": {
  3993. "code": {
  3994. "type": "integer"
  3995. },
  3996. "data": {
  3997. "type": "object"
  3998. },
  3999. "msg": {
  4000. "type": "string"
  4001. },
  4002. "page": {
  4003. "description": "页码",
  4004. "type": "integer"
  4005. },
  4006. "pagesize": {
  4007. "description": "每页条数",
  4008. "type": "integer"
  4009. },
  4010. "total": {
  4011. "description": "总条数",
  4012. "type": "integer"
  4013. }
  4014. }
  4015. },
  4016. "common.QueryNoticeRsp": {
  4017. "type": "object",
  4018. "required": [
  4019. "autoid"
  4020. ],
  4021. "properties": {
  4022. "auditoruserid": {
  4023. "description": "审核人",
  4024. "type": "integer"
  4025. },
  4026. "auditremark": {
  4027. "description": "审核备注",
  4028. "type": "string"
  4029. },
  4030. "audittime": {
  4031. "description": "审核日期",
  4032. "type": "string"
  4033. },
  4034. "autoid": {
  4035. "description": "自增ID",
  4036. "type": "integer"
  4037. },
  4038. "content": {
  4039. "description": "内容",
  4040. "type": "string"
  4041. },
  4042. "createtime": {
  4043. "description": "创建时间",
  4044. "type": "string"
  4045. },
  4046. "creatorid": {
  4047. "description": "建仓人",
  4048. "type": "integer"
  4049. },
  4050. "endtime": {
  4051. "description": "结束时间",
  4052. "type": "string"
  4053. },
  4054. "istop": {
  4055. "description": "是否置顶 - 0:不置顶 1:置顶",
  4056. "type": "integer"
  4057. },
  4058. "msgiconurl": {
  4059. "description": "消息图标Url",
  4060. "type": "string"
  4061. },
  4062. "msgtype": {
  4063. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  4064. "type": "integer"
  4065. },
  4066. "publisher": {
  4067. "description": "消息发布者",
  4068. "type": "string"
  4069. },
  4070. "readed": {
  4071. "description": "是否已读",
  4072. "type": "boolean"
  4073. },
  4074. "scheduletime": {
  4075. "description": "计划发送时间",
  4076. "type": "string"
  4077. },
  4078. "sendtype": {
  4079. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  4080. "type": "integer"
  4081. },
  4082. "sentstatus": {
  4083. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  4084. "type": "integer"
  4085. },
  4086. "title": {
  4087. "description": "标题",
  4088. "type": "string"
  4089. },
  4090. "userid": {
  4091. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  4092. "type": "integer"
  4093. }
  4094. }
  4095. },
  4096. "common.QueryProvincesAndCitiesRsp": {
  4097. "type": "object",
  4098. "properties": {
  4099. "cities": {
  4100. "description": "市",
  4101. "type": "array",
  4102. "items": {
  4103. "$ref": "#/definitions/models.Division"
  4104. }
  4105. },
  4106. "province": {
  4107. "description": "省",
  4108. "$ref": "#/definitions/models.Division"
  4109. }
  4110. }
  4111. },
  4112. "common.QueryTableDefineRsp": {
  4113. "type": "object",
  4114. "required": [
  4115. "tablekey"
  4116. ],
  4117. "properties": {
  4118. "columns": {
  4119. "description": "列头信息数组",
  4120. "type": "array",
  4121. "items": {
  4122. "$ref": "#/definitions/models.Tablecolumnconfig"
  4123. }
  4124. },
  4125. "remark": {
  4126. "description": "Remark",
  4127. "type": "string"
  4128. },
  4129. "tabelmenu": {
  4130. "description": "列表菜单",
  4131. "type": "string"
  4132. },
  4133. "tablekey": {
  4134. "description": "列表Key",
  4135. "type": "string"
  4136. },
  4137. "tablename": {
  4138. "description": "列表名称",
  4139. "type": "string"
  4140. },
  4141. "tabletype": {
  4142. "description": "列表类型 - 1:管理端 2:终端",
  4143. "type": "integer"
  4144. }
  4145. }
  4146. },
  4147. "common.QueryTraderMenuRsp": {
  4148. "type": "object",
  4149. "properties": {
  4150. "OperationMenu": {
  4151. "description": "功能菜单",
  4152. "type": "array",
  4153. "items": {
  4154. "$ref": "#/definitions/models.OperationPrimaryMenu"
  4155. }
  4156. },
  4157. "QuoteMenu": {
  4158. "description": "报价牌分类菜单",
  4159. "type": "array",
  4160. "items": {
  4161. "$ref": "#/definitions/models.QuotePrimaryMenu"
  4162. }
  4163. }
  4164. }
  4165. },
  4166. "cptrade.Cptradepositioncancel": {
  4167. "type": "object",
  4168. "required": [
  4169. "cancelid"
  4170. ],
  4171. "properties": {
  4172. "accountid": {
  4173. "description": "申请人账户ID",
  4174. "type": "integer"
  4175. },
  4176. "applystatus": {
  4177. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4178. "type": "integer"
  4179. },
  4180. "applytime": {
  4181. "description": "申请时间",
  4182. "type": "string"
  4183. },
  4184. "cancelid": {
  4185. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  4186. "type": "integer"
  4187. },
  4188. "cancelqty": {
  4189. "description": "注销数量",
  4190. "type": "integer"
  4191. },
  4192. "createtime": {
  4193. "description": "创建时间",
  4194. "type": "string"
  4195. },
  4196. "creatorid": {
  4197. "description": "创建人ID",
  4198. "type": "integer"
  4199. },
  4200. "creatorname": {
  4201. "description": "创建人",
  4202. "type": "string"
  4203. },
  4204. "goodscode": {
  4205. "description": "订单商品代码",
  4206. "type": "string"
  4207. },
  4208. "goodsid": {
  4209. "description": "商品ID",
  4210. "type": "integer"
  4211. },
  4212. "goodsname": {
  4213. "description": "订单商品名称",
  4214. "type": "string"
  4215. },
  4216. "goodunit": {
  4217. "description": "报价单位",
  4218. "type": "string"
  4219. },
  4220. "handlestatus": {
  4221. "description": "处理状态",
  4222. "type": "integer"
  4223. },
  4224. "marketid": {
  4225. "description": "市场ID",
  4226. "type": "integer"
  4227. },
  4228. "marketname": {
  4229. "description": "市场名称",
  4230. "type": "string"
  4231. },
  4232. "tradedate": {
  4233. "description": "交易日(yyyyMMdd)",
  4234. "type": "string"
  4235. },
  4236. "userid": {
  4237. "description": "申请人ID",
  4238. "type": "integer"
  4239. }
  4240. }
  4241. },
  4242. "cptrade.Cptradepresaleapply": {
  4243. "type": "object",
  4244. "required": [
  4245. "applyid"
  4246. ],
  4247. "properties": {
  4248. "accountid": {
  4249. "description": "申请人账户ID",
  4250. "type": "integer"
  4251. },
  4252. "applyid": {
  4253. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  4254. "type": "integer"
  4255. },
  4256. "applyremark": {
  4257. "description": "申请备注",
  4258. "type": "string"
  4259. },
  4260. "applystatus": {
  4261. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4262. "type": "integer"
  4263. },
  4264. "applytime": {
  4265. "description": "申请时间",
  4266. "type": "string"
  4267. },
  4268. "attachmenturl": {
  4269. "description": "附件地址",
  4270. "type": "string"
  4271. },
  4272. "endtime": {
  4273. "description": "预售结束时间",
  4274. "type": "string"
  4275. },
  4276. "goodscode": {
  4277. "description": "商品代码",
  4278. "type": "string"
  4279. },
  4280. "goodsid": {
  4281. "description": "商品ID",
  4282. "type": "integer"
  4283. },
  4284. "goodsname": {
  4285. "description": "商品名称",
  4286. "type": "string"
  4287. },
  4288. "goodunit": {
  4289. "description": "报价单位",
  4290. "type": "string"
  4291. },
  4292. "handlestatus": {
  4293. "description": "处理状态",
  4294. "type": "integer"
  4295. },
  4296. "marketid": {
  4297. "description": "预售市场ID",
  4298. "type": "integer"
  4299. },
  4300. "marketname": {
  4301. "description": "预售市场名称",
  4302. "type": "string"
  4303. },
  4304. "presaleqty": {
  4305. "description": "预售数量",
  4306. "type": "integer"
  4307. },
  4308. "relatedgoodscode": {
  4309. "description": "关联交易合约代码",
  4310. "type": "string"
  4311. },
  4312. "relatedgoodsid": {
  4313. "description": "关联交易合约ID",
  4314. "type": "integer"
  4315. },
  4316. "relatedgoodsname": {
  4317. "description": "关联交易合约名称",
  4318. "type": "string"
  4319. },
  4320. "starttime": {
  4321. "description": "预售开始时间",
  4322. "type": "string"
  4323. },
  4324. "tradedate": {
  4325. "description": "交易日(yyyyMMdd)",
  4326. "type": "string"
  4327. },
  4328. "trademode": {
  4329. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  4330. "type": "integer"
  4331. },
  4332. "userid": {
  4333. "description": "申请人ID",
  4334. "type": "integer"
  4335. }
  4336. }
  4337. },
  4338. "cptrade.Cptradeusergoodsdata": {
  4339. "type": "object",
  4340. "required": [
  4341. "accountid",
  4342. "goodsid"
  4343. ],
  4344. "properties": {
  4345. "EnabledQty": {
  4346. "description": "可用量",
  4347. "type": "integer"
  4348. },
  4349. "GoodsCode": {
  4350. "description": "订单商品代码",
  4351. "type": "string"
  4352. },
  4353. "GoodsName": {
  4354. "description": "订单商品名称",
  4355. "type": "string"
  4356. },
  4357. "WRStandardCode": {
  4358. "description": "仓单标准代码",
  4359. "type": "string"
  4360. },
  4361. "WRStandardName": {
  4362. "description": "仓单标准名称",
  4363. "type": "string"
  4364. },
  4365. "accountid": {
  4366. "description": "账户ID",
  4367. "type": "integer"
  4368. },
  4369. "cancelqty": {
  4370. "description": "注销量",
  4371. "type": "integer"
  4372. },
  4373. "curpresaleqty": {
  4374. "description": "当前预售量",
  4375. "type": "integer"
  4376. },
  4377. "deliveryqty": {
  4378. "description": "交割量",
  4379. "type": "integer"
  4380. },
  4381. "freezeamount": {
  4382. "description": "冻结金额",
  4383. "type": "number"
  4384. },
  4385. "goodsid": {
  4386. "description": "商品ID",
  4387. "type": "integer"
  4388. },
  4389. "goodunit": {
  4390. "description": "报价单位",
  4391. "type": "string"
  4392. },
  4393. "hasspotfreeze": {
  4394. "description": "是否有现货冻结 - 0:否 1:有",
  4395. "type": "integer"
  4396. },
  4397. "inqty": {
  4398. "description": "转入量(总数量)",
  4399. "type": "integer"
  4400. },
  4401. "marketid": {
  4402. "description": "市场ID",
  4403. "type": "integer"
  4404. },
  4405. "presaledamount": {
  4406. "description": "已预售总金额",
  4407. "type": "integer"
  4408. },
  4409. "presaledqty": {
  4410. "description": "已预售量",
  4411. "type": "integer"
  4412. },
  4413. "userid": {
  4414. "description": "用户ID",
  4415. "type": "integer"
  4416. },
  4417. "wrstandardid": {
  4418. "description": "仓单标准ID",
  4419. "type": "integer"
  4420. }
  4421. }
  4422. },
  4423. "cptrade.QueryCPTradeMyBidRsp": {
  4424. "type": "object",
  4425. "required": [
  4426. "accountid",
  4427. "goodsid",
  4428. "marketid",
  4429. "orderid",
  4430. "orderqty",
  4431. "ordertime",
  4432. "tradeprice",
  4433. "tradeqty"
  4434. ],
  4435. "properties": {
  4436. "accountid": {
  4437. "description": "账户ID[报价币种]",
  4438. "type": "integer"
  4439. },
  4440. "goodsid": {
  4441. "description": "商品ID",
  4442. "type": "integer"
  4443. },
  4444. "goodunit": {
  4445. "description": "报价单位",
  4446. "type": "string"
  4447. },
  4448. "marketid": {
  4449. "description": "市场ID",
  4450. "type": "integer"
  4451. },
  4452. "orderid": {
  4453. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4454. "type": "integer"
  4455. },
  4456. "orderprice": {
  4457. "description": "委托价格",
  4458. "type": "number"
  4459. },
  4460. "orderqty": {
  4461. "description": "委托数量",
  4462. "type": "integer"
  4463. },
  4464. "ordertime": {
  4465. "description": "委托时间",
  4466. "type": "string"
  4467. },
  4468. "ordertotalprice": {
  4469. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  4470. "type": "number"
  4471. },
  4472. "ordertotalweight": {
  4473. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  4474. "type": "integer"
  4475. },
  4476. "totaltotalprice": {
  4477. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  4478. "type": "number"
  4479. },
  4480. "tradeprice": {
  4481. "description": "成交价格",
  4482. "type": "number"
  4483. },
  4484. "tradeqty": {
  4485. "description": "成交数量",
  4486. "type": "integer"
  4487. }
  4488. }
  4489. },
  4490. "cptrade.QueryCPTradeOrderDetailRsq": {
  4491. "type": "object",
  4492. "required": [
  4493. "accountid",
  4494. "buildtype",
  4495. "buyorsell",
  4496. "goodsid",
  4497. "marketid",
  4498. "memberuserid",
  4499. "operatetype",
  4500. "orderqty",
  4501. "ordertime",
  4502. "pricemode",
  4503. "strorderid",
  4504. "tradedate",
  4505. "validtype"
  4506. ],
  4507. "properties": {
  4508. "accountid": {
  4509. "description": "账户ID[报价币种]",
  4510. "type": "integer"
  4511. },
  4512. "buildtype": {
  4513. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  4514. "type": "integer"
  4515. },
  4516. "buyorsell": {
  4517. "description": "买卖 - 0:买 1:卖",
  4518. "type": "integer"
  4519. },
  4520. "cancelorderid": {
  4521. "description": "撤单单号(撤单时填写)",
  4522. "type": "integer"
  4523. },
  4524. "cancelqty": {
  4525. "description": "撤单数量",
  4526. "type": "integer"
  4527. },
  4528. "clientordertime": {
  4529. "description": "客户端委托时间",
  4530. "type": "string"
  4531. },
  4532. "clientticket": {
  4533. "description": "客户端流水号",
  4534. "type": "string"
  4535. },
  4536. "clienttype": {
  4537. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  4538. "type": "integer"
  4539. },
  4540. "closeexchagechargevalue": {
  4541. "description": "平仓交易所手续费设置值",
  4542. "type": "number"
  4543. },
  4544. "closefeealgorithm": {
  4545. "description": "平仓手续费收取方式 1:比率 2:固定",
  4546. "type": "integer"
  4547. },
  4548. "closefreezecharge": {
  4549. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  4550. "type": "number"
  4551. },
  4552. "closememberchargevalue": {
  4553. "description": "平仓会员手续费设置值",
  4554. "type": "number"
  4555. },
  4556. "closeqty": {
  4557. "description": "平仓数量(先建后平操作 需要记录)",
  4558. "type": "integer"
  4559. },
  4560. "closetradeqty": {
  4561. "description": "平仓成交数量(先建后平操作,需要记录)",
  4562. "type": "integer"
  4563. },
  4564. "closeunfreezecharge": {
  4565. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  4566. "type": "number"
  4567. },
  4568. "delistingtype": {
  4569. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  4570. "type": "integer"
  4571. },
  4572. "freezecharge": {
  4573. "description": "冻结手续费",
  4574. "type": "number"
  4575. },
  4576. "freezemargin": {
  4577. "description": "冻结保证金(冻结交易金额)",
  4578. "type": "number"
  4579. },
  4580. "gcaccountid": {
  4581. "description": "账户ID[合约币种]",
  4582. "type": "integer"
  4583. },
  4584. "goodsid": {
  4585. "description": "商品ID",
  4586. "type": "integer"
  4587. },
  4588. "isconfirmexercise": {
  4589. "description": "是否确认行权- 0:否 1:是",
  4590. "type": "integer"
  4591. },
  4592. "ispreexercise": {
  4593. "description": "是否预申报- 0:否 1:是",
  4594. "type": "integer"
  4595. },
  4596. "listingselecttype": {
  4597. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  4598. "type": "integer"
  4599. },
  4600. "marginalgorithm": {
  4601. "description": "保证金收取方式 1:比率 2:固定",
  4602. "type": "integer"
  4603. },
  4604. "marginvalue": {
  4605. "description": "即市保证金设置值",
  4606. "type": "number"
  4607. },
  4608. "marketid": {
  4609. "description": "市场ID",
  4610. "type": "integer"
  4611. },
  4612. "marketmaxsub": {
  4613. "description": "市价最大偏移范围",
  4614. "type": "number"
  4615. },
  4616. "memberuserid": {
  4617. "description": "所属会员UserID",
  4618. "type": "integer"
  4619. },
  4620. "openexchagechargevalue": {
  4621. "description": "建仓交易所手续费设置值",
  4622. "type": "number"
  4623. },
  4624. "openfeealgorithm": {
  4625. "description": "建仓手续费收取方式 1:比率 2:固定",
  4626. "type": "integer"
  4627. },
  4628. "openfreezecharge": {
  4629. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  4630. "type": "number"
  4631. },
  4632. "openmemberchargevalue": {
  4633. "description": "建仓会员手续费设置值",
  4634. "type": "number"
  4635. },
  4636. "openqty": {
  4637. "description": "开仓数量(先建后平操作,需要记录)",
  4638. "type": "integer"
  4639. },
  4640. "opentradeqty": {
  4641. "description": "开仓成交数量(先建后平操作,需要记录)",
  4642. "type": "integer"
  4643. },
  4644. "openunfreezecharge": {
  4645. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  4646. "type": "number"
  4647. },
  4648. "operatetype": {
  4649. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  4650. "type": "integer"
  4651. },
  4652. "operatorid": {
  4653. "description": "登录账号(LoginID)",
  4654. "type": "integer"
  4655. },
  4656. "optiontype": {
  4657. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  4658. "type": "integer"
  4659. },
  4660. "orderprice": {
  4661. "description": "委托价格",
  4662. "type": "number"
  4663. },
  4664. "orderqty": {
  4665. "description": "委托数量",
  4666. "type": "integer"
  4667. },
  4668. "ordersrc": {
  4669. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  4670. "type": "integer"
  4671. },
  4672. "orderstatus": {
  4673. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  4674. "type": "integer"
  4675. },
  4676. "ordertime": {
  4677. "description": "委托时间",
  4678. "type": "string"
  4679. },
  4680. "preexerciseprice": {
  4681. "description": "预申报价格",
  4682. "type": "number"
  4683. },
  4684. "premium": {
  4685. "description": "权利金",
  4686. "type": "number"
  4687. },
  4688. "preorderid": {
  4689. "description": "关联预埋单号(止盈止损单时填写)",
  4690. "type": "integer"
  4691. },
  4692. "pricemode": {
  4693. "description": "取价方式 - 1:市价 2: 限价",
  4694. "type": "integer"
  4695. },
  4696. "quoteid": {
  4697. "description": "报价单ID",
  4698. "type": "integer"
  4699. },
  4700. "relatedid": {
  4701. "description": "关联单号(交割单)",
  4702. "type": "integer"
  4703. },
  4704. "retcode": {
  4705. "description": "错误代码",
  4706. "type": "integer"
  4707. },
  4708. "sessionid": {
  4709. "description": "会话ID",
  4710. "type": "integer"
  4711. },
  4712. "strorderid": {
  4713. "description": "委托单号",
  4714. "type": "string"
  4715. },
  4716. "tradedate": {
  4717. "description": "交易日(yyyyMMdd)",
  4718. "type": "string"
  4719. },
  4720. "tradeproperty": {
  4721. "description": "交易属性",
  4722. "type": "integer"
  4723. },
  4724. "tradeqty": {
  4725. "description": "成交数量",
  4726. "type": "integer"
  4727. },
  4728. "unfreezecharge": {
  4729. "description": "解冻手续费",
  4730. "type": "number"
  4731. },
  4732. "unfreezemargin": {
  4733. "description": "解冻保证金",
  4734. "type": "number"
  4735. },
  4736. "updatetime": {
  4737. "description": "更新时间",
  4738. "type": "string"
  4739. },
  4740. "uuid": {
  4741. "description": "发起端唯一id",
  4742. "type": "string"
  4743. },
  4744. "validtime": {
  4745. "description": "有效期限",
  4746. "type": "string"
  4747. },
  4748. "validtype": {
  4749. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  4750. "type": "integer"
  4751. },
  4752. "volumetype": {
  4753. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  4754. "type": "integer"
  4755. }
  4756. }
  4757. },
  4758. "cptrade.QueryMyCPTradeGoodsRsp": {
  4759. "type": "object",
  4760. "required": [
  4761. "goodscode",
  4762. "goodsid",
  4763. "goodsname",
  4764. "marketid",
  4765. "relatedgoodscode",
  4766. "relatedgoodsname"
  4767. ],
  4768. "properties": {
  4769. "accountid": {
  4770. "description": "卖方账户ID",
  4771. "type": "integer"
  4772. },
  4773. "agreeunit": {
  4774. "description": "合约单位",
  4775. "type": "number"
  4776. },
  4777. "applyid": {
  4778. "description": "关联申请ID",
  4779. "type": "integer"
  4780. },
  4781. "attachmenturl": {
  4782. "description": "附件地址",
  4783. "type": "string"
  4784. },
  4785. "createtime": {
  4786. "description": "创建时间",
  4787. "type": "string"
  4788. },
  4789. "currencyid": {
  4790. "description": "报价货币ID",
  4791. "type": "integer"
  4792. },
  4793. "decimalplace": {
  4794. "description": "报价小数位",
  4795. "type": "integer"
  4796. },
  4797. "endtime": {
  4798. "description": "预售结束时间",
  4799. "type": "string"
  4800. },
  4801. "floorprice": {
  4802. "description": "底价[大宗式竞拍]",
  4803. "type": "number"
  4804. },
  4805. "goodscode": {
  4806. "description": "商品代码(预售)",
  4807. "type": "string"
  4808. },
  4809. "goodsdetail": {
  4810. "description": "详情[大宗]",
  4811. "type": "string"
  4812. },
  4813. "goodsid": {
  4814. "description": "商品ID(自增ID SEQ_GOODS)",
  4815. "type": "integer"
  4816. },
  4817. "goodsname": {
  4818. "description": "商品名称(预售)",
  4819. "type": "string"
  4820. },
  4821. "goodunit": {
  4822. "description": "报价单位",
  4823. "type": "string"
  4824. },
  4825. "goodunitid": {
  4826. "description": "报价单位ID",
  4827. "type": "integer"
  4828. },
  4829. "marketid": {
  4830. "description": "所属市场ID",
  4831. "type": "integer"
  4832. },
  4833. "marketname": {
  4834. "description": "预售市场名称",
  4835. "type": "string"
  4836. },
  4837. "presaledamount": {
  4838. "description": "已预售总金额(预售结束时更新)",
  4839. "type": "number"
  4840. },
  4841. "presaledqty": {
  4842. "description": "已预售量(预售结束时更新)",
  4843. "type": "integer"
  4844. },
  4845. "presalemode": {
  4846. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  4847. "type": "integer"
  4848. },
  4849. "presaleqty": {
  4850. "description": "预售数量",
  4851. "type": "integer"
  4852. },
  4853. "refprice": {
  4854. "description": "参考价格[一口价]",
  4855. "type": "number"
  4856. },
  4857. "relatedgoodscode": {
  4858. "description": "商品代码(订单)",
  4859. "type": "string"
  4860. },
  4861. "relatedgoodsid": {
  4862. "description": "关联交易合约ID",
  4863. "type": "integer"
  4864. },
  4865. "relatedgoodsname": {
  4866. "description": "商品名称(订单)",
  4867. "type": "string"
  4868. },
  4869. "relatedmarketid": {
  4870. "description": "关联交易合约市场ID",
  4871. "type": "integer"
  4872. },
  4873. "sellstatus": {
  4874. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  4875. "type": "integer"
  4876. },
  4877. "startprice": {
  4878. "description": "起拍价[大宗式竞拍]",
  4879. "type": "number"
  4880. },
  4881. "starttime": {
  4882. "description": "预售开始时间",
  4883. "type": "string"
  4884. },
  4885. "tradedate": {
  4886. "description": "交易日(yyyyMMdd)",
  4887. "type": "string"
  4888. },
  4889. "tradeprice": {
  4890. "description": "成交价[大宗]",
  4891. "type": "number"
  4892. },
  4893. "userid": {
  4894. "description": "卖方用户ID",
  4895. "type": "integer"
  4896. }
  4897. }
  4898. },
  4899. "cptrade.QueryPresaleGoodsExRsp": {
  4900. "type": "object",
  4901. "required": [
  4902. "goodsid"
  4903. ],
  4904. "properties": {
  4905. "attachmenturl": {
  4906. "description": "附件地址",
  4907. "type": "string"
  4908. },
  4909. "createtime": {
  4910. "description": "创建时间",
  4911. "type": "string"
  4912. },
  4913. "endtime": {
  4914. "description": "预售结束时间",
  4915. "type": "string"
  4916. },
  4917. "floorprice": {
  4918. "description": "底价[大宗式竞拍]",
  4919. "type": "number"
  4920. },
  4921. "goodsdetail": {
  4922. "description": "详情[大宗]",
  4923. "type": "string"
  4924. },
  4925. "goodsid": {
  4926. "description": "商品ID(预售)",
  4927. "type": "integer"
  4928. },
  4929. "goodunit": {
  4930. "description": "报价单位",
  4931. "type": "string"
  4932. },
  4933. "marketid": {
  4934. "description": "预售市场ID - 根据预售模式选择市场",
  4935. "type": "integer"
  4936. },
  4937. "presaledamount": {
  4938. "description": "已预售总金额(预售结束时更新)",
  4939. "type": "number"
  4940. },
  4941. "presaledqty": {
  4942. "description": "已预售量(预售结束时更新)",
  4943. "type": "integer"
  4944. },
  4945. "presalemode": {
  4946. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  4947. "type": "integer"
  4948. },
  4949. "presaleqty": {
  4950. "description": "预售数量",
  4951. "type": "integer"
  4952. },
  4953. "refprice": {
  4954. "description": "参考价格[一口价]",
  4955. "type": "number"
  4956. },
  4957. "relatedgoodsid": {
  4958. "description": "关联交易合约ID",
  4959. "type": "integer"
  4960. },
  4961. "relatedmarketid": {
  4962. "description": "关联交易合约市场ID",
  4963. "type": "integer"
  4964. },
  4965. "sellstatus": {
  4966. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  4967. "type": "integer"
  4968. },
  4969. "startprice": {
  4970. "description": "起拍价[大宗式竞拍]",
  4971. "type": "number"
  4972. },
  4973. "starttime": {
  4974. "description": "预售开始时间",
  4975. "type": "string"
  4976. },
  4977. "tradedate": {
  4978. "description": "交易日(yyyyMMdd)",
  4979. "type": "string"
  4980. },
  4981. "tradeprice": {
  4982. "description": "成交价[大宗]",
  4983. "type": "number"
  4984. }
  4985. }
  4986. },
  4987. "delivery.QueryDeliveryRelationRsp": {
  4988. "type": "object",
  4989. "required": [
  4990. "begindate",
  4991. "enddate",
  4992. "goodsid",
  4993. "mindeliveryqty",
  4994. "xdeliveryratio"
  4995. ],
  4996. "properties": {
  4997. "begindate": {
  4998. "description": "起始日期(yyyyMMdd)",
  4999. "type": "string"
  5000. },
  5001. "buytemplateid": {
  5002. "description": "买履约计划模板ID",
  5003. "type": "integer"
  5004. },
  5005. "deliverygoodscode": {
  5006. "description": "品种代码",
  5007. "type": "string"
  5008. },
  5009. "deliverygoodsid": {
  5010. "description": "交割商品",
  5011. "type": "integer"
  5012. },
  5013. "deliverygoodsname": {
  5014. "description": "品种名称",
  5015. "type": "string"
  5016. },
  5017. "deliverymode": {
  5018. "description": "交割方式 - 1:点选式 2:申报式",
  5019. "type": "integer"
  5020. },
  5021. "deliverypricerule": {
  5022. "description": "交割价规则- 1:行情价 2:建仓价",
  5023. "type": "integer"
  5024. },
  5025. "deliverytype": {
  5026. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  5027. "type": "integer"
  5028. },
  5029. "enddate": {
  5030. "description": "结束日期(yyyyMMdd)",
  5031. "type": "string"
  5032. },
  5033. "goodscode": {
  5034. "description": "商品代码",
  5035. "type": "string"
  5036. },
  5037. "goodsid": {
  5038. "description": "交易合约ID",
  5039. "type": "integer"
  5040. },
  5041. "goodsname": {
  5042. "description": "商品名称",
  5043. "type": "string"
  5044. },
  5045. "marketid": {
  5046. "description": "市场ID",
  5047. "type": "integer"
  5048. },
  5049. "mindeliveryqty": {
  5050. "description": "最小交割系数(K)",
  5051. "type": "integer"
  5052. },
  5053. "p2deliveryprice": {
  5054. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  5055. "type": "number"
  5056. },
  5057. "p2deliveryratio": {
  5058. "description": "P2合约系数(p)",
  5059. "type": "integer"
  5060. },
  5061. "p2goodsid": {
  5062. "description": "P2合约ID",
  5063. "type": "integer"
  5064. },
  5065. "p2pricemode": {
  5066. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  5067. "type": "integer"
  5068. },
  5069. "pdeliveryprice": {
  5070. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  5071. "type": "number"
  5072. },
  5073. "pdeliveryratio": {
  5074. "description": "P合约系数(n)",
  5075. "type": "integer"
  5076. },
  5077. "pgoodsid": {
  5078. "description": "P合约ID",
  5079. "type": "integer"
  5080. },
  5081. "ppricemode": {
  5082. "description": "P合约价格方式 - 1:商品价 2:固定值",
  5083. "type": "integer"
  5084. },
  5085. "rratio": {
  5086. "description": "兑换系数(R)",
  5087. "type": "integer"
  5088. },
  5089. "rratio1": {
  5090. "description": "兑换系数(交易合约)(R1)",
  5091. "type": "integer"
  5092. },
  5093. "rratio2": {
  5094. "description": "兑换系数(仓单标准)(R2)",
  5095. "type": "integer"
  5096. },
  5097. "selltemplateid": {
  5098. "description": "卖履约计划模板ID",
  5099. "type": "integer"
  5100. },
  5101. "wrstandardid": {
  5102. "description": "仓单标准ID",
  5103. "type": "integer"
  5104. },
  5105. "xdeliveryratio": {
  5106. "description": "交易合约系数(m)",
  5107. "type": "integer"
  5108. }
  5109. }
  5110. },
  5111. "ermcp.QryErmcpRsp": {
  5112. "type": "object",
  5113. "properties": {
  5114. "accountid": {
  5115. "description": "账户ID",
  5116. "type": "string"
  5117. },
  5118. "accountname": {
  5119. "description": "账户名称",
  5120. "type": "string"
  5121. },
  5122. "contracctstatus": {
  5123. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5124. "type": "integer"
  5125. },
  5126. "convertfactor": {
  5127. "description": "标仓系数",
  5128. "type": "number"
  5129. },
  5130. "daikaiAmount": {
  5131. "description": "待开票额",
  5132. "type": "number"
  5133. },
  5134. "deliveryenddate": {
  5135. "description": "交割结束日",
  5136. "type": "string"
  5137. },
  5138. "deliverygoodscode": {
  5139. "description": "现货商品代码",
  5140. "type": "string"
  5141. },
  5142. "deliverygoodsid": {
  5143. "description": "现货商品ID",
  5144. "type": "integer"
  5145. },
  5146. "deliverygoodsname": {
  5147. "description": "现货商品名称",
  5148. "type": "string"
  5149. },
  5150. "deliverystartdate": {
  5151. "description": "交割开始日",
  5152. "type": "string"
  5153. },
  5154. "enddate": {
  5155. "description": "点价结束日",
  5156. "type": "string"
  5157. },
  5158. "enumdicname": {
  5159. "description": "单位名称",
  5160. "type": "string"
  5161. },
  5162. "goodscode": {
  5163. "description": "点价商品代码",
  5164. "type": "string"
  5165. },
  5166. "goodsid": {
  5167. "description": "点价商品ID",
  5168. "type": "integer"
  5169. },
  5170. "invoiceamount": {
  5171. "description": "已开票额",
  5172. "type": "number"
  5173. },
  5174. "payamount": {
  5175. "description": "已收付额(收款或付款)",
  5176. "type": "number"
  5177. },
  5178. "pricedqty": {
  5179. "description": "已定价量",
  5180. "type": "number"
  5181. },
  5182. "pricemove": {
  5183. "description": "升贴水",
  5184. "type": "number"
  5185. },
  5186. "pricetype": {
  5187. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5188. "type": "integer"
  5189. },
  5190. "producttype": {
  5191. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  5192. "type": "integer"
  5193. },
  5194. "qty": {
  5195. "description": "合同量",
  5196. "type": "number"
  5197. },
  5198. "spotcontractid": {
  5199. "description": "合同ID",
  5200. "type": "integer"
  5201. },
  5202. "spotgoodsdesc": {
  5203. "description": "商品型号(商品规格)",
  5204. "type": "string"
  5205. },
  5206. "startdate": {
  5207. "description": "点价开始日",
  5208. "type": "string"
  5209. },
  5210. "unpayAmount": {
  5211. "description": "待支收额(支付或收款)",
  5212. "type": "number"
  5213. },
  5214. "unpricedqty": {
  5215. "description": "未定价量",
  5216. "type": "number"
  5217. },
  5218. "unsureqty": {
  5219. "description": "未确定量",
  5220. "type": "number"
  5221. }
  5222. }
  5223. },
  5224. "ermcp.QryHedgePlanRsp": {
  5225. "type": "object",
  5226. "properties": {
  5227. "contracttype": {
  5228. "description": "计划类型 - 1:采购 -1:销售",
  5229. "type": "integer"
  5230. },
  5231. "convertfactor": {
  5232. "description": "标仓系数",
  5233. "type": "number"
  5234. },
  5235. "deliverygoodsid": {
  5236. "description": "现货品种ID",
  5237. "type": "integer"
  5238. },
  5239. "deliverygoodsname": {
  5240. "description": "现货品种名称",
  5241. "type": "string"
  5242. },
  5243. "hedgeplanid": {
  5244. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  5245. "type": "string"
  5246. },
  5247. "hedgeplanno": {
  5248. "description": "套保计划编号",
  5249. "type": "string"
  5250. },
  5251. "hedgeplanstatus": {
  5252. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5253. "type": "integer"
  5254. },
  5255. "planqty": {
  5256. "description": "计划数量",
  5257. "type": "number"
  5258. },
  5259. "plantime": {
  5260. "description": "计划时间",
  5261. "type": "string"
  5262. },
  5263. "producttype": {
  5264. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  5265. "type": "integer"
  5266. },
  5267. "remark": {
  5268. "description": "备注",
  5269. "type": "string"
  5270. },
  5271. "spotgoodsdesc": {
  5272. "description": "商品型号",
  5273. "type": "string"
  5274. },
  5275. "wrstandardid": {
  5276. "description": "现货商品ID",
  5277. "type": "integer"
  5278. },
  5279. "wrstandardname": {
  5280. "description": "现货商品名称",
  5281. "type": "string"
  5282. }
  5283. }
  5284. },
  5285. "ermcp.QryUserInfoRsp": {
  5286. "type": "object",
  5287. "properties": {
  5288. "address": {
  5289. "description": "通讯地址",
  5290. "type": "string"
  5291. },
  5292. "cardnum": {
  5293. "description": "证件号码",
  5294. "type": "string"
  5295. },
  5296. "cardtype": {
  5297. "description": "证件类型",
  5298. "type": "string"
  5299. },
  5300. "customername": {
  5301. "description": "企业名称",
  5302. "type": "string"
  5303. },
  5304. "mobile": {
  5305. "description": "手机号码",
  5306. "type": "string"
  5307. },
  5308. "remark": {
  5309. "description": "备注",
  5310. "type": "string"
  5311. },
  5312. "status": {
  5313. "description": "账户状态",
  5314. "type": "string"
  5315. },
  5316. "telphone": {
  5317. "description": "联系电话",
  5318. "type": "string"
  5319. },
  5320. "userinfotype": {
  5321. "description": "客户类型",
  5322. "type": "string"
  5323. }
  5324. }
  5325. },
  5326. "erms2.QueryArbitrageStrategyRsp": {
  5327. "type": "object",
  5328. "required": [
  5329. "asapplyid"
  5330. ],
  5331. "properties": {
  5332. "applybasis": {
  5333. "description": "申请基差",
  5334. "type": "number"
  5335. },
  5336. "asapplyid": {
  5337. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  5338. "type": "string"
  5339. },
  5340. "asname": {
  5341. "description": "策略名称",
  5342. "type": "string"
  5343. },
  5344. "asno": {
  5345. "description": "策略编号",
  5346. "type": "string"
  5347. },
  5348. "basischangepl": {
  5349. "description": "基差变动损益[结算更新]",
  5350. "type": "number"
  5351. },
  5352. "biztype": {
  5353. "description": "业务类型 - 1:正向套利 -1:反向套利",
  5354. "type": "integer"
  5355. },
  5356. "closetradedate": {
  5357. "description": "完结交易日(yyyyMMdd)",
  5358. "type": "string"
  5359. },
  5360. "curbasis": {
  5361. "description": "当前基差[结算更新]",
  5362. "type": "number"
  5363. },
  5364. "deliverygoodsid": {
  5365. "description": "现货品种ID",
  5366. "type": "integer"
  5367. },
  5368. "futureavgprice": {
  5369. "description": "期货建仓均价",
  5370. "type": "number"
  5371. },
  5372. "futurecloseamount": {
  5373. "description": "期货平仓金额",
  5374. "type": "number"
  5375. },
  5376. "futurecloseqty": {
  5377. "description": "期货平仓数量",
  5378. "type": "number"
  5379. },
  5380. "futureopenamount": {
  5381. "description": "期货开仓金额",
  5382. "type": "number"
  5383. },
  5384. "futureopenqty": {
  5385. "description": "期货开仓数量",
  5386. "type": "number"
  5387. },
  5388. "futurepl": {
  5389. "description": "期货总盈亏[结算更新]",
  5390. "type": "number"
  5391. },
  5392. "futureqty": {
  5393. "description": "期货持仓数量",
  5394. "type": "number"
  5395. },
  5396. "futurequote": {
  5397. "description": "期货额度",
  5398. "type": "number"
  5399. },
  5400. "goodsgroupid": {
  5401. "description": "期货品种ID",
  5402. "type": "integer"
  5403. },
  5404. "marketid": {
  5405. "description": "市场ID",
  5406. "type": "integer"
  5407. },
  5408. "netexposure": {
  5409. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  5410. "type": "number"
  5411. },
  5412. "netexposurepl": {
  5413. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  5414. "type": "number"
  5415. },
  5416. "netexposurerate": {
  5417. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  5418. "type": "number"
  5419. },
  5420. "openbasis": {
  5421. "description": "建仓基差",
  5422. "type": "number"
  5423. },
  5424. "pricedspotqty": {
  5425. "description": "已定价现货数量",
  5426. "type": "number"
  5427. },
  5428. "pricedspotqtynotax": {
  5429. "description": "已定价现货不含税数量",
  5430. "type": "number"
  5431. },
  5432. "remark": {
  5433. "description": "备注",
  5434. "type": "string"
  5435. },
  5436. "spotavgprice": {
  5437. "description": "现货均价",
  5438. "type": "number"
  5439. },
  5440. "spotbuyamount": {
  5441. "description": "现货采购金额",
  5442. "type": "number"
  5443. },
  5444. "spotbuyqty": {
  5445. "description": "现货采购数量",
  5446. "type": "number"
  5447. },
  5448. "spotpl": {
  5449. "description": "现货总盈亏[结算更新]",
  5450. "type": "number"
  5451. },
  5452. "spotquota": {
  5453. "description": "现货额度",
  5454. "type": "number"
  5455. },
  5456. "spotsellamount": {
  5457. "description": "现货销售金额",
  5458. "type": "number"
  5459. },
  5460. "spotsellqty": {
  5461. "description": "现货销售数量",
  5462. "type": "number"
  5463. },
  5464. "spotusedquota": {
  5465. "description": "现货占用资金",
  5466. "type": "number"
  5467. },
  5468. "strategystatus": {
  5469. "description": "策略状态 - 0:未结束 1:已结束",
  5470. "type": "integer"
  5471. },
  5472. "totalpl": {
  5473. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  5474. "type": "number"
  5475. },
  5476. "tradedate": {
  5477. "description": "交易日(yyyyMMdd)",
  5478. "type": "string"
  5479. },
  5480. "updatetime": {
  5481. "description": "更新时间",
  5482. "type": "string"
  5483. },
  5484. "usedquota": {
  5485. "description": "已占用资金",
  5486. "type": "number"
  5487. },
  5488. "userid": {
  5489. "description": "所属机构",
  5490. "type": "integer"
  5491. }
  5492. }
  5493. },
  5494. "erms2.QueryInnerTradeDetailRsp": {
  5495. "type": "object",
  5496. "required": [
  5497. "asapplyid",
  5498. "buyorsell",
  5499. "goodscode",
  5500. "goodsgroupid",
  5501. "goodsgroupname",
  5502. "goodsname",
  5503. "tradeid"
  5504. ],
  5505. "properties": {
  5506. "accountid": {
  5507. "description": "账号ID",
  5508. "type": "integer"
  5509. },
  5510. "agreeunit": {
  5511. "description": "合约单位",
  5512. "type": "number"
  5513. },
  5514. "asapplyid": {
  5515. "description": "策略申请ID",
  5516. "type": "integer"
  5517. },
  5518. "asname": {
  5519. "description": "策略名称",
  5520. "type": "string"
  5521. },
  5522. "asno": {
  5523. "description": "策略编号",
  5524. "type": "string"
  5525. },
  5526. "buyorsell": {
  5527. "description": "方向 - 0:买 1:卖",
  5528. "type": "integer"
  5529. },
  5530. "channelbuildtype": {
  5531. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  5532. "type": "integer"
  5533. },
  5534. "closetype": {
  5535. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  5536. "type": "integer"
  5537. },
  5538. "decimalplace": {
  5539. "description": "报价小数位",
  5540. "type": "integer"
  5541. },
  5542. "detailtype": {
  5543. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  5544. "type": "integer"
  5545. },
  5546. "exexchangecode": {
  5547. "description": "外部交易所代码",
  5548. "type": "string"
  5549. },
  5550. "exexchangename": {
  5551. "description": "外部交易所名称",
  5552. "type": "string"
  5553. },
  5554. "goodscode": {
  5555. "description": "商品代码(合约)",
  5556. "type": "string"
  5557. },
  5558. "goodsgroupid": {
  5559. "description": "商品组ID(品种ID)",
  5560. "type": "integer"
  5561. },
  5562. "goodsgroupname": {
  5563. "description": "商品组名称(品种)",
  5564. "type": "string"
  5565. },
  5566. "goodsid": {
  5567. "description": "商品ID",
  5568. "type": "integer"
  5569. },
  5570. "goodsname": {
  5571. "description": "商品名称(合约)",
  5572. "type": "string"
  5573. },
  5574. "goodunit": {
  5575. "description": "报价单位",
  5576. "type": "string"
  5577. },
  5578. "marketid": {
  5579. "description": "市场ID",
  5580. "type": "integer"
  5581. },
  5582. "orderid": {
  5583. "description": "委托单号",
  5584. "type": "string"
  5585. },
  5586. "outgoodscode": {
  5587. "description": "商品代码(外部)",
  5588. "type": "string"
  5589. },
  5590. "relatedouttradeid": {
  5591. "description": "关联外部成交单ID",
  5592. "type": "string"
  5593. },
  5594. "remark": {
  5595. "description": "备注",
  5596. "type": "string"
  5597. },
  5598. "spotcontractid": {
  5599. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  5600. "type": "integer"
  5601. },
  5602. "spotcontractno": {
  5603. "description": "现货合同编号",
  5604. "type": "string"
  5605. },
  5606. "tradeid": {
  5607. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5608. "type": "string"
  5609. },
  5610. "tradeprice": {
  5611. "description": "成交价格",
  5612. "type": "number"
  5613. },
  5614. "tradeqty": {
  5615. "description": "成交数量",
  5616. "type": "integer"
  5617. },
  5618. "tradetime": {
  5619. "description": "成交时间",
  5620. "type": "string"
  5621. },
  5622. "updatetime": {
  5623. "description": "更新时间",
  5624. "type": "string"
  5625. }
  5626. }
  5627. },
  5628. "erms2.QuerySpotContractRsp": {
  5629. "type": "object",
  5630. "required": [
  5631. "spotcontractid"
  5632. ],
  5633. "properties": {
  5634. "accountid": {
  5635. "description": "资金账户ID",
  5636. "type": "integer"
  5637. },
  5638. "areauserid": {
  5639. "description": "所属机构",
  5640. "type": "integer"
  5641. },
  5642. "closedate": {
  5643. "description": "终止日期",
  5644. "type": "string"
  5645. },
  5646. "closeremark": {
  5647. "description": "结束备注",
  5648. "type": "string"
  5649. },
  5650. "closetradedate": {
  5651. "description": "完结交易日(yyyyMMdd)",
  5652. "type": "string"
  5653. },
  5654. "closetype": {
  5655. "description": "终止类型 - 1:违约 2:提前终止",
  5656. "type": "integer"
  5657. },
  5658. "contractamount": {
  5659. "description": "合同金额",
  5660. "type": "number"
  5661. },
  5662. "contractattachment": {
  5663. "description": "合同附件",
  5664. "type": "string"
  5665. },
  5666. "contractno": {
  5667. "description": "现货合同编号",
  5668. "type": "string"
  5669. },
  5670. "contractqty": {
  5671. "description": "合同数量(数值) (用于计算)",
  5672. "type": "number"
  5673. },
  5674. "contractqtychar": {
  5675. "description": "合同数量\\已订价数量 (用于显示)",
  5676. "type": "string"
  5677. },
  5678. "contractstatus": {
  5679. "description": "合同状态 - 0:未结束 1:已结束",
  5680. "type": "integer"
  5681. },
  5682. "contracttype": {
  5683. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  5684. "type": "integer"
  5685. },
  5686. "customeraccountid": {
  5687. "description": "客户资金账户ID",
  5688. "type": "integer"
  5689. },
  5690. "customeruserid": {
  5691. "description": "客户ID",
  5692. "type": "integer"
  5693. },
  5694. "deliverygoodsdesc": {
  5695. "description": "品种说明",
  5696. "type": "string"
  5697. },
  5698. "deliverygoodsid": {
  5699. "description": "现货品种ID",
  5700. "type": "integer"
  5701. },
  5702. "handlestatus": {
  5703. "description": "处理状态",
  5704. "type": "integer"
  5705. },
  5706. "invoiceatt": {
  5707. "description": "发票附件",
  5708. "type": "string"
  5709. },
  5710. "invoicedatetime": {
  5711. "description": "开收票更新时间",
  5712. "type": "string"
  5713. },
  5714. "invoiceopentime": {
  5715. "description": "开票时间",
  5716. "type": "string"
  5717. },
  5718. "invoiceremark": {
  5719. "description": "发票备注",
  5720. "type": "string"
  5721. },
  5722. "invoicestatus": {
  5723. "description": "开收票状态 - 0:未开票 1:已开票",
  5724. "type": "integer"
  5725. },
  5726. "lastdate": {
  5727. "description": "交货时间",
  5728. "type": "string"
  5729. },
  5730. "marketid": {
  5731. "description": "市场ID",
  5732. "type": "integer"
  5733. },
  5734. "paydatetime": {
  5735. "description": "收付款更新时间",
  5736. "type": "string"
  5737. },
  5738. "payremark": {
  5739. "description": "收付款备注",
  5740. "type": "string"
  5741. },
  5742. "paystatus": {
  5743. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  5744. "type": "integer"
  5745. },
  5746. "positionqty": {
  5747. "description": "头寸数量 - 合同数量去小数部分",
  5748. "type": "integer"
  5749. },
  5750. "producttype": {
  5751. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  5752. "type": "integer"
  5753. },
  5754. "relatedqty": {
  5755. "description": "已关联数量",
  5756. "type": "number"
  5757. },
  5758. "relatedstatus": {
  5759. "description": "关联完结状态 - 0:未结束 1:已结束",
  5760. "type": "integer"
  5761. },
  5762. "remark": {
  5763. "description": "备注",
  5764. "type": "string"
  5765. },
  5766. "signdate": {
  5767. "description": "签订日期",
  5768. "type": "string"
  5769. },
  5770. "spotcontractid": {
  5771. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  5772. "type": "string"
  5773. },
  5774. "spotdatetime": {
  5775. "description": "收发货更新时间",
  5776. "type": "string"
  5777. },
  5778. "spotprice": {
  5779. "description": "价格",
  5780. "type": "number"
  5781. },
  5782. "spotremark": {
  5783. "description": "收发货备注",
  5784. "type": "string"
  5785. },
  5786. "spotstatus": {
  5787. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  5788. "type": "integer"
  5789. },
  5790. "tradedate": {
  5791. "description": "交易日(yyyyMMdd)",
  5792. "type": "string"
  5793. },
  5794. "userid": {
  5795. "description": "业务员用户ID",
  5796. "type": "integer"
  5797. },
  5798. "warehouseid": {
  5799. "description": "仓库ID",
  5800. "type": "integer"
  5801. },
  5802. "wrfactortypeid": {
  5803. "description": "仓单要素类型ID",
  5804. "type": "integer"
  5805. },
  5806. "wrstandardid": {
  5807. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  5808. "type": "integer"
  5809. }
  5810. }
  5811. },
  5812. "erms3.AddErms2ASApplyReq": {
  5813. "type": "object",
  5814. "required": [
  5815. "asapplyid"
  5816. ],
  5817. "properties": {
  5818. "applybasis": {
  5819. "description": "申请基差",
  5820. "type": "number"
  5821. },
  5822. "applystatus": {
  5823. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5824. "type": "integer"
  5825. },
  5826. "asapplyid": {
  5827. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  5828. "type": "integer"
  5829. },
  5830. "asname": {
  5831. "description": "策略名称",
  5832. "type": "string"
  5833. },
  5834. "asno": {
  5835. "description": "策略编号",
  5836. "type": "string"
  5837. },
  5838. "auditid": {
  5839. "description": "审核人",
  5840. "type": "integer"
  5841. },
  5842. "auditremark": {
  5843. "description": "审核备注",
  5844. "type": "string"
  5845. },
  5846. "audittime": {
  5847. "description": "审核时间",
  5848. "type": "string"
  5849. },
  5850. "biztype": {
  5851. "description": "业务类型 - 1:正向套利 2:反向套利",
  5852. "type": "integer"
  5853. },
  5854. "createtime": {
  5855. "description": "创建时间",
  5856. "type": "string"
  5857. },
  5858. "creatorid": {
  5859. "description": "创建人",
  5860. "type": "integer"
  5861. },
  5862. "deliverygoodsid": {
  5863. "description": "现货品种ID",
  5864. "type": "integer"
  5865. },
  5866. "futurequote": {
  5867. "description": "期货额度",
  5868. "type": "number"
  5869. },
  5870. "goodsgroupid": {
  5871. "description": "期货品种ID",
  5872. "type": "integer"
  5873. },
  5874. "marketid": {
  5875. "description": "市场ID",
  5876. "type": "integer"
  5877. },
  5878. "remark": {
  5879. "description": "备注",
  5880. "type": "string"
  5881. },
  5882. "spotquota": {
  5883. "description": "现货额度",
  5884. "type": "number"
  5885. },
  5886. "tradedate": {
  5887. "description": "交易日(yyyyMMdd)",
  5888. "type": "string"
  5889. },
  5890. "userid": {
  5891. "description": "所属机构",
  5892. "type": "integer"
  5893. }
  5894. }
  5895. },
  5896. "erms3.AddErms2SpotTradeApplyReq": {
  5897. "type": "object",
  5898. "required": [
  5899. "spottradeid"
  5900. ],
  5901. "properties": {
  5902. "applyjsondetail": {
  5903. "description": "申请明细(JSON)",
  5904. "type": "string"
  5905. },
  5906. "applystatus": {
  5907. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5908. "type": "integer"
  5909. },
  5910. "areauserid": {
  5911. "description": "所属机构",
  5912. "type": "integer"
  5913. },
  5914. "auditid": {
  5915. "description": "审核人",
  5916. "type": "integer"
  5917. },
  5918. "auditremark": {
  5919. "description": "审核备注",
  5920. "type": "string"
  5921. },
  5922. "audittime": {
  5923. "description": "审核时间",
  5924. "type": "string"
  5925. },
  5926. "createtime": {
  5927. "description": "创建时间",
  5928. "type": "string"
  5929. },
  5930. "creatorid": {
  5931. "description": "创建人",
  5932. "type": "integer"
  5933. },
  5934. "deliverygoodsid": {
  5935. "description": "现货品种ID",
  5936. "type": "integer"
  5937. },
  5938. "futureaccountid": {
  5939. "description": "期货资金账户",
  5940. "type": "integer"
  5941. },
  5942. "goodsgroupid": {
  5943. "description": "期货品种",
  5944. "type": "integer"
  5945. },
  5946. "marketid": {
  5947. "description": "市场ID",
  5948. "type": "integer"
  5949. },
  5950. "remark": {
  5951. "description": "备注",
  5952. "type": "string"
  5953. },
  5954. "spotaccountid": {
  5955. "description": "现货资金账户",
  5956. "type": "integer"
  5957. },
  5958. "spottradeid": {
  5959. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  5960. "type": "integer"
  5961. },
  5962. "spottradename": {
  5963. "description": "业务名称",
  5964. "type": "string"
  5965. },
  5966. "spottradeno": {
  5967. "description": "业务编号",
  5968. "type": "string"
  5969. },
  5970. "tradedate": {
  5971. "description": "交易日(yyyyMMdd)",
  5972. "type": "string"
  5973. },
  5974. "wrstandardid": {
  5975. "description": "仓单标准ID",
  5976. "type": "integer"
  5977. }
  5978. }
  5979. },
  5980. "erms3.AddSpotContractApplyReq": {
  5981. "type": "object",
  5982. "required": [
  5983. "accountid",
  5984. "areauserid",
  5985. "contractno",
  5986. "contracttype",
  5987. "customeraccountid",
  5988. "customeruserid",
  5989. "details",
  5990. "orimargin",
  5991. "signdate"
  5992. ],
  5993. "properties": {
  5994. "accountid": {
  5995. "description": "资金账户ID",
  5996. "type": "integer"
  5997. },
  5998. "areauserid": {
  5999. "description": "所属机构",
  6000. "type": "integer"
  6001. },
  6002. "contractattachment": {
  6003. "description": "合同附件",
  6004. "type": "string"
  6005. },
  6006. "contractno": {
  6007. "description": "现货合同编号",
  6008. "type": "string"
  6009. },
  6010. "contracttype": {
  6011. "description": "现货合同类型 - 1:采购 -1:销售",
  6012. "type": "integer"
  6013. },
  6014. "creatorid": {
  6015. "description": "申请人",
  6016. "type": "integer"
  6017. },
  6018. "customeraccountid": {
  6019. "description": "客户资金账户ID",
  6020. "type": "integer"
  6021. },
  6022. "customeruserid": {
  6023. "description": "客户ID",
  6024. "type": "integer"
  6025. },
  6026. "details": {
  6027. "description": "明细",
  6028. "type": "array",
  6029. "items": {
  6030. "$ref": "#/definitions/erms3.SoptContractDetail"
  6031. }
  6032. },
  6033. "orimargin": {
  6034. "description": "初始保证金",
  6035. "type": "number"
  6036. },
  6037. "remark": {
  6038. "description": "备注",
  6039. "type": "string"
  6040. },
  6041. "signdate": {
  6042. "description": "签订日期",
  6043. "type": "string"
  6044. }
  6045. }
  6046. },
  6047. "erms3.AddSpotContractApplyRsp": {
  6048. "type": "object",
  6049. "required": [
  6050. "contractno"
  6051. ],
  6052. "properties": {
  6053. "contractno": {
  6054. "description": "现货合同编号",
  6055. "type": "string"
  6056. },
  6057. "spotcontractid": {
  6058. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  6059. "type": "integer"
  6060. }
  6061. }
  6062. },
  6063. "erms3.AddUserInfoApplyReq": {
  6064. "type": "object",
  6065. "required": [
  6066. "userid"
  6067. ],
  6068. "properties": {
  6069. "accountid": {
  6070. "description": "交易系统帐号Id (加密存储)",
  6071. "type": "integer"
  6072. },
  6073. "areacode": {
  6074. "description": "机构代码",
  6075. "type": "string"
  6076. },
  6077. "areaid": {
  6078. "description": "机构Id",
  6079. "type": "integer"
  6080. },
  6081. "attachment1": {
  6082. "description": "附件1",
  6083. "type": "string"
  6084. },
  6085. "attachment2": {
  6086. "description": "附件2",
  6087. "type": "string"
  6088. },
  6089. "attachment3": {
  6090. "description": "附件3",
  6091. "type": "string"
  6092. },
  6093. "attachment4": {
  6094. "description": "附件4",
  6095. "type": "string"
  6096. },
  6097. "attachment5": {
  6098. "description": "附件5",
  6099. "type": "string"
  6100. },
  6101. "auditedby": {
  6102. "description": "审核人",
  6103. "type": "string"
  6104. },
  6105. "auditime": {
  6106. "description": "审核时间",
  6107. "type": "string"
  6108. },
  6109. "bankaccount": {
  6110. "description": "银行帐号 (加密存储)",
  6111. "type": "string"
  6112. },
  6113. "bankaccountname": {
  6114. "description": "收款人名称",
  6115. "type": "string"
  6116. },
  6117. "bankcardbackphotourl": {
  6118. "description": "银行卡背面照地址",
  6119. "type": "string"
  6120. },
  6121. "bankcardfrontphotourl": {
  6122. "description": "银行卡正面照地址",
  6123. "type": "string"
  6124. },
  6125. "bankid": {
  6126. "description": "银行编码",
  6127. "type": "string"
  6128. },
  6129. "bankname": {
  6130. "description": "银行名称",
  6131. "type": "string"
  6132. },
  6133. "bankpictureurl": {
  6134. "description": "银行卡正面地址",
  6135. "type": "string"
  6136. },
  6137. "biznature": {
  6138. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6139. "type": "integer"
  6140. },
  6141. "bizscope": {
  6142. "description": "企业经营范围(企业)",
  6143. "type": "string"
  6144. },
  6145. "biztype": {
  6146. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  6147. "type": "integer"
  6148. },
  6149. "brokerid": {
  6150. "description": "经纪人ID(加密存储)",
  6151. "type": "string"
  6152. },
  6153. "cardaddress": {
  6154. "description": "证件地址 (加密存储)",
  6155. "type": "string"
  6156. },
  6157. "cardbackphotourl": {
  6158. "description": "背面证件照地址",
  6159. "type": "string"
  6160. },
  6161. "cardfrontphotourl": {
  6162. "description": "正面证件照地址",
  6163. "type": "string"
  6164. },
  6165. "cardnum": {
  6166. "description": "证件号码 (加密存储)",
  6167. "type": "string"
  6168. },
  6169. "cardtype": {
  6170. "description": "证件类型",
  6171. "type": "integer"
  6172. },
  6173. "cityid": {
  6174. "description": "市",
  6175. "type": "integer"
  6176. },
  6177. "company": {
  6178. "description": "公司(个人)",
  6179. "type": "string"
  6180. },
  6181. "contactcardbackphotourl": {
  6182. "description": "联系人证件背面图片地址",
  6183. "type": "string"
  6184. },
  6185. "contactcardfrontphotourl": {
  6186. "description": "联系人证件正面图片地址",
  6187. "type": "string"
  6188. },
  6189. "contactname": {
  6190. "description": "联系人",
  6191. "type": "string"
  6192. },
  6193. "countryid": {
  6194. "description": "国家",
  6195. "type": "integer"
  6196. },
  6197. "createtime": {
  6198. "description": "开户申请时间",
  6199. "type": "string"
  6200. },
  6201. "cusbankid": {
  6202. "description": "签约类型",
  6203. "type": "string"
  6204. },
  6205. "cusbankname": {
  6206. "description": "签约类型名称",
  6207. "type": "string"
  6208. },
  6209. "customername": {
  6210. "description": "客户名称(企业名称)",
  6211. "type": "string"
  6212. },
  6213. "districtid": {
  6214. "description": "地区",
  6215. "type": "integer"
  6216. },
  6217. "email": {
  6218. "description": "Email地址(加密存储)",
  6219. "type": "string"
  6220. },
  6221. "halfbodyphotourl": {
  6222. "description": "半身照地址",
  6223. "type": "string"
  6224. },
  6225. "headurl": {
  6226. "description": "头像地址",
  6227. "type": "string"
  6228. },
  6229. "ipaddress": {
  6230. "description": "IP地址",
  6231. "type": "string"
  6232. },
  6233. "isvalidate": {
  6234. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  6235. "type": "string"
  6236. },
  6237. "legalcardbackphotourl": {
  6238. "description": "法人身份证背面照地址",
  6239. "type": "string"
  6240. },
  6241. "legalcardfrontphotourl": {
  6242. "description": "法人身份证正面照地址",
  6243. "type": "string"
  6244. },
  6245. "legalpersonname": {
  6246. "description": "法人姓名(企业)",
  6247. "type": "string"
  6248. },
  6249. "logincode": {
  6250. "description": "登录帐号 (加密存储)",
  6251. "type": "string"
  6252. },
  6253. "memberareaid": {
  6254. "description": "所属会员ID",
  6255. "type": "integer"
  6256. },
  6257. "mobile2": {
  6258. "description": "手机号码[明文-尚志]",
  6259. "type": "string"
  6260. },
  6261. "mobilephone": {
  6262. "description": "手机号码 (加密存储)",
  6263. "type": "string"
  6264. },
  6265. "modifiedby": {
  6266. "description": "修改人帐号",
  6267. "type": "integer"
  6268. },
  6269. "modifiedtime": {
  6270. "description": "修改时间",
  6271. "type": "string"
  6272. },
  6273. "nickname": {
  6274. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  6275. "type": "string"
  6276. },
  6277. "openmode": {
  6278. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  6279. "type": "integer"
  6280. },
  6281. "otherurl": {
  6282. "description": "其它图片地址[使用分号分隔]",
  6283. "type": "string"
  6284. },
  6285. "postalcode": {
  6286. "description": "邮政编码",
  6287. "type": "string"
  6288. },
  6289. "provinceid": {
  6290. "description": "省",
  6291. "type": "integer"
  6292. },
  6293. "proxystatementurl": {
  6294. "description": "授权委托书",
  6295. "type": "string"
  6296. },
  6297. "qq": {
  6298. "description": "QQ(加密存储",
  6299. "type": "string"
  6300. },
  6301. "referral": {
  6302. "description": "推荐人编码",
  6303. "type": "string"
  6304. },
  6305. "remark": {
  6306. "description": "备注",
  6307. "type": "string"
  6308. },
  6309. "removebeforestatus": {
  6310. "description": "REMOVEBEFORESTATUS",
  6311. "type": "integer"
  6312. },
  6313. "sex": {
  6314. "description": "性别 - 0:女 1:男",
  6315. "type": "integer"
  6316. },
  6317. "signedstatus": {
  6318. "description": "账户一号签签约状态",
  6319. "type": "integer"
  6320. },
  6321. "signpdfurl": {
  6322. "description": "签约pdf文件",
  6323. "type": "string"
  6324. },
  6325. "subbranch": {
  6326. "description": "开户支行",
  6327. "type": "string"
  6328. },
  6329. "telphone": {
  6330. "description": "联系电话(加密存储)",
  6331. "type": "string"
  6332. },
  6333. "userid": {
  6334. "description": "用户ID(自增ID)",
  6335. "type": "integer"
  6336. },
  6337. "userinfotype": {
  6338. "description": "用户信息类型 - 1:个人 2:企业",
  6339. "type": "integer"
  6340. },
  6341. "username": {
  6342. "description": "用户姓名",
  6343. "type": "string"
  6344. },
  6345. "userstate": {
  6346. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  6347. "type": "integer"
  6348. },
  6349. "usertype": {
  6350. "description": "用户类型 - 1:投资者 2:机构",
  6351. "type": "integer"
  6352. },
  6353. "videourl": {
  6354. "description": "视频地址",
  6355. "type": "string"
  6356. },
  6357. "wechat": {
  6358. "description": "微信号 (加密存储)",
  6359. "type": "string"
  6360. }
  6361. }
  6362. },
  6363. "erms3.CustomerInfo": {
  6364. "type": "object",
  6365. "required": [
  6366. "userid"
  6367. ],
  6368. "properties": {
  6369. "accountids": {
  6370. "description": "资金账户ID列表",
  6371. "type": "array",
  6372. "items": {
  6373. "type": "integer"
  6374. }
  6375. },
  6376. "customername": {
  6377. "description": "名称(企业名称)",
  6378. "type": "string"
  6379. },
  6380. "mobile": {
  6381. "description": "手机号码",
  6382. "type": "string"
  6383. },
  6384. "userid": {
  6385. "description": "用户ID",
  6386. "type": "integer"
  6387. }
  6388. }
  6389. },
  6390. "erms3.QryAuditContractRsp": {
  6391. "type": "object",
  6392. "required": [
  6393. "matchcustomername",
  6394. "spotcontractid"
  6395. ],
  6396. "properties": {
  6397. "accountid": {
  6398. "description": "交易员ID",
  6399. "type": "string"
  6400. },
  6401. "applystatus": {
  6402. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6403. "type": "integer"
  6404. },
  6405. "curdeliveryqty": {
  6406. "description": "未交收量",
  6407. "type": "integer"
  6408. },
  6409. "customername": {
  6410. "description": "采购方ID",
  6411. "type": "string"
  6412. },
  6413. "deliverygoodsid": {
  6414. "description": "品种ID",
  6415. "type": "string"
  6416. },
  6417. "deliveryqty": {
  6418. "description": "交收量",
  6419. "type": "integer"
  6420. },
  6421. "enumdicname": {
  6422. "description": "单位名称",
  6423. "type": "string"
  6424. },
  6425. "matchaccountid": {
  6426. "description": "业务员ID",
  6427. "type": "string"
  6428. },
  6429. "matchcustomername": {
  6430. "description": "销售方ID",
  6431. "type": "string"
  6432. },
  6433. "pricedqty": {
  6434. "description": "定价量",
  6435. "type": "number"
  6436. },
  6437. "signdate": {
  6438. "description": "签订日期",
  6439. "type": "string"
  6440. },
  6441. "spotcontractid": {
  6442. "description": "合同ID",
  6443. "type": "string"
  6444. },
  6445. "totaldqty": {
  6446. "description": "合同量",
  6447. "type": "number"
  6448. },
  6449. "unpricedqty": {
  6450. "description": "未定价量",
  6451. "type": "number"
  6452. },
  6453. "wrstandardname": {
  6454. "description": "商品名称",
  6455. "type": "string"
  6456. }
  6457. }
  6458. },
  6459. "erms3.QryPendingBizRsp": {
  6460. "type": "object",
  6461. "properties": {
  6462. "accountid": {
  6463. "description": "现货账户",
  6464. "type": "string"
  6465. },
  6466. "areaname": {
  6467. "description": "所属部门",
  6468. "type": "string"
  6469. },
  6470. "bizid": {
  6471. "description": "业务ID",
  6472. "type": "string"
  6473. },
  6474. "bizname": {
  6475. "description": "业务名称",
  6476. "type": "string"
  6477. },
  6478. "status": {
  6479. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6480. "type": "integer"
  6481. },
  6482. "type": {
  6483. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  6484. "type": "integer"
  6485. }
  6486. }
  6487. },
  6488. "erms3.QueryBusinessInfoRsp": {
  6489. "type": "object",
  6490. "properties": {
  6491. "businessid": {
  6492. "description": "业务ID.",
  6493. "type": "integer"
  6494. },
  6495. "buyamount": {
  6496. "description": "采购额.",
  6497. "type": "number"
  6498. },
  6499. "buyqty": {
  6500. "description": "采购量.",
  6501. "type": "string"
  6502. },
  6503. "futurepl": {
  6504. "description": "期货盈亏.",
  6505. "type": "number"
  6506. },
  6507. "futureqty": {
  6508. "description": "期货敞口.",
  6509. "type": "string"
  6510. },
  6511. "goodsid": {
  6512. "description": "商品名称/商品代码.",
  6513. "type": "string"
  6514. },
  6515. "hedgingqty": {
  6516. "description": "套保量.",
  6517. "type": "string"
  6518. },
  6519. "sellamount": {
  6520. "description": "销售额.",
  6521. "type": "number"
  6522. },
  6523. "sellqty": {
  6524. "description": "销售量.",
  6525. "type": "string"
  6526. },
  6527. "spotmarketvalue": {
  6528. "description": "现货市值.",
  6529. "type": "number"
  6530. },
  6531. "spotpl": {
  6532. "description": "浮动权益.",
  6533. "type": "number"
  6534. },
  6535. "spotqty": {
  6536. "description": "现货量.",
  6537. "type": "string"
  6538. },
  6539. "statu": {
  6540. "description": "状态,0-未结束 1-已结束.",
  6541. "type": "integer"
  6542. },
  6543. "totalpl": {
  6544. "description": "总盈亏.",
  6545. "type": "number"
  6546. },
  6547. "totalqty": {
  6548. "description": "总敞口.",
  6549. "type": "string"
  6550. },
  6551. "type": {
  6552. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  6553. "type": "integer"
  6554. }
  6555. }
  6556. },
  6557. "erms3.QuerySpotContractAppleFormRsp": {
  6558. "type": "object",
  6559. "properties": {
  6560. "goodses": {
  6561. "description": "合约列表",
  6562. "type": "array",
  6563. "items": {
  6564. "$ref": "#/definitions/models.GoodsIDAndName"
  6565. }
  6566. },
  6567. "oppositeusers": {
  6568. "description": "对方账号列表",
  6569. "type": "array",
  6570. "items": {
  6571. "$ref": "#/definitions/erms3.CustomerInfo"
  6572. }
  6573. },
  6574. "ouruser": {
  6575. "description": "我方账号",
  6576. "$ref": "#/definitions/erms3.CustomerInfo"
  6577. },
  6578. "warehouseinfos": {
  6579. "description": "仓库信息列表",
  6580. "type": "array",
  6581. "items": {
  6582. "$ref": "#/definitions/models.Warehouseinfo"
  6583. }
  6584. },
  6585. "wrstandards": {
  6586. "description": "仓单标准列表",
  6587. "type": "array",
  6588. "items": {
  6589. "$ref": "#/definitions/models.WRStandardInfo"
  6590. }
  6591. }
  6592. }
  6593. },
  6594. "erms3.QuerySpotContractInfoRsp": {
  6595. "type": "object",
  6596. "properties": {
  6597. "accountid": {
  6598. "description": "表示交易员ID.",
  6599. "type": "integer"
  6600. },
  6601. "curdeliveryqty": {
  6602. "description": "表示未交收量.",
  6603. "type": "number"
  6604. },
  6605. "customername": {
  6606. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  6607. "type": "string"
  6608. },
  6609. "deliverygoodsid": {
  6610. "description": "表示品种ID.",
  6611. "type": "string"
  6612. },
  6613. "deliveryqty": {
  6614. "description": "表示交收量.",
  6615. "type": "number"
  6616. },
  6617. "matchaccountid": {
  6618. "description": "表示业务员ID.",
  6619. "type": "integer"
  6620. },
  6621. "matchcustomername": {
  6622. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  6623. "type": "string"
  6624. },
  6625. "priceqty": {
  6626. "description": "表示定价量.",
  6627. "type": "number"
  6628. },
  6629. "relatedbizid": {
  6630. "description": "表示业务ID.",
  6631. "type": "string"
  6632. },
  6633. "signdate": {
  6634. "description": "表示签订日期.",
  6635. "type": "string"
  6636. },
  6637. "spotcontractid": {
  6638. "description": "合同ID",
  6639. "type": "string"
  6640. },
  6641. "status": {
  6642. "description": "表示状态,0-履约中 1-已完成.",
  6643. "type": "integer"
  6644. },
  6645. "totalqty": {
  6646. "description": "表示合同量.",
  6647. "type": "number"
  6648. },
  6649. "unpricedqty": {
  6650. "description": "表示未定价量.",
  6651. "type": "number"
  6652. },
  6653. "wrstandardname": {
  6654. "description": "表示商品ID.",
  6655. "type": "string"
  6656. }
  6657. }
  6658. },
  6659. "erms3.QueryUserInfoAppliesRsp": {
  6660. "type": "object",
  6661. "required": [
  6662. "userid"
  6663. ],
  6664. "properties": {
  6665. "biznature": {
  6666. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6667. "type": "integer"
  6668. },
  6669. "contactname": {
  6670. "description": "联系人",
  6671. "type": "string"
  6672. },
  6673. "createtime": {
  6674. "description": "开户申请时间",
  6675. "type": "string"
  6676. },
  6677. "userid": {
  6678. "description": "用户ID(自增ID)",
  6679. "type": "integer"
  6680. },
  6681. "userinfotype": {
  6682. "description": "用户信息类型 - 1:个人 2:企业",
  6683. "type": "integer"
  6684. },
  6685. "username": {
  6686. "description": "用户姓名",
  6687. "type": "string"
  6688. },
  6689. "userstate": {
  6690. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  6691. "type": "integer"
  6692. }
  6693. }
  6694. },
  6695. "erms3.QueryUserInfosRsp": {
  6696. "type": "object",
  6697. "required": [
  6698. "userid"
  6699. ],
  6700. "properties": {
  6701. "biznature": {
  6702. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6703. "type": "integer"
  6704. },
  6705. "contactname": {
  6706. "description": "联系人",
  6707. "type": "string"
  6708. },
  6709. "customername": {
  6710. "description": "客户名称(企业名称)",
  6711. "type": "string"
  6712. },
  6713. "userid": {
  6714. "description": "用户ID",
  6715. "type": "integer"
  6716. },
  6717. "userinfotype": {
  6718. "description": "用户信息类型 - 1:个人 2:企业",
  6719. "type": "integer"
  6720. },
  6721. "userstatus": {
  6722. "description": "用户状态 - 1:正常 2:注销",
  6723. "type": "integer"
  6724. }
  6725. }
  6726. },
  6727. "erms3.SoptContractDetail": {
  6728. "type": "object",
  6729. "required": [
  6730. "deliverygoodsid",
  6731. "producttype",
  6732. "unitname",
  6733. "warehouseid",
  6734. "wrstandardid",
  6735. "wrstandardname"
  6736. ],
  6737. "properties": {
  6738. "deliverygoodsdesc": {
  6739. "description": "现货品种说明",
  6740. "type": "string"
  6741. },
  6742. "deliverygoodsid": {
  6743. "description": "现货品种ID",
  6744. "type": "integer"
  6745. },
  6746. "deliverygoodsname": {
  6747. "description": "现货品种名称",
  6748. "type": "string"
  6749. },
  6750. "pointdesc": {
  6751. "description": "点价描述",
  6752. "type": "string"
  6753. },
  6754. "producttype": {
  6755. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  6756. "type": "integer"
  6757. },
  6758. "producttypename": {
  6759. "description": "产品类型名称",
  6760. "type": "string"
  6761. },
  6762. "spotPointOrderVoList": {
  6763. "description": "点价列表",
  6764. "type": "array",
  6765. "items": {
  6766. "$ref": "#/definitions/erms3.SpotPointOrder"
  6767. }
  6768. },
  6769. "spotPriceOrderList": {
  6770. "description": "定价列表",
  6771. "type": "array",
  6772. "items": {
  6773. "$ref": "#/definitions/erms3.SpotPriceOrder"
  6774. }
  6775. },
  6776. "unitname": {
  6777. "description": "单位名称",
  6778. "type": "string"
  6779. },
  6780. "warehouseid": {
  6781. "description": "仓库ID",
  6782. "type": "integer"
  6783. },
  6784. "warehousename": {
  6785. "description": "仓库名称",
  6786. "type": "string"
  6787. },
  6788. "wrstandardid": {
  6789. "description": "交易标的ID",
  6790. "type": "integer"
  6791. },
  6792. "wrstandardname": {
  6793. "description": "交易标的名称",
  6794. "type": "string"
  6795. }
  6796. }
  6797. },
  6798. "erms3.SpotPointOrder": {
  6799. "type": "object",
  6800. "required": [
  6801. "basic",
  6802. "goodsid",
  6803. "qty"
  6804. ],
  6805. "properties": {
  6806. "basic": {
  6807. "description": "基差",
  6808. "type": "number"
  6809. },
  6810. "deliveryenddate": {
  6811. "description": "交收结束日期",
  6812. "type": "string"
  6813. },
  6814. "deliverystartdate": {
  6815. "description": "交收开始日期",
  6816. "type": "string"
  6817. },
  6818. "enddate": {
  6819. "description": "点价结束日期",
  6820. "type": "string"
  6821. },
  6822. "goodsid": {
  6823. "description": "商品ID",
  6824. "type": "integer"
  6825. },
  6826. "goodsname": {
  6827. "description": "商品名称",
  6828. "type": "string"
  6829. },
  6830. "qty": {
  6831. "description": "数量",
  6832. "type": "number"
  6833. },
  6834. "startdate": {
  6835. "description": "点价开始日期",
  6836. "type": "string"
  6837. }
  6838. }
  6839. },
  6840. "erms3.SpotPriceOrder": {
  6841. "type": "object",
  6842. "required": [
  6843. "amount",
  6844. "price",
  6845. "qty"
  6846. ],
  6847. "properties": {
  6848. "amount": {
  6849. "description": "金额",
  6850. "type": "number"
  6851. },
  6852. "deliveryenddate": {
  6853. "description": "交收结束日期",
  6854. "type": "string"
  6855. },
  6856. "deliverystartdate": {
  6857. "description": "交收开始日期",
  6858. "type": "string"
  6859. },
  6860. "price": {
  6861. "description": "价格",
  6862. "type": "number"
  6863. },
  6864. "qty": {
  6865. "description": "数量",
  6866. "type": "number"
  6867. }
  6868. }
  6869. },
  6870. "hsby.GetHsbyMyCountRsp": {
  6871. "type": "object",
  6872. "properties": {
  6873. "myCouponCount": {
  6874. "description": "我的优惠卷数量",
  6875. "type": "integer"
  6876. },
  6877. "myOrderDetailListingCount": {
  6878. "description": "我的订单求购中数量",
  6879. "type": "integer"
  6880. },
  6881. "myOrderDetailPreCount": {
  6882. "description": "我的订单抢购中数量",
  6883. "type": "integer"
  6884. },
  6885. "myPackageUnReceiveCount": {
  6886. "description": "我的包裹待收货数量",
  6887. "type": "integer"
  6888. },
  6889. "myPackageUnSendCount": {
  6890. "description": "我的包裹待发货数量",
  6891. "type": "integer"
  6892. },
  6893. "myPayOrderCount": {
  6894. "description": "我的订单待付款数量",
  6895. "type": "integer"
  6896. }
  6897. }
  6898. },
  6899. "hsby.QueryProvincesAndCitiesRsp": {
  6900. "type": "object",
  6901. "properties": {
  6902. "cities": {
  6903. "description": "市",
  6904. "type": "array",
  6905. "items": {
  6906. "$ref": "#/definitions/models.Division"
  6907. }
  6908. },
  6909. "province": {
  6910. "description": "省",
  6911. "$ref": "#/definitions/models.Division"
  6912. }
  6913. }
  6914. },
  6915. "models.Division": {
  6916. "type": "object",
  6917. "required": [
  6918. "autoid",
  6919. "divisioncode"
  6920. ],
  6921. "properties": {
  6922. "autoid": {
  6923. "description": "自增ID",
  6924. "type": "integer"
  6925. },
  6926. "divisioncode": {
  6927. "description": "行政代码",
  6928. "type": "string"
  6929. },
  6930. "divisionlevel": {
  6931. "description": "行政级别",
  6932. "type": "string"
  6933. },
  6934. "divisionname": {
  6935. "description": "行政名称",
  6936. "type": "string"
  6937. },
  6938. "modifierid": {
  6939. "description": "修改人",
  6940. "type": "integer"
  6941. },
  6942. "modifytime": {
  6943. "description": "修改时间",
  6944. "type": "string"
  6945. },
  6946. "parentcode": {
  6947. "description": "上级行政代码",
  6948. "type": "string"
  6949. },
  6950. "pathname": {
  6951. "description": "路径名称",
  6952. "type": "string"
  6953. },
  6954. "postcode": {
  6955. "description": "邮政编码",
  6956. "type": "string"
  6957. },
  6958. "separablename": {
  6959. "description": "可拆分的全称",
  6960. "type": "string"
  6961. },
  6962. "shortcode": {
  6963. "description": "地区简码",
  6964. "type": "string"
  6965. }
  6966. }
  6967. },
  6968. "models.Enumdicitem": {
  6969. "type": "object",
  6970. "required": [
  6971. "autoid",
  6972. "enumdiccode",
  6973. "enumdicid",
  6974. "enumitemname"
  6975. ],
  6976. "properties": {
  6977. "autoid": {
  6978. "description": "自增ID",
  6979. "type": "integer"
  6980. },
  6981. "bankmappedvalue": {
  6982. "description": "银行服务对应值",
  6983. "type": "string"
  6984. },
  6985. "enumdiccode": {
  6986. "description": "所属枚举代码",
  6987. "type": "string"
  6988. },
  6989. "enumdicid": {
  6990. "description": "所属枚举ID",
  6991. "type": "integer"
  6992. },
  6993. "enumdicname": {
  6994. "description": "枚举项名称",
  6995. "type": "string"
  6996. },
  6997. "enumitemname": {
  6998. "description": "枚举项值",
  6999. "type": "integer"
  7000. },
  7001. "enumitemstatus": {
  7002. "description": "枚举项状态 - 1.启用 2.不启用",
  7003. "type": "integer"
  7004. },
  7005. "enumitemvalue": {
  7006. "description": "通用值 - [币种通用简写]",
  7007. "type": "string"
  7008. },
  7009. "param1": {
  7010. "description": "参数1[币种:币种小数位]",
  7011. "type": "string"
  7012. },
  7013. "param2": {
  7014. "description": "参数1[币种:币种显示单位]",
  7015. "type": "string"
  7016. },
  7017. "remark": {
  7018. "description": "备注",
  7019. "type": "string"
  7020. }
  7021. }
  7022. },
  7023. "models.GoodsIDAndName": {
  7024. "type": "object",
  7025. "required": [
  7026. "goodscode",
  7027. "goodsid",
  7028. "goodsname",
  7029. "marketid"
  7030. ],
  7031. "properties": {
  7032. "goodscode": {
  7033. "description": "商品代码(内部)",
  7034. "type": "string"
  7035. },
  7036. "goodsid": {
  7037. "description": "商品ID(自增ID SEQ_GOODS)",
  7038. "type": "integer"
  7039. },
  7040. "goodsname": {
  7041. "description": "商品名称",
  7042. "type": "string"
  7043. },
  7044. "marketid": {
  7045. "description": "所属市场ID",
  7046. "type": "integer"
  7047. }
  7048. }
  7049. },
  7050. "models.HsbyBuyMyPayOrder": {
  7051. "type": "object",
  7052. "required": [
  7053. "goodscode",
  7054. "goodsname",
  7055. "tradeid",
  7056. "trademode"
  7057. ],
  7058. "properties": {
  7059. "agreeunit": {
  7060. "description": "合约单位",
  7061. "type": "number"
  7062. },
  7063. "buyaccountid": {
  7064. "description": "买方账号ID[报价币种]",
  7065. "type": "integer"
  7066. },
  7067. "buyorderid": {
  7068. "description": "买方委托单号",
  7069. "type": "string"
  7070. },
  7071. "createtime": {
  7072. "description": "创建时间",
  7073. "type": "string"
  7074. },
  7075. "currencysign": {
  7076. "description": "货币符号",
  7077. "type": "string"
  7078. },
  7079. "decimalplace": {
  7080. "description": "报价小数位",
  7081. "type": "integer"
  7082. },
  7083. "goodscode": {
  7084. "description": "商品代码(内部)",
  7085. "type": "string"
  7086. },
  7087. "goodsid": {
  7088. "description": "商品ID",
  7089. "type": "integer"
  7090. },
  7091. "goodsname": {
  7092. "description": "商品名称",
  7093. "type": "string"
  7094. },
  7095. "marketid": {
  7096. "description": "市场ID",
  7097. "type": "integer"
  7098. },
  7099. "offamount": {
  7100. "description": "优惠金额",
  7101. "type": "number"
  7102. },
  7103. "payamount": {
  7104. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  7105. "type": "number"
  7106. },
  7107. "payflag": {
  7108. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7109. "type": "integer"
  7110. },
  7111. "paylimitedtime": {
  7112. "description": "支付期限",
  7113. "type": "string"
  7114. },
  7115. "paytime": {
  7116. "description": "付款时间",
  7117. "type": "string"
  7118. },
  7119. "picurls1": {
  7120. "description": "预售商品介绍图片[多张用逗号分隔]",
  7121. "type": "string"
  7122. },
  7123. "picurls2": {
  7124. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  7125. "type": "string"
  7126. },
  7127. "sellaccountid": {
  7128. "description": "卖方账号ID[报价币种]",
  7129. "type": "integer"
  7130. },
  7131. "sellorderid": {
  7132. "description": "卖方委托单号",
  7133. "type": "string"
  7134. },
  7135. "tradeamount": {
  7136. "description": "成交金额",
  7137. "type": "number"
  7138. },
  7139. "tradecharge": {
  7140. "description": "成交手续费(买方)",
  7141. "type": "number"
  7142. },
  7143. "tradedate": {
  7144. "description": "交易日(yyyyMMdd)",
  7145. "type": "string"
  7146. },
  7147. "tradeid": {
  7148. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7149. "type": "string"
  7150. },
  7151. "trademode": {
  7152. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7153. "type": "integer"
  7154. },
  7155. "tradeprice": {
  7156. "description": "成交价格",
  7157. "type": "number"
  7158. },
  7159. "tradeqty": {
  7160. "description": "成交数量",
  7161. "type": "integer"
  7162. },
  7163. "vendorname1": {
  7164. "description": "预售商品供应商名称",
  7165. "type": "string"
  7166. },
  7167. "vendorname2": {
  7168. "description": "挂牌商品供应商名称",
  7169. "type": "string"
  7170. }
  7171. }
  7172. },
  7173. "models.HsbyBuyMyTradeDetail": {
  7174. "type": "object",
  7175. "required": [
  7176. "accountid",
  7177. "buyorsell",
  7178. "goodscode",
  7179. "goodsid",
  7180. "goodsname",
  7181. "marketid",
  7182. "orderid",
  7183. "qty",
  7184. "time",
  7185. "trademode"
  7186. ],
  7187. "properties": {
  7188. "accountid": {
  7189. "description": "账户ID[报价币种]",
  7190. "type": "integer"
  7191. },
  7192. "agreeunit": {
  7193. "description": "合约单位",
  7194. "type": "number"
  7195. },
  7196. "amount": {
  7197. "description": "金额 = 价格 * 数量 * 合约单位",
  7198. "type": "number"
  7199. },
  7200. "buyorsell": {
  7201. "description": "买卖 - 0:买 1:卖",
  7202. "type": "integer"
  7203. },
  7204. "currencysign": {
  7205. "description": "货币符号",
  7206. "type": "string"
  7207. },
  7208. "decimalplace": {
  7209. "description": "报价小数位",
  7210. "type": "integer"
  7211. },
  7212. "goodscode": {
  7213. "description": "商品代码(内部)",
  7214. "type": "string"
  7215. },
  7216. "goodsid": {
  7217. "description": "商品ID",
  7218. "type": "integer"
  7219. },
  7220. "goodsname": {
  7221. "description": "商品名称",
  7222. "type": "string"
  7223. },
  7224. "marketid": {
  7225. "description": "市场ID",
  7226. "type": "integer"
  7227. },
  7228. "orderid": {
  7229. "description": "单号(成交单号)",
  7230. "type": "string"
  7231. },
  7232. "picurls1": {
  7233. "description": "预售商品介绍图片[多张用逗号分隔]",
  7234. "type": "string"
  7235. },
  7236. "picurls2": {
  7237. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  7238. "type": "string"
  7239. },
  7240. "price": {
  7241. "description": "价格",
  7242. "type": "number"
  7243. },
  7244. "qty": {
  7245. "description": "数量",
  7246. "type": "integer"
  7247. },
  7248. "time": {
  7249. "description": "时间",
  7250. "type": "string"
  7251. },
  7252. "trademode": {
  7253. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7254. "type": "integer"
  7255. },
  7256. "vendorname1": {
  7257. "description": "预售商品供应商名称",
  7258. "type": "string"
  7259. },
  7260. "vendorname2": {
  7261. "description": "挂牌商品供应商名称",
  7262. "type": "string"
  7263. }
  7264. }
  7265. },
  7266. "models.HsbyGoodsOrderDetail": {
  7267. "type": "object",
  7268. "required": [
  7269. "buyorsell",
  7270. "orderid",
  7271. "ordertime"
  7272. ],
  7273. "properties": {
  7274. "buyorsell": {
  7275. "description": "买卖 - 0:买 1:卖",
  7276. "type": "integer"
  7277. },
  7278. "currencysign": {
  7279. "description": "货币符号",
  7280. "type": "string"
  7281. },
  7282. "customername": {
  7283. "description": "客户名称(企业名称),已脱敏",
  7284. "type": "string"
  7285. },
  7286. "enableqty": {
  7287. "description": "可用数量",
  7288. "type": "integer"
  7289. },
  7290. "goodunit": {
  7291. "description": "报价单位",
  7292. "type": "string"
  7293. },
  7294. "orderid": {
  7295. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7296. "type": "string"
  7297. },
  7298. "orderprice": {
  7299. "description": "委托价格",
  7300. "type": "number"
  7301. },
  7302. "ordertime": {
  7303. "description": "委托时间",
  7304. "type": "string"
  7305. }
  7306. }
  7307. },
  7308. "models.HsbyListingGoodsDetail": {
  7309. "type": "object",
  7310. "required": [
  7311. "goodscode",
  7312. "goodsid",
  7313. "goodsname",
  7314. "marketid",
  7315. "trademode"
  7316. ],
  7317. "properties": {
  7318. "agreeunit": {
  7319. "description": "合约单位",
  7320. "type": "number"
  7321. },
  7322. "currency": {
  7323. "description": "货币",
  7324. "type": "string"
  7325. },
  7326. "currencysign": {
  7327. "description": "货币符号",
  7328. "type": "string"
  7329. },
  7330. "decimalplace": {
  7331. "description": "报价小数位",
  7332. "type": "integer"
  7333. },
  7334. "desccityid": {
  7335. "description": "目的地(市)ID",
  7336. "type": "integer"
  7337. },
  7338. "descprovinceid": {
  7339. "description": "目的地(省)ID",
  7340. "type": "integer"
  7341. },
  7342. "goodscode": {
  7343. "description": "商品代码(内部)",
  7344. "type": "string"
  7345. },
  7346. "goodsdesc": {
  7347. "description": "商品详情",
  7348. "type": "string"
  7349. },
  7350. "goodsid": {
  7351. "description": "商品ID(自增ID SEQ_GOODS)",
  7352. "type": "integer"
  7353. },
  7354. "goodsname": {
  7355. "description": "商品名称",
  7356. "type": "string"
  7357. },
  7358. "goodsprice": {
  7359. "description": "商品价格",
  7360. "type": "number"
  7361. },
  7362. "hotindex": {
  7363. "description": "景点热度",
  7364. "type": "integer"
  7365. },
  7366. "last": {
  7367. "description": "现价",
  7368. "type": "number"
  7369. },
  7370. "limitdown": {
  7371. "description": "跌停价",
  7372. "type": "number"
  7373. },
  7374. "limitup": {
  7375. "description": "涨停价",
  7376. "type": "number"
  7377. },
  7378. "lotsize": {
  7379. "description": "手数最小变动单位",
  7380. "type": "integer"
  7381. },
  7382. "marketid": {
  7383. "description": "所属市场ID",
  7384. "type": "integer"
  7385. },
  7386. "picurls": {
  7387. "description": "介绍图片[多张用逗号分隔]",
  7388. "type": "string"
  7389. },
  7390. "quoteminunit": {
  7391. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7392. "type": "integer"
  7393. },
  7394. "stepvalue": {
  7395. "description": "价格最小变动单位",
  7396. "type": "number"
  7397. },
  7398. "trademode": {
  7399. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7400. "type": "integer"
  7401. },
  7402. "vendorattr": {
  7403. "description": "供应商附件(多张,逗号分隔)",
  7404. "type": "string"
  7405. },
  7406. "vendorname": {
  7407. "description": "供应商名称",
  7408. "type": "string"
  7409. },
  7410. "vendorphone": {
  7411. "description": "供应商客服电话",
  7412. "type": "string"
  7413. },
  7414. "videourls": {
  7415. "description": "介绍视频[多张用逗号分隔]",
  7416. "type": "string"
  7417. }
  7418. }
  7419. },
  7420. "models.HsbyMarketGoods": {
  7421. "type": "object",
  7422. "required": [
  7423. "accountid",
  7424. "buyorsell",
  7425. "goodscode",
  7426. "goodsid",
  7427. "goodsname",
  7428. "marketid",
  7429. "orderid",
  7430. "trademode"
  7431. ],
  7432. "properties": {
  7433. "accountid": {
  7434. "description": "账户ID[报价币种]",
  7435. "type": "integer"
  7436. },
  7437. "agreeunit": {
  7438. "description": "合约单位",
  7439. "type": "number"
  7440. },
  7441. "buyorsell": {
  7442. "description": "买卖 - 0:买 1:卖",
  7443. "type": "integer"
  7444. },
  7445. "categoryid": {
  7446. "description": "类别ID(WRCATEGORY)",
  7447. "type": "integer"
  7448. },
  7449. "currency": {
  7450. "description": "货币",
  7451. "type": "string"
  7452. },
  7453. "currencysign": {
  7454. "description": "货币符号",
  7455. "type": "string"
  7456. },
  7457. "customername": {
  7458. "description": "卖家名称",
  7459. "type": "string"
  7460. },
  7461. "decimalplace": {
  7462. "description": "报价小数位",
  7463. "type": "integer"
  7464. },
  7465. "goodscode": {
  7466. "description": "商品代码(内部)",
  7467. "type": "string"
  7468. },
  7469. "goodsid": {
  7470. "description": "商品ID",
  7471. "type": "integer"
  7472. },
  7473. "goodsname": {
  7474. "description": "商品名称",
  7475. "type": "string"
  7476. },
  7477. "hascoupon": {
  7478. "description": "是否可用优惠卷",
  7479. "type": "boolean"
  7480. },
  7481. "hotindex": {
  7482. "description": "景点热度",
  7483. "type": "integer"
  7484. },
  7485. "marketid": {
  7486. "description": "市场ID",
  7487. "type": "integer"
  7488. },
  7489. "orderid": {
  7490. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7491. "type": "string"
  7492. },
  7493. "orderprice": {
  7494. "description": "委托价格",
  7495. "type": "number"
  7496. },
  7497. "orderstatus": {
  7498. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7499. "type": "integer"
  7500. },
  7501. "picurls": {
  7502. "description": "介绍图片[多张用逗号分隔]",
  7503. "type": "string"
  7504. },
  7505. "quoteminunit": {
  7506. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7507. "type": "integer"
  7508. },
  7509. "sellUserID": {
  7510. "description": "卖方UserID",
  7511. "type": "integer"
  7512. },
  7513. "trademode": {
  7514. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7515. "type": "integer"
  7516. },
  7517. "videourls": {
  7518. "description": "介绍视频[多张用逗号分隔]",
  7519. "type": "string"
  7520. }
  7521. }
  7522. },
  7523. "models.HsbyMarketGoodsDetail": {
  7524. "type": "object",
  7525. "required": [
  7526. "accountid",
  7527. "buyorsell",
  7528. "goodscode",
  7529. "goodsid",
  7530. "goodsname",
  7531. "marketid",
  7532. "orderid",
  7533. "orderqty",
  7534. "trademode"
  7535. ],
  7536. "properties": {
  7537. "accountid": {
  7538. "description": "账户ID[报价币种]",
  7539. "type": "integer"
  7540. },
  7541. "agreeunit": {
  7542. "description": "合约单位",
  7543. "type": "number"
  7544. },
  7545. "buyorsell": {
  7546. "description": "买卖 - 0:买 1:卖",
  7547. "type": "integer"
  7548. },
  7549. "cancelqty": {
  7550. "description": "撤单数量",
  7551. "type": "integer"
  7552. },
  7553. "categoryid": {
  7554. "description": "类别ID(WRCATEGORY)",
  7555. "type": "integer"
  7556. },
  7557. "currency": {
  7558. "description": "货币",
  7559. "type": "string"
  7560. },
  7561. "currencysign": {
  7562. "description": "货币符号",
  7563. "type": "string"
  7564. },
  7565. "customername": {
  7566. "description": "卖家名称",
  7567. "type": "string"
  7568. },
  7569. "decimalplace": {
  7570. "description": "报价小数位",
  7571. "type": "integer"
  7572. },
  7573. "goodscode": {
  7574. "description": "商品代码(内部)",
  7575. "type": "string"
  7576. },
  7577. "goodsdesc": {
  7578. "description": "商品详情",
  7579. "type": "string"
  7580. },
  7581. "goodsid": {
  7582. "description": "商品ID",
  7583. "type": "integer"
  7584. },
  7585. "goodsname": {
  7586. "description": "商品名称",
  7587. "type": "string"
  7588. },
  7589. "hotindex": {
  7590. "description": "景点热度",
  7591. "type": "integer"
  7592. },
  7593. "marketid": {
  7594. "description": "市场ID",
  7595. "type": "integer"
  7596. },
  7597. "orderid": {
  7598. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7599. "type": "string"
  7600. },
  7601. "orderprice": {
  7602. "description": "委托价格",
  7603. "type": "number"
  7604. },
  7605. "orderqty": {
  7606. "description": "委托数量",
  7607. "type": "integer"
  7608. },
  7609. "orderstatus": {
  7610. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7611. "type": "integer"
  7612. },
  7613. "picurls": {
  7614. "description": "介绍图片[多张用逗号分隔]",
  7615. "type": "string"
  7616. },
  7617. "quoteminunit": {
  7618. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7619. "type": "integer"
  7620. },
  7621. "sellUserID": {
  7622. "description": "卖方UserID",
  7623. "type": "integer"
  7624. },
  7625. "trademode": {
  7626. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7627. "type": "integer"
  7628. },
  7629. "tradeqty": {
  7630. "description": "成交数量",
  7631. "type": "integer"
  7632. },
  7633. "vendorname": {
  7634. "description": "供应商名称",
  7635. "type": "string"
  7636. },
  7637. "videourls": {
  7638. "description": "介绍视频[多张用逗号分隔]",
  7639. "type": "string"
  7640. }
  7641. }
  7642. },
  7643. "models.HsbyMarketInfo": {
  7644. "type": "object",
  7645. "required": [
  7646. "marketid",
  7647. "marketstatus",
  7648. "trademode"
  7649. ],
  7650. "properties": {
  7651. "marketid": {
  7652. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  7653. "type": "integer"
  7654. },
  7655. "marketname": {
  7656. "description": "市场名称",
  7657. "type": "string"
  7658. },
  7659. "marketstatus": {
  7660. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  7661. "type": "integer"
  7662. },
  7663. "trademode": {
  7664. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7665. "type": "integer"
  7666. }
  7667. }
  7668. },
  7669. "models.HsbyMyGoods": {
  7670. "type": "object",
  7671. "required": [
  7672. "accountid",
  7673. "goodscode",
  7674. "goodsid",
  7675. "goodsname",
  7676. "marketid",
  7677. "trademode"
  7678. ],
  7679. "properties": {
  7680. "accountid": {
  7681. "description": "账号Id",
  7682. "type": "integer"
  7683. },
  7684. "agreeunit": {
  7685. "description": "合约单位",
  7686. "type": "number"
  7687. },
  7688. "buyaverageprice": {
  7689. "description": "持仓均价",
  7690. "type": "number"
  7691. },
  7692. "buycurholderamount": {
  7693. "description": "买当前持仓总金额[商品币种]",
  7694. "type": "number"
  7695. },
  7696. "buycurpositionqty": {
  7697. "description": "买当前持仓总数量",
  7698. "type": "integer"
  7699. },
  7700. "currencysign": {
  7701. "description": "货币符号",
  7702. "type": "string"
  7703. },
  7704. "decimalplace": {
  7705. "description": "报价小数位",
  7706. "type": "integer"
  7707. },
  7708. "enableqty": {
  7709. "description": "可用数量",
  7710. "type": "integer"
  7711. },
  7712. "goodscode": {
  7713. "description": "商品代码(内部)",
  7714. "type": "string"
  7715. },
  7716. "goodsid": {
  7717. "description": "商品Id",
  7718. "type": "integer"
  7719. },
  7720. "goodsname": {
  7721. "description": "商品名称",
  7722. "type": "string"
  7723. },
  7724. "goodsprice": {
  7725. "description": "商品价格",
  7726. "type": "number"
  7727. },
  7728. "goodsstatus": {
  7729. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  7730. "type": "integer"
  7731. },
  7732. "marketid": {
  7733. "description": "所属市场ID",
  7734. "type": "integer"
  7735. },
  7736. "picurls": {
  7737. "description": "介绍图片[多张用逗号分隔]",
  7738. "type": "string"
  7739. },
  7740. "trademode": {
  7741. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7742. "type": "integer"
  7743. }
  7744. }
  7745. },
  7746. "models.HsbyMyPackage": {
  7747. "type": "object",
  7748. "required": [
  7749. "goodscode",
  7750. "goodsname",
  7751. "takeorderid"
  7752. ],
  7753. "properties": {
  7754. "accountid": {
  7755. "description": "账户ID",
  7756. "type": "integer"
  7757. },
  7758. "address": {
  7759. "description": "提货人详细地址",
  7760. "type": "string"
  7761. },
  7762. "agreeunit": {
  7763. "description": "合约单位",
  7764. "type": "number"
  7765. },
  7766. "amount": {
  7767. "description": "提货金额",
  7768. "type": "number"
  7769. },
  7770. "auditer": {
  7771. "description": "审核人",
  7772. "type": "integer"
  7773. },
  7774. "audittime": {
  7775. "description": "审核时间",
  7776. "type": "string"
  7777. },
  7778. "averageprice": {
  7779. "description": "均价",
  7780. "type": "number"
  7781. },
  7782. "cardnum": {
  7783. "description": "提货人证件号码",
  7784. "type": "string"
  7785. },
  7786. "cardtypeid": {
  7787. "description": "提货人证件类型",
  7788. "type": "integer"
  7789. },
  7790. "checkremark": {
  7791. "description": "审核备注",
  7792. "type": "string"
  7793. },
  7794. "currencysign": {
  7795. "description": "货币符号",
  7796. "type": "string"
  7797. },
  7798. "decimalplace": {
  7799. "description": "报价小数位",
  7800. "type": "integer"
  7801. },
  7802. "goodscode": {
  7803. "description": "商品代码(内部)",
  7804. "type": "string"
  7805. },
  7806. "goodsid": {
  7807. "description": "商品ID",
  7808. "type": "integer"
  7809. },
  7810. "goodsname": {
  7811. "description": "商品名称",
  7812. "type": "string"
  7813. },
  7814. "handlestatus": {
  7815. "description": "处理状态",
  7816. "type": "integer"
  7817. },
  7818. "marketid": {
  7819. "description": "市场ID",
  7820. "type": "integer"
  7821. },
  7822. "phonenum": {
  7823. "description": "提货人联系方式",
  7824. "type": "string"
  7825. },
  7826. "picurls": {
  7827. "description": "介绍图片[多张用逗号分隔]",
  7828. "type": "string"
  7829. },
  7830. "qty": {
  7831. "description": "提货数量",
  7832. "type": "number"
  7833. },
  7834. "recivername": {
  7835. "description": "提货人姓名",
  7836. "type": "string"
  7837. },
  7838. "reqtime": {
  7839. "description": "更新时间",
  7840. "type": "string"
  7841. },
  7842. "takemode": {
  7843. "description": "提货方式 - 2:自提 3:配送",
  7844. "type": "integer"
  7845. },
  7846. "takeorderid": {
  7847. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  7848. "type": "string"
  7849. },
  7850. "takeorderstatus": {
  7851. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7852. "type": "integer"
  7853. },
  7854. "takeremark": {
  7855. "description": "提货备注",
  7856. "type": "string"
  7857. },
  7858. "tradedate": {
  7859. "description": "交易日(yyyyMMdd)",
  7860. "type": "string"
  7861. },
  7862. "userid": {
  7863. "description": "用户ID",
  7864. "type": "integer"
  7865. },
  7866. "vendorname": {
  7867. "description": "供应商名称",
  7868. "type": "string"
  7869. }
  7870. }
  7871. },
  7872. "models.HsbyPreGoods": {
  7873. "type": "object",
  7874. "required": [
  7875. "goodscode",
  7876. "goodsid",
  7877. "goodsname",
  7878. "marketid",
  7879. "trademode"
  7880. ],
  7881. "properties": {
  7882. "agreeunit": {
  7883. "description": "合约单位",
  7884. "type": "number"
  7885. },
  7886. "currency": {
  7887. "description": "货币",
  7888. "type": "string"
  7889. },
  7890. "currencysign": {
  7891. "description": "货币符号",
  7892. "type": "string"
  7893. },
  7894. "decimalplace": {
  7895. "description": "报价小数位",
  7896. "type": "integer"
  7897. },
  7898. "enableqty": {
  7899. "description": "剩余数量",
  7900. "type": "integer"
  7901. },
  7902. "goodscode": {
  7903. "description": "商品代码(内部)",
  7904. "type": "string"
  7905. },
  7906. "goodsid": {
  7907. "description": "商品ID(自增ID SEQ_GOODS)",
  7908. "type": "integer"
  7909. },
  7910. "goodsname": {
  7911. "description": "商品名称",
  7912. "type": "string"
  7913. },
  7914. "goodsstatus": {
  7915. "description": "商品状态- 2:未上市 3:上市",
  7916. "type": "integer"
  7917. },
  7918. "lasttradedate": {
  7919. "description": "最后交易日期(状态:待退市)",
  7920. "type": "string"
  7921. },
  7922. "listingdate": {
  7923. "description": "交易开始日期",
  7924. "type": "string"
  7925. },
  7926. "marketid": {
  7927. "description": "所属市场ID",
  7928. "type": "integer"
  7929. },
  7930. "picurls": {
  7931. "description": "介绍图片[多张用逗号分隔]",
  7932. "type": "string"
  7933. },
  7934. "presaledqty": {
  7935. "description": "已预售量(预售结束时更新)",
  7936. "type": "integer"
  7937. },
  7938. "presaleqty": {
  7939. "description": "预售数量",
  7940. "type": "integer"
  7941. },
  7942. "quoteminunit": {
  7943. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7944. "type": "integer"
  7945. },
  7946. "refprice": {
  7947. "description": "参考价格[一口价]",
  7948. "type": "number"
  7949. },
  7950. "relatedgoodsid": {
  7951. "description": "关联交易合约ID",
  7952. "type": "integer"
  7953. },
  7954. "trademode": {
  7955. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7956. "type": "integer"
  7957. },
  7958. "videourls": {
  7959. "description": "介绍视频[多张用逗号分隔]",
  7960. "type": "string"
  7961. }
  7962. }
  7963. },
  7964. "models.HsbyPreGoodsDetail": {
  7965. "type": "object",
  7966. "required": [
  7967. "goodscode",
  7968. "goodsid",
  7969. "goodsname",
  7970. "marketid",
  7971. "trademode"
  7972. ],
  7973. "properties": {
  7974. "agreeunit": {
  7975. "description": "合约单位",
  7976. "type": "number"
  7977. },
  7978. "buymaxqty": {
  7979. "description": "购买上限 [71] - 0为不限",
  7980. "type": "integer"
  7981. },
  7982. "currency": {
  7983. "description": "货币",
  7984. "type": "string"
  7985. },
  7986. "currencysign": {
  7987. "description": "货币符号",
  7988. "type": "string"
  7989. },
  7990. "customername": {
  7991. "description": "发行单位",
  7992. "type": "string"
  7993. },
  7994. "decimalplace": {
  7995. "description": "报价小数位",
  7996. "type": "integer"
  7997. },
  7998. "desccityid": {
  7999. "description": "目的地(市)ID",
  8000. "type": "integer"
  8001. },
  8002. "descprovinceid": {
  8003. "description": "目的地(省)ID",
  8004. "type": "integer"
  8005. },
  8006. "enableqty": {
  8007. "description": "剩余数量",
  8008. "type": "integer"
  8009. },
  8010. "goodscode": {
  8011. "description": "商品代码(内部)",
  8012. "type": "string"
  8013. },
  8014. "goodsdesc": {
  8015. "description": "商品详情",
  8016. "type": "string"
  8017. },
  8018. "goodsid": {
  8019. "description": "商品ID(自增ID SEQ_GOODS)",
  8020. "type": "integer"
  8021. },
  8022. "goodsname": {
  8023. "description": "商品名称",
  8024. "type": "string"
  8025. },
  8026. "goodsstatus": {
  8027. "description": "商品状态- 2:未上市 3:上市",
  8028. "type": "integer"
  8029. },
  8030. "goodunit": {
  8031. "description": "报价单位",
  8032. "type": "string"
  8033. },
  8034. "lasttradedate": {
  8035. "description": "最后交易日期(状态:待退市)",
  8036. "type": "string"
  8037. },
  8038. "listingdate": {
  8039. "description": "交易开始日期",
  8040. "type": "string"
  8041. },
  8042. "lotsize": {
  8043. "description": "手数最小变动单位",
  8044. "type": "integer"
  8045. },
  8046. "marketid": {
  8047. "description": "所属市场ID",
  8048. "type": "integer"
  8049. },
  8050. "picurls": {
  8051. "description": "介绍图片[多张用逗号分隔]",
  8052. "type": "string"
  8053. },
  8054. "presaledqty": {
  8055. "description": "已预售量(预售结束时更新)",
  8056. "type": "integer"
  8057. },
  8058. "presaleqty": {
  8059. "description": "预售数量",
  8060. "type": "integer"
  8061. },
  8062. "quoteminunit": {
  8063. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8064. "type": "integer"
  8065. },
  8066. "refprice": {
  8067. "description": "参考价格[一口价]",
  8068. "type": "number"
  8069. },
  8070. "relatedgoodsid": {
  8071. "description": "关联交易合约ID",
  8072. "type": "integer"
  8073. },
  8074. "stepvalue": {
  8075. "description": "价格最小变动单位",
  8076. "type": "number"
  8077. },
  8078. "trademode": {
  8079. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8080. "type": "integer"
  8081. },
  8082. "vendorattr": {
  8083. "description": "供应商附件(多张,逗号分隔)",
  8084. "type": "string"
  8085. },
  8086. "vendorname": {
  8087. "description": "供应商名称",
  8088. "type": "string"
  8089. },
  8090. "vendorphone": {
  8091. "description": "供应商客服电话",
  8092. "type": "string"
  8093. },
  8094. "videourls": {
  8095. "description": "介绍视频[多张用逗号分隔]",
  8096. "type": "string"
  8097. }
  8098. }
  8099. },
  8100. "models.HsbySellCollectionOrder": {
  8101. "type": "object",
  8102. "required": [
  8103. "goodscode",
  8104. "goodsname",
  8105. "tradeid",
  8106. "trademode"
  8107. ],
  8108. "properties": {
  8109. "agreeunit": {
  8110. "description": "合约单位",
  8111. "type": "number"
  8112. },
  8113. "buyaccountid": {
  8114. "description": "买方账号ID[报价币种]",
  8115. "type": "integer"
  8116. },
  8117. "buyorderid": {
  8118. "description": "买方委托单号",
  8119. "type": "string"
  8120. },
  8121. "createtime": {
  8122. "description": "创建时间",
  8123. "type": "string"
  8124. },
  8125. "currencysign": {
  8126. "description": "货币符号",
  8127. "type": "string"
  8128. },
  8129. "decimalplace": {
  8130. "description": "报价小数位",
  8131. "type": "integer"
  8132. },
  8133. "goodscode": {
  8134. "description": "商品代码(内部)",
  8135. "type": "string"
  8136. },
  8137. "goodsid": {
  8138. "description": "商品ID",
  8139. "type": "integer"
  8140. },
  8141. "goodsname": {
  8142. "description": "商品名称",
  8143. "type": "string"
  8144. },
  8145. "marketid": {
  8146. "description": "市场ID",
  8147. "type": "integer"
  8148. },
  8149. "offamount": {
  8150. "description": "优惠金额",
  8151. "type": "number"
  8152. },
  8153. "payamount": {
  8154. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  8155. "type": "number"
  8156. },
  8157. "payflag": {
  8158. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8159. "type": "integer"
  8160. },
  8161. "paylimitedtime": {
  8162. "description": "支付期限",
  8163. "type": "string"
  8164. },
  8165. "paytime": {
  8166. "description": "付款时间",
  8167. "type": "string"
  8168. },
  8169. "picurls": {
  8170. "description": "商品介绍图片[多张用逗号分隔]",
  8171. "type": "string"
  8172. },
  8173. "sellaccountid": {
  8174. "description": "卖方账号ID[报价币种]",
  8175. "type": "integer"
  8176. },
  8177. "sellorderid": {
  8178. "description": "卖方委托单号",
  8179. "type": "string"
  8180. },
  8181. "tradeamount": {
  8182. "description": "成交金额",
  8183. "type": "number"
  8184. },
  8185. "tradecharge": {
  8186. "description": "成交手续费(买方)",
  8187. "type": "number"
  8188. },
  8189. "tradedate": {
  8190. "description": "交易日(yyyyMMdd)",
  8191. "type": "string"
  8192. },
  8193. "tradeid": {
  8194. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8195. "type": "string"
  8196. },
  8197. "trademode": {
  8198. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8199. "type": "integer"
  8200. },
  8201. "tradeprice": {
  8202. "description": "成交价格",
  8203. "type": "number"
  8204. },
  8205. "tradeqty": {
  8206. "description": "成交数量",
  8207. "type": "integer"
  8208. }
  8209. }
  8210. },
  8211. "models.HsbySellMyDetail": {
  8212. "type": "object",
  8213. "required": [
  8214. "accountid",
  8215. "buyorsell",
  8216. "goodscode",
  8217. "goodsid",
  8218. "goodsname",
  8219. "marketid",
  8220. "orderid",
  8221. "time",
  8222. "trademode"
  8223. ],
  8224. "properties": {
  8225. "accountid": {
  8226. "description": "账户ID[报价币种]",
  8227. "type": "integer"
  8228. },
  8229. "agreeunit": {
  8230. "description": "合约单位",
  8231. "type": "number"
  8232. },
  8233. "buyorsell": {
  8234. "description": "买卖 - 0:买 1:卖",
  8235. "type": "integer"
  8236. },
  8237. "currencysign": {
  8238. "description": "货币符号",
  8239. "type": "string"
  8240. },
  8241. "decimalplace": {
  8242. "description": "报价小数位",
  8243. "type": "integer"
  8244. },
  8245. "goodscode": {
  8246. "description": "商品代码(内部)",
  8247. "type": "string"
  8248. },
  8249. "goodsid": {
  8250. "description": "商品ID",
  8251. "type": "integer"
  8252. },
  8253. "goodsname": {
  8254. "description": "商品名称",
  8255. "type": "string"
  8256. },
  8257. "marketid": {
  8258. "description": "市场ID",
  8259. "type": "integer"
  8260. },
  8261. "orderid": {
  8262. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  8263. "type": "string"
  8264. },
  8265. "ordertype": {
  8266. "description": "单据类型:0 - 发布中, 1 - 已完成",
  8267. "type": "integer"
  8268. },
  8269. "picurls": {
  8270. "description": "介绍图片[多张用逗号分隔]",
  8271. "type": "string"
  8272. },
  8273. "price": {
  8274. "description": "价格",
  8275. "type": "number"
  8276. },
  8277. "qty": {
  8278. "description": "数量",
  8279. "type": "integer"
  8280. },
  8281. "time": {
  8282. "description": "时间",
  8283. "type": "string"
  8284. },
  8285. "trademode": {
  8286. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8287. "type": "integer"
  8288. },
  8289. "vendorname": {
  8290. "description": "供应商名称",
  8291. "type": "string"
  8292. }
  8293. }
  8294. },
  8295. "models.HsbyTopGoods": {
  8296. "type": "object",
  8297. "required": [
  8298. "goodscode",
  8299. "goodsid",
  8300. "goodsname",
  8301. "marketid",
  8302. "trademode"
  8303. ],
  8304. "properties": {
  8305. "agreeunit": {
  8306. "description": "合约单位",
  8307. "type": "number"
  8308. },
  8309. "currency": {
  8310. "description": "货币",
  8311. "type": "string"
  8312. },
  8313. "currencysign": {
  8314. "description": "货币符号",
  8315. "type": "string"
  8316. },
  8317. "decimalplace": {
  8318. "description": "报价小数位",
  8319. "type": "integer"
  8320. },
  8321. "goodscode": {
  8322. "description": "商品代码(内部)",
  8323. "type": "string"
  8324. },
  8325. "goodsid": {
  8326. "description": "商品ID(自增ID SEQ_GOODS)",
  8327. "type": "integer"
  8328. },
  8329. "goodsname": {
  8330. "description": "商品名称",
  8331. "type": "string"
  8332. },
  8333. "hotindex": {
  8334. "description": "景点热度",
  8335. "type": "integer"
  8336. },
  8337. "last": {
  8338. "description": "现价",
  8339. "type": "number"
  8340. },
  8341. "marketid": {
  8342. "description": "所属市场ID",
  8343. "type": "integer"
  8344. },
  8345. "picurls": {
  8346. "description": "介绍图片[多张用逗号分隔]",
  8347. "type": "string"
  8348. },
  8349. "quoteminunit": {
  8350. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8351. "type": "integer"
  8352. },
  8353. "trademode": {
  8354. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8355. "type": "integer"
  8356. },
  8357. "videourls": {
  8358. "description": "介绍视频[多张用逗号分隔]",
  8359. "type": "string"
  8360. }
  8361. }
  8362. },
  8363. "models.HybsMyBuyOrderDetail": {
  8364. "type": "object",
  8365. "required": [
  8366. "accountid",
  8367. "buyorsell",
  8368. "goodscode",
  8369. "goodsid",
  8370. "goodsname",
  8371. "marketid",
  8372. "orderid",
  8373. "orderqty",
  8374. "ordertime",
  8375. "trademode"
  8376. ],
  8377. "properties": {
  8378. "accountid": {
  8379. "description": "账户ID[报价币种]",
  8380. "type": "integer"
  8381. },
  8382. "agreeunit": {
  8383. "description": "合约单位",
  8384. "type": "number"
  8385. },
  8386. "buyorsell": {
  8387. "description": "买卖 - 0:买 1:卖",
  8388. "type": "integer"
  8389. },
  8390. "cancelqty": {
  8391. "description": "撤单数量",
  8392. "type": "integer"
  8393. },
  8394. "currencysign": {
  8395. "description": "货币符号",
  8396. "type": "string"
  8397. },
  8398. "decimalplace": {
  8399. "description": "报价小数位",
  8400. "type": "integer"
  8401. },
  8402. "goodscode": {
  8403. "description": "商品代码(内部)",
  8404. "type": "string"
  8405. },
  8406. "goodsid": {
  8407. "description": "商品ID",
  8408. "type": "integer"
  8409. },
  8410. "goodsname": {
  8411. "description": "商品名称",
  8412. "type": "string"
  8413. },
  8414. "listingselecttype": {
  8415. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8416. "type": "integer"
  8417. },
  8418. "marketid": {
  8419. "description": "市场ID",
  8420. "type": "integer"
  8421. },
  8422. "mybuystatus": {
  8423. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  8424. "type": "integer"
  8425. },
  8426. "orderamount": {
  8427. "description": "委托金额",
  8428. "type": "number"
  8429. },
  8430. "orderid": {
  8431. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8432. "type": "string"
  8433. },
  8434. "orderprice": {
  8435. "description": "委托价格",
  8436. "type": "number"
  8437. },
  8438. "orderqty": {
  8439. "description": "委托数量",
  8440. "type": "integer"
  8441. },
  8442. "orderstatus": {
  8443. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8444. "type": "integer"
  8445. },
  8446. "ordertime": {
  8447. "description": "委托时间",
  8448. "type": "string"
  8449. },
  8450. "picurls1": {
  8451. "description": "预售商品介绍图片[多张用逗号分隔]",
  8452. "type": "string"
  8453. },
  8454. "picurls2": {
  8455. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  8456. "type": "string"
  8457. },
  8458. "trademode": {
  8459. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8460. "type": "integer"
  8461. },
  8462. "tradeqty": {
  8463. "description": "成交数量",
  8464. "type": "integer"
  8465. },
  8466. "vendorname1": {
  8467. "description": "预售商品供应商名称",
  8468. "type": "string"
  8469. },
  8470. "vendorname2": {
  8471. "description": "挂牌商品供应商名称",
  8472. "type": "string"
  8473. }
  8474. }
  8475. },
  8476. "models.Marketrun": {
  8477. "type": "object",
  8478. "required": [
  8479. "marketid",
  8480. "nexttradedate",
  8481. "reckonflag",
  8482. "runstatus",
  8483. "tradedate",
  8484. "tradedate2"
  8485. ],
  8486. "properties": {
  8487. "afternexttradedate": {
  8488. "description": "下下交易日",
  8489. "type": "string"
  8490. },
  8491. "clearquoteflag": {
  8492. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  8493. "type": "integer"
  8494. },
  8495. "lastreckondate": {
  8496. "description": "最新交易日(结算成功)",
  8497. "type": "string"
  8498. },
  8499. "machinedate": {
  8500. "description": "机器时间",
  8501. "type": "string"
  8502. },
  8503. "manualflag": {
  8504. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  8505. "type": "integer"
  8506. },
  8507. "marketid": {
  8508. "description": "市场ID",
  8509. "type": "integer"
  8510. },
  8511. "nexttradedate": {
  8512. "description": "下一交易日",
  8513. "type": "string"
  8514. },
  8515. "pretradedate": {
  8516. "description": "上一交易日",
  8517. "type": "string"
  8518. },
  8519. "reckonflag": {
  8520. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  8521. "type": "integer"
  8522. },
  8523. "runstatus": {
  8524. "description": "运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内) 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始 62.今日免清算",
  8525. "type": "integer"
  8526. },
  8527. "sectionid": {
  8528. "description": "时间段号[多时段时用]",
  8529. "type": "integer"
  8530. },
  8531. "tradedate": {
  8532. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  8533. "type": "string"
  8534. },
  8535. "tradedate2": {
  8536. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  8537. "type": "string"
  8538. },
  8539. "updatetime": {
  8540. "description": "更新时间",
  8541. "type": "string"
  8542. }
  8543. }
  8544. },
  8545. "models.Messageboard": {
  8546. "type": "object",
  8547. "required": [
  8548. "messageboardid"
  8549. ],
  8550. "properties": {
  8551. "createtime": {
  8552. "description": "创建时间",
  8553. "type": "string"
  8554. },
  8555. "message": {
  8556. "description": "留言信息",
  8557. "type": "string"
  8558. },
  8559. "messageboardid": {
  8560. "description": "留言簿ID(SEQ_MessageBoard)",
  8561. "type": "integer"
  8562. },
  8563. "userid": {
  8564. "description": "用户ID",
  8565. "type": "integer"
  8566. }
  8567. }
  8568. },
  8569. "models.MyCoupon": {
  8570. "type": "object",
  8571. "required": [
  8572. "accountid",
  8573. "coupontypeid"
  8574. ],
  8575. "properties": {
  8576. "accountid": {
  8577. "description": "资金账户ID",
  8578. "type": "integer"
  8579. },
  8580. "areauserid": {
  8581. "description": "所属机构",
  8582. "type": "integer"
  8583. },
  8584. "conditionvalue": {
  8585. "description": "条件阈值(可为0)",
  8586. "type": "number"
  8587. },
  8588. "couponcategroy": {
  8589. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  8590. "type": "integer"
  8591. },
  8592. "couponname": {
  8593. "description": "优惠券名称",
  8594. "type": "string"
  8595. },
  8596. "coupontypeid": {
  8597. "description": "优惠券类型ID",
  8598. "type": "string"
  8599. },
  8600. "couponvalue": {
  8601. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  8602. "type": "number"
  8603. },
  8604. "curfreezeqty": {
  8605. "description": "期末冻结数量",
  8606. "type": "integer"
  8607. },
  8608. "curqty": {
  8609. "description": "期末数量",
  8610. "type": "integer"
  8611. },
  8612. "isgeneral": {
  8613. "description": "是否通用券 - 0:否 1:是",
  8614. "type": "integer"
  8615. },
  8616. "isunusable": {
  8617. "description": "是否不可用",
  8618. "type": "boolean"
  8619. },
  8620. "limitedflag": {
  8621. "description": "是否指定商品 - 0:不限 1:限制",
  8622. "type": "integer"
  8623. },
  8624. "limitedgoodsids": {
  8625. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  8626. "type": "string"
  8627. },
  8628. "orifreezeqty": {
  8629. "description": "期初冻结数量",
  8630. "type": "integer"
  8631. },
  8632. "oriqty": {
  8633. "description": "期初数量",
  8634. "type": "integer"
  8635. },
  8636. "reasontype": {
  8637. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  8638. "type": "integer"
  8639. },
  8640. "todaydecrease": {
  8641. "description": "今日减少",
  8642. "type": "integer"
  8643. },
  8644. "todayincrease": {
  8645. "description": "今日增加",
  8646. "type": "integer"
  8647. },
  8648. "userid": {
  8649. "description": "用户ID",
  8650. "type": "integer"
  8651. },
  8652. "userscope": {
  8653. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  8654. "type": "string"
  8655. }
  8656. }
  8657. },
  8658. "models.MyCouponHold": {
  8659. "type": "object",
  8660. "required": [
  8661. "couponholdid"
  8662. ],
  8663. "properties": {
  8664. "accountid": {
  8665. "description": "资金账户ID",
  8666. "type": "integer"
  8667. },
  8668. "conditionvalue": {
  8669. "description": "条件阈值(可为0)",
  8670. "type": "number"
  8671. },
  8672. "couponcategroy": {
  8673. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  8674. "type": "integer"
  8675. },
  8676. "couponholdid": {
  8677. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  8678. "type": "string"
  8679. },
  8680. "couponname": {
  8681. "description": "优惠券名称",
  8682. "type": "string"
  8683. },
  8684. "coupontypeid": {
  8685. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  8686. "type": "string"
  8687. },
  8688. "couponvalue": {
  8689. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  8690. "type": "number"
  8691. },
  8692. "createtime": {
  8693. "description": "创建时间",
  8694. "type": "string"
  8695. },
  8696. "enddate": {
  8697. "description": "结束日期",
  8698. "type": "string"
  8699. },
  8700. "giveapplyid": {
  8701. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  8702. "type": "integer"
  8703. },
  8704. "holdstatus": {
  8705. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  8706. "type": "integer"
  8707. },
  8708. "isgeneral": {
  8709. "description": "是否通用券 - 0:否 1:是",
  8710. "type": "integer"
  8711. },
  8712. "limitedflag": {
  8713. "description": "是否指定商品 - 0:不限 1:限制",
  8714. "type": "integer"
  8715. },
  8716. "limitedgoodsids": {
  8717. "description": "指定商品IDs[逗号分隔]",
  8718. "type": "string"
  8719. },
  8720. "qty": {
  8721. "description": "数量(按1平铺)",
  8722. "type": "integer"
  8723. },
  8724. "startdate": {
  8725. "description": "开始日期",
  8726. "type": "string"
  8727. },
  8728. "userid": {
  8729. "description": "用户ID",
  8730. "type": "integer"
  8731. },
  8732. "userscope": {
  8733. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  8734. "type": "string"
  8735. }
  8736. }
  8737. },
  8738. "models.MyUsedCoupon": {
  8739. "type": "object",
  8740. "required": [
  8741. "coupontypeid",
  8742. "orderid"
  8743. ],
  8744. "properties": {
  8745. "accountid": {
  8746. "description": "资金账户ID(买方)",
  8747. "type": "integer"
  8748. },
  8749. "conditionvalue": {
  8750. "description": "条件阈值(可为0)",
  8751. "type": "number"
  8752. },
  8753. "couponcategroy": {
  8754. "description": "种类 - 1:现金券 2:折扣券",
  8755. "type": "integer"
  8756. },
  8757. "couponname": {
  8758. "description": "优惠券名称",
  8759. "type": "string"
  8760. },
  8761. "coupontypeid": {
  8762. "description": "优惠券类型ID(买方)",
  8763. "type": "string"
  8764. },
  8765. "couponvalue": {
  8766. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  8767. "type": "number"
  8768. },
  8769. "createtime": {
  8770. "description": "创建时间",
  8771. "type": "string"
  8772. },
  8773. "goodsid": {
  8774. "description": "商品ID",
  8775. "type": "integer"
  8776. },
  8777. "handlestatus": {
  8778. "description": "处理状态",
  8779. "type": "integer"
  8780. },
  8781. "marketid": {
  8782. "description": "市场ID",
  8783. "type": "integer"
  8784. },
  8785. "offamount": {
  8786. "description": "优惠金额",
  8787. "type": "number"
  8788. },
  8789. "orderid": {
  8790. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8791. "type": "string"
  8792. },
  8793. "sellaccountid": {
  8794. "description": "资金账户ID(卖方)",
  8795. "type": "integer"
  8796. },
  8797. "tradeamount": {
  8798. "description": "成交金额",
  8799. "type": "number"
  8800. },
  8801. "tradeid": {
  8802. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8803. "type": "string"
  8804. },
  8805. "usedqty": {
  8806. "description": "使用数量",
  8807. "type": "integer"
  8808. }
  8809. }
  8810. },
  8811. "models.OperationPrimaryMenu": {
  8812. "type": "object",
  8813. "properties": {
  8814. "Children": {
  8815. "description": "二级功能菜单",
  8816. "type": "array",
  8817. "items": {
  8818. "$ref": "#/definitions/models.OperationSecondaryMenu"
  8819. }
  8820. },
  8821. "Key": {
  8822. "description": "菜单KEY",
  8823. "type": "string"
  8824. },
  8825. "Label": {
  8826. "description": "菜单标题",
  8827. "type": "string"
  8828. }
  8829. }
  8830. },
  8831. "models.OperationSecondaryMenu": {
  8832. "type": "object",
  8833. "properties": {
  8834. "Key": {
  8835. "description": "菜单KEY",
  8836. "type": "string"
  8837. },
  8838. "Label": {
  8839. "description": "菜单标题",
  8840. "type": "string"
  8841. },
  8842. "TabList": {
  8843. "description": "三级功能菜单",
  8844. "type": "array",
  8845. "items": {
  8846. "$ref": "#/definitions/models.OperationTabMenu"
  8847. }
  8848. }
  8849. }
  8850. },
  8851. "models.OperationTabMenu": {
  8852. "type": "object",
  8853. "properties": {
  8854. "Key": {
  8855. "description": "菜单KEY",
  8856. "type": "string"
  8857. },
  8858. "Label": {
  8859. "description": "菜单标题",
  8860. "type": "string"
  8861. }
  8862. }
  8863. },
  8864. "models.QuotePrimaryMenu": {
  8865. "type": "object",
  8866. "properties": {
  8867. "Index": {
  8868. "description": "序号",
  8869. "type": "integer"
  8870. },
  8871. "Key": {
  8872. "description": "键名",
  8873. "type": "string"
  8874. },
  8875. "Name": {
  8876. "description": "菜单名称",
  8877. "type": "string"
  8878. },
  8879. "SubMenus": {
  8880. "description": "子菜单",
  8881. "type": "array",
  8882. "items": {
  8883. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  8884. }
  8885. },
  8886. "SubTitleType": {
  8887. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  8888. "type": "integer"
  8889. },
  8890. "TradeModes": {
  8891. "description": "包含市场交易类型",
  8892. "type": "string"
  8893. }
  8894. }
  8895. },
  8896. "models.QuoteSecondaryMenu": {
  8897. "type": "object",
  8898. "properties": {
  8899. "ExExchangeCode": {
  8900. "description": "外部交易所代码",
  8901. "type": "string"
  8902. },
  8903. "ExExchangeID": {
  8904. "description": "外部交易所ID",
  8905. "type": "integer"
  8906. },
  8907. "GoodsGroupIDs": {
  8908. "description": "商品组ID列表",
  8909. "type": "array",
  8910. "items": {
  8911. "type": "integer"
  8912. }
  8913. },
  8914. "Index": {
  8915. "description": "序号",
  8916. "type": "integer"
  8917. },
  8918. "MarketID": {
  8919. "description": "市场ID",
  8920. "type": "integer"
  8921. },
  8922. "MenuTitle": {
  8923. "description": "菜单标题(市场名称或外部交易所名称)",
  8924. "type": "string"
  8925. },
  8926. "TradeMode": {
  8927. "description": "交易模式",
  8928. "type": "integer"
  8929. }
  8930. }
  8931. },
  8932. "models.SearchGoods": {
  8933. "type": "object",
  8934. "required": [
  8935. "goodscode",
  8936. "goodsid",
  8937. "goodsname",
  8938. "marketid",
  8939. "trademode"
  8940. ],
  8941. "properties": {
  8942. "goodscode": {
  8943. "description": "商品代码(内部)",
  8944. "type": "string"
  8945. },
  8946. "goodsid": {
  8947. "description": "商品ID(自增ID SEQ_GOODS)",
  8948. "type": "integer"
  8949. },
  8950. "goodsname": {
  8951. "description": "商品名称",
  8952. "type": "string"
  8953. },
  8954. "marketid": {
  8955. "description": "所属市场ID",
  8956. "type": "integer"
  8957. },
  8958. "marketname": {
  8959. "description": "市场名称",
  8960. "type": "string"
  8961. },
  8962. "trademode": {
  8963. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8964. "type": "integer"
  8965. }
  8966. }
  8967. },
  8968. "models.Szdz2imageconfig": {
  8969. "type": "object",
  8970. "required": [
  8971. "configid"
  8972. ],
  8973. "properties": {
  8974. "configid": {
  8975. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  8976. "type": "integer"
  8977. },
  8978. "imagepath": {
  8979. "description": "图片",
  8980. "type": "string"
  8981. },
  8982. "imagetype": {
  8983. "description": "类型 - 1:App首页轮播 2:我的",
  8984. "type": "integer"
  8985. },
  8986. "sort": {
  8987. "description": "排序",
  8988. "type": "integer"
  8989. },
  8990. "title": {
  8991. "description": "标题",
  8992. "type": "string"
  8993. },
  8994. "url": {
  8995. "description": "链接",
  8996. "type": "string"
  8997. }
  8998. }
  8999. },
  9000. "models.Szdz3convertconfig": {
  9001. "type": "object",
  9002. "required": [
  9003. "converttype",
  9004. "innergoodsid",
  9005. "outergoodscode"
  9006. ],
  9007. "properties": {
  9008. "canin": {
  9009. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  9010. "type": "integer"
  9011. },
  9012. "canout": {
  9013. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  9014. "type": "integer"
  9015. },
  9016. "converttype": {
  9017. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  9018. "type": "integer"
  9019. },
  9020. "createtime": {
  9021. "description": "创建时间",
  9022. "type": "string"
  9023. },
  9024. "creatorid": {
  9025. "description": "创建人",
  9026. "type": "integer"
  9027. },
  9028. "daymaxvalue": {
  9029. "description": "当日最大转入限制",
  9030. "type": "number"
  9031. },
  9032. "freezedays": {
  9033. "description": "冻结天数 [5:花生米转交易]",
  9034. "type": "integer"
  9035. },
  9036. "innergoodsid": {
  9037. "description": "内部商品ID[交易]",
  9038. "type": "integer"
  9039. },
  9040. "inratio": {
  9041. "description": "目标值",
  9042. "type": "integer"
  9043. },
  9044. "modifierid": {
  9045. "description": "修改人",
  9046. "type": "integer"
  9047. },
  9048. "modifytime": {
  9049. "description": "修改时间",
  9050. "type": "string"
  9051. },
  9052. "outergoodscode": {
  9053. "description": "外部商品代码[JD\\PD]",
  9054. "type": "string"
  9055. },
  9056. "outratio": {
  9057. "description": "源值",
  9058. "type": "integer"
  9059. },
  9060. "pddecimalplace": {
  9061. "description": "PD小数位",
  9062. "type": "integer"
  9063. },
  9064. "timemaxvalue": {
  9065. "description": "单次最大转入限制",
  9066. "type": "number"
  9067. },
  9068. "timeminvalue": {
  9069. "description": "单次最小转入限制",
  9070. "type": "number"
  9071. }
  9072. }
  9073. },
  9074. "models.Szdz3searchwhitelist": {
  9075. "type": "object",
  9076. "required": [
  9077. "userid"
  9078. ],
  9079. "properties": {
  9080. "createtime": {
  9081. "description": "创建时间",
  9082. "type": "string"
  9083. },
  9084. "creatorid": {
  9085. "description": "创建人",
  9086. "type": "integer"
  9087. },
  9088. "modifierid": {
  9089. "description": "修改人",
  9090. "type": "integer"
  9091. },
  9092. "modifytime": {
  9093. "description": "修改时间",
  9094. "type": "string"
  9095. },
  9096. "userid": {
  9097. "description": "用户ID",
  9098. "type": "integer"
  9099. }
  9100. }
  9101. },
  9102. "models.Tablecolumnconfig": {
  9103. "type": "object",
  9104. "required": [
  9105. "autoid"
  9106. ],
  9107. "properties": {
  9108. "aligntype": {
  9109. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  9110. "type": "integer"
  9111. },
  9112. "autoid": {
  9113. "description": "AutoID",
  9114. "type": "integer"
  9115. },
  9116. "columnfield": {
  9117. "description": "列字段",
  9118. "type": "string"
  9119. },
  9120. "columntitle": {
  9121. "description": "列Title",
  9122. "type": "string"
  9123. },
  9124. "columnwidth": {
  9125. "description": "列宽",
  9126. "type": "string"
  9127. },
  9128. "formatterstring": {
  9129. "description": "格式化字符",
  9130. "type": "string"
  9131. },
  9132. "formattertype": {
  9133. "description": "格式化类型",
  9134. "type": "string"
  9135. },
  9136. "groupname": {
  9137. "description": "表头分组名称",
  9138. "type": "string"
  9139. },
  9140. "isshow": {
  9141. "description": "是否显示 - 0:不显示 1:显示",
  9142. "type": "integer"
  9143. },
  9144. "needsummary": {
  9145. "description": "是否需要汇总 - 0:不需要 1:需要",
  9146. "type": "integer"
  9147. },
  9148. "orderindex": {
  9149. "description": "顺序",
  9150. "type": "integer"
  9151. },
  9152. "remark": {
  9153. "description": "备注",
  9154. "type": "string"
  9155. },
  9156. "summarytype": {
  9157. "description": "汇总类型 - 1:加总 2:最后一个",
  9158. "type": "integer"
  9159. },
  9160. "tablekey": {
  9161. "description": "列表Key",
  9162. "type": "string"
  9163. }
  9164. }
  9165. },
  9166. "models.Useraccount": {
  9167. "type": "object",
  9168. "required": [
  9169. "userid"
  9170. ],
  9171. "properties": {
  9172. "accountname": {
  9173. "description": "账户名称(机构名称)",
  9174. "type": "string"
  9175. },
  9176. "accountstatus": {
  9177. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  9178. "type": "integer"
  9179. },
  9180. "auditremark": {
  9181. "description": "审核备注",
  9182. "type": "string"
  9183. },
  9184. "audittime": {
  9185. "description": "审核时间",
  9186. "type": "string"
  9187. },
  9188. "audituserid": {
  9189. "description": "审核人",
  9190. "type": "integer"
  9191. },
  9192. "broker": {
  9193. "description": "所属经纪人ID",
  9194. "type": "integer"
  9195. },
  9196. "canceltime": {
  9197. "description": "销户时间",
  9198. "type": "string"
  9199. },
  9200. "canceluserid": {
  9201. "description": "销户人",
  9202. "type": "integer"
  9203. },
  9204. "createtime": {
  9205. "description": "创建时间",
  9206. "type": "string"
  9207. },
  9208. "creatorid": {
  9209. "description": "创建人",
  9210. "type": "integer"
  9211. },
  9212. "hasauth": {
  9213. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  9214. "type": "integer"
  9215. },
  9216. "isanonymous": {
  9217. "description": "是否匿名下单 - 0:否 1:是",
  9218. "type": "integer"
  9219. },
  9220. "maxinvestornum": {
  9221. "description": "最大用户数(经纪会员下投资者个数)",
  9222. "type": "integer"
  9223. },
  9224. "memberuserid": {
  9225. "description": "所属会员ID",
  9226. "type": "integer"
  9227. },
  9228. "modifierid": {
  9229. "description": "修改人",
  9230. "type": "integer"
  9231. },
  9232. "modifyremark": {
  9233. "description": "变更备注",
  9234. "type": "string"
  9235. },
  9236. "modifystatus": {
  9237. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  9238. "type": "integer"
  9239. },
  9240. "modifytime": {
  9241. "description": "修改时间",
  9242. "type": "string"
  9243. },
  9244. "parentuserid": {
  9245. "description": "所属机构ID",
  9246. "type": "integer"
  9247. },
  9248. "reckonaccountid": {
  9249. "description": "默认结算资金账号ID(机构分润使用) 作废",
  9250. "type": "integer"
  9251. },
  9252. "refercount": {
  9253. "description": "推荐总人数",
  9254. "type": "integer"
  9255. },
  9256. "refereeuserid": {
  9257. "description": "推荐人ID",
  9258. "type": "integer"
  9259. },
  9260. "refernum": {
  9261. "description": "推荐码",
  9262. "type": "string"
  9263. },
  9264. "subarealevelpath": {
  9265. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  9266. "type": "string"
  9267. },
  9268. "userid": {
  9269. "description": "用户ID",
  9270. "type": "integer"
  9271. },
  9272. "usertype": {
  9273. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  9274. "type": "integer"
  9275. }
  9276. }
  9277. },
  9278. "models.Userfavoritegoods": {
  9279. "type": "object",
  9280. "required": [
  9281. "goodsid"
  9282. ],
  9283. "properties": {
  9284. "goodsid": {
  9285. "description": "商品ID",
  9286. "type": "integer"
  9287. }
  9288. }
  9289. },
  9290. "models.Userinfo": {
  9291. "type": "object",
  9292. "required": [
  9293. "userid"
  9294. ],
  9295. "properties": {
  9296. "address": {
  9297. "description": "地址",
  9298. "type": "string"
  9299. },
  9300. "attachment1": {
  9301. "description": "附件1",
  9302. "type": "string"
  9303. },
  9304. "attachment2": {
  9305. "description": "附件2",
  9306. "type": "string"
  9307. },
  9308. "bankaccount": {
  9309. "description": "银行帐号 (加密存储)",
  9310. "type": "string"
  9311. },
  9312. "bankaccountname": {
  9313. "description": "收款人名称",
  9314. "type": "string"
  9315. },
  9316. "bankcardfrontphotourl": {
  9317. "description": "银行卡正面照地址",
  9318. "type": "string"
  9319. },
  9320. "bankid": {
  9321. "description": "银行编码",
  9322. "type": "string"
  9323. },
  9324. "bankname": {
  9325. "description": "银行名称",
  9326. "type": "string"
  9327. },
  9328. "biznature": {
  9329. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9330. "type": "integer"
  9331. },
  9332. "bizscope": {
  9333. "description": "企业经营范围(企业)",
  9334. "type": "string"
  9335. },
  9336. "cardbackphotourl": {
  9337. "description": "证件背面图片地址",
  9338. "type": "string"
  9339. },
  9340. "cardfrontphotourl": {
  9341. "description": "证件正面图片地址",
  9342. "type": "string"
  9343. },
  9344. "cardnum": {
  9345. "description": "证件号码(加密存储)",
  9346. "type": "string"
  9347. },
  9348. "cardtypeid": {
  9349. "description": "证件类型ID",
  9350. "type": "integer"
  9351. },
  9352. "cityid": {
  9353. "description": "市",
  9354. "type": "integer"
  9355. },
  9356. "company": {
  9357. "description": "公司(个人)",
  9358. "type": "string"
  9359. },
  9360. "contactname": {
  9361. "description": "联系人",
  9362. "type": "string"
  9363. },
  9364. "countryid": {
  9365. "description": "国家",
  9366. "type": "integer"
  9367. },
  9368. "createtime": {
  9369. "description": "创建时间",
  9370. "type": "string"
  9371. },
  9372. "creatorid": {
  9373. "description": "创建人",
  9374. "type": "integer"
  9375. },
  9376. "customername": {
  9377. "description": "客户名称(企业名称)",
  9378. "type": "string"
  9379. },
  9380. "districtid": {
  9381. "description": "地区",
  9382. "type": "integer"
  9383. },
  9384. "email": {
  9385. "description": "邮件(加密存储)",
  9386. "type": "string"
  9387. },
  9388. "fax": {
  9389. "description": "传真(加密存储)",
  9390. "type": "string"
  9391. },
  9392. "halfbodyphotourl": {
  9393. "description": "半身照地址",
  9394. "type": "string"
  9395. },
  9396. "hasencrypt": {
  9397. "description": "数据是否已加密 - 0:未加密 1:已加密",
  9398. "type": "integer"
  9399. },
  9400. "headurl": {
  9401. "description": "头像地址",
  9402. "type": "string"
  9403. },
  9404. "legalcardbackphotourl": {
  9405. "description": "法人身份证背面照地址",
  9406. "type": "string"
  9407. },
  9408. "legalcardfrontphotourl": {
  9409. "description": "法人身份证正面照地址",
  9410. "type": "string"
  9411. },
  9412. "legalpersonname": {
  9413. "description": "法人姓名(企业)",
  9414. "type": "string"
  9415. },
  9416. "mobile": {
  9417. "description": "手机号码(加密存储)",
  9418. "type": "string"
  9419. },
  9420. "mobile2": {
  9421. "description": "手机号码[明文-尚志]",
  9422. "type": "string"
  9423. },
  9424. "modifierid": {
  9425. "description": "修改人",
  9426. "type": "integer"
  9427. },
  9428. "modifiertime": {
  9429. "description": "修改时间",
  9430. "type": "string"
  9431. },
  9432. "needinvoice": {
  9433. "description": "是否需要发票 - 0:不需要 1:需要",
  9434. "type": "integer"
  9435. },
  9436. "nickname": {
  9437. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  9438. "type": "string"
  9439. },
  9440. "openmode": {
  9441. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  9442. "type": "integer"
  9443. },
  9444. "otherurl": {
  9445. "description": "其它图片地址[使用分号分隔]",
  9446. "type": "string"
  9447. },
  9448. "postalcode": {
  9449. "description": "邮政编码",
  9450. "type": "string"
  9451. },
  9452. "provinceid": {
  9453. "description": "省",
  9454. "type": "integer"
  9455. },
  9456. "qq": {
  9457. "description": "QQ(加密存储",
  9458. "type": "string"
  9459. },
  9460. "remark": {
  9461. "description": "备注",
  9462. "type": "string"
  9463. },
  9464. "sex": {
  9465. "description": "用户性别 0: 女 1: 男",
  9466. "type": "integer"
  9467. },
  9468. "signpdfurl": {
  9469. "description": "签约pdf文件",
  9470. "type": "string"
  9471. },
  9472. "telphone": {
  9473. "description": "联系电话(加密存储)",
  9474. "type": "string"
  9475. },
  9476. "userid": {
  9477. "description": "用户ID",
  9478. "type": "integer"
  9479. },
  9480. "userinfotype": {
  9481. "description": "用户信息类型 - 1:个人 2:企业",
  9482. "type": "integer"
  9483. },
  9484. "userstatus": {
  9485. "description": "用户状态 - 1:正常 2:注销",
  9486. "type": "integer"
  9487. },
  9488. "usertype": {
  9489. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  9490. "type": "integer"
  9491. },
  9492. "wechat": {
  9493. "description": "微信(加密存储)",
  9494. "type": "string"
  9495. },
  9496. "wskhinfo": {
  9497. "description": "开户申请信息(JSON)",
  9498. "type": "string"
  9499. }
  9500. }
  9501. },
  9502. "models.WRCategoryTree": {
  9503. "type": "object",
  9504. "required": [
  9505. "categoryid"
  9506. ],
  9507. "properties": {
  9508. "areauserid": {
  9509. "description": "所属机构",
  9510. "type": "integer"
  9511. },
  9512. "categorydesc": {
  9513. "description": "类别描述",
  9514. "type": "string"
  9515. },
  9516. "categoryid": {
  9517. "description": "类别ID(SEQ_WRCATEGORY)",
  9518. "type": "integer"
  9519. },
  9520. "categoryname": {
  9521. "description": "类别名称",
  9522. "type": "string"
  9523. },
  9524. "iconurl": {
  9525. "description": "图标地址",
  9526. "type": "string"
  9527. },
  9528. "orderindex": {
  9529. "description": "顺序",
  9530. "type": "integer"
  9531. },
  9532. "parentcategoryid": {
  9533. "description": "父类别ID",
  9534. "type": "integer"
  9535. },
  9536. "subcategory": {
  9537. "description": "子分类",
  9538. "type": "array",
  9539. "items": {
  9540. "$ref": "#/definitions/models.WRCategoryTree"
  9541. }
  9542. }
  9543. }
  9544. },
  9545. "models.WRStandardInfo": {
  9546. "type": "object",
  9547. "required": [
  9548. "wrstandardid"
  9549. ],
  9550. "properties": {
  9551. "createtime": {
  9552. "description": "创建时间",
  9553. "type": "string"
  9554. },
  9555. "creatorid": {
  9556. "description": "创建人",
  9557. "type": "integer"
  9558. },
  9559. "deliverygoodsid": {
  9560. "description": "品种ID",
  9561. "type": "integer"
  9562. },
  9563. "deliverygoodsname": {
  9564. "description": "交割商品名称",
  9565. "type": "string"
  9566. },
  9567. "factoryitemjson": {
  9568. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  9569. "type": "string"
  9570. },
  9571. "isvalid": {
  9572. "description": "是否有效 - 0:无效 1:有效",
  9573. "type": "integer"
  9574. },
  9575. "minivalue": {
  9576. "description": "最小变动值",
  9577. "type": "integer"
  9578. },
  9579. "minivaluedp": {
  9580. "description": "最小变动值小数位",
  9581. "type": "integer"
  9582. },
  9583. "realminivalue": {
  9584. "description": "实际最小变动值",
  9585. "type": "integer"
  9586. },
  9587. "realminivaluedp": {
  9588. "description": "实际最小变动值小数位",
  9589. "type": "integer"
  9590. },
  9591. "unitid": {
  9592. "description": "单位ID",
  9593. "type": "integer"
  9594. },
  9595. "unitname": {
  9596. "description": "单位",
  9597. "type": "string"
  9598. },
  9599. "updatetime": {
  9600. "description": "更新时间",
  9601. "type": "string"
  9602. },
  9603. "updatorid": {
  9604. "description": "更新人",
  9605. "type": "integer"
  9606. },
  9607. "wrsstatus": {
  9608. "description": "状态 - 作废 - 0:未激活 1:正常",
  9609. "type": "integer"
  9610. },
  9611. "wrstandardcode": {
  9612. "description": "仓单标准代码",
  9613. "type": "string"
  9614. },
  9615. "wrstandardid": {
  9616. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  9617. "type": "integer"
  9618. },
  9619. "wrstandardname": {
  9620. "description": "仓单标准名称",
  9621. "type": "string"
  9622. }
  9623. }
  9624. },
  9625. "models.Warehouseinfo": {
  9626. "type": "object",
  9627. "required": [
  9628. "autoid",
  9629. "warehousecode"
  9630. ],
  9631. "properties": {
  9632. "address": {
  9633. "description": "详细地址",
  9634. "type": "string"
  9635. },
  9636. "areauserid": {
  9637. "description": "所属机构",
  9638. "type": "integer"
  9639. },
  9640. "autoid": {
  9641. "description": "自增ID",
  9642. "type": "integer"
  9643. },
  9644. "cityid": {
  9645. "description": "市",
  9646. "type": "integer"
  9647. },
  9648. "contactname": {
  9649. "description": "联系人",
  9650. "type": "string"
  9651. },
  9652. "contactnum": {
  9653. "description": "联系电话",
  9654. "type": "string"
  9655. },
  9656. "countryid": {
  9657. "description": "国家",
  9658. "type": "integer"
  9659. },
  9660. "createtime": {
  9661. "description": "创建时间",
  9662. "type": "string"
  9663. },
  9664. "districtid": {
  9665. "description": "区",
  9666. "type": "integer"
  9667. },
  9668. "hasvideo": {
  9669. "description": "是否有视频 - 0:无 1:有",
  9670. "type": "integer"
  9671. },
  9672. "provinceid": {
  9673. "description": "省",
  9674. "type": "integer"
  9675. },
  9676. "remark": {
  9677. "description": "审核备注",
  9678. "type": "string"
  9679. },
  9680. "videourl": {
  9681. "description": "视频地址",
  9682. "type": "string"
  9683. },
  9684. "warehousecode": {
  9685. "description": "仓库代码",
  9686. "type": "string"
  9687. },
  9688. "warehousename": {
  9689. "description": "仓库名称",
  9690. "type": "string"
  9691. },
  9692. "warehousestatus": {
  9693. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  9694. "type": "integer"
  9695. },
  9696. "warehousetype": {
  9697. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  9698. "type": "integer"
  9699. }
  9700. }
  9701. },
  9702. "order.QueryHisTradeDetailRsp": {
  9703. "type": "object",
  9704. "required": [
  9705. "accountid",
  9706. "buyorsell",
  9707. "goodsid",
  9708. "histradedate",
  9709. "marketid",
  9710. "memberuserid",
  9711. "orderid",
  9712. "tradeamount",
  9713. "tradedate",
  9714. "tradeid",
  9715. "tradeprice",
  9716. "tradeqty",
  9717. "tradetime"
  9718. ],
  9719. "properties": {
  9720. "accountid": {
  9721. "description": "账户ID[报价币种]",
  9722. "type": "integer"
  9723. },
  9724. "buildtype": {
  9725. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  9726. "type": "integer"
  9727. },
  9728. "buyorsell": {
  9729. "description": "方向 - 0:买 1:卖",
  9730. "type": "integer"
  9731. },
  9732. "charge": {
  9733. "description": "手续费",
  9734. "type": "number"
  9735. },
  9736. "closecharge": {
  9737. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  9738. "type": "number"
  9739. },
  9740. "closeexchagechargevalue": {
  9741. "description": "平仓交易所手续费设置值",
  9742. "type": "number"
  9743. },
  9744. "closefeealgorithm": {
  9745. "description": "平仓手续费收取方式 1:比率 2:固定",
  9746. "type": "integer"
  9747. },
  9748. "closememberchargevalue": {
  9749. "description": "平仓会员手续费设置值",
  9750. "type": "number"
  9751. },
  9752. "closepl": {
  9753. "description": "平仓盈亏",
  9754. "type": "number"
  9755. },
  9756. "closepl2": {
  9757. "description": "平仓盈亏[逐笔]",
  9758. "type": "number"
  9759. },
  9760. "closeqty": {
  9761. "description": "平仓数量(先建后平操作 需要记录)",
  9762. "type": "integer"
  9763. },
  9764. "creditamount": {
  9765. "description": "授信金额",
  9766. "type": "number"
  9767. },
  9768. "gcaccountid": {
  9769. "description": "账户ID[合约币种]",
  9770. "type": "integer"
  9771. },
  9772. "goodscode": {
  9773. "description": "商品代码",
  9774. "type": "string"
  9775. },
  9776. "goodsid": {
  9777. "description": "商品ID",
  9778. "type": "integer"
  9779. },
  9780. "goodsname": {
  9781. "description": "商品名称",
  9782. "type": "string"
  9783. },
  9784. "histradedate": {
  9785. "description": "历史交易日",
  9786. "type": "string"
  9787. },
  9788. "intclosepl": {
  9789. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  9790. "type": "integer"
  9791. },
  9792. "isconfirmexercise": {
  9793. "description": "是否确认行权- 0:否 1:是",
  9794. "type": "integer"
  9795. },
  9796. "ismain": {
  9797. "description": "是否主单 - 0:不是 1:是",
  9798. "type": "integer"
  9799. },
  9800. "ispreexercise": {
  9801. "description": "是否预申报- 0:否 1:是",
  9802. "type": "integer"
  9803. },
  9804. "isreckoned": {
  9805. "description": "是否结算 - 0:未结算 1:已结算",
  9806. "type": "integer"
  9807. },
  9808. "isvaliddata": {
  9809. "description": "是否有效 - 0:无效 1:有效",
  9810. "type": "integer"
  9811. },
  9812. "listingselecttype": {
  9813. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9814. "type": "integer"
  9815. },
  9816. "marketid": {
  9817. "description": "市场ID",
  9818. "type": "integer"
  9819. },
  9820. "marketname": {
  9821. "description": "市场名称",
  9822. "type": "string"
  9823. },
  9824. "matchaccountid": {
  9825. "description": "对手账号id",
  9826. "type": "integer"
  9827. },
  9828. "memberuserid": {
  9829. "description": "会员id 个人投资者 需要填写",
  9830. "type": "integer"
  9831. },
  9832. "opencharge": {
  9833. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  9834. "type": "number"
  9835. },
  9836. "openexchagechargevalue": {
  9837. "description": "建仓交易所手续费设置值",
  9838. "type": "number"
  9839. },
  9840. "openfeealgorithm": {
  9841. "description": "建仓手续费收取方式 1:比率 2:固定",
  9842. "type": "integer"
  9843. },
  9844. "openmemberchargevalue": {
  9845. "description": "建仓会员手续费设置值",
  9846. "type": "number"
  9847. },
  9848. "openqty": {
  9849. "description": "开仓数量(先建后平操作 需要记录)",
  9850. "type": "integer"
  9851. },
  9852. "optiontype": {
  9853. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  9854. "type": "integer"
  9855. },
  9856. "orderid": {
  9857. "description": "委托单号",
  9858. "type": "string"
  9859. },
  9860. "performanceplanid": {
  9861. "description": "履约计划ID[期权]",
  9862. "type": "integer"
  9863. },
  9864. "performancestatus": {
  9865. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  9866. "type": "integer"
  9867. },
  9868. "preexerciseprice": {
  9869. "description": "预申报价格",
  9870. "type": "number"
  9871. },
  9872. "premium": {
  9873. "description": "权利金 - [持仓单的权利金]",
  9874. "type": "number"
  9875. },
  9876. "relatedouttradeid": {
  9877. "description": "关联外部成交单ID",
  9878. "type": "integer"
  9879. },
  9880. "status": {
  9881. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  9882. "type": "integer"
  9883. },
  9884. "tradeamount": {
  9885. "description": "成交金额[账户币种,用于所有权]",
  9886. "type": "number"
  9887. },
  9888. "tradedate": {
  9889. "description": "交易日(yyyyMMdd)",
  9890. "type": "string"
  9891. },
  9892. "tradeid": {
  9893. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9894. "type": "string"
  9895. },
  9896. "trademode": {
  9897. "description": "交易模式",
  9898. "type": "integer"
  9899. },
  9900. "tradeprice": {
  9901. "description": "成交价格",
  9902. "type": "number"
  9903. },
  9904. "tradeproperty": {
  9905. "description": "交易属性",
  9906. "type": "integer"
  9907. },
  9908. "tradeqty": {
  9909. "description": "成交数量",
  9910. "type": "integer"
  9911. },
  9912. "tradetime": {
  9913. "description": "成交时间",
  9914. "type": "string"
  9915. },
  9916. "tradetype": {
  9917. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  9918. "type": "integer"
  9919. }
  9920. }
  9921. },
  9922. "order.QueryHisTradeOrderDetailRsp": {
  9923. "type": "object",
  9924. "required": [
  9925. "accountid",
  9926. "buildtype",
  9927. "buyorsell",
  9928. "goodsid",
  9929. "histradedate",
  9930. "marketid",
  9931. "memberuserid",
  9932. "operatetype",
  9933. "orderid",
  9934. "orderqty",
  9935. "ordertime",
  9936. "pricemode",
  9937. "tradedate",
  9938. "validtype"
  9939. ],
  9940. "properties": {
  9941. "accountid": {
  9942. "description": "账户ID[报价币种]",
  9943. "type": "integer"
  9944. },
  9945. "buildtype": {
  9946. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  9947. "type": "integer"
  9948. },
  9949. "buyorsell": {
  9950. "description": "买卖 - 0:买 1:卖",
  9951. "type": "integer"
  9952. },
  9953. "cancelorderid": {
  9954. "description": "撤单单号(撤单时填写)",
  9955. "type": "string"
  9956. },
  9957. "cancelqty": {
  9958. "description": "撤单数量",
  9959. "type": "integer"
  9960. },
  9961. "clientordertime": {
  9962. "description": "客户端委托时间",
  9963. "type": "string"
  9964. },
  9965. "clientticket": {
  9966. "description": "客户端流水号",
  9967. "type": "string"
  9968. },
  9969. "clienttype": {
  9970. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  9971. "type": "integer"
  9972. },
  9973. "closeexchagechargevalue": {
  9974. "description": "平仓交易所手续费设置值",
  9975. "type": "number"
  9976. },
  9977. "closefeealgorithm": {
  9978. "description": "平仓手续费收取方式 1:比率 2:固定",
  9979. "type": "integer"
  9980. },
  9981. "closefreezecharge": {
  9982. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  9983. "type": "number"
  9984. },
  9985. "closememberchargevalue": {
  9986. "description": "平仓会员手续费设置值",
  9987. "type": "number"
  9988. },
  9989. "closeqty": {
  9990. "description": "平仓数量(先建后平操作 需要记录)",
  9991. "type": "integer"
  9992. },
  9993. "closetradeqty": {
  9994. "description": "平仓成交数量(先建后平操作,需要记录)",
  9995. "type": "integer"
  9996. },
  9997. "closeunfreezecharge": {
  9998. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  9999. "type": "number"
  10000. },
  10001. "delistingtype": {
  10002. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  10003. "type": "integer"
  10004. },
  10005. "freezecharge": {
  10006. "description": "冻结手续费",
  10007. "type": "number"
  10008. },
  10009. "freezemargin": {
  10010. "description": "冻结保证金(冻结交易金额)",
  10011. "type": "number"
  10012. },
  10013. "gcaccountid": {
  10014. "description": "账户ID[合约币种]",
  10015. "type": "integer"
  10016. },
  10017. "goodscode": {
  10018. "description": "商品代码",
  10019. "type": "string"
  10020. },
  10021. "goodsid": {
  10022. "description": "商品ID",
  10023. "type": "integer"
  10024. },
  10025. "goodsname": {
  10026. "description": "商品名称",
  10027. "type": "string"
  10028. },
  10029. "histradedate": {
  10030. "description": "历史交易日",
  10031. "type": "string"
  10032. },
  10033. "isconfirmexercise": {
  10034. "description": "是否确认行权- 0:否 1:是",
  10035. "type": "integer"
  10036. },
  10037. "ispreexercise": {
  10038. "description": "是否预申报- 0:否 1:是",
  10039. "type": "integer"
  10040. },
  10041. "isvaliddata": {
  10042. "description": "是否有效 - 0:无效 1:有效",
  10043. "type": "integer"
  10044. },
  10045. "listingselecttype": {
  10046. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10047. "type": "integer"
  10048. },
  10049. "marginalgorithm": {
  10050. "description": "保证金收取方式 1:比率 2:固定",
  10051. "type": "integer"
  10052. },
  10053. "marginvalue": {
  10054. "description": "即市保证金设置值",
  10055. "type": "number"
  10056. },
  10057. "marketid": {
  10058. "description": "市场ID",
  10059. "type": "integer"
  10060. },
  10061. "marketmaxsub": {
  10062. "description": "市价最大偏移范围",
  10063. "type": "number"
  10064. },
  10065. "marketname": {
  10066. "description": "市场名称",
  10067. "type": "string"
  10068. },
  10069. "memberuserid": {
  10070. "description": "所属会员UserID",
  10071. "type": "integer"
  10072. },
  10073. "openexchagechargevalue": {
  10074. "description": "建仓交易所手续费设置值",
  10075. "type": "number"
  10076. },
  10077. "openfeealgorithm": {
  10078. "description": "建仓手续费收取方式 1:比率 2:固定",
  10079. "type": "integer"
  10080. },
  10081. "openfreezecharge": {
  10082. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  10083. "type": "number"
  10084. },
  10085. "openmemberchargevalue": {
  10086. "description": "建仓会员手续费设置值",
  10087. "type": "number"
  10088. },
  10089. "openqty": {
  10090. "description": "开仓数量(先建后平操作,需要记录)",
  10091. "type": "integer"
  10092. },
  10093. "opentradeqty": {
  10094. "description": "开仓成交数量(先建后平操作,需要记录)",
  10095. "type": "integer"
  10096. },
  10097. "openunfreezecharge": {
  10098. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  10099. "type": "number"
  10100. },
  10101. "operatetype": {
  10102. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  10103. "type": "integer"
  10104. },
  10105. "operatorid": {
  10106. "description": "登录账号(LoginID)",
  10107. "type": "integer"
  10108. },
  10109. "optiontype": {
  10110. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10111. "type": "integer"
  10112. },
  10113. "orderid": {
  10114. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10115. "type": "string"
  10116. },
  10117. "orderprice": {
  10118. "description": "委托价格",
  10119. "type": "number"
  10120. },
  10121. "orderqty": {
  10122. "description": "委托数量",
  10123. "type": "integer"
  10124. },
  10125. "ordersrc": {
  10126. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  10127. "type": "integer"
  10128. },
  10129. "orderstatus": {
  10130. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10131. "type": "integer"
  10132. },
  10133. "ordertime": {
  10134. "description": "委托时间",
  10135. "type": "string"
  10136. },
  10137. "preexerciseprice": {
  10138. "description": "预申报价格",
  10139. "type": "number"
  10140. },
  10141. "premium": {
  10142. "description": "权利金",
  10143. "type": "number"
  10144. },
  10145. "preorderid": {
  10146. "description": "关联预埋单号(止盈止损单时填写)",
  10147. "type": "string"
  10148. },
  10149. "pricemode": {
  10150. "description": "取价方式 - 1:市价 2: 限价",
  10151. "type": "integer"
  10152. },
  10153. "quoteid": {
  10154. "description": "报价单ID",
  10155. "type": "integer"
  10156. },
  10157. "relatedid": {
  10158. "description": "关联单号(交割单)",
  10159. "type": "string"
  10160. },
  10161. "retcode": {
  10162. "description": "错误代码",
  10163. "type": "integer"
  10164. },
  10165. "sessionid": {
  10166. "description": "会话ID",
  10167. "type": "integer"
  10168. },
  10169. "tradedate": {
  10170. "description": "交易日(yyyyMMdd)",
  10171. "type": "string"
  10172. },
  10173. "trademode": {
  10174. "description": "交易模式",
  10175. "type": "integer"
  10176. },
  10177. "tradeproperty": {
  10178. "description": "交易属性",
  10179. "type": "integer"
  10180. },
  10181. "tradeqty": {
  10182. "description": "成交数量",
  10183. "type": "integer"
  10184. },
  10185. "unfreezecharge": {
  10186. "description": "解冻手续费",
  10187. "type": "number"
  10188. },
  10189. "unfreezemargin": {
  10190. "description": "解冻保证金",
  10191. "type": "number"
  10192. },
  10193. "updatetime": {
  10194. "description": "更新时间",
  10195. "type": "string"
  10196. },
  10197. "uuid": {
  10198. "description": "发起端唯一id",
  10199. "type": "string"
  10200. },
  10201. "validtime": {
  10202. "description": "有效期限",
  10203. "type": "string"
  10204. },
  10205. "validtype": {
  10206. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  10207. "type": "integer"
  10208. },
  10209. "volumetype": {
  10210. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  10211. "type": "integer"
  10212. }
  10213. }
  10214. },
  10215. "order.QueryTradeDetailRsp": {
  10216. "type": "object",
  10217. "required": [
  10218. "accountid",
  10219. "buyorsell",
  10220. "goodsid",
  10221. "marketid",
  10222. "memberuserid",
  10223. "orderid",
  10224. "tradeamount",
  10225. "tradedate",
  10226. "tradeid",
  10227. "tradeprice",
  10228. "tradeqty",
  10229. "tradetime"
  10230. ],
  10231. "properties": {
  10232. "accountid": {
  10233. "description": "账户ID[报价币种]",
  10234. "type": "integer"
  10235. },
  10236. "buildtype": {
  10237. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  10238. "type": "integer"
  10239. },
  10240. "buyorsell": {
  10241. "description": "方向 - 0:买 1:卖",
  10242. "type": "integer"
  10243. },
  10244. "charge": {
  10245. "description": "手续费",
  10246. "type": "number"
  10247. },
  10248. "closecharge": {
  10249. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  10250. "type": "number"
  10251. },
  10252. "closeexchagechargevalue": {
  10253. "description": "平仓交易所手续费设置值",
  10254. "type": "number"
  10255. },
  10256. "closefeealgorithm": {
  10257. "description": "平仓手续费收取方式 1:比率 2:固定",
  10258. "type": "integer"
  10259. },
  10260. "closememberchargevalue": {
  10261. "description": "平仓会员手续费设置值",
  10262. "type": "number"
  10263. },
  10264. "closepl": {
  10265. "description": "平仓盈亏",
  10266. "type": "number"
  10267. },
  10268. "closepl2": {
  10269. "description": "平仓盈亏[逐笔]",
  10270. "type": "number"
  10271. },
  10272. "closeqty": {
  10273. "description": "平仓数量(先建后平操作 需要记录)",
  10274. "type": "integer"
  10275. },
  10276. "creditamount": {
  10277. "description": "授信金额",
  10278. "type": "number"
  10279. },
  10280. "gcaccountid": {
  10281. "description": "账户ID[合约币种]",
  10282. "type": "integer"
  10283. },
  10284. "goodscode": {
  10285. "description": "商品代码",
  10286. "type": "string"
  10287. },
  10288. "goodsid": {
  10289. "description": "商品ID",
  10290. "type": "integer"
  10291. },
  10292. "goodsname": {
  10293. "description": "商品名称",
  10294. "type": "string"
  10295. },
  10296. "intclosepl": {
  10297. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  10298. "type": "integer"
  10299. },
  10300. "isconfirmexercise": {
  10301. "description": "是否确认行权- 0:否 1:是",
  10302. "type": "integer"
  10303. },
  10304. "ismain": {
  10305. "description": "是否主单 - 0:不是 1:是",
  10306. "type": "integer"
  10307. },
  10308. "ispreexercise": {
  10309. "description": "是否预申报- 0:否 1:是",
  10310. "type": "integer"
  10311. },
  10312. "isreckoned": {
  10313. "description": "是否结算 - 0:未结算 1:已结算",
  10314. "type": "integer"
  10315. },
  10316. "listingselecttype": {
  10317. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10318. "type": "integer"
  10319. },
  10320. "marketid": {
  10321. "description": "市场ID",
  10322. "type": "integer"
  10323. },
  10324. "marketname": {
  10325. "description": "市场名称",
  10326. "type": "string"
  10327. },
  10328. "matchaccountid": {
  10329. "description": "对手账号id",
  10330. "type": "integer"
  10331. },
  10332. "memberuserid": {
  10333. "description": "会员id 个人投资者 需要填写",
  10334. "type": "integer"
  10335. },
  10336. "opencharge": {
  10337. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  10338. "type": "number"
  10339. },
  10340. "openexchagechargevalue": {
  10341. "description": "建仓交易所手续费设置值",
  10342. "type": "number"
  10343. },
  10344. "openfeealgorithm": {
  10345. "description": "建仓手续费收取方式 1:比率 2:固定",
  10346. "type": "integer"
  10347. },
  10348. "openmemberchargevalue": {
  10349. "description": "建仓会员手续费设置值",
  10350. "type": "number"
  10351. },
  10352. "openqty": {
  10353. "description": "开仓数量(先建后平操作 需要记录)",
  10354. "type": "integer"
  10355. },
  10356. "optiontype": {
  10357. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10358. "type": "integer"
  10359. },
  10360. "orderid": {
  10361. "description": "委托单号",
  10362. "type": "string"
  10363. },
  10364. "performanceplanid": {
  10365. "description": "履约计划ID[期权]",
  10366. "type": "integer"
  10367. },
  10368. "performancestatus": {
  10369. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  10370. "type": "integer"
  10371. },
  10372. "preexerciseprice": {
  10373. "description": "预申报价格",
  10374. "type": "number"
  10375. },
  10376. "premium": {
  10377. "description": "权利金 - [持仓单的权利金]",
  10378. "type": "number"
  10379. },
  10380. "relatedouttradeid": {
  10381. "description": "关联外部成交单ID",
  10382. "type": "integer"
  10383. },
  10384. "status": {
  10385. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  10386. "type": "integer"
  10387. },
  10388. "tradeamount": {
  10389. "description": "成交金额[账户币种,用于所有权]",
  10390. "type": "number"
  10391. },
  10392. "tradedate": {
  10393. "description": "交易日(yyyyMMdd)",
  10394. "type": "string"
  10395. },
  10396. "tradeid": {
  10397. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10398. "type": "string"
  10399. },
  10400. "trademode": {
  10401. "description": "交易模式",
  10402. "type": "integer"
  10403. },
  10404. "tradeprice": {
  10405. "description": "成交价格",
  10406. "type": "number"
  10407. },
  10408. "tradeproperty": {
  10409. "description": "交易属性",
  10410. "type": "integer"
  10411. },
  10412. "tradeqty": {
  10413. "description": "成交数量",
  10414. "type": "integer"
  10415. },
  10416. "tradetime": {
  10417. "description": "成交时间",
  10418. "type": "string"
  10419. },
  10420. "tradetype": {
  10421. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  10422. "type": "integer"
  10423. }
  10424. }
  10425. },
  10426. "order.QueryTradeOrderDetailRsp": {
  10427. "type": "object",
  10428. "required": [
  10429. "accountid",
  10430. "buildtype",
  10431. "buyorsell",
  10432. "goodsid",
  10433. "marketid",
  10434. "operatetype",
  10435. "orderqty",
  10436. "ordertime",
  10437. "pricemode",
  10438. "tradedate",
  10439. "validtype"
  10440. ],
  10441. "properties": {
  10442. "accountid": {
  10443. "description": "账户ID[报价币种]",
  10444. "type": "integer"
  10445. },
  10446. "buildtype": {
  10447. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  10448. "type": "integer"
  10449. },
  10450. "buyorsell": {
  10451. "description": "买卖 - 0:买 1:卖",
  10452. "type": "integer"
  10453. },
  10454. "cancelorderid": {
  10455. "description": "撤单单号(撤单时填写)",
  10456. "type": "string"
  10457. },
  10458. "cancelqty": {
  10459. "description": "撤单数量",
  10460. "type": "integer"
  10461. },
  10462. "clienttype": {
  10463. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  10464. "type": "integer"
  10465. },
  10466. "closefreezecharge": {
  10467. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  10468. "type": "number"
  10469. },
  10470. "closeqty": {
  10471. "description": "平仓数量(先建后平操作 需要记录)",
  10472. "type": "integer"
  10473. },
  10474. "closetradeqty": {
  10475. "description": "平仓成交数量(先建后平操作,需要记录)",
  10476. "type": "integer"
  10477. },
  10478. "closeunfreezecharge": {
  10479. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  10480. "type": "number"
  10481. },
  10482. "delistingtype": {
  10483. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  10484. "type": "integer"
  10485. },
  10486. "enableqty": {
  10487. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  10488. "type": "integer"
  10489. },
  10490. "freezecharge": {
  10491. "description": "冻结手续费",
  10492. "type": "number"
  10493. },
  10494. "freezemargin": {
  10495. "description": "冻结保证金(冻结交易金额)",
  10496. "type": "number"
  10497. },
  10498. "goodscode": {
  10499. "description": "商品代码",
  10500. "type": "string"
  10501. },
  10502. "goodsid": {
  10503. "description": "商品ID",
  10504. "type": "integer"
  10505. },
  10506. "goodsname": {
  10507. "description": "商品名称",
  10508. "type": "string"
  10509. },
  10510. "listingselecttype": {
  10511. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10512. "type": "integer"
  10513. },
  10514. "marketid": {
  10515. "description": "市场ID",
  10516. "type": "integer"
  10517. },
  10518. "marketname": {
  10519. "description": "市场名称",
  10520. "type": "string"
  10521. },
  10522. "openfreezecharge": {
  10523. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  10524. "type": "number"
  10525. },
  10526. "openqty": {
  10527. "description": "开仓数量(先建后平操作,需要记录)",
  10528. "type": "integer"
  10529. },
  10530. "opentradeqty": {
  10531. "description": "开仓成交数量(先建后平操作,需要记录)",
  10532. "type": "integer"
  10533. },
  10534. "openunfreezecharge": {
  10535. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  10536. "type": "number"
  10537. },
  10538. "operatetype": {
  10539. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  10540. "type": "integer"
  10541. },
  10542. "operatorid": {
  10543. "description": "登录账号(LoginID)",
  10544. "type": "integer"
  10545. },
  10546. "orderid": {
  10547. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10548. "type": "string"
  10549. },
  10550. "orderprice": {
  10551. "description": "委托价格",
  10552. "type": "number"
  10553. },
  10554. "orderqty": {
  10555. "description": "委托数量",
  10556. "type": "integer"
  10557. },
  10558. "ordersrc": {
  10559. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  10560. "type": "integer"
  10561. },
  10562. "orderstatus": {
  10563. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10564. "type": "integer"
  10565. },
  10566. "ordertime": {
  10567. "description": "委托时间",
  10568. "type": "string"
  10569. },
  10570. "preorderid": {
  10571. "description": "关联预埋单号(止盈止损单时填写)",
  10572. "type": "string"
  10573. },
  10574. "pricemode": {
  10575. "description": "取价方式 - 1:市价 2: 限价",
  10576. "type": "integer"
  10577. },
  10578. "relatedid": {
  10579. "description": "关联单号(交割单)",
  10580. "type": "string"
  10581. },
  10582. "tradedate": {
  10583. "description": "交易日(yyyyMMdd)",
  10584. "type": "string"
  10585. },
  10586. "trademode": {
  10587. "description": "交易模式",
  10588. "type": "integer"
  10589. },
  10590. "tradeqty": {
  10591. "description": "成交数量",
  10592. "type": "integer"
  10593. },
  10594. "unfreezecharge": {
  10595. "description": "解冻手续费",
  10596. "type": "number"
  10597. },
  10598. "unfreezemargin": {
  10599. "description": "解冻保证金",
  10600. "type": "number"
  10601. },
  10602. "validtime": {
  10603. "description": "有效期限",
  10604. "type": "string"
  10605. },
  10606. "validtype": {
  10607. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  10608. "type": "integer"
  10609. },
  10610. "volumetype": {
  10611. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  10612. "type": "integer"
  10613. }
  10614. }
  10615. },
  10616. "order.QueryTradePositionRsp": {
  10617. "type": "object",
  10618. "required": [
  10619. "goodsid"
  10620. ],
  10621. "properties": {
  10622. "accountid": {
  10623. "description": "资金账户",
  10624. "type": "integer"
  10625. },
  10626. "agreeunit": {
  10627. "description": "合约单位",
  10628. "type": "number"
  10629. },
  10630. "averageprice": {
  10631. "description": "持仓均价",
  10632. "type": "number"
  10633. },
  10634. "buyorsell": {
  10635. "description": "方向 - 0:买 1:卖",
  10636. "type": "integer"
  10637. },
  10638. "closetotalqty": {
  10639. "description": "平仓总数量",
  10640. "type": "integer"
  10641. },
  10642. "curholderamount": {
  10643. "description": "当前持仓总金额[商品币种]",
  10644. "type": "number"
  10645. },
  10646. "curpositionqty": {
  10647. "description": "当前持仓总数量",
  10648. "type": "integer"
  10649. },
  10650. "currencyid": {
  10651. "description": "报价货币ID",
  10652. "type": "integer"
  10653. },
  10654. "curtdposition": {
  10655. "description": "期末今日头寸",
  10656. "type": "integer"
  10657. },
  10658. "decimalplace": {
  10659. "description": "报价小数位",
  10660. "type": "integer"
  10661. },
  10662. "enableqty": {
  10663. "description": "可用量",
  10664. "type": "integer"
  10665. },
  10666. "fretdposition": {
  10667. "description": "冻结今日头寸",
  10668. "type": "integer"
  10669. },
  10670. "frozenqty": {
  10671. "description": "持仓冻结数量",
  10672. "type": "integer"
  10673. },
  10674. "goodscode": {
  10675. "description": "商品代码",
  10676. "type": "string"
  10677. },
  10678. "goodsid": {
  10679. "description": "商品Id",
  10680. "type": "integer"
  10681. },
  10682. "goodsname": {
  10683. "description": "商品名称",
  10684. "type": "string"
  10685. },
  10686. "goodunit": {
  10687. "description": "报价单位",
  10688. "type": "string"
  10689. },
  10690. "goodunitid": {
  10691. "description": "报价单位ID",
  10692. "type": "integer"
  10693. },
  10694. "holderamount": {
  10695. "description": "期初持仓总金额[商品币种]",
  10696. "type": "number"
  10697. },
  10698. "marketid": {
  10699. "description": "所属市场ID",
  10700. "type": "integer"
  10701. },
  10702. "openreqqty": {
  10703. "description": "开仓申请数量(用于比较最大持仓数量)",
  10704. "type": "integer"
  10705. },
  10706. "opentotalqty": {
  10707. "description": "开仓总数量",
  10708. "type": "integer"
  10709. },
  10710. "otherfrozenqty": {
  10711. "description": "持仓其他冻结数量(交割冻结)",
  10712. "type": "integer"
  10713. },
  10714. "positionqty": {
  10715. "description": "期初持仓数量",
  10716. "type": "integer"
  10717. },
  10718. "tnqty": {
  10719. "description": "T+N冻结总量",
  10720. "type": "integer"
  10721. },
  10722. "tnusedqty": {
  10723. "description": "T+N使用量(可以使用T+N的冻结数量)",
  10724. "type": "integer"
  10725. },
  10726. "trademode": {
  10727. "description": "交易模式",
  10728. "type": "integer"
  10729. },
  10730. "usedmargin": {
  10731. "description": "占用保证金[商品币种]",
  10732. "type": "number"
  10733. }
  10734. }
  10735. },
  10736. "quote.HistoryData": {
  10737. "type": "object",
  10738. "properties": {
  10739. "c": {
  10740. "description": "收盘价",
  10741. "type": "number"
  10742. },
  10743. "h": {
  10744. "description": "最高价",
  10745. "type": "number"
  10746. },
  10747. "hv": {
  10748. "description": "持仓量",
  10749. "type": "integer"
  10750. },
  10751. "l": {
  10752. "description": "最低价",
  10753. "type": "number"
  10754. },
  10755. "o": {
  10756. "description": "开盘价",
  10757. "type": "number"
  10758. },
  10759. "s": {
  10760. "description": "结算价,日线周期(包括)以上才有",
  10761. "type": "number"
  10762. },
  10763. "ts": {
  10764. "description": "时间",
  10765. "type": "string"
  10766. },
  10767. "tt": {
  10768. "description": "总金额",
  10769. "type": "number"
  10770. },
  10771. "tv": {
  10772. "description": "总量",
  10773. "type": "integer"
  10774. }
  10775. }
  10776. },
  10777. "quote.QueryTSDataRsp": {
  10778. "type": "object",
  10779. "properties": {
  10780. "decimalPlace": {
  10781. "description": "小数位",
  10782. "type": "integer"
  10783. },
  10784. "endTime": {
  10785. "description": "结束时间",
  10786. "type": "string"
  10787. },
  10788. "goodsCode": {
  10789. "description": "商品代码",
  10790. "type": "string"
  10791. },
  10792. "historyDatas": {
  10793. "description": "历史数据",
  10794. "type": "array",
  10795. "items": {
  10796. "$ref": "#/definitions/quote.HistoryData"
  10797. }
  10798. },
  10799. "preSettle": {
  10800. "description": "昨结",
  10801. "type": "number"
  10802. },
  10803. "startTime": {
  10804. "description": "开始时间",
  10805. "type": "string"
  10806. },
  10807. "tradeDate": {
  10808. "description": "交易日",
  10809. "type": "string"
  10810. }
  10811. }
  10812. },
  10813. "szdz.QueryConvertLogRsp": {
  10814. "type": "object",
  10815. "required": [
  10816. "logid"
  10817. ],
  10818. "properties": {
  10819. "accountid": {
  10820. "description": "资金账户ID",
  10821. "type": "integer"
  10822. },
  10823. "clientticket": {
  10824. "description": "客户端流水号",
  10825. "type": "string"
  10826. },
  10827. "converttype": {
  10828. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  10829. "type": "integer"
  10830. },
  10831. "createtime": {
  10832. "description": "记账时间",
  10833. "type": "string"
  10834. },
  10835. "daymaxvalue": {
  10836. "description": "配置当日最大转入限制",
  10837. "type": "number"
  10838. },
  10839. "daymaxvalue2": {
  10840. "description": "配置当日最大转入限制(转入)",
  10841. "type": "number"
  10842. },
  10843. "goodscode": {
  10844. "description": "商品代码",
  10845. "type": "string"
  10846. },
  10847. "goodsname": {
  10848. "description": "商品名称",
  10849. "type": "string"
  10850. },
  10851. "handlestatus": {
  10852. "description": "处理状态",
  10853. "type": "integer"
  10854. },
  10855. "innergoodsid": {
  10856. "description": "内部商品ID",
  10857. "type": "integer"
  10858. },
  10859. "inratio": {
  10860. "description": "配置转入比值",
  10861. "type": "integer"
  10862. },
  10863. "invalue": {
  10864. "description": "目标值",
  10865. "type": "number"
  10866. },
  10867. "logid": {
  10868. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10869. "type": "integer"
  10870. },
  10871. "mobile": {
  10872. "description": "手机号码(加密存储)",
  10873. "type": "string"
  10874. },
  10875. "outergoodscode": {
  10876. "description": "外部商品代码[JD\\PD]",
  10877. "type": "string"
  10878. },
  10879. "outratio": {
  10880. "description": "配置转出比值",
  10881. "type": "integer"
  10882. },
  10883. "outvalue": {
  10884. "description": "源值",
  10885. "type": "number"
  10886. },
  10887. "pddecimalplace": {
  10888. "description": "PD小数位",
  10889. "type": "integer"
  10890. },
  10891. "qty": {
  10892. "description": "数量",
  10893. "type": "string"
  10894. },
  10895. "remark": {
  10896. "description": "备注",
  10897. "type": "string"
  10898. },
  10899. "sessionid": {
  10900. "description": "会话ID",
  10901. "type": "integer"
  10902. },
  10903. "timemaxvalue": {
  10904. "description": "配置单次最大转入限制",
  10905. "type": "number"
  10906. },
  10907. "timemaxvalue2": {
  10908. "description": "配置单次最大转入限制(转入)",
  10909. "type": "number"
  10910. },
  10911. "timeminvalue": {
  10912. "description": "配置单次最小数量限制",
  10913. "type": "number"
  10914. },
  10915. "timeminvalue2": {
  10916. "description": "配置单次最小数量限制(转入)",
  10917. "type": "number"
  10918. },
  10919. "tradedate": {
  10920. "description": "交易日(yyyyMMdd)",
  10921. "type": "string"
  10922. },
  10923. "userid": {
  10924. "description": "用户ID",
  10925. "type": "integer"
  10926. }
  10927. }
  10928. },
  10929. "szdz.QueryGoodsPickupRsp": {
  10930. "type": "object",
  10931. "required": [
  10932. "takeorderid"
  10933. ],
  10934. "properties": {
  10935. "accountid": {
  10936. "description": "账户ID",
  10937. "type": "integer"
  10938. },
  10939. "address": {
  10940. "description": "提货人详细地址",
  10941. "type": "string"
  10942. },
  10943. "auditer": {
  10944. "description": "审核人",
  10945. "type": "integer"
  10946. },
  10947. "audittime": {
  10948. "description": "审核时间",
  10949. "type": "string"
  10950. },
  10951. "cardnum": {
  10952. "description": "提货人证件号码",
  10953. "type": "string"
  10954. },
  10955. "cardtypeid": {
  10956. "description": "提货人证件类型",
  10957. "type": "integer"
  10958. },
  10959. "checkremark": {
  10960. "description": "审核备注",
  10961. "type": "string"
  10962. },
  10963. "goodscode": {
  10964. "description": "商品代码",
  10965. "type": "string"
  10966. },
  10967. "goodsid": {
  10968. "description": "商品ID",
  10969. "type": "integer"
  10970. },
  10971. "goodsname": {
  10972. "description": "商品名称",
  10973. "type": "string"
  10974. },
  10975. "handlestatus": {
  10976. "description": "处理状态",
  10977. "type": "integer"
  10978. },
  10979. "marketid": {
  10980. "description": "市场ID",
  10981. "type": "integer"
  10982. },
  10983. "phonenum": {
  10984. "description": "提货人联系方式",
  10985. "type": "string"
  10986. },
  10987. "qty": {
  10988. "description": "提货数量",
  10989. "type": "number"
  10990. },
  10991. "recivername": {
  10992. "description": "提货人姓名",
  10993. "type": "string"
  10994. },
  10995. "reqtime": {
  10996. "description": "更新时间",
  10997. "type": "string"
  10998. },
  10999. "takemode": {
  11000. "description": "提货方式 - 2:自提 3:配送",
  11001. "type": "integer"
  11002. },
  11003. "takeorderid": {
  11004. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  11005. "type": "string"
  11006. },
  11007. "takeorderstatus": {
  11008. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  11009. "type": "integer"
  11010. },
  11011. "takeremark": {
  11012. "description": "提货备注",
  11013. "type": "string"
  11014. },
  11015. "tradedate": {
  11016. "description": "交易日(yyyyMMdd)",
  11017. "type": "string"
  11018. },
  11019. "userid": {
  11020. "description": "用户ID",
  11021. "type": "integer"
  11022. }
  11023. }
  11024. },
  11025. "szdz.QueryRecieptOrderRsp": {
  11026. "type": "object",
  11027. "required": [
  11028. "ordertime"
  11029. ],
  11030. "properties": {
  11031. "accountName": {
  11032. "description": "所属账号名称(已脱敏)",
  11033. "type": "string"
  11034. },
  11035. "accountid": {
  11036. "description": "资金账号",
  11037. "type": "integer"
  11038. },
  11039. "buyorsell": {
  11040. "description": "方向 - 0:买 1:卖",
  11041. "type": "integer"
  11042. },
  11043. "enableqty": {
  11044. "description": "可摘数量",
  11045. "type": "integer"
  11046. },
  11047. "goodscode": {
  11048. "description": "商品代码",
  11049. "type": "string"
  11050. },
  11051. "goodsid": {
  11052. "description": "商品ID",
  11053. "type": "integer"
  11054. },
  11055. "goodsname": {
  11056. "description": "商品名称",
  11057. "type": "string"
  11058. },
  11059. "orderid": {
  11060. "description": "委托单号",
  11061. "type": "string"
  11062. },
  11063. "orderprice": {
  11064. "description": "委托价格",
  11065. "type": "number"
  11066. },
  11067. "ordertime": {
  11068. "description": "委托时间",
  11069. "type": "string"
  11070. },
  11071. "tradedate": {
  11072. "description": "交易日(yyyyMMdd)",
  11073. "type": "string"
  11074. }
  11075. }
  11076. },
  11077. "szdz.QuerySZDZTradePositionRsp": {
  11078. "type": "object",
  11079. "properties": {
  11080. "accountid": {
  11081. "description": "账号Id",
  11082. "type": "integer"
  11083. },
  11084. "agreeunit": {
  11085. "description": "合约单位",
  11086. "type": "number"
  11087. },
  11088. "averageprice": {
  11089. "description": "持仓均价",
  11090. "type": "number"
  11091. },
  11092. "buyorsell": {
  11093. "description": "方向 - 0:买 1:卖",
  11094. "type": "integer"
  11095. },
  11096. "closetotalqty": {
  11097. "description": "平仓总数量",
  11098. "type": "integer"
  11099. },
  11100. "curholderamount": {
  11101. "description": "当前持仓总金额",
  11102. "type": "number"
  11103. },
  11104. "curpositionqty": {
  11105. "description": "当前持仓总数量",
  11106. "type": "integer"
  11107. },
  11108. "currencyid": {
  11109. "description": "报价货币ID",
  11110. "type": "integer"
  11111. },
  11112. "curtdposition": {
  11113. "description": "期末今日头寸",
  11114. "type": "integer"
  11115. },
  11116. "decimalplace": {
  11117. "description": "报价小数位",
  11118. "type": "integer"
  11119. },
  11120. "enableqty": {
  11121. "description": "可用量",
  11122. "type": "integer"
  11123. },
  11124. "fretdposition": {
  11125. "description": "冻结今日头寸",
  11126. "type": "integer"
  11127. },
  11128. "frozenqty": {
  11129. "description": "持仓冻结数量",
  11130. "type": "integer"
  11131. },
  11132. "goodscode": {
  11133. "description": "商品代码(内部)",
  11134. "type": "string"
  11135. },
  11136. "goodsid": {
  11137. "description": "商品Id",
  11138. "type": "integer"
  11139. },
  11140. "goodsname": {
  11141. "description": "商品名称",
  11142. "type": "string"
  11143. },
  11144. "goodunit": {
  11145. "description": "报价单位",
  11146. "type": "string"
  11147. },
  11148. "goodunitid": {
  11149. "description": "报价单位ID",
  11150. "type": "integer"
  11151. },
  11152. "holderamount": {
  11153. "description": "期初持仓总金额",
  11154. "type": "number"
  11155. },
  11156. "marketid": {
  11157. "description": "市场ID",
  11158. "type": "integer"
  11159. },
  11160. "openreqqty": {
  11161. "description": "开仓申请数量",
  11162. "type": "integer"
  11163. },
  11164. "opentotalqty": {
  11165. "description": "开仓总数量",
  11166. "type": "integer"
  11167. },
  11168. "otherfrozenqty": {
  11169. "description": "持仓其他冻结数量(交割冻结)",
  11170. "type": "integer"
  11171. },
  11172. "positionqty": {
  11173. "description": "期初持仓数量",
  11174. "type": "integer"
  11175. },
  11176. "szdz3freezqty": {
  11177. "description": "尚志大宗转换冻结总数量",
  11178. "type": "integer"
  11179. },
  11180. "tnqty": {
  11181. "description": "T+N冻结总量",
  11182. "type": "integer"
  11183. },
  11184. "tnusedqty": {
  11185. "description": "T+N使用量",
  11186. "type": "integer"
  11187. },
  11188. "trademode": {
  11189. "description": "交易模式",
  11190. "type": "integer"
  11191. },
  11192. "usedmargin": {
  11193. "description": "占用保证金",
  11194. "type": "number"
  11195. }
  11196. }
  11197. },
  11198. "taaccount.QueryAmountLogRsp": {
  11199. "type": "object",
  11200. "required": [
  11201. "accountid",
  11202. "amount",
  11203. "amountadjusttype",
  11204. "autoid",
  11205. "balance",
  11206. "createtime",
  11207. "currentbalance",
  11208. "operatetype"
  11209. ],
  11210. "properties": {
  11211. "OPERATETYPENAME": {
  11212. "description": "资金操作类型名称",
  11213. "type": "string"
  11214. },
  11215. "accountid": {
  11216. "description": "资金账户ID",
  11217. "type": "integer"
  11218. },
  11219. "agoodscode": {
  11220. "description": "竞拍商品代码",
  11221. "type": "string"
  11222. },
  11223. "agoodsname": {
  11224. "description": "竞拍商品名称",
  11225. "type": "string"
  11226. },
  11227. "amount": {
  11228. "description": "资金金额",
  11229. "type": "number"
  11230. },
  11231. "amountadjusttype": {
  11232. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  11233. "type": "integer"
  11234. },
  11235. "autoid": {
  11236. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  11237. "type": "integer"
  11238. },
  11239. "balance": {
  11240. "description": "期初余额",
  11241. "type": "number"
  11242. },
  11243. "businesscode": {
  11244. "description": "业务编号",
  11245. "type": "integer"
  11246. },
  11247. "createtime": {
  11248. "description": "发生时间",
  11249. "type": "string"
  11250. },
  11251. "currencyid": {
  11252. "description": "币种ID",
  11253. "type": "integer"
  11254. },
  11255. "currentbalance": {
  11256. "description": "期末余额(变动后金额)",
  11257. "type": "number"
  11258. },
  11259. "dgoodscode": {
  11260. "description": "交割商品代码",
  11261. "type": "string"
  11262. },
  11263. "dgoodsname": {
  11264. "description": "交割商品名称",
  11265. "type": "string"
  11266. },
  11267. "goodscode": {
  11268. "description": "商品代码",
  11269. "type": "string"
  11270. },
  11271. "goodsid": {
  11272. "description": "商品ID",
  11273. "type": "integer"
  11274. },
  11275. "goodsname": {
  11276. "description": "商品名称",
  11277. "type": "string"
  11278. },
  11279. "marketid": {
  11280. "description": "市场ID",
  11281. "type": "integer"
  11282. },
  11283. "marketname": {
  11284. "description": "市场名称",
  11285. "type": "string"
  11286. },
  11287. "moneyticket": {
  11288. "description": "资金流水号:银行端流水号",
  11289. "type": "integer"
  11290. },
  11291. "operatetype": {
  11292. "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:营销收款",
  11293. "type": "integer"
  11294. },
  11295. "relationorderid": {
  11296. "description": "关联单号",
  11297. "type": "string"
  11298. },
  11299. "remark": {
  11300. "description": "备注",
  11301. "type": "string"
  11302. },
  11303. "trademode": {
  11304. "description": "交易模式",
  11305. "type": "integer"
  11306. }
  11307. }
  11308. },
  11309. "taaccount.QueryHisAmountLogRsp": {
  11310. "type": "object",
  11311. "required": [
  11312. "accountid",
  11313. "amount",
  11314. "amountadjusttype",
  11315. "autoid",
  11316. "balance",
  11317. "createtime",
  11318. "currentbalance",
  11319. "histradedate",
  11320. "operatetype"
  11321. ],
  11322. "properties": {
  11323. "OPERATETYPENAME": {
  11324. "description": "资金操作类型名称",
  11325. "type": "string"
  11326. },
  11327. "accountid": {
  11328. "description": "资金账户ID",
  11329. "type": "integer"
  11330. },
  11331. "agoodscode": {
  11332. "description": "竞拍商品代码",
  11333. "type": "string"
  11334. },
  11335. "agoodsname": {
  11336. "description": "竞拍商品名称",
  11337. "type": "string"
  11338. },
  11339. "amount": {
  11340. "description": "资金金额",
  11341. "type": "number"
  11342. },
  11343. "amountadjusttype": {
  11344. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  11345. "type": "integer"
  11346. },
  11347. "autoid": {
  11348. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  11349. "type": "integer"
  11350. },
  11351. "balance": {
  11352. "description": "期初余额",
  11353. "type": "number"
  11354. },
  11355. "businesscode": {
  11356. "description": "业务编号",
  11357. "type": "integer"
  11358. },
  11359. "createtime": {
  11360. "description": "发生时间",
  11361. "type": "string"
  11362. },
  11363. "currencyid": {
  11364. "description": "币种ID",
  11365. "type": "integer"
  11366. },
  11367. "currentbalance": {
  11368. "description": "期末余额(变动后金额)",
  11369. "type": "number"
  11370. },
  11371. "dgoodscode": {
  11372. "description": "交割商品代码",
  11373. "type": "string"
  11374. },
  11375. "dgoodsname": {
  11376. "description": "交割商品名称",
  11377. "type": "string"
  11378. },
  11379. "goodscode": {
  11380. "description": "商品代码",
  11381. "type": "string"
  11382. },
  11383. "goodsid": {
  11384. "description": "商品ID",
  11385. "type": "integer"
  11386. },
  11387. "goodsname": {
  11388. "description": "商品名称",
  11389. "type": "string"
  11390. },
  11391. "histradedate": {
  11392. "description": "历史交易日",
  11393. "type": "string"
  11394. },
  11395. "isvaliddata": {
  11396. "description": "是否有效 - 0:无效 1:有效",
  11397. "type": "integer"
  11398. },
  11399. "marketid": {
  11400. "description": "市场ID",
  11401. "type": "integer"
  11402. },
  11403. "marketname": {
  11404. "description": "市场名称",
  11405. "type": "string"
  11406. },
  11407. "moneyticket": {
  11408. "description": "资金流水号:银行端流水号",
  11409. "type": "integer"
  11410. },
  11411. "operatetype": {
  11412. "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:营销收款",
  11413. "type": "integer"
  11414. },
  11415. "relationorderid": {
  11416. "description": "关联单号",
  11417. "type": "string"
  11418. },
  11419. "remark": {
  11420. "description": "备注",
  11421. "type": "string"
  11422. },
  11423. "trademode": {
  11424. "description": "交易模式",
  11425. "type": "integer"
  11426. }
  11427. }
  11428. },
  11429. "trade.QueryRecieptOrderRsp": {
  11430. "type": "object",
  11431. "required": [
  11432. "ordertime"
  11433. ],
  11434. "properties": {
  11435. "accountName": {
  11436. "description": "所属账号名称(已脱敏)",
  11437. "type": "string"
  11438. },
  11439. "accountid": {
  11440. "description": "资金账号",
  11441. "type": "integer"
  11442. },
  11443. "buyorsell": {
  11444. "description": "方向 - 0:买 1:卖",
  11445. "type": "integer"
  11446. },
  11447. "enableqty": {
  11448. "description": "可摘数量",
  11449. "type": "integer"
  11450. },
  11451. "goodscode": {
  11452. "description": "商品代码",
  11453. "type": "string"
  11454. },
  11455. "goodsid": {
  11456. "description": "商品ID",
  11457. "type": "integer"
  11458. },
  11459. "goodsname": {
  11460. "description": "商品名称",
  11461. "type": "string"
  11462. },
  11463. "orderid": {
  11464. "description": "委托单号",
  11465. "type": "string"
  11466. },
  11467. "orderprice": {
  11468. "description": "委托价格",
  11469. "type": "number"
  11470. },
  11471. "ordertime": {
  11472. "description": "委托时间",
  11473. "type": "string"
  11474. },
  11475. "tradedate": {
  11476. "description": "交易日(yyyyMMdd)",
  11477. "type": "string"
  11478. }
  11479. }
  11480. }
  11481. },
  11482. "securityDefinitions": {
  11483. "ApiKeyAuth": {
  11484. "type": "apiKey",
  11485. "name": "Authorization",
  11486. "in": "header"
  11487. }
  11488. }
  11489. }`
  11490. type swaggerInfo struct {
  11491. Version string
  11492. Host string
  11493. BasePath string
  11494. Schemes []string
  11495. Title string
  11496. Description string
  11497. }
  11498. // SwaggerInfo holds exported Swagger Info so clients can modify it
  11499. var SwaggerInfo = swaggerInfo{
  11500. Version: "1.0",
  11501. Host: "",
  11502. BasePath: "/api",
  11503. Schemes: []string{},
  11504. Title: "MTP2.0 查询服务 API",
  11505. Description: "新的查询服务,替代原通用查询服务。",
  11506. }
  11507. type s struct{}
  11508. func (s *s) ReadDoc() string {
  11509. sInfo := SwaggerInfo
  11510. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  11511. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  11512. "marshal": func(v interface{}) string {
  11513. a, _ := json.Marshal(v)
  11514. return string(a)
  11515. },
  11516. }).Parse(doc)
  11517. if err != nil {
  11518. return doc
  11519. }
  11520. var tpl bytes.Buffer
  11521. if err := t.Execute(&tpl, sInfo); err != nil {
  11522. return doc
  11523. }
  11524. return tpl.String()
  11525. }
  11526. func init() {
  11527. swag.Register(swag.Name, &s{})
  11528. }