|
@@ -102,6 +102,14 @@ class User extends AuthController
|
|
|
return $this->fetch('public/form-builder');
|
|
|
}
|
|
|
|
|
|
+ public function del_store($id)
|
|
|
+ {
|
|
|
+ if (!$id) return $this->failed('缺少参数');
|
|
|
+ $res = UserStorePromoter::where('id', $id)->delete();
|
|
|
+ if (!$res) return Json::successful('删除失败');
|
|
|
+ else return Json::successful('删除成功');
|
|
|
+ }
|
|
|
+
|
|
|
public function save_set_store($uid = 0)
|
|
|
{
|
|
|
if (!$uid) return Json::fail('缺少参数');
|