swagger.yaml 167 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.QueryNoticeRsp:
  22. properties:
  23. auditoruserid:
  24. description: 审核人
  25. type: integer
  26. auditremark:
  27. description: 审核备注
  28. type: string
  29. audittime:
  30. description: 审核日期
  31. type: string
  32. autoid:
  33. description: 自增ID
  34. type: integer
  35. content:
  36. description: 内容
  37. type: string
  38. createtime:
  39. description: 创建时间
  40. type: string
  41. creatorid:
  42. description: 建仓人
  43. type: integer
  44. endtime:
  45. description: 结束时间
  46. type: string
  47. istop:
  48. description: 是否置顶 - 0:不置顶 1:置顶
  49. type: integer
  50. msgiconurl:
  51. description: 消息图标Url
  52. type: string
  53. msgtype:
  54. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  55. type: integer
  56. publisher:
  57. description: 消息发布者
  58. type: string
  59. readed:
  60. description: 是否已读
  61. type: boolean
  62. scheduletime:
  63. description: 计划发送时间
  64. type: string
  65. sendtype:
  66. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  67. type: integer
  68. sentstatus:
  69. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  70. type: integer
  71. title:
  72. description: 标题
  73. type: string
  74. userid:
  75. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  76. type: integer
  77. required:
  78. - autoid
  79. type: object
  80. common.QueryProvincesAndCitiesRsp:
  81. properties:
  82. cities:
  83. description: 市
  84. items:
  85. $ref: '#/definitions/models.Division'
  86. type: array
  87. province:
  88. $ref: '#/definitions/models.Division'
  89. description: 省
  90. type: object
  91. type: object
  92. common.QueryTableDefineRsp:
  93. properties:
  94. columns:
  95. description: 列头信息数组
  96. items:
  97. $ref: '#/definitions/models.Tablecolumnconfig'
  98. type: array
  99. remark:
  100. description: Remark
  101. type: string
  102. tabelmenu:
  103. description: 列表菜单
  104. type: string
  105. tablekey:
  106. description: 列表Key
  107. type: string
  108. tablename:
  109. description: 列表名称
  110. type: string
  111. tabletype:
  112. description: 列表类型 - 1:管理端 2:终端
  113. type: integer
  114. required:
  115. - tablekey
  116. type: object
  117. common.QueryTraderMenuRsp:
  118. properties:
  119. OperationMenu:
  120. description: 功能菜单
  121. items:
  122. $ref: '#/definitions/models.OperationPrimaryMenu'
  123. type: array
  124. QuoteMenu:
  125. description: 报价牌分类菜单
  126. items:
  127. $ref: '#/definitions/models.QuotePrimaryMenu'
  128. type: array
  129. type: object
  130. cptrade.Cptradepositioncancel:
  131. properties:
  132. accountid:
  133. description: 申请人账户ID
  134. type: integer
  135. applystatus:
  136. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  137. type: integer
  138. applytime:
  139. description: 申请时间
  140. type: string
  141. cancelid:
  142. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  143. type: integer
  144. cancelqty:
  145. description: 注销数量
  146. type: integer
  147. createtime:
  148. description: 创建时间
  149. type: string
  150. creatorid:
  151. description: 创建人ID
  152. type: integer
  153. creatorname:
  154. description: 创建人
  155. type: string
  156. goodscode:
  157. description: 订单商品代码
  158. type: string
  159. goodsid:
  160. description: 商品ID
  161. type: integer
  162. goodsname:
  163. description: 订单商品名称
  164. type: string
  165. goodunit:
  166. description: 报价单位
  167. type: string
  168. handlestatus:
  169. description: 处理状态
  170. type: integer
  171. marketid:
  172. description: 市场ID
  173. type: integer
  174. marketname:
  175. description: 市场名称
  176. type: string
  177. tradedate:
  178. description: 交易日(yyyyMMdd)
  179. type: string
  180. userid:
  181. description: 申请人ID
  182. type: integer
  183. required:
  184. - cancelid
  185. type: object
  186. cptrade.Cptradepresaleapply:
  187. properties:
  188. accountid:
  189. description: 申请人账户ID
  190. type: integer
  191. applyid:
  192. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  193. type: integer
  194. applyremark:
  195. description: 申请备注
  196. type: string
  197. applystatus:
  198. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  199. type: integer
  200. applytime:
  201. description: 申请时间
  202. type: string
  203. attachmenturl:
  204. description: 附件地址
  205. type: string
  206. endtime:
  207. description: 预售结束时间
  208. type: string
  209. goodscode:
  210. description: 商品代码
  211. type: string
  212. goodsid:
  213. description: 商品ID
  214. type: integer
  215. goodsname:
  216. description: 商品名称
  217. type: string
  218. goodunit:
  219. description: 报价单位
  220. type: string
  221. handlestatus:
  222. description: 处理状态
  223. type: integer
  224. marketid:
  225. description: 预售市场ID
  226. type: integer
  227. marketname:
  228. description: 预售市场名称
  229. type: string
  230. presaleqty:
  231. description: 预售数量
  232. type: integer
  233. relatedgoodscode:
  234. description: 关联交易合约代码
  235. type: string
  236. relatedgoodsid:
  237. description: 关联交易合约ID
  238. type: integer
  239. relatedgoodsname:
  240. description: 关联交易合约名称
  241. type: string
  242. starttime:
  243. description: 预售开始时间
  244. type: string
  245. tradedate:
  246. description: 交易日(yyyyMMdd)
  247. type: string
  248. trademode:
  249. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  250. type: integer
  251. userid:
  252. description: 申请人ID
  253. type: integer
  254. required:
  255. - applyid
  256. type: object
  257. cptrade.Cptradeusergoodsdata:
  258. properties:
  259. EnabledQty:
  260. description: 可用量
  261. type: integer
  262. GoodsCode:
  263. description: 订单商品代码
  264. type: string
  265. GoodsName:
  266. description: 订单商品名称
  267. type: string
  268. WRStandardCode:
  269. description: 仓单标准代码
  270. type: string
  271. WRStandardName:
  272. description: 仓单标准名称
  273. type: string
  274. accountid:
  275. description: 账户ID
  276. type: integer
  277. cancelqty:
  278. description: 注销量
  279. type: integer
  280. curpresaleqty:
  281. description: 当前预售量
  282. type: integer
  283. deliveryqty:
  284. description: 交割量
  285. type: integer
  286. freezeamount:
  287. description: 冻结金额
  288. type: number
  289. goodsid:
  290. description: 商品ID
  291. type: integer
  292. goodunit:
  293. description: 报价单位
  294. type: string
  295. hasspotfreeze:
  296. description: 是否有现货冻结 - 0:否 1:有
  297. type: integer
  298. inqty:
  299. description: 转入量(总数量)
  300. type: integer
  301. marketid:
  302. description: 市场ID
  303. type: integer
  304. presaledamount:
  305. description: 已预售总金额
  306. type: integer
  307. presaledqty:
  308. description: 已预售量
  309. type: integer
  310. userid:
  311. description: 用户ID
  312. type: integer
  313. wrstandardid:
  314. description: 仓单标准ID
  315. type: integer
  316. required:
  317. - accountid
  318. - goodsid
  319. type: object
  320. cptrade.QueryCPTradeMyBidRsp:
  321. properties:
  322. accountid:
  323. description: 账户ID[报价币种]
  324. type: integer
  325. goodsid:
  326. description: 商品ID
  327. type: integer
  328. goodunit:
  329. description: 报价单位
  330. type: string
  331. marketid:
  332. description: 市场ID
  333. type: integer
  334. orderid:
  335. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  336. type: integer
  337. orderprice:
  338. description: 委托价格
  339. type: number
  340. orderqty:
  341. description: 委托数量
  342. type: integer
  343. ordertime:
  344. description: 委托时间
  345. type: string
  346. ordertotalprice:
  347. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  348. type: number
  349. ordertotalweight:
  350. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  351. type: integer
  352. totaltotalprice:
  353. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  354. type: number
  355. tradeprice:
  356. description: 成交价格
  357. type: number
  358. tradeqty:
  359. description: 成交数量
  360. type: integer
  361. required:
  362. - accountid
  363. - goodsid
  364. - marketid
  365. - orderid
  366. - orderqty
  367. - ordertime
  368. - tradeprice
  369. - tradeqty
  370. type: object
  371. cptrade.QueryCPTradeOrderDetailRsq:
  372. properties:
  373. accountid:
  374. description: 账户ID[报价币种]
  375. type: integer
  376. buildtype:
  377. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  378. type: integer
  379. buyorsell:
  380. description: 买卖 - 0:买 1:卖
  381. type: integer
  382. cancelorderid:
  383. description: 撤单单号(撤单时填写)
  384. type: integer
  385. cancelqty:
  386. description: 撤单数量
  387. type: integer
  388. clientordertime:
  389. description: 客户端委托时间
  390. type: string
  391. clientticket:
  392. description: 客户端流水号
  393. type: string
  394. clienttype:
  395. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  396. type: integer
  397. closeexchagechargevalue:
  398. description: 平仓交易所手续费设置值
  399. type: number
  400. closefeealgorithm:
  401. description: 平仓手续费收取方式 1:比率 2:固定
  402. type: integer
  403. closefreezecharge:
  404. description: 平仓冻结手续费(先建后平操作,需要记录)
  405. type: number
  406. closememberchargevalue:
  407. description: 平仓会员手续费设置值
  408. type: number
  409. closeqty:
  410. description: 平仓数量(先建后平操作 需要记录)
  411. type: integer
  412. closetradeqty:
  413. description: 平仓成交数量(先建后平操作,需要记录)
  414. type: integer
  415. closeunfreezecharge:
  416. description: 平仓解冻手续费(先建后平操作,需要记录)
  417. type: number
  418. delistingtype:
  419. description: 摘牌类型 - 1:价格最优 2:点选成交
  420. type: integer
  421. freezecharge:
  422. description: 冻结手续费
  423. type: number
  424. freezemargin:
  425. description: 冻结保证金(冻结交易金额)
  426. type: number
  427. gcaccountid:
  428. description: 账户ID[合约币种]
  429. type: integer
  430. goodsid:
  431. description: 商品ID
  432. type: integer
  433. isconfirmexercise:
  434. description: 是否确认行权- 0:否 1:是
  435. type: integer
  436. ispreexercise:
  437. description: 是否预申报- 0:否 1:是
  438. type: integer
  439. listingselecttype:
  440. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  441. type: integer
  442. marginalgorithm:
  443. description: 保证金收取方式 1:比率 2:固定
  444. type: integer
  445. marginvalue:
  446. description: 即市保证金设置值
  447. type: number
  448. marketid:
  449. description: 市场ID
  450. type: integer
  451. marketmaxsub:
  452. description: 市价最大偏移范围
  453. type: number
  454. memberuserid:
  455. description: 所属会员UserID
  456. type: integer
  457. openexchagechargevalue:
  458. description: 建仓交易所手续费设置值
  459. type: number
  460. openfeealgorithm:
  461. description: 建仓手续费收取方式 1:比率 2:固定
  462. type: integer
  463. openfreezecharge:
  464. description: 开仓冻结手续费(先建后平操作,需要记录)
  465. type: number
  466. openmemberchargevalue:
  467. description: 建仓会员手续费设置值
  468. type: number
  469. openqty:
  470. description: 开仓数量(先建后平操作,需要记录)
  471. type: integer
  472. opentradeqty:
  473. description: 开仓成交数量(先建后平操作,需要记录)
  474. type: integer
  475. openunfreezecharge:
  476. description: 开仓解冻手续费(先建后平操作,需要记录)
  477. type: number
  478. operatetype:
  479. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  480. type: integer
  481. operatorid:
  482. description: 登录账号(LoginID)
  483. type: integer
  484. optiontype:
  485. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  486. type: integer
  487. orderprice:
  488. description: 委托价格
  489. type: number
  490. orderqty:
  491. description: 委托数量
  492. type: integer
  493. ordersrc:
  494. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  495. type: integer
  496. orderstatus:
  497. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  498. type: integer
  499. ordertime:
  500. description: 委托时间
  501. type: string
  502. preexerciseprice:
  503. description: 预申报价格
  504. type: number
  505. premium:
  506. description: 权利金
  507. type: number
  508. preorderid:
  509. description: 关联预埋单号(止盈止损单时填写)
  510. type: integer
  511. pricemode:
  512. description: '取价方式 - 1:市价 2: 限价'
  513. type: integer
  514. quoteid:
  515. description: 报价单ID
  516. type: integer
  517. relatedid:
  518. description: 关联单号(交割单)
  519. type: integer
  520. retcode:
  521. description: 错误代码
  522. type: integer
  523. sessionid:
  524. description: 会话ID
  525. type: integer
  526. strorderid:
  527. description: 委托单号
  528. type: string
  529. tradedate:
  530. description: 交易日(yyyyMMdd)
  531. type: string
  532. tradeproperty:
  533. description: 交易属性
  534. type: integer
  535. tradeqty:
  536. description: 成交数量
  537. type: integer
  538. unfreezecharge:
  539. description: 解冻手续费
  540. type: number
  541. unfreezemargin:
  542. description: 解冻保证金
  543. type: number
  544. updatetime:
  545. description: 更新时间
  546. type: string
  547. uuid:
  548. description: 发起端唯一id
  549. type: string
  550. validtime:
  551. description: 有效期限
  552. type: string
  553. validtype:
  554. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  555. type: integer
  556. volumetype:
  557. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  558. type: integer
  559. required:
  560. - accountid
  561. - buildtype
  562. - buyorsell
  563. - goodsid
  564. - marketid
  565. - memberuserid
  566. - operatetype
  567. - orderqty
  568. - ordertime
  569. - pricemode
  570. - strorderid
  571. - tradedate
  572. - validtype
  573. type: object
  574. cptrade.QueryMyCPTradeGoodsRsp:
  575. properties:
  576. accountid:
  577. description: 卖方账户ID
  578. type: integer
  579. agreeunit:
  580. description: 合约单位
  581. type: number
  582. applyid:
  583. description: 关联申请ID
  584. type: integer
  585. attachmenturl:
  586. description: 附件地址
  587. type: string
  588. createtime:
  589. description: 创建时间
  590. type: string
  591. currencyid:
  592. description: 报价货币ID
  593. type: integer
  594. decimalplace:
  595. description: 报价小数位
  596. type: integer
  597. endtime:
  598. description: 预售结束时间
  599. type: string
  600. floorprice:
  601. description: 底价[大宗式竞拍]
  602. type: number
  603. goodscode:
  604. description: 商品代码(预售)
  605. type: string
  606. goodsdetail:
  607. description: 详情[大宗]
  608. type: string
  609. goodsid:
  610. description: 商品ID(自增ID SEQ_GOODS)
  611. type: integer
  612. goodsname:
  613. description: 商品名称(预售)
  614. type: string
  615. goodunit:
  616. description: 报价单位
  617. type: string
  618. goodunitid:
  619. description: 报价单位ID
  620. type: integer
  621. marketid:
  622. description: 所属市场ID
  623. type: integer
  624. marketname:
  625. description: 预售市场名称
  626. type: string
  627. presaledamount:
  628. description: 已预售总金额(预售结束时更新)
  629. type: number
  630. presaledqty:
  631. description: 已预售量(预售结束时更新)
  632. type: integer
  633. presalemode:
  634. description: 预售模式 - 1:一口价 2:大宗式竞拍
  635. type: integer
  636. presaleqty:
  637. description: 预售数量
  638. type: integer
  639. refprice:
  640. description: 参考价格[一口价]
  641. type: number
  642. relatedgoodscode:
  643. description: 商品代码(订单)
  644. type: string
  645. relatedgoodsid:
  646. description: 关联交易合约ID
  647. type: integer
  648. relatedgoodsname:
  649. description: 商品名称(订单)
  650. type: string
  651. relatedmarketid:
  652. description: 关联交易合约市场ID
  653. type: integer
  654. sellstatus:
  655. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  656. type: integer
  657. startprice:
  658. description: 起拍价[大宗式竞拍]
  659. type: number
  660. starttime:
  661. description: 预售开始时间
  662. type: string
  663. tradedate:
  664. description: 交易日(yyyyMMdd)
  665. type: string
  666. tradeprice:
  667. description: 成交价[大宗]
  668. type: number
  669. userid:
  670. description: 卖方用户ID
  671. type: integer
  672. required:
  673. - goodscode
  674. - goodsid
  675. - goodsname
  676. - marketid
  677. - relatedgoodscode
  678. - relatedgoodsname
  679. type: object
  680. cptrade.QueryPresaleGoodsExRsp:
  681. properties:
  682. attachmenturl:
  683. description: 附件地址
  684. type: string
  685. createtime:
  686. description: 创建时间
  687. type: string
  688. endtime:
  689. description: 预售结束时间
  690. type: string
  691. floorprice:
  692. description: 底价[大宗式竞拍]
  693. type: number
  694. goodsdetail:
  695. description: 详情[大宗]
  696. type: string
  697. goodsid:
  698. description: 商品ID(预售)
  699. type: integer
  700. goodunit:
  701. description: 报价单位
  702. type: string
  703. marketid:
  704. description: 预售市场ID - 根据预售模式选择市场
  705. type: integer
  706. presaledamount:
  707. description: 已预售总金额(预售结束时更新)
  708. type: number
  709. presaledqty:
  710. description: 已预售量(预售结束时更新)
  711. type: integer
  712. presalemode:
  713. description: 预售模式 - 1:一口价 2:大宗式竞拍
  714. type: integer
  715. presaleqty:
  716. description: 预售数量
  717. type: integer
  718. refprice:
  719. description: 参考价格[一口价]
  720. type: number
  721. relatedgoodsid:
  722. description: 关联交易合约ID
  723. type: integer
  724. relatedmarketid:
  725. description: 关联交易合约市场ID
  726. type: integer
  727. sellstatus:
  728. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  729. type: integer
  730. startprice:
  731. description: 起拍价[大宗式竞拍]
  732. type: number
  733. starttime:
  734. description: 预售开始时间
  735. type: string
  736. tradedate:
  737. description: 交易日(yyyyMMdd)
  738. type: string
  739. tradeprice:
  740. description: 成交价[大宗]
  741. type: number
  742. required:
  743. - goodsid
  744. type: object
  745. delivery.QueryDeliveryRelationRsp:
  746. properties:
  747. begindate:
  748. description: 起始日期(yyyyMMdd)
  749. type: string
  750. buytemplateid:
  751. description: 买履约计划模板ID
  752. type: integer
  753. deliverygoodscode:
  754. description: 品种代码
  755. type: string
  756. deliverygoodsid:
  757. description: 交割商品
  758. type: integer
  759. deliverygoodsname:
  760. description: 品种名称
  761. type: string
  762. deliverymode:
  763. description: 交割方式 - 1:点选式 2:申报式
  764. type: integer
  765. deliverypricerule:
  766. description: 交割价规则- 1:行情价 2:建仓价
  767. type: integer
  768. deliverytype:
  769. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  770. type: integer
  771. enddate:
  772. description: 结束日期(yyyyMMdd)
  773. type: string
  774. goodscode:
  775. description: 商品代码
  776. type: string
  777. goodsid:
  778. description: 交易合约ID
  779. type: integer
  780. goodsname:
  781. description: 商品名称
  782. type: string
  783. marketid:
  784. description: 市场ID
  785. type: integer
  786. mindeliveryqty:
  787. description: 最小交割系数(K)
  788. type: integer
  789. p2deliveryprice:
  790. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  791. type: number
  792. p2deliveryratio:
  793. description: P2合约系数(p)
  794. type: integer
  795. p2goodsid:
  796. description: P2合约ID
  797. type: integer
  798. p2pricemode:
  799. description: P2合约价格方式 - 1:商品价 2:固定值
  800. type: integer
  801. pdeliveryprice:
  802. description: P合约价格(商品价时填写0,固定值时填写固定值)
  803. type: number
  804. pdeliveryratio:
  805. description: P合约系数(n)
  806. type: integer
  807. pgoodsid:
  808. description: P合约ID
  809. type: integer
  810. ppricemode:
  811. description: P合约价格方式 - 1:商品价 2:固定值
  812. type: integer
  813. rratio:
  814. description: 兑换系数(R)
  815. type: integer
  816. rratio1:
  817. description: 兑换系数(交易合约)(R1)
  818. type: integer
  819. rratio2:
  820. description: 兑换系数(仓单标准)(R2)
  821. type: integer
  822. selltemplateid:
  823. description: 卖履约计划模板ID
  824. type: integer
  825. wrstandardid:
  826. description: 仓单标准ID
  827. type: integer
  828. xdeliveryratio:
  829. description: 交易合约系数(m)
  830. type: integer
  831. required:
  832. - begindate
  833. - enddate
  834. - goodsid
  835. - mindeliveryqty
  836. - xdeliveryratio
  837. type: object
  838. erms2.QueryArbitrageStrategyRsp:
  839. properties:
  840. applybasis:
  841. description: 申请基差
  842. type: number
  843. asapplyid:
  844. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  845. type: string
  846. asname:
  847. description: 策略名称
  848. type: string
  849. asno:
  850. description: 策略编号
  851. type: string
  852. basischangepl:
  853. description: 基差变动损益[结算更新]
  854. type: number
  855. biztype:
  856. description: 业务类型 - 1:正向套利 -1:反向套利
  857. type: integer
  858. closetradedate:
  859. description: 完结交易日(yyyyMMdd)
  860. type: string
  861. curbasis:
  862. description: 当前基差[结算更新]
  863. type: number
  864. deliverygoodsid:
  865. description: 现货品种ID
  866. type: integer
  867. futureavgprice:
  868. description: 期货建仓均价
  869. type: number
  870. futurecloseamount:
  871. description: 期货平仓金额
  872. type: number
  873. futurecloseqty:
  874. description: 期货平仓数量
  875. type: number
  876. futureopenamount:
  877. description: 期货开仓金额
  878. type: number
  879. futureopenqty:
  880. description: 期货开仓数量
  881. type: number
  882. futurepl:
  883. description: 期货总盈亏[结算更新]
  884. type: number
  885. futureqty:
  886. description: 期货持仓数量
  887. type: number
  888. futurequote:
  889. description: 期货额度
  890. type: number
  891. goodsgroupid:
  892. description: 期货品种ID
  893. type: integer
  894. marketid:
  895. description: 市场ID
  896. type: integer
  897. netexposure:
  898. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  899. type: number
  900. netexposurepl:
  901. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  902. type: number
  903. netexposurerate:
  904. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  905. type: number
  906. openbasis:
  907. description: 建仓基差
  908. type: number
  909. pricedspotqty:
  910. description: 已定价现货数量
  911. type: number
  912. pricedspotqtynotax:
  913. description: 已定价现货不含税数量
  914. type: number
  915. remark:
  916. description: 备注
  917. type: string
  918. spotavgprice:
  919. description: 现货均价
  920. type: number
  921. spotbuyamount:
  922. description: 现货采购金额
  923. type: number
  924. spotbuyqty:
  925. description: 现货采购数量
  926. type: number
  927. spotpl:
  928. description: 现货总盈亏[结算更新]
  929. type: number
  930. spotquota:
  931. description: 现货额度
  932. type: number
  933. spotsellamount:
  934. description: 现货销售金额
  935. type: number
  936. spotsellqty:
  937. description: 现货销售数量
  938. type: number
  939. spotusedquota:
  940. description: 现货占用资金
  941. type: number
  942. strategystatus:
  943. description: 策略状态 - 0:未结束 1:已结束
  944. type: integer
  945. totalpl:
  946. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  947. type: number
  948. tradedate:
  949. description: 交易日(yyyyMMdd)
  950. type: string
  951. updatetime:
  952. description: 更新时间
  953. type: string
  954. usedquota:
  955. description: 已占用资金
  956. type: number
  957. userid:
  958. description: 所属机构
  959. type: integer
  960. required:
  961. - asapplyid
  962. type: object
  963. erms2.QueryInnerTradeDetailRsp:
  964. properties:
  965. accountid:
  966. description: 账号ID
  967. type: integer
  968. agreeunit:
  969. description: 合约单位
  970. type: number
  971. asapplyid:
  972. description: 策略申请ID
  973. type: integer
  974. asname:
  975. description: 策略名称
  976. type: string
  977. asno:
  978. description: 策略编号
  979. type: string
  980. buyorsell:
  981. description: 方向 - 0:买 1:卖
  982. type: integer
  983. channelbuildtype:
  984. description: 委托单据类型 0:无 1:建仓 2:平仓
  985. type: integer
  986. closetype:
  987. description: 平仓方式 - 0:无 1:平今 2:平昨
  988. type: integer
  989. decimalplace:
  990. description: 报价小数位
  991. type: integer
  992. detailtype:
  993. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  994. type: integer
  995. exexchangecode:
  996. description: 外部交易所代码
  997. type: string
  998. exexchangename:
  999. description: 外部交易所名称
  1000. type: string
  1001. goodscode:
  1002. description: 商品代码(合约)
  1003. type: string
  1004. goodsgroupid:
  1005. description: 商品组ID(品种ID)
  1006. type: integer
  1007. goodsgroupname:
  1008. description: 商品组名称(品种)
  1009. type: string
  1010. goodsid:
  1011. description: 商品ID
  1012. type: integer
  1013. goodsname:
  1014. description: 商品名称(合约)
  1015. type: string
  1016. goodunit:
  1017. description: 报价单位
  1018. type: string
  1019. marketid:
  1020. description: 市场ID
  1021. type: integer
  1022. orderid:
  1023. description: 委托单号
  1024. type: string
  1025. outgoodscode:
  1026. description: 商品代码(外部)
  1027. type: string
  1028. relatedouttradeid:
  1029. description: 关联外部成交单ID
  1030. type: string
  1031. remark:
  1032. description: 备注
  1033. type: string
  1034. spotcontractid:
  1035. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1036. type: integer
  1037. spotcontractno:
  1038. description: 现货合同编号
  1039. type: string
  1040. tradeid:
  1041. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1042. type: string
  1043. tradeprice:
  1044. description: 成交价格
  1045. type: number
  1046. tradeqty:
  1047. description: 成交数量
  1048. type: integer
  1049. tradetime:
  1050. description: 成交时间
  1051. type: string
  1052. updatetime:
  1053. description: 更新时间
  1054. type: string
  1055. required:
  1056. - asapplyid
  1057. - buyorsell
  1058. - goodscode
  1059. - goodsgroupid
  1060. - goodsgroupname
  1061. - goodsname
  1062. - tradeid
  1063. type: object
  1064. erms2.QuerySpotContractRsp:
  1065. properties:
  1066. accountid:
  1067. description: 资金账户ID
  1068. type: integer
  1069. areauserid:
  1070. description: 所属机构
  1071. type: integer
  1072. closedate:
  1073. description: 终止日期
  1074. type: string
  1075. closeremark:
  1076. description: 结束备注
  1077. type: string
  1078. closetradedate:
  1079. description: 完结交易日(yyyyMMdd)
  1080. type: string
  1081. closetype:
  1082. description: 终止类型 - 1:违约 2:提前终止
  1083. type: integer
  1084. contractamount:
  1085. description: 合同金额
  1086. type: number
  1087. contractattachment:
  1088. description: 合同附件
  1089. type: string
  1090. contractno:
  1091. description: 现货合同编号
  1092. type: string
  1093. contractqty:
  1094. description: 合同数量(数值) (用于计算)
  1095. type: number
  1096. contractqtychar:
  1097. description: 合同数量\已订价数量 (用于显示)
  1098. type: string
  1099. contractstatus:
  1100. description: 合同状态 - 0:未结束 1:已结束
  1101. type: integer
  1102. contracttype:
  1103. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1104. type: integer
  1105. customeraccountid:
  1106. description: 客户资金账户ID
  1107. type: integer
  1108. customeruserid:
  1109. description: 客户ID
  1110. type: integer
  1111. deliverygoodsdesc:
  1112. description: 品种说明
  1113. type: string
  1114. deliverygoodsid:
  1115. description: 现货品种ID
  1116. type: integer
  1117. handlestatus:
  1118. description: 处理状态
  1119. type: integer
  1120. invoiceatt:
  1121. description: 发票附件
  1122. type: string
  1123. invoicedatetime:
  1124. description: 开收票更新时间
  1125. type: string
  1126. invoiceopentime:
  1127. description: 开票时间
  1128. type: string
  1129. invoiceremark:
  1130. description: 发票备注
  1131. type: string
  1132. invoicestatus:
  1133. description: 开收票状态 - 0:未开票 1:已开票
  1134. type: integer
  1135. lastdate:
  1136. description: 交货时间
  1137. type: string
  1138. marketid:
  1139. description: 市场ID
  1140. type: integer
  1141. paydatetime:
  1142. description: 收付款更新时间
  1143. type: string
  1144. payremark:
  1145. description: 收付款备注
  1146. type: string
  1147. paystatus:
  1148. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1149. type: integer
  1150. positionqty:
  1151. description: 头寸数量 - 合同数量去小数部分
  1152. type: integer
  1153. producttype:
  1154. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1155. type: integer
  1156. relatedqty:
  1157. description: 已关联数量
  1158. type: number
  1159. relatedstatus:
  1160. description: 关联完结状态 - 0:未结束 1:已结束
  1161. type: integer
  1162. remark:
  1163. description: 备注
  1164. type: string
  1165. signdate:
  1166. description: 签订日期
  1167. type: string
  1168. spotcontractid:
  1169. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1170. type: string
  1171. spotdatetime:
  1172. description: 收发货更新时间
  1173. type: string
  1174. spotprice:
  1175. description: 价格
  1176. type: number
  1177. spotremark:
  1178. description: 收发货备注
  1179. type: string
  1180. spotstatus:
  1181. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1182. type: integer
  1183. tradedate:
  1184. description: 交易日(yyyyMMdd)
  1185. type: string
  1186. userid:
  1187. description: 业务员用户ID
  1188. type: integer
  1189. warehouseid:
  1190. description: 仓库ID
  1191. type: integer
  1192. wrfactortypeid:
  1193. description: 仓单要素类型ID
  1194. type: integer
  1195. wrstandardid:
  1196. description: 仓单标准ID(SEQ_WRSTANDARD)
  1197. type: integer
  1198. required:
  1199. - spotcontractid
  1200. type: object
  1201. erms3.AddSpotContractApplyReq:
  1202. properties:
  1203. accountid:
  1204. description: 资金账户ID
  1205. type: integer
  1206. areauserid:
  1207. description: 所属机构
  1208. type: integer
  1209. contractattachment:
  1210. description: 合同附件
  1211. type: string
  1212. contractno:
  1213. description: 现货合同编号
  1214. type: string
  1215. contracttype:
  1216. description: 现货合同类型 - 1:采购 -1:销售
  1217. type: integer
  1218. creatorid:
  1219. description: 申请人
  1220. type: integer
  1221. customeraccountid:
  1222. description: 客户资金账户ID
  1223. type: integer
  1224. customeruserid:
  1225. description: 客户ID
  1226. type: integer
  1227. details:
  1228. description: 明细
  1229. items:
  1230. $ref: '#/definitions/erms3.SoptContractDetail'
  1231. type: array
  1232. lastdate:
  1233. description: 交货时间
  1234. type: string
  1235. marketid:
  1236. description: 市场ID
  1237. type: integer
  1238. orimargin:
  1239. description: 初始保证金
  1240. type: number
  1241. orimarginpayer:
  1242. description: 初始保证金支付方 -1:买方 2:卖方
  1243. type: integer
  1244. remark:
  1245. description: 备注
  1246. type: string
  1247. signdate:
  1248. description: 签订日期
  1249. type: string
  1250. required:
  1251. - accountid
  1252. - areauserid
  1253. - contractno
  1254. - contracttype
  1255. - customeraccountid
  1256. - customeruserid
  1257. - details
  1258. - marketid
  1259. - orimargin
  1260. - orimarginpayer
  1261. - signdate
  1262. type: object
  1263. erms3.AddSpotContractApplyRsp:
  1264. properties:
  1265. contractno:
  1266. description: 现货合同编号
  1267. type: string
  1268. spotcontractid:
  1269. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  1270. type: integer
  1271. required:
  1272. - contractno
  1273. type: object
  1274. erms3.CustomerInfo:
  1275. properties:
  1276. accountids:
  1277. description: 资金账户ID列表
  1278. items:
  1279. type: integer
  1280. type: array
  1281. customername:
  1282. description: 名称(企业名称)
  1283. type: string
  1284. mobile:
  1285. description: 手机号码
  1286. type: string
  1287. userid:
  1288. description: 用户ID
  1289. type: integer
  1290. required:
  1291. - userid
  1292. type: object
  1293. erms3.QuerySpotContractAppleFormRsp:
  1294. properties:
  1295. goodses:
  1296. description: 合约列表
  1297. items:
  1298. $ref: '#/definitions/models.GoodsIDAndName'
  1299. type: array
  1300. oppositeusers:
  1301. description: 对方账号列表
  1302. items:
  1303. $ref: '#/definitions/erms3.CustomerInfo'
  1304. type: array
  1305. ouruser:
  1306. $ref: '#/definitions/erms3.CustomerInfo'
  1307. description: 我方账号
  1308. type: object
  1309. warehouseinfos:
  1310. description: 仓库信息列表
  1311. items:
  1312. $ref: '#/definitions/models.Warehouseinfo'
  1313. type: array
  1314. wrstandards:
  1315. description: 仓单标准列表
  1316. items:
  1317. $ref: '#/definitions/models.WRStandardInfo'
  1318. type: array
  1319. type: object
  1320. erms3.QuerySpotContractInfoRsp:
  1321. properties:
  1322. accountid:
  1323. description: 表示交易员ID.
  1324. type: integer
  1325. curdeliveryqty:
  1326. description: 表示未交收量.
  1327. type: number
  1328. customername:
  1329. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  1330. type: string
  1331. deliverygoodsid:
  1332. description: 表示品种ID.
  1333. type: string
  1334. deliveryqty:
  1335. description: 表示交收量.
  1336. type: number
  1337. matchaccountid:
  1338. description: 表示业务员ID.
  1339. type: integer
  1340. matchcustomername:
  1341. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  1342. type: string
  1343. priceqty:
  1344. description: 表示定价量.
  1345. type: number
  1346. relatedbizid:
  1347. description: 表示业务ID.
  1348. type: string
  1349. signdate:
  1350. description: 表示签订日期.
  1351. type: string
  1352. spotcontractid:
  1353. description: 合同ID
  1354. type: string
  1355. status:
  1356. description: 表示状态,0-履约中 1-已完成.
  1357. type: integer
  1358. totalqty:
  1359. description: 表示合同量.
  1360. type: number
  1361. unpricedqty:
  1362. description: 表示未定价量.
  1363. type: number
  1364. wrstandardname:
  1365. description: 表示商品ID.
  1366. type: string
  1367. type: object
  1368. erms3.SoptContractDetail:
  1369. properties:
  1370. deliverygoodsdesc:
  1371. description: 现货品种说明
  1372. type: string
  1373. deliverygoodsid:
  1374. description: 现货品种ID
  1375. type: integer
  1376. deliverygoodsname:
  1377. description: 现货品种名称
  1378. type: string
  1379. pointdesc:
  1380. description: 点价描述
  1381. type: string
  1382. producttype:
  1383. description: 产品类型 1:标准仓单 2:等标 3:非标
  1384. type: integer
  1385. producttypename:
  1386. description: 产品类型名称
  1387. type: string
  1388. spotPointOrderVoList:
  1389. description: 点价列表
  1390. items:
  1391. $ref: '#/definitions/erms3.SpotPointOrder'
  1392. type: array
  1393. spotPriceOrderList:
  1394. description: 定价列表
  1395. items:
  1396. $ref: '#/definitions/erms3.SpotPriceOrder'
  1397. type: array
  1398. unitname:
  1399. description: 单位名称
  1400. type: string
  1401. warehouseid:
  1402. description: 仓库ID
  1403. type: integer
  1404. warehousename:
  1405. description: 仓库名称
  1406. type: string
  1407. wrstandardid:
  1408. description: 交易标的ID
  1409. type: integer
  1410. wrstandardname:
  1411. description: 交易标的名称
  1412. type: string
  1413. required:
  1414. - deliverygoodsid
  1415. - producttype
  1416. - unitname
  1417. - warehouseid
  1418. - wrstandardid
  1419. - wrstandardname
  1420. type: object
  1421. erms3.SpotPointOrder:
  1422. properties:
  1423. basic:
  1424. description: 基差
  1425. type: number
  1426. deliveryendtdate:
  1427. description: 交收结束日期
  1428. type: string
  1429. deliverystartdate:
  1430. description: 交收开始日期
  1431. type: string
  1432. enddate:
  1433. description: 点价结束日期
  1434. type: string
  1435. goodsid:
  1436. description: 商品ID
  1437. type: integer
  1438. goodsname:
  1439. description: 商品名称
  1440. type: string
  1441. qty:
  1442. description: 数量
  1443. type: number
  1444. startdate:
  1445. description: 点价开始日期
  1446. type: string
  1447. required:
  1448. - basic
  1449. - goodsid
  1450. - qty
  1451. type: object
  1452. erms3.SpotPriceOrder:
  1453. properties:
  1454. amount:
  1455. description: 金额
  1456. type: number
  1457. deliveryendtdate:
  1458. description: 交收结束日期
  1459. type: string
  1460. deliverystartdate:
  1461. description: 交收开始日期
  1462. type: string
  1463. price:
  1464. description: 价格
  1465. type: number
  1466. qty:
  1467. description: 数量
  1468. type: number
  1469. required:
  1470. - amount
  1471. - price
  1472. - qty
  1473. type: object
  1474. hsby.GetHsbyMyCountRsp:
  1475. properties:
  1476. myOrderDetailListingCount:
  1477. description: 我的订单求购中数量
  1478. type: integer
  1479. myOrderDetailPreCount:
  1480. description: 我的订单抢购中数量
  1481. type: integer
  1482. myPackageUnReceiveCount:
  1483. description: 我的包裹待收货数量
  1484. type: integer
  1485. myPackageUnSendCount:
  1486. description: 我的包裹待发货数量
  1487. type: integer
  1488. type: object
  1489. hsby.QueryProvincesAndCitiesRsp:
  1490. properties:
  1491. cities:
  1492. description: 市
  1493. items:
  1494. $ref: '#/definitions/models.Division'
  1495. type: array
  1496. province:
  1497. $ref: '#/definitions/models.Division'
  1498. description: 省
  1499. type: object
  1500. type: object
  1501. models.Division:
  1502. properties:
  1503. autoid:
  1504. description: 自增ID
  1505. type: integer
  1506. divisioncode:
  1507. description: 行政代码
  1508. type: string
  1509. divisionlevel:
  1510. description: 行政级别
  1511. type: string
  1512. divisionname:
  1513. description: 行政名称
  1514. type: string
  1515. modifierid:
  1516. description: 修改人
  1517. type: integer
  1518. modifytime:
  1519. description: 修改时间
  1520. type: string
  1521. parentcode:
  1522. description: 上级行政代码
  1523. type: string
  1524. pathname:
  1525. description: 路径名称
  1526. type: string
  1527. postcode:
  1528. description: 邮政编码
  1529. type: string
  1530. separablename:
  1531. description: 可拆分的全称
  1532. type: string
  1533. shortcode:
  1534. description: 地区简码
  1535. type: string
  1536. required:
  1537. - autoid
  1538. - divisioncode
  1539. type: object
  1540. models.GoodsIDAndName:
  1541. properties:
  1542. goodscode:
  1543. description: 商品代码(内部)
  1544. type: string
  1545. goodsid:
  1546. description: 商品ID(自增ID SEQ_GOODS)
  1547. type: integer
  1548. goodsname:
  1549. description: 商品名称
  1550. type: string
  1551. marketid:
  1552. description: 所属市场ID
  1553. type: integer
  1554. required:
  1555. - goodscode
  1556. - goodsid
  1557. - goodsname
  1558. - marketid
  1559. type: object
  1560. models.HsbyBuyMyTradeDetail:
  1561. properties:
  1562. accountid:
  1563. description: 账户ID[报价币种]
  1564. type: integer
  1565. agreeunit:
  1566. description: 合约单位
  1567. type: number
  1568. amount:
  1569. description: 金额 = 价格 * 数量 * 合约单位
  1570. type: number
  1571. buyorsell:
  1572. description: 买卖 - 0:买 1:卖
  1573. type: integer
  1574. currencysign:
  1575. description: 货币符号
  1576. type: string
  1577. decimalplace:
  1578. description: 报价小数位
  1579. type: integer
  1580. goodscode:
  1581. description: 商品代码(内部)
  1582. type: string
  1583. goodsid:
  1584. description: 商品ID
  1585. type: integer
  1586. goodsname:
  1587. description: 商品名称
  1588. type: string
  1589. marketid:
  1590. description: 市场ID
  1591. type: integer
  1592. orderid:
  1593. description: 单号(成交单号)
  1594. type: string
  1595. picurls1:
  1596. description: 预售商品介绍图片[多张用逗号分隔]
  1597. type: string
  1598. picurls2:
  1599. description: 挂牌商品介绍图片[多张用逗号分隔]
  1600. type: string
  1601. price:
  1602. description: 价格
  1603. type: number
  1604. qty:
  1605. description: 数量
  1606. type: integer
  1607. time:
  1608. description: 时间
  1609. type: string
  1610. trademode:
  1611. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  1612. type: integer
  1613. vendorname1:
  1614. description: 预售商品供应商名称
  1615. type: string
  1616. vendorname2:
  1617. description: 挂牌商品供应商名称
  1618. type: string
  1619. required:
  1620. - accountid
  1621. - buyorsell
  1622. - goodscode
  1623. - goodsid
  1624. - goodsname
  1625. - marketid
  1626. - orderid
  1627. - qty
  1628. - time
  1629. - trademode
  1630. type: object
  1631. models.HsbyGoodsOrderDetail:
  1632. properties:
  1633. buyorsell:
  1634. description: 买卖 - 0:买 1:卖
  1635. type: integer
  1636. currencysign:
  1637. description: 货币符号
  1638. type: string
  1639. customername:
  1640. description: 客户名称(企业名称),已脱敏
  1641. type: string
  1642. enableqty:
  1643. description: 可用数量
  1644. type: integer
  1645. goodunit:
  1646. description: 报价单位
  1647. type: string
  1648. orderid:
  1649. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1650. type: string
  1651. orderprice:
  1652. description: 委托价格
  1653. type: number
  1654. ordertime:
  1655. description: 委托时间
  1656. type: string
  1657. required:
  1658. - buyorsell
  1659. - orderid
  1660. - ordertime
  1661. type: object
  1662. models.HsbyListingGoodsDetail:
  1663. properties:
  1664. agreeunit:
  1665. description: 合约单位
  1666. type: number
  1667. currency:
  1668. description: 货币
  1669. type: string
  1670. currencysign:
  1671. description: 货币符号
  1672. type: string
  1673. decimalplace:
  1674. description: 报价小数位
  1675. type: integer
  1676. desccityid:
  1677. description: 目的地(市)ID
  1678. type: integer
  1679. descprovinceid:
  1680. description: 目的地(省)ID
  1681. type: integer
  1682. goodscode:
  1683. description: 商品代码(内部)
  1684. type: string
  1685. goodsdesc:
  1686. description: 商品详情
  1687. type: string
  1688. goodsid:
  1689. description: 商品ID(自增ID SEQ_GOODS)
  1690. type: integer
  1691. goodsname:
  1692. description: 商品名称
  1693. type: string
  1694. hotindex:
  1695. description: 景点热度
  1696. type: integer
  1697. last:
  1698. description: 现价
  1699. type: number
  1700. limitdown:
  1701. description: 跌停价
  1702. type: number
  1703. limitup:
  1704. description: 涨停价
  1705. type: number
  1706. lotsize:
  1707. description: 手数最小变动单位
  1708. type: integer
  1709. marketid:
  1710. description: 所属市场ID
  1711. type: integer
  1712. picurls:
  1713. description: 介绍图片[多张用逗号分隔]
  1714. type: string
  1715. quoteminunit:
  1716. description: 行情最小变动单位 [整数,报价小数位一起使用]
  1717. type: integer
  1718. stepvalue:
  1719. description: 价格最小变动单位
  1720. type: number
  1721. trademode:
  1722. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  1723. type: integer
  1724. vendorattr:
  1725. description: 供应商附件(多张,逗号分隔)
  1726. type: string
  1727. vendorname:
  1728. description: 供应商名称
  1729. type: string
  1730. vendorphone:
  1731. description: 供应商客服电话
  1732. type: string
  1733. videourls:
  1734. description: 介绍视频[多张用逗号分隔]
  1735. type: string
  1736. required:
  1737. - goodscode
  1738. - goodsid
  1739. - goodsname
  1740. - marketid
  1741. - trademode
  1742. type: object
  1743. models.HsbyMyGoods:
  1744. properties:
  1745. accountid:
  1746. description: 账号Id
  1747. type: integer
  1748. agreeunit:
  1749. description: 合约单位
  1750. type: number
  1751. buyaverageprice:
  1752. description: 持仓均价
  1753. type: number
  1754. buycurholderamount:
  1755. description: 买当前持仓总金额[商品币种]
  1756. type: number
  1757. buycurpositionqty:
  1758. description: 买当前持仓总数量
  1759. type: integer
  1760. currencysign:
  1761. description: 货币符号
  1762. type: string
  1763. decimalplace:
  1764. description: 报价小数位
  1765. type: integer
  1766. enableqty:
  1767. description: 可用数量
  1768. type: integer
  1769. goodscode:
  1770. description: 商品代码(内部)
  1771. type: string
  1772. goodsid:
  1773. description: 商品Id
  1774. type: integer
  1775. goodsname:
  1776. description: 商品名称
  1777. type: string
  1778. goodsstatus:
  1779. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  1780. type: integer
  1781. picurls:
  1782. description: 介绍图片[多张用逗号分隔]
  1783. type: string
  1784. required:
  1785. - accountid
  1786. - goodscode
  1787. - goodsid
  1788. - goodsname
  1789. type: object
  1790. models.HsbyMyPackage:
  1791. properties:
  1792. accountid:
  1793. description: 账户ID
  1794. type: integer
  1795. address:
  1796. description: 提货人详细地址
  1797. type: string
  1798. agreeunit:
  1799. description: 合约单位
  1800. type: number
  1801. amount:
  1802. description: 提货金额
  1803. type: number
  1804. auditer:
  1805. description: 审核人
  1806. type: integer
  1807. audittime:
  1808. description: 审核时间
  1809. type: string
  1810. averageprice:
  1811. description: 均价
  1812. type: number
  1813. cardnum:
  1814. description: 提货人证件号码
  1815. type: string
  1816. cardtypeid:
  1817. description: 提货人证件类型
  1818. type: integer
  1819. checkremark:
  1820. description: 审核备注
  1821. type: string
  1822. currencysign:
  1823. description: 货币符号
  1824. type: string
  1825. decimalplace:
  1826. description: 报价小数位
  1827. type: integer
  1828. goodscode:
  1829. description: 商品代码(内部)
  1830. type: string
  1831. goodsid:
  1832. description: 商品ID
  1833. type: integer
  1834. goodsname:
  1835. description: 商品名称
  1836. type: string
  1837. handlestatus:
  1838. description: 处理状态
  1839. type: integer
  1840. marketid:
  1841. description: 市场ID
  1842. type: integer
  1843. phonenum:
  1844. description: 提货人联系方式
  1845. type: string
  1846. picurls:
  1847. description: 介绍图片[多张用逗号分隔]
  1848. type: string
  1849. qty:
  1850. description: 提货数量
  1851. type: number
  1852. recivername:
  1853. description: 提货人姓名
  1854. type: string
  1855. reqtime:
  1856. description: 更新时间
  1857. type: string
  1858. takemode:
  1859. description: 提货方式 - 2:自提 3:配送
  1860. type: integer
  1861. takeorderid:
  1862. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  1863. type: string
  1864. takeorderstatus:
  1865. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  1866. type: integer
  1867. takeremark:
  1868. description: 提货备注
  1869. type: string
  1870. tradedate:
  1871. description: 交易日(yyyyMMdd)
  1872. type: string
  1873. userid:
  1874. description: 用户ID
  1875. type: integer
  1876. vendorname:
  1877. description: 供应商名称
  1878. type: string
  1879. required:
  1880. - goodscode
  1881. - goodsname
  1882. - takeorderid
  1883. type: object
  1884. models.HsbyPreGoods:
  1885. properties:
  1886. agreeunit:
  1887. description: 合约单位
  1888. type: number
  1889. currency:
  1890. description: 货币
  1891. type: string
  1892. currencysign:
  1893. description: 货币符号
  1894. type: string
  1895. decimalplace:
  1896. description: 报价小数位
  1897. type: integer
  1898. enableqty:
  1899. description: 剩余数量
  1900. type: integer
  1901. goodscode:
  1902. description: 商品代码(内部)
  1903. type: string
  1904. goodsid:
  1905. description: 商品ID(自增ID SEQ_GOODS)
  1906. type: integer
  1907. goodsname:
  1908. description: 商品名称
  1909. type: string
  1910. goodsstatus:
  1911. description: 商品状态- 2:未上市 3:上市
  1912. type: integer
  1913. lasttradedate:
  1914. description: 最后交易日期(状态:待退市)
  1915. type: string
  1916. listingdate:
  1917. description: 交易开始日期
  1918. type: string
  1919. marketid:
  1920. description: 所属市场ID
  1921. type: integer
  1922. picurls:
  1923. description: 介绍图片[多张用逗号分隔]
  1924. type: string
  1925. presaledqty:
  1926. description: 已预售量(预售结束时更新)
  1927. type: integer
  1928. presaleqty:
  1929. description: 预售数量
  1930. type: integer
  1931. quoteminunit:
  1932. description: 行情最小变动单位 [整数,报价小数位一起使用]
  1933. type: integer
  1934. refprice:
  1935. description: 参考价格[一口价]
  1936. type: number
  1937. relatedgoodsid:
  1938. description: 关联交易合约ID
  1939. type: integer
  1940. trademode:
  1941. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  1942. type: integer
  1943. videourls:
  1944. description: 介绍视频[多张用逗号分隔]
  1945. type: string
  1946. required:
  1947. - goodscode
  1948. - goodsid
  1949. - goodsname
  1950. - marketid
  1951. - trademode
  1952. type: object
  1953. models.HsbyPreGoodsDetail:
  1954. properties:
  1955. agreeunit:
  1956. description: 合约单位
  1957. type: number
  1958. buymaxqty:
  1959. description: 购买上限 [71] - 0为不限
  1960. type: integer
  1961. currency:
  1962. description: 货币
  1963. type: string
  1964. currencysign:
  1965. description: 货币符号
  1966. type: string
  1967. customername:
  1968. description: 发行单位
  1969. type: string
  1970. decimalplace:
  1971. description: 报价小数位
  1972. type: integer
  1973. desccityid:
  1974. description: 目的地(市)ID
  1975. type: integer
  1976. descprovinceid:
  1977. description: 目的地(省)ID
  1978. type: integer
  1979. enableqty:
  1980. description: 剩余数量
  1981. type: integer
  1982. goodscode:
  1983. description: 商品代码(内部)
  1984. type: string
  1985. goodsdesc:
  1986. description: 商品详情
  1987. type: string
  1988. goodsid:
  1989. description: 商品ID(自增ID SEQ_GOODS)
  1990. type: integer
  1991. goodsname:
  1992. description: 商品名称
  1993. type: string
  1994. goodsstatus:
  1995. description: 商品状态- 2:未上市 3:上市
  1996. type: integer
  1997. goodunit:
  1998. description: 报价单位
  1999. type: string
  2000. lasttradedate:
  2001. description: 最后交易日期(状态:待退市)
  2002. type: string
  2003. listingdate:
  2004. description: 交易开始日期
  2005. type: string
  2006. lotsize:
  2007. description: 手数最小变动单位
  2008. type: integer
  2009. marketid:
  2010. description: 所属市场ID
  2011. type: integer
  2012. picurls:
  2013. description: 介绍图片[多张用逗号分隔]
  2014. type: string
  2015. presaledqty:
  2016. description: 已预售量(预售结束时更新)
  2017. type: integer
  2018. presaleqty:
  2019. description: 预售数量
  2020. type: integer
  2021. quoteminunit:
  2022. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2023. type: integer
  2024. refprice:
  2025. description: 参考价格[一口价]
  2026. type: number
  2027. relatedgoodsid:
  2028. description: 关联交易合约ID
  2029. type: integer
  2030. stepvalue:
  2031. description: 价格最小变动单位
  2032. type: number
  2033. trademode:
  2034. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  2035. type: integer
  2036. vendorattr:
  2037. description: 供应商附件(多张,逗号分隔)
  2038. type: string
  2039. vendorname:
  2040. description: 供应商名称
  2041. type: string
  2042. vendorphone:
  2043. description: 供应商客服电话
  2044. type: string
  2045. videourls:
  2046. description: 介绍视频[多张用逗号分隔]
  2047. type: string
  2048. required:
  2049. - goodscode
  2050. - goodsid
  2051. - goodsname
  2052. - marketid
  2053. - trademode
  2054. type: object
  2055. models.HsbySellMyDetail:
  2056. properties:
  2057. accountid:
  2058. description: 账户ID[报价币种]
  2059. type: integer
  2060. agreeunit:
  2061. description: 合约单位
  2062. type: number
  2063. amount:
  2064. description: 金额 = 价格 * 数量 * 合约单位
  2065. type: number
  2066. buyorsell:
  2067. description: 买卖 - 0:买 1:卖
  2068. type: integer
  2069. currencysign:
  2070. description: 货币符号
  2071. type: string
  2072. decimalplace:
  2073. description: 报价小数位
  2074. type: integer
  2075. goodscode:
  2076. description: 商品代码(内部)
  2077. type: string
  2078. goodsid:
  2079. description: 商品ID
  2080. type: integer
  2081. goodsname:
  2082. description: 商品名称
  2083. type: string
  2084. marketid:
  2085. description: 市场ID
  2086. type: integer
  2087. orderid:
  2088. description: 单号(已发布 - 委托单号;已完成 - 成交单号)
  2089. type: string
  2090. ordertype:
  2091. description: 单据类型:0 - 已发布, 1 - 已完成
  2092. type: integer
  2093. picurls:
  2094. description: 介绍图片[多张用逗号分隔]
  2095. type: string
  2096. price:
  2097. description: 价格
  2098. type: number
  2099. qty:
  2100. description: 数量
  2101. type: integer
  2102. time:
  2103. description: 时间
  2104. type: string
  2105. trademode:
  2106. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  2107. type: integer
  2108. vendorname:
  2109. description: 供应商名称
  2110. type: string
  2111. required:
  2112. - accountid
  2113. - buyorsell
  2114. - goodscode
  2115. - goodsid
  2116. - goodsname
  2117. - marketid
  2118. - orderid
  2119. - qty
  2120. - time
  2121. - trademode
  2122. type: object
  2123. models.HsbyTopGoods:
  2124. properties:
  2125. agreeunit:
  2126. description: 合约单位
  2127. type: number
  2128. currency:
  2129. description: 货币
  2130. type: string
  2131. currencysign:
  2132. description: 货币符号
  2133. type: string
  2134. decimalplace:
  2135. description: 报价小数位
  2136. type: integer
  2137. goodscode:
  2138. description: 商品代码(内部)
  2139. type: string
  2140. goodsid:
  2141. description: 商品ID(自增ID SEQ_GOODS)
  2142. type: integer
  2143. goodsname:
  2144. description: 商品名称
  2145. type: string
  2146. hotindex:
  2147. description: 景点热度
  2148. type: integer
  2149. last:
  2150. description: 现价
  2151. type: number
  2152. marketid:
  2153. description: 所属市场ID
  2154. type: integer
  2155. picurls:
  2156. description: 介绍图片[多张用逗号分隔]
  2157. type: string
  2158. quoteminunit:
  2159. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2160. type: integer
  2161. trademode:
  2162. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  2163. type: integer
  2164. videourls:
  2165. description: 介绍视频[多张用逗号分隔]
  2166. type: string
  2167. required:
  2168. - goodscode
  2169. - goodsid
  2170. - goodsname
  2171. - marketid
  2172. - trademode
  2173. type: object
  2174. models.HybsMyBuyOrderDetail:
  2175. properties:
  2176. accountid:
  2177. description: 账户ID[报价币种]
  2178. type: integer
  2179. agreeunit:
  2180. description: 合约单位
  2181. type: number
  2182. buyorsell:
  2183. description: 买卖 - 0:买 1:卖
  2184. type: integer
  2185. cancelqty:
  2186. description: 撤单数量
  2187. type: integer
  2188. currencysign:
  2189. description: 货币符号
  2190. type: string
  2191. decimalplace:
  2192. description: 报价小数位
  2193. type: integer
  2194. goodscode:
  2195. description: 商品代码(内部)
  2196. type: string
  2197. goodsid:
  2198. description: 商品ID
  2199. type: integer
  2200. goodsname:
  2201. description: 商品名称
  2202. type: string
  2203. listingselecttype:
  2204. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  2205. type: integer
  2206. marketid:
  2207. description: 市场ID
  2208. type: integer
  2209. mybuystatus:
  2210. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  2211. type: integer
  2212. orderamount:
  2213. description: 委托金额
  2214. type: number
  2215. orderid:
  2216. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2217. type: string
  2218. orderprice:
  2219. description: 委托价格
  2220. type: number
  2221. orderqty:
  2222. description: 委托数量
  2223. type: integer
  2224. orderstatus:
  2225. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  2226. type: integer
  2227. ordertime:
  2228. description: 委托时间
  2229. type: string
  2230. picurls1:
  2231. description: 预售商品介绍图片[多张用逗号分隔]
  2232. type: string
  2233. picurls2:
  2234. description: 挂牌商品介绍图片[多张用逗号分隔]
  2235. type: string
  2236. trademode:
  2237. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  2238. type: integer
  2239. tradeqty:
  2240. description: 成交数量
  2241. type: integer
  2242. vendorname1:
  2243. description: 预售商品供应商名称
  2244. type: string
  2245. vendorname2:
  2246. description: 挂牌商品供应商名称
  2247. type: string
  2248. required:
  2249. - accountid
  2250. - buyorsell
  2251. - goodscode
  2252. - goodsid
  2253. - goodsname
  2254. - marketid
  2255. - orderid
  2256. - orderqty
  2257. - ordertime
  2258. - trademode
  2259. type: object
  2260. models.Messageboard:
  2261. properties:
  2262. createtime:
  2263. description: 创建时间
  2264. type: string
  2265. message:
  2266. description: 留言信息
  2267. type: string
  2268. messageboardid:
  2269. description: 留言簿ID(SEQ_MessageBoard)
  2270. type: integer
  2271. userid:
  2272. description: 用户ID
  2273. type: integer
  2274. required:
  2275. - messageboardid
  2276. type: object
  2277. models.OperationPrimaryMenu:
  2278. properties:
  2279. Children:
  2280. description: 二级功能菜单
  2281. items:
  2282. $ref: '#/definitions/models.OperationSecondaryMenu'
  2283. type: array
  2284. Key:
  2285. description: 菜单KEY
  2286. type: string
  2287. Label:
  2288. description: 菜单标题
  2289. type: string
  2290. type: object
  2291. models.OperationSecondaryMenu:
  2292. properties:
  2293. Key:
  2294. description: 菜单KEY
  2295. type: string
  2296. Label:
  2297. description: 菜单标题
  2298. type: string
  2299. TabList:
  2300. description: 三级功能菜单
  2301. items:
  2302. $ref: '#/definitions/models.OperationTabMenu'
  2303. type: array
  2304. type: object
  2305. models.OperationTabMenu:
  2306. properties:
  2307. Key:
  2308. description: 菜单KEY
  2309. type: string
  2310. Label:
  2311. description: 菜单标题
  2312. type: string
  2313. type: object
  2314. models.QuotePrimaryMenu:
  2315. properties:
  2316. Index:
  2317. description: 序号
  2318. type: integer
  2319. Key:
  2320. description: 键名
  2321. type: string
  2322. Name:
  2323. description: 菜单名称
  2324. type: string
  2325. SubMenus:
  2326. description: 子菜单
  2327. items:
  2328. $ref: '#/definitions/models.QuoteSecondaryMenu'
  2329. type: array
  2330. SubTitleType:
  2331. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  2332. type: integer
  2333. TradeModes:
  2334. description: 包含市场交易类型
  2335. type: string
  2336. type: object
  2337. models.QuoteSecondaryMenu:
  2338. properties:
  2339. ExExchangeCode:
  2340. description: 外部交易所代码
  2341. type: string
  2342. ExExchangeID:
  2343. description: 外部交易所ID
  2344. type: integer
  2345. GoodsGroupIDs:
  2346. description: 商品组ID列表
  2347. items:
  2348. type: integer
  2349. type: array
  2350. Index:
  2351. description: 序号
  2352. type: integer
  2353. MarketID:
  2354. description: 市场ID
  2355. type: integer
  2356. MenuTitle:
  2357. description: 菜单标题(市场名称或外部交易所名称)
  2358. type: string
  2359. TradeMode:
  2360. description: 交易模式
  2361. type: integer
  2362. type: object
  2363. models.SearchGoods:
  2364. properties:
  2365. goodscode:
  2366. description: 商品代码(内部)
  2367. type: string
  2368. goodsid:
  2369. description: 商品ID(自增ID SEQ_GOODS)
  2370. type: integer
  2371. goodsname:
  2372. description: 商品名称
  2373. type: string
  2374. marketid:
  2375. description: 所属市场ID
  2376. type: integer
  2377. marketname:
  2378. description: 市场名称
  2379. type: string
  2380. trademode:
  2381. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  2382. type: integer
  2383. required:
  2384. - goodscode
  2385. - goodsid
  2386. - goodsname
  2387. - marketid
  2388. - trademode
  2389. type: object
  2390. models.Szdz2imageconfig:
  2391. properties:
  2392. configid:
  2393. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  2394. type: integer
  2395. imagepath:
  2396. description: 图片
  2397. type: string
  2398. imagetype:
  2399. description: 类型 - 1:App首页轮播 2:我的
  2400. type: integer
  2401. sort:
  2402. description: 排序
  2403. type: integer
  2404. title:
  2405. description: 标题
  2406. type: string
  2407. url:
  2408. description: 链接
  2409. type: string
  2410. required:
  2411. - configid
  2412. type: object
  2413. models.Szdz3convertconfig:
  2414. properties:
  2415. canin:
  2416. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  2417. type: integer
  2418. canout:
  2419. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  2420. type: integer
  2421. converttype:
  2422. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  2423. type: integer
  2424. createtime:
  2425. description: 创建时间
  2426. type: string
  2427. creatorid:
  2428. description: 创建人
  2429. type: integer
  2430. daymaxvalue:
  2431. description: 当日最大转入限制
  2432. type: number
  2433. freezedays:
  2434. description: 冻结天数 [5:花生米转交易]
  2435. type: integer
  2436. innergoodsid:
  2437. description: 内部商品ID[交易]
  2438. type: integer
  2439. inratio:
  2440. description: 目标值
  2441. type: integer
  2442. modifierid:
  2443. description: 修改人
  2444. type: integer
  2445. modifytime:
  2446. description: 修改时间
  2447. type: string
  2448. outergoodscode:
  2449. description: 外部商品代码[JD\PD]
  2450. type: string
  2451. outratio:
  2452. description: 源值
  2453. type: integer
  2454. pddecimalplace:
  2455. description: PD小数位
  2456. type: integer
  2457. timemaxvalue:
  2458. description: 单次最大转入限制
  2459. type: number
  2460. timeminvalue:
  2461. description: 单次最小转入限制
  2462. type: number
  2463. required:
  2464. - converttype
  2465. - innergoodsid
  2466. - outergoodscode
  2467. type: object
  2468. models.Szdz3searchwhitelist:
  2469. properties:
  2470. createtime:
  2471. description: 创建时间
  2472. type: string
  2473. creatorid:
  2474. description: 创建人
  2475. type: integer
  2476. modifierid:
  2477. description: 修改人
  2478. type: integer
  2479. modifytime:
  2480. description: 修改时间
  2481. type: string
  2482. userid:
  2483. description: 用户ID
  2484. type: integer
  2485. required:
  2486. - userid
  2487. type: object
  2488. models.Tablecolumnconfig:
  2489. properties:
  2490. aligntype:
  2491. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  2492. type: integer
  2493. autoid:
  2494. description: AutoID
  2495. type: integer
  2496. columnfield:
  2497. description: 列字段
  2498. type: string
  2499. columntitle:
  2500. description: 列Title
  2501. type: string
  2502. columnwidth:
  2503. description: 列宽
  2504. type: string
  2505. formatterstring:
  2506. description: 格式化字符
  2507. type: string
  2508. formattertype:
  2509. description: 格式化类型
  2510. type: string
  2511. groupname:
  2512. description: 表头分组名称
  2513. type: string
  2514. isshow:
  2515. description: 是否显示 - 0:不显示 1:显示
  2516. type: integer
  2517. needsummary:
  2518. description: 是否需要汇总 - 0:不需要 1:需要
  2519. type: integer
  2520. orderindex:
  2521. description: 顺序
  2522. type: integer
  2523. remark:
  2524. description: 备注
  2525. type: string
  2526. summarytype:
  2527. description: 汇总类型 - 1:加总 2:最后一个
  2528. type: integer
  2529. tablekey:
  2530. description: 列表Key
  2531. type: string
  2532. required:
  2533. - autoid
  2534. type: object
  2535. models.Useraccount:
  2536. properties:
  2537. accountname:
  2538. description: 账户名称(机构名称)
  2539. type: string
  2540. accountstatus:
  2541. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2542. type: integer
  2543. auditremark:
  2544. description: 审核备注
  2545. type: string
  2546. audittime:
  2547. description: 审核时间
  2548. type: string
  2549. audituserid:
  2550. description: 审核人
  2551. type: integer
  2552. broker:
  2553. description: 所属经纪人ID
  2554. type: integer
  2555. canceltime:
  2556. description: 销户时间
  2557. type: string
  2558. canceluserid:
  2559. description: 销户人
  2560. type: integer
  2561. createtime:
  2562. description: 创建时间
  2563. type: string
  2564. creatorid:
  2565. description: 创建人
  2566. type: integer
  2567. hasauth:
  2568. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  2569. type: integer
  2570. isanonymous:
  2571. description: 是否匿名下单 - 0:否 1:是
  2572. type: integer
  2573. maxinvestornum:
  2574. description: 最大用户数(经纪会员下投资者个数)
  2575. type: integer
  2576. memberuserid:
  2577. description: 所属会员ID
  2578. type: integer
  2579. modifierid:
  2580. description: 修改人
  2581. type: integer
  2582. modifyremark:
  2583. description: 变更备注
  2584. type: string
  2585. modifystatus:
  2586. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  2587. type: integer
  2588. modifytime:
  2589. description: 修改时间
  2590. type: string
  2591. parentuserid:
  2592. description: 所属机构ID
  2593. type: integer
  2594. reckonaccountid:
  2595. description: 默认结算资金账号ID(机构分润使用) 作废
  2596. type: integer
  2597. refercount:
  2598. description: 推荐总人数
  2599. type: integer
  2600. refereeuserid:
  2601. description: 推荐人ID
  2602. type: integer
  2603. refernum:
  2604. description: 推荐码
  2605. type: string
  2606. subarealevelpath:
  2607. description: 子机构层级路径(逗号分隔,首尾加逗号)
  2608. type: string
  2609. userid:
  2610. description: 用户ID
  2611. type: integer
  2612. usertype:
  2613. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  2614. type: integer
  2615. required:
  2616. - userid
  2617. type: object
  2618. models.Userfavoritegoods:
  2619. properties:
  2620. goodsid:
  2621. description: 商品ID
  2622. type: integer
  2623. required:
  2624. - goodsid
  2625. type: object
  2626. models.Userinfo:
  2627. properties:
  2628. address:
  2629. description: 地址
  2630. type: string
  2631. attachment1:
  2632. description: 附件1
  2633. type: string
  2634. attachment2:
  2635. description: 附件2
  2636. type: string
  2637. bankaccount:
  2638. description: 银行帐号 (加密存储)
  2639. type: string
  2640. bankaccountname:
  2641. description: 收款人名称
  2642. type: string
  2643. bankcardfrontphotourl:
  2644. description: 银行卡正面照地址
  2645. type: string
  2646. bankid:
  2647. description: 银行编码
  2648. type: string
  2649. bankname:
  2650. description: 银行名称
  2651. type: string
  2652. biznature:
  2653. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2654. type: integer
  2655. bizscope:
  2656. description: 企业经营范围(企业)
  2657. type: string
  2658. cardbackphotourl:
  2659. description: 证件背面图片地址
  2660. type: string
  2661. cardfrontphotourl:
  2662. description: 证件正面图片地址
  2663. type: string
  2664. cardnum:
  2665. description: 证件号码(加密存储)
  2666. type: string
  2667. cardtypeid:
  2668. description: 证件类型ID
  2669. type: integer
  2670. cityid:
  2671. description: 市
  2672. type: integer
  2673. company:
  2674. description: 公司(个人)
  2675. type: string
  2676. contactname:
  2677. description: 联系人
  2678. type: string
  2679. countryid:
  2680. description: 国家
  2681. type: integer
  2682. createtime:
  2683. description: 创建时间
  2684. type: string
  2685. creatorid:
  2686. description: 创建人
  2687. type: integer
  2688. customername:
  2689. description: 客户名称(企业名称)
  2690. type: string
  2691. districtid:
  2692. description: 地区
  2693. type: integer
  2694. email:
  2695. description: 邮件(加密存储)
  2696. type: string
  2697. fax:
  2698. description: 传真(加密存储)
  2699. type: string
  2700. halfbodyphotourl:
  2701. description: 半身照地址
  2702. type: string
  2703. hasencrypt:
  2704. description: 数据是否已加密 - 0:未加密 1:已加密
  2705. type: integer
  2706. headurl:
  2707. description: 头像地址
  2708. type: string
  2709. legalcardbackphotourl:
  2710. description: 法人身份证背面照地址
  2711. type: string
  2712. legalcardfrontphotourl:
  2713. description: 法人身份证正面照地址
  2714. type: string
  2715. legalpersonname:
  2716. description: 法人姓名(企业)
  2717. type: string
  2718. mobile:
  2719. description: 手机号码(加密存储)
  2720. type: string
  2721. mobile2:
  2722. description: 手机号码[明文-尚志]
  2723. type: string
  2724. modifierid:
  2725. description: 修改人
  2726. type: integer
  2727. modifiertime:
  2728. description: 修改时间
  2729. type: string
  2730. needinvoice:
  2731. description: 是否需要发票 - 0:不需要 1:需要
  2732. type: integer
  2733. nickname:
  2734. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  2735. type: string
  2736. openmode:
  2737. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  2738. type: integer
  2739. otherurl:
  2740. description: 其它图片地址[使用分号分隔]
  2741. type: string
  2742. postalcode:
  2743. description: 邮政编码
  2744. type: string
  2745. provinceid:
  2746. description: 省
  2747. type: integer
  2748. qq:
  2749. description: QQ(加密存储
  2750. type: string
  2751. remark:
  2752. description: 备注
  2753. type: string
  2754. sex:
  2755. description: '用户性别 0: 女 1: 男'
  2756. type: integer
  2757. signpdfurl:
  2758. description: 签约pdf文件
  2759. type: string
  2760. telphone:
  2761. description: 联系电话(加密存储)
  2762. type: string
  2763. userid:
  2764. description: 用户ID
  2765. type: integer
  2766. userinfotype:
  2767. description: 用户信息类型 - 1:个人 2:企业
  2768. type: integer
  2769. userstatus:
  2770. description: 用户状态 - 1:正常 2:注销
  2771. type: integer
  2772. usertype:
  2773. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  2774. type: integer
  2775. wechat:
  2776. description: 微信(加密存储)
  2777. type: string
  2778. wskhinfo:
  2779. description: 开户申请信息(JSON)
  2780. type: string
  2781. required:
  2782. - userid
  2783. type: object
  2784. models.WRStandardInfo:
  2785. properties:
  2786. createtime:
  2787. description: 创建时间
  2788. type: string
  2789. creatorid:
  2790. description: 创建人
  2791. type: integer
  2792. deliverygoodsid:
  2793. description: 品种ID
  2794. type: integer
  2795. deliverygoodsname:
  2796. description: 交割商品名称
  2797. type: string
  2798. factoryitemjson:
  2799. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID, 逗号分隔'
  2800. type: string
  2801. isvalid:
  2802. description: 是否有效 - 0:无效 1:有效
  2803. type: integer
  2804. minivalue:
  2805. description: 最小变动值
  2806. type: integer
  2807. minivaluedp:
  2808. description: 最小变动值小数位
  2809. type: integer
  2810. realminivalue:
  2811. description: 实际最小变动值
  2812. type: integer
  2813. realminivaluedp:
  2814. description: 实际最小变动值小数位
  2815. type: integer
  2816. unitid:
  2817. description: 单位ID
  2818. type: integer
  2819. unitname:
  2820. description: 单位
  2821. type: string
  2822. updatetime:
  2823. description: 更新时间
  2824. type: string
  2825. updatorid:
  2826. description: 更新人
  2827. type: integer
  2828. wrsstatus:
  2829. description: 状态 - 作废 - 0:未激活 1:正常
  2830. type: integer
  2831. wrstandardcode:
  2832. description: 仓单标准代码
  2833. type: string
  2834. wrstandardid:
  2835. description: 仓单标准ID(SEQ_WRSTANDARD)
  2836. type: integer
  2837. wrstandardname:
  2838. description: 仓单标准名称
  2839. type: string
  2840. required:
  2841. - wrstandardid
  2842. type: object
  2843. models.Warehouseinfo:
  2844. properties:
  2845. address:
  2846. description: 详细地址
  2847. type: string
  2848. areauserid:
  2849. description: 所属机构
  2850. type: integer
  2851. autoid:
  2852. description: 自增ID
  2853. type: integer
  2854. cityid:
  2855. description: 市
  2856. type: integer
  2857. contactname:
  2858. description: 联系人
  2859. type: string
  2860. contactnum:
  2861. description: 联系电话
  2862. type: string
  2863. countryid:
  2864. description: 国家
  2865. type: integer
  2866. createtime:
  2867. description: 创建时间
  2868. type: string
  2869. districtid:
  2870. description: 区
  2871. type: integer
  2872. hasvideo:
  2873. description: 是否有视频 - 0:无 1:有
  2874. type: integer
  2875. provinceid:
  2876. description: 省
  2877. type: integer
  2878. remark:
  2879. description: 审核备注
  2880. type: string
  2881. videourl:
  2882. description: 视频地址
  2883. type: string
  2884. warehousecode:
  2885. description: 仓库代码
  2886. type: string
  2887. warehousename:
  2888. description: 仓库名称
  2889. type: string
  2890. warehousestatus:
  2891. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2892. type: integer
  2893. warehousetype:
  2894. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2895. type: integer
  2896. required:
  2897. - autoid
  2898. - warehousecode
  2899. type: object
  2900. order.QueryHisTradeDetailRsp:
  2901. properties:
  2902. accountid:
  2903. description: 账户ID[报价币种]
  2904. type: integer
  2905. buildtype:
  2906. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  2907. type: integer
  2908. buyorsell:
  2909. description: 方向 - 0:买 1:卖
  2910. type: integer
  2911. charge:
  2912. description: 手续费
  2913. type: number
  2914. closecharge:
  2915. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  2916. type: number
  2917. closeexchagechargevalue:
  2918. description: 平仓交易所手续费设置值
  2919. type: number
  2920. closefeealgorithm:
  2921. description: 平仓手续费收取方式 1:比率 2:固定
  2922. type: integer
  2923. closememberchargevalue:
  2924. description: 平仓会员手续费设置值
  2925. type: number
  2926. closepl:
  2927. description: 平仓盈亏
  2928. type: number
  2929. closepl2:
  2930. description: 平仓盈亏[逐笔]
  2931. type: number
  2932. closeqty:
  2933. description: 平仓数量(先建后平操作 需要记录)
  2934. type: integer
  2935. creditamount:
  2936. description: 授信金额
  2937. type: number
  2938. gcaccountid:
  2939. description: 账户ID[合约币种]
  2940. type: integer
  2941. goodscode:
  2942. description: 商品代码
  2943. type: string
  2944. goodsid:
  2945. description: 商品ID
  2946. type: integer
  2947. goodsname:
  2948. description: 商品名称
  2949. type: string
  2950. histradedate:
  2951. description: 历史交易日
  2952. type: string
  2953. intclosepl:
  2954. description: 整型盈亏(用于交易结算试算平衡-收益权)
  2955. type: integer
  2956. isconfirmexercise:
  2957. description: 是否确认行权- 0:否 1:是
  2958. type: integer
  2959. ismain:
  2960. description: 是否主单 - 0:不是 1:是
  2961. type: integer
  2962. ispreexercise:
  2963. description: 是否预申报- 0:否 1:是
  2964. type: integer
  2965. isreckoned:
  2966. description: 是否结算 - 0:未结算 1:已结算
  2967. type: integer
  2968. isvaliddata:
  2969. description: 是否有效 - 0:无效 1:有效
  2970. type: integer
  2971. listingselecttype:
  2972. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  2973. type: integer
  2974. marketid:
  2975. description: 市场ID
  2976. type: integer
  2977. marketname:
  2978. description: 市场名称
  2979. type: string
  2980. matchaccountid:
  2981. description: 对手账号id
  2982. type: integer
  2983. memberuserid:
  2984. description: 会员id 个人投资者 需要填写
  2985. type: integer
  2986. opencharge:
  2987. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  2988. type: number
  2989. openexchagechargevalue:
  2990. description: 建仓交易所手续费设置值
  2991. type: number
  2992. openfeealgorithm:
  2993. description: 建仓手续费收取方式 1:比率 2:固定
  2994. type: integer
  2995. openmemberchargevalue:
  2996. description: 建仓会员手续费设置值
  2997. type: number
  2998. openqty:
  2999. description: 开仓数量(先建后平操作 需要记录)
  3000. type: integer
  3001. optiontype:
  3002. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  3003. type: integer
  3004. orderid:
  3005. description: 委托单号
  3006. type: string
  3007. performanceplanid:
  3008. description: 履约计划ID[期权]
  3009. type: integer
  3010. performancestatus:
  3011. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  3012. type: integer
  3013. preexerciseprice:
  3014. description: 预申报价格
  3015. type: number
  3016. premium:
  3017. description: 权利金 - [持仓单的权利金]
  3018. type: number
  3019. relatedouttradeid:
  3020. description: 关联外部成交单ID
  3021. type: integer
  3022. status:
  3023. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  3024. type: integer
  3025. tradeamount:
  3026. description: 成交金额[账户币种,用于所有权]
  3027. type: number
  3028. tradedate:
  3029. description: 交易日(yyyyMMdd)
  3030. type: string
  3031. tradeid:
  3032. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3033. type: string
  3034. trademode:
  3035. description: 交易模式
  3036. type: integer
  3037. tradeprice:
  3038. description: 成交价格
  3039. type: number
  3040. tradeproperty:
  3041. description: 交易属性
  3042. type: integer
  3043. tradeqty:
  3044. description: 成交数量
  3045. type: integer
  3046. tradetime:
  3047. description: 成交时间
  3048. type: string
  3049. tradetype:
  3050. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  3051. type: integer
  3052. required:
  3053. - accountid
  3054. - buyorsell
  3055. - goodsid
  3056. - histradedate
  3057. - marketid
  3058. - memberuserid
  3059. - orderid
  3060. - tradeamount
  3061. - tradedate
  3062. - tradeid
  3063. - tradeprice
  3064. - tradeqty
  3065. - tradetime
  3066. type: object
  3067. order.QueryHisTradeOrderDetailRsp:
  3068. properties:
  3069. accountid:
  3070. description: 账户ID[报价币种]
  3071. type: integer
  3072. buildtype:
  3073. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  3074. type: integer
  3075. buyorsell:
  3076. description: 买卖 - 0:买 1:卖
  3077. type: integer
  3078. cancelorderid:
  3079. description: 撤单单号(撤单时填写)
  3080. type: string
  3081. cancelqty:
  3082. description: 撤单数量
  3083. type: integer
  3084. clientordertime:
  3085. description: 客户端委托时间
  3086. type: string
  3087. clientticket:
  3088. description: 客户端流水号
  3089. type: string
  3090. clienttype:
  3091. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  3092. type: integer
  3093. closeexchagechargevalue:
  3094. description: 平仓交易所手续费设置值
  3095. type: number
  3096. closefeealgorithm:
  3097. description: 平仓手续费收取方式 1:比率 2:固定
  3098. type: integer
  3099. closefreezecharge:
  3100. description: 平仓冻结手续费(先建后平操作,需要记录)
  3101. type: number
  3102. closememberchargevalue:
  3103. description: 平仓会员手续费设置值
  3104. type: number
  3105. closeqty:
  3106. description: 平仓数量(先建后平操作 需要记录)
  3107. type: integer
  3108. closetradeqty:
  3109. description: 平仓成交数量(先建后平操作,需要记录)
  3110. type: integer
  3111. closeunfreezecharge:
  3112. description: 平仓解冻手续费(先建后平操作,需要记录)
  3113. type: number
  3114. delistingtype:
  3115. description: 摘牌类型 - 1:价格最优 2:点选成交
  3116. type: integer
  3117. freezecharge:
  3118. description: 冻结手续费
  3119. type: number
  3120. freezemargin:
  3121. description: 冻结保证金(冻结交易金额)
  3122. type: number
  3123. gcaccountid:
  3124. description: 账户ID[合约币种]
  3125. type: integer
  3126. goodscode:
  3127. description: 商品代码
  3128. type: string
  3129. goodsid:
  3130. description: 商品ID
  3131. type: integer
  3132. goodsname:
  3133. description: 商品名称
  3134. type: string
  3135. histradedate:
  3136. description: 历史交易日
  3137. type: string
  3138. isconfirmexercise:
  3139. description: 是否确认行权- 0:否 1:是
  3140. type: integer
  3141. ispreexercise:
  3142. description: 是否预申报- 0:否 1:是
  3143. type: integer
  3144. isvaliddata:
  3145. description: 是否有效 - 0:无效 1:有效
  3146. type: integer
  3147. listingselecttype:
  3148. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  3149. type: integer
  3150. marginalgorithm:
  3151. description: 保证金收取方式 1:比率 2:固定
  3152. type: integer
  3153. marginvalue:
  3154. description: 即市保证金设置值
  3155. type: number
  3156. marketid:
  3157. description: 市场ID
  3158. type: integer
  3159. marketmaxsub:
  3160. description: 市价最大偏移范围
  3161. type: number
  3162. marketname:
  3163. description: 市场名称
  3164. type: string
  3165. memberuserid:
  3166. description: 所属会员UserID
  3167. type: integer
  3168. openexchagechargevalue:
  3169. description: 建仓交易所手续费设置值
  3170. type: number
  3171. openfeealgorithm:
  3172. description: 建仓手续费收取方式 1:比率 2:固定
  3173. type: integer
  3174. openfreezecharge:
  3175. description: 开仓冻结手续费(先建后平操作,需要记录)
  3176. type: number
  3177. openmemberchargevalue:
  3178. description: 建仓会员手续费设置值
  3179. type: number
  3180. openqty:
  3181. description: 开仓数量(先建后平操作,需要记录)
  3182. type: integer
  3183. opentradeqty:
  3184. description: 开仓成交数量(先建后平操作,需要记录)
  3185. type: integer
  3186. openunfreezecharge:
  3187. description: 开仓解冻手续费(先建后平操作,需要记录)
  3188. type: number
  3189. operatetype:
  3190. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  3191. type: integer
  3192. operatorid:
  3193. description: 登录账号(LoginID)
  3194. type: integer
  3195. optiontype:
  3196. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  3197. type: integer
  3198. orderid:
  3199. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3200. type: string
  3201. orderprice:
  3202. description: 委托价格
  3203. type: number
  3204. orderqty:
  3205. description: 委托数量
  3206. type: integer
  3207. ordersrc:
  3208. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  3209. type: integer
  3210. orderstatus:
  3211. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  3212. type: integer
  3213. ordertime:
  3214. description: 委托时间
  3215. type: string
  3216. preexerciseprice:
  3217. description: 预申报价格
  3218. type: number
  3219. premium:
  3220. description: 权利金
  3221. type: number
  3222. preorderid:
  3223. description: 关联预埋单号(止盈止损单时填写)
  3224. type: string
  3225. pricemode:
  3226. description: '取价方式 - 1:市价 2: 限价'
  3227. type: integer
  3228. quoteid:
  3229. description: 报价单ID
  3230. type: integer
  3231. relatedid:
  3232. description: 关联单号(交割单)
  3233. type: string
  3234. retcode:
  3235. description: 错误代码
  3236. type: integer
  3237. sessionid:
  3238. description: 会话ID
  3239. type: integer
  3240. tradedate:
  3241. description: 交易日(yyyyMMdd)
  3242. type: string
  3243. trademode:
  3244. description: 交易模式
  3245. type: integer
  3246. tradeproperty:
  3247. description: 交易属性
  3248. type: integer
  3249. tradeqty:
  3250. description: 成交数量
  3251. type: integer
  3252. unfreezecharge:
  3253. description: 解冻手续费
  3254. type: number
  3255. unfreezemargin:
  3256. description: 解冻保证金
  3257. type: number
  3258. updatetime:
  3259. description: 更新时间
  3260. type: string
  3261. uuid:
  3262. description: 发起端唯一id
  3263. type: string
  3264. validtime:
  3265. description: 有效期限
  3266. type: string
  3267. validtype:
  3268. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  3269. type: integer
  3270. volumetype:
  3271. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  3272. type: integer
  3273. required:
  3274. - accountid
  3275. - buildtype
  3276. - buyorsell
  3277. - goodsid
  3278. - histradedate
  3279. - marketid
  3280. - memberuserid
  3281. - operatetype
  3282. - orderid
  3283. - orderqty
  3284. - ordertime
  3285. - pricemode
  3286. - tradedate
  3287. - validtype
  3288. type: object
  3289. order.QueryTradeDetailRsp:
  3290. properties:
  3291. accountid:
  3292. description: 账户ID[报价币种]
  3293. type: integer
  3294. buildtype:
  3295. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  3296. type: integer
  3297. buyorsell:
  3298. description: 方向 - 0:买 1:卖
  3299. type: integer
  3300. charge:
  3301. description: 手续费
  3302. type: number
  3303. closecharge:
  3304. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  3305. type: number
  3306. closeexchagechargevalue:
  3307. description: 平仓交易所手续费设置值
  3308. type: number
  3309. closefeealgorithm:
  3310. description: 平仓手续费收取方式 1:比率 2:固定
  3311. type: integer
  3312. closememberchargevalue:
  3313. description: 平仓会员手续费设置值
  3314. type: number
  3315. closepl:
  3316. description: 平仓盈亏
  3317. type: number
  3318. closepl2:
  3319. description: 平仓盈亏[逐笔]
  3320. type: number
  3321. closeqty:
  3322. description: 平仓数量(先建后平操作 需要记录)
  3323. type: integer
  3324. creditamount:
  3325. description: 授信金额
  3326. type: number
  3327. gcaccountid:
  3328. description: 账户ID[合约币种]
  3329. type: integer
  3330. goodscode:
  3331. description: 商品代码
  3332. type: string
  3333. goodsid:
  3334. description: 商品ID
  3335. type: integer
  3336. goodsname:
  3337. description: 商品名称
  3338. type: string
  3339. intclosepl:
  3340. description: 整型盈亏(用于交易结算试算平衡-收益权)
  3341. type: integer
  3342. isconfirmexercise:
  3343. description: 是否确认行权- 0:否 1:是
  3344. type: integer
  3345. ismain:
  3346. description: 是否主单 - 0:不是 1:是
  3347. type: integer
  3348. ispreexercise:
  3349. description: 是否预申报- 0:否 1:是
  3350. type: integer
  3351. isreckoned:
  3352. description: 是否结算 - 0:未结算 1:已结算
  3353. type: integer
  3354. listingselecttype:
  3355. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  3356. type: integer
  3357. marketid:
  3358. description: 市场ID
  3359. type: integer
  3360. marketname:
  3361. description: 市场名称
  3362. type: string
  3363. matchaccountid:
  3364. description: 对手账号id
  3365. type: integer
  3366. memberuserid:
  3367. description: 会员id 个人投资者 需要填写
  3368. type: integer
  3369. opencharge:
  3370. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  3371. type: number
  3372. openexchagechargevalue:
  3373. description: 建仓交易所手续费设置值
  3374. type: number
  3375. openfeealgorithm:
  3376. description: 建仓手续费收取方式 1:比率 2:固定
  3377. type: integer
  3378. openmemberchargevalue:
  3379. description: 建仓会员手续费设置值
  3380. type: number
  3381. openqty:
  3382. description: 开仓数量(先建后平操作 需要记录)
  3383. type: integer
  3384. optiontype:
  3385. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  3386. type: integer
  3387. orderid:
  3388. description: 委托单号
  3389. type: string
  3390. performanceplanid:
  3391. description: 履约计划ID[期权]
  3392. type: integer
  3393. performancestatus:
  3394. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  3395. type: integer
  3396. preexerciseprice:
  3397. description: 预申报价格
  3398. type: number
  3399. premium:
  3400. description: 权利金 - [持仓单的权利金]
  3401. type: number
  3402. relatedouttradeid:
  3403. description: 关联外部成交单ID
  3404. type: integer
  3405. status:
  3406. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  3407. type: integer
  3408. tradeamount:
  3409. description: 成交金额[账户币种,用于所有权]
  3410. type: number
  3411. tradedate:
  3412. description: 交易日(yyyyMMdd)
  3413. type: string
  3414. tradeid:
  3415. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3416. type: string
  3417. trademode:
  3418. description: 交易模式
  3419. type: integer
  3420. tradeprice:
  3421. description: 成交价格
  3422. type: number
  3423. tradeproperty:
  3424. description: 交易属性
  3425. type: integer
  3426. tradeqty:
  3427. description: 成交数量
  3428. type: integer
  3429. tradetime:
  3430. description: 成交时间
  3431. type: string
  3432. tradetype:
  3433. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  3434. type: integer
  3435. required:
  3436. - accountid
  3437. - buyorsell
  3438. - goodsid
  3439. - marketid
  3440. - memberuserid
  3441. - orderid
  3442. - tradeamount
  3443. - tradedate
  3444. - tradeid
  3445. - tradeprice
  3446. - tradeqty
  3447. - tradetime
  3448. type: object
  3449. order.QueryTradeOrderDetailRsp:
  3450. properties:
  3451. accountid:
  3452. description: 账户ID[报价币种]
  3453. type: integer
  3454. buildtype:
  3455. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  3456. type: integer
  3457. buyorsell:
  3458. description: 买卖 - 0:买 1:卖
  3459. type: integer
  3460. cancelorderid:
  3461. description: 撤单单号(撤单时填写)
  3462. type: string
  3463. cancelqty:
  3464. description: 撤单数量
  3465. type: integer
  3466. clienttype:
  3467. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  3468. type: integer
  3469. closefreezecharge:
  3470. description: 平仓冻结手续费(先建后平操作,需要记录)
  3471. type: number
  3472. closeqty:
  3473. description: 平仓数量(先建后平操作 需要记录)
  3474. type: integer
  3475. closetradeqty:
  3476. description: 平仓成交数量(先建后平操作,需要记录)
  3477. type: integer
  3478. closeunfreezecharge:
  3479. description: 平仓解冻手续费(先建后平操作,需要记录)
  3480. type: number
  3481. delistingtype:
  3482. description: 摘牌类型 - 1:价格最优 2:点选成交
  3483. type: integer
  3484. enableqty:
  3485. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  3486. type: integer
  3487. freezecharge:
  3488. description: 冻结手续费
  3489. type: number
  3490. freezemargin:
  3491. description: 冻结保证金(冻结交易金额)
  3492. type: number
  3493. goodscode:
  3494. description: 商品代码
  3495. type: string
  3496. goodsid:
  3497. description: 商品ID
  3498. type: integer
  3499. goodsname:
  3500. description: 商品名称
  3501. type: string
  3502. listingselecttype:
  3503. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  3504. type: integer
  3505. marketid:
  3506. description: 市场ID
  3507. type: integer
  3508. marketname:
  3509. description: 市场名称
  3510. type: string
  3511. openfreezecharge:
  3512. description: 开仓冻结手续费(先建后平操作,需要记录)
  3513. type: number
  3514. openqty:
  3515. description: 开仓数量(先建后平操作,需要记录)
  3516. type: integer
  3517. opentradeqty:
  3518. description: 开仓成交数量(先建后平操作,需要记录)
  3519. type: integer
  3520. openunfreezecharge:
  3521. description: 开仓解冻手续费(先建后平操作,需要记录)
  3522. type: number
  3523. operatetype:
  3524. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  3525. type: integer
  3526. operatorid:
  3527. description: 登录账号(LoginID)
  3528. type: integer
  3529. orderid:
  3530. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3531. type: string
  3532. orderprice:
  3533. description: 委托价格
  3534. type: number
  3535. orderqty:
  3536. description: 委托数量
  3537. type: integer
  3538. ordersrc:
  3539. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  3540. type: integer
  3541. orderstatus:
  3542. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  3543. type: integer
  3544. ordertime:
  3545. description: 委托时间
  3546. type: string
  3547. preorderid:
  3548. description: 关联预埋单号(止盈止损单时填写)
  3549. type: string
  3550. pricemode:
  3551. description: '取价方式 - 1:市价 2: 限价'
  3552. type: integer
  3553. relatedid:
  3554. description: 关联单号(交割单)
  3555. type: string
  3556. tradedate:
  3557. description: 交易日(yyyyMMdd)
  3558. type: string
  3559. trademode:
  3560. description: 交易模式
  3561. type: integer
  3562. tradeqty:
  3563. description: 成交数量
  3564. type: integer
  3565. unfreezecharge:
  3566. description: 解冻手续费
  3567. type: number
  3568. unfreezemargin:
  3569. description: 解冻保证金
  3570. type: number
  3571. validtime:
  3572. description: 有效期限
  3573. type: string
  3574. validtype:
  3575. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  3576. type: integer
  3577. volumetype:
  3578. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  3579. type: integer
  3580. required:
  3581. - accountid
  3582. - buildtype
  3583. - buyorsell
  3584. - goodsid
  3585. - marketid
  3586. - operatetype
  3587. - orderqty
  3588. - ordertime
  3589. - pricemode
  3590. - tradedate
  3591. - validtype
  3592. type: object
  3593. order.QueryTradePositionRsp:
  3594. properties:
  3595. accountid:
  3596. description: 资金账户
  3597. type: integer
  3598. agreeunit:
  3599. description: 合约单位
  3600. type: number
  3601. averageprice:
  3602. description: 持仓均价
  3603. type: number
  3604. buyorsell:
  3605. description: 方向 - 0:买 1:卖
  3606. type: integer
  3607. closetotalqty:
  3608. description: 平仓总数量
  3609. type: integer
  3610. curholderamount:
  3611. description: 当前持仓总金额[商品币种]
  3612. type: number
  3613. curpositionqty:
  3614. description: 当前持仓总数量
  3615. type: integer
  3616. currencyid:
  3617. description: 报价货币ID
  3618. type: integer
  3619. curtdposition:
  3620. description: 期末今日头寸
  3621. type: integer
  3622. decimalplace:
  3623. description: 报价小数位
  3624. type: integer
  3625. enableqty:
  3626. description: 可用量
  3627. type: integer
  3628. fretdposition:
  3629. description: 冻结今日头寸
  3630. type: integer
  3631. frozenqty:
  3632. description: 持仓冻结数量
  3633. type: integer
  3634. goodscode:
  3635. description: 商品代码
  3636. type: string
  3637. goodsid:
  3638. description: 商品Id
  3639. type: integer
  3640. goodsname:
  3641. description: 商品名称
  3642. type: string
  3643. goodunit:
  3644. description: 报价单位
  3645. type: string
  3646. goodunitid:
  3647. description: 报价单位ID
  3648. type: integer
  3649. holderamount:
  3650. description: 期初持仓总金额[商品币种]
  3651. type: number
  3652. marketid:
  3653. description: 所属市场ID
  3654. type: integer
  3655. openreqqty:
  3656. description: 开仓申请数量(用于比较最大持仓数量)
  3657. type: integer
  3658. opentotalqty:
  3659. description: 开仓总数量
  3660. type: integer
  3661. otherfrozenqty:
  3662. description: 持仓其他冻结数量(交割冻结)
  3663. type: integer
  3664. positionqty:
  3665. description: 期初持仓数量
  3666. type: integer
  3667. tnqty:
  3668. description: T+N冻结总量
  3669. type: integer
  3670. tnusedqty:
  3671. description: T+N使用量(可以使用T+N的冻结数量)
  3672. type: integer
  3673. trademode:
  3674. description: 交易模式
  3675. type: integer
  3676. usedmargin:
  3677. description: 占用保证金[商品币种]
  3678. type: number
  3679. required:
  3680. - goodsid
  3681. type: object
  3682. quote.HistoryData:
  3683. properties:
  3684. c:
  3685. description: 收盘价
  3686. type: number
  3687. h:
  3688. description: 最高价
  3689. type: number
  3690. hv:
  3691. description: 持仓量
  3692. type: integer
  3693. l:
  3694. description: 最低价
  3695. type: number
  3696. o:
  3697. description: 开盘价
  3698. type: number
  3699. s:
  3700. description: 结算价,日线周期(包括)以上才有
  3701. type: number
  3702. ts:
  3703. description: 时间
  3704. type: string
  3705. tt:
  3706. description: 总金额
  3707. type: number
  3708. tv:
  3709. description: 总量
  3710. type: integer
  3711. type: object
  3712. quote.QueryTSDataRsp:
  3713. properties:
  3714. decimalPlace:
  3715. description: 小数位
  3716. type: integer
  3717. endTime:
  3718. description: 结束时间
  3719. type: string
  3720. goodsCode:
  3721. description: 商品代码
  3722. type: string
  3723. historyDatas:
  3724. description: 历史数据
  3725. items:
  3726. $ref: '#/definitions/quote.HistoryData'
  3727. type: array
  3728. preSettle:
  3729. description: 昨结
  3730. type: number
  3731. startTime:
  3732. description: 开始时间
  3733. type: string
  3734. tradeDate:
  3735. description: 交易日
  3736. type: string
  3737. type: object
  3738. szdz.QueryConvertLogRsp:
  3739. properties:
  3740. accountid:
  3741. description: 资金账户ID
  3742. type: integer
  3743. clientticket:
  3744. description: 客户端流水号
  3745. type: string
  3746. converttype:
  3747. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  3748. type: integer
  3749. createtime:
  3750. description: 记账时间
  3751. type: string
  3752. daymaxvalue:
  3753. description: 配置当日最大转入限制
  3754. type: number
  3755. daymaxvalue2:
  3756. description: 配置当日最大转入限制(转入)
  3757. type: number
  3758. goodscode:
  3759. description: 商品代码
  3760. type: string
  3761. goodsname:
  3762. description: 商品名称
  3763. type: string
  3764. handlestatus:
  3765. description: 处理状态
  3766. type: integer
  3767. innergoodsid:
  3768. description: 内部商品ID
  3769. type: integer
  3770. inratio:
  3771. description: 配置转入比值
  3772. type: integer
  3773. invalue:
  3774. description: 目标值
  3775. type: number
  3776. logid:
  3777. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3778. type: integer
  3779. mobile:
  3780. description: 手机号码(加密存储)
  3781. type: string
  3782. outergoodscode:
  3783. description: 外部商品代码[JD\PD]
  3784. type: string
  3785. outratio:
  3786. description: 配置转出比值
  3787. type: integer
  3788. outvalue:
  3789. description: 源值
  3790. type: number
  3791. pddecimalplace:
  3792. description: PD小数位
  3793. type: integer
  3794. qty:
  3795. description: 数量
  3796. type: string
  3797. remark:
  3798. description: 备注
  3799. type: string
  3800. sessionid:
  3801. description: 会话ID
  3802. type: integer
  3803. timemaxvalue:
  3804. description: 配置单次最大转入限制
  3805. type: number
  3806. timemaxvalue2:
  3807. description: 配置单次最大转入限制(转入)
  3808. type: number
  3809. timeminvalue:
  3810. description: 配置单次最小数量限制
  3811. type: number
  3812. timeminvalue2:
  3813. description: 配置单次最小数量限制(转入)
  3814. type: number
  3815. tradedate:
  3816. description: 交易日(yyyyMMdd)
  3817. type: string
  3818. userid:
  3819. description: 用户ID
  3820. type: integer
  3821. required:
  3822. - logid
  3823. type: object
  3824. szdz.QueryGoodsPickupRsp:
  3825. properties:
  3826. accountid:
  3827. description: 账户ID
  3828. type: integer
  3829. address:
  3830. description: 提货人详细地址
  3831. type: string
  3832. auditer:
  3833. description: 审核人
  3834. type: integer
  3835. audittime:
  3836. description: 审核时间
  3837. type: string
  3838. cardnum:
  3839. description: 提货人证件号码
  3840. type: string
  3841. cardtypeid:
  3842. description: 提货人证件类型
  3843. type: integer
  3844. checkremark:
  3845. description: 审核备注
  3846. type: string
  3847. goodscode:
  3848. description: 商品代码
  3849. type: string
  3850. goodsid:
  3851. description: 商品ID
  3852. type: integer
  3853. goodsname:
  3854. description: 商品名称
  3855. type: string
  3856. handlestatus:
  3857. description: 处理状态
  3858. type: integer
  3859. marketid:
  3860. description: 市场ID
  3861. type: integer
  3862. phonenum:
  3863. description: 提货人联系方式
  3864. type: string
  3865. qty:
  3866. description: 提货数量
  3867. type: number
  3868. recivername:
  3869. description: 提货人姓名
  3870. type: string
  3871. reqtime:
  3872. description: 更新时间
  3873. type: string
  3874. takemode:
  3875. description: 提货方式 - 2:自提 3:配送
  3876. type: integer
  3877. takeorderid:
  3878. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  3879. type: string
  3880. takeorderstatus:
  3881. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  3882. type: integer
  3883. takeremark:
  3884. description: 提货备注
  3885. type: string
  3886. tradedate:
  3887. description: 交易日(yyyyMMdd)
  3888. type: string
  3889. userid:
  3890. description: 用户ID
  3891. type: integer
  3892. required:
  3893. - takeorderid
  3894. type: object
  3895. szdz.QueryRecieptOrderRsp:
  3896. properties:
  3897. accountName:
  3898. description: 所属账号名称(已脱敏)
  3899. type: string
  3900. accountid:
  3901. description: 资金账号
  3902. type: integer
  3903. buyorsell:
  3904. description: 方向 - 0:买 1:卖
  3905. type: integer
  3906. enableqty:
  3907. description: 可摘数量
  3908. type: integer
  3909. goodscode:
  3910. description: 商品代码
  3911. type: string
  3912. goodsid:
  3913. description: 商品ID
  3914. type: integer
  3915. goodsname:
  3916. description: 商品名称
  3917. type: string
  3918. orderid:
  3919. description: 委托单号
  3920. type: string
  3921. orderprice:
  3922. description: 委托价格
  3923. type: number
  3924. tradedate:
  3925. description: 交易日(yyyyMMdd)
  3926. type: string
  3927. type: object
  3928. szdz.QuerySZDZTradePositionRsp:
  3929. properties:
  3930. accountid:
  3931. description: 账号Id
  3932. type: integer
  3933. agreeunit:
  3934. description: 合约单位
  3935. type: number
  3936. averageprice:
  3937. description: 持仓均价
  3938. type: number
  3939. buyorsell:
  3940. description: 方向 - 0:买 1:卖
  3941. type: integer
  3942. closetotalqty:
  3943. description: 平仓总数量
  3944. type: integer
  3945. curholderamount:
  3946. description: 当前持仓总金额
  3947. type: number
  3948. curpositionqty:
  3949. description: 当前持仓总数量
  3950. type: integer
  3951. currencyid:
  3952. description: 报价货币ID
  3953. type: integer
  3954. curtdposition:
  3955. description: 期末今日头寸
  3956. type: integer
  3957. decimalplace:
  3958. description: 报价小数位
  3959. type: integer
  3960. enableqty:
  3961. description: 可用量
  3962. type: integer
  3963. fretdposition:
  3964. description: 冻结今日头寸
  3965. type: integer
  3966. frozenqty:
  3967. description: 持仓冻结数量
  3968. type: integer
  3969. goodscode:
  3970. description: 商品代码(内部)
  3971. type: string
  3972. goodsid:
  3973. description: 商品Id
  3974. type: integer
  3975. goodsname:
  3976. description: 商品名称
  3977. type: string
  3978. goodunit:
  3979. description: 报价单位
  3980. type: string
  3981. goodunitid:
  3982. description: 报价单位ID
  3983. type: integer
  3984. holderamount:
  3985. description: 期初持仓总金额
  3986. type: number
  3987. marketid:
  3988. description: 市场ID
  3989. type: integer
  3990. openreqqty:
  3991. description: 开仓申请数量
  3992. type: integer
  3993. opentotalqty:
  3994. description: 开仓总数量
  3995. type: integer
  3996. otherfrozenqty:
  3997. description: 持仓其他冻结数量(交割冻结)
  3998. type: integer
  3999. positionqty:
  4000. description: 期初持仓数量
  4001. type: integer
  4002. szdz3freezqty:
  4003. description: 尚志大宗转换冻结总数量
  4004. type: integer
  4005. tnqty:
  4006. description: T+N冻结总量
  4007. type: integer
  4008. tnusedqty:
  4009. description: T+N使用量
  4010. type: integer
  4011. trademode:
  4012. description: 交易模式
  4013. type: integer
  4014. usedmargin:
  4015. description: 占用保证金
  4016. type: number
  4017. type: object
  4018. taaccount.QueryAmountLogRsp:
  4019. properties:
  4020. OPERATETYPENAME:
  4021. description: 资金操作类型名称
  4022. type: string
  4023. accountid:
  4024. description: 资金账户ID
  4025. type: integer
  4026. agoodscode:
  4027. description: 竞拍商品代码
  4028. type: string
  4029. agoodsname:
  4030. description: 竞拍商品名称
  4031. type: string
  4032. amount:
  4033. description: 资金金额
  4034. type: number
  4035. amountadjusttype:
  4036. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  4037. type: integer
  4038. autoid:
  4039. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  4040. type: integer
  4041. balance:
  4042. description: 期初余额
  4043. type: number
  4044. businesscode:
  4045. description: 业务编号
  4046. type: integer
  4047. createtime:
  4048. description: 发生时间
  4049. type: string
  4050. currencyid:
  4051. description: 币种ID
  4052. type: integer
  4053. currentbalance:
  4054. description: 期末余额(变动后金额)
  4055. type: number
  4056. dgoodscode:
  4057. description: 交割商品代码
  4058. type: string
  4059. dgoodsname:
  4060. description: 交割商品名称
  4061. type: string
  4062. goodscode:
  4063. description: 商品代码
  4064. type: string
  4065. goodsid:
  4066. description: 商品ID
  4067. type: integer
  4068. goodsname:
  4069. description: 商品名称
  4070. type: string
  4071. marketid:
  4072. description: 市场ID
  4073. type: integer
  4074. marketname:
  4075. description: 市场名称
  4076. type: string
  4077. moneyticket:
  4078. description: 资金流水号:银行端流水号
  4079. type: integer
  4080. operatetype:
  4081. 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:营销收款
  4082. type: integer
  4083. relationorderid:
  4084. description: 关联单号
  4085. type: string
  4086. remark:
  4087. description: 备注
  4088. type: string
  4089. trademode:
  4090. description: 交易模式
  4091. type: integer
  4092. required:
  4093. - accountid
  4094. - amount
  4095. - amountadjusttype
  4096. - autoid
  4097. - balance
  4098. - createtime
  4099. - currentbalance
  4100. - operatetype
  4101. type: object
  4102. taaccount.QueryHisAmountLogRsp:
  4103. properties:
  4104. OPERATETYPENAME:
  4105. description: 资金操作类型名称
  4106. type: string
  4107. accountid:
  4108. description: 资金账户ID
  4109. type: integer
  4110. agoodscode:
  4111. description: 竞拍商品代码
  4112. type: string
  4113. agoodsname:
  4114. description: 竞拍商品名称
  4115. type: string
  4116. amount:
  4117. description: 资金金额
  4118. type: number
  4119. amountadjusttype:
  4120. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  4121. type: integer
  4122. autoid:
  4123. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  4124. type: integer
  4125. balance:
  4126. description: 期初余额
  4127. type: number
  4128. businesscode:
  4129. description: 业务编号
  4130. type: integer
  4131. createtime:
  4132. description: 发生时间
  4133. type: string
  4134. currencyid:
  4135. description: 币种ID
  4136. type: integer
  4137. currentbalance:
  4138. description: 期末余额(变动后金额)
  4139. type: number
  4140. dgoodscode:
  4141. description: 交割商品代码
  4142. type: string
  4143. dgoodsname:
  4144. description: 交割商品名称
  4145. type: string
  4146. goodscode:
  4147. description: 商品代码
  4148. type: string
  4149. goodsid:
  4150. description: 商品ID
  4151. type: integer
  4152. goodsname:
  4153. description: 商品名称
  4154. type: string
  4155. histradedate:
  4156. description: 历史交易日
  4157. type: string
  4158. isvaliddata:
  4159. description: 是否有效 - 0:无效 1:有效
  4160. type: integer
  4161. marketid:
  4162. description: 市场ID
  4163. type: integer
  4164. marketname:
  4165. description: 市场名称
  4166. type: string
  4167. moneyticket:
  4168. description: 资金流水号:银行端流水号
  4169. type: integer
  4170. operatetype:
  4171. 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:营销收款
  4172. type: integer
  4173. relationorderid:
  4174. description: 关联单号
  4175. type: string
  4176. remark:
  4177. description: 备注
  4178. type: string
  4179. trademode:
  4180. description: 交易模式
  4181. type: integer
  4182. required:
  4183. - accountid
  4184. - amount
  4185. - amountadjusttype
  4186. - autoid
  4187. - balance
  4188. - createtime
  4189. - currentbalance
  4190. - histradedate
  4191. - operatetype
  4192. type: object
  4193. info:
  4194. contact: {}
  4195. description: 新的查询服务,替代原通用查询服务。
  4196. license: {}
  4197. termsOfService: http://muchinfo.cn
  4198. title: MTP2.0 查询服务 API
  4199. version: "1.0"
  4200. paths:
  4201. /CPTrade/QueryCPTradeMyBidInfos:
  4202. get:
  4203. parameters:
  4204. - description: 资金账户
  4205. in: query
  4206. name: accountid
  4207. required: true
  4208. type: integer
  4209. - description: 预售市场ID
  4210. in: query
  4211. name: marketid
  4212. type: integer
  4213. - description: 预售商品ID
  4214. in: query
  4215. name: goodsid
  4216. type: integer
  4217. produces:
  4218. - application/json
  4219. responses:
  4220. "200":
  4221. description: OK
  4222. schema:
  4223. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  4224. "500":
  4225. description: Internal Server Error
  4226. schema:
  4227. $ref: '#/definitions/app.Response'
  4228. security:
  4229. - ApiKeyAuth: []
  4230. summary: 查询产能预售我的出价信息
  4231. tags:
  4232. - 产能预售
  4233. /CPTrade/QueryCPTradeOrderDetail:
  4234. get:
  4235. parameters:
  4236. - description: 预售商品ID
  4237. in: query
  4238. name: goodsid
  4239. type: integer
  4240. - description: 预售市场ID
  4241. in: query
  4242. name: marketid
  4243. type: integer
  4244. - description: 预售商品ID列表 - 格式:1,2,3
  4245. in: query
  4246. name: goodsids
  4247. type: string
  4248. produces:
  4249. - application/json
  4250. responses:
  4251. "200":
  4252. description: OK
  4253. schema:
  4254. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  4255. "500":
  4256. description: Internal Server Error
  4257. schema:
  4258. $ref: '#/definitions/app.Response'
  4259. security:
  4260. - ApiKeyAuth: []
  4261. summary: 查询产能预售委托单信息
  4262. tags:
  4263. - 产能预售
  4264. /CPTrade/QueryMyCPTradeGoods:
  4265. get:
  4266. parameters:
  4267. - description: 资金账户
  4268. in: query
  4269. name: accountid
  4270. required: true
  4271. type: integer
  4272. produces:
  4273. - application/json
  4274. responses:
  4275. "200":
  4276. description: OK
  4277. schema:
  4278. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  4279. "500":
  4280. description: Internal Server Error
  4281. schema:
  4282. $ref: '#/definitions/app.Response'
  4283. security:
  4284. - ApiKeyAuth: []
  4285. summary: 查询我的预售信息
  4286. tags:
  4287. - 产能预售
  4288. /CPTrade/QueryPositionCancel:
  4289. get:
  4290. parameters:
  4291. - description: 账户ID
  4292. in: query
  4293. name: userid
  4294. required: true
  4295. type: integer
  4296. - description: 注销ID
  4297. in: query
  4298. name: cancelid
  4299. type: integer
  4300. - description: 资金账户ID
  4301. in: query
  4302. name: accountid
  4303. type: integer
  4304. produces:
  4305. - application/json
  4306. responses:
  4307. "200":
  4308. description: OK
  4309. schema:
  4310. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  4311. "500":
  4312. description: Internal Server Error
  4313. schema:
  4314. $ref: '#/definitions/app.Response'
  4315. security:
  4316. - ApiKeyAuth: []
  4317. summary: 查询远期订单注销申请信息
  4318. tags:
  4319. - 产能预售
  4320. /CPTrade/QueryPreasleApply:
  4321. get:
  4322. parameters:
  4323. - description: 账户ID
  4324. in: query
  4325. name: userid
  4326. required: true
  4327. type: integer
  4328. - description: 申请ID
  4329. in: query
  4330. name: applyid
  4331. type: integer
  4332. - description: 资金账户ID
  4333. in: query
  4334. name: accountid
  4335. type: integer
  4336. produces:
  4337. - application/json
  4338. responses:
  4339. "200":
  4340. description: OK
  4341. schema:
  4342. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  4343. "500":
  4344. description: Internal Server Error
  4345. schema:
  4346. $ref: '#/definitions/app.Response'
  4347. security:
  4348. - ApiKeyAuth: []
  4349. summary: 查询产能预售申请信息
  4350. tags:
  4351. - 产能预售
  4352. /CPTrade/QueryPresaleGoodsEx:
  4353. get:
  4354. parameters:
  4355. - description: 预售商品ID
  4356. in: query
  4357. name: goodsid
  4358. type: integer
  4359. - description: 预售市场ID
  4360. in: query
  4361. name: marketid
  4362. type: integer
  4363. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  4364. in: query
  4365. name: presalemode
  4366. type: integer
  4367. - description: 预售商品ID列表 - 格式:1,2,3
  4368. in: query
  4369. name: goodsids
  4370. type: string
  4371. - description: 预售商品代码
  4372. in: query
  4373. name: goodscode
  4374. type: string
  4375. produces:
  4376. - application/json
  4377. responses:
  4378. "200":
  4379. description: OK
  4380. schema:
  4381. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  4382. "500":
  4383. description: Internal Server Error
  4384. schema:
  4385. $ref: '#/definitions/app.Response'
  4386. security:
  4387. - ApiKeyAuth: []
  4388. summary: 查询产能预售商品扩展信息
  4389. tags:
  4390. - 产能预售
  4391. /CPTrade/QueryUserGoodsData:
  4392. get:
  4393. parameters:
  4394. - description: 资金账户ID
  4395. in: query
  4396. name: accountid
  4397. required: true
  4398. type: integer
  4399. produces:
  4400. - application/json
  4401. responses:
  4402. "200":
  4403. description: OK
  4404. schema:
  4405. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  4406. "500":
  4407. description: Internal Server Error
  4408. schema:
  4409. $ref: '#/definitions/app.Response'
  4410. security:
  4411. - ApiKeyAuth: []
  4412. summary: 查询远期订单信息
  4413. tags:
  4414. - 产能预售
  4415. /Common/NoticeReaded:
  4416. post:
  4417. parameters:
  4418. - description: 登录账号
  4419. in: query
  4420. name: loginID
  4421. required: true
  4422. type: integer
  4423. - description: 通知公告ID
  4424. in: query
  4425. name: noticeID
  4426. required: true
  4427. type: integer
  4428. produces:
  4429. - application/json
  4430. responses:
  4431. "200":
  4432. description: OK
  4433. schema:
  4434. $ref: '#/definitions/app.Response'
  4435. "500":
  4436. description: Internal Server Error
  4437. schema:
  4438. $ref: '#/definitions/app.Response'
  4439. security:
  4440. - ApiKeyAuth: []
  4441. summary: 通知公告设置已读请求
  4442. tags:
  4443. - 通用服务
  4444. /Common/QueryImageConfigs:
  4445. get:
  4446. parameters:
  4447. - description: 类型 - 1:App首页轮播 2:我的
  4448. in: query
  4449. name: imageType
  4450. type: integer
  4451. produces:
  4452. - application/json
  4453. responses:
  4454. "200":
  4455. description: OK
  4456. schema:
  4457. $ref: '#/definitions/models.Szdz2imageconfig'
  4458. "500":
  4459. description: Internal Server Error
  4460. schema:
  4461. $ref: '#/definitions/app.Response'
  4462. summary: 查询轮播图配置信息
  4463. tags:
  4464. - 通用服务
  4465. /Common/QueryNotice:
  4466. get:
  4467. parameters:
  4468. - description: 页码
  4469. in: query
  4470. name: page
  4471. type: integer
  4472. - description: 每页条数
  4473. in: query
  4474. name: pagesize
  4475. type: integer
  4476. - description: 登录账号
  4477. in: query
  4478. name: loginID
  4479. required: true
  4480. type: integer
  4481. - description: 消息类型 - 1:公告通知 2:系统消息
  4482. in: query
  4483. name: msgType
  4484. type: integer
  4485. - description: 是否只获取未读信息
  4486. in: query
  4487. name: onlyUnRead
  4488. type: boolean
  4489. produces:
  4490. - application/json
  4491. responses:
  4492. "200":
  4493. description: OK
  4494. schema:
  4495. $ref: '#/definitions/common.QueryNoticeRsp'
  4496. "500":
  4497. description: Internal Server Error
  4498. schema:
  4499. $ref: '#/definitions/app.Response'
  4500. security:
  4501. - ApiKeyAuth: []
  4502. summary: 通知公告系统消息查询
  4503. tags:
  4504. - 通用服务
  4505. /Common/QueryProvincesAndCities:
  4506. get:
  4507. parameters:
  4508. - description: 省ID
  4509. in: query
  4510. name: provinceID
  4511. type: integer
  4512. produces:
  4513. - application/json
  4514. responses:
  4515. "200":
  4516. description: OK
  4517. schema:
  4518. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  4519. "500":
  4520. description: Internal Server Error
  4521. schema:
  4522. $ref: '#/definitions/app.Response'
  4523. summary: 查询省市信息(不包括区)
  4524. tags:
  4525. - 通用服务
  4526. /Common/QueryTableDefine:
  4527. get:
  4528. parameters:
  4529. - description: 表key
  4530. in: query
  4531. name: TableKey
  4532. type: string
  4533. produces:
  4534. - application/json
  4535. responses:
  4536. "200":
  4537. description: OK
  4538. schema:
  4539. $ref: '#/definitions/common.QueryTableDefineRsp'
  4540. "500":
  4541. description: Internal Server Error
  4542. schema:
  4543. $ref: '#/definitions/app.Response'
  4544. summary: 查询交易端列表头信息
  4545. tags:
  4546. - 通用服务
  4547. /Common/QueryTraderMenu:
  4548. get:
  4549. parameters:
  4550. - description: 登录账号
  4551. in: query
  4552. name: loginid
  4553. required: true
  4554. type: integer
  4555. produces:
  4556. - application/json
  4557. responses:
  4558. "200":
  4559. description: OK
  4560. schema:
  4561. $ref: '#/definitions/common.QueryTraderMenuRsp'
  4562. "500":
  4563. description: Internal Server Error
  4564. schema:
  4565. $ref: '#/definitions/app.Response'
  4566. summary: 查询交易端菜单
  4567. tags:
  4568. - 通用服务
  4569. /Delivery/QueryDeliveryRelation:
  4570. get:
  4571. parameters:
  4572. - description: 商品ID
  4573. in: query
  4574. name: goodsid
  4575. type: integer
  4576. - description: 品种ID
  4577. in: query
  4578. name: deliverygoodsid
  4579. type: integer
  4580. - description: 市场ID
  4581. in: query
  4582. name: marketid
  4583. type: integer
  4584. produces:
  4585. - application/json
  4586. responses:
  4587. "200":
  4588. description: OK
  4589. schema:
  4590. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  4591. "500":
  4592. description: Internal Server Error
  4593. schema:
  4594. $ref: '#/definitions/app.Response'
  4595. security:
  4596. - ApiKeyAuth: []
  4597. summary: 查询商品交割关系表
  4598. tags:
  4599. - 交割服务
  4600. /Erms2/QueryArbitrageStrategy:
  4601. get:
  4602. parameters:
  4603. - description: 账户ID
  4604. in: query
  4605. name: userid
  4606. required: true
  4607. type: integer
  4608. - description: 商品组ID(品种ID)
  4609. in: query
  4610. name: goodsgroupid
  4611. type: string
  4612. produces:
  4613. - application/json
  4614. responses:
  4615. "200":
  4616. description: OK
  4617. schema:
  4618. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  4619. "500":
  4620. description: Internal Server Error
  4621. schema:
  4622. $ref: '#/definitions/app.Response'
  4623. security:
  4624. - ApiKeyAuth: []
  4625. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  4626. tags:
  4627. - 风险管理
  4628. /Erms2/QueryInnerTradeDetail:
  4629. get:
  4630. parameters:
  4631. - description: 资金账户
  4632. in: query
  4633. name: accountid
  4634. required: true
  4635. type: integer
  4636. produces:
  4637. - application/json
  4638. responses:
  4639. "200":
  4640. description: OK
  4641. schema:
  4642. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  4643. "500":
  4644. description: Internal Server Error
  4645. schema:
  4646. $ref: '#/definitions/app.Response'
  4647. security:
  4648. - ApiKeyAuth: []
  4649. summary: 查询内部成交单信息
  4650. tags:
  4651. - 风险管理
  4652. /Erms2/QuerySpotContract:
  4653. get:
  4654. parameters:
  4655. - description: 策略申请ID
  4656. in: query
  4657. name: asapplyid
  4658. required: true
  4659. type: integer
  4660. - description: 现货合同ID
  4661. in: query
  4662. name: spotcontractid
  4663. type: integer
  4664. produces:
  4665. - application/json
  4666. responses:
  4667. "200":
  4668. description: OK
  4669. schema:
  4670. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  4671. "500":
  4672. description: Internal Server Error
  4673. schema:
  4674. $ref: '#/definitions/app.Response'
  4675. security:
  4676. - ApiKeyAuth: []
  4677. summary: 查询现货合同表信息(指定策略ID、未结束的)
  4678. tags:
  4679. - 风险管理
  4680. /Erms3/AddSpotContractApply:
  4681. post:
  4682. parameters:
  4683. - description: 申请参数
  4684. in: body
  4685. name: jsonBody
  4686. required: true
  4687. schema:
  4688. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  4689. produces:
  4690. - application/json
  4691. responses:
  4692. "200":
  4693. description: OK
  4694. schema:
  4695. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  4696. "500":
  4697. description: Internal Server Error
  4698. schema:
  4699. $ref: '#/definitions/app.Response'
  4700. security:
  4701. - ApiKeyAuth: []
  4702. summary: 新增现货合同申请
  4703. tags:
  4704. - 风险管理v3
  4705. /Erms3/QuerySpotContractAppleForm:
  4706. get:
  4707. parameters:
  4708. - description: 用户ID
  4709. in: query
  4710. name: userID
  4711. required: true
  4712. type: integer
  4713. produces:
  4714. - application/json
  4715. responses:
  4716. "200":
  4717. description: OK
  4718. schema:
  4719. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  4720. "500":
  4721. description: Internal Server Error
  4722. schema:
  4723. $ref: '#/definitions/app.Response'
  4724. security:
  4725. - ApiKeyAuth: []
  4726. summary: 查询合同申请表单数据
  4727. tags:
  4728. - 风险管理v3
  4729. /Erms3/QuerySpotContractDetail:
  4730. get:
  4731. parameters:
  4732. - description: 资金账号ID列表,用逗号分隔
  4733. in: query
  4734. name: accountids
  4735. required: true
  4736. type: string
  4737. - description: 合同类型,1为采购合同 -1为销售合同
  4738. in: query
  4739. name: contracttype
  4740. required: true
  4741. type: integer
  4742. - description: 合同模式,1为普通合同 2为回购销售合同
  4743. in: query
  4744. name: contractmode
  4745. required: true
  4746. type: integer
  4747. - description: 状态,0为履约中 1为已完成
  4748. in: query
  4749. name: status
  4750. required: true
  4751. type: integer
  4752. produces:
  4753. - application/json
  4754. responses:
  4755. "200":
  4756. description: OK
  4757. schema:
  4758. items:
  4759. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  4760. type: array
  4761. "500":
  4762. description: Internal Server Error
  4763. schema:
  4764. $ref: '#/definitions/app.Response'
  4765. security:
  4766. - ApiKeyAuth: []
  4767. summary: 查询合同详细信息
  4768. tags:
  4769. - 风险管理v3
  4770. /HSBY/GetHsbyMyCount:
  4771. get:
  4772. description: 说明: 不包括已完成的数量。
  4773. parameters:
  4774. - description: 资金账户列表,格式:1,2,3
  4775. in: query
  4776. name: accountIDs
  4777. required: true
  4778. type: string
  4779. produces:
  4780. - application/json
  4781. responses:
  4782. "200":
  4783. description: OK
  4784. schema:
  4785. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  4786. "500":
  4787. description: Internal Server Error
  4788. schema:
  4789. $ref: '#/definitions/app.Response'
  4790. security:
  4791. - ApiKeyAuth: []
  4792. summary: 获取我的订单与包裹数量
  4793. tags:
  4794. - 定制【海商报业】
  4795. /HSBY/QueryHsbyBuyMyTradeDetail:
  4796. get:
  4797. parameters:
  4798. - description: 页码
  4799. in: query
  4800. name: page
  4801. type: integer
  4802. - description: 每页条数
  4803. in: query
  4804. name: pagesize
  4805. type: integer
  4806. - description: 资金账户列表,格式:1,2,3
  4807. in: query
  4808. name: accountIDs
  4809. required: true
  4810. type: string
  4811. produces:
  4812. - application/json
  4813. responses:
  4814. "200":
  4815. description: OK
  4816. schema:
  4817. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  4818. "500":
  4819. description: Internal Server Error
  4820. schema:
  4821. $ref: '#/definitions/app.Response'
  4822. security:
  4823. - ApiKeyAuth: []
  4824. summary: 查询"我的订单 - 已完成"单据信息
  4825. tags:
  4826. - 定制【海商报业】
  4827. /HSBY/QueryHsbyGoodsOrderDetails:
  4828. get:
  4829. description: 说明:查询结果已按委托价格和委托时间排序
  4830. parameters:
  4831. - description: 商品ID
  4832. in: query
  4833. name: goodsID
  4834. required: true
  4835. type: integer
  4836. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  4837. in: query
  4838. name: accountIDs
  4839. required: true
  4840. type: string
  4841. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  4842. in: query
  4843. name: buyOrSell
  4844. type: integer
  4845. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  4846. in: query
  4847. name: price
  4848. type: number
  4849. - description: 档位,不传则默认为3档
  4850. in: query
  4851. name: speed
  4852. type: integer
  4853. produces:
  4854. - application/json
  4855. responses:
  4856. "200":
  4857. description: OK
  4858. schema:
  4859. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  4860. "500":
  4861. description: Internal Server Error
  4862. schema:
  4863. $ref: '#/definitions/app.Response'
  4864. security:
  4865. - ApiKeyAuth: []
  4866. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  4867. tags:
  4868. - 定制【海商报业】
  4869. /HSBY/QueryHsbyListingGoodsDetail:
  4870. get:
  4871. parameters:
  4872. - description: 商品ID
  4873. in: query
  4874. name: goodsID
  4875. required: true
  4876. type: integer
  4877. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  4878. in: query
  4879. name: AccountID
  4880. type: integer
  4881. produces:
  4882. - application/json
  4883. responses:
  4884. "200":
  4885. description: OK
  4886. schema:
  4887. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  4888. "500":
  4889. description: Internal Server Error
  4890. schema:
  4891. $ref: '#/definitions/app.Response'
  4892. security:
  4893. - ApiKeyAuth: []
  4894. summary: 查询二级市场(挂牌点选)商品信息详情
  4895. tags:
  4896. - 定制【海商报业】
  4897. /HSBY/QueryHsbyMyBuyOrderDetails:
  4898. get:
  4899. description: 说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;
  4900. parameters:
  4901. - description: 资金账户列表,格式:1,2,3
  4902. in: query
  4903. name: accountIDs
  4904. required: true
  4905. type: string
  4906. - description: '''我的订单''状态, 1:抢购中 2:求购中 3:已完成;不传则为''全部'''
  4907. in: query
  4908. name: myBuyStatus
  4909. type: integer
  4910. produces:
  4911. - application/json
  4912. responses:
  4913. "200":
  4914. description: OK
  4915. schema:
  4916. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  4917. "500":
  4918. description: Internal Server Error
  4919. schema:
  4920. $ref: '#/definitions/app.Response'
  4921. security:
  4922. - ApiKeyAuth: []
  4923. summary: 查询“我的订单”信息
  4924. tags:
  4925. - 定制【海商报业】
  4926. /HSBY/QueryHsbyMyGoods:
  4927. get:
  4928. parameters:
  4929. - description: 资金账户列表,格式:1,2,3
  4930. in: query
  4931. name: accountIDs
  4932. required: true
  4933. type: string
  4934. produces:
  4935. - application/json
  4936. responses:
  4937. "200":
  4938. description: OK
  4939. schema:
  4940. $ref: '#/definitions/models.HsbyMyGoods'
  4941. "500":
  4942. description: Internal Server Error
  4943. schema:
  4944. $ref: '#/definitions/app.Response'
  4945. security:
  4946. - ApiKeyAuth: []
  4947. summary: 查询“我的商品”信息
  4948. tags:
  4949. - 定制【海商报业】
  4950. /HSBY/QueryHsbyMyPackages:
  4951. get:
  4952. parameters:
  4953. - description: 资金账户列表,格式:1,2,3
  4954. in: query
  4955. name: accountIDs
  4956. required: true
  4957. type: string
  4958. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  4959. in: query
  4960. name: takeOrderStatus
  4961. type: integer
  4962. produces:
  4963. - application/json
  4964. responses:
  4965. "200":
  4966. description: OK
  4967. schema:
  4968. $ref: '#/definitions/models.HsbyMyPackage'
  4969. "500":
  4970. description: Internal Server Error
  4971. schema:
  4972. $ref: '#/definitions/app.Response'
  4973. security:
  4974. - ApiKeyAuth: []
  4975. summary: 查询我的包裹信息
  4976. tags:
  4977. - 定制【海商报业】
  4978. /HSBY/QueryHsbyPreGoodsDetail:
  4979. get:
  4980. parameters:
  4981. - description: 商品ID
  4982. in: query
  4983. name: goodsID
  4984. required: true
  4985. type: integer
  4986. - description: 资金账户,主要用于获取预售商品购买上限
  4987. in: query
  4988. name: accountID
  4989. required: true
  4990. type: integer
  4991. produces:
  4992. - application/json
  4993. responses:
  4994. "200":
  4995. description: OK
  4996. schema:
  4997. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  4998. "500":
  4999. description: Internal Server Error
  5000. schema:
  5001. $ref: '#/definitions/app.Response'
  5002. security:
  5003. - ApiKeyAuth: []
  5004. summary: 查询一级市场(产能预售)商品信息详情
  5005. tags:
  5006. - 定制【海商报业】
  5007. /HSBY/QueryHsbyPreGoodses:
  5008. get:
  5009. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  5010. parameters:
  5011. - description: 页码
  5012. in: query
  5013. name: page
  5014. type: integer
  5015. - description: 每页条数
  5016. in: query
  5017. name: pagesize
  5018. type: integer
  5019. - description: 市场ID列表,格式:1,2,3
  5020. in: query
  5021. name: marketIDs
  5022. required: true
  5023. type: string
  5024. - description: 目的地(省)ID
  5025. in: query
  5026. name: descProvinceID
  5027. type: integer
  5028. - description: 目的地(市)ID
  5029. in: query
  5030. name: descCityID
  5031. type: integer
  5032. produces:
  5033. - application/json
  5034. responses:
  5035. "200":
  5036. description: OK
  5037. schema:
  5038. $ref: '#/definitions/models.HsbyPreGoods'
  5039. "500":
  5040. description: Internal Server Error
  5041. schema:
  5042. $ref: '#/definitions/app.Response'
  5043. security:
  5044. - ApiKeyAuth: []
  5045. summary: 查询新品上市商品列表(一级市场产能预售)
  5046. tags:
  5047. - 定制【海商报业】
  5048. /HSBY/QueryHsbySellMyDetails:
  5049. get:
  5050. description: 说明:已发布 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  5051. parameters:
  5052. - description: 页码
  5053. in: query
  5054. name: page
  5055. type: integer
  5056. - description: 每页条数
  5057. in: query
  5058. name: pagesize
  5059. type: integer
  5060. - description: 资金账户列表,格式:1,2,3
  5061. in: query
  5062. name: accountIDs
  5063. required: true
  5064. type: string
  5065. - description: 单据类型:0 - 已发布(默认), 1 - 已完成
  5066. in: query
  5067. name: orderType
  5068. type: integer
  5069. produces:
  5070. - application/json
  5071. responses:
  5072. "200":
  5073. description: OK
  5074. schema:
  5075. $ref: '#/definitions/models.HsbySellMyDetail'
  5076. "500":
  5077. description: Internal Server Error
  5078. schema:
  5079. $ref: '#/definitions/app.Response'
  5080. security:
  5081. - ApiKeyAuth: []
  5082. summary: 查询"我的闲置"单据信息
  5083. tags:
  5084. - 定制【海商报业】
  5085. /HSBY/QueryHsbyTopGoodses:
  5086. get:
  5087. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  5088. parameters:
  5089. - description: 页码
  5090. in: query
  5091. name: page
  5092. type: integer
  5093. - description: 每页条数
  5094. in: query
  5095. name: pagesize
  5096. type: integer
  5097. - description: 市场ID列表,格式:1,2,3
  5098. in: query
  5099. name: marketIDs
  5100. required: true
  5101. type: string
  5102. - description: 目的地(省)ID
  5103. in: query
  5104. name: descProvinceID
  5105. type: integer
  5106. - description: 目的地(市)ID
  5107. in: query
  5108. name: descCityID
  5109. type: integer
  5110. produces:
  5111. - application/json
  5112. responses:
  5113. "200":
  5114. description: OK
  5115. schema:
  5116. $ref: '#/definitions/models.HsbyTopGoods'
  5117. "500":
  5118. description: Internal Server Error
  5119. schema:
  5120. $ref: '#/definitions/app.Response'
  5121. security:
  5122. - ApiKeyAuth: []
  5123. summary: 查询热卖商品列表(二级市场挂牌点选)
  5124. tags:
  5125. - 定制【海商报业】
  5126. /HSBY/QueryProvincesAndCities:
  5127. get:
  5128. description: 查询结果只包括二级市场商品已关连的省市信息。
  5129. parameters:
  5130. - description: 省ID
  5131. in: query
  5132. name: provinceID
  5133. type: integer
  5134. produces:
  5135. - application/json
  5136. responses:
  5137. "200":
  5138. description: OK
  5139. schema:
  5140. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  5141. "500":
  5142. description: Internal Server Error
  5143. schema:
  5144. $ref: '#/definitions/app.Response'
  5145. security:
  5146. - ApiKeyAuth: []
  5147. summary: 查询省市信息(不包括区)
  5148. tags:
  5149. - 定制【海商报业】
  5150. /HSBY/SetHsbyMyPackagesStatus:
  5151. post:
  5152. parameters:
  5153. - description: 提货单号
  5154. in: query
  5155. name: takeOrderID
  5156. required: true
  5157. type: string
  5158. - description: 资金账号
  5159. in: query
  5160. name: accountID
  5161. required: true
  5162. type: integer
  5163. produces:
  5164. - application/json
  5165. responses:
  5166. "200":
  5167. description: OK
  5168. schema:
  5169. $ref: '#/definitions/app.Response'
  5170. "500":
  5171. description: Internal Server Error
  5172. schema:
  5173. $ref: '#/definitions/app.Response'
  5174. security:
  5175. - ApiKeyAuth: []
  5176. summary: 设置我的包裹已收货状态
  5177. tags:
  5178. - 定制【海商报业】
  5179. /Order/QueryHisTradeDetail:
  5180. get:
  5181. parameters:
  5182. - description: 资金账户 - 格式:1,2,3
  5183. in: query
  5184. name: accountID
  5185. required: true
  5186. type: string
  5187. - description: 成交单号
  5188. in: query
  5189. name: tradeID
  5190. type: integer
  5191. - description: 委托单号
  5192. in: query
  5193. name: orderID
  5194. type: integer
  5195. - description: 交易模式 - 格式:1,2,3
  5196. in: query
  5197. name: tradeMode
  5198. type: string
  5199. - description: 委托单据类型
  5200. in: query
  5201. name: buildType
  5202. type: integer
  5203. - description: 成交类别 - 格式:1,2,3
  5204. in: query
  5205. name: tradeType
  5206. type: string
  5207. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  5208. in: query
  5209. name: startDate
  5210. type: string
  5211. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  5212. in: query
  5213. name: endDate
  5214. type: string
  5215. produces:
  5216. - application/json
  5217. responses:
  5218. "200":
  5219. description: OK
  5220. schema:
  5221. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  5222. "500":
  5223. description: Internal Server Error
  5224. schema:
  5225. $ref: '#/definitions/app.Response'
  5226. security:
  5227. - ApiKeyAuth: []
  5228. summary: 历史成交单查询(合约市场)
  5229. tags:
  5230. - 通用单据
  5231. /Order/QueryHisTradeOrderDetail:
  5232. get:
  5233. parameters:
  5234. - description: 资金账户 - 格式:1,2,3
  5235. in: query
  5236. name: accountID
  5237. required: true
  5238. type: string
  5239. - description: 交易模式 - 格式:1,2,3
  5240. in: query
  5241. name: tradeMode
  5242. type: string
  5243. - description: 委托状态 - 格式:1,2,3
  5244. in: query
  5245. name: orderStatus
  5246. type: string
  5247. - description: 委托单号
  5248. in: query
  5249. name: orderID
  5250. type: integer
  5251. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  5252. in: query
  5253. name: startDate
  5254. type: string
  5255. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  5256. in: query
  5257. name: endDate
  5258. type: string
  5259. produces:
  5260. - application/json
  5261. responses:
  5262. "200":
  5263. description: OK
  5264. schema:
  5265. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  5266. "500":
  5267. description: Internal Server Error
  5268. schema:
  5269. $ref: '#/definitions/app.Response'
  5270. security:
  5271. - ApiKeyAuth: []
  5272. summary: 历史委托单查询请求(合约市场)
  5273. tags:
  5274. - 通用单据
  5275. /Order/QueryTradeDetail:
  5276. get:
  5277. parameters:
  5278. - description: 资金账户 - 格式:1,2,3
  5279. in: query
  5280. name: accountID
  5281. required: true
  5282. type: string
  5283. - description: 成交单号
  5284. in: query
  5285. name: tradeID
  5286. type: integer
  5287. - description: 委托单号
  5288. in: query
  5289. name: orderID
  5290. type: integer
  5291. - description: 交易模式 - 格式:1,2,3
  5292. in: query
  5293. name: tradeMode
  5294. type: string
  5295. - description: 委托单据类型
  5296. in: query
  5297. name: buildType
  5298. type: integer
  5299. - description: 成交类别 - 格式:1,2,3
  5300. in: query
  5301. name: tradeType
  5302. type: string
  5303. produces:
  5304. - application/json
  5305. responses:
  5306. "200":
  5307. description: OK
  5308. schema:
  5309. $ref: '#/definitions/order.QueryTradeDetailRsp'
  5310. "500":
  5311. description: Internal Server Error
  5312. schema:
  5313. $ref: '#/definitions/app.Response'
  5314. security:
  5315. - ApiKeyAuth: []
  5316. summary: 成交单查询(合约市场)
  5317. tags:
  5318. - 通用单据
  5319. /Order/QueryTradeOrderDetail:
  5320. get:
  5321. parameters:
  5322. - description: 资金账户 - 格式:1,2,3
  5323. in: query
  5324. name: accountID
  5325. required: true
  5326. type: string
  5327. - description: 交易模式 - 格式:1,2,3
  5328. in: query
  5329. name: tradeMode
  5330. type: string
  5331. - description: 委托状态 - 格式:1,2,3
  5332. in: query
  5333. name: orderStatus
  5334. type: string
  5335. - description: 委托单号
  5336. in: query
  5337. name: orderID
  5338. type: integer
  5339. produces:
  5340. - application/json
  5341. responses:
  5342. "200":
  5343. description: OK
  5344. schema:
  5345. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  5346. "500":
  5347. description: Internal Server Error
  5348. schema:
  5349. $ref: '#/definitions/app.Response'
  5350. security:
  5351. - ApiKeyAuth: []
  5352. summary: 委托单查询请求(合约市场)
  5353. tags:
  5354. - 通用单据
  5355. /Order/QueryTradePosition:
  5356. get:
  5357. parameters:
  5358. - description: 资金账户 - 格式:1,2,3
  5359. in: query
  5360. name: accountID
  5361. required: true
  5362. type: string
  5363. - description: 交易模式 - 格式:1,2,3
  5364. in: query
  5365. name: tradeMode
  5366. type: string
  5367. produces:
  5368. - application/json
  5369. responses:
  5370. "200":
  5371. description: OK
  5372. schema:
  5373. $ref: '#/definitions/order.QueryTradePositionRsp'
  5374. "500":
  5375. description: Internal Server Error
  5376. schema:
  5377. $ref: '#/definitions/app.Response'
  5378. security:
  5379. - ApiKeyAuth: []
  5380. summary: 持仓汇总查询(合约市场)
  5381. tags:
  5382. - 通用单据
  5383. /Quote/QueryHistoryDatas:
  5384. get:
  5385. parameters:
  5386. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik'
  5387. in: query
  5388. name: cycleType
  5389. required: true
  5390. type: integer
  5391. - description: 商品代码
  5392. in: query
  5393. name: goodsCode
  5394. required: true
  5395. type: string
  5396. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  5397. in: query
  5398. name: startTime
  5399. type: string
  5400. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  5401. in: query
  5402. name: endTime
  5403. type: string
  5404. - description: 条数
  5405. in: query
  5406. name: count
  5407. type: integer
  5408. - description: 是否按时间顺序排序(默认为时间倒序排序)
  5409. in: query
  5410. name: isAsc
  5411. type: boolean
  5412. produces:
  5413. - application/json
  5414. responses:
  5415. "200":
  5416. description: OK
  5417. schema:
  5418. $ref: '#/definitions/quote.HistoryData'
  5419. "500":
  5420. description: Internal Server Error
  5421. schema:
  5422. $ref: '#/definitions/app.Response'
  5423. security:
  5424. - ApiKeyAuth: []
  5425. summary: 查询行情历史数据
  5426. tags:
  5427. - 行情服务
  5428. /Quote/QueryTSData:
  5429. get:
  5430. parameters:
  5431. - description: 商品代码
  5432. in: query
  5433. name: GoodsCode
  5434. required: true
  5435. type: string
  5436. produces:
  5437. - application/json
  5438. responses:
  5439. "200":
  5440. description: OK
  5441. schema:
  5442. $ref: '#/definitions/quote.QueryTSDataRsp'
  5443. "500":
  5444. description: Internal Server Error
  5445. schema:
  5446. $ref: '#/definitions/app.Response'
  5447. summary: 分时图数据查询
  5448. tags:
  5449. - 行情服务
  5450. /SZDZ/QueryConvertConfig:
  5451. get:
  5452. parameters:
  5453. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  5454. in: query
  5455. name: convertType
  5456. type: integer
  5457. - description: 外部商品代码[JD\PD]
  5458. in: query
  5459. name: outerGoodsCode
  5460. type: string
  5461. - description: 内部商品ID列表[交易],格式:1,2,3
  5462. in: query
  5463. name: innerGoodsIDs
  5464. type: string
  5465. produces:
  5466. - application/json
  5467. responses:
  5468. "200":
  5469. description: OK
  5470. schema:
  5471. $ref: '#/definitions/models.Szdz3convertconfig'
  5472. "500":
  5473. description: Internal Server Error
  5474. schema:
  5475. $ref: '#/definitions/app.Response'
  5476. security:
  5477. - ApiKeyAuth: []
  5478. summary: 查询交易系统转换设置
  5479. tags:
  5480. - 定制【尚志大宗】
  5481. /SZDZ/QueryConvertLog:
  5482. get:
  5483. parameters:
  5484. - description: 资金账户 - 格式:1,2,3
  5485. in: query
  5486. name: accountID
  5487. required: true
  5488. type: string
  5489. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  5490. in: query
  5491. name: startDate
  5492. type: string
  5493. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  5494. in: query
  5495. name: endDate
  5496. type: string
  5497. produces:
  5498. - application/json
  5499. responses:
  5500. "200":
  5501. description: OK
  5502. schema:
  5503. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  5504. "500":
  5505. description: Internal Server Error
  5506. schema:
  5507. $ref: '#/definitions/app.Response'
  5508. security:
  5509. - ApiKeyAuth: []
  5510. summary: 交易系统转换流水查询
  5511. tags:
  5512. - 定制【尚志大宗】
  5513. /SZDZ/QueryGoodsPickup:
  5514. get:
  5515. parameters:
  5516. - description: 资金账户 - 格式:1,2,3
  5517. in: query
  5518. name: accountID
  5519. required: true
  5520. type: string
  5521. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  5522. in: query
  5523. name: takeOrderStatus
  5524. type: integer
  5525. produces:
  5526. - application/json
  5527. responses:
  5528. "200":
  5529. description: OK
  5530. schema:
  5531. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  5532. "500":
  5533. description: Internal Server Error
  5534. schema:
  5535. $ref: '#/definitions/app.Response'
  5536. security:
  5537. - ApiKeyAuth: []
  5538. summary: 商品提货单查询
  5539. tags:
  5540. - 定制【尚志大宗】
  5541. /SZDZ/QueryRecieptOrder:
  5542. get:
  5543. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  5544. parameters:
  5545. - description: 页码
  5546. in: query
  5547. name: page
  5548. type: integer
  5549. - description: 每页条数
  5550. in: query
  5551. name: pagesize
  5552. type: integer
  5553. - description: 商品ID
  5554. in: query
  5555. name: goodsID
  5556. required: true
  5557. type: integer
  5558. - description: 所属账户名称
  5559. in: query
  5560. name: accountName
  5561. type: string
  5562. - description: 市场ID
  5563. in: query
  5564. name: marketID
  5565. type: integer
  5566. - description: 方向 - 0:买 1:卖
  5567. in: query
  5568. name: buyorsell
  5569. required: true
  5570. type: integer
  5571. produces:
  5572. - application/json
  5573. responses:
  5574. "200":
  5575. description: OK
  5576. schema:
  5577. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  5578. "500":
  5579. description: Internal Server Error
  5580. schema:
  5581. $ref: '#/definitions/app.Response'
  5582. security:
  5583. - ApiKeyAuth: []
  5584. summary: 点选挂牌委托单据查询(摘牌大厅)
  5585. tags:
  5586. - 定制【尚志大宗】
  5587. /SZDZ/QuerySZDZTradePosition:
  5588. get:
  5589. parameters:
  5590. - description: 资金账户
  5591. in: query
  5592. name: accountID
  5593. required: true
  5594. type: integer
  5595. produces:
  5596. - application/json
  5597. responses:
  5598. "200":
  5599. description: OK
  5600. schema:
  5601. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  5602. "500":
  5603. description: Internal Server Error
  5604. schema:
  5605. $ref: '#/definitions/app.Response'
  5606. security:
  5607. - ApiKeyAuth: []
  5608. summary: 持仓汇总查询(尚志大宗)
  5609. tags:
  5610. - 定制【尚志大宗】
  5611. /SZDZ/SearchWhite:
  5612. get:
  5613. parameters:
  5614. - description: 用户ID
  5615. in: query
  5616. name: userID
  5617. required: true
  5618. type: integer
  5619. produces:
  5620. - application/json
  5621. responses:
  5622. "200":
  5623. description: OK
  5624. schema:
  5625. $ref: '#/definitions/models.Szdz3searchwhitelist'
  5626. "500":
  5627. description: Internal Server Error
  5628. schema:
  5629. $ref: '#/definitions/app.Response'
  5630. security:
  5631. - ApiKeyAuth: []
  5632. summary: 搜索白名单
  5633. tags:
  5634. - 定制【尚志大宗】
  5635. /Search/SearchGoodses:
  5636. get:
  5637. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  5638. parameters:
  5639. - description: 检索内容
  5640. in: query
  5641. name: content
  5642. required: true
  5643. type: string
  5644. produces:
  5645. - application/json
  5646. responses:
  5647. "200":
  5648. description: OK
  5649. schema:
  5650. $ref: '#/definitions/models.SearchGoods'
  5651. "500":
  5652. description: Internal Server Error
  5653. schema:
  5654. $ref: '#/definitions/app.Response'
  5655. summary: 检索商品信息
  5656. tags:
  5657. - 检索服务
  5658. /TaAccount/QueryAmountLog:
  5659. get:
  5660. parameters:
  5661. - description: 页码
  5662. in: query
  5663. name: page
  5664. type: integer
  5665. - description: 每页条数
  5666. in: query
  5667. name: pagesize
  5668. type: integer
  5669. - description: 资金账户 - 格式:1,2,3
  5670. in: query
  5671. name: accountID
  5672. required: true
  5673. type: string
  5674. - description: 资金操作类型 - 格式:1,2,3
  5675. in: query
  5676. name: OperateType
  5677. type: string
  5678. produces:
  5679. - application/json
  5680. responses:
  5681. "200":
  5682. description: OK
  5683. schema:
  5684. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  5685. "500":
  5686. description: Internal Server Error
  5687. schema:
  5688. $ref: '#/definitions/app.Response'
  5689. security:
  5690. - ApiKeyAuth: []
  5691. summary: 资金流水查询(当前)
  5692. tags:
  5693. - 资金账户
  5694. /TaAccount/QueryHisAmountLog:
  5695. get:
  5696. parameters:
  5697. - description: 页码
  5698. in: query
  5699. name: page
  5700. type: integer
  5701. - description: 每页条数
  5702. in: query
  5703. name: pagesize
  5704. type: integer
  5705. - description: 资金账户 - 格式:1,2,3
  5706. in: query
  5707. name: accountID
  5708. required: true
  5709. type: string
  5710. - description: 资金操作类型 - 格式:1,2,3
  5711. in: query
  5712. name: OperateType
  5713. type: string
  5714. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  5715. in: query
  5716. name: startDate
  5717. type: string
  5718. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  5719. in: query
  5720. name: endDate
  5721. type: string
  5722. produces:
  5723. - application/json
  5724. responses:
  5725. "200":
  5726. description: OK
  5727. schema:
  5728. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  5729. "500":
  5730. description: Internal Server Error
  5731. schema:
  5732. $ref: '#/definitions/app.Response'
  5733. security:
  5734. - ApiKeyAuth: []
  5735. summary: 资金流水查询(历史)
  5736. tags:
  5737. - 资金账户
  5738. /User/AddMessageBoard:
  5739. post:
  5740. parameters:
  5741. - description: 用户ID
  5742. in: query
  5743. name: userID
  5744. required: true
  5745. type: integer
  5746. - description: 留言信息
  5747. in: query
  5748. name: message
  5749. required: true
  5750. type: string
  5751. produces:
  5752. - application/json
  5753. responses:
  5754. "200":
  5755. description: OK
  5756. schema:
  5757. $ref: '#/definitions/app.Response'
  5758. "500":
  5759. description: Internal Server Error
  5760. schema:
  5761. $ref: '#/definitions/app.Response'
  5762. security:
  5763. - ApiKeyAuth: []
  5764. summary: 添加用户留言板信息
  5765. tags:
  5766. - 用户信息
  5767. /User/AddUserFavoriteGoods:
  5768. post:
  5769. parameters:
  5770. - description: 用户ID
  5771. in: query
  5772. name: userID
  5773. required: true
  5774. type: integer
  5775. - description: 商品ID
  5776. in: query
  5777. name: goodsID
  5778. required: true
  5779. type: integer
  5780. produces:
  5781. - application/json
  5782. responses:
  5783. "200":
  5784. description: OK
  5785. schema:
  5786. $ref: '#/definitions/app.Response'
  5787. "500":
  5788. description: Internal Server Error
  5789. schema:
  5790. $ref: '#/definitions/app.Response'
  5791. security:
  5792. - ApiKeyAuth: []
  5793. summary: 添加用户商品收藏信息
  5794. tags:
  5795. - 用户信息
  5796. /User/GetLoginID:
  5797. get:
  5798. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  5799. parameters:
  5800. - description: 登录代码
  5801. in: query
  5802. name: username
  5803. required: true
  5804. type: string
  5805. produces:
  5806. - application/json
  5807. responses:
  5808. "200":
  5809. description: OK
  5810. schema:
  5811. $ref: '#/definitions/app.Response'
  5812. "500":
  5813. description: Internal Server Error
  5814. schema:
  5815. $ref: '#/definitions/app.Response'
  5816. summary: 获取登录ID
  5817. tags:
  5818. - 用户信息
  5819. /User/GetUserAccount:
  5820. get:
  5821. parameters:
  5822. - description: 用户ID
  5823. in: query
  5824. name: userID
  5825. required: true
  5826. type: integer
  5827. produces:
  5828. - application/json
  5829. responses:
  5830. "200":
  5831. description: OK
  5832. schema:
  5833. $ref: '#/definitions/models.Useraccount'
  5834. "500":
  5835. description: Internal Server Error
  5836. schema:
  5837. $ref: '#/definitions/app.Response'
  5838. security:
  5839. - ApiKeyAuth: []
  5840. summary: 获取用户账号信息
  5841. tags:
  5842. - 用户信息
  5843. /User/GetUserAuthStatus:
  5844. get:
  5845. parameters:
  5846. - description: 用户ID
  5847. in: query
  5848. name: userID
  5849. required: true
  5850. type: integer
  5851. produces:
  5852. - application/json
  5853. responses:
  5854. "200":
  5855. description: OK
  5856. schema:
  5857. $ref: '#/definitions/app.Response'
  5858. "500":
  5859. description: Internal Server Error
  5860. schema:
  5861. $ref: '#/definitions/app.Response'
  5862. security:
  5863. - ApiKeyAuth: []
  5864. summary: 获取用户实名认证状态
  5865. tags:
  5866. - 用户信息
  5867. /User/QueryMessageBoard:
  5868. get:
  5869. parameters:
  5870. - description: 用户ID
  5871. in: query
  5872. name: userID
  5873. required: true
  5874. type: integer
  5875. produces:
  5876. - application/json
  5877. responses:
  5878. "200":
  5879. description: OK
  5880. schema:
  5881. $ref: '#/definitions/models.Messageboard'
  5882. "500":
  5883. description: Internal Server Error
  5884. schema:
  5885. $ref: '#/definitions/app.Response'
  5886. security:
  5887. - ApiKeyAuth: []
  5888. summary: 获取用户留言板信息
  5889. tags:
  5890. - 用户信息
  5891. /User/QueryUserFavoriteGoodses:
  5892. get:
  5893. parameters:
  5894. - description: 用户ID
  5895. in: query
  5896. name: userID
  5897. required: true
  5898. type: integer
  5899. produces:
  5900. - application/json
  5901. responses:
  5902. "200":
  5903. description: OK
  5904. schema:
  5905. $ref: '#/definitions/models.Userfavoritegoods'
  5906. "500":
  5907. description: Internal Server Error
  5908. schema:
  5909. $ref: '#/definitions/app.Response'
  5910. security:
  5911. - ApiKeyAuth: []
  5912. summary: 获取用户商品收藏信息
  5913. tags:
  5914. - 用户信息
  5915. /User/QueryUserInfo:
  5916. get:
  5917. parameters:
  5918. - description: 用户ID
  5919. in: query
  5920. name: userID
  5921. required: true
  5922. type: integer
  5923. produces:
  5924. - application/json
  5925. responses:
  5926. "200":
  5927. description: OK
  5928. schema:
  5929. $ref: '#/definitions/models.Userinfo'
  5930. "500":
  5931. description: Internal Server Error
  5932. schema:
  5933. $ref: '#/definitions/app.Response'
  5934. security:
  5935. - ApiKeyAuth: []
  5936. summary: 获取用户信息
  5937. tags:
  5938. - 用户信息
  5939. /User/QueryUserReferNum:
  5940. get:
  5941. parameters:
  5942. - description: 用户ID
  5943. in: query
  5944. name: userID
  5945. required: true
  5946. type: integer
  5947. produces:
  5948. - application/json
  5949. responses:
  5950. "200":
  5951. description: OK
  5952. schema:
  5953. $ref: '#/definitions/app.Response'
  5954. "500":
  5955. description: Internal Server Error
  5956. schema:
  5957. $ref: '#/definitions/app.Response'
  5958. summary: 获取用户邀请码
  5959. tags:
  5960. - 用户信息
  5961. /User/RemoveUserFavoriteGoods:
  5962. post:
  5963. parameters:
  5964. - description: 用户ID
  5965. in: query
  5966. name: userID
  5967. required: true
  5968. type: integer
  5969. - description: 商品ID
  5970. in: query
  5971. name: goodsID
  5972. required: true
  5973. type: integer
  5974. produces:
  5975. - application/json
  5976. responses:
  5977. "200":
  5978. description: OK
  5979. schema:
  5980. $ref: '#/definitions/app.Response'
  5981. "500":
  5982. description: Internal Server Error
  5983. schema:
  5984. $ref: '#/definitions/app.Response'
  5985. security:
  5986. - ApiKeyAuth: []
  5987. summary: 移除用户商品收藏信息
  5988. tags:
  5989. - 用户信息
  5990. /WRTrade/GetAllDeliveryGoods:
  5991. get:
  5992. produces:
  5993. - application/json
  5994. - application/json
  5995. responses:
  5996. "200":
  5997. description: OK
  5998. schema:
  5999. $ref: '#/definitions/app.Response'
  6000. "500":
  6001. description: Internal Server Error
  6002. schema:
  6003. $ref: '#/definitions/app.Response'
  6004. security:
  6005. - ApiKeyAuth: []
  6006. - ApiKeyAuth: []
  6007. summary: 获取带仓单分类的种类信息
  6008. tags:
  6009. - 仓单贸易
  6010. - 仓单贸易
  6011. securityDefinitions:
  6012. ApiKeyAuth:
  6013. in: header
  6014. name: Authorization
  6015. type: apiKey
  6016. swagger: "2.0"