2 changed files with 38 additions and 2 deletions
			
			
		@ -0,0 +1,29 @@ | 
				
			|||||
 | 
					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(); | 
				
			||||
 | 
						} | 
				
			||||
 | 
					} | 
				
			||||
					Loading…
					
					
				
		Reference in new issue