Commit 81ff2c47 by fudahua

会员小程序 获取用户信息接口

parent 7fd91da5
...@@ -9,6 +9,7 @@ import java.util.HashSet; ...@@ -9,6 +9,7 @@ import java.util.HashSet;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.Set; import java.util.Set;
import java.util.concurrent.TimeUnit;
import java.util.stream.Collectors; import java.util.stream.Collectors;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
...@@ -1178,7 +1179,7 @@ public class StaffApiServiceImpl implements StaffApiService { ...@@ -1178,7 +1179,7 @@ public class StaffApiServiceImpl implements StaffApiService {
} }
@Override @Override
@RedisCache(value = "qrcode-${clerkCode}-${storeId}", timeOut = 10) @RedisCache(value = "qrcode-${clerkCode}-${storeId}", timeOut = 1, timeunit = TimeUnit.DAYS)
public ServiceResponse<String> getStaffQrcode(String clerkCode, String storeId) { public ServiceResponse<String> getStaffQrcode(String clerkCode, String storeId) {
ServiceResponse<String> resp = new ServiceResponse<>(); ServiceResponse<String> resp = new ServiceResponse<>();
TabHaobanDepartment department = departmentService.selectByRelatedId(storeId); TabHaobanDepartment department = departmentService.selectByRelatedId(storeId);
......
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