|
|
|
@ -324,6 +324,11 @@ class PartnerController extends ThinkController
|
|
|
|
|
$this->error('已存在同名未审核的cp,请勿重复添加');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$has_check = M("partner","tab_")->where(["partner_name"=>$partner_info['partner']])->field("id")->find();
|
|
|
|
|
if ($has_check) {
|
|
|
|
|
$this->error('已存在同名cp,请勿重复添加');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$res =D("PartnerVerify")->add_db($save);
|
|
|
|
|
if ($res) {
|
|
|
|
|
//操作日志
|
|
|
|
|