fix this issue (#12281)
This commit is contained in:
parent
7bf49a7179
commit
b4947b471c
|
|
@ -144,7 +144,7 @@ public class UsersServiceImpl extends BaseServiceImpl implements UsersService {
|
|||
* @throws Exception exception
|
||||
*/
|
||||
@Override
|
||||
@Transactional
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public Map<String, Object> createUser(User loginUser,
|
||||
String userName,
|
||||
String userPassword,
|
||||
|
|
@ -190,7 +190,6 @@ public class UsersServiceImpl extends BaseServiceImpl implements UsersService {
|
|||
result.put(Constants.DATA_LIST, user);
|
||||
putMsg(result, Status.SUCCESS);
|
||||
return result;
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ public class StoreConfiguration {
|
|||
|
||||
@Bean
|
||||
public StorageOperate storageOperate() {
|
||||
switch (PropertyUtils.getString(RESOURCE_STORAGE_TYPE)) {
|
||||
switch (PropertyUtils.getUpperCaseString(RESOURCE_STORAGE_TYPE)) {
|
||||
case STORAGE_OSS:
|
||||
OssOperator ossOperator = new OssOperator();
|
||||
// TODO: change to use ossOperator.init(ossConnection) after DS supports Configuration / Connection
|
||||
|
|
|
|||
Loading…
Reference in New Issue