forked from rongchao/epmet-cloud-rizhao
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
697 B
29 lines
697 B
package com.epmet.controller;
|
|
|
|
import com.epmet.redis.CustomerAppWxServiceUtil;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
import java.util.Set;
|
|
|
|
/**
|
|
* @author jianjun liu
|
|
* @date 2020-06-04 20:39
|
|
**/
|
|
@RestController
|
|
@RequestMapping("opback")
|
|
public class BackDoorController {
|
|
@Autowired
|
|
private CustomerAppWxServiceUtil customerAppWxServiceUtil;
|
|
|
|
/**
|
|
* 数据库添加新客户app后
|
|
*
|
|
* @return
|
|
*/
|
|
@RequestMapping("reloadcustomerapp")
|
|
public Set<String> initWxMaService() {
|
|
return customerAppWxServiceUtil.initWxMaService();
|
|
}
|
|
}
|
|
|