修改支付通道

This commit is contained in:
Anyon 2021-01-09 14:54:40 +08:00
parent 72f8e8c3b7
commit e3e956f5ab
2 changed files with 2 additions and 1 deletions

View File

@ -27,6 +27,7 @@ class Address extends Auth
$data = $this->_vali([ $data = $this->_vali([
'uid.value' => $this->uuid, 'uid.value' => $this->uuid,
'code.default' => '', 'code.default' => '',
'idcode.default' => '',
'type.default' => 0, 'type.default' => 0,
'type.in:0,1' => '地址状态不在范围!', 'type.in:0,1' => '地址状态不在范围!',
'name.require' => '收货姓名不能为空!', 'name.require' => '收货姓名不能为空!',

View File

@ -15,7 +15,7 @@ class UserService extends Service
const APITYPE_WEB = 'web'; const APITYPE_WEB = 'web';
const APITYPE_WXAPP = 'wxapp'; const APITYPE_WXAPP = 'wxapp';
const APITYPE_WECHAT = 'wechat'; const APITYPE_WECHAT = 'wechat';
const APITYPE_IOSAPP = 'iosapp'; const APITYPE_IOSAPP = 'ios';
const APITYPE_ANDROID = 'android'; const APITYPE_ANDROID = 'android';
const TYPES = [ const TYPES = [