购物车分类

This commit is contained in:
2019-09-22 22:10:04 +08:00
parent bb9bd68c7f
commit df11660e6a
7 changed files with 206 additions and 14 deletions

View File

@ -6,10 +6,10 @@ use Think\Db;
* ============================================================================
* 用户类
*/
class Users extends CUsers{
class Usersx extends CUsers{
/**
* 验证用户支付密码
*/
*/
function checkPayPwd(){
$payPwd = input('payPwd');
$decrypt_data = WSTRSA($payPwd);
@ -31,7 +31,7 @@ class Users extends CUsers{
* @return [type] [description]
*/
function getIndex($userId){
}
function getUserInfo($userId,$field){
return $this->where(['userId'=>$userId])->field($field)->find();

View File

@ -10,7 +10,7 @@ use Think\Db;
class Users extends CUsers{
/**
* 验证用户支付密码
*/
*/
function checkPayPwd(){
$payPwd = input('payPwd');
$decrypt_data = WSTRSA($payPwd);
@ -32,7 +32,7 @@ class Users extends CUsers{
* @return [type] [description]
*/
function getIndex($userId){
}
function getUserInfo($userId,$field){
return $this->where(['userId'=>$userId])->field($field)->find();
@ -43,6 +43,6 @@ class Users extends CUsers{
//setcookie("loginPwd", null);
session('WST_MO_WlADDRESS',null);
}
}