商品详情海报增加from默认值

This commit is contained in:
hupeng
2020-09-19 19:17:23 +08:00
parent 39c5ee58fd
commit 1605e89a4e

View File

@ -138,7 +138,7 @@ public class StoreProductController {
@ApiImplicitParam(name = "id", value = "商品ID", paramType = "query", dataType = "int")
})
@ApiOperation(value = "商品详情海报",notes = "商品详情海报")
public ApiResult<String> prodoctPoster(@PathVariable Integer id,@RequestParam String from) throws IOException, FontFormatException {
public ApiResult<String> prodoctPoster(@PathVariable Integer id,@RequestParam(value = "from",defaultValue = "h5") String from) throws IOException, FontFormatException {
YxUser userInfo = LocalUser.getUser();
long uid = userInfo.getUid();