mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-11 05:19:00 +08:00
fix(app): 移除短信验证码返回中的冗余信息
在 `AppMobileServiceImpl` 中,短信验证码接口的返回值移除了多余的 `code` 参数,简化了响应结构。
This commit is contained in:
1 parent
9b4590ccbb
commit
96011a3663
1 file changed
+1
-1
+1
-1
@@ -67,7 +67,7 @@ public class AppMobileServiceImpl implements AppMobileService {
|
||||
redisTemplate.opsForValue()
|
||||
.set(CacheConstants.DEFAULT_CODE_KEY + LoginTypeEnum.APPSMS.getType() + StringPool.AT + mobile, code,
|
||||
SecurityConstants.CODE_TIME, TimeUnit.SECONDS);
|
||||
return R.ok(Boolean.TRUE, code);
|
||||
return R.ok(Boolean.TRUE);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user