加盟商短信逻辑修改
This commit is contained in:
@@ -26,6 +26,7 @@ import com.cool.store.service.*;
|
||||
import com.cool.store.vo.cuser.IdentityCardInfoVO;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
@@ -63,6 +64,9 @@ public class TestController {
|
||||
@Resource
|
||||
private FollowTaskService followTaskService;
|
||||
|
||||
@Autowired
|
||||
private WechatMiniAppService wechatMiniAppService;
|
||||
|
||||
@PostMapping("/post")
|
||||
public ResponseResult<Boolean> get(@RequestBody List<TestRequest> testRequestList){
|
||||
log.info(JSONObject.toJSONString(testRequestList));
|
||||
@@ -285,4 +289,9 @@ public class TestController {
|
||||
public ResponseResult initOpenArea() {
|
||||
return ResponseResult.success(openAreaService.addOpenArea());
|
||||
}
|
||||
|
||||
@GetMapping("/getMiniAppUrl")
|
||||
public ResponseResult getMiniAppUrl(){
|
||||
return ResponseResult.success(wechatMiniAppService.getMiniAppUrl());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user