mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-12-04 04:49:33 +08:00
小程序生成强制使用https协议
This commit is contained in:
parent
d11d22ea34
commit
d3067f0b7a
@ -100,6 +100,12 @@ class AppMiniService
|
||||
*/
|
||||
public static function Created($params = [])
|
||||
{
|
||||
// 是否https
|
||||
if(__MY_HTTP__ != 'https')
|
||||
{
|
||||
return DataReturn('请使用https协议', -1);
|
||||
}
|
||||
|
||||
// 初始化
|
||||
self::Init($params);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user