Browse Source

2023-5-22-1 新增服务区

yingzi 2 years ago
parent
commit
a61949abab
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/api/controller/User.php

+ 2 - 2
app/api/controller/User.php

@@ -307,7 +307,7 @@ class User extends BaseController
             ['ancestral_place',''],
             ['ancestral_place',''],
             ['education',''],
             ['education',''],
             ['minority',''],
             ['minority',''],
-            ['is_china',0],
+            ['is_china',1],
 
 
             ['user_work_type_id','0'],//服务职称
             ['user_work_type_id','0'],//服务职称
             ['service_label',[]],//服务标签
             ['service_label',[]],//服务标签
@@ -419,7 +419,7 @@ class User extends BaseController
         $save["service_imgs"]           = empty($post["service_imgs"])         ? "" : implode(",", $post["service_imgs"]);//我的服务展示
         $save["service_imgs"]           = empty($post["service_imgs"])         ? "" : implode(",", $post["service_imgs"]);//我的服务展示
 
 
 
 
-
+        $save['is_china']        = $post["is_china"];
         $save['work_year']       = empty($post["work_year"])      ? "": $post["work_year"];
         $save['work_year']       = empty($post["work_year"])      ? "": $post["work_year"];
         $save['ancestral_place'] = empty($post["ancestral_place"])? "": $post["ancestral_place"];
         $save['ancestral_place'] = empty($post["ancestral_place"])? "": $post["ancestral_place"];
         $save['education']       = empty($post["education"])      ? "": $post["education"];
         $save['education']       = empty($post["education"])      ? "": $post["education"];