作者 lyh

gx

@@ -44,7 +44,7 @@ class ProductController extends BaseController @@ -44,7 +44,7 @@ class ProductController extends BaseController
44 $this->map['category_id'] = ['like','%'.$this->map['category_id'].'%']; 44 $this->map['category_id'] = ['like','%'.$this->map['category_id'].'%'];
45 } 45 }
46 $this->map['project_id'] = $this->user['project_id']; 46 $this->map['project_id'] = $this->user['project_id'];
47 - $filed = ['id', 'project_id', 'title', 'sort' ,'thumb', 'product_type' , 'route' , 47 + $filed = ['id', 'project_id', 'title', 'sort' ,'thumb', 'gallery' ,'product_type' , 'route' ,
48 'category_id', 'keyword_id', 'status', 'created_uid', 'created_at', 'updated_at']; 48 'category_id', 'keyword_id', 'status', 'created_uid', 'created_at', 'updated_at'];
49 $lists = $product->lists($this->map,$this->page,$this->row,$this->order,$filed); 49 $lists = $product->lists($this->map,$this->page,$this->row,$this->order,$filed);
50 if(!empty($lists['list'])){ 50 if(!empty($lists['list'])){
@@ -224,9 +224,11 @@ class ProjectLogic extends BaseLogic @@ -224,9 +224,11 @@ class ProjectLogic extends BaseLogic
224 } 224 }
225 225
226 /** 226 /**
227 - * 保存付款续费  
228 - * @author zbj  
229 - * @date 2023/4/26 227 + * @remark :保存付款续费
  228 + * @name :savePayment
  229 + * @author :lyh
  230 + * @method :post
  231 + * @time :2023/8/29 16:19
230 */ 232 */
231 protected function savePayment($param){ 233 protected function savePayment($param){
232 if(empty($param['payment'])){ 234 if(empty($param['payment'])){
@@ -239,9 +241,11 @@ class ProjectLogic extends BaseLogic @@ -239,9 +241,11 @@ class ProjectLogic extends BaseLogic
239 } 241 }
240 242
241 /** 243 /**
242 - * 保存建站部署  
243 - * @author zbj  
244 - * @date 2023/4/26 244 + * @remark :保存建站部署
  245 + * @name :saveDeployBuild
  246 + * @author :lyh
  247 + * @method :post
  248 + * @time :2023/8/29 16:19
245 */ 249 */
246 protected function saveDeployBuild($param){ 250 protected function saveDeployBuild($param){
247 if(empty($param['deploy_build'])){ 251 if(empty($param['deploy_build'])){
@@ -37,7 +37,8 @@ class UserLogic extends BaseLogic @@ -37,7 +37,8 @@ class UserLogic extends BaseLogic
37 */ 37 */
38 public function user_add(){ 38 public function user_add(){
39 //验证当前用户是否存在 39 //验证当前用户是否存在
40 - $info = $this->model->read(['mobile'=>$this->param['mobile']]); 40 + $info = $this->model->read(['mobile'=>$this->param['mobile'],
  41 + 'project_id'=>$this->user['project_id']]);
41 if($info !== false){ 42 if($info !== false){
42 $this->fail('当前手机号码已注册'); 43 $this->fail('当前手机号码已注册');
43 } 44 }
@@ -64,7 +65,8 @@ class UserLogic extends BaseLogic @@ -64,7 +65,8 @@ class UserLogic extends BaseLogic
64 public function user_edit(){ 65 public function user_edit(){
65 $condition = [ 66 $condition = [
66 'id'=>['!=',$this->param['id']], 67 'id'=>['!=',$this->param['id']],
67 - 'mobile'=>$this->param['mobile'] 68 + 'mobile'=>$this->param['mobile'],
  69 + 'project_id'=>$this->user['project_id']
68 ]; 70 ];
69 $info = $this->model->read($condition); 71 $info = $this->model->read($condition);
70 if($info !== false){ 72 if($info !== false){