mirror of
https://github.com/Hello-hao/Tbed.git
synced 2024-04-21 12:32:10 +00:00
2019-9-8更新
This commit is contained in:
@@ -61,13 +61,15 @@ public class ClientController {
|
||||
UploadConfig uploadConfig = uploadConfigService.getUpdateConfig();
|
||||
if (uploadConfig.getApi() == 1) {
|
||||
if (email != null && pass != null) {
|
||||
Integer ret = userService.login(email, pass);
|
||||
Integer ret = userService.login(email, Base64Encryption.encryptBASE64(pass.getBytes()));
|
||||
if (ret > 0) {
|
||||
User user = userService.getUsers(email);
|
||||
if (user.getIsok() == 1) {
|
||||
User u = userService.getUsers(email);
|
||||
Config config = configService.getSourceype();//查询当前系统使用的存储源类型。
|
||||
|
||||
Integer Sourcekey = GetCurrentSource.GetSource(u.getId());
|
||||
|
||||
Keys key = keysService.selectKeys(Sourcekey);
|
||||
if (key.getStorageType() != 0 && key.getStorageType() != null) {
|
||||
if (key.getStorageType() == 1) {
|
||||
|
||||
Reference in New Issue
Block a user