Commit 327bf0d8 authored by xiaozhe.chen's avatar xiaozhe.chen

auth信息拿到apllo中配置

parent ce2cca7f
...@@ -59,6 +59,7 @@ import org.apache.commons.lang3.BooleanUtils; ...@@ -59,6 +59,7 @@ import org.apache.commons.lang3.BooleanUtils;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.exception.ExceptionUtils; import org.apache.commons.lang3.exception.ExceptionUtils;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.data.domain.Page; import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest; import org.springframework.data.domain.PageRequest;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
...@@ -107,8 +108,9 @@ public class OrderServiceImpl implements OrderService{ ...@@ -107,8 +108,9 @@ public class OrderServiceImpl implements OrderService{
@Autowired @Autowired
private OPCenter opCenter; private OPCenter opCenter;
@Value("${cloth.auth}")
private String auth;
private static final String auth = "dXNlcj14dWV6aiZwYXNzd29yZD0xMjMxMjNxd2Vxd2U%3D";
private static final int CONSCONT_STATUS = 2; private static final int CONSCONT_STATUS = 2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment