|
@ -11,7 +11,6 @@ import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.http.MediaType;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import java.io.BufferedReader;
|
|
@ -46,7 +45,7 @@ public class WechatMenuController extends BaseController {
|
|
|
* @return
|
|
|
*/
|
|
|
@ApiOperation(value = "微信菜单创建")
|
|
|
@RequestMapping(value = "/menu/create", method = RequestMethod.POST)
|
|
|
@RequestMapping(value = "/menu/create", method = RequestMethod.GET)
|
|
|
public String createMenuTest() {
|
|
|
try {
|
|
|
String filePath = WechatCoreController.class.getResource("/").getPath() +
|
|
@ -87,7 +86,7 @@ public class WechatMenuController extends BaseController {
|
|
|
* @return
|
|
|
*/
|
|
|
@ApiOperation(value = "集美区微信特色菜单菜单创建")
|
|
|
@RequestMapping(value = "/menu/create/jimei", method = RequestMethod.POST)
|
|
|
@RequestMapping(value = "/menu/create/jimei", method = RequestMethod.GET)
|
|
|
public String createMenuTestJimei() {
|
|
|
try {
|
|
|
String filePath = WechatCoreController.class.getResource("/").getPath() +
|
|
@ -123,7 +122,7 @@ public class WechatMenuController extends BaseController {
|
|
|
* @return
|
|
|
*/
|
|
|
@ApiOperation(value = "医生助手微信菜单创建")
|
|
|
@RequestMapping(value = "/menu/create/feldsher", method = RequestMethod.POST)
|
|
|
@RequestMapping(value = "/menu/create/feldsher", method = RequestMethod.GET)
|
|
|
public String createMenuTestFeldsher() {
|
|
|
try {
|
|
|
String filePath = WechatCoreController.class.getResource("/").getPath() +
|