fix teamstore password

This commit is contained in:
franknstayn
2020-07-11 19:31:35 +08:00
parent bb139cb0df
commit 59e52125f7
5 changed files with 18 additions and 6 deletions

View File

@@ -39,6 +39,15 @@ class TeamStoreModel extends Model {
return $i;
}
function checkStorePassword($storeid, $password)
{
$i = DB::table('teamstores')
->where('Id', $storeid)
->where('Password', $password)
->get();
return $i;
}
function selectTeamStoreGroupByCartKey($cartKey)
{
$i = DB::table('cart_tmp')