|
|
|
@@ -7,6 +7,7 @@ import com.iformall.domain.po.WxFloatingLayer; |
|
|
|
import com.iformall.service.WxCuserFloatingLayerService; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.ApiImplicitParam; |
|
|
|
import io.swagger.annotations.ApiImplicitParams; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
import org.slf4j.Logger; |
|
|
|
import org.slf4j.LoggerFactory; |
|
|
|
@@ -30,9 +31,11 @@ public class WxCuserFloatingLayerController extends BaseController { |
|
|
|
@AuthIgnore |
|
|
|
@ApiOperation("获取浮层") |
|
|
|
@GetMapping("/getFloatingLayer") |
|
|
|
@ApiImplicitParam(name = "openId", value = "openId", dataType = "String", paramType = "query", required = true) |
|
|
|
public ResultData getAppIcon(String openId) { |
|
|
|
WxFloatingLayer wxFloatingLayer = wxCuserFloatingLayerService.getFloatingLayer(openId); |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParam(name = "openId", value = "openId", dataType = "String", paramType = "query", required = true), |
|
|
|
@ApiImplicitParam(name = "appId", value = "appId", dataType = "String", paramType = "query", required = true)}) |
|
|
|
public ResultData getAppIcon(String openId, String appId) { |
|
|
|
WxFloatingLayer wxFloatingLayer = wxCuserFloatingLayerService.getFloatingLayer(openId, appId); |
|
|
|
return new ResultData(Result.SUCCESS, "查询成功", wxFloatingLayer); |
|
|
|
} |
|
|
|
|
|
|
|
|