Commit c6db00ea authored by Quxl's avatar Quxl

c

parent 31db823a
......@@ -5,6 +5,7 @@ import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Controller;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.PostMapping;
......@@ -125,7 +126,7 @@ public class AdminUserController {
@ApiImplicitParam(paramType="query", dataType="string", required=true, name="email", value="邮件"),
@ApiImplicitParam(paramType="query", dataType="string", required=true, name="tel", value="电话"),
})
public Rjx saveOrUpdateUser(Integer uid, String realname, String username, String password, Integer group_id, Date expire_date, String email, String tel) {
public Rjx saveOrUpdateUser(Integer uid, String realname, String username, String password, Integer group_id, @DateTimeFormat(pattern="yyyy-MM-dd")Date expire_date, String email, String tel) {
Fc_user user = new Fc_user();
user.setUid(uid);
user.setRealname(realname);
......
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