更新密码找回uniapp
This commit is contained in:
1 parent
7f9a66da0f
commit
3fdda89833
1304 files changed
+3503
-26132
No files matched your search
@@ -15,7 +15,6 @@ import (
|
||||
beego "github.com/beego/beego/v2/server/web"
|
||||
)
|
||||
|
||||
// BackendErpCompanyContactController ERP客户/供应商联系人控制器
|
||||
type BackendErpCompanyContactController struct {
|
||||
beego.Controller
|
||||
}
|
||||
@@ -41,7 +40,7 @@ type companyContactPayload struct {
|
||||
Name string `json:"name"`
|
||||
Gender int8 `json:"gender"`
|
||||
Phone string `json:"phone"`
|
||||
Mobiles string `json:"mobiles"` // JSON数组字符串
|
||||
Mobiles string `json:"mobiles"`
|
||||
Wechat string `json:"wechat"`
|
||||
QQ string `json:"qq"`
|
||||
Dingtalk string `json:"dingtalk"`
|
||||
@@ -54,7 +53,6 @@ type companyContactPayload struct {
|
||||
Remark string `json:"remark"`
|
||||
}
|
||||
|
||||
// List GET /backend/erp/company-contact/list?company_type=customer&company_id=1
|
||||
func (c *BackendErpCompanyContactController) List() {
|
||||
claims, err := c.contactClaims()
|
||||
if err != nil {
|
||||
@@ -93,7 +91,6 @@ func (c *BackendErpCompanyContactController) List() {
|
||||
c.contactOk(map[string]interface{}{"list": list})
|
||||
}
|
||||
|
||||
// Create POST /backend/erp/company-contact
|
||||
func (c *BackendErpCompanyContactController) Create() {
|
||||
claims, err := c.contactClaims()
|
||||
if err != nil {
|
||||
@@ -153,7 +150,6 @@ func (c *BackendErpCompanyContactController) Create() {
|
||||
c.contactOk(map[string]interface{}{"id": id})
|
||||
}
|
||||
|
||||
// Update PUT /backend/erp/company-contact/:id
|
||||
func (c *BackendErpCompanyContactController) Update() {
|
||||
claims, err := c.contactClaims()
|
||||
if err != nil {
|
||||
@@ -215,7 +211,6 @@ func (c *BackendErpCompanyContactController) Update() {
|
||||
c.contactOk(nil)
|
||||
}
|
||||
|
||||
// Delete DELETE /backend/erp/company-contact/:id
|
||||
func (c *BackendErpCompanyContactController) Delete() {
|
||||
claims, err := c.contactClaims()
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user