docs.go 414 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "produces": [
  370. "application/json"
  371. ],
  372. "tags": [
  373. "通用服务"
  374. ],
  375. "summary": "获取所有枚举信息",
  376. "responses": {
  377. "200": {
  378. "description": "OK",
  379. "schema": {
  380. "$ref": "#/definitions/models.Enumdicitem"
  381. }
  382. },
  383. "500": {
  384. "description": "Internal Server Error",
  385. "schema": {
  386. "$ref": "#/definitions/app.Response"
  387. }
  388. }
  389. }
  390. }
  391. },
  392. "/Common/GetServerTime": {
  393. "get": {
  394. "produces": [
  395. "application/json"
  396. ],
  397. "tags": [
  398. "通用服务"
  399. ],
  400. "summary": "获取服务器时间",
  401. "responses": {
  402. "200": {
  403. "description": "OK",
  404. "schema": {
  405. "$ref": "#/definitions/app.Response"
  406. }
  407. },
  408. "500": {
  409. "description": "Internal Server Error",
  410. "schema": {
  411. "$ref": "#/definitions/app.Response"
  412. }
  413. }
  414. }
  415. }
  416. },
  417. "/Common/NoticeReaded": {
  418. "post": {
  419. "security": [
  420. {
  421. "ApiKeyAuth": []
  422. }
  423. ],
  424. "produces": [
  425. "application/json"
  426. ],
  427. "tags": [
  428. "通用服务"
  429. ],
  430. "summary": "通知公告设置已读请求",
  431. "parameters": [
  432. {
  433. "type": "integer",
  434. "description": "登录账号",
  435. "name": "loginID",
  436. "in": "query",
  437. "required": true
  438. },
  439. {
  440. "type": "integer",
  441. "description": "通知公告ID",
  442. "name": "noticeID",
  443. "in": "query",
  444. "required": true
  445. }
  446. ],
  447. "responses": {
  448. "200": {
  449. "description": "OK",
  450. "schema": {
  451. "$ref": "#/definitions/app.Response"
  452. }
  453. },
  454. "500": {
  455. "description": "Internal Server Error",
  456. "schema": {
  457. "$ref": "#/definitions/app.Response"
  458. }
  459. }
  460. }
  461. }
  462. },
  463. "/Common/QueryImageConfigs": {
  464. "get": {
  465. "produces": [
  466. "application/json"
  467. ],
  468. "tags": [
  469. "通用服务"
  470. ],
  471. "summary": "查询轮播图配置信息",
  472. "parameters": [
  473. {
  474. "type": "integer",
  475. "description": "类型 - 1:App首页轮播 2:我的",
  476. "name": "imageType",
  477. "in": "query"
  478. }
  479. ],
  480. "responses": {
  481. "200": {
  482. "description": "OK",
  483. "schema": {
  484. "$ref": "#/definitions/models.Szdz2imageconfig"
  485. }
  486. },
  487. "500": {
  488. "description": "Internal Server Error",
  489. "schema": {
  490. "$ref": "#/definitions/app.Response"
  491. }
  492. }
  493. }
  494. }
  495. },
  496. "/Common/QueryNotice": {
  497. "get": {
  498. "security": [
  499. {
  500. "ApiKeyAuth": []
  501. }
  502. ],
  503. "produces": [
  504. "application/json"
  505. ],
  506. "tags": [
  507. "通用服务"
  508. ],
  509. "summary": "通知公告系统消息查询",
  510. "parameters": [
  511. {
  512. "type": "integer",
  513. "description": "页码",
  514. "name": "page",
  515. "in": "query"
  516. },
  517. {
  518. "type": "integer",
  519. "description": "每页条数",
  520. "name": "pagesize",
  521. "in": "query"
  522. },
  523. {
  524. "type": "integer",
  525. "description": "登录账号",
  526. "name": "loginID",
  527. "in": "query",
  528. "required": true
  529. },
  530. {
  531. "type": "integer",
  532. "description": "消息类型 - 1:公告通知 2:系统消息",
  533. "name": "msgType",
  534. "in": "query"
  535. },
  536. {
  537. "type": "boolean",
  538. "description": "是否只获取未读信息",
  539. "name": "onlyUnRead",
  540. "in": "query"
  541. }
  542. ],
  543. "responses": {
  544. "200": {
  545. "description": "OK",
  546. "schema": {
  547. "$ref": "#/definitions/common.QueryNoticeRsp"
  548. }
  549. },
  550. "500": {
  551. "description": "Internal Server Error",
  552. "schema": {
  553. "$ref": "#/definitions/app.Response"
  554. }
  555. }
  556. }
  557. }
  558. },
  559. "/Common/QueryProvincesAndCities": {
  560. "get": {
  561. "produces": [
  562. "application/json"
  563. ],
  564. "tags": [
  565. "通用服务"
  566. ],
  567. "summary": "查询省市信息(不包括区)",
  568. "parameters": [
  569. {
  570. "type": "integer",
  571. "description": "省ID",
  572. "name": "provinceID",
  573. "in": "query"
  574. }
  575. ],
  576. "responses": {
  577. "200": {
  578. "description": "OK",
  579. "schema": {
  580. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  581. }
  582. },
  583. "500": {
  584. "description": "Internal Server Error",
  585. "schema": {
  586. "$ref": "#/definitions/app.Response"
  587. }
  588. }
  589. }
  590. }
  591. },
  592. "/Common/QueryTableDefine": {
  593. "get": {
  594. "produces": [
  595. "application/json"
  596. ],
  597. "tags": [
  598. "通用服务"
  599. ],
  600. "summary": "查询交易端列表头信息",
  601. "parameters": [
  602. {
  603. "type": "string",
  604. "description": "表key",
  605. "name": "TableKey",
  606. "in": "query"
  607. }
  608. ],
  609. "responses": {
  610. "200": {
  611. "description": "OK",
  612. "schema": {
  613. "$ref": "#/definitions/common.QueryTableDefineRsp"
  614. }
  615. },
  616. "500": {
  617. "description": "Internal Server Error",
  618. "schema": {
  619. "$ref": "#/definitions/app.Response"
  620. }
  621. }
  622. }
  623. }
  624. },
  625. "/Common/QueryTraderMenu": {
  626. "get": {
  627. "produces": [
  628. "application/json"
  629. ],
  630. "tags": [
  631. "通用服务"
  632. ],
  633. "summary": "查询交易端菜单",
  634. "parameters": [
  635. {
  636. "type": "integer",
  637. "description": "登录账号",
  638. "name": "loginid",
  639. "in": "query",
  640. "required": true
  641. }
  642. ],
  643. "responses": {
  644. "200": {
  645. "description": "OK",
  646. "schema": {
  647. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  648. }
  649. },
  650. "500": {
  651. "description": "Internal Server Error",
  652. "schema": {
  653. "$ref": "#/definitions/app.Response"
  654. }
  655. }
  656. }
  657. }
  658. },
  659. "/Delivery/QueryDeliveryRelation": {
  660. "get": {
  661. "security": [
  662. {
  663. "ApiKeyAuth": []
  664. }
  665. ],
  666. "produces": [
  667. "application/json"
  668. ],
  669. "tags": [
  670. "交割服务"
  671. ],
  672. "summary": "查询商品交割关系表",
  673. "parameters": [
  674. {
  675. "type": "integer",
  676. "description": "商品ID",
  677. "name": "goodsid",
  678. "in": "query"
  679. },
  680. {
  681. "type": "integer",
  682. "description": "品种ID",
  683. "name": "deliverygoodsid",
  684. "in": "query"
  685. },
  686. {
  687. "type": "integer",
  688. "description": "市场ID",
  689. "name": "marketid",
  690. "in": "query"
  691. }
  692. ],
  693. "responses": {
  694. "200": {
  695. "description": "OK",
  696. "schema": {
  697. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  698. }
  699. },
  700. "500": {
  701. "description": "Internal Server Error",
  702. "schema": {
  703. "$ref": "#/definitions/app.Response"
  704. }
  705. }
  706. }
  707. }
  708. },
  709. "/Ermcp/QueryContract": {
  710. "get": {
  711. "security": [
  712. {
  713. "ApiKeyAuth": []
  714. }
  715. ],
  716. "produces": [
  717. "application/json"
  718. ],
  719. "tags": [
  720. "企业风险管理(app)"
  721. ],
  722. "summary": "查询合同(采购和销售)",
  723. "parameters": [
  724. {
  725. "type": "integer",
  726. "description": "合同类型 1-采购, -1-销售",
  727. "name": "contracttype",
  728. "in": "query",
  729. "required": true
  730. },
  731. {
  732. "type": "integer",
  733. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  734. "name": "QueryType",
  735. "in": "query",
  736. "required": true
  737. }
  738. ],
  739. "responses": {
  740. "200": {
  741. "description": "OK",
  742. "schema": {
  743. "type": "array",
  744. "items": {
  745. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  746. }
  747. }
  748. },
  749. "500": {
  750. "description": "Internal Server Error",
  751. "schema": {
  752. "$ref": "#/definitions/app.Response"
  753. }
  754. }
  755. }
  756. }
  757. },
  758. "/Ermcp/QueryHedgePlan": {
  759. "get": {
  760. "security": [
  761. {
  762. "ApiKeyAuth": []
  763. }
  764. ],
  765. "produces": [
  766. "application/json"
  767. ],
  768. "tags": [
  769. "企业风险管理(app)"
  770. ],
  771. "summary": "查询套保计划",
  772. "parameters": [
  773. {
  774. "type": "integer",
  775. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  776. "name": "HedgePlanStatus",
  777. "in": "query",
  778. "required": true
  779. }
  780. ],
  781. "responses": {
  782. "200": {
  783. "description": "OK",
  784. "schema": {
  785. "type": "array",
  786. "items": {
  787. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  788. }
  789. }
  790. },
  791. "500": {
  792. "description": "Internal Server Error",
  793. "schema": {
  794. "$ref": "#/definitions/app.Response"
  795. }
  796. }
  797. }
  798. }
  799. },
  800. "/Ermcp/QueryUserInfo": {
  801. "get": {
  802. "security": [
  803. {
  804. "ApiKeyAuth": []
  805. }
  806. ],
  807. "produces": [
  808. "application/json"
  809. ],
  810. "tags": [
  811. "企业风险管理(app)"
  812. ],
  813. "summary": "查询客户资料",
  814. "parameters": [
  815. {
  816. "type": "string",
  817. "description": "账户状态(可填多个, 逗号隔开) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  818. "name": "AccountStatus",
  819. "in": "query",
  820. "required": true
  821. }
  822. ],
  823. "responses": {
  824. "200": {
  825. "description": "OK",
  826. "schema": {
  827. "type": "array",
  828. "items": {
  829. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  830. }
  831. }
  832. },
  833. "500": {
  834. "description": "Internal Server Error",
  835. "schema": {
  836. "$ref": "#/definitions/app.Response"
  837. }
  838. }
  839. }
  840. }
  841. },
  842. "/Erms2/QueryArbitrageStrategy": {
  843. "get": {
  844. "security": [
  845. {
  846. "ApiKeyAuth": []
  847. }
  848. ],
  849. "produces": [
  850. "application/json"
  851. ],
  852. "tags": [
  853. "风险管理"
  854. ],
  855. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  856. "parameters": [
  857. {
  858. "type": "integer",
  859. "description": "账户ID",
  860. "name": "userid",
  861. "in": "query",
  862. "required": true
  863. },
  864. {
  865. "type": "string",
  866. "description": "商品组ID(品种ID)",
  867. "name": "goodsgroupid",
  868. "in": "query"
  869. }
  870. ],
  871. "responses": {
  872. "200": {
  873. "description": "OK",
  874. "schema": {
  875. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  876. }
  877. },
  878. "500": {
  879. "description": "Internal Server Error",
  880. "schema": {
  881. "$ref": "#/definitions/app.Response"
  882. }
  883. }
  884. }
  885. }
  886. },
  887. "/Erms2/QueryInnerTradeDetail": {
  888. "get": {
  889. "security": [
  890. {
  891. "ApiKeyAuth": []
  892. }
  893. ],
  894. "produces": [
  895. "application/json"
  896. ],
  897. "tags": [
  898. "风险管理"
  899. ],
  900. "summary": "查询内部成交单信息",
  901. "parameters": [
  902. {
  903. "type": "integer",
  904. "description": "资金账户",
  905. "name": "accountid",
  906. "in": "query",
  907. "required": true
  908. }
  909. ],
  910. "responses": {
  911. "200": {
  912. "description": "OK",
  913. "schema": {
  914. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  915. }
  916. },
  917. "500": {
  918. "description": "Internal Server Error",
  919. "schema": {
  920. "$ref": "#/definitions/app.Response"
  921. }
  922. }
  923. }
  924. }
  925. },
  926. "/Erms2/QuerySpotContract": {
  927. "get": {
  928. "security": [
  929. {
  930. "ApiKeyAuth": []
  931. }
  932. ],
  933. "produces": [
  934. "application/json"
  935. ],
  936. "tags": [
  937. "风险管理"
  938. ],
  939. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  940. "parameters": [
  941. {
  942. "type": "integer",
  943. "description": "策略申请ID",
  944. "name": "asapplyid",
  945. "in": "query",
  946. "required": true
  947. },
  948. {
  949. "type": "integer",
  950. "description": "现货合同ID",
  951. "name": "spotcontractid",
  952. "in": "query"
  953. }
  954. ],
  955. "responses": {
  956. "200": {
  957. "description": "OK",
  958. "schema": {
  959. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  960. }
  961. },
  962. "500": {
  963. "description": "Internal Server Error",
  964. "schema": {
  965. "$ref": "#/definitions/app.Response"
  966. }
  967. }
  968. }
  969. }
  970. },
  971. "/Erms3/AddErms2ASApply": {
  972. "post": {
  973. "security": [
  974. {
  975. "ApiKeyAuth": []
  976. }
  977. ],
  978. "produces": [
  979. "application/json"
  980. ],
  981. "tags": [
  982. "风险管理v3"
  983. ],
  984. "summary": "新增期现套利业务申请",
  985. "parameters": [
  986. {
  987. "description": "申请参数",
  988. "name": "jsonBody",
  989. "in": "body",
  990. "required": true,
  991. "schema": {
  992. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  993. }
  994. }
  995. ],
  996. "responses": {
  997. "200": {
  998. "description": "OK",
  999. "schema": {
  1000. "$ref": "#/definitions/app.Response"
  1001. }
  1002. },
  1003. "500": {
  1004. "description": "Internal Server Error",
  1005. "schema": {
  1006. "$ref": "#/definitions/app.Response"
  1007. }
  1008. }
  1009. }
  1010. }
  1011. },
  1012. "/Erms3/AddErms2SpotTradeApply": {
  1013. "post": {
  1014. "security": [
  1015. {
  1016. "ApiKeyAuth": []
  1017. }
  1018. ],
  1019. "produces": [
  1020. "application/json"
  1021. ],
  1022. "tags": [
  1023. "风险管理v3"
  1024. ],
  1025. "summary": "新增现货贸易业务申请",
  1026. "parameters": [
  1027. {
  1028. "description": "申请参数",
  1029. "name": "jsonBody",
  1030. "in": "body",
  1031. "required": true,
  1032. "schema": {
  1033. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  1034. }
  1035. }
  1036. ],
  1037. "responses": {
  1038. "200": {
  1039. "description": "OK",
  1040. "schema": {
  1041. "$ref": "#/definitions/app.Response"
  1042. }
  1043. },
  1044. "500": {
  1045. "description": "Internal Server Error",
  1046. "schema": {
  1047. "$ref": "#/definitions/app.Response"
  1048. }
  1049. }
  1050. }
  1051. }
  1052. },
  1053. "/Erms3/AddSpotContractApply": {
  1054. "post": {
  1055. "security": [
  1056. {
  1057. "ApiKeyAuth": []
  1058. }
  1059. ],
  1060. "produces": [
  1061. "application/json"
  1062. ],
  1063. "tags": [
  1064. "风险管理v3"
  1065. ],
  1066. "summary": "新增现货合同申请",
  1067. "parameters": [
  1068. {
  1069. "description": "申请参数",
  1070. "name": "jsonBody",
  1071. "in": "body",
  1072. "required": true,
  1073. "schema": {
  1074. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  1075. }
  1076. }
  1077. ],
  1078. "responses": {
  1079. "200": {
  1080. "description": "OK",
  1081. "schema": {
  1082. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  1083. }
  1084. },
  1085. "500": {
  1086. "description": "Internal Server Error",
  1087. "schema": {
  1088. "$ref": "#/definitions/app.Response"
  1089. }
  1090. }
  1091. }
  1092. }
  1093. },
  1094. "/Erms3/AddUserInfoApply": {
  1095. "post": {
  1096. "security": [
  1097. {
  1098. "ApiKeyAuth": []
  1099. }
  1100. ],
  1101. "produces": [
  1102. "application/json"
  1103. ],
  1104. "tags": [
  1105. "风险管理v3"
  1106. ],
  1107. "summary": "新增客户申请",
  1108. "parameters": [
  1109. {
  1110. "description": "申请参数",
  1111. "name": "jsonBody",
  1112. "in": "body",
  1113. "required": true,
  1114. "schema": {
  1115. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  1116. }
  1117. }
  1118. ],
  1119. "responses": {
  1120. "200": {
  1121. "description": "OK",
  1122. "schema": {
  1123. "$ref": "#/definitions/app.Response"
  1124. }
  1125. },
  1126. "500": {
  1127. "description": "Internal Server Error",
  1128. "schema": {
  1129. "$ref": "#/definitions/app.Response"
  1130. }
  1131. }
  1132. }
  1133. }
  1134. },
  1135. "/Erms3/QueryBusinessInfo": {
  1136. "get": {
  1137. "security": [
  1138. {
  1139. "ApiKeyAuth": []
  1140. }
  1141. ],
  1142. "produces": [
  1143. "application/json"
  1144. ],
  1145. "tags": [
  1146. "风险管理v3"
  1147. ],
  1148. "summary": "查询业务表单数据",
  1149. "parameters": [
  1150. {
  1151. "type": "string",
  1152. "description": "资金账号ID列表,用逗号分隔",
  1153. "name": "accountids",
  1154. "in": "query",
  1155. "required": true
  1156. },
  1157. {
  1158. "type": "integer",
  1159. "description": "状态,0为未结束 1为已结束",
  1160. "name": "status",
  1161. "in": "query",
  1162. "required": true
  1163. }
  1164. ],
  1165. "responses": {
  1166. "200": {
  1167. "description": "OK",
  1168. "schema": {
  1169. "type": "array",
  1170. "items": {
  1171. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  1172. }
  1173. }
  1174. },
  1175. "500": {
  1176. "description": "Internal Server Error",
  1177. "schema": {
  1178. "$ref": "#/definitions/app.Response"
  1179. }
  1180. }
  1181. }
  1182. }
  1183. },
  1184. "/Erms3/QueryPendingAuditContract": {
  1185. "get": {
  1186. "security": [
  1187. {
  1188. "ApiKeyAuth": []
  1189. }
  1190. ],
  1191. "produces": [
  1192. "application/json"
  1193. ],
  1194. "tags": [
  1195. "风险管理v3"
  1196. ],
  1197. "summary": "查询待审核合同",
  1198. "parameters": [
  1199. {
  1200. "type": "string",
  1201. "description": "资金账号ID列表,逗号隔开",
  1202. "name": "accountids",
  1203. "in": "query",
  1204. "required": true
  1205. },
  1206. {
  1207. "type": "integer",
  1208. "description": "合同类型 1-采购 -1-销售",
  1209. "name": "contracttype",
  1210. "in": "query",
  1211. "required": true
  1212. },
  1213. {
  1214. "type": "integer",
  1215. "description": "合同模式 1-普通 2-回购",
  1216. "name": "contractmode",
  1217. "in": "query",
  1218. "required": true
  1219. }
  1220. ],
  1221. "responses": {
  1222. "200": {
  1223. "description": "OK",
  1224. "schema": {
  1225. "type": "array",
  1226. "items": {
  1227. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  1228. }
  1229. }
  1230. },
  1231. "500": {
  1232. "description": "Internal Server Error",
  1233. "schema": {
  1234. "$ref": "#/definitions/app.Response"
  1235. }
  1236. }
  1237. }
  1238. }
  1239. },
  1240. "/Erms3/QueryPendingBusiness": {
  1241. "get": {
  1242. "security": [
  1243. {
  1244. "ApiKeyAuth": []
  1245. }
  1246. ],
  1247. "produces": [
  1248. "application/json"
  1249. ],
  1250. "tags": [
  1251. "风险管理v3"
  1252. ],
  1253. "summary": "查询待审核基差贸易业务",
  1254. "parameters": [
  1255. {
  1256. "type": "string",
  1257. "description": "资金账号ID列表,逗号隔开",
  1258. "name": "accountids",
  1259. "in": "query",
  1260. "required": true
  1261. }
  1262. ],
  1263. "responses": {
  1264. "200": {
  1265. "description": "OK",
  1266. "schema": {
  1267. "type": "array",
  1268. "items": {
  1269. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  1270. }
  1271. }
  1272. },
  1273. "500": {
  1274. "description": "Internal Server Error",
  1275. "schema": {
  1276. "$ref": "#/definitions/app.Response"
  1277. }
  1278. }
  1279. }
  1280. }
  1281. },
  1282. "/Erms3/QuerySpotContractAppleForm": {
  1283. "get": {
  1284. "security": [
  1285. {
  1286. "ApiKeyAuth": []
  1287. }
  1288. ],
  1289. "produces": [
  1290. "application/json"
  1291. ],
  1292. "tags": [
  1293. "风险管理v3"
  1294. ],
  1295. "summary": "查询合同申请表单数据",
  1296. "parameters": [
  1297. {
  1298. "type": "integer",
  1299. "description": "登录账号",
  1300. "name": "loginID",
  1301. "in": "query",
  1302. "required": true
  1303. }
  1304. ],
  1305. "responses": {
  1306. "200": {
  1307. "description": "OK",
  1308. "schema": {
  1309. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  1310. }
  1311. },
  1312. "500": {
  1313. "description": "Internal Server Error",
  1314. "schema": {
  1315. "$ref": "#/definitions/app.Response"
  1316. }
  1317. }
  1318. }
  1319. }
  1320. },
  1321. "/Erms3/QuerySpotContractDetail": {
  1322. "get": {
  1323. "security": [
  1324. {
  1325. "ApiKeyAuth": []
  1326. }
  1327. ],
  1328. "produces": [
  1329. "application/json"
  1330. ],
  1331. "tags": [
  1332. "风险管理v3"
  1333. ],
  1334. "summary": "查询合同详细信息",
  1335. "parameters": [
  1336. {
  1337. "type": "string",
  1338. "description": "资金账号ID列表,用逗号分隔",
  1339. "name": "accountids",
  1340. "in": "query",
  1341. "required": true
  1342. },
  1343. {
  1344. "type": "integer",
  1345. "description": "合同类型,1为采购合同 -1为销售合同",
  1346. "name": "contracttype",
  1347. "in": "query",
  1348. "required": true
  1349. },
  1350. {
  1351. "type": "integer",
  1352. "description": "合同模式,1为普通合同 2为回购销售合同",
  1353. "name": "contractmode",
  1354. "in": "query",
  1355. "required": true
  1356. },
  1357. {
  1358. "type": "integer",
  1359. "description": "状态,0为履约中 1为已完成",
  1360. "name": "status",
  1361. "in": "query",
  1362. "required": true
  1363. }
  1364. ],
  1365. "responses": {
  1366. "200": {
  1367. "description": "OK",
  1368. "schema": {
  1369. "type": "array",
  1370. "items": {
  1371. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  1372. }
  1373. }
  1374. },
  1375. "500": {
  1376. "description": "Internal Server Error",
  1377. "schema": {
  1378. "$ref": "#/definitions/app.Response"
  1379. }
  1380. }
  1381. }
  1382. }
  1383. },
  1384. "/Erms3/QueryUserInfoApplies": {
  1385. "get": {
  1386. "security": [
  1387. {
  1388. "ApiKeyAuth": []
  1389. }
  1390. ],
  1391. "produces": [
  1392. "application/json"
  1393. ],
  1394. "tags": [
  1395. "风险管理v3"
  1396. ],
  1397. "summary": "客户申请信息查询",
  1398. "parameters": [
  1399. {
  1400. "type": "integer",
  1401. "description": "页码",
  1402. "name": "page",
  1403. "in": "query"
  1404. },
  1405. {
  1406. "type": "integer",
  1407. "description": "每页条数",
  1408. "name": "pagesize",
  1409. "in": "query"
  1410. },
  1411. {
  1412. "type": "string",
  1413. "description": "客户名称,支持模糊查询",
  1414. "name": "userName",
  1415. "in": "query"
  1416. }
  1417. ],
  1418. "responses": {
  1419. "200": {
  1420. "description": "OK",
  1421. "schema": {
  1422. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  1423. }
  1424. },
  1425. "500": {
  1426. "description": "Internal Server Error",
  1427. "schema": {
  1428. "$ref": "#/definitions/app.Response"
  1429. }
  1430. }
  1431. }
  1432. }
  1433. },
  1434. "/Erms3/QueryUserInfos": {
  1435. "get": {
  1436. "security": [
  1437. {
  1438. "ApiKeyAuth": []
  1439. }
  1440. ],
  1441. "produces": [
  1442. "application/json"
  1443. ],
  1444. "tags": [
  1445. "风险管理v3"
  1446. ],
  1447. "summary": "客户信息查询",
  1448. "parameters": [
  1449. {
  1450. "type": "integer",
  1451. "description": "页码",
  1452. "name": "page",
  1453. "in": "query"
  1454. },
  1455. {
  1456. "type": "integer",
  1457. "description": "每页条数",
  1458. "name": "pagesize",
  1459. "in": "query"
  1460. },
  1461. {
  1462. "type": "string",
  1463. "description": "客户名称,支持模糊查询",
  1464. "name": "userName",
  1465. "in": "query"
  1466. }
  1467. ],
  1468. "responses": {
  1469. "200": {
  1470. "description": "OK",
  1471. "schema": {
  1472. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  1473. }
  1474. },
  1475. "500": {
  1476. "description": "Internal Server Error",
  1477. "schema": {
  1478. "$ref": "#/definitions/app.Response"
  1479. }
  1480. }
  1481. }
  1482. }
  1483. },
  1484. "/HSBY/GetHsbyMyCount": {
  1485. "get": {
  1486. "security": [
  1487. {
  1488. "ApiKeyAuth": []
  1489. }
  1490. ],
  1491. "description": "说明: 不包括已完成的数量。",
  1492. "produces": [
  1493. "application/json"
  1494. ],
  1495. "tags": [
  1496. "定制【海商报业】"
  1497. ],
  1498. "summary": "获取我的订单与包裹数量",
  1499. "parameters": [
  1500. {
  1501. "type": "string",
  1502. "description": "资金账户列表,格式:1,2,3",
  1503. "name": "accountIDs",
  1504. "in": "query",
  1505. "required": true
  1506. }
  1507. ],
  1508. "responses": {
  1509. "200": {
  1510. "description": "OK",
  1511. "schema": {
  1512. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  1513. }
  1514. },
  1515. "500": {
  1516. "description": "Internal Server Error",
  1517. "schema": {
  1518. "$ref": "#/definitions/app.Response"
  1519. }
  1520. }
  1521. }
  1522. }
  1523. },
  1524. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  1525. "get": {
  1526. "security": [
  1527. {
  1528. "ApiKeyAuth": []
  1529. }
  1530. ],
  1531. "produces": [
  1532. "application/json"
  1533. ],
  1534. "tags": [
  1535. "定制【海商报业】"
  1536. ],
  1537. "summary": "查询\"我的订单 - 已完成\"单据信息",
  1538. "parameters": [
  1539. {
  1540. "type": "integer",
  1541. "description": "页码",
  1542. "name": "page",
  1543. "in": "query"
  1544. },
  1545. {
  1546. "type": "integer",
  1547. "description": "每页条数",
  1548. "name": "pagesize",
  1549. "in": "query"
  1550. },
  1551. {
  1552. "type": "string",
  1553. "description": "资金账户列表,格式:1,2,3",
  1554. "name": "accountIDs",
  1555. "in": "query",
  1556. "required": true
  1557. }
  1558. ],
  1559. "responses": {
  1560. "200": {
  1561. "description": "OK",
  1562. "schema": {
  1563. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  1564. }
  1565. },
  1566. "500": {
  1567. "description": "Internal Server Error",
  1568. "schema": {
  1569. "$ref": "#/definitions/app.Response"
  1570. }
  1571. }
  1572. }
  1573. }
  1574. },
  1575. "/HSBY/QueryHsbyGoodsOrderDetails": {
  1576. "get": {
  1577. "security": [
  1578. {
  1579. "ApiKeyAuth": []
  1580. }
  1581. ],
  1582. "description": "说明:查询结果已按委托价格和委托时间排序",
  1583. "produces": [
  1584. "application/json"
  1585. ],
  1586. "tags": [
  1587. "定制【海商报业】"
  1588. ],
  1589. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  1590. "parameters": [
  1591. {
  1592. "type": "integer",
  1593. "description": "商品ID",
  1594. "name": "goodsID",
  1595. "in": "query",
  1596. "required": true
  1597. },
  1598. {
  1599. "type": "string",
  1600. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  1601. "name": "accountIDs",
  1602. "in": "query"
  1603. },
  1604. {
  1605. "type": "integer",
  1606. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  1607. "name": "buyOrSell",
  1608. "in": "query"
  1609. },
  1610. {
  1611. "type": "number",
  1612. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  1613. "name": "price",
  1614. "in": "query"
  1615. },
  1616. {
  1617. "type": "integer",
  1618. "description": "档位,不传则默认为3档",
  1619. "name": "speed",
  1620. "in": "query"
  1621. }
  1622. ],
  1623. "responses": {
  1624. "200": {
  1625. "description": "OK",
  1626. "schema": {
  1627. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  1628. }
  1629. },
  1630. "500": {
  1631. "description": "Internal Server Error",
  1632. "schema": {
  1633. "$ref": "#/definitions/app.Response"
  1634. }
  1635. }
  1636. }
  1637. }
  1638. },
  1639. "/HSBY/QueryHsbyListingGoodsDetail": {
  1640. "get": {
  1641. "security": [
  1642. {
  1643. "ApiKeyAuth": []
  1644. }
  1645. ],
  1646. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  1647. "produces": [
  1648. "application/json"
  1649. ],
  1650. "tags": [
  1651. "定制【海商报业】"
  1652. ],
  1653. "summary": "查询二级市场(挂牌点选)商品信息详情",
  1654. "parameters": [
  1655. {
  1656. "type": "integer",
  1657. "description": "商品ID",
  1658. "name": "goodsID",
  1659. "in": "query",
  1660. "required": true
  1661. },
  1662. {
  1663. "type": "integer",
  1664. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  1665. "name": "AccountID",
  1666. "in": "query"
  1667. }
  1668. ],
  1669. "responses": {
  1670. "200": {
  1671. "description": "OK",
  1672. "schema": {
  1673. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  1674. }
  1675. },
  1676. "500": {
  1677. "description": "Internal Server Error",
  1678. "schema": {
  1679. "$ref": "#/definitions/app.Response"
  1680. }
  1681. }
  1682. }
  1683. }
  1684. },
  1685. "/HSBY/QueryHsbyMarketGoodsDetail": {
  1686. "get": {
  1687. "security": [
  1688. {
  1689. "ApiKeyAuth": []
  1690. }
  1691. ],
  1692. "produces": [
  1693. "application/json"
  1694. ],
  1695. "tags": [
  1696. "定制【海商报业】"
  1697. ],
  1698. "summary": "查询三级市场(商城)商品信息详情",
  1699. "parameters": [
  1700. {
  1701. "type": "integer",
  1702. "description": "委托单号",
  1703. "name": "orderID",
  1704. "in": "query",
  1705. "required": true
  1706. }
  1707. ],
  1708. "responses": {
  1709. "200": {
  1710. "description": "OK",
  1711. "schema": {
  1712. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  1713. }
  1714. },
  1715. "500": {
  1716. "description": "Internal Server Error",
  1717. "schema": {
  1718. "$ref": "#/definitions/app.Response"
  1719. }
  1720. }
  1721. }
  1722. }
  1723. },
  1724. "/HSBY/QueryHsbyMarketGoodses": {
  1725. "get": {
  1726. "security": [
  1727. {
  1728. "ApiKeyAuth": []
  1729. }
  1730. ],
  1731. "produces": [
  1732. "application/json"
  1733. ],
  1734. "tags": [
  1735. "定制【海商报业】"
  1736. ],
  1737. "summary": "查询特卖商品列表(三级商城)",
  1738. "parameters": [
  1739. {
  1740. "type": "integer",
  1741. "description": "页码",
  1742. "name": "page",
  1743. "in": "query"
  1744. },
  1745. {
  1746. "type": "integer",
  1747. "description": "每页条数",
  1748. "name": "pagesize",
  1749. "in": "query"
  1750. },
  1751. {
  1752. "type": "string",
  1753. "description": "市场ID列表,格式:1,2,3",
  1754. "name": "marketIDs",
  1755. "in": "query",
  1756. "required": true
  1757. },
  1758. {
  1759. "type": "integer",
  1760. "description": "资金账户,主要用于判断商品是否有可用的优惠卷;如未登录可不传。",
  1761. "name": "accountID",
  1762. "in": "query"
  1763. },
  1764. {
  1765. "type": "integer",
  1766. "description": "类别ID",
  1767. "name": "categoryID",
  1768. "in": "query"
  1769. },
  1770. {
  1771. "type": "string",
  1772. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  1773. "name": "goodsIDs",
  1774. "in": "query"
  1775. },
  1776. {
  1777. "type": "integer",
  1778. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  1779. "name": "couponTypeID",
  1780. "in": "query"
  1781. }
  1782. ],
  1783. "responses": {
  1784. "200": {
  1785. "description": "OK",
  1786. "schema": {
  1787. "$ref": "#/definitions/models.HsbyMarketGoods"
  1788. }
  1789. },
  1790. "500": {
  1791. "description": "Internal Server Error",
  1792. "schema": {
  1793. "$ref": "#/definitions/app.Response"
  1794. }
  1795. }
  1796. }
  1797. }
  1798. },
  1799. "/HSBY/QueryHsbyMarkets": {
  1800. "get": {
  1801. "security": [
  1802. {
  1803. "ApiKeyAuth": []
  1804. }
  1805. ],
  1806. "produces": [
  1807. "application/json"
  1808. ],
  1809. "tags": [
  1810. "定制【海商报业】"
  1811. ],
  1812. "summary": "查询海商报业相关市场信息",
  1813. "responses": {
  1814. "200": {
  1815. "description": "OK",
  1816. "schema": {
  1817. "$ref": "#/definitions/models.HsbyMarketInfo"
  1818. }
  1819. },
  1820. "500": {
  1821. "description": "Internal Server Error",
  1822. "schema": {
  1823. "$ref": "#/definitions/app.Response"
  1824. }
  1825. }
  1826. }
  1827. }
  1828. },
  1829. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  1830. "get": {
  1831. "security": [
  1832. {
  1833. "ApiKeyAuth": []
  1834. }
  1835. ],
  1836. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  1837. "produces": [
  1838. "application/json"
  1839. ],
  1840. "tags": [
  1841. "定制【海商报业】"
  1842. ],
  1843. "summary": "查询“我的订单”信息",
  1844. "parameters": [
  1845. {
  1846. "type": "string",
  1847. "description": "资金账户列表,格式:1,2,3",
  1848. "name": "accountIDs",
  1849. "in": "query",
  1850. "required": true
  1851. },
  1852. {
  1853. "type": "integer",
  1854. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  1855. "name": "myBuyStatus",
  1856. "in": "query"
  1857. }
  1858. ],
  1859. "responses": {
  1860. "200": {
  1861. "description": "OK",
  1862. "schema": {
  1863. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  1864. }
  1865. },
  1866. "500": {
  1867. "description": "Internal Server Error",
  1868. "schema": {
  1869. "$ref": "#/definitions/app.Response"
  1870. }
  1871. }
  1872. }
  1873. }
  1874. },
  1875. "/HSBY/QueryHsbyMyGoods": {
  1876. "get": {
  1877. "security": [
  1878. {
  1879. "ApiKeyAuth": []
  1880. }
  1881. ],
  1882. "produces": [
  1883. "application/json"
  1884. ],
  1885. "tags": [
  1886. "定制【海商报业】"
  1887. ],
  1888. "summary": "查询“我的商品”信息",
  1889. "parameters": [
  1890. {
  1891. "type": "string",
  1892. "description": "资金账户列表,格式:1,2,3",
  1893. "name": "accountIDs",
  1894. "in": "query",
  1895. "required": true
  1896. }
  1897. ],
  1898. "responses": {
  1899. "200": {
  1900. "description": "OK",
  1901. "schema": {
  1902. "$ref": "#/definitions/models.HsbyMyGoods"
  1903. }
  1904. },
  1905. "500": {
  1906. "description": "Internal Server Error",
  1907. "schema": {
  1908. "$ref": "#/definitions/app.Response"
  1909. }
  1910. }
  1911. }
  1912. }
  1913. },
  1914. "/HSBY/QueryHsbyMyPackages": {
  1915. "get": {
  1916. "security": [
  1917. {
  1918. "ApiKeyAuth": []
  1919. }
  1920. ],
  1921. "produces": [
  1922. "application/json"
  1923. ],
  1924. "tags": [
  1925. "定制【海商报业】"
  1926. ],
  1927. "summary": "查询我的包裹信息",
  1928. "parameters": [
  1929. {
  1930. "type": "string",
  1931. "description": "资金账户列表,格式:1,2,3",
  1932. "name": "accountIDs",
  1933. "in": "query",
  1934. "required": true
  1935. },
  1936. {
  1937. "type": "integer",
  1938. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  1939. "name": "takeOrderStatus",
  1940. "in": "query"
  1941. }
  1942. ],
  1943. "responses": {
  1944. "200": {
  1945. "description": "OK",
  1946. "schema": {
  1947. "$ref": "#/definitions/models.HsbyMyPackage"
  1948. }
  1949. },
  1950. "500": {
  1951. "description": "Internal Server Error",
  1952. "schema": {
  1953. "$ref": "#/definitions/app.Response"
  1954. }
  1955. }
  1956. }
  1957. }
  1958. },
  1959. "/HSBY/QueryHsbyPreGoodsDetail": {
  1960. "get": {
  1961. "security": [
  1962. {
  1963. "ApiKeyAuth": []
  1964. }
  1965. ],
  1966. "produces": [
  1967. "application/json"
  1968. ],
  1969. "tags": [
  1970. "定制【海商报业】"
  1971. ],
  1972. "summary": "查询一级市场(预售)商品信息详情",
  1973. "parameters": [
  1974. {
  1975. "type": "integer",
  1976. "description": "商品ID",
  1977. "name": "goodsID",
  1978. "in": "query",
  1979. "required": true
  1980. },
  1981. {
  1982. "type": "integer",
  1983. "description": "资金账户,主要用于获取预售商品购买上限",
  1984. "name": "accountID",
  1985. "in": "query"
  1986. }
  1987. ],
  1988. "responses": {
  1989. "200": {
  1990. "description": "OK",
  1991. "schema": {
  1992. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  1993. }
  1994. },
  1995. "500": {
  1996. "description": "Internal Server Error",
  1997. "schema": {
  1998. "$ref": "#/definitions/app.Response"
  1999. }
  2000. }
  2001. }
  2002. }
  2003. },
  2004. "/HSBY/QueryHsbyPreGoodses": {
  2005. "get": {
  2006. "security": [
  2007. {
  2008. "ApiKeyAuth": []
  2009. }
  2010. ],
  2011. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  2012. "produces": [
  2013. "application/json"
  2014. ],
  2015. "tags": [
  2016. "定制【海商报业】"
  2017. ],
  2018. "summary": "查询新品上市商品列表(一级市场预售)",
  2019. "parameters": [
  2020. {
  2021. "type": "integer",
  2022. "description": "页码",
  2023. "name": "page",
  2024. "in": "query"
  2025. },
  2026. {
  2027. "type": "integer",
  2028. "description": "每页条数",
  2029. "name": "pagesize",
  2030. "in": "query"
  2031. },
  2032. {
  2033. "type": "string",
  2034. "description": "市场ID列表,格式:1,2,3",
  2035. "name": "marketIDs",
  2036. "in": "query",
  2037. "required": true
  2038. },
  2039. {
  2040. "type": "integer",
  2041. "description": "目的地(省)ID",
  2042. "name": "descProvinceID",
  2043. "in": "query"
  2044. },
  2045. {
  2046. "type": "integer",
  2047. "description": "目的地(市)ID",
  2048. "name": "descCityID",
  2049. "in": "query"
  2050. }
  2051. ],
  2052. "responses": {
  2053. "200": {
  2054. "description": "OK",
  2055. "schema": {
  2056. "$ref": "#/definitions/models.HsbyPreGoods"
  2057. }
  2058. },
  2059. "500": {
  2060. "description": "Internal Server Error",
  2061. "schema": {
  2062. "$ref": "#/definitions/app.Response"
  2063. }
  2064. }
  2065. }
  2066. }
  2067. },
  2068. "/HSBY/QueryHsbySellMyDetails": {
  2069. "get": {
  2070. "security": [
  2071. {
  2072. "ApiKeyAuth": []
  2073. }
  2074. ],
  2075. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  2076. "produces": [
  2077. "application/json"
  2078. ],
  2079. "tags": [
  2080. "定制【海商报业】"
  2081. ],
  2082. "summary": "查询\"我的闲置\"单据信息",
  2083. "parameters": [
  2084. {
  2085. "type": "integer",
  2086. "description": "页码",
  2087. "name": "page",
  2088. "in": "query"
  2089. },
  2090. {
  2091. "type": "integer",
  2092. "description": "每页条数",
  2093. "name": "pagesize",
  2094. "in": "query"
  2095. },
  2096. {
  2097. "type": "string",
  2098. "description": "资金账户列表,格式:1,2,3",
  2099. "name": "accountIDs",
  2100. "in": "query",
  2101. "required": true
  2102. },
  2103. {
  2104. "type": "integer",
  2105. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  2106. "name": "orderType",
  2107. "in": "query"
  2108. }
  2109. ],
  2110. "responses": {
  2111. "200": {
  2112. "description": "OK",
  2113. "schema": {
  2114. "$ref": "#/definitions/models.HsbySellMyDetail"
  2115. }
  2116. },
  2117. "500": {
  2118. "description": "Internal Server Error",
  2119. "schema": {
  2120. "$ref": "#/definitions/app.Response"
  2121. }
  2122. }
  2123. }
  2124. }
  2125. },
  2126. "/HSBY/QueryHsbyTopGoodses": {
  2127. "get": {
  2128. "security": [
  2129. {
  2130. "ApiKeyAuth": []
  2131. }
  2132. ],
  2133. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  2134. "produces": [
  2135. "application/json"
  2136. ],
  2137. "tags": [
  2138. "定制【海商报业】"
  2139. ],
  2140. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  2141. "parameters": [
  2142. {
  2143. "type": "integer",
  2144. "description": "页码",
  2145. "name": "page",
  2146. "in": "query"
  2147. },
  2148. {
  2149. "type": "integer",
  2150. "description": "每页条数",
  2151. "name": "pagesize",
  2152. "in": "query"
  2153. },
  2154. {
  2155. "type": "string",
  2156. "description": "市场ID列表,格式:1,2,3",
  2157. "name": "marketIDs",
  2158. "in": "query",
  2159. "required": true
  2160. },
  2161. {
  2162. "type": "integer",
  2163. "description": "目的地(省)ID",
  2164. "name": "descProvinceID",
  2165. "in": "query"
  2166. },
  2167. {
  2168. "type": "integer",
  2169. "description": "目的地(市)ID",
  2170. "name": "descCityID",
  2171. "in": "query"
  2172. }
  2173. ],
  2174. "responses": {
  2175. "200": {
  2176. "description": "OK",
  2177. "schema": {
  2178. "$ref": "#/definitions/models.HsbyTopGoods"
  2179. }
  2180. },
  2181. "500": {
  2182. "description": "Internal Server Error",
  2183. "schema": {
  2184. "$ref": "#/definitions/app.Response"
  2185. }
  2186. }
  2187. }
  2188. }
  2189. },
  2190. "/HSBY/QueryMyCollectionOrders": {
  2191. "get": {
  2192. "security": [
  2193. {
  2194. "ApiKeyAuth": []
  2195. }
  2196. ],
  2197. "produces": [
  2198. "application/json"
  2199. ],
  2200. "tags": [
  2201. "定制【海商报业】"
  2202. ],
  2203. "summary": "我的闲置中收款信息查询",
  2204. "parameters": [
  2205. {
  2206. "type": "integer",
  2207. "description": "页码",
  2208. "name": "page",
  2209. "in": "query"
  2210. },
  2211. {
  2212. "type": "integer",
  2213. "description": "每页条数",
  2214. "name": "pagesize",
  2215. "in": "query"
  2216. },
  2217. {
  2218. "type": "string",
  2219. "description": "资金账户,格式:1,2,3",
  2220. "name": "accountIDs",
  2221. "in": "query",
  2222. "required": true
  2223. }
  2224. ],
  2225. "responses": {
  2226. "200": {
  2227. "description": "OK",
  2228. "schema": {
  2229. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  2230. }
  2231. },
  2232. "500": {
  2233. "description": "Internal Server Error",
  2234. "schema": {
  2235. "$ref": "#/definitions/app.Response"
  2236. }
  2237. }
  2238. }
  2239. }
  2240. },
  2241. "/HSBY/QueryMyCouponHolds": {
  2242. "get": {
  2243. "security": [
  2244. {
  2245. "ApiKeyAuth": []
  2246. }
  2247. ],
  2248. "produces": [
  2249. "application/json"
  2250. ],
  2251. "tags": [
  2252. "定制【海商报业】"
  2253. ],
  2254. "summary": "我的优惠卷持仓查询",
  2255. "parameters": [
  2256. {
  2257. "type": "string",
  2258. "description": "资金账户列表,格式:1,2,3",
  2259. "name": "accountIDs",
  2260. "in": "query",
  2261. "required": true
  2262. },
  2263. {
  2264. "type": "string",
  2265. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  2266. "name": "holdStatus",
  2267. "in": "query"
  2268. }
  2269. ],
  2270. "responses": {
  2271. "200": {
  2272. "description": "OK",
  2273. "schema": {
  2274. "$ref": "#/definitions/models.MyCouponHold"
  2275. }
  2276. },
  2277. "500": {
  2278. "description": "Internal Server Error",
  2279. "schema": {
  2280. "$ref": "#/definitions/app.Response"
  2281. }
  2282. }
  2283. }
  2284. }
  2285. },
  2286. "/HSBY/QueryMyCoupons": {
  2287. "get": {
  2288. "security": [
  2289. {
  2290. "ApiKeyAuth": []
  2291. }
  2292. ],
  2293. "produces": [
  2294. "application/json"
  2295. ],
  2296. "tags": [
  2297. "定制【海商报业】"
  2298. ],
  2299. "summary": "我的优惠卷查询",
  2300. "parameters": [
  2301. {
  2302. "type": "string",
  2303. "description": "资金账户列表,格式:1,2,3",
  2304. "name": "accountIDs",
  2305. "in": "query",
  2306. "required": true
  2307. },
  2308. {
  2309. "type": "integer",
  2310. "description": "商品ID, 一般与sellUserID配套传入",
  2311. "name": "goodsID",
  2312. "in": "query"
  2313. },
  2314. {
  2315. "type": "integer",
  2316. "description": "卖方UserID",
  2317. "name": "sellUserID",
  2318. "in": "query"
  2319. }
  2320. ],
  2321. "responses": {
  2322. "200": {
  2323. "description": "OK",
  2324. "schema": {
  2325. "$ref": "#/definitions/models.MyCoupon"
  2326. }
  2327. },
  2328. "500": {
  2329. "description": "Internal Server Error",
  2330. "schema": {
  2331. "$ref": "#/definitions/app.Response"
  2332. }
  2333. }
  2334. }
  2335. }
  2336. },
  2337. "/HSBY/QueryMyPayOrders": {
  2338. "get": {
  2339. "security": [
  2340. {
  2341. "ApiKeyAuth": []
  2342. }
  2343. ],
  2344. "produces": [
  2345. "application/json"
  2346. ],
  2347. "tags": [
  2348. "定制【海商报业】"
  2349. ],
  2350. "summary": "获取我的订单中待付款信息",
  2351. "parameters": [
  2352. {
  2353. "type": "integer",
  2354. "description": "页码",
  2355. "name": "page",
  2356. "in": "query"
  2357. },
  2358. {
  2359. "type": "integer",
  2360. "description": "每页条数",
  2361. "name": "pagesize",
  2362. "in": "query"
  2363. },
  2364. {
  2365. "type": "string",
  2366. "description": "资金账户列表,格式:1,2,3",
  2367. "name": "accountIDs",
  2368. "in": "query",
  2369. "required": true
  2370. },
  2371. {
  2372. "type": "integer",
  2373. "description": "买方委托单号",
  2374. "name": "buyOrderID",
  2375. "in": "query"
  2376. },
  2377. {
  2378. "type": "integer",
  2379. "description": "卖方委托单号",
  2380. "name": "sellOrderID",
  2381. "in": "query"
  2382. }
  2383. ],
  2384. "responses": {
  2385. "200": {
  2386. "description": "OK",
  2387. "schema": {
  2388. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  2389. }
  2390. },
  2391. "500": {
  2392. "description": "Internal Server Error",
  2393. "schema": {
  2394. "$ref": "#/definitions/app.Response"
  2395. }
  2396. }
  2397. }
  2398. }
  2399. },
  2400. "/HSBY/QueryMyUsedCoupon": {
  2401. "get": {
  2402. "security": [
  2403. {
  2404. "ApiKeyAuth": []
  2405. }
  2406. ],
  2407. "produces": [
  2408. "application/json"
  2409. ],
  2410. "tags": [
  2411. "定制【海商报业】"
  2412. ],
  2413. "summary": "已使用优惠卷查询",
  2414. "parameters": [
  2415. {
  2416. "type": "string",
  2417. "description": "资金账户列表,格式:1,2,3",
  2418. "name": "accountIDs",
  2419. "in": "query",
  2420. "required": true
  2421. }
  2422. ],
  2423. "responses": {
  2424. "200": {
  2425. "description": "OK",
  2426. "schema": {
  2427. "$ref": "#/definitions/models.MyUsedCoupon"
  2428. }
  2429. },
  2430. "500": {
  2431. "description": "Internal Server Error",
  2432. "schema": {
  2433. "$ref": "#/definitions/app.Response"
  2434. }
  2435. }
  2436. }
  2437. }
  2438. },
  2439. "/HSBY/QueryProvincesAndCities": {
  2440. "get": {
  2441. "security": [
  2442. {
  2443. "ApiKeyAuth": []
  2444. }
  2445. ],
  2446. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  2447. "produces": [
  2448. "application/json"
  2449. ],
  2450. "tags": [
  2451. "定制【海商报业】"
  2452. ],
  2453. "summary": "查询省市信息(不包括区)",
  2454. "parameters": [
  2455. {
  2456. "type": "integer",
  2457. "description": "省ID",
  2458. "name": "provinceID",
  2459. "in": "query"
  2460. }
  2461. ],
  2462. "responses": {
  2463. "200": {
  2464. "description": "OK",
  2465. "schema": {
  2466. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  2467. }
  2468. },
  2469. "500": {
  2470. "description": "Internal Server Error",
  2471. "schema": {
  2472. "$ref": "#/definitions/app.Response"
  2473. }
  2474. }
  2475. }
  2476. }
  2477. },
  2478. "/HSBY/SetHsbyMyPackagesStatus": {
  2479. "post": {
  2480. "security": [
  2481. {
  2482. "ApiKeyAuth": []
  2483. }
  2484. ],
  2485. "produces": [
  2486. "application/json"
  2487. ],
  2488. "tags": [
  2489. "定制【海商报业】"
  2490. ],
  2491. "summary": "设置我的包裹已收货状态",
  2492. "parameters": [
  2493. {
  2494. "type": "string",
  2495. "description": "提货单号",
  2496. "name": "takeOrderID",
  2497. "in": "query",
  2498. "required": true
  2499. },
  2500. {
  2501. "type": "integer",
  2502. "description": "资金账号",
  2503. "name": "accountID",
  2504. "in": "query",
  2505. "required": true
  2506. }
  2507. ],
  2508. "responses": {
  2509. "200": {
  2510. "description": "OK",
  2511. "schema": {
  2512. "$ref": "#/definitions/app.Response"
  2513. }
  2514. },
  2515. "500": {
  2516. "description": "Internal Server Error",
  2517. "schema": {
  2518. "$ref": "#/definitions/app.Response"
  2519. }
  2520. }
  2521. }
  2522. }
  2523. },
  2524. "/Market/QueryMarketRun": {
  2525. "get": {
  2526. "security": [
  2527. {
  2528. "ApiKeyAuth": []
  2529. }
  2530. ],
  2531. "produces": [
  2532. "application/json"
  2533. ],
  2534. "tags": [
  2535. "通用市场"
  2536. ],
  2537. "summary": "查询市场运行信息",
  2538. "parameters": [
  2539. {
  2540. "type": "integer",
  2541. "description": "市场ID,不传返回所有",
  2542. "name": "marketID",
  2543. "in": "query"
  2544. }
  2545. ],
  2546. "responses": {
  2547. "200": {
  2548. "description": "OK",
  2549. "schema": {
  2550. "$ref": "#/definitions/models.Marketrun"
  2551. }
  2552. },
  2553. "500": {
  2554. "description": "Internal Server Error",
  2555. "schema": {
  2556. "$ref": "#/definitions/app.Response"
  2557. }
  2558. }
  2559. }
  2560. }
  2561. },
  2562. "/Order/QueryHisTradeDetail": {
  2563. "get": {
  2564. "security": [
  2565. {
  2566. "ApiKeyAuth": []
  2567. }
  2568. ],
  2569. "produces": [
  2570. "application/json"
  2571. ],
  2572. "tags": [
  2573. "通用单据"
  2574. ],
  2575. "summary": "历史成交单查询(合约市场)",
  2576. "parameters": [
  2577. {
  2578. "type": "string",
  2579. "description": "资金账户 - 格式:1,2,3",
  2580. "name": "accountID",
  2581. "in": "query",
  2582. "required": true
  2583. },
  2584. {
  2585. "type": "integer",
  2586. "description": "成交单号",
  2587. "name": "tradeID",
  2588. "in": "query"
  2589. },
  2590. {
  2591. "type": "integer",
  2592. "description": "委托单号",
  2593. "name": "orderID",
  2594. "in": "query"
  2595. },
  2596. {
  2597. "type": "string",
  2598. "description": "交易模式 - 格式:1,2,3",
  2599. "name": "tradeMode",
  2600. "in": "query"
  2601. },
  2602. {
  2603. "type": "integer",
  2604. "description": "委托单据类型",
  2605. "name": "buildType",
  2606. "in": "query"
  2607. },
  2608. {
  2609. "type": "string",
  2610. "description": "成交类别 - 格式:1,2,3",
  2611. "name": "tradeType",
  2612. "in": "query"
  2613. },
  2614. {
  2615. "type": "string",
  2616. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2617. "name": "startDate",
  2618. "in": "query"
  2619. },
  2620. {
  2621. "type": "string",
  2622. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2623. "name": "endDate",
  2624. "in": "query"
  2625. }
  2626. ],
  2627. "responses": {
  2628. "200": {
  2629. "description": "OK",
  2630. "schema": {
  2631. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  2632. }
  2633. },
  2634. "500": {
  2635. "description": "Internal Server Error",
  2636. "schema": {
  2637. "$ref": "#/definitions/app.Response"
  2638. }
  2639. }
  2640. }
  2641. }
  2642. },
  2643. "/Order/QueryHisTradeOrderDetail": {
  2644. "get": {
  2645. "security": [
  2646. {
  2647. "ApiKeyAuth": []
  2648. }
  2649. ],
  2650. "produces": [
  2651. "application/json"
  2652. ],
  2653. "tags": [
  2654. "通用单据"
  2655. ],
  2656. "summary": "历史委托单查询请求(合约市场)",
  2657. "parameters": [
  2658. {
  2659. "type": "string",
  2660. "description": "资金账户 - 格式:1,2,3",
  2661. "name": "accountID",
  2662. "in": "query",
  2663. "required": true
  2664. },
  2665. {
  2666. "type": "string",
  2667. "description": "交易模式 - 格式:1,2,3",
  2668. "name": "tradeMode",
  2669. "in": "query"
  2670. },
  2671. {
  2672. "type": "string",
  2673. "description": "委托状态 - 格式:1,2,3",
  2674. "name": "orderStatus",
  2675. "in": "query"
  2676. },
  2677. {
  2678. "type": "integer",
  2679. "description": "委托单号",
  2680. "name": "orderID",
  2681. "in": "query"
  2682. },
  2683. {
  2684. "type": "string",
  2685. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2686. "name": "startDate",
  2687. "in": "query"
  2688. },
  2689. {
  2690. "type": "string",
  2691. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2692. "name": "endDate",
  2693. "in": "query"
  2694. }
  2695. ],
  2696. "responses": {
  2697. "200": {
  2698. "description": "OK",
  2699. "schema": {
  2700. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  2701. }
  2702. },
  2703. "500": {
  2704. "description": "Internal Server Error",
  2705. "schema": {
  2706. "$ref": "#/definitions/app.Response"
  2707. }
  2708. }
  2709. }
  2710. }
  2711. },
  2712. "/Order/QueryTradeDetail": {
  2713. "get": {
  2714. "security": [
  2715. {
  2716. "ApiKeyAuth": []
  2717. }
  2718. ],
  2719. "produces": [
  2720. "application/json"
  2721. ],
  2722. "tags": [
  2723. "通用单据"
  2724. ],
  2725. "summary": "成交单查询(合约市场)",
  2726. "parameters": [
  2727. {
  2728. "type": "string",
  2729. "description": "资金账户 - 格式:1,2,3",
  2730. "name": "accountID",
  2731. "in": "query",
  2732. "required": true
  2733. },
  2734. {
  2735. "type": "integer",
  2736. "description": "成交单号",
  2737. "name": "tradeID",
  2738. "in": "query"
  2739. },
  2740. {
  2741. "type": "integer",
  2742. "description": "委托单号",
  2743. "name": "orderID",
  2744. "in": "query"
  2745. },
  2746. {
  2747. "type": "string",
  2748. "description": "交易模式 - 格式:1,2,3",
  2749. "name": "tradeMode",
  2750. "in": "query"
  2751. },
  2752. {
  2753. "type": "integer",
  2754. "description": "委托单据类型",
  2755. "name": "buildType",
  2756. "in": "query"
  2757. },
  2758. {
  2759. "type": "string",
  2760. "description": "成交类别 - 格式:1,2,3",
  2761. "name": "tradeType",
  2762. "in": "query"
  2763. }
  2764. ],
  2765. "responses": {
  2766. "200": {
  2767. "description": "OK",
  2768. "schema": {
  2769. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  2770. }
  2771. },
  2772. "500": {
  2773. "description": "Internal Server Error",
  2774. "schema": {
  2775. "$ref": "#/definitions/app.Response"
  2776. }
  2777. }
  2778. }
  2779. }
  2780. },
  2781. "/Order/QueryTradeOrderDetail": {
  2782. "get": {
  2783. "security": [
  2784. {
  2785. "ApiKeyAuth": []
  2786. }
  2787. ],
  2788. "produces": [
  2789. "application/json"
  2790. ],
  2791. "tags": [
  2792. "通用单据"
  2793. ],
  2794. "summary": "委托单查询请求(合约市场)",
  2795. "parameters": [
  2796. {
  2797. "type": "string",
  2798. "description": "资金账户 - 格式:1,2,3",
  2799. "name": "accountID",
  2800. "in": "query",
  2801. "required": true
  2802. },
  2803. {
  2804. "type": "string",
  2805. "description": "交易模式 - 格式:1,2,3",
  2806. "name": "tradeMode",
  2807. "in": "query"
  2808. },
  2809. {
  2810. "type": "string",
  2811. "description": "委托状态 - 格式:1,2,3",
  2812. "name": "orderStatus",
  2813. "in": "query"
  2814. },
  2815. {
  2816. "type": "integer",
  2817. "description": "委托单号",
  2818. "name": "orderID",
  2819. "in": "query"
  2820. }
  2821. ],
  2822. "responses": {
  2823. "200": {
  2824. "description": "OK",
  2825. "schema": {
  2826. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  2827. }
  2828. },
  2829. "500": {
  2830. "description": "Internal Server Error",
  2831. "schema": {
  2832. "$ref": "#/definitions/app.Response"
  2833. }
  2834. }
  2835. }
  2836. }
  2837. },
  2838. "/Order/QueryTradePosition": {
  2839. "get": {
  2840. "security": [
  2841. {
  2842. "ApiKeyAuth": []
  2843. }
  2844. ],
  2845. "produces": [
  2846. "application/json"
  2847. ],
  2848. "tags": [
  2849. "通用单据"
  2850. ],
  2851. "summary": "持仓汇总查询(合约市场)",
  2852. "parameters": [
  2853. {
  2854. "type": "string",
  2855. "description": "资金账户 - 格式:1,2,3",
  2856. "name": "accountID",
  2857. "in": "query",
  2858. "required": true
  2859. },
  2860. {
  2861. "type": "string",
  2862. "description": "交易模式 - 格式:1,2,3",
  2863. "name": "tradeMode",
  2864. "in": "query"
  2865. }
  2866. ],
  2867. "responses": {
  2868. "200": {
  2869. "description": "OK",
  2870. "schema": {
  2871. "$ref": "#/definitions/order.QueryTradePositionRsp"
  2872. }
  2873. },
  2874. "500": {
  2875. "description": "Internal Server Error",
  2876. "schema": {
  2877. "$ref": "#/definitions/app.Response"
  2878. }
  2879. }
  2880. }
  2881. }
  2882. },
  2883. "/Quote/QueryHistoryDatas": {
  2884. "get": {
  2885. "security": [
  2886. {
  2887. "ApiKeyAuth": []
  2888. }
  2889. ],
  2890. "produces": [
  2891. "application/json"
  2892. ],
  2893. "tags": [
  2894. "行情服务"
  2895. ],
  2896. "summary": "查询行情历史数据",
  2897. "parameters": [
  2898. {
  2899. "type": "integer",
  2900. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  2901. "name": "cycleType",
  2902. "in": "query",
  2903. "required": true
  2904. },
  2905. {
  2906. "type": "string",
  2907. "description": "商品代码",
  2908. "name": "goodsCode",
  2909. "in": "query",
  2910. "required": true
  2911. },
  2912. {
  2913. "type": "string",
  2914. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  2915. "name": "startTime",
  2916. "in": "query"
  2917. },
  2918. {
  2919. "type": "string",
  2920. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  2921. "name": "endTime",
  2922. "in": "query"
  2923. },
  2924. {
  2925. "type": "integer",
  2926. "description": "条数",
  2927. "name": "count",
  2928. "in": "query"
  2929. },
  2930. {
  2931. "type": "boolean",
  2932. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  2933. "name": "isAsc",
  2934. "in": "query"
  2935. }
  2936. ],
  2937. "responses": {
  2938. "200": {
  2939. "description": "OK",
  2940. "schema": {
  2941. "$ref": "#/definitions/quote.HistoryData"
  2942. }
  2943. },
  2944. "500": {
  2945. "description": "Internal Server Error",
  2946. "schema": {
  2947. "$ref": "#/definitions/app.Response"
  2948. }
  2949. }
  2950. }
  2951. }
  2952. },
  2953. "/Quote/QueryTSData": {
  2954. "get": {
  2955. "produces": [
  2956. "application/json"
  2957. ],
  2958. "tags": [
  2959. "行情服务"
  2960. ],
  2961. "summary": "分时图数据查询",
  2962. "parameters": [
  2963. {
  2964. "type": "string",
  2965. "description": "商品代码",
  2966. "name": "GoodsCode",
  2967. "in": "query",
  2968. "required": true
  2969. }
  2970. ],
  2971. "responses": {
  2972. "200": {
  2973. "description": "OK",
  2974. "schema": {
  2975. "$ref": "#/definitions/quote.QueryTSDataRsp"
  2976. }
  2977. },
  2978. "500": {
  2979. "description": "Internal Server Error",
  2980. "schema": {
  2981. "$ref": "#/definitions/app.Response"
  2982. }
  2983. }
  2984. }
  2985. }
  2986. },
  2987. "/SZDZ/QueryConvertConfig": {
  2988. "get": {
  2989. "security": [
  2990. {
  2991. "ApiKeyAuth": []
  2992. }
  2993. ],
  2994. "produces": [
  2995. "application/json"
  2996. ],
  2997. "tags": [
  2998. "定制【尚志大宗】"
  2999. ],
  3000. "summary": "查询交易系统转换设置",
  3001. "parameters": [
  3002. {
  3003. "type": "integer",
  3004. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  3005. "name": "convertType",
  3006. "in": "query"
  3007. },
  3008. {
  3009. "type": "string",
  3010. "description": "外部商品代码[JD\\PD]",
  3011. "name": "outerGoodsCode",
  3012. "in": "query"
  3013. },
  3014. {
  3015. "type": "string",
  3016. "description": "内部商品ID列表[交易],格式:1,2,3",
  3017. "name": "innerGoodsIDs",
  3018. "in": "query"
  3019. }
  3020. ],
  3021. "responses": {
  3022. "200": {
  3023. "description": "OK",
  3024. "schema": {
  3025. "$ref": "#/definitions/models.Szdz3convertconfig"
  3026. }
  3027. },
  3028. "500": {
  3029. "description": "Internal Server Error",
  3030. "schema": {
  3031. "$ref": "#/definitions/app.Response"
  3032. }
  3033. }
  3034. }
  3035. }
  3036. },
  3037. "/SZDZ/QueryConvertLog": {
  3038. "get": {
  3039. "security": [
  3040. {
  3041. "ApiKeyAuth": []
  3042. }
  3043. ],
  3044. "produces": [
  3045. "application/json"
  3046. ],
  3047. "tags": [
  3048. "定制【尚志大宗】"
  3049. ],
  3050. "summary": "交易系统转换流水查询",
  3051. "parameters": [
  3052. {
  3053. "type": "string",
  3054. "description": "资金账户 - 格式:1,2,3",
  3055. "name": "accountID",
  3056. "in": "query",
  3057. "required": true
  3058. },
  3059. {
  3060. "type": "string",
  3061. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3062. "name": "startDate",
  3063. "in": "query"
  3064. },
  3065. {
  3066. "type": "string",
  3067. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3068. "name": "endDate",
  3069. "in": "query"
  3070. }
  3071. ],
  3072. "responses": {
  3073. "200": {
  3074. "description": "OK",
  3075. "schema": {
  3076. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  3077. }
  3078. },
  3079. "500": {
  3080. "description": "Internal Server Error",
  3081. "schema": {
  3082. "$ref": "#/definitions/app.Response"
  3083. }
  3084. }
  3085. }
  3086. }
  3087. },
  3088. "/SZDZ/QueryGoodsPickup": {
  3089. "get": {
  3090. "security": [
  3091. {
  3092. "ApiKeyAuth": []
  3093. }
  3094. ],
  3095. "produces": [
  3096. "application/json"
  3097. ],
  3098. "tags": [
  3099. "定制【尚志大宗】"
  3100. ],
  3101. "summary": "商品提货单查询",
  3102. "parameters": [
  3103. {
  3104. "type": "string",
  3105. "description": "资金账户 - 格式:1,2,3",
  3106. "name": "accountID",
  3107. "in": "query",
  3108. "required": true
  3109. },
  3110. {
  3111. "type": "integer",
  3112. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3113. "name": "takeOrderStatus",
  3114. "in": "query"
  3115. }
  3116. ],
  3117. "responses": {
  3118. "200": {
  3119. "description": "OK",
  3120. "schema": {
  3121. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  3122. }
  3123. },
  3124. "500": {
  3125. "description": "Internal Server Error",
  3126. "schema": {
  3127. "$ref": "#/definitions/app.Response"
  3128. }
  3129. }
  3130. }
  3131. }
  3132. },
  3133. "/SZDZ/QueryRecieptOrder": {
  3134. "get": {
  3135. "security": [
  3136. {
  3137. "ApiKeyAuth": []
  3138. }
  3139. ],
  3140. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3141. "produces": [
  3142. "application/json"
  3143. ],
  3144. "tags": [
  3145. "定制【尚志大宗】"
  3146. ],
  3147. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  3148. "parameters": [
  3149. {
  3150. "type": "integer",
  3151. "description": "页码",
  3152. "name": "page",
  3153. "in": "query"
  3154. },
  3155. {
  3156. "type": "integer",
  3157. "description": "每页条数",
  3158. "name": "pagesize",
  3159. "in": "query"
  3160. },
  3161. {
  3162. "type": "integer",
  3163. "description": "商品ID",
  3164. "name": "goodsID",
  3165. "in": "query",
  3166. "required": true
  3167. },
  3168. {
  3169. "type": "string",
  3170. "description": "所属账户名称",
  3171. "name": "accountName",
  3172. "in": "query"
  3173. },
  3174. {
  3175. "type": "integer",
  3176. "description": "市场ID",
  3177. "name": "marketID",
  3178. "in": "query"
  3179. },
  3180. {
  3181. "type": "integer",
  3182. "description": "方向 - 0:买 1:卖",
  3183. "name": "buyorsell",
  3184. "in": "query",
  3185. "required": true
  3186. }
  3187. ],
  3188. "responses": {
  3189. "200": {
  3190. "description": "OK",
  3191. "schema": {
  3192. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  3193. }
  3194. },
  3195. "500": {
  3196. "description": "Internal Server Error",
  3197. "schema": {
  3198. "$ref": "#/definitions/app.Response"
  3199. }
  3200. }
  3201. }
  3202. }
  3203. },
  3204. "/SZDZ/QuerySZDZTradePosition": {
  3205. "get": {
  3206. "security": [
  3207. {
  3208. "ApiKeyAuth": []
  3209. }
  3210. ],
  3211. "produces": [
  3212. "application/json"
  3213. ],
  3214. "tags": [
  3215. "定制【尚志大宗】"
  3216. ],
  3217. "summary": "持仓汇总查询(尚志大宗)",
  3218. "parameters": [
  3219. {
  3220. "type": "integer",
  3221. "description": "资金账户",
  3222. "name": "accountID",
  3223. "in": "query",
  3224. "required": true
  3225. }
  3226. ],
  3227. "responses": {
  3228. "200": {
  3229. "description": "OK",
  3230. "schema": {
  3231. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  3232. }
  3233. },
  3234. "500": {
  3235. "description": "Internal Server Error",
  3236. "schema": {
  3237. "$ref": "#/definitions/app.Response"
  3238. }
  3239. }
  3240. }
  3241. }
  3242. },
  3243. "/SZDZ/SearchWhite": {
  3244. "get": {
  3245. "security": [
  3246. {
  3247. "ApiKeyAuth": []
  3248. }
  3249. ],
  3250. "produces": [
  3251. "application/json"
  3252. ],
  3253. "tags": [
  3254. "定制【尚志大宗】"
  3255. ],
  3256. "summary": "搜索白名单",
  3257. "parameters": [
  3258. {
  3259. "type": "integer",
  3260. "description": "用户ID",
  3261. "name": "userID",
  3262. "in": "query",
  3263. "required": true
  3264. }
  3265. ],
  3266. "responses": {
  3267. "200": {
  3268. "description": "OK",
  3269. "schema": {
  3270. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  3271. }
  3272. },
  3273. "500": {
  3274. "description": "Internal Server Error",
  3275. "schema": {
  3276. "$ref": "#/definitions/app.Response"
  3277. }
  3278. }
  3279. }
  3280. }
  3281. },
  3282. "/Search/SearchGoodses": {
  3283. "get": {
  3284. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  3285. "produces": [
  3286. "application/json"
  3287. ],
  3288. "tags": [
  3289. "检索服务"
  3290. ],
  3291. "summary": "检索商品信息",
  3292. "parameters": [
  3293. {
  3294. "type": "string",
  3295. "description": "检索内容",
  3296. "name": "content",
  3297. "in": "query",
  3298. "required": true
  3299. },
  3300. {
  3301. "type": "string",
  3302. "description": "交易模式,格式:1,2,3",
  3303. "name": "tradeModes",
  3304. "in": "query"
  3305. }
  3306. ],
  3307. "responses": {
  3308. "200": {
  3309. "description": "OK",
  3310. "schema": {
  3311. "$ref": "#/definitions/models.SearchGoods"
  3312. }
  3313. },
  3314. "500": {
  3315. "description": "Internal Server Error",
  3316. "schema": {
  3317. "$ref": "#/definitions/app.Response"
  3318. }
  3319. }
  3320. }
  3321. }
  3322. },
  3323. "/TaAccount/QueryAmountLog": {
  3324. "get": {
  3325. "security": [
  3326. {
  3327. "ApiKeyAuth": []
  3328. }
  3329. ],
  3330. "produces": [
  3331. "application/json"
  3332. ],
  3333. "tags": [
  3334. "资金账户"
  3335. ],
  3336. "summary": "资金流水查询(当前)",
  3337. "parameters": [
  3338. {
  3339. "type": "integer",
  3340. "description": "页码",
  3341. "name": "page",
  3342. "in": "query"
  3343. },
  3344. {
  3345. "type": "integer",
  3346. "description": "每页条数",
  3347. "name": "pagesize",
  3348. "in": "query"
  3349. },
  3350. {
  3351. "type": "string",
  3352. "description": "资金账户 - 格式:1,2,3",
  3353. "name": "accountID",
  3354. "in": "query",
  3355. "required": true
  3356. },
  3357. {
  3358. "type": "string",
  3359. "description": "资金操作类型 - 格式:1,2,3",
  3360. "name": "OperateType",
  3361. "in": "query"
  3362. }
  3363. ],
  3364. "responses": {
  3365. "200": {
  3366. "description": "OK",
  3367. "schema": {
  3368. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  3369. }
  3370. },
  3371. "500": {
  3372. "description": "Internal Server Error",
  3373. "schema": {
  3374. "$ref": "#/definitions/app.Response"
  3375. }
  3376. }
  3377. }
  3378. }
  3379. },
  3380. "/TaAccount/QueryHisAmountLog": {
  3381. "get": {
  3382. "security": [
  3383. {
  3384. "ApiKeyAuth": []
  3385. }
  3386. ],
  3387. "produces": [
  3388. "application/json"
  3389. ],
  3390. "tags": [
  3391. "资金账户"
  3392. ],
  3393. "summary": "资金流水查询(历史)",
  3394. "parameters": [
  3395. {
  3396. "type": "integer",
  3397. "description": "页码",
  3398. "name": "page",
  3399. "in": "query"
  3400. },
  3401. {
  3402. "type": "integer",
  3403. "description": "每页条数",
  3404. "name": "pagesize",
  3405. "in": "query"
  3406. },
  3407. {
  3408. "type": "string",
  3409. "description": "资金账户 - 格式:1,2,3",
  3410. "name": "accountID",
  3411. "in": "query",
  3412. "required": true
  3413. },
  3414. {
  3415. "type": "string",
  3416. "description": "资金操作类型 - 格式:1,2,3",
  3417. "name": "OperateType",
  3418. "in": "query"
  3419. },
  3420. {
  3421. "type": "string",
  3422. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3423. "name": "startDate",
  3424. "in": "query"
  3425. },
  3426. {
  3427. "type": "string",
  3428. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3429. "name": "endDate",
  3430. "in": "query"
  3431. }
  3432. ],
  3433. "responses": {
  3434. "200": {
  3435. "description": "OK",
  3436. "schema": {
  3437. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  3438. }
  3439. },
  3440. "500": {
  3441. "description": "Internal Server Error",
  3442. "schema": {
  3443. "$ref": "#/definitions/app.Response"
  3444. }
  3445. }
  3446. }
  3447. }
  3448. },
  3449. "/Trade/QueryRecieptOrder": {
  3450. "get": {
  3451. "security": [
  3452. {
  3453. "ApiKeyAuth": []
  3454. }
  3455. ],
  3456. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3457. "produces": [
  3458. "application/json"
  3459. ],
  3460. "tags": [
  3461. "通用交易"
  3462. ],
  3463. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  3464. "parameters": [
  3465. {
  3466. "type": "integer",
  3467. "description": "页码",
  3468. "name": "page",
  3469. "in": "query"
  3470. },
  3471. {
  3472. "type": "integer",
  3473. "description": "每页条数",
  3474. "name": "pagesize",
  3475. "in": "query"
  3476. },
  3477. {
  3478. "type": "integer",
  3479. "description": "商品ID",
  3480. "name": "goodsID",
  3481. "in": "query",
  3482. "required": true
  3483. },
  3484. {
  3485. "type": "string",
  3486. "description": "所属账户名称",
  3487. "name": "accountName",
  3488. "in": "query"
  3489. },
  3490. {
  3491. "type": "integer",
  3492. "description": "市场ID",
  3493. "name": "marketID",
  3494. "in": "query"
  3495. },
  3496. {
  3497. "type": "integer",
  3498. "description": "方向 - 0:买 1:卖",
  3499. "name": "buyorsell",
  3500. "in": "query",
  3501. "required": true
  3502. }
  3503. ],
  3504. "responses": {
  3505. "200": {
  3506. "description": "OK",
  3507. "schema": {
  3508. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  3509. }
  3510. },
  3511. "500": {
  3512. "description": "Internal Server Error",
  3513. "schema": {
  3514. "$ref": "#/definitions/app.Response"
  3515. }
  3516. }
  3517. }
  3518. }
  3519. },
  3520. "/User/AddMessageBoard": {
  3521. "post": {
  3522. "security": [
  3523. {
  3524. "ApiKeyAuth": []
  3525. }
  3526. ],
  3527. "produces": [
  3528. "application/json"
  3529. ],
  3530. "tags": [
  3531. "用户信息"
  3532. ],
  3533. "summary": "添加用户留言板信息",
  3534. "parameters": [
  3535. {
  3536. "type": "integer",
  3537. "description": "用户ID",
  3538. "name": "userID",
  3539. "in": "query",
  3540. "required": true
  3541. },
  3542. {
  3543. "type": "string",
  3544. "description": "留言信息",
  3545. "name": "message",
  3546. "in": "query",
  3547. "required": true
  3548. }
  3549. ],
  3550. "responses": {
  3551. "200": {
  3552. "description": "OK",
  3553. "schema": {
  3554. "$ref": "#/definitions/app.Response"
  3555. }
  3556. },
  3557. "500": {
  3558. "description": "Internal Server Error",
  3559. "schema": {
  3560. "$ref": "#/definitions/app.Response"
  3561. }
  3562. }
  3563. }
  3564. }
  3565. },
  3566. "/User/AddUserFavoriteGoods": {
  3567. "post": {
  3568. "security": [
  3569. {
  3570. "ApiKeyAuth": []
  3571. }
  3572. ],
  3573. "produces": [
  3574. "application/json"
  3575. ],
  3576. "tags": [
  3577. "用户信息"
  3578. ],
  3579. "summary": "添加用户商品收藏信息",
  3580. "parameters": [
  3581. {
  3582. "type": "integer",
  3583. "description": "用户ID",
  3584. "name": "userID",
  3585. "in": "query",
  3586. "required": true
  3587. },
  3588. {
  3589. "type": "integer",
  3590. "description": "商品ID",
  3591. "name": "goodsID",
  3592. "in": "query",
  3593. "required": true
  3594. }
  3595. ],
  3596. "responses": {
  3597. "200": {
  3598. "description": "OK",
  3599. "schema": {
  3600. "$ref": "#/definitions/app.Response"
  3601. }
  3602. },
  3603. "500": {
  3604. "description": "Internal Server Error",
  3605. "schema": {
  3606. "$ref": "#/definitions/app.Response"
  3607. }
  3608. }
  3609. }
  3610. }
  3611. },
  3612. "/User/GetLoginID": {
  3613. "get": {
  3614. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  3615. "produces": [
  3616. "application/json"
  3617. ],
  3618. "tags": [
  3619. "用户信息"
  3620. ],
  3621. "summary": "获取登录ID",
  3622. "parameters": [
  3623. {
  3624. "type": "string",
  3625. "description": "登录代码",
  3626. "name": "username",
  3627. "in": "query",
  3628. "required": true
  3629. }
  3630. ],
  3631. "responses": {
  3632. "200": {
  3633. "description": "OK",
  3634. "schema": {
  3635. "$ref": "#/definitions/app.Response"
  3636. }
  3637. },
  3638. "500": {
  3639. "description": "Internal Server Error",
  3640. "schema": {
  3641. "$ref": "#/definitions/app.Response"
  3642. }
  3643. }
  3644. }
  3645. }
  3646. },
  3647. "/User/GetUserAccount": {
  3648. "get": {
  3649. "security": [
  3650. {
  3651. "ApiKeyAuth": []
  3652. }
  3653. ],
  3654. "produces": [
  3655. "application/json"
  3656. ],
  3657. "tags": [
  3658. "用户信息"
  3659. ],
  3660. "summary": "获取用户账号信息",
  3661. "parameters": [
  3662. {
  3663. "type": "integer",
  3664. "description": "用户ID",
  3665. "name": "userID",
  3666. "in": "query",
  3667. "required": true
  3668. }
  3669. ],
  3670. "responses": {
  3671. "200": {
  3672. "description": "OK",
  3673. "schema": {
  3674. "$ref": "#/definitions/models.Useraccount"
  3675. }
  3676. },
  3677. "500": {
  3678. "description": "Internal Server Error",
  3679. "schema": {
  3680. "$ref": "#/definitions/app.Response"
  3681. }
  3682. }
  3683. }
  3684. }
  3685. },
  3686. "/User/GetUserAuthStatus": {
  3687. "get": {
  3688. "security": [
  3689. {
  3690. "ApiKeyAuth": []
  3691. }
  3692. ],
  3693. "produces": [
  3694. "application/json"
  3695. ],
  3696. "tags": [
  3697. "用户信息"
  3698. ],
  3699. "summary": "获取用户实名认证状态",
  3700. "parameters": [
  3701. {
  3702. "type": "integer",
  3703. "description": "用户ID",
  3704. "name": "userID",
  3705. "in": "query",
  3706. "required": true
  3707. }
  3708. ],
  3709. "responses": {
  3710. "200": {
  3711. "description": "OK",
  3712. "schema": {
  3713. "$ref": "#/definitions/app.Response"
  3714. }
  3715. },
  3716. "500": {
  3717. "description": "Internal Server Error",
  3718. "schema": {
  3719. "$ref": "#/definitions/app.Response"
  3720. }
  3721. }
  3722. }
  3723. }
  3724. },
  3725. "/User/QueryMessageBoard": {
  3726. "get": {
  3727. "security": [
  3728. {
  3729. "ApiKeyAuth": []
  3730. }
  3731. ],
  3732. "produces": [
  3733. "application/json"
  3734. ],
  3735. "tags": [
  3736. "用户信息"
  3737. ],
  3738. "summary": "获取用户留言板信息",
  3739. "parameters": [
  3740. {
  3741. "type": "integer",
  3742. "description": "用户ID",
  3743. "name": "userID",
  3744. "in": "query",
  3745. "required": true
  3746. }
  3747. ],
  3748. "responses": {
  3749. "200": {
  3750. "description": "OK",
  3751. "schema": {
  3752. "$ref": "#/definitions/models.Messageboard"
  3753. }
  3754. },
  3755. "500": {
  3756. "description": "Internal Server Error",
  3757. "schema": {
  3758. "$ref": "#/definitions/app.Response"
  3759. }
  3760. }
  3761. }
  3762. }
  3763. },
  3764. "/User/QueryUserFavoriteGoodses": {
  3765. "get": {
  3766. "security": [
  3767. {
  3768. "ApiKeyAuth": []
  3769. }
  3770. ],
  3771. "produces": [
  3772. "application/json"
  3773. ],
  3774. "tags": [
  3775. "用户信息"
  3776. ],
  3777. "summary": "获取用户商品收藏信息",
  3778. "parameters": [
  3779. {
  3780. "type": "integer",
  3781. "description": "用户ID",
  3782. "name": "userID",
  3783. "in": "query",
  3784. "required": true
  3785. }
  3786. ],
  3787. "responses": {
  3788. "200": {
  3789. "description": "OK",
  3790. "schema": {
  3791. "$ref": "#/definitions/models.Userfavoritegoods"
  3792. }
  3793. },
  3794. "500": {
  3795. "description": "Internal Server Error",
  3796. "schema": {
  3797. "$ref": "#/definitions/app.Response"
  3798. }
  3799. }
  3800. }
  3801. }
  3802. },
  3803. "/User/QueryUserInfo": {
  3804. "get": {
  3805. "security": [
  3806. {
  3807. "ApiKeyAuth": []
  3808. }
  3809. ],
  3810. "produces": [
  3811. "application/json"
  3812. ],
  3813. "tags": [
  3814. "用户信息"
  3815. ],
  3816. "summary": "获取用户信息",
  3817. "parameters": [
  3818. {
  3819. "type": "integer",
  3820. "description": "用户ID",
  3821. "name": "userID",
  3822. "in": "query",
  3823. "required": true
  3824. }
  3825. ],
  3826. "responses": {
  3827. "200": {
  3828. "description": "OK",
  3829. "schema": {
  3830. "$ref": "#/definitions/models.Userinfo"
  3831. }
  3832. },
  3833. "500": {
  3834. "description": "Internal Server Error",
  3835. "schema": {
  3836. "$ref": "#/definitions/app.Response"
  3837. }
  3838. }
  3839. }
  3840. }
  3841. },
  3842. "/User/QueryUserReferNum": {
  3843. "get": {
  3844. "produces": [
  3845. "application/json"
  3846. ],
  3847. "tags": [
  3848. "用户信息"
  3849. ],
  3850. "summary": "获取用户邀请码",
  3851. "parameters": [
  3852. {
  3853. "type": "integer",
  3854. "description": "用户ID",
  3855. "name": "userID",
  3856. "in": "query",
  3857. "required": true
  3858. }
  3859. ],
  3860. "responses": {
  3861. "200": {
  3862. "description": "OK",
  3863. "schema": {
  3864. "$ref": "#/definitions/app.Response"
  3865. }
  3866. },
  3867. "500": {
  3868. "description": "Internal Server Error",
  3869. "schema": {
  3870. "$ref": "#/definitions/app.Response"
  3871. }
  3872. }
  3873. }
  3874. }
  3875. },
  3876. "/User/RemoveUserFavoriteGoods": {
  3877. "post": {
  3878. "security": [
  3879. {
  3880. "ApiKeyAuth": []
  3881. }
  3882. ],
  3883. "produces": [
  3884. "application/json"
  3885. ],
  3886. "tags": [
  3887. "用户信息"
  3888. ],
  3889. "summary": "移除用户商品收藏信息",
  3890. "parameters": [
  3891. {
  3892. "type": "integer",
  3893. "description": "用户ID",
  3894. "name": "userID",
  3895. "in": "query",
  3896. "required": true
  3897. },
  3898. {
  3899. "type": "integer",
  3900. "description": "商品ID",
  3901. "name": "goodsID",
  3902. "in": "query",
  3903. "required": true
  3904. }
  3905. ],
  3906. "responses": {
  3907. "200": {
  3908. "description": "OK",
  3909. "schema": {
  3910. "$ref": "#/definitions/app.Response"
  3911. }
  3912. },
  3913. "500": {
  3914. "description": "Internal Server Error",
  3915. "schema": {
  3916. "$ref": "#/definitions/app.Response"
  3917. }
  3918. }
  3919. }
  3920. }
  3921. },
  3922. "/WR/GetWRCategoryInfo": {
  3923. "get": {
  3924. "produces": [
  3925. "application/json"
  3926. ],
  3927. "tags": [
  3928. "仓单服务"
  3929. ],
  3930. "summary": "获取现货分类信息",
  3931. "responses": {
  3932. "200": {
  3933. "description": "OK",
  3934. "schema": {
  3935. "$ref": "#/definitions/models.WRCategoryTree"
  3936. }
  3937. },
  3938. "500": {
  3939. "description": "Internal Server Error",
  3940. "schema": {
  3941. "$ref": "#/definitions/app.Response"
  3942. }
  3943. }
  3944. }
  3945. }
  3946. },
  3947. "/WRTrade/GetAllDeliveryGoods": {
  3948. "get": {
  3949. "security": [
  3950. {
  3951. "ApiKeyAuth": []
  3952. },
  3953. {
  3954. "ApiKeyAuth": []
  3955. }
  3956. ],
  3957. "produces": [
  3958. "application/json",
  3959. "application/json"
  3960. ],
  3961. "tags": [
  3962. "仓单贸易",
  3963. "仓单贸易"
  3964. ],
  3965. "summary": "获取带仓单分类的种类信息",
  3966. "responses": {
  3967. "200": {
  3968. "description": "OK",
  3969. "schema": {
  3970. "$ref": "#/definitions/app.Response"
  3971. }
  3972. },
  3973. "500": {
  3974. "description": "Internal Server Error",
  3975. "schema": {
  3976. "$ref": "#/definitions/app.Response"
  3977. }
  3978. }
  3979. }
  3980. }
  3981. }
  3982. },
  3983. "definitions": {
  3984. "app.Response": {
  3985. "type": "object",
  3986. "properties": {
  3987. "code": {
  3988. "type": "integer"
  3989. },
  3990. "data": {
  3991. "type": "object"
  3992. },
  3993. "msg": {
  3994. "type": "string"
  3995. },
  3996. "page": {
  3997. "description": "页码",
  3998. "type": "integer"
  3999. },
  4000. "pagesize": {
  4001. "description": "每页条数",
  4002. "type": "integer"
  4003. },
  4004. "total": {
  4005. "description": "总条数",
  4006. "type": "integer"
  4007. }
  4008. }
  4009. },
  4010. "common.QueryNoticeRsp": {
  4011. "type": "object",
  4012. "required": [
  4013. "autoid"
  4014. ],
  4015. "properties": {
  4016. "auditoruserid": {
  4017. "description": "审核人",
  4018. "type": "integer"
  4019. },
  4020. "auditremark": {
  4021. "description": "审核备注",
  4022. "type": "string"
  4023. },
  4024. "audittime": {
  4025. "description": "审核日期",
  4026. "type": "string"
  4027. },
  4028. "autoid": {
  4029. "description": "自增ID",
  4030. "type": "integer"
  4031. },
  4032. "content": {
  4033. "description": "内容",
  4034. "type": "string"
  4035. },
  4036. "createtime": {
  4037. "description": "创建时间",
  4038. "type": "string"
  4039. },
  4040. "creatorid": {
  4041. "description": "建仓人",
  4042. "type": "integer"
  4043. },
  4044. "endtime": {
  4045. "description": "结束时间",
  4046. "type": "string"
  4047. },
  4048. "istop": {
  4049. "description": "是否置顶 - 0:不置顶 1:置顶",
  4050. "type": "integer"
  4051. },
  4052. "msgiconurl": {
  4053. "description": "消息图标Url",
  4054. "type": "string"
  4055. },
  4056. "msgtype": {
  4057. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  4058. "type": "integer"
  4059. },
  4060. "publisher": {
  4061. "description": "消息发布者",
  4062. "type": "string"
  4063. },
  4064. "readed": {
  4065. "description": "是否已读",
  4066. "type": "boolean"
  4067. },
  4068. "scheduletime": {
  4069. "description": "计划发送时间",
  4070. "type": "string"
  4071. },
  4072. "sendtype": {
  4073. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  4074. "type": "integer"
  4075. },
  4076. "sentstatus": {
  4077. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  4078. "type": "integer"
  4079. },
  4080. "title": {
  4081. "description": "标题",
  4082. "type": "string"
  4083. },
  4084. "userid": {
  4085. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  4086. "type": "integer"
  4087. }
  4088. }
  4089. },
  4090. "common.QueryProvincesAndCitiesRsp": {
  4091. "type": "object",
  4092. "properties": {
  4093. "cities": {
  4094. "description": "市",
  4095. "type": "array",
  4096. "items": {
  4097. "$ref": "#/definitions/models.Division"
  4098. }
  4099. },
  4100. "province": {
  4101. "description": "省",
  4102. "$ref": "#/definitions/models.Division"
  4103. }
  4104. }
  4105. },
  4106. "common.QueryTableDefineRsp": {
  4107. "type": "object",
  4108. "required": [
  4109. "tablekey"
  4110. ],
  4111. "properties": {
  4112. "columns": {
  4113. "description": "列头信息数组",
  4114. "type": "array",
  4115. "items": {
  4116. "$ref": "#/definitions/models.Tablecolumnconfig"
  4117. }
  4118. },
  4119. "remark": {
  4120. "description": "Remark",
  4121. "type": "string"
  4122. },
  4123. "tabelmenu": {
  4124. "description": "列表菜单",
  4125. "type": "string"
  4126. },
  4127. "tablekey": {
  4128. "description": "列表Key",
  4129. "type": "string"
  4130. },
  4131. "tablename": {
  4132. "description": "列表名称",
  4133. "type": "string"
  4134. },
  4135. "tabletype": {
  4136. "description": "列表类型 - 1:管理端 2:终端",
  4137. "type": "integer"
  4138. }
  4139. }
  4140. },
  4141. "common.QueryTraderMenuRsp": {
  4142. "type": "object",
  4143. "properties": {
  4144. "OperationMenu": {
  4145. "description": "功能菜单",
  4146. "type": "array",
  4147. "items": {
  4148. "$ref": "#/definitions/models.OperationPrimaryMenu"
  4149. }
  4150. },
  4151. "QuoteMenu": {
  4152. "description": "报价牌分类菜单",
  4153. "type": "array",
  4154. "items": {
  4155. "$ref": "#/definitions/models.QuotePrimaryMenu"
  4156. }
  4157. }
  4158. }
  4159. },
  4160. "cptrade.Cptradepositioncancel": {
  4161. "type": "object",
  4162. "required": [
  4163. "cancelid"
  4164. ],
  4165. "properties": {
  4166. "accountid": {
  4167. "description": "申请人账户ID",
  4168. "type": "integer"
  4169. },
  4170. "applystatus": {
  4171. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4172. "type": "integer"
  4173. },
  4174. "applytime": {
  4175. "description": "申请时间",
  4176. "type": "string"
  4177. },
  4178. "cancelid": {
  4179. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  4180. "type": "integer"
  4181. },
  4182. "cancelqty": {
  4183. "description": "注销数量",
  4184. "type": "integer"
  4185. },
  4186. "createtime": {
  4187. "description": "创建时间",
  4188. "type": "string"
  4189. },
  4190. "creatorid": {
  4191. "description": "创建人ID",
  4192. "type": "integer"
  4193. },
  4194. "creatorname": {
  4195. "description": "创建人",
  4196. "type": "string"
  4197. },
  4198. "goodscode": {
  4199. "description": "订单商品代码",
  4200. "type": "string"
  4201. },
  4202. "goodsid": {
  4203. "description": "商品ID",
  4204. "type": "integer"
  4205. },
  4206. "goodsname": {
  4207. "description": "订单商品名称",
  4208. "type": "string"
  4209. },
  4210. "goodunit": {
  4211. "description": "报价单位",
  4212. "type": "string"
  4213. },
  4214. "handlestatus": {
  4215. "description": "处理状态",
  4216. "type": "integer"
  4217. },
  4218. "marketid": {
  4219. "description": "市场ID",
  4220. "type": "integer"
  4221. },
  4222. "marketname": {
  4223. "description": "市场名称",
  4224. "type": "string"
  4225. },
  4226. "tradedate": {
  4227. "description": "交易日(yyyyMMdd)",
  4228. "type": "string"
  4229. },
  4230. "userid": {
  4231. "description": "申请人ID",
  4232. "type": "integer"
  4233. }
  4234. }
  4235. },
  4236. "cptrade.Cptradepresaleapply": {
  4237. "type": "object",
  4238. "required": [
  4239. "applyid"
  4240. ],
  4241. "properties": {
  4242. "accountid": {
  4243. "description": "申请人账户ID",
  4244. "type": "integer"
  4245. },
  4246. "applyid": {
  4247. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  4248. "type": "integer"
  4249. },
  4250. "applyremark": {
  4251. "description": "申请备注",
  4252. "type": "string"
  4253. },
  4254. "applystatus": {
  4255. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4256. "type": "integer"
  4257. },
  4258. "applytime": {
  4259. "description": "申请时间",
  4260. "type": "string"
  4261. },
  4262. "attachmenturl": {
  4263. "description": "附件地址",
  4264. "type": "string"
  4265. },
  4266. "endtime": {
  4267. "description": "预售结束时间",
  4268. "type": "string"
  4269. },
  4270. "goodscode": {
  4271. "description": "商品代码",
  4272. "type": "string"
  4273. },
  4274. "goodsid": {
  4275. "description": "商品ID",
  4276. "type": "integer"
  4277. },
  4278. "goodsname": {
  4279. "description": "商品名称",
  4280. "type": "string"
  4281. },
  4282. "goodunit": {
  4283. "description": "报价单位",
  4284. "type": "string"
  4285. },
  4286. "handlestatus": {
  4287. "description": "处理状态",
  4288. "type": "integer"
  4289. },
  4290. "marketid": {
  4291. "description": "预售市场ID",
  4292. "type": "integer"
  4293. },
  4294. "marketname": {
  4295. "description": "预售市场名称",
  4296. "type": "string"
  4297. },
  4298. "presaleqty": {
  4299. "description": "预售数量",
  4300. "type": "integer"
  4301. },
  4302. "relatedgoodscode": {
  4303. "description": "关联交易合约代码",
  4304. "type": "string"
  4305. },
  4306. "relatedgoodsid": {
  4307. "description": "关联交易合约ID",
  4308. "type": "integer"
  4309. },
  4310. "relatedgoodsname": {
  4311. "description": "关联交易合约名称",
  4312. "type": "string"
  4313. },
  4314. "starttime": {
  4315. "description": "预售开始时间",
  4316. "type": "string"
  4317. },
  4318. "tradedate": {
  4319. "description": "交易日(yyyyMMdd)",
  4320. "type": "string"
  4321. },
  4322. "trademode": {
  4323. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  4324. "type": "integer"
  4325. },
  4326. "userid": {
  4327. "description": "申请人ID",
  4328. "type": "integer"
  4329. }
  4330. }
  4331. },
  4332. "cptrade.Cptradeusergoodsdata": {
  4333. "type": "object",
  4334. "required": [
  4335. "accountid",
  4336. "goodsid"
  4337. ],
  4338. "properties": {
  4339. "EnabledQty": {
  4340. "description": "可用量",
  4341. "type": "integer"
  4342. },
  4343. "GoodsCode": {
  4344. "description": "订单商品代码",
  4345. "type": "string"
  4346. },
  4347. "GoodsName": {
  4348. "description": "订单商品名称",
  4349. "type": "string"
  4350. },
  4351. "WRStandardCode": {
  4352. "description": "仓单标准代码",
  4353. "type": "string"
  4354. },
  4355. "WRStandardName": {
  4356. "description": "仓单标准名称",
  4357. "type": "string"
  4358. },
  4359. "accountid": {
  4360. "description": "账户ID",
  4361. "type": "integer"
  4362. },
  4363. "cancelqty": {
  4364. "description": "注销量",
  4365. "type": "integer"
  4366. },
  4367. "curpresaleqty": {
  4368. "description": "当前预售量",
  4369. "type": "integer"
  4370. },
  4371. "deliveryqty": {
  4372. "description": "交割量",
  4373. "type": "integer"
  4374. },
  4375. "freezeamount": {
  4376. "description": "冻结金额",
  4377. "type": "number"
  4378. },
  4379. "goodsid": {
  4380. "description": "商品ID",
  4381. "type": "integer"
  4382. },
  4383. "goodunit": {
  4384. "description": "报价单位",
  4385. "type": "string"
  4386. },
  4387. "hasspotfreeze": {
  4388. "description": "是否有现货冻结 - 0:否 1:有",
  4389. "type": "integer"
  4390. },
  4391. "inqty": {
  4392. "description": "转入量(总数量)",
  4393. "type": "integer"
  4394. },
  4395. "marketid": {
  4396. "description": "市场ID",
  4397. "type": "integer"
  4398. },
  4399. "presaledamount": {
  4400. "description": "已预售总金额",
  4401. "type": "integer"
  4402. },
  4403. "presaledqty": {
  4404. "description": "已预售量",
  4405. "type": "integer"
  4406. },
  4407. "userid": {
  4408. "description": "用户ID",
  4409. "type": "integer"
  4410. },
  4411. "wrstandardid": {
  4412. "description": "仓单标准ID",
  4413. "type": "integer"
  4414. }
  4415. }
  4416. },
  4417. "cptrade.QueryCPTradeMyBidRsp": {
  4418. "type": "object",
  4419. "required": [
  4420. "accountid",
  4421. "goodsid",
  4422. "marketid",
  4423. "orderid",
  4424. "orderqty",
  4425. "ordertime",
  4426. "tradeprice",
  4427. "tradeqty"
  4428. ],
  4429. "properties": {
  4430. "accountid": {
  4431. "description": "账户ID[报价币种]",
  4432. "type": "integer"
  4433. },
  4434. "goodsid": {
  4435. "description": "商品ID",
  4436. "type": "integer"
  4437. },
  4438. "goodunit": {
  4439. "description": "报价单位",
  4440. "type": "string"
  4441. },
  4442. "marketid": {
  4443. "description": "市场ID",
  4444. "type": "integer"
  4445. },
  4446. "orderid": {
  4447. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4448. "type": "integer"
  4449. },
  4450. "orderprice": {
  4451. "description": "委托价格",
  4452. "type": "number"
  4453. },
  4454. "orderqty": {
  4455. "description": "委托数量",
  4456. "type": "integer"
  4457. },
  4458. "ordertime": {
  4459. "description": "委托时间",
  4460. "type": "string"
  4461. },
  4462. "ordertotalprice": {
  4463. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  4464. "type": "number"
  4465. },
  4466. "ordertotalweight": {
  4467. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  4468. "type": "integer"
  4469. },
  4470. "totaltotalprice": {
  4471. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  4472. "type": "number"
  4473. },
  4474. "tradeprice": {
  4475. "description": "成交价格",
  4476. "type": "number"
  4477. },
  4478. "tradeqty": {
  4479. "description": "成交数量",
  4480. "type": "integer"
  4481. }
  4482. }
  4483. },
  4484. "cptrade.QueryCPTradeOrderDetailRsq": {
  4485. "type": "object",
  4486. "required": [
  4487. "accountid",
  4488. "buildtype",
  4489. "buyorsell",
  4490. "goodsid",
  4491. "marketid",
  4492. "memberuserid",
  4493. "operatetype",
  4494. "orderqty",
  4495. "ordertime",
  4496. "pricemode",
  4497. "strorderid",
  4498. "tradedate",
  4499. "validtype"
  4500. ],
  4501. "properties": {
  4502. "accountid": {
  4503. "description": "账户ID[报价币种]",
  4504. "type": "integer"
  4505. },
  4506. "buildtype": {
  4507. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  4508. "type": "integer"
  4509. },
  4510. "buyorsell": {
  4511. "description": "买卖 - 0:买 1:卖",
  4512. "type": "integer"
  4513. },
  4514. "cancelorderid": {
  4515. "description": "撤单单号(撤单时填写)",
  4516. "type": "integer"
  4517. },
  4518. "cancelqty": {
  4519. "description": "撤单数量",
  4520. "type": "integer"
  4521. },
  4522. "clientordertime": {
  4523. "description": "客户端委托时间",
  4524. "type": "string"
  4525. },
  4526. "clientticket": {
  4527. "description": "客户端流水号",
  4528. "type": "string"
  4529. },
  4530. "clienttype": {
  4531. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  4532. "type": "integer"
  4533. },
  4534. "closeexchagechargevalue": {
  4535. "description": "平仓交易所手续费设置值",
  4536. "type": "number"
  4537. },
  4538. "closefeealgorithm": {
  4539. "description": "平仓手续费收取方式 1:比率 2:固定",
  4540. "type": "integer"
  4541. },
  4542. "closefreezecharge": {
  4543. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  4544. "type": "number"
  4545. },
  4546. "closememberchargevalue": {
  4547. "description": "平仓会员手续费设置值",
  4548. "type": "number"
  4549. },
  4550. "closeqty": {
  4551. "description": "平仓数量(先建后平操作 需要记录)",
  4552. "type": "integer"
  4553. },
  4554. "closetradeqty": {
  4555. "description": "平仓成交数量(先建后平操作,需要记录)",
  4556. "type": "integer"
  4557. },
  4558. "closeunfreezecharge": {
  4559. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  4560. "type": "number"
  4561. },
  4562. "delistingtype": {
  4563. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  4564. "type": "integer"
  4565. },
  4566. "freezecharge": {
  4567. "description": "冻结手续费",
  4568. "type": "number"
  4569. },
  4570. "freezemargin": {
  4571. "description": "冻结保证金(冻结交易金额)",
  4572. "type": "number"
  4573. },
  4574. "gcaccountid": {
  4575. "description": "账户ID[合约币种]",
  4576. "type": "integer"
  4577. },
  4578. "goodsid": {
  4579. "description": "商品ID",
  4580. "type": "integer"
  4581. },
  4582. "isconfirmexercise": {
  4583. "description": "是否确认行权- 0:否 1:是",
  4584. "type": "integer"
  4585. },
  4586. "ispreexercise": {
  4587. "description": "是否预申报- 0:否 1:是",
  4588. "type": "integer"
  4589. },
  4590. "listingselecttype": {
  4591. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  4592. "type": "integer"
  4593. },
  4594. "marginalgorithm": {
  4595. "description": "保证金收取方式 1:比率 2:固定",
  4596. "type": "integer"
  4597. },
  4598. "marginvalue": {
  4599. "description": "即市保证金设置值",
  4600. "type": "number"
  4601. },
  4602. "marketid": {
  4603. "description": "市场ID",
  4604. "type": "integer"
  4605. },
  4606. "marketmaxsub": {
  4607. "description": "市价最大偏移范围",
  4608. "type": "number"
  4609. },
  4610. "memberuserid": {
  4611. "description": "所属会员UserID",
  4612. "type": "integer"
  4613. },
  4614. "openexchagechargevalue": {
  4615. "description": "建仓交易所手续费设置值",
  4616. "type": "number"
  4617. },
  4618. "openfeealgorithm": {
  4619. "description": "建仓手续费收取方式 1:比率 2:固定",
  4620. "type": "integer"
  4621. },
  4622. "openfreezecharge": {
  4623. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  4624. "type": "number"
  4625. },
  4626. "openmemberchargevalue": {
  4627. "description": "建仓会员手续费设置值",
  4628. "type": "number"
  4629. },
  4630. "openqty": {
  4631. "description": "开仓数量(先建后平操作,需要记录)",
  4632. "type": "integer"
  4633. },
  4634. "opentradeqty": {
  4635. "description": "开仓成交数量(先建后平操作,需要记录)",
  4636. "type": "integer"
  4637. },
  4638. "openunfreezecharge": {
  4639. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  4640. "type": "number"
  4641. },
  4642. "operatetype": {
  4643. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  4644. "type": "integer"
  4645. },
  4646. "operatorid": {
  4647. "description": "登录账号(LoginID)",
  4648. "type": "integer"
  4649. },
  4650. "optiontype": {
  4651. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  4652. "type": "integer"
  4653. },
  4654. "orderprice": {
  4655. "description": "委托价格",
  4656. "type": "number"
  4657. },
  4658. "orderqty": {
  4659. "description": "委托数量",
  4660. "type": "integer"
  4661. },
  4662. "ordersrc": {
  4663. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  4664. "type": "integer"
  4665. },
  4666. "orderstatus": {
  4667. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  4668. "type": "integer"
  4669. },
  4670. "ordertime": {
  4671. "description": "委托时间",
  4672. "type": "string"
  4673. },
  4674. "preexerciseprice": {
  4675. "description": "预申报价格",
  4676. "type": "number"
  4677. },
  4678. "premium": {
  4679. "description": "权利金",
  4680. "type": "number"
  4681. },
  4682. "preorderid": {
  4683. "description": "关联预埋单号(止盈止损单时填写)",
  4684. "type": "integer"
  4685. },
  4686. "pricemode": {
  4687. "description": "取价方式 - 1:市价 2: 限价",
  4688. "type": "integer"
  4689. },
  4690. "quoteid": {
  4691. "description": "报价单ID",
  4692. "type": "integer"
  4693. },
  4694. "relatedid": {
  4695. "description": "关联单号(交割单)",
  4696. "type": "integer"
  4697. },
  4698. "retcode": {
  4699. "description": "错误代码",
  4700. "type": "integer"
  4701. },
  4702. "sessionid": {
  4703. "description": "会话ID",
  4704. "type": "integer"
  4705. },
  4706. "strorderid": {
  4707. "description": "委托单号",
  4708. "type": "string"
  4709. },
  4710. "tradedate": {
  4711. "description": "交易日(yyyyMMdd)",
  4712. "type": "string"
  4713. },
  4714. "tradeproperty": {
  4715. "description": "交易属性",
  4716. "type": "integer"
  4717. },
  4718. "tradeqty": {
  4719. "description": "成交数量",
  4720. "type": "integer"
  4721. },
  4722. "unfreezecharge": {
  4723. "description": "解冻手续费",
  4724. "type": "number"
  4725. },
  4726. "unfreezemargin": {
  4727. "description": "解冻保证金",
  4728. "type": "number"
  4729. },
  4730. "updatetime": {
  4731. "description": "更新时间",
  4732. "type": "string"
  4733. },
  4734. "uuid": {
  4735. "description": "发起端唯一id",
  4736. "type": "string"
  4737. },
  4738. "validtime": {
  4739. "description": "有效期限",
  4740. "type": "string"
  4741. },
  4742. "validtype": {
  4743. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  4744. "type": "integer"
  4745. },
  4746. "volumetype": {
  4747. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  4748. "type": "integer"
  4749. }
  4750. }
  4751. },
  4752. "cptrade.QueryMyCPTradeGoodsRsp": {
  4753. "type": "object",
  4754. "required": [
  4755. "goodscode",
  4756. "goodsid",
  4757. "goodsname",
  4758. "marketid",
  4759. "relatedgoodscode",
  4760. "relatedgoodsname"
  4761. ],
  4762. "properties": {
  4763. "accountid": {
  4764. "description": "卖方账户ID",
  4765. "type": "integer"
  4766. },
  4767. "agreeunit": {
  4768. "description": "合约单位",
  4769. "type": "number"
  4770. },
  4771. "applyid": {
  4772. "description": "关联申请ID",
  4773. "type": "integer"
  4774. },
  4775. "attachmenturl": {
  4776. "description": "附件地址",
  4777. "type": "string"
  4778. },
  4779. "createtime": {
  4780. "description": "创建时间",
  4781. "type": "string"
  4782. },
  4783. "currencyid": {
  4784. "description": "报价货币ID",
  4785. "type": "integer"
  4786. },
  4787. "decimalplace": {
  4788. "description": "报价小数位",
  4789. "type": "integer"
  4790. },
  4791. "endtime": {
  4792. "description": "预售结束时间",
  4793. "type": "string"
  4794. },
  4795. "floorprice": {
  4796. "description": "底价[大宗式竞拍]",
  4797. "type": "number"
  4798. },
  4799. "goodscode": {
  4800. "description": "商品代码(预售)",
  4801. "type": "string"
  4802. },
  4803. "goodsdetail": {
  4804. "description": "详情[大宗]",
  4805. "type": "string"
  4806. },
  4807. "goodsid": {
  4808. "description": "商品ID(自增ID SEQ_GOODS)",
  4809. "type": "integer"
  4810. },
  4811. "goodsname": {
  4812. "description": "商品名称(预售)",
  4813. "type": "string"
  4814. },
  4815. "goodunit": {
  4816. "description": "报价单位",
  4817. "type": "string"
  4818. },
  4819. "goodunitid": {
  4820. "description": "报价单位ID",
  4821. "type": "integer"
  4822. },
  4823. "marketid": {
  4824. "description": "所属市场ID",
  4825. "type": "integer"
  4826. },
  4827. "marketname": {
  4828. "description": "预售市场名称",
  4829. "type": "string"
  4830. },
  4831. "presaledamount": {
  4832. "description": "已预售总金额(预售结束时更新)",
  4833. "type": "number"
  4834. },
  4835. "presaledqty": {
  4836. "description": "已预售量(预售结束时更新)",
  4837. "type": "integer"
  4838. },
  4839. "presalemode": {
  4840. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  4841. "type": "integer"
  4842. },
  4843. "presaleqty": {
  4844. "description": "预售数量",
  4845. "type": "integer"
  4846. },
  4847. "refprice": {
  4848. "description": "参考价格[一口价]",
  4849. "type": "number"
  4850. },
  4851. "relatedgoodscode": {
  4852. "description": "商品代码(订单)",
  4853. "type": "string"
  4854. },
  4855. "relatedgoodsid": {
  4856. "description": "关联交易合约ID",
  4857. "type": "integer"
  4858. },
  4859. "relatedgoodsname": {
  4860. "description": "商品名称(订单)",
  4861. "type": "string"
  4862. },
  4863. "relatedmarketid": {
  4864. "description": "关联交易合约市场ID",
  4865. "type": "integer"
  4866. },
  4867. "sellstatus": {
  4868. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  4869. "type": "integer"
  4870. },
  4871. "startprice": {
  4872. "description": "起拍价[大宗式竞拍]",
  4873. "type": "number"
  4874. },
  4875. "starttime": {
  4876. "description": "预售开始时间",
  4877. "type": "string"
  4878. },
  4879. "tradedate": {
  4880. "description": "交易日(yyyyMMdd)",
  4881. "type": "string"
  4882. },
  4883. "tradeprice": {
  4884. "description": "成交价[大宗]",
  4885. "type": "number"
  4886. },
  4887. "userid": {
  4888. "description": "卖方用户ID",
  4889. "type": "integer"
  4890. }
  4891. }
  4892. },
  4893. "cptrade.QueryPresaleGoodsExRsp": {
  4894. "type": "object",
  4895. "required": [
  4896. "goodsid"
  4897. ],
  4898. "properties": {
  4899. "attachmenturl": {
  4900. "description": "附件地址",
  4901. "type": "string"
  4902. },
  4903. "createtime": {
  4904. "description": "创建时间",
  4905. "type": "string"
  4906. },
  4907. "endtime": {
  4908. "description": "预售结束时间",
  4909. "type": "string"
  4910. },
  4911. "floorprice": {
  4912. "description": "底价[大宗式竞拍]",
  4913. "type": "number"
  4914. },
  4915. "goodsdetail": {
  4916. "description": "详情[大宗]",
  4917. "type": "string"
  4918. },
  4919. "goodsid": {
  4920. "description": "商品ID(预售)",
  4921. "type": "integer"
  4922. },
  4923. "goodunit": {
  4924. "description": "报价单位",
  4925. "type": "string"
  4926. },
  4927. "marketid": {
  4928. "description": "预售市场ID - 根据预售模式选择市场",
  4929. "type": "integer"
  4930. },
  4931. "presaledamount": {
  4932. "description": "已预售总金额(预售结束时更新)",
  4933. "type": "number"
  4934. },
  4935. "presaledqty": {
  4936. "description": "已预售量(预售结束时更新)",
  4937. "type": "integer"
  4938. },
  4939. "presalemode": {
  4940. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  4941. "type": "integer"
  4942. },
  4943. "presaleqty": {
  4944. "description": "预售数量",
  4945. "type": "integer"
  4946. },
  4947. "refprice": {
  4948. "description": "参考价格[一口价]",
  4949. "type": "number"
  4950. },
  4951. "relatedgoodsid": {
  4952. "description": "关联交易合约ID",
  4953. "type": "integer"
  4954. },
  4955. "relatedmarketid": {
  4956. "description": "关联交易合约市场ID",
  4957. "type": "integer"
  4958. },
  4959. "sellstatus": {
  4960. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  4961. "type": "integer"
  4962. },
  4963. "startprice": {
  4964. "description": "起拍价[大宗式竞拍]",
  4965. "type": "number"
  4966. },
  4967. "starttime": {
  4968. "description": "预售开始时间",
  4969. "type": "string"
  4970. },
  4971. "tradedate": {
  4972. "description": "交易日(yyyyMMdd)",
  4973. "type": "string"
  4974. },
  4975. "tradeprice": {
  4976. "description": "成交价[大宗]",
  4977. "type": "number"
  4978. }
  4979. }
  4980. },
  4981. "delivery.QueryDeliveryRelationRsp": {
  4982. "type": "object",
  4983. "required": [
  4984. "begindate",
  4985. "enddate",
  4986. "goodsid",
  4987. "mindeliveryqty",
  4988. "xdeliveryratio"
  4989. ],
  4990. "properties": {
  4991. "begindate": {
  4992. "description": "起始日期(yyyyMMdd)",
  4993. "type": "string"
  4994. },
  4995. "buytemplateid": {
  4996. "description": "买履约计划模板ID",
  4997. "type": "integer"
  4998. },
  4999. "deliverygoodscode": {
  5000. "description": "品种代码",
  5001. "type": "string"
  5002. },
  5003. "deliverygoodsid": {
  5004. "description": "交割商品",
  5005. "type": "integer"
  5006. },
  5007. "deliverygoodsname": {
  5008. "description": "品种名称",
  5009. "type": "string"
  5010. },
  5011. "deliverymode": {
  5012. "description": "交割方式 - 1:点选式 2:申报式",
  5013. "type": "integer"
  5014. },
  5015. "deliverypricerule": {
  5016. "description": "交割价规则- 1:行情价 2:建仓价",
  5017. "type": "integer"
  5018. },
  5019. "deliverytype": {
  5020. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  5021. "type": "integer"
  5022. },
  5023. "enddate": {
  5024. "description": "结束日期(yyyyMMdd)",
  5025. "type": "string"
  5026. },
  5027. "goodscode": {
  5028. "description": "商品代码",
  5029. "type": "string"
  5030. },
  5031. "goodsid": {
  5032. "description": "交易合约ID",
  5033. "type": "integer"
  5034. },
  5035. "goodsname": {
  5036. "description": "商品名称",
  5037. "type": "string"
  5038. },
  5039. "marketid": {
  5040. "description": "市场ID",
  5041. "type": "integer"
  5042. },
  5043. "mindeliveryqty": {
  5044. "description": "最小交割系数(K)",
  5045. "type": "integer"
  5046. },
  5047. "p2deliveryprice": {
  5048. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  5049. "type": "number"
  5050. },
  5051. "p2deliveryratio": {
  5052. "description": "P2合约系数(p)",
  5053. "type": "integer"
  5054. },
  5055. "p2goodsid": {
  5056. "description": "P2合约ID",
  5057. "type": "integer"
  5058. },
  5059. "p2pricemode": {
  5060. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  5061. "type": "integer"
  5062. },
  5063. "pdeliveryprice": {
  5064. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  5065. "type": "number"
  5066. },
  5067. "pdeliveryratio": {
  5068. "description": "P合约系数(n)",
  5069. "type": "integer"
  5070. },
  5071. "pgoodsid": {
  5072. "description": "P合约ID",
  5073. "type": "integer"
  5074. },
  5075. "ppricemode": {
  5076. "description": "P合约价格方式 - 1:商品价 2:固定值",
  5077. "type": "integer"
  5078. },
  5079. "rratio": {
  5080. "description": "兑换系数(R)",
  5081. "type": "integer"
  5082. },
  5083. "rratio1": {
  5084. "description": "兑换系数(交易合约)(R1)",
  5085. "type": "integer"
  5086. },
  5087. "rratio2": {
  5088. "description": "兑换系数(仓单标准)(R2)",
  5089. "type": "integer"
  5090. },
  5091. "selltemplateid": {
  5092. "description": "卖履约计划模板ID",
  5093. "type": "integer"
  5094. },
  5095. "wrstandardid": {
  5096. "description": "仓单标准ID",
  5097. "type": "integer"
  5098. },
  5099. "xdeliveryratio": {
  5100. "description": "交易合约系数(m)",
  5101. "type": "integer"
  5102. }
  5103. }
  5104. },
  5105. "ermcp.QryErmcpRsp": {
  5106. "type": "object",
  5107. "properties": {
  5108. "accountid": {
  5109. "description": "账户ID",
  5110. "type": "string"
  5111. },
  5112. "accountname": {
  5113. "description": "账户名称",
  5114. "type": "string"
  5115. },
  5116. "contracctstatus": {
  5117. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5118. "type": "integer"
  5119. },
  5120. "convertfactor": {
  5121. "description": "标仓系数",
  5122. "type": "number"
  5123. },
  5124. "daikaiAmount": {
  5125. "description": "待开票额",
  5126. "type": "number"
  5127. },
  5128. "deliveryenddate": {
  5129. "description": "交割结束日",
  5130. "type": "string"
  5131. },
  5132. "deliverygoodscode": {
  5133. "description": "现货商品代码",
  5134. "type": "string"
  5135. },
  5136. "deliverygoodsid": {
  5137. "description": "现货商品ID",
  5138. "type": "integer"
  5139. },
  5140. "deliverygoodsname": {
  5141. "description": "现货商品名称",
  5142. "type": "string"
  5143. },
  5144. "deliverystartdate": {
  5145. "description": "交割开始日",
  5146. "type": "string"
  5147. },
  5148. "enddate": {
  5149. "description": "点价结束日",
  5150. "type": "string"
  5151. },
  5152. "enumdicname": {
  5153. "description": "单位名称",
  5154. "type": "string"
  5155. },
  5156. "goodscode": {
  5157. "description": "点价商品代码",
  5158. "type": "string"
  5159. },
  5160. "goodsid": {
  5161. "description": "点价商品ID",
  5162. "type": "integer"
  5163. },
  5164. "invoiceamount": {
  5165. "description": "已开票额",
  5166. "type": "number"
  5167. },
  5168. "payamount": {
  5169. "description": "已收付额(收款或付款)",
  5170. "type": "number"
  5171. },
  5172. "pricedqty": {
  5173. "description": "已定价量",
  5174. "type": "number"
  5175. },
  5176. "pricemove": {
  5177. "description": "升贴水",
  5178. "type": "number"
  5179. },
  5180. "pricetype": {
  5181. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5182. "type": "integer"
  5183. },
  5184. "producttype": {
  5185. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  5186. "type": "integer"
  5187. },
  5188. "qty": {
  5189. "description": "合同量",
  5190. "type": "number"
  5191. },
  5192. "spotcontractid": {
  5193. "description": "合同ID",
  5194. "type": "integer"
  5195. },
  5196. "spotgoodsdesc": {
  5197. "description": "商品型号(商品规格)",
  5198. "type": "string"
  5199. },
  5200. "startdate": {
  5201. "description": "点价开始日",
  5202. "type": "string"
  5203. },
  5204. "unpayAmount": {
  5205. "description": "待支收额(支付或收款)",
  5206. "type": "number"
  5207. },
  5208. "unpricedqty": {
  5209. "description": "未定价量",
  5210. "type": "number"
  5211. },
  5212. "unsureqty": {
  5213. "description": "未确定量",
  5214. "type": "number"
  5215. }
  5216. }
  5217. },
  5218. "ermcp.QryHedgePlanRsp": {
  5219. "type": "object",
  5220. "properties": {
  5221. "contracttype": {
  5222. "description": "计划类型 - 1:采购 -1:销售",
  5223. "type": "integer"
  5224. },
  5225. "convertfactor": {
  5226. "description": "标仓系数",
  5227. "type": "number"
  5228. },
  5229. "deliverygoodsid": {
  5230. "description": "现货品种ID",
  5231. "type": "integer"
  5232. },
  5233. "deliverygoodsname": {
  5234. "description": "现货品种名称",
  5235. "type": "string"
  5236. },
  5237. "hedgeplanid": {
  5238. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  5239. "type": "string"
  5240. },
  5241. "hedgeplanno": {
  5242. "description": "套保计划编号",
  5243. "type": "string"
  5244. },
  5245. "hedgeplanstatus": {
  5246. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5247. "type": "integer"
  5248. },
  5249. "planqty": {
  5250. "description": "计划数量",
  5251. "type": "number"
  5252. },
  5253. "plantime": {
  5254. "description": "计划时间",
  5255. "type": "string"
  5256. },
  5257. "producttype": {
  5258. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  5259. "type": "integer"
  5260. },
  5261. "remark": {
  5262. "description": "备注",
  5263. "type": "string"
  5264. },
  5265. "spotgoodsdesc": {
  5266. "description": "商品型号",
  5267. "type": "string"
  5268. },
  5269. "wrstandardid": {
  5270. "description": "现货商品ID",
  5271. "type": "integer"
  5272. },
  5273. "wrstandardname": {
  5274. "description": "现货商品名称",
  5275. "type": "string"
  5276. }
  5277. }
  5278. },
  5279. "ermcp.QryUserInfoRsp": {
  5280. "type": "object",
  5281. "properties": {
  5282. "address": {
  5283. "description": "通讯地址",
  5284. "type": "string"
  5285. },
  5286. "cardnum": {
  5287. "description": "证件号码",
  5288. "type": "string"
  5289. },
  5290. "cardtype": {
  5291. "description": "证件类型",
  5292. "type": "string"
  5293. },
  5294. "customername": {
  5295. "description": "企业名称",
  5296. "type": "string"
  5297. },
  5298. "mobile": {
  5299. "description": "手机号码",
  5300. "type": "string"
  5301. },
  5302. "remark": {
  5303. "description": "备注",
  5304. "type": "string"
  5305. },
  5306. "status": {
  5307. "description": "账户状态",
  5308. "type": "string"
  5309. },
  5310. "telphone": {
  5311. "description": "联系电话",
  5312. "type": "string"
  5313. },
  5314. "userinfotype": {
  5315. "description": "客户类型",
  5316. "type": "string"
  5317. }
  5318. }
  5319. },
  5320. "erms2.QueryArbitrageStrategyRsp": {
  5321. "type": "object",
  5322. "required": [
  5323. "asapplyid"
  5324. ],
  5325. "properties": {
  5326. "applybasis": {
  5327. "description": "申请基差",
  5328. "type": "number"
  5329. },
  5330. "asapplyid": {
  5331. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  5332. "type": "string"
  5333. },
  5334. "asname": {
  5335. "description": "策略名称",
  5336. "type": "string"
  5337. },
  5338. "asno": {
  5339. "description": "策略编号",
  5340. "type": "string"
  5341. },
  5342. "basischangepl": {
  5343. "description": "基差变动损益[结算更新]",
  5344. "type": "number"
  5345. },
  5346. "biztype": {
  5347. "description": "业务类型 - 1:正向套利 -1:反向套利",
  5348. "type": "integer"
  5349. },
  5350. "closetradedate": {
  5351. "description": "完结交易日(yyyyMMdd)",
  5352. "type": "string"
  5353. },
  5354. "curbasis": {
  5355. "description": "当前基差[结算更新]",
  5356. "type": "number"
  5357. },
  5358. "deliverygoodsid": {
  5359. "description": "现货品种ID",
  5360. "type": "integer"
  5361. },
  5362. "futureavgprice": {
  5363. "description": "期货建仓均价",
  5364. "type": "number"
  5365. },
  5366. "futurecloseamount": {
  5367. "description": "期货平仓金额",
  5368. "type": "number"
  5369. },
  5370. "futurecloseqty": {
  5371. "description": "期货平仓数量",
  5372. "type": "number"
  5373. },
  5374. "futureopenamount": {
  5375. "description": "期货开仓金额",
  5376. "type": "number"
  5377. },
  5378. "futureopenqty": {
  5379. "description": "期货开仓数量",
  5380. "type": "number"
  5381. },
  5382. "futurepl": {
  5383. "description": "期货总盈亏[结算更新]",
  5384. "type": "number"
  5385. },
  5386. "futureqty": {
  5387. "description": "期货持仓数量",
  5388. "type": "number"
  5389. },
  5390. "futurequote": {
  5391. "description": "期货额度",
  5392. "type": "number"
  5393. },
  5394. "goodsgroupid": {
  5395. "description": "期货品种ID",
  5396. "type": "integer"
  5397. },
  5398. "marketid": {
  5399. "description": "市场ID",
  5400. "type": "integer"
  5401. },
  5402. "netexposure": {
  5403. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  5404. "type": "number"
  5405. },
  5406. "netexposurepl": {
  5407. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  5408. "type": "number"
  5409. },
  5410. "netexposurerate": {
  5411. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  5412. "type": "number"
  5413. },
  5414. "openbasis": {
  5415. "description": "建仓基差",
  5416. "type": "number"
  5417. },
  5418. "pricedspotqty": {
  5419. "description": "已定价现货数量",
  5420. "type": "number"
  5421. },
  5422. "pricedspotqtynotax": {
  5423. "description": "已定价现货不含税数量",
  5424. "type": "number"
  5425. },
  5426. "remark": {
  5427. "description": "备注",
  5428. "type": "string"
  5429. },
  5430. "spotavgprice": {
  5431. "description": "现货均价",
  5432. "type": "number"
  5433. },
  5434. "spotbuyamount": {
  5435. "description": "现货采购金额",
  5436. "type": "number"
  5437. },
  5438. "spotbuyqty": {
  5439. "description": "现货采购数量",
  5440. "type": "number"
  5441. },
  5442. "spotpl": {
  5443. "description": "现货总盈亏[结算更新]",
  5444. "type": "number"
  5445. },
  5446. "spotquota": {
  5447. "description": "现货额度",
  5448. "type": "number"
  5449. },
  5450. "spotsellamount": {
  5451. "description": "现货销售金额",
  5452. "type": "number"
  5453. },
  5454. "spotsellqty": {
  5455. "description": "现货销售数量",
  5456. "type": "number"
  5457. },
  5458. "spotusedquota": {
  5459. "description": "现货占用资金",
  5460. "type": "number"
  5461. },
  5462. "strategystatus": {
  5463. "description": "策略状态 - 0:未结束 1:已结束",
  5464. "type": "integer"
  5465. },
  5466. "totalpl": {
  5467. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  5468. "type": "number"
  5469. },
  5470. "tradedate": {
  5471. "description": "交易日(yyyyMMdd)",
  5472. "type": "string"
  5473. },
  5474. "updatetime": {
  5475. "description": "更新时间",
  5476. "type": "string"
  5477. },
  5478. "usedquota": {
  5479. "description": "已占用资金",
  5480. "type": "number"
  5481. },
  5482. "userid": {
  5483. "description": "所属机构",
  5484. "type": "integer"
  5485. }
  5486. }
  5487. },
  5488. "erms2.QueryInnerTradeDetailRsp": {
  5489. "type": "object",
  5490. "required": [
  5491. "asapplyid",
  5492. "buyorsell",
  5493. "goodscode",
  5494. "goodsgroupid",
  5495. "goodsgroupname",
  5496. "goodsname",
  5497. "tradeid"
  5498. ],
  5499. "properties": {
  5500. "accountid": {
  5501. "description": "账号ID",
  5502. "type": "integer"
  5503. },
  5504. "agreeunit": {
  5505. "description": "合约单位",
  5506. "type": "number"
  5507. },
  5508. "asapplyid": {
  5509. "description": "策略申请ID",
  5510. "type": "integer"
  5511. },
  5512. "asname": {
  5513. "description": "策略名称",
  5514. "type": "string"
  5515. },
  5516. "asno": {
  5517. "description": "策略编号",
  5518. "type": "string"
  5519. },
  5520. "buyorsell": {
  5521. "description": "方向 - 0:买 1:卖",
  5522. "type": "integer"
  5523. },
  5524. "channelbuildtype": {
  5525. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  5526. "type": "integer"
  5527. },
  5528. "closetype": {
  5529. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  5530. "type": "integer"
  5531. },
  5532. "decimalplace": {
  5533. "description": "报价小数位",
  5534. "type": "integer"
  5535. },
  5536. "detailtype": {
  5537. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  5538. "type": "integer"
  5539. },
  5540. "exexchangecode": {
  5541. "description": "外部交易所代码",
  5542. "type": "string"
  5543. },
  5544. "exexchangename": {
  5545. "description": "外部交易所名称",
  5546. "type": "string"
  5547. },
  5548. "goodscode": {
  5549. "description": "商品代码(合约)",
  5550. "type": "string"
  5551. },
  5552. "goodsgroupid": {
  5553. "description": "商品组ID(品种ID)",
  5554. "type": "integer"
  5555. },
  5556. "goodsgroupname": {
  5557. "description": "商品组名称(品种)",
  5558. "type": "string"
  5559. },
  5560. "goodsid": {
  5561. "description": "商品ID",
  5562. "type": "integer"
  5563. },
  5564. "goodsname": {
  5565. "description": "商品名称(合约)",
  5566. "type": "string"
  5567. },
  5568. "goodunit": {
  5569. "description": "报价单位",
  5570. "type": "string"
  5571. },
  5572. "marketid": {
  5573. "description": "市场ID",
  5574. "type": "integer"
  5575. },
  5576. "orderid": {
  5577. "description": "委托单号",
  5578. "type": "string"
  5579. },
  5580. "outgoodscode": {
  5581. "description": "商品代码(外部)",
  5582. "type": "string"
  5583. },
  5584. "relatedouttradeid": {
  5585. "description": "关联外部成交单ID",
  5586. "type": "string"
  5587. },
  5588. "remark": {
  5589. "description": "备注",
  5590. "type": "string"
  5591. },
  5592. "spotcontractid": {
  5593. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  5594. "type": "integer"
  5595. },
  5596. "spotcontractno": {
  5597. "description": "现货合同编号",
  5598. "type": "string"
  5599. },
  5600. "tradeid": {
  5601. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5602. "type": "string"
  5603. },
  5604. "tradeprice": {
  5605. "description": "成交价格",
  5606. "type": "number"
  5607. },
  5608. "tradeqty": {
  5609. "description": "成交数量",
  5610. "type": "integer"
  5611. },
  5612. "tradetime": {
  5613. "description": "成交时间",
  5614. "type": "string"
  5615. },
  5616. "updatetime": {
  5617. "description": "更新时间",
  5618. "type": "string"
  5619. }
  5620. }
  5621. },
  5622. "erms2.QuerySpotContractRsp": {
  5623. "type": "object",
  5624. "required": [
  5625. "spotcontractid"
  5626. ],
  5627. "properties": {
  5628. "accountid": {
  5629. "description": "资金账户ID",
  5630. "type": "integer"
  5631. },
  5632. "areauserid": {
  5633. "description": "所属机构",
  5634. "type": "integer"
  5635. },
  5636. "closedate": {
  5637. "description": "终止日期",
  5638. "type": "string"
  5639. },
  5640. "closeremark": {
  5641. "description": "结束备注",
  5642. "type": "string"
  5643. },
  5644. "closetradedate": {
  5645. "description": "完结交易日(yyyyMMdd)",
  5646. "type": "string"
  5647. },
  5648. "closetype": {
  5649. "description": "终止类型 - 1:违约 2:提前终止",
  5650. "type": "integer"
  5651. },
  5652. "contractamount": {
  5653. "description": "合同金额",
  5654. "type": "number"
  5655. },
  5656. "contractattachment": {
  5657. "description": "合同附件",
  5658. "type": "string"
  5659. },
  5660. "contractno": {
  5661. "description": "现货合同编号",
  5662. "type": "string"
  5663. },
  5664. "contractqty": {
  5665. "description": "合同数量(数值) (用于计算)",
  5666. "type": "number"
  5667. },
  5668. "contractqtychar": {
  5669. "description": "合同数量\\已订价数量 (用于显示)",
  5670. "type": "string"
  5671. },
  5672. "contractstatus": {
  5673. "description": "合同状态 - 0:未结束 1:已结束",
  5674. "type": "integer"
  5675. },
  5676. "contracttype": {
  5677. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  5678. "type": "integer"
  5679. },
  5680. "customeraccountid": {
  5681. "description": "客户资金账户ID",
  5682. "type": "integer"
  5683. },
  5684. "customeruserid": {
  5685. "description": "客户ID",
  5686. "type": "integer"
  5687. },
  5688. "deliverygoodsdesc": {
  5689. "description": "品种说明",
  5690. "type": "string"
  5691. },
  5692. "deliverygoodsid": {
  5693. "description": "现货品种ID",
  5694. "type": "integer"
  5695. },
  5696. "handlestatus": {
  5697. "description": "处理状态",
  5698. "type": "integer"
  5699. },
  5700. "invoiceatt": {
  5701. "description": "发票附件",
  5702. "type": "string"
  5703. },
  5704. "invoicedatetime": {
  5705. "description": "开收票更新时间",
  5706. "type": "string"
  5707. },
  5708. "invoiceopentime": {
  5709. "description": "开票时间",
  5710. "type": "string"
  5711. },
  5712. "invoiceremark": {
  5713. "description": "发票备注",
  5714. "type": "string"
  5715. },
  5716. "invoicestatus": {
  5717. "description": "开收票状态 - 0:未开票 1:已开票",
  5718. "type": "integer"
  5719. },
  5720. "lastdate": {
  5721. "description": "交货时间",
  5722. "type": "string"
  5723. },
  5724. "marketid": {
  5725. "description": "市场ID",
  5726. "type": "integer"
  5727. },
  5728. "paydatetime": {
  5729. "description": "收付款更新时间",
  5730. "type": "string"
  5731. },
  5732. "payremark": {
  5733. "description": "收付款备注",
  5734. "type": "string"
  5735. },
  5736. "paystatus": {
  5737. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  5738. "type": "integer"
  5739. },
  5740. "positionqty": {
  5741. "description": "头寸数量 - 合同数量去小数部分",
  5742. "type": "integer"
  5743. },
  5744. "producttype": {
  5745. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  5746. "type": "integer"
  5747. },
  5748. "relatedqty": {
  5749. "description": "已关联数量",
  5750. "type": "number"
  5751. },
  5752. "relatedstatus": {
  5753. "description": "关联完结状态 - 0:未结束 1:已结束",
  5754. "type": "integer"
  5755. },
  5756. "remark": {
  5757. "description": "备注",
  5758. "type": "string"
  5759. },
  5760. "signdate": {
  5761. "description": "签订日期",
  5762. "type": "string"
  5763. },
  5764. "spotcontractid": {
  5765. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  5766. "type": "string"
  5767. },
  5768. "spotdatetime": {
  5769. "description": "收发货更新时间",
  5770. "type": "string"
  5771. },
  5772. "spotprice": {
  5773. "description": "价格",
  5774. "type": "number"
  5775. },
  5776. "spotremark": {
  5777. "description": "收发货备注",
  5778. "type": "string"
  5779. },
  5780. "spotstatus": {
  5781. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  5782. "type": "integer"
  5783. },
  5784. "tradedate": {
  5785. "description": "交易日(yyyyMMdd)",
  5786. "type": "string"
  5787. },
  5788. "userid": {
  5789. "description": "业务员用户ID",
  5790. "type": "integer"
  5791. },
  5792. "warehouseid": {
  5793. "description": "仓库ID",
  5794. "type": "integer"
  5795. },
  5796. "wrfactortypeid": {
  5797. "description": "仓单要素类型ID",
  5798. "type": "integer"
  5799. },
  5800. "wrstandardid": {
  5801. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  5802. "type": "integer"
  5803. }
  5804. }
  5805. },
  5806. "erms3.AddErms2ASApplyReq": {
  5807. "type": "object",
  5808. "required": [
  5809. "asapplyid"
  5810. ],
  5811. "properties": {
  5812. "applybasis": {
  5813. "description": "申请基差",
  5814. "type": "number"
  5815. },
  5816. "applystatus": {
  5817. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5818. "type": "integer"
  5819. },
  5820. "asapplyid": {
  5821. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  5822. "type": "integer"
  5823. },
  5824. "asname": {
  5825. "description": "策略名称",
  5826. "type": "string"
  5827. },
  5828. "asno": {
  5829. "description": "策略编号",
  5830. "type": "string"
  5831. },
  5832. "auditid": {
  5833. "description": "审核人",
  5834. "type": "integer"
  5835. },
  5836. "auditremark": {
  5837. "description": "审核备注",
  5838. "type": "string"
  5839. },
  5840. "audittime": {
  5841. "description": "审核时间",
  5842. "type": "string"
  5843. },
  5844. "biztype": {
  5845. "description": "业务类型 - 1:正向套利 2:反向套利",
  5846. "type": "integer"
  5847. },
  5848. "createtime": {
  5849. "description": "创建时间",
  5850. "type": "string"
  5851. },
  5852. "creatorid": {
  5853. "description": "创建人",
  5854. "type": "integer"
  5855. },
  5856. "deliverygoodsid": {
  5857. "description": "现货品种ID",
  5858. "type": "integer"
  5859. },
  5860. "futurequote": {
  5861. "description": "期货额度",
  5862. "type": "number"
  5863. },
  5864. "goodsgroupid": {
  5865. "description": "期货品种ID",
  5866. "type": "integer"
  5867. },
  5868. "marketid": {
  5869. "description": "市场ID",
  5870. "type": "integer"
  5871. },
  5872. "remark": {
  5873. "description": "备注",
  5874. "type": "string"
  5875. },
  5876. "spotquota": {
  5877. "description": "现货额度",
  5878. "type": "number"
  5879. },
  5880. "tradedate": {
  5881. "description": "交易日(yyyyMMdd)",
  5882. "type": "string"
  5883. },
  5884. "userid": {
  5885. "description": "所属机构",
  5886. "type": "integer"
  5887. }
  5888. }
  5889. },
  5890. "erms3.AddErms2SpotTradeApplyReq": {
  5891. "type": "object",
  5892. "required": [
  5893. "spottradeid"
  5894. ],
  5895. "properties": {
  5896. "applyjsondetail": {
  5897. "description": "申请明细(JSON)",
  5898. "type": "string"
  5899. },
  5900. "applystatus": {
  5901. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5902. "type": "integer"
  5903. },
  5904. "areauserid": {
  5905. "description": "所属机构",
  5906. "type": "integer"
  5907. },
  5908. "auditid": {
  5909. "description": "审核人",
  5910. "type": "integer"
  5911. },
  5912. "auditremark": {
  5913. "description": "审核备注",
  5914. "type": "string"
  5915. },
  5916. "audittime": {
  5917. "description": "审核时间",
  5918. "type": "string"
  5919. },
  5920. "createtime": {
  5921. "description": "创建时间",
  5922. "type": "string"
  5923. },
  5924. "creatorid": {
  5925. "description": "创建人",
  5926. "type": "integer"
  5927. },
  5928. "deliverygoodsid": {
  5929. "description": "现货品种ID",
  5930. "type": "integer"
  5931. },
  5932. "futureaccountid": {
  5933. "description": "期货资金账户",
  5934. "type": "integer"
  5935. },
  5936. "goodsgroupid": {
  5937. "description": "期货品种",
  5938. "type": "integer"
  5939. },
  5940. "marketid": {
  5941. "description": "市场ID",
  5942. "type": "integer"
  5943. },
  5944. "remark": {
  5945. "description": "备注",
  5946. "type": "string"
  5947. },
  5948. "spotaccountid": {
  5949. "description": "现货资金账户",
  5950. "type": "integer"
  5951. },
  5952. "spottradeid": {
  5953. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  5954. "type": "integer"
  5955. },
  5956. "spottradename": {
  5957. "description": "业务名称",
  5958. "type": "string"
  5959. },
  5960. "spottradeno": {
  5961. "description": "业务编号",
  5962. "type": "string"
  5963. },
  5964. "tradedate": {
  5965. "description": "交易日(yyyyMMdd)",
  5966. "type": "string"
  5967. },
  5968. "wrstandardid": {
  5969. "description": "仓单标准ID",
  5970. "type": "integer"
  5971. }
  5972. }
  5973. },
  5974. "erms3.AddSpotContractApplyReq": {
  5975. "type": "object",
  5976. "required": [
  5977. "accountid",
  5978. "areauserid",
  5979. "contractno",
  5980. "contracttype",
  5981. "customeraccountid",
  5982. "customeruserid",
  5983. "details",
  5984. "orimargin",
  5985. "signdate"
  5986. ],
  5987. "properties": {
  5988. "accountid": {
  5989. "description": "资金账户ID",
  5990. "type": "integer"
  5991. },
  5992. "areauserid": {
  5993. "description": "所属机构",
  5994. "type": "integer"
  5995. },
  5996. "contractattachment": {
  5997. "description": "合同附件",
  5998. "type": "string"
  5999. },
  6000. "contractno": {
  6001. "description": "现货合同编号",
  6002. "type": "string"
  6003. },
  6004. "contracttype": {
  6005. "description": "现货合同类型 - 1:采购 -1:销售",
  6006. "type": "integer"
  6007. },
  6008. "creatorid": {
  6009. "description": "申请人",
  6010. "type": "integer"
  6011. },
  6012. "customeraccountid": {
  6013. "description": "客户资金账户ID",
  6014. "type": "integer"
  6015. },
  6016. "customeruserid": {
  6017. "description": "客户ID",
  6018. "type": "integer"
  6019. },
  6020. "details": {
  6021. "description": "明细",
  6022. "type": "array",
  6023. "items": {
  6024. "$ref": "#/definitions/erms3.SoptContractDetail"
  6025. }
  6026. },
  6027. "orimargin": {
  6028. "description": "初始保证金",
  6029. "type": "number"
  6030. },
  6031. "remark": {
  6032. "description": "备注",
  6033. "type": "string"
  6034. },
  6035. "signdate": {
  6036. "description": "签订日期",
  6037. "type": "string"
  6038. }
  6039. }
  6040. },
  6041. "erms3.AddSpotContractApplyRsp": {
  6042. "type": "object",
  6043. "required": [
  6044. "contractno"
  6045. ],
  6046. "properties": {
  6047. "contractno": {
  6048. "description": "现货合同编号",
  6049. "type": "string"
  6050. },
  6051. "spotcontractid": {
  6052. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  6053. "type": "integer"
  6054. }
  6055. }
  6056. },
  6057. "erms3.AddUserInfoApplyReq": {
  6058. "type": "object",
  6059. "required": [
  6060. "userid"
  6061. ],
  6062. "properties": {
  6063. "accountid": {
  6064. "description": "交易系统帐号Id (加密存储)",
  6065. "type": "integer"
  6066. },
  6067. "areacode": {
  6068. "description": "机构代码",
  6069. "type": "string"
  6070. },
  6071. "areaid": {
  6072. "description": "机构Id",
  6073. "type": "integer"
  6074. },
  6075. "attachment1": {
  6076. "description": "附件1",
  6077. "type": "string"
  6078. },
  6079. "attachment2": {
  6080. "description": "附件2",
  6081. "type": "string"
  6082. },
  6083. "attachment3": {
  6084. "description": "附件3",
  6085. "type": "string"
  6086. },
  6087. "attachment4": {
  6088. "description": "附件4",
  6089. "type": "string"
  6090. },
  6091. "attachment5": {
  6092. "description": "附件5",
  6093. "type": "string"
  6094. },
  6095. "auditedby": {
  6096. "description": "审核人",
  6097. "type": "string"
  6098. },
  6099. "auditime": {
  6100. "description": "审核时间",
  6101. "type": "string"
  6102. },
  6103. "bankaccount": {
  6104. "description": "银行帐号 (加密存储)",
  6105. "type": "string"
  6106. },
  6107. "bankaccountname": {
  6108. "description": "收款人名称",
  6109. "type": "string"
  6110. },
  6111. "bankcardbackphotourl": {
  6112. "description": "银行卡背面照地址",
  6113. "type": "string"
  6114. },
  6115. "bankcardfrontphotourl": {
  6116. "description": "银行卡正面照地址",
  6117. "type": "string"
  6118. },
  6119. "bankid": {
  6120. "description": "银行编码",
  6121. "type": "string"
  6122. },
  6123. "bankname": {
  6124. "description": "银行名称",
  6125. "type": "string"
  6126. },
  6127. "bankpictureurl": {
  6128. "description": "银行卡正面地址",
  6129. "type": "string"
  6130. },
  6131. "biznature": {
  6132. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6133. "type": "integer"
  6134. },
  6135. "bizscope": {
  6136. "description": "企业经营范围(企业)",
  6137. "type": "string"
  6138. },
  6139. "biztype": {
  6140. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  6141. "type": "integer"
  6142. },
  6143. "brokerid": {
  6144. "description": "经纪人ID(加密存储)",
  6145. "type": "string"
  6146. },
  6147. "cardaddress": {
  6148. "description": "证件地址 (加密存储)",
  6149. "type": "string"
  6150. },
  6151. "cardbackphotourl": {
  6152. "description": "背面证件照地址",
  6153. "type": "string"
  6154. },
  6155. "cardfrontphotourl": {
  6156. "description": "正面证件照地址",
  6157. "type": "string"
  6158. },
  6159. "cardnum": {
  6160. "description": "证件号码 (加密存储)",
  6161. "type": "string"
  6162. },
  6163. "cardtype": {
  6164. "description": "证件类型",
  6165. "type": "integer"
  6166. },
  6167. "cityid": {
  6168. "description": "市",
  6169. "type": "integer"
  6170. },
  6171. "company": {
  6172. "description": "公司(个人)",
  6173. "type": "string"
  6174. },
  6175. "contactcardbackphotourl": {
  6176. "description": "联系人证件背面图片地址",
  6177. "type": "string"
  6178. },
  6179. "contactcardfrontphotourl": {
  6180. "description": "联系人证件正面图片地址",
  6181. "type": "string"
  6182. },
  6183. "contactname": {
  6184. "description": "联系人",
  6185. "type": "string"
  6186. },
  6187. "countryid": {
  6188. "description": "国家",
  6189. "type": "integer"
  6190. },
  6191. "createtime": {
  6192. "description": "开户申请时间",
  6193. "type": "string"
  6194. },
  6195. "cusbankid": {
  6196. "description": "签约类型",
  6197. "type": "string"
  6198. },
  6199. "cusbankname": {
  6200. "description": "签约类型名称",
  6201. "type": "string"
  6202. },
  6203. "customername": {
  6204. "description": "客户名称(企业名称)",
  6205. "type": "string"
  6206. },
  6207. "districtid": {
  6208. "description": "地区",
  6209. "type": "integer"
  6210. },
  6211. "email": {
  6212. "description": "Email地址(加密存储)",
  6213. "type": "string"
  6214. },
  6215. "halfbodyphotourl": {
  6216. "description": "半身照地址",
  6217. "type": "string"
  6218. },
  6219. "headurl": {
  6220. "description": "头像地址",
  6221. "type": "string"
  6222. },
  6223. "ipaddress": {
  6224. "description": "IP地址",
  6225. "type": "string"
  6226. },
  6227. "isvalidate": {
  6228. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  6229. "type": "string"
  6230. },
  6231. "legalcardbackphotourl": {
  6232. "description": "法人身份证背面照地址",
  6233. "type": "string"
  6234. },
  6235. "legalcardfrontphotourl": {
  6236. "description": "法人身份证正面照地址",
  6237. "type": "string"
  6238. },
  6239. "legalpersonname": {
  6240. "description": "法人姓名(企业)",
  6241. "type": "string"
  6242. },
  6243. "logincode": {
  6244. "description": "登录帐号 (加密存储)",
  6245. "type": "string"
  6246. },
  6247. "memberareaid": {
  6248. "description": "所属会员ID",
  6249. "type": "integer"
  6250. },
  6251. "mobile2": {
  6252. "description": "手机号码[明文-尚志]",
  6253. "type": "string"
  6254. },
  6255. "mobilephone": {
  6256. "description": "手机号码 (加密存储)",
  6257. "type": "string"
  6258. },
  6259. "modifiedby": {
  6260. "description": "修改人帐号",
  6261. "type": "integer"
  6262. },
  6263. "modifiedtime": {
  6264. "description": "修改时间",
  6265. "type": "string"
  6266. },
  6267. "nickname": {
  6268. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  6269. "type": "string"
  6270. },
  6271. "openmode": {
  6272. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  6273. "type": "integer"
  6274. },
  6275. "otherurl": {
  6276. "description": "其它图片地址[使用分号分隔]",
  6277. "type": "string"
  6278. },
  6279. "postalcode": {
  6280. "description": "邮政编码",
  6281. "type": "string"
  6282. },
  6283. "provinceid": {
  6284. "description": "省",
  6285. "type": "integer"
  6286. },
  6287. "proxystatementurl": {
  6288. "description": "授权委托书",
  6289. "type": "string"
  6290. },
  6291. "qq": {
  6292. "description": "QQ(加密存储",
  6293. "type": "string"
  6294. },
  6295. "referral": {
  6296. "description": "推荐人编码",
  6297. "type": "string"
  6298. },
  6299. "remark": {
  6300. "description": "备注",
  6301. "type": "string"
  6302. },
  6303. "removebeforestatus": {
  6304. "description": "REMOVEBEFORESTATUS",
  6305. "type": "integer"
  6306. },
  6307. "sex": {
  6308. "description": "性别 - 0:女 1:男",
  6309. "type": "integer"
  6310. },
  6311. "signedstatus": {
  6312. "description": "账户一号签签约状态",
  6313. "type": "integer"
  6314. },
  6315. "signpdfurl": {
  6316. "description": "签约pdf文件",
  6317. "type": "string"
  6318. },
  6319. "subbranch": {
  6320. "description": "开户支行",
  6321. "type": "string"
  6322. },
  6323. "telphone": {
  6324. "description": "联系电话(加密存储)",
  6325. "type": "string"
  6326. },
  6327. "userid": {
  6328. "description": "用户ID(自增ID)",
  6329. "type": "integer"
  6330. },
  6331. "userinfotype": {
  6332. "description": "用户信息类型 - 1:个人 2:企业",
  6333. "type": "integer"
  6334. },
  6335. "username": {
  6336. "description": "用户姓名",
  6337. "type": "string"
  6338. },
  6339. "userstate": {
  6340. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  6341. "type": "integer"
  6342. },
  6343. "usertype": {
  6344. "description": "用户类型 - 1:投资者 2:机构",
  6345. "type": "integer"
  6346. },
  6347. "videourl": {
  6348. "description": "视频地址",
  6349. "type": "string"
  6350. },
  6351. "wechat": {
  6352. "description": "微信号 (加密存储)",
  6353. "type": "string"
  6354. }
  6355. }
  6356. },
  6357. "erms3.CustomerInfo": {
  6358. "type": "object",
  6359. "required": [
  6360. "userid"
  6361. ],
  6362. "properties": {
  6363. "accountids": {
  6364. "description": "资金账户ID列表",
  6365. "type": "array",
  6366. "items": {
  6367. "type": "integer"
  6368. }
  6369. },
  6370. "customername": {
  6371. "description": "名称(企业名称)",
  6372. "type": "string"
  6373. },
  6374. "mobile": {
  6375. "description": "手机号码",
  6376. "type": "string"
  6377. },
  6378. "userid": {
  6379. "description": "用户ID",
  6380. "type": "integer"
  6381. }
  6382. }
  6383. },
  6384. "erms3.QryAuditContractRsp": {
  6385. "type": "object",
  6386. "required": [
  6387. "matchcustomername",
  6388. "spotcontractid"
  6389. ],
  6390. "properties": {
  6391. "accountid": {
  6392. "description": "交易员ID",
  6393. "type": "string"
  6394. },
  6395. "applystatus": {
  6396. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6397. "type": "integer"
  6398. },
  6399. "curdeliveryqty": {
  6400. "description": "未交收量",
  6401. "type": "integer"
  6402. },
  6403. "customername": {
  6404. "description": "采购方ID",
  6405. "type": "string"
  6406. },
  6407. "deliverygoodsid": {
  6408. "description": "品种ID",
  6409. "type": "string"
  6410. },
  6411. "deliveryqty": {
  6412. "description": "交收量",
  6413. "type": "integer"
  6414. },
  6415. "enumdicname": {
  6416. "description": "单位名称",
  6417. "type": "string"
  6418. },
  6419. "matchaccountid": {
  6420. "description": "业务员ID",
  6421. "type": "string"
  6422. },
  6423. "matchcustomername": {
  6424. "description": "销售方ID",
  6425. "type": "string"
  6426. },
  6427. "pricedqty": {
  6428. "description": "定价量",
  6429. "type": "number"
  6430. },
  6431. "signdate": {
  6432. "description": "签订日期",
  6433. "type": "string"
  6434. },
  6435. "spotcontractid": {
  6436. "description": "合同ID",
  6437. "type": "string"
  6438. },
  6439. "totaldqty": {
  6440. "description": "合同量",
  6441. "type": "number"
  6442. },
  6443. "unpricedqty": {
  6444. "description": "未定价量",
  6445. "type": "number"
  6446. },
  6447. "wrstandardname": {
  6448. "description": "商品名称",
  6449. "type": "string"
  6450. }
  6451. }
  6452. },
  6453. "erms3.QryPendingBizRsp": {
  6454. "type": "object",
  6455. "properties": {
  6456. "accountid": {
  6457. "description": "现货账户",
  6458. "type": "string"
  6459. },
  6460. "areaname": {
  6461. "description": "所属部门",
  6462. "type": "string"
  6463. },
  6464. "bizid": {
  6465. "description": "业务ID",
  6466. "type": "string"
  6467. },
  6468. "bizname": {
  6469. "description": "业务名称",
  6470. "type": "string"
  6471. },
  6472. "status": {
  6473. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6474. "type": "integer"
  6475. },
  6476. "type": {
  6477. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  6478. "type": "integer"
  6479. }
  6480. }
  6481. },
  6482. "erms3.QueryBusinessInfoRsp": {
  6483. "type": "object",
  6484. "properties": {
  6485. "businessid": {
  6486. "description": "业务ID.",
  6487. "type": "integer"
  6488. },
  6489. "buyamount": {
  6490. "description": "采购额.",
  6491. "type": "number"
  6492. },
  6493. "buyqty": {
  6494. "description": "采购量.",
  6495. "type": "string"
  6496. },
  6497. "futurepl": {
  6498. "description": "期货盈亏.",
  6499. "type": "number"
  6500. },
  6501. "futureqty": {
  6502. "description": "期货敞口.",
  6503. "type": "string"
  6504. },
  6505. "goodsid": {
  6506. "description": "商品名称/商品代码.",
  6507. "type": "string"
  6508. },
  6509. "hedgingqty": {
  6510. "description": "套保量.",
  6511. "type": "string"
  6512. },
  6513. "sellamount": {
  6514. "description": "销售额.",
  6515. "type": "number"
  6516. },
  6517. "sellqty": {
  6518. "description": "销售量.",
  6519. "type": "string"
  6520. },
  6521. "spotmarketvalue": {
  6522. "description": "现货市值.",
  6523. "type": "number"
  6524. },
  6525. "spotpl": {
  6526. "description": "浮动权益.",
  6527. "type": "number"
  6528. },
  6529. "spotqty": {
  6530. "description": "现货量.",
  6531. "type": "string"
  6532. },
  6533. "statu": {
  6534. "description": "状态,0-未结束 1-已结束.",
  6535. "type": "integer"
  6536. },
  6537. "totalpl": {
  6538. "description": "总盈亏.",
  6539. "type": "number"
  6540. },
  6541. "totalqty": {
  6542. "description": "总敞口.",
  6543. "type": "string"
  6544. },
  6545. "type": {
  6546. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  6547. "type": "integer"
  6548. }
  6549. }
  6550. },
  6551. "erms3.QuerySpotContractAppleFormRsp": {
  6552. "type": "object",
  6553. "properties": {
  6554. "goodses": {
  6555. "description": "合约列表",
  6556. "type": "array",
  6557. "items": {
  6558. "$ref": "#/definitions/models.GoodsIDAndName"
  6559. }
  6560. },
  6561. "oppositeusers": {
  6562. "description": "对方账号列表",
  6563. "type": "array",
  6564. "items": {
  6565. "$ref": "#/definitions/erms3.CustomerInfo"
  6566. }
  6567. },
  6568. "ouruser": {
  6569. "description": "我方账号",
  6570. "$ref": "#/definitions/erms3.CustomerInfo"
  6571. },
  6572. "warehouseinfos": {
  6573. "description": "仓库信息列表",
  6574. "type": "array",
  6575. "items": {
  6576. "$ref": "#/definitions/models.Warehouseinfo"
  6577. }
  6578. },
  6579. "wrstandards": {
  6580. "description": "仓单标准列表",
  6581. "type": "array",
  6582. "items": {
  6583. "$ref": "#/definitions/models.WRStandardInfo"
  6584. }
  6585. }
  6586. }
  6587. },
  6588. "erms3.QuerySpotContractInfoRsp": {
  6589. "type": "object",
  6590. "properties": {
  6591. "accountid": {
  6592. "description": "表示交易员ID.",
  6593. "type": "integer"
  6594. },
  6595. "curdeliveryqty": {
  6596. "description": "表示未交收量.",
  6597. "type": "number"
  6598. },
  6599. "customername": {
  6600. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  6601. "type": "string"
  6602. },
  6603. "deliverygoodsid": {
  6604. "description": "表示品种ID.",
  6605. "type": "string"
  6606. },
  6607. "deliveryqty": {
  6608. "description": "表示交收量.",
  6609. "type": "number"
  6610. },
  6611. "matchaccountid": {
  6612. "description": "表示业务员ID.",
  6613. "type": "integer"
  6614. },
  6615. "matchcustomername": {
  6616. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  6617. "type": "string"
  6618. },
  6619. "priceqty": {
  6620. "description": "表示定价量.",
  6621. "type": "number"
  6622. },
  6623. "relatedbizid": {
  6624. "description": "表示业务ID.",
  6625. "type": "string"
  6626. },
  6627. "signdate": {
  6628. "description": "表示签订日期.",
  6629. "type": "string"
  6630. },
  6631. "spotcontractid": {
  6632. "description": "合同ID",
  6633. "type": "string"
  6634. },
  6635. "status": {
  6636. "description": "表示状态,0-履约中 1-已完成.",
  6637. "type": "integer"
  6638. },
  6639. "totalqty": {
  6640. "description": "表示合同量.",
  6641. "type": "number"
  6642. },
  6643. "unpricedqty": {
  6644. "description": "表示未定价量.",
  6645. "type": "number"
  6646. },
  6647. "wrstandardname": {
  6648. "description": "表示商品ID.",
  6649. "type": "string"
  6650. }
  6651. }
  6652. },
  6653. "erms3.QueryUserInfoAppliesRsp": {
  6654. "type": "object",
  6655. "required": [
  6656. "userid"
  6657. ],
  6658. "properties": {
  6659. "biznature": {
  6660. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6661. "type": "integer"
  6662. },
  6663. "contactname": {
  6664. "description": "联系人",
  6665. "type": "string"
  6666. },
  6667. "createtime": {
  6668. "description": "开户申请时间",
  6669. "type": "string"
  6670. },
  6671. "userid": {
  6672. "description": "用户ID(自增ID)",
  6673. "type": "integer"
  6674. },
  6675. "userinfotype": {
  6676. "description": "用户信息类型 - 1:个人 2:企业",
  6677. "type": "integer"
  6678. },
  6679. "username": {
  6680. "description": "用户姓名",
  6681. "type": "string"
  6682. },
  6683. "userstate": {
  6684. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  6685. "type": "integer"
  6686. }
  6687. }
  6688. },
  6689. "erms3.QueryUserInfosRsp": {
  6690. "type": "object",
  6691. "required": [
  6692. "userid"
  6693. ],
  6694. "properties": {
  6695. "biznature": {
  6696. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6697. "type": "integer"
  6698. },
  6699. "contactname": {
  6700. "description": "联系人",
  6701. "type": "string"
  6702. },
  6703. "customername": {
  6704. "description": "客户名称(企业名称)",
  6705. "type": "string"
  6706. },
  6707. "userid": {
  6708. "description": "用户ID",
  6709. "type": "integer"
  6710. },
  6711. "userinfotype": {
  6712. "description": "用户信息类型 - 1:个人 2:企业",
  6713. "type": "integer"
  6714. },
  6715. "userstatus": {
  6716. "description": "用户状态 - 1:正常 2:注销",
  6717. "type": "integer"
  6718. }
  6719. }
  6720. },
  6721. "erms3.SoptContractDetail": {
  6722. "type": "object",
  6723. "required": [
  6724. "deliverygoodsid",
  6725. "producttype",
  6726. "unitname",
  6727. "warehouseid",
  6728. "wrstandardid",
  6729. "wrstandardname"
  6730. ],
  6731. "properties": {
  6732. "deliverygoodsdesc": {
  6733. "description": "现货品种说明",
  6734. "type": "string"
  6735. },
  6736. "deliverygoodsid": {
  6737. "description": "现货品种ID",
  6738. "type": "integer"
  6739. },
  6740. "deliverygoodsname": {
  6741. "description": "现货品种名称",
  6742. "type": "string"
  6743. },
  6744. "pointdesc": {
  6745. "description": "点价描述",
  6746. "type": "string"
  6747. },
  6748. "producttype": {
  6749. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  6750. "type": "integer"
  6751. },
  6752. "producttypename": {
  6753. "description": "产品类型名称",
  6754. "type": "string"
  6755. },
  6756. "spotPointOrderVoList": {
  6757. "description": "点价列表",
  6758. "type": "array",
  6759. "items": {
  6760. "$ref": "#/definitions/erms3.SpotPointOrder"
  6761. }
  6762. },
  6763. "spotPriceOrderList": {
  6764. "description": "定价列表",
  6765. "type": "array",
  6766. "items": {
  6767. "$ref": "#/definitions/erms3.SpotPriceOrder"
  6768. }
  6769. },
  6770. "unitname": {
  6771. "description": "单位名称",
  6772. "type": "string"
  6773. },
  6774. "warehouseid": {
  6775. "description": "仓库ID",
  6776. "type": "integer"
  6777. },
  6778. "warehousename": {
  6779. "description": "仓库名称",
  6780. "type": "string"
  6781. },
  6782. "wrstandardid": {
  6783. "description": "交易标的ID",
  6784. "type": "integer"
  6785. },
  6786. "wrstandardname": {
  6787. "description": "交易标的名称",
  6788. "type": "string"
  6789. }
  6790. }
  6791. },
  6792. "erms3.SpotPointOrder": {
  6793. "type": "object",
  6794. "required": [
  6795. "basic",
  6796. "goodsid",
  6797. "qty"
  6798. ],
  6799. "properties": {
  6800. "basic": {
  6801. "description": "基差",
  6802. "type": "number"
  6803. },
  6804. "deliveryenddate": {
  6805. "description": "交收结束日期",
  6806. "type": "string"
  6807. },
  6808. "deliverystartdate": {
  6809. "description": "交收开始日期",
  6810. "type": "string"
  6811. },
  6812. "enddate": {
  6813. "description": "点价结束日期",
  6814. "type": "string"
  6815. },
  6816. "goodsid": {
  6817. "description": "商品ID",
  6818. "type": "integer"
  6819. },
  6820. "goodsname": {
  6821. "description": "商品名称",
  6822. "type": "string"
  6823. },
  6824. "qty": {
  6825. "description": "数量",
  6826. "type": "number"
  6827. },
  6828. "startdate": {
  6829. "description": "点价开始日期",
  6830. "type": "string"
  6831. }
  6832. }
  6833. },
  6834. "erms3.SpotPriceOrder": {
  6835. "type": "object",
  6836. "required": [
  6837. "amount",
  6838. "price",
  6839. "qty"
  6840. ],
  6841. "properties": {
  6842. "amount": {
  6843. "description": "金额",
  6844. "type": "number"
  6845. },
  6846. "deliveryenddate": {
  6847. "description": "交收结束日期",
  6848. "type": "string"
  6849. },
  6850. "deliverystartdate": {
  6851. "description": "交收开始日期",
  6852. "type": "string"
  6853. },
  6854. "price": {
  6855. "description": "价格",
  6856. "type": "number"
  6857. },
  6858. "qty": {
  6859. "description": "数量",
  6860. "type": "number"
  6861. }
  6862. }
  6863. },
  6864. "hsby.GetHsbyMyCountRsp": {
  6865. "type": "object",
  6866. "properties": {
  6867. "myCouponCount": {
  6868. "description": "我的优惠卷数量",
  6869. "type": "integer"
  6870. },
  6871. "myOrderDetailListingCount": {
  6872. "description": "我的订单求购中数量",
  6873. "type": "integer"
  6874. },
  6875. "myOrderDetailPreCount": {
  6876. "description": "我的订单抢购中数量",
  6877. "type": "integer"
  6878. },
  6879. "myPackageUnReceiveCount": {
  6880. "description": "我的包裹待收货数量",
  6881. "type": "integer"
  6882. },
  6883. "myPackageUnSendCount": {
  6884. "description": "我的包裹待发货数量",
  6885. "type": "integer"
  6886. },
  6887. "myPayOrderCount": {
  6888. "description": "我的订单待付款数量",
  6889. "type": "integer"
  6890. }
  6891. }
  6892. },
  6893. "hsby.QueryProvincesAndCitiesRsp": {
  6894. "type": "object",
  6895. "properties": {
  6896. "cities": {
  6897. "description": "市",
  6898. "type": "array",
  6899. "items": {
  6900. "$ref": "#/definitions/models.Division"
  6901. }
  6902. },
  6903. "province": {
  6904. "description": "省",
  6905. "$ref": "#/definitions/models.Division"
  6906. }
  6907. }
  6908. },
  6909. "models.Division": {
  6910. "type": "object",
  6911. "required": [
  6912. "autoid",
  6913. "divisioncode"
  6914. ],
  6915. "properties": {
  6916. "autoid": {
  6917. "description": "自增ID",
  6918. "type": "integer"
  6919. },
  6920. "divisioncode": {
  6921. "description": "行政代码",
  6922. "type": "string"
  6923. },
  6924. "divisionlevel": {
  6925. "description": "行政级别",
  6926. "type": "string"
  6927. },
  6928. "divisionname": {
  6929. "description": "行政名称",
  6930. "type": "string"
  6931. },
  6932. "modifierid": {
  6933. "description": "修改人",
  6934. "type": "integer"
  6935. },
  6936. "modifytime": {
  6937. "description": "修改时间",
  6938. "type": "string"
  6939. },
  6940. "parentcode": {
  6941. "description": "上级行政代码",
  6942. "type": "string"
  6943. },
  6944. "pathname": {
  6945. "description": "路径名称",
  6946. "type": "string"
  6947. },
  6948. "postcode": {
  6949. "description": "邮政编码",
  6950. "type": "string"
  6951. },
  6952. "separablename": {
  6953. "description": "可拆分的全称",
  6954. "type": "string"
  6955. },
  6956. "shortcode": {
  6957. "description": "地区简码",
  6958. "type": "string"
  6959. }
  6960. }
  6961. },
  6962. "models.Enumdicitem": {
  6963. "type": "object",
  6964. "required": [
  6965. "autoid",
  6966. "enumdiccode",
  6967. "enumdicid",
  6968. "enumitemname"
  6969. ],
  6970. "properties": {
  6971. "autoid": {
  6972. "description": "自增ID",
  6973. "type": "integer"
  6974. },
  6975. "bankmappedvalue": {
  6976. "description": "银行服务对应值",
  6977. "type": "string"
  6978. },
  6979. "enumdiccode": {
  6980. "description": "所属枚举代码",
  6981. "type": "string"
  6982. },
  6983. "enumdicid": {
  6984. "description": "所属枚举ID",
  6985. "type": "integer"
  6986. },
  6987. "enumdicname": {
  6988. "description": "枚举项名称",
  6989. "type": "string"
  6990. },
  6991. "enumitemname": {
  6992. "description": "枚举项值",
  6993. "type": "integer"
  6994. },
  6995. "enumitemstatus": {
  6996. "description": "枚举项状态 - 1.启用 2.不启用",
  6997. "type": "integer"
  6998. },
  6999. "enumitemvalue": {
  7000. "description": "通用值 - [币种通用简写]",
  7001. "type": "string"
  7002. },
  7003. "param1": {
  7004. "description": "参数1[币种:币种小数位]",
  7005. "type": "string"
  7006. },
  7007. "param2": {
  7008. "description": "参数1[币种:币种显示单位]",
  7009. "type": "string"
  7010. },
  7011. "remark": {
  7012. "description": "备注",
  7013. "type": "string"
  7014. }
  7015. }
  7016. },
  7017. "models.GoodsIDAndName": {
  7018. "type": "object",
  7019. "required": [
  7020. "goodscode",
  7021. "goodsid",
  7022. "goodsname",
  7023. "marketid"
  7024. ],
  7025. "properties": {
  7026. "goodscode": {
  7027. "description": "商品代码(内部)",
  7028. "type": "string"
  7029. },
  7030. "goodsid": {
  7031. "description": "商品ID(自增ID SEQ_GOODS)",
  7032. "type": "integer"
  7033. },
  7034. "goodsname": {
  7035. "description": "商品名称",
  7036. "type": "string"
  7037. },
  7038. "marketid": {
  7039. "description": "所属市场ID",
  7040. "type": "integer"
  7041. }
  7042. }
  7043. },
  7044. "models.HsbyBuyMyPayOrder": {
  7045. "type": "object",
  7046. "required": [
  7047. "goodscode",
  7048. "goodsname",
  7049. "tradeid",
  7050. "trademode"
  7051. ],
  7052. "properties": {
  7053. "agreeunit": {
  7054. "description": "合约单位",
  7055. "type": "number"
  7056. },
  7057. "buyaccountid": {
  7058. "description": "买方账号ID[报价币种]",
  7059. "type": "integer"
  7060. },
  7061. "buyorderid": {
  7062. "description": "买方委托单号",
  7063. "type": "string"
  7064. },
  7065. "createtime": {
  7066. "description": "创建时间",
  7067. "type": "string"
  7068. },
  7069. "currencysign": {
  7070. "description": "货币符号",
  7071. "type": "string"
  7072. },
  7073. "decimalplace": {
  7074. "description": "报价小数位",
  7075. "type": "integer"
  7076. },
  7077. "goodscode": {
  7078. "description": "商品代码(内部)",
  7079. "type": "string"
  7080. },
  7081. "goodsid": {
  7082. "description": "商品ID",
  7083. "type": "integer"
  7084. },
  7085. "goodsname": {
  7086. "description": "商品名称",
  7087. "type": "string"
  7088. },
  7089. "marketid": {
  7090. "description": "市场ID",
  7091. "type": "integer"
  7092. },
  7093. "offamount": {
  7094. "description": "优惠金额",
  7095. "type": "number"
  7096. },
  7097. "payamount": {
  7098. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  7099. "type": "number"
  7100. },
  7101. "payflag": {
  7102. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7103. "type": "integer"
  7104. },
  7105. "paylimitedtime": {
  7106. "description": "支付期限",
  7107. "type": "string"
  7108. },
  7109. "paytime": {
  7110. "description": "付款时间",
  7111. "type": "string"
  7112. },
  7113. "picurls1": {
  7114. "description": "预售商品介绍图片[多张用逗号分隔]",
  7115. "type": "string"
  7116. },
  7117. "picurls2": {
  7118. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  7119. "type": "string"
  7120. },
  7121. "sellaccountid": {
  7122. "description": "卖方账号ID[报价币种]",
  7123. "type": "integer"
  7124. },
  7125. "sellorderid": {
  7126. "description": "卖方委托单号",
  7127. "type": "string"
  7128. },
  7129. "tradeamount": {
  7130. "description": "成交金额",
  7131. "type": "number"
  7132. },
  7133. "tradecharge": {
  7134. "description": "成交手续费(买方)",
  7135. "type": "number"
  7136. },
  7137. "tradedate": {
  7138. "description": "交易日(yyyyMMdd)",
  7139. "type": "string"
  7140. },
  7141. "tradeid": {
  7142. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7143. "type": "string"
  7144. },
  7145. "trademode": {
  7146. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7147. "type": "integer"
  7148. },
  7149. "tradeprice": {
  7150. "description": "成交价格",
  7151. "type": "number"
  7152. },
  7153. "tradeqty": {
  7154. "description": "成交数量",
  7155. "type": "integer"
  7156. },
  7157. "vendorname1": {
  7158. "description": "预售商品供应商名称",
  7159. "type": "string"
  7160. },
  7161. "vendorname2": {
  7162. "description": "挂牌商品供应商名称",
  7163. "type": "string"
  7164. }
  7165. }
  7166. },
  7167. "models.HsbyBuyMyTradeDetail": {
  7168. "type": "object",
  7169. "required": [
  7170. "accountid",
  7171. "buyorsell",
  7172. "goodscode",
  7173. "goodsid",
  7174. "goodsname",
  7175. "marketid",
  7176. "orderid",
  7177. "qty",
  7178. "time",
  7179. "trademode"
  7180. ],
  7181. "properties": {
  7182. "accountid": {
  7183. "description": "账户ID[报价币种]",
  7184. "type": "integer"
  7185. },
  7186. "agreeunit": {
  7187. "description": "合约单位",
  7188. "type": "number"
  7189. },
  7190. "amount": {
  7191. "description": "金额 = 价格 * 数量 * 合约单位",
  7192. "type": "number"
  7193. },
  7194. "buyorsell": {
  7195. "description": "买卖 - 0:买 1:卖",
  7196. "type": "integer"
  7197. },
  7198. "currencysign": {
  7199. "description": "货币符号",
  7200. "type": "string"
  7201. },
  7202. "decimalplace": {
  7203. "description": "报价小数位",
  7204. "type": "integer"
  7205. },
  7206. "goodscode": {
  7207. "description": "商品代码(内部)",
  7208. "type": "string"
  7209. },
  7210. "goodsid": {
  7211. "description": "商品ID",
  7212. "type": "integer"
  7213. },
  7214. "goodsname": {
  7215. "description": "商品名称",
  7216. "type": "string"
  7217. },
  7218. "marketid": {
  7219. "description": "市场ID",
  7220. "type": "integer"
  7221. },
  7222. "orderid": {
  7223. "description": "单号(成交单号)",
  7224. "type": "string"
  7225. },
  7226. "picurls1": {
  7227. "description": "预售商品介绍图片[多张用逗号分隔]",
  7228. "type": "string"
  7229. },
  7230. "picurls2": {
  7231. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  7232. "type": "string"
  7233. },
  7234. "price": {
  7235. "description": "价格",
  7236. "type": "number"
  7237. },
  7238. "qty": {
  7239. "description": "数量",
  7240. "type": "integer"
  7241. },
  7242. "time": {
  7243. "description": "时间",
  7244. "type": "string"
  7245. },
  7246. "trademode": {
  7247. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7248. "type": "integer"
  7249. },
  7250. "vendorname1": {
  7251. "description": "预售商品供应商名称",
  7252. "type": "string"
  7253. },
  7254. "vendorname2": {
  7255. "description": "挂牌商品供应商名称",
  7256. "type": "string"
  7257. }
  7258. }
  7259. },
  7260. "models.HsbyGoodsOrderDetail": {
  7261. "type": "object",
  7262. "required": [
  7263. "buyorsell",
  7264. "orderid",
  7265. "ordertime"
  7266. ],
  7267. "properties": {
  7268. "buyorsell": {
  7269. "description": "买卖 - 0:买 1:卖",
  7270. "type": "integer"
  7271. },
  7272. "currencysign": {
  7273. "description": "货币符号",
  7274. "type": "string"
  7275. },
  7276. "customername": {
  7277. "description": "客户名称(企业名称),已脱敏",
  7278. "type": "string"
  7279. },
  7280. "enableqty": {
  7281. "description": "可用数量",
  7282. "type": "integer"
  7283. },
  7284. "goodunit": {
  7285. "description": "报价单位",
  7286. "type": "string"
  7287. },
  7288. "orderid": {
  7289. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7290. "type": "string"
  7291. },
  7292. "orderprice": {
  7293. "description": "委托价格",
  7294. "type": "number"
  7295. },
  7296. "ordertime": {
  7297. "description": "委托时间",
  7298. "type": "string"
  7299. }
  7300. }
  7301. },
  7302. "models.HsbyListingGoodsDetail": {
  7303. "type": "object",
  7304. "required": [
  7305. "goodscode",
  7306. "goodsid",
  7307. "goodsname",
  7308. "marketid",
  7309. "trademode"
  7310. ],
  7311. "properties": {
  7312. "agreeunit": {
  7313. "description": "合约单位",
  7314. "type": "number"
  7315. },
  7316. "currency": {
  7317. "description": "货币",
  7318. "type": "string"
  7319. },
  7320. "currencysign": {
  7321. "description": "货币符号",
  7322. "type": "string"
  7323. },
  7324. "decimalplace": {
  7325. "description": "报价小数位",
  7326. "type": "integer"
  7327. },
  7328. "desccityid": {
  7329. "description": "目的地(市)ID",
  7330. "type": "integer"
  7331. },
  7332. "descprovinceid": {
  7333. "description": "目的地(省)ID",
  7334. "type": "integer"
  7335. },
  7336. "goodscode": {
  7337. "description": "商品代码(内部)",
  7338. "type": "string"
  7339. },
  7340. "goodsdesc": {
  7341. "description": "商品详情",
  7342. "type": "string"
  7343. },
  7344. "goodsid": {
  7345. "description": "商品ID(自增ID SEQ_GOODS)",
  7346. "type": "integer"
  7347. },
  7348. "goodsname": {
  7349. "description": "商品名称",
  7350. "type": "string"
  7351. },
  7352. "goodsprice": {
  7353. "description": "商品价格",
  7354. "type": "number"
  7355. },
  7356. "hotindex": {
  7357. "description": "景点热度",
  7358. "type": "integer"
  7359. },
  7360. "last": {
  7361. "description": "现价",
  7362. "type": "number"
  7363. },
  7364. "limitdown": {
  7365. "description": "跌停价",
  7366. "type": "number"
  7367. },
  7368. "limitup": {
  7369. "description": "涨停价",
  7370. "type": "number"
  7371. },
  7372. "lotsize": {
  7373. "description": "手数最小变动单位",
  7374. "type": "integer"
  7375. },
  7376. "marketid": {
  7377. "description": "所属市场ID",
  7378. "type": "integer"
  7379. },
  7380. "picurls": {
  7381. "description": "介绍图片[多张用逗号分隔]",
  7382. "type": "string"
  7383. },
  7384. "quoteminunit": {
  7385. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7386. "type": "integer"
  7387. },
  7388. "stepvalue": {
  7389. "description": "价格最小变动单位",
  7390. "type": "number"
  7391. },
  7392. "trademode": {
  7393. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7394. "type": "integer"
  7395. },
  7396. "vendorattr": {
  7397. "description": "供应商附件(多张,逗号分隔)",
  7398. "type": "string"
  7399. },
  7400. "vendorname": {
  7401. "description": "供应商名称",
  7402. "type": "string"
  7403. },
  7404. "vendorphone": {
  7405. "description": "供应商客服电话",
  7406. "type": "string"
  7407. },
  7408. "videourls": {
  7409. "description": "介绍视频[多张用逗号分隔]",
  7410. "type": "string"
  7411. }
  7412. }
  7413. },
  7414. "models.HsbyMarketGoods": {
  7415. "type": "object",
  7416. "required": [
  7417. "accountid",
  7418. "buyorsell",
  7419. "goodscode",
  7420. "goodsid",
  7421. "goodsname",
  7422. "marketid",
  7423. "orderid",
  7424. "trademode"
  7425. ],
  7426. "properties": {
  7427. "accountid": {
  7428. "description": "账户ID[报价币种]",
  7429. "type": "integer"
  7430. },
  7431. "agreeunit": {
  7432. "description": "合约单位",
  7433. "type": "number"
  7434. },
  7435. "buyorsell": {
  7436. "description": "买卖 - 0:买 1:卖",
  7437. "type": "integer"
  7438. },
  7439. "categoryid": {
  7440. "description": "类别ID(WRCATEGORY)",
  7441. "type": "integer"
  7442. },
  7443. "currency": {
  7444. "description": "货币",
  7445. "type": "string"
  7446. },
  7447. "currencysign": {
  7448. "description": "货币符号",
  7449. "type": "string"
  7450. },
  7451. "customername": {
  7452. "description": "卖家名称",
  7453. "type": "string"
  7454. },
  7455. "decimalplace": {
  7456. "description": "报价小数位",
  7457. "type": "integer"
  7458. },
  7459. "goodscode": {
  7460. "description": "商品代码(内部)",
  7461. "type": "string"
  7462. },
  7463. "goodsid": {
  7464. "description": "商品ID",
  7465. "type": "integer"
  7466. },
  7467. "goodsname": {
  7468. "description": "商品名称",
  7469. "type": "string"
  7470. },
  7471. "hascoupon": {
  7472. "description": "是否可用优惠卷",
  7473. "type": "boolean"
  7474. },
  7475. "hotindex": {
  7476. "description": "景点热度",
  7477. "type": "integer"
  7478. },
  7479. "marketid": {
  7480. "description": "市场ID",
  7481. "type": "integer"
  7482. },
  7483. "orderid": {
  7484. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7485. "type": "string"
  7486. },
  7487. "orderprice": {
  7488. "description": "委托价格",
  7489. "type": "number"
  7490. },
  7491. "orderstatus": {
  7492. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7493. "type": "integer"
  7494. },
  7495. "picurls": {
  7496. "description": "介绍图片[多张用逗号分隔]",
  7497. "type": "string"
  7498. },
  7499. "quoteminunit": {
  7500. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7501. "type": "integer"
  7502. },
  7503. "sellUserID": {
  7504. "description": "卖方UserID",
  7505. "type": "integer"
  7506. },
  7507. "trademode": {
  7508. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7509. "type": "integer"
  7510. },
  7511. "videourls": {
  7512. "description": "介绍视频[多张用逗号分隔]",
  7513. "type": "string"
  7514. }
  7515. }
  7516. },
  7517. "models.HsbyMarketGoodsDetail": {
  7518. "type": "object",
  7519. "required": [
  7520. "accountid",
  7521. "buyorsell",
  7522. "goodscode",
  7523. "goodsid",
  7524. "goodsname",
  7525. "marketid",
  7526. "orderid",
  7527. "orderqty",
  7528. "trademode"
  7529. ],
  7530. "properties": {
  7531. "accountid": {
  7532. "description": "账户ID[报价币种]",
  7533. "type": "integer"
  7534. },
  7535. "agreeunit": {
  7536. "description": "合约单位",
  7537. "type": "number"
  7538. },
  7539. "buyorsell": {
  7540. "description": "买卖 - 0:买 1:卖",
  7541. "type": "integer"
  7542. },
  7543. "cancelqty": {
  7544. "description": "撤单数量",
  7545. "type": "integer"
  7546. },
  7547. "categoryid": {
  7548. "description": "类别ID(WRCATEGORY)",
  7549. "type": "integer"
  7550. },
  7551. "currency": {
  7552. "description": "货币",
  7553. "type": "string"
  7554. },
  7555. "currencysign": {
  7556. "description": "货币符号",
  7557. "type": "string"
  7558. },
  7559. "customername": {
  7560. "description": "卖家名称",
  7561. "type": "string"
  7562. },
  7563. "decimalplace": {
  7564. "description": "报价小数位",
  7565. "type": "integer"
  7566. },
  7567. "goodscode": {
  7568. "description": "商品代码(内部)",
  7569. "type": "string"
  7570. },
  7571. "goodsdesc": {
  7572. "description": "商品详情",
  7573. "type": "string"
  7574. },
  7575. "goodsid": {
  7576. "description": "商品ID",
  7577. "type": "integer"
  7578. },
  7579. "goodsname": {
  7580. "description": "商品名称",
  7581. "type": "string"
  7582. },
  7583. "hotindex": {
  7584. "description": "景点热度",
  7585. "type": "integer"
  7586. },
  7587. "marketid": {
  7588. "description": "市场ID",
  7589. "type": "integer"
  7590. },
  7591. "orderid": {
  7592. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7593. "type": "string"
  7594. },
  7595. "orderprice": {
  7596. "description": "委托价格",
  7597. "type": "number"
  7598. },
  7599. "orderqty": {
  7600. "description": "委托数量",
  7601. "type": "integer"
  7602. },
  7603. "orderstatus": {
  7604. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7605. "type": "integer"
  7606. },
  7607. "picurls": {
  7608. "description": "介绍图片[多张用逗号分隔]",
  7609. "type": "string"
  7610. },
  7611. "quoteminunit": {
  7612. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7613. "type": "integer"
  7614. },
  7615. "sellUserID": {
  7616. "description": "卖方UserID",
  7617. "type": "integer"
  7618. },
  7619. "trademode": {
  7620. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7621. "type": "integer"
  7622. },
  7623. "tradeqty": {
  7624. "description": "成交数量",
  7625. "type": "integer"
  7626. },
  7627. "vendorname": {
  7628. "description": "供应商名称",
  7629. "type": "string"
  7630. },
  7631. "videourls": {
  7632. "description": "介绍视频[多张用逗号分隔]",
  7633. "type": "string"
  7634. }
  7635. }
  7636. },
  7637. "models.HsbyMarketInfo": {
  7638. "type": "object",
  7639. "required": [
  7640. "marketid",
  7641. "marketstatus",
  7642. "trademode"
  7643. ],
  7644. "properties": {
  7645. "marketid": {
  7646. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  7647. "type": "integer"
  7648. },
  7649. "marketname": {
  7650. "description": "市场名称",
  7651. "type": "string"
  7652. },
  7653. "marketstatus": {
  7654. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  7655. "type": "integer"
  7656. },
  7657. "trademode": {
  7658. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7659. "type": "integer"
  7660. }
  7661. }
  7662. },
  7663. "models.HsbyMyGoods": {
  7664. "type": "object",
  7665. "required": [
  7666. "accountid",
  7667. "goodscode",
  7668. "goodsid",
  7669. "goodsname",
  7670. "marketid",
  7671. "trademode"
  7672. ],
  7673. "properties": {
  7674. "accountid": {
  7675. "description": "账号Id",
  7676. "type": "integer"
  7677. },
  7678. "agreeunit": {
  7679. "description": "合约单位",
  7680. "type": "number"
  7681. },
  7682. "buyaverageprice": {
  7683. "description": "持仓均价",
  7684. "type": "number"
  7685. },
  7686. "buycurholderamount": {
  7687. "description": "买当前持仓总金额[商品币种]",
  7688. "type": "number"
  7689. },
  7690. "buycurpositionqty": {
  7691. "description": "买当前持仓总数量",
  7692. "type": "integer"
  7693. },
  7694. "currencysign": {
  7695. "description": "货币符号",
  7696. "type": "string"
  7697. },
  7698. "decimalplace": {
  7699. "description": "报价小数位",
  7700. "type": "integer"
  7701. },
  7702. "enableqty": {
  7703. "description": "可用数量",
  7704. "type": "integer"
  7705. },
  7706. "goodscode": {
  7707. "description": "商品代码(内部)",
  7708. "type": "string"
  7709. },
  7710. "goodsid": {
  7711. "description": "商品Id",
  7712. "type": "integer"
  7713. },
  7714. "goodsname": {
  7715. "description": "商品名称",
  7716. "type": "string"
  7717. },
  7718. "goodsprice": {
  7719. "description": "商品价格",
  7720. "type": "number"
  7721. },
  7722. "goodsstatus": {
  7723. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  7724. "type": "integer"
  7725. },
  7726. "marketid": {
  7727. "description": "所属市场ID",
  7728. "type": "integer"
  7729. },
  7730. "picurls": {
  7731. "description": "介绍图片[多张用逗号分隔]",
  7732. "type": "string"
  7733. },
  7734. "trademode": {
  7735. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7736. "type": "integer"
  7737. }
  7738. }
  7739. },
  7740. "models.HsbyMyPackage": {
  7741. "type": "object",
  7742. "required": [
  7743. "goodscode",
  7744. "goodsname",
  7745. "takeorderid"
  7746. ],
  7747. "properties": {
  7748. "accountid": {
  7749. "description": "账户ID",
  7750. "type": "integer"
  7751. },
  7752. "address": {
  7753. "description": "提货人详细地址",
  7754. "type": "string"
  7755. },
  7756. "agreeunit": {
  7757. "description": "合约单位",
  7758. "type": "number"
  7759. },
  7760. "amount": {
  7761. "description": "提货金额",
  7762. "type": "number"
  7763. },
  7764. "auditer": {
  7765. "description": "审核人",
  7766. "type": "integer"
  7767. },
  7768. "audittime": {
  7769. "description": "审核时间",
  7770. "type": "string"
  7771. },
  7772. "averageprice": {
  7773. "description": "均价",
  7774. "type": "number"
  7775. },
  7776. "cardnum": {
  7777. "description": "提货人证件号码",
  7778. "type": "string"
  7779. },
  7780. "cardtypeid": {
  7781. "description": "提货人证件类型",
  7782. "type": "integer"
  7783. },
  7784. "checkremark": {
  7785. "description": "审核备注",
  7786. "type": "string"
  7787. },
  7788. "currencysign": {
  7789. "description": "货币符号",
  7790. "type": "string"
  7791. },
  7792. "decimalplace": {
  7793. "description": "报价小数位",
  7794. "type": "integer"
  7795. },
  7796. "goodscode": {
  7797. "description": "商品代码(内部)",
  7798. "type": "string"
  7799. },
  7800. "goodsid": {
  7801. "description": "商品ID",
  7802. "type": "integer"
  7803. },
  7804. "goodsname": {
  7805. "description": "商品名称",
  7806. "type": "string"
  7807. },
  7808. "handlestatus": {
  7809. "description": "处理状态",
  7810. "type": "integer"
  7811. },
  7812. "marketid": {
  7813. "description": "市场ID",
  7814. "type": "integer"
  7815. },
  7816. "phonenum": {
  7817. "description": "提货人联系方式",
  7818. "type": "string"
  7819. },
  7820. "picurls": {
  7821. "description": "介绍图片[多张用逗号分隔]",
  7822. "type": "string"
  7823. },
  7824. "qty": {
  7825. "description": "提货数量",
  7826. "type": "number"
  7827. },
  7828. "recivername": {
  7829. "description": "提货人姓名",
  7830. "type": "string"
  7831. },
  7832. "reqtime": {
  7833. "description": "更新时间",
  7834. "type": "string"
  7835. },
  7836. "takemode": {
  7837. "description": "提货方式 - 2:自提 3:配送",
  7838. "type": "integer"
  7839. },
  7840. "takeorderid": {
  7841. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  7842. "type": "string"
  7843. },
  7844. "takeorderstatus": {
  7845. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7846. "type": "integer"
  7847. },
  7848. "takeremark": {
  7849. "description": "提货备注",
  7850. "type": "string"
  7851. },
  7852. "tradedate": {
  7853. "description": "交易日(yyyyMMdd)",
  7854. "type": "string"
  7855. },
  7856. "userid": {
  7857. "description": "用户ID",
  7858. "type": "integer"
  7859. },
  7860. "vendorname": {
  7861. "description": "供应商名称",
  7862. "type": "string"
  7863. }
  7864. }
  7865. },
  7866. "models.HsbyPreGoods": {
  7867. "type": "object",
  7868. "required": [
  7869. "goodscode",
  7870. "goodsid",
  7871. "goodsname",
  7872. "marketid",
  7873. "trademode"
  7874. ],
  7875. "properties": {
  7876. "agreeunit": {
  7877. "description": "合约单位",
  7878. "type": "number"
  7879. },
  7880. "currency": {
  7881. "description": "货币",
  7882. "type": "string"
  7883. },
  7884. "currencysign": {
  7885. "description": "货币符号",
  7886. "type": "string"
  7887. },
  7888. "decimalplace": {
  7889. "description": "报价小数位",
  7890. "type": "integer"
  7891. },
  7892. "enableqty": {
  7893. "description": "剩余数量",
  7894. "type": "integer"
  7895. },
  7896. "goodscode": {
  7897. "description": "商品代码(内部)",
  7898. "type": "string"
  7899. },
  7900. "goodsid": {
  7901. "description": "商品ID(自增ID SEQ_GOODS)",
  7902. "type": "integer"
  7903. },
  7904. "goodsname": {
  7905. "description": "商品名称",
  7906. "type": "string"
  7907. },
  7908. "goodsstatus": {
  7909. "description": "商品状态- 2:未上市 3:上市",
  7910. "type": "integer"
  7911. },
  7912. "lasttradedate": {
  7913. "description": "最后交易日期(状态:待退市)",
  7914. "type": "string"
  7915. },
  7916. "listingdate": {
  7917. "description": "交易开始日期",
  7918. "type": "string"
  7919. },
  7920. "marketid": {
  7921. "description": "所属市场ID",
  7922. "type": "integer"
  7923. },
  7924. "picurls": {
  7925. "description": "介绍图片[多张用逗号分隔]",
  7926. "type": "string"
  7927. },
  7928. "presaledqty": {
  7929. "description": "已预售量(预售结束时更新)",
  7930. "type": "integer"
  7931. },
  7932. "presaleqty": {
  7933. "description": "预售数量",
  7934. "type": "integer"
  7935. },
  7936. "quoteminunit": {
  7937. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7938. "type": "integer"
  7939. },
  7940. "refprice": {
  7941. "description": "参考价格[一口价]",
  7942. "type": "number"
  7943. },
  7944. "relatedgoodsid": {
  7945. "description": "关联交易合约ID",
  7946. "type": "integer"
  7947. },
  7948. "trademode": {
  7949. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7950. "type": "integer"
  7951. },
  7952. "videourls": {
  7953. "description": "介绍视频[多张用逗号分隔]",
  7954. "type": "string"
  7955. }
  7956. }
  7957. },
  7958. "models.HsbyPreGoodsDetail": {
  7959. "type": "object",
  7960. "required": [
  7961. "goodscode",
  7962. "goodsid",
  7963. "goodsname",
  7964. "marketid",
  7965. "trademode"
  7966. ],
  7967. "properties": {
  7968. "agreeunit": {
  7969. "description": "合约单位",
  7970. "type": "number"
  7971. },
  7972. "buymaxqty": {
  7973. "description": "购买上限 [71] - 0为不限",
  7974. "type": "integer"
  7975. },
  7976. "currency": {
  7977. "description": "货币",
  7978. "type": "string"
  7979. },
  7980. "currencysign": {
  7981. "description": "货币符号",
  7982. "type": "string"
  7983. },
  7984. "customername": {
  7985. "description": "发行单位",
  7986. "type": "string"
  7987. },
  7988. "decimalplace": {
  7989. "description": "报价小数位",
  7990. "type": "integer"
  7991. },
  7992. "desccityid": {
  7993. "description": "目的地(市)ID",
  7994. "type": "integer"
  7995. },
  7996. "descprovinceid": {
  7997. "description": "目的地(省)ID",
  7998. "type": "integer"
  7999. },
  8000. "enableqty": {
  8001. "description": "剩余数量",
  8002. "type": "integer"
  8003. },
  8004. "goodscode": {
  8005. "description": "商品代码(内部)",
  8006. "type": "string"
  8007. },
  8008. "goodsdesc": {
  8009. "description": "商品详情",
  8010. "type": "string"
  8011. },
  8012. "goodsid": {
  8013. "description": "商品ID(自增ID SEQ_GOODS)",
  8014. "type": "integer"
  8015. },
  8016. "goodsname": {
  8017. "description": "商品名称",
  8018. "type": "string"
  8019. },
  8020. "goodsstatus": {
  8021. "description": "商品状态- 2:未上市 3:上市",
  8022. "type": "integer"
  8023. },
  8024. "goodunit": {
  8025. "description": "报价单位",
  8026. "type": "string"
  8027. },
  8028. "lasttradedate": {
  8029. "description": "最后交易日期(状态:待退市)",
  8030. "type": "string"
  8031. },
  8032. "listingdate": {
  8033. "description": "交易开始日期",
  8034. "type": "string"
  8035. },
  8036. "lotsize": {
  8037. "description": "手数最小变动单位",
  8038. "type": "integer"
  8039. },
  8040. "marketid": {
  8041. "description": "所属市场ID",
  8042. "type": "integer"
  8043. },
  8044. "picurls": {
  8045. "description": "介绍图片[多张用逗号分隔]",
  8046. "type": "string"
  8047. },
  8048. "presaledqty": {
  8049. "description": "已预售量(预售结束时更新)",
  8050. "type": "integer"
  8051. },
  8052. "presaleqty": {
  8053. "description": "预售数量",
  8054. "type": "integer"
  8055. },
  8056. "quoteminunit": {
  8057. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8058. "type": "integer"
  8059. },
  8060. "refprice": {
  8061. "description": "参考价格[一口价]",
  8062. "type": "number"
  8063. },
  8064. "relatedgoodsid": {
  8065. "description": "关联交易合约ID",
  8066. "type": "integer"
  8067. },
  8068. "stepvalue": {
  8069. "description": "价格最小变动单位",
  8070. "type": "number"
  8071. },
  8072. "trademode": {
  8073. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8074. "type": "integer"
  8075. },
  8076. "vendorattr": {
  8077. "description": "供应商附件(多张,逗号分隔)",
  8078. "type": "string"
  8079. },
  8080. "vendorname": {
  8081. "description": "供应商名称",
  8082. "type": "string"
  8083. },
  8084. "vendorphone": {
  8085. "description": "供应商客服电话",
  8086. "type": "string"
  8087. },
  8088. "videourls": {
  8089. "description": "介绍视频[多张用逗号分隔]",
  8090. "type": "string"
  8091. }
  8092. }
  8093. },
  8094. "models.HsbySellCollectionOrder": {
  8095. "type": "object",
  8096. "required": [
  8097. "goodscode",
  8098. "goodsname",
  8099. "tradeid",
  8100. "trademode"
  8101. ],
  8102. "properties": {
  8103. "agreeunit": {
  8104. "description": "合约单位",
  8105. "type": "number"
  8106. },
  8107. "buyaccountid": {
  8108. "description": "买方账号ID[报价币种]",
  8109. "type": "integer"
  8110. },
  8111. "buyorderid": {
  8112. "description": "买方委托单号",
  8113. "type": "string"
  8114. },
  8115. "createtime": {
  8116. "description": "创建时间",
  8117. "type": "string"
  8118. },
  8119. "currencysign": {
  8120. "description": "货币符号",
  8121. "type": "string"
  8122. },
  8123. "decimalplace": {
  8124. "description": "报价小数位",
  8125. "type": "integer"
  8126. },
  8127. "goodscode": {
  8128. "description": "商品代码(内部)",
  8129. "type": "string"
  8130. },
  8131. "goodsid": {
  8132. "description": "商品ID",
  8133. "type": "integer"
  8134. },
  8135. "goodsname": {
  8136. "description": "商品名称",
  8137. "type": "string"
  8138. },
  8139. "marketid": {
  8140. "description": "市场ID",
  8141. "type": "integer"
  8142. },
  8143. "offamount": {
  8144. "description": "优惠金额",
  8145. "type": "number"
  8146. },
  8147. "payamount": {
  8148. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  8149. "type": "number"
  8150. },
  8151. "payflag": {
  8152. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8153. "type": "integer"
  8154. },
  8155. "paylimitedtime": {
  8156. "description": "支付期限",
  8157. "type": "string"
  8158. },
  8159. "paytime": {
  8160. "description": "付款时间",
  8161. "type": "string"
  8162. },
  8163. "picurls": {
  8164. "description": "商品介绍图片[多张用逗号分隔]",
  8165. "type": "string"
  8166. },
  8167. "sellaccountid": {
  8168. "description": "卖方账号ID[报价币种]",
  8169. "type": "integer"
  8170. },
  8171. "sellorderid": {
  8172. "description": "卖方委托单号",
  8173. "type": "string"
  8174. },
  8175. "tradeamount": {
  8176. "description": "成交金额",
  8177. "type": "number"
  8178. },
  8179. "tradecharge": {
  8180. "description": "成交手续费(买方)",
  8181. "type": "number"
  8182. },
  8183. "tradedate": {
  8184. "description": "交易日(yyyyMMdd)",
  8185. "type": "string"
  8186. },
  8187. "tradeid": {
  8188. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8189. "type": "string"
  8190. },
  8191. "trademode": {
  8192. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8193. "type": "integer"
  8194. },
  8195. "tradeprice": {
  8196. "description": "成交价格",
  8197. "type": "number"
  8198. },
  8199. "tradeqty": {
  8200. "description": "成交数量",
  8201. "type": "integer"
  8202. }
  8203. }
  8204. },
  8205. "models.HsbySellMyDetail": {
  8206. "type": "object",
  8207. "required": [
  8208. "accountid",
  8209. "buyorsell",
  8210. "goodscode",
  8211. "goodsid",
  8212. "goodsname",
  8213. "marketid",
  8214. "orderid",
  8215. "time",
  8216. "trademode"
  8217. ],
  8218. "properties": {
  8219. "accountid": {
  8220. "description": "账户ID[报价币种]",
  8221. "type": "integer"
  8222. },
  8223. "agreeunit": {
  8224. "description": "合约单位",
  8225. "type": "number"
  8226. },
  8227. "buyorsell": {
  8228. "description": "买卖 - 0:买 1:卖",
  8229. "type": "integer"
  8230. },
  8231. "currencysign": {
  8232. "description": "货币符号",
  8233. "type": "string"
  8234. },
  8235. "decimalplace": {
  8236. "description": "报价小数位",
  8237. "type": "integer"
  8238. },
  8239. "goodscode": {
  8240. "description": "商品代码(内部)",
  8241. "type": "string"
  8242. },
  8243. "goodsid": {
  8244. "description": "商品ID",
  8245. "type": "integer"
  8246. },
  8247. "goodsname": {
  8248. "description": "商品名称",
  8249. "type": "string"
  8250. },
  8251. "marketid": {
  8252. "description": "市场ID",
  8253. "type": "integer"
  8254. },
  8255. "orderid": {
  8256. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  8257. "type": "string"
  8258. },
  8259. "ordertype": {
  8260. "description": "单据类型:0 - 发布中, 1 - 已完成",
  8261. "type": "integer"
  8262. },
  8263. "picurls": {
  8264. "description": "介绍图片[多张用逗号分隔]",
  8265. "type": "string"
  8266. },
  8267. "price": {
  8268. "description": "价格",
  8269. "type": "number"
  8270. },
  8271. "qty": {
  8272. "description": "数量",
  8273. "type": "integer"
  8274. },
  8275. "time": {
  8276. "description": "时间",
  8277. "type": "string"
  8278. },
  8279. "trademode": {
  8280. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8281. "type": "integer"
  8282. },
  8283. "vendorname": {
  8284. "description": "供应商名称",
  8285. "type": "string"
  8286. }
  8287. }
  8288. },
  8289. "models.HsbyTopGoods": {
  8290. "type": "object",
  8291. "required": [
  8292. "goodscode",
  8293. "goodsid",
  8294. "goodsname",
  8295. "marketid",
  8296. "trademode"
  8297. ],
  8298. "properties": {
  8299. "agreeunit": {
  8300. "description": "合约单位",
  8301. "type": "number"
  8302. },
  8303. "currency": {
  8304. "description": "货币",
  8305. "type": "string"
  8306. },
  8307. "currencysign": {
  8308. "description": "货币符号",
  8309. "type": "string"
  8310. },
  8311. "decimalplace": {
  8312. "description": "报价小数位",
  8313. "type": "integer"
  8314. },
  8315. "goodscode": {
  8316. "description": "商品代码(内部)",
  8317. "type": "string"
  8318. },
  8319. "goodsid": {
  8320. "description": "商品ID(自增ID SEQ_GOODS)",
  8321. "type": "integer"
  8322. },
  8323. "goodsname": {
  8324. "description": "商品名称",
  8325. "type": "string"
  8326. },
  8327. "hotindex": {
  8328. "description": "景点热度",
  8329. "type": "integer"
  8330. },
  8331. "last": {
  8332. "description": "现价",
  8333. "type": "number"
  8334. },
  8335. "marketid": {
  8336. "description": "所属市场ID",
  8337. "type": "integer"
  8338. },
  8339. "picurls": {
  8340. "description": "介绍图片[多张用逗号分隔]",
  8341. "type": "string"
  8342. },
  8343. "quoteminunit": {
  8344. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8345. "type": "integer"
  8346. },
  8347. "trademode": {
  8348. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8349. "type": "integer"
  8350. },
  8351. "videourls": {
  8352. "description": "介绍视频[多张用逗号分隔]",
  8353. "type": "string"
  8354. }
  8355. }
  8356. },
  8357. "models.HybsMyBuyOrderDetail": {
  8358. "type": "object",
  8359. "required": [
  8360. "accountid",
  8361. "buyorsell",
  8362. "goodscode",
  8363. "goodsid",
  8364. "goodsname",
  8365. "marketid",
  8366. "orderid",
  8367. "orderqty",
  8368. "ordertime",
  8369. "trademode"
  8370. ],
  8371. "properties": {
  8372. "accountid": {
  8373. "description": "账户ID[报价币种]",
  8374. "type": "integer"
  8375. },
  8376. "agreeunit": {
  8377. "description": "合约单位",
  8378. "type": "number"
  8379. },
  8380. "buyorsell": {
  8381. "description": "买卖 - 0:买 1:卖",
  8382. "type": "integer"
  8383. },
  8384. "cancelqty": {
  8385. "description": "撤单数量",
  8386. "type": "integer"
  8387. },
  8388. "currencysign": {
  8389. "description": "货币符号",
  8390. "type": "string"
  8391. },
  8392. "decimalplace": {
  8393. "description": "报价小数位",
  8394. "type": "integer"
  8395. },
  8396. "goodscode": {
  8397. "description": "商品代码(内部)",
  8398. "type": "string"
  8399. },
  8400. "goodsid": {
  8401. "description": "商品ID",
  8402. "type": "integer"
  8403. },
  8404. "goodsname": {
  8405. "description": "商品名称",
  8406. "type": "string"
  8407. },
  8408. "listingselecttype": {
  8409. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8410. "type": "integer"
  8411. },
  8412. "marketid": {
  8413. "description": "市场ID",
  8414. "type": "integer"
  8415. },
  8416. "mybuystatus": {
  8417. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  8418. "type": "integer"
  8419. },
  8420. "orderamount": {
  8421. "description": "委托金额",
  8422. "type": "number"
  8423. },
  8424. "orderid": {
  8425. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8426. "type": "string"
  8427. },
  8428. "orderprice": {
  8429. "description": "委托价格",
  8430. "type": "number"
  8431. },
  8432. "orderqty": {
  8433. "description": "委托数量",
  8434. "type": "integer"
  8435. },
  8436. "orderstatus": {
  8437. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8438. "type": "integer"
  8439. },
  8440. "ordertime": {
  8441. "description": "委托时间",
  8442. "type": "string"
  8443. },
  8444. "picurls1": {
  8445. "description": "预售商品介绍图片[多张用逗号分隔]",
  8446. "type": "string"
  8447. },
  8448. "picurls2": {
  8449. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  8450. "type": "string"
  8451. },
  8452. "trademode": {
  8453. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8454. "type": "integer"
  8455. },
  8456. "tradeqty": {
  8457. "description": "成交数量",
  8458. "type": "integer"
  8459. },
  8460. "vendorname1": {
  8461. "description": "预售商品供应商名称",
  8462. "type": "string"
  8463. },
  8464. "vendorname2": {
  8465. "description": "挂牌商品供应商名称",
  8466. "type": "string"
  8467. }
  8468. }
  8469. },
  8470. "models.Marketrun": {
  8471. "type": "object",
  8472. "required": [
  8473. "marketid",
  8474. "nexttradedate",
  8475. "reckonflag",
  8476. "runstatus",
  8477. "tradedate",
  8478. "tradedate2"
  8479. ],
  8480. "properties": {
  8481. "afternexttradedate": {
  8482. "description": "下下交易日",
  8483. "type": "string"
  8484. },
  8485. "clearquoteflag": {
  8486. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  8487. "type": "integer"
  8488. },
  8489. "lastreckondate": {
  8490. "description": "最新交易日(结算成功)",
  8491. "type": "string"
  8492. },
  8493. "machinedate": {
  8494. "description": "机器时间",
  8495. "type": "string"
  8496. },
  8497. "manualflag": {
  8498. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  8499. "type": "integer"
  8500. },
  8501. "marketid": {
  8502. "description": "市场ID",
  8503. "type": "integer"
  8504. },
  8505. "nexttradedate": {
  8506. "description": "下一交易日",
  8507. "type": "string"
  8508. },
  8509. "pretradedate": {
  8510. "description": "上一交易日",
  8511. "type": "string"
  8512. },
  8513. "reckonflag": {
  8514. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  8515. "type": "integer"
  8516. },
  8517. "runstatus": {
  8518. "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.今日免清算",
  8519. "type": "integer"
  8520. },
  8521. "sectionid": {
  8522. "description": "时间段号[多时段时用]",
  8523. "type": "integer"
  8524. },
  8525. "tradedate": {
  8526. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  8527. "type": "string"
  8528. },
  8529. "tradedate2": {
  8530. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  8531. "type": "string"
  8532. },
  8533. "updatetime": {
  8534. "description": "更新时间",
  8535. "type": "string"
  8536. }
  8537. }
  8538. },
  8539. "models.Messageboard": {
  8540. "type": "object",
  8541. "required": [
  8542. "messageboardid"
  8543. ],
  8544. "properties": {
  8545. "createtime": {
  8546. "description": "创建时间",
  8547. "type": "string"
  8548. },
  8549. "message": {
  8550. "description": "留言信息",
  8551. "type": "string"
  8552. },
  8553. "messageboardid": {
  8554. "description": "留言簿ID(SEQ_MessageBoard)",
  8555. "type": "integer"
  8556. },
  8557. "userid": {
  8558. "description": "用户ID",
  8559. "type": "integer"
  8560. }
  8561. }
  8562. },
  8563. "models.MyCoupon": {
  8564. "type": "object",
  8565. "required": [
  8566. "accountid",
  8567. "coupontypeid"
  8568. ],
  8569. "properties": {
  8570. "accountid": {
  8571. "description": "资金账户ID",
  8572. "type": "integer"
  8573. },
  8574. "areauserid": {
  8575. "description": "所属机构",
  8576. "type": "integer"
  8577. },
  8578. "conditionvalue": {
  8579. "description": "条件阈值(可为0)",
  8580. "type": "number"
  8581. },
  8582. "couponcategroy": {
  8583. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  8584. "type": "integer"
  8585. },
  8586. "couponname": {
  8587. "description": "优惠券名称",
  8588. "type": "string"
  8589. },
  8590. "coupontypeid": {
  8591. "description": "优惠券类型ID",
  8592. "type": "string"
  8593. },
  8594. "couponvalue": {
  8595. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  8596. "type": "number"
  8597. },
  8598. "curfreezeqty": {
  8599. "description": "期末冻结数量",
  8600. "type": "integer"
  8601. },
  8602. "curqty": {
  8603. "description": "期末数量",
  8604. "type": "integer"
  8605. },
  8606. "isgeneral": {
  8607. "description": "是否通用券 - 0:否 1:是",
  8608. "type": "integer"
  8609. },
  8610. "isunusable": {
  8611. "description": "是否不可用",
  8612. "type": "boolean"
  8613. },
  8614. "limitedflag": {
  8615. "description": "是否指定商品 - 0:不限 1:限制",
  8616. "type": "integer"
  8617. },
  8618. "limitedgoodsids": {
  8619. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  8620. "type": "string"
  8621. },
  8622. "orifreezeqty": {
  8623. "description": "期初冻结数量",
  8624. "type": "integer"
  8625. },
  8626. "oriqty": {
  8627. "description": "期初数量",
  8628. "type": "integer"
  8629. },
  8630. "reasontype": {
  8631. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  8632. "type": "integer"
  8633. },
  8634. "todaydecrease": {
  8635. "description": "今日减少",
  8636. "type": "integer"
  8637. },
  8638. "todayincrease": {
  8639. "description": "今日增加",
  8640. "type": "integer"
  8641. },
  8642. "userid": {
  8643. "description": "用户ID",
  8644. "type": "integer"
  8645. },
  8646. "userscope": {
  8647. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  8648. "type": "string"
  8649. }
  8650. }
  8651. },
  8652. "models.MyCouponHold": {
  8653. "type": "object",
  8654. "required": [
  8655. "couponholdid"
  8656. ],
  8657. "properties": {
  8658. "accountid": {
  8659. "description": "资金账户ID",
  8660. "type": "integer"
  8661. },
  8662. "conditionvalue": {
  8663. "description": "条件阈值(可为0)",
  8664. "type": "number"
  8665. },
  8666. "couponcategroy": {
  8667. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  8668. "type": "integer"
  8669. },
  8670. "couponholdid": {
  8671. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  8672. "type": "string"
  8673. },
  8674. "couponname": {
  8675. "description": "优惠券名称",
  8676. "type": "string"
  8677. },
  8678. "coupontypeid": {
  8679. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  8680. "type": "string"
  8681. },
  8682. "couponvalue": {
  8683. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  8684. "type": "number"
  8685. },
  8686. "createtime": {
  8687. "description": "创建时间",
  8688. "type": "string"
  8689. },
  8690. "enddate": {
  8691. "description": "结束日期",
  8692. "type": "string"
  8693. },
  8694. "giveapplyid": {
  8695. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  8696. "type": "integer"
  8697. },
  8698. "holdstatus": {
  8699. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  8700. "type": "integer"
  8701. },
  8702. "isgeneral": {
  8703. "description": "是否通用券 - 0:否 1:是",
  8704. "type": "integer"
  8705. },
  8706. "limitedflag": {
  8707. "description": "是否指定商品 - 0:不限 1:限制",
  8708. "type": "integer"
  8709. },
  8710. "limitedgoodsids": {
  8711. "description": "指定商品IDs[逗号分隔]",
  8712. "type": "string"
  8713. },
  8714. "qty": {
  8715. "description": "数量(按1平铺)",
  8716. "type": "integer"
  8717. },
  8718. "startdate": {
  8719. "description": "开始日期",
  8720. "type": "string"
  8721. },
  8722. "userid": {
  8723. "description": "用户ID",
  8724. "type": "integer"
  8725. },
  8726. "userscope": {
  8727. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  8728. "type": "string"
  8729. }
  8730. }
  8731. },
  8732. "models.MyUsedCoupon": {
  8733. "type": "object",
  8734. "required": [
  8735. "coupontypeid",
  8736. "orderid"
  8737. ],
  8738. "properties": {
  8739. "accountid": {
  8740. "description": "资金账户ID(买方)",
  8741. "type": "integer"
  8742. },
  8743. "conditionvalue": {
  8744. "description": "条件阈值(可为0)",
  8745. "type": "number"
  8746. },
  8747. "couponcategroy": {
  8748. "description": "种类 - 1:现金券 2:折扣券",
  8749. "type": "integer"
  8750. },
  8751. "couponname": {
  8752. "description": "优惠券名称",
  8753. "type": "string"
  8754. },
  8755. "coupontypeid": {
  8756. "description": "优惠券类型ID(买方)",
  8757. "type": "string"
  8758. },
  8759. "couponvalue": {
  8760. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  8761. "type": "number"
  8762. },
  8763. "createtime": {
  8764. "description": "创建时间",
  8765. "type": "string"
  8766. },
  8767. "goodsid": {
  8768. "description": "商品ID",
  8769. "type": "integer"
  8770. },
  8771. "handlestatus": {
  8772. "description": "处理状态",
  8773. "type": "integer"
  8774. },
  8775. "marketid": {
  8776. "description": "市场ID",
  8777. "type": "integer"
  8778. },
  8779. "offamount": {
  8780. "description": "优惠金额",
  8781. "type": "number"
  8782. },
  8783. "orderid": {
  8784. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8785. "type": "string"
  8786. },
  8787. "sellaccountid": {
  8788. "description": "资金账户ID(卖方)",
  8789. "type": "integer"
  8790. },
  8791. "tradeamount": {
  8792. "description": "成交金额",
  8793. "type": "number"
  8794. },
  8795. "tradeid": {
  8796. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8797. "type": "string"
  8798. },
  8799. "usedqty": {
  8800. "description": "使用数量",
  8801. "type": "integer"
  8802. }
  8803. }
  8804. },
  8805. "models.OperationPrimaryMenu": {
  8806. "type": "object",
  8807. "properties": {
  8808. "Children": {
  8809. "description": "二级功能菜单",
  8810. "type": "array",
  8811. "items": {
  8812. "$ref": "#/definitions/models.OperationSecondaryMenu"
  8813. }
  8814. },
  8815. "Key": {
  8816. "description": "菜单KEY",
  8817. "type": "string"
  8818. },
  8819. "Label": {
  8820. "description": "菜单标题",
  8821. "type": "string"
  8822. }
  8823. }
  8824. },
  8825. "models.OperationSecondaryMenu": {
  8826. "type": "object",
  8827. "properties": {
  8828. "Key": {
  8829. "description": "菜单KEY",
  8830. "type": "string"
  8831. },
  8832. "Label": {
  8833. "description": "菜单标题",
  8834. "type": "string"
  8835. },
  8836. "TabList": {
  8837. "description": "三级功能菜单",
  8838. "type": "array",
  8839. "items": {
  8840. "$ref": "#/definitions/models.OperationTabMenu"
  8841. }
  8842. }
  8843. }
  8844. },
  8845. "models.OperationTabMenu": {
  8846. "type": "object",
  8847. "properties": {
  8848. "Key": {
  8849. "description": "菜单KEY",
  8850. "type": "string"
  8851. },
  8852. "Label": {
  8853. "description": "菜单标题",
  8854. "type": "string"
  8855. }
  8856. }
  8857. },
  8858. "models.QuotePrimaryMenu": {
  8859. "type": "object",
  8860. "properties": {
  8861. "Index": {
  8862. "description": "序号",
  8863. "type": "integer"
  8864. },
  8865. "Key": {
  8866. "description": "键名",
  8867. "type": "string"
  8868. },
  8869. "Name": {
  8870. "description": "菜单名称",
  8871. "type": "string"
  8872. },
  8873. "SubMenus": {
  8874. "description": "子菜单",
  8875. "type": "array",
  8876. "items": {
  8877. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  8878. }
  8879. },
  8880. "SubTitleType": {
  8881. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  8882. "type": "integer"
  8883. },
  8884. "TradeModes": {
  8885. "description": "包含市场交易类型",
  8886. "type": "string"
  8887. }
  8888. }
  8889. },
  8890. "models.QuoteSecondaryMenu": {
  8891. "type": "object",
  8892. "properties": {
  8893. "ExExchangeCode": {
  8894. "description": "外部交易所代码",
  8895. "type": "string"
  8896. },
  8897. "ExExchangeID": {
  8898. "description": "外部交易所ID",
  8899. "type": "integer"
  8900. },
  8901. "GoodsGroupIDs": {
  8902. "description": "商品组ID列表",
  8903. "type": "array",
  8904. "items": {
  8905. "type": "integer"
  8906. }
  8907. },
  8908. "Index": {
  8909. "description": "序号",
  8910. "type": "integer"
  8911. },
  8912. "MarketID": {
  8913. "description": "市场ID",
  8914. "type": "integer"
  8915. },
  8916. "MenuTitle": {
  8917. "description": "菜单标题(市场名称或外部交易所名称)",
  8918. "type": "string"
  8919. },
  8920. "TradeMode": {
  8921. "description": "交易模式",
  8922. "type": "integer"
  8923. }
  8924. }
  8925. },
  8926. "models.SearchGoods": {
  8927. "type": "object",
  8928. "required": [
  8929. "goodscode",
  8930. "goodsid",
  8931. "goodsname",
  8932. "marketid",
  8933. "trademode"
  8934. ],
  8935. "properties": {
  8936. "goodscode": {
  8937. "description": "商品代码(内部)",
  8938. "type": "string"
  8939. },
  8940. "goodsid": {
  8941. "description": "商品ID(自增ID SEQ_GOODS)",
  8942. "type": "integer"
  8943. },
  8944. "goodsname": {
  8945. "description": "商品名称",
  8946. "type": "string"
  8947. },
  8948. "marketid": {
  8949. "description": "所属市场ID",
  8950. "type": "integer"
  8951. },
  8952. "marketname": {
  8953. "description": "市场名称",
  8954. "type": "string"
  8955. },
  8956. "trademode": {
  8957. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8958. "type": "integer"
  8959. }
  8960. }
  8961. },
  8962. "models.Szdz2imageconfig": {
  8963. "type": "object",
  8964. "required": [
  8965. "configid"
  8966. ],
  8967. "properties": {
  8968. "configid": {
  8969. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  8970. "type": "integer"
  8971. },
  8972. "imagepath": {
  8973. "description": "图片",
  8974. "type": "string"
  8975. },
  8976. "imagetype": {
  8977. "description": "类型 - 1:App首页轮播 2:我的",
  8978. "type": "integer"
  8979. },
  8980. "sort": {
  8981. "description": "排序",
  8982. "type": "integer"
  8983. },
  8984. "title": {
  8985. "description": "标题",
  8986. "type": "string"
  8987. },
  8988. "url": {
  8989. "description": "链接",
  8990. "type": "string"
  8991. }
  8992. }
  8993. },
  8994. "models.Szdz3convertconfig": {
  8995. "type": "object",
  8996. "required": [
  8997. "converttype",
  8998. "innergoodsid",
  8999. "outergoodscode"
  9000. ],
  9001. "properties": {
  9002. "canin": {
  9003. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  9004. "type": "integer"
  9005. },
  9006. "canout": {
  9007. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  9008. "type": "integer"
  9009. },
  9010. "converttype": {
  9011. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  9012. "type": "integer"
  9013. },
  9014. "createtime": {
  9015. "description": "创建时间",
  9016. "type": "string"
  9017. },
  9018. "creatorid": {
  9019. "description": "创建人",
  9020. "type": "integer"
  9021. },
  9022. "daymaxvalue": {
  9023. "description": "当日最大转入限制",
  9024. "type": "number"
  9025. },
  9026. "freezedays": {
  9027. "description": "冻结天数 [5:花生米转交易]",
  9028. "type": "integer"
  9029. },
  9030. "innergoodsid": {
  9031. "description": "内部商品ID[交易]",
  9032. "type": "integer"
  9033. },
  9034. "inratio": {
  9035. "description": "目标值",
  9036. "type": "integer"
  9037. },
  9038. "modifierid": {
  9039. "description": "修改人",
  9040. "type": "integer"
  9041. },
  9042. "modifytime": {
  9043. "description": "修改时间",
  9044. "type": "string"
  9045. },
  9046. "outergoodscode": {
  9047. "description": "外部商品代码[JD\\PD]",
  9048. "type": "string"
  9049. },
  9050. "outratio": {
  9051. "description": "源值",
  9052. "type": "integer"
  9053. },
  9054. "pddecimalplace": {
  9055. "description": "PD小数位",
  9056. "type": "integer"
  9057. },
  9058. "timemaxvalue": {
  9059. "description": "单次最大转入限制",
  9060. "type": "number"
  9061. },
  9062. "timeminvalue": {
  9063. "description": "单次最小转入限制",
  9064. "type": "number"
  9065. }
  9066. }
  9067. },
  9068. "models.Szdz3searchwhitelist": {
  9069. "type": "object",
  9070. "required": [
  9071. "userid"
  9072. ],
  9073. "properties": {
  9074. "createtime": {
  9075. "description": "创建时间",
  9076. "type": "string"
  9077. },
  9078. "creatorid": {
  9079. "description": "创建人",
  9080. "type": "integer"
  9081. },
  9082. "modifierid": {
  9083. "description": "修改人",
  9084. "type": "integer"
  9085. },
  9086. "modifytime": {
  9087. "description": "修改时间",
  9088. "type": "string"
  9089. },
  9090. "userid": {
  9091. "description": "用户ID",
  9092. "type": "integer"
  9093. }
  9094. }
  9095. },
  9096. "models.Tablecolumnconfig": {
  9097. "type": "object",
  9098. "required": [
  9099. "autoid"
  9100. ],
  9101. "properties": {
  9102. "aligntype": {
  9103. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  9104. "type": "integer"
  9105. },
  9106. "autoid": {
  9107. "description": "AutoID",
  9108. "type": "integer"
  9109. },
  9110. "columnfield": {
  9111. "description": "列字段",
  9112. "type": "string"
  9113. },
  9114. "columntitle": {
  9115. "description": "列Title",
  9116. "type": "string"
  9117. },
  9118. "columnwidth": {
  9119. "description": "列宽",
  9120. "type": "string"
  9121. },
  9122. "formatterstring": {
  9123. "description": "格式化字符",
  9124. "type": "string"
  9125. },
  9126. "formattertype": {
  9127. "description": "格式化类型",
  9128. "type": "string"
  9129. },
  9130. "groupname": {
  9131. "description": "表头分组名称",
  9132. "type": "string"
  9133. },
  9134. "isshow": {
  9135. "description": "是否显示 - 0:不显示 1:显示",
  9136. "type": "integer"
  9137. },
  9138. "needsummary": {
  9139. "description": "是否需要汇总 - 0:不需要 1:需要",
  9140. "type": "integer"
  9141. },
  9142. "orderindex": {
  9143. "description": "顺序",
  9144. "type": "integer"
  9145. },
  9146. "remark": {
  9147. "description": "备注",
  9148. "type": "string"
  9149. },
  9150. "summarytype": {
  9151. "description": "汇总类型 - 1:加总 2:最后一个",
  9152. "type": "integer"
  9153. },
  9154. "tablekey": {
  9155. "description": "列表Key",
  9156. "type": "string"
  9157. }
  9158. }
  9159. },
  9160. "models.Useraccount": {
  9161. "type": "object",
  9162. "required": [
  9163. "userid"
  9164. ],
  9165. "properties": {
  9166. "accountname": {
  9167. "description": "账户名称(机构名称)",
  9168. "type": "string"
  9169. },
  9170. "accountstatus": {
  9171. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  9172. "type": "integer"
  9173. },
  9174. "auditremark": {
  9175. "description": "审核备注",
  9176. "type": "string"
  9177. },
  9178. "audittime": {
  9179. "description": "审核时间",
  9180. "type": "string"
  9181. },
  9182. "audituserid": {
  9183. "description": "审核人",
  9184. "type": "integer"
  9185. },
  9186. "broker": {
  9187. "description": "所属经纪人ID",
  9188. "type": "integer"
  9189. },
  9190. "canceltime": {
  9191. "description": "销户时间",
  9192. "type": "string"
  9193. },
  9194. "canceluserid": {
  9195. "description": "销户人",
  9196. "type": "integer"
  9197. },
  9198. "createtime": {
  9199. "description": "创建时间",
  9200. "type": "string"
  9201. },
  9202. "creatorid": {
  9203. "description": "创建人",
  9204. "type": "integer"
  9205. },
  9206. "hasauth": {
  9207. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  9208. "type": "integer"
  9209. },
  9210. "isanonymous": {
  9211. "description": "是否匿名下单 - 0:否 1:是",
  9212. "type": "integer"
  9213. },
  9214. "maxinvestornum": {
  9215. "description": "最大用户数(经纪会员下投资者个数)",
  9216. "type": "integer"
  9217. },
  9218. "memberuserid": {
  9219. "description": "所属会员ID",
  9220. "type": "integer"
  9221. },
  9222. "modifierid": {
  9223. "description": "修改人",
  9224. "type": "integer"
  9225. },
  9226. "modifyremark": {
  9227. "description": "变更备注",
  9228. "type": "string"
  9229. },
  9230. "modifystatus": {
  9231. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  9232. "type": "integer"
  9233. },
  9234. "modifytime": {
  9235. "description": "修改时间",
  9236. "type": "string"
  9237. },
  9238. "parentuserid": {
  9239. "description": "所属机构ID",
  9240. "type": "integer"
  9241. },
  9242. "reckonaccountid": {
  9243. "description": "默认结算资金账号ID(机构分润使用) 作废",
  9244. "type": "integer"
  9245. },
  9246. "refercount": {
  9247. "description": "推荐总人数",
  9248. "type": "integer"
  9249. },
  9250. "refereeuserid": {
  9251. "description": "推荐人ID",
  9252. "type": "integer"
  9253. },
  9254. "refernum": {
  9255. "description": "推荐码",
  9256. "type": "string"
  9257. },
  9258. "subarealevelpath": {
  9259. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  9260. "type": "string"
  9261. },
  9262. "userid": {
  9263. "description": "用户ID",
  9264. "type": "integer"
  9265. },
  9266. "usertype": {
  9267. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  9268. "type": "integer"
  9269. }
  9270. }
  9271. },
  9272. "models.Userfavoritegoods": {
  9273. "type": "object",
  9274. "required": [
  9275. "goodsid"
  9276. ],
  9277. "properties": {
  9278. "goodsid": {
  9279. "description": "商品ID",
  9280. "type": "integer"
  9281. }
  9282. }
  9283. },
  9284. "models.Userinfo": {
  9285. "type": "object",
  9286. "required": [
  9287. "userid"
  9288. ],
  9289. "properties": {
  9290. "address": {
  9291. "description": "地址",
  9292. "type": "string"
  9293. },
  9294. "attachment1": {
  9295. "description": "附件1",
  9296. "type": "string"
  9297. },
  9298. "attachment2": {
  9299. "description": "附件2",
  9300. "type": "string"
  9301. },
  9302. "bankaccount": {
  9303. "description": "银行帐号 (加密存储)",
  9304. "type": "string"
  9305. },
  9306. "bankaccountname": {
  9307. "description": "收款人名称",
  9308. "type": "string"
  9309. },
  9310. "bankcardfrontphotourl": {
  9311. "description": "银行卡正面照地址",
  9312. "type": "string"
  9313. },
  9314. "bankid": {
  9315. "description": "银行编码",
  9316. "type": "string"
  9317. },
  9318. "bankname": {
  9319. "description": "银行名称",
  9320. "type": "string"
  9321. },
  9322. "biznature": {
  9323. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9324. "type": "integer"
  9325. },
  9326. "bizscope": {
  9327. "description": "企业经营范围(企业)",
  9328. "type": "string"
  9329. },
  9330. "cardbackphotourl": {
  9331. "description": "证件背面图片地址",
  9332. "type": "string"
  9333. },
  9334. "cardfrontphotourl": {
  9335. "description": "证件正面图片地址",
  9336. "type": "string"
  9337. },
  9338. "cardnum": {
  9339. "description": "证件号码(加密存储)",
  9340. "type": "string"
  9341. },
  9342. "cardtypeid": {
  9343. "description": "证件类型ID",
  9344. "type": "integer"
  9345. },
  9346. "cityid": {
  9347. "description": "市",
  9348. "type": "integer"
  9349. },
  9350. "company": {
  9351. "description": "公司(个人)",
  9352. "type": "string"
  9353. },
  9354. "contactname": {
  9355. "description": "联系人",
  9356. "type": "string"
  9357. },
  9358. "countryid": {
  9359. "description": "国家",
  9360. "type": "integer"
  9361. },
  9362. "createtime": {
  9363. "description": "创建时间",
  9364. "type": "string"
  9365. },
  9366. "creatorid": {
  9367. "description": "创建人",
  9368. "type": "integer"
  9369. },
  9370. "customername": {
  9371. "description": "客户名称(企业名称)",
  9372. "type": "string"
  9373. },
  9374. "districtid": {
  9375. "description": "地区",
  9376. "type": "integer"
  9377. },
  9378. "email": {
  9379. "description": "邮件(加密存储)",
  9380. "type": "string"
  9381. },
  9382. "fax": {
  9383. "description": "传真(加密存储)",
  9384. "type": "string"
  9385. },
  9386. "halfbodyphotourl": {
  9387. "description": "半身照地址",
  9388. "type": "string"
  9389. },
  9390. "hasencrypt": {
  9391. "description": "数据是否已加密 - 0:未加密 1:已加密",
  9392. "type": "integer"
  9393. },
  9394. "headurl": {
  9395. "description": "头像地址",
  9396. "type": "string"
  9397. },
  9398. "legalcardbackphotourl": {
  9399. "description": "法人身份证背面照地址",
  9400. "type": "string"
  9401. },
  9402. "legalcardfrontphotourl": {
  9403. "description": "法人身份证正面照地址",
  9404. "type": "string"
  9405. },
  9406. "legalpersonname": {
  9407. "description": "法人姓名(企业)",
  9408. "type": "string"
  9409. },
  9410. "mobile": {
  9411. "description": "手机号码(加密存储)",
  9412. "type": "string"
  9413. },
  9414. "mobile2": {
  9415. "description": "手机号码[明文-尚志]",
  9416. "type": "string"
  9417. },
  9418. "modifierid": {
  9419. "description": "修改人",
  9420. "type": "integer"
  9421. },
  9422. "modifiertime": {
  9423. "description": "修改时间",
  9424. "type": "string"
  9425. },
  9426. "needinvoice": {
  9427. "description": "是否需要发票 - 0:不需要 1:需要",
  9428. "type": "integer"
  9429. },
  9430. "nickname": {
  9431. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  9432. "type": "string"
  9433. },
  9434. "openmode": {
  9435. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  9436. "type": "integer"
  9437. },
  9438. "otherurl": {
  9439. "description": "其它图片地址[使用分号分隔]",
  9440. "type": "string"
  9441. },
  9442. "postalcode": {
  9443. "description": "邮政编码",
  9444. "type": "string"
  9445. },
  9446. "provinceid": {
  9447. "description": "省",
  9448. "type": "integer"
  9449. },
  9450. "qq": {
  9451. "description": "QQ(加密存储",
  9452. "type": "string"
  9453. },
  9454. "remark": {
  9455. "description": "备注",
  9456. "type": "string"
  9457. },
  9458. "sex": {
  9459. "description": "用户性别 0: 女 1: 男",
  9460. "type": "integer"
  9461. },
  9462. "signpdfurl": {
  9463. "description": "签约pdf文件",
  9464. "type": "string"
  9465. },
  9466. "telphone": {
  9467. "description": "联系电话(加密存储)",
  9468. "type": "string"
  9469. },
  9470. "userid": {
  9471. "description": "用户ID",
  9472. "type": "integer"
  9473. },
  9474. "userinfotype": {
  9475. "description": "用户信息类型 - 1:个人 2:企业",
  9476. "type": "integer"
  9477. },
  9478. "userstatus": {
  9479. "description": "用户状态 - 1:正常 2:注销",
  9480. "type": "integer"
  9481. },
  9482. "usertype": {
  9483. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  9484. "type": "integer"
  9485. },
  9486. "wechat": {
  9487. "description": "微信(加密存储)",
  9488. "type": "string"
  9489. },
  9490. "wskhinfo": {
  9491. "description": "开户申请信息(JSON)",
  9492. "type": "string"
  9493. }
  9494. }
  9495. },
  9496. "models.WRCategoryTree": {
  9497. "type": "object",
  9498. "required": [
  9499. "categoryid"
  9500. ],
  9501. "properties": {
  9502. "areauserid": {
  9503. "description": "所属机构",
  9504. "type": "integer"
  9505. },
  9506. "categorydesc": {
  9507. "description": "类别描述",
  9508. "type": "string"
  9509. },
  9510. "categoryid": {
  9511. "description": "类别ID(SEQ_WRCATEGORY)",
  9512. "type": "integer"
  9513. },
  9514. "categoryname": {
  9515. "description": "类别名称",
  9516. "type": "string"
  9517. },
  9518. "iconurl": {
  9519. "description": "图标地址",
  9520. "type": "string"
  9521. },
  9522. "orderindex": {
  9523. "description": "顺序",
  9524. "type": "integer"
  9525. },
  9526. "parentcategoryid": {
  9527. "description": "父类别ID",
  9528. "type": "integer"
  9529. },
  9530. "subcategory": {
  9531. "description": "子分类",
  9532. "type": "array",
  9533. "items": {
  9534. "$ref": "#/definitions/models.WRCategoryTree"
  9535. }
  9536. }
  9537. }
  9538. },
  9539. "models.WRStandardInfo": {
  9540. "type": "object",
  9541. "required": [
  9542. "wrstandardid"
  9543. ],
  9544. "properties": {
  9545. "createtime": {
  9546. "description": "创建时间",
  9547. "type": "string"
  9548. },
  9549. "creatorid": {
  9550. "description": "创建人",
  9551. "type": "integer"
  9552. },
  9553. "deliverygoodsid": {
  9554. "description": "品种ID",
  9555. "type": "integer"
  9556. },
  9557. "deliverygoodsname": {
  9558. "description": "交割商品名称",
  9559. "type": "string"
  9560. },
  9561. "factoryitemjson": {
  9562. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  9563. "type": "string"
  9564. },
  9565. "isvalid": {
  9566. "description": "是否有效 - 0:无效 1:有效",
  9567. "type": "integer"
  9568. },
  9569. "minivalue": {
  9570. "description": "最小变动值",
  9571. "type": "integer"
  9572. },
  9573. "minivaluedp": {
  9574. "description": "最小变动值小数位",
  9575. "type": "integer"
  9576. },
  9577. "realminivalue": {
  9578. "description": "实际最小变动值",
  9579. "type": "integer"
  9580. },
  9581. "realminivaluedp": {
  9582. "description": "实际最小变动值小数位",
  9583. "type": "integer"
  9584. },
  9585. "unitid": {
  9586. "description": "单位ID",
  9587. "type": "integer"
  9588. },
  9589. "unitname": {
  9590. "description": "单位",
  9591. "type": "string"
  9592. },
  9593. "updatetime": {
  9594. "description": "更新时间",
  9595. "type": "string"
  9596. },
  9597. "updatorid": {
  9598. "description": "更新人",
  9599. "type": "integer"
  9600. },
  9601. "wrsstatus": {
  9602. "description": "状态 - 作废 - 0:未激活 1:正常",
  9603. "type": "integer"
  9604. },
  9605. "wrstandardcode": {
  9606. "description": "仓单标准代码",
  9607. "type": "string"
  9608. },
  9609. "wrstandardid": {
  9610. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  9611. "type": "integer"
  9612. },
  9613. "wrstandardname": {
  9614. "description": "仓单标准名称",
  9615. "type": "string"
  9616. }
  9617. }
  9618. },
  9619. "models.Warehouseinfo": {
  9620. "type": "object",
  9621. "required": [
  9622. "autoid",
  9623. "warehousecode"
  9624. ],
  9625. "properties": {
  9626. "address": {
  9627. "description": "详细地址",
  9628. "type": "string"
  9629. },
  9630. "areauserid": {
  9631. "description": "所属机构",
  9632. "type": "integer"
  9633. },
  9634. "autoid": {
  9635. "description": "自增ID",
  9636. "type": "integer"
  9637. },
  9638. "cityid": {
  9639. "description": "市",
  9640. "type": "integer"
  9641. },
  9642. "contactname": {
  9643. "description": "联系人",
  9644. "type": "string"
  9645. },
  9646. "contactnum": {
  9647. "description": "联系电话",
  9648. "type": "string"
  9649. },
  9650. "countryid": {
  9651. "description": "国家",
  9652. "type": "integer"
  9653. },
  9654. "createtime": {
  9655. "description": "创建时间",
  9656. "type": "string"
  9657. },
  9658. "districtid": {
  9659. "description": "区",
  9660. "type": "integer"
  9661. },
  9662. "hasvideo": {
  9663. "description": "是否有视频 - 0:无 1:有",
  9664. "type": "integer"
  9665. },
  9666. "provinceid": {
  9667. "description": "省",
  9668. "type": "integer"
  9669. },
  9670. "remark": {
  9671. "description": "审核备注",
  9672. "type": "string"
  9673. },
  9674. "videourl": {
  9675. "description": "视频地址",
  9676. "type": "string"
  9677. },
  9678. "warehousecode": {
  9679. "description": "仓库代码",
  9680. "type": "string"
  9681. },
  9682. "warehousename": {
  9683. "description": "仓库名称",
  9684. "type": "string"
  9685. },
  9686. "warehousestatus": {
  9687. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  9688. "type": "integer"
  9689. },
  9690. "warehousetype": {
  9691. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  9692. "type": "integer"
  9693. }
  9694. }
  9695. },
  9696. "order.QueryHisTradeDetailRsp": {
  9697. "type": "object",
  9698. "required": [
  9699. "accountid",
  9700. "buyorsell",
  9701. "goodsid",
  9702. "histradedate",
  9703. "marketid",
  9704. "memberuserid",
  9705. "orderid",
  9706. "tradeamount",
  9707. "tradedate",
  9708. "tradeid",
  9709. "tradeprice",
  9710. "tradeqty",
  9711. "tradetime"
  9712. ],
  9713. "properties": {
  9714. "accountid": {
  9715. "description": "账户ID[报价币种]",
  9716. "type": "integer"
  9717. },
  9718. "buildtype": {
  9719. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  9720. "type": "integer"
  9721. },
  9722. "buyorsell": {
  9723. "description": "方向 - 0:买 1:卖",
  9724. "type": "integer"
  9725. },
  9726. "charge": {
  9727. "description": "手续费",
  9728. "type": "number"
  9729. },
  9730. "closecharge": {
  9731. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  9732. "type": "number"
  9733. },
  9734. "closeexchagechargevalue": {
  9735. "description": "平仓交易所手续费设置值",
  9736. "type": "number"
  9737. },
  9738. "closefeealgorithm": {
  9739. "description": "平仓手续费收取方式 1:比率 2:固定",
  9740. "type": "integer"
  9741. },
  9742. "closememberchargevalue": {
  9743. "description": "平仓会员手续费设置值",
  9744. "type": "number"
  9745. },
  9746. "closepl": {
  9747. "description": "平仓盈亏",
  9748. "type": "number"
  9749. },
  9750. "closepl2": {
  9751. "description": "平仓盈亏[逐笔]",
  9752. "type": "number"
  9753. },
  9754. "closeqty": {
  9755. "description": "平仓数量(先建后平操作 需要记录)",
  9756. "type": "integer"
  9757. },
  9758. "creditamount": {
  9759. "description": "授信金额",
  9760. "type": "number"
  9761. },
  9762. "gcaccountid": {
  9763. "description": "账户ID[合约币种]",
  9764. "type": "integer"
  9765. },
  9766. "goodscode": {
  9767. "description": "商品代码",
  9768. "type": "string"
  9769. },
  9770. "goodsid": {
  9771. "description": "商品ID",
  9772. "type": "integer"
  9773. },
  9774. "goodsname": {
  9775. "description": "商品名称",
  9776. "type": "string"
  9777. },
  9778. "histradedate": {
  9779. "description": "历史交易日",
  9780. "type": "string"
  9781. },
  9782. "intclosepl": {
  9783. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  9784. "type": "integer"
  9785. },
  9786. "isconfirmexercise": {
  9787. "description": "是否确认行权- 0:否 1:是",
  9788. "type": "integer"
  9789. },
  9790. "ismain": {
  9791. "description": "是否主单 - 0:不是 1:是",
  9792. "type": "integer"
  9793. },
  9794. "ispreexercise": {
  9795. "description": "是否预申报- 0:否 1:是",
  9796. "type": "integer"
  9797. },
  9798. "isreckoned": {
  9799. "description": "是否结算 - 0:未结算 1:已结算",
  9800. "type": "integer"
  9801. },
  9802. "isvaliddata": {
  9803. "description": "是否有效 - 0:无效 1:有效",
  9804. "type": "integer"
  9805. },
  9806. "listingselecttype": {
  9807. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9808. "type": "integer"
  9809. },
  9810. "marketid": {
  9811. "description": "市场ID",
  9812. "type": "integer"
  9813. },
  9814. "marketname": {
  9815. "description": "市场名称",
  9816. "type": "string"
  9817. },
  9818. "matchaccountid": {
  9819. "description": "对手账号id",
  9820. "type": "integer"
  9821. },
  9822. "memberuserid": {
  9823. "description": "会员id 个人投资者 需要填写",
  9824. "type": "integer"
  9825. },
  9826. "opencharge": {
  9827. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  9828. "type": "number"
  9829. },
  9830. "openexchagechargevalue": {
  9831. "description": "建仓交易所手续费设置值",
  9832. "type": "number"
  9833. },
  9834. "openfeealgorithm": {
  9835. "description": "建仓手续费收取方式 1:比率 2:固定",
  9836. "type": "integer"
  9837. },
  9838. "openmemberchargevalue": {
  9839. "description": "建仓会员手续费设置值",
  9840. "type": "number"
  9841. },
  9842. "openqty": {
  9843. "description": "开仓数量(先建后平操作 需要记录)",
  9844. "type": "integer"
  9845. },
  9846. "optiontype": {
  9847. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  9848. "type": "integer"
  9849. },
  9850. "orderid": {
  9851. "description": "委托单号",
  9852. "type": "string"
  9853. },
  9854. "performanceplanid": {
  9855. "description": "履约计划ID[期权]",
  9856. "type": "integer"
  9857. },
  9858. "performancestatus": {
  9859. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  9860. "type": "integer"
  9861. },
  9862. "preexerciseprice": {
  9863. "description": "预申报价格",
  9864. "type": "number"
  9865. },
  9866. "premium": {
  9867. "description": "权利金 - [持仓单的权利金]",
  9868. "type": "number"
  9869. },
  9870. "relatedouttradeid": {
  9871. "description": "关联外部成交单ID",
  9872. "type": "integer"
  9873. },
  9874. "status": {
  9875. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  9876. "type": "integer"
  9877. },
  9878. "tradeamount": {
  9879. "description": "成交金额[账户币种,用于所有权]",
  9880. "type": "number"
  9881. },
  9882. "tradedate": {
  9883. "description": "交易日(yyyyMMdd)",
  9884. "type": "string"
  9885. },
  9886. "tradeid": {
  9887. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9888. "type": "string"
  9889. },
  9890. "trademode": {
  9891. "description": "交易模式",
  9892. "type": "integer"
  9893. },
  9894. "tradeprice": {
  9895. "description": "成交价格",
  9896. "type": "number"
  9897. },
  9898. "tradeproperty": {
  9899. "description": "交易属性",
  9900. "type": "integer"
  9901. },
  9902. "tradeqty": {
  9903. "description": "成交数量",
  9904. "type": "integer"
  9905. },
  9906. "tradetime": {
  9907. "description": "成交时间",
  9908. "type": "string"
  9909. },
  9910. "tradetype": {
  9911. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  9912. "type": "integer"
  9913. }
  9914. }
  9915. },
  9916. "order.QueryHisTradeOrderDetailRsp": {
  9917. "type": "object",
  9918. "required": [
  9919. "accountid",
  9920. "buildtype",
  9921. "buyorsell",
  9922. "goodsid",
  9923. "histradedate",
  9924. "marketid",
  9925. "memberuserid",
  9926. "operatetype",
  9927. "orderid",
  9928. "orderqty",
  9929. "ordertime",
  9930. "pricemode",
  9931. "tradedate",
  9932. "validtype"
  9933. ],
  9934. "properties": {
  9935. "accountid": {
  9936. "description": "账户ID[报价币种]",
  9937. "type": "integer"
  9938. },
  9939. "buildtype": {
  9940. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  9941. "type": "integer"
  9942. },
  9943. "buyorsell": {
  9944. "description": "买卖 - 0:买 1:卖",
  9945. "type": "integer"
  9946. },
  9947. "cancelorderid": {
  9948. "description": "撤单单号(撤单时填写)",
  9949. "type": "string"
  9950. },
  9951. "cancelqty": {
  9952. "description": "撤单数量",
  9953. "type": "integer"
  9954. },
  9955. "clientordertime": {
  9956. "description": "客户端委托时间",
  9957. "type": "string"
  9958. },
  9959. "clientticket": {
  9960. "description": "客户端流水号",
  9961. "type": "string"
  9962. },
  9963. "clienttype": {
  9964. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  9965. "type": "integer"
  9966. },
  9967. "closeexchagechargevalue": {
  9968. "description": "平仓交易所手续费设置值",
  9969. "type": "number"
  9970. },
  9971. "closefeealgorithm": {
  9972. "description": "平仓手续费收取方式 1:比率 2:固定",
  9973. "type": "integer"
  9974. },
  9975. "closefreezecharge": {
  9976. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  9977. "type": "number"
  9978. },
  9979. "closememberchargevalue": {
  9980. "description": "平仓会员手续费设置值",
  9981. "type": "number"
  9982. },
  9983. "closeqty": {
  9984. "description": "平仓数量(先建后平操作 需要记录)",
  9985. "type": "integer"
  9986. },
  9987. "closetradeqty": {
  9988. "description": "平仓成交数量(先建后平操作,需要记录)",
  9989. "type": "integer"
  9990. },
  9991. "closeunfreezecharge": {
  9992. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  9993. "type": "number"
  9994. },
  9995. "delistingtype": {
  9996. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  9997. "type": "integer"
  9998. },
  9999. "freezecharge": {
  10000. "description": "冻结手续费",
  10001. "type": "number"
  10002. },
  10003. "freezemargin": {
  10004. "description": "冻结保证金(冻结交易金额)",
  10005. "type": "number"
  10006. },
  10007. "gcaccountid": {
  10008. "description": "账户ID[合约币种]",
  10009. "type": "integer"
  10010. },
  10011. "goodscode": {
  10012. "description": "商品代码",
  10013. "type": "string"
  10014. },
  10015. "goodsid": {
  10016. "description": "商品ID",
  10017. "type": "integer"
  10018. },
  10019. "goodsname": {
  10020. "description": "商品名称",
  10021. "type": "string"
  10022. },
  10023. "histradedate": {
  10024. "description": "历史交易日",
  10025. "type": "string"
  10026. },
  10027. "isconfirmexercise": {
  10028. "description": "是否确认行权- 0:否 1:是",
  10029. "type": "integer"
  10030. },
  10031. "ispreexercise": {
  10032. "description": "是否预申报- 0:否 1:是",
  10033. "type": "integer"
  10034. },
  10035. "isvaliddata": {
  10036. "description": "是否有效 - 0:无效 1:有效",
  10037. "type": "integer"
  10038. },
  10039. "listingselecttype": {
  10040. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10041. "type": "integer"
  10042. },
  10043. "marginalgorithm": {
  10044. "description": "保证金收取方式 1:比率 2:固定",
  10045. "type": "integer"
  10046. },
  10047. "marginvalue": {
  10048. "description": "即市保证金设置值",
  10049. "type": "number"
  10050. },
  10051. "marketid": {
  10052. "description": "市场ID",
  10053. "type": "integer"
  10054. },
  10055. "marketmaxsub": {
  10056. "description": "市价最大偏移范围",
  10057. "type": "number"
  10058. },
  10059. "marketname": {
  10060. "description": "市场名称",
  10061. "type": "string"
  10062. },
  10063. "memberuserid": {
  10064. "description": "所属会员UserID",
  10065. "type": "integer"
  10066. },
  10067. "openexchagechargevalue": {
  10068. "description": "建仓交易所手续费设置值",
  10069. "type": "number"
  10070. },
  10071. "openfeealgorithm": {
  10072. "description": "建仓手续费收取方式 1:比率 2:固定",
  10073. "type": "integer"
  10074. },
  10075. "openfreezecharge": {
  10076. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  10077. "type": "number"
  10078. },
  10079. "openmemberchargevalue": {
  10080. "description": "建仓会员手续费设置值",
  10081. "type": "number"
  10082. },
  10083. "openqty": {
  10084. "description": "开仓数量(先建后平操作,需要记录)",
  10085. "type": "integer"
  10086. },
  10087. "opentradeqty": {
  10088. "description": "开仓成交数量(先建后平操作,需要记录)",
  10089. "type": "integer"
  10090. },
  10091. "openunfreezecharge": {
  10092. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  10093. "type": "number"
  10094. },
  10095. "operatetype": {
  10096. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  10097. "type": "integer"
  10098. },
  10099. "operatorid": {
  10100. "description": "登录账号(LoginID)",
  10101. "type": "integer"
  10102. },
  10103. "optiontype": {
  10104. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10105. "type": "integer"
  10106. },
  10107. "orderid": {
  10108. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10109. "type": "string"
  10110. },
  10111. "orderprice": {
  10112. "description": "委托价格",
  10113. "type": "number"
  10114. },
  10115. "orderqty": {
  10116. "description": "委托数量",
  10117. "type": "integer"
  10118. },
  10119. "ordersrc": {
  10120. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  10121. "type": "integer"
  10122. },
  10123. "orderstatus": {
  10124. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10125. "type": "integer"
  10126. },
  10127. "ordertime": {
  10128. "description": "委托时间",
  10129. "type": "string"
  10130. },
  10131. "preexerciseprice": {
  10132. "description": "预申报价格",
  10133. "type": "number"
  10134. },
  10135. "premium": {
  10136. "description": "权利金",
  10137. "type": "number"
  10138. },
  10139. "preorderid": {
  10140. "description": "关联预埋单号(止盈止损单时填写)",
  10141. "type": "string"
  10142. },
  10143. "pricemode": {
  10144. "description": "取价方式 - 1:市价 2: 限价",
  10145. "type": "integer"
  10146. },
  10147. "quoteid": {
  10148. "description": "报价单ID",
  10149. "type": "integer"
  10150. },
  10151. "relatedid": {
  10152. "description": "关联单号(交割单)",
  10153. "type": "string"
  10154. },
  10155. "retcode": {
  10156. "description": "错误代码",
  10157. "type": "integer"
  10158. },
  10159. "sessionid": {
  10160. "description": "会话ID",
  10161. "type": "integer"
  10162. },
  10163. "tradedate": {
  10164. "description": "交易日(yyyyMMdd)",
  10165. "type": "string"
  10166. },
  10167. "trademode": {
  10168. "description": "交易模式",
  10169. "type": "integer"
  10170. },
  10171. "tradeproperty": {
  10172. "description": "交易属性",
  10173. "type": "integer"
  10174. },
  10175. "tradeqty": {
  10176. "description": "成交数量",
  10177. "type": "integer"
  10178. },
  10179. "unfreezecharge": {
  10180. "description": "解冻手续费",
  10181. "type": "number"
  10182. },
  10183. "unfreezemargin": {
  10184. "description": "解冻保证金",
  10185. "type": "number"
  10186. },
  10187. "updatetime": {
  10188. "description": "更新时间",
  10189. "type": "string"
  10190. },
  10191. "uuid": {
  10192. "description": "发起端唯一id",
  10193. "type": "string"
  10194. },
  10195. "validtime": {
  10196. "description": "有效期限",
  10197. "type": "string"
  10198. },
  10199. "validtype": {
  10200. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  10201. "type": "integer"
  10202. },
  10203. "volumetype": {
  10204. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  10205. "type": "integer"
  10206. }
  10207. }
  10208. },
  10209. "order.QueryTradeDetailRsp": {
  10210. "type": "object",
  10211. "required": [
  10212. "accountid",
  10213. "buyorsell",
  10214. "goodsid",
  10215. "marketid",
  10216. "memberuserid",
  10217. "orderid",
  10218. "tradeamount",
  10219. "tradedate",
  10220. "tradeid",
  10221. "tradeprice",
  10222. "tradeqty",
  10223. "tradetime"
  10224. ],
  10225. "properties": {
  10226. "accountid": {
  10227. "description": "账户ID[报价币种]",
  10228. "type": "integer"
  10229. },
  10230. "buildtype": {
  10231. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  10232. "type": "integer"
  10233. },
  10234. "buyorsell": {
  10235. "description": "方向 - 0:买 1:卖",
  10236. "type": "integer"
  10237. },
  10238. "charge": {
  10239. "description": "手续费",
  10240. "type": "number"
  10241. },
  10242. "closecharge": {
  10243. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  10244. "type": "number"
  10245. },
  10246. "closeexchagechargevalue": {
  10247. "description": "平仓交易所手续费设置值",
  10248. "type": "number"
  10249. },
  10250. "closefeealgorithm": {
  10251. "description": "平仓手续费收取方式 1:比率 2:固定",
  10252. "type": "integer"
  10253. },
  10254. "closememberchargevalue": {
  10255. "description": "平仓会员手续费设置值",
  10256. "type": "number"
  10257. },
  10258. "closepl": {
  10259. "description": "平仓盈亏",
  10260. "type": "number"
  10261. },
  10262. "closepl2": {
  10263. "description": "平仓盈亏[逐笔]",
  10264. "type": "number"
  10265. },
  10266. "closeqty": {
  10267. "description": "平仓数量(先建后平操作 需要记录)",
  10268. "type": "integer"
  10269. },
  10270. "creditamount": {
  10271. "description": "授信金额",
  10272. "type": "number"
  10273. },
  10274. "gcaccountid": {
  10275. "description": "账户ID[合约币种]",
  10276. "type": "integer"
  10277. },
  10278. "goodscode": {
  10279. "description": "商品代码",
  10280. "type": "string"
  10281. },
  10282. "goodsid": {
  10283. "description": "商品ID",
  10284. "type": "integer"
  10285. },
  10286. "goodsname": {
  10287. "description": "商品名称",
  10288. "type": "string"
  10289. },
  10290. "intclosepl": {
  10291. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  10292. "type": "integer"
  10293. },
  10294. "isconfirmexercise": {
  10295. "description": "是否确认行权- 0:否 1:是",
  10296. "type": "integer"
  10297. },
  10298. "ismain": {
  10299. "description": "是否主单 - 0:不是 1:是",
  10300. "type": "integer"
  10301. },
  10302. "ispreexercise": {
  10303. "description": "是否预申报- 0:否 1:是",
  10304. "type": "integer"
  10305. },
  10306. "isreckoned": {
  10307. "description": "是否结算 - 0:未结算 1:已结算",
  10308. "type": "integer"
  10309. },
  10310. "listingselecttype": {
  10311. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10312. "type": "integer"
  10313. },
  10314. "marketid": {
  10315. "description": "市场ID",
  10316. "type": "integer"
  10317. },
  10318. "marketname": {
  10319. "description": "市场名称",
  10320. "type": "string"
  10321. },
  10322. "matchaccountid": {
  10323. "description": "对手账号id",
  10324. "type": "integer"
  10325. },
  10326. "memberuserid": {
  10327. "description": "会员id 个人投资者 需要填写",
  10328. "type": "integer"
  10329. },
  10330. "opencharge": {
  10331. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  10332. "type": "number"
  10333. },
  10334. "openexchagechargevalue": {
  10335. "description": "建仓交易所手续费设置值",
  10336. "type": "number"
  10337. },
  10338. "openfeealgorithm": {
  10339. "description": "建仓手续费收取方式 1:比率 2:固定",
  10340. "type": "integer"
  10341. },
  10342. "openmemberchargevalue": {
  10343. "description": "建仓会员手续费设置值",
  10344. "type": "number"
  10345. },
  10346. "openqty": {
  10347. "description": "开仓数量(先建后平操作 需要记录)",
  10348. "type": "integer"
  10349. },
  10350. "optiontype": {
  10351. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10352. "type": "integer"
  10353. },
  10354. "orderid": {
  10355. "description": "委托单号",
  10356. "type": "string"
  10357. },
  10358. "performanceplanid": {
  10359. "description": "履约计划ID[期权]",
  10360. "type": "integer"
  10361. },
  10362. "performancestatus": {
  10363. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  10364. "type": "integer"
  10365. },
  10366. "preexerciseprice": {
  10367. "description": "预申报价格",
  10368. "type": "number"
  10369. },
  10370. "premium": {
  10371. "description": "权利金 - [持仓单的权利金]",
  10372. "type": "number"
  10373. },
  10374. "relatedouttradeid": {
  10375. "description": "关联外部成交单ID",
  10376. "type": "integer"
  10377. },
  10378. "status": {
  10379. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  10380. "type": "integer"
  10381. },
  10382. "tradeamount": {
  10383. "description": "成交金额[账户币种,用于所有权]",
  10384. "type": "number"
  10385. },
  10386. "tradedate": {
  10387. "description": "交易日(yyyyMMdd)",
  10388. "type": "string"
  10389. },
  10390. "tradeid": {
  10391. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10392. "type": "string"
  10393. },
  10394. "trademode": {
  10395. "description": "交易模式",
  10396. "type": "integer"
  10397. },
  10398. "tradeprice": {
  10399. "description": "成交价格",
  10400. "type": "number"
  10401. },
  10402. "tradeproperty": {
  10403. "description": "交易属性",
  10404. "type": "integer"
  10405. },
  10406. "tradeqty": {
  10407. "description": "成交数量",
  10408. "type": "integer"
  10409. },
  10410. "tradetime": {
  10411. "description": "成交时间",
  10412. "type": "string"
  10413. },
  10414. "tradetype": {
  10415. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  10416. "type": "integer"
  10417. }
  10418. }
  10419. },
  10420. "order.QueryTradeOrderDetailRsp": {
  10421. "type": "object",
  10422. "required": [
  10423. "accountid",
  10424. "buildtype",
  10425. "buyorsell",
  10426. "goodsid",
  10427. "marketid",
  10428. "operatetype",
  10429. "orderqty",
  10430. "ordertime",
  10431. "pricemode",
  10432. "tradedate",
  10433. "validtype"
  10434. ],
  10435. "properties": {
  10436. "accountid": {
  10437. "description": "账户ID[报价币种]",
  10438. "type": "integer"
  10439. },
  10440. "buildtype": {
  10441. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  10442. "type": "integer"
  10443. },
  10444. "buyorsell": {
  10445. "description": "买卖 - 0:买 1:卖",
  10446. "type": "integer"
  10447. },
  10448. "cancelorderid": {
  10449. "description": "撤单单号(撤单时填写)",
  10450. "type": "string"
  10451. },
  10452. "cancelqty": {
  10453. "description": "撤单数量",
  10454. "type": "integer"
  10455. },
  10456. "clienttype": {
  10457. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  10458. "type": "integer"
  10459. },
  10460. "closefreezecharge": {
  10461. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  10462. "type": "number"
  10463. },
  10464. "closeqty": {
  10465. "description": "平仓数量(先建后平操作 需要记录)",
  10466. "type": "integer"
  10467. },
  10468. "closetradeqty": {
  10469. "description": "平仓成交数量(先建后平操作,需要记录)",
  10470. "type": "integer"
  10471. },
  10472. "closeunfreezecharge": {
  10473. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  10474. "type": "number"
  10475. },
  10476. "delistingtype": {
  10477. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  10478. "type": "integer"
  10479. },
  10480. "enableqty": {
  10481. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  10482. "type": "integer"
  10483. },
  10484. "freezecharge": {
  10485. "description": "冻结手续费",
  10486. "type": "number"
  10487. },
  10488. "freezemargin": {
  10489. "description": "冻结保证金(冻结交易金额)",
  10490. "type": "number"
  10491. },
  10492. "goodscode": {
  10493. "description": "商品代码",
  10494. "type": "string"
  10495. },
  10496. "goodsid": {
  10497. "description": "商品ID",
  10498. "type": "integer"
  10499. },
  10500. "goodsname": {
  10501. "description": "商品名称",
  10502. "type": "string"
  10503. },
  10504. "listingselecttype": {
  10505. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10506. "type": "integer"
  10507. },
  10508. "marketid": {
  10509. "description": "市场ID",
  10510. "type": "integer"
  10511. },
  10512. "marketname": {
  10513. "description": "市场名称",
  10514. "type": "string"
  10515. },
  10516. "openfreezecharge": {
  10517. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  10518. "type": "number"
  10519. },
  10520. "openqty": {
  10521. "description": "开仓数量(先建后平操作,需要记录)",
  10522. "type": "integer"
  10523. },
  10524. "opentradeqty": {
  10525. "description": "开仓成交数量(先建后平操作,需要记录)",
  10526. "type": "integer"
  10527. },
  10528. "openunfreezecharge": {
  10529. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  10530. "type": "number"
  10531. },
  10532. "operatetype": {
  10533. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  10534. "type": "integer"
  10535. },
  10536. "operatorid": {
  10537. "description": "登录账号(LoginID)",
  10538. "type": "integer"
  10539. },
  10540. "orderid": {
  10541. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10542. "type": "string"
  10543. },
  10544. "orderprice": {
  10545. "description": "委托价格",
  10546. "type": "number"
  10547. },
  10548. "orderqty": {
  10549. "description": "委托数量",
  10550. "type": "integer"
  10551. },
  10552. "ordersrc": {
  10553. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  10554. "type": "integer"
  10555. },
  10556. "orderstatus": {
  10557. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10558. "type": "integer"
  10559. },
  10560. "ordertime": {
  10561. "description": "委托时间",
  10562. "type": "string"
  10563. },
  10564. "preorderid": {
  10565. "description": "关联预埋单号(止盈止损单时填写)",
  10566. "type": "string"
  10567. },
  10568. "pricemode": {
  10569. "description": "取价方式 - 1:市价 2: 限价",
  10570. "type": "integer"
  10571. },
  10572. "relatedid": {
  10573. "description": "关联单号(交割单)",
  10574. "type": "string"
  10575. },
  10576. "tradedate": {
  10577. "description": "交易日(yyyyMMdd)",
  10578. "type": "string"
  10579. },
  10580. "trademode": {
  10581. "description": "交易模式",
  10582. "type": "integer"
  10583. },
  10584. "tradeqty": {
  10585. "description": "成交数量",
  10586. "type": "integer"
  10587. },
  10588. "unfreezecharge": {
  10589. "description": "解冻手续费",
  10590. "type": "number"
  10591. },
  10592. "unfreezemargin": {
  10593. "description": "解冻保证金",
  10594. "type": "number"
  10595. },
  10596. "validtime": {
  10597. "description": "有效期限",
  10598. "type": "string"
  10599. },
  10600. "validtype": {
  10601. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  10602. "type": "integer"
  10603. },
  10604. "volumetype": {
  10605. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  10606. "type": "integer"
  10607. }
  10608. }
  10609. },
  10610. "order.QueryTradePositionRsp": {
  10611. "type": "object",
  10612. "required": [
  10613. "goodsid"
  10614. ],
  10615. "properties": {
  10616. "accountid": {
  10617. "description": "资金账户",
  10618. "type": "integer"
  10619. },
  10620. "agreeunit": {
  10621. "description": "合约单位",
  10622. "type": "number"
  10623. },
  10624. "averageprice": {
  10625. "description": "持仓均价",
  10626. "type": "number"
  10627. },
  10628. "buyorsell": {
  10629. "description": "方向 - 0:买 1:卖",
  10630. "type": "integer"
  10631. },
  10632. "closetotalqty": {
  10633. "description": "平仓总数量",
  10634. "type": "integer"
  10635. },
  10636. "curholderamount": {
  10637. "description": "当前持仓总金额[商品币种]",
  10638. "type": "number"
  10639. },
  10640. "curpositionqty": {
  10641. "description": "当前持仓总数量",
  10642. "type": "integer"
  10643. },
  10644. "currencyid": {
  10645. "description": "报价货币ID",
  10646. "type": "integer"
  10647. },
  10648. "curtdposition": {
  10649. "description": "期末今日头寸",
  10650. "type": "integer"
  10651. },
  10652. "decimalplace": {
  10653. "description": "报价小数位",
  10654. "type": "integer"
  10655. },
  10656. "enableqty": {
  10657. "description": "可用量",
  10658. "type": "integer"
  10659. },
  10660. "fretdposition": {
  10661. "description": "冻结今日头寸",
  10662. "type": "integer"
  10663. },
  10664. "frozenqty": {
  10665. "description": "持仓冻结数量",
  10666. "type": "integer"
  10667. },
  10668. "goodscode": {
  10669. "description": "商品代码",
  10670. "type": "string"
  10671. },
  10672. "goodsid": {
  10673. "description": "商品Id",
  10674. "type": "integer"
  10675. },
  10676. "goodsname": {
  10677. "description": "商品名称",
  10678. "type": "string"
  10679. },
  10680. "goodunit": {
  10681. "description": "报价单位",
  10682. "type": "string"
  10683. },
  10684. "goodunitid": {
  10685. "description": "报价单位ID",
  10686. "type": "integer"
  10687. },
  10688. "holderamount": {
  10689. "description": "期初持仓总金额[商品币种]",
  10690. "type": "number"
  10691. },
  10692. "marketid": {
  10693. "description": "所属市场ID",
  10694. "type": "integer"
  10695. },
  10696. "openreqqty": {
  10697. "description": "开仓申请数量(用于比较最大持仓数量)",
  10698. "type": "integer"
  10699. },
  10700. "opentotalqty": {
  10701. "description": "开仓总数量",
  10702. "type": "integer"
  10703. },
  10704. "otherfrozenqty": {
  10705. "description": "持仓其他冻结数量(交割冻结)",
  10706. "type": "integer"
  10707. },
  10708. "positionqty": {
  10709. "description": "期初持仓数量",
  10710. "type": "integer"
  10711. },
  10712. "tnqty": {
  10713. "description": "T+N冻结总量",
  10714. "type": "integer"
  10715. },
  10716. "tnusedqty": {
  10717. "description": "T+N使用量(可以使用T+N的冻结数量)",
  10718. "type": "integer"
  10719. },
  10720. "trademode": {
  10721. "description": "交易模式",
  10722. "type": "integer"
  10723. },
  10724. "usedmargin": {
  10725. "description": "占用保证金[商品币种]",
  10726. "type": "number"
  10727. }
  10728. }
  10729. },
  10730. "quote.HistoryData": {
  10731. "type": "object",
  10732. "properties": {
  10733. "c": {
  10734. "description": "收盘价",
  10735. "type": "number"
  10736. },
  10737. "h": {
  10738. "description": "最高价",
  10739. "type": "number"
  10740. },
  10741. "hv": {
  10742. "description": "持仓量",
  10743. "type": "integer"
  10744. },
  10745. "l": {
  10746. "description": "最低价",
  10747. "type": "number"
  10748. },
  10749. "o": {
  10750. "description": "开盘价",
  10751. "type": "number"
  10752. },
  10753. "s": {
  10754. "description": "结算价,日线周期(包括)以上才有",
  10755. "type": "number"
  10756. },
  10757. "ts": {
  10758. "description": "时间",
  10759. "type": "string"
  10760. },
  10761. "tt": {
  10762. "description": "总金额",
  10763. "type": "number"
  10764. },
  10765. "tv": {
  10766. "description": "总量",
  10767. "type": "integer"
  10768. }
  10769. }
  10770. },
  10771. "quote.QueryTSDataRsp": {
  10772. "type": "object",
  10773. "properties": {
  10774. "decimalPlace": {
  10775. "description": "小数位",
  10776. "type": "integer"
  10777. },
  10778. "endTime": {
  10779. "description": "结束时间",
  10780. "type": "string"
  10781. },
  10782. "goodsCode": {
  10783. "description": "商品代码",
  10784. "type": "string"
  10785. },
  10786. "historyDatas": {
  10787. "description": "历史数据",
  10788. "type": "array",
  10789. "items": {
  10790. "$ref": "#/definitions/quote.HistoryData"
  10791. }
  10792. },
  10793. "preSettle": {
  10794. "description": "昨结",
  10795. "type": "number"
  10796. },
  10797. "startTime": {
  10798. "description": "开始时间",
  10799. "type": "string"
  10800. },
  10801. "tradeDate": {
  10802. "description": "交易日",
  10803. "type": "string"
  10804. }
  10805. }
  10806. },
  10807. "szdz.QueryConvertLogRsp": {
  10808. "type": "object",
  10809. "required": [
  10810. "logid"
  10811. ],
  10812. "properties": {
  10813. "accountid": {
  10814. "description": "资金账户ID",
  10815. "type": "integer"
  10816. },
  10817. "clientticket": {
  10818. "description": "客户端流水号",
  10819. "type": "string"
  10820. },
  10821. "converttype": {
  10822. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  10823. "type": "integer"
  10824. },
  10825. "createtime": {
  10826. "description": "记账时间",
  10827. "type": "string"
  10828. },
  10829. "daymaxvalue": {
  10830. "description": "配置当日最大转入限制",
  10831. "type": "number"
  10832. },
  10833. "daymaxvalue2": {
  10834. "description": "配置当日最大转入限制(转入)",
  10835. "type": "number"
  10836. },
  10837. "goodscode": {
  10838. "description": "商品代码",
  10839. "type": "string"
  10840. },
  10841. "goodsname": {
  10842. "description": "商品名称",
  10843. "type": "string"
  10844. },
  10845. "handlestatus": {
  10846. "description": "处理状态",
  10847. "type": "integer"
  10848. },
  10849. "innergoodsid": {
  10850. "description": "内部商品ID",
  10851. "type": "integer"
  10852. },
  10853. "inratio": {
  10854. "description": "配置转入比值",
  10855. "type": "integer"
  10856. },
  10857. "invalue": {
  10858. "description": "目标值",
  10859. "type": "number"
  10860. },
  10861. "logid": {
  10862. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10863. "type": "integer"
  10864. },
  10865. "mobile": {
  10866. "description": "手机号码(加密存储)",
  10867. "type": "string"
  10868. },
  10869. "outergoodscode": {
  10870. "description": "外部商品代码[JD\\PD]",
  10871. "type": "string"
  10872. },
  10873. "outratio": {
  10874. "description": "配置转出比值",
  10875. "type": "integer"
  10876. },
  10877. "outvalue": {
  10878. "description": "源值",
  10879. "type": "number"
  10880. },
  10881. "pddecimalplace": {
  10882. "description": "PD小数位",
  10883. "type": "integer"
  10884. },
  10885. "qty": {
  10886. "description": "数量",
  10887. "type": "string"
  10888. },
  10889. "remark": {
  10890. "description": "备注",
  10891. "type": "string"
  10892. },
  10893. "sessionid": {
  10894. "description": "会话ID",
  10895. "type": "integer"
  10896. },
  10897. "timemaxvalue": {
  10898. "description": "配置单次最大转入限制",
  10899. "type": "number"
  10900. },
  10901. "timemaxvalue2": {
  10902. "description": "配置单次最大转入限制(转入)",
  10903. "type": "number"
  10904. },
  10905. "timeminvalue": {
  10906. "description": "配置单次最小数量限制",
  10907. "type": "number"
  10908. },
  10909. "timeminvalue2": {
  10910. "description": "配置单次最小数量限制(转入)",
  10911. "type": "number"
  10912. },
  10913. "tradedate": {
  10914. "description": "交易日(yyyyMMdd)",
  10915. "type": "string"
  10916. },
  10917. "userid": {
  10918. "description": "用户ID",
  10919. "type": "integer"
  10920. }
  10921. }
  10922. },
  10923. "szdz.QueryGoodsPickupRsp": {
  10924. "type": "object",
  10925. "required": [
  10926. "takeorderid"
  10927. ],
  10928. "properties": {
  10929. "accountid": {
  10930. "description": "账户ID",
  10931. "type": "integer"
  10932. },
  10933. "address": {
  10934. "description": "提货人详细地址",
  10935. "type": "string"
  10936. },
  10937. "auditer": {
  10938. "description": "审核人",
  10939. "type": "integer"
  10940. },
  10941. "audittime": {
  10942. "description": "审核时间",
  10943. "type": "string"
  10944. },
  10945. "cardnum": {
  10946. "description": "提货人证件号码",
  10947. "type": "string"
  10948. },
  10949. "cardtypeid": {
  10950. "description": "提货人证件类型",
  10951. "type": "integer"
  10952. },
  10953. "checkremark": {
  10954. "description": "审核备注",
  10955. "type": "string"
  10956. },
  10957. "goodscode": {
  10958. "description": "商品代码",
  10959. "type": "string"
  10960. },
  10961. "goodsid": {
  10962. "description": "商品ID",
  10963. "type": "integer"
  10964. },
  10965. "goodsname": {
  10966. "description": "商品名称",
  10967. "type": "string"
  10968. },
  10969. "handlestatus": {
  10970. "description": "处理状态",
  10971. "type": "integer"
  10972. },
  10973. "marketid": {
  10974. "description": "市场ID",
  10975. "type": "integer"
  10976. },
  10977. "phonenum": {
  10978. "description": "提货人联系方式",
  10979. "type": "string"
  10980. },
  10981. "qty": {
  10982. "description": "提货数量",
  10983. "type": "number"
  10984. },
  10985. "recivername": {
  10986. "description": "提货人姓名",
  10987. "type": "string"
  10988. },
  10989. "reqtime": {
  10990. "description": "更新时间",
  10991. "type": "string"
  10992. },
  10993. "takemode": {
  10994. "description": "提货方式 - 2:自提 3:配送",
  10995. "type": "integer"
  10996. },
  10997. "takeorderid": {
  10998. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  10999. "type": "string"
  11000. },
  11001. "takeorderstatus": {
  11002. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  11003. "type": "integer"
  11004. },
  11005. "takeremark": {
  11006. "description": "提货备注",
  11007. "type": "string"
  11008. },
  11009. "tradedate": {
  11010. "description": "交易日(yyyyMMdd)",
  11011. "type": "string"
  11012. },
  11013. "userid": {
  11014. "description": "用户ID",
  11015. "type": "integer"
  11016. }
  11017. }
  11018. },
  11019. "szdz.QueryRecieptOrderRsp": {
  11020. "type": "object",
  11021. "required": [
  11022. "ordertime"
  11023. ],
  11024. "properties": {
  11025. "accountName": {
  11026. "description": "所属账号名称(已脱敏)",
  11027. "type": "string"
  11028. },
  11029. "accountid": {
  11030. "description": "资金账号",
  11031. "type": "integer"
  11032. },
  11033. "buyorsell": {
  11034. "description": "方向 - 0:买 1:卖",
  11035. "type": "integer"
  11036. },
  11037. "enableqty": {
  11038. "description": "可摘数量",
  11039. "type": "integer"
  11040. },
  11041. "goodscode": {
  11042. "description": "商品代码",
  11043. "type": "string"
  11044. },
  11045. "goodsid": {
  11046. "description": "商品ID",
  11047. "type": "integer"
  11048. },
  11049. "goodsname": {
  11050. "description": "商品名称",
  11051. "type": "string"
  11052. },
  11053. "orderid": {
  11054. "description": "委托单号",
  11055. "type": "string"
  11056. },
  11057. "orderprice": {
  11058. "description": "委托价格",
  11059. "type": "number"
  11060. },
  11061. "ordertime": {
  11062. "description": "委托时间",
  11063. "type": "string"
  11064. },
  11065. "tradedate": {
  11066. "description": "交易日(yyyyMMdd)",
  11067. "type": "string"
  11068. }
  11069. }
  11070. },
  11071. "szdz.QuerySZDZTradePositionRsp": {
  11072. "type": "object",
  11073. "properties": {
  11074. "accountid": {
  11075. "description": "账号Id",
  11076. "type": "integer"
  11077. },
  11078. "agreeunit": {
  11079. "description": "合约单位",
  11080. "type": "number"
  11081. },
  11082. "averageprice": {
  11083. "description": "持仓均价",
  11084. "type": "number"
  11085. },
  11086. "buyorsell": {
  11087. "description": "方向 - 0:买 1:卖",
  11088. "type": "integer"
  11089. },
  11090. "closetotalqty": {
  11091. "description": "平仓总数量",
  11092. "type": "integer"
  11093. },
  11094. "curholderamount": {
  11095. "description": "当前持仓总金额",
  11096. "type": "number"
  11097. },
  11098. "curpositionqty": {
  11099. "description": "当前持仓总数量",
  11100. "type": "integer"
  11101. },
  11102. "currencyid": {
  11103. "description": "报价货币ID",
  11104. "type": "integer"
  11105. },
  11106. "curtdposition": {
  11107. "description": "期末今日头寸",
  11108. "type": "integer"
  11109. },
  11110. "decimalplace": {
  11111. "description": "报价小数位",
  11112. "type": "integer"
  11113. },
  11114. "enableqty": {
  11115. "description": "可用量",
  11116. "type": "integer"
  11117. },
  11118. "fretdposition": {
  11119. "description": "冻结今日头寸",
  11120. "type": "integer"
  11121. },
  11122. "frozenqty": {
  11123. "description": "持仓冻结数量",
  11124. "type": "integer"
  11125. },
  11126. "goodscode": {
  11127. "description": "商品代码(内部)",
  11128. "type": "string"
  11129. },
  11130. "goodsid": {
  11131. "description": "商品Id",
  11132. "type": "integer"
  11133. },
  11134. "goodsname": {
  11135. "description": "商品名称",
  11136. "type": "string"
  11137. },
  11138. "goodunit": {
  11139. "description": "报价单位",
  11140. "type": "string"
  11141. },
  11142. "goodunitid": {
  11143. "description": "报价单位ID",
  11144. "type": "integer"
  11145. },
  11146. "holderamount": {
  11147. "description": "期初持仓总金额",
  11148. "type": "number"
  11149. },
  11150. "marketid": {
  11151. "description": "市场ID",
  11152. "type": "integer"
  11153. },
  11154. "openreqqty": {
  11155. "description": "开仓申请数量",
  11156. "type": "integer"
  11157. },
  11158. "opentotalqty": {
  11159. "description": "开仓总数量",
  11160. "type": "integer"
  11161. },
  11162. "otherfrozenqty": {
  11163. "description": "持仓其他冻结数量(交割冻结)",
  11164. "type": "integer"
  11165. },
  11166. "positionqty": {
  11167. "description": "期初持仓数量",
  11168. "type": "integer"
  11169. },
  11170. "szdz3freezqty": {
  11171. "description": "尚志大宗转换冻结总数量",
  11172. "type": "integer"
  11173. },
  11174. "tnqty": {
  11175. "description": "T+N冻结总量",
  11176. "type": "integer"
  11177. },
  11178. "tnusedqty": {
  11179. "description": "T+N使用量",
  11180. "type": "integer"
  11181. },
  11182. "trademode": {
  11183. "description": "交易模式",
  11184. "type": "integer"
  11185. },
  11186. "usedmargin": {
  11187. "description": "占用保证金",
  11188. "type": "number"
  11189. }
  11190. }
  11191. },
  11192. "taaccount.QueryAmountLogRsp": {
  11193. "type": "object",
  11194. "required": [
  11195. "accountid",
  11196. "amount",
  11197. "amountadjusttype",
  11198. "autoid",
  11199. "balance",
  11200. "createtime",
  11201. "currentbalance",
  11202. "operatetype"
  11203. ],
  11204. "properties": {
  11205. "OPERATETYPENAME": {
  11206. "description": "资金操作类型名称",
  11207. "type": "string"
  11208. },
  11209. "accountid": {
  11210. "description": "资金账户ID",
  11211. "type": "integer"
  11212. },
  11213. "agoodscode": {
  11214. "description": "竞拍商品代码",
  11215. "type": "string"
  11216. },
  11217. "agoodsname": {
  11218. "description": "竞拍商品名称",
  11219. "type": "string"
  11220. },
  11221. "amount": {
  11222. "description": "资金金额",
  11223. "type": "number"
  11224. },
  11225. "amountadjusttype": {
  11226. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  11227. "type": "integer"
  11228. },
  11229. "autoid": {
  11230. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  11231. "type": "integer"
  11232. },
  11233. "balance": {
  11234. "description": "期初余额",
  11235. "type": "number"
  11236. },
  11237. "businesscode": {
  11238. "description": "业务编号",
  11239. "type": "integer"
  11240. },
  11241. "createtime": {
  11242. "description": "发生时间",
  11243. "type": "string"
  11244. },
  11245. "currencyid": {
  11246. "description": "币种ID",
  11247. "type": "integer"
  11248. },
  11249. "currentbalance": {
  11250. "description": "期末余额(变动后金额)",
  11251. "type": "number"
  11252. },
  11253. "dgoodscode": {
  11254. "description": "交割商品代码",
  11255. "type": "string"
  11256. },
  11257. "dgoodsname": {
  11258. "description": "交割商品名称",
  11259. "type": "string"
  11260. },
  11261. "goodscode": {
  11262. "description": "商品代码",
  11263. "type": "string"
  11264. },
  11265. "goodsid": {
  11266. "description": "商品ID",
  11267. "type": "integer"
  11268. },
  11269. "goodsname": {
  11270. "description": "商品名称",
  11271. "type": "string"
  11272. },
  11273. "marketid": {
  11274. "description": "市场ID",
  11275. "type": "integer"
  11276. },
  11277. "marketname": {
  11278. "description": "市场名称",
  11279. "type": "string"
  11280. },
  11281. "moneyticket": {
  11282. "description": "资金流水号:银行端流水号",
  11283. "type": "integer"
  11284. },
  11285. "operatetype": {
  11286. "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:营销收款",
  11287. "type": "integer"
  11288. },
  11289. "relationorderid": {
  11290. "description": "关联单号",
  11291. "type": "string"
  11292. },
  11293. "remark": {
  11294. "description": "备注",
  11295. "type": "string"
  11296. },
  11297. "trademode": {
  11298. "description": "交易模式",
  11299. "type": "integer"
  11300. }
  11301. }
  11302. },
  11303. "taaccount.QueryHisAmountLogRsp": {
  11304. "type": "object",
  11305. "required": [
  11306. "accountid",
  11307. "amount",
  11308. "amountadjusttype",
  11309. "autoid",
  11310. "balance",
  11311. "createtime",
  11312. "currentbalance",
  11313. "histradedate",
  11314. "operatetype"
  11315. ],
  11316. "properties": {
  11317. "OPERATETYPENAME": {
  11318. "description": "资金操作类型名称",
  11319. "type": "string"
  11320. },
  11321. "accountid": {
  11322. "description": "资金账户ID",
  11323. "type": "integer"
  11324. },
  11325. "agoodscode": {
  11326. "description": "竞拍商品代码",
  11327. "type": "string"
  11328. },
  11329. "agoodsname": {
  11330. "description": "竞拍商品名称",
  11331. "type": "string"
  11332. },
  11333. "amount": {
  11334. "description": "资金金额",
  11335. "type": "number"
  11336. },
  11337. "amountadjusttype": {
  11338. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  11339. "type": "integer"
  11340. },
  11341. "autoid": {
  11342. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  11343. "type": "integer"
  11344. },
  11345. "balance": {
  11346. "description": "期初余额",
  11347. "type": "number"
  11348. },
  11349. "businesscode": {
  11350. "description": "业务编号",
  11351. "type": "integer"
  11352. },
  11353. "createtime": {
  11354. "description": "发生时间",
  11355. "type": "string"
  11356. },
  11357. "currencyid": {
  11358. "description": "币种ID",
  11359. "type": "integer"
  11360. },
  11361. "currentbalance": {
  11362. "description": "期末余额(变动后金额)",
  11363. "type": "number"
  11364. },
  11365. "dgoodscode": {
  11366. "description": "交割商品代码",
  11367. "type": "string"
  11368. },
  11369. "dgoodsname": {
  11370. "description": "交割商品名称",
  11371. "type": "string"
  11372. },
  11373. "goodscode": {
  11374. "description": "商品代码",
  11375. "type": "string"
  11376. },
  11377. "goodsid": {
  11378. "description": "商品ID",
  11379. "type": "integer"
  11380. },
  11381. "goodsname": {
  11382. "description": "商品名称",
  11383. "type": "string"
  11384. },
  11385. "histradedate": {
  11386. "description": "历史交易日",
  11387. "type": "string"
  11388. },
  11389. "isvaliddata": {
  11390. "description": "是否有效 - 0:无效 1:有效",
  11391. "type": "integer"
  11392. },
  11393. "marketid": {
  11394. "description": "市场ID",
  11395. "type": "integer"
  11396. },
  11397. "marketname": {
  11398. "description": "市场名称",
  11399. "type": "string"
  11400. },
  11401. "moneyticket": {
  11402. "description": "资金流水号:银行端流水号",
  11403. "type": "integer"
  11404. },
  11405. "operatetype": {
  11406. "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:营销收款",
  11407. "type": "integer"
  11408. },
  11409. "relationorderid": {
  11410. "description": "关联单号",
  11411. "type": "string"
  11412. },
  11413. "remark": {
  11414. "description": "备注",
  11415. "type": "string"
  11416. },
  11417. "trademode": {
  11418. "description": "交易模式",
  11419. "type": "integer"
  11420. }
  11421. }
  11422. },
  11423. "trade.QueryRecieptOrderRsp": {
  11424. "type": "object",
  11425. "required": [
  11426. "ordertime"
  11427. ],
  11428. "properties": {
  11429. "accountName": {
  11430. "description": "所属账号名称(已脱敏)",
  11431. "type": "string"
  11432. },
  11433. "accountid": {
  11434. "description": "资金账号",
  11435. "type": "integer"
  11436. },
  11437. "buyorsell": {
  11438. "description": "方向 - 0:买 1:卖",
  11439. "type": "integer"
  11440. },
  11441. "enableqty": {
  11442. "description": "可摘数量",
  11443. "type": "integer"
  11444. },
  11445. "goodscode": {
  11446. "description": "商品代码",
  11447. "type": "string"
  11448. },
  11449. "goodsid": {
  11450. "description": "商品ID",
  11451. "type": "integer"
  11452. },
  11453. "goodsname": {
  11454. "description": "商品名称",
  11455. "type": "string"
  11456. },
  11457. "orderid": {
  11458. "description": "委托单号",
  11459. "type": "string"
  11460. },
  11461. "orderprice": {
  11462. "description": "委托价格",
  11463. "type": "number"
  11464. },
  11465. "ordertime": {
  11466. "description": "委托时间",
  11467. "type": "string"
  11468. },
  11469. "tradedate": {
  11470. "description": "交易日(yyyyMMdd)",
  11471. "type": "string"
  11472. }
  11473. }
  11474. }
  11475. },
  11476. "securityDefinitions": {
  11477. "ApiKeyAuth": {
  11478. "type": "apiKey",
  11479. "name": "Authorization",
  11480. "in": "header"
  11481. }
  11482. }
  11483. }`
  11484. type swaggerInfo struct {
  11485. Version string
  11486. Host string
  11487. BasePath string
  11488. Schemes []string
  11489. Title string
  11490. Description string
  11491. }
  11492. // SwaggerInfo holds exported Swagger Info so clients can modify it
  11493. var SwaggerInfo = swaggerInfo{
  11494. Version: "1.0",
  11495. Host: "",
  11496. BasePath: "/api",
  11497. Schemes: []string{},
  11498. Title: "MTP2.0 查询服务 API",
  11499. Description: "新的查询服务,替代原通用查询服务。",
  11500. }
  11501. type s struct{}
  11502. func (s *s) ReadDoc() string {
  11503. sInfo := SwaggerInfo
  11504. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  11505. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  11506. "marshal": func(v interface{}) string {
  11507. a, _ := json.Marshal(v)
  11508. return string(a)
  11509. },
  11510. }).Parse(doc)
  11511. if err != nil {
  11512. return doc
  11513. }
  11514. var tpl bytes.Buffer
  11515. if err := t.Execute(&tpl, sInfo); err != nil {
  11516. return doc
  11517. }
  11518. return tpl.String()
  11519. }
  11520. func init() {
  11521. swag.Register(swag.Name, &s{})
  11522. }