Initial commit

This commit is contained in:
易焱
2021-03-13 18:42:01 +08:00
commit d9a3c376d5
3243 changed files with 627198 additions and 0 deletions
@@ -0,0 +1,19 @@
<?php
namespace Admin\Model;
use Think\Model\RelationModel;
class FeedbackModel extends RelationModel{
//关联模型
protected $_link = array(
//类别
"feedback_cat"=>array(
'mapping_type' => self::BELONGS_TO,
'foreign_key' => 'catid',
),
//用户
"member"=>array(
'mapping_type' => self::BELONGS_TO,
'mapping_fields' => "truename,member_id",
'foreign_key' => 'member_id',
)
);
}