Browse Source

数据库

master
林一峰 7 years ago
parent
commit
3d5d7ac910
  1. 4
      app/Http/Controllers/Api/CartController.php
  2. 81
      lqycms.sql
  3. 8
      resources/org/wxpay/WxPayConfig.php

4
app/Http/Controllers/Api/CartController.php

@ -32,8 +32,8 @@ class CartController extends CommonController
$data['goods_number'] = $request->input('goods_number','');
$data['goods_id'] = $request->input('goods_id','');
if($request->input('goods_attr', '') != ''){$data['goods_attr'] = $request->input('goods_attr');}
if($request->input('shop_id', '') != ''){$data['shop_id'] = $request->input('shop_id');}
if($request->input('goods_attr', null) != null){$data['goods_attr'] = $request->input('goods_attr');}
if($request->input('shop_id', null) != null){$data['shop_id'] = $request->input('shop_id');}
$data['add_time'] = time();
$data['user_id'] = Token::$uid;

81
lqycms.sql
File diff suppressed because it is too large
View File

8
resources/org/wxpay/WxPayConfig.php

@ -22,10 +22,10 @@ class WxPayConfig
* 获取地址:https://mp.weixin.qq.com/advanced/advanced?action=dev&t=advanced/dev&token=2005451881&lang=zh_CN
* @var string
*/
const APPID = 'wx1c7946b5734199d0';
const MCHID = '1331184301';
const KEY = '93aa64d6552bf09401af7e7e6f9b3be7';
const APPSECRET = '93aa64d6552bf09401af7e7e6f9b3be7';
const APPID = 'wx3d216119fe23ef10';
const MCHID = '1503321381';
const KEY = '7357733e71993a94ce392b9b5523c1ae';
const APPSECRET = '7357733e71993a94ce392b9b5523c1ae';
//=======【证书路径设置】=====================================
/**

Loading…
Cancel
Save