Browse Source

因管理平台地址迁移和增加用户验证,修改设置管理员密码时的发送请求

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@1531 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
suntg 10 years ago
parent
commit
183a066bd7

+ 2 - 2
src/main/java/com/uas/platform/b2b/service/impl/EnterpriseServiceImpl.java

@@ -209,8 +209,8 @@ public class EnterpriseServiceImpl implements EnterpriseService {
 	private void updateManagePassword(Long enUU, String password) {
 	private void updateManagePassword(Long enUU, String password) {
 		try {
 		try {
 			Response response = HttpUtil.sendPostRequest(
 			Response response = HttpUtil.sendPostRequest(
-					EnterpriseController.MANAGE_HOST + "enterprise/password?enUU=" + enUU + "&password=" + password,
-					null);
+					EnterpriseController.MANAGE_HOST + "public/enterprise/password?enUU=" + enUU + "&password=" + password,
+					null, true);
 			if (response.getStatusCode() != HttpStatus.OK.value())
 			if (response.getStatusCode() != HttpStatus.OK.value())
 				throw new IllegalOperatorException(response.getResponseText());
 				throw new IllegalOperatorException(response.getResponseText());
 		} catch (Exception e) {
 		} catch (Exception e) {