Files
OMS/app/logistics/controller/admin/branch/rule.php
2025-12-28 23:13:25 +08:00

35 lines
824 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* Copyright © ShopeX http://www.shopex.cn. All rights reserved.
* See LICENSE file for license details.
*/
class logistics_ctl_admin_branch_rule extends desktop_controller {
var $workground = 'setting_tools';
var $defaultWorkground = 'setting_tools';
/**
* 仓库对应规则列表
*/
function saveBranchRule(){
$data = $_POST;
$branch_id = $data['branch_id'];
$set_rule = $data['set_rule'];
if($data){
#保存信息至物流设置主表
$result = $this->app->model('branch_rule')->create($data);
$this->splash('success','index.php?app=logistics&ctl=admin_rule&act=ruleList&branch_id='.$branch_id,'保存成功');
}
}
}
?>