更新密码找回uniapp
This commit is contained in:
1 parent
7f9a66da0f
commit
3fdda89833
1304 files changed
+3503
-26132
No files matched your search
@@ -1,16 +1,9 @@
|
||||
package controllers
|
||||
|
||||
// 移动端进销存档案接口:商品、分类、仓库、客商。
|
||||
//
|
||||
// 档案维护(新建/修改/删除)仍留在 Web 端,手机端只读——开单时需要选商品、
|
||||
// 选仓库、选客户/供应商,因此这里提供与 Web 端同一份过滤与补字段口径的列表/详情。
|
||||
|
||||
// AppErpArchiveController 档案查询(移动端只读)
|
||||
type AppErpArchiveController struct {
|
||||
AppErpBaseController
|
||||
}
|
||||
|
||||
// ProductList GET /api/erp/product/list 商品列表(含分类名、全仓库存与预警状态)
|
||||
func (c *AppErpArchiveController) ProductList() {
|
||||
cl, err := c.erpClaims()
|
||||
if c.erpDenied(err) {
|
||||
@@ -33,7 +26,6 @@ func (c *AppErpArchiveController) ProductList() {
|
||||
c.erpListOK(list, total, page, pageSize, nil)
|
||||
}
|
||||
|
||||
// ProductDetail GET /api/erp/product/detail/:id 商品详情(含分仓/分批次结存)
|
||||
func (c *AppErpArchiveController) ProductDetail() {
|
||||
cl, err := c.erpClaims()
|
||||
if c.erpDenied(err) {
|
||||
@@ -47,7 +39,6 @@ func (c *AppErpArchiveController) ProductDetail() {
|
||||
c.erpOk(p)
|
||||
}
|
||||
|
||||
// CategoryList GET /api/erp/product/category/list 商品分类(列表 + 树)
|
||||
func (c *AppErpArchiveController) CategoryList() {
|
||||
cl, err := c.erpClaims()
|
||||
if c.erpDenied(err) {
|
||||
@@ -61,7 +52,6 @@ func (c *AppErpArchiveController) CategoryList() {
|
||||
c.erpOk(map[string]interface{}{"list": rows, "tree": tree})
|
||||
}
|
||||
|
||||
// WarehouseList GET /api/erp/warehouse/list 仓库列表(含在库品种数与货值)
|
||||
func (c *AppErpArchiveController) WarehouseList() {
|
||||
cl, err := c.erpClaims()
|
||||
if c.erpDenied(err) {
|
||||
@@ -75,8 +65,6 @@ func (c *AppErpArchiveController) WarehouseList() {
|
||||
c.erpOk(map[string]interface{}{"list": rows})
|
||||
}
|
||||
|
||||
// PartnerList GET /api/erp/partner/list?partner_type=supplier|customer 客商列表
|
||||
// 供应商与客户统一出参(partner_type/partner_name/open_amount),手机端开单与对账只需对接一种结构。
|
||||
func (c *AppErpArchiveController) PartnerList() {
|
||||
cl, err := c.erpClaims()
|
||||
if c.erpDenied(err) {
|
||||
@@ -96,7 +84,6 @@ func (c *AppErpArchiveController) PartnerList() {
|
||||
c.erpListOK(list, total, page, pageSize, nil)
|
||||
}
|
||||
|
||||
// PartnerDetail GET /api/erp/partner/detail/:id?partner_type= 客商详情
|
||||
func (c *AppErpArchiveController) PartnerDetail() {
|
||||
cl, err := c.erpClaims()
|
||||
if c.erpDenied(err) {
|
||||
|
||||
Reference in new issue
Block a user