Browse Source

微信开发

chenyongxing 8 years ago
parent
commit
32e7692294

+ 2 - 2
svr/svr-base/src/main/java/com/yihu/jw/wx/controller/WechatController.java

@ -17,8 +17,8 @@ import org.springframework.web.bind.annotation.*;
 * Created by chenweida on 2017/5/11.
 */
@RestController
@RequestMapping("/wechat")
@Api(description = "微信相关操作")
@RequestMapping(BaseContants.Wechat.api_common)
@Api(value = "微信相关操作", description = "微信相关操作")
public class WechatController  extends EnvelopRestController {
    @Autowired
    private WechatService wechatService;

+ 4 - 0
svr/svr-base/src/main/java/com/yihu/jw/wx/controller/WxMenuController.java

@ -6,6 +6,7 @@ import com.yihu.jw.restmodel.common.EnvelopRestController;
import com.yihu.jw.restmodel.exception.ApiException;
import com.yihu.jw.wx.model.WxMenu;
import com.yihu.jw.wx.service.WxMenuService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.beans.factory.annotation.Autowired;
@ -15,6 +16,9 @@ import org.springframework.web.bind.annotation.*;
/**
 * Created by Administrator on 2017/5/19 0019.
 */
@RestController
@RequestMapping(BaseContants.WxMenu.api_common)
@Api(value = "微信菜单相关操作", description = "微信菜单相关操作")
public class WxMenuController extends EnvelopRestController {
    @Autowired

+ 4 - 0
svr/svr-base/src/main/java/com/yihu/jw/wx/controller/WxTemplateController.java

@ -6,6 +6,7 @@ import com.yihu.jw.restmodel.common.EnvelopRestController;
import com.yihu.jw.restmodel.exception.ApiException;
import com.yihu.jw.wx.model.WxTemplate;
import com.yihu.jw.wx.service.WxTemplateService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.beans.factory.annotation.Autowired;
@ -15,6 +16,9 @@ import org.springframework.web.bind.annotation.*;
/**
 * Created by Administrator on 2017/5/19 0019.
 */
@RestController
@RequestMapping(BaseContants.WxTemplate.api_common)
@Api(value = "微信模版相关操作", description = "微信模版相关操作")
public class WxTemplateController extends EnvelopRestController {
    @Autowired
    private WxTemplateService wxTemplateService;