docs.go 344 KB

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