|
@@ -162,7 +162,12 @@ class User extends BaseController
|
|
|
$save["name"] = empty($post["name"]) ? "" : $post["name"];
|
|
$save["name"] = empty($post["name"]) ? "" : $post["name"];
|
|
|
$save["mobile"] = empty($post["mobile"]) ? "" : $post["mobile"];
|
|
$save["mobile"] = empty($post["mobile"]) ? "" : $post["mobile"];
|
|
|
$save["idcard"] = empty($post["idcard"]) ? "" : $post["idcard"];
|
|
$save["idcard"] = empty($post["idcard"]) ? "" : $post["idcard"];
|
|
|
- $save["birthday"] = empty($post["birthday"])? 0 : strtotime($post["birthday"]);
|
|
|
|
|
|
|
+// $save["birthday"] = empty($post["birthday"])? 0 : strtotime($post["birthday"]);
|
|
|
|
|
+
|
|
|
|
|
+ $save["constellation"] = IdentityCard::get_starsign($post["idcard"]);//星座
|
|
|
|
|
+ $save["twelve"] = IdentityCard::get_zodiac($post["idcard"]);//星座
|
|
|
|
|
+ $save["birthday"] = strtotime(IdentityCard::get_birthday($post["idcard"]));
|
|
|
|
|
+
|
|
|
//服务类型
|
|
//服务类型
|
|
|
if(!empty($post["service_type"])){
|
|
if(!empty($post["service_type"])){
|
|
|
$timeTypeData = (new ServiceTimeType)->where("code",$post["service_type"])->where("status",1)->select();
|
|
$timeTypeData = (new ServiceTimeType)->where("code",$post["service_type"])->where("status",1)->select();
|