mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-22 20:15:06 +08:00
update 防止会员id重复
This commit is contained in:
@@ -31,7 +31,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
|
||||
/**
|
||||
* 会员基础信息Controller
|
||||
@@ -91,12 +90,12 @@ public class MemberBasicInfoController extends BaseController {
|
||||
/**
|
||||
* 新增会员基础信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('member:info:add')")
|
||||
@Log(title = "会员基础信息", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody MemberBasicInfo memberBasicInfo) {
|
||||
return toAjax(memberBasicInfoService.insertMemberBasicInfo(memberBasicInfo));
|
||||
}
|
||||
// @PreAuthorize("@ss.hasPermi('member:info:add')")
|
||||
// @Log(title = "会员基础信息", businessType = BusinessType.INSERT)
|
||||
// @PostMapping
|
||||
// public AjaxResult add(@RequestBody MemberBasicInfo memberBasicInfo) {
|
||||
// return toAjax(memberBasicInfoService.insertMemberBasicInfo(memberBasicInfo));
|
||||
// }
|
||||
|
||||
/**
|
||||
* 修改会员基础信息
|
||||
|
||||
Reference in New Issue
Block a user