Showing
1 changed file
with
25 additions
and
201 deletions
1 | +## 1、获取文章作者信息## | ||
1 | 2 | ||
3 | +获取文章作者信息(/guang/service/*/author/getAuthor)(h5接口) | ||
4 | +#### 请求参数 | ||
5 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
6 | +|:-------| -----:|-----:|-----:|-----:|----:| | ||
7 | +|author_id|string|否|380463|0|作者的用户id| | ||
8 | +|client_type|string|否|h5|h5|客户端类型| | ||
2 | 9 | ||
3 | -# 接口编号 | 10 | +注意,通用的头部没有列出。 |
11 | +请求示例 | ||
12 | +http://192.168.102.205:8080/gateway/guang/service/*/author/getAuthor?author_id=380463&client_type=h5&debug=XYZ | ||
4 | 13 | ||
5 | - 接口编号用于接口降级使用 | ||
6 | - | ||
7 | -## api.yoho.cn | ||
8 | - | ||
9 | -|接口名称| 编号| | ||
10 | -|---|:---| | ||
11 | -|app.product.intro|1| | ||
12 | -|app.product.data|2| | ||
13 | -|app.sort.get|3| | ||
14 | -|app.search.category|4| | ||
15 | -|app.search.sales|5| | ||
16 | -|app.search.newProduct|6| | ||
17 | -|app.search.fuzzy|7| | ||
18 | -|app.search.li|8| | ||
19 | -|app.brand.brandlist|9| | ||
20 | -|app.search.brand|10| | ||
21 | -|app.favorite.add|11| | ||
22 | -|app.favorite.cancel|12| | ||
23 | -|app.home.preference|13| | ||
24 | -|app.search.top|14| | ||
25 | -|app.search.last7day|15| | ||
26 | -|h5.consult.li|16| | ||
27 | -|h5.consult.add|17| | ||
28 | -|h5.preference.Search|18| | ||
29 | -|h5.sortPreference.Search|19| | ||
30 | -|h5.product.data|20| | ||
31 | -|h5.product.intro|21| | ||
32 | -|app.config.fashioncodeTemplate|22| | ||
33 | -|app.promotion.sendCheckCode|23| | ||
34 | -|app.promotion.getCoupon|24| | ||
35 | -|app.promotion.validCode|25| | ||
36 | -|app.promotion.queryCoupon|26| | ||
37 | -|app.address.get|27| | ||
38 | -|app.address.getlist|28| | ||
39 | -|app.address.add|29| | ||
40 | -|app.address.del|30| | ||
41 | -|app.address.setDefault|31| | ||
42 | -|app.address.provinces|32| | ||
43 | -|app.address.update|33| | ||
44 | -|inbox.updateInbox|34| | ||
45 | -|inbox.queryListById|35| | ||
46 | -|app.inbox.getlist|36| | ||
47 | -|app.inbox.getlistnew|37| | ||
48 | -|app.register.sendRegCodeToMobile|38| | ||
49 | -|app.register.validRegCode|39| | ||
50 | -|app.coupons.total|40| | ||
51 | -|app.coupons.li|41| | ||
52 | -|app.home.getInfoNum|42| | ||
53 | -|app.passport.register|43| | ||
54 | -|app.passport.profile|44| | ||
55 | -|app.passport.signin|45| | ||
56 | -|app.passport.signinByOpenID|46| | ||
57 | -|app.passport.bind|47| | ||
58 | -|app.passport.changeCheck|48| | ||
59 | -|app.passport.modifyBase|49| | ||
60 | -|app.passport.check|50| | ||
61 | -|app.passport.getPrivilege|51| | ||
62 | -|app.passport.smsbind|52| | ||
63 | -|app.passport.vip|53| | ||
64 | -|app.passport.changeMobile|54| | ||
65 | -|app.brand.getBrandIntro|55| | ||
66 | -|app.yohocoin.lists|56| | ||
67 | -|app.yohocoin.total|57| | ||
68 | -|show.toShareOrderList|58| | ||
69 | -|show.productShareOrderList|59| | ||
70 | -|show.allToShareOrderList|60| | ||
71 | -|show.ownerShareList|61| | ||
72 | -|show.otherToShareOrderList|62| | ||
73 | -|show.showChannel|63| | ||
74 | -|show.saveShareOrder|64| | ||
75 | -|app.SpaceOrders.getShareOrder|65| | ||
76 | -|app.SpaceOrders.info|66| | ||
77 | -|app.SpaceOrders.get|67| | ||
78 | -|app.SpaceOrders.detail|68| | ||
79 | -|app.SpaceOrders.confirm|69| | ||
80 | -|app.favorite.brand|70| | ||
81 | -|app.favorite.product|71| | ||
82 | -|app.consult.add|72| | ||
83 | -|app.consult.li|73| | ||
84 | -|app.consult.common|74| | ||
85 | -|app.product.preference|75| | ||
86 | -|app.consult.useful|76| | ||
87 | -|app.consult.like|77| | ||
88 | -|app.resources.config.clientInitConfig|78| | ||
89 | -|app.Shopping.add|79| | ||
90 | -|app.Shopping.cart|80| | ||
91 | -|app.Shopping.increase|81| | ||
92 | -|app.Shopping.decrease|82| | ||
93 | -|app.Shopping.swap|83| | ||
94 | -|app.Shopping.remove|84| | ||
95 | -|app.Shopping.payment|85| | ||
96 | -|app.Shopping.count|86| | ||
97 | -|app.Shopping.selected|87| | ||
98 | -|app.Shopping.compute|88| | ||
99 | -|app.Shopping.useCoupon|89| | ||
100 | -|app.Shopping.submit|90| | ||
101 | -|app.yoho.yohocoin|91| | ||
102 | -|app.browse.product|92| | ||
103 | -|app.browse.delete|93| | ||
104 | -|app.yoho.redpacket|94| | ||
105 | -|app.yoho.redpacketInfo|95| | ||
106 | -|app.promotion.queryBirthCoupon|96| | ||
107 | -|app.resources.getNotices|97| | ||
108 | -|app.promotion.queryUserShowYohoCoin|98| | ||
109 | -|app.Shopping.usePromotionCode|99| | ||
110 | -|show.addPraise|100| | ||
111 | -|show.cancelPraise|101| | ||
112 | -|app.promotion_code.get|102| | ||
113 | -|app.express.get|103| | ||
114 | -|app.express.li|104| | ||
115 | -|app.express.getExpressInfo|105| | ||
116 | -|app.express.getExpressCompany|106| | ||
117 | -|app.express.getNewExpress|107| | ||
118 | -|app.express.getRefundExpress|108| | ||
119 | -|app.refund.goodsList|109| | ||
120 | -|app.refund.getList|110| | ||
121 | -|app.refund.detail|111| | ||
122 | -|app.refund.setexpress|112| | ||
123 | -|app.refund.submit|113| | ||
124 | -|app.SpaceOrders.close|114| | ||
125 | -|app.SpaceOrders.delOrderByCode|115| | ||
126 | -|app.register.sendBackpwdCodeToMobile|116| | ||
127 | -|app.register.validBackpwdCode|117| | ||
128 | -|app.register.changepwdByMobileCode|118| | ||
129 | -|app.register.backpwdByEmail|119| | ||
130 | -|app.inbox.getTotal|120| | ||
131 | -|app.product.gift|121| | ||
132 | -|app.consult.lastTwo|122| | ||
133 | -|show.recentShareOrderByProductId|123| | ||
134 | -|app.SpaceOrders.payConfirm|124| | ||
135 | -|app.SpaceOrders.updateOrdersPaymentByCode|125| | ||
136 | -|app.Shopping.erpSubmitStat|126| | ||
137 | -|app.search.getTerms|127| | ||
138 | -|app.search.compareRecord|128| | ||
139 | -|app.search.getTerms|129| | ||
140 | -|app.brand.banner|130| | ||
141 | -|app.SpaceOrders.close|131| | ||
142 | -|app.change.submit|132| | ||
143 | -|app.change.detail|133| | ||
144 | -|app.change.setexpress|134| | ||
145 | -|app.change.getDelivery|135| | ||
146 | -|app.change.goodsList|136| | ||
147 | -|app.cover.getCoverStart|137| | ||
148 | -|app.msgsys.getIosUser|138| | ||
149 | -|app.Msgsys.getAndroidUser|139| | ||
150 | -|app.msgsys.pushIosUser|140| | ||
151 | -|app.Msgsys.pushAndroidUser|141| | ||
152 | -|app.activity.getlist|142| | ||
153 | -|app.activity.bindaccount|143| | ||
154 | -|app.activity.getshare|144| | ||
155 | -|app.activity.addshare|145| | ||
156 | -|app.search.lifeStyle|146| | ||
157 | -|app.search.kids|147| | ||
158 | -|app.brand.banner|148| | ||
159 | -|app.help.li|149| | ||
160 | -|app.help.detail|150| | ||
161 | -|app.drawline.getQueueList|151| | ||
162 | -|app.drawline.addQueue|152| | ||
163 | -|app.drawline.getUserActivityInfo|153| | ||
164 | -|app.drawline.getActivityInfo|154| | ||
165 | -|app.drawline.getLuckyUserList|155| | ||
166 | -|app.drawline.changeTaskValue|156| | ||
167 | -|app.limitcode.add|157| | ||
168 | -|app.limitcode.query|158| | ||
169 | -|app.limitcode.showredpoint|159| | ||
170 | -|app.limitcode.deleteinvalid|160| | ||
171 | -|app.limitProduct.alreadySaleLimitProduct|161| | ||
172 | -|app.limitProduct.hotLimitProduct|162| | ||
173 | -|app.limitProduct.soonToSaleLimitProduct|163| | ||
174 | -|app.limitProduct.limitProductDetail|164| | ||
175 | -|app.limitProduct.limitProductHtml|165| | ||
176 | -|app.reminder.addUserReminder|166| | ||
177 | -|app.reminder.getUserReminder|167| | ||
178 | -|show.notCommentRecordCount|168| | ||
179 | -|app.help.li|169| | ||
180 | -|app.help.detail|170| | ||
181 | - | ||
182 | -## service.yoho.cn | ||
183 | -|接口名称| 编号| | ||
184 | -|---|:---| | ||
185 | -|/operations/api/v5/webshare/getShare|1000| | ||
186 | -|/operations/api/v4/icon/getIcon|1001| | ||
187 | -|/operations/api/v5/resource/home |1002| | ||
188 | -|/operations/api/v5/resource/get |1003| | ||
189 | -|/union/UnionRest/activeUnion |1004| | ||
190 | -|/payment/wechat_data |1005| | ||
191 | -|/payment/wechat_notify|1006| | ||
192 | -|/payment/alipaywap_notify |1007| | ||
193 | -|/payment/wechatwap_notify |1008| | ||
194 | -|/payment/alipay_notify |1009| | ||
195 | -|/payment/alipay_newnotify |1010| | ||
196 | -|/payment/unionpay_notify|1011| | ||
197 | -|/payment/unionpay_newnotify|1012| | ||
198 | -|/payment/unionpay_data|1013| | ||
199 | -|/operations/api/v5/help/getCategory|1014| | ||
200 | -|/operations/api/v5/help/getHelp|1015| | ||
201 | -|/operations/api/v5/help/getHelpContent|1016| | ||
202 | -|/operations/api/v6/category/getCategory|1017| | ||
203 | -|/operations/api/v5/entrance/getEntrance|1018| | ||
204 | -|/operations/api/v5/version/getVersion|1019| | ||
14 | +### 响应 | ||
15 | +code为200即为成功,否则是失败。 | ||
16 | +响应JSON格式如下所示: | ||
17 | +```json | ||
18 | +{ | ||
19 | + "code": 200, | ||
20 | + "data": { | ||
21 | + "author_desc": "Because i'm fierce,bitch!", | ||
22 | + "avatar": "http://img12.static.yhbimg.com/yhb-img02/2015/06/12/12/02aafe4efc368f307c02b692cf1f862570.jpg?imageView/0/w/100/h/100", | ||
23 | + "name": "uncle-sam", | ||
24 | + "url": "http://guang.m.yohobuy.com/author/index?id=380463" | ||
25 | + }, | ||
26 | + "message": "author info" | ||
27 | +} | ||
28 | +``` |
-
Please register or login to post a comment