docs.go 375 KB

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