Commit f7c2e2f3 authored by jianghaiming's avatar jianghaiming

update:修改登陆配置

parent f56a963d
...@@ -9,7 +9,7 @@ use App\Exception\BaseException; ...@@ -9,7 +9,7 @@ use App\Exception\BaseException;
class UserException extends BaseException class UserException extends BaseException
{ {
protected $base_code = Code::USUR; protected $base_code = Code::USUR;
const APP_ID_NULL = 14;
protected $cus = [ protected $cus = [
0 => 'code 无效', 0 => 'code 无效',
1 => '获取openid失败', 1 => '获取openid失败',
...@@ -25,5 +25,6 @@ class UserException extends BaseException ...@@ -25,5 +25,6 @@ class UserException extends BaseException
11 => '头像昵称更新失败', 11 => '头像昵称更新失败',
12 => '绑定手机号保存失败', 12 => '绑定手机号保存失败',
13 => '请求太频繁,稍后重试', 13 => '请求太频繁,稍后重试',
self::APP_ID_NULL => 'AppId 不能为空',
]; ];
} }
\ No newline at end of file
This diff is collapsed.
...@@ -21,6 +21,16 @@ idgen.key = "5cfdb867e96374c7883b31d6928cc4cb" ...@@ -21,6 +21,16 @@ idgen.key = "5cfdb867e96374c7883b31d6928cc4cb"
wechat.appid = "wx4e0d92499185fb74"; wechat.appid = "wx4e0d92499185fb74";
wechat.secret = "731bcf2f7ebb1ebddb677618c2008b25"; wechat.secret = "731bcf2f7ebb1ebddb677618c2008b25";
wechat.appid.merchant-pub-pin = "wx4e0d92499185fb74"
wechat.secret.merchant-pub-pin = "731bcf2f7ebb1ebddb677618c2008b25"
wechat.appid.merchant-pub-deliverer = "wx91042f2a75f8b994"
wechat.secret.merchant-pub-deliverer = "09d7ea5472d871b4b1a0f3100bdfe1c9"
wechat.appid.merchant-pub-idle = "wx4e0d92499185fb74"
wechat.secret.merchant-pub-idle = "731bcf2f7ebb1ebddb677618c2008b25"
[exception] [exception]
debug = false debug = false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment