Browse Source

修改业主上传头像存在bug

java110 3 years ago
parent
commit
118cd5cb0b

+ 1 - 1
service-user/src/main/java/com/java110/user/cmd/owner/SaveOwnerCmd.java

@@ -147,7 +147,7 @@ public class SaveOwnerCmd extends Cmd {
             reqJson.put("fileSaveName", fileName);
 
             JSONObject businessUnit = new JSONObject();
-            businessUnit.put("fileRelId", "-1");
+            businessUnit.put("fileRelId", GenerateCodeFactory.getGeneratorId(GenerateCodeFactory.CODE_PREFIX_fileRelId));
             businessUnit.put("relTypeCd", "10000");
             businessUnit.put("saveWay", "table");
             businessUnit.put("objId", reqJson.getString("memberId"));