mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-06-06 16:21:54 +08:00
细节优化
This commit is contained in:
@ -283,7 +283,7 @@ App({
|
||||
my.hideLoading();
|
||||
if (res.data.code == 0) {
|
||||
var data = res.data.data;
|
||||
if((data.is_alipay_user_exist || 0) == 1)
|
||||
if((data.is_user_exist || 0) == 1)
|
||||
{
|
||||
my.setStorage({
|
||||
key: self.data.cache_user_info_key,
|
||||
|
||||
@ -281,7 +281,7 @@ App({
|
||||
swan.hideLoading();
|
||||
if (res.data.code == 0) {
|
||||
var data = res.data.data;
|
||||
if ((data.is_alipay_user_exist || 0) == 1) {
|
||||
if ((data.is_user_exist || 0) == 1) {
|
||||
swan.setStorage({
|
||||
key: self.data.cache_user_info_key,
|
||||
data: data,
|
||||
|
||||
@ -249,7 +249,7 @@ App({
|
||||
qq.hideLoading();
|
||||
if (res.data.code == 0) {
|
||||
var data = res.data.data;
|
||||
if ((data.is_alipay_user_exist || 0) == 1) {
|
||||
if ((data.is_user_exist || 0) == 1) {
|
||||
qq.setStorage({
|
||||
key: self.data.cache_user_info_key,
|
||||
data: data,
|
||||
|
||||
@ -251,7 +251,7 @@ App({
|
||||
tt.hideLoading();
|
||||
if (res.data.code == 0) {
|
||||
var data = res.data.data;
|
||||
if ((data.is_alipay_user_exist || 0) == 1) {
|
||||
if ((data.is_user_exist || 0) == 1) {
|
||||
tt.setStorage({
|
||||
key: self.data.cache_user_info_key,
|
||||
data: data,
|
||||
|
||||
@ -252,7 +252,7 @@ App({
|
||||
wx.hideLoading();
|
||||
if (res.data.code == 0) {
|
||||
var data = res.data.data;
|
||||
if ((data.is_alipay_user_exist || 0) == 1) {
|
||||
if ((data.is_user_exist || 0) == 1) {
|
||||
wx.setStorage({
|
||||
key: self.data.cache_user_info_key,
|
||||
data: data,
|
||||
|
||||
Reference in New Issue
Block a user