|
|
|
@ -200,7 +200,7 @@ class PartnerController extends ThinkController
|
|
|
|
|
public function add()
|
|
|
|
|
{
|
|
|
|
|
if ($_POST) {
|
|
|
|
|
$partner = I('post.partner', '');
|
|
|
|
|
$partner = trim(I('post.partner', ''));
|
|
|
|
|
$status = intval(I('post.status', 1));
|
|
|
|
|
|
|
|
|
|
if (empty($partner)) {
|
|
|
|
@ -291,7 +291,7 @@ class PartnerController extends ThinkController
|
|
|
|
|
$model = M($this->modelName, 'tab_');
|
|
|
|
|
|
|
|
|
|
if ($_POST) {
|
|
|
|
|
$partner = I('post.partner', '');
|
|
|
|
|
$partner = trim(I('post.partner', ''));
|
|
|
|
|
$status = intval(I('post.status', 1));
|
|
|
|
|
$id = intval(I('post.id', 0));
|
|
|
|
|
|
|
|
|
|