|
|
@@ -31,6 +31,18 @@ public class ProjectUserConfigService extends SuperService {
|
|
|
@Autowired
|
|
|
private ProjectUserConfigDao projectUserConfigDao;
|
|
|
|
|
|
+ /**
|
|
|
+ * 得到当前用户在项目的 使用必要配置情况,如:是否完成 绑卡操作、是否开头无感支付
|
|
|
+ *
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ public ResultContent getCurrentUserProjectConfigs() {
|
|
|
+ String userId = getCurrentUserId();
|
|
|
+ String projectId = getCurrentProjectOid();
|
|
|
+ Map<String, Object> map = getUserProjectConfigs(userId, projectId);
|
|
|
+ return ResultContent.buildSuccess(map);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 得到项目中用户所有的配置
|
|
|
*
|
|
|
@@ -38,7 +50,7 @@ public class ProjectUserConfigService extends SuperService {
|
|
|
* @param projectId
|
|
|
* @return
|
|
|
*/
|
|
|
- public Map<String, Object> getProjectUserConfigs(String userId, String projectId) {
|
|
|
+ public Map<String, Object> getUserProjectConfigs(String userId, String projectId) {
|
|
|
if (StringUtils.isEmpty(userId)) {
|
|
|
userId = getCurrentUserId();
|
|
|
}
|