chenyongxing 8 vuotta sitten
vanhempi
commit
e313d5b23b

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

@ -9,6 +9,7 @@ import com.yihu.jw.wx.service.WxAccessTokenService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.*;
@ -20,6 +21,7 @@ import org.springframework.web.bind.annotation.*;
@Api(value = "微信token模块", description = "微信token模块接口管理")
public class WxAccessTokenController extends EnvelopRestController {
    @Autowired
    private WxAccessTokenService wxAccessTokenService;
    /**

+ 2 - 1
svr/svr-base/src/main/java/com/yihu/jw/wx/service/WechatService.java

@ -1,5 +1,6 @@
package com.yihu.jw.wx.service;
import com.yihu.jw.mysql.query.BaseJpaService;
import com.yihu.jw.restmodel.base.BaseContants;
import com.yihu.jw.restmodel.common.CommonContants;
import com.yihu.jw.restmodel.exception.ApiException;
@ -11,7 +12,7 @@ import org.springframework.util.StringUtils;
/**
 * Created by Administrator on 2017/5/20 0020.
 */
public class WechatService {
public class WechatService extends BaseJpaService<WxWechat, WechatDao> {
    @Autowired
    private WechatDao wechatDao;

+ 2 - 1
svr/svr-base/src/main/java/com/yihu/jw/wx/service/WxAccessTokenService.java

@ -1,5 +1,6 @@
package com.yihu.jw.wx.service;
import com.yihu.jw.mysql.query.BaseJpaService;
import com.yihu.jw.restmodel.base.BaseContants;
import com.yihu.jw.restmodel.common.CommonContants;
import com.yihu.jw.restmodel.exception.ApiException;
@ -15,7 +16,7 @@ import java.util.List;
/**
 * Created by Administrator on 2017/5/18 0018.
 */
public class WxAccessTokenService {
public class WxAccessTokenService extends BaseJpaService<WxAccessToken, WxAccessTokenDao> {
    @Autowired
    private WxAccessTokenDao wxAccessTokenDao;

+ 2 - 1
svr/svr-base/src/main/java/com/yihu/jw/wx/service/WxMenuService.java

@ -1,5 +1,6 @@
package com.yihu.jw.wx.service;
import com.yihu.jw.mysql.query.BaseJpaService;
import com.yihu.jw.restmodel.base.BaseContants;
import com.yihu.jw.restmodel.common.CommonContants;
import com.yihu.jw.restmodel.exception.ApiException;
@ -13,7 +14,7 @@ import javax.persistence.Transient;
/**
 * Created by Administrator on 2017/5/19 0019.
 */
public class WxMenuService {
public class WxMenuService extends BaseJpaService<WxMenu, WxMenuDao> {
    @Autowired
    private WxMenuDao wxMenuDao;

+ 2 - 1
svr/svr-base/src/main/java/com/yihu/jw/wx/service/WxTemplateService.java

@ -1,5 +1,6 @@
package com.yihu.jw.wx.service;
import com.yihu.jw.mysql.query.BaseJpaService;
import com.yihu.jw.restmodel.base.BaseContants;
import com.yihu.jw.restmodel.common.CommonContants;
import com.yihu.jw.restmodel.exception.ApiException;
@ -11,7 +12,7 @@ import org.springframework.util.StringUtils;
/**
 * Created by Administrator on 2017/5/19 0019.
 */
public class WxTemplateService {
public class WxTemplateService extends BaseJpaService<WxTemplate, WxTemplateDao> {
    @Autowired
    private WxTemplateDao wxTemplateDao;