|
@@ -253,12 +253,12 @@ class ShopApply extends BaseModel
|
|
|
try {
|
|
|
|
|
|
//添加系统站
|
|
|
- //$site_id = model("site")->add([ 'site_type' => 'shop' ]);
|
|
|
+ $site_id = model("site")->add([ 'site_type' => 'shop' ]);
|
|
|
+ echo $site_id;die;
|
|
|
//echo "<pre>";print_r($apply_info);exit;
|
|
|
//获取用户账户信息
|
|
|
$user_info = model('user')->getInfo([ ['uid','=',$apply_info['uid']] ],'username');
|
|
|
if (!$user_info){
|
|
|
- echo 2221;die;
|
|
|
$user_info = model('member')->getInfo([['member_id','=',$apply_info['member_id']]],'username');
|
|
|
$user_data['app_module'] = 'shop';
|
|
|
$user_data['app_group'] = 1;
|