Commit ecccbecf authored by hujun's avatar hujun

门店添加修改

parent bb3923bb
......@@ -14,6 +14,9 @@ use app\model\AStore;
class Store extends Basic
{
protected $data;
protected $code = 200;
protected $msg = '';
/**
* @return \think\response\View
*/
......
......@@ -38,7 +38,7 @@ class AStore extends BaseModel
if ($data['id'] == '') {
$store_data['create_time'] = date('Y-m-d H:i:s');
$this->save($store_data);
$resutlt = $this->save($store_data);
$agents_data['store_id'] = $this->id;
$agents_data['level'] = 20;
......
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