docs.go 411 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429
  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. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "responses": {
  378. "200": {
  379. "description": "OK",
  380. "schema": {
  381. "$ref": "#/definitions/models.Enumdicitem"
  382. }
  383. },
  384. "500": {
  385. "description": "Internal Server Error",
  386. "schema": {
  387. "$ref": "#/definitions/app.Response"
  388. }
  389. }
  390. }
  391. }
  392. },
  393. "/Common/GetServerTime": {
  394. "get": {
  395. "produces": [
  396. "application/json"
  397. ],
  398. "tags": [
  399. "通用服务"
  400. ],
  401. "summary": "获取服务器时间",
  402. "responses": {
  403. "200": {
  404. "description": "OK",
  405. "schema": {
  406. "$ref": "#/definitions/app.Response"
  407. }
  408. },
  409. "500": {
  410. "description": "Internal Server Error",
  411. "schema": {
  412. "$ref": "#/definitions/app.Response"
  413. }
  414. }
  415. }
  416. }
  417. },
  418. "/Common/NoticeReaded": {
  419. "post": {
  420. "security": [
  421. {
  422. "ApiKeyAuth": []
  423. }
  424. ],
  425. "produces": [
  426. "application/json"
  427. ],
  428. "tags": [
  429. "通用服务"
  430. ],
  431. "summary": "通知公告设置已读请求",
  432. "parameters": [
  433. {
  434. "type": "integer",
  435. "description": "登录账号",
  436. "name": "loginID",
  437. "in": "query",
  438. "required": true
  439. },
  440. {
  441. "type": "integer",
  442. "description": "通知公告ID",
  443. "name": "noticeID",
  444. "in": "query",
  445. "required": true
  446. }
  447. ],
  448. "responses": {
  449. "200": {
  450. "description": "OK",
  451. "schema": {
  452. "$ref": "#/definitions/app.Response"
  453. }
  454. },
  455. "500": {
  456. "description": "Internal Server Error",
  457. "schema": {
  458. "$ref": "#/definitions/app.Response"
  459. }
  460. }
  461. }
  462. }
  463. },
  464. "/Common/QueryImageConfigs": {
  465. "get": {
  466. "produces": [
  467. "application/json"
  468. ],
  469. "tags": [
  470. "通用服务"
  471. ],
  472. "summary": "查询轮播图配置信息",
  473. "parameters": [
  474. {
  475. "type": "integer",
  476. "description": "类型 - 1:App首页轮播 2:我的",
  477. "name": "imageType",
  478. "in": "query"
  479. }
  480. ],
  481. "responses": {
  482. "200": {
  483. "description": "OK",
  484. "schema": {
  485. "$ref": "#/definitions/models.Szdz2imageconfig"
  486. }
  487. },
  488. "500": {
  489. "description": "Internal Server Error",
  490. "schema": {
  491. "$ref": "#/definitions/app.Response"
  492. }
  493. }
  494. }
  495. }
  496. },
  497. "/Common/QueryNotice": {
  498. "get": {
  499. "security": [
  500. {
  501. "ApiKeyAuth": []
  502. }
  503. ],
  504. "produces": [
  505. "application/json"
  506. ],
  507. "tags": [
  508. "通用服务"
  509. ],
  510. "summary": "通知公告系统消息查询",
  511. "parameters": [
  512. {
  513. "type": "integer",
  514. "description": "页码",
  515. "name": "page",
  516. "in": "query"
  517. },
  518. {
  519. "type": "integer",
  520. "description": "每页条数",
  521. "name": "pagesize",
  522. "in": "query"
  523. },
  524. {
  525. "type": "integer",
  526. "description": "登录账号",
  527. "name": "loginID",
  528. "in": "query",
  529. "required": true
  530. },
  531. {
  532. "type": "integer",
  533. "description": "消息类型 - 1:公告通知 2:系统消息",
  534. "name": "msgType",
  535. "in": "query"
  536. },
  537. {
  538. "type": "boolean",
  539. "description": "是否只获取未读信息",
  540. "name": "onlyUnRead",
  541. "in": "query"
  542. }
  543. ],
  544. "responses": {
  545. "200": {
  546. "description": "OK",
  547. "schema": {
  548. "$ref": "#/definitions/common.QueryNoticeRsp"
  549. }
  550. },
  551. "500": {
  552. "description": "Internal Server Error",
  553. "schema": {
  554. "$ref": "#/definitions/app.Response"
  555. }
  556. }
  557. }
  558. }
  559. },
  560. "/Common/QueryProvincesAndCities": {
  561. "get": {
  562. "produces": [
  563. "application/json"
  564. ],
  565. "tags": [
  566. "通用服务"
  567. ],
  568. "summary": "查询省市信息(不包括区)",
  569. "parameters": [
  570. {
  571. "type": "integer",
  572. "description": "省ID",
  573. "name": "provinceID",
  574. "in": "query"
  575. }
  576. ],
  577. "responses": {
  578. "200": {
  579. "description": "OK",
  580. "schema": {
  581. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  582. }
  583. },
  584. "500": {
  585. "description": "Internal Server Error",
  586. "schema": {
  587. "$ref": "#/definitions/app.Response"
  588. }
  589. }
  590. }
  591. }
  592. },
  593. "/Common/QueryTableDefine": {
  594. "get": {
  595. "produces": [
  596. "application/json"
  597. ],
  598. "tags": [
  599. "通用服务"
  600. ],
  601. "summary": "查询交易端列表头信息",
  602. "parameters": [
  603. {
  604. "type": "string",
  605. "description": "表key",
  606. "name": "TableKey",
  607. "in": "query"
  608. }
  609. ],
  610. "responses": {
  611. "200": {
  612. "description": "OK",
  613. "schema": {
  614. "$ref": "#/definitions/common.QueryTableDefineRsp"
  615. }
  616. },
  617. "500": {
  618. "description": "Internal Server Error",
  619. "schema": {
  620. "$ref": "#/definitions/app.Response"
  621. }
  622. }
  623. }
  624. }
  625. },
  626. "/Common/QueryTraderMenu": {
  627. "get": {
  628. "produces": [
  629. "application/json"
  630. ],
  631. "tags": [
  632. "通用服务"
  633. ],
  634. "summary": "查询交易端菜单",
  635. "parameters": [
  636. {
  637. "type": "integer",
  638. "description": "登录账号",
  639. "name": "loginid",
  640. "in": "query",
  641. "required": true
  642. }
  643. ],
  644. "responses": {
  645. "200": {
  646. "description": "OK",
  647. "schema": {
  648. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  649. }
  650. },
  651. "500": {
  652. "description": "Internal Server Error",
  653. "schema": {
  654. "$ref": "#/definitions/app.Response"
  655. }
  656. }
  657. }
  658. }
  659. },
  660. "/Delivery/QueryDeliveryRelation": {
  661. "get": {
  662. "security": [
  663. {
  664. "ApiKeyAuth": []
  665. }
  666. ],
  667. "produces": [
  668. "application/json"
  669. ],
  670. "tags": [
  671. "交割服务"
  672. ],
  673. "summary": "查询商品交割关系表",
  674. "parameters": [
  675. {
  676. "type": "integer",
  677. "description": "商品ID",
  678. "name": "goodsid",
  679. "in": "query"
  680. },
  681. {
  682. "type": "integer",
  683. "description": "品种ID",
  684. "name": "deliverygoodsid",
  685. "in": "query"
  686. },
  687. {
  688. "type": "integer",
  689. "description": "市场ID",
  690. "name": "marketid",
  691. "in": "query"
  692. }
  693. ],
  694. "responses": {
  695. "200": {
  696. "description": "OK",
  697. "schema": {
  698. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  699. }
  700. },
  701. "500": {
  702. "description": "Internal Server Error",
  703. "schema": {
  704. "$ref": "#/definitions/app.Response"
  705. }
  706. }
  707. }
  708. }
  709. },
  710. "/Ermcp/QueryContract": {
  711. "get": {
  712. "security": [
  713. {
  714. "ApiKeyAuth": []
  715. }
  716. ],
  717. "produces": [
  718. "application/json"
  719. ],
  720. "tags": [
  721. "企业风险管理(app)"
  722. ],
  723. "summary": "查询合同(采购和销售)",
  724. "parameters": [
  725. {
  726. "type": "integer",
  727. "description": "合同类型 1-采购, -1-销售",
  728. "name": "contracttype",
  729. "in": "query",
  730. "required": true
  731. },
  732. {
  733. "type": "integer",
  734. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  735. "name": "QueryType",
  736. "in": "query",
  737. "required": true
  738. }
  739. ],
  740. "responses": {
  741. "200": {
  742. "description": "OK",
  743. "schema": {
  744. "type": "array",
  745. "items": {
  746. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  747. }
  748. }
  749. },
  750. "500": {
  751. "description": "Internal Server Error",
  752. "schema": {
  753. "$ref": "#/definitions/app.Response"
  754. }
  755. }
  756. }
  757. }
  758. },
  759. "/Ermcp/QueryHedgePlan": {
  760. "get": {
  761. "security": [
  762. {
  763. "ApiKeyAuth": []
  764. }
  765. ],
  766. "produces": [
  767. "application/json"
  768. ],
  769. "tags": [
  770. "企业风险管理(app)"
  771. ],
  772. "summary": "查询套保计划",
  773. "parameters": [
  774. {
  775. "type": "integer",
  776. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  777. "name": "HedgePlanStatus",
  778. "in": "query",
  779. "required": true
  780. }
  781. ],
  782. "responses": {
  783. "200": {
  784. "description": "OK",
  785. "schema": {
  786. "type": "array",
  787. "items": {
  788. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  789. }
  790. }
  791. },
  792. "500": {
  793. "description": "Internal Server Error",
  794. "schema": {
  795. "$ref": "#/definitions/app.Response"
  796. }
  797. }
  798. }
  799. }
  800. },
  801. "/Ermcp/QueryUserInfo": {
  802. "get": {
  803. "security": [
  804. {
  805. "ApiKeyAuth": []
  806. }
  807. ],
  808. "produces": [
  809. "application/json"
  810. ],
  811. "tags": [
  812. "企业风险管理(app)"
  813. ],
  814. "summary": "查询客户资料",
  815. "parameters": [
  816. {
  817. "type": "string",
  818. "description": "账户状态(可填多个, 逗号隔开) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  819. "name": "AccountStatus",
  820. "in": "query",
  821. "required": true
  822. }
  823. ],
  824. "responses": {
  825. "200": {
  826. "description": "OK",
  827. "schema": {
  828. "type": "array",
  829. "items": {
  830. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  831. }
  832. }
  833. },
  834. "500": {
  835. "description": "Internal Server Error",
  836. "schema": {
  837. "$ref": "#/definitions/app.Response"
  838. }
  839. }
  840. }
  841. }
  842. },
  843. "/Erms2/QueryArbitrageStrategy": {
  844. "get": {
  845. "security": [
  846. {
  847. "ApiKeyAuth": []
  848. }
  849. ],
  850. "produces": [
  851. "application/json"
  852. ],
  853. "tags": [
  854. "风险管理"
  855. ],
  856. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  857. "parameters": [
  858. {
  859. "type": "integer",
  860. "description": "账户ID",
  861. "name": "userid",
  862. "in": "query",
  863. "required": true
  864. },
  865. {
  866. "type": "string",
  867. "description": "商品组ID(品种ID)",
  868. "name": "goodsgroupid",
  869. "in": "query"
  870. }
  871. ],
  872. "responses": {
  873. "200": {
  874. "description": "OK",
  875. "schema": {
  876. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  877. }
  878. },
  879. "500": {
  880. "description": "Internal Server Error",
  881. "schema": {
  882. "$ref": "#/definitions/app.Response"
  883. }
  884. }
  885. }
  886. }
  887. },
  888. "/Erms2/QueryInnerTradeDetail": {
  889. "get": {
  890. "security": [
  891. {
  892. "ApiKeyAuth": []
  893. }
  894. ],
  895. "produces": [
  896. "application/json"
  897. ],
  898. "tags": [
  899. "风险管理"
  900. ],
  901. "summary": "查询内部成交单信息",
  902. "parameters": [
  903. {
  904. "type": "integer",
  905. "description": "资金账户",
  906. "name": "accountid",
  907. "in": "query",
  908. "required": true
  909. }
  910. ],
  911. "responses": {
  912. "200": {
  913. "description": "OK",
  914. "schema": {
  915. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  916. }
  917. },
  918. "500": {
  919. "description": "Internal Server Error",
  920. "schema": {
  921. "$ref": "#/definitions/app.Response"
  922. }
  923. }
  924. }
  925. }
  926. },
  927. "/Erms2/QuerySpotContract": {
  928. "get": {
  929. "security": [
  930. {
  931. "ApiKeyAuth": []
  932. }
  933. ],
  934. "produces": [
  935. "application/json"
  936. ],
  937. "tags": [
  938. "风险管理"
  939. ],
  940. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  941. "parameters": [
  942. {
  943. "type": "integer",
  944. "description": "策略申请ID",
  945. "name": "asapplyid",
  946. "in": "query",
  947. "required": true
  948. },
  949. {
  950. "type": "integer",
  951. "description": "现货合同ID",
  952. "name": "spotcontractid",
  953. "in": "query"
  954. }
  955. ],
  956. "responses": {
  957. "200": {
  958. "description": "OK",
  959. "schema": {
  960. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  961. }
  962. },
  963. "500": {
  964. "description": "Internal Server Error",
  965. "schema": {
  966. "$ref": "#/definitions/app.Response"
  967. }
  968. }
  969. }
  970. }
  971. },
  972. "/Erms3/AddErms2ASApply": {
  973. "post": {
  974. "security": [
  975. {
  976. "ApiKeyAuth": []
  977. }
  978. ],
  979. "produces": [
  980. "application/json"
  981. ],
  982. "tags": [
  983. "风险管理v3"
  984. ],
  985. "summary": "新增期现套利业务申请",
  986. "parameters": [
  987. {
  988. "description": "申请参数",
  989. "name": "jsonBody",
  990. "in": "body",
  991. "required": true,
  992. "schema": {
  993. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  994. }
  995. }
  996. ],
  997. "responses": {
  998. "200": {
  999. "description": "OK",
  1000. "schema": {
  1001. "$ref": "#/definitions/app.Response"
  1002. }
  1003. },
  1004. "500": {
  1005. "description": "Internal Server Error",
  1006. "schema": {
  1007. "$ref": "#/definitions/app.Response"
  1008. }
  1009. }
  1010. }
  1011. }
  1012. },
  1013. "/Erms3/AddErms2SpotTradeApply": {
  1014. "post": {
  1015. "security": [
  1016. {
  1017. "ApiKeyAuth": []
  1018. }
  1019. ],
  1020. "produces": [
  1021. "application/json"
  1022. ],
  1023. "tags": [
  1024. "风险管理v3"
  1025. ],
  1026. "summary": "新增现货贸易业务申请",
  1027. "parameters": [
  1028. {
  1029. "description": "申请参数",
  1030. "name": "jsonBody",
  1031. "in": "body",
  1032. "required": true,
  1033. "schema": {
  1034. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  1035. }
  1036. }
  1037. ],
  1038. "responses": {
  1039. "200": {
  1040. "description": "OK",
  1041. "schema": {
  1042. "$ref": "#/definitions/app.Response"
  1043. }
  1044. },
  1045. "500": {
  1046. "description": "Internal Server Error",
  1047. "schema": {
  1048. "$ref": "#/definitions/app.Response"
  1049. }
  1050. }
  1051. }
  1052. }
  1053. },
  1054. "/Erms3/AddSpotContractApply": {
  1055. "post": {
  1056. "security": [
  1057. {
  1058. "ApiKeyAuth": []
  1059. }
  1060. ],
  1061. "produces": [
  1062. "application/json"
  1063. ],
  1064. "tags": [
  1065. "风险管理v3"
  1066. ],
  1067. "summary": "新增现货合同申请",
  1068. "parameters": [
  1069. {
  1070. "description": "申请参数",
  1071. "name": "jsonBody",
  1072. "in": "body",
  1073. "required": true,
  1074. "schema": {
  1075. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  1076. }
  1077. }
  1078. ],
  1079. "responses": {
  1080. "200": {
  1081. "description": "OK",
  1082. "schema": {
  1083. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  1084. }
  1085. },
  1086. "500": {
  1087. "description": "Internal Server Error",
  1088. "schema": {
  1089. "$ref": "#/definitions/app.Response"
  1090. }
  1091. }
  1092. }
  1093. }
  1094. },
  1095. "/Erms3/AddUserInfoApply": {
  1096. "post": {
  1097. "security": [
  1098. {
  1099. "ApiKeyAuth": []
  1100. }
  1101. ],
  1102. "produces": [
  1103. "application/json"
  1104. ],
  1105. "tags": [
  1106. "风险管理v3"
  1107. ],
  1108. "summary": "新增客户申请",
  1109. "parameters": [
  1110. {
  1111. "description": "申请参数",
  1112. "name": "jsonBody",
  1113. "in": "body",
  1114. "required": true,
  1115. "schema": {
  1116. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  1117. }
  1118. }
  1119. ],
  1120. "responses": {
  1121. "200": {
  1122. "description": "OK",
  1123. "schema": {
  1124. "$ref": "#/definitions/app.Response"
  1125. }
  1126. },
  1127. "500": {
  1128. "description": "Internal Server Error",
  1129. "schema": {
  1130. "$ref": "#/definitions/app.Response"
  1131. }
  1132. }
  1133. }
  1134. }
  1135. },
  1136. "/Erms3/QueryBusinessInfo": {
  1137. "get": {
  1138. "security": [
  1139. {
  1140. "ApiKeyAuth": []
  1141. }
  1142. ],
  1143. "produces": [
  1144. "application/json"
  1145. ],
  1146. "tags": [
  1147. "风险管理v3"
  1148. ],
  1149. "summary": "查询业务表单数据",
  1150. "parameters": [
  1151. {
  1152. "type": "string",
  1153. "description": "资金账号ID列表,用逗号分隔",
  1154. "name": "accountids",
  1155. "in": "query",
  1156. "required": true
  1157. },
  1158. {
  1159. "type": "integer",
  1160. "description": "状态,0为未结束 1为已结束",
  1161. "name": "status",
  1162. "in": "query",
  1163. "required": true
  1164. }
  1165. ],
  1166. "responses": {
  1167. "200": {
  1168. "description": "OK",
  1169. "schema": {
  1170. "type": "array",
  1171. "items": {
  1172. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  1173. }
  1174. }
  1175. },
  1176. "500": {
  1177. "description": "Internal Server Error",
  1178. "schema": {
  1179. "$ref": "#/definitions/app.Response"
  1180. }
  1181. }
  1182. }
  1183. }
  1184. },
  1185. "/Erms3/QueryPendingAuditContract": {
  1186. "get": {
  1187. "security": [
  1188. {
  1189. "ApiKeyAuth": []
  1190. }
  1191. ],
  1192. "produces": [
  1193. "application/json"
  1194. ],
  1195. "tags": [
  1196. "风险管理v3"
  1197. ],
  1198. "summary": "查询待审核合同",
  1199. "parameters": [
  1200. {
  1201. "type": "string",
  1202. "description": "资金账号ID列表,逗号隔开",
  1203. "name": "accountids",
  1204. "in": "query",
  1205. "required": true
  1206. },
  1207. {
  1208. "type": "integer",
  1209. "description": "合同类型 1-采购 -1-销售",
  1210. "name": "contracttype",
  1211. "in": "query",
  1212. "required": true
  1213. },
  1214. {
  1215. "type": "integer",
  1216. "description": "合同模式 1-普通 2-回购",
  1217. "name": "contractmode",
  1218. "in": "query",
  1219. "required": true
  1220. }
  1221. ],
  1222. "responses": {
  1223. "200": {
  1224. "description": "OK",
  1225. "schema": {
  1226. "type": "array",
  1227. "items": {
  1228. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  1229. }
  1230. }
  1231. },
  1232. "500": {
  1233. "description": "Internal Server Error",
  1234. "schema": {
  1235. "$ref": "#/definitions/app.Response"
  1236. }
  1237. }
  1238. }
  1239. }
  1240. },
  1241. "/Erms3/QueryPendingBusiness": {
  1242. "get": {
  1243. "security": [
  1244. {
  1245. "ApiKeyAuth": []
  1246. }
  1247. ],
  1248. "produces": [
  1249. "application/json"
  1250. ],
  1251. "tags": [
  1252. "风险管理v3"
  1253. ],
  1254. "summary": "查询待审核基差贸易业务",
  1255. "parameters": [
  1256. {
  1257. "type": "string",
  1258. "description": "资金账号ID列表,逗号隔开",
  1259. "name": "accountids",
  1260. "in": "query",
  1261. "required": true
  1262. }
  1263. ],
  1264. "responses": {
  1265. "200": {
  1266. "description": "OK",
  1267. "schema": {
  1268. "type": "array",
  1269. "items": {
  1270. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  1271. }
  1272. }
  1273. },
  1274. "500": {
  1275. "description": "Internal Server Error",
  1276. "schema": {
  1277. "$ref": "#/definitions/app.Response"
  1278. }
  1279. }
  1280. }
  1281. }
  1282. },
  1283. "/Erms3/QuerySpotContractAppleForm": {
  1284. "get": {
  1285. "security": [
  1286. {
  1287. "ApiKeyAuth": []
  1288. }
  1289. ],
  1290. "produces": [
  1291. "application/json"
  1292. ],
  1293. "tags": [
  1294. "风险管理v3"
  1295. ],
  1296. "summary": "查询合同申请表单数据",
  1297. "parameters": [
  1298. {
  1299. "type": "integer",
  1300. "description": "登录账号",
  1301. "name": "loginID",
  1302. "in": "query",
  1303. "required": true
  1304. }
  1305. ],
  1306. "responses": {
  1307. "200": {
  1308. "description": "OK",
  1309. "schema": {
  1310. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  1311. }
  1312. },
  1313. "500": {
  1314. "description": "Internal Server Error",
  1315. "schema": {
  1316. "$ref": "#/definitions/app.Response"
  1317. }
  1318. }
  1319. }
  1320. }
  1321. },
  1322. "/Erms3/QuerySpotContractDetail": {
  1323. "get": {
  1324. "security": [
  1325. {
  1326. "ApiKeyAuth": []
  1327. }
  1328. ],
  1329. "produces": [
  1330. "application/json"
  1331. ],
  1332. "tags": [
  1333. "风险管理v3"
  1334. ],
  1335. "summary": "查询合同详细信息",
  1336. "parameters": [
  1337. {
  1338. "type": "string",
  1339. "description": "资金账号ID列表,用逗号分隔",
  1340. "name": "accountids",
  1341. "in": "query",
  1342. "required": true
  1343. },
  1344. {
  1345. "type": "integer",
  1346. "description": "合同类型,1为采购合同 -1为销售合同",
  1347. "name": "contracttype",
  1348. "in": "query",
  1349. "required": true
  1350. },
  1351. {
  1352. "type": "integer",
  1353. "description": "合同模式,1为普通合同 2为回购销售合同",
  1354. "name": "contractmode",
  1355. "in": "query",
  1356. "required": true
  1357. },
  1358. {
  1359. "type": "integer",
  1360. "description": "状态,0为履约中 1为已完成",
  1361. "name": "status",
  1362. "in": "query",
  1363. "required": true
  1364. }
  1365. ],
  1366. "responses": {
  1367. "200": {
  1368. "description": "OK",
  1369. "schema": {
  1370. "type": "array",
  1371. "items": {
  1372. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  1373. }
  1374. }
  1375. },
  1376. "500": {
  1377. "description": "Internal Server Error",
  1378. "schema": {
  1379. "$ref": "#/definitions/app.Response"
  1380. }
  1381. }
  1382. }
  1383. }
  1384. },
  1385. "/Erms3/QueryUserInfoApplies": {
  1386. "get": {
  1387. "security": [
  1388. {
  1389. "ApiKeyAuth": []
  1390. }
  1391. ],
  1392. "produces": [
  1393. "application/json"
  1394. ],
  1395. "tags": [
  1396. "风险管理v3"
  1397. ],
  1398. "summary": "客户申请信息查询",
  1399. "parameters": [
  1400. {
  1401. "type": "integer",
  1402. "description": "页码",
  1403. "name": "page",
  1404. "in": "query"
  1405. },
  1406. {
  1407. "type": "integer",
  1408. "description": "每页条数",
  1409. "name": "pagesize",
  1410. "in": "query"
  1411. },
  1412. {
  1413. "type": "string",
  1414. "description": "客户名称,支持模糊查询",
  1415. "name": "userName",
  1416. "in": "query"
  1417. }
  1418. ],
  1419. "responses": {
  1420. "200": {
  1421. "description": "OK",
  1422. "schema": {
  1423. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  1424. }
  1425. },
  1426. "500": {
  1427. "description": "Internal Server Error",
  1428. "schema": {
  1429. "$ref": "#/definitions/app.Response"
  1430. }
  1431. }
  1432. }
  1433. }
  1434. },
  1435. "/Erms3/QueryUserInfos": {
  1436. "get": {
  1437. "security": [
  1438. {
  1439. "ApiKeyAuth": []
  1440. }
  1441. ],
  1442. "produces": [
  1443. "application/json"
  1444. ],
  1445. "tags": [
  1446. "风险管理v3"
  1447. ],
  1448. "summary": "客户信息查询",
  1449. "parameters": [
  1450. {
  1451. "type": "integer",
  1452. "description": "页码",
  1453. "name": "page",
  1454. "in": "query"
  1455. },
  1456. {
  1457. "type": "integer",
  1458. "description": "每页条数",
  1459. "name": "pagesize",
  1460. "in": "query"
  1461. },
  1462. {
  1463. "type": "string",
  1464. "description": "客户名称,支持模糊查询",
  1465. "name": "userName",
  1466. "in": "query"
  1467. }
  1468. ],
  1469. "responses": {
  1470. "200": {
  1471. "description": "OK",
  1472. "schema": {
  1473. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  1474. }
  1475. },
  1476. "500": {
  1477. "description": "Internal Server Error",
  1478. "schema": {
  1479. "$ref": "#/definitions/app.Response"
  1480. }
  1481. }
  1482. }
  1483. }
  1484. },
  1485. "/HSBY/GetHsbyMyCount": {
  1486. "get": {
  1487. "security": [
  1488. {
  1489. "ApiKeyAuth": []
  1490. }
  1491. ],
  1492. "description": "说明: 不包括已完成的数量。",
  1493. "produces": [
  1494. "application/json"
  1495. ],
  1496. "tags": [
  1497. "定制【海商报业】"
  1498. ],
  1499. "summary": "获取我的订单与包裹数量",
  1500. "parameters": [
  1501. {
  1502. "type": "string",
  1503. "description": "资金账户列表,格式:1,2,3",
  1504. "name": "accountIDs",
  1505. "in": "query",
  1506. "required": true
  1507. }
  1508. ],
  1509. "responses": {
  1510. "200": {
  1511. "description": "OK",
  1512. "schema": {
  1513. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  1514. }
  1515. },
  1516. "500": {
  1517. "description": "Internal Server Error",
  1518. "schema": {
  1519. "$ref": "#/definitions/app.Response"
  1520. }
  1521. }
  1522. }
  1523. }
  1524. },
  1525. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  1526. "get": {
  1527. "security": [
  1528. {
  1529. "ApiKeyAuth": []
  1530. }
  1531. ],
  1532. "produces": [
  1533. "application/json"
  1534. ],
  1535. "tags": [
  1536. "定制【海商报业】"
  1537. ],
  1538. "summary": "查询\"我的订单 - 已完成\"单据信息",
  1539. "parameters": [
  1540. {
  1541. "type": "integer",
  1542. "description": "页码",
  1543. "name": "page",
  1544. "in": "query"
  1545. },
  1546. {
  1547. "type": "integer",
  1548. "description": "每页条数",
  1549. "name": "pagesize",
  1550. "in": "query"
  1551. },
  1552. {
  1553. "type": "string",
  1554. "description": "资金账户列表,格式:1,2,3",
  1555. "name": "accountIDs",
  1556. "in": "query",
  1557. "required": true
  1558. }
  1559. ],
  1560. "responses": {
  1561. "200": {
  1562. "description": "OK",
  1563. "schema": {
  1564. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  1565. }
  1566. },
  1567. "500": {
  1568. "description": "Internal Server Error",
  1569. "schema": {
  1570. "$ref": "#/definitions/app.Response"
  1571. }
  1572. }
  1573. }
  1574. }
  1575. },
  1576. "/HSBY/QueryHsbyGoodsOrderDetails": {
  1577. "get": {
  1578. "security": [
  1579. {
  1580. "ApiKeyAuth": []
  1581. }
  1582. ],
  1583. "description": "说明:查询结果已按委托价格和委托时间排序",
  1584. "produces": [
  1585. "application/json"
  1586. ],
  1587. "tags": [
  1588. "定制【海商报业】"
  1589. ],
  1590. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  1591. "parameters": [
  1592. {
  1593. "type": "integer",
  1594. "description": "商品ID",
  1595. "name": "goodsID",
  1596. "in": "query",
  1597. "required": true
  1598. },
  1599. {
  1600. "type": "string",
  1601. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  1602. "name": "accountIDs",
  1603. "in": "query"
  1604. },
  1605. {
  1606. "type": "integer",
  1607. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  1608. "name": "buyOrSell",
  1609. "in": "query"
  1610. },
  1611. {
  1612. "type": "number",
  1613. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  1614. "name": "price",
  1615. "in": "query"
  1616. },
  1617. {
  1618. "type": "integer",
  1619. "description": "档位,不传则默认为3档",
  1620. "name": "speed",
  1621. "in": "query"
  1622. }
  1623. ],
  1624. "responses": {
  1625. "200": {
  1626. "description": "OK",
  1627. "schema": {
  1628. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  1629. }
  1630. },
  1631. "500": {
  1632. "description": "Internal Server Error",
  1633. "schema": {
  1634. "$ref": "#/definitions/app.Response"
  1635. }
  1636. }
  1637. }
  1638. }
  1639. },
  1640. "/HSBY/QueryHsbyListingGoodsDetail": {
  1641. "get": {
  1642. "security": [
  1643. {
  1644. "ApiKeyAuth": []
  1645. }
  1646. ],
  1647. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  1648. "produces": [
  1649. "application/json"
  1650. ],
  1651. "tags": [
  1652. "定制【海商报业】"
  1653. ],
  1654. "summary": "查询二级市场(挂牌点选)商品信息详情",
  1655. "parameters": [
  1656. {
  1657. "type": "integer",
  1658. "description": "商品ID",
  1659. "name": "goodsID",
  1660. "in": "query",
  1661. "required": true
  1662. },
  1663. {
  1664. "type": "integer",
  1665. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  1666. "name": "AccountID",
  1667. "in": "query"
  1668. }
  1669. ],
  1670. "responses": {
  1671. "200": {
  1672. "description": "OK",
  1673. "schema": {
  1674. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  1675. }
  1676. },
  1677. "500": {
  1678. "description": "Internal Server Error",
  1679. "schema": {
  1680. "$ref": "#/definitions/app.Response"
  1681. }
  1682. }
  1683. }
  1684. }
  1685. },
  1686. "/HSBY/QueryHsbyMarketGoodsDetail": {
  1687. "get": {
  1688. "security": [
  1689. {
  1690. "ApiKeyAuth": []
  1691. }
  1692. ],
  1693. "produces": [
  1694. "application/json"
  1695. ],
  1696. "tags": [
  1697. "定制【海商报业】"
  1698. ],
  1699. "summary": "查询三级市场(商城)商品信息详情",
  1700. "parameters": [
  1701. {
  1702. "type": "integer",
  1703. "description": "委托单号",
  1704. "name": "orderID",
  1705. "in": "query",
  1706. "required": true
  1707. }
  1708. ],
  1709. "responses": {
  1710. "200": {
  1711. "description": "OK",
  1712. "schema": {
  1713. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  1714. }
  1715. },
  1716. "500": {
  1717. "description": "Internal Server Error",
  1718. "schema": {
  1719. "$ref": "#/definitions/app.Response"
  1720. }
  1721. }
  1722. }
  1723. }
  1724. },
  1725. "/HSBY/QueryHsbyMarketGoodses": {
  1726. "get": {
  1727. "security": [
  1728. {
  1729. "ApiKeyAuth": []
  1730. }
  1731. ],
  1732. "produces": [
  1733. "application/json"
  1734. ],
  1735. "tags": [
  1736. "定制【海商报业】"
  1737. ],
  1738. "summary": "查询特卖商品列表(三级商城)",
  1739. "parameters": [
  1740. {
  1741. "type": "integer",
  1742. "description": "页码",
  1743. "name": "page",
  1744. "in": "query"
  1745. },
  1746. {
  1747. "type": "integer",
  1748. "description": "每页条数",
  1749. "name": "pagesize",
  1750. "in": "query"
  1751. },
  1752. {
  1753. "type": "string",
  1754. "description": "市场ID列表,格式:1,2,3",
  1755. "name": "marketIDs",
  1756. "in": "query",
  1757. "required": true
  1758. },
  1759. {
  1760. "type": "integer",
  1761. "description": "资金账户,主要用于判断商品是否有可用的优惠卷;如未登录可不传。",
  1762. "name": "accountID",
  1763. "in": "query"
  1764. },
  1765. {
  1766. "type": "integer",
  1767. "description": "类别ID",
  1768. "name": "categoryID",
  1769. "in": "query"
  1770. },
  1771. {
  1772. "type": "string",
  1773. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  1774. "name": "goodsIDs",
  1775. "in": "query"
  1776. },
  1777. {
  1778. "type": "integer",
  1779. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  1780. "name": "couponTypeID",
  1781. "in": "query"
  1782. }
  1783. ],
  1784. "responses": {
  1785. "200": {
  1786. "description": "OK",
  1787. "schema": {
  1788. "$ref": "#/definitions/models.HsbyMarketGoods"
  1789. }
  1790. },
  1791. "500": {
  1792. "description": "Internal Server Error",
  1793. "schema": {
  1794. "$ref": "#/definitions/app.Response"
  1795. }
  1796. }
  1797. }
  1798. }
  1799. },
  1800. "/HSBY/QueryHsbyMarkets": {
  1801. "get": {
  1802. "security": [
  1803. {
  1804. "ApiKeyAuth": []
  1805. }
  1806. ],
  1807. "produces": [
  1808. "application/json"
  1809. ],
  1810. "tags": [
  1811. "定制【海商报业】"
  1812. ],
  1813. "summary": "查询海商报业相关市场信息",
  1814. "responses": {
  1815. "200": {
  1816. "description": "OK",
  1817. "schema": {
  1818. "$ref": "#/definitions/models.HsbyMarketInfo"
  1819. }
  1820. },
  1821. "500": {
  1822. "description": "Internal Server Error",
  1823. "schema": {
  1824. "$ref": "#/definitions/app.Response"
  1825. }
  1826. }
  1827. }
  1828. }
  1829. },
  1830. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  1831. "get": {
  1832. "security": [
  1833. {
  1834. "ApiKeyAuth": []
  1835. }
  1836. ],
  1837. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  1838. "produces": [
  1839. "application/json"
  1840. ],
  1841. "tags": [
  1842. "定制【海商报业】"
  1843. ],
  1844. "summary": "查询“我的订单”信息",
  1845. "parameters": [
  1846. {
  1847. "type": "string",
  1848. "description": "资金账户列表,格式:1,2,3",
  1849. "name": "accountIDs",
  1850. "in": "query",
  1851. "required": true
  1852. },
  1853. {
  1854. "type": "integer",
  1855. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  1856. "name": "myBuyStatus",
  1857. "in": "query"
  1858. }
  1859. ],
  1860. "responses": {
  1861. "200": {
  1862. "description": "OK",
  1863. "schema": {
  1864. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  1865. }
  1866. },
  1867. "500": {
  1868. "description": "Internal Server Error",
  1869. "schema": {
  1870. "$ref": "#/definitions/app.Response"
  1871. }
  1872. }
  1873. }
  1874. }
  1875. },
  1876. "/HSBY/QueryHsbyMyGoods": {
  1877. "get": {
  1878. "security": [
  1879. {
  1880. "ApiKeyAuth": []
  1881. }
  1882. ],
  1883. "produces": [
  1884. "application/json"
  1885. ],
  1886. "tags": [
  1887. "定制【海商报业】"
  1888. ],
  1889. "summary": "查询“我的商品”信息",
  1890. "parameters": [
  1891. {
  1892. "type": "string",
  1893. "description": "资金账户列表,格式:1,2,3",
  1894. "name": "accountIDs",
  1895. "in": "query",
  1896. "required": true
  1897. }
  1898. ],
  1899. "responses": {
  1900. "200": {
  1901. "description": "OK",
  1902. "schema": {
  1903. "$ref": "#/definitions/models.HsbyMyGoods"
  1904. }
  1905. },
  1906. "500": {
  1907. "description": "Internal Server Error",
  1908. "schema": {
  1909. "$ref": "#/definitions/app.Response"
  1910. }
  1911. }
  1912. }
  1913. }
  1914. },
  1915. "/HSBY/QueryHsbyMyPackages": {
  1916. "get": {
  1917. "security": [
  1918. {
  1919. "ApiKeyAuth": []
  1920. }
  1921. ],
  1922. "produces": [
  1923. "application/json"
  1924. ],
  1925. "tags": [
  1926. "定制【海商报业】"
  1927. ],
  1928. "summary": "查询我的包裹信息",
  1929. "parameters": [
  1930. {
  1931. "type": "string",
  1932. "description": "资金账户列表,格式:1,2,3",
  1933. "name": "accountIDs",
  1934. "in": "query",
  1935. "required": true
  1936. },
  1937. {
  1938. "type": "integer",
  1939. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  1940. "name": "takeOrderStatus",
  1941. "in": "query"
  1942. }
  1943. ],
  1944. "responses": {
  1945. "200": {
  1946. "description": "OK",
  1947. "schema": {
  1948. "$ref": "#/definitions/models.HsbyMyPackage"
  1949. }
  1950. },
  1951. "500": {
  1952. "description": "Internal Server Error",
  1953. "schema": {
  1954. "$ref": "#/definitions/app.Response"
  1955. }
  1956. }
  1957. }
  1958. }
  1959. },
  1960. "/HSBY/QueryHsbyPreGoodsDetail": {
  1961. "get": {
  1962. "security": [
  1963. {
  1964. "ApiKeyAuth": []
  1965. }
  1966. ],
  1967. "produces": [
  1968. "application/json"
  1969. ],
  1970. "tags": [
  1971. "定制【海商报业】"
  1972. ],
  1973. "summary": "查询一级市场(预售)商品信息详情",
  1974. "parameters": [
  1975. {
  1976. "type": "integer",
  1977. "description": "商品ID",
  1978. "name": "goodsID",
  1979. "in": "query",
  1980. "required": true
  1981. },
  1982. {
  1983. "type": "integer",
  1984. "description": "资金账户,主要用于获取预售商品购买上限",
  1985. "name": "accountID",
  1986. "in": "query"
  1987. }
  1988. ],
  1989. "responses": {
  1990. "200": {
  1991. "description": "OK",
  1992. "schema": {
  1993. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  1994. }
  1995. },
  1996. "500": {
  1997. "description": "Internal Server Error",
  1998. "schema": {
  1999. "$ref": "#/definitions/app.Response"
  2000. }
  2001. }
  2002. }
  2003. }
  2004. },
  2005. "/HSBY/QueryHsbyPreGoodses": {
  2006. "get": {
  2007. "security": [
  2008. {
  2009. "ApiKeyAuth": []
  2010. }
  2011. ],
  2012. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  2013. "produces": [
  2014. "application/json"
  2015. ],
  2016. "tags": [
  2017. "定制【海商报业】"
  2018. ],
  2019. "summary": "查询新品上市商品列表(一级市场预售)",
  2020. "parameters": [
  2021. {
  2022. "type": "integer",
  2023. "description": "页码",
  2024. "name": "page",
  2025. "in": "query"
  2026. },
  2027. {
  2028. "type": "integer",
  2029. "description": "每页条数",
  2030. "name": "pagesize",
  2031. "in": "query"
  2032. },
  2033. {
  2034. "type": "string",
  2035. "description": "市场ID列表,格式:1,2,3",
  2036. "name": "marketIDs",
  2037. "in": "query",
  2038. "required": true
  2039. },
  2040. {
  2041. "type": "integer",
  2042. "description": "目的地(省)ID",
  2043. "name": "descProvinceID",
  2044. "in": "query"
  2045. },
  2046. {
  2047. "type": "integer",
  2048. "description": "目的地(市)ID",
  2049. "name": "descCityID",
  2050. "in": "query"
  2051. }
  2052. ],
  2053. "responses": {
  2054. "200": {
  2055. "description": "OK",
  2056. "schema": {
  2057. "$ref": "#/definitions/models.HsbyPreGoods"
  2058. }
  2059. },
  2060. "500": {
  2061. "description": "Internal Server Error",
  2062. "schema": {
  2063. "$ref": "#/definitions/app.Response"
  2064. }
  2065. }
  2066. }
  2067. }
  2068. },
  2069. "/HSBY/QueryHsbySellMyDetails": {
  2070. "get": {
  2071. "security": [
  2072. {
  2073. "ApiKeyAuth": []
  2074. }
  2075. ],
  2076. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  2077. "produces": [
  2078. "application/json"
  2079. ],
  2080. "tags": [
  2081. "定制【海商报业】"
  2082. ],
  2083. "summary": "查询\"我的闲置\"单据信息",
  2084. "parameters": [
  2085. {
  2086. "type": "integer",
  2087. "description": "页码",
  2088. "name": "page",
  2089. "in": "query"
  2090. },
  2091. {
  2092. "type": "integer",
  2093. "description": "每页条数",
  2094. "name": "pagesize",
  2095. "in": "query"
  2096. },
  2097. {
  2098. "type": "string",
  2099. "description": "资金账户列表,格式:1,2,3",
  2100. "name": "accountIDs",
  2101. "in": "query",
  2102. "required": true
  2103. },
  2104. {
  2105. "type": "integer",
  2106. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  2107. "name": "orderType",
  2108. "in": "query"
  2109. }
  2110. ],
  2111. "responses": {
  2112. "200": {
  2113. "description": "OK",
  2114. "schema": {
  2115. "$ref": "#/definitions/models.HsbySellMyDetail"
  2116. }
  2117. },
  2118. "500": {
  2119. "description": "Internal Server Error",
  2120. "schema": {
  2121. "$ref": "#/definitions/app.Response"
  2122. }
  2123. }
  2124. }
  2125. }
  2126. },
  2127. "/HSBY/QueryHsbyTopGoodses": {
  2128. "get": {
  2129. "security": [
  2130. {
  2131. "ApiKeyAuth": []
  2132. }
  2133. ],
  2134. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  2135. "produces": [
  2136. "application/json"
  2137. ],
  2138. "tags": [
  2139. "定制【海商报业】"
  2140. ],
  2141. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  2142. "parameters": [
  2143. {
  2144. "type": "integer",
  2145. "description": "页码",
  2146. "name": "page",
  2147. "in": "query"
  2148. },
  2149. {
  2150. "type": "integer",
  2151. "description": "每页条数",
  2152. "name": "pagesize",
  2153. "in": "query"
  2154. },
  2155. {
  2156. "type": "string",
  2157. "description": "市场ID列表,格式:1,2,3",
  2158. "name": "marketIDs",
  2159. "in": "query",
  2160. "required": true
  2161. },
  2162. {
  2163. "type": "integer",
  2164. "description": "目的地(省)ID",
  2165. "name": "descProvinceID",
  2166. "in": "query"
  2167. },
  2168. {
  2169. "type": "integer",
  2170. "description": "目的地(市)ID",
  2171. "name": "descCityID",
  2172. "in": "query"
  2173. }
  2174. ],
  2175. "responses": {
  2176. "200": {
  2177. "description": "OK",
  2178. "schema": {
  2179. "$ref": "#/definitions/models.HsbyTopGoods"
  2180. }
  2181. },
  2182. "500": {
  2183. "description": "Internal Server Error",
  2184. "schema": {
  2185. "$ref": "#/definitions/app.Response"
  2186. }
  2187. }
  2188. }
  2189. }
  2190. },
  2191. "/HSBY/QueryMyCollectionOrders": {
  2192. "get": {
  2193. "security": [
  2194. {
  2195. "ApiKeyAuth": []
  2196. }
  2197. ],
  2198. "produces": [
  2199. "application/json"
  2200. ],
  2201. "tags": [
  2202. "定制【海商报业】"
  2203. ],
  2204. "summary": "我的闲置中收款信息查询",
  2205. "parameters": [
  2206. {
  2207. "type": "integer",
  2208. "description": "页码",
  2209. "name": "page",
  2210. "in": "query"
  2211. },
  2212. {
  2213. "type": "integer",
  2214. "description": "每页条数",
  2215. "name": "pagesize",
  2216. "in": "query"
  2217. },
  2218. {
  2219. "type": "string",
  2220. "description": "资金账户,格式:1,2,3",
  2221. "name": "accountIDs",
  2222. "in": "query",
  2223. "required": true
  2224. }
  2225. ],
  2226. "responses": {
  2227. "200": {
  2228. "description": "OK",
  2229. "schema": {
  2230. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  2231. }
  2232. },
  2233. "500": {
  2234. "description": "Internal Server Error",
  2235. "schema": {
  2236. "$ref": "#/definitions/app.Response"
  2237. }
  2238. }
  2239. }
  2240. }
  2241. },
  2242. "/HSBY/QueryMyCouponHolds": {
  2243. "get": {
  2244. "security": [
  2245. {
  2246. "ApiKeyAuth": []
  2247. }
  2248. ],
  2249. "produces": [
  2250. "application/json"
  2251. ],
  2252. "tags": [
  2253. "定制【海商报业】"
  2254. ],
  2255. "summary": "我的优惠卷持仓查询",
  2256. "parameters": [
  2257. {
  2258. "type": "string",
  2259. "description": "资金账户列表,格式:1,2,3",
  2260. "name": "accountIDs",
  2261. "in": "query",
  2262. "required": true
  2263. },
  2264. {
  2265. "type": "string",
  2266. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  2267. "name": "holdStatus",
  2268. "in": "query"
  2269. }
  2270. ],
  2271. "responses": {
  2272. "200": {
  2273. "description": "OK",
  2274. "schema": {
  2275. "$ref": "#/definitions/models.MyCouponHold"
  2276. }
  2277. },
  2278. "500": {
  2279. "description": "Internal Server Error",
  2280. "schema": {
  2281. "$ref": "#/definitions/app.Response"
  2282. }
  2283. }
  2284. }
  2285. }
  2286. },
  2287. "/HSBY/QueryMyCoupons": {
  2288. "get": {
  2289. "security": [
  2290. {
  2291. "ApiKeyAuth": []
  2292. }
  2293. ],
  2294. "produces": [
  2295. "application/json"
  2296. ],
  2297. "tags": [
  2298. "定制【海商报业】"
  2299. ],
  2300. "summary": "我的优惠卷查询",
  2301. "parameters": [
  2302. {
  2303. "type": "string",
  2304. "description": "资金账户列表,格式:1,2,3",
  2305. "name": "accountIDs",
  2306. "in": "query",
  2307. "required": true
  2308. },
  2309. {
  2310. "type": "integer",
  2311. "description": "商品ID, 一般与sellUserID配套传入",
  2312. "name": "goodsID",
  2313. "in": "query"
  2314. },
  2315. {
  2316. "type": "integer",
  2317. "description": "卖方UserID",
  2318. "name": "sellUserID",
  2319. "in": "query"
  2320. }
  2321. ],
  2322. "responses": {
  2323. "200": {
  2324. "description": "OK",
  2325. "schema": {
  2326. "$ref": "#/definitions/models.MyCoupon"
  2327. }
  2328. },
  2329. "500": {
  2330. "description": "Internal Server Error",
  2331. "schema": {
  2332. "$ref": "#/definitions/app.Response"
  2333. }
  2334. }
  2335. }
  2336. }
  2337. },
  2338. "/HSBY/QueryMyPayOrders": {
  2339. "get": {
  2340. "security": [
  2341. {
  2342. "ApiKeyAuth": []
  2343. }
  2344. ],
  2345. "produces": [
  2346. "application/json"
  2347. ],
  2348. "tags": [
  2349. "定制【海商报业】"
  2350. ],
  2351. "summary": "获取我的订单中待付款信息",
  2352. "parameters": [
  2353. {
  2354. "type": "integer",
  2355. "description": "页码",
  2356. "name": "page",
  2357. "in": "query"
  2358. },
  2359. {
  2360. "type": "integer",
  2361. "description": "每页条数",
  2362. "name": "pagesize",
  2363. "in": "query"
  2364. },
  2365. {
  2366. "type": "string",
  2367. "description": "资金账户列表,格式:1,2,3",
  2368. "name": "accountIDs",
  2369. "in": "query",
  2370. "required": true
  2371. },
  2372. {
  2373. "type": "integer",
  2374. "description": "买方委托单号",
  2375. "name": "buyOrderID",
  2376. "in": "query"
  2377. },
  2378. {
  2379. "type": "integer",
  2380. "description": "卖方委托单号",
  2381. "name": "sellOrderID",
  2382. "in": "query"
  2383. }
  2384. ],
  2385. "responses": {
  2386. "200": {
  2387. "description": "OK",
  2388. "schema": {
  2389. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  2390. }
  2391. },
  2392. "500": {
  2393. "description": "Internal Server Error",
  2394. "schema": {
  2395. "$ref": "#/definitions/app.Response"
  2396. }
  2397. }
  2398. }
  2399. }
  2400. },
  2401. "/HSBY/QueryProvincesAndCities": {
  2402. "get": {
  2403. "security": [
  2404. {
  2405. "ApiKeyAuth": []
  2406. }
  2407. ],
  2408. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  2409. "produces": [
  2410. "application/json"
  2411. ],
  2412. "tags": [
  2413. "定制【海商报业】"
  2414. ],
  2415. "summary": "查询省市信息(不包括区)",
  2416. "parameters": [
  2417. {
  2418. "type": "integer",
  2419. "description": "省ID",
  2420. "name": "provinceID",
  2421. "in": "query"
  2422. }
  2423. ],
  2424. "responses": {
  2425. "200": {
  2426. "description": "OK",
  2427. "schema": {
  2428. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  2429. }
  2430. },
  2431. "500": {
  2432. "description": "Internal Server Error",
  2433. "schema": {
  2434. "$ref": "#/definitions/app.Response"
  2435. }
  2436. }
  2437. }
  2438. }
  2439. },
  2440. "/HSBY/SetHsbyMyPackagesStatus": {
  2441. "post": {
  2442. "security": [
  2443. {
  2444. "ApiKeyAuth": []
  2445. }
  2446. ],
  2447. "produces": [
  2448. "application/json"
  2449. ],
  2450. "tags": [
  2451. "定制【海商报业】"
  2452. ],
  2453. "summary": "设置我的包裹已收货状态",
  2454. "parameters": [
  2455. {
  2456. "type": "string",
  2457. "description": "提货单号",
  2458. "name": "takeOrderID",
  2459. "in": "query",
  2460. "required": true
  2461. },
  2462. {
  2463. "type": "integer",
  2464. "description": "资金账号",
  2465. "name": "accountID",
  2466. "in": "query",
  2467. "required": true
  2468. }
  2469. ],
  2470. "responses": {
  2471. "200": {
  2472. "description": "OK",
  2473. "schema": {
  2474. "$ref": "#/definitions/app.Response"
  2475. }
  2476. },
  2477. "500": {
  2478. "description": "Internal Server Error",
  2479. "schema": {
  2480. "$ref": "#/definitions/app.Response"
  2481. }
  2482. }
  2483. }
  2484. }
  2485. },
  2486. "/Market/QueryMarketRun": {
  2487. "get": {
  2488. "security": [
  2489. {
  2490. "ApiKeyAuth": []
  2491. }
  2492. ],
  2493. "produces": [
  2494. "application/json"
  2495. ],
  2496. "tags": [
  2497. "通用市场"
  2498. ],
  2499. "summary": "查询市场运行信息",
  2500. "parameters": [
  2501. {
  2502. "type": "integer",
  2503. "description": "市场ID,不传返回所有",
  2504. "name": "marketID",
  2505. "in": "query"
  2506. }
  2507. ],
  2508. "responses": {
  2509. "200": {
  2510. "description": "OK",
  2511. "schema": {
  2512. "$ref": "#/definitions/models.Marketrun"
  2513. }
  2514. },
  2515. "500": {
  2516. "description": "Internal Server Error",
  2517. "schema": {
  2518. "$ref": "#/definitions/app.Response"
  2519. }
  2520. }
  2521. }
  2522. }
  2523. },
  2524. "/Order/QueryHisTradeDetail": {
  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": "string",
  2541. "description": "资金账户 - 格式:1,2,3",
  2542. "name": "accountID",
  2543. "in": "query",
  2544. "required": true
  2545. },
  2546. {
  2547. "type": "integer",
  2548. "description": "成交单号",
  2549. "name": "tradeID",
  2550. "in": "query"
  2551. },
  2552. {
  2553. "type": "integer",
  2554. "description": "委托单号",
  2555. "name": "orderID",
  2556. "in": "query"
  2557. },
  2558. {
  2559. "type": "string",
  2560. "description": "交易模式 - 格式:1,2,3",
  2561. "name": "tradeMode",
  2562. "in": "query"
  2563. },
  2564. {
  2565. "type": "integer",
  2566. "description": "委托单据类型",
  2567. "name": "buildType",
  2568. "in": "query"
  2569. },
  2570. {
  2571. "type": "string",
  2572. "description": "成交类别 - 格式:1,2,3",
  2573. "name": "tradeType",
  2574. "in": "query"
  2575. },
  2576. {
  2577. "type": "string",
  2578. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2579. "name": "startDate",
  2580. "in": "query"
  2581. },
  2582. {
  2583. "type": "string",
  2584. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2585. "name": "endDate",
  2586. "in": "query"
  2587. }
  2588. ],
  2589. "responses": {
  2590. "200": {
  2591. "description": "OK",
  2592. "schema": {
  2593. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  2594. }
  2595. },
  2596. "500": {
  2597. "description": "Internal Server Error",
  2598. "schema": {
  2599. "$ref": "#/definitions/app.Response"
  2600. }
  2601. }
  2602. }
  2603. }
  2604. },
  2605. "/Order/QueryHisTradeOrderDetail": {
  2606. "get": {
  2607. "security": [
  2608. {
  2609. "ApiKeyAuth": []
  2610. }
  2611. ],
  2612. "produces": [
  2613. "application/json"
  2614. ],
  2615. "tags": [
  2616. "通用单据"
  2617. ],
  2618. "summary": "历史委托单查询请求(合约市场)",
  2619. "parameters": [
  2620. {
  2621. "type": "string",
  2622. "description": "资金账户 - 格式:1,2,3",
  2623. "name": "accountID",
  2624. "in": "query",
  2625. "required": true
  2626. },
  2627. {
  2628. "type": "string",
  2629. "description": "交易模式 - 格式:1,2,3",
  2630. "name": "tradeMode",
  2631. "in": "query"
  2632. },
  2633. {
  2634. "type": "string",
  2635. "description": "委托状态 - 格式:1,2,3",
  2636. "name": "orderStatus",
  2637. "in": "query"
  2638. },
  2639. {
  2640. "type": "integer",
  2641. "description": "委托单号",
  2642. "name": "orderID",
  2643. "in": "query"
  2644. },
  2645. {
  2646. "type": "string",
  2647. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2648. "name": "startDate",
  2649. "in": "query"
  2650. },
  2651. {
  2652. "type": "string",
  2653. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2654. "name": "endDate",
  2655. "in": "query"
  2656. }
  2657. ],
  2658. "responses": {
  2659. "200": {
  2660. "description": "OK",
  2661. "schema": {
  2662. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  2663. }
  2664. },
  2665. "500": {
  2666. "description": "Internal Server Error",
  2667. "schema": {
  2668. "$ref": "#/definitions/app.Response"
  2669. }
  2670. }
  2671. }
  2672. }
  2673. },
  2674. "/Order/QueryTradeDetail": {
  2675. "get": {
  2676. "security": [
  2677. {
  2678. "ApiKeyAuth": []
  2679. }
  2680. ],
  2681. "produces": [
  2682. "application/json"
  2683. ],
  2684. "tags": [
  2685. "通用单据"
  2686. ],
  2687. "summary": "成交单查询(合约市场)",
  2688. "parameters": [
  2689. {
  2690. "type": "string",
  2691. "description": "资金账户 - 格式:1,2,3",
  2692. "name": "accountID",
  2693. "in": "query",
  2694. "required": true
  2695. },
  2696. {
  2697. "type": "integer",
  2698. "description": "成交单号",
  2699. "name": "tradeID",
  2700. "in": "query"
  2701. },
  2702. {
  2703. "type": "integer",
  2704. "description": "委托单号",
  2705. "name": "orderID",
  2706. "in": "query"
  2707. },
  2708. {
  2709. "type": "string",
  2710. "description": "交易模式 - 格式:1,2,3",
  2711. "name": "tradeMode",
  2712. "in": "query"
  2713. },
  2714. {
  2715. "type": "integer",
  2716. "description": "委托单据类型",
  2717. "name": "buildType",
  2718. "in": "query"
  2719. },
  2720. {
  2721. "type": "string",
  2722. "description": "成交类别 - 格式:1,2,3",
  2723. "name": "tradeType",
  2724. "in": "query"
  2725. }
  2726. ],
  2727. "responses": {
  2728. "200": {
  2729. "description": "OK",
  2730. "schema": {
  2731. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  2732. }
  2733. },
  2734. "500": {
  2735. "description": "Internal Server Error",
  2736. "schema": {
  2737. "$ref": "#/definitions/app.Response"
  2738. }
  2739. }
  2740. }
  2741. }
  2742. },
  2743. "/Order/QueryTradeOrderDetail": {
  2744. "get": {
  2745. "security": [
  2746. {
  2747. "ApiKeyAuth": []
  2748. }
  2749. ],
  2750. "produces": [
  2751. "application/json"
  2752. ],
  2753. "tags": [
  2754. "通用单据"
  2755. ],
  2756. "summary": "委托单查询请求(合约市场)",
  2757. "parameters": [
  2758. {
  2759. "type": "string",
  2760. "description": "资金账户 - 格式:1,2,3",
  2761. "name": "accountID",
  2762. "in": "query",
  2763. "required": true
  2764. },
  2765. {
  2766. "type": "string",
  2767. "description": "交易模式 - 格式:1,2,3",
  2768. "name": "tradeMode",
  2769. "in": "query"
  2770. },
  2771. {
  2772. "type": "string",
  2773. "description": "委托状态 - 格式:1,2,3",
  2774. "name": "orderStatus",
  2775. "in": "query"
  2776. },
  2777. {
  2778. "type": "integer",
  2779. "description": "委托单号",
  2780. "name": "orderID",
  2781. "in": "query"
  2782. }
  2783. ],
  2784. "responses": {
  2785. "200": {
  2786. "description": "OK",
  2787. "schema": {
  2788. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  2789. }
  2790. },
  2791. "500": {
  2792. "description": "Internal Server Error",
  2793. "schema": {
  2794. "$ref": "#/definitions/app.Response"
  2795. }
  2796. }
  2797. }
  2798. }
  2799. },
  2800. "/Order/QueryTradePosition": {
  2801. "get": {
  2802. "security": [
  2803. {
  2804. "ApiKeyAuth": []
  2805. }
  2806. ],
  2807. "produces": [
  2808. "application/json"
  2809. ],
  2810. "tags": [
  2811. "通用单据"
  2812. ],
  2813. "summary": "持仓汇总查询(合约市场)",
  2814. "parameters": [
  2815. {
  2816. "type": "string",
  2817. "description": "资金账户 - 格式:1,2,3",
  2818. "name": "accountID",
  2819. "in": "query",
  2820. "required": true
  2821. },
  2822. {
  2823. "type": "string",
  2824. "description": "交易模式 - 格式:1,2,3",
  2825. "name": "tradeMode",
  2826. "in": "query"
  2827. }
  2828. ],
  2829. "responses": {
  2830. "200": {
  2831. "description": "OK",
  2832. "schema": {
  2833. "$ref": "#/definitions/order.QueryTradePositionRsp"
  2834. }
  2835. },
  2836. "500": {
  2837. "description": "Internal Server Error",
  2838. "schema": {
  2839. "$ref": "#/definitions/app.Response"
  2840. }
  2841. }
  2842. }
  2843. }
  2844. },
  2845. "/Quote/QueryHistoryDatas": {
  2846. "get": {
  2847. "security": [
  2848. {
  2849. "ApiKeyAuth": []
  2850. }
  2851. ],
  2852. "produces": [
  2853. "application/json"
  2854. ],
  2855. "tags": [
  2856. "行情服务"
  2857. ],
  2858. "summary": "查询行情历史数据",
  2859. "parameters": [
  2860. {
  2861. "type": "integer",
  2862. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  2863. "name": "cycleType",
  2864. "in": "query",
  2865. "required": true
  2866. },
  2867. {
  2868. "type": "string",
  2869. "description": "商品代码",
  2870. "name": "goodsCode",
  2871. "in": "query",
  2872. "required": true
  2873. },
  2874. {
  2875. "type": "string",
  2876. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  2877. "name": "startTime",
  2878. "in": "query"
  2879. },
  2880. {
  2881. "type": "string",
  2882. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  2883. "name": "endTime",
  2884. "in": "query"
  2885. },
  2886. {
  2887. "type": "integer",
  2888. "description": "条数",
  2889. "name": "count",
  2890. "in": "query"
  2891. },
  2892. {
  2893. "type": "boolean",
  2894. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  2895. "name": "isAsc",
  2896. "in": "query"
  2897. }
  2898. ],
  2899. "responses": {
  2900. "200": {
  2901. "description": "OK",
  2902. "schema": {
  2903. "$ref": "#/definitions/quote.HistoryData"
  2904. }
  2905. },
  2906. "500": {
  2907. "description": "Internal Server Error",
  2908. "schema": {
  2909. "$ref": "#/definitions/app.Response"
  2910. }
  2911. }
  2912. }
  2913. }
  2914. },
  2915. "/Quote/QueryTSData": {
  2916. "get": {
  2917. "produces": [
  2918. "application/json"
  2919. ],
  2920. "tags": [
  2921. "行情服务"
  2922. ],
  2923. "summary": "分时图数据查询",
  2924. "parameters": [
  2925. {
  2926. "type": "string",
  2927. "description": "商品代码",
  2928. "name": "GoodsCode",
  2929. "in": "query",
  2930. "required": true
  2931. }
  2932. ],
  2933. "responses": {
  2934. "200": {
  2935. "description": "OK",
  2936. "schema": {
  2937. "$ref": "#/definitions/quote.QueryTSDataRsp"
  2938. }
  2939. },
  2940. "500": {
  2941. "description": "Internal Server Error",
  2942. "schema": {
  2943. "$ref": "#/definitions/app.Response"
  2944. }
  2945. }
  2946. }
  2947. }
  2948. },
  2949. "/SZDZ/QueryConvertConfig": {
  2950. "get": {
  2951. "security": [
  2952. {
  2953. "ApiKeyAuth": []
  2954. }
  2955. ],
  2956. "produces": [
  2957. "application/json"
  2958. ],
  2959. "tags": [
  2960. "定制【尚志大宗】"
  2961. ],
  2962. "summary": "查询交易系统转换设置",
  2963. "parameters": [
  2964. {
  2965. "type": "integer",
  2966. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  2967. "name": "convertType",
  2968. "in": "query"
  2969. },
  2970. {
  2971. "type": "string",
  2972. "description": "外部商品代码[JD\\PD]",
  2973. "name": "outerGoodsCode",
  2974. "in": "query"
  2975. },
  2976. {
  2977. "type": "string",
  2978. "description": "内部商品ID列表[交易],格式:1,2,3",
  2979. "name": "innerGoodsIDs",
  2980. "in": "query"
  2981. }
  2982. ],
  2983. "responses": {
  2984. "200": {
  2985. "description": "OK",
  2986. "schema": {
  2987. "$ref": "#/definitions/models.Szdz3convertconfig"
  2988. }
  2989. },
  2990. "500": {
  2991. "description": "Internal Server Error",
  2992. "schema": {
  2993. "$ref": "#/definitions/app.Response"
  2994. }
  2995. }
  2996. }
  2997. }
  2998. },
  2999. "/SZDZ/QueryConvertLog": {
  3000. "get": {
  3001. "security": [
  3002. {
  3003. "ApiKeyAuth": []
  3004. }
  3005. ],
  3006. "produces": [
  3007. "application/json"
  3008. ],
  3009. "tags": [
  3010. "定制【尚志大宗】"
  3011. ],
  3012. "summary": "交易系统转换流水查询",
  3013. "parameters": [
  3014. {
  3015. "type": "string",
  3016. "description": "资金账户 - 格式:1,2,3",
  3017. "name": "accountID",
  3018. "in": "query",
  3019. "required": true
  3020. },
  3021. {
  3022. "type": "string",
  3023. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3024. "name": "startDate",
  3025. "in": "query"
  3026. },
  3027. {
  3028. "type": "string",
  3029. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3030. "name": "endDate",
  3031. "in": "query"
  3032. }
  3033. ],
  3034. "responses": {
  3035. "200": {
  3036. "description": "OK",
  3037. "schema": {
  3038. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  3039. }
  3040. },
  3041. "500": {
  3042. "description": "Internal Server Error",
  3043. "schema": {
  3044. "$ref": "#/definitions/app.Response"
  3045. }
  3046. }
  3047. }
  3048. }
  3049. },
  3050. "/SZDZ/QueryGoodsPickup": {
  3051. "get": {
  3052. "security": [
  3053. {
  3054. "ApiKeyAuth": []
  3055. }
  3056. ],
  3057. "produces": [
  3058. "application/json"
  3059. ],
  3060. "tags": [
  3061. "定制【尚志大宗】"
  3062. ],
  3063. "summary": "商品提货单查询",
  3064. "parameters": [
  3065. {
  3066. "type": "string",
  3067. "description": "资金账户 - 格式:1,2,3",
  3068. "name": "accountID",
  3069. "in": "query",
  3070. "required": true
  3071. },
  3072. {
  3073. "type": "integer",
  3074. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3075. "name": "takeOrderStatus",
  3076. "in": "query"
  3077. }
  3078. ],
  3079. "responses": {
  3080. "200": {
  3081. "description": "OK",
  3082. "schema": {
  3083. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  3084. }
  3085. },
  3086. "500": {
  3087. "description": "Internal Server Error",
  3088. "schema": {
  3089. "$ref": "#/definitions/app.Response"
  3090. }
  3091. }
  3092. }
  3093. }
  3094. },
  3095. "/SZDZ/QueryRecieptOrder": {
  3096. "get": {
  3097. "security": [
  3098. {
  3099. "ApiKeyAuth": []
  3100. }
  3101. ],
  3102. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3103. "produces": [
  3104. "application/json"
  3105. ],
  3106. "tags": [
  3107. "定制【尚志大宗】"
  3108. ],
  3109. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  3110. "parameters": [
  3111. {
  3112. "type": "integer",
  3113. "description": "页码",
  3114. "name": "page",
  3115. "in": "query"
  3116. },
  3117. {
  3118. "type": "integer",
  3119. "description": "每页条数",
  3120. "name": "pagesize",
  3121. "in": "query"
  3122. },
  3123. {
  3124. "type": "integer",
  3125. "description": "商品ID",
  3126. "name": "goodsID",
  3127. "in": "query",
  3128. "required": true
  3129. },
  3130. {
  3131. "type": "string",
  3132. "description": "所属账户名称",
  3133. "name": "accountName",
  3134. "in": "query"
  3135. },
  3136. {
  3137. "type": "integer",
  3138. "description": "市场ID",
  3139. "name": "marketID",
  3140. "in": "query"
  3141. },
  3142. {
  3143. "type": "integer",
  3144. "description": "方向 - 0:买 1:卖",
  3145. "name": "buyorsell",
  3146. "in": "query",
  3147. "required": true
  3148. }
  3149. ],
  3150. "responses": {
  3151. "200": {
  3152. "description": "OK",
  3153. "schema": {
  3154. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  3155. }
  3156. },
  3157. "500": {
  3158. "description": "Internal Server Error",
  3159. "schema": {
  3160. "$ref": "#/definitions/app.Response"
  3161. }
  3162. }
  3163. }
  3164. }
  3165. },
  3166. "/SZDZ/QuerySZDZTradePosition": {
  3167. "get": {
  3168. "security": [
  3169. {
  3170. "ApiKeyAuth": []
  3171. }
  3172. ],
  3173. "produces": [
  3174. "application/json"
  3175. ],
  3176. "tags": [
  3177. "定制【尚志大宗】"
  3178. ],
  3179. "summary": "持仓汇总查询(尚志大宗)",
  3180. "parameters": [
  3181. {
  3182. "type": "integer",
  3183. "description": "资金账户",
  3184. "name": "accountID",
  3185. "in": "query",
  3186. "required": true
  3187. }
  3188. ],
  3189. "responses": {
  3190. "200": {
  3191. "description": "OK",
  3192. "schema": {
  3193. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  3194. }
  3195. },
  3196. "500": {
  3197. "description": "Internal Server Error",
  3198. "schema": {
  3199. "$ref": "#/definitions/app.Response"
  3200. }
  3201. }
  3202. }
  3203. }
  3204. },
  3205. "/SZDZ/SearchWhite": {
  3206. "get": {
  3207. "security": [
  3208. {
  3209. "ApiKeyAuth": []
  3210. }
  3211. ],
  3212. "produces": [
  3213. "application/json"
  3214. ],
  3215. "tags": [
  3216. "定制【尚志大宗】"
  3217. ],
  3218. "summary": "搜索白名单",
  3219. "parameters": [
  3220. {
  3221. "type": "integer",
  3222. "description": "用户ID",
  3223. "name": "userID",
  3224. "in": "query",
  3225. "required": true
  3226. }
  3227. ],
  3228. "responses": {
  3229. "200": {
  3230. "description": "OK",
  3231. "schema": {
  3232. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  3233. }
  3234. },
  3235. "500": {
  3236. "description": "Internal Server Error",
  3237. "schema": {
  3238. "$ref": "#/definitions/app.Response"
  3239. }
  3240. }
  3241. }
  3242. }
  3243. },
  3244. "/Search/SearchGoodses": {
  3245. "get": {
  3246. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  3247. "produces": [
  3248. "application/json"
  3249. ],
  3250. "tags": [
  3251. "检索服务"
  3252. ],
  3253. "summary": "检索商品信息",
  3254. "parameters": [
  3255. {
  3256. "type": "string",
  3257. "description": "检索内容",
  3258. "name": "content",
  3259. "in": "query",
  3260. "required": true
  3261. },
  3262. {
  3263. "type": "string",
  3264. "description": "交易模式,格式:1,2,3",
  3265. "name": "tradeModes",
  3266. "in": "query"
  3267. }
  3268. ],
  3269. "responses": {
  3270. "200": {
  3271. "description": "OK",
  3272. "schema": {
  3273. "$ref": "#/definitions/models.SearchGoods"
  3274. }
  3275. },
  3276. "500": {
  3277. "description": "Internal Server Error",
  3278. "schema": {
  3279. "$ref": "#/definitions/app.Response"
  3280. }
  3281. }
  3282. }
  3283. }
  3284. },
  3285. "/TaAccount/QueryAmountLog": {
  3286. "get": {
  3287. "security": [
  3288. {
  3289. "ApiKeyAuth": []
  3290. }
  3291. ],
  3292. "produces": [
  3293. "application/json"
  3294. ],
  3295. "tags": [
  3296. "资金账户"
  3297. ],
  3298. "summary": "资金流水查询(当前)",
  3299. "parameters": [
  3300. {
  3301. "type": "integer",
  3302. "description": "页码",
  3303. "name": "page",
  3304. "in": "query"
  3305. },
  3306. {
  3307. "type": "integer",
  3308. "description": "每页条数",
  3309. "name": "pagesize",
  3310. "in": "query"
  3311. },
  3312. {
  3313. "type": "string",
  3314. "description": "资金账户 - 格式:1,2,3",
  3315. "name": "accountID",
  3316. "in": "query",
  3317. "required": true
  3318. },
  3319. {
  3320. "type": "string",
  3321. "description": "资金操作类型 - 格式:1,2,3",
  3322. "name": "OperateType",
  3323. "in": "query"
  3324. }
  3325. ],
  3326. "responses": {
  3327. "200": {
  3328. "description": "OK",
  3329. "schema": {
  3330. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  3331. }
  3332. },
  3333. "500": {
  3334. "description": "Internal Server Error",
  3335. "schema": {
  3336. "$ref": "#/definitions/app.Response"
  3337. }
  3338. }
  3339. }
  3340. }
  3341. },
  3342. "/TaAccount/QueryHisAmountLog": {
  3343. "get": {
  3344. "security": [
  3345. {
  3346. "ApiKeyAuth": []
  3347. }
  3348. ],
  3349. "produces": [
  3350. "application/json"
  3351. ],
  3352. "tags": [
  3353. "资金账户"
  3354. ],
  3355. "summary": "资金流水查询(历史)",
  3356. "parameters": [
  3357. {
  3358. "type": "integer",
  3359. "description": "页码",
  3360. "name": "page",
  3361. "in": "query"
  3362. },
  3363. {
  3364. "type": "integer",
  3365. "description": "每页条数",
  3366. "name": "pagesize",
  3367. "in": "query"
  3368. },
  3369. {
  3370. "type": "string",
  3371. "description": "资金账户 - 格式:1,2,3",
  3372. "name": "accountID",
  3373. "in": "query",
  3374. "required": true
  3375. },
  3376. {
  3377. "type": "string",
  3378. "description": "资金操作类型 - 格式:1,2,3",
  3379. "name": "OperateType",
  3380. "in": "query"
  3381. },
  3382. {
  3383. "type": "string",
  3384. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3385. "name": "startDate",
  3386. "in": "query"
  3387. },
  3388. {
  3389. "type": "string",
  3390. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3391. "name": "endDate",
  3392. "in": "query"
  3393. }
  3394. ],
  3395. "responses": {
  3396. "200": {
  3397. "description": "OK",
  3398. "schema": {
  3399. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  3400. }
  3401. },
  3402. "500": {
  3403. "description": "Internal Server Error",
  3404. "schema": {
  3405. "$ref": "#/definitions/app.Response"
  3406. }
  3407. }
  3408. }
  3409. }
  3410. },
  3411. "/Trade/QueryRecieptOrder": {
  3412. "get": {
  3413. "security": [
  3414. {
  3415. "ApiKeyAuth": []
  3416. }
  3417. ],
  3418. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3419. "produces": [
  3420. "application/json"
  3421. ],
  3422. "tags": [
  3423. "通用交易"
  3424. ],
  3425. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  3426. "parameters": [
  3427. {
  3428. "type": "integer",
  3429. "description": "页码",
  3430. "name": "page",
  3431. "in": "query"
  3432. },
  3433. {
  3434. "type": "integer",
  3435. "description": "每页条数",
  3436. "name": "pagesize",
  3437. "in": "query"
  3438. },
  3439. {
  3440. "type": "integer",
  3441. "description": "商品ID",
  3442. "name": "goodsID",
  3443. "in": "query",
  3444. "required": true
  3445. },
  3446. {
  3447. "type": "string",
  3448. "description": "所属账户名称",
  3449. "name": "accountName",
  3450. "in": "query"
  3451. },
  3452. {
  3453. "type": "integer",
  3454. "description": "市场ID",
  3455. "name": "marketID",
  3456. "in": "query"
  3457. },
  3458. {
  3459. "type": "integer",
  3460. "description": "方向 - 0:买 1:卖",
  3461. "name": "buyorsell",
  3462. "in": "query",
  3463. "required": true
  3464. }
  3465. ],
  3466. "responses": {
  3467. "200": {
  3468. "description": "OK",
  3469. "schema": {
  3470. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  3471. }
  3472. },
  3473. "500": {
  3474. "description": "Internal Server Error",
  3475. "schema": {
  3476. "$ref": "#/definitions/app.Response"
  3477. }
  3478. }
  3479. }
  3480. }
  3481. },
  3482. "/User/AddMessageBoard": {
  3483. "post": {
  3484. "security": [
  3485. {
  3486. "ApiKeyAuth": []
  3487. }
  3488. ],
  3489. "produces": [
  3490. "application/json"
  3491. ],
  3492. "tags": [
  3493. "用户信息"
  3494. ],
  3495. "summary": "添加用户留言板信息",
  3496. "parameters": [
  3497. {
  3498. "type": "integer",
  3499. "description": "用户ID",
  3500. "name": "userID",
  3501. "in": "query",
  3502. "required": true
  3503. },
  3504. {
  3505. "type": "string",
  3506. "description": "留言信息",
  3507. "name": "message",
  3508. "in": "query",
  3509. "required": true
  3510. }
  3511. ],
  3512. "responses": {
  3513. "200": {
  3514. "description": "OK",
  3515. "schema": {
  3516. "$ref": "#/definitions/app.Response"
  3517. }
  3518. },
  3519. "500": {
  3520. "description": "Internal Server Error",
  3521. "schema": {
  3522. "$ref": "#/definitions/app.Response"
  3523. }
  3524. }
  3525. }
  3526. }
  3527. },
  3528. "/User/AddUserFavoriteGoods": {
  3529. "post": {
  3530. "security": [
  3531. {
  3532. "ApiKeyAuth": []
  3533. }
  3534. ],
  3535. "produces": [
  3536. "application/json"
  3537. ],
  3538. "tags": [
  3539. "用户信息"
  3540. ],
  3541. "summary": "添加用户商品收藏信息",
  3542. "parameters": [
  3543. {
  3544. "type": "integer",
  3545. "description": "用户ID",
  3546. "name": "userID",
  3547. "in": "query",
  3548. "required": true
  3549. },
  3550. {
  3551. "type": "integer",
  3552. "description": "商品ID",
  3553. "name": "goodsID",
  3554. "in": "query",
  3555. "required": true
  3556. }
  3557. ],
  3558. "responses": {
  3559. "200": {
  3560. "description": "OK",
  3561. "schema": {
  3562. "$ref": "#/definitions/app.Response"
  3563. }
  3564. },
  3565. "500": {
  3566. "description": "Internal Server Error",
  3567. "schema": {
  3568. "$ref": "#/definitions/app.Response"
  3569. }
  3570. }
  3571. }
  3572. }
  3573. },
  3574. "/User/GetLoginID": {
  3575. "get": {
  3576. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  3577. "produces": [
  3578. "application/json"
  3579. ],
  3580. "tags": [
  3581. "用户信息"
  3582. ],
  3583. "summary": "获取登录ID",
  3584. "parameters": [
  3585. {
  3586. "type": "string",
  3587. "description": "登录代码",
  3588. "name": "username",
  3589. "in": "query",
  3590. "required": true
  3591. }
  3592. ],
  3593. "responses": {
  3594. "200": {
  3595. "description": "OK",
  3596. "schema": {
  3597. "$ref": "#/definitions/app.Response"
  3598. }
  3599. },
  3600. "500": {
  3601. "description": "Internal Server Error",
  3602. "schema": {
  3603. "$ref": "#/definitions/app.Response"
  3604. }
  3605. }
  3606. }
  3607. }
  3608. },
  3609. "/User/GetUserAccount": {
  3610. "get": {
  3611. "security": [
  3612. {
  3613. "ApiKeyAuth": []
  3614. }
  3615. ],
  3616. "produces": [
  3617. "application/json"
  3618. ],
  3619. "tags": [
  3620. "用户信息"
  3621. ],
  3622. "summary": "获取用户账号信息",
  3623. "parameters": [
  3624. {
  3625. "type": "integer",
  3626. "description": "用户ID",
  3627. "name": "userID",
  3628. "in": "query",
  3629. "required": true
  3630. }
  3631. ],
  3632. "responses": {
  3633. "200": {
  3634. "description": "OK",
  3635. "schema": {
  3636. "$ref": "#/definitions/models.Useraccount"
  3637. }
  3638. },
  3639. "500": {
  3640. "description": "Internal Server Error",
  3641. "schema": {
  3642. "$ref": "#/definitions/app.Response"
  3643. }
  3644. }
  3645. }
  3646. }
  3647. },
  3648. "/User/GetUserAuthStatus": {
  3649. "get": {
  3650. "security": [
  3651. {
  3652. "ApiKeyAuth": []
  3653. }
  3654. ],
  3655. "produces": [
  3656. "application/json"
  3657. ],
  3658. "tags": [
  3659. "用户信息"
  3660. ],
  3661. "summary": "获取用户实名认证状态",
  3662. "parameters": [
  3663. {
  3664. "type": "integer",
  3665. "description": "用户ID",
  3666. "name": "userID",
  3667. "in": "query",
  3668. "required": true
  3669. }
  3670. ],
  3671. "responses": {
  3672. "200": {
  3673. "description": "OK",
  3674. "schema": {
  3675. "$ref": "#/definitions/app.Response"
  3676. }
  3677. },
  3678. "500": {
  3679. "description": "Internal Server Error",
  3680. "schema": {
  3681. "$ref": "#/definitions/app.Response"
  3682. }
  3683. }
  3684. }
  3685. }
  3686. },
  3687. "/User/QueryMessageBoard": {
  3688. "get": {
  3689. "security": [
  3690. {
  3691. "ApiKeyAuth": []
  3692. }
  3693. ],
  3694. "produces": [
  3695. "application/json"
  3696. ],
  3697. "tags": [
  3698. "用户信息"
  3699. ],
  3700. "summary": "获取用户留言板信息",
  3701. "parameters": [
  3702. {
  3703. "type": "integer",
  3704. "description": "用户ID",
  3705. "name": "userID",
  3706. "in": "query",
  3707. "required": true
  3708. }
  3709. ],
  3710. "responses": {
  3711. "200": {
  3712. "description": "OK",
  3713. "schema": {
  3714. "$ref": "#/definitions/models.Messageboard"
  3715. }
  3716. },
  3717. "500": {
  3718. "description": "Internal Server Error",
  3719. "schema": {
  3720. "$ref": "#/definitions/app.Response"
  3721. }
  3722. }
  3723. }
  3724. }
  3725. },
  3726. "/User/QueryUserFavoriteGoodses": {
  3727. "get": {
  3728. "security": [
  3729. {
  3730. "ApiKeyAuth": []
  3731. }
  3732. ],
  3733. "produces": [
  3734. "application/json"
  3735. ],
  3736. "tags": [
  3737. "用户信息"
  3738. ],
  3739. "summary": "获取用户商品收藏信息",
  3740. "parameters": [
  3741. {
  3742. "type": "integer",
  3743. "description": "用户ID",
  3744. "name": "userID",
  3745. "in": "query",
  3746. "required": true
  3747. }
  3748. ],
  3749. "responses": {
  3750. "200": {
  3751. "description": "OK",
  3752. "schema": {
  3753. "$ref": "#/definitions/models.Userfavoritegoods"
  3754. }
  3755. },
  3756. "500": {
  3757. "description": "Internal Server Error",
  3758. "schema": {
  3759. "$ref": "#/definitions/app.Response"
  3760. }
  3761. }
  3762. }
  3763. }
  3764. },
  3765. "/User/QueryUserInfo": {
  3766. "get": {
  3767. "security": [
  3768. {
  3769. "ApiKeyAuth": []
  3770. }
  3771. ],
  3772. "produces": [
  3773. "application/json"
  3774. ],
  3775. "tags": [
  3776. "用户信息"
  3777. ],
  3778. "summary": "获取用户信息",
  3779. "parameters": [
  3780. {
  3781. "type": "integer",
  3782. "description": "用户ID",
  3783. "name": "userID",
  3784. "in": "query",
  3785. "required": true
  3786. }
  3787. ],
  3788. "responses": {
  3789. "200": {
  3790. "description": "OK",
  3791. "schema": {
  3792. "$ref": "#/definitions/models.Userinfo"
  3793. }
  3794. },
  3795. "500": {
  3796. "description": "Internal Server Error",
  3797. "schema": {
  3798. "$ref": "#/definitions/app.Response"
  3799. }
  3800. }
  3801. }
  3802. }
  3803. },
  3804. "/User/QueryUserReferNum": {
  3805. "get": {
  3806. "produces": [
  3807. "application/json"
  3808. ],
  3809. "tags": [
  3810. "用户信息"
  3811. ],
  3812. "summary": "获取用户邀请码",
  3813. "parameters": [
  3814. {
  3815. "type": "integer",
  3816. "description": "用户ID",
  3817. "name": "userID",
  3818. "in": "query",
  3819. "required": true
  3820. }
  3821. ],
  3822. "responses": {
  3823. "200": {
  3824. "description": "OK",
  3825. "schema": {
  3826. "$ref": "#/definitions/app.Response"
  3827. }
  3828. },
  3829. "500": {
  3830. "description": "Internal Server Error",
  3831. "schema": {
  3832. "$ref": "#/definitions/app.Response"
  3833. }
  3834. }
  3835. }
  3836. }
  3837. },
  3838. "/User/RemoveUserFavoriteGoods": {
  3839. "post": {
  3840. "security": [
  3841. {
  3842. "ApiKeyAuth": []
  3843. }
  3844. ],
  3845. "produces": [
  3846. "application/json"
  3847. ],
  3848. "tags": [
  3849. "用户信息"
  3850. ],
  3851. "summary": "移除用户商品收藏信息",
  3852. "parameters": [
  3853. {
  3854. "type": "integer",
  3855. "description": "用户ID",
  3856. "name": "userID",
  3857. "in": "query",
  3858. "required": true
  3859. },
  3860. {
  3861. "type": "integer",
  3862. "description": "商品ID",
  3863. "name": "goodsID",
  3864. "in": "query",
  3865. "required": true
  3866. }
  3867. ],
  3868. "responses": {
  3869. "200": {
  3870. "description": "OK",
  3871. "schema": {
  3872. "$ref": "#/definitions/app.Response"
  3873. }
  3874. },
  3875. "500": {
  3876. "description": "Internal Server Error",
  3877. "schema": {
  3878. "$ref": "#/definitions/app.Response"
  3879. }
  3880. }
  3881. }
  3882. }
  3883. },
  3884. "/WR/GetWRCategoryInfo": {
  3885. "get": {
  3886. "produces": [
  3887. "application/json"
  3888. ],
  3889. "tags": [
  3890. "仓单服务"
  3891. ],
  3892. "summary": "获取现货分类信息",
  3893. "responses": {
  3894. "200": {
  3895. "description": "OK",
  3896. "schema": {
  3897. "$ref": "#/definitions/models.WRCategoryTree"
  3898. }
  3899. },
  3900. "500": {
  3901. "description": "Internal Server Error",
  3902. "schema": {
  3903. "$ref": "#/definitions/app.Response"
  3904. }
  3905. }
  3906. }
  3907. }
  3908. },
  3909. "/WRTrade/GetAllDeliveryGoods": {
  3910. "get": {
  3911. "security": [
  3912. {
  3913. "ApiKeyAuth": []
  3914. },
  3915. {
  3916. "ApiKeyAuth": []
  3917. }
  3918. ],
  3919. "produces": [
  3920. "application/json",
  3921. "application/json"
  3922. ],
  3923. "tags": [
  3924. "仓单贸易",
  3925. "仓单贸易"
  3926. ],
  3927. "summary": "获取带仓单分类的种类信息",
  3928. "responses": {
  3929. "200": {
  3930. "description": "OK",
  3931. "schema": {
  3932. "$ref": "#/definitions/app.Response"
  3933. }
  3934. },
  3935. "500": {
  3936. "description": "Internal Server Error",
  3937. "schema": {
  3938. "$ref": "#/definitions/app.Response"
  3939. }
  3940. }
  3941. }
  3942. }
  3943. }
  3944. },
  3945. "definitions": {
  3946. "app.Response": {
  3947. "type": "object",
  3948. "properties": {
  3949. "code": {
  3950. "type": "integer"
  3951. },
  3952. "data": {
  3953. "type": "object"
  3954. },
  3955. "msg": {
  3956. "type": "string"
  3957. },
  3958. "page": {
  3959. "description": "页码",
  3960. "type": "integer"
  3961. },
  3962. "pagesize": {
  3963. "description": "每页条数",
  3964. "type": "integer"
  3965. },
  3966. "total": {
  3967. "description": "总条数",
  3968. "type": "integer"
  3969. }
  3970. }
  3971. },
  3972. "common.QueryNoticeRsp": {
  3973. "type": "object",
  3974. "required": [
  3975. "autoid"
  3976. ],
  3977. "properties": {
  3978. "auditoruserid": {
  3979. "description": "审核人",
  3980. "type": "integer"
  3981. },
  3982. "auditremark": {
  3983. "description": "审核备注",
  3984. "type": "string"
  3985. },
  3986. "audittime": {
  3987. "description": "审核日期",
  3988. "type": "string"
  3989. },
  3990. "autoid": {
  3991. "description": "自增ID",
  3992. "type": "integer"
  3993. },
  3994. "content": {
  3995. "description": "内容",
  3996. "type": "string"
  3997. },
  3998. "createtime": {
  3999. "description": "创建时间",
  4000. "type": "string"
  4001. },
  4002. "creatorid": {
  4003. "description": "建仓人",
  4004. "type": "integer"
  4005. },
  4006. "endtime": {
  4007. "description": "结束时间",
  4008. "type": "string"
  4009. },
  4010. "istop": {
  4011. "description": "是否置顶 - 0:不置顶 1:置顶",
  4012. "type": "integer"
  4013. },
  4014. "msgiconurl": {
  4015. "description": "消息图标Url",
  4016. "type": "string"
  4017. },
  4018. "msgtype": {
  4019. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  4020. "type": "integer"
  4021. },
  4022. "publisher": {
  4023. "description": "消息发布者",
  4024. "type": "string"
  4025. },
  4026. "readed": {
  4027. "description": "是否已读",
  4028. "type": "boolean"
  4029. },
  4030. "scheduletime": {
  4031. "description": "计划发送时间",
  4032. "type": "string"
  4033. },
  4034. "sendtype": {
  4035. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  4036. "type": "integer"
  4037. },
  4038. "sentstatus": {
  4039. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  4040. "type": "integer"
  4041. },
  4042. "title": {
  4043. "description": "标题",
  4044. "type": "string"
  4045. },
  4046. "userid": {
  4047. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  4048. "type": "integer"
  4049. }
  4050. }
  4051. },
  4052. "common.QueryProvincesAndCitiesRsp": {
  4053. "type": "object",
  4054. "properties": {
  4055. "cities": {
  4056. "description": "市",
  4057. "type": "array",
  4058. "items": {
  4059. "$ref": "#/definitions/models.Division"
  4060. }
  4061. },
  4062. "province": {
  4063. "description": "省",
  4064. "type": "object",
  4065. "$ref": "#/definitions/models.Division"
  4066. }
  4067. }
  4068. },
  4069. "common.QueryTableDefineRsp": {
  4070. "type": "object",
  4071. "required": [
  4072. "tablekey"
  4073. ],
  4074. "properties": {
  4075. "columns": {
  4076. "description": "列头信息数组",
  4077. "type": "array",
  4078. "items": {
  4079. "$ref": "#/definitions/models.Tablecolumnconfig"
  4080. }
  4081. },
  4082. "remark": {
  4083. "description": "Remark",
  4084. "type": "string"
  4085. },
  4086. "tabelmenu": {
  4087. "description": "列表菜单",
  4088. "type": "string"
  4089. },
  4090. "tablekey": {
  4091. "description": "列表Key",
  4092. "type": "string"
  4093. },
  4094. "tablename": {
  4095. "description": "列表名称",
  4096. "type": "string"
  4097. },
  4098. "tabletype": {
  4099. "description": "列表类型 - 1:管理端 2:终端",
  4100. "type": "integer"
  4101. }
  4102. }
  4103. },
  4104. "common.QueryTraderMenuRsp": {
  4105. "type": "object",
  4106. "properties": {
  4107. "OperationMenu": {
  4108. "description": "功能菜单",
  4109. "type": "array",
  4110. "items": {
  4111. "$ref": "#/definitions/models.OperationPrimaryMenu"
  4112. }
  4113. },
  4114. "QuoteMenu": {
  4115. "description": "报价牌分类菜单",
  4116. "type": "array",
  4117. "items": {
  4118. "$ref": "#/definitions/models.QuotePrimaryMenu"
  4119. }
  4120. }
  4121. }
  4122. },
  4123. "cptrade.Cptradepositioncancel": {
  4124. "type": "object",
  4125. "required": [
  4126. "cancelid"
  4127. ],
  4128. "properties": {
  4129. "accountid": {
  4130. "description": "申请人账户ID",
  4131. "type": "integer"
  4132. },
  4133. "applystatus": {
  4134. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4135. "type": "integer"
  4136. },
  4137. "applytime": {
  4138. "description": "申请时间",
  4139. "type": "string"
  4140. },
  4141. "cancelid": {
  4142. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  4143. "type": "integer"
  4144. },
  4145. "cancelqty": {
  4146. "description": "注销数量",
  4147. "type": "integer"
  4148. },
  4149. "createtime": {
  4150. "description": "创建时间",
  4151. "type": "string"
  4152. },
  4153. "creatorid": {
  4154. "description": "创建人ID",
  4155. "type": "integer"
  4156. },
  4157. "creatorname": {
  4158. "description": "创建人",
  4159. "type": "string"
  4160. },
  4161. "goodscode": {
  4162. "description": "订单商品代码",
  4163. "type": "string"
  4164. },
  4165. "goodsid": {
  4166. "description": "商品ID",
  4167. "type": "integer"
  4168. },
  4169. "goodsname": {
  4170. "description": "订单商品名称",
  4171. "type": "string"
  4172. },
  4173. "goodunit": {
  4174. "description": "报价单位",
  4175. "type": "string"
  4176. },
  4177. "handlestatus": {
  4178. "description": "处理状态",
  4179. "type": "integer"
  4180. },
  4181. "marketid": {
  4182. "description": "市场ID",
  4183. "type": "integer"
  4184. },
  4185. "marketname": {
  4186. "description": "市场名称",
  4187. "type": "string"
  4188. },
  4189. "tradedate": {
  4190. "description": "交易日(yyyyMMdd)",
  4191. "type": "string"
  4192. },
  4193. "userid": {
  4194. "description": "申请人ID",
  4195. "type": "integer"
  4196. }
  4197. }
  4198. },
  4199. "cptrade.Cptradepresaleapply": {
  4200. "type": "object",
  4201. "required": [
  4202. "applyid"
  4203. ],
  4204. "properties": {
  4205. "accountid": {
  4206. "description": "申请人账户ID",
  4207. "type": "integer"
  4208. },
  4209. "applyid": {
  4210. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  4211. "type": "integer"
  4212. },
  4213. "applyremark": {
  4214. "description": "申请备注",
  4215. "type": "string"
  4216. },
  4217. "applystatus": {
  4218. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4219. "type": "integer"
  4220. },
  4221. "applytime": {
  4222. "description": "申请时间",
  4223. "type": "string"
  4224. },
  4225. "attachmenturl": {
  4226. "description": "附件地址",
  4227. "type": "string"
  4228. },
  4229. "endtime": {
  4230. "description": "预售结束时间",
  4231. "type": "string"
  4232. },
  4233. "goodscode": {
  4234. "description": "商品代码",
  4235. "type": "string"
  4236. },
  4237. "goodsid": {
  4238. "description": "商品ID",
  4239. "type": "integer"
  4240. },
  4241. "goodsname": {
  4242. "description": "商品名称",
  4243. "type": "string"
  4244. },
  4245. "goodunit": {
  4246. "description": "报价单位",
  4247. "type": "string"
  4248. },
  4249. "handlestatus": {
  4250. "description": "处理状态",
  4251. "type": "integer"
  4252. },
  4253. "marketid": {
  4254. "description": "预售市场ID",
  4255. "type": "integer"
  4256. },
  4257. "marketname": {
  4258. "description": "预售市场名称",
  4259. "type": "string"
  4260. },
  4261. "presaleqty": {
  4262. "description": "预售数量",
  4263. "type": "integer"
  4264. },
  4265. "relatedgoodscode": {
  4266. "description": "关联交易合约代码",
  4267. "type": "string"
  4268. },
  4269. "relatedgoodsid": {
  4270. "description": "关联交易合约ID",
  4271. "type": "integer"
  4272. },
  4273. "relatedgoodsname": {
  4274. "description": "关联交易合约名称",
  4275. "type": "string"
  4276. },
  4277. "starttime": {
  4278. "description": "预售开始时间",
  4279. "type": "string"
  4280. },
  4281. "tradedate": {
  4282. "description": "交易日(yyyyMMdd)",
  4283. "type": "string"
  4284. },
  4285. "trademode": {
  4286. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  4287. "type": "integer"
  4288. },
  4289. "userid": {
  4290. "description": "申请人ID",
  4291. "type": "integer"
  4292. }
  4293. }
  4294. },
  4295. "cptrade.Cptradeusergoodsdata": {
  4296. "type": "object",
  4297. "required": [
  4298. "accountid",
  4299. "goodsid"
  4300. ],
  4301. "properties": {
  4302. "EnabledQty": {
  4303. "description": "可用量",
  4304. "type": "integer"
  4305. },
  4306. "GoodsCode": {
  4307. "description": "订单商品代码",
  4308. "type": "string"
  4309. },
  4310. "GoodsName": {
  4311. "description": "订单商品名称",
  4312. "type": "string"
  4313. },
  4314. "WRStandardCode": {
  4315. "description": "仓单标准代码",
  4316. "type": "string"
  4317. },
  4318. "WRStandardName": {
  4319. "description": "仓单标准名称",
  4320. "type": "string"
  4321. },
  4322. "accountid": {
  4323. "description": "账户ID",
  4324. "type": "integer"
  4325. },
  4326. "cancelqty": {
  4327. "description": "注销量",
  4328. "type": "integer"
  4329. },
  4330. "curpresaleqty": {
  4331. "description": "当前预售量",
  4332. "type": "integer"
  4333. },
  4334. "deliveryqty": {
  4335. "description": "交割量",
  4336. "type": "integer"
  4337. },
  4338. "freezeamount": {
  4339. "description": "冻结金额",
  4340. "type": "number"
  4341. },
  4342. "goodsid": {
  4343. "description": "商品ID",
  4344. "type": "integer"
  4345. },
  4346. "goodunit": {
  4347. "description": "报价单位",
  4348. "type": "string"
  4349. },
  4350. "hasspotfreeze": {
  4351. "description": "是否有现货冻结 - 0:否 1:有",
  4352. "type": "integer"
  4353. },
  4354. "inqty": {
  4355. "description": "转入量(总数量)",
  4356. "type": "integer"
  4357. },
  4358. "marketid": {
  4359. "description": "市场ID",
  4360. "type": "integer"
  4361. },
  4362. "presaledamount": {
  4363. "description": "已预售总金额",
  4364. "type": "integer"
  4365. },
  4366. "presaledqty": {
  4367. "description": "已预售量",
  4368. "type": "integer"
  4369. },
  4370. "userid": {
  4371. "description": "用户ID",
  4372. "type": "integer"
  4373. },
  4374. "wrstandardid": {
  4375. "description": "仓单标准ID",
  4376. "type": "integer"
  4377. }
  4378. }
  4379. },
  4380. "cptrade.QueryCPTradeMyBidRsp": {
  4381. "type": "object",
  4382. "required": [
  4383. "accountid",
  4384. "goodsid",
  4385. "marketid",
  4386. "orderid",
  4387. "orderqty",
  4388. "ordertime",
  4389. "tradeprice",
  4390. "tradeqty"
  4391. ],
  4392. "properties": {
  4393. "accountid": {
  4394. "description": "账户ID[报价币种]",
  4395. "type": "integer"
  4396. },
  4397. "goodsid": {
  4398. "description": "商品ID",
  4399. "type": "integer"
  4400. },
  4401. "goodunit": {
  4402. "description": "报价单位",
  4403. "type": "string"
  4404. },
  4405. "marketid": {
  4406. "description": "市场ID",
  4407. "type": "integer"
  4408. },
  4409. "orderid": {
  4410. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4411. "type": "integer"
  4412. },
  4413. "orderprice": {
  4414. "description": "委托价格",
  4415. "type": "number"
  4416. },
  4417. "orderqty": {
  4418. "description": "委托数量",
  4419. "type": "integer"
  4420. },
  4421. "ordertime": {
  4422. "description": "委托时间",
  4423. "type": "string"
  4424. },
  4425. "ordertotalprice": {
  4426. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  4427. "type": "number"
  4428. },
  4429. "ordertotalweight": {
  4430. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  4431. "type": "integer"
  4432. },
  4433. "totaltotalprice": {
  4434. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  4435. "type": "number"
  4436. },
  4437. "tradeprice": {
  4438. "description": "成交价格",
  4439. "type": "number"
  4440. },
  4441. "tradeqty": {
  4442. "description": "成交数量",
  4443. "type": "integer"
  4444. }
  4445. }
  4446. },
  4447. "cptrade.QueryCPTradeOrderDetailRsq": {
  4448. "type": "object",
  4449. "required": [
  4450. "accountid",
  4451. "buildtype",
  4452. "buyorsell",
  4453. "goodsid",
  4454. "marketid",
  4455. "memberuserid",
  4456. "operatetype",
  4457. "orderqty",
  4458. "ordertime",
  4459. "pricemode",
  4460. "strorderid",
  4461. "tradedate",
  4462. "validtype"
  4463. ],
  4464. "properties": {
  4465. "accountid": {
  4466. "description": "账户ID[报价币种]",
  4467. "type": "integer"
  4468. },
  4469. "buildtype": {
  4470. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  4471. "type": "integer"
  4472. },
  4473. "buyorsell": {
  4474. "description": "买卖 - 0:买 1:卖",
  4475. "type": "integer"
  4476. },
  4477. "cancelorderid": {
  4478. "description": "撤单单号(撤单时填写)",
  4479. "type": "integer"
  4480. },
  4481. "cancelqty": {
  4482. "description": "撤单数量",
  4483. "type": "integer"
  4484. },
  4485. "clientordertime": {
  4486. "description": "客户端委托时间",
  4487. "type": "string"
  4488. },
  4489. "clientticket": {
  4490. "description": "客户端流水号",
  4491. "type": "string"
  4492. },
  4493. "clienttype": {
  4494. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  4495. "type": "integer"
  4496. },
  4497. "closeexchagechargevalue": {
  4498. "description": "平仓交易所手续费设置值",
  4499. "type": "number"
  4500. },
  4501. "closefeealgorithm": {
  4502. "description": "平仓手续费收取方式 1:比率 2:固定",
  4503. "type": "integer"
  4504. },
  4505. "closefreezecharge": {
  4506. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  4507. "type": "number"
  4508. },
  4509. "closememberchargevalue": {
  4510. "description": "平仓会员手续费设置值",
  4511. "type": "number"
  4512. },
  4513. "closeqty": {
  4514. "description": "平仓数量(先建后平操作 需要记录)",
  4515. "type": "integer"
  4516. },
  4517. "closetradeqty": {
  4518. "description": "平仓成交数量(先建后平操作,需要记录)",
  4519. "type": "integer"
  4520. },
  4521. "closeunfreezecharge": {
  4522. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  4523. "type": "number"
  4524. },
  4525. "delistingtype": {
  4526. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  4527. "type": "integer"
  4528. },
  4529. "freezecharge": {
  4530. "description": "冻结手续费",
  4531. "type": "number"
  4532. },
  4533. "freezemargin": {
  4534. "description": "冻结保证金(冻结交易金额)",
  4535. "type": "number"
  4536. },
  4537. "gcaccountid": {
  4538. "description": "账户ID[合约币种]",
  4539. "type": "integer"
  4540. },
  4541. "goodsid": {
  4542. "description": "商品ID",
  4543. "type": "integer"
  4544. },
  4545. "isconfirmexercise": {
  4546. "description": "是否确认行权- 0:否 1:是",
  4547. "type": "integer"
  4548. },
  4549. "ispreexercise": {
  4550. "description": "是否预申报- 0:否 1:是",
  4551. "type": "integer"
  4552. },
  4553. "listingselecttype": {
  4554. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  4555. "type": "integer"
  4556. },
  4557. "marginalgorithm": {
  4558. "description": "保证金收取方式 1:比率 2:固定",
  4559. "type": "integer"
  4560. },
  4561. "marginvalue": {
  4562. "description": "即市保证金设置值",
  4563. "type": "number"
  4564. },
  4565. "marketid": {
  4566. "description": "市场ID",
  4567. "type": "integer"
  4568. },
  4569. "marketmaxsub": {
  4570. "description": "市价最大偏移范围",
  4571. "type": "number"
  4572. },
  4573. "memberuserid": {
  4574. "description": "所属会员UserID",
  4575. "type": "integer"
  4576. },
  4577. "openexchagechargevalue": {
  4578. "description": "建仓交易所手续费设置值",
  4579. "type": "number"
  4580. },
  4581. "openfeealgorithm": {
  4582. "description": "建仓手续费收取方式 1:比率 2:固定",
  4583. "type": "integer"
  4584. },
  4585. "openfreezecharge": {
  4586. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  4587. "type": "number"
  4588. },
  4589. "openmemberchargevalue": {
  4590. "description": "建仓会员手续费设置值",
  4591. "type": "number"
  4592. },
  4593. "openqty": {
  4594. "description": "开仓数量(先建后平操作,需要记录)",
  4595. "type": "integer"
  4596. },
  4597. "opentradeqty": {
  4598. "description": "开仓成交数量(先建后平操作,需要记录)",
  4599. "type": "integer"
  4600. },
  4601. "openunfreezecharge": {
  4602. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  4603. "type": "number"
  4604. },
  4605. "operatetype": {
  4606. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  4607. "type": "integer"
  4608. },
  4609. "operatorid": {
  4610. "description": "登录账号(LoginID)",
  4611. "type": "integer"
  4612. },
  4613. "optiontype": {
  4614. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  4615. "type": "integer"
  4616. },
  4617. "orderprice": {
  4618. "description": "委托价格",
  4619. "type": "number"
  4620. },
  4621. "orderqty": {
  4622. "description": "委托数量",
  4623. "type": "integer"
  4624. },
  4625. "ordersrc": {
  4626. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  4627. "type": "integer"
  4628. },
  4629. "orderstatus": {
  4630. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  4631. "type": "integer"
  4632. },
  4633. "ordertime": {
  4634. "description": "委托时间",
  4635. "type": "string"
  4636. },
  4637. "preexerciseprice": {
  4638. "description": "预申报价格",
  4639. "type": "number"
  4640. },
  4641. "premium": {
  4642. "description": "权利金",
  4643. "type": "number"
  4644. },
  4645. "preorderid": {
  4646. "description": "关联预埋单号(止盈止损单时填写)",
  4647. "type": "integer"
  4648. },
  4649. "pricemode": {
  4650. "description": "取价方式 - 1:市价 2: 限价",
  4651. "type": "integer"
  4652. },
  4653. "quoteid": {
  4654. "description": "报价单ID",
  4655. "type": "integer"
  4656. },
  4657. "relatedid": {
  4658. "description": "关联单号(交割单)",
  4659. "type": "integer"
  4660. },
  4661. "retcode": {
  4662. "description": "错误代码",
  4663. "type": "integer"
  4664. },
  4665. "sessionid": {
  4666. "description": "会话ID",
  4667. "type": "integer"
  4668. },
  4669. "strorderid": {
  4670. "description": "委托单号",
  4671. "type": "string"
  4672. },
  4673. "tradedate": {
  4674. "description": "交易日(yyyyMMdd)",
  4675. "type": "string"
  4676. },
  4677. "tradeproperty": {
  4678. "description": "交易属性",
  4679. "type": "integer"
  4680. },
  4681. "tradeqty": {
  4682. "description": "成交数量",
  4683. "type": "integer"
  4684. },
  4685. "unfreezecharge": {
  4686. "description": "解冻手续费",
  4687. "type": "number"
  4688. },
  4689. "unfreezemargin": {
  4690. "description": "解冻保证金",
  4691. "type": "number"
  4692. },
  4693. "updatetime": {
  4694. "description": "更新时间",
  4695. "type": "string"
  4696. },
  4697. "uuid": {
  4698. "description": "发起端唯一id",
  4699. "type": "string"
  4700. },
  4701. "validtime": {
  4702. "description": "有效期限",
  4703. "type": "string"
  4704. },
  4705. "validtype": {
  4706. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  4707. "type": "integer"
  4708. },
  4709. "volumetype": {
  4710. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  4711. "type": "integer"
  4712. }
  4713. }
  4714. },
  4715. "cptrade.QueryMyCPTradeGoodsRsp": {
  4716. "type": "object",
  4717. "required": [
  4718. "goodscode",
  4719. "goodsid",
  4720. "goodsname",
  4721. "marketid",
  4722. "relatedgoodscode",
  4723. "relatedgoodsname"
  4724. ],
  4725. "properties": {
  4726. "accountid": {
  4727. "description": "卖方账户ID",
  4728. "type": "integer"
  4729. },
  4730. "agreeunit": {
  4731. "description": "合约单位",
  4732. "type": "number"
  4733. },
  4734. "applyid": {
  4735. "description": "关联申请ID",
  4736. "type": "integer"
  4737. },
  4738. "attachmenturl": {
  4739. "description": "附件地址",
  4740. "type": "string"
  4741. },
  4742. "createtime": {
  4743. "description": "创建时间",
  4744. "type": "string"
  4745. },
  4746. "currencyid": {
  4747. "description": "报价货币ID",
  4748. "type": "integer"
  4749. },
  4750. "decimalplace": {
  4751. "description": "报价小数位",
  4752. "type": "integer"
  4753. },
  4754. "endtime": {
  4755. "description": "预售结束时间",
  4756. "type": "string"
  4757. },
  4758. "floorprice": {
  4759. "description": "底价[大宗式竞拍]",
  4760. "type": "number"
  4761. },
  4762. "goodscode": {
  4763. "description": "商品代码(预售)",
  4764. "type": "string"
  4765. },
  4766. "goodsdetail": {
  4767. "description": "详情[大宗]",
  4768. "type": "string"
  4769. },
  4770. "goodsid": {
  4771. "description": "商品ID(自增ID SEQ_GOODS)",
  4772. "type": "integer"
  4773. },
  4774. "goodsname": {
  4775. "description": "商品名称(预售)",
  4776. "type": "string"
  4777. },
  4778. "goodunit": {
  4779. "description": "报价单位",
  4780. "type": "string"
  4781. },
  4782. "goodunitid": {
  4783. "description": "报价单位ID",
  4784. "type": "integer"
  4785. },
  4786. "marketid": {
  4787. "description": "所属市场ID",
  4788. "type": "integer"
  4789. },
  4790. "marketname": {
  4791. "description": "预售市场名称",
  4792. "type": "string"
  4793. },
  4794. "presaledamount": {
  4795. "description": "已预售总金额(预售结束时更新)",
  4796. "type": "number"
  4797. },
  4798. "presaledqty": {
  4799. "description": "已预售量(预售结束时更新)",
  4800. "type": "integer"
  4801. },
  4802. "presalemode": {
  4803. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  4804. "type": "integer"
  4805. },
  4806. "presaleqty": {
  4807. "description": "预售数量",
  4808. "type": "integer"
  4809. },
  4810. "refprice": {
  4811. "description": "参考价格[一口价]",
  4812. "type": "number"
  4813. },
  4814. "relatedgoodscode": {
  4815. "description": "商品代码(订单)",
  4816. "type": "string"
  4817. },
  4818. "relatedgoodsid": {
  4819. "description": "关联交易合约ID",
  4820. "type": "integer"
  4821. },
  4822. "relatedgoodsname": {
  4823. "description": "商品名称(订单)",
  4824. "type": "string"
  4825. },
  4826. "relatedmarketid": {
  4827. "description": "关联交易合约市场ID",
  4828. "type": "integer"
  4829. },
  4830. "sellstatus": {
  4831. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  4832. "type": "integer"
  4833. },
  4834. "startprice": {
  4835. "description": "起拍价[大宗式竞拍]",
  4836. "type": "number"
  4837. },
  4838. "starttime": {
  4839. "description": "预售开始时间",
  4840. "type": "string"
  4841. },
  4842. "tradedate": {
  4843. "description": "交易日(yyyyMMdd)",
  4844. "type": "string"
  4845. },
  4846. "tradeprice": {
  4847. "description": "成交价[大宗]",
  4848. "type": "number"
  4849. },
  4850. "userid": {
  4851. "description": "卖方用户ID",
  4852. "type": "integer"
  4853. }
  4854. }
  4855. },
  4856. "cptrade.QueryPresaleGoodsExRsp": {
  4857. "type": "object",
  4858. "required": [
  4859. "goodsid"
  4860. ],
  4861. "properties": {
  4862. "attachmenturl": {
  4863. "description": "附件地址",
  4864. "type": "string"
  4865. },
  4866. "createtime": {
  4867. "description": "创建时间",
  4868. "type": "string"
  4869. },
  4870. "endtime": {
  4871. "description": "预售结束时间",
  4872. "type": "string"
  4873. },
  4874. "floorprice": {
  4875. "description": "底价[大宗式竞拍]",
  4876. "type": "number"
  4877. },
  4878. "goodsdetail": {
  4879. "description": "详情[大宗]",
  4880. "type": "string"
  4881. },
  4882. "goodsid": {
  4883. "description": "商品ID(预售)",
  4884. "type": "integer"
  4885. },
  4886. "goodunit": {
  4887. "description": "报价单位",
  4888. "type": "string"
  4889. },
  4890. "marketid": {
  4891. "description": "预售市场ID - 根据预售模式选择市场",
  4892. "type": "integer"
  4893. },
  4894. "presaledamount": {
  4895. "description": "已预售总金额(预售结束时更新)",
  4896. "type": "number"
  4897. },
  4898. "presaledqty": {
  4899. "description": "已预售量(预售结束时更新)",
  4900. "type": "integer"
  4901. },
  4902. "presalemode": {
  4903. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  4904. "type": "integer"
  4905. },
  4906. "presaleqty": {
  4907. "description": "预售数量",
  4908. "type": "integer"
  4909. },
  4910. "refprice": {
  4911. "description": "参考价格[一口价]",
  4912. "type": "number"
  4913. },
  4914. "relatedgoodsid": {
  4915. "description": "关联交易合约ID",
  4916. "type": "integer"
  4917. },
  4918. "relatedmarketid": {
  4919. "description": "关联交易合约市场ID",
  4920. "type": "integer"
  4921. },
  4922. "sellstatus": {
  4923. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  4924. "type": "integer"
  4925. },
  4926. "startprice": {
  4927. "description": "起拍价[大宗式竞拍]",
  4928. "type": "number"
  4929. },
  4930. "starttime": {
  4931. "description": "预售开始时间",
  4932. "type": "string"
  4933. },
  4934. "tradedate": {
  4935. "description": "交易日(yyyyMMdd)",
  4936. "type": "string"
  4937. },
  4938. "tradeprice": {
  4939. "description": "成交价[大宗]",
  4940. "type": "number"
  4941. }
  4942. }
  4943. },
  4944. "delivery.QueryDeliveryRelationRsp": {
  4945. "type": "object",
  4946. "required": [
  4947. "begindate",
  4948. "enddate",
  4949. "goodsid",
  4950. "mindeliveryqty",
  4951. "xdeliveryratio"
  4952. ],
  4953. "properties": {
  4954. "begindate": {
  4955. "description": "起始日期(yyyyMMdd)",
  4956. "type": "string"
  4957. },
  4958. "buytemplateid": {
  4959. "description": "买履约计划模板ID",
  4960. "type": "integer"
  4961. },
  4962. "deliverygoodscode": {
  4963. "description": "品种代码",
  4964. "type": "string"
  4965. },
  4966. "deliverygoodsid": {
  4967. "description": "交割商品",
  4968. "type": "integer"
  4969. },
  4970. "deliverygoodsname": {
  4971. "description": "品种名称",
  4972. "type": "string"
  4973. },
  4974. "deliverymode": {
  4975. "description": "交割方式 - 1:点选式 2:申报式",
  4976. "type": "integer"
  4977. },
  4978. "deliverypricerule": {
  4979. "description": "交割价规则- 1:行情价 2:建仓价",
  4980. "type": "integer"
  4981. },
  4982. "deliverytype": {
  4983. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  4984. "type": "integer"
  4985. },
  4986. "enddate": {
  4987. "description": "结束日期(yyyyMMdd)",
  4988. "type": "string"
  4989. },
  4990. "goodscode": {
  4991. "description": "商品代码",
  4992. "type": "string"
  4993. },
  4994. "goodsid": {
  4995. "description": "交易合约ID",
  4996. "type": "integer"
  4997. },
  4998. "goodsname": {
  4999. "description": "商品名称",
  5000. "type": "string"
  5001. },
  5002. "marketid": {
  5003. "description": "市场ID",
  5004. "type": "integer"
  5005. },
  5006. "mindeliveryqty": {
  5007. "description": "最小交割系数(K)",
  5008. "type": "integer"
  5009. },
  5010. "p2deliveryprice": {
  5011. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  5012. "type": "number"
  5013. },
  5014. "p2deliveryratio": {
  5015. "description": "P2合约系数(p)",
  5016. "type": "integer"
  5017. },
  5018. "p2goodsid": {
  5019. "description": "P2合约ID",
  5020. "type": "integer"
  5021. },
  5022. "p2pricemode": {
  5023. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  5024. "type": "integer"
  5025. },
  5026. "pdeliveryprice": {
  5027. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  5028. "type": "number"
  5029. },
  5030. "pdeliveryratio": {
  5031. "description": "P合约系数(n)",
  5032. "type": "integer"
  5033. },
  5034. "pgoodsid": {
  5035. "description": "P合约ID",
  5036. "type": "integer"
  5037. },
  5038. "ppricemode": {
  5039. "description": "P合约价格方式 - 1:商品价 2:固定值",
  5040. "type": "integer"
  5041. },
  5042. "rratio": {
  5043. "description": "兑换系数(R)",
  5044. "type": "integer"
  5045. },
  5046. "rratio1": {
  5047. "description": "兑换系数(交易合约)(R1)",
  5048. "type": "integer"
  5049. },
  5050. "rratio2": {
  5051. "description": "兑换系数(仓单标准)(R2)",
  5052. "type": "integer"
  5053. },
  5054. "selltemplateid": {
  5055. "description": "卖履约计划模板ID",
  5056. "type": "integer"
  5057. },
  5058. "wrstandardid": {
  5059. "description": "仓单标准ID",
  5060. "type": "integer"
  5061. },
  5062. "xdeliveryratio": {
  5063. "description": "交易合约系数(m)",
  5064. "type": "integer"
  5065. }
  5066. }
  5067. },
  5068. "ermcp.QryErmcpRsp": {
  5069. "$ref": "#/definitions/models.ErmcpModel"
  5070. },
  5071. "ermcp.QryHedgePlanRsp": {
  5072. "$ref": "#/definitions/models.ErmcpHedgePlan"
  5073. },
  5074. "ermcp.QryUserInfoRsp": {
  5075. "$ref": "#/definitions/models.ErmcpUserModel"
  5076. },
  5077. "erms2.QueryArbitrageStrategyRsp": {
  5078. "type": "object",
  5079. "required": [
  5080. "asapplyid"
  5081. ],
  5082. "properties": {
  5083. "applybasis": {
  5084. "description": "申请基差",
  5085. "type": "number"
  5086. },
  5087. "asapplyid": {
  5088. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  5089. "type": "string"
  5090. },
  5091. "asname": {
  5092. "description": "策略名称",
  5093. "type": "string"
  5094. },
  5095. "asno": {
  5096. "description": "策略编号",
  5097. "type": "string"
  5098. },
  5099. "basischangepl": {
  5100. "description": "基差变动损益[结算更新]",
  5101. "type": "number"
  5102. },
  5103. "biztype": {
  5104. "description": "业务类型 - 1:正向套利 -1:反向套利",
  5105. "type": "integer"
  5106. },
  5107. "closetradedate": {
  5108. "description": "完结交易日(yyyyMMdd)",
  5109. "type": "string"
  5110. },
  5111. "curbasis": {
  5112. "description": "当前基差[结算更新]",
  5113. "type": "number"
  5114. },
  5115. "deliverygoodsid": {
  5116. "description": "现货品种ID",
  5117. "type": "integer"
  5118. },
  5119. "futureavgprice": {
  5120. "description": "期货建仓均价",
  5121. "type": "number"
  5122. },
  5123. "futurecloseamount": {
  5124. "description": "期货平仓金额",
  5125. "type": "number"
  5126. },
  5127. "futurecloseqty": {
  5128. "description": "期货平仓数量",
  5129. "type": "number"
  5130. },
  5131. "futureopenamount": {
  5132. "description": "期货开仓金额",
  5133. "type": "number"
  5134. },
  5135. "futureopenqty": {
  5136. "description": "期货开仓数量",
  5137. "type": "number"
  5138. },
  5139. "futurepl": {
  5140. "description": "期货总盈亏[结算更新]",
  5141. "type": "number"
  5142. },
  5143. "futureqty": {
  5144. "description": "期货持仓数量",
  5145. "type": "number"
  5146. },
  5147. "futurequote": {
  5148. "description": "期货额度",
  5149. "type": "number"
  5150. },
  5151. "goodsgroupid": {
  5152. "description": "期货品种ID",
  5153. "type": "integer"
  5154. },
  5155. "marketid": {
  5156. "description": "市场ID",
  5157. "type": "integer"
  5158. },
  5159. "netexposure": {
  5160. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  5161. "type": "number"
  5162. },
  5163. "netexposurepl": {
  5164. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  5165. "type": "number"
  5166. },
  5167. "netexposurerate": {
  5168. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  5169. "type": "number"
  5170. },
  5171. "openbasis": {
  5172. "description": "建仓基差",
  5173. "type": "number"
  5174. },
  5175. "pricedspotqty": {
  5176. "description": "已定价现货数量",
  5177. "type": "number"
  5178. },
  5179. "pricedspotqtynotax": {
  5180. "description": "已定价现货不含税数量",
  5181. "type": "number"
  5182. },
  5183. "remark": {
  5184. "description": "备注",
  5185. "type": "string"
  5186. },
  5187. "spotavgprice": {
  5188. "description": "现货均价",
  5189. "type": "number"
  5190. },
  5191. "spotbuyamount": {
  5192. "description": "现货采购金额",
  5193. "type": "number"
  5194. },
  5195. "spotbuyqty": {
  5196. "description": "现货采购数量",
  5197. "type": "number"
  5198. },
  5199. "spotpl": {
  5200. "description": "现货总盈亏[结算更新]",
  5201. "type": "number"
  5202. },
  5203. "spotquota": {
  5204. "description": "现货额度",
  5205. "type": "number"
  5206. },
  5207. "spotsellamount": {
  5208. "description": "现货销售金额",
  5209. "type": "number"
  5210. },
  5211. "spotsellqty": {
  5212. "description": "现货销售数量",
  5213. "type": "number"
  5214. },
  5215. "spotusedquota": {
  5216. "description": "现货占用资金",
  5217. "type": "number"
  5218. },
  5219. "strategystatus": {
  5220. "description": "策略状态 - 0:未结束 1:已结束",
  5221. "type": "integer"
  5222. },
  5223. "totalpl": {
  5224. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  5225. "type": "number"
  5226. },
  5227. "tradedate": {
  5228. "description": "交易日(yyyyMMdd)",
  5229. "type": "string"
  5230. },
  5231. "updatetime": {
  5232. "description": "更新时间",
  5233. "type": "string"
  5234. },
  5235. "usedquota": {
  5236. "description": "已占用资金",
  5237. "type": "number"
  5238. },
  5239. "userid": {
  5240. "description": "所属机构",
  5241. "type": "integer"
  5242. }
  5243. }
  5244. },
  5245. "erms2.QueryInnerTradeDetailRsp": {
  5246. "type": "object",
  5247. "required": [
  5248. "asapplyid",
  5249. "buyorsell",
  5250. "goodscode",
  5251. "goodsgroupid",
  5252. "goodsgroupname",
  5253. "goodsname",
  5254. "tradeid"
  5255. ],
  5256. "properties": {
  5257. "accountid": {
  5258. "description": "账号ID",
  5259. "type": "integer"
  5260. },
  5261. "agreeunit": {
  5262. "description": "合约单位",
  5263. "type": "number"
  5264. },
  5265. "asapplyid": {
  5266. "description": "策略申请ID",
  5267. "type": "integer"
  5268. },
  5269. "asname": {
  5270. "description": "策略名称",
  5271. "type": "string"
  5272. },
  5273. "asno": {
  5274. "description": "策略编号",
  5275. "type": "string"
  5276. },
  5277. "buyorsell": {
  5278. "description": "方向 - 0:买 1:卖",
  5279. "type": "integer"
  5280. },
  5281. "channelbuildtype": {
  5282. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  5283. "type": "integer"
  5284. },
  5285. "closetype": {
  5286. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  5287. "type": "integer"
  5288. },
  5289. "decimalplace": {
  5290. "description": "报价小数位",
  5291. "type": "integer"
  5292. },
  5293. "detailtype": {
  5294. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  5295. "type": "integer"
  5296. },
  5297. "exexchangecode": {
  5298. "description": "外部交易所代码",
  5299. "type": "string"
  5300. },
  5301. "exexchangename": {
  5302. "description": "外部交易所名称",
  5303. "type": "string"
  5304. },
  5305. "goodscode": {
  5306. "description": "商品代码(合约)",
  5307. "type": "string"
  5308. },
  5309. "goodsgroupid": {
  5310. "description": "商品组ID(品种ID)",
  5311. "type": "integer"
  5312. },
  5313. "goodsgroupname": {
  5314. "description": "商品组名称(品种)",
  5315. "type": "string"
  5316. },
  5317. "goodsid": {
  5318. "description": "商品ID",
  5319. "type": "integer"
  5320. },
  5321. "goodsname": {
  5322. "description": "商品名称(合约)",
  5323. "type": "string"
  5324. },
  5325. "goodunit": {
  5326. "description": "报价单位",
  5327. "type": "string"
  5328. },
  5329. "marketid": {
  5330. "description": "市场ID",
  5331. "type": "integer"
  5332. },
  5333. "orderid": {
  5334. "description": "委托单号",
  5335. "type": "string"
  5336. },
  5337. "outgoodscode": {
  5338. "description": "商品代码(外部)",
  5339. "type": "string"
  5340. },
  5341. "relatedouttradeid": {
  5342. "description": "关联外部成交单ID",
  5343. "type": "string"
  5344. },
  5345. "remark": {
  5346. "description": "备注",
  5347. "type": "string"
  5348. },
  5349. "spotcontractid": {
  5350. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  5351. "type": "integer"
  5352. },
  5353. "spotcontractno": {
  5354. "description": "现货合同编号",
  5355. "type": "string"
  5356. },
  5357. "tradeid": {
  5358. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5359. "type": "string"
  5360. },
  5361. "tradeprice": {
  5362. "description": "成交价格",
  5363. "type": "number"
  5364. },
  5365. "tradeqty": {
  5366. "description": "成交数量",
  5367. "type": "integer"
  5368. },
  5369. "tradetime": {
  5370. "description": "成交时间",
  5371. "type": "string"
  5372. },
  5373. "updatetime": {
  5374. "description": "更新时间",
  5375. "type": "string"
  5376. }
  5377. }
  5378. },
  5379. "erms2.QuerySpotContractRsp": {
  5380. "type": "object",
  5381. "required": [
  5382. "spotcontractid"
  5383. ],
  5384. "properties": {
  5385. "accountid": {
  5386. "description": "资金账户ID",
  5387. "type": "integer"
  5388. },
  5389. "areauserid": {
  5390. "description": "所属机构",
  5391. "type": "integer"
  5392. },
  5393. "closedate": {
  5394. "description": "终止日期",
  5395. "type": "string"
  5396. },
  5397. "closeremark": {
  5398. "description": "结束备注",
  5399. "type": "string"
  5400. },
  5401. "closetradedate": {
  5402. "description": "完结交易日(yyyyMMdd)",
  5403. "type": "string"
  5404. },
  5405. "closetype": {
  5406. "description": "终止类型 - 1:违约 2:提前终止",
  5407. "type": "integer"
  5408. },
  5409. "contractamount": {
  5410. "description": "合同金额",
  5411. "type": "number"
  5412. },
  5413. "contractattachment": {
  5414. "description": "合同附件",
  5415. "type": "string"
  5416. },
  5417. "contractno": {
  5418. "description": "现货合同编号",
  5419. "type": "string"
  5420. },
  5421. "contractqty": {
  5422. "description": "合同数量(数值) (用于计算)",
  5423. "type": "number"
  5424. },
  5425. "contractqtychar": {
  5426. "description": "合同数量\\已订价数量 (用于显示)",
  5427. "type": "string"
  5428. },
  5429. "contractstatus": {
  5430. "description": "合同状态 - 0:未结束 1:已结束",
  5431. "type": "integer"
  5432. },
  5433. "contracttype": {
  5434. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  5435. "type": "integer"
  5436. },
  5437. "customeraccountid": {
  5438. "description": "客户资金账户ID",
  5439. "type": "integer"
  5440. },
  5441. "customeruserid": {
  5442. "description": "客户ID",
  5443. "type": "integer"
  5444. },
  5445. "deliverygoodsdesc": {
  5446. "description": "品种说明",
  5447. "type": "string"
  5448. },
  5449. "deliverygoodsid": {
  5450. "description": "现货品种ID",
  5451. "type": "integer"
  5452. },
  5453. "handlestatus": {
  5454. "description": "处理状态",
  5455. "type": "integer"
  5456. },
  5457. "invoiceatt": {
  5458. "description": "发票附件",
  5459. "type": "string"
  5460. },
  5461. "invoicedatetime": {
  5462. "description": "开收票更新时间",
  5463. "type": "string"
  5464. },
  5465. "invoiceopentime": {
  5466. "description": "开票时间",
  5467. "type": "string"
  5468. },
  5469. "invoiceremark": {
  5470. "description": "发票备注",
  5471. "type": "string"
  5472. },
  5473. "invoicestatus": {
  5474. "description": "开收票状态 - 0:未开票 1:已开票",
  5475. "type": "integer"
  5476. },
  5477. "lastdate": {
  5478. "description": "交货时间",
  5479. "type": "string"
  5480. },
  5481. "marketid": {
  5482. "description": "市场ID",
  5483. "type": "integer"
  5484. },
  5485. "paydatetime": {
  5486. "description": "收付款更新时间",
  5487. "type": "string"
  5488. },
  5489. "payremark": {
  5490. "description": "收付款备注",
  5491. "type": "string"
  5492. },
  5493. "paystatus": {
  5494. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  5495. "type": "integer"
  5496. },
  5497. "positionqty": {
  5498. "description": "头寸数量 - 合同数量去小数部分",
  5499. "type": "integer"
  5500. },
  5501. "producttype": {
  5502. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  5503. "type": "integer"
  5504. },
  5505. "relatedqty": {
  5506. "description": "已关联数量",
  5507. "type": "number"
  5508. },
  5509. "relatedstatus": {
  5510. "description": "关联完结状态 - 0:未结束 1:已结束",
  5511. "type": "integer"
  5512. },
  5513. "remark": {
  5514. "description": "备注",
  5515. "type": "string"
  5516. },
  5517. "signdate": {
  5518. "description": "签订日期",
  5519. "type": "string"
  5520. },
  5521. "spotcontractid": {
  5522. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  5523. "type": "string"
  5524. },
  5525. "spotdatetime": {
  5526. "description": "收发货更新时间",
  5527. "type": "string"
  5528. },
  5529. "spotprice": {
  5530. "description": "价格",
  5531. "type": "number"
  5532. },
  5533. "spotremark": {
  5534. "description": "收发货备注",
  5535. "type": "string"
  5536. },
  5537. "spotstatus": {
  5538. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  5539. "type": "integer"
  5540. },
  5541. "tradedate": {
  5542. "description": "交易日(yyyyMMdd)",
  5543. "type": "string"
  5544. },
  5545. "userid": {
  5546. "description": "业务员用户ID",
  5547. "type": "integer"
  5548. },
  5549. "warehouseid": {
  5550. "description": "仓库ID",
  5551. "type": "integer"
  5552. },
  5553. "wrfactortypeid": {
  5554. "description": "仓单要素类型ID",
  5555. "type": "integer"
  5556. },
  5557. "wrstandardid": {
  5558. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  5559. "type": "integer"
  5560. }
  5561. }
  5562. },
  5563. "erms3.AddErms2ASApplyReq": {
  5564. "type": "object",
  5565. "required": [
  5566. "asapplyid"
  5567. ],
  5568. "properties": {
  5569. "applybasis": {
  5570. "description": "申请基差",
  5571. "type": "number"
  5572. },
  5573. "applystatus": {
  5574. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5575. "type": "integer"
  5576. },
  5577. "asapplyid": {
  5578. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  5579. "type": "integer"
  5580. },
  5581. "asname": {
  5582. "description": "策略名称",
  5583. "type": "string"
  5584. },
  5585. "asno": {
  5586. "description": "策略编号",
  5587. "type": "string"
  5588. },
  5589. "auditid": {
  5590. "description": "审核人",
  5591. "type": "integer"
  5592. },
  5593. "auditremark": {
  5594. "description": "审核备注",
  5595. "type": "string"
  5596. },
  5597. "audittime": {
  5598. "description": "审核时间",
  5599. "type": "string"
  5600. },
  5601. "biztype": {
  5602. "description": "业务类型 - 1:正向套利 2:反向套利",
  5603. "type": "integer"
  5604. },
  5605. "createtime": {
  5606. "description": "创建时间",
  5607. "type": "string"
  5608. },
  5609. "creatorid": {
  5610. "description": "创建人",
  5611. "type": "integer"
  5612. },
  5613. "deliverygoodsid": {
  5614. "description": "现货品种ID",
  5615. "type": "integer"
  5616. },
  5617. "futurequote": {
  5618. "description": "期货额度",
  5619. "type": "number"
  5620. },
  5621. "goodsgroupid": {
  5622. "description": "期货品种ID",
  5623. "type": "integer"
  5624. },
  5625. "marketid": {
  5626. "description": "市场ID",
  5627. "type": "integer"
  5628. },
  5629. "remark": {
  5630. "description": "备注",
  5631. "type": "string"
  5632. },
  5633. "spotquota": {
  5634. "description": "现货额度",
  5635. "type": "number"
  5636. },
  5637. "tradedate": {
  5638. "description": "交易日(yyyyMMdd)",
  5639. "type": "string"
  5640. },
  5641. "userid": {
  5642. "description": "所属机构",
  5643. "type": "integer"
  5644. }
  5645. }
  5646. },
  5647. "erms3.AddErms2SpotTradeApplyReq": {
  5648. "type": "object",
  5649. "required": [
  5650. "spottradeid"
  5651. ],
  5652. "properties": {
  5653. "applyjsondetail": {
  5654. "description": "申请明细(JSON)",
  5655. "type": "string"
  5656. },
  5657. "applystatus": {
  5658. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5659. "type": "integer"
  5660. },
  5661. "areauserid": {
  5662. "description": "所属机构",
  5663. "type": "integer"
  5664. },
  5665. "auditid": {
  5666. "description": "审核人",
  5667. "type": "integer"
  5668. },
  5669. "auditremark": {
  5670. "description": "审核备注",
  5671. "type": "string"
  5672. },
  5673. "audittime": {
  5674. "description": "审核时间",
  5675. "type": "string"
  5676. },
  5677. "createtime": {
  5678. "description": "创建时间",
  5679. "type": "string"
  5680. },
  5681. "creatorid": {
  5682. "description": "创建人",
  5683. "type": "integer"
  5684. },
  5685. "deliverygoodsid": {
  5686. "description": "现货品种ID",
  5687. "type": "integer"
  5688. },
  5689. "futureaccountid": {
  5690. "description": "期货资金账户",
  5691. "type": "integer"
  5692. },
  5693. "goodsgroupid": {
  5694. "description": "期货品种",
  5695. "type": "integer"
  5696. },
  5697. "marketid": {
  5698. "description": "市场ID",
  5699. "type": "integer"
  5700. },
  5701. "remark": {
  5702. "description": "备注",
  5703. "type": "string"
  5704. },
  5705. "spotaccountid": {
  5706. "description": "现货资金账户",
  5707. "type": "integer"
  5708. },
  5709. "spottradeid": {
  5710. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  5711. "type": "integer"
  5712. },
  5713. "spottradename": {
  5714. "description": "业务名称",
  5715. "type": "string"
  5716. },
  5717. "spottradeno": {
  5718. "description": "业务编号",
  5719. "type": "string"
  5720. },
  5721. "tradedate": {
  5722. "description": "交易日(yyyyMMdd)",
  5723. "type": "string"
  5724. },
  5725. "wrstandardid": {
  5726. "description": "仓单标准ID",
  5727. "type": "integer"
  5728. }
  5729. }
  5730. },
  5731. "erms3.AddSpotContractApplyReq": {
  5732. "type": "object",
  5733. "required": [
  5734. "accountid",
  5735. "areauserid",
  5736. "contractno",
  5737. "contracttype",
  5738. "customeraccountid",
  5739. "customeruserid",
  5740. "details",
  5741. "orimargin",
  5742. "signdate"
  5743. ],
  5744. "properties": {
  5745. "accountid": {
  5746. "description": "资金账户ID",
  5747. "type": "integer"
  5748. },
  5749. "areauserid": {
  5750. "description": "所属机构",
  5751. "type": "integer"
  5752. },
  5753. "contractattachment": {
  5754. "description": "合同附件",
  5755. "type": "string"
  5756. },
  5757. "contractno": {
  5758. "description": "现货合同编号",
  5759. "type": "string"
  5760. },
  5761. "contracttype": {
  5762. "description": "现货合同类型 - 1:采购 -1:销售",
  5763. "type": "integer"
  5764. },
  5765. "creatorid": {
  5766. "description": "申请人",
  5767. "type": "integer"
  5768. },
  5769. "customeraccountid": {
  5770. "description": "客户资金账户ID",
  5771. "type": "integer"
  5772. },
  5773. "customeruserid": {
  5774. "description": "客户ID",
  5775. "type": "integer"
  5776. },
  5777. "details": {
  5778. "description": "明细",
  5779. "type": "array",
  5780. "items": {
  5781. "$ref": "#/definitions/erms3.SoptContractDetail"
  5782. }
  5783. },
  5784. "orimargin": {
  5785. "description": "初始保证金",
  5786. "type": "number"
  5787. },
  5788. "remark": {
  5789. "description": "备注",
  5790. "type": "string"
  5791. },
  5792. "signdate": {
  5793. "description": "签订日期",
  5794. "type": "string"
  5795. }
  5796. }
  5797. },
  5798. "erms3.AddSpotContractApplyRsp": {
  5799. "type": "object",
  5800. "required": [
  5801. "contractno"
  5802. ],
  5803. "properties": {
  5804. "contractno": {
  5805. "description": "现货合同编号",
  5806. "type": "string"
  5807. },
  5808. "spotcontractid": {
  5809. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  5810. "type": "integer"
  5811. }
  5812. }
  5813. },
  5814. "erms3.AddUserInfoApplyReq": {
  5815. "type": "object",
  5816. "required": [
  5817. "userid"
  5818. ],
  5819. "properties": {
  5820. "accountid": {
  5821. "description": "交易系统帐号Id (加密存储)",
  5822. "type": "integer"
  5823. },
  5824. "areacode": {
  5825. "description": "机构代码",
  5826. "type": "string"
  5827. },
  5828. "areaid": {
  5829. "description": "机构Id",
  5830. "type": "integer"
  5831. },
  5832. "attachment1": {
  5833. "description": "附件1",
  5834. "type": "string"
  5835. },
  5836. "attachment2": {
  5837. "description": "附件2",
  5838. "type": "string"
  5839. },
  5840. "attachment3": {
  5841. "description": "附件3",
  5842. "type": "string"
  5843. },
  5844. "attachment4": {
  5845. "description": "附件4",
  5846. "type": "string"
  5847. },
  5848. "attachment5": {
  5849. "description": "附件5",
  5850. "type": "string"
  5851. },
  5852. "auditedby": {
  5853. "description": "审核人",
  5854. "type": "string"
  5855. },
  5856. "auditime": {
  5857. "description": "审核时间",
  5858. "type": "string"
  5859. },
  5860. "bankaccount": {
  5861. "description": "银行帐号 (加密存储)",
  5862. "type": "string"
  5863. },
  5864. "bankaccountname": {
  5865. "description": "收款人名称",
  5866. "type": "string"
  5867. },
  5868. "bankcardbackphotourl": {
  5869. "description": "银行卡背面照地址",
  5870. "type": "string"
  5871. },
  5872. "bankcardfrontphotourl": {
  5873. "description": "银行卡正面照地址",
  5874. "type": "string"
  5875. },
  5876. "bankid": {
  5877. "description": "银行编码",
  5878. "type": "string"
  5879. },
  5880. "bankname": {
  5881. "description": "银行名称",
  5882. "type": "string"
  5883. },
  5884. "bankpictureurl": {
  5885. "description": "银行卡正面地址",
  5886. "type": "string"
  5887. },
  5888. "biznature": {
  5889. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  5890. "type": "integer"
  5891. },
  5892. "bizscope": {
  5893. "description": "企业经营范围(企业)",
  5894. "type": "string"
  5895. },
  5896. "biztype": {
  5897. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  5898. "type": "integer"
  5899. },
  5900. "brokerid": {
  5901. "description": "经纪人ID(加密存储)",
  5902. "type": "string"
  5903. },
  5904. "cardaddress": {
  5905. "description": "证件地址 (加密存储)",
  5906. "type": "string"
  5907. },
  5908. "cardbackphotourl": {
  5909. "description": "背面证件照地址",
  5910. "type": "string"
  5911. },
  5912. "cardfrontphotourl": {
  5913. "description": "正面证件照地址",
  5914. "type": "string"
  5915. },
  5916. "cardnum": {
  5917. "description": "证件号码 (加密存储)",
  5918. "type": "string"
  5919. },
  5920. "cardtype": {
  5921. "description": "证件类型",
  5922. "type": "integer"
  5923. },
  5924. "cityid": {
  5925. "description": "市",
  5926. "type": "integer"
  5927. },
  5928. "company": {
  5929. "description": "公司(个人)",
  5930. "type": "string"
  5931. },
  5932. "contactcardbackphotourl": {
  5933. "description": "联系人证件背面图片地址",
  5934. "type": "string"
  5935. },
  5936. "contactcardfrontphotourl": {
  5937. "description": "联系人证件正面图片地址",
  5938. "type": "string"
  5939. },
  5940. "contactname": {
  5941. "description": "联系人",
  5942. "type": "string"
  5943. },
  5944. "countryid": {
  5945. "description": "国家",
  5946. "type": "integer"
  5947. },
  5948. "createtime": {
  5949. "description": "开户申请时间",
  5950. "type": "string"
  5951. },
  5952. "cusbankid": {
  5953. "description": "签约类型",
  5954. "type": "string"
  5955. },
  5956. "cusbankname": {
  5957. "description": "签约类型名称",
  5958. "type": "string"
  5959. },
  5960. "customername": {
  5961. "description": "客户名称(企业名称)",
  5962. "type": "string"
  5963. },
  5964. "districtid": {
  5965. "description": "地区",
  5966. "type": "integer"
  5967. },
  5968. "email": {
  5969. "description": "Email地址(加密存储)",
  5970. "type": "string"
  5971. },
  5972. "halfbodyphotourl": {
  5973. "description": "半身照地址",
  5974. "type": "string"
  5975. },
  5976. "headurl": {
  5977. "description": "头像地址",
  5978. "type": "string"
  5979. },
  5980. "ipaddress": {
  5981. "description": "IP地址",
  5982. "type": "string"
  5983. },
  5984. "isvalidate": {
  5985. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  5986. "type": "string"
  5987. },
  5988. "legalcardbackphotourl": {
  5989. "description": "法人身份证背面照地址",
  5990. "type": "string"
  5991. },
  5992. "legalcardfrontphotourl": {
  5993. "description": "法人身份证正面照地址",
  5994. "type": "string"
  5995. },
  5996. "legalpersonname": {
  5997. "description": "法人姓名(企业)",
  5998. "type": "string"
  5999. },
  6000. "logincode": {
  6001. "description": "登录帐号 (加密存储)",
  6002. "type": "string"
  6003. },
  6004. "memberareaid": {
  6005. "description": "所属会员ID",
  6006. "type": "integer"
  6007. },
  6008. "mobile2": {
  6009. "description": "手机号码[明文-尚志]",
  6010. "type": "string"
  6011. },
  6012. "mobilephone": {
  6013. "description": "手机号码 (加密存储)",
  6014. "type": "string"
  6015. },
  6016. "modifiedby": {
  6017. "description": "修改人帐号",
  6018. "type": "integer"
  6019. },
  6020. "modifiedtime": {
  6021. "description": "修改时间",
  6022. "type": "string"
  6023. },
  6024. "nickname": {
  6025. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  6026. "type": "string"
  6027. },
  6028. "openmode": {
  6029. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  6030. "type": "integer"
  6031. },
  6032. "otherurl": {
  6033. "description": "其它图片地址[使用分号分隔]",
  6034. "type": "string"
  6035. },
  6036. "postalcode": {
  6037. "description": "邮政编码",
  6038. "type": "string"
  6039. },
  6040. "provinceid": {
  6041. "description": "省",
  6042. "type": "integer"
  6043. },
  6044. "proxystatementurl": {
  6045. "description": "授权委托书",
  6046. "type": "string"
  6047. },
  6048. "qq": {
  6049. "description": "QQ(加密存储",
  6050. "type": "string"
  6051. },
  6052. "referral": {
  6053. "description": "推荐人编码",
  6054. "type": "string"
  6055. },
  6056. "remark": {
  6057. "description": "备注",
  6058. "type": "string"
  6059. },
  6060. "removebeforestatus": {
  6061. "description": "REMOVEBEFORESTATUS",
  6062. "type": "integer"
  6063. },
  6064. "sex": {
  6065. "description": "性别 - 0:女 1:男",
  6066. "type": "integer"
  6067. },
  6068. "signedstatus": {
  6069. "description": "账户一号签签约状态",
  6070. "type": "integer"
  6071. },
  6072. "signpdfurl": {
  6073. "description": "签约pdf文件",
  6074. "type": "string"
  6075. },
  6076. "subbranch": {
  6077. "description": "开户支行",
  6078. "type": "string"
  6079. },
  6080. "telphone": {
  6081. "description": "联系电话(加密存储)",
  6082. "type": "string"
  6083. },
  6084. "userid": {
  6085. "description": "用户ID(自增ID)",
  6086. "type": "integer"
  6087. },
  6088. "userinfotype": {
  6089. "description": "用户信息类型 - 1:个人 2:企业",
  6090. "type": "integer"
  6091. },
  6092. "username": {
  6093. "description": "用户姓名",
  6094. "type": "string"
  6095. },
  6096. "userstate": {
  6097. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  6098. "type": "integer"
  6099. },
  6100. "usertype": {
  6101. "description": "用户类型 - 1:投资者 2:机构",
  6102. "type": "integer"
  6103. },
  6104. "videourl": {
  6105. "description": "视频地址",
  6106. "type": "string"
  6107. },
  6108. "wechat": {
  6109. "description": "微信号 (加密存储)",
  6110. "type": "string"
  6111. }
  6112. }
  6113. },
  6114. "erms3.CustomerInfo": {
  6115. "type": "object",
  6116. "required": [
  6117. "userid"
  6118. ],
  6119. "properties": {
  6120. "accountids": {
  6121. "description": "资金账户ID列表",
  6122. "type": "array",
  6123. "items": {
  6124. "type": "integer"
  6125. }
  6126. },
  6127. "customername": {
  6128. "description": "名称(企业名称)",
  6129. "type": "string"
  6130. },
  6131. "mobile": {
  6132. "description": "手机号码",
  6133. "type": "string"
  6134. },
  6135. "userid": {
  6136. "description": "用户ID",
  6137. "type": "integer"
  6138. }
  6139. }
  6140. },
  6141. "erms3.QryAuditContractRsp": {
  6142. "type": "object",
  6143. "required": [
  6144. "matchcustomername",
  6145. "spotcontractid"
  6146. ],
  6147. "properties": {
  6148. "accountid": {
  6149. "description": "交易员ID",
  6150. "type": "string"
  6151. },
  6152. "applystatus": {
  6153. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6154. "type": "integer"
  6155. },
  6156. "curdeliveryqty": {
  6157. "description": "未交收量",
  6158. "type": "integer"
  6159. },
  6160. "customername": {
  6161. "description": "采购方ID",
  6162. "type": "string"
  6163. },
  6164. "deliverygoodsid": {
  6165. "description": "品种ID",
  6166. "type": "string"
  6167. },
  6168. "deliveryqty": {
  6169. "description": "交收量",
  6170. "type": "integer"
  6171. },
  6172. "enumdicname": {
  6173. "description": "单位名称",
  6174. "type": "string"
  6175. },
  6176. "matchaccountid": {
  6177. "description": "业务员ID",
  6178. "type": "string"
  6179. },
  6180. "matchcustomername": {
  6181. "description": "销售方ID",
  6182. "type": "string"
  6183. },
  6184. "pricedqty": {
  6185. "description": "定价量",
  6186. "type": "number"
  6187. },
  6188. "signdate": {
  6189. "description": "签订日期",
  6190. "type": "string"
  6191. },
  6192. "spotcontractid": {
  6193. "description": "合同ID",
  6194. "type": "string"
  6195. },
  6196. "totaldqty": {
  6197. "description": "合同量",
  6198. "type": "number"
  6199. },
  6200. "unpricedqty": {
  6201. "description": "未定价量",
  6202. "type": "number"
  6203. },
  6204. "wrstandardname": {
  6205. "description": "商品名称",
  6206. "type": "string"
  6207. }
  6208. }
  6209. },
  6210. "erms3.QryPendingBizRsp": {
  6211. "$ref": "#/definitions/models.PendingAuditBizModel"
  6212. },
  6213. "erms3.QueryBusinessInfoRsp": {
  6214. "type": "object",
  6215. "properties": {
  6216. "businessid": {
  6217. "description": "业务ID.",
  6218. "type": "integer"
  6219. },
  6220. "buyamount": {
  6221. "description": "采购额.",
  6222. "type": "number"
  6223. },
  6224. "buyqty": {
  6225. "description": "采购量.",
  6226. "type": "string"
  6227. },
  6228. "futurepl": {
  6229. "description": "期货盈亏.",
  6230. "type": "number"
  6231. },
  6232. "futureqty": {
  6233. "description": "期货敞口.",
  6234. "type": "string"
  6235. },
  6236. "goodsid": {
  6237. "description": "商品名称/商品代码.",
  6238. "type": "string"
  6239. },
  6240. "hedgingqty": {
  6241. "description": "套保量.",
  6242. "type": "string"
  6243. },
  6244. "sellamount": {
  6245. "description": "销售额.",
  6246. "type": "number"
  6247. },
  6248. "sellqty": {
  6249. "description": "销售量.",
  6250. "type": "string"
  6251. },
  6252. "spotmarketvalue": {
  6253. "description": "现货市值.",
  6254. "type": "number"
  6255. },
  6256. "spotpl": {
  6257. "description": "浮动权益.",
  6258. "type": "number"
  6259. },
  6260. "spotqty": {
  6261. "description": "现货量.",
  6262. "type": "string"
  6263. },
  6264. "statu": {
  6265. "description": "状态,0-未结束 1-已结束.",
  6266. "type": "integer"
  6267. },
  6268. "totalpl": {
  6269. "description": "总盈亏.",
  6270. "type": "number"
  6271. },
  6272. "totalqty": {
  6273. "description": "总敞口.",
  6274. "type": "string"
  6275. },
  6276. "type": {
  6277. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  6278. "type": "integer"
  6279. }
  6280. }
  6281. },
  6282. "erms3.QuerySpotContractAppleFormRsp": {
  6283. "type": "object",
  6284. "properties": {
  6285. "goodses": {
  6286. "description": "合约列表",
  6287. "type": "array",
  6288. "items": {
  6289. "$ref": "#/definitions/models.GoodsIDAndName"
  6290. }
  6291. },
  6292. "oppositeusers": {
  6293. "description": "对方账号列表",
  6294. "type": "array",
  6295. "items": {
  6296. "$ref": "#/definitions/erms3.CustomerInfo"
  6297. }
  6298. },
  6299. "ouruser": {
  6300. "description": "我方账号",
  6301. "type": "object",
  6302. "$ref": "#/definitions/erms3.CustomerInfo"
  6303. },
  6304. "warehouseinfos": {
  6305. "description": "仓库信息列表",
  6306. "type": "array",
  6307. "items": {
  6308. "$ref": "#/definitions/models.Warehouseinfo"
  6309. }
  6310. },
  6311. "wrstandards": {
  6312. "description": "仓单标准列表",
  6313. "type": "array",
  6314. "items": {
  6315. "$ref": "#/definitions/models.WRStandardInfo"
  6316. }
  6317. }
  6318. }
  6319. },
  6320. "erms3.QuerySpotContractInfoRsp": {
  6321. "type": "object",
  6322. "properties": {
  6323. "accountid": {
  6324. "description": "表示交易员ID.",
  6325. "type": "integer"
  6326. },
  6327. "curdeliveryqty": {
  6328. "description": "表示未交收量.",
  6329. "type": "number"
  6330. },
  6331. "customername": {
  6332. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  6333. "type": "string"
  6334. },
  6335. "deliverygoodsid": {
  6336. "description": "表示品种ID.",
  6337. "type": "string"
  6338. },
  6339. "deliveryqty": {
  6340. "description": "表示交收量.",
  6341. "type": "number"
  6342. },
  6343. "matchaccountid": {
  6344. "description": "表示业务员ID.",
  6345. "type": "integer"
  6346. },
  6347. "matchcustomername": {
  6348. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  6349. "type": "string"
  6350. },
  6351. "priceqty": {
  6352. "description": "表示定价量.",
  6353. "type": "number"
  6354. },
  6355. "relatedbizid": {
  6356. "description": "表示业务ID.",
  6357. "type": "string"
  6358. },
  6359. "signdate": {
  6360. "description": "表示签订日期.",
  6361. "type": "string"
  6362. },
  6363. "spotcontractid": {
  6364. "description": "合同ID",
  6365. "type": "string"
  6366. },
  6367. "status": {
  6368. "description": "表示状态,0-履约中 1-已完成.",
  6369. "type": "integer"
  6370. },
  6371. "totalqty": {
  6372. "description": "表示合同量.",
  6373. "type": "number"
  6374. },
  6375. "unpricedqty": {
  6376. "description": "表示未定价量.",
  6377. "type": "number"
  6378. },
  6379. "wrstandardname": {
  6380. "description": "表示商品ID.",
  6381. "type": "string"
  6382. }
  6383. }
  6384. },
  6385. "erms3.QueryUserInfoAppliesRsp": {
  6386. "type": "object",
  6387. "required": [
  6388. "userid"
  6389. ],
  6390. "properties": {
  6391. "biznature": {
  6392. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6393. "type": "integer"
  6394. },
  6395. "contactname": {
  6396. "description": "联系人",
  6397. "type": "string"
  6398. },
  6399. "createtime": {
  6400. "description": "开户申请时间",
  6401. "type": "string"
  6402. },
  6403. "userid": {
  6404. "description": "用户ID(自增ID)",
  6405. "type": "integer"
  6406. },
  6407. "userinfotype": {
  6408. "description": "用户信息类型 - 1:个人 2:企业",
  6409. "type": "integer"
  6410. },
  6411. "username": {
  6412. "description": "用户姓名",
  6413. "type": "string"
  6414. },
  6415. "userstate": {
  6416. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  6417. "type": "integer"
  6418. }
  6419. }
  6420. },
  6421. "erms3.QueryUserInfosRsp": {
  6422. "type": "object",
  6423. "required": [
  6424. "userid"
  6425. ],
  6426. "properties": {
  6427. "biznature": {
  6428. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6429. "type": "integer"
  6430. },
  6431. "contactname": {
  6432. "description": "联系人",
  6433. "type": "string"
  6434. },
  6435. "customername": {
  6436. "description": "客户名称(企业名称)",
  6437. "type": "string"
  6438. },
  6439. "userid": {
  6440. "description": "用户ID",
  6441. "type": "integer"
  6442. },
  6443. "userinfotype": {
  6444. "description": "用户信息类型 - 1:个人 2:企业",
  6445. "type": "integer"
  6446. },
  6447. "userstatus": {
  6448. "description": "用户状态 - 1:正常 2:注销",
  6449. "type": "integer"
  6450. }
  6451. }
  6452. },
  6453. "erms3.SoptContractDetail": {
  6454. "type": "object",
  6455. "required": [
  6456. "deliverygoodsid",
  6457. "producttype",
  6458. "unitname",
  6459. "warehouseid",
  6460. "wrstandardid",
  6461. "wrstandardname"
  6462. ],
  6463. "properties": {
  6464. "deliverygoodsdesc": {
  6465. "description": "现货品种说明",
  6466. "type": "string"
  6467. },
  6468. "deliverygoodsid": {
  6469. "description": "现货品种ID",
  6470. "type": "integer"
  6471. },
  6472. "deliverygoodsname": {
  6473. "description": "现货品种名称",
  6474. "type": "string"
  6475. },
  6476. "pointdesc": {
  6477. "description": "点价描述",
  6478. "type": "string"
  6479. },
  6480. "producttype": {
  6481. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  6482. "type": "integer"
  6483. },
  6484. "producttypename": {
  6485. "description": "产品类型名称",
  6486. "type": "string"
  6487. },
  6488. "spotPointOrderVoList": {
  6489. "description": "点价列表",
  6490. "type": "array",
  6491. "items": {
  6492. "$ref": "#/definitions/erms3.SpotPointOrder"
  6493. }
  6494. },
  6495. "spotPriceOrderList": {
  6496. "description": "定价列表",
  6497. "type": "array",
  6498. "items": {
  6499. "$ref": "#/definitions/erms3.SpotPriceOrder"
  6500. }
  6501. },
  6502. "unitname": {
  6503. "description": "单位名称",
  6504. "type": "string"
  6505. },
  6506. "warehouseid": {
  6507. "description": "仓库ID",
  6508. "type": "integer"
  6509. },
  6510. "warehousename": {
  6511. "description": "仓库名称",
  6512. "type": "string"
  6513. },
  6514. "wrstandardid": {
  6515. "description": "交易标的ID",
  6516. "type": "integer"
  6517. },
  6518. "wrstandardname": {
  6519. "description": "交易标的名称",
  6520. "type": "string"
  6521. }
  6522. }
  6523. },
  6524. "erms3.SpotPointOrder": {
  6525. "type": "object",
  6526. "required": [
  6527. "basic",
  6528. "goodsid",
  6529. "qty"
  6530. ],
  6531. "properties": {
  6532. "basic": {
  6533. "description": "基差",
  6534. "type": "number"
  6535. },
  6536. "deliveryenddate": {
  6537. "description": "交收结束日期",
  6538. "type": "string"
  6539. },
  6540. "deliverystartdate": {
  6541. "description": "交收开始日期",
  6542. "type": "string"
  6543. },
  6544. "enddate": {
  6545. "description": "点价结束日期",
  6546. "type": "string"
  6547. },
  6548. "goodsid": {
  6549. "description": "商品ID",
  6550. "type": "integer"
  6551. },
  6552. "goodsname": {
  6553. "description": "商品名称",
  6554. "type": "string"
  6555. },
  6556. "qty": {
  6557. "description": "数量",
  6558. "type": "number"
  6559. },
  6560. "startdate": {
  6561. "description": "点价开始日期",
  6562. "type": "string"
  6563. }
  6564. }
  6565. },
  6566. "erms3.SpotPriceOrder": {
  6567. "type": "object",
  6568. "required": [
  6569. "amount",
  6570. "price",
  6571. "qty"
  6572. ],
  6573. "properties": {
  6574. "amount": {
  6575. "description": "金额",
  6576. "type": "number"
  6577. },
  6578. "deliveryenddate": {
  6579. "description": "交收结束日期",
  6580. "type": "string"
  6581. },
  6582. "deliverystartdate": {
  6583. "description": "交收开始日期",
  6584. "type": "string"
  6585. },
  6586. "price": {
  6587. "description": "价格",
  6588. "type": "number"
  6589. },
  6590. "qty": {
  6591. "description": "数量",
  6592. "type": "number"
  6593. }
  6594. }
  6595. },
  6596. "hsby.GetHsbyMyCountRsp": {
  6597. "type": "object",
  6598. "properties": {
  6599. "myCouponCount": {
  6600. "description": "我的优惠卷数量",
  6601. "type": "integer"
  6602. },
  6603. "myOrderDetailListingCount": {
  6604. "description": "我的订单求购中数量",
  6605. "type": "integer"
  6606. },
  6607. "myOrderDetailPreCount": {
  6608. "description": "我的订单抢购中数量",
  6609. "type": "integer"
  6610. },
  6611. "myPackageUnReceiveCount": {
  6612. "description": "我的包裹待收货数量",
  6613. "type": "integer"
  6614. },
  6615. "myPackageUnSendCount": {
  6616. "description": "我的包裹待发货数量",
  6617. "type": "integer"
  6618. },
  6619. "myPayOrderCount": {
  6620. "description": "我的订单待付款数量",
  6621. "type": "integer"
  6622. }
  6623. }
  6624. },
  6625. "hsby.QueryProvincesAndCitiesRsp": {
  6626. "type": "object",
  6627. "properties": {
  6628. "cities": {
  6629. "description": "市",
  6630. "type": "array",
  6631. "items": {
  6632. "$ref": "#/definitions/models.Division"
  6633. }
  6634. },
  6635. "province": {
  6636. "description": "省",
  6637. "type": "object",
  6638. "$ref": "#/definitions/models.Division"
  6639. }
  6640. }
  6641. },
  6642. "models.Division": {
  6643. "type": "object",
  6644. "required": [
  6645. "autoid",
  6646. "divisioncode"
  6647. ],
  6648. "properties": {
  6649. "autoid": {
  6650. "description": "自增ID",
  6651. "type": "integer"
  6652. },
  6653. "divisioncode": {
  6654. "description": "行政代码",
  6655. "type": "string"
  6656. },
  6657. "divisionlevel": {
  6658. "description": "行政级别",
  6659. "type": "string"
  6660. },
  6661. "divisionname": {
  6662. "description": "行政名称",
  6663. "type": "string"
  6664. },
  6665. "modifierid": {
  6666. "description": "修改人",
  6667. "type": "integer"
  6668. },
  6669. "modifytime": {
  6670. "description": "修改时间",
  6671. "type": "string"
  6672. },
  6673. "parentcode": {
  6674. "description": "上级行政代码",
  6675. "type": "string"
  6676. },
  6677. "pathname": {
  6678. "description": "路径名称",
  6679. "type": "string"
  6680. },
  6681. "postcode": {
  6682. "description": "邮政编码",
  6683. "type": "string"
  6684. },
  6685. "separablename": {
  6686. "description": "可拆分的全称",
  6687. "type": "string"
  6688. },
  6689. "shortcode": {
  6690. "description": "地区简码",
  6691. "type": "string"
  6692. }
  6693. }
  6694. },
  6695. "models.Enumdicitem": {
  6696. "type": "object",
  6697. "required": [
  6698. "autoid",
  6699. "enumdiccode",
  6700. "enumdicid",
  6701. "enumitemname"
  6702. ],
  6703. "properties": {
  6704. "autoid": {
  6705. "description": "自增ID",
  6706. "type": "integer"
  6707. },
  6708. "bankmappedvalue": {
  6709. "description": "银行服务对应值",
  6710. "type": "string"
  6711. },
  6712. "enumdiccode": {
  6713. "description": "所属枚举代码",
  6714. "type": "string"
  6715. },
  6716. "enumdicid": {
  6717. "description": "所属枚举ID",
  6718. "type": "integer"
  6719. },
  6720. "enumdicname": {
  6721. "description": "枚举项名称",
  6722. "type": "string"
  6723. },
  6724. "enumitemname": {
  6725. "description": "枚举项值",
  6726. "type": "integer"
  6727. },
  6728. "enumitemstatus": {
  6729. "description": "枚举项状态 - 1.启用 2.不启用",
  6730. "type": "integer"
  6731. },
  6732. "enumitemvalue": {
  6733. "description": "通用值 - [币种通用简写]",
  6734. "type": "string"
  6735. },
  6736. "param1": {
  6737. "description": "参数1[币种:币种小数位]",
  6738. "type": "string"
  6739. },
  6740. "param2": {
  6741. "description": "参数1[币种:币种显示单位]",
  6742. "type": "string"
  6743. },
  6744. "remark": {
  6745. "description": "备注",
  6746. "type": "string"
  6747. }
  6748. }
  6749. },
  6750. "models.ErmcpHedgePlan": {
  6751. "type": "object",
  6752. "properties": {
  6753. "contracttype": {
  6754. "description": "计划类型 - 1:采购 -1:销售",
  6755. "type": "integer"
  6756. },
  6757. "convertfactor": {
  6758. "description": "标仓系数",
  6759. "type": "number"
  6760. },
  6761. "deliverygoodsid": {
  6762. "description": "现货品种ID",
  6763. "type": "integer"
  6764. },
  6765. "deliverygoodsname": {
  6766. "description": "现货品种名称",
  6767. "type": "string"
  6768. },
  6769. "hedgeplanid": {
  6770. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  6771. "type": "string"
  6772. },
  6773. "hedgeplanno": {
  6774. "description": "套保计划编号",
  6775. "type": "string"
  6776. },
  6777. "hedgeplanstatus": {
  6778. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6779. "type": "integer"
  6780. },
  6781. "planqty": {
  6782. "description": "计划数量",
  6783. "type": "number"
  6784. },
  6785. "plantime": {
  6786. "description": "计划时间",
  6787. "type": "string"
  6788. },
  6789. "producttype": {
  6790. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  6791. "type": "integer"
  6792. },
  6793. "remark": {
  6794. "description": "备注",
  6795. "type": "string"
  6796. },
  6797. "spotgoodsdesc": {
  6798. "description": "商品型号",
  6799. "type": "string"
  6800. },
  6801. "wrstandardid": {
  6802. "description": "现货商品ID",
  6803. "type": "integer"
  6804. },
  6805. "wrstandardname": {
  6806. "description": "现货商品名称",
  6807. "type": "string"
  6808. }
  6809. }
  6810. },
  6811. "models.ErmcpModel": {
  6812. "type": "object",
  6813. "properties": {
  6814. "accountid": {
  6815. "description": "账户ID",
  6816. "type": "string"
  6817. },
  6818. "accountname": {
  6819. "description": "账户名称",
  6820. "type": "string"
  6821. },
  6822. "contracctstatus": {
  6823. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6824. "type": "integer"
  6825. },
  6826. "convertfactor": {
  6827. "description": "标仓系数",
  6828. "type": "number"
  6829. },
  6830. "daikaiAmount": {
  6831. "description": "待开票额",
  6832. "type": "number"
  6833. },
  6834. "deliveryenddate": {
  6835. "description": "交割结束日",
  6836. "type": "string"
  6837. },
  6838. "deliverygoodscode": {
  6839. "description": "现货商品代码",
  6840. "type": "string"
  6841. },
  6842. "deliverygoodsid": {
  6843. "description": "现货商品ID",
  6844. "type": "integer"
  6845. },
  6846. "deliverygoodsname": {
  6847. "description": "现货商品名称",
  6848. "type": "string"
  6849. },
  6850. "deliverystartdate": {
  6851. "description": "交割开始日",
  6852. "type": "string"
  6853. },
  6854. "enddate": {
  6855. "description": "点价结束日",
  6856. "type": "string"
  6857. },
  6858. "enumdicname": {
  6859. "description": "单位名称",
  6860. "type": "string"
  6861. },
  6862. "goodscode": {
  6863. "description": "点价商品代码",
  6864. "type": "string"
  6865. },
  6866. "goodsid": {
  6867. "description": "点价商品ID",
  6868. "type": "integer"
  6869. },
  6870. "invoiceamount": {
  6871. "description": "已开票额",
  6872. "type": "number"
  6873. },
  6874. "payamount": {
  6875. "description": "已收付额(收款或付款)",
  6876. "type": "number"
  6877. },
  6878. "pricedqty": {
  6879. "description": "已定价量",
  6880. "type": "number"
  6881. },
  6882. "pricemove": {
  6883. "description": "升贴水",
  6884. "type": "number"
  6885. },
  6886. "pricetype": {
  6887. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6888. "type": "integer"
  6889. },
  6890. "producttype": {
  6891. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  6892. "type": "integer"
  6893. },
  6894. "qty": {
  6895. "description": "合同量",
  6896. "type": "number"
  6897. },
  6898. "spotcontractid": {
  6899. "description": "合同ID",
  6900. "type": "integer"
  6901. },
  6902. "spotgoodsdesc": {
  6903. "description": "商品型号(商品规格)",
  6904. "type": "string"
  6905. },
  6906. "startdate": {
  6907. "description": "点价开始日",
  6908. "type": "string"
  6909. },
  6910. "unpayAmount": {
  6911. "description": "待支收额(支付或收款)",
  6912. "type": "number"
  6913. },
  6914. "unpricedqty": {
  6915. "description": "未定价量",
  6916. "type": "number"
  6917. },
  6918. "unsureqty": {
  6919. "description": "未确定量",
  6920. "type": "number"
  6921. }
  6922. }
  6923. },
  6924. "models.ErmcpUserModel": {
  6925. "type": "object",
  6926. "properties": {
  6927. "address": {
  6928. "description": "通讯地址",
  6929. "type": "string"
  6930. },
  6931. "cardnum": {
  6932. "description": "证件号码",
  6933. "type": "string"
  6934. },
  6935. "cardtype": {
  6936. "description": "证件类型",
  6937. "type": "string"
  6938. },
  6939. "customername": {
  6940. "description": "企业名称",
  6941. "type": "string"
  6942. },
  6943. "mobile": {
  6944. "description": "手机号码",
  6945. "type": "string"
  6946. },
  6947. "remark": {
  6948. "description": "备注",
  6949. "type": "string"
  6950. },
  6951. "status": {
  6952. "description": "账户状态",
  6953. "type": "string"
  6954. },
  6955. "telphone": {
  6956. "description": "联系电话",
  6957. "type": "string"
  6958. },
  6959. "userinfotype": {
  6960. "description": "客户类型",
  6961. "type": "string"
  6962. }
  6963. }
  6964. },
  6965. "models.GoodsIDAndName": {
  6966. "type": "object",
  6967. "required": [
  6968. "goodscode",
  6969. "goodsid",
  6970. "goodsname",
  6971. "marketid"
  6972. ],
  6973. "properties": {
  6974. "goodscode": {
  6975. "description": "商品代码(内部)",
  6976. "type": "string"
  6977. },
  6978. "goodsid": {
  6979. "description": "商品ID(自增ID SEQ_GOODS)",
  6980. "type": "integer"
  6981. },
  6982. "goodsname": {
  6983. "description": "商品名称",
  6984. "type": "string"
  6985. },
  6986. "marketid": {
  6987. "description": "所属市场ID",
  6988. "type": "integer"
  6989. }
  6990. }
  6991. },
  6992. "models.HsbyBuyMyPayOrder": {
  6993. "type": "object",
  6994. "required": [
  6995. "goodscode",
  6996. "goodsname",
  6997. "tradeid",
  6998. "trademode"
  6999. ],
  7000. "properties": {
  7001. "agreeunit": {
  7002. "description": "合约单位",
  7003. "type": "number"
  7004. },
  7005. "buyaccountid": {
  7006. "description": "买方账号ID[报价币种]",
  7007. "type": "integer"
  7008. },
  7009. "buyorderid": {
  7010. "description": "买方委托单号",
  7011. "type": "string"
  7012. },
  7013. "createtime": {
  7014. "description": "创建时间",
  7015. "type": "string"
  7016. },
  7017. "currencysign": {
  7018. "description": "货币符号",
  7019. "type": "string"
  7020. },
  7021. "decimalplace": {
  7022. "description": "报价小数位",
  7023. "type": "integer"
  7024. },
  7025. "goodscode": {
  7026. "description": "商品代码(内部)",
  7027. "type": "string"
  7028. },
  7029. "goodsid": {
  7030. "description": "商品ID",
  7031. "type": "integer"
  7032. },
  7033. "goodsname": {
  7034. "description": "商品名称",
  7035. "type": "string"
  7036. },
  7037. "marketid": {
  7038. "description": "市场ID",
  7039. "type": "integer"
  7040. },
  7041. "offamount": {
  7042. "description": "优惠金额",
  7043. "type": "number"
  7044. },
  7045. "payamount": {
  7046. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  7047. "type": "number"
  7048. },
  7049. "payflag": {
  7050. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7051. "type": "integer"
  7052. },
  7053. "paylimitedtime": {
  7054. "description": "支付期限",
  7055. "type": "string"
  7056. },
  7057. "paytime": {
  7058. "description": "付款时间",
  7059. "type": "string"
  7060. },
  7061. "picurls1": {
  7062. "description": "预售商品介绍图片[多张用逗号分隔]",
  7063. "type": "string"
  7064. },
  7065. "picurls2": {
  7066. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  7067. "type": "string"
  7068. },
  7069. "sellaccountid": {
  7070. "description": "卖方账号ID[报价币种]",
  7071. "type": "integer"
  7072. },
  7073. "sellorderid": {
  7074. "description": "卖方委托单号",
  7075. "type": "string"
  7076. },
  7077. "tradeamount": {
  7078. "description": "成交金额",
  7079. "type": "number"
  7080. },
  7081. "tradecharge": {
  7082. "description": "成交手续费(买方)",
  7083. "type": "number"
  7084. },
  7085. "tradedate": {
  7086. "description": "交易日(yyyyMMdd)",
  7087. "type": "string"
  7088. },
  7089. "tradeid": {
  7090. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7091. "type": "string"
  7092. },
  7093. "trademode": {
  7094. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7095. "type": "integer"
  7096. },
  7097. "tradeprice": {
  7098. "description": "成交价格",
  7099. "type": "number"
  7100. },
  7101. "tradeqty": {
  7102. "description": "成交数量",
  7103. "type": "integer"
  7104. },
  7105. "vendorname1": {
  7106. "description": "预售商品供应商名称",
  7107. "type": "string"
  7108. },
  7109. "vendorname2": {
  7110. "description": "挂牌商品供应商名称",
  7111. "type": "string"
  7112. }
  7113. }
  7114. },
  7115. "models.HsbyBuyMyTradeDetail": {
  7116. "type": "object",
  7117. "required": [
  7118. "accountid",
  7119. "buyorsell",
  7120. "goodscode",
  7121. "goodsid",
  7122. "goodsname",
  7123. "marketid",
  7124. "orderid",
  7125. "qty",
  7126. "time",
  7127. "trademode"
  7128. ],
  7129. "properties": {
  7130. "accountid": {
  7131. "description": "账户ID[报价币种]",
  7132. "type": "integer"
  7133. },
  7134. "agreeunit": {
  7135. "description": "合约单位",
  7136. "type": "number"
  7137. },
  7138. "amount": {
  7139. "description": "金额 = 价格 * 数量 * 合约单位",
  7140. "type": "number"
  7141. },
  7142. "buyorsell": {
  7143. "description": "买卖 - 0:买 1:卖",
  7144. "type": "integer"
  7145. },
  7146. "currencysign": {
  7147. "description": "货币符号",
  7148. "type": "string"
  7149. },
  7150. "decimalplace": {
  7151. "description": "报价小数位",
  7152. "type": "integer"
  7153. },
  7154. "goodscode": {
  7155. "description": "商品代码(内部)",
  7156. "type": "string"
  7157. },
  7158. "goodsid": {
  7159. "description": "商品ID",
  7160. "type": "integer"
  7161. },
  7162. "goodsname": {
  7163. "description": "商品名称",
  7164. "type": "string"
  7165. },
  7166. "marketid": {
  7167. "description": "市场ID",
  7168. "type": "integer"
  7169. },
  7170. "orderid": {
  7171. "description": "单号(成交单号)",
  7172. "type": "string"
  7173. },
  7174. "picurls1": {
  7175. "description": "预售商品介绍图片[多张用逗号分隔]",
  7176. "type": "string"
  7177. },
  7178. "picurls2": {
  7179. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  7180. "type": "string"
  7181. },
  7182. "price": {
  7183. "description": "价格",
  7184. "type": "number"
  7185. },
  7186. "qty": {
  7187. "description": "数量",
  7188. "type": "integer"
  7189. },
  7190. "time": {
  7191. "description": "时间",
  7192. "type": "string"
  7193. },
  7194. "trademode": {
  7195. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7196. "type": "integer"
  7197. },
  7198. "vendorname1": {
  7199. "description": "预售商品供应商名称",
  7200. "type": "string"
  7201. },
  7202. "vendorname2": {
  7203. "description": "挂牌商品供应商名称",
  7204. "type": "string"
  7205. }
  7206. }
  7207. },
  7208. "models.HsbyGoodsOrderDetail": {
  7209. "type": "object",
  7210. "required": [
  7211. "buyorsell",
  7212. "orderid",
  7213. "ordertime"
  7214. ],
  7215. "properties": {
  7216. "buyorsell": {
  7217. "description": "买卖 - 0:买 1:卖",
  7218. "type": "integer"
  7219. },
  7220. "currencysign": {
  7221. "description": "货币符号",
  7222. "type": "string"
  7223. },
  7224. "customername": {
  7225. "description": "客户名称(企业名称),已脱敏",
  7226. "type": "string"
  7227. },
  7228. "enableqty": {
  7229. "description": "可用数量",
  7230. "type": "integer"
  7231. },
  7232. "goodunit": {
  7233. "description": "报价单位",
  7234. "type": "string"
  7235. },
  7236. "orderid": {
  7237. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7238. "type": "string"
  7239. },
  7240. "orderprice": {
  7241. "description": "委托价格",
  7242. "type": "number"
  7243. },
  7244. "ordertime": {
  7245. "description": "委托时间",
  7246. "type": "string"
  7247. }
  7248. }
  7249. },
  7250. "models.HsbyListingGoodsDetail": {
  7251. "type": "object",
  7252. "required": [
  7253. "goodscode",
  7254. "goodsid",
  7255. "goodsname",
  7256. "marketid",
  7257. "trademode"
  7258. ],
  7259. "properties": {
  7260. "agreeunit": {
  7261. "description": "合约单位",
  7262. "type": "number"
  7263. },
  7264. "currency": {
  7265. "description": "货币",
  7266. "type": "string"
  7267. },
  7268. "currencysign": {
  7269. "description": "货币符号",
  7270. "type": "string"
  7271. },
  7272. "decimalplace": {
  7273. "description": "报价小数位",
  7274. "type": "integer"
  7275. },
  7276. "desccityid": {
  7277. "description": "目的地(市)ID",
  7278. "type": "integer"
  7279. },
  7280. "descprovinceid": {
  7281. "description": "目的地(省)ID",
  7282. "type": "integer"
  7283. },
  7284. "goodscode": {
  7285. "description": "商品代码(内部)",
  7286. "type": "string"
  7287. },
  7288. "goodsdesc": {
  7289. "description": "商品详情",
  7290. "type": "string"
  7291. },
  7292. "goodsid": {
  7293. "description": "商品ID(自增ID SEQ_GOODS)",
  7294. "type": "integer"
  7295. },
  7296. "goodsname": {
  7297. "description": "商品名称",
  7298. "type": "string"
  7299. },
  7300. "goodsprice": {
  7301. "description": "商品价格",
  7302. "type": "number"
  7303. },
  7304. "hotindex": {
  7305. "description": "景点热度",
  7306. "type": "integer"
  7307. },
  7308. "last": {
  7309. "description": "现价",
  7310. "type": "number"
  7311. },
  7312. "limitdown": {
  7313. "description": "跌停价",
  7314. "type": "number"
  7315. },
  7316. "limitup": {
  7317. "description": "涨停价",
  7318. "type": "number"
  7319. },
  7320. "lotsize": {
  7321. "description": "手数最小变动单位",
  7322. "type": "integer"
  7323. },
  7324. "marketid": {
  7325. "description": "所属市场ID",
  7326. "type": "integer"
  7327. },
  7328. "picurls": {
  7329. "description": "介绍图片[多张用逗号分隔]",
  7330. "type": "string"
  7331. },
  7332. "quoteminunit": {
  7333. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7334. "type": "integer"
  7335. },
  7336. "stepvalue": {
  7337. "description": "价格最小变动单位",
  7338. "type": "number"
  7339. },
  7340. "trademode": {
  7341. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7342. "type": "integer"
  7343. },
  7344. "vendorattr": {
  7345. "description": "供应商附件(多张,逗号分隔)",
  7346. "type": "string"
  7347. },
  7348. "vendorname": {
  7349. "description": "供应商名称",
  7350. "type": "string"
  7351. },
  7352. "vendorphone": {
  7353. "description": "供应商客服电话",
  7354. "type": "string"
  7355. },
  7356. "videourls": {
  7357. "description": "介绍视频[多张用逗号分隔]",
  7358. "type": "string"
  7359. }
  7360. }
  7361. },
  7362. "models.HsbyMarketGoods": {
  7363. "type": "object",
  7364. "required": [
  7365. "accountid",
  7366. "buyorsell",
  7367. "goodscode",
  7368. "goodsid",
  7369. "goodsname",
  7370. "marketid",
  7371. "orderid",
  7372. "trademode"
  7373. ],
  7374. "properties": {
  7375. "accountid": {
  7376. "description": "账户ID[报价币种]",
  7377. "type": "integer"
  7378. },
  7379. "agreeunit": {
  7380. "description": "合约单位",
  7381. "type": "number"
  7382. },
  7383. "buyorsell": {
  7384. "description": "买卖 - 0:买 1:卖",
  7385. "type": "integer"
  7386. },
  7387. "categoryid": {
  7388. "description": "类别ID(WRCATEGORY)",
  7389. "type": "integer"
  7390. },
  7391. "currency": {
  7392. "description": "货币",
  7393. "type": "string"
  7394. },
  7395. "currencysign": {
  7396. "description": "货币符号",
  7397. "type": "string"
  7398. },
  7399. "customername": {
  7400. "description": "卖家名称",
  7401. "type": "string"
  7402. },
  7403. "decimalplace": {
  7404. "description": "报价小数位",
  7405. "type": "integer"
  7406. },
  7407. "goodscode": {
  7408. "description": "商品代码(内部)",
  7409. "type": "string"
  7410. },
  7411. "goodsid": {
  7412. "description": "商品ID",
  7413. "type": "integer"
  7414. },
  7415. "goodsname": {
  7416. "description": "商品名称",
  7417. "type": "string"
  7418. },
  7419. "hascoupon": {
  7420. "description": "是否可用优惠卷",
  7421. "type": "boolean"
  7422. },
  7423. "hotindex": {
  7424. "description": "景点热度",
  7425. "type": "integer"
  7426. },
  7427. "marketid": {
  7428. "description": "市场ID",
  7429. "type": "integer"
  7430. },
  7431. "orderid": {
  7432. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7433. "type": "string"
  7434. },
  7435. "orderprice": {
  7436. "description": "委托价格",
  7437. "type": "number"
  7438. },
  7439. "orderstatus": {
  7440. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7441. "type": "integer"
  7442. },
  7443. "picurls": {
  7444. "description": "介绍图片[多张用逗号分隔]",
  7445. "type": "string"
  7446. },
  7447. "quoteminunit": {
  7448. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7449. "type": "integer"
  7450. },
  7451. "sellUserID": {
  7452. "description": "卖方UserID",
  7453. "type": "integer"
  7454. },
  7455. "trademode": {
  7456. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7457. "type": "integer"
  7458. },
  7459. "videourls": {
  7460. "description": "介绍视频[多张用逗号分隔]",
  7461. "type": "string"
  7462. }
  7463. }
  7464. },
  7465. "models.HsbyMarketGoodsDetail": {
  7466. "type": "object",
  7467. "required": [
  7468. "accountid",
  7469. "buyorsell",
  7470. "goodscode",
  7471. "goodsid",
  7472. "goodsname",
  7473. "marketid",
  7474. "orderid",
  7475. "orderqty",
  7476. "trademode"
  7477. ],
  7478. "properties": {
  7479. "accountid": {
  7480. "description": "账户ID[报价币种]",
  7481. "type": "integer"
  7482. },
  7483. "agreeunit": {
  7484. "description": "合约单位",
  7485. "type": "number"
  7486. },
  7487. "buyorsell": {
  7488. "description": "买卖 - 0:买 1:卖",
  7489. "type": "integer"
  7490. },
  7491. "cancelqty": {
  7492. "description": "撤单数量",
  7493. "type": "integer"
  7494. },
  7495. "categoryid": {
  7496. "description": "类别ID(WRCATEGORY)",
  7497. "type": "integer"
  7498. },
  7499. "currency": {
  7500. "description": "货币",
  7501. "type": "string"
  7502. },
  7503. "currencysign": {
  7504. "description": "货币符号",
  7505. "type": "string"
  7506. },
  7507. "customername": {
  7508. "description": "卖家名称",
  7509. "type": "string"
  7510. },
  7511. "decimalplace": {
  7512. "description": "报价小数位",
  7513. "type": "integer"
  7514. },
  7515. "goodscode": {
  7516. "description": "商品代码(内部)",
  7517. "type": "string"
  7518. },
  7519. "goodsdesc": {
  7520. "description": "商品详情",
  7521. "type": "string"
  7522. },
  7523. "goodsid": {
  7524. "description": "商品ID",
  7525. "type": "integer"
  7526. },
  7527. "goodsname": {
  7528. "description": "商品名称",
  7529. "type": "string"
  7530. },
  7531. "hotindex": {
  7532. "description": "景点热度",
  7533. "type": "integer"
  7534. },
  7535. "marketid": {
  7536. "description": "市场ID",
  7537. "type": "integer"
  7538. },
  7539. "orderid": {
  7540. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7541. "type": "string"
  7542. },
  7543. "orderprice": {
  7544. "description": "委托价格",
  7545. "type": "number"
  7546. },
  7547. "orderqty": {
  7548. "description": "委托数量",
  7549. "type": "integer"
  7550. },
  7551. "orderstatus": {
  7552. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7553. "type": "integer"
  7554. },
  7555. "picurls": {
  7556. "description": "介绍图片[多张用逗号分隔]",
  7557. "type": "string"
  7558. },
  7559. "quoteminunit": {
  7560. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7561. "type": "integer"
  7562. },
  7563. "sellUserID": {
  7564. "description": "卖方UserID",
  7565. "type": "integer"
  7566. },
  7567. "trademode": {
  7568. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7569. "type": "integer"
  7570. },
  7571. "tradeqty": {
  7572. "description": "成交数量",
  7573. "type": "integer"
  7574. },
  7575. "vendorname": {
  7576. "description": "供应商名称",
  7577. "type": "string"
  7578. },
  7579. "videourls": {
  7580. "description": "介绍视频[多张用逗号分隔]",
  7581. "type": "string"
  7582. }
  7583. }
  7584. },
  7585. "models.HsbyMarketInfo": {
  7586. "type": "object",
  7587. "required": [
  7588. "marketid",
  7589. "marketstatus",
  7590. "trademode"
  7591. ],
  7592. "properties": {
  7593. "marketid": {
  7594. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  7595. "type": "integer"
  7596. },
  7597. "marketname": {
  7598. "description": "市场名称",
  7599. "type": "string"
  7600. },
  7601. "marketstatus": {
  7602. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  7603. "type": "integer"
  7604. },
  7605. "trademode": {
  7606. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7607. "type": "integer"
  7608. }
  7609. }
  7610. },
  7611. "models.HsbyMyGoods": {
  7612. "type": "object",
  7613. "required": [
  7614. "accountid",
  7615. "goodscode",
  7616. "goodsid",
  7617. "goodsname",
  7618. "trademode"
  7619. ],
  7620. "properties": {
  7621. "accountid": {
  7622. "description": "账号Id",
  7623. "type": "integer"
  7624. },
  7625. "agreeunit": {
  7626. "description": "合约单位",
  7627. "type": "number"
  7628. },
  7629. "buyaverageprice": {
  7630. "description": "持仓均价",
  7631. "type": "number"
  7632. },
  7633. "buycurholderamount": {
  7634. "description": "买当前持仓总金额[商品币种]",
  7635. "type": "number"
  7636. },
  7637. "buycurpositionqty": {
  7638. "description": "买当前持仓总数量",
  7639. "type": "integer"
  7640. },
  7641. "currencysign": {
  7642. "description": "货币符号",
  7643. "type": "string"
  7644. },
  7645. "decimalplace": {
  7646. "description": "报价小数位",
  7647. "type": "integer"
  7648. },
  7649. "enableqty": {
  7650. "description": "可用数量",
  7651. "type": "integer"
  7652. },
  7653. "goodscode": {
  7654. "description": "商品代码(内部)",
  7655. "type": "string"
  7656. },
  7657. "goodsid": {
  7658. "description": "商品Id",
  7659. "type": "integer"
  7660. },
  7661. "goodsname": {
  7662. "description": "商品名称",
  7663. "type": "string"
  7664. },
  7665. "goodsstatus": {
  7666. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  7667. "type": "integer"
  7668. },
  7669. "picurls": {
  7670. "description": "介绍图片[多张用逗号分隔]",
  7671. "type": "string"
  7672. },
  7673. "trademode": {
  7674. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7675. "type": "integer"
  7676. }
  7677. }
  7678. },
  7679. "models.HsbyMyPackage": {
  7680. "type": "object",
  7681. "required": [
  7682. "goodscode",
  7683. "goodsname",
  7684. "takeorderid"
  7685. ],
  7686. "properties": {
  7687. "accountid": {
  7688. "description": "账户ID",
  7689. "type": "integer"
  7690. },
  7691. "address": {
  7692. "description": "提货人详细地址",
  7693. "type": "string"
  7694. },
  7695. "agreeunit": {
  7696. "description": "合约单位",
  7697. "type": "number"
  7698. },
  7699. "amount": {
  7700. "description": "提货金额",
  7701. "type": "number"
  7702. },
  7703. "auditer": {
  7704. "description": "审核人",
  7705. "type": "integer"
  7706. },
  7707. "audittime": {
  7708. "description": "审核时间",
  7709. "type": "string"
  7710. },
  7711. "averageprice": {
  7712. "description": "均价",
  7713. "type": "number"
  7714. },
  7715. "cardnum": {
  7716. "description": "提货人证件号码",
  7717. "type": "string"
  7718. },
  7719. "cardtypeid": {
  7720. "description": "提货人证件类型",
  7721. "type": "integer"
  7722. },
  7723. "checkremark": {
  7724. "description": "审核备注",
  7725. "type": "string"
  7726. },
  7727. "currencysign": {
  7728. "description": "货币符号",
  7729. "type": "string"
  7730. },
  7731. "decimalplace": {
  7732. "description": "报价小数位",
  7733. "type": "integer"
  7734. },
  7735. "goodscode": {
  7736. "description": "商品代码(内部)",
  7737. "type": "string"
  7738. },
  7739. "goodsid": {
  7740. "description": "商品ID",
  7741. "type": "integer"
  7742. },
  7743. "goodsname": {
  7744. "description": "商品名称",
  7745. "type": "string"
  7746. },
  7747. "handlestatus": {
  7748. "description": "处理状态",
  7749. "type": "integer"
  7750. },
  7751. "marketid": {
  7752. "description": "市场ID",
  7753. "type": "integer"
  7754. },
  7755. "phonenum": {
  7756. "description": "提货人联系方式",
  7757. "type": "string"
  7758. },
  7759. "picurls": {
  7760. "description": "介绍图片[多张用逗号分隔]",
  7761. "type": "string"
  7762. },
  7763. "qty": {
  7764. "description": "提货数量",
  7765. "type": "number"
  7766. },
  7767. "recivername": {
  7768. "description": "提货人姓名",
  7769. "type": "string"
  7770. },
  7771. "reqtime": {
  7772. "description": "更新时间",
  7773. "type": "string"
  7774. },
  7775. "takemode": {
  7776. "description": "提货方式 - 2:自提 3:配送",
  7777. "type": "integer"
  7778. },
  7779. "takeorderid": {
  7780. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  7781. "type": "string"
  7782. },
  7783. "takeorderstatus": {
  7784. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7785. "type": "integer"
  7786. },
  7787. "takeremark": {
  7788. "description": "提货备注",
  7789. "type": "string"
  7790. },
  7791. "tradedate": {
  7792. "description": "交易日(yyyyMMdd)",
  7793. "type": "string"
  7794. },
  7795. "userid": {
  7796. "description": "用户ID",
  7797. "type": "integer"
  7798. },
  7799. "vendorname": {
  7800. "description": "供应商名称",
  7801. "type": "string"
  7802. }
  7803. }
  7804. },
  7805. "models.HsbyPreGoods": {
  7806. "type": "object",
  7807. "required": [
  7808. "goodscode",
  7809. "goodsid",
  7810. "goodsname",
  7811. "marketid",
  7812. "trademode"
  7813. ],
  7814. "properties": {
  7815. "agreeunit": {
  7816. "description": "合约单位",
  7817. "type": "number"
  7818. },
  7819. "currency": {
  7820. "description": "货币",
  7821. "type": "string"
  7822. },
  7823. "currencysign": {
  7824. "description": "货币符号",
  7825. "type": "string"
  7826. },
  7827. "decimalplace": {
  7828. "description": "报价小数位",
  7829. "type": "integer"
  7830. },
  7831. "enableqty": {
  7832. "description": "剩余数量",
  7833. "type": "integer"
  7834. },
  7835. "goodscode": {
  7836. "description": "商品代码(内部)",
  7837. "type": "string"
  7838. },
  7839. "goodsid": {
  7840. "description": "商品ID(自增ID SEQ_GOODS)",
  7841. "type": "integer"
  7842. },
  7843. "goodsname": {
  7844. "description": "商品名称",
  7845. "type": "string"
  7846. },
  7847. "goodsstatus": {
  7848. "description": "商品状态- 2:未上市 3:上市",
  7849. "type": "integer"
  7850. },
  7851. "lasttradedate": {
  7852. "description": "最后交易日期(状态:待退市)",
  7853. "type": "string"
  7854. },
  7855. "listingdate": {
  7856. "description": "交易开始日期",
  7857. "type": "string"
  7858. },
  7859. "marketid": {
  7860. "description": "所属市场ID",
  7861. "type": "integer"
  7862. },
  7863. "picurls": {
  7864. "description": "介绍图片[多张用逗号分隔]",
  7865. "type": "string"
  7866. },
  7867. "presaledqty": {
  7868. "description": "已预售量(预售结束时更新)",
  7869. "type": "integer"
  7870. },
  7871. "presaleqty": {
  7872. "description": "预售数量",
  7873. "type": "integer"
  7874. },
  7875. "quoteminunit": {
  7876. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7877. "type": "integer"
  7878. },
  7879. "refprice": {
  7880. "description": "参考价格[一口价]",
  7881. "type": "number"
  7882. },
  7883. "relatedgoodsid": {
  7884. "description": "关联交易合约ID",
  7885. "type": "integer"
  7886. },
  7887. "trademode": {
  7888. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7889. "type": "integer"
  7890. },
  7891. "videourls": {
  7892. "description": "介绍视频[多张用逗号分隔]",
  7893. "type": "string"
  7894. }
  7895. }
  7896. },
  7897. "models.HsbyPreGoodsDetail": {
  7898. "type": "object",
  7899. "required": [
  7900. "goodscode",
  7901. "goodsid",
  7902. "goodsname",
  7903. "marketid",
  7904. "trademode"
  7905. ],
  7906. "properties": {
  7907. "agreeunit": {
  7908. "description": "合约单位",
  7909. "type": "number"
  7910. },
  7911. "buymaxqty": {
  7912. "description": "购买上限 [71] - 0为不限",
  7913. "type": "integer"
  7914. },
  7915. "currency": {
  7916. "description": "货币",
  7917. "type": "string"
  7918. },
  7919. "currencysign": {
  7920. "description": "货币符号",
  7921. "type": "string"
  7922. },
  7923. "customername": {
  7924. "description": "发行单位",
  7925. "type": "string"
  7926. },
  7927. "decimalplace": {
  7928. "description": "报价小数位",
  7929. "type": "integer"
  7930. },
  7931. "desccityid": {
  7932. "description": "目的地(市)ID",
  7933. "type": "integer"
  7934. },
  7935. "descprovinceid": {
  7936. "description": "目的地(省)ID",
  7937. "type": "integer"
  7938. },
  7939. "enableqty": {
  7940. "description": "剩余数量",
  7941. "type": "integer"
  7942. },
  7943. "goodscode": {
  7944. "description": "商品代码(内部)",
  7945. "type": "string"
  7946. },
  7947. "goodsdesc": {
  7948. "description": "商品详情",
  7949. "type": "string"
  7950. },
  7951. "goodsid": {
  7952. "description": "商品ID(自增ID SEQ_GOODS)",
  7953. "type": "integer"
  7954. },
  7955. "goodsname": {
  7956. "description": "商品名称",
  7957. "type": "string"
  7958. },
  7959. "goodsstatus": {
  7960. "description": "商品状态- 2:未上市 3:上市",
  7961. "type": "integer"
  7962. },
  7963. "goodunit": {
  7964. "description": "报价单位",
  7965. "type": "string"
  7966. },
  7967. "lasttradedate": {
  7968. "description": "最后交易日期(状态:待退市)",
  7969. "type": "string"
  7970. },
  7971. "listingdate": {
  7972. "description": "交易开始日期",
  7973. "type": "string"
  7974. },
  7975. "lotsize": {
  7976. "description": "手数最小变动单位",
  7977. "type": "integer"
  7978. },
  7979. "marketid": {
  7980. "description": "所属市场ID",
  7981. "type": "integer"
  7982. },
  7983. "picurls": {
  7984. "description": "介绍图片[多张用逗号分隔]",
  7985. "type": "string"
  7986. },
  7987. "presaledqty": {
  7988. "description": "已预售量(预售结束时更新)",
  7989. "type": "integer"
  7990. },
  7991. "presaleqty": {
  7992. "description": "预售数量",
  7993. "type": "integer"
  7994. },
  7995. "quoteminunit": {
  7996. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7997. "type": "integer"
  7998. },
  7999. "refprice": {
  8000. "description": "参考价格[一口价]",
  8001. "type": "number"
  8002. },
  8003. "relatedgoodsid": {
  8004. "description": "关联交易合约ID",
  8005. "type": "integer"
  8006. },
  8007. "stepvalue": {
  8008. "description": "价格最小变动单位",
  8009. "type": "number"
  8010. },
  8011. "trademode": {
  8012. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8013. "type": "integer"
  8014. },
  8015. "vendorattr": {
  8016. "description": "供应商附件(多张,逗号分隔)",
  8017. "type": "string"
  8018. },
  8019. "vendorname": {
  8020. "description": "供应商名称",
  8021. "type": "string"
  8022. },
  8023. "vendorphone": {
  8024. "description": "供应商客服电话",
  8025. "type": "string"
  8026. },
  8027. "videourls": {
  8028. "description": "介绍视频[多张用逗号分隔]",
  8029. "type": "string"
  8030. }
  8031. }
  8032. },
  8033. "models.HsbySellCollectionOrder": {
  8034. "type": "object",
  8035. "required": [
  8036. "goodscode",
  8037. "goodsname",
  8038. "tradeid",
  8039. "trademode"
  8040. ],
  8041. "properties": {
  8042. "agreeunit": {
  8043. "description": "合约单位",
  8044. "type": "number"
  8045. },
  8046. "buyaccountid": {
  8047. "description": "买方账号ID[报价币种]",
  8048. "type": "integer"
  8049. },
  8050. "buyorderid": {
  8051. "description": "买方委托单号",
  8052. "type": "string"
  8053. },
  8054. "createtime": {
  8055. "description": "创建时间",
  8056. "type": "string"
  8057. },
  8058. "currencysign": {
  8059. "description": "货币符号",
  8060. "type": "string"
  8061. },
  8062. "decimalplace": {
  8063. "description": "报价小数位",
  8064. "type": "integer"
  8065. },
  8066. "goodscode": {
  8067. "description": "商品代码(内部)",
  8068. "type": "string"
  8069. },
  8070. "goodsid": {
  8071. "description": "商品ID",
  8072. "type": "integer"
  8073. },
  8074. "goodsname": {
  8075. "description": "商品名称",
  8076. "type": "string"
  8077. },
  8078. "marketid": {
  8079. "description": "市场ID",
  8080. "type": "integer"
  8081. },
  8082. "offamount": {
  8083. "description": "优惠金额",
  8084. "type": "number"
  8085. },
  8086. "payamount": {
  8087. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  8088. "type": "number"
  8089. },
  8090. "payflag": {
  8091. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8092. "type": "integer"
  8093. },
  8094. "paylimitedtime": {
  8095. "description": "支付期限",
  8096. "type": "string"
  8097. },
  8098. "paytime": {
  8099. "description": "付款时间",
  8100. "type": "string"
  8101. },
  8102. "picurls": {
  8103. "description": "商品介绍图片[多张用逗号分隔]",
  8104. "type": "string"
  8105. },
  8106. "sellaccountid": {
  8107. "description": "卖方账号ID[报价币种]",
  8108. "type": "integer"
  8109. },
  8110. "sellorderid": {
  8111. "description": "卖方委托单号",
  8112. "type": "string"
  8113. },
  8114. "tradeamount": {
  8115. "description": "成交金额",
  8116. "type": "number"
  8117. },
  8118. "tradecharge": {
  8119. "description": "成交手续费(买方)",
  8120. "type": "number"
  8121. },
  8122. "tradedate": {
  8123. "description": "交易日(yyyyMMdd)",
  8124. "type": "string"
  8125. },
  8126. "tradeid": {
  8127. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8128. "type": "string"
  8129. },
  8130. "trademode": {
  8131. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8132. "type": "integer"
  8133. },
  8134. "tradeprice": {
  8135. "description": "成交价格",
  8136. "type": "number"
  8137. },
  8138. "tradeqty": {
  8139. "description": "成交数量",
  8140. "type": "integer"
  8141. }
  8142. }
  8143. },
  8144. "models.HsbySellMyDetail": {
  8145. "type": "object",
  8146. "required": [
  8147. "accountid",
  8148. "buyorsell",
  8149. "goodscode",
  8150. "goodsid",
  8151. "goodsname",
  8152. "marketid",
  8153. "orderid",
  8154. "time",
  8155. "trademode"
  8156. ],
  8157. "properties": {
  8158. "accountid": {
  8159. "description": "账户ID[报价币种]",
  8160. "type": "integer"
  8161. },
  8162. "agreeunit": {
  8163. "description": "合约单位",
  8164. "type": "number"
  8165. },
  8166. "buyorsell": {
  8167. "description": "买卖 - 0:买 1:卖",
  8168. "type": "integer"
  8169. },
  8170. "currencysign": {
  8171. "description": "货币符号",
  8172. "type": "string"
  8173. },
  8174. "decimalplace": {
  8175. "description": "报价小数位",
  8176. "type": "integer"
  8177. },
  8178. "goodscode": {
  8179. "description": "商品代码(内部)",
  8180. "type": "string"
  8181. },
  8182. "goodsid": {
  8183. "description": "商品ID",
  8184. "type": "integer"
  8185. },
  8186. "goodsname": {
  8187. "description": "商品名称",
  8188. "type": "string"
  8189. },
  8190. "marketid": {
  8191. "description": "市场ID",
  8192. "type": "integer"
  8193. },
  8194. "orderid": {
  8195. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  8196. "type": "string"
  8197. },
  8198. "ordertype": {
  8199. "description": "单据类型:0 - 发布中, 1 - 已完成",
  8200. "type": "integer"
  8201. },
  8202. "picurls": {
  8203. "description": "介绍图片[多张用逗号分隔]",
  8204. "type": "string"
  8205. },
  8206. "price": {
  8207. "description": "价格",
  8208. "type": "number"
  8209. },
  8210. "qty": {
  8211. "description": "数量",
  8212. "type": "integer"
  8213. },
  8214. "time": {
  8215. "description": "时间",
  8216. "type": "string"
  8217. },
  8218. "trademode": {
  8219. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8220. "type": "integer"
  8221. },
  8222. "vendorname": {
  8223. "description": "供应商名称",
  8224. "type": "string"
  8225. }
  8226. }
  8227. },
  8228. "models.HsbyTopGoods": {
  8229. "type": "object",
  8230. "required": [
  8231. "goodscode",
  8232. "goodsid",
  8233. "goodsname",
  8234. "marketid",
  8235. "trademode"
  8236. ],
  8237. "properties": {
  8238. "agreeunit": {
  8239. "description": "合约单位",
  8240. "type": "number"
  8241. },
  8242. "currency": {
  8243. "description": "货币",
  8244. "type": "string"
  8245. },
  8246. "currencysign": {
  8247. "description": "货币符号",
  8248. "type": "string"
  8249. },
  8250. "decimalplace": {
  8251. "description": "报价小数位",
  8252. "type": "integer"
  8253. },
  8254. "goodscode": {
  8255. "description": "商品代码(内部)",
  8256. "type": "string"
  8257. },
  8258. "goodsid": {
  8259. "description": "商品ID(自增ID SEQ_GOODS)",
  8260. "type": "integer"
  8261. },
  8262. "goodsname": {
  8263. "description": "商品名称",
  8264. "type": "string"
  8265. },
  8266. "hotindex": {
  8267. "description": "景点热度",
  8268. "type": "integer"
  8269. },
  8270. "last": {
  8271. "description": "现价",
  8272. "type": "number"
  8273. },
  8274. "marketid": {
  8275. "description": "所属市场ID",
  8276. "type": "integer"
  8277. },
  8278. "picurls": {
  8279. "description": "介绍图片[多张用逗号分隔]",
  8280. "type": "string"
  8281. },
  8282. "quoteminunit": {
  8283. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8284. "type": "integer"
  8285. },
  8286. "trademode": {
  8287. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8288. "type": "integer"
  8289. },
  8290. "videourls": {
  8291. "description": "介绍视频[多张用逗号分隔]",
  8292. "type": "string"
  8293. }
  8294. }
  8295. },
  8296. "models.HybsMyBuyOrderDetail": {
  8297. "type": "object",
  8298. "required": [
  8299. "accountid",
  8300. "buyorsell",
  8301. "goodscode",
  8302. "goodsid",
  8303. "goodsname",
  8304. "marketid",
  8305. "orderid",
  8306. "orderqty",
  8307. "ordertime",
  8308. "trademode"
  8309. ],
  8310. "properties": {
  8311. "accountid": {
  8312. "description": "账户ID[报价币种]",
  8313. "type": "integer"
  8314. },
  8315. "agreeunit": {
  8316. "description": "合约单位",
  8317. "type": "number"
  8318. },
  8319. "buyorsell": {
  8320. "description": "买卖 - 0:买 1:卖",
  8321. "type": "integer"
  8322. },
  8323. "cancelqty": {
  8324. "description": "撤单数量",
  8325. "type": "integer"
  8326. },
  8327. "currencysign": {
  8328. "description": "货币符号",
  8329. "type": "string"
  8330. },
  8331. "decimalplace": {
  8332. "description": "报价小数位",
  8333. "type": "integer"
  8334. },
  8335. "goodscode": {
  8336. "description": "商品代码(内部)",
  8337. "type": "string"
  8338. },
  8339. "goodsid": {
  8340. "description": "商品ID",
  8341. "type": "integer"
  8342. },
  8343. "goodsname": {
  8344. "description": "商品名称",
  8345. "type": "string"
  8346. },
  8347. "listingselecttype": {
  8348. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8349. "type": "integer"
  8350. },
  8351. "marketid": {
  8352. "description": "市场ID",
  8353. "type": "integer"
  8354. },
  8355. "mybuystatus": {
  8356. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  8357. "type": "integer"
  8358. },
  8359. "orderamount": {
  8360. "description": "委托金额",
  8361. "type": "number"
  8362. },
  8363. "orderid": {
  8364. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8365. "type": "string"
  8366. },
  8367. "orderprice": {
  8368. "description": "委托价格",
  8369. "type": "number"
  8370. },
  8371. "orderqty": {
  8372. "description": "委托数量",
  8373. "type": "integer"
  8374. },
  8375. "orderstatus": {
  8376. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8377. "type": "integer"
  8378. },
  8379. "ordertime": {
  8380. "description": "委托时间",
  8381. "type": "string"
  8382. },
  8383. "picurls1": {
  8384. "description": "预售商品介绍图片[多张用逗号分隔]",
  8385. "type": "string"
  8386. },
  8387. "picurls2": {
  8388. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  8389. "type": "string"
  8390. },
  8391. "trademode": {
  8392. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8393. "type": "integer"
  8394. },
  8395. "tradeqty": {
  8396. "description": "成交数量",
  8397. "type": "integer"
  8398. },
  8399. "vendorname1": {
  8400. "description": "预售商品供应商名称",
  8401. "type": "string"
  8402. },
  8403. "vendorname2": {
  8404. "description": "挂牌商品供应商名称",
  8405. "type": "string"
  8406. }
  8407. }
  8408. },
  8409. "models.Marketrun": {
  8410. "type": "object",
  8411. "required": [
  8412. "marketid",
  8413. "nexttradedate",
  8414. "reckonflag",
  8415. "runstatus",
  8416. "tradedate",
  8417. "tradedate2"
  8418. ],
  8419. "properties": {
  8420. "afternexttradedate": {
  8421. "description": "下下交易日",
  8422. "type": "string"
  8423. },
  8424. "clearquoteflag": {
  8425. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  8426. "type": "integer"
  8427. },
  8428. "lastreckondate": {
  8429. "description": "最新交易日(结算成功)",
  8430. "type": "string"
  8431. },
  8432. "machinedate": {
  8433. "description": "机器时间",
  8434. "type": "string"
  8435. },
  8436. "manualflag": {
  8437. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  8438. "type": "integer"
  8439. },
  8440. "marketid": {
  8441. "description": "市场ID",
  8442. "type": "integer"
  8443. },
  8444. "nexttradedate": {
  8445. "description": "下一交易日",
  8446. "type": "string"
  8447. },
  8448. "pretradedate": {
  8449. "description": "上一交易日",
  8450. "type": "string"
  8451. },
  8452. "reckonflag": {
  8453. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  8454. "type": "integer"
  8455. },
  8456. "runstatus": {
  8457. "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.今日免清算",
  8458. "type": "integer"
  8459. },
  8460. "sectionid": {
  8461. "description": "时间段号[多时段时用]",
  8462. "type": "integer"
  8463. },
  8464. "tradedate": {
  8465. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  8466. "type": "string"
  8467. },
  8468. "tradedate2": {
  8469. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  8470. "type": "string"
  8471. },
  8472. "updatetime": {
  8473. "description": "更新时间",
  8474. "type": "string"
  8475. }
  8476. }
  8477. },
  8478. "models.Messageboard": {
  8479. "type": "object",
  8480. "required": [
  8481. "messageboardid"
  8482. ],
  8483. "properties": {
  8484. "createtime": {
  8485. "description": "创建时间",
  8486. "type": "string"
  8487. },
  8488. "message": {
  8489. "description": "留言信息",
  8490. "type": "string"
  8491. },
  8492. "messageboardid": {
  8493. "description": "留言簿ID(SEQ_MessageBoard)",
  8494. "type": "integer"
  8495. },
  8496. "userid": {
  8497. "description": "用户ID",
  8498. "type": "integer"
  8499. }
  8500. }
  8501. },
  8502. "models.MyCoupon": {
  8503. "type": "object",
  8504. "required": [
  8505. "accountid",
  8506. "coupontypeid"
  8507. ],
  8508. "properties": {
  8509. "accountid": {
  8510. "description": "资金账户ID",
  8511. "type": "integer"
  8512. },
  8513. "areauserid": {
  8514. "description": "所属机构",
  8515. "type": "integer"
  8516. },
  8517. "conditionvalue": {
  8518. "description": "条件阈值(可为0)",
  8519. "type": "number"
  8520. },
  8521. "couponcategroy": {
  8522. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  8523. "type": "integer"
  8524. },
  8525. "couponname": {
  8526. "description": "优惠券名称",
  8527. "type": "string"
  8528. },
  8529. "coupontypeid": {
  8530. "description": "优惠券类型ID",
  8531. "type": "string"
  8532. },
  8533. "couponvalue": {
  8534. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  8535. "type": "number"
  8536. },
  8537. "curfreezeqty": {
  8538. "description": "期末冻结数量",
  8539. "type": "integer"
  8540. },
  8541. "curqty": {
  8542. "description": "期末数量",
  8543. "type": "integer"
  8544. },
  8545. "isgeneral": {
  8546. "description": "是否通用券 - 0:否 1:是",
  8547. "type": "integer"
  8548. },
  8549. "isunusable": {
  8550. "description": "是否不可用",
  8551. "type": "boolean"
  8552. },
  8553. "limitedflag": {
  8554. "description": "是否指定商品 - 0:不限 1:限制",
  8555. "type": "integer"
  8556. },
  8557. "limitedgoodsids": {
  8558. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  8559. "type": "string"
  8560. },
  8561. "orifreezeqty": {
  8562. "description": "期初冻结数量",
  8563. "type": "integer"
  8564. },
  8565. "oriqty": {
  8566. "description": "期初数量",
  8567. "type": "integer"
  8568. },
  8569. "reasontype": {
  8570. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  8571. "type": "integer"
  8572. },
  8573. "todaydecrease": {
  8574. "description": "今日减少",
  8575. "type": "integer"
  8576. },
  8577. "todayincrease": {
  8578. "description": "今日增加",
  8579. "type": "integer"
  8580. },
  8581. "userid": {
  8582. "description": "用户ID",
  8583. "type": "integer"
  8584. },
  8585. "userscope": {
  8586. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  8587. "type": "string"
  8588. }
  8589. }
  8590. },
  8591. "models.MyCouponHold": {
  8592. "type": "object",
  8593. "required": [
  8594. "couponholdid"
  8595. ],
  8596. "properties": {
  8597. "accountid": {
  8598. "description": "资金账户ID",
  8599. "type": "integer"
  8600. },
  8601. "conditionvalue": {
  8602. "description": "条件阈值(可为0)",
  8603. "type": "number"
  8604. },
  8605. "couponcategroy": {
  8606. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  8607. "type": "integer"
  8608. },
  8609. "couponholdid": {
  8610. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  8611. "type": "string"
  8612. },
  8613. "couponname": {
  8614. "description": "优惠券名称",
  8615. "type": "string"
  8616. },
  8617. "coupontypeid": {
  8618. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  8619. "type": "string"
  8620. },
  8621. "couponvalue": {
  8622. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  8623. "type": "number"
  8624. },
  8625. "createtime": {
  8626. "description": "创建时间",
  8627. "type": "string"
  8628. },
  8629. "enddate": {
  8630. "description": "结束日期",
  8631. "type": "string"
  8632. },
  8633. "giveapplyid": {
  8634. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  8635. "type": "integer"
  8636. },
  8637. "holdstatus": {
  8638. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  8639. "type": "integer"
  8640. },
  8641. "isgeneral": {
  8642. "description": "是否通用券 - 0:否 1:是",
  8643. "type": "integer"
  8644. },
  8645. "limitedflag": {
  8646. "description": "是否指定商品 - 0:不限 1:限制",
  8647. "type": "integer"
  8648. },
  8649. "limitedgoodsids": {
  8650. "description": "指定商品IDs[逗号分隔]",
  8651. "type": "string"
  8652. },
  8653. "qty": {
  8654. "description": "数量(按1平铺)",
  8655. "type": "integer"
  8656. },
  8657. "startdate": {
  8658. "description": "开始日期",
  8659. "type": "string"
  8660. },
  8661. "userid": {
  8662. "description": "用户ID",
  8663. "type": "integer"
  8664. },
  8665. "userscope": {
  8666. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  8667. "type": "string"
  8668. }
  8669. }
  8670. },
  8671. "models.OperationPrimaryMenu": {
  8672. "type": "object",
  8673. "properties": {
  8674. "Children": {
  8675. "description": "二级功能菜单",
  8676. "type": "array",
  8677. "items": {
  8678. "$ref": "#/definitions/models.OperationSecondaryMenu"
  8679. }
  8680. },
  8681. "Key": {
  8682. "description": "菜单KEY",
  8683. "type": "string"
  8684. },
  8685. "Label": {
  8686. "description": "菜单标题",
  8687. "type": "string"
  8688. }
  8689. }
  8690. },
  8691. "models.OperationSecondaryMenu": {
  8692. "type": "object",
  8693. "properties": {
  8694. "Key": {
  8695. "description": "菜单KEY",
  8696. "type": "string"
  8697. },
  8698. "Label": {
  8699. "description": "菜单标题",
  8700. "type": "string"
  8701. },
  8702. "TabList": {
  8703. "description": "三级功能菜单",
  8704. "type": "array",
  8705. "items": {
  8706. "$ref": "#/definitions/models.OperationTabMenu"
  8707. }
  8708. }
  8709. }
  8710. },
  8711. "models.OperationTabMenu": {
  8712. "type": "object",
  8713. "properties": {
  8714. "Key": {
  8715. "description": "菜单KEY",
  8716. "type": "string"
  8717. },
  8718. "Label": {
  8719. "description": "菜单标题",
  8720. "type": "string"
  8721. }
  8722. }
  8723. },
  8724. "models.PendingAuditBizModel": {
  8725. "type": "object",
  8726. "properties": {
  8727. "accountid": {
  8728. "description": "现货账户",
  8729. "type": "string"
  8730. },
  8731. "areaname": {
  8732. "description": "所属部门",
  8733. "type": "string"
  8734. },
  8735. "bizid": {
  8736. "description": "业务ID",
  8737. "type": "string"
  8738. },
  8739. "bizname": {
  8740. "description": "业务名称",
  8741. "type": "string"
  8742. },
  8743. "status": {
  8744. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  8745. "type": "integer"
  8746. },
  8747. "type": {
  8748. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  8749. "type": "integer"
  8750. }
  8751. }
  8752. },
  8753. "models.QuotePrimaryMenu": {
  8754. "type": "object",
  8755. "properties": {
  8756. "Index": {
  8757. "description": "序号",
  8758. "type": "integer"
  8759. },
  8760. "Key": {
  8761. "description": "键名",
  8762. "type": "string"
  8763. },
  8764. "Name": {
  8765. "description": "菜单名称",
  8766. "type": "string"
  8767. },
  8768. "SubMenus": {
  8769. "description": "子菜单",
  8770. "type": "array",
  8771. "items": {
  8772. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  8773. }
  8774. },
  8775. "SubTitleType": {
  8776. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  8777. "type": "integer"
  8778. },
  8779. "TradeModes": {
  8780. "description": "包含市场交易类型",
  8781. "type": "string"
  8782. }
  8783. }
  8784. },
  8785. "models.QuoteSecondaryMenu": {
  8786. "type": "object",
  8787. "properties": {
  8788. "ExExchangeCode": {
  8789. "description": "外部交易所代码",
  8790. "type": "string"
  8791. },
  8792. "ExExchangeID": {
  8793. "description": "外部交易所ID",
  8794. "type": "integer"
  8795. },
  8796. "GoodsGroupIDs": {
  8797. "description": "商品组ID列表",
  8798. "type": "array",
  8799. "items": {
  8800. "type": "integer"
  8801. }
  8802. },
  8803. "Index": {
  8804. "description": "序号",
  8805. "type": "integer"
  8806. },
  8807. "MarketID": {
  8808. "description": "市场ID",
  8809. "type": "integer"
  8810. },
  8811. "MenuTitle": {
  8812. "description": "菜单标题(市场名称或外部交易所名称)",
  8813. "type": "string"
  8814. },
  8815. "TradeMode": {
  8816. "description": "交易模式",
  8817. "type": "integer"
  8818. }
  8819. }
  8820. },
  8821. "models.SearchGoods": {
  8822. "type": "object",
  8823. "required": [
  8824. "goodscode",
  8825. "goodsid",
  8826. "goodsname",
  8827. "marketid",
  8828. "trademode"
  8829. ],
  8830. "properties": {
  8831. "goodscode": {
  8832. "description": "商品代码(内部)",
  8833. "type": "string"
  8834. },
  8835. "goodsid": {
  8836. "description": "商品ID(自增ID SEQ_GOODS)",
  8837. "type": "integer"
  8838. },
  8839. "goodsname": {
  8840. "description": "商品名称",
  8841. "type": "string"
  8842. },
  8843. "marketid": {
  8844. "description": "所属市场ID",
  8845. "type": "integer"
  8846. },
  8847. "marketname": {
  8848. "description": "市场名称",
  8849. "type": "string"
  8850. },
  8851. "trademode": {
  8852. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8853. "type": "integer"
  8854. }
  8855. }
  8856. },
  8857. "models.Szdz2imageconfig": {
  8858. "type": "object",
  8859. "required": [
  8860. "configid"
  8861. ],
  8862. "properties": {
  8863. "configid": {
  8864. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  8865. "type": "integer"
  8866. },
  8867. "imagepath": {
  8868. "description": "图片",
  8869. "type": "string"
  8870. },
  8871. "imagetype": {
  8872. "description": "类型 - 1:App首页轮播 2:我的",
  8873. "type": "integer"
  8874. },
  8875. "sort": {
  8876. "description": "排序",
  8877. "type": "integer"
  8878. },
  8879. "title": {
  8880. "description": "标题",
  8881. "type": "string"
  8882. },
  8883. "url": {
  8884. "description": "链接",
  8885. "type": "string"
  8886. }
  8887. }
  8888. },
  8889. "models.Szdz3convertconfig": {
  8890. "type": "object",
  8891. "required": [
  8892. "converttype",
  8893. "innergoodsid",
  8894. "outergoodscode"
  8895. ],
  8896. "properties": {
  8897. "canin": {
  8898. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  8899. "type": "integer"
  8900. },
  8901. "canout": {
  8902. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  8903. "type": "integer"
  8904. },
  8905. "converttype": {
  8906. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  8907. "type": "integer"
  8908. },
  8909. "createtime": {
  8910. "description": "创建时间",
  8911. "type": "string"
  8912. },
  8913. "creatorid": {
  8914. "description": "创建人",
  8915. "type": "integer"
  8916. },
  8917. "daymaxvalue": {
  8918. "description": "当日最大转入限制",
  8919. "type": "number"
  8920. },
  8921. "freezedays": {
  8922. "description": "冻结天数 [5:花生米转交易]",
  8923. "type": "integer"
  8924. },
  8925. "innergoodsid": {
  8926. "description": "内部商品ID[交易]",
  8927. "type": "integer"
  8928. },
  8929. "inratio": {
  8930. "description": "目标值",
  8931. "type": "integer"
  8932. },
  8933. "modifierid": {
  8934. "description": "修改人",
  8935. "type": "integer"
  8936. },
  8937. "modifytime": {
  8938. "description": "修改时间",
  8939. "type": "string"
  8940. },
  8941. "outergoodscode": {
  8942. "description": "外部商品代码[JD\\PD]",
  8943. "type": "string"
  8944. },
  8945. "outratio": {
  8946. "description": "源值",
  8947. "type": "integer"
  8948. },
  8949. "pddecimalplace": {
  8950. "description": "PD小数位",
  8951. "type": "integer"
  8952. },
  8953. "timemaxvalue": {
  8954. "description": "单次最大转入限制",
  8955. "type": "number"
  8956. },
  8957. "timeminvalue": {
  8958. "description": "单次最小转入限制",
  8959. "type": "number"
  8960. }
  8961. }
  8962. },
  8963. "models.Szdz3searchwhitelist": {
  8964. "type": "object",
  8965. "required": [
  8966. "userid"
  8967. ],
  8968. "properties": {
  8969. "createtime": {
  8970. "description": "创建时间",
  8971. "type": "string"
  8972. },
  8973. "creatorid": {
  8974. "description": "创建人",
  8975. "type": "integer"
  8976. },
  8977. "modifierid": {
  8978. "description": "修改人",
  8979. "type": "integer"
  8980. },
  8981. "modifytime": {
  8982. "description": "修改时间",
  8983. "type": "string"
  8984. },
  8985. "userid": {
  8986. "description": "用户ID",
  8987. "type": "integer"
  8988. }
  8989. }
  8990. },
  8991. "models.Tablecolumnconfig": {
  8992. "type": "object",
  8993. "required": [
  8994. "autoid"
  8995. ],
  8996. "properties": {
  8997. "aligntype": {
  8998. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  8999. "type": "integer"
  9000. },
  9001. "autoid": {
  9002. "description": "AutoID",
  9003. "type": "integer"
  9004. },
  9005. "columnfield": {
  9006. "description": "列字段",
  9007. "type": "string"
  9008. },
  9009. "columntitle": {
  9010. "description": "列Title",
  9011. "type": "string"
  9012. },
  9013. "columnwidth": {
  9014. "description": "列宽",
  9015. "type": "string"
  9016. },
  9017. "formatterstring": {
  9018. "description": "格式化字符",
  9019. "type": "string"
  9020. },
  9021. "formattertype": {
  9022. "description": "格式化类型",
  9023. "type": "string"
  9024. },
  9025. "groupname": {
  9026. "description": "表头分组名称",
  9027. "type": "string"
  9028. },
  9029. "isshow": {
  9030. "description": "是否显示 - 0:不显示 1:显示",
  9031. "type": "integer"
  9032. },
  9033. "needsummary": {
  9034. "description": "是否需要汇总 - 0:不需要 1:需要",
  9035. "type": "integer"
  9036. },
  9037. "orderindex": {
  9038. "description": "顺序",
  9039. "type": "integer"
  9040. },
  9041. "remark": {
  9042. "description": "备注",
  9043. "type": "string"
  9044. },
  9045. "summarytype": {
  9046. "description": "汇总类型 - 1:加总 2:最后一个",
  9047. "type": "integer"
  9048. },
  9049. "tablekey": {
  9050. "description": "列表Key",
  9051. "type": "string"
  9052. }
  9053. }
  9054. },
  9055. "models.Useraccount": {
  9056. "type": "object",
  9057. "required": [
  9058. "userid"
  9059. ],
  9060. "properties": {
  9061. "accountname": {
  9062. "description": "账户名称(机构名称)",
  9063. "type": "string"
  9064. },
  9065. "accountstatus": {
  9066. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  9067. "type": "integer"
  9068. },
  9069. "auditremark": {
  9070. "description": "审核备注",
  9071. "type": "string"
  9072. },
  9073. "audittime": {
  9074. "description": "审核时间",
  9075. "type": "string"
  9076. },
  9077. "audituserid": {
  9078. "description": "审核人",
  9079. "type": "integer"
  9080. },
  9081. "broker": {
  9082. "description": "所属经纪人ID",
  9083. "type": "integer"
  9084. },
  9085. "canceltime": {
  9086. "description": "销户时间",
  9087. "type": "string"
  9088. },
  9089. "canceluserid": {
  9090. "description": "销户人",
  9091. "type": "integer"
  9092. },
  9093. "createtime": {
  9094. "description": "创建时间",
  9095. "type": "string"
  9096. },
  9097. "creatorid": {
  9098. "description": "创建人",
  9099. "type": "integer"
  9100. },
  9101. "hasauth": {
  9102. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  9103. "type": "integer"
  9104. },
  9105. "isanonymous": {
  9106. "description": "是否匿名下单 - 0:否 1:是",
  9107. "type": "integer"
  9108. },
  9109. "maxinvestornum": {
  9110. "description": "最大用户数(经纪会员下投资者个数)",
  9111. "type": "integer"
  9112. },
  9113. "memberuserid": {
  9114. "description": "所属会员ID",
  9115. "type": "integer"
  9116. },
  9117. "modifierid": {
  9118. "description": "修改人",
  9119. "type": "integer"
  9120. },
  9121. "modifyremark": {
  9122. "description": "变更备注",
  9123. "type": "string"
  9124. },
  9125. "modifystatus": {
  9126. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  9127. "type": "integer"
  9128. },
  9129. "modifytime": {
  9130. "description": "修改时间",
  9131. "type": "string"
  9132. },
  9133. "parentuserid": {
  9134. "description": "所属机构ID",
  9135. "type": "integer"
  9136. },
  9137. "reckonaccountid": {
  9138. "description": "默认结算资金账号ID(机构分润使用) 作废",
  9139. "type": "integer"
  9140. },
  9141. "refercount": {
  9142. "description": "推荐总人数",
  9143. "type": "integer"
  9144. },
  9145. "refereeuserid": {
  9146. "description": "推荐人ID",
  9147. "type": "integer"
  9148. },
  9149. "refernum": {
  9150. "description": "推荐码",
  9151. "type": "string"
  9152. },
  9153. "subarealevelpath": {
  9154. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  9155. "type": "string"
  9156. },
  9157. "userid": {
  9158. "description": "用户ID",
  9159. "type": "integer"
  9160. },
  9161. "usertype": {
  9162. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  9163. "type": "integer"
  9164. }
  9165. }
  9166. },
  9167. "models.Userfavoritegoods": {
  9168. "type": "object",
  9169. "required": [
  9170. "goodsid"
  9171. ],
  9172. "properties": {
  9173. "goodsid": {
  9174. "description": "商品ID",
  9175. "type": "integer"
  9176. }
  9177. }
  9178. },
  9179. "models.Userinfo": {
  9180. "type": "object",
  9181. "required": [
  9182. "userid"
  9183. ],
  9184. "properties": {
  9185. "address": {
  9186. "description": "地址",
  9187. "type": "string"
  9188. },
  9189. "attachment1": {
  9190. "description": "附件1",
  9191. "type": "string"
  9192. },
  9193. "attachment2": {
  9194. "description": "附件2",
  9195. "type": "string"
  9196. },
  9197. "bankaccount": {
  9198. "description": "银行帐号 (加密存储)",
  9199. "type": "string"
  9200. },
  9201. "bankaccountname": {
  9202. "description": "收款人名称",
  9203. "type": "string"
  9204. },
  9205. "bankcardfrontphotourl": {
  9206. "description": "银行卡正面照地址",
  9207. "type": "string"
  9208. },
  9209. "bankid": {
  9210. "description": "银行编码",
  9211. "type": "string"
  9212. },
  9213. "bankname": {
  9214. "description": "银行名称",
  9215. "type": "string"
  9216. },
  9217. "biznature": {
  9218. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9219. "type": "integer"
  9220. },
  9221. "bizscope": {
  9222. "description": "企业经营范围(企业)",
  9223. "type": "string"
  9224. },
  9225. "cardbackphotourl": {
  9226. "description": "证件背面图片地址",
  9227. "type": "string"
  9228. },
  9229. "cardfrontphotourl": {
  9230. "description": "证件正面图片地址",
  9231. "type": "string"
  9232. },
  9233. "cardnum": {
  9234. "description": "证件号码(加密存储)",
  9235. "type": "string"
  9236. },
  9237. "cardtypeid": {
  9238. "description": "证件类型ID",
  9239. "type": "integer"
  9240. },
  9241. "cityid": {
  9242. "description": "市",
  9243. "type": "integer"
  9244. },
  9245. "company": {
  9246. "description": "公司(个人)",
  9247. "type": "string"
  9248. },
  9249. "contactname": {
  9250. "description": "联系人",
  9251. "type": "string"
  9252. },
  9253. "countryid": {
  9254. "description": "国家",
  9255. "type": "integer"
  9256. },
  9257. "createtime": {
  9258. "description": "创建时间",
  9259. "type": "string"
  9260. },
  9261. "creatorid": {
  9262. "description": "创建人",
  9263. "type": "integer"
  9264. },
  9265. "customername": {
  9266. "description": "客户名称(企业名称)",
  9267. "type": "string"
  9268. },
  9269. "districtid": {
  9270. "description": "地区",
  9271. "type": "integer"
  9272. },
  9273. "email": {
  9274. "description": "邮件(加密存储)",
  9275. "type": "string"
  9276. },
  9277. "fax": {
  9278. "description": "传真(加密存储)",
  9279. "type": "string"
  9280. },
  9281. "halfbodyphotourl": {
  9282. "description": "半身照地址",
  9283. "type": "string"
  9284. },
  9285. "hasencrypt": {
  9286. "description": "数据是否已加密 - 0:未加密 1:已加密",
  9287. "type": "integer"
  9288. },
  9289. "headurl": {
  9290. "description": "头像地址",
  9291. "type": "string"
  9292. },
  9293. "legalcardbackphotourl": {
  9294. "description": "法人身份证背面照地址",
  9295. "type": "string"
  9296. },
  9297. "legalcardfrontphotourl": {
  9298. "description": "法人身份证正面照地址",
  9299. "type": "string"
  9300. },
  9301. "legalpersonname": {
  9302. "description": "法人姓名(企业)",
  9303. "type": "string"
  9304. },
  9305. "mobile": {
  9306. "description": "手机号码(加密存储)",
  9307. "type": "string"
  9308. },
  9309. "mobile2": {
  9310. "description": "手机号码[明文-尚志]",
  9311. "type": "string"
  9312. },
  9313. "modifierid": {
  9314. "description": "修改人",
  9315. "type": "integer"
  9316. },
  9317. "modifiertime": {
  9318. "description": "修改时间",
  9319. "type": "string"
  9320. },
  9321. "needinvoice": {
  9322. "description": "是否需要发票 - 0:不需要 1:需要",
  9323. "type": "integer"
  9324. },
  9325. "nickname": {
  9326. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  9327. "type": "string"
  9328. },
  9329. "openmode": {
  9330. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  9331. "type": "integer"
  9332. },
  9333. "otherurl": {
  9334. "description": "其它图片地址[使用分号分隔]",
  9335. "type": "string"
  9336. },
  9337. "postalcode": {
  9338. "description": "邮政编码",
  9339. "type": "string"
  9340. },
  9341. "provinceid": {
  9342. "description": "省",
  9343. "type": "integer"
  9344. },
  9345. "qq": {
  9346. "description": "QQ(加密存储",
  9347. "type": "string"
  9348. },
  9349. "remark": {
  9350. "description": "备注",
  9351. "type": "string"
  9352. },
  9353. "sex": {
  9354. "description": "用户性别 0: 女 1: 男",
  9355. "type": "integer"
  9356. },
  9357. "signpdfurl": {
  9358. "description": "签约pdf文件",
  9359. "type": "string"
  9360. },
  9361. "telphone": {
  9362. "description": "联系电话(加密存储)",
  9363. "type": "string"
  9364. },
  9365. "userid": {
  9366. "description": "用户ID",
  9367. "type": "integer"
  9368. },
  9369. "userinfotype": {
  9370. "description": "用户信息类型 - 1:个人 2:企业",
  9371. "type": "integer"
  9372. },
  9373. "userstatus": {
  9374. "description": "用户状态 - 1:正常 2:注销",
  9375. "type": "integer"
  9376. },
  9377. "usertype": {
  9378. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  9379. "type": "integer"
  9380. },
  9381. "wechat": {
  9382. "description": "微信(加密存储)",
  9383. "type": "string"
  9384. },
  9385. "wskhinfo": {
  9386. "description": "开户申请信息(JSON)",
  9387. "type": "string"
  9388. }
  9389. }
  9390. },
  9391. "models.WRCategoryTree": {
  9392. "type": "object",
  9393. "required": [
  9394. "categoryid"
  9395. ],
  9396. "properties": {
  9397. "areauserid": {
  9398. "description": "所属机构",
  9399. "type": "integer"
  9400. },
  9401. "categorydesc": {
  9402. "description": "类别描述",
  9403. "type": "string"
  9404. },
  9405. "categoryid": {
  9406. "description": "类别ID(SEQ_WRCATEGORY)",
  9407. "type": "integer"
  9408. },
  9409. "categoryname": {
  9410. "description": "类别名称",
  9411. "type": "string"
  9412. },
  9413. "iconurl": {
  9414. "description": "图标地址",
  9415. "type": "string"
  9416. },
  9417. "orderindex": {
  9418. "description": "顺序",
  9419. "type": "integer"
  9420. },
  9421. "parentcategoryid": {
  9422. "description": "父类别ID",
  9423. "type": "integer"
  9424. },
  9425. "subcategory": {
  9426. "description": "子分类",
  9427. "type": "array",
  9428. "items": {
  9429. "$ref": "#/definitions/models.WRCategoryTree"
  9430. }
  9431. }
  9432. }
  9433. },
  9434. "models.WRStandardInfo": {
  9435. "type": "object",
  9436. "required": [
  9437. "wrstandardid"
  9438. ],
  9439. "properties": {
  9440. "createtime": {
  9441. "description": "创建时间",
  9442. "type": "string"
  9443. },
  9444. "creatorid": {
  9445. "description": "创建人",
  9446. "type": "integer"
  9447. },
  9448. "deliverygoodsid": {
  9449. "description": "品种ID",
  9450. "type": "integer"
  9451. },
  9452. "deliverygoodsname": {
  9453. "description": "交割商品名称",
  9454. "type": "string"
  9455. },
  9456. "factoryitemjson": {
  9457. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  9458. "type": "string"
  9459. },
  9460. "isvalid": {
  9461. "description": "是否有效 - 0:无效 1:有效",
  9462. "type": "integer"
  9463. },
  9464. "minivalue": {
  9465. "description": "最小变动值",
  9466. "type": "integer"
  9467. },
  9468. "minivaluedp": {
  9469. "description": "最小变动值小数位",
  9470. "type": "integer"
  9471. },
  9472. "realminivalue": {
  9473. "description": "实际最小变动值",
  9474. "type": "integer"
  9475. },
  9476. "realminivaluedp": {
  9477. "description": "实际最小变动值小数位",
  9478. "type": "integer"
  9479. },
  9480. "unitid": {
  9481. "description": "单位ID",
  9482. "type": "integer"
  9483. },
  9484. "unitname": {
  9485. "description": "单位",
  9486. "type": "string"
  9487. },
  9488. "updatetime": {
  9489. "description": "更新时间",
  9490. "type": "string"
  9491. },
  9492. "updatorid": {
  9493. "description": "更新人",
  9494. "type": "integer"
  9495. },
  9496. "wrsstatus": {
  9497. "description": "状态 - 作废 - 0:未激活 1:正常",
  9498. "type": "integer"
  9499. },
  9500. "wrstandardcode": {
  9501. "description": "仓单标准代码",
  9502. "type": "string"
  9503. },
  9504. "wrstandardid": {
  9505. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  9506. "type": "integer"
  9507. },
  9508. "wrstandardname": {
  9509. "description": "仓单标准名称",
  9510. "type": "string"
  9511. }
  9512. }
  9513. },
  9514. "models.Warehouseinfo": {
  9515. "type": "object",
  9516. "required": [
  9517. "autoid",
  9518. "warehousecode"
  9519. ],
  9520. "properties": {
  9521. "address": {
  9522. "description": "详细地址",
  9523. "type": "string"
  9524. },
  9525. "areauserid": {
  9526. "description": "所属机构",
  9527. "type": "integer"
  9528. },
  9529. "autoid": {
  9530. "description": "自增ID",
  9531. "type": "integer"
  9532. },
  9533. "cityid": {
  9534. "description": "市",
  9535. "type": "integer"
  9536. },
  9537. "contactname": {
  9538. "description": "联系人",
  9539. "type": "string"
  9540. },
  9541. "contactnum": {
  9542. "description": "联系电话",
  9543. "type": "string"
  9544. },
  9545. "countryid": {
  9546. "description": "国家",
  9547. "type": "integer"
  9548. },
  9549. "createtime": {
  9550. "description": "创建时间",
  9551. "type": "string"
  9552. },
  9553. "districtid": {
  9554. "description": "区",
  9555. "type": "integer"
  9556. },
  9557. "hasvideo": {
  9558. "description": "是否有视频 - 0:无 1:有",
  9559. "type": "integer"
  9560. },
  9561. "provinceid": {
  9562. "description": "省",
  9563. "type": "integer"
  9564. },
  9565. "remark": {
  9566. "description": "审核备注",
  9567. "type": "string"
  9568. },
  9569. "videourl": {
  9570. "description": "视频地址",
  9571. "type": "string"
  9572. },
  9573. "warehousecode": {
  9574. "description": "仓库代码",
  9575. "type": "string"
  9576. },
  9577. "warehousename": {
  9578. "description": "仓库名称",
  9579. "type": "string"
  9580. },
  9581. "warehousestatus": {
  9582. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  9583. "type": "integer"
  9584. },
  9585. "warehousetype": {
  9586. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  9587. "type": "integer"
  9588. }
  9589. }
  9590. },
  9591. "order.QueryHisTradeDetailRsp": {
  9592. "type": "object",
  9593. "required": [
  9594. "accountid",
  9595. "buyorsell",
  9596. "goodsid",
  9597. "histradedate",
  9598. "marketid",
  9599. "memberuserid",
  9600. "orderid",
  9601. "tradeamount",
  9602. "tradedate",
  9603. "tradeid",
  9604. "tradeprice",
  9605. "tradeqty",
  9606. "tradetime"
  9607. ],
  9608. "properties": {
  9609. "accountid": {
  9610. "description": "账户ID[报价币种]",
  9611. "type": "integer"
  9612. },
  9613. "buildtype": {
  9614. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  9615. "type": "integer"
  9616. },
  9617. "buyorsell": {
  9618. "description": "方向 - 0:买 1:卖",
  9619. "type": "integer"
  9620. },
  9621. "charge": {
  9622. "description": "手续费",
  9623. "type": "number"
  9624. },
  9625. "closecharge": {
  9626. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  9627. "type": "number"
  9628. },
  9629. "closeexchagechargevalue": {
  9630. "description": "平仓交易所手续费设置值",
  9631. "type": "number"
  9632. },
  9633. "closefeealgorithm": {
  9634. "description": "平仓手续费收取方式 1:比率 2:固定",
  9635. "type": "integer"
  9636. },
  9637. "closememberchargevalue": {
  9638. "description": "平仓会员手续费设置值",
  9639. "type": "number"
  9640. },
  9641. "closepl": {
  9642. "description": "平仓盈亏",
  9643. "type": "number"
  9644. },
  9645. "closepl2": {
  9646. "description": "平仓盈亏[逐笔]",
  9647. "type": "number"
  9648. },
  9649. "closeqty": {
  9650. "description": "平仓数量(先建后平操作 需要记录)",
  9651. "type": "integer"
  9652. },
  9653. "creditamount": {
  9654. "description": "授信金额",
  9655. "type": "number"
  9656. },
  9657. "gcaccountid": {
  9658. "description": "账户ID[合约币种]",
  9659. "type": "integer"
  9660. },
  9661. "goodscode": {
  9662. "description": "商品代码",
  9663. "type": "string"
  9664. },
  9665. "goodsid": {
  9666. "description": "商品ID",
  9667. "type": "integer"
  9668. },
  9669. "goodsname": {
  9670. "description": "商品名称",
  9671. "type": "string"
  9672. },
  9673. "histradedate": {
  9674. "description": "历史交易日",
  9675. "type": "string"
  9676. },
  9677. "intclosepl": {
  9678. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  9679. "type": "integer"
  9680. },
  9681. "isconfirmexercise": {
  9682. "description": "是否确认行权- 0:否 1:是",
  9683. "type": "integer"
  9684. },
  9685. "ismain": {
  9686. "description": "是否主单 - 0:不是 1:是",
  9687. "type": "integer"
  9688. },
  9689. "ispreexercise": {
  9690. "description": "是否预申报- 0:否 1:是",
  9691. "type": "integer"
  9692. },
  9693. "isreckoned": {
  9694. "description": "是否结算 - 0:未结算 1:已结算",
  9695. "type": "integer"
  9696. },
  9697. "isvaliddata": {
  9698. "description": "是否有效 - 0:无效 1:有效",
  9699. "type": "integer"
  9700. },
  9701. "listingselecttype": {
  9702. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9703. "type": "integer"
  9704. },
  9705. "marketid": {
  9706. "description": "市场ID",
  9707. "type": "integer"
  9708. },
  9709. "marketname": {
  9710. "description": "市场名称",
  9711. "type": "string"
  9712. },
  9713. "matchaccountid": {
  9714. "description": "对手账号id",
  9715. "type": "integer"
  9716. },
  9717. "memberuserid": {
  9718. "description": "会员id 个人投资者 需要填写",
  9719. "type": "integer"
  9720. },
  9721. "opencharge": {
  9722. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  9723. "type": "number"
  9724. },
  9725. "openexchagechargevalue": {
  9726. "description": "建仓交易所手续费设置值",
  9727. "type": "number"
  9728. },
  9729. "openfeealgorithm": {
  9730. "description": "建仓手续费收取方式 1:比率 2:固定",
  9731. "type": "integer"
  9732. },
  9733. "openmemberchargevalue": {
  9734. "description": "建仓会员手续费设置值",
  9735. "type": "number"
  9736. },
  9737. "openqty": {
  9738. "description": "开仓数量(先建后平操作 需要记录)",
  9739. "type": "integer"
  9740. },
  9741. "optiontype": {
  9742. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  9743. "type": "integer"
  9744. },
  9745. "orderid": {
  9746. "description": "委托单号",
  9747. "type": "string"
  9748. },
  9749. "performanceplanid": {
  9750. "description": "履约计划ID[期权]",
  9751. "type": "integer"
  9752. },
  9753. "performancestatus": {
  9754. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  9755. "type": "integer"
  9756. },
  9757. "preexerciseprice": {
  9758. "description": "预申报价格",
  9759. "type": "number"
  9760. },
  9761. "premium": {
  9762. "description": "权利金 - [持仓单的权利金]",
  9763. "type": "number"
  9764. },
  9765. "relatedouttradeid": {
  9766. "description": "关联外部成交单ID",
  9767. "type": "integer"
  9768. },
  9769. "status": {
  9770. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  9771. "type": "integer"
  9772. },
  9773. "tradeamount": {
  9774. "description": "成交金额[账户币种,用于所有权]",
  9775. "type": "number"
  9776. },
  9777. "tradedate": {
  9778. "description": "交易日(yyyyMMdd)",
  9779. "type": "string"
  9780. },
  9781. "tradeid": {
  9782. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9783. "type": "string"
  9784. },
  9785. "trademode": {
  9786. "description": "交易模式",
  9787. "type": "integer"
  9788. },
  9789. "tradeprice": {
  9790. "description": "成交价格",
  9791. "type": "number"
  9792. },
  9793. "tradeproperty": {
  9794. "description": "交易属性",
  9795. "type": "integer"
  9796. },
  9797. "tradeqty": {
  9798. "description": "成交数量",
  9799. "type": "integer"
  9800. },
  9801. "tradetime": {
  9802. "description": "成交时间",
  9803. "type": "string"
  9804. },
  9805. "tradetype": {
  9806. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  9807. "type": "integer"
  9808. }
  9809. }
  9810. },
  9811. "order.QueryHisTradeOrderDetailRsp": {
  9812. "type": "object",
  9813. "required": [
  9814. "accountid",
  9815. "buildtype",
  9816. "buyorsell",
  9817. "goodsid",
  9818. "histradedate",
  9819. "marketid",
  9820. "memberuserid",
  9821. "operatetype",
  9822. "orderid",
  9823. "orderqty",
  9824. "ordertime",
  9825. "pricemode",
  9826. "tradedate",
  9827. "validtype"
  9828. ],
  9829. "properties": {
  9830. "accountid": {
  9831. "description": "账户ID[报价币种]",
  9832. "type": "integer"
  9833. },
  9834. "buildtype": {
  9835. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  9836. "type": "integer"
  9837. },
  9838. "buyorsell": {
  9839. "description": "买卖 - 0:买 1:卖",
  9840. "type": "integer"
  9841. },
  9842. "cancelorderid": {
  9843. "description": "撤单单号(撤单时填写)",
  9844. "type": "string"
  9845. },
  9846. "cancelqty": {
  9847. "description": "撤单数量",
  9848. "type": "integer"
  9849. },
  9850. "clientordertime": {
  9851. "description": "客户端委托时间",
  9852. "type": "string"
  9853. },
  9854. "clientticket": {
  9855. "description": "客户端流水号",
  9856. "type": "string"
  9857. },
  9858. "clienttype": {
  9859. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  9860. "type": "integer"
  9861. },
  9862. "closeexchagechargevalue": {
  9863. "description": "平仓交易所手续费设置值",
  9864. "type": "number"
  9865. },
  9866. "closefeealgorithm": {
  9867. "description": "平仓手续费收取方式 1:比率 2:固定",
  9868. "type": "integer"
  9869. },
  9870. "closefreezecharge": {
  9871. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  9872. "type": "number"
  9873. },
  9874. "closememberchargevalue": {
  9875. "description": "平仓会员手续费设置值",
  9876. "type": "number"
  9877. },
  9878. "closeqty": {
  9879. "description": "平仓数量(先建后平操作 需要记录)",
  9880. "type": "integer"
  9881. },
  9882. "closetradeqty": {
  9883. "description": "平仓成交数量(先建后平操作,需要记录)",
  9884. "type": "integer"
  9885. },
  9886. "closeunfreezecharge": {
  9887. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  9888. "type": "number"
  9889. },
  9890. "delistingtype": {
  9891. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  9892. "type": "integer"
  9893. },
  9894. "freezecharge": {
  9895. "description": "冻结手续费",
  9896. "type": "number"
  9897. },
  9898. "freezemargin": {
  9899. "description": "冻结保证金(冻结交易金额)",
  9900. "type": "number"
  9901. },
  9902. "gcaccountid": {
  9903. "description": "账户ID[合约币种]",
  9904. "type": "integer"
  9905. },
  9906. "goodscode": {
  9907. "description": "商品代码",
  9908. "type": "string"
  9909. },
  9910. "goodsid": {
  9911. "description": "商品ID",
  9912. "type": "integer"
  9913. },
  9914. "goodsname": {
  9915. "description": "商品名称",
  9916. "type": "string"
  9917. },
  9918. "histradedate": {
  9919. "description": "历史交易日",
  9920. "type": "string"
  9921. },
  9922. "isconfirmexercise": {
  9923. "description": "是否确认行权- 0:否 1:是",
  9924. "type": "integer"
  9925. },
  9926. "ispreexercise": {
  9927. "description": "是否预申报- 0:否 1:是",
  9928. "type": "integer"
  9929. },
  9930. "isvaliddata": {
  9931. "description": "是否有效 - 0:无效 1:有效",
  9932. "type": "integer"
  9933. },
  9934. "listingselecttype": {
  9935. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9936. "type": "integer"
  9937. },
  9938. "marginalgorithm": {
  9939. "description": "保证金收取方式 1:比率 2:固定",
  9940. "type": "integer"
  9941. },
  9942. "marginvalue": {
  9943. "description": "即市保证金设置值",
  9944. "type": "number"
  9945. },
  9946. "marketid": {
  9947. "description": "市场ID",
  9948. "type": "integer"
  9949. },
  9950. "marketmaxsub": {
  9951. "description": "市价最大偏移范围",
  9952. "type": "number"
  9953. },
  9954. "marketname": {
  9955. "description": "市场名称",
  9956. "type": "string"
  9957. },
  9958. "memberuserid": {
  9959. "description": "所属会员UserID",
  9960. "type": "integer"
  9961. },
  9962. "openexchagechargevalue": {
  9963. "description": "建仓交易所手续费设置值",
  9964. "type": "number"
  9965. },
  9966. "openfeealgorithm": {
  9967. "description": "建仓手续费收取方式 1:比率 2:固定",
  9968. "type": "integer"
  9969. },
  9970. "openfreezecharge": {
  9971. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  9972. "type": "number"
  9973. },
  9974. "openmemberchargevalue": {
  9975. "description": "建仓会员手续费设置值",
  9976. "type": "number"
  9977. },
  9978. "openqty": {
  9979. "description": "开仓数量(先建后平操作,需要记录)",
  9980. "type": "integer"
  9981. },
  9982. "opentradeqty": {
  9983. "description": "开仓成交数量(先建后平操作,需要记录)",
  9984. "type": "integer"
  9985. },
  9986. "openunfreezecharge": {
  9987. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  9988. "type": "number"
  9989. },
  9990. "operatetype": {
  9991. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  9992. "type": "integer"
  9993. },
  9994. "operatorid": {
  9995. "description": "登录账号(LoginID)",
  9996. "type": "integer"
  9997. },
  9998. "optiontype": {
  9999. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10000. "type": "integer"
  10001. },
  10002. "orderid": {
  10003. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10004. "type": "string"
  10005. },
  10006. "orderprice": {
  10007. "description": "委托价格",
  10008. "type": "number"
  10009. },
  10010. "orderqty": {
  10011. "description": "委托数量",
  10012. "type": "integer"
  10013. },
  10014. "ordersrc": {
  10015. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  10016. "type": "integer"
  10017. },
  10018. "orderstatus": {
  10019. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10020. "type": "integer"
  10021. },
  10022. "ordertime": {
  10023. "description": "委托时间",
  10024. "type": "string"
  10025. },
  10026. "preexerciseprice": {
  10027. "description": "预申报价格",
  10028. "type": "number"
  10029. },
  10030. "premium": {
  10031. "description": "权利金",
  10032. "type": "number"
  10033. },
  10034. "preorderid": {
  10035. "description": "关联预埋单号(止盈止损单时填写)",
  10036. "type": "string"
  10037. },
  10038. "pricemode": {
  10039. "description": "取价方式 - 1:市价 2: 限价",
  10040. "type": "integer"
  10041. },
  10042. "quoteid": {
  10043. "description": "报价单ID",
  10044. "type": "integer"
  10045. },
  10046. "relatedid": {
  10047. "description": "关联单号(交割单)",
  10048. "type": "string"
  10049. },
  10050. "retcode": {
  10051. "description": "错误代码",
  10052. "type": "integer"
  10053. },
  10054. "sessionid": {
  10055. "description": "会话ID",
  10056. "type": "integer"
  10057. },
  10058. "tradedate": {
  10059. "description": "交易日(yyyyMMdd)",
  10060. "type": "string"
  10061. },
  10062. "trademode": {
  10063. "description": "交易模式",
  10064. "type": "integer"
  10065. },
  10066. "tradeproperty": {
  10067. "description": "交易属性",
  10068. "type": "integer"
  10069. },
  10070. "tradeqty": {
  10071. "description": "成交数量",
  10072. "type": "integer"
  10073. },
  10074. "unfreezecharge": {
  10075. "description": "解冻手续费",
  10076. "type": "number"
  10077. },
  10078. "unfreezemargin": {
  10079. "description": "解冻保证金",
  10080. "type": "number"
  10081. },
  10082. "updatetime": {
  10083. "description": "更新时间",
  10084. "type": "string"
  10085. },
  10086. "uuid": {
  10087. "description": "发起端唯一id",
  10088. "type": "string"
  10089. },
  10090. "validtime": {
  10091. "description": "有效期限",
  10092. "type": "string"
  10093. },
  10094. "validtype": {
  10095. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  10096. "type": "integer"
  10097. },
  10098. "volumetype": {
  10099. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  10100. "type": "integer"
  10101. }
  10102. }
  10103. },
  10104. "order.QueryTradeDetailRsp": {
  10105. "type": "object",
  10106. "required": [
  10107. "accountid",
  10108. "buyorsell",
  10109. "goodsid",
  10110. "marketid",
  10111. "memberuserid",
  10112. "orderid",
  10113. "tradeamount",
  10114. "tradedate",
  10115. "tradeid",
  10116. "tradeprice",
  10117. "tradeqty",
  10118. "tradetime"
  10119. ],
  10120. "properties": {
  10121. "accountid": {
  10122. "description": "账户ID[报价币种]",
  10123. "type": "integer"
  10124. },
  10125. "buildtype": {
  10126. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  10127. "type": "integer"
  10128. },
  10129. "buyorsell": {
  10130. "description": "方向 - 0:买 1:卖",
  10131. "type": "integer"
  10132. },
  10133. "charge": {
  10134. "description": "手续费",
  10135. "type": "number"
  10136. },
  10137. "closecharge": {
  10138. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  10139. "type": "number"
  10140. },
  10141. "closeexchagechargevalue": {
  10142. "description": "平仓交易所手续费设置值",
  10143. "type": "number"
  10144. },
  10145. "closefeealgorithm": {
  10146. "description": "平仓手续费收取方式 1:比率 2:固定",
  10147. "type": "integer"
  10148. },
  10149. "closememberchargevalue": {
  10150. "description": "平仓会员手续费设置值",
  10151. "type": "number"
  10152. },
  10153. "closepl": {
  10154. "description": "平仓盈亏",
  10155. "type": "number"
  10156. },
  10157. "closepl2": {
  10158. "description": "平仓盈亏[逐笔]",
  10159. "type": "number"
  10160. },
  10161. "closeqty": {
  10162. "description": "平仓数量(先建后平操作 需要记录)",
  10163. "type": "integer"
  10164. },
  10165. "creditamount": {
  10166. "description": "授信金额",
  10167. "type": "number"
  10168. },
  10169. "gcaccountid": {
  10170. "description": "账户ID[合约币种]",
  10171. "type": "integer"
  10172. },
  10173. "goodscode": {
  10174. "description": "商品代码",
  10175. "type": "string"
  10176. },
  10177. "goodsid": {
  10178. "description": "商品ID",
  10179. "type": "integer"
  10180. },
  10181. "goodsname": {
  10182. "description": "商品名称",
  10183. "type": "string"
  10184. },
  10185. "intclosepl": {
  10186. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  10187. "type": "integer"
  10188. },
  10189. "isconfirmexercise": {
  10190. "description": "是否确认行权- 0:否 1:是",
  10191. "type": "integer"
  10192. },
  10193. "ismain": {
  10194. "description": "是否主单 - 0:不是 1:是",
  10195. "type": "integer"
  10196. },
  10197. "ispreexercise": {
  10198. "description": "是否预申报- 0:否 1:是",
  10199. "type": "integer"
  10200. },
  10201. "isreckoned": {
  10202. "description": "是否结算 - 0:未结算 1:已结算",
  10203. "type": "integer"
  10204. },
  10205. "listingselecttype": {
  10206. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10207. "type": "integer"
  10208. },
  10209. "marketid": {
  10210. "description": "市场ID",
  10211. "type": "integer"
  10212. },
  10213. "marketname": {
  10214. "description": "市场名称",
  10215. "type": "string"
  10216. },
  10217. "matchaccountid": {
  10218. "description": "对手账号id",
  10219. "type": "integer"
  10220. },
  10221. "memberuserid": {
  10222. "description": "会员id 个人投资者 需要填写",
  10223. "type": "integer"
  10224. },
  10225. "opencharge": {
  10226. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  10227. "type": "number"
  10228. },
  10229. "openexchagechargevalue": {
  10230. "description": "建仓交易所手续费设置值",
  10231. "type": "number"
  10232. },
  10233. "openfeealgorithm": {
  10234. "description": "建仓手续费收取方式 1:比率 2:固定",
  10235. "type": "integer"
  10236. },
  10237. "openmemberchargevalue": {
  10238. "description": "建仓会员手续费设置值",
  10239. "type": "number"
  10240. },
  10241. "openqty": {
  10242. "description": "开仓数量(先建后平操作 需要记录)",
  10243. "type": "integer"
  10244. },
  10245. "optiontype": {
  10246. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10247. "type": "integer"
  10248. },
  10249. "orderid": {
  10250. "description": "委托单号",
  10251. "type": "string"
  10252. },
  10253. "performanceplanid": {
  10254. "description": "履约计划ID[期权]",
  10255. "type": "integer"
  10256. },
  10257. "performancestatus": {
  10258. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  10259. "type": "integer"
  10260. },
  10261. "preexerciseprice": {
  10262. "description": "预申报价格",
  10263. "type": "number"
  10264. },
  10265. "premium": {
  10266. "description": "权利金 - [持仓单的权利金]",
  10267. "type": "number"
  10268. },
  10269. "relatedouttradeid": {
  10270. "description": "关联外部成交单ID",
  10271. "type": "integer"
  10272. },
  10273. "status": {
  10274. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  10275. "type": "integer"
  10276. },
  10277. "tradeamount": {
  10278. "description": "成交金额[账户币种,用于所有权]",
  10279. "type": "number"
  10280. },
  10281. "tradedate": {
  10282. "description": "交易日(yyyyMMdd)",
  10283. "type": "string"
  10284. },
  10285. "tradeid": {
  10286. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10287. "type": "string"
  10288. },
  10289. "trademode": {
  10290. "description": "交易模式",
  10291. "type": "integer"
  10292. },
  10293. "tradeprice": {
  10294. "description": "成交价格",
  10295. "type": "number"
  10296. },
  10297. "tradeproperty": {
  10298. "description": "交易属性",
  10299. "type": "integer"
  10300. },
  10301. "tradeqty": {
  10302. "description": "成交数量",
  10303. "type": "integer"
  10304. },
  10305. "tradetime": {
  10306. "description": "成交时间",
  10307. "type": "string"
  10308. },
  10309. "tradetype": {
  10310. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  10311. "type": "integer"
  10312. }
  10313. }
  10314. },
  10315. "order.QueryTradeOrderDetailRsp": {
  10316. "type": "object",
  10317. "required": [
  10318. "accountid",
  10319. "buildtype",
  10320. "buyorsell",
  10321. "goodsid",
  10322. "marketid",
  10323. "operatetype",
  10324. "orderqty",
  10325. "ordertime",
  10326. "pricemode",
  10327. "tradedate",
  10328. "validtype"
  10329. ],
  10330. "properties": {
  10331. "accountid": {
  10332. "description": "账户ID[报价币种]",
  10333. "type": "integer"
  10334. },
  10335. "buildtype": {
  10336. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  10337. "type": "integer"
  10338. },
  10339. "buyorsell": {
  10340. "description": "买卖 - 0:买 1:卖",
  10341. "type": "integer"
  10342. },
  10343. "cancelorderid": {
  10344. "description": "撤单单号(撤单时填写)",
  10345. "type": "string"
  10346. },
  10347. "cancelqty": {
  10348. "description": "撤单数量",
  10349. "type": "integer"
  10350. },
  10351. "clienttype": {
  10352. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  10353. "type": "integer"
  10354. },
  10355. "closefreezecharge": {
  10356. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  10357. "type": "number"
  10358. },
  10359. "closeqty": {
  10360. "description": "平仓数量(先建后平操作 需要记录)",
  10361. "type": "integer"
  10362. },
  10363. "closetradeqty": {
  10364. "description": "平仓成交数量(先建后平操作,需要记录)",
  10365. "type": "integer"
  10366. },
  10367. "closeunfreezecharge": {
  10368. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  10369. "type": "number"
  10370. },
  10371. "delistingtype": {
  10372. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  10373. "type": "integer"
  10374. },
  10375. "enableqty": {
  10376. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  10377. "type": "integer"
  10378. },
  10379. "freezecharge": {
  10380. "description": "冻结手续费",
  10381. "type": "number"
  10382. },
  10383. "freezemargin": {
  10384. "description": "冻结保证金(冻结交易金额)",
  10385. "type": "number"
  10386. },
  10387. "goodscode": {
  10388. "description": "商品代码",
  10389. "type": "string"
  10390. },
  10391. "goodsid": {
  10392. "description": "商品ID",
  10393. "type": "integer"
  10394. },
  10395. "goodsname": {
  10396. "description": "商品名称",
  10397. "type": "string"
  10398. },
  10399. "listingselecttype": {
  10400. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10401. "type": "integer"
  10402. },
  10403. "marketid": {
  10404. "description": "市场ID",
  10405. "type": "integer"
  10406. },
  10407. "marketname": {
  10408. "description": "市场名称",
  10409. "type": "string"
  10410. },
  10411. "openfreezecharge": {
  10412. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  10413. "type": "number"
  10414. },
  10415. "openqty": {
  10416. "description": "开仓数量(先建后平操作,需要记录)",
  10417. "type": "integer"
  10418. },
  10419. "opentradeqty": {
  10420. "description": "开仓成交数量(先建后平操作,需要记录)",
  10421. "type": "integer"
  10422. },
  10423. "openunfreezecharge": {
  10424. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  10425. "type": "number"
  10426. },
  10427. "operatetype": {
  10428. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  10429. "type": "integer"
  10430. },
  10431. "operatorid": {
  10432. "description": "登录账号(LoginID)",
  10433. "type": "integer"
  10434. },
  10435. "orderid": {
  10436. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10437. "type": "string"
  10438. },
  10439. "orderprice": {
  10440. "description": "委托价格",
  10441. "type": "number"
  10442. },
  10443. "orderqty": {
  10444. "description": "委托数量",
  10445. "type": "integer"
  10446. },
  10447. "ordersrc": {
  10448. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  10449. "type": "integer"
  10450. },
  10451. "orderstatus": {
  10452. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10453. "type": "integer"
  10454. },
  10455. "ordertime": {
  10456. "description": "委托时间",
  10457. "type": "string"
  10458. },
  10459. "preorderid": {
  10460. "description": "关联预埋单号(止盈止损单时填写)",
  10461. "type": "string"
  10462. },
  10463. "pricemode": {
  10464. "description": "取价方式 - 1:市价 2: 限价",
  10465. "type": "integer"
  10466. },
  10467. "relatedid": {
  10468. "description": "关联单号(交割单)",
  10469. "type": "string"
  10470. },
  10471. "tradedate": {
  10472. "description": "交易日(yyyyMMdd)",
  10473. "type": "string"
  10474. },
  10475. "trademode": {
  10476. "description": "交易模式",
  10477. "type": "integer"
  10478. },
  10479. "tradeqty": {
  10480. "description": "成交数量",
  10481. "type": "integer"
  10482. },
  10483. "unfreezecharge": {
  10484. "description": "解冻手续费",
  10485. "type": "number"
  10486. },
  10487. "unfreezemargin": {
  10488. "description": "解冻保证金",
  10489. "type": "number"
  10490. },
  10491. "validtime": {
  10492. "description": "有效期限",
  10493. "type": "string"
  10494. },
  10495. "validtype": {
  10496. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  10497. "type": "integer"
  10498. },
  10499. "volumetype": {
  10500. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  10501. "type": "integer"
  10502. }
  10503. }
  10504. },
  10505. "order.QueryTradePositionRsp": {
  10506. "type": "object",
  10507. "required": [
  10508. "goodsid"
  10509. ],
  10510. "properties": {
  10511. "accountid": {
  10512. "description": "资金账户",
  10513. "type": "integer"
  10514. },
  10515. "agreeunit": {
  10516. "description": "合约单位",
  10517. "type": "number"
  10518. },
  10519. "averageprice": {
  10520. "description": "持仓均价",
  10521. "type": "number"
  10522. },
  10523. "buyorsell": {
  10524. "description": "方向 - 0:买 1:卖",
  10525. "type": "integer"
  10526. },
  10527. "closetotalqty": {
  10528. "description": "平仓总数量",
  10529. "type": "integer"
  10530. },
  10531. "curholderamount": {
  10532. "description": "当前持仓总金额[商品币种]",
  10533. "type": "number"
  10534. },
  10535. "curpositionqty": {
  10536. "description": "当前持仓总数量",
  10537. "type": "integer"
  10538. },
  10539. "currencyid": {
  10540. "description": "报价货币ID",
  10541. "type": "integer"
  10542. },
  10543. "curtdposition": {
  10544. "description": "期末今日头寸",
  10545. "type": "integer"
  10546. },
  10547. "decimalplace": {
  10548. "description": "报价小数位",
  10549. "type": "integer"
  10550. },
  10551. "enableqty": {
  10552. "description": "可用量",
  10553. "type": "integer"
  10554. },
  10555. "fretdposition": {
  10556. "description": "冻结今日头寸",
  10557. "type": "integer"
  10558. },
  10559. "frozenqty": {
  10560. "description": "持仓冻结数量",
  10561. "type": "integer"
  10562. },
  10563. "goodscode": {
  10564. "description": "商品代码",
  10565. "type": "string"
  10566. },
  10567. "goodsid": {
  10568. "description": "商品Id",
  10569. "type": "integer"
  10570. },
  10571. "goodsname": {
  10572. "description": "商品名称",
  10573. "type": "string"
  10574. },
  10575. "goodunit": {
  10576. "description": "报价单位",
  10577. "type": "string"
  10578. },
  10579. "goodunitid": {
  10580. "description": "报价单位ID",
  10581. "type": "integer"
  10582. },
  10583. "holderamount": {
  10584. "description": "期初持仓总金额[商品币种]",
  10585. "type": "number"
  10586. },
  10587. "marketid": {
  10588. "description": "所属市场ID",
  10589. "type": "integer"
  10590. },
  10591. "openreqqty": {
  10592. "description": "开仓申请数量(用于比较最大持仓数量)",
  10593. "type": "integer"
  10594. },
  10595. "opentotalqty": {
  10596. "description": "开仓总数量",
  10597. "type": "integer"
  10598. },
  10599. "otherfrozenqty": {
  10600. "description": "持仓其他冻结数量(交割冻结)",
  10601. "type": "integer"
  10602. },
  10603. "positionqty": {
  10604. "description": "期初持仓数量",
  10605. "type": "integer"
  10606. },
  10607. "tnqty": {
  10608. "description": "T+N冻结总量",
  10609. "type": "integer"
  10610. },
  10611. "tnusedqty": {
  10612. "description": "T+N使用量(可以使用T+N的冻结数量)",
  10613. "type": "integer"
  10614. },
  10615. "trademode": {
  10616. "description": "交易模式",
  10617. "type": "integer"
  10618. },
  10619. "usedmargin": {
  10620. "description": "占用保证金[商品币种]",
  10621. "type": "number"
  10622. }
  10623. }
  10624. },
  10625. "quote.HistoryData": {
  10626. "type": "object",
  10627. "properties": {
  10628. "c": {
  10629. "description": "收盘价",
  10630. "type": "number"
  10631. },
  10632. "h": {
  10633. "description": "最高价",
  10634. "type": "number"
  10635. },
  10636. "hv": {
  10637. "description": "持仓量",
  10638. "type": "integer"
  10639. },
  10640. "l": {
  10641. "description": "最低价",
  10642. "type": "number"
  10643. },
  10644. "o": {
  10645. "description": "开盘价",
  10646. "type": "number"
  10647. },
  10648. "s": {
  10649. "description": "结算价,日线周期(包括)以上才有",
  10650. "type": "number"
  10651. },
  10652. "ts": {
  10653. "description": "时间",
  10654. "type": "string"
  10655. },
  10656. "tt": {
  10657. "description": "总金额",
  10658. "type": "number"
  10659. },
  10660. "tv": {
  10661. "description": "总量",
  10662. "type": "integer"
  10663. }
  10664. }
  10665. },
  10666. "quote.QueryTSDataRsp": {
  10667. "type": "object",
  10668. "properties": {
  10669. "decimalPlace": {
  10670. "description": "小数位",
  10671. "type": "integer"
  10672. },
  10673. "endTime": {
  10674. "description": "结束时间",
  10675. "type": "string"
  10676. },
  10677. "goodsCode": {
  10678. "description": "商品代码",
  10679. "type": "string"
  10680. },
  10681. "historyDatas": {
  10682. "description": "历史数据",
  10683. "type": "array",
  10684. "items": {
  10685. "$ref": "#/definitions/quote.HistoryData"
  10686. }
  10687. },
  10688. "preSettle": {
  10689. "description": "昨结",
  10690. "type": "number"
  10691. },
  10692. "startTime": {
  10693. "description": "开始时间",
  10694. "type": "string"
  10695. },
  10696. "tradeDate": {
  10697. "description": "交易日",
  10698. "type": "string"
  10699. }
  10700. }
  10701. },
  10702. "szdz.QueryConvertLogRsp": {
  10703. "type": "object",
  10704. "required": [
  10705. "logid"
  10706. ],
  10707. "properties": {
  10708. "accountid": {
  10709. "description": "资金账户ID",
  10710. "type": "integer"
  10711. },
  10712. "clientticket": {
  10713. "description": "客户端流水号",
  10714. "type": "string"
  10715. },
  10716. "converttype": {
  10717. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  10718. "type": "integer"
  10719. },
  10720. "createtime": {
  10721. "description": "记账时间",
  10722. "type": "string"
  10723. },
  10724. "daymaxvalue": {
  10725. "description": "配置当日最大转入限制",
  10726. "type": "number"
  10727. },
  10728. "daymaxvalue2": {
  10729. "description": "配置当日最大转入限制(转入)",
  10730. "type": "number"
  10731. },
  10732. "goodscode": {
  10733. "description": "商品代码",
  10734. "type": "string"
  10735. },
  10736. "goodsname": {
  10737. "description": "商品名称",
  10738. "type": "string"
  10739. },
  10740. "handlestatus": {
  10741. "description": "处理状态",
  10742. "type": "integer"
  10743. },
  10744. "innergoodsid": {
  10745. "description": "内部商品ID",
  10746. "type": "integer"
  10747. },
  10748. "inratio": {
  10749. "description": "配置转入比值",
  10750. "type": "integer"
  10751. },
  10752. "invalue": {
  10753. "description": "目标值",
  10754. "type": "number"
  10755. },
  10756. "logid": {
  10757. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10758. "type": "integer"
  10759. },
  10760. "mobile": {
  10761. "description": "手机号码(加密存储)",
  10762. "type": "string"
  10763. },
  10764. "outergoodscode": {
  10765. "description": "外部商品代码[JD\\PD]",
  10766. "type": "string"
  10767. },
  10768. "outratio": {
  10769. "description": "配置转出比值",
  10770. "type": "integer"
  10771. },
  10772. "outvalue": {
  10773. "description": "源值",
  10774. "type": "number"
  10775. },
  10776. "pddecimalplace": {
  10777. "description": "PD小数位",
  10778. "type": "integer"
  10779. },
  10780. "qty": {
  10781. "description": "数量",
  10782. "type": "string"
  10783. },
  10784. "remark": {
  10785. "description": "备注",
  10786. "type": "string"
  10787. },
  10788. "sessionid": {
  10789. "description": "会话ID",
  10790. "type": "integer"
  10791. },
  10792. "timemaxvalue": {
  10793. "description": "配置单次最大转入限制",
  10794. "type": "number"
  10795. },
  10796. "timemaxvalue2": {
  10797. "description": "配置单次最大转入限制(转入)",
  10798. "type": "number"
  10799. },
  10800. "timeminvalue": {
  10801. "description": "配置单次最小数量限制",
  10802. "type": "number"
  10803. },
  10804. "timeminvalue2": {
  10805. "description": "配置单次最小数量限制(转入)",
  10806. "type": "number"
  10807. },
  10808. "tradedate": {
  10809. "description": "交易日(yyyyMMdd)",
  10810. "type": "string"
  10811. },
  10812. "userid": {
  10813. "description": "用户ID",
  10814. "type": "integer"
  10815. }
  10816. }
  10817. },
  10818. "szdz.QueryGoodsPickupRsp": {
  10819. "type": "object",
  10820. "required": [
  10821. "takeorderid"
  10822. ],
  10823. "properties": {
  10824. "accountid": {
  10825. "description": "账户ID",
  10826. "type": "integer"
  10827. },
  10828. "address": {
  10829. "description": "提货人详细地址",
  10830. "type": "string"
  10831. },
  10832. "auditer": {
  10833. "description": "审核人",
  10834. "type": "integer"
  10835. },
  10836. "audittime": {
  10837. "description": "审核时间",
  10838. "type": "string"
  10839. },
  10840. "cardnum": {
  10841. "description": "提货人证件号码",
  10842. "type": "string"
  10843. },
  10844. "cardtypeid": {
  10845. "description": "提货人证件类型",
  10846. "type": "integer"
  10847. },
  10848. "checkremark": {
  10849. "description": "审核备注",
  10850. "type": "string"
  10851. },
  10852. "goodscode": {
  10853. "description": "商品代码",
  10854. "type": "string"
  10855. },
  10856. "goodsid": {
  10857. "description": "商品ID",
  10858. "type": "integer"
  10859. },
  10860. "goodsname": {
  10861. "description": "商品名称",
  10862. "type": "string"
  10863. },
  10864. "handlestatus": {
  10865. "description": "处理状态",
  10866. "type": "integer"
  10867. },
  10868. "marketid": {
  10869. "description": "市场ID",
  10870. "type": "integer"
  10871. },
  10872. "phonenum": {
  10873. "description": "提货人联系方式",
  10874. "type": "string"
  10875. },
  10876. "qty": {
  10877. "description": "提货数量",
  10878. "type": "number"
  10879. },
  10880. "recivername": {
  10881. "description": "提货人姓名",
  10882. "type": "string"
  10883. },
  10884. "reqtime": {
  10885. "description": "更新时间",
  10886. "type": "string"
  10887. },
  10888. "takemode": {
  10889. "description": "提货方式 - 2:自提 3:配送",
  10890. "type": "integer"
  10891. },
  10892. "takeorderid": {
  10893. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  10894. "type": "string"
  10895. },
  10896. "takeorderstatus": {
  10897. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10898. "type": "integer"
  10899. },
  10900. "takeremark": {
  10901. "description": "提货备注",
  10902. "type": "string"
  10903. },
  10904. "tradedate": {
  10905. "description": "交易日(yyyyMMdd)",
  10906. "type": "string"
  10907. },
  10908. "userid": {
  10909. "description": "用户ID",
  10910. "type": "integer"
  10911. }
  10912. }
  10913. },
  10914. "szdz.QueryRecieptOrderRsp": {
  10915. "type": "object",
  10916. "required": [
  10917. "ordertime"
  10918. ],
  10919. "properties": {
  10920. "accountName": {
  10921. "description": "所属账号名称(已脱敏)",
  10922. "type": "string"
  10923. },
  10924. "accountid": {
  10925. "description": "资金账号",
  10926. "type": "integer"
  10927. },
  10928. "buyorsell": {
  10929. "description": "方向 - 0:买 1:卖",
  10930. "type": "integer"
  10931. },
  10932. "enableqty": {
  10933. "description": "可摘数量",
  10934. "type": "integer"
  10935. },
  10936. "goodscode": {
  10937. "description": "商品代码",
  10938. "type": "string"
  10939. },
  10940. "goodsid": {
  10941. "description": "商品ID",
  10942. "type": "integer"
  10943. },
  10944. "goodsname": {
  10945. "description": "商品名称",
  10946. "type": "string"
  10947. },
  10948. "orderid": {
  10949. "description": "委托单号",
  10950. "type": "string"
  10951. },
  10952. "orderprice": {
  10953. "description": "委托价格",
  10954. "type": "number"
  10955. },
  10956. "ordertime": {
  10957. "description": "委托时间",
  10958. "type": "string"
  10959. },
  10960. "tradedate": {
  10961. "description": "交易日(yyyyMMdd)",
  10962. "type": "string"
  10963. }
  10964. }
  10965. },
  10966. "szdz.QuerySZDZTradePositionRsp": {
  10967. "type": "object",
  10968. "properties": {
  10969. "accountid": {
  10970. "description": "账号Id",
  10971. "type": "integer"
  10972. },
  10973. "agreeunit": {
  10974. "description": "合约单位",
  10975. "type": "number"
  10976. },
  10977. "averageprice": {
  10978. "description": "持仓均价",
  10979. "type": "number"
  10980. },
  10981. "buyorsell": {
  10982. "description": "方向 - 0:买 1:卖",
  10983. "type": "integer"
  10984. },
  10985. "closetotalqty": {
  10986. "description": "平仓总数量",
  10987. "type": "integer"
  10988. },
  10989. "curholderamount": {
  10990. "description": "当前持仓总金额",
  10991. "type": "number"
  10992. },
  10993. "curpositionqty": {
  10994. "description": "当前持仓总数量",
  10995. "type": "integer"
  10996. },
  10997. "currencyid": {
  10998. "description": "报价货币ID",
  10999. "type": "integer"
  11000. },
  11001. "curtdposition": {
  11002. "description": "期末今日头寸",
  11003. "type": "integer"
  11004. },
  11005. "decimalplace": {
  11006. "description": "报价小数位",
  11007. "type": "integer"
  11008. },
  11009. "enableqty": {
  11010. "description": "可用量",
  11011. "type": "integer"
  11012. },
  11013. "fretdposition": {
  11014. "description": "冻结今日头寸",
  11015. "type": "integer"
  11016. },
  11017. "frozenqty": {
  11018. "description": "持仓冻结数量",
  11019. "type": "integer"
  11020. },
  11021. "goodscode": {
  11022. "description": "商品代码(内部)",
  11023. "type": "string"
  11024. },
  11025. "goodsid": {
  11026. "description": "商品Id",
  11027. "type": "integer"
  11028. },
  11029. "goodsname": {
  11030. "description": "商品名称",
  11031. "type": "string"
  11032. },
  11033. "goodunit": {
  11034. "description": "报价单位",
  11035. "type": "string"
  11036. },
  11037. "goodunitid": {
  11038. "description": "报价单位ID",
  11039. "type": "integer"
  11040. },
  11041. "holderamount": {
  11042. "description": "期初持仓总金额",
  11043. "type": "number"
  11044. },
  11045. "marketid": {
  11046. "description": "市场ID",
  11047. "type": "integer"
  11048. },
  11049. "openreqqty": {
  11050. "description": "开仓申请数量",
  11051. "type": "integer"
  11052. },
  11053. "opentotalqty": {
  11054. "description": "开仓总数量",
  11055. "type": "integer"
  11056. },
  11057. "otherfrozenqty": {
  11058. "description": "持仓其他冻结数量(交割冻结)",
  11059. "type": "integer"
  11060. },
  11061. "positionqty": {
  11062. "description": "期初持仓数量",
  11063. "type": "integer"
  11064. },
  11065. "szdz3freezqty": {
  11066. "description": "尚志大宗转换冻结总数量",
  11067. "type": "integer"
  11068. },
  11069. "tnqty": {
  11070. "description": "T+N冻结总量",
  11071. "type": "integer"
  11072. },
  11073. "tnusedqty": {
  11074. "description": "T+N使用量",
  11075. "type": "integer"
  11076. },
  11077. "trademode": {
  11078. "description": "交易模式",
  11079. "type": "integer"
  11080. },
  11081. "usedmargin": {
  11082. "description": "占用保证金",
  11083. "type": "number"
  11084. }
  11085. }
  11086. },
  11087. "taaccount.QueryAmountLogRsp": {
  11088. "type": "object",
  11089. "required": [
  11090. "accountid",
  11091. "amount",
  11092. "amountadjusttype",
  11093. "autoid",
  11094. "balance",
  11095. "createtime",
  11096. "currentbalance",
  11097. "operatetype"
  11098. ],
  11099. "properties": {
  11100. "OPERATETYPENAME": {
  11101. "description": "资金操作类型名称",
  11102. "type": "string"
  11103. },
  11104. "accountid": {
  11105. "description": "资金账户ID",
  11106. "type": "integer"
  11107. },
  11108. "agoodscode": {
  11109. "description": "竞拍商品代码",
  11110. "type": "string"
  11111. },
  11112. "agoodsname": {
  11113. "description": "竞拍商品名称",
  11114. "type": "string"
  11115. },
  11116. "amount": {
  11117. "description": "资金金额",
  11118. "type": "number"
  11119. },
  11120. "amountadjusttype": {
  11121. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  11122. "type": "integer"
  11123. },
  11124. "autoid": {
  11125. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  11126. "type": "integer"
  11127. },
  11128. "balance": {
  11129. "description": "期初余额",
  11130. "type": "number"
  11131. },
  11132. "businesscode": {
  11133. "description": "业务编号",
  11134. "type": "integer"
  11135. },
  11136. "createtime": {
  11137. "description": "发生时间",
  11138. "type": "string"
  11139. },
  11140. "currencyid": {
  11141. "description": "币种ID",
  11142. "type": "integer"
  11143. },
  11144. "currentbalance": {
  11145. "description": "期末余额(变动后金额)",
  11146. "type": "number"
  11147. },
  11148. "dgoodscode": {
  11149. "description": "交割商品代码",
  11150. "type": "string"
  11151. },
  11152. "dgoodsname": {
  11153. "description": "交割商品名称",
  11154. "type": "string"
  11155. },
  11156. "goodscode": {
  11157. "description": "商品代码",
  11158. "type": "string"
  11159. },
  11160. "goodsid": {
  11161. "description": "商品ID",
  11162. "type": "integer"
  11163. },
  11164. "goodsname": {
  11165. "description": "商品名称",
  11166. "type": "string"
  11167. },
  11168. "marketid": {
  11169. "description": "市场ID",
  11170. "type": "integer"
  11171. },
  11172. "marketname": {
  11173. "description": "市场名称",
  11174. "type": "string"
  11175. },
  11176. "moneyticket": {
  11177. "description": "资金流水号:银行端流水号",
  11178. "type": "integer"
  11179. },
  11180. "operatetype": {
  11181. "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:营销收款",
  11182. "type": "integer"
  11183. },
  11184. "relationorderid": {
  11185. "description": "关联单号",
  11186. "type": "string"
  11187. },
  11188. "remark": {
  11189. "description": "备注",
  11190. "type": "string"
  11191. },
  11192. "trademode": {
  11193. "description": "交易模式",
  11194. "type": "integer"
  11195. }
  11196. }
  11197. },
  11198. "taaccount.QueryHisAmountLogRsp": {
  11199. "type": "object",
  11200. "required": [
  11201. "accountid",
  11202. "amount",
  11203. "amountadjusttype",
  11204. "autoid",
  11205. "balance",
  11206. "createtime",
  11207. "currentbalance",
  11208. "histradedate",
  11209. "operatetype"
  11210. ],
  11211. "properties": {
  11212. "OPERATETYPENAME": {
  11213. "description": "资金操作类型名称",
  11214. "type": "string"
  11215. },
  11216. "accountid": {
  11217. "description": "资金账户ID",
  11218. "type": "integer"
  11219. },
  11220. "agoodscode": {
  11221. "description": "竞拍商品代码",
  11222. "type": "string"
  11223. },
  11224. "agoodsname": {
  11225. "description": "竞拍商品名称",
  11226. "type": "string"
  11227. },
  11228. "amount": {
  11229. "description": "资金金额",
  11230. "type": "number"
  11231. },
  11232. "amountadjusttype": {
  11233. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  11234. "type": "integer"
  11235. },
  11236. "autoid": {
  11237. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  11238. "type": "integer"
  11239. },
  11240. "balance": {
  11241. "description": "期初余额",
  11242. "type": "number"
  11243. },
  11244. "businesscode": {
  11245. "description": "业务编号",
  11246. "type": "integer"
  11247. },
  11248. "createtime": {
  11249. "description": "发生时间",
  11250. "type": "string"
  11251. },
  11252. "currencyid": {
  11253. "description": "币种ID",
  11254. "type": "integer"
  11255. },
  11256. "currentbalance": {
  11257. "description": "期末余额(变动后金额)",
  11258. "type": "number"
  11259. },
  11260. "dgoodscode": {
  11261. "description": "交割商品代码",
  11262. "type": "string"
  11263. },
  11264. "dgoodsname": {
  11265. "description": "交割商品名称",
  11266. "type": "string"
  11267. },
  11268. "goodscode": {
  11269. "description": "商品代码",
  11270. "type": "string"
  11271. },
  11272. "goodsid": {
  11273. "description": "商品ID",
  11274. "type": "integer"
  11275. },
  11276. "goodsname": {
  11277. "description": "商品名称",
  11278. "type": "string"
  11279. },
  11280. "histradedate": {
  11281. "description": "历史交易日",
  11282. "type": "string"
  11283. },
  11284. "isvaliddata": {
  11285. "description": "是否有效 - 0:无效 1:有效",
  11286. "type": "integer"
  11287. },
  11288. "marketid": {
  11289. "description": "市场ID",
  11290. "type": "integer"
  11291. },
  11292. "marketname": {
  11293. "description": "市场名称",
  11294. "type": "string"
  11295. },
  11296. "moneyticket": {
  11297. "description": "资金流水号:银行端流水号",
  11298. "type": "integer"
  11299. },
  11300. "operatetype": {
  11301. "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:营销收款",
  11302. "type": "integer"
  11303. },
  11304. "relationorderid": {
  11305. "description": "关联单号",
  11306. "type": "string"
  11307. },
  11308. "remark": {
  11309. "description": "备注",
  11310. "type": "string"
  11311. },
  11312. "trademode": {
  11313. "description": "交易模式",
  11314. "type": "integer"
  11315. }
  11316. }
  11317. },
  11318. "trade.QueryRecieptOrderRsp": {
  11319. "type": "object",
  11320. "required": [
  11321. "ordertime"
  11322. ],
  11323. "properties": {
  11324. "accountName": {
  11325. "description": "所属账号名称(已脱敏)",
  11326. "type": "string"
  11327. },
  11328. "accountid": {
  11329. "description": "资金账号",
  11330. "type": "integer"
  11331. },
  11332. "buyorsell": {
  11333. "description": "方向 - 0:买 1:卖",
  11334. "type": "integer"
  11335. },
  11336. "enableqty": {
  11337. "description": "可摘数量",
  11338. "type": "integer"
  11339. },
  11340. "goodscode": {
  11341. "description": "商品代码",
  11342. "type": "string"
  11343. },
  11344. "goodsid": {
  11345. "description": "商品ID",
  11346. "type": "integer"
  11347. },
  11348. "goodsname": {
  11349. "description": "商品名称",
  11350. "type": "string"
  11351. },
  11352. "orderid": {
  11353. "description": "委托单号",
  11354. "type": "string"
  11355. },
  11356. "orderprice": {
  11357. "description": "委托价格",
  11358. "type": "number"
  11359. },
  11360. "ordertime": {
  11361. "description": "委托时间",
  11362. "type": "string"
  11363. },
  11364. "tradedate": {
  11365. "description": "交易日(yyyyMMdd)",
  11366. "type": "string"
  11367. }
  11368. }
  11369. }
  11370. },
  11371. "securityDefinitions": {
  11372. "ApiKeyAuth": {
  11373. "type": "apiKey",
  11374. "name": "Authorization",
  11375. "in": "header"
  11376. }
  11377. }
  11378. }`
  11379. type swaggerInfo struct {
  11380. Version string
  11381. Host string
  11382. BasePath string
  11383. Schemes []string
  11384. Title string
  11385. Description string
  11386. }
  11387. // SwaggerInfo holds exported Swagger Info so clients can modify it
  11388. var SwaggerInfo = swaggerInfo{
  11389. Version: "1.0",
  11390. Host: "",
  11391. BasePath: "/api",
  11392. Schemes: []string{},
  11393. Title: "MTP2.0 查询服务 API",
  11394. Description: "新的查询服务,替代原通用查询服务。",
  11395. }
  11396. type s struct{}
  11397. func (s *s) ReadDoc() string {
  11398. sInfo := SwaggerInfo
  11399. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  11400. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  11401. "marshal": func(v interface{}) string {
  11402. a, _ := json.Marshal(v)
  11403. return string(a)
  11404. },
  11405. }).Parse(doc)
  11406. if err != nil {
  11407. return doc
  11408. }
  11409. var tpl bytes.Buffer
  11410. if err := t.Execute(&tpl, sInfo); err != nil {
  11411. return doc
  11412. }
  11413. return tpl.String()
  11414. }
  11415. func init() {
  11416. swag.Register(swag.Name, &s{})
  11417. }