123456789101112131415161718192021222324 |
- package com.qs.mp.api;
- import org.junit.jupiter.api.Test;
- import com.qs.mp.common.BaseControllerTest;
- /**
- * @auther duota
- * @create 2021 2021/9/7 6:36 下午
- * @describe
- */
- public class UserControllerTest extends BaseControllerTest {
- /**
- * 发送短信验证码接口
- */
- @Test
- public void testSendSmsCode(){
- String mobile = "15112682435";
- String params = "{\"mobile\":\""+mobile+"\"}";
- String url = "http://localhost:8080/api/v1/mp/sms/sendSmsCode?";
- System.out.println(request(url, params));
- }
- }
|