From e3e956f5abea3f8816d6701a935706cb394270c1 Mon Sep 17 00:00:00 2001 From: Anyon Date: Sat, 9 Jan 2021 14:54:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=94=AF=E4=BB=98=E9=80=9A?= =?UTF-8?q?=E9=81=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/data/controller/api/auth/Address.php | 1 + app/data/service/UserService.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/data/controller/api/auth/Address.php b/app/data/controller/api/auth/Address.php index 3f0504983..89613edb6 100644 --- a/app/data/controller/api/auth/Address.php +++ b/app/data/controller/api/auth/Address.php @@ -27,6 +27,7 @@ class Address extends Auth $data = $this->_vali([ 'uid.value' => $this->uuid, 'code.default' => '', + 'idcode.default' => '', 'type.default' => 0, 'type.in:0,1' => '地址状态不在范围!', 'name.require' => '收货姓名不能为空!', diff --git a/app/data/service/UserService.php b/app/data/service/UserService.php index bd3e3c991..7d018dd8c 100644 --- a/app/data/service/UserService.php +++ b/app/data/service/UserService.php @@ -15,7 +15,7 @@ class UserService extends Service const APITYPE_WEB = 'web'; const APITYPE_WXAPP = 'wxapp'; const APITYPE_WECHAT = 'wechat'; - const APITYPE_IOSAPP = 'iosapp'; + const APITYPE_IOSAPP = 'ios'; const APITYPE_ANDROID = 'android'; const TYPES = [