Silent 6 年之前
父節點
當前提交
76ee7d3cf0
共有 3 個文件被更改,包括 4 次插入3 次删除
  1. 1 1
      app/Http/Controllers/WeChat/ApiController.php
  2. 2 2
      wechat/pages/article/article.wxss
  3. 1 0
      wechat/pages/login/index.js

+ 1 - 1
app/Http/Controllers/WeChat/ApiController.php

xqd
@@ -91,7 +91,7 @@ class ApiController extends Controller
     public function updateUserInfo(Request $request)
     {
         if(empty($request->input('id')) || empty($we_chat_user = WeChatUser::find($request->input('id'))) || empty($we_chat_user->session_key)) {
-            return response()->json(['status' => 'error', 'info' => '参数错误']);
+            return response()->json(['status' => 'error', 'info' => '参数错误11']);
         }
         if(empty($request->input('iv')) || empty($request->input('encryptedData'))) {
             return response()->json(['status' => 'error', 'info' => '参数错误']);

+ 2 - 2
wechat/pages/article/article.wxss

xqd
@@ -134,10 +134,10 @@
 .swiper-tab-item {
   display: inline-block;
   width: 33.33%;
-  color: red;
+  color: black;
 }
 
 .active {
-  color: aqua;
+  color: #fb534b;
   border-bottom: 4rpx solid red;
 }

+ 1 - 0
wechat/pages/login/index.js

xqd
@@ -36,6 +36,7 @@ Page({
           encryptedData: e.detail.encryptedData
         },
         success: info => {
+          console.log(info)
           if (info.data.status == 'success') {
             wx.setStorageSync('we_chat_user', info.data.data);
             wx.redirectTo({