docs.go 438 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "responses": {
  378. "200": {
  379. "description": "OK",
  380. "schema": {
  381. "$ref": "#/definitions/models.Enumdicitem"
  382. }
  383. },
  384. "500": {
  385. "description": "Internal Server Error",
  386. "schema": {
  387. "$ref": "#/definitions/app.Response"
  388. }
  389. }
  390. }
  391. }
  392. },
  393. "/Common/GetServerTime": {
  394. "get": {
  395. "produces": [
  396. "application/json"
  397. ],
  398. "tags": [
  399. "通用服务"
  400. ],
  401. "summary": "获取服务器时间",
  402. "responses": {
  403. "200": {
  404. "description": "OK",
  405. "schema": {
  406. "$ref": "#/definitions/app.Response"
  407. }
  408. },
  409. "500": {
  410. "description": "Internal Server Error",
  411. "schema": {
  412. "$ref": "#/definitions/app.Response"
  413. }
  414. }
  415. }
  416. }
  417. },
  418. "/Common/NoticeReaded": {
  419. "post": {
  420. "security": [
  421. {
  422. "ApiKeyAuth": []
  423. }
  424. ],
  425. "produces": [
  426. "application/json"
  427. ],
  428. "tags": [
  429. "通用服务"
  430. ],
  431. "summary": "通知公告设置已读请求",
  432. "parameters": [
  433. {
  434. "type": "integer",
  435. "description": "登录账号",
  436. "name": "loginID",
  437. "in": "query",
  438. "required": true
  439. },
  440. {
  441. "type": "integer",
  442. "description": "通知公告ID",
  443. "name": "noticeID",
  444. "in": "query",
  445. "required": true
  446. }
  447. ],
  448. "responses": {
  449. "200": {
  450. "description": "OK",
  451. "schema": {
  452. "$ref": "#/definitions/app.Response"
  453. }
  454. },
  455. "500": {
  456. "description": "Internal Server Error",
  457. "schema": {
  458. "$ref": "#/definitions/app.Response"
  459. }
  460. }
  461. }
  462. }
  463. },
  464. "/Common/QueryImageConfigs": {
  465. "get": {
  466. "produces": [
  467. "application/json"
  468. ],
  469. "tags": [
  470. "通用服务"
  471. ],
  472. "summary": "查询轮播图配置信息",
  473. "parameters": [
  474. {
  475. "type": "integer",
  476. "description": "类型 - 1:App首页轮播 2:我的",
  477. "name": "imageType",
  478. "in": "query"
  479. }
  480. ],
  481. "responses": {
  482. "200": {
  483. "description": "OK",
  484. "schema": {
  485. "$ref": "#/definitions/models.Szdz2imageconfig"
  486. }
  487. },
  488. "500": {
  489. "description": "Internal Server Error",
  490. "schema": {
  491. "$ref": "#/definitions/app.Response"
  492. }
  493. }
  494. }
  495. }
  496. },
  497. "/Common/QueryNotice": {
  498. "get": {
  499. "security": [
  500. {
  501. "ApiKeyAuth": []
  502. }
  503. ],
  504. "produces": [
  505. "application/json"
  506. ],
  507. "tags": [
  508. "通用服务"
  509. ],
  510. "summary": "通知公告系统消息查询",
  511. "parameters": [
  512. {
  513. "type": "integer",
  514. "description": "页码",
  515. "name": "page",
  516. "in": "query"
  517. },
  518. {
  519. "type": "integer",
  520. "description": "每页条数",
  521. "name": "pagesize",
  522. "in": "query"
  523. },
  524. {
  525. "type": "integer",
  526. "description": "登录账号",
  527. "name": "loginID",
  528. "in": "query",
  529. "required": true
  530. },
  531. {
  532. "type": "integer",
  533. "description": "消息类型 - 1:公告通知 2:系统消息",
  534. "name": "msgType",
  535. "in": "query"
  536. },
  537. {
  538. "type": "boolean",
  539. "description": "是否只获取未读信息",
  540. "name": "onlyUnRead",
  541. "in": "query"
  542. }
  543. ],
  544. "responses": {
  545. "200": {
  546. "description": "OK",
  547. "schema": {
  548. "$ref": "#/definitions/common.QueryNoticeRsp"
  549. }
  550. },
  551. "500": {
  552. "description": "Internal Server Error",
  553. "schema": {
  554. "$ref": "#/definitions/app.Response"
  555. }
  556. }
  557. }
  558. }
  559. },
  560. "/Common/QueryProvincesAndCities": {
  561. "get": {
  562. "produces": [
  563. "application/json"
  564. ],
  565. "tags": [
  566. "通用服务"
  567. ],
  568. "summary": "查询省市信息(不包括区)",
  569. "parameters": [
  570. {
  571. "type": "integer",
  572. "description": "省ID",
  573. "name": "provinceID",
  574. "in": "query"
  575. }
  576. ],
  577. "responses": {
  578. "200": {
  579. "description": "OK",
  580. "schema": {
  581. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  582. }
  583. },
  584. "500": {
  585. "description": "Internal Server Error",
  586. "schema": {
  587. "$ref": "#/definitions/app.Response"
  588. }
  589. }
  590. }
  591. }
  592. },
  593. "/Common/QueryTableDefine": {
  594. "get": {
  595. "produces": [
  596. "application/json"
  597. ],
  598. "tags": [
  599. "通用服务"
  600. ],
  601. "summary": "查询交易端列表头信息",
  602. "parameters": [
  603. {
  604. "type": "string",
  605. "description": "表key",
  606. "name": "tableKey",
  607. "in": "query"
  608. },
  609. {
  610. "type": "integer",
  611. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  612. "name": "tableType",
  613. "in": "query"
  614. }
  615. ],
  616. "responses": {
  617. "200": {
  618. "description": "OK",
  619. "schema": {
  620. "$ref": "#/definitions/common.QueryTableDefineRsp"
  621. }
  622. },
  623. "500": {
  624. "description": "Internal Server Error",
  625. "schema": {
  626. "$ref": "#/definitions/app.Response"
  627. }
  628. }
  629. }
  630. }
  631. },
  632. "/Common/QueryTraderMenu": {
  633. "get": {
  634. "produces": [
  635. "application/json"
  636. ],
  637. "tags": [
  638. "通用服务"
  639. ],
  640. "summary": "查询交易端菜单",
  641. "parameters": [
  642. {
  643. "type": "integer",
  644. "description": "登录账号",
  645. "name": "loginid",
  646. "in": "query",
  647. "required": true
  648. }
  649. ],
  650. "responses": {
  651. "200": {
  652. "description": "OK",
  653. "schema": {
  654. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  655. }
  656. },
  657. "500": {
  658. "description": "Internal Server Error",
  659. "schema": {
  660. "$ref": "#/definitions/app.Response"
  661. }
  662. }
  663. }
  664. }
  665. },
  666. "/Delivery/QueryDeliveryRelation": {
  667. "get": {
  668. "security": [
  669. {
  670. "ApiKeyAuth": []
  671. }
  672. ],
  673. "produces": [
  674. "application/json"
  675. ],
  676. "tags": [
  677. "交割服务"
  678. ],
  679. "summary": "查询商品交割关系表",
  680. "parameters": [
  681. {
  682. "type": "integer",
  683. "description": "商品ID",
  684. "name": "goodsid",
  685. "in": "query"
  686. },
  687. {
  688. "type": "integer",
  689. "description": "品种ID",
  690. "name": "deliverygoodsid",
  691. "in": "query"
  692. },
  693. {
  694. "type": "integer",
  695. "description": "市场ID",
  696. "name": "marketid",
  697. "in": "query"
  698. }
  699. ],
  700. "responses": {
  701. "200": {
  702. "description": "OK",
  703. "schema": {
  704. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  705. }
  706. },
  707. "500": {
  708. "description": "Internal Server Error",
  709. "schema": {
  710. "$ref": "#/definitions/app.Response"
  711. }
  712. }
  713. }
  714. }
  715. },
  716. "/Ermcp/QueryBusinessDj": {
  717. "get": {
  718. "security": [
  719. {
  720. "ApiKeyAuth": []
  721. }
  722. ],
  723. "produces": [
  724. "application/json"
  725. ],
  726. "tags": [
  727. "企业风险管理(app)"
  728. ],
  729. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  730. "responses": {
  731. "200": {
  732. "description": "OK",
  733. "schema": {
  734. "type": "array",
  735. "items": {
  736. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  737. }
  738. }
  739. },
  740. "500": {
  741. "description": "Internal Server Error",
  742. "schema": {
  743. "$ref": "#/definitions/app.Response"
  744. }
  745. }
  746. }
  747. }
  748. },
  749. "/Ermcp/QueryBusinessFp": {
  750. "get": {
  751. "security": [
  752. {
  753. "ApiKeyAuth": []
  754. }
  755. ],
  756. "produces": [
  757. "application/json"
  758. ],
  759. "tags": [
  760. "企业风险管理(app)"
  761. ],
  762. "summary": "查询业务管理(发票)(对应菜单:业务管理/发票)",
  763. "responses": {
  764. "200": {
  765. "description": "OK",
  766. "schema": {
  767. "type": "array",
  768. "items": {
  769. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  770. }
  771. }
  772. },
  773. "500": {
  774. "description": "Internal Server Error",
  775. "schema": {
  776. "$ref": "#/definitions/app.Response"
  777. }
  778. }
  779. }
  780. }
  781. },
  782. "/Ermcp/QueryBusinessJs": {
  783. "get": {
  784. "security": [
  785. {
  786. "ApiKeyAuth": []
  787. }
  788. ],
  789. "produces": [
  790. "application/json"
  791. ],
  792. "tags": [
  793. "企业风险管理(app)"
  794. ],
  795. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  796. "responses": {
  797. "200": {
  798. "description": "OK",
  799. "schema": {
  800. "type": "array",
  801. "items": {
  802. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  803. }
  804. }
  805. },
  806. "500": {
  807. "description": "Internal Server Error",
  808. "schema": {
  809. "$ref": "#/definitions/app.Response"
  810. }
  811. }
  812. }
  813. }
  814. },
  815. "/Ermcp/QueryBusinessKx": {
  816. "get": {
  817. "security": [
  818. {
  819. "ApiKeyAuth": []
  820. }
  821. ],
  822. "produces": [
  823. "application/json"
  824. ],
  825. "tags": [
  826. "企业风险管理(app)"
  827. ],
  828. "summary": "查询业务管理(款项)(对应菜单:业务管理/款项)",
  829. "responses": {
  830. "200": {
  831. "description": "OK",
  832. "schema": {
  833. "type": "array",
  834. "items": {
  835. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  836. }
  837. }
  838. },
  839. "500": {
  840. "description": "Internal Server Error",
  841. "schema": {
  842. "$ref": "#/definitions/app.Response"
  843. }
  844. }
  845. }
  846. }
  847. },
  848. "/Ermcp/QueryContract": {
  849. "get": {
  850. "security": [
  851. {
  852. "ApiKeyAuth": []
  853. }
  854. ],
  855. "produces": [
  856. "application/json"
  857. ],
  858. "tags": [
  859. "企业风险管理(app)"
  860. ],
  861. "summary": "查询合同(采购和销售)",
  862. "parameters": [
  863. {
  864. "type": "integer",
  865. "description": "合同类型 1-采购, -1-销售",
  866. "name": "contracttype",
  867. "in": "query",
  868. "required": true
  869. },
  870. {
  871. "type": "integer",
  872. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  873. "name": "QueryType",
  874. "in": "query",
  875. "required": true
  876. }
  877. ],
  878. "responses": {
  879. "200": {
  880. "description": "OK",
  881. "schema": {
  882. "type": "array",
  883. "items": {
  884. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  885. }
  886. }
  887. },
  888. "500": {
  889. "description": "Internal Server Error",
  890. "schema": {
  891. "$ref": "#/definitions/app.Response"
  892. }
  893. }
  894. }
  895. }
  896. },
  897. "/Ermcp/QueryHedgePlan": {
  898. "get": {
  899. "security": [
  900. {
  901. "ApiKeyAuth": []
  902. }
  903. ],
  904. "produces": [
  905. "application/json"
  906. ],
  907. "tags": [
  908. "企业风险管理(app)"
  909. ],
  910. "summary": "查询套保计划",
  911. "parameters": [
  912. {
  913. "type": "integer",
  914. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  915. "name": "HedgePlanStatus",
  916. "in": "query",
  917. "required": true
  918. }
  919. ],
  920. "responses": {
  921. "200": {
  922. "description": "OK",
  923. "schema": {
  924. "type": "array",
  925. "items": {
  926. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  927. }
  928. }
  929. },
  930. "500": {
  931. "description": "Internal Server Error",
  932. "schema": {
  933. "$ref": "#/definitions/app.Response"
  934. }
  935. }
  936. }
  937. }
  938. },
  939. "/Ermcp/QuerySpotContract": {
  940. "get": {
  941. "security": [
  942. {
  943. "ApiKeyAuth": []
  944. }
  945. ],
  946. "produces": [
  947. "application/json"
  948. ],
  949. "tags": [
  950. "企业风险管理(app)"
  951. ],
  952. "summary": "查询现货合同(对应现货合同菜单)",
  953. "parameters": [
  954. {
  955. "type": "integer",
  956. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  957. "name": "QueryType",
  958. "in": "query",
  959. "required": true
  960. }
  961. ],
  962. "responses": {
  963. "200": {
  964. "description": "OK",
  965. "schema": {
  966. "type": "array",
  967. "items": {
  968. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  969. }
  970. }
  971. },
  972. "500": {
  973. "description": "Internal Server Error",
  974. "schema": {
  975. "$ref": "#/definitions/app.Response"
  976. }
  977. }
  978. }
  979. }
  980. },
  981. "/Ermcp/QueryUserInfo": {
  982. "get": {
  983. "security": [
  984. {
  985. "ApiKeyAuth": []
  986. }
  987. ],
  988. "produces": [
  989. "application/json"
  990. ],
  991. "tags": [
  992. "企业风险管理(app)"
  993. ],
  994. "summary": "查询客户资料",
  995. "parameters": [
  996. {
  997. "type": "string",
  998. "description": "账户状态(可填多个, 逗号隔开) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  999. "name": "AccountStatus",
  1000. "in": "query",
  1001. "required": true
  1002. }
  1003. ],
  1004. "responses": {
  1005. "200": {
  1006. "description": "OK",
  1007. "schema": {
  1008. "type": "array",
  1009. "items": {
  1010. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  1011. }
  1012. }
  1013. },
  1014. "500": {
  1015. "description": "Internal Server Error",
  1016. "schema": {
  1017. "$ref": "#/definitions/app.Response"
  1018. }
  1019. }
  1020. }
  1021. }
  1022. },
  1023. "/Erms2/QueryArbitrageStrategy": {
  1024. "get": {
  1025. "security": [
  1026. {
  1027. "ApiKeyAuth": []
  1028. }
  1029. ],
  1030. "produces": [
  1031. "application/json"
  1032. ],
  1033. "tags": [
  1034. "风险管理"
  1035. ],
  1036. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  1037. "parameters": [
  1038. {
  1039. "type": "integer",
  1040. "description": "账户ID",
  1041. "name": "userid",
  1042. "in": "query",
  1043. "required": true
  1044. },
  1045. {
  1046. "type": "string",
  1047. "description": "商品组ID(品种ID)",
  1048. "name": "goodsgroupid",
  1049. "in": "query"
  1050. }
  1051. ],
  1052. "responses": {
  1053. "200": {
  1054. "description": "OK",
  1055. "schema": {
  1056. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  1057. }
  1058. },
  1059. "500": {
  1060. "description": "Internal Server Error",
  1061. "schema": {
  1062. "$ref": "#/definitions/app.Response"
  1063. }
  1064. }
  1065. }
  1066. }
  1067. },
  1068. "/Erms2/QueryInnerTradeDetail": {
  1069. "get": {
  1070. "security": [
  1071. {
  1072. "ApiKeyAuth": []
  1073. }
  1074. ],
  1075. "produces": [
  1076. "application/json"
  1077. ],
  1078. "tags": [
  1079. "风险管理"
  1080. ],
  1081. "summary": "查询内部成交单信息",
  1082. "parameters": [
  1083. {
  1084. "type": "integer",
  1085. "description": "资金账户",
  1086. "name": "accountid",
  1087. "in": "query",
  1088. "required": true
  1089. }
  1090. ],
  1091. "responses": {
  1092. "200": {
  1093. "description": "OK",
  1094. "schema": {
  1095. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  1096. }
  1097. },
  1098. "500": {
  1099. "description": "Internal Server Error",
  1100. "schema": {
  1101. "$ref": "#/definitions/app.Response"
  1102. }
  1103. }
  1104. }
  1105. }
  1106. },
  1107. "/Erms2/QuerySpotContract": {
  1108. "get": {
  1109. "security": [
  1110. {
  1111. "ApiKeyAuth": []
  1112. }
  1113. ],
  1114. "produces": [
  1115. "application/json"
  1116. ],
  1117. "tags": [
  1118. "风险管理"
  1119. ],
  1120. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  1121. "parameters": [
  1122. {
  1123. "type": "integer",
  1124. "description": "策略申请ID",
  1125. "name": "asapplyid",
  1126. "in": "query",
  1127. "required": true
  1128. },
  1129. {
  1130. "type": "integer",
  1131. "description": "现货合同ID",
  1132. "name": "spotcontractid",
  1133. "in": "query"
  1134. }
  1135. ],
  1136. "responses": {
  1137. "200": {
  1138. "description": "OK",
  1139. "schema": {
  1140. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  1141. }
  1142. },
  1143. "500": {
  1144. "description": "Internal Server Error",
  1145. "schema": {
  1146. "$ref": "#/definitions/app.Response"
  1147. }
  1148. }
  1149. }
  1150. }
  1151. },
  1152. "/Erms3/AddErms2ASApply": {
  1153. "post": {
  1154. "security": [
  1155. {
  1156. "ApiKeyAuth": []
  1157. }
  1158. ],
  1159. "produces": [
  1160. "application/json"
  1161. ],
  1162. "tags": [
  1163. "风险管理v3"
  1164. ],
  1165. "summary": "新增期现套利业务申请",
  1166. "parameters": [
  1167. {
  1168. "description": "申请参数",
  1169. "name": "jsonBody",
  1170. "in": "body",
  1171. "required": true,
  1172. "schema": {
  1173. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  1174. }
  1175. }
  1176. ],
  1177. "responses": {
  1178. "200": {
  1179. "description": "OK",
  1180. "schema": {
  1181. "$ref": "#/definitions/app.Response"
  1182. }
  1183. },
  1184. "500": {
  1185. "description": "Internal Server Error",
  1186. "schema": {
  1187. "$ref": "#/definitions/app.Response"
  1188. }
  1189. }
  1190. }
  1191. }
  1192. },
  1193. "/Erms3/AddErms2SpotTradeApply": {
  1194. "post": {
  1195. "security": [
  1196. {
  1197. "ApiKeyAuth": []
  1198. }
  1199. ],
  1200. "produces": [
  1201. "application/json"
  1202. ],
  1203. "tags": [
  1204. "风险管理v3"
  1205. ],
  1206. "summary": "新增现货贸易业务申请",
  1207. "parameters": [
  1208. {
  1209. "description": "申请参数",
  1210. "name": "jsonBody",
  1211. "in": "body",
  1212. "required": true,
  1213. "schema": {
  1214. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  1215. }
  1216. }
  1217. ],
  1218. "responses": {
  1219. "200": {
  1220. "description": "OK",
  1221. "schema": {
  1222. "$ref": "#/definitions/app.Response"
  1223. }
  1224. },
  1225. "500": {
  1226. "description": "Internal Server Error",
  1227. "schema": {
  1228. "$ref": "#/definitions/app.Response"
  1229. }
  1230. }
  1231. }
  1232. }
  1233. },
  1234. "/Erms3/AddSpotContractApply": {
  1235. "post": {
  1236. "security": [
  1237. {
  1238. "ApiKeyAuth": []
  1239. }
  1240. ],
  1241. "produces": [
  1242. "application/json"
  1243. ],
  1244. "tags": [
  1245. "风险管理v3"
  1246. ],
  1247. "summary": "新增现货合同申请",
  1248. "parameters": [
  1249. {
  1250. "description": "申请参数",
  1251. "name": "jsonBody",
  1252. "in": "body",
  1253. "required": true,
  1254. "schema": {
  1255. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  1256. }
  1257. }
  1258. ],
  1259. "responses": {
  1260. "200": {
  1261. "description": "OK",
  1262. "schema": {
  1263. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  1264. }
  1265. },
  1266. "500": {
  1267. "description": "Internal Server Error",
  1268. "schema": {
  1269. "$ref": "#/definitions/app.Response"
  1270. }
  1271. }
  1272. }
  1273. }
  1274. },
  1275. "/Erms3/AddUserInfoApply": {
  1276. "post": {
  1277. "security": [
  1278. {
  1279. "ApiKeyAuth": []
  1280. }
  1281. ],
  1282. "produces": [
  1283. "application/json"
  1284. ],
  1285. "tags": [
  1286. "风险管理v3"
  1287. ],
  1288. "summary": "新增客户申请",
  1289. "parameters": [
  1290. {
  1291. "description": "申请参数",
  1292. "name": "jsonBody",
  1293. "in": "body",
  1294. "required": true,
  1295. "schema": {
  1296. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  1297. }
  1298. }
  1299. ],
  1300. "responses": {
  1301. "200": {
  1302. "description": "OK",
  1303. "schema": {
  1304. "$ref": "#/definitions/app.Response"
  1305. }
  1306. },
  1307. "500": {
  1308. "description": "Internal Server Error",
  1309. "schema": {
  1310. "$ref": "#/definitions/app.Response"
  1311. }
  1312. }
  1313. }
  1314. }
  1315. },
  1316. "/Erms3/QueryBusinessInfo": {
  1317. "get": {
  1318. "security": [
  1319. {
  1320. "ApiKeyAuth": []
  1321. }
  1322. ],
  1323. "produces": [
  1324. "application/json"
  1325. ],
  1326. "tags": [
  1327. "风险管理v3"
  1328. ],
  1329. "summary": "查询业务表单数据",
  1330. "parameters": [
  1331. {
  1332. "type": "string",
  1333. "description": "资金账号ID列表,用逗号分隔",
  1334. "name": "accountids",
  1335. "in": "query",
  1336. "required": true
  1337. },
  1338. {
  1339. "type": "integer",
  1340. "description": "状态,0为未结束 1为已结束",
  1341. "name": "status",
  1342. "in": "query",
  1343. "required": true
  1344. }
  1345. ],
  1346. "responses": {
  1347. "200": {
  1348. "description": "OK",
  1349. "schema": {
  1350. "type": "array",
  1351. "items": {
  1352. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  1353. }
  1354. }
  1355. },
  1356. "500": {
  1357. "description": "Internal Server Error",
  1358. "schema": {
  1359. "$ref": "#/definitions/app.Response"
  1360. }
  1361. }
  1362. }
  1363. }
  1364. },
  1365. "/Erms3/QueryPendingAuditContract": {
  1366. "get": {
  1367. "security": [
  1368. {
  1369. "ApiKeyAuth": []
  1370. }
  1371. ],
  1372. "produces": [
  1373. "application/json"
  1374. ],
  1375. "tags": [
  1376. "风险管理v3"
  1377. ],
  1378. "summary": "查询待审核合同",
  1379. "parameters": [
  1380. {
  1381. "type": "string",
  1382. "description": "资金账号ID列表,逗号隔开",
  1383. "name": "accountids",
  1384. "in": "query",
  1385. "required": true
  1386. },
  1387. {
  1388. "type": "integer",
  1389. "description": "合同类型 1-采购 -1-销售",
  1390. "name": "contracttype",
  1391. "in": "query",
  1392. "required": true
  1393. },
  1394. {
  1395. "type": "integer",
  1396. "description": "合同模式 1-普通 2-回购",
  1397. "name": "contractmode",
  1398. "in": "query",
  1399. "required": true
  1400. }
  1401. ],
  1402. "responses": {
  1403. "200": {
  1404. "description": "OK",
  1405. "schema": {
  1406. "type": "array",
  1407. "items": {
  1408. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  1409. }
  1410. }
  1411. },
  1412. "500": {
  1413. "description": "Internal Server Error",
  1414. "schema": {
  1415. "$ref": "#/definitions/app.Response"
  1416. }
  1417. }
  1418. }
  1419. }
  1420. },
  1421. "/Erms3/QueryPendingBusiness": {
  1422. "get": {
  1423. "security": [
  1424. {
  1425. "ApiKeyAuth": []
  1426. }
  1427. ],
  1428. "produces": [
  1429. "application/json"
  1430. ],
  1431. "tags": [
  1432. "风险管理v3"
  1433. ],
  1434. "summary": "查询待审核基差贸易业务",
  1435. "parameters": [
  1436. {
  1437. "type": "string",
  1438. "description": "资金账号ID列表,逗号隔开",
  1439. "name": "accountids",
  1440. "in": "query",
  1441. "required": true
  1442. }
  1443. ],
  1444. "responses": {
  1445. "200": {
  1446. "description": "OK",
  1447. "schema": {
  1448. "type": "array",
  1449. "items": {
  1450. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  1451. }
  1452. }
  1453. },
  1454. "500": {
  1455. "description": "Internal Server Error",
  1456. "schema": {
  1457. "$ref": "#/definitions/app.Response"
  1458. }
  1459. }
  1460. }
  1461. }
  1462. },
  1463. "/Erms3/QuerySpotContractAppleForm": {
  1464. "get": {
  1465. "security": [
  1466. {
  1467. "ApiKeyAuth": []
  1468. }
  1469. ],
  1470. "produces": [
  1471. "application/json"
  1472. ],
  1473. "tags": [
  1474. "风险管理v3"
  1475. ],
  1476. "summary": "查询合同申请表单数据",
  1477. "parameters": [
  1478. {
  1479. "type": "integer",
  1480. "description": "登录账号",
  1481. "name": "loginID",
  1482. "in": "query",
  1483. "required": true
  1484. }
  1485. ],
  1486. "responses": {
  1487. "200": {
  1488. "description": "OK",
  1489. "schema": {
  1490. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  1491. }
  1492. },
  1493. "500": {
  1494. "description": "Internal Server Error",
  1495. "schema": {
  1496. "$ref": "#/definitions/app.Response"
  1497. }
  1498. }
  1499. }
  1500. }
  1501. },
  1502. "/Erms3/QuerySpotContractDetail": {
  1503. "get": {
  1504. "security": [
  1505. {
  1506. "ApiKeyAuth": []
  1507. }
  1508. ],
  1509. "produces": [
  1510. "application/json"
  1511. ],
  1512. "tags": [
  1513. "风险管理v3"
  1514. ],
  1515. "summary": "查询合同详细信息",
  1516. "parameters": [
  1517. {
  1518. "type": "string",
  1519. "description": "资金账号ID列表,用逗号分隔",
  1520. "name": "accountids",
  1521. "in": "query",
  1522. "required": true
  1523. },
  1524. {
  1525. "type": "integer",
  1526. "description": "合同类型,1为采购合同 -1为销售合同",
  1527. "name": "contracttype",
  1528. "in": "query",
  1529. "required": true
  1530. },
  1531. {
  1532. "type": "integer",
  1533. "description": "合同模式,1为普通合同 2为回购销售合同",
  1534. "name": "contractmode",
  1535. "in": "query",
  1536. "required": true
  1537. },
  1538. {
  1539. "type": "integer",
  1540. "description": "状态,0为履约中 1为已完成",
  1541. "name": "status",
  1542. "in": "query",
  1543. "required": true
  1544. }
  1545. ],
  1546. "responses": {
  1547. "200": {
  1548. "description": "OK",
  1549. "schema": {
  1550. "type": "array",
  1551. "items": {
  1552. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  1553. }
  1554. }
  1555. },
  1556. "500": {
  1557. "description": "Internal Server Error",
  1558. "schema": {
  1559. "$ref": "#/definitions/app.Response"
  1560. }
  1561. }
  1562. }
  1563. }
  1564. },
  1565. "/Erms3/QueryUserInfoApplies": {
  1566. "get": {
  1567. "security": [
  1568. {
  1569. "ApiKeyAuth": []
  1570. }
  1571. ],
  1572. "produces": [
  1573. "application/json"
  1574. ],
  1575. "tags": [
  1576. "风险管理v3"
  1577. ],
  1578. "summary": "客户申请信息查询",
  1579. "parameters": [
  1580. {
  1581. "type": "integer",
  1582. "description": "页码",
  1583. "name": "page",
  1584. "in": "query"
  1585. },
  1586. {
  1587. "type": "integer",
  1588. "description": "每页条数",
  1589. "name": "pagesize",
  1590. "in": "query"
  1591. },
  1592. {
  1593. "type": "string",
  1594. "description": "客户名称,支持模糊查询",
  1595. "name": "userName",
  1596. "in": "query"
  1597. }
  1598. ],
  1599. "responses": {
  1600. "200": {
  1601. "description": "OK",
  1602. "schema": {
  1603. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  1604. }
  1605. },
  1606. "500": {
  1607. "description": "Internal Server Error",
  1608. "schema": {
  1609. "$ref": "#/definitions/app.Response"
  1610. }
  1611. }
  1612. }
  1613. }
  1614. },
  1615. "/Erms3/QueryUserInfos": {
  1616. "get": {
  1617. "security": [
  1618. {
  1619. "ApiKeyAuth": []
  1620. }
  1621. ],
  1622. "produces": [
  1623. "application/json"
  1624. ],
  1625. "tags": [
  1626. "风险管理v3"
  1627. ],
  1628. "summary": "客户信息查询",
  1629. "parameters": [
  1630. {
  1631. "type": "integer",
  1632. "description": "页码",
  1633. "name": "page",
  1634. "in": "query"
  1635. },
  1636. {
  1637. "type": "integer",
  1638. "description": "每页条数",
  1639. "name": "pagesize",
  1640. "in": "query"
  1641. },
  1642. {
  1643. "type": "string",
  1644. "description": "客户名称,支持模糊查询",
  1645. "name": "userName",
  1646. "in": "query"
  1647. }
  1648. ],
  1649. "responses": {
  1650. "200": {
  1651. "description": "OK",
  1652. "schema": {
  1653. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  1654. }
  1655. },
  1656. "500": {
  1657. "description": "Internal Server Error",
  1658. "schema": {
  1659. "$ref": "#/definitions/app.Response"
  1660. }
  1661. }
  1662. }
  1663. }
  1664. },
  1665. "/HSBY/GetHsbyMyCount": {
  1666. "get": {
  1667. "security": [
  1668. {
  1669. "ApiKeyAuth": []
  1670. }
  1671. ],
  1672. "description": "说明: 不包括已完成的数量。",
  1673. "produces": [
  1674. "application/json"
  1675. ],
  1676. "tags": [
  1677. "定制【海商报业】"
  1678. ],
  1679. "summary": "获取我的订单与包裹数量",
  1680. "parameters": [
  1681. {
  1682. "type": "string",
  1683. "description": "资金账户列表,格式:1,2,3",
  1684. "name": "accountIDs",
  1685. "in": "query",
  1686. "required": true
  1687. }
  1688. ],
  1689. "responses": {
  1690. "200": {
  1691. "description": "OK",
  1692. "schema": {
  1693. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  1694. }
  1695. },
  1696. "500": {
  1697. "description": "Internal Server Error",
  1698. "schema": {
  1699. "$ref": "#/definitions/app.Response"
  1700. }
  1701. }
  1702. }
  1703. }
  1704. },
  1705. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  1706. "get": {
  1707. "security": [
  1708. {
  1709. "ApiKeyAuth": []
  1710. }
  1711. ],
  1712. "produces": [
  1713. "application/json"
  1714. ],
  1715. "tags": [
  1716. "定制【海商报业】"
  1717. ],
  1718. "summary": "查询\"我的订单 - 已完成\"单据信息",
  1719. "parameters": [
  1720. {
  1721. "type": "integer",
  1722. "description": "页码",
  1723. "name": "page",
  1724. "in": "query"
  1725. },
  1726. {
  1727. "type": "integer",
  1728. "description": "每页条数",
  1729. "name": "pagesize",
  1730. "in": "query"
  1731. },
  1732. {
  1733. "type": "string",
  1734. "description": "资金账户列表,格式:1,2,3",
  1735. "name": "accountIDs",
  1736. "in": "query",
  1737. "required": true
  1738. }
  1739. ],
  1740. "responses": {
  1741. "200": {
  1742. "description": "OK",
  1743. "schema": {
  1744. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  1745. }
  1746. },
  1747. "500": {
  1748. "description": "Internal Server Error",
  1749. "schema": {
  1750. "$ref": "#/definitions/app.Response"
  1751. }
  1752. }
  1753. }
  1754. }
  1755. },
  1756. "/HSBY/QueryHsbyGoodsOrderDetails": {
  1757. "get": {
  1758. "security": [
  1759. {
  1760. "ApiKeyAuth": []
  1761. }
  1762. ],
  1763. "description": "说明:查询结果已按委托价格和委托时间排序",
  1764. "produces": [
  1765. "application/json"
  1766. ],
  1767. "tags": [
  1768. "定制【海商报业】"
  1769. ],
  1770. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  1771. "parameters": [
  1772. {
  1773. "type": "integer",
  1774. "description": "商品ID",
  1775. "name": "goodsID",
  1776. "in": "query",
  1777. "required": true
  1778. },
  1779. {
  1780. "type": "string",
  1781. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  1782. "name": "accountIDs",
  1783. "in": "query"
  1784. },
  1785. {
  1786. "type": "integer",
  1787. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  1788. "name": "buyOrSell",
  1789. "in": "query"
  1790. },
  1791. {
  1792. "type": "number",
  1793. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  1794. "name": "price",
  1795. "in": "query"
  1796. },
  1797. {
  1798. "type": "integer",
  1799. "description": "档位,不传则默认为3档",
  1800. "name": "speed",
  1801. "in": "query"
  1802. }
  1803. ],
  1804. "responses": {
  1805. "200": {
  1806. "description": "OK",
  1807. "schema": {
  1808. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  1809. }
  1810. },
  1811. "500": {
  1812. "description": "Internal Server Error",
  1813. "schema": {
  1814. "$ref": "#/definitions/app.Response"
  1815. }
  1816. }
  1817. }
  1818. }
  1819. },
  1820. "/HSBY/QueryHsbyListingGoodsDetail": {
  1821. "get": {
  1822. "security": [
  1823. {
  1824. "ApiKeyAuth": []
  1825. }
  1826. ],
  1827. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  1828. "produces": [
  1829. "application/json"
  1830. ],
  1831. "tags": [
  1832. "定制【海商报业】"
  1833. ],
  1834. "summary": "查询二级市场(挂牌点选)商品信息详情",
  1835. "parameters": [
  1836. {
  1837. "type": "integer",
  1838. "description": "商品ID",
  1839. "name": "goodsID",
  1840. "in": "query",
  1841. "required": true
  1842. },
  1843. {
  1844. "type": "integer",
  1845. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  1846. "name": "AccountID",
  1847. "in": "query"
  1848. }
  1849. ],
  1850. "responses": {
  1851. "200": {
  1852. "description": "OK",
  1853. "schema": {
  1854. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  1855. }
  1856. },
  1857. "500": {
  1858. "description": "Internal Server Error",
  1859. "schema": {
  1860. "$ref": "#/definitions/app.Response"
  1861. }
  1862. }
  1863. }
  1864. }
  1865. },
  1866. "/HSBY/QueryHsbyMarketGoodsDetail": {
  1867. "get": {
  1868. "security": [
  1869. {
  1870. "ApiKeyAuth": []
  1871. }
  1872. ],
  1873. "produces": [
  1874. "application/json"
  1875. ],
  1876. "tags": [
  1877. "定制【海商报业】"
  1878. ],
  1879. "summary": "查询三级市场(商城)商品信息详情",
  1880. "parameters": [
  1881. {
  1882. "type": "integer",
  1883. "description": "委托单号",
  1884. "name": "orderID",
  1885. "in": "query",
  1886. "required": true
  1887. },
  1888. {
  1889. "type": "integer",
  1890. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  1891. "name": "accountID",
  1892. "in": "query"
  1893. }
  1894. ],
  1895. "responses": {
  1896. "200": {
  1897. "description": "OK",
  1898. "schema": {
  1899. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  1900. }
  1901. },
  1902. "500": {
  1903. "description": "Internal Server Error",
  1904. "schema": {
  1905. "$ref": "#/definitions/app.Response"
  1906. }
  1907. }
  1908. }
  1909. }
  1910. },
  1911. "/HSBY/QueryHsbyMarketGoodses": {
  1912. "get": {
  1913. "security": [
  1914. {
  1915. "ApiKeyAuth": []
  1916. }
  1917. ],
  1918. "produces": [
  1919. "application/json"
  1920. ],
  1921. "tags": [
  1922. "定制【海商报业】"
  1923. ],
  1924. "summary": "查询特卖商品列表(三级商城)",
  1925. "parameters": [
  1926. {
  1927. "type": "integer",
  1928. "description": "页码",
  1929. "name": "page",
  1930. "in": "query"
  1931. },
  1932. {
  1933. "type": "integer",
  1934. "description": "每页条数",
  1935. "name": "pagesize",
  1936. "in": "query"
  1937. },
  1938. {
  1939. "type": "string",
  1940. "description": "市场ID列表,格式:1,2,3",
  1941. "name": "marketIDs",
  1942. "in": "query",
  1943. "required": true
  1944. },
  1945. {
  1946. "type": "integer",
  1947. "description": "资金账户,主要用于判断商品是否有可用的优惠卷;如未登录可不传。",
  1948. "name": "accountID",
  1949. "in": "query"
  1950. },
  1951. {
  1952. "type": "integer",
  1953. "description": "类别ID",
  1954. "name": "categoryID",
  1955. "in": "query"
  1956. },
  1957. {
  1958. "type": "string",
  1959. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  1960. "name": "goodsIDs",
  1961. "in": "query"
  1962. },
  1963. {
  1964. "type": "integer",
  1965. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  1966. "name": "couponTypeID",
  1967. "in": "query"
  1968. }
  1969. ],
  1970. "responses": {
  1971. "200": {
  1972. "description": "OK",
  1973. "schema": {
  1974. "$ref": "#/definitions/models.HsbyMarketGoods"
  1975. }
  1976. },
  1977. "500": {
  1978. "description": "Internal Server Error",
  1979. "schema": {
  1980. "$ref": "#/definitions/app.Response"
  1981. }
  1982. }
  1983. }
  1984. }
  1985. },
  1986. "/HSBY/QueryHsbyMarkets": {
  1987. "get": {
  1988. "security": [
  1989. {
  1990. "ApiKeyAuth": []
  1991. }
  1992. ],
  1993. "produces": [
  1994. "application/json"
  1995. ],
  1996. "tags": [
  1997. "定制【海商报业】"
  1998. ],
  1999. "summary": "查询海商报业相关市场信息",
  2000. "responses": {
  2001. "200": {
  2002. "description": "OK",
  2003. "schema": {
  2004. "$ref": "#/definitions/models.HsbyMarketInfo"
  2005. }
  2006. },
  2007. "500": {
  2008. "description": "Internal Server Error",
  2009. "schema": {
  2010. "$ref": "#/definitions/app.Response"
  2011. }
  2012. }
  2013. }
  2014. }
  2015. },
  2016. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  2017. "get": {
  2018. "security": [
  2019. {
  2020. "ApiKeyAuth": []
  2021. }
  2022. ],
  2023. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  2024. "produces": [
  2025. "application/json"
  2026. ],
  2027. "tags": [
  2028. "定制【海商报业】"
  2029. ],
  2030. "summary": "查询“我的订单”信息",
  2031. "parameters": [
  2032. {
  2033. "type": "string",
  2034. "description": "资金账户列表,格式:1,2,3",
  2035. "name": "accountIDs",
  2036. "in": "query",
  2037. "required": true
  2038. },
  2039. {
  2040. "type": "integer",
  2041. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  2042. "name": "myBuyStatus",
  2043. "in": "query"
  2044. }
  2045. ],
  2046. "responses": {
  2047. "200": {
  2048. "description": "OK",
  2049. "schema": {
  2050. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  2051. }
  2052. },
  2053. "500": {
  2054. "description": "Internal Server Error",
  2055. "schema": {
  2056. "$ref": "#/definitions/app.Response"
  2057. }
  2058. }
  2059. }
  2060. }
  2061. },
  2062. "/HSBY/QueryHsbyMyGoods": {
  2063. "get": {
  2064. "security": [
  2065. {
  2066. "ApiKeyAuth": []
  2067. }
  2068. ],
  2069. "produces": [
  2070. "application/json"
  2071. ],
  2072. "tags": [
  2073. "定制【海商报业】"
  2074. ],
  2075. "summary": "查询“我的商品”信息",
  2076. "parameters": [
  2077. {
  2078. "type": "string",
  2079. "description": "资金账户列表,格式:1,2,3",
  2080. "name": "accountIDs",
  2081. "in": "query",
  2082. "required": true
  2083. }
  2084. ],
  2085. "responses": {
  2086. "200": {
  2087. "description": "OK",
  2088. "schema": {
  2089. "$ref": "#/definitions/models.HsbyMyGoods"
  2090. }
  2091. },
  2092. "500": {
  2093. "description": "Internal Server Error",
  2094. "schema": {
  2095. "$ref": "#/definitions/app.Response"
  2096. }
  2097. }
  2098. }
  2099. }
  2100. },
  2101. "/HSBY/QueryHsbyMyPackages": {
  2102. "get": {
  2103. "security": [
  2104. {
  2105. "ApiKeyAuth": []
  2106. }
  2107. ],
  2108. "produces": [
  2109. "application/json"
  2110. ],
  2111. "tags": [
  2112. "定制【海商报业】"
  2113. ],
  2114. "summary": "查询我的包裹信息",
  2115. "parameters": [
  2116. {
  2117. "type": "string",
  2118. "description": "资金账户列表,格式:1,2,3",
  2119. "name": "accountIDs",
  2120. "in": "query",
  2121. "required": true
  2122. },
  2123. {
  2124. "type": "integer",
  2125. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2126. "name": "takeOrderStatus",
  2127. "in": "query"
  2128. }
  2129. ],
  2130. "responses": {
  2131. "200": {
  2132. "description": "OK",
  2133. "schema": {
  2134. "$ref": "#/definitions/models.HsbyMyPackage"
  2135. }
  2136. },
  2137. "500": {
  2138. "description": "Internal Server Error",
  2139. "schema": {
  2140. "$ref": "#/definitions/app.Response"
  2141. }
  2142. }
  2143. }
  2144. }
  2145. },
  2146. "/HSBY/QueryHsbyPreGoodsDetail": {
  2147. "get": {
  2148. "security": [
  2149. {
  2150. "ApiKeyAuth": []
  2151. }
  2152. ],
  2153. "produces": [
  2154. "application/json"
  2155. ],
  2156. "tags": [
  2157. "定制【海商报业】"
  2158. ],
  2159. "summary": "查询一级市场(预售)商品信息详情",
  2160. "parameters": [
  2161. {
  2162. "type": "integer",
  2163. "description": "商品ID",
  2164. "name": "goodsID",
  2165. "in": "query",
  2166. "required": true
  2167. },
  2168. {
  2169. "type": "integer",
  2170. "description": "资金账户,主要用于获取预售商品购买上限",
  2171. "name": "accountID",
  2172. "in": "query"
  2173. }
  2174. ],
  2175. "responses": {
  2176. "200": {
  2177. "description": "OK",
  2178. "schema": {
  2179. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  2180. }
  2181. },
  2182. "500": {
  2183. "description": "Internal Server Error",
  2184. "schema": {
  2185. "$ref": "#/definitions/app.Response"
  2186. }
  2187. }
  2188. }
  2189. }
  2190. },
  2191. "/HSBY/QueryHsbyPreGoodses": {
  2192. "get": {
  2193. "security": [
  2194. {
  2195. "ApiKeyAuth": []
  2196. }
  2197. ],
  2198. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  2199. "produces": [
  2200. "application/json"
  2201. ],
  2202. "tags": [
  2203. "定制【海商报业】"
  2204. ],
  2205. "summary": "查询新品上市商品列表(一级市场预售)",
  2206. "parameters": [
  2207. {
  2208. "type": "integer",
  2209. "description": "页码",
  2210. "name": "page",
  2211. "in": "query"
  2212. },
  2213. {
  2214. "type": "integer",
  2215. "description": "每页条数",
  2216. "name": "pagesize",
  2217. "in": "query"
  2218. },
  2219. {
  2220. "type": "string",
  2221. "description": "市场ID列表,格式:1,2,3",
  2222. "name": "marketIDs",
  2223. "in": "query",
  2224. "required": true
  2225. },
  2226. {
  2227. "type": "integer",
  2228. "description": "目的地(省)ID",
  2229. "name": "descProvinceID",
  2230. "in": "query"
  2231. },
  2232. {
  2233. "type": "integer",
  2234. "description": "目的地(市)ID",
  2235. "name": "descCityID",
  2236. "in": "query"
  2237. }
  2238. ],
  2239. "responses": {
  2240. "200": {
  2241. "description": "OK",
  2242. "schema": {
  2243. "$ref": "#/definitions/models.HsbyPreGoods"
  2244. }
  2245. },
  2246. "500": {
  2247. "description": "Internal Server Error",
  2248. "schema": {
  2249. "$ref": "#/definitions/app.Response"
  2250. }
  2251. }
  2252. }
  2253. }
  2254. },
  2255. "/HSBY/QueryHsbySellMyDetails": {
  2256. "get": {
  2257. "security": [
  2258. {
  2259. "ApiKeyAuth": []
  2260. }
  2261. ],
  2262. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  2263. "produces": [
  2264. "application/json"
  2265. ],
  2266. "tags": [
  2267. "定制【海商报业】"
  2268. ],
  2269. "summary": "查询\"我的闲置\"单据信息",
  2270. "parameters": [
  2271. {
  2272. "type": "integer",
  2273. "description": "页码",
  2274. "name": "page",
  2275. "in": "query"
  2276. },
  2277. {
  2278. "type": "integer",
  2279. "description": "每页条数",
  2280. "name": "pagesize",
  2281. "in": "query"
  2282. },
  2283. {
  2284. "type": "string",
  2285. "description": "资金账户列表,格式:1,2,3",
  2286. "name": "accountIDs",
  2287. "in": "query",
  2288. "required": true
  2289. },
  2290. {
  2291. "type": "integer",
  2292. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  2293. "name": "orderType",
  2294. "in": "query"
  2295. }
  2296. ],
  2297. "responses": {
  2298. "200": {
  2299. "description": "OK",
  2300. "schema": {
  2301. "$ref": "#/definitions/models.HsbySellMyDetail"
  2302. }
  2303. },
  2304. "500": {
  2305. "description": "Internal Server Error",
  2306. "schema": {
  2307. "$ref": "#/definitions/app.Response"
  2308. }
  2309. }
  2310. }
  2311. }
  2312. },
  2313. "/HSBY/QueryHsbyTopGoodses": {
  2314. "get": {
  2315. "security": [
  2316. {
  2317. "ApiKeyAuth": []
  2318. }
  2319. ],
  2320. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  2321. "produces": [
  2322. "application/json"
  2323. ],
  2324. "tags": [
  2325. "定制【海商报业】"
  2326. ],
  2327. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  2328. "parameters": [
  2329. {
  2330. "type": "integer",
  2331. "description": "页码",
  2332. "name": "page",
  2333. "in": "query"
  2334. },
  2335. {
  2336. "type": "integer",
  2337. "description": "每页条数",
  2338. "name": "pagesize",
  2339. "in": "query"
  2340. },
  2341. {
  2342. "type": "string",
  2343. "description": "市场ID列表,格式:1,2,3",
  2344. "name": "marketIDs",
  2345. "in": "query",
  2346. "required": true
  2347. },
  2348. {
  2349. "type": "integer",
  2350. "description": "目的地(省)ID",
  2351. "name": "descProvinceID",
  2352. "in": "query"
  2353. },
  2354. {
  2355. "type": "integer",
  2356. "description": "目的地(市)ID",
  2357. "name": "descCityID",
  2358. "in": "query"
  2359. }
  2360. ],
  2361. "responses": {
  2362. "200": {
  2363. "description": "OK",
  2364. "schema": {
  2365. "$ref": "#/definitions/models.HsbyTopGoods"
  2366. }
  2367. },
  2368. "500": {
  2369. "description": "Internal Server Error",
  2370. "schema": {
  2371. "$ref": "#/definitions/app.Response"
  2372. }
  2373. }
  2374. }
  2375. }
  2376. },
  2377. "/HSBY/QueryMyCollectionOrders": {
  2378. "get": {
  2379. "security": [
  2380. {
  2381. "ApiKeyAuth": []
  2382. }
  2383. ],
  2384. "produces": [
  2385. "application/json"
  2386. ],
  2387. "tags": [
  2388. "定制【海商报业】"
  2389. ],
  2390. "summary": "我的闲置中收款信息查询",
  2391. "parameters": [
  2392. {
  2393. "type": "integer",
  2394. "description": "页码",
  2395. "name": "page",
  2396. "in": "query"
  2397. },
  2398. {
  2399. "type": "integer",
  2400. "description": "每页条数",
  2401. "name": "pagesize",
  2402. "in": "query"
  2403. },
  2404. {
  2405. "type": "string",
  2406. "description": "资金账户,格式:1,2,3",
  2407. "name": "accountIDs",
  2408. "in": "query",
  2409. "required": true
  2410. }
  2411. ],
  2412. "responses": {
  2413. "200": {
  2414. "description": "OK",
  2415. "schema": {
  2416. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  2417. }
  2418. },
  2419. "500": {
  2420. "description": "Internal Server Error",
  2421. "schema": {
  2422. "$ref": "#/definitions/app.Response"
  2423. }
  2424. }
  2425. }
  2426. }
  2427. },
  2428. "/HSBY/QueryMyCouponHolds": {
  2429. "get": {
  2430. "security": [
  2431. {
  2432. "ApiKeyAuth": []
  2433. }
  2434. ],
  2435. "produces": [
  2436. "application/json"
  2437. ],
  2438. "tags": [
  2439. "定制【海商报业】"
  2440. ],
  2441. "summary": "我的优惠卷持仓查询",
  2442. "parameters": [
  2443. {
  2444. "type": "string",
  2445. "description": "资金账户列表,格式:1,2,3",
  2446. "name": "accountIDs",
  2447. "in": "query",
  2448. "required": true
  2449. },
  2450. {
  2451. "type": "string",
  2452. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  2453. "name": "holdStatus",
  2454. "in": "query"
  2455. }
  2456. ],
  2457. "responses": {
  2458. "200": {
  2459. "description": "OK",
  2460. "schema": {
  2461. "$ref": "#/definitions/models.MyCouponHold"
  2462. }
  2463. },
  2464. "500": {
  2465. "description": "Internal Server Error",
  2466. "schema": {
  2467. "$ref": "#/definitions/app.Response"
  2468. }
  2469. }
  2470. }
  2471. }
  2472. },
  2473. "/HSBY/QueryMyCoupons": {
  2474. "get": {
  2475. "security": [
  2476. {
  2477. "ApiKeyAuth": []
  2478. }
  2479. ],
  2480. "produces": [
  2481. "application/json"
  2482. ],
  2483. "tags": [
  2484. "定制【海商报业】"
  2485. ],
  2486. "summary": "我的优惠卷查询",
  2487. "parameters": [
  2488. {
  2489. "type": "string",
  2490. "description": "资金账户列表,格式:1,2,3",
  2491. "name": "accountIDs",
  2492. "in": "query",
  2493. "required": true
  2494. },
  2495. {
  2496. "type": "integer",
  2497. "description": "商品ID, 一般与sellUserID配套传入",
  2498. "name": "goodsID",
  2499. "in": "query"
  2500. },
  2501. {
  2502. "type": "integer",
  2503. "description": "卖方UserID",
  2504. "name": "sellUserID",
  2505. "in": "query"
  2506. }
  2507. ],
  2508. "responses": {
  2509. "200": {
  2510. "description": "OK",
  2511. "schema": {
  2512. "$ref": "#/definitions/models.MyCoupon"
  2513. }
  2514. },
  2515. "500": {
  2516. "description": "Internal Server Error",
  2517. "schema": {
  2518. "$ref": "#/definitions/app.Response"
  2519. }
  2520. }
  2521. }
  2522. }
  2523. },
  2524. "/HSBY/QueryMyPayOrders": {
  2525. "get": {
  2526. "security": [
  2527. {
  2528. "ApiKeyAuth": []
  2529. }
  2530. ],
  2531. "produces": [
  2532. "application/json"
  2533. ],
  2534. "tags": [
  2535. "定制【海商报业】"
  2536. ],
  2537. "summary": "获取我的订单中待付款信息",
  2538. "parameters": [
  2539. {
  2540. "type": "integer",
  2541. "description": "页码",
  2542. "name": "page",
  2543. "in": "query"
  2544. },
  2545. {
  2546. "type": "integer",
  2547. "description": "每页条数",
  2548. "name": "pagesize",
  2549. "in": "query"
  2550. },
  2551. {
  2552. "type": "string",
  2553. "description": "资金账户列表,格式:1,2,3",
  2554. "name": "accountIDs",
  2555. "in": "query",
  2556. "required": true
  2557. },
  2558. {
  2559. "type": "integer",
  2560. "description": "买方委托单号",
  2561. "name": "buyOrderID",
  2562. "in": "query"
  2563. },
  2564. {
  2565. "type": "integer",
  2566. "description": "卖方委托单号",
  2567. "name": "sellOrderID",
  2568. "in": "query"
  2569. }
  2570. ],
  2571. "responses": {
  2572. "200": {
  2573. "description": "OK",
  2574. "schema": {
  2575. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  2576. }
  2577. },
  2578. "500": {
  2579. "description": "Internal Server Error",
  2580. "schema": {
  2581. "$ref": "#/definitions/app.Response"
  2582. }
  2583. }
  2584. }
  2585. }
  2586. },
  2587. "/HSBY/QueryMyUsedCoupon": {
  2588. "get": {
  2589. "security": [
  2590. {
  2591. "ApiKeyAuth": []
  2592. }
  2593. ],
  2594. "produces": [
  2595. "application/json"
  2596. ],
  2597. "tags": [
  2598. "定制【海商报业】"
  2599. ],
  2600. "summary": "已使用优惠卷查询",
  2601. "parameters": [
  2602. {
  2603. "type": "string",
  2604. "description": "资金账户列表,格式:1,2,3",
  2605. "name": "accountIDs",
  2606. "in": "query",
  2607. "required": true
  2608. }
  2609. ],
  2610. "responses": {
  2611. "200": {
  2612. "description": "OK",
  2613. "schema": {
  2614. "$ref": "#/definitions/models.MyUsedCoupon"
  2615. }
  2616. },
  2617. "500": {
  2618. "description": "Internal Server Error",
  2619. "schema": {
  2620. "$ref": "#/definitions/app.Response"
  2621. }
  2622. }
  2623. }
  2624. }
  2625. },
  2626. "/HSBY/QueryProvincesAndCities": {
  2627. "get": {
  2628. "security": [
  2629. {
  2630. "ApiKeyAuth": []
  2631. }
  2632. ],
  2633. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  2634. "produces": [
  2635. "application/json"
  2636. ],
  2637. "tags": [
  2638. "定制【海商报业】"
  2639. ],
  2640. "summary": "查询省市信息(不包括区)",
  2641. "parameters": [
  2642. {
  2643. "type": "integer",
  2644. "description": "省ID",
  2645. "name": "provinceID",
  2646. "in": "query"
  2647. }
  2648. ],
  2649. "responses": {
  2650. "200": {
  2651. "description": "OK",
  2652. "schema": {
  2653. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  2654. }
  2655. },
  2656. "500": {
  2657. "description": "Internal Server Error",
  2658. "schema": {
  2659. "$ref": "#/definitions/app.Response"
  2660. }
  2661. }
  2662. }
  2663. }
  2664. },
  2665. "/HSBY/SetHsbyMyPackagesStatus": {
  2666. "post": {
  2667. "security": [
  2668. {
  2669. "ApiKeyAuth": []
  2670. }
  2671. ],
  2672. "produces": [
  2673. "application/json"
  2674. ],
  2675. "tags": [
  2676. "定制【海商报业】"
  2677. ],
  2678. "summary": "设置我的包裹已收货状态",
  2679. "parameters": [
  2680. {
  2681. "type": "string",
  2682. "description": "提货单号",
  2683. "name": "takeOrderID",
  2684. "in": "query",
  2685. "required": true
  2686. },
  2687. {
  2688. "type": "integer",
  2689. "description": "资金账号",
  2690. "name": "accountID",
  2691. "in": "query",
  2692. "required": true
  2693. }
  2694. ],
  2695. "responses": {
  2696. "200": {
  2697. "description": "OK",
  2698. "schema": {
  2699. "$ref": "#/definitions/app.Response"
  2700. }
  2701. },
  2702. "500": {
  2703. "description": "Internal Server Error",
  2704. "schema": {
  2705. "$ref": "#/definitions/app.Response"
  2706. }
  2707. }
  2708. }
  2709. }
  2710. },
  2711. "/Market/QueryMarketRun": {
  2712. "get": {
  2713. "security": [
  2714. {
  2715. "ApiKeyAuth": []
  2716. }
  2717. ],
  2718. "produces": [
  2719. "application/json"
  2720. ],
  2721. "tags": [
  2722. "通用市场"
  2723. ],
  2724. "summary": "查询市场运行信息",
  2725. "parameters": [
  2726. {
  2727. "type": "integer",
  2728. "description": "市场ID,不传返回所有",
  2729. "name": "marketID",
  2730. "in": "query"
  2731. }
  2732. ],
  2733. "responses": {
  2734. "200": {
  2735. "description": "OK",
  2736. "schema": {
  2737. "$ref": "#/definitions/models.Marketrun"
  2738. }
  2739. },
  2740. "500": {
  2741. "description": "Internal Server Error",
  2742. "schema": {
  2743. "$ref": "#/definitions/app.Response"
  2744. }
  2745. }
  2746. }
  2747. }
  2748. },
  2749. "/Order/QueryHisTradeDetail": {
  2750. "get": {
  2751. "security": [
  2752. {
  2753. "ApiKeyAuth": []
  2754. }
  2755. ],
  2756. "produces": [
  2757. "application/json"
  2758. ],
  2759. "tags": [
  2760. "通用单据"
  2761. ],
  2762. "summary": "历史成交单查询(合约市场)",
  2763. "parameters": [
  2764. {
  2765. "type": "string",
  2766. "description": "资金账户 - 格式:1,2,3",
  2767. "name": "accountID",
  2768. "in": "query",
  2769. "required": true
  2770. },
  2771. {
  2772. "type": "integer",
  2773. "description": "成交单号",
  2774. "name": "tradeID",
  2775. "in": "query"
  2776. },
  2777. {
  2778. "type": "integer",
  2779. "description": "委托单号",
  2780. "name": "orderID",
  2781. "in": "query"
  2782. },
  2783. {
  2784. "type": "string",
  2785. "description": "交易模式 - 格式:1,2,3",
  2786. "name": "tradeMode",
  2787. "in": "query"
  2788. },
  2789. {
  2790. "type": "integer",
  2791. "description": "委托单据类型",
  2792. "name": "buildType",
  2793. "in": "query"
  2794. },
  2795. {
  2796. "type": "string",
  2797. "description": "成交类别 - 格式:1,2,3",
  2798. "name": "tradeType",
  2799. "in": "query"
  2800. },
  2801. {
  2802. "type": "string",
  2803. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2804. "name": "startDate",
  2805. "in": "query"
  2806. },
  2807. {
  2808. "type": "string",
  2809. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2810. "name": "endDate",
  2811. "in": "query"
  2812. }
  2813. ],
  2814. "responses": {
  2815. "200": {
  2816. "description": "OK",
  2817. "schema": {
  2818. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  2819. }
  2820. },
  2821. "500": {
  2822. "description": "Internal Server Error",
  2823. "schema": {
  2824. "$ref": "#/definitions/app.Response"
  2825. }
  2826. }
  2827. }
  2828. }
  2829. },
  2830. "/Order/QueryHisTradeOrderDetail": {
  2831. "get": {
  2832. "security": [
  2833. {
  2834. "ApiKeyAuth": []
  2835. }
  2836. ],
  2837. "produces": [
  2838. "application/json"
  2839. ],
  2840. "tags": [
  2841. "通用单据"
  2842. ],
  2843. "summary": "历史委托单查询请求(合约市场)",
  2844. "parameters": [
  2845. {
  2846. "type": "string",
  2847. "description": "资金账户 - 格式:1,2,3",
  2848. "name": "accountID",
  2849. "in": "query",
  2850. "required": true
  2851. },
  2852. {
  2853. "type": "string",
  2854. "description": "交易模式 - 格式:1,2,3",
  2855. "name": "tradeMode",
  2856. "in": "query"
  2857. },
  2858. {
  2859. "type": "string",
  2860. "description": "委托状态 - 格式:1,2,3",
  2861. "name": "orderStatus",
  2862. "in": "query"
  2863. },
  2864. {
  2865. "type": "integer",
  2866. "description": "委托单号",
  2867. "name": "orderID",
  2868. "in": "query"
  2869. },
  2870. {
  2871. "type": "string",
  2872. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2873. "name": "startDate",
  2874. "in": "query"
  2875. },
  2876. {
  2877. "type": "string",
  2878. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2879. "name": "endDate",
  2880. "in": "query"
  2881. }
  2882. ],
  2883. "responses": {
  2884. "200": {
  2885. "description": "OK",
  2886. "schema": {
  2887. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  2888. }
  2889. },
  2890. "500": {
  2891. "description": "Internal Server Error",
  2892. "schema": {
  2893. "$ref": "#/definitions/app.Response"
  2894. }
  2895. }
  2896. }
  2897. }
  2898. },
  2899. "/Order/QueryTradeDetail": {
  2900. "get": {
  2901. "security": [
  2902. {
  2903. "ApiKeyAuth": []
  2904. }
  2905. ],
  2906. "produces": [
  2907. "application/json"
  2908. ],
  2909. "tags": [
  2910. "通用单据"
  2911. ],
  2912. "summary": "成交单查询(合约市场)",
  2913. "parameters": [
  2914. {
  2915. "type": "string",
  2916. "description": "资金账户 - 格式:1,2,3",
  2917. "name": "accountID",
  2918. "in": "query",
  2919. "required": true
  2920. },
  2921. {
  2922. "type": "integer",
  2923. "description": "成交单号",
  2924. "name": "tradeID",
  2925. "in": "query"
  2926. },
  2927. {
  2928. "type": "integer",
  2929. "description": "委托单号",
  2930. "name": "orderID",
  2931. "in": "query"
  2932. },
  2933. {
  2934. "type": "string",
  2935. "description": "交易模式 - 格式:1,2,3",
  2936. "name": "tradeMode",
  2937. "in": "query"
  2938. },
  2939. {
  2940. "type": "integer",
  2941. "description": "委托单据类型",
  2942. "name": "buildType",
  2943. "in": "query"
  2944. },
  2945. {
  2946. "type": "string",
  2947. "description": "成交类别 - 格式:1,2,3",
  2948. "name": "tradeType",
  2949. "in": "query"
  2950. }
  2951. ],
  2952. "responses": {
  2953. "200": {
  2954. "description": "OK",
  2955. "schema": {
  2956. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  2957. }
  2958. },
  2959. "500": {
  2960. "description": "Internal Server Error",
  2961. "schema": {
  2962. "$ref": "#/definitions/app.Response"
  2963. }
  2964. }
  2965. }
  2966. }
  2967. },
  2968. "/Order/QueryTradeOrderDetail": {
  2969. "get": {
  2970. "security": [
  2971. {
  2972. "ApiKeyAuth": []
  2973. }
  2974. ],
  2975. "produces": [
  2976. "application/json"
  2977. ],
  2978. "tags": [
  2979. "通用单据"
  2980. ],
  2981. "summary": "委托单查询请求(合约市场)",
  2982. "parameters": [
  2983. {
  2984. "type": "string",
  2985. "description": "资金账户 - 格式:1,2,3",
  2986. "name": "accountID",
  2987. "in": "query",
  2988. "required": true
  2989. },
  2990. {
  2991. "type": "string",
  2992. "description": "交易模式 - 格式:1,2,3",
  2993. "name": "tradeMode",
  2994. "in": "query"
  2995. },
  2996. {
  2997. "type": "string",
  2998. "description": "委托状态 - 格式:1,2,3",
  2999. "name": "orderStatus",
  3000. "in": "query"
  3001. },
  3002. {
  3003. "type": "integer",
  3004. "description": "委托单号",
  3005. "name": "orderID",
  3006. "in": "query"
  3007. }
  3008. ],
  3009. "responses": {
  3010. "200": {
  3011. "description": "OK",
  3012. "schema": {
  3013. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  3014. }
  3015. },
  3016. "500": {
  3017. "description": "Internal Server Error",
  3018. "schema": {
  3019. "$ref": "#/definitions/app.Response"
  3020. }
  3021. }
  3022. }
  3023. }
  3024. },
  3025. "/Order/QueryTradePosition": {
  3026. "get": {
  3027. "security": [
  3028. {
  3029. "ApiKeyAuth": []
  3030. }
  3031. ],
  3032. "produces": [
  3033. "application/json"
  3034. ],
  3035. "tags": [
  3036. "通用单据"
  3037. ],
  3038. "summary": "持仓汇总查询(合约市场)",
  3039. "parameters": [
  3040. {
  3041. "type": "string",
  3042. "description": "资金账户 - 格式:1,2,3",
  3043. "name": "accountID",
  3044. "in": "query",
  3045. "required": true
  3046. },
  3047. {
  3048. "type": "string",
  3049. "description": "交易模式 - 格式:1,2,3",
  3050. "name": "tradeMode",
  3051. "in": "query"
  3052. }
  3053. ],
  3054. "responses": {
  3055. "200": {
  3056. "description": "OK",
  3057. "schema": {
  3058. "$ref": "#/definitions/order.QueryTradePositionRsp"
  3059. }
  3060. },
  3061. "500": {
  3062. "description": "Internal Server Error",
  3063. "schema": {
  3064. "$ref": "#/definitions/app.Response"
  3065. }
  3066. }
  3067. }
  3068. }
  3069. },
  3070. "/Quote/QueryHistoryDatas": {
  3071. "get": {
  3072. "security": [
  3073. {
  3074. "ApiKeyAuth": []
  3075. }
  3076. ],
  3077. "produces": [
  3078. "application/json"
  3079. ],
  3080. "tags": [
  3081. "行情服务"
  3082. ],
  3083. "summary": "查询行情历史数据",
  3084. "parameters": [
  3085. {
  3086. "type": "integer",
  3087. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  3088. "name": "cycleType",
  3089. "in": "query",
  3090. "required": true
  3091. },
  3092. {
  3093. "type": "string",
  3094. "description": "商品代码",
  3095. "name": "goodsCode",
  3096. "in": "query",
  3097. "required": true
  3098. },
  3099. {
  3100. "type": "string",
  3101. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  3102. "name": "startTime",
  3103. "in": "query"
  3104. },
  3105. {
  3106. "type": "string",
  3107. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  3108. "name": "endTime",
  3109. "in": "query"
  3110. },
  3111. {
  3112. "type": "integer",
  3113. "description": "条数",
  3114. "name": "count",
  3115. "in": "query"
  3116. },
  3117. {
  3118. "type": "boolean",
  3119. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  3120. "name": "isAsc",
  3121. "in": "query"
  3122. }
  3123. ],
  3124. "responses": {
  3125. "200": {
  3126. "description": "OK",
  3127. "schema": {
  3128. "$ref": "#/definitions/quote.HistoryData"
  3129. }
  3130. },
  3131. "500": {
  3132. "description": "Internal Server Error",
  3133. "schema": {
  3134. "$ref": "#/definitions/app.Response"
  3135. }
  3136. }
  3137. }
  3138. }
  3139. },
  3140. "/Quote/QueryTSData": {
  3141. "get": {
  3142. "produces": [
  3143. "application/json"
  3144. ],
  3145. "tags": [
  3146. "行情服务"
  3147. ],
  3148. "summary": "分时图数据查询",
  3149. "parameters": [
  3150. {
  3151. "type": "string",
  3152. "description": "商品代码",
  3153. "name": "GoodsCode",
  3154. "in": "query",
  3155. "required": true
  3156. }
  3157. ],
  3158. "responses": {
  3159. "200": {
  3160. "description": "OK",
  3161. "schema": {
  3162. "$ref": "#/definitions/quote.QueryTSDataRsp"
  3163. }
  3164. },
  3165. "500": {
  3166. "description": "Internal Server Error",
  3167. "schema": {
  3168. "$ref": "#/definitions/app.Response"
  3169. }
  3170. }
  3171. }
  3172. }
  3173. },
  3174. "/SZDZ/QueryConvertConfig": {
  3175. "get": {
  3176. "security": [
  3177. {
  3178. "ApiKeyAuth": []
  3179. }
  3180. ],
  3181. "produces": [
  3182. "application/json"
  3183. ],
  3184. "tags": [
  3185. "定制【尚志大宗】"
  3186. ],
  3187. "summary": "查询交易系统转换设置",
  3188. "parameters": [
  3189. {
  3190. "type": "integer",
  3191. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  3192. "name": "convertType",
  3193. "in": "query"
  3194. },
  3195. {
  3196. "type": "string",
  3197. "description": "外部商品代码[JD\\PD]",
  3198. "name": "outerGoodsCode",
  3199. "in": "query"
  3200. },
  3201. {
  3202. "type": "string",
  3203. "description": "内部商品ID列表[交易],格式:1,2,3",
  3204. "name": "innerGoodsIDs",
  3205. "in": "query"
  3206. }
  3207. ],
  3208. "responses": {
  3209. "200": {
  3210. "description": "OK",
  3211. "schema": {
  3212. "$ref": "#/definitions/models.Szdz3convertconfig"
  3213. }
  3214. },
  3215. "500": {
  3216. "description": "Internal Server Error",
  3217. "schema": {
  3218. "$ref": "#/definitions/app.Response"
  3219. }
  3220. }
  3221. }
  3222. }
  3223. },
  3224. "/SZDZ/QueryConvertLog": {
  3225. "get": {
  3226. "security": [
  3227. {
  3228. "ApiKeyAuth": []
  3229. }
  3230. ],
  3231. "produces": [
  3232. "application/json"
  3233. ],
  3234. "tags": [
  3235. "定制【尚志大宗】"
  3236. ],
  3237. "summary": "交易系统转换流水查询",
  3238. "parameters": [
  3239. {
  3240. "type": "string",
  3241. "description": "资金账户 - 格式:1,2,3",
  3242. "name": "accountID",
  3243. "in": "query",
  3244. "required": true
  3245. },
  3246. {
  3247. "type": "string",
  3248. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3249. "name": "startDate",
  3250. "in": "query"
  3251. },
  3252. {
  3253. "type": "string",
  3254. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3255. "name": "endDate",
  3256. "in": "query"
  3257. }
  3258. ],
  3259. "responses": {
  3260. "200": {
  3261. "description": "OK",
  3262. "schema": {
  3263. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  3264. }
  3265. },
  3266. "500": {
  3267. "description": "Internal Server Error",
  3268. "schema": {
  3269. "$ref": "#/definitions/app.Response"
  3270. }
  3271. }
  3272. }
  3273. }
  3274. },
  3275. "/SZDZ/QueryGoodsPickup": {
  3276. "get": {
  3277. "security": [
  3278. {
  3279. "ApiKeyAuth": []
  3280. }
  3281. ],
  3282. "produces": [
  3283. "application/json"
  3284. ],
  3285. "tags": [
  3286. "定制【尚志大宗】"
  3287. ],
  3288. "summary": "商品提货单查询",
  3289. "parameters": [
  3290. {
  3291. "type": "string",
  3292. "description": "资金账户 - 格式:1,2,3",
  3293. "name": "accountID",
  3294. "in": "query",
  3295. "required": true
  3296. },
  3297. {
  3298. "type": "integer",
  3299. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3300. "name": "takeOrderStatus",
  3301. "in": "query"
  3302. }
  3303. ],
  3304. "responses": {
  3305. "200": {
  3306. "description": "OK",
  3307. "schema": {
  3308. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  3309. }
  3310. },
  3311. "500": {
  3312. "description": "Internal Server Error",
  3313. "schema": {
  3314. "$ref": "#/definitions/app.Response"
  3315. }
  3316. }
  3317. }
  3318. }
  3319. },
  3320. "/SZDZ/QueryRecieptOrder": {
  3321. "get": {
  3322. "security": [
  3323. {
  3324. "ApiKeyAuth": []
  3325. }
  3326. ],
  3327. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3328. "produces": [
  3329. "application/json"
  3330. ],
  3331. "tags": [
  3332. "定制【尚志大宗】"
  3333. ],
  3334. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  3335. "parameters": [
  3336. {
  3337. "type": "integer",
  3338. "description": "页码",
  3339. "name": "page",
  3340. "in": "query"
  3341. },
  3342. {
  3343. "type": "integer",
  3344. "description": "每页条数",
  3345. "name": "pagesize",
  3346. "in": "query"
  3347. },
  3348. {
  3349. "type": "integer",
  3350. "description": "商品ID",
  3351. "name": "goodsID",
  3352. "in": "query",
  3353. "required": true
  3354. },
  3355. {
  3356. "type": "string",
  3357. "description": "所属账户名称",
  3358. "name": "accountName",
  3359. "in": "query"
  3360. },
  3361. {
  3362. "type": "integer",
  3363. "description": "市场ID",
  3364. "name": "marketID",
  3365. "in": "query"
  3366. },
  3367. {
  3368. "type": "integer",
  3369. "description": "方向 - 0:买 1:卖",
  3370. "name": "buyorsell",
  3371. "in": "query",
  3372. "required": true
  3373. }
  3374. ],
  3375. "responses": {
  3376. "200": {
  3377. "description": "OK",
  3378. "schema": {
  3379. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  3380. }
  3381. },
  3382. "500": {
  3383. "description": "Internal Server Error",
  3384. "schema": {
  3385. "$ref": "#/definitions/app.Response"
  3386. }
  3387. }
  3388. }
  3389. }
  3390. },
  3391. "/SZDZ/QuerySZDZTradePosition": {
  3392. "get": {
  3393. "security": [
  3394. {
  3395. "ApiKeyAuth": []
  3396. }
  3397. ],
  3398. "produces": [
  3399. "application/json"
  3400. ],
  3401. "tags": [
  3402. "定制【尚志大宗】"
  3403. ],
  3404. "summary": "持仓汇总查询(尚志大宗)",
  3405. "parameters": [
  3406. {
  3407. "type": "integer",
  3408. "description": "资金账户",
  3409. "name": "accountID",
  3410. "in": "query",
  3411. "required": true
  3412. }
  3413. ],
  3414. "responses": {
  3415. "200": {
  3416. "description": "OK",
  3417. "schema": {
  3418. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  3419. }
  3420. },
  3421. "500": {
  3422. "description": "Internal Server Error",
  3423. "schema": {
  3424. "$ref": "#/definitions/app.Response"
  3425. }
  3426. }
  3427. }
  3428. }
  3429. },
  3430. "/SZDZ/SearchWhite": {
  3431. "get": {
  3432. "security": [
  3433. {
  3434. "ApiKeyAuth": []
  3435. }
  3436. ],
  3437. "produces": [
  3438. "application/json"
  3439. ],
  3440. "tags": [
  3441. "定制【尚志大宗】"
  3442. ],
  3443. "summary": "搜索白名单",
  3444. "parameters": [
  3445. {
  3446. "type": "integer",
  3447. "description": "用户ID",
  3448. "name": "userID",
  3449. "in": "query",
  3450. "required": true
  3451. }
  3452. ],
  3453. "responses": {
  3454. "200": {
  3455. "description": "OK",
  3456. "schema": {
  3457. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  3458. }
  3459. },
  3460. "500": {
  3461. "description": "Internal Server Error",
  3462. "schema": {
  3463. "$ref": "#/definitions/app.Response"
  3464. }
  3465. }
  3466. }
  3467. }
  3468. },
  3469. "/Search/SearchGoodses": {
  3470. "get": {
  3471. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  3472. "produces": [
  3473. "application/json"
  3474. ],
  3475. "tags": [
  3476. "检索服务"
  3477. ],
  3478. "summary": "检索商品信息",
  3479. "parameters": [
  3480. {
  3481. "type": "string",
  3482. "description": "检索内容",
  3483. "name": "content",
  3484. "in": "query",
  3485. "required": true
  3486. },
  3487. {
  3488. "type": "string",
  3489. "description": "交易模式,格式:1,2,3",
  3490. "name": "tradeModes",
  3491. "in": "query"
  3492. }
  3493. ],
  3494. "responses": {
  3495. "200": {
  3496. "description": "OK",
  3497. "schema": {
  3498. "$ref": "#/definitions/models.SearchGoods"
  3499. }
  3500. },
  3501. "500": {
  3502. "description": "Internal Server Error",
  3503. "schema": {
  3504. "$ref": "#/definitions/app.Response"
  3505. }
  3506. }
  3507. }
  3508. }
  3509. },
  3510. "/TaAccount/QueryAmountLog": {
  3511. "get": {
  3512. "security": [
  3513. {
  3514. "ApiKeyAuth": []
  3515. }
  3516. ],
  3517. "produces": [
  3518. "application/json"
  3519. ],
  3520. "tags": [
  3521. "资金账户"
  3522. ],
  3523. "summary": "资金流水查询(当前)",
  3524. "parameters": [
  3525. {
  3526. "type": "integer",
  3527. "description": "页码",
  3528. "name": "page",
  3529. "in": "query"
  3530. },
  3531. {
  3532. "type": "integer",
  3533. "description": "每页条数",
  3534. "name": "pagesize",
  3535. "in": "query"
  3536. },
  3537. {
  3538. "type": "string",
  3539. "description": "资金账户 - 格式:1,2,3",
  3540. "name": "accountID",
  3541. "in": "query",
  3542. "required": true
  3543. },
  3544. {
  3545. "type": "string",
  3546. "description": "资金操作类型 - 格式:1,2,3",
  3547. "name": "OperateType",
  3548. "in": "query"
  3549. }
  3550. ],
  3551. "responses": {
  3552. "200": {
  3553. "description": "OK",
  3554. "schema": {
  3555. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  3556. }
  3557. },
  3558. "500": {
  3559. "description": "Internal Server Error",
  3560. "schema": {
  3561. "$ref": "#/definitions/app.Response"
  3562. }
  3563. }
  3564. }
  3565. }
  3566. },
  3567. "/TaAccount/QueryHisAmountLog": {
  3568. "get": {
  3569. "security": [
  3570. {
  3571. "ApiKeyAuth": []
  3572. }
  3573. ],
  3574. "produces": [
  3575. "application/json"
  3576. ],
  3577. "tags": [
  3578. "资金账户"
  3579. ],
  3580. "summary": "资金流水查询(历史)",
  3581. "parameters": [
  3582. {
  3583. "type": "integer",
  3584. "description": "页码",
  3585. "name": "page",
  3586. "in": "query"
  3587. },
  3588. {
  3589. "type": "integer",
  3590. "description": "每页条数",
  3591. "name": "pagesize",
  3592. "in": "query"
  3593. },
  3594. {
  3595. "type": "string",
  3596. "description": "资金账户 - 格式:1,2,3",
  3597. "name": "accountID",
  3598. "in": "query",
  3599. "required": true
  3600. },
  3601. {
  3602. "type": "string",
  3603. "description": "资金操作类型 - 格式:1,2,3",
  3604. "name": "OperateType",
  3605. "in": "query"
  3606. },
  3607. {
  3608. "type": "string",
  3609. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3610. "name": "startDate",
  3611. "in": "query"
  3612. },
  3613. {
  3614. "type": "string",
  3615. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3616. "name": "endDate",
  3617. "in": "query"
  3618. }
  3619. ],
  3620. "responses": {
  3621. "200": {
  3622. "description": "OK",
  3623. "schema": {
  3624. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  3625. }
  3626. },
  3627. "500": {
  3628. "description": "Internal Server Error",
  3629. "schema": {
  3630. "$ref": "#/definitions/app.Response"
  3631. }
  3632. }
  3633. }
  3634. }
  3635. },
  3636. "/Trade/QueryRecieptOrder": {
  3637. "get": {
  3638. "security": [
  3639. {
  3640. "ApiKeyAuth": []
  3641. }
  3642. ],
  3643. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3644. "produces": [
  3645. "application/json"
  3646. ],
  3647. "tags": [
  3648. "通用交易"
  3649. ],
  3650. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  3651. "parameters": [
  3652. {
  3653. "type": "integer",
  3654. "description": "页码",
  3655. "name": "page",
  3656. "in": "query"
  3657. },
  3658. {
  3659. "type": "integer",
  3660. "description": "每页条数",
  3661. "name": "pagesize",
  3662. "in": "query"
  3663. },
  3664. {
  3665. "type": "integer",
  3666. "description": "商品ID",
  3667. "name": "goodsID",
  3668. "in": "query",
  3669. "required": true
  3670. },
  3671. {
  3672. "type": "string",
  3673. "description": "所属账户名称",
  3674. "name": "accountName",
  3675. "in": "query"
  3676. },
  3677. {
  3678. "type": "integer",
  3679. "description": "市场ID",
  3680. "name": "marketID",
  3681. "in": "query"
  3682. },
  3683. {
  3684. "type": "integer",
  3685. "description": "方向 - 0:买 1:卖",
  3686. "name": "buyorsell",
  3687. "in": "query",
  3688. "required": true
  3689. }
  3690. ],
  3691. "responses": {
  3692. "200": {
  3693. "description": "OK",
  3694. "schema": {
  3695. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  3696. }
  3697. },
  3698. "500": {
  3699. "description": "Internal Server Error",
  3700. "schema": {
  3701. "$ref": "#/definitions/app.Response"
  3702. }
  3703. }
  3704. }
  3705. }
  3706. },
  3707. "/User/AddMessageBoard": {
  3708. "post": {
  3709. "security": [
  3710. {
  3711. "ApiKeyAuth": []
  3712. }
  3713. ],
  3714. "produces": [
  3715. "application/json"
  3716. ],
  3717. "tags": [
  3718. "用户信息"
  3719. ],
  3720. "summary": "添加用户留言板信息",
  3721. "parameters": [
  3722. {
  3723. "type": "integer",
  3724. "description": "用户ID",
  3725. "name": "userID",
  3726. "in": "query",
  3727. "required": true
  3728. },
  3729. {
  3730. "type": "string",
  3731. "description": "留言信息",
  3732. "name": "message",
  3733. "in": "query",
  3734. "required": true
  3735. }
  3736. ],
  3737. "responses": {
  3738. "200": {
  3739. "description": "OK",
  3740. "schema": {
  3741. "$ref": "#/definitions/app.Response"
  3742. }
  3743. },
  3744. "500": {
  3745. "description": "Internal Server Error",
  3746. "schema": {
  3747. "$ref": "#/definitions/app.Response"
  3748. }
  3749. }
  3750. }
  3751. }
  3752. },
  3753. "/User/AddUserFavoriteGoods": {
  3754. "post": {
  3755. "security": [
  3756. {
  3757. "ApiKeyAuth": []
  3758. }
  3759. ],
  3760. "produces": [
  3761. "application/json"
  3762. ],
  3763. "tags": [
  3764. "用户信息"
  3765. ],
  3766. "summary": "添加用户商品收藏信息",
  3767. "parameters": [
  3768. {
  3769. "type": "integer",
  3770. "description": "用户ID",
  3771. "name": "userID",
  3772. "in": "query",
  3773. "required": true
  3774. },
  3775. {
  3776. "type": "integer",
  3777. "description": "商品ID",
  3778. "name": "goodsID",
  3779. "in": "query",
  3780. "required": true
  3781. }
  3782. ],
  3783. "responses": {
  3784. "200": {
  3785. "description": "OK",
  3786. "schema": {
  3787. "$ref": "#/definitions/app.Response"
  3788. }
  3789. },
  3790. "500": {
  3791. "description": "Internal Server Error",
  3792. "schema": {
  3793. "$ref": "#/definitions/app.Response"
  3794. }
  3795. }
  3796. }
  3797. }
  3798. },
  3799. "/User/GetLoginID": {
  3800. "get": {
  3801. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  3802. "produces": [
  3803. "application/json"
  3804. ],
  3805. "tags": [
  3806. "用户信息"
  3807. ],
  3808. "summary": "获取登录ID",
  3809. "parameters": [
  3810. {
  3811. "type": "string",
  3812. "description": "登录代码",
  3813. "name": "username",
  3814. "in": "query",
  3815. "required": true
  3816. }
  3817. ],
  3818. "responses": {
  3819. "200": {
  3820. "description": "OK",
  3821. "schema": {
  3822. "$ref": "#/definitions/app.Response"
  3823. }
  3824. },
  3825. "500": {
  3826. "description": "Internal Server Error",
  3827. "schema": {
  3828. "$ref": "#/definitions/app.Response"
  3829. }
  3830. }
  3831. }
  3832. }
  3833. },
  3834. "/User/GetUserAccount": {
  3835. "get": {
  3836. "security": [
  3837. {
  3838. "ApiKeyAuth": []
  3839. }
  3840. ],
  3841. "produces": [
  3842. "application/json"
  3843. ],
  3844. "tags": [
  3845. "用户信息"
  3846. ],
  3847. "summary": "获取用户账号信息",
  3848. "parameters": [
  3849. {
  3850. "type": "integer",
  3851. "description": "用户ID",
  3852. "name": "userID",
  3853. "in": "query",
  3854. "required": true
  3855. }
  3856. ],
  3857. "responses": {
  3858. "200": {
  3859. "description": "OK",
  3860. "schema": {
  3861. "$ref": "#/definitions/models.Useraccount"
  3862. }
  3863. },
  3864. "500": {
  3865. "description": "Internal Server Error",
  3866. "schema": {
  3867. "$ref": "#/definitions/app.Response"
  3868. }
  3869. }
  3870. }
  3871. }
  3872. },
  3873. "/User/GetUserAuthStatus": {
  3874. "get": {
  3875. "security": [
  3876. {
  3877. "ApiKeyAuth": []
  3878. }
  3879. ],
  3880. "produces": [
  3881. "application/json"
  3882. ],
  3883. "tags": [
  3884. "用户信息"
  3885. ],
  3886. "summary": "获取用户实名认证状态",
  3887. "parameters": [
  3888. {
  3889. "type": "integer",
  3890. "description": "用户ID",
  3891. "name": "userID",
  3892. "in": "query",
  3893. "required": true
  3894. }
  3895. ],
  3896. "responses": {
  3897. "200": {
  3898. "description": "OK",
  3899. "schema": {
  3900. "$ref": "#/definitions/app.Response"
  3901. }
  3902. },
  3903. "500": {
  3904. "description": "Internal Server Error",
  3905. "schema": {
  3906. "$ref": "#/definitions/app.Response"
  3907. }
  3908. }
  3909. }
  3910. }
  3911. },
  3912. "/User/QueryMessageBoard": {
  3913. "get": {
  3914. "security": [
  3915. {
  3916. "ApiKeyAuth": []
  3917. }
  3918. ],
  3919. "produces": [
  3920. "application/json"
  3921. ],
  3922. "tags": [
  3923. "用户信息"
  3924. ],
  3925. "summary": "获取用户留言板信息",
  3926. "parameters": [
  3927. {
  3928. "type": "integer",
  3929. "description": "用户ID",
  3930. "name": "userID",
  3931. "in": "query",
  3932. "required": true
  3933. }
  3934. ],
  3935. "responses": {
  3936. "200": {
  3937. "description": "OK",
  3938. "schema": {
  3939. "$ref": "#/definitions/models.Messageboard"
  3940. }
  3941. },
  3942. "500": {
  3943. "description": "Internal Server Error",
  3944. "schema": {
  3945. "$ref": "#/definitions/app.Response"
  3946. }
  3947. }
  3948. }
  3949. }
  3950. },
  3951. "/User/QueryUserFavoriteGoodses": {
  3952. "get": {
  3953. "security": [
  3954. {
  3955. "ApiKeyAuth": []
  3956. }
  3957. ],
  3958. "produces": [
  3959. "application/json"
  3960. ],
  3961. "tags": [
  3962. "用户信息"
  3963. ],
  3964. "summary": "获取用户商品收藏信息",
  3965. "parameters": [
  3966. {
  3967. "type": "integer",
  3968. "description": "用户ID",
  3969. "name": "userID",
  3970. "in": "query",
  3971. "required": true
  3972. }
  3973. ],
  3974. "responses": {
  3975. "200": {
  3976. "description": "OK",
  3977. "schema": {
  3978. "$ref": "#/definitions/models.Userfavoritegoods"
  3979. }
  3980. },
  3981. "500": {
  3982. "description": "Internal Server Error",
  3983. "schema": {
  3984. "$ref": "#/definitions/app.Response"
  3985. }
  3986. }
  3987. }
  3988. }
  3989. },
  3990. "/User/QueryUserInfo": {
  3991. "get": {
  3992. "security": [
  3993. {
  3994. "ApiKeyAuth": []
  3995. }
  3996. ],
  3997. "produces": [
  3998. "application/json"
  3999. ],
  4000. "tags": [
  4001. "用户信息"
  4002. ],
  4003. "summary": "获取用户信息",
  4004. "parameters": [
  4005. {
  4006. "type": "integer",
  4007. "description": "用户ID",
  4008. "name": "userID",
  4009. "in": "query",
  4010. "required": true
  4011. }
  4012. ],
  4013. "responses": {
  4014. "200": {
  4015. "description": "OK",
  4016. "schema": {
  4017. "$ref": "#/definitions/models.Userinfo"
  4018. }
  4019. },
  4020. "500": {
  4021. "description": "Internal Server Error",
  4022. "schema": {
  4023. "$ref": "#/definitions/app.Response"
  4024. }
  4025. }
  4026. }
  4027. }
  4028. },
  4029. "/User/QueryUserReferNum": {
  4030. "get": {
  4031. "produces": [
  4032. "application/json"
  4033. ],
  4034. "tags": [
  4035. "用户信息"
  4036. ],
  4037. "summary": "获取用户邀请码",
  4038. "parameters": [
  4039. {
  4040. "type": "integer",
  4041. "description": "用户ID",
  4042. "name": "userID",
  4043. "in": "query",
  4044. "required": true
  4045. }
  4046. ],
  4047. "responses": {
  4048. "200": {
  4049. "description": "OK",
  4050. "schema": {
  4051. "$ref": "#/definitions/app.Response"
  4052. }
  4053. },
  4054. "500": {
  4055. "description": "Internal Server Error",
  4056. "schema": {
  4057. "$ref": "#/definitions/app.Response"
  4058. }
  4059. }
  4060. }
  4061. }
  4062. },
  4063. "/User/RemoveUserFavoriteGoods": {
  4064. "post": {
  4065. "security": [
  4066. {
  4067. "ApiKeyAuth": []
  4068. }
  4069. ],
  4070. "produces": [
  4071. "application/json"
  4072. ],
  4073. "tags": [
  4074. "用户信息"
  4075. ],
  4076. "summary": "移除用户商品收藏信息",
  4077. "parameters": [
  4078. {
  4079. "type": "integer",
  4080. "description": "用户ID",
  4081. "name": "userID",
  4082. "in": "query",
  4083. "required": true
  4084. },
  4085. {
  4086. "type": "integer",
  4087. "description": "商品ID",
  4088. "name": "goodsID",
  4089. "in": "query",
  4090. "required": true
  4091. }
  4092. ],
  4093. "responses": {
  4094. "200": {
  4095. "description": "OK",
  4096. "schema": {
  4097. "$ref": "#/definitions/app.Response"
  4098. }
  4099. },
  4100. "500": {
  4101. "description": "Internal Server Error",
  4102. "schema": {
  4103. "$ref": "#/definitions/app.Response"
  4104. }
  4105. }
  4106. }
  4107. }
  4108. },
  4109. "/WR/GetWRCategoryInfo": {
  4110. "get": {
  4111. "produces": [
  4112. "application/json"
  4113. ],
  4114. "tags": [
  4115. "仓单服务"
  4116. ],
  4117. "summary": "获取现货分类信息",
  4118. "responses": {
  4119. "200": {
  4120. "description": "OK",
  4121. "schema": {
  4122. "$ref": "#/definitions/models.WRCategoryTree"
  4123. }
  4124. },
  4125. "500": {
  4126. "description": "Internal Server Error",
  4127. "schema": {
  4128. "$ref": "#/definitions/app.Response"
  4129. }
  4130. }
  4131. }
  4132. }
  4133. },
  4134. "/WRTrade/GetAllDeliveryGoods": {
  4135. "get": {
  4136. "security": [
  4137. {
  4138. "ApiKeyAuth": []
  4139. },
  4140. {
  4141. "ApiKeyAuth": []
  4142. }
  4143. ],
  4144. "produces": [
  4145. "application/json",
  4146. "application/json"
  4147. ],
  4148. "tags": [
  4149. "仓单贸易",
  4150. "仓单贸易"
  4151. ],
  4152. "summary": "获取带仓单分类的种类信息",
  4153. "responses": {
  4154. "200": {
  4155. "description": "OK",
  4156. "schema": {
  4157. "$ref": "#/definitions/app.Response"
  4158. }
  4159. },
  4160. "500": {
  4161. "description": "Internal Server Error",
  4162. "schema": {
  4163. "$ref": "#/definitions/app.Response"
  4164. }
  4165. }
  4166. }
  4167. }
  4168. }
  4169. },
  4170. "definitions": {
  4171. "app.Response": {
  4172. "type": "object",
  4173. "properties": {
  4174. "code": {
  4175. "type": "integer"
  4176. },
  4177. "data": {
  4178. "type": "object"
  4179. },
  4180. "msg": {
  4181. "type": "string"
  4182. },
  4183. "page": {
  4184. "description": "页码",
  4185. "type": "integer"
  4186. },
  4187. "pagesize": {
  4188. "description": "每页条数",
  4189. "type": "integer"
  4190. },
  4191. "total": {
  4192. "description": "总条数",
  4193. "type": "integer"
  4194. }
  4195. }
  4196. },
  4197. "common.QueryNoticeRsp": {
  4198. "type": "object",
  4199. "required": [
  4200. "autoid"
  4201. ],
  4202. "properties": {
  4203. "auditoruserid": {
  4204. "description": "审核人",
  4205. "type": "integer"
  4206. },
  4207. "auditremark": {
  4208. "description": "审核备注",
  4209. "type": "string"
  4210. },
  4211. "audittime": {
  4212. "description": "审核日期",
  4213. "type": "string"
  4214. },
  4215. "autoid": {
  4216. "description": "自增ID",
  4217. "type": "integer"
  4218. },
  4219. "content": {
  4220. "description": "内容",
  4221. "type": "string"
  4222. },
  4223. "createtime": {
  4224. "description": "创建时间",
  4225. "type": "string"
  4226. },
  4227. "creatorid": {
  4228. "description": "建仓人",
  4229. "type": "integer"
  4230. },
  4231. "endtime": {
  4232. "description": "结束时间",
  4233. "type": "string"
  4234. },
  4235. "istop": {
  4236. "description": "是否置顶 - 0:不置顶 1:置顶",
  4237. "type": "integer"
  4238. },
  4239. "msgiconurl": {
  4240. "description": "消息图标Url",
  4241. "type": "string"
  4242. },
  4243. "msgtype": {
  4244. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  4245. "type": "integer"
  4246. },
  4247. "publisher": {
  4248. "description": "消息发布者",
  4249. "type": "string"
  4250. },
  4251. "readed": {
  4252. "description": "是否已读",
  4253. "type": "boolean"
  4254. },
  4255. "scheduletime": {
  4256. "description": "计划发送时间",
  4257. "type": "string"
  4258. },
  4259. "sendtype": {
  4260. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  4261. "type": "integer"
  4262. },
  4263. "sentstatus": {
  4264. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  4265. "type": "integer"
  4266. },
  4267. "title": {
  4268. "description": "标题",
  4269. "type": "string"
  4270. },
  4271. "userid": {
  4272. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  4273. "type": "integer"
  4274. }
  4275. }
  4276. },
  4277. "common.QueryProvincesAndCitiesRsp": {
  4278. "type": "object",
  4279. "properties": {
  4280. "cities": {
  4281. "description": "市",
  4282. "type": "array",
  4283. "items": {
  4284. "$ref": "#/definitions/models.Division"
  4285. }
  4286. },
  4287. "province": {
  4288. "description": "省",
  4289. "type": "object",
  4290. "$ref": "#/definitions/models.Division"
  4291. }
  4292. }
  4293. },
  4294. "common.QueryTableDefineRsp": {
  4295. "type": "object",
  4296. "required": [
  4297. "tablekey"
  4298. ],
  4299. "properties": {
  4300. "columns": {
  4301. "description": "列头信息数组",
  4302. "type": "array",
  4303. "items": {
  4304. "$ref": "#/definitions/models.Tablecolumnconfig"
  4305. }
  4306. },
  4307. "remark": {
  4308. "description": "Remark",
  4309. "type": "string"
  4310. },
  4311. "tabelmenu": {
  4312. "description": "列表菜单",
  4313. "type": "string"
  4314. },
  4315. "tablekey": {
  4316. "description": "列表Key",
  4317. "type": "string"
  4318. },
  4319. "tablename": {
  4320. "description": "列表名称",
  4321. "type": "string"
  4322. },
  4323. "tabletype": {
  4324. "description": "列表类型 - 1:管理端 2:终端",
  4325. "type": "integer"
  4326. }
  4327. }
  4328. },
  4329. "common.QueryTraderMenuRsp": {
  4330. "type": "object",
  4331. "properties": {
  4332. "OperationMenu": {
  4333. "description": "功能菜单",
  4334. "type": "array",
  4335. "items": {
  4336. "$ref": "#/definitions/models.OperationPrimaryMenu"
  4337. }
  4338. },
  4339. "QuoteMenu": {
  4340. "description": "报价牌分类菜单",
  4341. "type": "array",
  4342. "items": {
  4343. "$ref": "#/definitions/models.QuotePrimaryMenu"
  4344. }
  4345. }
  4346. }
  4347. },
  4348. "cptrade.Cptradepositioncancel": {
  4349. "type": "object",
  4350. "required": [
  4351. "cancelid"
  4352. ],
  4353. "properties": {
  4354. "accountid": {
  4355. "description": "申请人账户ID",
  4356. "type": "integer"
  4357. },
  4358. "applystatus": {
  4359. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4360. "type": "integer"
  4361. },
  4362. "applytime": {
  4363. "description": "申请时间",
  4364. "type": "string"
  4365. },
  4366. "cancelid": {
  4367. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  4368. "type": "integer"
  4369. },
  4370. "cancelqty": {
  4371. "description": "注销数量",
  4372. "type": "integer"
  4373. },
  4374. "createtime": {
  4375. "description": "创建时间",
  4376. "type": "string"
  4377. },
  4378. "creatorid": {
  4379. "description": "创建人ID",
  4380. "type": "integer"
  4381. },
  4382. "creatorname": {
  4383. "description": "创建人",
  4384. "type": "string"
  4385. },
  4386. "goodscode": {
  4387. "description": "订单商品代码",
  4388. "type": "string"
  4389. },
  4390. "goodsid": {
  4391. "description": "商品ID",
  4392. "type": "integer"
  4393. },
  4394. "goodsname": {
  4395. "description": "订单商品名称",
  4396. "type": "string"
  4397. },
  4398. "goodunit": {
  4399. "description": "报价单位",
  4400. "type": "string"
  4401. },
  4402. "handlestatus": {
  4403. "description": "处理状态",
  4404. "type": "integer"
  4405. },
  4406. "marketid": {
  4407. "description": "市场ID",
  4408. "type": "integer"
  4409. },
  4410. "marketname": {
  4411. "description": "市场名称",
  4412. "type": "string"
  4413. },
  4414. "tradedate": {
  4415. "description": "交易日(yyyyMMdd)",
  4416. "type": "string"
  4417. },
  4418. "userid": {
  4419. "description": "申请人ID",
  4420. "type": "integer"
  4421. }
  4422. }
  4423. },
  4424. "cptrade.Cptradepresaleapply": {
  4425. "type": "object",
  4426. "required": [
  4427. "applyid"
  4428. ],
  4429. "properties": {
  4430. "accountid": {
  4431. "description": "申请人账户ID",
  4432. "type": "integer"
  4433. },
  4434. "applyid": {
  4435. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  4436. "type": "integer"
  4437. },
  4438. "applyremark": {
  4439. "description": "申请备注",
  4440. "type": "string"
  4441. },
  4442. "applystatus": {
  4443. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4444. "type": "integer"
  4445. },
  4446. "applytime": {
  4447. "description": "申请时间",
  4448. "type": "string"
  4449. },
  4450. "attachmenturl": {
  4451. "description": "附件地址",
  4452. "type": "string"
  4453. },
  4454. "endtime": {
  4455. "description": "预售结束时间",
  4456. "type": "string"
  4457. },
  4458. "goodscode": {
  4459. "description": "商品代码",
  4460. "type": "string"
  4461. },
  4462. "goodsid": {
  4463. "description": "商品ID",
  4464. "type": "integer"
  4465. },
  4466. "goodsname": {
  4467. "description": "商品名称",
  4468. "type": "string"
  4469. },
  4470. "goodunit": {
  4471. "description": "报价单位",
  4472. "type": "string"
  4473. },
  4474. "handlestatus": {
  4475. "description": "处理状态",
  4476. "type": "integer"
  4477. },
  4478. "marketid": {
  4479. "description": "预售市场ID",
  4480. "type": "integer"
  4481. },
  4482. "marketname": {
  4483. "description": "预售市场名称",
  4484. "type": "string"
  4485. },
  4486. "presaleqty": {
  4487. "description": "预售数量",
  4488. "type": "integer"
  4489. },
  4490. "relatedgoodscode": {
  4491. "description": "关联交易合约代码",
  4492. "type": "string"
  4493. },
  4494. "relatedgoodsid": {
  4495. "description": "关联交易合约ID",
  4496. "type": "integer"
  4497. },
  4498. "relatedgoodsname": {
  4499. "description": "关联交易合约名称",
  4500. "type": "string"
  4501. },
  4502. "starttime": {
  4503. "description": "预售开始时间",
  4504. "type": "string"
  4505. },
  4506. "tradedate": {
  4507. "description": "交易日(yyyyMMdd)",
  4508. "type": "string"
  4509. },
  4510. "trademode": {
  4511. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  4512. "type": "integer"
  4513. },
  4514. "userid": {
  4515. "description": "申请人ID",
  4516. "type": "integer"
  4517. }
  4518. }
  4519. },
  4520. "cptrade.Cptradeusergoodsdata": {
  4521. "type": "object",
  4522. "required": [
  4523. "accountid",
  4524. "goodsid"
  4525. ],
  4526. "properties": {
  4527. "EnabledQty": {
  4528. "description": "可用量",
  4529. "type": "integer"
  4530. },
  4531. "GoodsCode": {
  4532. "description": "订单商品代码",
  4533. "type": "string"
  4534. },
  4535. "GoodsName": {
  4536. "description": "订单商品名称",
  4537. "type": "string"
  4538. },
  4539. "WRStandardCode": {
  4540. "description": "仓单标准代码",
  4541. "type": "string"
  4542. },
  4543. "WRStandardName": {
  4544. "description": "仓单标准名称",
  4545. "type": "string"
  4546. },
  4547. "accountid": {
  4548. "description": "账户ID",
  4549. "type": "integer"
  4550. },
  4551. "cancelqty": {
  4552. "description": "注销量",
  4553. "type": "integer"
  4554. },
  4555. "curpresaleqty": {
  4556. "description": "当前预售量",
  4557. "type": "integer"
  4558. },
  4559. "deliveryqty": {
  4560. "description": "交割量",
  4561. "type": "integer"
  4562. },
  4563. "freezeamount": {
  4564. "description": "冻结金额",
  4565. "type": "number"
  4566. },
  4567. "goodsid": {
  4568. "description": "商品ID",
  4569. "type": "integer"
  4570. },
  4571. "goodunit": {
  4572. "description": "报价单位",
  4573. "type": "string"
  4574. },
  4575. "hasspotfreeze": {
  4576. "description": "是否有现货冻结 - 0:否 1:有",
  4577. "type": "integer"
  4578. },
  4579. "inqty": {
  4580. "description": "转入量(总数量)",
  4581. "type": "integer"
  4582. },
  4583. "marketid": {
  4584. "description": "市场ID",
  4585. "type": "integer"
  4586. },
  4587. "presaledamount": {
  4588. "description": "已预售总金额",
  4589. "type": "integer"
  4590. },
  4591. "presaledqty": {
  4592. "description": "已预售量",
  4593. "type": "integer"
  4594. },
  4595. "userid": {
  4596. "description": "用户ID",
  4597. "type": "integer"
  4598. },
  4599. "wrstandardid": {
  4600. "description": "仓单标准ID",
  4601. "type": "integer"
  4602. }
  4603. }
  4604. },
  4605. "cptrade.QueryCPTradeMyBidRsp": {
  4606. "type": "object",
  4607. "required": [
  4608. "accountid",
  4609. "goodsid",
  4610. "marketid",
  4611. "orderid",
  4612. "orderqty",
  4613. "ordertime",
  4614. "tradeprice",
  4615. "tradeqty"
  4616. ],
  4617. "properties": {
  4618. "accountid": {
  4619. "description": "账户ID[报价币种]",
  4620. "type": "integer"
  4621. },
  4622. "goodsid": {
  4623. "description": "商品ID",
  4624. "type": "integer"
  4625. },
  4626. "goodunit": {
  4627. "description": "报价单位",
  4628. "type": "string"
  4629. },
  4630. "marketid": {
  4631. "description": "市场ID",
  4632. "type": "integer"
  4633. },
  4634. "orderid": {
  4635. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4636. "type": "integer"
  4637. },
  4638. "orderprice": {
  4639. "description": "委托价格",
  4640. "type": "number"
  4641. },
  4642. "orderqty": {
  4643. "description": "委托数量",
  4644. "type": "integer"
  4645. },
  4646. "ordertime": {
  4647. "description": "委托时间",
  4648. "type": "string"
  4649. },
  4650. "ordertotalprice": {
  4651. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  4652. "type": "number"
  4653. },
  4654. "ordertotalweight": {
  4655. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  4656. "type": "integer"
  4657. },
  4658. "totaltotalprice": {
  4659. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  4660. "type": "number"
  4661. },
  4662. "tradeprice": {
  4663. "description": "成交价格",
  4664. "type": "number"
  4665. },
  4666. "tradeqty": {
  4667. "description": "成交数量",
  4668. "type": "integer"
  4669. }
  4670. }
  4671. },
  4672. "cptrade.QueryCPTradeOrderDetailRsq": {
  4673. "type": "object",
  4674. "required": [
  4675. "accountid",
  4676. "buildtype",
  4677. "buyorsell",
  4678. "goodsid",
  4679. "marketid",
  4680. "memberuserid",
  4681. "operatetype",
  4682. "orderqty",
  4683. "ordertime",
  4684. "pricemode",
  4685. "strorderid",
  4686. "tradedate",
  4687. "validtype"
  4688. ],
  4689. "properties": {
  4690. "accountid": {
  4691. "description": "账户ID[报价币种]",
  4692. "type": "integer"
  4693. },
  4694. "buildtype": {
  4695. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  4696. "type": "integer"
  4697. },
  4698. "buyorsell": {
  4699. "description": "买卖 - 0:买 1:卖",
  4700. "type": "integer"
  4701. },
  4702. "cancelorderid": {
  4703. "description": "撤单单号(撤单时填写)",
  4704. "type": "integer"
  4705. },
  4706. "cancelqty": {
  4707. "description": "撤单数量",
  4708. "type": "integer"
  4709. },
  4710. "clientordertime": {
  4711. "description": "客户端委托时间",
  4712. "type": "string"
  4713. },
  4714. "clientticket": {
  4715. "description": "客户端流水号",
  4716. "type": "string"
  4717. },
  4718. "clienttype": {
  4719. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  4720. "type": "integer"
  4721. },
  4722. "closeexchagechargevalue": {
  4723. "description": "平仓交易所手续费设置值",
  4724. "type": "number"
  4725. },
  4726. "closefeealgorithm": {
  4727. "description": "平仓手续费收取方式 1:比率 2:固定",
  4728. "type": "integer"
  4729. },
  4730. "closefreezecharge": {
  4731. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  4732. "type": "number"
  4733. },
  4734. "closememberchargevalue": {
  4735. "description": "平仓会员手续费设置值",
  4736. "type": "number"
  4737. },
  4738. "closeqty": {
  4739. "description": "平仓数量(先建后平操作 需要记录)",
  4740. "type": "integer"
  4741. },
  4742. "closetradeqty": {
  4743. "description": "平仓成交数量(先建后平操作,需要记录)",
  4744. "type": "integer"
  4745. },
  4746. "closeunfreezecharge": {
  4747. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  4748. "type": "number"
  4749. },
  4750. "delistingtype": {
  4751. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  4752. "type": "integer"
  4753. },
  4754. "freezecharge": {
  4755. "description": "冻结手续费",
  4756. "type": "number"
  4757. },
  4758. "freezemargin": {
  4759. "description": "冻结保证金(冻结交易金额)",
  4760. "type": "number"
  4761. },
  4762. "gcaccountid": {
  4763. "description": "账户ID[合约币种]",
  4764. "type": "integer"
  4765. },
  4766. "goodsid": {
  4767. "description": "商品ID",
  4768. "type": "integer"
  4769. },
  4770. "isconfirmexercise": {
  4771. "description": "是否确认行权- 0:否 1:是",
  4772. "type": "integer"
  4773. },
  4774. "ispreexercise": {
  4775. "description": "是否预申报- 0:否 1:是",
  4776. "type": "integer"
  4777. },
  4778. "listingselecttype": {
  4779. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  4780. "type": "integer"
  4781. },
  4782. "marginalgorithm": {
  4783. "description": "保证金收取方式 1:比率 2:固定",
  4784. "type": "integer"
  4785. },
  4786. "marginvalue": {
  4787. "description": "即市保证金设置值",
  4788. "type": "number"
  4789. },
  4790. "marketid": {
  4791. "description": "市场ID",
  4792. "type": "integer"
  4793. },
  4794. "marketmaxsub": {
  4795. "description": "市价最大偏移范围",
  4796. "type": "number"
  4797. },
  4798. "memberuserid": {
  4799. "description": "所属会员UserID",
  4800. "type": "integer"
  4801. },
  4802. "openexchagechargevalue": {
  4803. "description": "建仓交易所手续费设置值",
  4804. "type": "number"
  4805. },
  4806. "openfeealgorithm": {
  4807. "description": "建仓手续费收取方式 1:比率 2:固定",
  4808. "type": "integer"
  4809. },
  4810. "openfreezecharge": {
  4811. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  4812. "type": "number"
  4813. },
  4814. "openmemberchargevalue": {
  4815. "description": "建仓会员手续费设置值",
  4816. "type": "number"
  4817. },
  4818. "openqty": {
  4819. "description": "开仓数量(先建后平操作,需要记录)",
  4820. "type": "integer"
  4821. },
  4822. "opentradeqty": {
  4823. "description": "开仓成交数量(先建后平操作,需要记录)",
  4824. "type": "integer"
  4825. },
  4826. "openunfreezecharge": {
  4827. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  4828. "type": "number"
  4829. },
  4830. "operatetype": {
  4831. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  4832. "type": "integer"
  4833. },
  4834. "operatorid": {
  4835. "description": "登录账号(LoginID)",
  4836. "type": "integer"
  4837. },
  4838. "optiontype": {
  4839. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  4840. "type": "integer"
  4841. },
  4842. "orderprice": {
  4843. "description": "委托价格",
  4844. "type": "number"
  4845. },
  4846. "orderqty": {
  4847. "description": "委托数量",
  4848. "type": "integer"
  4849. },
  4850. "ordersrc": {
  4851. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  4852. "type": "integer"
  4853. },
  4854. "orderstatus": {
  4855. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  4856. "type": "integer"
  4857. },
  4858. "ordertime": {
  4859. "description": "委托时间",
  4860. "type": "string"
  4861. },
  4862. "preexerciseprice": {
  4863. "description": "预申报价格",
  4864. "type": "number"
  4865. },
  4866. "premium": {
  4867. "description": "权利金",
  4868. "type": "number"
  4869. },
  4870. "preorderid": {
  4871. "description": "关联预埋单号(止盈止损单时填写)",
  4872. "type": "integer"
  4873. },
  4874. "pricemode": {
  4875. "description": "取价方式 - 1:市价 2: 限价",
  4876. "type": "integer"
  4877. },
  4878. "quoteid": {
  4879. "description": "报价单ID",
  4880. "type": "integer"
  4881. },
  4882. "relatedid": {
  4883. "description": "关联单号(交割单)",
  4884. "type": "integer"
  4885. },
  4886. "retcode": {
  4887. "description": "错误代码",
  4888. "type": "integer"
  4889. },
  4890. "sessionid": {
  4891. "description": "会话ID",
  4892. "type": "integer"
  4893. },
  4894. "strorderid": {
  4895. "description": "委托单号",
  4896. "type": "string"
  4897. },
  4898. "tradedate": {
  4899. "description": "交易日(yyyyMMdd)",
  4900. "type": "string"
  4901. },
  4902. "tradeproperty": {
  4903. "description": "交易属性",
  4904. "type": "integer"
  4905. },
  4906. "tradeqty": {
  4907. "description": "成交数量",
  4908. "type": "integer"
  4909. },
  4910. "unfreezecharge": {
  4911. "description": "解冻手续费",
  4912. "type": "number"
  4913. },
  4914. "unfreezemargin": {
  4915. "description": "解冻保证金",
  4916. "type": "number"
  4917. },
  4918. "updatetime": {
  4919. "description": "更新时间",
  4920. "type": "string"
  4921. },
  4922. "uuid": {
  4923. "description": "发起端唯一id",
  4924. "type": "string"
  4925. },
  4926. "validtime": {
  4927. "description": "有效期限",
  4928. "type": "string"
  4929. },
  4930. "validtype": {
  4931. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  4932. "type": "integer"
  4933. },
  4934. "volumetype": {
  4935. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  4936. "type": "integer"
  4937. }
  4938. }
  4939. },
  4940. "cptrade.QueryMyCPTradeGoodsRsp": {
  4941. "type": "object",
  4942. "required": [
  4943. "goodscode",
  4944. "goodsid",
  4945. "goodsname",
  4946. "marketid",
  4947. "relatedgoodscode",
  4948. "relatedgoodsname"
  4949. ],
  4950. "properties": {
  4951. "accountid": {
  4952. "description": "卖方账户ID",
  4953. "type": "integer"
  4954. },
  4955. "agreeunit": {
  4956. "description": "合约单位",
  4957. "type": "number"
  4958. },
  4959. "applyid": {
  4960. "description": "关联申请ID",
  4961. "type": "integer"
  4962. },
  4963. "attachmenturl": {
  4964. "description": "附件地址",
  4965. "type": "string"
  4966. },
  4967. "createtime": {
  4968. "description": "创建时间",
  4969. "type": "string"
  4970. },
  4971. "currencyid": {
  4972. "description": "报价货币ID",
  4973. "type": "integer"
  4974. },
  4975. "decimalplace": {
  4976. "description": "报价小数位",
  4977. "type": "integer"
  4978. },
  4979. "endtime": {
  4980. "description": "预售结束时间",
  4981. "type": "string"
  4982. },
  4983. "floorprice": {
  4984. "description": "底价[大宗式竞拍]",
  4985. "type": "number"
  4986. },
  4987. "goodscode": {
  4988. "description": "商品代码(预售)",
  4989. "type": "string"
  4990. },
  4991. "goodsdetail": {
  4992. "description": "详情[大宗]",
  4993. "type": "string"
  4994. },
  4995. "goodsid": {
  4996. "description": "商品ID(自增ID SEQ_GOODS)",
  4997. "type": "integer"
  4998. },
  4999. "goodsname": {
  5000. "description": "商品名称(预售)",
  5001. "type": "string"
  5002. },
  5003. "goodunit": {
  5004. "description": "报价单位",
  5005. "type": "string"
  5006. },
  5007. "goodunitid": {
  5008. "description": "报价单位ID",
  5009. "type": "integer"
  5010. },
  5011. "marketid": {
  5012. "description": "所属市场ID",
  5013. "type": "integer"
  5014. },
  5015. "marketname": {
  5016. "description": "预售市场名称",
  5017. "type": "string"
  5018. },
  5019. "presaledamount": {
  5020. "description": "已预售总金额(预售结束时更新)",
  5021. "type": "number"
  5022. },
  5023. "presaledqty": {
  5024. "description": "已预售量(预售结束时更新)",
  5025. "type": "integer"
  5026. },
  5027. "presalemode": {
  5028. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5029. "type": "integer"
  5030. },
  5031. "presaleqty": {
  5032. "description": "预售数量",
  5033. "type": "integer"
  5034. },
  5035. "refprice": {
  5036. "description": "参考价格[一口价]",
  5037. "type": "number"
  5038. },
  5039. "relatedgoodscode": {
  5040. "description": "商品代码(订单)",
  5041. "type": "string"
  5042. },
  5043. "relatedgoodsid": {
  5044. "description": "关联交易合约ID",
  5045. "type": "integer"
  5046. },
  5047. "relatedgoodsname": {
  5048. "description": "商品名称(订单)",
  5049. "type": "string"
  5050. },
  5051. "relatedmarketid": {
  5052. "description": "关联交易合约市场ID",
  5053. "type": "integer"
  5054. },
  5055. "sellstatus": {
  5056. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5057. "type": "integer"
  5058. },
  5059. "startprice": {
  5060. "description": "起拍价[大宗式竞拍]",
  5061. "type": "number"
  5062. },
  5063. "starttime": {
  5064. "description": "预售开始时间",
  5065. "type": "string"
  5066. },
  5067. "tradedate": {
  5068. "description": "交易日(yyyyMMdd)",
  5069. "type": "string"
  5070. },
  5071. "tradeprice": {
  5072. "description": "成交价[大宗]",
  5073. "type": "number"
  5074. },
  5075. "userid": {
  5076. "description": "卖方用户ID",
  5077. "type": "integer"
  5078. }
  5079. }
  5080. },
  5081. "cptrade.QueryPresaleGoodsExRsp": {
  5082. "type": "object",
  5083. "required": [
  5084. "goodsid"
  5085. ],
  5086. "properties": {
  5087. "attachmenturl": {
  5088. "description": "附件地址",
  5089. "type": "string"
  5090. },
  5091. "createtime": {
  5092. "description": "创建时间",
  5093. "type": "string"
  5094. },
  5095. "endtime": {
  5096. "description": "预售结束时间",
  5097. "type": "string"
  5098. },
  5099. "floorprice": {
  5100. "description": "底价[大宗式竞拍]",
  5101. "type": "number"
  5102. },
  5103. "goodsdetail": {
  5104. "description": "详情[大宗]",
  5105. "type": "string"
  5106. },
  5107. "goodsid": {
  5108. "description": "商品ID(预售)",
  5109. "type": "integer"
  5110. },
  5111. "goodunit": {
  5112. "description": "报价单位",
  5113. "type": "string"
  5114. },
  5115. "marketid": {
  5116. "description": "预售市场ID - 根据预售模式选择市场",
  5117. "type": "integer"
  5118. },
  5119. "presaledamount": {
  5120. "description": "已预售总金额(预售结束时更新)",
  5121. "type": "number"
  5122. },
  5123. "presaledqty": {
  5124. "description": "已预售量(预售结束时更新)",
  5125. "type": "integer"
  5126. },
  5127. "presalemode": {
  5128. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5129. "type": "integer"
  5130. },
  5131. "presaleqty": {
  5132. "description": "预售数量",
  5133. "type": "integer"
  5134. },
  5135. "refprice": {
  5136. "description": "参考价格[一口价]",
  5137. "type": "number"
  5138. },
  5139. "relatedgoodsid": {
  5140. "description": "关联交易合约ID",
  5141. "type": "integer"
  5142. },
  5143. "relatedmarketid": {
  5144. "description": "关联交易合约市场ID",
  5145. "type": "integer"
  5146. },
  5147. "sellstatus": {
  5148. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5149. "type": "integer"
  5150. },
  5151. "startprice": {
  5152. "description": "起拍价[大宗式竞拍]",
  5153. "type": "number"
  5154. },
  5155. "starttime": {
  5156. "description": "预售开始时间",
  5157. "type": "string"
  5158. },
  5159. "tradedate": {
  5160. "description": "交易日(yyyyMMdd)",
  5161. "type": "string"
  5162. },
  5163. "tradeprice": {
  5164. "description": "成交价[大宗]",
  5165. "type": "number"
  5166. }
  5167. }
  5168. },
  5169. "delivery.QueryDeliveryRelationRsp": {
  5170. "type": "object",
  5171. "required": [
  5172. "begindate",
  5173. "enddate",
  5174. "goodsid",
  5175. "mindeliveryqty",
  5176. "xdeliveryratio"
  5177. ],
  5178. "properties": {
  5179. "begindate": {
  5180. "description": "起始日期(yyyyMMdd)",
  5181. "type": "string"
  5182. },
  5183. "buytemplateid": {
  5184. "description": "买履约计划模板ID",
  5185. "type": "integer"
  5186. },
  5187. "deliverygoodscode": {
  5188. "description": "品种代码",
  5189. "type": "string"
  5190. },
  5191. "deliverygoodsid": {
  5192. "description": "交割商品",
  5193. "type": "integer"
  5194. },
  5195. "deliverygoodsname": {
  5196. "description": "品种名称",
  5197. "type": "string"
  5198. },
  5199. "deliverymode": {
  5200. "description": "交割方式 - 1:点选式 2:申报式",
  5201. "type": "integer"
  5202. },
  5203. "deliverypricerule": {
  5204. "description": "交割价规则- 1:行情价 2:建仓价",
  5205. "type": "integer"
  5206. },
  5207. "deliverytype": {
  5208. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  5209. "type": "integer"
  5210. },
  5211. "enddate": {
  5212. "description": "结束日期(yyyyMMdd)",
  5213. "type": "string"
  5214. },
  5215. "goodscode": {
  5216. "description": "商品代码",
  5217. "type": "string"
  5218. },
  5219. "goodsid": {
  5220. "description": "交易合约ID",
  5221. "type": "integer"
  5222. },
  5223. "goodsname": {
  5224. "description": "商品名称",
  5225. "type": "string"
  5226. },
  5227. "marketid": {
  5228. "description": "市场ID",
  5229. "type": "integer"
  5230. },
  5231. "mindeliveryqty": {
  5232. "description": "最小交割系数(K)",
  5233. "type": "integer"
  5234. },
  5235. "p2deliveryprice": {
  5236. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  5237. "type": "number"
  5238. },
  5239. "p2deliveryratio": {
  5240. "description": "P2合约系数(p)",
  5241. "type": "integer"
  5242. },
  5243. "p2goodsid": {
  5244. "description": "P2合约ID",
  5245. "type": "integer"
  5246. },
  5247. "p2pricemode": {
  5248. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  5249. "type": "integer"
  5250. },
  5251. "pdeliveryprice": {
  5252. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  5253. "type": "number"
  5254. },
  5255. "pdeliveryratio": {
  5256. "description": "P合约系数(n)",
  5257. "type": "integer"
  5258. },
  5259. "pgoodsid": {
  5260. "description": "P合约ID",
  5261. "type": "integer"
  5262. },
  5263. "ppricemode": {
  5264. "description": "P合约价格方式 - 1:商品价 2:固定值",
  5265. "type": "integer"
  5266. },
  5267. "rratio": {
  5268. "description": "兑换系数(R)",
  5269. "type": "integer"
  5270. },
  5271. "rratio1": {
  5272. "description": "兑换系数(交易合约)(R1)",
  5273. "type": "integer"
  5274. },
  5275. "rratio2": {
  5276. "description": "兑换系数(仓单标准)(R2)",
  5277. "type": "integer"
  5278. },
  5279. "selltemplateid": {
  5280. "description": "卖履约计划模板ID",
  5281. "type": "integer"
  5282. },
  5283. "wrstandardid": {
  5284. "description": "仓单标准ID",
  5285. "type": "integer"
  5286. },
  5287. "xdeliveryratio": {
  5288. "description": "交易合约系数(m)",
  5289. "type": "integer"
  5290. }
  5291. }
  5292. },
  5293. "ermcp.QryBusinessDjRsp": {
  5294. "type": "object",
  5295. "properties": {
  5296. "applyid": {
  5297. "description": "申请人",
  5298. "type": "string"
  5299. },
  5300. "applyname": {
  5301. "description": "申请人名称",
  5302. "type": "string"
  5303. },
  5304. "applystatus": {
  5305. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5306. "type": "integer"
  5307. },
  5308. "applytime": {
  5309. "description": "申请时间",
  5310. "type": "string"
  5311. },
  5312. "audittime": {
  5313. "description": "审核时间",
  5314. "type": "string"
  5315. },
  5316. "buyusername": {
  5317. "description": "采购方名称",
  5318. "type": "string"
  5319. },
  5320. "contractno": {
  5321. "description": "合同编号",
  5322. "type": "string"
  5323. },
  5324. "contracttype": {
  5325. "description": "现货合同类型 - 1:采购 -1:销售",
  5326. "type": "integer"
  5327. },
  5328. "enumdicname": {
  5329. "description": "单位名称",
  5330. "type": "string"
  5331. },
  5332. "goodscode": {
  5333. "description": "点价合约",
  5334. "type": "string"
  5335. },
  5336. "goodsname": {
  5337. "description": "商品名称",
  5338. "type": "string"
  5339. },
  5340. "operateapplyid": {
  5341. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5342. "type": "string"
  5343. },
  5344. "operateapplytype": {
  5345. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5346. "type": "integer"
  5347. },
  5348. "pricedPrice": {
  5349. "description": "点价价格(非必填)",
  5350. "type": "number"
  5351. },
  5352. "pricedQty": {
  5353. "description": "点价数量(非必填)",
  5354. "type": "number"
  5355. },
  5356. "pricemove": {
  5357. "description": "升贴水",
  5358. "type": "number"
  5359. },
  5360. "pricetype": {
  5361. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5362. "type": "integer"
  5363. },
  5364. "relatedid": {
  5365. "description": "现货合同ID",
  5366. "type": "string"
  5367. },
  5368. "sellusername": {
  5369. "description": "销售方名字",
  5370. "type": "string"
  5371. }
  5372. }
  5373. },
  5374. "ermcp.QryBussinessFpRsp": {
  5375. "type": "object",
  5376. "properties": {
  5377. "applyid": {
  5378. "description": "申请人",
  5379. "type": "string"
  5380. },
  5381. "applyname": {
  5382. "description": "申请人名称",
  5383. "type": "string"
  5384. },
  5385. "applystatus": {
  5386. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5387. "type": "integer"
  5388. },
  5389. "applytime": {
  5390. "description": "申请时间",
  5391. "type": "string"
  5392. },
  5393. "audittime": {
  5394. "description": "审核时间",
  5395. "type": "string"
  5396. },
  5397. "buyusername": {
  5398. "description": "采购方名称",
  5399. "type": "string"
  5400. },
  5401. "contractno": {
  5402. "description": "合同编号",
  5403. "type": "string"
  5404. },
  5405. "contracttype": {
  5406. "description": "现货合同类型 - 1:采购 -1:销售",
  5407. "type": "integer"
  5408. },
  5409. "enumdicname": {
  5410. "description": "单位名称",
  5411. "type": "string"
  5412. },
  5413. "goodscode": {
  5414. "description": "点价合约",
  5415. "type": "string"
  5416. },
  5417. "goodsname": {
  5418. "description": "商品名称",
  5419. "type": "string"
  5420. },
  5421. "invoiceAmount": {
  5422. "description": "已开收票金额(销售为开票,采购为收票)",
  5423. "type": "number"
  5424. },
  5425. "operateapplyid": {
  5426. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5427. "type": "string"
  5428. },
  5429. "operateapplytype": {
  5430. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5431. "type": "integer"
  5432. },
  5433. "pricemove": {
  5434. "description": "升贴水",
  5435. "type": "number"
  5436. },
  5437. "pricetype": {
  5438. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5439. "type": "integer"
  5440. },
  5441. "relatedid": {
  5442. "description": "现货合同ID",
  5443. "type": "string"
  5444. },
  5445. "sellusername": {
  5446. "description": "销售方名字",
  5447. "type": "string"
  5448. }
  5449. }
  5450. },
  5451. "ermcp.QryBussinessJsRsp": {
  5452. "type": "object",
  5453. "properties": {
  5454. "addmargin": {
  5455. "description": "追加保证金(非必填)",
  5456. "type": "number"
  5457. },
  5458. "applyid": {
  5459. "description": "申请人",
  5460. "type": "string"
  5461. },
  5462. "applyname": {
  5463. "description": "申请人名称",
  5464. "type": "string"
  5465. },
  5466. "applystatus": {
  5467. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5468. "type": "integer"
  5469. },
  5470. "applytime": {
  5471. "description": "申请时间",
  5472. "type": "string"
  5473. },
  5474. "audittime": {
  5475. "description": "审核时间",
  5476. "type": "string"
  5477. },
  5478. "buyusername": {
  5479. "description": "采购方名称",
  5480. "type": "string"
  5481. },
  5482. "contractno": {
  5483. "description": "合同编号",
  5484. "type": "string"
  5485. },
  5486. "contracttype": {
  5487. "description": "现货合同类型 - 1:采购 -1:销售",
  5488. "type": "integer"
  5489. },
  5490. "decmargin": {
  5491. "description": "减少保证金(非必填)",
  5492. "type": "number"
  5493. },
  5494. "enumdicname": {
  5495. "description": "单位名称",
  5496. "type": "string"
  5497. },
  5498. "goodscode": {
  5499. "description": "点价合约",
  5500. "type": "string"
  5501. },
  5502. "goodsname": {
  5503. "description": "商品名称",
  5504. "type": "string"
  5505. },
  5506. "operateapplyid": {
  5507. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5508. "type": "string"
  5509. },
  5510. "operateapplytype": {
  5511. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5512. "type": "integer"
  5513. },
  5514. "pricemove": {
  5515. "description": "升贴水",
  5516. "type": "number"
  5517. },
  5518. "pricetype": {
  5519. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5520. "type": "integer"
  5521. },
  5522. "reckonadjustamount": {
  5523. "description": "结算调整金额(非必填)",
  5524. "type": "number"
  5525. },
  5526. "reckonosamount": {
  5527. "description": "结算溢短金额(非必填)",
  5528. "type": "number"
  5529. },
  5530. "reckonotheramount": {
  5531. "description": "结算其他费用(非必填)",
  5532. "type": "number"
  5533. },
  5534. "reckonrealqty": {
  5535. "description": "结算实际数量(非必填)",
  5536. "type": "number"
  5537. },
  5538. "relatedid": {
  5539. "description": "现货合同ID",
  5540. "type": "string"
  5541. },
  5542. "sellusername": {
  5543. "description": "销售方名字",
  5544. "type": "string"
  5545. }
  5546. }
  5547. },
  5548. "ermcp.QryBussinessKxRsp": {
  5549. "type": "object",
  5550. "properties": {
  5551. "applyid": {
  5552. "description": "申请人",
  5553. "type": "string"
  5554. },
  5555. "applyname": {
  5556. "description": "申请人名称",
  5557. "type": "string"
  5558. },
  5559. "applystatus": {
  5560. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5561. "type": "integer"
  5562. },
  5563. "applytime": {
  5564. "description": "申请时间",
  5565. "type": "string"
  5566. },
  5567. "audittime": {
  5568. "description": "审核时间",
  5569. "type": "string"
  5570. },
  5571. "buyusername": {
  5572. "description": "采购方名称",
  5573. "type": "string"
  5574. },
  5575. "contractno": {
  5576. "description": "合同编号",
  5577. "type": "string"
  5578. },
  5579. "contracttype": {
  5580. "description": "现货合同类型 - 1:采购 -1:销售",
  5581. "type": "integer"
  5582. },
  5583. "deductamount": {
  5584. "description": "退款(非必填)",
  5585. "type": "number"
  5586. },
  5587. "enumdicname": {
  5588. "description": "单位名称",
  5589. "type": "string"
  5590. },
  5591. "goodscode": {
  5592. "description": "点价合约",
  5593. "type": "string"
  5594. },
  5595. "goodsname": {
  5596. "description": "商品名称",
  5597. "type": "string"
  5598. },
  5599. "operateapplyid": {
  5600. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5601. "type": "string"
  5602. },
  5603. "operateapplytype": {
  5604. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5605. "type": "integer"
  5606. },
  5607. "payamount": {
  5608. "description": "收付款(非必填)",
  5609. "type": "number"
  5610. },
  5611. "pricemove": {
  5612. "description": "升贴水",
  5613. "type": "number"
  5614. },
  5615. "pricetype": {
  5616. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5617. "type": "integer"
  5618. },
  5619. "relatedid": {
  5620. "description": "现货合同ID",
  5621. "type": "string"
  5622. },
  5623. "sellusername": {
  5624. "description": "销售方名字",
  5625. "type": "string"
  5626. }
  5627. }
  5628. },
  5629. "ermcp.QryErmcpRsp": {
  5630. "$ref": "#/definitions/models.ErmcpModel"
  5631. },
  5632. "ermcp.QryHedgePlanRsp": {
  5633. "$ref": "#/definitions/models.ErmcpHedgePlan"
  5634. },
  5635. "ermcp.QrySpotContractRsp": {
  5636. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  5637. },
  5638. "ermcp.QryUserInfoRsp": {
  5639. "$ref": "#/definitions/models.ErmcpUserModel"
  5640. },
  5641. "erms2.QueryArbitrageStrategyRsp": {
  5642. "type": "object",
  5643. "required": [
  5644. "asapplyid"
  5645. ],
  5646. "properties": {
  5647. "applybasis": {
  5648. "description": "申请基差",
  5649. "type": "number"
  5650. },
  5651. "asapplyid": {
  5652. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  5653. "type": "string"
  5654. },
  5655. "asname": {
  5656. "description": "策略名称",
  5657. "type": "string"
  5658. },
  5659. "asno": {
  5660. "description": "策略编号",
  5661. "type": "string"
  5662. },
  5663. "basischangepl": {
  5664. "description": "基差变动损益[结算更新]",
  5665. "type": "number"
  5666. },
  5667. "biztype": {
  5668. "description": "业务类型 - 1:正向套利 -1:反向套利",
  5669. "type": "integer"
  5670. },
  5671. "closetradedate": {
  5672. "description": "完结交易日(yyyyMMdd)",
  5673. "type": "string"
  5674. },
  5675. "curbasis": {
  5676. "description": "当前基差[结算更新]",
  5677. "type": "number"
  5678. },
  5679. "deliverygoodsid": {
  5680. "description": "现货品种ID",
  5681. "type": "integer"
  5682. },
  5683. "futureavgprice": {
  5684. "description": "期货建仓均价",
  5685. "type": "number"
  5686. },
  5687. "futurecloseamount": {
  5688. "description": "期货平仓金额",
  5689. "type": "number"
  5690. },
  5691. "futurecloseqty": {
  5692. "description": "期货平仓数量",
  5693. "type": "number"
  5694. },
  5695. "futureopenamount": {
  5696. "description": "期货开仓金额",
  5697. "type": "number"
  5698. },
  5699. "futureopenqty": {
  5700. "description": "期货开仓数量",
  5701. "type": "number"
  5702. },
  5703. "futurepl": {
  5704. "description": "期货总盈亏[结算更新]",
  5705. "type": "number"
  5706. },
  5707. "futureqty": {
  5708. "description": "期货持仓数量",
  5709. "type": "number"
  5710. },
  5711. "futurequote": {
  5712. "description": "期货额度",
  5713. "type": "number"
  5714. },
  5715. "goodsgroupid": {
  5716. "description": "期货品种ID",
  5717. "type": "integer"
  5718. },
  5719. "marketid": {
  5720. "description": "市场ID",
  5721. "type": "integer"
  5722. },
  5723. "netexposure": {
  5724. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  5725. "type": "number"
  5726. },
  5727. "netexposurepl": {
  5728. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  5729. "type": "number"
  5730. },
  5731. "netexposurerate": {
  5732. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  5733. "type": "number"
  5734. },
  5735. "openbasis": {
  5736. "description": "建仓基差",
  5737. "type": "number"
  5738. },
  5739. "pricedspotqty": {
  5740. "description": "已定价现货数量",
  5741. "type": "number"
  5742. },
  5743. "pricedspotqtynotax": {
  5744. "description": "已定价现货不含税数量",
  5745. "type": "number"
  5746. },
  5747. "remark": {
  5748. "description": "备注",
  5749. "type": "string"
  5750. },
  5751. "spotavgprice": {
  5752. "description": "现货均价",
  5753. "type": "number"
  5754. },
  5755. "spotbuyamount": {
  5756. "description": "现货采购金额",
  5757. "type": "number"
  5758. },
  5759. "spotbuyqty": {
  5760. "description": "现货采购数量",
  5761. "type": "number"
  5762. },
  5763. "spotpl": {
  5764. "description": "现货总盈亏[结算更新]",
  5765. "type": "number"
  5766. },
  5767. "spotquota": {
  5768. "description": "现货额度",
  5769. "type": "number"
  5770. },
  5771. "spotsellamount": {
  5772. "description": "现货销售金额",
  5773. "type": "number"
  5774. },
  5775. "spotsellqty": {
  5776. "description": "现货销售数量",
  5777. "type": "number"
  5778. },
  5779. "spotusedquota": {
  5780. "description": "现货占用资金",
  5781. "type": "number"
  5782. },
  5783. "strategystatus": {
  5784. "description": "策略状态 - 0:未结束 1:已结束",
  5785. "type": "integer"
  5786. },
  5787. "totalpl": {
  5788. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  5789. "type": "number"
  5790. },
  5791. "tradedate": {
  5792. "description": "交易日(yyyyMMdd)",
  5793. "type": "string"
  5794. },
  5795. "updatetime": {
  5796. "description": "更新时间",
  5797. "type": "string"
  5798. },
  5799. "usedquota": {
  5800. "description": "已占用资金",
  5801. "type": "number"
  5802. },
  5803. "userid": {
  5804. "description": "所属机构",
  5805. "type": "integer"
  5806. }
  5807. }
  5808. },
  5809. "erms2.QueryInnerTradeDetailRsp": {
  5810. "type": "object",
  5811. "required": [
  5812. "asapplyid",
  5813. "buyorsell",
  5814. "goodscode",
  5815. "goodsgroupid",
  5816. "goodsgroupname",
  5817. "goodsname",
  5818. "tradeid"
  5819. ],
  5820. "properties": {
  5821. "accountid": {
  5822. "description": "账号ID",
  5823. "type": "integer"
  5824. },
  5825. "agreeunit": {
  5826. "description": "合约单位",
  5827. "type": "number"
  5828. },
  5829. "asapplyid": {
  5830. "description": "策略申请ID",
  5831. "type": "integer"
  5832. },
  5833. "asname": {
  5834. "description": "策略名称",
  5835. "type": "string"
  5836. },
  5837. "asno": {
  5838. "description": "策略编号",
  5839. "type": "string"
  5840. },
  5841. "buyorsell": {
  5842. "description": "方向 - 0:买 1:卖",
  5843. "type": "integer"
  5844. },
  5845. "channelbuildtype": {
  5846. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  5847. "type": "integer"
  5848. },
  5849. "closetype": {
  5850. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  5851. "type": "integer"
  5852. },
  5853. "decimalplace": {
  5854. "description": "报价小数位",
  5855. "type": "integer"
  5856. },
  5857. "detailtype": {
  5858. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  5859. "type": "integer"
  5860. },
  5861. "exexchangecode": {
  5862. "description": "外部交易所代码",
  5863. "type": "string"
  5864. },
  5865. "exexchangename": {
  5866. "description": "外部交易所名称",
  5867. "type": "string"
  5868. },
  5869. "goodscode": {
  5870. "description": "商品代码(合约)",
  5871. "type": "string"
  5872. },
  5873. "goodsgroupid": {
  5874. "description": "商品组ID(品种ID)",
  5875. "type": "integer"
  5876. },
  5877. "goodsgroupname": {
  5878. "description": "商品组名称(品种)",
  5879. "type": "string"
  5880. },
  5881. "goodsid": {
  5882. "description": "商品ID",
  5883. "type": "integer"
  5884. },
  5885. "goodsname": {
  5886. "description": "商品名称(合约)",
  5887. "type": "string"
  5888. },
  5889. "goodunit": {
  5890. "description": "报价单位",
  5891. "type": "string"
  5892. },
  5893. "marketid": {
  5894. "description": "市场ID",
  5895. "type": "integer"
  5896. },
  5897. "orderid": {
  5898. "description": "委托单号",
  5899. "type": "string"
  5900. },
  5901. "outgoodscode": {
  5902. "description": "商品代码(外部)",
  5903. "type": "string"
  5904. },
  5905. "relatedouttradeid": {
  5906. "description": "关联外部成交单ID",
  5907. "type": "string"
  5908. },
  5909. "remark": {
  5910. "description": "备注",
  5911. "type": "string"
  5912. },
  5913. "spotcontractid": {
  5914. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  5915. "type": "integer"
  5916. },
  5917. "spotcontractno": {
  5918. "description": "现货合同编号",
  5919. "type": "string"
  5920. },
  5921. "tradeid": {
  5922. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5923. "type": "string"
  5924. },
  5925. "tradeprice": {
  5926. "description": "成交价格",
  5927. "type": "number"
  5928. },
  5929. "tradeqty": {
  5930. "description": "成交数量",
  5931. "type": "integer"
  5932. },
  5933. "tradetime": {
  5934. "description": "成交时间",
  5935. "type": "string"
  5936. },
  5937. "updatetime": {
  5938. "description": "更新时间",
  5939. "type": "string"
  5940. }
  5941. }
  5942. },
  5943. "erms2.QuerySpotContractRsp": {
  5944. "type": "object",
  5945. "required": [
  5946. "spotcontractid"
  5947. ],
  5948. "properties": {
  5949. "accountid": {
  5950. "description": "资金账户ID",
  5951. "type": "integer"
  5952. },
  5953. "areauserid": {
  5954. "description": "所属机构",
  5955. "type": "integer"
  5956. },
  5957. "closedate": {
  5958. "description": "终止日期",
  5959. "type": "string"
  5960. },
  5961. "closeremark": {
  5962. "description": "结束备注",
  5963. "type": "string"
  5964. },
  5965. "closetradedate": {
  5966. "description": "完结交易日(yyyyMMdd)",
  5967. "type": "string"
  5968. },
  5969. "closetype": {
  5970. "description": "终止类型 - 1:违约 2:提前终止",
  5971. "type": "integer"
  5972. },
  5973. "contractamount": {
  5974. "description": "合同金额",
  5975. "type": "number"
  5976. },
  5977. "contractattachment": {
  5978. "description": "合同附件",
  5979. "type": "string"
  5980. },
  5981. "contractno": {
  5982. "description": "现货合同编号",
  5983. "type": "string"
  5984. },
  5985. "contractqty": {
  5986. "description": "合同数量(数值) (用于计算)",
  5987. "type": "number"
  5988. },
  5989. "contractqtychar": {
  5990. "description": "合同数量\\已订价数量 (用于显示)",
  5991. "type": "string"
  5992. },
  5993. "contractstatus": {
  5994. "description": "合同状态 - 0:未结束 1:已结束",
  5995. "type": "integer"
  5996. },
  5997. "contracttype": {
  5998. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  5999. "type": "integer"
  6000. },
  6001. "customeraccountid": {
  6002. "description": "客户资金账户ID",
  6003. "type": "integer"
  6004. },
  6005. "customeruserid": {
  6006. "description": "客户ID",
  6007. "type": "integer"
  6008. },
  6009. "deliverygoodsdesc": {
  6010. "description": "品种说明",
  6011. "type": "string"
  6012. },
  6013. "deliverygoodsid": {
  6014. "description": "现货品种ID",
  6015. "type": "integer"
  6016. },
  6017. "handlestatus": {
  6018. "description": "处理状态",
  6019. "type": "integer"
  6020. },
  6021. "invoiceatt": {
  6022. "description": "发票附件",
  6023. "type": "string"
  6024. },
  6025. "invoicedatetime": {
  6026. "description": "开收票更新时间",
  6027. "type": "string"
  6028. },
  6029. "invoiceopentime": {
  6030. "description": "开票时间",
  6031. "type": "string"
  6032. },
  6033. "invoiceremark": {
  6034. "description": "发票备注",
  6035. "type": "string"
  6036. },
  6037. "invoicestatus": {
  6038. "description": "开收票状态 - 0:未开票 1:已开票",
  6039. "type": "integer"
  6040. },
  6041. "lastdate": {
  6042. "description": "交货时间",
  6043. "type": "string"
  6044. },
  6045. "marketid": {
  6046. "description": "市场ID",
  6047. "type": "integer"
  6048. },
  6049. "paydatetime": {
  6050. "description": "收付款更新时间",
  6051. "type": "string"
  6052. },
  6053. "payremark": {
  6054. "description": "收付款备注",
  6055. "type": "string"
  6056. },
  6057. "paystatus": {
  6058. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  6059. "type": "integer"
  6060. },
  6061. "positionqty": {
  6062. "description": "头寸数量 - 合同数量去小数部分",
  6063. "type": "integer"
  6064. },
  6065. "producttype": {
  6066. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  6067. "type": "integer"
  6068. },
  6069. "relatedqty": {
  6070. "description": "已关联数量",
  6071. "type": "number"
  6072. },
  6073. "relatedstatus": {
  6074. "description": "关联完结状态 - 0:未结束 1:已结束",
  6075. "type": "integer"
  6076. },
  6077. "remark": {
  6078. "description": "备注",
  6079. "type": "string"
  6080. },
  6081. "signdate": {
  6082. "description": "签订日期",
  6083. "type": "string"
  6084. },
  6085. "spotcontractid": {
  6086. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  6087. "type": "string"
  6088. },
  6089. "spotdatetime": {
  6090. "description": "收发货更新时间",
  6091. "type": "string"
  6092. },
  6093. "spotprice": {
  6094. "description": "价格",
  6095. "type": "number"
  6096. },
  6097. "spotremark": {
  6098. "description": "收发货备注",
  6099. "type": "string"
  6100. },
  6101. "spotstatus": {
  6102. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  6103. "type": "integer"
  6104. },
  6105. "tradedate": {
  6106. "description": "交易日(yyyyMMdd)",
  6107. "type": "string"
  6108. },
  6109. "userid": {
  6110. "description": "业务员用户ID",
  6111. "type": "integer"
  6112. },
  6113. "warehouseid": {
  6114. "description": "仓库ID",
  6115. "type": "integer"
  6116. },
  6117. "wrfactortypeid": {
  6118. "description": "仓单要素类型ID",
  6119. "type": "integer"
  6120. },
  6121. "wrstandardid": {
  6122. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  6123. "type": "integer"
  6124. }
  6125. }
  6126. },
  6127. "erms3.AddErms2ASApplyReq": {
  6128. "type": "object",
  6129. "required": [
  6130. "asapplyid"
  6131. ],
  6132. "properties": {
  6133. "applybasis": {
  6134. "description": "申请基差",
  6135. "type": "number"
  6136. },
  6137. "applystatus": {
  6138. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6139. "type": "integer"
  6140. },
  6141. "asapplyid": {
  6142. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  6143. "type": "integer"
  6144. },
  6145. "asname": {
  6146. "description": "策略名称",
  6147. "type": "string"
  6148. },
  6149. "asno": {
  6150. "description": "策略编号",
  6151. "type": "string"
  6152. },
  6153. "auditid": {
  6154. "description": "审核人",
  6155. "type": "integer"
  6156. },
  6157. "auditremark": {
  6158. "description": "审核备注",
  6159. "type": "string"
  6160. },
  6161. "audittime": {
  6162. "description": "审核时间",
  6163. "type": "string"
  6164. },
  6165. "biztype": {
  6166. "description": "业务类型 - 1:正向套利 2:反向套利",
  6167. "type": "integer"
  6168. },
  6169. "createtime": {
  6170. "description": "创建时间",
  6171. "type": "string"
  6172. },
  6173. "creatorid": {
  6174. "description": "创建人",
  6175. "type": "integer"
  6176. },
  6177. "deliverygoodsid": {
  6178. "description": "现货品种ID",
  6179. "type": "integer"
  6180. },
  6181. "futurequote": {
  6182. "description": "期货额度",
  6183. "type": "number"
  6184. },
  6185. "goodsgroupid": {
  6186. "description": "期货品种ID",
  6187. "type": "integer"
  6188. },
  6189. "marketid": {
  6190. "description": "市场ID",
  6191. "type": "integer"
  6192. },
  6193. "remark": {
  6194. "description": "备注",
  6195. "type": "string"
  6196. },
  6197. "spotquota": {
  6198. "description": "现货额度",
  6199. "type": "number"
  6200. },
  6201. "tradedate": {
  6202. "description": "交易日(yyyyMMdd)",
  6203. "type": "string"
  6204. },
  6205. "userid": {
  6206. "description": "所属机构",
  6207. "type": "integer"
  6208. }
  6209. }
  6210. },
  6211. "erms3.AddErms2SpotTradeApplyReq": {
  6212. "type": "object",
  6213. "required": [
  6214. "spottradeid"
  6215. ],
  6216. "properties": {
  6217. "applyjsondetail": {
  6218. "description": "申请明细(JSON)",
  6219. "type": "string"
  6220. },
  6221. "applystatus": {
  6222. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6223. "type": "integer"
  6224. },
  6225. "areauserid": {
  6226. "description": "所属机构",
  6227. "type": "integer"
  6228. },
  6229. "auditid": {
  6230. "description": "审核人",
  6231. "type": "integer"
  6232. },
  6233. "auditremark": {
  6234. "description": "审核备注",
  6235. "type": "string"
  6236. },
  6237. "audittime": {
  6238. "description": "审核时间",
  6239. "type": "string"
  6240. },
  6241. "createtime": {
  6242. "description": "创建时间",
  6243. "type": "string"
  6244. },
  6245. "creatorid": {
  6246. "description": "创建人",
  6247. "type": "integer"
  6248. },
  6249. "deliverygoodsid": {
  6250. "description": "现货品种ID",
  6251. "type": "integer"
  6252. },
  6253. "futureaccountid": {
  6254. "description": "期货资金账户",
  6255. "type": "integer"
  6256. },
  6257. "goodsgroupid": {
  6258. "description": "期货品种",
  6259. "type": "integer"
  6260. },
  6261. "marketid": {
  6262. "description": "市场ID",
  6263. "type": "integer"
  6264. },
  6265. "remark": {
  6266. "description": "备注",
  6267. "type": "string"
  6268. },
  6269. "spotaccountid": {
  6270. "description": "现货资金账户",
  6271. "type": "integer"
  6272. },
  6273. "spottradeid": {
  6274. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  6275. "type": "integer"
  6276. },
  6277. "spottradename": {
  6278. "description": "业务名称",
  6279. "type": "string"
  6280. },
  6281. "spottradeno": {
  6282. "description": "业务编号",
  6283. "type": "string"
  6284. },
  6285. "tradedate": {
  6286. "description": "交易日(yyyyMMdd)",
  6287. "type": "string"
  6288. },
  6289. "wrstandardid": {
  6290. "description": "仓单标准ID",
  6291. "type": "integer"
  6292. }
  6293. }
  6294. },
  6295. "erms3.AddSpotContractApplyReq": {
  6296. "type": "object",
  6297. "required": [
  6298. "accountid",
  6299. "areauserid",
  6300. "contractno",
  6301. "contracttype",
  6302. "customeraccountid",
  6303. "customeruserid",
  6304. "details",
  6305. "orimargin",
  6306. "signdate"
  6307. ],
  6308. "properties": {
  6309. "accountid": {
  6310. "description": "资金账户ID",
  6311. "type": "integer"
  6312. },
  6313. "areauserid": {
  6314. "description": "所属机构",
  6315. "type": "integer"
  6316. },
  6317. "contractattachment": {
  6318. "description": "合同附件",
  6319. "type": "string"
  6320. },
  6321. "contractno": {
  6322. "description": "现货合同编号",
  6323. "type": "string"
  6324. },
  6325. "contracttype": {
  6326. "description": "现货合同类型 - 1:采购 -1:销售",
  6327. "type": "integer"
  6328. },
  6329. "creatorid": {
  6330. "description": "申请人",
  6331. "type": "integer"
  6332. },
  6333. "customeraccountid": {
  6334. "description": "客户资金账户ID",
  6335. "type": "integer"
  6336. },
  6337. "customeruserid": {
  6338. "description": "客户ID",
  6339. "type": "integer"
  6340. },
  6341. "details": {
  6342. "description": "明细",
  6343. "type": "array",
  6344. "items": {
  6345. "$ref": "#/definitions/erms3.SoptContractDetail"
  6346. }
  6347. },
  6348. "orimargin": {
  6349. "description": "初始保证金",
  6350. "type": "number"
  6351. },
  6352. "remark": {
  6353. "description": "备注",
  6354. "type": "string"
  6355. },
  6356. "signdate": {
  6357. "description": "签订日期",
  6358. "type": "string"
  6359. }
  6360. }
  6361. },
  6362. "erms3.AddSpotContractApplyRsp": {
  6363. "type": "object",
  6364. "required": [
  6365. "contractno"
  6366. ],
  6367. "properties": {
  6368. "contractno": {
  6369. "description": "现货合同编号",
  6370. "type": "string"
  6371. },
  6372. "spotcontractid": {
  6373. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  6374. "type": "integer"
  6375. }
  6376. }
  6377. },
  6378. "erms3.AddUserInfoApplyReq": {
  6379. "type": "object",
  6380. "required": [
  6381. "userid"
  6382. ],
  6383. "properties": {
  6384. "accountid": {
  6385. "description": "交易系统帐号Id (加密存储)",
  6386. "type": "integer"
  6387. },
  6388. "areacode": {
  6389. "description": "机构代码",
  6390. "type": "string"
  6391. },
  6392. "areaid": {
  6393. "description": "机构Id",
  6394. "type": "integer"
  6395. },
  6396. "attachment1": {
  6397. "description": "附件1",
  6398. "type": "string"
  6399. },
  6400. "attachment2": {
  6401. "description": "附件2",
  6402. "type": "string"
  6403. },
  6404. "attachment3": {
  6405. "description": "附件3",
  6406. "type": "string"
  6407. },
  6408. "attachment4": {
  6409. "description": "附件4",
  6410. "type": "string"
  6411. },
  6412. "attachment5": {
  6413. "description": "附件5",
  6414. "type": "string"
  6415. },
  6416. "auditedby": {
  6417. "description": "审核人",
  6418. "type": "string"
  6419. },
  6420. "auditime": {
  6421. "description": "审核时间",
  6422. "type": "string"
  6423. },
  6424. "bankaccount": {
  6425. "description": "银行帐号 (加密存储)",
  6426. "type": "string"
  6427. },
  6428. "bankaccountname": {
  6429. "description": "收款人名称",
  6430. "type": "string"
  6431. },
  6432. "bankcardbackphotourl": {
  6433. "description": "银行卡背面照地址",
  6434. "type": "string"
  6435. },
  6436. "bankcardfrontphotourl": {
  6437. "description": "银行卡正面照地址",
  6438. "type": "string"
  6439. },
  6440. "bankid": {
  6441. "description": "银行编码",
  6442. "type": "string"
  6443. },
  6444. "bankname": {
  6445. "description": "银行名称",
  6446. "type": "string"
  6447. },
  6448. "bankpictureurl": {
  6449. "description": "银行卡正面地址",
  6450. "type": "string"
  6451. },
  6452. "biznature": {
  6453. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6454. "type": "integer"
  6455. },
  6456. "bizscope": {
  6457. "description": "企业经营范围(企业)",
  6458. "type": "string"
  6459. },
  6460. "biztype": {
  6461. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  6462. "type": "integer"
  6463. },
  6464. "brokerid": {
  6465. "description": "经纪人ID(加密存储)",
  6466. "type": "string"
  6467. },
  6468. "cardaddress": {
  6469. "description": "证件地址 (加密存储)",
  6470. "type": "string"
  6471. },
  6472. "cardbackphotourl": {
  6473. "description": "背面证件照地址",
  6474. "type": "string"
  6475. },
  6476. "cardfrontphotourl": {
  6477. "description": "正面证件照地址",
  6478. "type": "string"
  6479. },
  6480. "cardnum": {
  6481. "description": "证件号码 (加密存储)",
  6482. "type": "string"
  6483. },
  6484. "cardtype": {
  6485. "description": "证件类型",
  6486. "type": "integer"
  6487. },
  6488. "cityid": {
  6489. "description": "市",
  6490. "type": "integer"
  6491. },
  6492. "company": {
  6493. "description": "公司(个人)",
  6494. "type": "string"
  6495. },
  6496. "contactcardbackphotourl": {
  6497. "description": "联系人证件背面图片地址",
  6498. "type": "string"
  6499. },
  6500. "contactcardfrontphotourl": {
  6501. "description": "联系人证件正面图片地址",
  6502. "type": "string"
  6503. },
  6504. "contactname": {
  6505. "description": "联系人",
  6506. "type": "string"
  6507. },
  6508. "countryid": {
  6509. "description": "国家",
  6510. "type": "integer"
  6511. },
  6512. "createtime": {
  6513. "description": "开户申请时间",
  6514. "type": "string"
  6515. },
  6516. "cusbankid": {
  6517. "description": "签约类型",
  6518. "type": "string"
  6519. },
  6520. "cusbankname": {
  6521. "description": "签约类型名称",
  6522. "type": "string"
  6523. },
  6524. "customername": {
  6525. "description": "客户名称(企业名称)",
  6526. "type": "string"
  6527. },
  6528. "districtid": {
  6529. "description": "地区",
  6530. "type": "integer"
  6531. },
  6532. "email": {
  6533. "description": "Email地址(加密存储)",
  6534. "type": "string"
  6535. },
  6536. "halfbodyphotourl": {
  6537. "description": "半身照地址",
  6538. "type": "string"
  6539. },
  6540. "headurl": {
  6541. "description": "头像地址",
  6542. "type": "string"
  6543. },
  6544. "ipaddress": {
  6545. "description": "IP地址",
  6546. "type": "string"
  6547. },
  6548. "isvalidate": {
  6549. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  6550. "type": "string"
  6551. },
  6552. "legalcardbackphotourl": {
  6553. "description": "法人身份证背面照地址",
  6554. "type": "string"
  6555. },
  6556. "legalcardfrontphotourl": {
  6557. "description": "法人身份证正面照地址",
  6558. "type": "string"
  6559. },
  6560. "legalpersonname": {
  6561. "description": "法人姓名(企业)",
  6562. "type": "string"
  6563. },
  6564. "logincode": {
  6565. "description": "登录帐号 (加密存储)",
  6566. "type": "string"
  6567. },
  6568. "memberareaid": {
  6569. "description": "所属会员ID",
  6570. "type": "integer"
  6571. },
  6572. "mobile2": {
  6573. "description": "手机号码[明文-尚志]",
  6574. "type": "string"
  6575. },
  6576. "mobilephone": {
  6577. "description": "手机号码 (加密存储)",
  6578. "type": "string"
  6579. },
  6580. "modifiedby": {
  6581. "description": "修改人帐号",
  6582. "type": "integer"
  6583. },
  6584. "modifiedtime": {
  6585. "description": "修改时间",
  6586. "type": "string"
  6587. },
  6588. "nickname": {
  6589. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  6590. "type": "string"
  6591. },
  6592. "openmode": {
  6593. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  6594. "type": "integer"
  6595. },
  6596. "otherurl": {
  6597. "description": "其它图片地址[使用分号分隔]",
  6598. "type": "string"
  6599. },
  6600. "postalcode": {
  6601. "description": "邮政编码",
  6602. "type": "string"
  6603. },
  6604. "provinceid": {
  6605. "description": "省",
  6606. "type": "integer"
  6607. },
  6608. "proxystatementurl": {
  6609. "description": "授权委托书",
  6610. "type": "string"
  6611. },
  6612. "qq": {
  6613. "description": "QQ(加密存储",
  6614. "type": "string"
  6615. },
  6616. "referral": {
  6617. "description": "推荐人编码",
  6618. "type": "string"
  6619. },
  6620. "remark": {
  6621. "description": "备注",
  6622. "type": "string"
  6623. },
  6624. "removebeforestatus": {
  6625. "description": "REMOVEBEFORESTATUS",
  6626. "type": "integer"
  6627. },
  6628. "sex": {
  6629. "description": "性别 - 0:女 1:男",
  6630. "type": "integer"
  6631. },
  6632. "signedstatus": {
  6633. "description": "账户一号签签约状态",
  6634. "type": "integer"
  6635. },
  6636. "signpdfurl": {
  6637. "description": "签约pdf文件",
  6638. "type": "string"
  6639. },
  6640. "subbranch": {
  6641. "description": "开户支行",
  6642. "type": "string"
  6643. },
  6644. "telphone": {
  6645. "description": "联系电话(加密存储)",
  6646. "type": "string"
  6647. },
  6648. "userid": {
  6649. "description": "用户ID(自增ID)",
  6650. "type": "integer"
  6651. },
  6652. "userinfotype": {
  6653. "description": "用户信息类型 - 1:个人 2:企业",
  6654. "type": "integer"
  6655. },
  6656. "username": {
  6657. "description": "用户姓名",
  6658. "type": "string"
  6659. },
  6660. "userstate": {
  6661. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  6662. "type": "integer"
  6663. },
  6664. "usertype": {
  6665. "description": "用户类型 - 1:投资者 2:机构",
  6666. "type": "integer"
  6667. },
  6668. "videourl": {
  6669. "description": "视频地址",
  6670. "type": "string"
  6671. },
  6672. "wechat": {
  6673. "description": "微信号 (加密存储)",
  6674. "type": "string"
  6675. }
  6676. }
  6677. },
  6678. "erms3.CustomerInfo": {
  6679. "type": "object",
  6680. "required": [
  6681. "userid"
  6682. ],
  6683. "properties": {
  6684. "accountids": {
  6685. "description": "资金账户ID列表",
  6686. "type": "array",
  6687. "items": {
  6688. "type": "integer"
  6689. }
  6690. },
  6691. "customername": {
  6692. "description": "名称(企业名称)",
  6693. "type": "string"
  6694. },
  6695. "mobile": {
  6696. "description": "手机号码",
  6697. "type": "string"
  6698. },
  6699. "userid": {
  6700. "description": "用户ID",
  6701. "type": "integer"
  6702. }
  6703. }
  6704. },
  6705. "erms3.QryAuditContractRsp": {
  6706. "type": "object",
  6707. "required": [
  6708. "matchcustomername",
  6709. "spotcontractid"
  6710. ],
  6711. "properties": {
  6712. "accountid": {
  6713. "description": "交易员ID",
  6714. "type": "string"
  6715. },
  6716. "applystatus": {
  6717. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6718. "type": "integer"
  6719. },
  6720. "curdeliveryqty": {
  6721. "description": "未交收量",
  6722. "type": "integer"
  6723. },
  6724. "customername": {
  6725. "description": "采购方ID",
  6726. "type": "string"
  6727. },
  6728. "deliverygoodsid": {
  6729. "description": "品种ID",
  6730. "type": "string"
  6731. },
  6732. "deliveryqty": {
  6733. "description": "交收量",
  6734. "type": "integer"
  6735. },
  6736. "enumdicname": {
  6737. "description": "单位名称",
  6738. "type": "string"
  6739. },
  6740. "matchaccountid": {
  6741. "description": "业务员ID",
  6742. "type": "string"
  6743. },
  6744. "matchcustomername": {
  6745. "description": "销售方ID",
  6746. "type": "string"
  6747. },
  6748. "pricedqty": {
  6749. "description": "定价量",
  6750. "type": "number"
  6751. },
  6752. "signdate": {
  6753. "description": "签订日期",
  6754. "type": "string"
  6755. },
  6756. "spotcontractid": {
  6757. "description": "合同ID",
  6758. "type": "string"
  6759. },
  6760. "totaldqty": {
  6761. "description": "合同量",
  6762. "type": "number"
  6763. },
  6764. "unpricedqty": {
  6765. "description": "未定价量",
  6766. "type": "number"
  6767. },
  6768. "wrstandardname": {
  6769. "description": "商品名称",
  6770. "type": "string"
  6771. }
  6772. }
  6773. },
  6774. "erms3.QryPendingBizRsp": {
  6775. "$ref": "#/definitions/models.PendingAuditBizModel"
  6776. },
  6777. "erms3.QueryBusinessInfoRsp": {
  6778. "type": "object",
  6779. "properties": {
  6780. "businessid": {
  6781. "description": "业务ID.",
  6782. "type": "integer"
  6783. },
  6784. "buyamount": {
  6785. "description": "采购额.",
  6786. "type": "number"
  6787. },
  6788. "buyqty": {
  6789. "description": "采购量.",
  6790. "type": "string"
  6791. },
  6792. "futurepl": {
  6793. "description": "期货盈亏.",
  6794. "type": "number"
  6795. },
  6796. "futureqty": {
  6797. "description": "期货敞口.",
  6798. "type": "string"
  6799. },
  6800. "goodsid": {
  6801. "description": "商品名称/商品代码.",
  6802. "type": "string"
  6803. },
  6804. "hedgingqty": {
  6805. "description": "套保量.",
  6806. "type": "string"
  6807. },
  6808. "sellamount": {
  6809. "description": "销售额.",
  6810. "type": "number"
  6811. },
  6812. "sellqty": {
  6813. "description": "销售量.",
  6814. "type": "string"
  6815. },
  6816. "spotmarketvalue": {
  6817. "description": "现货市值.",
  6818. "type": "number"
  6819. },
  6820. "spotpl": {
  6821. "description": "浮动权益.",
  6822. "type": "number"
  6823. },
  6824. "spotqty": {
  6825. "description": "现货量.",
  6826. "type": "string"
  6827. },
  6828. "statu": {
  6829. "description": "状态,0-未结束 1-已结束.",
  6830. "type": "integer"
  6831. },
  6832. "totalpl": {
  6833. "description": "总盈亏.",
  6834. "type": "number"
  6835. },
  6836. "totalqty": {
  6837. "description": "总敞口.",
  6838. "type": "string"
  6839. },
  6840. "type": {
  6841. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  6842. "type": "integer"
  6843. }
  6844. }
  6845. },
  6846. "erms3.QuerySpotContractAppleFormRsp": {
  6847. "type": "object",
  6848. "properties": {
  6849. "goodses": {
  6850. "description": "合约列表",
  6851. "type": "array",
  6852. "items": {
  6853. "$ref": "#/definitions/models.GoodsIDAndName"
  6854. }
  6855. },
  6856. "oppositeusers": {
  6857. "description": "对方账号列表",
  6858. "type": "array",
  6859. "items": {
  6860. "$ref": "#/definitions/erms3.CustomerInfo"
  6861. }
  6862. },
  6863. "ouruser": {
  6864. "description": "我方账号",
  6865. "type": "object",
  6866. "$ref": "#/definitions/erms3.CustomerInfo"
  6867. },
  6868. "warehouseinfos": {
  6869. "description": "仓库信息列表",
  6870. "type": "array",
  6871. "items": {
  6872. "$ref": "#/definitions/models.Warehouseinfo"
  6873. }
  6874. },
  6875. "wrstandards": {
  6876. "description": "仓单标准列表",
  6877. "type": "array",
  6878. "items": {
  6879. "$ref": "#/definitions/models.WRStandardInfo"
  6880. }
  6881. }
  6882. }
  6883. },
  6884. "erms3.QuerySpotContractInfoRsp": {
  6885. "type": "object",
  6886. "properties": {
  6887. "accountid": {
  6888. "description": "表示交易员ID.",
  6889. "type": "integer"
  6890. },
  6891. "curdeliveryqty": {
  6892. "description": "表示未交收量.",
  6893. "type": "number"
  6894. },
  6895. "customername": {
  6896. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  6897. "type": "string"
  6898. },
  6899. "deliverygoodsid": {
  6900. "description": "表示品种ID.",
  6901. "type": "string"
  6902. },
  6903. "deliveryqty": {
  6904. "description": "表示交收量.",
  6905. "type": "number"
  6906. },
  6907. "matchaccountid": {
  6908. "description": "表示业务员ID.",
  6909. "type": "integer"
  6910. },
  6911. "matchcustomername": {
  6912. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  6913. "type": "string"
  6914. },
  6915. "priceqty": {
  6916. "description": "表示定价量.",
  6917. "type": "number"
  6918. },
  6919. "relatedbizid": {
  6920. "description": "表示业务ID.",
  6921. "type": "string"
  6922. },
  6923. "signdate": {
  6924. "description": "表示签订日期.",
  6925. "type": "string"
  6926. },
  6927. "spotcontractid": {
  6928. "description": "合同ID",
  6929. "type": "string"
  6930. },
  6931. "status": {
  6932. "description": "表示状态,0-履约中 1-已完成.",
  6933. "type": "integer"
  6934. },
  6935. "totalqty": {
  6936. "description": "表示合同量.",
  6937. "type": "number"
  6938. },
  6939. "unpricedqty": {
  6940. "description": "表示未定价量.",
  6941. "type": "number"
  6942. },
  6943. "wrstandardname": {
  6944. "description": "表示商品ID.",
  6945. "type": "string"
  6946. }
  6947. }
  6948. },
  6949. "erms3.QueryUserInfoAppliesRsp": {
  6950. "type": "object",
  6951. "required": [
  6952. "userid"
  6953. ],
  6954. "properties": {
  6955. "biznature": {
  6956. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6957. "type": "integer"
  6958. },
  6959. "contactname": {
  6960. "description": "联系人",
  6961. "type": "string"
  6962. },
  6963. "createtime": {
  6964. "description": "开户申请时间",
  6965. "type": "string"
  6966. },
  6967. "userid": {
  6968. "description": "用户ID(自增ID)",
  6969. "type": "integer"
  6970. },
  6971. "userinfotype": {
  6972. "description": "用户信息类型 - 1:个人 2:企业",
  6973. "type": "integer"
  6974. },
  6975. "username": {
  6976. "description": "用户姓名",
  6977. "type": "string"
  6978. },
  6979. "userstate": {
  6980. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  6981. "type": "integer"
  6982. }
  6983. }
  6984. },
  6985. "erms3.QueryUserInfosRsp": {
  6986. "type": "object",
  6987. "required": [
  6988. "userid"
  6989. ],
  6990. "properties": {
  6991. "biznature": {
  6992. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6993. "type": "integer"
  6994. },
  6995. "contactname": {
  6996. "description": "联系人",
  6997. "type": "string"
  6998. },
  6999. "customername": {
  7000. "description": "客户名称(企业名称)",
  7001. "type": "string"
  7002. },
  7003. "userid": {
  7004. "description": "用户ID",
  7005. "type": "integer"
  7006. },
  7007. "userinfotype": {
  7008. "description": "用户信息类型 - 1:个人 2:企业",
  7009. "type": "integer"
  7010. },
  7011. "userstatus": {
  7012. "description": "用户状态 - 1:正常 2:注销",
  7013. "type": "integer"
  7014. }
  7015. }
  7016. },
  7017. "erms3.SoptContractDetail": {
  7018. "type": "object",
  7019. "required": [
  7020. "deliverygoodsid",
  7021. "producttype",
  7022. "unitname",
  7023. "warehouseid",
  7024. "wrstandardid",
  7025. "wrstandardname"
  7026. ],
  7027. "properties": {
  7028. "deliverygoodsdesc": {
  7029. "description": "现货品种说明",
  7030. "type": "string"
  7031. },
  7032. "deliverygoodsid": {
  7033. "description": "现货品种ID",
  7034. "type": "integer"
  7035. },
  7036. "deliverygoodsname": {
  7037. "description": "现货品种名称",
  7038. "type": "string"
  7039. },
  7040. "pointdesc": {
  7041. "description": "点价描述",
  7042. "type": "string"
  7043. },
  7044. "producttype": {
  7045. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  7046. "type": "integer"
  7047. },
  7048. "producttypename": {
  7049. "description": "产品类型名称",
  7050. "type": "string"
  7051. },
  7052. "spotPointOrderVoList": {
  7053. "description": "点价列表",
  7054. "type": "array",
  7055. "items": {
  7056. "$ref": "#/definitions/erms3.SpotPointOrder"
  7057. }
  7058. },
  7059. "spotPriceOrderList": {
  7060. "description": "定价列表",
  7061. "type": "array",
  7062. "items": {
  7063. "$ref": "#/definitions/erms3.SpotPriceOrder"
  7064. }
  7065. },
  7066. "unitname": {
  7067. "description": "单位名称",
  7068. "type": "string"
  7069. },
  7070. "warehouseid": {
  7071. "description": "仓库ID",
  7072. "type": "integer"
  7073. },
  7074. "warehousename": {
  7075. "description": "仓库名称",
  7076. "type": "string"
  7077. },
  7078. "wrstandardid": {
  7079. "description": "交易标的ID",
  7080. "type": "integer"
  7081. },
  7082. "wrstandardname": {
  7083. "description": "交易标的名称",
  7084. "type": "string"
  7085. }
  7086. }
  7087. },
  7088. "erms3.SpotPointOrder": {
  7089. "type": "object",
  7090. "required": [
  7091. "basic",
  7092. "goodsid",
  7093. "qty"
  7094. ],
  7095. "properties": {
  7096. "basic": {
  7097. "description": "基差",
  7098. "type": "number"
  7099. },
  7100. "deliveryenddate": {
  7101. "description": "交收结束日期",
  7102. "type": "string"
  7103. },
  7104. "deliverystartdate": {
  7105. "description": "交收开始日期",
  7106. "type": "string"
  7107. },
  7108. "enddate": {
  7109. "description": "点价结束日期",
  7110. "type": "string"
  7111. },
  7112. "goodsid": {
  7113. "description": "商品ID",
  7114. "type": "integer"
  7115. },
  7116. "goodsname": {
  7117. "description": "商品名称",
  7118. "type": "string"
  7119. },
  7120. "qty": {
  7121. "description": "数量",
  7122. "type": "number"
  7123. },
  7124. "startdate": {
  7125. "description": "点价开始日期",
  7126. "type": "string"
  7127. }
  7128. }
  7129. },
  7130. "erms3.SpotPriceOrder": {
  7131. "type": "object",
  7132. "required": [
  7133. "amount",
  7134. "price",
  7135. "qty"
  7136. ],
  7137. "properties": {
  7138. "amount": {
  7139. "description": "金额",
  7140. "type": "number"
  7141. },
  7142. "deliveryenddate": {
  7143. "description": "交收结束日期",
  7144. "type": "string"
  7145. },
  7146. "deliverystartdate": {
  7147. "description": "交收开始日期",
  7148. "type": "string"
  7149. },
  7150. "price": {
  7151. "description": "价格",
  7152. "type": "number"
  7153. },
  7154. "qty": {
  7155. "description": "数量",
  7156. "type": "number"
  7157. }
  7158. }
  7159. },
  7160. "hsby.GetHsbyMyCountRsp": {
  7161. "type": "object",
  7162. "properties": {
  7163. "myCouponCount": {
  7164. "description": "我的优惠卷数量",
  7165. "type": "integer"
  7166. },
  7167. "myOrderDetailListingCount": {
  7168. "description": "我的订单求购中数量",
  7169. "type": "integer"
  7170. },
  7171. "myOrderDetailPreCount": {
  7172. "description": "我的订单抢购中数量",
  7173. "type": "integer"
  7174. },
  7175. "myPackageUnReceiveCount": {
  7176. "description": "我的包裹待收货数量",
  7177. "type": "integer"
  7178. },
  7179. "myPackageUnSendCount": {
  7180. "description": "我的包裹待发货数量",
  7181. "type": "integer"
  7182. },
  7183. "myPayOrderCount": {
  7184. "description": "我的订单待付款数量",
  7185. "type": "integer"
  7186. }
  7187. }
  7188. },
  7189. "hsby.QueryProvincesAndCitiesRsp": {
  7190. "type": "object",
  7191. "properties": {
  7192. "cities": {
  7193. "description": "市",
  7194. "type": "array",
  7195. "items": {
  7196. "$ref": "#/definitions/models.Division"
  7197. }
  7198. },
  7199. "province": {
  7200. "description": "省",
  7201. "type": "object",
  7202. "$ref": "#/definitions/models.Division"
  7203. }
  7204. }
  7205. },
  7206. "models.Division": {
  7207. "type": "object",
  7208. "required": [
  7209. "autoid",
  7210. "divisioncode"
  7211. ],
  7212. "properties": {
  7213. "autoid": {
  7214. "description": "自增ID",
  7215. "type": "integer"
  7216. },
  7217. "divisioncode": {
  7218. "description": "行政代码",
  7219. "type": "string"
  7220. },
  7221. "divisionlevel": {
  7222. "description": "行政级别",
  7223. "type": "string"
  7224. },
  7225. "divisionname": {
  7226. "description": "行政名称",
  7227. "type": "string"
  7228. },
  7229. "modifierid": {
  7230. "description": "修改人",
  7231. "type": "integer"
  7232. },
  7233. "modifytime": {
  7234. "description": "修改时间",
  7235. "type": "string"
  7236. },
  7237. "parentcode": {
  7238. "description": "上级行政代码",
  7239. "type": "string"
  7240. },
  7241. "pathname": {
  7242. "description": "路径名称",
  7243. "type": "string"
  7244. },
  7245. "postcode": {
  7246. "description": "邮政编码",
  7247. "type": "string"
  7248. },
  7249. "separablename": {
  7250. "description": "可拆分的全称",
  7251. "type": "string"
  7252. },
  7253. "shortcode": {
  7254. "description": "地区简码",
  7255. "type": "string"
  7256. }
  7257. }
  7258. },
  7259. "models.Enumdicitem": {
  7260. "type": "object",
  7261. "required": [
  7262. "autoid",
  7263. "enumdiccode",
  7264. "enumdicid",
  7265. "enumitemname"
  7266. ],
  7267. "properties": {
  7268. "autoid": {
  7269. "description": "自增ID",
  7270. "type": "integer"
  7271. },
  7272. "bankmappedvalue": {
  7273. "description": "银行服务对应值",
  7274. "type": "string"
  7275. },
  7276. "enumdiccode": {
  7277. "description": "所属枚举代码",
  7278. "type": "string"
  7279. },
  7280. "enumdicid": {
  7281. "description": "所属枚举ID",
  7282. "type": "integer"
  7283. },
  7284. "enumdicname": {
  7285. "description": "枚举项名称",
  7286. "type": "string"
  7287. },
  7288. "enumitemname": {
  7289. "description": "枚举项值",
  7290. "type": "integer"
  7291. },
  7292. "enumitemstatus": {
  7293. "description": "枚举项状态 - 1.启用 2.不启用",
  7294. "type": "integer"
  7295. },
  7296. "enumitemvalue": {
  7297. "description": "通用值 - [币种通用简写]",
  7298. "type": "string"
  7299. },
  7300. "param1": {
  7301. "description": "参数1[币种:币种小数位]",
  7302. "type": "string"
  7303. },
  7304. "param2": {
  7305. "description": "参数1[币种:币种显示单位]",
  7306. "type": "string"
  7307. },
  7308. "remark": {
  7309. "description": "备注",
  7310. "type": "string"
  7311. }
  7312. }
  7313. },
  7314. "models.ErmcpHedgePlan": {
  7315. "type": "object",
  7316. "properties": {
  7317. "contracttype": {
  7318. "description": "计划类型 - 1:采购 -1:销售",
  7319. "type": "integer"
  7320. },
  7321. "convertfactor": {
  7322. "description": "标仓系数",
  7323. "type": "number"
  7324. },
  7325. "deliverygoodsid": {
  7326. "description": "现货品种ID",
  7327. "type": "integer"
  7328. },
  7329. "deliverygoodsname": {
  7330. "description": "现货品种名称",
  7331. "type": "string"
  7332. },
  7333. "hedgeplanid": {
  7334. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  7335. "type": "string"
  7336. },
  7337. "hedgeplanno": {
  7338. "description": "套保计划编号",
  7339. "type": "string"
  7340. },
  7341. "hedgeplanstatus": {
  7342. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7343. "type": "integer"
  7344. },
  7345. "planqty": {
  7346. "description": "计划数量",
  7347. "type": "number"
  7348. },
  7349. "plantime": {
  7350. "description": "计划时间",
  7351. "type": "string"
  7352. },
  7353. "producttype": {
  7354. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7355. "type": "integer"
  7356. },
  7357. "remark": {
  7358. "description": "备注",
  7359. "type": "string"
  7360. },
  7361. "spotgoodsdesc": {
  7362. "description": "商品型号",
  7363. "type": "string"
  7364. },
  7365. "wrstandardid": {
  7366. "description": "现货商品ID",
  7367. "type": "integer"
  7368. },
  7369. "wrstandardname": {
  7370. "description": "现货商品名称",
  7371. "type": "string"
  7372. }
  7373. }
  7374. },
  7375. "models.ErmcpModel": {
  7376. "type": "object",
  7377. "properties": {
  7378. "accountid": {
  7379. "description": "账户ID",
  7380. "type": "string"
  7381. },
  7382. "accountname": {
  7383. "description": "账户名称",
  7384. "type": "string"
  7385. },
  7386. "contracctstatus": {
  7387. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7388. "type": "integer"
  7389. },
  7390. "convertfactor": {
  7391. "description": "标仓系数",
  7392. "type": "number"
  7393. },
  7394. "daikaiamount": {
  7395. "description": "待开票额",
  7396. "type": "number"
  7397. },
  7398. "deliveryenddate": {
  7399. "description": "交割结束日",
  7400. "type": "string"
  7401. },
  7402. "deliverygoodscode": {
  7403. "description": "现货商品代码",
  7404. "type": "string"
  7405. },
  7406. "deliverygoodsid": {
  7407. "description": "现货商品ID",
  7408. "type": "integer"
  7409. },
  7410. "deliverygoodsname": {
  7411. "description": "现货商品名称",
  7412. "type": "string"
  7413. },
  7414. "deliverystartdate": {
  7415. "description": "交割开始日",
  7416. "type": "string"
  7417. },
  7418. "enddate": {
  7419. "description": "点价结束日",
  7420. "type": "string"
  7421. },
  7422. "enumdicname": {
  7423. "description": "单位名称",
  7424. "type": "string"
  7425. },
  7426. "goodscode": {
  7427. "description": "点价商品代码",
  7428. "type": "string"
  7429. },
  7430. "goodsid": {
  7431. "description": "点价商品ID",
  7432. "type": "integer"
  7433. },
  7434. "invoiceamount": {
  7435. "description": "已开票额",
  7436. "type": "number"
  7437. },
  7438. "payamount": {
  7439. "description": "已收付额(收款或付款)",
  7440. "type": "number"
  7441. },
  7442. "pricedqty": {
  7443. "description": "已定价量",
  7444. "type": "number"
  7445. },
  7446. "pricemove": {
  7447. "description": "升贴水",
  7448. "type": "number"
  7449. },
  7450. "pricetype": {
  7451. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7452. "type": "integer"
  7453. },
  7454. "producttype": {
  7455. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7456. "type": "integer"
  7457. },
  7458. "qty": {
  7459. "description": "合同量",
  7460. "type": "number"
  7461. },
  7462. "spotcontractid": {
  7463. "description": "合同ID",
  7464. "type": "string"
  7465. },
  7466. "spotgoodsdesc": {
  7467. "description": "商品型号(商品规格)",
  7468. "type": "string"
  7469. },
  7470. "startdate": {
  7471. "description": "点价开始日",
  7472. "type": "string"
  7473. },
  7474. "unpayamount": {
  7475. "description": "待支收额(支付或收款)",
  7476. "type": "number"
  7477. },
  7478. "unpricedqty": {
  7479. "description": "未定价量",
  7480. "type": "number"
  7481. },
  7482. "unsureqty": {
  7483. "description": "未确定量",
  7484. "type": "number"
  7485. }
  7486. }
  7487. },
  7488. "models.ErmcpSpotContractModel": {
  7489. "type": "object",
  7490. "properties": {
  7491. "amount": {
  7492. "description": "金额 [1:一口价、3:暂定价]",
  7493. "type": "number"
  7494. },
  7495. "buyuserid": {
  7496. "description": "采购方ID",
  7497. "type": "integer"
  7498. },
  7499. "buyusername": {
  7500. "description": "采购方名称",
  7501. "type": "string"
  7502. },
  7503. "contracctstatus": {
  7504. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7505. "type": "integer"
  7506. },
  7507. "contractno": {
  7508. "description": "现货合同编号",
  7509. "type": "string"
  7510. },
  7511. "contracttype": {
  7512. "description": "现货合同类型 - 1:采购 -1:销售",
  7513. "type": "integer"
  7514. },
  7515. "convertfactor": {
  7516. "description": "标仓系数",
  7517. "type": "number"
  7518. },
  7519. "deliveryenddate": {
  7520. "description": "交收期(结束)",
  7521. "type": "string"
  7522. },
  7523. "deliverygoodscode": {
  7524. "description": "现货品种代码",
  7525. "type": "string"
  7526. },
  7527. "deliverygoodsid": {
  7528. "description": "现货品种ID",
  7529. "type": "integer"
  7530. },
  7531. "deliverygoodsname": {
  7532. "description": "现货品种名称",
  7533. "type": "string"
  7534. },
  7535. "deliverystartdate": {
  7536. "description": "交收期(开始)",
  7537. "type": "string"
  7538. },
  7539. "enddate": {
  7540. "description": "点价结束日期 [2:点价 3:暂定价]",
  7541. "type": "string"
  7542. },
  7543. "enumdicname": {
  7544. "description": "单位名称",
  7545. "type": "string"
  7546. },
  7547. "goodscode": {
  7548. "description": "点价合约代码",
  7549. "type": "string"
  7550. },
  7551. "goodsid": {
  7552. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  7553. "type": "integer"
  7554. },
  7555. "margin": {
  7556. "description": "当前保证金",
  7557. "type": "number"
  7558. },
  7559. "price": {
  7560. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  7561. "type": "number"
  7562. },
  7563. "pricemove": {
  7564. "description": "升贴水 [2:点价 3:暂定价]",
  7565. "type": "number"
  7566. },
  7567. "pricetype": {
  7568. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7569. "type": "integer"
  7570. },
  7571. "producttype": {
  7572. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7573. "type": "integer"
  7574. },
  7575. "qty": {
  7576. "description": "数量",
  7577. "type": "number"
  7578. },
  7579. "selluserid": {
  7580. "description": "销售方ID",
  7581. "type": "integer"
  7582. },
  7583. "sellusername": {
  7584. "description": "销售方名称",
  7585. "type": "string"
  7586. },
  7587. "spotcontractid": {
  7588. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  7589. "type": "string"
  7590. },
  7591. "spotgoodsdesc": {
  7592. "description": "商品型号",
  7593. "type": "string"
  7594. },
  7595. "startdate": {
  7596. "description": "点价开始日期 [2:点价 3:暂定价]",
  7597. "type": "string"
  7598. }
  7599. }
  7600. },
  7601. "models.ErmcpUserModel": {
  7602. "type": "object",
  7603. "properties": {
  7604. "address": {
  7605. "description": "通讯地址",
  7606. "type": "string"
  7607. },
  7608. "cardnum": {
  7609. "description": "证件号码",
  7610. "type": "string"
  7611. },
  7612. "cardtype": {
  7613. "description": "证件类型",
  7614. "type": "string"
  7615. },
  7616. "customername": {
  7617. "description": "企业名称",
  7618. "type": "string"
  7619. },
  7620. "mobile": {
  7621. "description": "手机号码",
  7622. "type": "string"
  7623. },
  7624. "remark": {
  7625. "description": "备注",
  7626. "type": "string"
  7627. },
  7628. "status": {
  7629. "description": "账户状态",
  7630. "type": "string"
  7631. },
  7632. "telphone": {
  7633. "description": "联系电话",
  7634. "type": "string"
  7635. },
  7636. "userinfotype": {
  7637. "description": "客户类型",
  7638. "type": "string"
  7639. }
  7640. }
  7641. },
  7642. "models.GoodsIDAndName": {
  7643. "type": "object",
  7644. "required": [
  7645. "goodscode",
  7646. "goodsid",
  7647. "goodsname",
  7648. "marketid"
  7649. ],
  7650. "properties": {
  7651. "goodscode": {
  7652. "description": "商品代码(内部)",
  7653. "type": "string"
  7654. },
  7655. "goodsid": {
  7656. "description": "商品ID(自增ID SEQ_GOODS)",
  7657. "type": "integer"
  7658. },
  7659. "goodsname": {
  7660. "description": "商品名称",
  7661. "type": "string"
  7662. },
  7663. "marketid": {
  7664. "description": "所属市场ID",
  7665. "type": "integer"
  7666. }
  7667. }
  7668. },
  7669. "models.HsbyBuyMyPayOrder": {
  7670. "type": "object",
  7671. "required": [
  7672. "goodscode",
  7673. "goodsname",
  7674. "tradeid",
  7675. "trademode"
  7676. ],
  7677. "properties": {
  7678. "agreeunit": {
  7679. "description": "合约单位",
  7680. "type": "number"
  7681. },
  7682. "buyaccountid": {
  7683. "description": "买方账号ID[报价币种]",
  7684. "type": "integer"
  7685. },
  7686. "buyorderid": {
  7687. "description": "买方委托单号",
  7688. "type": "string"
  7689. },
  7690. "createtime": {
  7691. "description": "创建时间",
  7692. "type": "string"
  7693. },
  7694. "currencysign": {
  7695. "description": "货币符号",
  7696. "type": "string"
  7697. },
  7698. "decimalplace": {
  7699. "description": "报价小数位",
  7700. "type": "integer"
  7701. },
  7702. "goodscode": {
  7703. "description": "商品代码(内部)",
  7704. "type": "string"
  7705. },
  7706. "goodsid": {
  7707. "description": "商品ID",
  7708. "type": "integer"
  7709. },
  7710. "goodsname": {
  7711. "description": "商品名称",
  7712. "type": "string"
  7713. },
  7714. "marketid": {
  7715. "description": "市场ID",
  7716. "type": "integer"
  7717. },
  7718. "offamount": {
  7719. "description": "优惠金额",
  7720. "type": "number"
  7721. },
  7722. "payamount": {
  7723. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  7724. "type": "number"
  7725. },
  7726. "payflag": {
  7727. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7728. "type": "integer"
  7729. },
  7730. "paylimitedtime": {
  7731. "description": "支付期限",
  7732. "type": "string"
  7733. },
  7734. "paytime": {
  7735. "description": "付款时间",
  7736. "type": "string"
  7737. },
  7738. "picurls1": {
  7739. "description": "预售商品介绍图片[多张用逗号分隔]",
  7740. "type": "string"
  7741. },
  7742. "picurls2": {
  7743. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  7744. "type": "string"
  7745. },
  7746. "sellaccountid": {
  7747. "description": "卖方账号ID[报价币种]",
  7748. "type": "integer"
  7749. },
  7750. "sellorderid": {
  7751. "description": "卖方委托单号",
  7752. "type": "string"
  7753. },
  7754. "tradeamount": {
  7755. "description": "成交金额",
  7756. "type": "number"
  7757. },
  7758. "tradecharge": {
  7759. "description": "成交手续费(买方)",
  7760. "type": "number"
  7761. },
  7762. "tradedate": {
  7763. "description": "交易日(yyyyMMdd)",
  7764. "type": "string"
  7765. },
  7766. "tradeid": {
  7767. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7768. "type": "string"
  7769. },
  7770. "trademode": {
  7771. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7772. "type": "integer"
  7773. },
  7774. "tradeprice": {
  7775. "description": "成交价格",
  7776. "type": "number"
  7777. },
  7778. "tradeqty": {
  7779. "description": "成交数量",
  7780. "type": "integer"
  7781. },
  7782. "vendorname1": {
  7783. "description": "预售商品供应商名称",
  7784. "type": "string"
  7785. },
  7786. "vendorname2": {
  7787. "description": "挂牌商品供应商名称",
  7788. "type": "string"
  7789. }
  7790. }
  7791. },
  7792. "models.HsbyBuyMyTradeDetail": {
  7793. "type": "object",
  7794. "required": [
  7795. "accountid",
  7796. "buyorsell",
  7797. "goodscode",
  7798. "goodsid",
  7799. "goodsname",
  7800. "marketid",
  7801. "orderid",
  7802. "qty",
  7803. "time",
  7804. "trademode"
  7805. ],
  7806. "properties": {
  7807. "accountid": {
  7808. "description": "账户ID[报价币种]",
  7809. "type": "integer"
  7810. },
  7811. "agreeunit": {
  7812. "description": "合约单位",
  7813. "type": "number"
  7814. },
  7815. "amount": {
  7816. "description": "金额 = 价格 * 数量 * 合约单位",
  7817. "type": "number"
  7818. },
  7819. "buyorsell": {
  7820. "description": "买卖 - 0:买 1:卖",
  7821. "type": "integer"
  7822. },
  7823. "currencysign": {
  7824. "description": "货币符号",
  7825. "type": "string"
  7826. },
  7827. "decimalplace": {
  7828. "description": "报价小数位",
  7829. "type": "integer"
  7830. },
  7831. "goodscode": {
  7832. "description": "商品代码(内部)",
  7833. "type": "string"
  7834. },
  7835. "goodsid": {
  7836. "description": "商品ID",
  7837. "type": "integer"
  7838. },
  7839. "goodsname": {
  7840. "description": "商品名称",
  7841. "type": "string"
  7842. },
  7843. "marketid": {
  7844. "description": "市场ID",
  7845. "type": "integer"
  7846. },
  7847. "orderid": {
  7848. "description": "单号(成交单号)",
  7849. "type": "string"
  7850. },
  7851. "picurls1": {
  7852. "description": "预售商品介绍图片[多张用逗号分隔]",
  7853. "type": "string"
  7854. },
  7855. "picurls2": {
  7856. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  7857. "type": "string"
  7858. },
  7859. "price": {
  7860. "description": "价格",
  7861. "type": "number"
  7862. },
  7863. "qty": {
  7864. "description": "数量",
  7865. "type": "integer"
  7866. },
  7867. "time": {
  7868. "description": "时间",
  7869. "type": "string"
  7870. },
  7871. "trademode": {
  7872. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7873. "type": "integer"
  7874. },
  7875. "vendorname1": {
  7876. "description": "预售商品供应商名称",
  7877. "type": "string"
  7878. },
  7879. "vendorname2": {
  7880. "description": "挂牌商品供应商名称",
  7881. "type": "string"
  7882. }
  7883. }
  7884. },
  7885. "models.HsbyGoodsOrderDetail": {
  7886. "type": "object",
  7887. "required": [
  7888. "buyorsell",
  7889. "orderid",
  7890. "ordertime"
  7891. ],
  7892. "properties": {
  7893. "buyorsell": {
  7894. "description": "买卖 - 0:买 1:卖",
  7895. "type": "integer"
  7896. },
  7897. "currencysign": {
  7898. "description": "货币符号",
  7899. "type": "string"
  7900. },
  7901. "customername": {
  7902. "description": "客户名称(企业名称),已脱敏",
  7903. "type": "string"
  7904. },
  7905. "enableqty": {
  7906. "description": "可用数量",
  7907. "type": "integer"
  7908. },
  7909. "goodunit": {
  7910. "description": "报价单位",
  7911. "type": "string"
  7912. },
  7913. "orderid": {
  7914. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7915. "type": "string"
  7916. },
  7917. "orderprice": {
  7918. "description": "委托价格",
  7919. "type": "number"
  7920. },
  7921. "ordertime": {
  7922. "description": "委托时间",
  7923. "type": "string"
  7924. }
  7925. }
  7926. },
  7927. "models.HsbyListingGoodsDetail": {
  7928. "type": "object",
  7929. "required": [
  7930. "goodscode",
  7931. "goodsid",
  7932. "goodsname",
  7933. "marketid",
  7934. "trademode"
  7935. ],
  7936. "properties": {
  7937. "agreeunit": {
  7938. "description": "合约单位",
  7939. "type": "number"
  7940. },
  7941. "buymaxqty": {
  7942. "description": "购买上限 [71] - 0为不限",
  7943. "type": "integer"
  7944. },
  7945. "currency": {
  7946. "description": "货币",
  7947. "type": "string"
  7948. },
  7949. "currencysign": {
  7950. "description": "货币符号",
  7951. "type": "string"
  7952. },
  7953. "decimalplace": {
  7954. "description": "报价小数位",
  7955. "type": "integer"
  7956. },
  7957. "desccityid": {
  7958. "description": "目的地(市)ID",
  7959. "type": "integer"
  7960. },
  7961. "descprovinceid": {
  7962. "description": "目的地(省)ID",
  7963. "type": "integer"
  7964. },
  7965. "goodscode": {
  7966. "description": "商品代码(内部)",
  7967. "type": "string"
  7968. },
  7969. "goodsdesc": {
  7970. "description": "商品详情",
  7971. "type": "string"
  7972. },
  7973. "goodsid": {
  7974. "description": "商品ID(自增ID SEQ_GOODS)",
  7975. "type": "integer"
  7976. },
  7977. "goodsname": {
  7978. "description": "商品名称",
  7979. "type": "string"
  7980. },
  7981. "goodsprice": {
  7982. "description": "商品价格",
  7983. "type": "number"
  7984. },
  7985. "hotindex": {
  7986. "description": "景点热度",
  7987. "type": "integer"
  7988. },
  7989. "last": {
  7990. "description": "现价",
  7991. "type": "number"
  7992. },
  7993. "limitdown": {
  7994. "description": "跌停价",
  7995. "type": "number"
  7996. },
  7997. "limitup": {
  7998. "description": "涨停价",
  7999. "type": "number"
  8000. },
  8001. "lotsize": {
  8002. "description": "手数最小变动单位",
  8003. "type": "integer"
  8004. },
  8005. "marketid": {
  8006. "description": "所属市场ID",
  8007. "type": "integer"
  8008. },
  8009. "picurls": {
  8010. "description": "介绍图片[多张用逗号分隔]",
  8011. "type": "string"
  8012. },
  8013. "quoteminunit": {
  8014. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8015. "type": "integer"
  8016. },
  8017. "stepvalue": {
  8018. "description": "价格最小变动单位",
  8019. "type": "number"
  8020. },
  8021. "trademode": {
  8022. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8023. "type": "integer"
  8024. },
  8025. "vendorattr": {
  8026. "description": "供应商附件(多张,逗号分隔)",
  8027. "type": "string"
  8028. },
  8029. "vendorname": {
  8030. "description": "供应商名称",
  8031. "type": "string"
  8032. },
  8033. "vendorphone": {
  8034. "description": "供应商客服电话",
  8035. "type": "string"
  8036. },
  8037. "videourls": {
  8038. "description": "介绍视频[多张用逗号分隔]",
  8039. "type": "string"
  8040. }
  8041. }
  8042. },
  8043. "models.HsbyMarketGoods": {
  8044. "type": "object",
  8045. "required": [
  8046. "accountid",
  8047. "buyorsell",
  8048. "goodscode",
  8049. "goodsid",
  8050. "goodsname",
  8051. "marketid",
  8052. "orderid",
  8053. "trademode"
  8054. ],
  8055. "properties": {
  8056. "accountid": {
  8057. "description": "账户ID[报价币种]",
  8058. "type": "integer"
  8059. },
  8060. "agreeunit": {
  8061. "description": "合约单位",
  8062. "type": "number"
  8063. },
  8064. "buyorsell": {
  8065. "description": "买卖 - 0:买 1:卖",
  8066. "type": "integer"
  8067. },
  8068. "categoryid": {
  8069. "description": "类别ID(WRCATEGORY)",
  8070. "type": "integer"
  8071. },
  8072. "currency": {
  8073. "description": "货币",
  8074. "type": "string"
  8075. },
  8076. "currencysign": {
  8077. "description": "货币符号",
  8078. "type": "string"
  8079. },
  8080. "customername": {
  8081. "description": "卖家名称",
  8082. "type": "string"
  8083. },
  8084. "decimalplace": {
  8085. "description": "报价小数位",
  8086. "type": "integer"
  8087. },
  8088. "goodscode": {
  8089. "description": "商品代码(内部)",
  8090. "type": "string"
  8091. },
  8092. "goodsid": {
  8093. "description": "商品ID",
  8094. "type": "integer"
  8095. },
  8096. "goodsname": {
  8097. "description": "商品名称",
  8098. "type": "string"
  8099. },
  8100. "hascoupon": {
  8101. "description": "是否可用优惠卷",
  8102. "type": "boolean"
  8103. },
  8104. "hotindex": {
  8105. "description": "景点热度",
  8106. "type": "integer"
  8107. },
  8108. "marketid": {
  8109. "description": "市场ID",
  8110. "type": "integer"
  8111. },
  8112. "orderid": {
  8113. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8114. "type": "string"
  8115. },
  8116. "orderprice": {
  8117. "description": "委托价格",
  8118. "type": "number"
  8119. },
  8120. "orderstatus": {
  8121. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8122. "type": "integer"
  8123. },
  8124. "picurls": {
  8125. "description": "介绍图片[多张用逗号分隔]",
  8126. "type": "string"
  8127. },
  8128. "quoteminunit": {
  8129. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8130. "type": "integer"
  8131. },
  8132. "sellUserID": {
  8133. "description": "卖方UserID",
  8134. "type": "integer"
  8135. },
  8136. "trademode": {
  8137. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8138. "type": "integer"
  8139. },
  8140. "videourls": {
  8141. "description": "介绍视频[多张用逗号分隔]",
  8142. "type": "string"
  8143. }
  8144. }
  8145. },
  8146. "models.HsbyMarketGoodsDetail": {
  8147. "type": "object",
  8148. "required": [
  8149. "accountid",
  8150. "buyorsell",
  8151. "goodscode",
  8152. "goodsid",
  8153. "goodsname",
  8154. "marketid",
  8155. "orderid",
  8156. "orderqty",
  8157. "trademode"
  8158. ],
  8159. "properties": {
  8160. "accountid": {
  8161. "description": "账户ID[报价币种]",
  8162. "type": "integer"
  8163. },
  8164. "agreeunit": {
  8165. "description": "合约单位",
  8166. "type": "number"
  8167. },
  8168. "buymaxqty": {
  8169. "description": "购买上限 [71] - 0为不限",
  8170. "type": "integer"
  8171. },
  8172. "buyorsell": {
  8173. "description": "买卖 - 0:买 1:卖",
  8174. "type": "integer"
  8175. },
  8176. "cancelqty": {
  8177. "description": "撤单数量",
  8178. "type": "integer"
  8179. },
  8180. "categoryid": {
  8181. "description": "类别ID(WRCATEGORY)",
  8182. "type": "integer"
  8183. },
  8184. "currency": {
  8185. "description": "货币",
  8186. "type": "string"
  8187. },
  8188. "currencysign": {
  8189. "description": "货币符号",
  8190. "type": "string"
  8191. },
  8192. "customername": {
  8193. "description": "卖家名称",
  8194. "type": "string"
  8195. },
  8196. "decimalplace": {
  8197. "description": "报价小数位",
  8198. "type": "integer"
  8199. },
  8200. "goodscode": {
  8201. "description": "商品代码(内部)",
  8202. "type": "string"
  8203. },
  8204. "goodsdesc": {
  8205. "description": "商品详情",
  8206. "type": "string"
  8207. },
  8208. "goodsid": {
  8209. "description": "商品ID",
  8210. "type": "integer"
  8211. },
  8212. "goodsname": {
  8213. "description": "商品名称",
  8214. "type": "string"
  8215. },
  8216. "hotindex": {
  8217. "description": "景点热度",
  8218. "type": "integer"
  8219. },
  8220. "lotsize": {
  8221. "description": "手数最小变动单位",
  8222. "type": "integer"
  8223. },
  8224. "marketid": {
  8225. "description": "市场ID",
  8226. "type": "integer"
  8227. },
  8228. "orderid": {
  8229. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8230. "type": "string"
  8231. },
  8232. "orderprice": {
  8233. "description": "委托价格",
  8234. "type": "number"
  8235. },
  8236. "orderqty": {
  8237. "description": "委托数量",
  8238. "type": "integer"
  8239. },
  8240. "orderstatus": {
  8241. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8242. "type": "integer"
  8243. },
  8244. "picurls": {
  8245. "description": "介绍图片[多张用逗号分隔]",
  8246. "type": "string"
  8247. },
  8248. "quoteminunit": {
  8249. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8250. "type": "integer"
  8251. },
  8252. "sellUserID": {
  8253. "description": "卖方UserID",
  8254. "type": "integer"
  8255. },
  8256. "trademode": {
  8257. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8258. "type": "integer"
  8259. },
  8260. "tradeqty": {
  8261. "description": "成交数量",
  8262. "type": "integer"
  8263. },
  8264. "vendorname": {
  8265. "description": "供应商名称",
  8266. "type": "string"
  8267. },
  8268. "videourls": {
  8269. "description": "介绍视频[多张用逗号分隔]",
  8270. "type": "string"
  8271. }
  8272. }
  8273. },
  8274. "models.HsbyMarketInfo": {
  8275. "type": "object",
  8276. "required": [
  8277. "marketid",
  8278. "marketstatus",
  8279. "trademode"
  8280. ],
  8281. "properties": {
  8282. "marketid": {
  8283. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  8284. "type": "integer"
  8285. },
  8286. "marketname": {
  8287. "description": "市场名称",
  8288. "type": "string"
  8289. },
  8290. "marketstatus": {
  8291. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  8292. "type": "integer"
  8293. },
  8294. "trademode": {
  8295. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8296. "type": "integer"
  8297. }
  8298. }
  8299. },
  8300. "models.HsbyMyGoods": {
  8301. "type": "object",
  8302. "required": [
  8303. "accountid",
  8304. "goodscode",
  8305. "goodsid",
  8306. "goodsname",
  8307. "marketid",
  8308. "trademode"
  8309. ],
  8310. "properties": {
  8311. "accountid": {
  8312. "description": "账号Id",
  8313. "type": "integer"
  8314. },
  8315. "agreeunit": {
  8316. "description": "合约单位",
  8317. "type": "number"
  8318. },
  8319. "buyaverageprice": {
  8320. "description": "持仓均价",
  8321. "type": "number"
  8322. },
  8323. "buycurholderamount": {
  8324. "description": "买当前持仓总金额[商品币种]",
  8325. "type": "number"
  8326. },
  8327. "buycurpositionqty": {
  8328. "description": "买当前持仓总数量",
  8329. "type": "integer"
  8330. },
  8331. "currencysign": {
  8332. "description": "货币符号",
  8333. "type": "string"
  8334. },
  8335. "decimalplace": {
  8336. "description": "报价小数位",
  8337. "type": "integer"
  8338. },
  8339. "enableqty": {
  8340. "description": "可用数量",
  8341. "type": "integer"
  8342. },
  8343. "goodscode": {
  8344. "description": "商品代码(内部)",
  8345. "type": "string"
  8346. },
  8347. "goodsid": {
  8348. "description": "商品Id",
  8349. "type": "integer"
  8350. },
  8351. "goodsname": {
  8352. "description": "商品名称",
  8353. "type": "string"
  8354. },
  8355. "goodsprice": {
  8356. "description": "商品价格",
  8357. "type": "number"
  8358. },
  8359. "goodsstatus": {
  8360. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  8361. "type": "integer"
  8362. },
  8363. "marketid": {
  8364. "description": "所属市场ID",
  8365. "type": "integer"
  8366. },
  8367. "picurls": {
  8368. "description": "介绍图片[多张用逗号分隔]",
  8369. "type": "string"
  8370. },
  8371. "trademode": {
  8372. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8373. "type": "integer"
  8374. }
  8375. }
  8376. },
  8377. "models.HsbyMyPackage": {
  8378. "type": "object",
  8379. "required": [
  8380. "goodscode",
  8381. "goodsname",
  8382. "takeorderid"
  8383. ],
  8384. "properties": {
  8385. "accountid": {
  8386. "description": "账户ID",
  8387. "type": "integer"
  8388. },
  8389. "address": {
  8390. "description": "提货人详细地址",
  8391. "type": "string"
  8392. },
  8393. "agreeunit": {
  8394. "description": "合约单位",
  8395. "type": "number"
  8396. },
  8397. "amount": {
  8398. "description": "提货金额",
  8399. "type": "number"
  8400. },
  8401. "auditer": {
  8402. "description": "审核人",
  8403. "type": "integer"
  8404. },
  8405. "audittime": {
  8406. "description": "审核时间",
  8407. "type": "string"
  8408. },
  8409. "averageprice": {
  8410. "description": "均价",
  8411. "type": "number"
  8412. },
  8413. "cardnum": {
  8414. "description": "提货人证件号码",
  8415. "type": "string"
  8416. },
  8417. "cardtypeid": {
  8418. "description": "提货人证件类型",
  8419. "type": "integer"
  8420. },
  8421. "checkremark": {
  8422. "description": "审核备注",
  8423. "type": "string"
  8424. },
  8425. "currencysign": {
  8426. "description": "货币符号",
  8427. "type": "string"
  8428. },
  8429. "decimalplace": {
  8430. "description": "报价小数位",
  8431. "type": "integer"
  8432. },
  8433. "goodscode": {
  8434. "description": "商品代码(内部)",
  8435. "type": "string"
  8436. },
  8437. "goodsid": {
  8438. "description": "商品ID",
  8439. "type": "integer"
  8440. },
  8441. "goodsname": {
  8442. "description": "商品名称",
  8443. "type": "string"
  8444. },
  8445. "handlestatus": {
  8446. "description": "处理状态",
  8447. "type": "integer"
  8448. },
  8449. "marketid": {
  8450. "description": "市场ID",
  8451. "type": "integer"
  8452. },
  8453. "phonenum": {
  8454. "description": "提货人联系方式",
  8455. "type": "string"
  8456. },
  8457. "picurls": {
  8458. "description": "介绍图片[多张用逗号分隔]",
  8459. "type": "string"
  8460. },
  8461. "qty": {
  8462. "description": "提货数量",
  8463. "type": "number"
  8464. },
  8465. "recivername": {
  8466. "description": "提货人姓名",
  8467. "type": "string"
  8468. },
  8469. "reqtime": {
  8470. "description": "更新时间",
  8471. "type": "string"
  8472. },
  8473. "takemode": {
  8474. "description": "提货方式 - 2:自提 3:配送",
  8475. "type": "integer"
  8476. },
  8477. "takeorderid": {
  8478. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  8479. "type": "string"
  8480. },
  8481. "takeorderstatus": {
  8482. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  8483. "type": "integer"
  8484. },
  8485. "takeremark": {
  8486. "description": "提货备注",
  8487. "type": "string"
  8488. },
  8489. "tradedate": {
  8490. "description": "交易日(yyyyMMdd)",
  8491. "type": "string"
  8492. },
  8493. "userid": {
  8494. "description": "用户ID",
  8495. "type": "integer"
  8496. },
  8497. "vendorname": {
  8498. "description": "供应商名称",
  8499. "type": "string"
  8500. }
  8501. }
  8502. },
  8503. "models.HsbyPreGoods": {
  8504. "type": "object",
  8505. "required": [
  8506. "goodscode",
  8507. "goodsid",
  8508. "goodsname",
  8509. "marketid",
  8510. "trademode"
  8511. ],
  8512. "properties": {
  8513. "agreeunit": {
  8514. "description": "合约单位",
  8515. "type": "number"
  8516. },
  8517. "currency": {
  8518. "description": "货币",
  8519. "type": "string"
  8520. },
  8521. "currencysign": {
  8522. "description": "货币符号",
  8523. "type": "string"
  8524. },
  8525. "decimalplace": {
  8526. "description": "报价小数位",
  8527. "type": "integer"
  8528. },
  8529. "enableqty": {
  8530. "description": "剩余数量",
  8531. "type": "integer"
  8532. },
  8533. "goodscode": {
  8534. "description": "商品代码(内部)",
  8535. "type": "string"
  8536. },
  8537. "goodsid": {
  8538. "description": "商品ID(自增ID SEQ_GOODS)",
  8539. "type": "integer"
  8540. },
  8541. "goodsname": {
  8542. "description": "商品名称",
  8543. "type": "string"
  8544. },
  8545. "goodsstatus": {
  8546. "description": "商品状态- 2:未上市 3:上市",
  8547. "type": "integer"
  8548. },
  8549. "lasttradedate": {
  8550. "description": "最后交易日期(状态:待退市)",
  8551. "type": "string"
  8552. },
  8553. "listingdate": {
  8554. "description": "交易开始日期",
  8555. "type": "string"
  8556. },
  8557. "marketid": {
  8558. "description": "所属市场ID",
  8559. "type": "integer"
  8560. },
  8561. "picurls": {
  8562. "description": "介绍图片[多张用逗号分隔]",
  8563. "type": "string"
  8564. },
  8565. "presaledqty": {
  8566. "description": "已预售量(预售结束时更新)",
  8567. "type": "integer"
  8568. },
  8569. "presaleqty": {
  8570. "description": "预售数量",
  8571. "type": "integer"
  8572. },
  8573. "quoteminunit": {
  8574. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8575. "type": "integer"
  8576. },
  8577. "refprice": {
  8578. "description": "参考价格[一口价]",
  8579. "type": "number"
  8580. },
  8581. "relatedgoodsid": {
  8582. "description": "关联交易合约ID",
  8583. "type": "integer"
  8584. },
  8585. "trademode": {
  8586. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8587. "type": "integer"
  8588. },
  8589. "videourls": {
  8590. "description": "介绍视频[多张用逗号分隔]",
  8591. "type": "string"
  8592. }
  8593. }
  8594. },
  8595. "models.HsbyPreGoodsDetail": {
  8596. "type": "object",
  8597. "required": [
  8598. "goodscode",
  8599. "goodsid",
  8600. "goodsname",
  8601. "marketid",
  8602. "trademode"
  8603. ],
  8604. "properties": {
  8605. "agreeunit": {
  8606. "description": "合约单位",
  8607. "type": "number"
  8608. },
  8609. "buymaxqty": {
  8610. "description": "购买上限 [71] - 0为不限",
  8611. "type": "integer"
  8612. },
  8613. "currency": {
  8614. "description": "货币",
  8615. "type": "string"
  8616. },
  8617. "currencysign": {
  8618. "description": "货币符号",
  8619. "type": "string"
  8620. },
  8621. "customername": {
  8622. "description": "发行单位",
  8623. "type": "string"
  8624. },
  8625. "decimalplace": {
  8626. "description": "报价小数位",
  8627. "type": "integer"
  8628. },
  8629. "desccityid": {
  8630. "description": "目的地(市)ID",
  8631. "type": "integer"
  8632. },
  8633. "descprovinceid": {
  8634. "description": "目的地(省)ID",
  8635. "type": "integer"
  8636. },
  8637. "enableqty": {
  8638. "description": "剩余数量",
  8639. "type": "integer"
  8640. },
  8641. "goodscode": {
  8642. "description": "商品代码(内部)",
  8643. "type": "string"
  8644. },
  8645. "goodsdesc": {
  8646. "description": "商品详情",
  8647. "type": "string"
  8648. },
  8649. "goodsid": {
  8650. "description": "商品ID(自增ID SEQ_GOODS)",
  8651. "type": "integer"
  8652. },
  8653. "goodsname": {
  8654. "description": "商品名称",
  8655. "type": "string"
  8656. },
  8657. "goodsstatus": {
  8658. "description": "商品状态- 2:未上市 3:上市",
  8659. "type": "integer"
  8660. },
  8661. "goodunit": {
  8662. "description": "报价单位",
  8663. "type": "string"
  8664. },
  8665. "lasttradedate": {
  8666. "description": "最后交易日期(状态:待退市)",
  8667. "type": "string"
  8668. },
  8669. "listingdate": {
  8670. "description": "交易开始日期",
  8671. "type": "string"
  8672. },
  8673. "lotsize": {
  8674. "description": "手数最小变动单位",
  8675. "type": "integer"
  8676. },
  8677. "marketid": {
  8678. "description": "所属市场ID",
  8679. "type": "integer"
  8680. },
  8681. "picurls": {
  8682. "description": "介绍图片[多张用逗号分隔]",
  8683. "type": "string"
  8684. },
  8685. "presaledqty": {
  8686. "description": "已预售量(预售结束时更新)",
  8687. "type": "integer"
  8688. },
  8689. "presaleqty": {
  8690. "description": "预售数量",
  8691. "type": "integer"
  8692. },
  8693. "quoteminunit": {
  8694. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8695. "type": "integer"
  8696. },
  8697. "refprice": {
  8698. "description": "参考价格[一口价]",
  8699. "type": "number"
  8700. },
  8701. "relatedgoodsid": {
  8702. "description": "关联交易合约ID",
  8703. "type": "integer"
  8704. },
  8705. "stepvalue": {
  8706. "description": "价格最小变动单位",
  8707. "type": "number"
  8708. },
  8709. "trademode": {
  8710. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8711. "type": "integer"
  8712. },
  8713. "vendorattr": {
  8714. "description": "供应商附件(多张,逗号分隔)",
  8715. "type": "string"
  8716. },
  8717. "vendorname": {
  8718. "description": "供应商名称",
  8719. "type": "string"
  8720. },
  8721. "vendorphone": {
  8722. "description": "供应商客服电话",
  8723. "type": "string"
  8724. },
  8725. "videourls": {
  8726. "description": "介绍视频[多张用逗号分隔]",
  8727. "type": "string"
  8728. }
  8729. }
  8730. },
  8731. "models.HsbySellCollectionOrder": {
  8732. "type": "object",
  8733. "required": [
  8734. "goodscode",
  8735. "goodsname",
  8736. "tradeid",
  8737. "trademode"
  8738. ],
  8739. "properties": {
  8740. "agreeunit": {
  8741. "description": "合约单位",
  8742. "type": "number"
  8743. },
  8744. "buyaccountid": {
  8745. "description": "买方账号ID[报价币种]",
  8746. "type": "integer"
  8747. },
  8748. "buyorderid": {
  8749. "description": "买方委托单号",
  8750. "type": "string"
  8751. },
  8752. "createtime": {
  8753. "description": "创建时间",
  8754. "type": "string"
  8755. },
  8756. "currencysign": {
  8757. "description": "货币符号",
  8758. "type": "string"
  8759. },
  8760. "decimalplace": {
  8761. "description": "报价小数位",
  8762. "type": "integer"
  8763. },
  8764. "goodscode": {
  8765. "description": "商品代码(内部)",
  8766. "type": "string"
  8767. },
  8768. "goodsid": {
  8769. "description": "商品ID",
  8770. "type": "integer"
  8771. },
  8772. "goodsname": {
  8773. "description": "商品名称",
  8774. "type": "string"
  8775. },
  8776. "marketid": {
  8777. "description": "市场ID",
  8778. "type": "integer"
  8779. },
  8780. "offamount": {
  8781. "description": "优惠金额",
  8782. "type": "number"
  8783. },
  8784. "payamount": {
  8785. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  8786. "type": "number"
  8787. },
  8788. "payflag": {
  8789. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8790. "type": "integer"
  8791. },
  8792. "paylimitedtime": {
  8793. "description": "支付期限",
  8794. "type": "string"
  8795. },
  8796. "paytime": {
  8797. "description": "付款时间",
  8798. "type": "string"
  8799. },
  8800. "picurls": {
  8801. "description": "商品介绍图片[多张用逗号分隔]",
  8802. "type": "string"
  8803. },
  8804. "sellaccountid": {
  8805. "description": "卖方账号ID[报价币种]",
  8806. "type": "integer"
  8807. },
  8808. "sellorderid": {
  8809. "description": "卖方委托单号",
  8810. "type": "string"
  8811. },
  8812. "tradeamount": {
  8813. "description": "成交金额",
  8814. "type": "number"
  8815. },
  8816. "tradecharge": {
  8817. "description": "成交手续费(买方)",
  8818. "type": "number"
  8819. },
  8820. "tradedate": {
  8821. "description": "交易日(yyyyMMdd)",
  8822. "type": "string"
  8823. },
  8824. "tradeid": {
  8825. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8826. "type": "string"
  8827. },
  8828. "trademode": {
  8829. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8830. "type": "integer"
  8831. },
  8832. "tradeprice": {
  8833. "description": "成交价格",
  8834. "type": "number"
  8835. },
  8836. "tradeqty": {
  8837. "description": "成交数量",
  8838. "type": "integer"
  8839. }
  8840. }
  8841. },
  8842. "models.HsbySellMyDetail": {
  8843. "type": "object",
  8844. "required": [
  8845. "accountid",
  8846. "buyorsell",
  8847. "goodscode",
  8848. "goodsid",
  8849. "goodsname",
  8850. "marketid",
  8851. "orderid",
  8852. "time",
  8853. "trademode"
  8854. ],
  8855. "properties": {
  8856. "accountid": {
  8857. "description": "账户ID[报价币种]",
  8858. "type": "integer"
  8859. },
  8860. "agreeunit": {
  8861. "description": "合约单位",
  8862. "type": "number"
  8863. },
  8864. "buyorsell": {
  8865. "description": "买卖 - 0:买 1:卖",
  8866. "type": "integer"
  8867. },
  8868. "currencysign": {
  8869. "description": "货币符号",
  8870. "type": "string"
  8871. },
  8872. "decimalplace": {
  8873. "description": "报价小数位",
  8874. "type": "integer"
  8875. },
  8876. "goodscode": {
  8877. "description": "商品代码(内部)",
  8878. "type": "string"
  8879. },
  8880. "goodsid": {
  8881. "description": "商品ID",
  8882. "type": "integer"
  8883. },
  8884. "goodsname": {
  8885. "description": "商品名称",
  8886. "type": "string"
  8887. },
  8888. "marketid": {
  8889. "description": "市场ID",
  8890. "type": "integer"
  8891. },
  8892. "orderid": {
  8893. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  8894. "type": "string"
  8895. },
  8896. "ordertype": {
  8897. "description": "单据类型:0 - 发布中, 1 - 已完成",
  8898. "type": "integer"
  8899. },
  8900. "picurls": {
  8901. "description": "介绍图片[多张用逗号分隔]",
  8902. "type": "string"
  8903. },
  8904. "price": {
  8905. "description": "价格",
  8906. "type": "number"
  8907. },
  8908. "qty": {
  8909. "description": "数量",
  8910. "type": "integer"
  8911. },
  8912. "time": {
  8913. "description": "时间",
  8914. "type": "string"
  8915. },
  8916. "trademode": {
  8917. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8918. "type": "integer"
  8919. },
  8920. "vendorname": {
  8921. "description": "供应商名称",
  8922. "type": "string"
  8923. }
  8924. }
  8925. },
  8926. "models.HsbyTopGoods": {
  8927. "type": "object",
  8928. "required": [
  8929. "goodscode",
  8930. "goodsid",
  8931. "goodsname",
  8932. "marketid",
  8933. "trademode"
  8934. ],
  8935. "properties": {
  8936. "agreeunit": {
  8937. "description": "合约单位",
  8938. "type": "number"
  8939. },
  8940. "currency": {
  8941. "description": "货币",
  8942. "type": "string"
  8943. },
  8944. "currencysign": {
  8945. "description": "货币符号",
  8946. "type": "string"
  8947. },
  8948. "decimalplace": {
  8949. "description": "报价小数位",
  8950. "type": "integer"
  8951. },
  8952. "goodscode": {
  8953. "description": "商品代码(内部)",
  8954. "type": "string"
  8955. },
  8956. "goodsid": {
  8957. "description": "商品ID(自增ID SEQ_GOODS)",
  8958. "type": "integer"
  8959. },
  8960. "goodsname": {
  8961. "description": "商品名称",
  8962. "type": "string"
  8963. },
  8964. "hotindex": {
  8965. "description": "景点热度",
  8966. "type": "integer"
  8967. },
  8968. "last": {
  8969. "description": "现价",
  8970. "type": "number"
  8971. },
  8972. "marketid": {
  8973. "description": "所属市场ID",
  8974. "type": "integer"
  8975. },
  8976. "picurls": {
  8977. "description": "介绍图片[多张用逗号分隔]",
  8978. "type": "string"
  8979. },
  8980. "quoteminunit": {
  8981. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8982. "type": "integer"
  8983. },
  8984. "trademode": {
  8985. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8986. "type": "integer"
  8987. },
  8988. "videourls": {
  8989. "description": "介绍视频[多张用逗号分隔]",
  8990. "type": "string"
  8991. }
  8992. }
  8993. },
  8994. "models.HybsMyBuyOrderDetail": {
  8995. "type": "object",
  8996. "required": [
  8997. "accountid",
  8998. "buyorsell",
  8999. "goodscode",
  9000. "goodsid",
  9001. "goodsname",
  9002. "marketid",
  9003. "orderid",
  9004. "orderqty",
  9005. "ordertime",
  9006. "trademode"
  9007. ],
  9008. "properties": {
  9009. "accountid": {
  9010. "description": "账户ID[报价币种]",
  9011. "type": "integer"
  9012. },
  9013. "agreeunit": {
  9014. "description": "合约单位",
  9015. "type": "number"
  9016. },
  9017. "buyorsell": {
  9018. "description": "买卖 - 0:买 1:卖",
  9019. "type": "integer"
  9020. },
  9021. "cancelqty": {
  9022. "description": "撤单数量",
  9023. "type": "integer"
  9024. },
  9025. "currencysign": {
  9026. "description": "货币符号",
  9027. "type": "string"
  9028. },
  9029. "decimalplace": {
  9030. "description": "报价小数位",
  9031. "type": "integer"
  9032. },
  9033. "goodscode": {
  9034. "description": "商品代码(内部)",
  9035. "type": "string"
  9036. },
  9037. "goodsid": {
  9038. "description": "商品ID",
  9039. "type": "integer"
  9040. },
  9041. "goodsname": {
  9042. "description": "商品名称",
  9043. "type": "string"
  9044. },
  9045. "listingselecttype": {
  9046. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9047. "type": "integer"
  9048. },
  9049. "marketid": {
  9050. "description": "市场ID",
  9051. "type": "integer"
  9052. },
  9053. "mybuystatus": {
  9054. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  9055. "type": "integer"
  9056. },
  9057. "orderamount": {
  9058. "description": "委托金额",
  9059. "type": "number"
  9060. },
  9061. "orderid": {
  9062. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9063. "type": "string"
  9064. },
  9065. "orderprice": {
  9066. "description": "委托价格",
  9067. "type": "number"
  9068. },
  9069. "orderqty": {
  9070. "description": "委托数量",
  9071. "type": "integer"
  9072. },
  9073. "orderstatus": {
  9074. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9075. "type": "integer"
  9076. },
  9077. "ordertime": {
  9078. "description": "委托时间",
  9079. "type": "string"
  9080. },
  9081. "picurls1": {
  9082. "description": "预售商品介绍图片[多张用逗号分隔]",
  9083. "type": "string"
  9084. },
  9085. "picurls2": {
  9086. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  9087. "type": "string"
  9088. },
  9089. "trademode": {
  9090. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9091. "type": "integer"
  9092. },
  9093. "tradeqty": {
  9094. "description": "成交数量",
  9095. "type": "integer"
  9096. },
  9097. "vendorname1": {
  9098. "description": "预售商品供应商名称",
  9099. "type": "string"
  9100. },
  9101. "vendorname2": {
  9102. "description": "挂牌商品供应商名称",
  9103. "type": "string"
  9104. }
  9105. }
  9106. },
  9107. "models.Marketrun": {
  9108. "type": "object",
  9109. "required": [
  9110. "marketid",
  9111. "nexttradedate",
  9112. "reckonflag",
  9113. "runstatus",
  9114. "tradedate",
  9115. "tradedate2"
  9116. ],
  9117. "properties": {
  9118. "afternexttradedate": {
  9119. "description": "下下交易日",
  9120. "type": "string"
  9121. },
  9122. "clearquoteflag": {
  9123. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  9124. "type": "integer"
  9125. },
  9126. "lastreckondate": {
  9127. "description": "最新交易日(结算成功)",
  9128. "type": "string"
  9129. },
  9130. "machinedate": {
  9131. "description": "机器时间",
  9132. "type": "string"
  9133. },
  9134. "manualflag": {
  9135. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  9136. "type": "integer"
  9137. },
  9138. "marketid": {
  9139. "description": "市场ID",
  9140. "type": "integer"
  9141. },
  9142. "nexttradedate": {
  9143. "description": "下一交易日",
  9144. "type": "string"
  9145. },
  9146. "pretradedate": {
  9147. "description": "上一交易日",
  9148. "type": "string"
  9149. },
  9150. "reckonflag": {
  9151. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  9152. "type": "integer"
  9153. },
  9154. "runstatus": {
  9155. "description": "运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内) 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始 62.今日免清算",
  9156. "type": "integer"
  9157. },
  9158. "sectionid": {
  9159. "description": "时间段号[多时段时用]",
  9160. "type": "integer"
  9161. },
  9162. "tradedate": {
  9163. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  9164. "type": "string"
  9165. },
  9166. "tradedate2": {
  9167. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  9168. "type": "string"
  9169. },
  9170. "updatetime": {
  9171. "description": "更新时间",
  9172. "type": "string"
  9173. }
  9174. }
  9175. },
  9176. "models.Messageboard": {
  9177. "type": "object",
  9178. "required": [
  9179. "messageboardid"
  9180. ],
  9181. "properties": {
  9182. "createtime": {
  9183. "description": "创建时间",
  9184. "type": "string"
  9185. },
  9186. "message": {
  9187. "description": "留言信息",
  9188. "type": "string"
  9189. },
  9190. "messageboardid": {
  9191. "description": "留言簿ID(SEQ_MessageBoard)",
  9192. "type": "integer"
  9193. },
  9194. "userid": {
  9195. "description": "用户ID",
  9196. "type": "integer"
  9197. }
  9198. }
  9199. },
  9200. "models.MyCoupon": {
  9201. "type": "object",
  9202. "required": [
  9203. "accountid",
  9204. "coupontypeid"
  9205. ],
  9206. "properties": {
  9207. "accountid": {
  9208. "description": "资金账户ID",
  9209. "type": "integer"
  9210. },
  9211. "areauserid": {
  9212. "description": "所属机构",
  9213. "type": "integer"
  9214. },
  9215. "conditionvalue": {
  9216. "description": "条件阈值(可为0)",
  9217. "type": "number"
  9218. },
  9219. "couponcategroy": {
  9220. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  9221. "type": "integer"
  9222. },
  9223. "couponname": {
  9224. "description": "优惠券名称",
  9225. "type": "string"
  9226. },
  9227. "coupontypeid": {
  9228. "description": "优惠券类型ID",
  9229. "type": "string"
  9230. },
  9231. "couponvalue": {
  9232. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  9233. "type": "number"
  9234. },
  9235. "curfreezeqty": {
  9236. "description": "期末冻结数量",
  9237. "type": "integer"
  9238. },
  9239. "curqty": {
  9240. "description": "期末数量",
  9241. "type": "integer"
  9242. },
  9243. "isgeneral": {
  9244. "description": "是否通用券 - 0:否 1:是",
  9245. "type": "integer"
  9246. },
  9247. "isunusable": {
  9248. "description": "是否不可用",
  9249. "type": "boolean"
  9250. },
  9251. "limitedflag": {
  9252. "description": "是否指定商品 - 0:不限 1:限制",
  9253. "type": "integer"
  9254. },
  9255. "limitedgoodsids": {
  9256. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  9257. "type": "string"
  9258. },
  9259. "orifreezeqty": {
  9260. "description": "期初冻结数量",
  9261. "type": "integer"
  9262. },
  9263. "oriqty": {
  9264. "description": "期初数量",
  9265. "type": "integer"
  9266. },
  9267. "reasontype": {
  9268. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  9269. "type": "integer"
  9270. },
  9271. "todaydecrease": {
  9272. "description": "今日减少",
  9273. "type": "integer"
  9274. },
  9275. "todayincrease": {
  9276. "description": "今日增加",
  9277. "type": "integer"
  9278. },
  9279. "userid": {
  9280. "description": "用户ID",
  9281. "type": "integer"
  9282. },
  9283. "userscope": {
  9284. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  9285. "type": "string"
  9286. }
  9287. }
  9288. },
  9289. "models.MyCouponHold": {
  9290. "type": "object",
  9291. "required": [
  9292. "couponholdid"
  9293. ],
  9294. "properties": {
  9295. "accountid": {
  9296. "description": "资金账户ID",
  9297. "type": "integer"
  9298. },
  9299. "conditionvalue": {
  9300. "description": "条件阈值(可为0)",
  9301. "type": "number"
  9302. },
  9303. "couponcategroy": {
  9304. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  9305. "type": "integer"
  9306. },
  9307. "couponholdid": {
  9308. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  9309. "type": "string"
  9310. },
  9311. "couponname": {
  9312. "description": "优惠券名称",
  9313. "type": "string"
  9314. },
  9315. "coupontypeid": {
  9316. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  9317. "type": "string"
  9318. },
  9319. "couponvalue": {
  9320. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  9321. "type": "number"
  9322. },
  9323. "createtime": {
  9324. "description": "创建时间",
  9325. "type": "string"
  9326. },
  9327. "enddate": {
  9328. "description": "结束日期",
  9329. "type": "string"
  9330. },
  9331. "giveapplyid": {
  9332. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  9333. "type": "integer"
  9334. },
  9335. "holdstatus": {
  9336. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  9337. "type": "integer"
  9338. },
  9339. "isgeneral": {
  9340. "description": "是否通用券 - 0:否 1:是",
  9341. "type": "integer"
  9342. },
  9343. "limitedflag": {
  9344. "description": "是否指定商品 - 0:不限 1:限制",
  9345. "type": "integer"
  9346. },
  9347. "limitedgoodsids": {
  9348. "description": "指定商品IDs[逗号分隔]",
  9349. "type": "string"
  9350. },
  9351. "qty": {
  9352. "description": "数量(按1平铺)",
  9353. "type": "integer"
  9354. },
  9355. "startdate": {
  9356. "description": "开始日期",
  9357. "type": "string"
  9358. },
  9359. "userid": {
  9360. "description": "用户ID",
  9361. "type": "integer"
  9362. },
  9363. "userscope": {
  9364. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  9365. "type": "string"
  9366. }
  9367. }
  9368. },
  9369. "models.MyUsedCoupon": {
  9370. "type": "object",
  9371. "required": [
  9372. "coupontypeid",
  9373. "orderid"
  9374. ],
  9375. "properties": {
  9376. "accountid": {
  9377. "description": "资金账户ID(买方)",
  9378. "type": "integer"
  9379. },
  9380. "conditionvalue": {
  9381. "description": "条件阈值(可为0)",
  9382. "type": "number"
  9383. },
  9384. "couponcategroy": {
  9385. "description": "种类 - 1:现金券 2:折扣券",
  9386. "type": "integer"
  9387. },
  9388. "couponname": {
  9389. "description": "优惠券名称",
  9390. "type": "string"
  9391. },
  9392. "coupontypeid": {
  9393. "description": "优惠券类型ID(买方)",
  9394. "type": "string"
  9395. },
  9396. "couponvalue": {
  9397. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  9398. "type": "number"
  9399. },
  9400. "createtime": {
  9401. "description": "创建时间",
  9402. "type": "string"
  9403. },
  9404. "goodsid": {
  9405. "description": "商品ID",
  9406. "type": "integer"
  9407. },
  9408. "handlestatus": {
  9409. "description": "处理状态",
  9410. "type": "integer"
  9411. },
  9412. "marketid": {
  9413. "description": "市场ID",
  9414. "type": "integer"
  9415. },
  9416. "offamount": {
  9417. "description": "优惠金额",
  9418. "type": "number"
  9419. },
  9420. "orderid": {
  9421. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9422. "type": "string"
  9423. },
  9424. "sellaccountid": {
  9425. "description": "资金账户ID(卖方)",
  9426. "type": "integer"
  9427. },
  9428. "tradeamount": {
  9429. "description": "成交金额",
  9430. "type": "number"
  9431. },
  9432. "tradeid": {
  9433. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9434. "type": "string"
  9435. },
  9436. "usedqty": {
  9437. "description": "使用数量",
  9438. "type": "integer"
  9439. }
  9440. }
  9441. },
  9442. "models.OperationPrimaryMenu": {
  9443. "type": "object",
  9444. "properties": {
  9445. "Children": {
  9446. "description": "二级功能菜单",
  9447. "type": "array",
  9448. "items": {
  9449. "$ref": "#/definitions/models.OperationSecondaryMenu"
  9450. }
  9451. },
  9452. "Key": {
  9453. "description": "菜单KEY",
  9454. "type": "string"
  9455. },
  9456. "Label": {
  9457. "description": "菜单标题",
  9458. "type": "string"
  9459. }
  9460. }
  9461. },
  9462. "models.OperationSecondaryMenu": {
  9463. "type": "object",
  9464. "properties": {
  9465. "Key": {
  9466. "description": "菜单KEY",
  9467. "type": "string"
  9468. },
  9469. "Label": {
  9470. "description": "菜单标题",
  9471. "type": "string"
  9472. },
  9473. "TabList": {
  9474. "description": "三级功能菜单",
  9475. "type": "array",
  9476. "items": {
  9477. "$ref": "#/definitions/models.OperationTabMenu"
  9478. }
  9479. }
  9480. }
  9481. },
  9482. "models.OperationTabMenu": {
  9483. "type": "object",
  9484. "properties": {
  9485. "Key": {
  9486. "description": "菜单KEY",
  9487. "type": "string"
  9488. },
  9489. "Label": {
  9490. "description": "菜单标题",
  9491. "type": "string"
  9492. }
  9493. }
  9494. },
  9495. "models.PendingAuditBizModel": {
  9496. "type": "object",
  9497. "properties": {
  9498. "accountid": {
  9499. "description": "现货账户",
  9500. "type": "string"
  9501. },
  9502. "areaname": {
  9503. "description": "所属部门",
  9504. "type": "string"
  9505. },
  9506. "bizid": {
  9507. "description": "业务ID",
  9508. "type": "string"
  9509. },
  9510. "bizname": {
  9511. "description": "业务名称",
  9512. "type": "string"
  9513. },
  9514. "status": {
  9515. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9516. "type": "integer"
  9517. },
  9518. "type": {
  9519. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  9520. "type": "integer"
  9521. }
  9522. }
  9523. },
  9524. "models.QuotePrimaryMenu": {
  9525. "type": "object",
  9526. "properties": {
  9527. "Index": {
  9528. "description": "序号",
  9529. "type": "integer"
  9530. },
  9531. "Key": {
  9532. "description": "键名",
  9533. "type": "string"
  9534. },
  9535. "Name": {
  9536. "description": "菜单名称",
  9537. "type": "string"
  9538. },
  9539. "SubMenus": {
  9540. "description": "子菜单",
  9541. "type": "array",
  9542. "items": {
  9543. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  9544. }
  9545. },
  9546. "SubTitleType": {
  9547. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  9548. "type": "integer"
  9549. },
  9550. "TradeModes": {
  9551. "description": "包含市场交易类型",
  9552. "type": "string"
  9553. }
  9554. }
  9555. },
  9556. "models.QuoteSecondaryMenu": {
  9557. "type": "object",
  9558. "properties": {
  9559. "ExExchangeCode": {
  9560. "description": "外部交易所代码",
  9561. "type": "string"
  9562. },
  9563. "ExExchangeID": {
  9564. "description": "外部交易所ID",
  9565. "type": "integer"
  9566. },
  9567. "GoodsGroupIDs": {
  9568. "description": "商品组ID列表",
  9569. "type": "array",
  9570. "items": {
  9571. "type": "integer"
  9572. }
  9573. },
  9574. "Index": {
  9575. "description": "序号",
  9576. "type": "integer"
  9577. },
  9578. "MarketID": {
  9579. "description": "市场ID",
  9580. "type": "integer"
  9581. },
  9582. "MenuTitle": {
  9583. "description": "菜单标题(市场名称或外部交易所名称)",
  9584. "type": "string"
  9585. },
  9586. "TradeMode": {
  9587. "description": "交易模式",
  9588. "type": "integer"
  9589. }
  9590. }
  9591. },
  9592. "models.SearchGoods": {
  9593. "type": "object",
  9594. "required": [
  9595. "goodscode",
  9596. "goodsid",
  9597. "goodsname",
  9598. "marketid",
  9599. "trademode"
  9600. ],
  9601. "properties": {
  9602. "goodscode": {
  9603. "description": "商品代码(内部)",
  9604. "type": "string"
  9605. },
  9606. "goodsid": {
  9607. "description": "商品ID(自增ID SEQ_GOODS)",
  9608. "type": "integer"
  9609. },
  9610. "goodsname": {
  9611. "description": "商品名称",
  9612. "type": "string"
  9613. },
  9614. "marketid": {
  9615. "description": "所属市场ID",
  9616. "type": "integer"
  9617. },
  9618. "marketname": {
  9619. "description": "市场名称",
  9620. "type": "string"
  9621. },
  9622. "trademode": {
  9623. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9624. "type": "integer"
  9625. }
  9626. }
  9627. },
  9628. "models.Szdz2imageconfig": {
  9629. "type": "object",
  9630. "required": [
  9631. "configid"
  9632. ],
  9633. "properties": {
  9634. "configid": {
  9635. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  9636. "type": "integer"
  9637. },
  9638. "imagepath": {
  9639. "description": "图片",
  9640. "type": "string"
  9641. },
  9642. "imagetype": {
  9643. "description": "类型 - 1:App首页轮播 2:我的",
  9644. "type": "integer"
  9645. },
  9646. "sort": {
  9647. "description": "排序",
  9648. "type": "integer"
  9649. },
  9650. "title": {
  9651. "description": "标题",
  9652. "type": "string"
  9653. },
  9654. "url": {
  9655. "description": "链接",
  9656. "type": "string"
  9657. }
  9658. }
  9659. },
  9660. "models.Szdz3convertconfig": {
  9661. "type": "object",
  9662. "required": [
  9663. "converttype",
  9664. "innergoodsid",
  9665. "outergoodscode"
  9666. ],
  9667. "properties": {
  9668. "canin": {
  9669. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  9670. "type": "integer"
  9671. },
  9672. "canout": {
  9673. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  9674. "type": "integer"
  9675. },
  9676. "converttype": {
  9677. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  9678. "type": "integer"
  9679. },
  9680. "createtime": {
  9681. "description": "创建时间",
  9682. "type": "string"
  9683. },
  9684. "creatorid": {
  9685. "description": "创建人",
  9686. "type": "integer"
  9687. },
  9688. "daymaxvalue": {
  9689. "description": "当日最大转入限制",
  9690. "type": "number"
  9691. },
  9692. "freezedays": {
  9693. "description": "冻结天数 [5:花生米转交易]",
  9694. "type": "integer"
  9695. },
  9696. "innergoodsid": {
  9697. "description": "内部商品ID[交易]",
  9698. "type": "integer"
  9699. },
  9700. "inratio": {
  9701. "description": "目标值",
  9702. "type": "integer"
  9703. },
  9704. "modifierid": {
  9705. "description": "修改人",
  9706. "type": "integer"
  9707. },
  9708. "modifytime": {
  9709. "description": "修改时间",
  9710. "type": "string"
  9711. },
  9712. "outergoodscode": {
  9713. "description": "外部商品代码[JD\\PD]",
  9714. "type": "string"
  9715. },
  9716. "outratio": {
  9717. "description": "源值",
  9718. "type": "integer"
  9719. },
  9720. "pddecimalplace": {
  9721. "description": "PD小数位",
  9722. "type": "integer"
  9723. },
  9724. "timemaxvalue": {
  9725. "description": "单次最大转入限制",
  9726. "type": "number"
  9727. },
  9728. "timeminvalue": {
  9729. "description": "单次最小转入限制",
  9730. "type": "number"
  9731. }
  9732. }
  9733. },
  9734. "models.Szdz3searchwhitelist": {
  9735. "type": "object",
  9736. "required": [
  9737. "userid"
  9738. ],
  9739. "properties": {
  9740. "createtime": {
  9741. "description": "创建时间",
  9742. "type": "string"
  9743. },
  9744. "creatorid": {
  9745. "description": "创建人",
  9746. "type": "integer"
  9747. },
  9748. "modifierid": {
  9749. "description": "修改人",
  9750. "type": "integer"
  9751. },
  9752. "modifytime": {
  9753. "description": "修改时间",
  9754. "type": "string"
  9755. },
  9756. "userid": {
  9757. "description": "用户ID",
  9758. "type": "integer"
  9759. }
  9760. }
  9761. },
  9762. "models.Tablecolumnconfig": {
  9763. "type": "object",
  9764. "required": [
  9765. "autoid"
  9766. ],
  9767. "properties": {
  9768. "aligntype": {
  9769. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  9770. "type": "integer"
  9771. },
  9772. "autoid": {
  9773. "description": "AutoID",
  9774. "type": "integer"
  9775. },
  9776. "columnfield": {
  9777. "description": "列字段",
  9778. "type": "string"
  9779. },
  9780. "columntitle": {
  9781. "description": "列Title",
  9782. "type": "string"
  9783. },
  9784. "columnwidth": {
  9785. "description": "列宽",
  9786. "type": "string"
  9787. },
  9788. "formatterstring": {
  9789. "description": "格式化字符",
  9790. "type": "string"
  9791. },
  9792. "formattertype": {
  9793. "description": "格式化类型",
  9794. "type": "string"
  9795. },
  9796. "groupname": {
  9797. "description": "表头分组名称",
  9798. "type": "string"
  9799. },
  9800. "isshow": {
  9801. "description": "是否显示 - 0:不显示 1:显示",
  9802. "type": "integer"
  9803. },
  9804. "needsummary": {
  9805. "description": "是否需要汇总 - 0:不需要 1:需要",
  9806. "type": "integer"
  9807. },
  9808. "orderindex": {
  9809. "description": "顺序",
  9810. "type": "integer"
  9811. },
  9812. "remark": {
  9813. "description": "备注",
  9814. "type": "string"
  9815. },
  9816. "summarytype": {
  9817. "description": "汇总类型 - 1:加总 2:最后一个",
  9818. "type": "integer"
  9819. },
  9820. "tablekey": {
  9821. "description": "列表Key",
  9822. "type": "string"
  9823. }
  9824. }
  9825. },
  9826. "models.Useraccount": {
  9827. "type": "object",
  9828. "required": [
  9829. "userid"
  9830. ],
  9831. "properties": {
  9832. "accountname": {
  9833. "description": "账户名称(机构名称)",
  9834. "type": "string"
  9835. },
  9836. "accountstatus": {
  9837. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  9838. "type": "integer"
  9839. },
  9840. "auditremark": {
  9841. "description": "审核备注",
  9842. "type": "string"
  9843. },
  9844. "audittime": {
  9845. "description": "审核时间",
  9846. "type": "string"
  9847. },
  9848. "audituserid": {
  9849. "description": "审核人",
  9850. "type": "integer"
  9851. },
  9852. "broker": {
  9853. "description": "所属经纪人ID",
  9854. "type": "integer"
  9855. },
  9856. "canceltime": {
  9857. "description": "销户时间",
  9858. "type": "string"
  9859. },
  9860. "canceluserid": {
  9861. "description": "销户人",
  9862. "type": "integer"
  9863. },
  9864. "createtime": {
  9865. "description": "创建时间",
  9866. "type": "string"
  9867. },
  9868. "creatorid": {
  9869. "description": "创建人",
  9870. "type": "integer"
  9871. },
  9872. "hasauth": {
  9873. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  9874. "type": "integer"
  9875. },
  9876. "isanonymous": {
  9877. "description": "是否匿名下单 - 0:否 1:是",
  9878. "type": "integer"
  9879. },
  9880. "maxinvestornum": {
  9881. "description": "最大用户数(经纪会员下投资者个数)",
  9882. "type": "integer"
  9883. },
  9884. "memberuserid": {
  9885. "description": "所属会员ID",
  9886. "type": "integer"
  9887. },
  9888. "modifierid": {
  9889. "description": "修改人",
  9890. "type": "integer"
  9891. },
  9892. "modifyremark": {
  9893. "description": "变更备注",
  9894. "type": "string"
  9895. },
  9896. "modifystatus": {
  9897. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  9898. "type": "integer"
  9899. },
  9900. "modifytime": {
  9901. "description": "修改时间",
  9902. "type": "string"
  9903. },
  9904. "parentuserid": {
  9905. "description": "所属机构ID",
  9906. "type": "integer"
  9907. },
  9908. "reckonaccountid": {
  9909. "description": "默认结算资金账号ID(机构分润使用) 作废",
  9910. "type": "integer"
  9911. },
  9912. "refercount": {
  9913. "description": "推荐总人数",
  9914. "type": "integer"
  9915. },
  9916. "refereeuserid": {
  9917. "description": "推荐人ID",
  9918. "type": "integer"
  9919. },
  9920. "refernum": {
  9921. "description": "推荐码",
  9922. "type": "string"
  9923. },
  9924. "subarealevelpath": {
  9925. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  9926. "type": "string"
  9927. },
  9928. "userid": {
  9929. "description": "用户ID",
  9930. "type": "integer"
  9931. },
  9932. "usertype": {
  9933. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  9934. "type": "integer"
  9935. }
  9936. }
  9937. },
  9938. "models.Userfavoritegoods": {
  9939. "type": "object",
  9940. "required": [
  9941. "goodsid"
  9942. ],
  9943. "properties": {
  9944. "goodsid": {
  9945. "description": "商品ID",
  9946. "type": "integer"
  9947. }
  9948. }
  9949. },
  9950. "models.Userinfo": {
  9951. "type": "object",
  9952. "required": [
  9953. "userid"
  9954. ],
  9955. "properties": {
  9956. "address": {
  9957. "description": "地址",
  9958. "type": "string"
  9959. },
  9960. "attachment1": {
  9961. "description": "附件1",
  9962. "type": "string"
  9963. },
  9964. "attachment2": {
  9965. "description": "附件2",
  9966. "type": "string"
  9967. },
  9968. "bankaccount": {
  9969. "description": "银行帐号 (加密存储)",
  9970. "type": "string"
  9971. },
  9972. "bankaccountname": {
  9973. "description": "收款人名称",
  9974. "type": "string"
  9975. },
  9976. "bankcardfrontphotourl": {
  9977. "description": "银行卡正面照地址",
  9978. "type": "string"
  9979. },
  9980. "bankid": {
  9981. "description": "银行编码",
  9982. "type": "string"
  9983. },
  9984. "bankname": {
  9985. "description": "银行名称",
  9986. "type": "string"
  9987. },
  9988. "biznature": {
  9989. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9990. "type": "integer"
  9991. },
  9992. "bizscope": {
  9993. "description": "企业经营范围(企业)",
  9994. "type": "string"
  9995. },
  9996. "cardbackphotourl": {
  9997. "description": "证件背面图片地址",
  9998. "type": "string"
  9999. },
  10000. "cardfrontphotourl": {
  10001. "description": "证件正面图片地址",
  10002. "type": "string"
  10003. },
  10004. "cardnum": {
  10005. "description": "证件号码(加密存储)",
  10006. "type": "string"
  10007. },
  10008. "cardtypeid": {
  10009. "description": "证件类型ID",
  10010. "type": "integer"
  10011. },
  10012. "cityid": {
  10013. "description": "市",
  10014. "type": "integer"
  10015. },
  10016. "company": {
  10017. "description": "公司(个人)",
  10018. "type": "string"
  10019. },
  10020. "contactname": {
  10021. "description": "联系人",
  10022. "type": "string"
  10023. },
  10024. "countryid": {
  10025. "description": "国家",
  10026. "type": "integer"
  10027. },
  10028. "createtime": {
  10029. "description": "创建时间",
  10030. "type": "string"
  10031. },
  10032. "creatorid": {
  10033. "description": "创建人",
  10034. "type": "integer"
  10035. },
  10036. "customername": {
  10037. "description": "客户名称(企业名称)",
  10038. "type": "string"
  10039. },
  10040. "districtid": {
  10041. "description": "地区",
  10042. "type": "integer"
  10043. },
  10044. "email": {
  10045. "description": "邮件(加密存储)",
  10046. "type": "string"
  10047. },
  10048. "fax": {
  10049. "description": "传真(加密存储)",
  10050. "type": "string"
  10051. },
  10052. "halfbodyphotourl": {
  10053. "description": "半身照地址",
  10054. "type": "string"
  10055. },
  10056. "hasencrypt": {
  10057. "description": "数据是否已加密 - 0:未加密 1:已加密",
  10058. "type": "integer"
  10059. },
  10060. "headurl": {
  10061. "description": "头像地址",
  10062. "type": "string"
  10063. },
  10064. "legalcardbackphotourl": {
  10065. "description": "法人身份证背面照地址",
  10066. "type": "string"
  10067. },
  10068. "legalcardfrontphotourl": {
  10069. "description": "法人身份证正面照地址",
  10070. "type": "string"
  10071. },
  10072. "legalpersonname": {
  10073. "description": "法人姓名(企业)",
  10074. "type": "string"
  10075. },
  10076. "mobile": {
  10077. "description": "手机号码(加密存储)",
  10078. "type": "string"
  10079. },
  10080. "mobile2": {
  10081. "description": "手机号码[明文-尚志]",
  10082. "type": "string"
  10083. },
  10084. "modifierid": {
  10085. "description": "修改人",
  10086. "type": "integer"
  10087. },
  10088. "modifiertime": {
  10089. "description": "修改时间",
  10090. "type": "string"
  10091. },
  10092. "needinvoice": {
  10093. "description": "是否需要发票 - 0:不需要 1:需要",
  10094. "type": "integer"
  10095. },
  10096. "nickname": {
  10097. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  10098. "type": "string"
  10099. },
  10100. "openmode": {
  10101. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  10102. "type": "integer"
  10103. },
  10104. "otherurl": {
  10105. "description": "其它图片地址[使用分号分隔]",
  10106. "type": "string"
  10107. },
  10108. "postalcode": {
  10109. "description": "邮政编码",
  10110. "type": "string"
  10111. },
  10112. "provinceid": {
  10113. "description": "省",
  10114. "type": "integer"
  10115. },
  10116. "qq": {
  10117. "description": "QQ(加密存储",
  10118. "type": "string"
  10119. },
  10120. "remark": {
  10121. "description": "备注",
  10122. "type": "string"
  10123. },
  10124. "sex": {
  10125. "description": "用户性别 0: 女 1: 男",
  10126. "type": "integer"
  10127. },
  10128. "signpdfurl": {
  10129. "description": "签约pdf文件",
  10130. "type": "string"
  10131. },
  10132. "telphone": {
  10133. "description": "联系电话(加密存储)",
  10134. "type": "string"
  10135. },
  10136. "userid": {
  10137. "description": "用户ID",
  10138. "type": "integer"
  10139. },
  10140. "userinfotype": {
  10141. "description": "用户信息类型 - 1:个人 2:企业",
  10142. "type": "integer"
  10143. },
  10144. "userstatus": {
  10145. "description": "用户状态 - 1:正常 2:注销",
  10146. "type": "integer"
  10147. },
  10148. "usertype": {
  10149. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  10150. "type": "integer"
  10151. },
  10152. "wechat": {
  10153. "description": "微信(加密存储)",
  10154. "type": "string"
  10155. },
  10156. "wskhinfo": {
  10157. "description": "开户申请信息(JSON)",
  10158. "type": "string"
  10159. }
  10160. }
  10161. },
  10162. "models.WRCategoryTree": {
  10163. "type": "object",
  10164. "required": [
  10165. "categoryid"
  10166. ],
  10167. "properties": {
  10168. "areauserid": {
  10169. "description": "所属机构",
  10170. "type": "integer"
  10171. },
  10172. "categorydesc": {
  10173. "description": "类别描述",
  10174. "type": "string"
  10175. },
  10176. "categoryid": {
  10177. "description": "类别ID(SEQ_WRCATEGORY)",
  10178. "type": "integer"
  10179. },
  10180. "categoryname": {
  10181. "description": "类别名称",
  10182. "type": "string"
  10183. },
  10184. "iconurl": {
  10185. "description": "图标地址",
  10186. "type": "string"
  10187. },
  10188. "orderindex": {
  10189. "description": "顺序",
  10190. "type": "integer"
  10191. },
  10192. "parentcategoryid": {
  10193. "description": "父类别ID",
  10194. "type": "integer"
  10195. },
  10196. "subcategory": {
  10197. "description": "子分类",
  10198. "type": "array",
  10199. "items": {
  10200. "$ref": "#/definitions/models.WRCategoryTree"
  10201. }
  10202. }
  10203. }
  10204. },
  10205. "models.WRStandardInfo": {
  10206. "type": "object",
  10207. "required": [
  10208. "wrstandardid"
  10209. ],
  10210. "properties": {
  10211. "createtime": {
  10212. "description": "创建时间",
  10213. "type": "string"
  10214. },
  10215. "creatorid": {
  10216. "description": "创建人",
  10217. "type": "integer"
  10218. },
  10219. "deliverygoodsid": {
  10220. "description": "品种ID",
  10221. "type": "integer"
  10222. },
  10223. "deliverygoodsname": {
  10224. "description": "交割商品名称",
  10225. "type": "string"
  10226. },
  10227. "factoryitemjson": {
  10228. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  10229. "type": "string"
  10230. },
  10231. "isvalid": {
  10232. "description": "是否有效 - 0:无效 1:有效",
  10233. "type": "integer"
  10234. },
  10235. "minivalue": {
  10236. "description": "最小变动值",
  10237. "type": "integer"
  10238. },
  10239. "minivaluedp": {
  10240. "description": "最小变动值小数位",
  10241. "type": "integer"
  10242. },
  10243. "realminivalue": {
  10244. "description": "实际最小变动值",
  10245. "type": "integer"
  10246. },
  10247. "realminivaluedp": {
  10248. "description": "实际最小变动值小数位",
  10249. "type": "integer"
  10250. },
  10251. "unitid": {
  10252. "description": "单位ID",
  10253. "type": "integer"
  10254. },
  10255. "unitname": {
  10256. "description": "单位",
  10257. "type": "string"
  10258. },
  10259. "updatetime": {
  10260. "description": "更新时间",
  10261. "type": "string"
  10262. },
  10263. "updatorid": {
  10264. "description": "更新人",
  10265. "type": "integer"
  10266. },
  10267. "wrsstatus": {
  10268. "description": "状态 - 作废 - 0:未激活 1:正常",
  10269. "type": "integer"
  10270. },
  10271. "wrstandardcode": {
  10272. "description": "仓单标准代码",
  10273. "type": "string"
  10274. },
  10275. "wrstandardid": {
  10276. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10277. "type": "integer"
  10278. },
  10279. "wrstandardname": {
  10280. "description": "仓单标准名称",
  10281. "type": "string"
  10282. }
  10283. }
  10284. },
  10285. "models.Warehouseinfo": {
  10286. "type": "object",
  10287. "required": [
  10288. "autoid",
  10289. "warehousecode"
  10290. ],
  10291. "properties": {
  10292. "address": {
  10293. "description": "详细地址",
  10294. "type": "string"
  10295. },
  10296. "areauserid": {
  10297. "description": "所属机构",
  10298. "type": "integer"
  10299. },
  10300. "autoid": {
  10301. "description": "自增ID",
  10302. "type": "integer"
  10303. },
  10304. "cityid": {
  10305. "description": "市",
  10306. "type": "integer"
  10307. },
  10308. "contactname": {
  10309. "description": "联系人",
  10310. "type": "string"
  10311. },
  10312. "contactnum": {
  10313. "description": "联系电话",
  10314. "type": "string"
  10315. },
  10316. "countryid": {
  10317. "description": "国家",
  10318. "type": "integer"
  10319. },
  10320. "createtime": {
  10321. "description": "创建时间",
  10322. "type": "string"
  10323. },
  10324. "districtid": {
  10325. "description": "区",
  10326. "type": "integer"
  10327. },
  10328. "hasvideo": {
  10329. "description": "是否有视频 - 0:无 1:有",
  10330. "type": "integer"
  10331. },
  10332. "provinceid": {
  10333. "description": "省",
  10334. "type": "integer"
  10335. },
  10336. "remark": {
  10337. "description": "审核备注",
  10338. "type": "string"
  10339. },
  10340. "videourl": {
  10341. "description": "视频地址",
  10342. "type": "string"
  10343. },
  10344. "warehousecode": {
  10345. "description": "仓库代码",
  10346. "type": "string"
  10347. },
  10348. "warehousename": {
  10349. "description": "仓库名称",
  10350. "type": "string"
  10351. },
  10352. "warehousestatus": {
  10353. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  10354. "type": "integer"
  10355. },
  10356. "warehousetype": {
  10357. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  10358. "type": "integer"
  10359. }
  10360. }
  10361. },
  10362. "order.QueryHisTradeDetailRsp": {
  10363. "type": "object",
  10364. "required": [
  10365. "accountid",
  10366. "buyorsell",
  10367. "goodsid",
  10368. "histradedate",
  10369. "marketid",
  10370. "memberuserid",
  10371. "orderid",
  10372. "tradeamount",
  10373. "tradedate",
  10374. "tradeid",
  10375. "tradeprice",
  10376. "tradeqty",
  10377. "tradetime"
  10378. ],
  10379. "properties": {
  10380. "accountid": {
  10381. "description": "账户ID[报价币种]",
  10382. "type": "integer"
  10383. },
  10384. "buildtype": {
  10385. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  10386. "type": "integer"
  10387. },
  10388. "buyorsell": {
  10389. "description": "方向 - 0:买 1:卖",
  10390. "type": "integer"
  10391. },
  10392. "charge": {
  10393. "description": "手续费",
  10394. "type": "number"
  10395. },
  10396. "closecharge": {
  10397. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  10398. "type": "number"
  10399. },
  10400. "closeexchagechargevalue": {
  10401. "description": "平仓交易所手续费设置值",
  10402. "type": "number"
  10403. },
  10404. "closefeealgorithm": {
  10405. "description": "平仓手续费收取方式 1:比率 2:固定",
  10406. "type": "integer"
  10407. },
  10408. "closememberchargevalue": {
  10409. "description": "平仓会员手续费设置值",
  10410. "type": "number"
  10411. },
  10412. "closepl": {
  10413. "description": "平仓盈亏",
  10414. "type": "number"
  10415. },
  10416. "closepl2": {
  10417. "description": "平仓盈亏[逐笔]",
  10418. "type": "number"
  10419. },
  10420. "closeqty": {
  10421. "description": "平仓数量(先建后平操作 需要记录)",
  10422. "type": "integer"
  10423. },
  10424. "creditamount": {
  10425. "description": "授信金额",
  10426. "type": "number"
  10427. },
  10428. "gcaccountid": {
  10429. "description": "账户ID[合约币种]",
  10430. "type": "integer"
  10431. },
  10432. "goodscode": {
  10433. "description": "商品代码",
  10434. "type": "string"
  10435. },
  10436. "goodsid": {
  10437. "description": "商品ID",
  10438. "type": "integer"
  10439. },
  10440. "goodsname": {
  10441. "description": "商品名称",
  10442. "type": "string"
  10443. },
  10444. "histradedate": {
  10445. "description": "历史交易日",
  10446. "type": "string"
  10447. },
  10448. "intclosepl": {
  10449. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  10450. "type": "integer"
  10451. },
  10452. "isconfirmexercise": {
  10453. "description": "是否确认行权- 0:否 1:是",
  10454. "type": "integer"
  10455. },
  10456. "ismain": {
  10457. "description": "是否主单 - 0:不是 1:是",
  10458. "type": "integer"
  10459. },
  10460. "ispreexercise": {
  10461. "description": "是否预申报- 0:否 1:是",
  10462. "type": "integer"
  10463. },
  10464. "isreckoned": {
  10465. "description": "是否结算 - 0:未结算 1:已结算",
  10466. "type": "integer"
  10467. },
  10468. "isvaliddata": {
  10469. "description": "是否有效 - 0:无效 1:有效",
  10470. "type": "integer"
  10471. },
  10472. "listingselecttype": {
  10473. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10474. "type": "integer"
  10475. },
  10476. "marketid": {
  10477. "description": "市场ID",
  10478. "type": "integer"
  10479. },
  10480. "marketname": {
  10481. "description": "市场名称",
  10482. "type": "string"
  10483. },
  10484. "matchaccountid": {
  10485. "description": "对手账号id",
  10486. "type": "integer"
  10487. },
  10488. "memberuserid": {
  10489. "description": "会员id 个人投资者 需要填写",
  10490. "type": "integer"
  10491. },
  10492. "opencharge": {
  10493. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  10494. "type": "number"
  10495. },
  10496. "openexchagechargevalue": {
  10497. "description": "建仓交易所手续费设置值",
  10498. "type": "number"
  10499. },
  10500. "openfeealgorithm": {
  10501. "description": "建仓手续费收取方式 1:比率 2:固定",
  10502. "type": "integer"
  10503. },
  10504. "openmemberchargevalue": {
  10505. "description": "建仓会员手续费设置值",
  10506. "type": "number"
  10507. },
  10508. "openqty": {
  10509. "description": "开仓数量(先建后平操作 需要记录)",
  10510. "type": "integer"
  10511. },
  10512. "optiontype": {
  10513. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10514. "type": "integer"
  10515. },
  10516. "orderid": {
  10517. "description": "委托单号",
  10518. "type": "string"
  10519. },
  10520. "performanceplanid": {
  10521. "description": "履约计划ID[期权]",
  10522. "type": "integer"
  10523. },
  10524. "performancestatus": {
  10525. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  10526. "type": "integer"
  10527. },
  10528. "preexerciseprice": {
  10529. "description": "预申报价格",
  10530. "type": "number"
  10531. },
  10532. "premium": {
  10533. "description": "权利金 - [持仓单的权利金]",
  10534. "type": "number"
  10535. },
  10536. "relatedouttradeid": {
  10537. "description": "关联外部成交单ID",
  10538. "type": "integer"
  10539. },
  10540. "status": {
  10541. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  10542. "type": "integer"
  10543. },
  10544. "tradeamount": {
  10545. "description": "成交金额[账户币种,用于所有权]",
  10546. "type": "number"
  10547. },
  10548. "tradedate": {
  10549. "description": "交易日(yyyyMMdd)",
  10550. "type": "string"
  10551. },
  10552. "tradeid": {
  10553. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10554. "type": "string"
  10555. },
  10556. "trademode": {
  10557. "description": "交易模式",
  10558. "type": "integer"
  10559. },
  10560. "tradeprice": {
  10561. "description": "成交价格",
  10562. "type": "number"
  10563. },
  10564. "tradeproperty": {
  10565. "description": "交易属性",
  10566. "type": "integer"
  10567. },
  10568. "tradeqty": {
  10569. "description": "成交数量",
  10570. "type": "integer"
  10571. },
  10572. "tradetime": {
  10573. "description": "成交时间",
  10574. "type": "string"
  10575. },
  10576. "tradetype": {
  10577. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  10578. "type": "integer"
  10579. }
  10580. }
  10581. },
  10582. "order.QueryHisTradeOrderDetailRsp": {
  10583. "type": "object",
  10584. "required": [
  10585. "accountid",
  10586. "buildtype",
  10587. "buyorsell",
  10588. "goodsid",
  10589. "histradedate",
  10590. "marketid",
  10591. "memberuserid",
  10592. "operatetype",
  10593. "orderid",
  10594. "orderqty",
  10595. "ordertime",
  10596. "pricemode",
  10597. "tradedate",
  10598. "validtype"
  10599. ],
  10600. "properties": {
  10601. "accountid": {
  10602. "description": "账户ID[报价币种]",
  10603. "type": "integer"
  10604. },
  10605. "buildtype": {
  10606. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  10607. "type": "integer"
  10608. },
  10609. "buyorsell": {
  10610. "description": "买卖 - 0:买 1:卖",
  10611. "type": "integer"
  10612. },
  10613. "cancelorderid": {
  10614. "description": "撤单单号(撤单时填写)",
  10615. "type": "string"
  10616. },
  10617. "cancelqty": {
  10618. "description": "撤单数量",
  10619. "type": "integer"
  10620. },
  10621. "clientordertime": {
  10622. "description": "客户端委托时间",
  10623. "type": "string"
  10624. },
  10625. "clientticket": {
  10626. "description": "客户端流水号",
  10627. "type": "string"
  10628. },
  10629. "clienttype": {
  10630. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  10631. "type": "integer"
  10632. },
  10633. "closeexchagechargevalue": {
  10634. "description": "平仓交易所手续费设置值",
  10635. "type": "number"
  10636. },
  10637. "closefeealgorithm": {
  10638. "description": "平仓手续费收取方式 1:比率 2:固定",
  10639. "type": "integer"
  10640. },
  10641. "closefreezecharge": {
  10642. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  10643. "type": "number"
  10644. },
  10645. "closememberchargevalue": {
  10646. "description": "平仓会员手续费设置值",
  10647. "type": "number"
  10648. },
  10649. "closeqty": {
  10650. "description": "平仓数量(先建后平操作 需要记录)",
  10651. "type": "integer"
  10652. },
  10653. "closetradeqty": {
  10654. "description": "平仓成交数量(先建后平操作,需要记录)",
  10655. "type": "integer"
  10656. },
  10657. "closeunfreezecharge": {
  10658. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  10659. "type": "number"
  10660. },
  10661. "delistingtype": {
  10662. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  10663. "type": "integer"
  10664. },
  10665. "freezecharge": {
  10666. "description": "冻结手续费",
  10667. "type": "number"
  10668. },
  10669. "freezemargin": {
  10670. "description": "冻结保证金(冻结交易金额)",
  10671. "type": "number"
  10672. },
  10673. "gcaccountid": {
  10674. "description": "账户ID[合约币种]",
  10675. "type": "integer"
  10676. },
  10677. "goodscode": {
  10678. "description": "商品代码",
  10679. "type": "string"
  10680. },
  10681. "goodsid": {
  10682. "description": "商品ID",
  10683. "type": "integer"
  10684. },
  10685. "goodsname": {
  10686. "description": "商品名称",
  10687. "type": "string"
  10688. },
  10689. "histradedate": {
  10690. "description": "历史交易日",
  10691. "type": "string"
  10692. },
  10693. "isconfirmexercise": {
  10694. "description": "是否确认行权- 0:否 1:是",
  10695. "type": "integer"
  10696. },
  10697. "ispreexercise": {
  10698. "description": "是否预申报- 0:否 1:是",
  10699. "type": "integer"
  10700. },
  10701. "isvaliddata": {
  10702. "description": "是否有效 - 0:无效 1:有效",
  10703. "type": "integer"
  10704. },
  10705. "listingselecttype": {
  10706. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10707. "type": "integer"
  10708. },
  10709. "marginalgorithm": {
  10710. "description": "保证金收取方式 1:比率 2:固定",
  10711. "type": "integer"
  10712. },
  10713. "marginvalue": {
  10714. "description": "即市保证金设置值",
  10715. "type": "number"
  10716. },
  10717. "marketid": {
  10718. "description": "市场ID",
  10719. "type": "integer"
  10720. },
  10721. "marketmaxsub": {
  10722. "description": "市价最大偏移范围",
  10723. "type": "number"
  10724. },
  10725. "marketname": {
  10726. "description": "市场名称",
  10727. "type": "string"
  10728. },
  10729. "memberuserid": {
  10730. "description": "所属会员UserID",
  10731. "type": "integer"
  10732. },
  10733. "openexchagechargevalue": {
  10734. "description": "建仓交易所手续费设置值",
  10735. "type": "number"
  10736. },
  10737. "openfeealgorithm": {
  10738. "description": "建仓手续费收取方式 1:比率 2:固定",
  10739. "type": "integer"
  10740. },
  10741. "openfreezecharge": {
  10742. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  10743. "type": "number"
  10744. },
  10745. "openmemberchargevalue": {
  10746. "description": "建仓会员手续费设置值",
  10747. "type": "number"
  10748. },
  10749. "openqty": {
  10750. "description": "开仓数量(先建后平操作,需要记录)",
  10751. "type": "integer"
  10752. },
  10753. "opentradeqty": {
  10754. "description": "开仓成交数量(先建后平操作,需要记录)",
  10755. "type": "integer"
  10756. },
  10757. "openunfreezecharge": {
  10758. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  10759. "type": "number"
  10760. },
  10761. "operatetype": {
  10762. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  10763. "type": "integer"
  10764. },
  10765. "operatorid": {
  10766. "description": "登录账号(LoginID)",
  10767. "type": "integer"
  10768. },
  10769. "optiontype": {
  10770. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10771. "type": "integer"
  10772. },
  10773. "orderid": {
  10774. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10775. "type": "string"
  10776. },
  10777. "orderprice": {
  10778. "description": "委托价格",
  10779. "type": "number"
  10780. },
  10781. "orderqty": {
  10782. "description": "委托数量",
  10783. "type": "integer"
  10784. },
  10785. "ordersrc": {
  10786. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  10787. "type": "integer"
  10788. },
  10789. "orderstatus": {
  10790. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10791. "type": "integer"
  10792. },
  10793. "ordertime": {
  10794. "description": "委托时间",
  10795. "type": "string"
  10796. },
  10797. "preexerciseprice": {
  10798. "description": "预申报价格",
  10799. "type": "number"
  10800. },
  10801. "premium": {
  10802. "description": "权利金",
  10803. "type": "number"
  10804. },
  10805. "preorderid": {
  10806. "description": "关联预埋单号(止盈止损单时填写)",
  10807. "type": "string"
  10808. },
  10809. "pricemode": {
  10810. "description": "取价方式 - 1:市价 2: 限价",
  10811. "type": "integer"
  10812. },
  10813. "quoteid": {
  10814. "description": "报价单ID",
  10815. "type": "integer"
  10816. },
  10817. "relatedid": {
  10818. "description": "关联单号(交割单)",
  10819. "type": "string"
  10820. },
  10821. "retcode": {
  10822. "description": "错误代码",
  10823. "type": "integer"
  10824. },
  10825. "sessionid": {
  10826. "description": "会话ID",
  10827. "type": "integer"
  10828. },
  10829. "tradedate": {
  10830. "description": "交易日(yyyyMMdd)",
  10831. "type": "string"
  10832. },
  10833. "trademode": {
  10834. "description": "交易模式",
  10835. "type": "integer"
  10836. },
  10837. "tradeproperty": {
  10838. "description": "交易属性",
  10839. "type": "integer"
  10840. },
  10841. "tradeqty": {
  10842. "description": "成交数量",
  10843. "type": "integer"
  10844. },
  10845. "unfreezecharge": {
  10846. "description": "解冻手续费",
  10847. "type": "number"
  10848. },
  10849. "unfreezemargin": {
  10850. "description": "解冻保证金",
  10851. "type": "number"
  10852. },
  10853. "updatetime": {
  10854. "description": "更新时间",
  10855. "type": "string"
  10856. },
  10857. "uuid": {
  10858. "description": "发起端唯一id",
  10859. "type": "string"
  10860. },
  10861. "validtime": {
  10862. "description": "有效期限",
  10863. "type": "string"
  10864. },
  10865. "validtype": {
  10866. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  10867. "type": "integer"
  10868. },
  10869. "volumetype": {
  10870. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  10871. "type": "integer"
  10872. }
  10873. }
  10874. },
  10875. "order.QueryTradeDetailRsp": {
  10876. "type": "object",
  10877. "required": [
  10878. "accountid",
  10879. "buyorsell",
  10880. "goodsid",
  10881. "marketid",
  10882. "memberuserid",
  10883. "orderid",
  10884. "tradeamount",
  10885. "tradedate",
  10886. "tradeid",
  10887. "tradeprice",
  10888. "tradeqty",
  10889. "tradetime"
  10890. ],
  10891. "properties": {
  10892. "accountid": {
  10893. "description": "账户ID[报价币种]",
  10894. "type": "integer"
  10895. },
  10896. "buildtype": {
  10897. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  10898. "type": "integer"
  10899. },
  10900. "buyorsell": {
  10901. "description": "方向 - 0:买 1:卖",
  10902. "type": "integer"
  10903. },
  10904. "charge": {
  10905. "description": "手续费",
  10906. "type": "number"
  10907. },
  10908. "closecharge": {
  10909. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  10910. "type": "number"
  10911. },
  10912. "closeexchagechargevalue": {
  10913. "description": "平仓交易所手续费设置值",
  10914. "type": "number"
  10915. },
  10916. "closefeealgorithm": {
  10917. "description": "平仓手续费收取方式 1:比率 2:固定",
  10918. "type": "integer"
  10919. },
  10920. "closememberchargevalue": {
  10921. "description": "平仓会员手续费设置值",
  10922. "type": "number"
  10923. },
  10924. "closepl": {
  10925. "description": "平仓盈亏",
  10926. "type": "number"
  10927. },
  10928. "closepl2": {
  10929. "description": "平仓盈亏[逐笔]",
  10930. "type": "number"
  10931. },
  10932. "closeqty": {
  10933. "description": "平仓数量(先建后平操作 需要记录)",
  10934. "type": "integer"
  10935. },
  10936. "creditamount": {
  10937. "description": "授信金额",
  10938. "type": "number"
  10939. },
  10940. "gcaccountid": {
  10941. "description": "账户ID[合约币种]",
  10942. "type": "integer"
  10943. },
  10944. "goodscode": {
  10945. "description": "商品代码",
  10946. "type": "string"
  10947. },
  10948. "goodsid": {
  10949. "description": "商品ID",
  10950. "type": "integer"
  10951. },
  10952. "goodsname": {
  10953. "description": "商品名称",
  10954. "type": "string"
  10955. },
  10956. "intclosepl": {
  10957. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  10958. "type": "integer"
  10959. },
  10960. "isconfirmexercise": {
  10961. "description": "是否确认行权- 0:否 1:是",
  10962. "type": "integer"
  10963. },
  10964. "ismain": {
  10965. "description": "是否主单 - 0:不是 1:是",
  10966. "type": "integer"
  10967. },
  10968. "ispreexercise": {
  10969. "description": "是否预申报- 0:否 1:是",
  10970. "type": "integer"
  10971. },
  10972. "isreckoned": {
  10973. "description": "是否结算 - 0:未结算 1:已结算",
  10974. "type": "integer"
  10975. },
  10976. "listingselecttype": {
  10977. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10978. "type": "integer"
  10979. },
  10980. "marketid": {
  10981. "description": "市场ID",
  10982. "type": "integer"
  10983. },
  10984. "marketname": {
  10985. "description": "市场名称",
  10986. "type": "string"
  10987. },
  10988. "matchaccountid": {
  10989. "description": "对手账号id",
  10990. "type": "integer"
  10991. },
  10992. "memberuserid": {
  10993. "description": "会员id 个人投资者 需要填写",
  10994. "type": "integer"
  10995. },
  10996. "opencharge": {
  10997. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  10998. "type": "number"
  10999. },
  11000. "openexchagechargevalue": {
  11001. "description": "建仓交易所手续费设置值",
  11002. "type": "number"
  11003. },
  11004. "openfeealgorithm": {
  11005. "description": "建仓手续费收取方式 1:比率 2:固定",
  11006. "type": "integer"
  11007. },
  11008. "openmemberchargevalue": {
  11009. "description": "建仓会员手续费设置值",
  11010. "type": "number"
  11011. },
  11012. "openqty": {
  11013. "description": "开仓数量(先建后平操作 需要记录)",
  11014. "type": "integer"
  11015. },
  11016. "optiontype": {
  11017. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  11018. "type": "integer"
  11019. },
  11020. "orderid": {
  11021. "description": "委托单号",
  11022. "type": "string"
  11023. },
  11024. "performanceplanid": {
  11025. "description": "履约计划ID[期权]",
  11026. "type": "integer"
  11027. },
  11028. "performancestatus": {
  11029. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  11030. "type": "integer"
  11031. },
  11032. "preexerciseprice": {
  11033. "description": "预申报价格",
  11034. "type": "number"
  11035. },
  11036. "premium": {
  11037. "description": "权利金 - [持仓单的权利金]",
  11038. "type": "number"
  11039. },
  11040. "relatedouttradeid": {
  11041. "description": "关联外部成交单ID",
  11042. "type": "integer"
  11043. },
  11044. "status": {
  11045. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  11046. "type": "integer"
  11047. },
  11048. "tradeamount": {
  11049. "description": "成交金额[账户币种,用于所有权]",
  11050. "type": "number"
  11051. },
  11052. "tradedate": {
  11053. "description": "交易日(yyyyMMdd)",
  11054. "type": "string"
  11055. },
  11056. "tradeid": {
  11057. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11058. "type": "string"
  11059. },
  11060. "trademode": {
  11061. "description": "交易模式",
  11062. "type": "integer"
  11063. },
  11064. "tradeprice": {
  11065. "description": "成交价格",
  11066. "type": "number"
  11067. },
  11068. "tradeproperty": {
  11069. "description": "交易属性",
  11070. "type": "integer"
  11071. },
  11072. "tradeqty": {
  11073. "description": "成交数量",
  11074. "type": "integer"
  11075. },
  11076. "tradetime": {
  11077. "description": "成交时间",
  11078. "type": "string"
  11079. },
  11080. "tradetype": {
  11081. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  11082. "type": "integer"
  11083. }
  11084. }
  11085. },
  11086. "order.QueryTradeOrderDetailRsp": {
  11087. "type": "object",
  11088. "required": [
  11089. "accountid",
  11090. "buildtype",
  11091. "buyorsell",
  11092. "goodsid",
  11093. "marketid",
  11094. "operatetype",
  11095. "orderqty",
  11096. "ordertime",
  11097. "pricemode",
  11098. "tradedate",
  11099. "validtype"
  11100. ],
  11101. "properties": {
  11102. "accountid": {
  11103. "description": "账户ID[报价币种]",
  11104. "type": "integer"
  11105. },
  11106. "buildtype": {
  11107. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  11108. "type": "integer"
  11109. },
  11110. "buyorsell": {
  11111. "description": "买卖 - 0:买 1:卖",
  11112. "type": "integer"
  11113. },
  11114. "cancelorderid": {
  11115. "description": "撤单单号(撤单时填写)",
  11116. "type": "string"
  11117. },
  11118. "cancelqty": {
  11119. "description": "撤单数量",
  11120. "type": "integer"
  11121. },
  11122. "clienttype": {
  11123. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  11124. "type": "integer"
  11125. },
  11126. "closefreezecharge": {
  11127. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  11128. "type": "number"
  11129. },
  11130. "closeqty": {
  11131. "description": "平仓数量(先建后平操作 需要记录)",
  11132. "type": "integer"
  11133. },
  11134. "closetradeqty": {
  11135. "description": "平仓成交数量(先建后平操作,需要记录)",
  11136. "type": "integer"
  11137. },
  11138. "closeunfreezecharge": {
  11139. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  11140. "type": "number"
  11141. },
  11142. "delistingtype": {
  11143. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  11144. "type": "integer"
  11145. },
  11146. "enableqty": {
  11147. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  11148. "type": "integer"
  11149. },
  11150. "freezecharge": {
  11151. "description": "冻结手续费",
  11152. "type": "number"
  11153. },
  11154. "freezemargin": {
  11155. "description": "冻结保证金(冻结交易金额)",
  11156. "type": "number"
  11157. },
  11158. "goodscode": {
  11159. "description": "商品代码",
  11160. "type": "string"
  11161. },
  11162. "goodsid": {
  11163. "description": "商品ID",
  11164. "type": "integer"
  11165. },
  11166. "goodsname": {
  11167. "description": "商品名称",
  11168. "type": "string"
  11169. },
  11170. "listingselecttype": {
  11171. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11172. "type": "integer"
  11173. },
  11174. "marketid": {
  11175. "description": "市场ID",
  11176. "type": "integer"
  11177. },
  11178. "marketname": {
  11179. "description": "市场名称",
  11180. "type": "string"
  11181. },
  11182. "openfreezecharge": {
  11183. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  11184. "type": "number"
  11185. },
  11186. "openqty": {
  11187. "description": "开仓数量(先建后平操作,需要记录)",
  11188. "type": "integer"
  11189. },
  11190. "opentradeqty": {
  11191. "description": "开仓成交数量(先建后平操作,需要记录)",
  11192. "type": "integer"
  11193. },
  11194. "openunfreezecharge": {
  11195. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  11196. "type": "number"
  11197. },
  11198. "operatetype": {
  11199. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  11200. "type": "integer"
  11201. },
  11202. "operatorid": {
  11203. "description": "登录账号(LoginID)",
  11204. "type": "integer"
  11205. },
  11206. "orderid": {
  11207. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11208. "type": "string"
  11209. },
  11210. "orderprice": {
  11211. "description": "委托价格",
  11212. "type": "number"
  11213. },
  11214. "orderqty": {
  11215. "description": "委托数量",
  11216. "type": "integer"
  11217. },
  11218. "ordersrc": {
  11219. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  11220. "type": "integer"
  11221. },
  11222. "orderstatus": {
  11223. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11224. "type": "integer"
  11225. },
  11226. "ordertime": {
  11227. "description": "委托时间",
  11228. "type": "string"
  11229. },
  11230. "preorderid": {
  11231. "description": "关联预埋单号(止盈止损单时填写)",
  11232. "type": "string"
  11233. },
  11234. "pricemode": {
  11235. "description": "取价方式 - 1:市价 2: 限价",
  11236. "type": "integer"
  11237. },
  11238. "relatedid": {
  11239. "description": "关联单号(交割单)",
  11240. "type": "string"
  11241. },
  11242. "tradedate": {
  11243. "description": "交易日(yyyyMMdd)",
  11244. "type": "string"
  11245. },
  11246. "trademode": {
  11247. "description": "交易模式",
  11248. "type": "integer"
  11249. },
  11250. "tradeqty": {
  11251. "description": "成交数量",
  11252. "type": "integer"
  11253. },
  11254. "unfreezecharge": {
  11255. "description": "解冻手续费",
  11256. "type": "number"
  11257. },
  11258. "unfreezemargin": {
  11259. "description": "解冻保证金",
  11260. "type": "number"
  11261. },
  11262. "validtime": {
  11263. "description": "有效期限",
  11264. "type": "string"
  11265. },
  11266. "validtype": {
  11267. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  11268. "type": "integer"
  11269. },
  11270. "volumetype": {
  11271. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  11272. "type": "integer"
  11273. }
  11274. }
  11275. },
  11276. "order.QueryTradePositionRsp": {
  11277. "type": "object",
  11278. "required": [
  11279. "goodsid"
  11280. ],
  11281. "properties": {
  11282. "accountid": {
  11283. "description": "资金账户",
  11284. "type": "integer"
  11285. },
  11286. "agreeunit": {
  11287. "description": "合约单位",
  11288. "type": "number"
  11289. },
  11290. "averageprice": {
  11291. "description": "持仓均价",
  11292. "type": "number"
  11293. },
  11294. "buyorsell": {
  11295. "description": "方向 - 0:买 1:卖",
  11296. "type": "integer"
  11297. },
  11298. "closetotalqty": {
  11299. "description": "平仓总数量",
  11300. "type": "integer"
  11301. },
  11302. "curholderamount": {
  11303. "description": "当前持仓总金额[商品币种]",
  11304. "type": "number"
  11305. },
  11306. "curpositionqty": {
  11307. "description": "当前持仓总数量",
  11308. "type": "integer"
  11309. },
  11310. "currencyid": {
  11311. "description": "报价货币ID",
  11312. "type": "integer"
  11313. },
  11314. "curtdposition": {
  11315. "description": "期末今日头寸",
  11316. "type": "integer"
  11317. },
  11318. "decimalplace": {
  11319. "description": "报价小数位",
  11320. "type": "integer"
  11321. },
  11322. "enableqty": {
  11323. "description": "可用量",
  11324. "type": "integer"
  11325. },
  11326. "fretdposition": {
  11327. "description": "冻结今日头寸",
  11328. "type": "integer"
  11329. },
  11330. "frozenqty": {
  11331. "description": "持仓冻结数量",
  11332. "type": "integer"
  11333. },
  11334. "goodscode": {
  11335. "description": "商品代码",
  11336. "type": "string"
  11337. },
  11338. "goodsid": {
  11339. "description": "商品Id",
  11340. "type": "integer"
  11341. },
  11342. "goodsname": {
  11343. "description": "商品名称",
  11344. "type": "string"
  11345. },
  11346. "goodunit": {
  11347. "description": "报价单位",
  11348. "type": "string"
  11349. },
  11350. "goodunitid": {
  11351. "description": "报价单位ID",
  11352. "type": "integer"
  11353. },
  11354. "holderamount": {
  11355. "description": "期初持仓总金额[商品币种]",
  11356. "type": "number"
  11357. },
  11358. "marketid": {
  11359. "description": "所属市场ID",
  11360. "type": "integer"
  11361. },
  11362. "openreqqty": {
  11363. "description": "开仓申请数量(用于比较最大持仓数量)",
  11364. "type": "integer"
  11365. },
  11366. "opentotalqty": {
  11367. "description": "开仓总数量",
  11368. "type": "integer"
  11369. },
  11370. "otherfrozenqty": {
  11371. "description": "持仓其他冻结数量(交割冻结)",
  11372. "type": "integer"
  11373. },
  11374. "positionqty": {
  11375. "description": "期初持仓数量",
  11376. "type": "integer"
  11377. },
  11378. "tnqty": {
  11379. "description": "T+N冻结总量",
  11380. "type": "integer"
  11381. },
  11382. "tnusedqty": {
  11383. "description": "T+N使用量(可以使用T+N的冻结数量)",
  11384. "type": "integer"
  11385. },
  11386. "trademode": {
  11387. "description": "交易模式",
  11388. "type": "integer"
  11389. },
  11390. "usedmargin": {
  11391. "description": "占用保证金[商品币种]",
  11392. "type": "number"
  11393. }
  11394. }
  11395. },
  11396. "quote.HistoryData": {
  11397. "type": "object",
  11398. "properties": {
  11399. "c": {
  11400. "description": "收盘价",
  11401. "type": "number"
  11402. },
  11403. "h": {
  11404. "description": "最高价",
  11405. "type": "number"
  11406. },
  11407. "hv": {
  11408. "description": "持仓量",
  11409. "type": "integer"
  11410. },
  11411. "l": {
  11412. "description": "最低价",
  11413. "type": "number"
  11414. },
  11415. "o": {
  11416. "description": "开盘价",
  11417. "type": "number"
  11418. },
  11419. "s": {
  11420. "description": "结算价,日线周期(包括)以上才有",
  11421. "type": "number"
  11422. },
  11423. "ts": {
  11424. "description": "时间",
  11425. "type": "string"
  11426. },
  11427. "tt": {
  11428. "description": "总金额",
  11429. "type": "number"
  11430. },
  11431. "tv": {
  11432. "description": "总量",
  11433. "type": "integer"
  11434. }
  11435. }
  11436. },
  11437. "quote.QueryTSDataRsp": {
  11438. "type": "object",
  11439. "properties": {
  11440. "decimalPlace": {
  11441. "description": "小数位",
  11442. "type": "integer"
  11443. },
  11444. "endTime": {
  11445. "description": "结束时间",
  11446. "type": "string"
  11447. },
  11448. "goodsCode": {
  11449. "description": "商品代码",
  11450. "type": "string"
  11451. },
  11452. "historyDatas": {
  11453. "description": "历史数据",
  11454. "type": "array",
  11455. "items": {
  11456. "$ref": "#/definitions/quote.HistoryData"
  11457. }
  11458. },
  11459. "preSettle": {
  11460. "description": "昨结",
  11461. "type": "number"
  11462. },
  11463. "startTime": {
  11464. "description": "开始时间",
  11465. "type": "string"
  11466. },
  11467. "tradeDate": {
  11468. "description": "交易日",
  11469. "type": "string"
  11470. }
  11471. }
  11472. },
  11473. "szdz.QueryConvertLogRsp": {
  11474. "type": "object",
  11475. "required": [
  11476. "logid"
  11477. ],
  11478. "properties": {
  11479. "accountid": {
  11480. "description": "资金账户ID",
  11481. "type": "integer"
  11482. },
  11483. "clientticket": {
  11484. "description": "客户端流水号",
  11485. "type": "string"
  11486. },
  11487. "converttype": {
  11488. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  11489. "type": "integer"
  11490. },
  11491. "createtime": {
  11492. "description": "记账时间",
  11493. "type": "string"
  11494. },
  11495. "daymaxvalue": {
  11496. "description": "配置当日最大转入限制",
  11497. "type": "number"
  11498. },
  11499. "daymaxvalue2": {
  11500. "description": "配置当日最大转入限制(转入)",
  11501. "type": "number"
  11502. },
  11503. "goodscode": {
  11504. "description": "商品代码",
  11505. "type": "string"
  11506. },
  11507. "goodsname": {
  11508. "description": "商品名称",
  11509. "type": "string"
  11510. },
  11511. "handlestatus": {
  11512. "description": "处理状态",
  11513. "type": "integer"
  11514. },
  11515. "innergoodsid": {
  11516. "description": "内部商品ID",
  11517. "type": "integer"
  11518. },
  11519. "inratio": {
  11520. "description": "配置转入比值",
  11521. "type": "integer"
  11522. },
  11523. "invalue": {
  11524. "description": "目标值",
  11525. "type": "number"
  11526. },
  11527. "logid": {
  11528. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11529. "type": "integer"
  11530. },
  11531. "mobile": {
  11532. "description": "手机号码(加密存储)",
  11533. "type": "string"
  11534. },
  11535. "outergoodscode": {
  11536. "description": "外部商品代码[JD\\PD]",
  11537. "type": "string"
  11538. },
  11539. "outratio": {
  11540. "description": "配置转出比值",
  11541. "type": "integer"
  11542. },
  11543. "outvalue": {
  11544. "description": "源值",
  11545. "type": "number"
  11546. },
  11547. "pddecimalplace": {
  11548. "description": "PD小数位",
  11549. "type": "integer"
  11550. },
  11551. "qty": {
  11552. "description": "数量",
  11553. "type": "string"
  11554. },
  11555. "remark": {
  11556. "description": "备注",
  11557. "type": "string"
  11558. },
  11559. "sessionid": {
  11560. "description": "会话ID",
  11561. "type": "integer"
  11562. },
  11563. "timemaxvalue": {
  11564. "description": "配置单次最大转入限制",
  11565. "type": "number"
  11566. },
  11567. "timemaxvalue2": {
  11568. "description": "配置单次最大转入限制(转入)",
  11569. "type": "number"
  11570. },
  11571. "timeminvalue": {
  11572. "description": "配置单次最小数量限制",
  11573. "type": "number"
  11574. },
  11575. "timeminvalue2": {
  11576. "description": "配置单次最小数量限制(转入)",
  11577. "type": "number"
  11578. },
  11579. "tradedate": {
  11580. "description": "交易日(yyyyMMdd)",
  11581. "type": "string"
  11582. },
  11583. "userid": {
  11584. "description": "用户ID",
  11585. "type": "integer"
  11586. }
  11587. }
  11588. },
  11589. "szdz.QueryGoodsPickupRsp": {
  11590. "type": "object",
  11591. "required": [
  11592. "takeorderid"
  11593. ],
  11594. "properties": {
  11595. "accountid": {
  11596. "description": "账户ID",
  11597. "type": "integer"
  11598. },
  11599. "address": {
  11600. "description": "提货人详细地址",
  11601. "type": "string"
  11602. },
  11603. "auditer": {
  11604. "description": "审核人",
  11605. "type": "integer"
  11606. },
  11607. "audittime": {
  11608. "description": "审核时间",
  11609. "type": "string"
  11610. },
  11611. "cardnum": {
  11612. "description": "提货人证件号码",
  11613. "type": "string"
  11614. },
  11615. "cardtypeid": {
  11616. "description": "提货人证件类型",
  11617. "type": "integer"
  11618. },
  11619. "checkremark": {
  11620. "description": "审核备注",
  11621. "type": "string"
  11622. },
  11623. "goodscode": {
  11624. "description": "商品代码",
  11625. "type": "string"
  11626. },
  11627. "goodsid": {
  11628. "description": "商品ID",
  11629. "type": "integer"
  11630. },
  11631. "goodsname": {
  11632. "description": "商品名称",
  11633. "type": "string"
  11634. },
  11635. "handlestatus": {
  11636. "description": "处理状态",
  11637. "type": "integer"
  11638. },
  11639. "marketid": {
  11640. "description": "市场ID",
  11641. "type": "integer"
  11642. },
  11643. "phonenum": {
  11644. "description": "提货人联系方式",
  11645. "type": "string"
  11646. },
  11647. "qty": {
  11648. "description": "提货数量",
  11649. "type": "number"
  11650. },
  11651. "recivername": {
  11652. "description": "提货人姓名",
  11653. "type": "string"
  11654. },
  11655. "reqtime": {
  11656. "description": "更新时间",
  11657. "type": "string"
  11658. },
  11659. "takemode": {
  11660. "description": "提货方式 - 2:自提 3:配送",
  11661. "type": "integer"
  11662. },
  11663. "takeorderid": {
  11664. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  11665. "type": "string"
  11666. },
  11667. "takeorderstatus": {
  11668. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  11669. "type": "integer"
  11670. },
  11671. "takeremark": {
  11672. "description": "提货备注",
  11673. "type": "string"
  11674. },
  11675. "tradedate": {
  11676. "description": "交易日(yyyyMMdd)",
  11677. "type": "string"
  11678. },
  11679. "userid": {
  11680. "description": "用户ID",
  11681. "type": "integer"
  11682. }
  11683. }
  11684. },
  11685. "szdz.QueryRecieptOrderRsp": {
  11686. "type": "object",
  11687. "required": [
  11688. "ordertime"
  11689. ],
  11690. "properties": {
  11691. "accountName": {
  11692. "description": "所属账号名称(已脱敏)",
  11693. "type": "string"
  11694. },
  11695. "accountid": {
  11696. "description": "资金账号",
  11697. "type": "integer"
  11698. },
  11699. "buyorsell": {
  11700. "description": "方向 - 0:买 1:卖",
  11701. "type": "integer"
  11702. },
  11703. "enableqty": {
  11704. "description": "可摘数量",
  11705. "type": "integer"
  11706. },
  11707. "goodscode": {
  11708. "description": "商品代码",
  11709. "type": "string"
  11710. },
  11711. "goodsid": {
  11712. "description": "商品ID",
  11713. "type": "integer"
  11714. },
  11715. "goodsname": {
  11716. "description": "商品名称",
  11717. "type": "string"
  11718. },
  11719. "orderid": {
  11720. "description": "委托单号",
  11721. "type": "string"
  11722. },
  11723. "orderprice": {
  11724. "description": "委托价格",
  11725. "type": "number"
  11726. },
  11727. "ordertime": {
  11728. "description": "委托时间",
  11729. "type": "string"
  11730. },
  11731. "tradedate": {
  11732. "description": "交易日(yyyyMMdd)",
  11733. "type": "string"
  11734. }
  11735. }
  11736. },
  11737. "szdz.QuerySZDZTradePositionRsp": {
  11738. "type": "object",
  11739. "properties": {
  11740. "accountid": {
  11741. "description": "账号Id",
  11742. "type": "integer"
  11743. },
  11744. "agreeunit": {
  11745. "description": "合约单位",
  11746. "type": "number"
  11747. },
  11748. "averageprice": {
  11749. "description": "持仓均价",
  11750. "type": "number"
  11751. },
  11752. "buyorsell": {
  11753. "description": "方向 - 0:买 1:卖",
  11754. "type": "integer"
  11755. },
  11756. "closetotalqty": {
  11757. "description": "平仓总数量",
  11758. "type": "integer"
  11759. },
  11760. "curholderamount": {
  11761. "description": "当前持仓总金额",
  11762. "type": "number"
  11763. },
  11764. "curpositionqty": {
  11765. "description": "当前持仓总数量",
  11766. "type": "integer"
  11767. },
  11768. "currencyid": {
  11769. "description": "报价货币ID",
  11770. "type": "integer"
  11771. },
  11772. "curtdposition": {
  11773. "description": "期末今日头寸",
  11774. "type": "integer"
  11775. },
  11776. "decimalplace": {
  11777. "description": "报价小数位",
  11778. "type": "integer"
  11779. },
  11780. "enableqty": {
  11781. "description": "可用量",
  11782. "type": "integer"
  11783. },
  11784. "fretdposition": {
  11785. "description": "冻结今日头寸",
  11786. "type": "integer"
  11787. },
  11788. "frozenqty": {
  11789. "description": "持仓冻结数量",
  11790. "type": "integer"
  11791. },
  11792. "goodscode": {
  11793. "description": "商品代码(内部)",
  11794. "type": "string"
  11795. },
  11796. "goodsid": {
  11797. "description": "商品Id",
  11798. "type": "integer"
  11799. },
  11800. "goodsname": {
  11801. "description": "商品名称",
  11802. "type": "string"
  11803. },
  11804. "goodunit": {
  11805. "description": "报价单位",
  11806. "type": "string"
  11807. },
  11808. "goodunitid": {
  11809. "description": "报价单位ID",
  11810. "type": "integer"
  11811. },
  11812. "holderamount": {
  11813. "description": "期初持仓总金额",
  11814. "type": "number"
  11815. },
  11816. "marketid": {
  11817. "description": "市场ID",
  11818. "type": "integer"
  11819. },
  11820. "openreqqty": {
  11821. "description": "开仓申请数量",
  11822. "type": "integer"
  11823. },
  11824. "opentotalqty": {
  11825. "description": "开仓总数量",
  11826. "type": "integer"
  11827. },
  11828. "otherfrozenqty": {
  11829. "description": "持仓其他冻结数量(交割冻结)",
  11830. "type": "integer"
  11831. },
  11832. "positionqty": {
  11833. "description": "期初持仓数量",
  11834. "type": "integer"
  11835. },
  11836. "szdz3freezqty": {
  11837. "description": "尚志大宗转换冻结总数量",
  11838. "type": "integer"
  11839. },
  11840. "tnqty": {
  11841. "description": "T+N冻结总量",
  11842. "type": "integer"
  11843. },
  11844. "tnusedqty": {
  11845. "description": "T+N使用量",
  11846. "type": "integer"
  11847. },
  11848. "trademode": {
  11849. "description": "交易模式",
  11850. "type": "integer"
  11851. },
  11852. "usedmargin": {
  11853. "description": "占用保证金",
  11854. "type": "number"
  11855. }
  11856. }
  11857. },
  11858. "taaccount.QueryAmountLogRsp": {
  11859. "type": "object",
  11860. "required": [
  11861. "accountid",
  11862. "amount",
  11863. "amountadjusttype",
  11864. "autoid",
  11865. "balance",
  11866. "createtime",
  11867. "currentbalance",
  11868. "operatetype"
  11869. ],
  11870. "properties": {
  11871. "OPERATETYPENAME": {
  11872. "description": "资金操作类型名称",
  11873. "type": "string"
  11874. },
  11875. "accountid": {
  11876. "description": "资金账户ID",
  11877. "type": "integer"
  11878. },
  11879. "agoodscode": {
  11880. "description": "竞拍商品代码",
  11881. "type": "string"
  11882. },
  11883. "agoodsname": {
  11884. "description": "竞拍商品名称",
  11885. "type": "string"
  11886. },
  11887. "amount": {
  11888. "description": "资金金额",
  11889. "type": "number"
  11890. },
  11891. "amountadjusttype": {
  11892. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  11893. "type": "integer"
  11894. },
  11895. "autoid": {
  11896. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  11897. "type": "integer"
  11898. },
  11899. "balance": {
  11900. "description": "期初余额",
  11901. "type": "number"
  11902. },
  11903. "businesscode": {
  11904. "description": "业务编号",
  11905. "type": "integer"
  11906. },
  11907. "createtime": {
  11908. "description": "发生时间",
  11909. "type": "string"
  11910. },
  11911. "currencyid": {
  11912. "description": "币种ID",
  11913. "type": "integer"
  11914. },
  11915. "currentbalance": {
  11916. "description": "期末余额(变动后金额)",
  11917. "type": "number"
  11918. },
  11919. "dgoodscode": {
  11920. "description": "交割商品代码",
  11921. "type": "string"
  11922. },
  11923. "dgoodsname": {
  11924. "description": "交割商品名称",
  11925. "type": "string"
  11926. },
  11927. "goodscode": {
  11928. "description": "商品代码",
  11929. "type": "string"
  11930. },
  11931. "goodsid": {
  11932. "description": "商品ID",
  11933. "type": "integer"
  11934. },
  11935. "goodsname": {
  11936. "description": "商品名称",
  11937. "type": "string"
  11938. },
  11939. "marketid": {
  11940. "description": "市场ID",
  11941. "type": "integer"
  11942. },
  11943. "marketname": {
  11944. "description": "市场名称",
  11945. "type": "string"
  11946. },
  11947. "moneyticket": {
  11948. "description": "资金流水号:银行端流水号",
  11949. "type": "integer"
  11950. },
  11951. "operatetype": {
  11952. "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:营销收款",
  11953. "type": "integer"
  11954. },
  11955. "relationorderid": {
  11956. "description": "关联单号",
  11957. "type": "string"
  11958. },
  11959. "remark": {
  11960. "description": "备注",
  11961. "type": "string"
  11962. },
  11963. "trademode": {
  11964. "description": "交易模式",
  11965. "type": "integer"
  11966. }
  11967. }
  11968. },
  11969. "taaccount.QueryHisAmountLogRsp": {
  11970. "type": "object",
  11971. "required": [
  11972. "accountid",
  11973. "amount",
  11974. "amountadjusttype",
  11975. "autoid",
  11976. "balance",
  11977. "createtime",
  11978. "currentbalance",
  11979. "histradedate",
  11980. "operatetype"
  11981. ],
  11982. "properties": {
  11983. "OPERATETYPENAME": {
  11984. "description": "资金操作类型名称",
  11985. "type": "string"
  11986. },
  11987. "accountid": {
  11988. "description": "资金账户ID",
  11989. "type": "integer"
  11990. },
  11991. "agoodscode": {
  11992. "description": "竞拍商品代码",
  11993. "type": "string"
  11994. },
  11995. "agoodsname": {
  11996. "description": "竞拍商品名称",
  11997. "type": "string"
  11998. },
  11999. "amount": {
  12000. "description": "资金金额",
  12001. "type": "number"
  12002. },
  12003. "amountadjusttype": {
  12004. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  12005. "type": "integer"
  12006. },
  12007. "autoid": {
  12008. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  12009. "type": "integer"
  12010. },
  12011. "balance": {
  12012. "description": "期初余额",
  12013. "type": "number"
  12014. },
  12015. "businesscode": {
  12016. "description": "业务编号",
  12017. "type": "integer"
  12018. },
  12019. "createtime": {
  12020. "description": "发生时间",
  12021. "type": "string"
  12022. },
  12023. "currencyid": {
  12024. "description": "币种ID",
  12025. "type": "integer"
  12026. },
  12027. "currentbalance": {
  12028. "description": "期末余额(变动后金额)",
  12029. "type": "number"
  12030. },
  12031. "dgoodscode": {
  12032. "description": "交割商品代码",
  12033. "type": "string"
  12034. },
  12035. "dgoodsname": {
  12036. "description": "交割商品名称",
  12037. "type": "string"
  12038. },
  12039. "goodscode": {
  12040. "description": "商品代码",
  12041. "type": "string"
  12042. },
  12043. "goodsid": {
  12044. "description": "商品ID",
  12045. "type": "integer"
  12046. },
  12047. "goodsname": {
  12048. "description": "商品名称",
  12049. "type": "string"
  12050. },
  12051. "histradedate": {
  12052. "description": "历史交易日",
  12053. "type": "string"
  12054. },
  12055. "isvaliddata": {
  12056. "description": "是否有效 - 0:无效 1:有效",
  12057. "type": "integer"
  12058. },
  12059. "marketid": {
  12060. "description": "市场ID",
  12061. "type": "integer"
  12062. },
  12063. "marketname": {
  12064. "description": "市场名称",
  12065. "type": "string"
  12066. },
  12067. "moneyticket": {
  12068. "description": "资金流水号:银行端流水号",
  12069. "type": "integer"
  12070. },
  12071. "operatetype": {
  12072. "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:营销收款",
  12073. "type": "integer"
  12074. },
  12075. "relationorderid": {
  12076. "description": "关联单号",
  12077. "type": "string"
  12078. },
  12079. "remark": {
  12080. "description": "备注",
  12081. "type": "string"
  12082. },
  12083. "trademode": {
  12084. "description": "交易模式",
  12085. "type": "integer"
  12086. }
  12087. }
  12088. },
  12089. "trade.QueryRecieptOrderRsp": {
  12090. "type": "object",
  12091. "required": [
  12092. "ordertime"
  12093. ],
  12094. "properties": {
  12095. "accountName": {
  12096. "description": "所属账号名称(已脱敏)",
  12097. "type": "string"
  12098. },
  12099. "accountid": {
  12100. "description": "资金账号",
  12101. "type": "integer"
  12102. },
  12103. "buyorsell": {
  12104. "description": "方向 - 0:买 1:卖",
  12105. "type": "integer"
  12106. },
  12107. "enableqty": {
  12108. "description": "可摘数量",
  12109. "type": "integer"
  12110. },
  12111. "goodscode": {
  12112. "description": "商品代码",
  12113. "type": "string"
  12114. },
  12115. "goodsid": {
  12116. "description": "商品ID",
  12117. "type": "integer"
  12118. },
  12119. "goodsname": {
  12120. "description": "商品名称",
  12121. "type": "string"
  12122. },
  12123. "orderid": {
  12124. "description": "委托单号",
  12125. "type": "string"
  12126. },
  12127. "orderprice": {
  12128. "description": "委托价格",
  12129. "type": "number"
  12130. },
  12131. "ordertime": {
  12132. "description": "委托时间",
  12133. "type": "string"
  12134. },
  12135. "tradedate": {
  12136. "description": "交易日(yyyyMMdd)",
  12137. "type": "string"
  12138. }
  12139. }
  12140. }
  12141. },
  12142. "securityDefinitions": {
  12143. "ApiKeyAuth": {
  12144. "type": "apiKey",
  12145. "name": "Authorization",
  12146. "in": "header"
  12147. }
  12148. }
  12149. }`
  12150. type swaggerInfo struct {
  12151. Version string
  12152. Host string
  12153. BasePath string
  12154. Schemes []string
  12155. Title string
  12156. Description string
  12157. }
  12158. // SwaggerInfo holds exported Swagger Info so clients can modify it
  12159. var SwaggerInfo = swaggerInfo{
  12160. Version: "1.0",
  12161. Host: "",
  12162. BasePath: "/api",
  12163. Schemes: []string{},
  12164. Title: "MTP2.0 查询服务 API",
  12165. Description: "新的查询服务,替代原通用查询服务。",
  12166. }
  12167. type s struct{}
  12168. func (s *s) ReadDoc() string {
  12169. sInfo := SwaggerInfo
  12170. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  12171. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  12172. "marshal": func(v interface{}) string {
  12173. a, _ := json.Marshal(v)
  12174. return string(a)
  12175. },
  12176. }).Parse(doc)
  12177. if err != nil {
  12178. return doc
  12179. }
  12180. var tpl bytes.Buffer
  12181. if err := t.Execute(&tpl, sInfo); err != nil {
  12182. return doc
  12183. }
  12184. return tpl.String()
  12185. }
  12186. func init() {
  12187. swag.Register(swag.Name, &s{})
  12188. }