FastMovieAI 二开基线 v1.0 (完整源码)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace plugin\user\app\model;
|
||||
|
||||
use app\model\Basic;
|
||||
|
||||
class PluginUserWechat extends Basic
|
||||
{
|
||||
public static function onBeforeWrite($model)
|
||||
{
|
||||
if(!empty($model->nickname)){
|
||||
$model->nickname= iconv('UTF-8', 'UTF-8//IGNORE', $model->nickname);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user