Merge branch 'dev' of https://gitea.lihaink.cn/mkm/shop-new into dev
This commit is contained in:
commit
a9d9212db7
@ -40,6 +40,7 @@ class AppUpdateDao extends BaseDao
|
|||||||
|
|
||||||
public function search(array $where = [])
|
public function search(array $where = [])
|
||||||
{
|
{
|
||||||
|
|
||||||
return AppUpdate::getDB()
|
return AppUpdate::getDB()
|
||||||
->when(isset($where['id']) && $where['id'] !== '',function($query) use($where){
|
->when(isset($where['id']) && $where['id'] !== '',function($query) use($where){
|
||||||
$query->where('id',$where['id']);
|
$query->where('id',$where['id']);
|
||||||
|
@ -9,6 +9,9 @@ class AppUpdate extends BaseModel
|
|||||||
|
|
||||||
public static function tablePk(): string
|
public static function tablePk(): string
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 'id';
|
return 'id';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -66,6 +66,23 @@ class ProductRepository extends BaseRepository
|
|||||||
public $saleType;
|
public $saleType;
|
||||||
protected $dao;
|
protected $dao;
|
||||||
const CREATE_PARAMS = [
|
const CREATE_PARAMS = [
|
||||||
|
"is_copy", "image", "slider_image", "store_name", "store_info", "keyword", "bar_code", "guarantee_template_id", "cate_id", "unit_name", "sort", "is_show", "is_good", 'is_gift_bag', 'integral_rate', "video_link", "temp_id", "content", "spec_type", "extension_type", "attr", 'mer_labels', 'delivery_way', 'delivery_free', 'param_temp_id', 'extend', 'mer_form_id',
|
||||||
|
["mer_cate_id", []],
|
||||||
|
['refund_switch', 1],
|
||||||
|
["brand_id", 0],
|
||||||
|
['once_max_count', 0],
|
||||||
|
['once_min_count', 0],
|
||||||
|
['pay_limit', 0],
|
||||||
|
["attrValue", []],
|
||||||
|
['give_coupon_ids', []],
|
||||||
|
['type', 0],
|
||||||
|
['svip_price', 0],
|
||||||
|
['svip_price_type', 0],
|
||||||
|
['params', []],
|
||||||
|
['product_type', 0],
|
||||||
|
['good_ids', []],
|
||||||
|
];
|
||||||
|
const UPDATE_PARAMS = [
|
||||||
"is_copy", "image", "slider_image", "store_name", "store_info", "keyword", "bar_code", "guarantee_template_id", "cate_id", "unit_name", "sort", "is_show", "is_good", 'is_gift_bag', 'integral_rate', "video_link", "temp_id", "content", "spec_type", "extension_type", "attr", 'mer_labels', 'delivery_way', 'delivery_free', 'param_temp_id', 'extend', 'mer_form_id','wholesale_price',
|
"is_copy", "image", "slider_image", "store_name", "store_info", "keyword", "bar_code", "guarantee_template_id", "cate_id", "unit_name", "sort", "is_show", "is_good", 'is_gift_bag', 'integral_rate', "video_link", "temp_id", "content", "spec_type", "extension_type", "attr", 'mer_labels', 'delivery_way', 'delivery_free', 'param_temp_id', 'extend', 'mer_form_id','wholesale_price',
|
||||||
["mer_cate_id", []],
|
["mer_cate_id", []],
|
||||||
['refund_switch', 1],
|
['refund_switch', 1],
|
||||||
@ -235,15 +252,12 @@ class ProductRepository extends BaseRepository
|
|||||||
$admin_info = $data['admin_info'] ?? [];
|
$admin_info = $data['admin_info'] ?? [];
|
||||||
unset($data['admin_info']);
|
unset($data['admin_info']);
|
||||||
}
|
}
|
||||||
// dump($data);
|
|
||||||
$product = $this->setProduct($data);
|
$product = $this->setProduct($data);
|
||||||
$product['wholesale_price'] = 11;
|
|
||||||
// halt($product);
|
|
||||||
event('product.create.before', compact('data', 'productType', 'conType'));
|
event('product.create.before', compact('data', 'productType', 'conType'));
|
||||||
return Db::transaction(function () use ($data, $productType, $conType, $content, $product, $admin_info) {
|
return Db::transaction(function () use ($data, $productType, $conType, $content, $product, $admin_info) {
|
||||||
$activity_id = 0;
|
$activity_id = 0;
|
||||||
$result = $this->dao->create($product);
|
$result = $this->dao->create($product);
|
||||||
$settleParams = $this->setAttrValue($data, $result->product_id, $productType, 0);
|
$settleParams = $this->setAttrValue($data, $result->product_id, $productType, 0, $data['mer_id']);
|
||||||
$settleParams['cate'] = $this->setMerCate($data['mer_cate_id'], $result->product_id, $data['mer_id']);
|
$settleParams['cate'] = $this->setMerCate($data['mer_cate_id'], $result->product_id, $data['mer_id']);
|
||||||
$settleParams['attr'] = $this->setAttr($data['attr'], $result->product_id);
|
$settleParams['attr'] = $this->setAttr($data['attr'], $result->product_id);
|
||||||
if ($productType == 0) app()->make(ParameterValueRepository::class)->create($result->product_id, $data['params'] ?? [], $data['mer_id']);
|
if ($productType == 0) app()->make(ParameterValueRepository::class)->create($result->product_id, $data['params'] ?? [], $data['mer_id']);
|
||||||
@ -293,7 +307,9 @@ class ProductRepository extends BaseRepository
|
|||||||
}
|
}
|
||||||
event('product.update.before', compact('id', 'data', 'merId', 'productType', 'conType'));
|
event('product.update.before', compact('id', 'data', 'merId', 'productType', 'conType'));
|
||||||
$spuData = $product = $this->setProduct($data);//商品主表
|
$spuData = $product = $this->setProduct($data);//商品主表
|
||||||
$settleParams = $this->setAttrValue($data, $id, $productType, 1);
|
$settleParams = $this->setAttrValue($data, $id, $productType, 1,$merId);
|
||||||
|
|
||||||
|
|
||||||
$settleParams['cate'] = $this->setMerCate($data['mer_cate_id'], $id, $merId);
|
$settleParams['cate'] = $this->setMerCate($data['mer_cate_id'], $id, $merId);
|
||||||
$settleParams['attr'] = $this->setAttr($data['attr'], $id);
|
$settleParams['attr'] = $this->setAttr($data['attr'], $id);
|
||||||
$content = [
|
$content = [
|
||||||
@ -308,6 +324,11 @@ class ProductRepository extends BaseRepository
|
|||||||
unset($data['admin_info']);
|
unset($data['admin_info']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(!empty($settleParams['attrValue'])){
|
||||||
|
$wholesalePrices = array_column($settleParams['attrValue'], 'wholesale_price');
|
||||||
|
$minWholesalePrice = min($wholesalePrices);
|
||||||
|
$product['wholesale_price'] =$minWholesalePrice;
|
||||||
|
}
|
||||||
|
|
||||||
return Db::transaction(function () use ($id, $data, $productType, $settleParams, $content, $product, $spuData, $merId) {
|
return Db::transaction(function () use ($id, $data, $productType, $settleParams, $content, $product, $spuData, $merId) {
|
||||||
$productData = $this->save($id, $settleParams, $content, $product, $productType);
|
$productData = $this->save($id, $settleParams, $content, $product, $productType);
|
||||||
@ -405,7 +426,6 @@ class ProductRepository extends BaseRepository
|
|||||||
unset($data['admin_info']);
|
unset($data['admin_info']);
|
||||||
}
|
}
|
||||||
$update_infos = $settleParams['update_infos'] ?? [];
|
$update_infos = $settleParams['update_infos'] ?? [];
|
||||||
|
|
||||||
if (isset($settleParams['data'])) $data = array_merge($data, $settleParams['data']);
|
if (isset($settleParams['data'])) $data = array_merge($data, $settleParams['data']);
|
||||||
$this->dao->update($id, $data);
|
$this->dao->update($id, $data);
|
||||||
if (isset($data['status']) && $data['status'] !== 1) {
|
if (isset($data['status']) && $data['status'] !== 1) {
|
||||||
@ -499,6 +519,9 @@ class ProductRepository extends BaseRepository
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$wholesalePrices = array_column($data['attrValue'], 'wholesale_price');
|
||||||
|
$minPriceOtPrice = min($wholesalePrices);
|
||||||
|
|
||||||
$result = [
|
$result = [
|
||||||
'store_name' => $data['store_name'],
|
'store_name' => $data['store_name'],
|
||||||
'image' => $data['image'],
|
'image' => $data['image'],
|
||||||
@ -531,7 +554,7 @@ class ProductRepository extends BaseRepository
|
|||||||
'refund_switch' => $data['refund_switch'] ?? 0,
|
'refund_switch' => $data['refund_switch'] ?? 0,
|
||||||
'mer_form_id' => $data['mer_form_id'] ?? 0,
|
'mer_form_id' => $data['mer_form_id'] ?? 0,
|
||||||
'rate' => $data['rate'] ?? 5.0,
|
'rate' => $data['rate'] ?? 5.0,
|
||||||
'wholesale_price'=>$data['wholesale_price'] ??0
|
'wholesale_price'=> $minPriceOtPrice
|
||||||
];
|
];
|
||||||
if (isset($data['extend']))
|
if (isset($data['extend']))
|
||||||
$result['extend'] = $data['extend'] ? json_encode($data['extend'], JSON_UNESCAPED_UNICODE) : '';
|
$result['extend'] = $data['extend'] ? json_encode($data['extend'], JSON_UNESCAPED_UNICODE) : '';
|
||||||
@ -606,8 +629,11 @@ class ProductRepository extends BaseRepository
|
|||||||
* @param int $productId
|
* @param int $productId
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
public function setAttrValue(array $data, int $productId, int $productType, int $isUpdate = 0)
|
public function setAttrValue(array $data, int $productId, int $productType, int $isUpdate = 0, int $merId = 0)
|
||||||
{
|
{
|
||||||
|
if ($merId <= 0) {
|
||||||
|
throw new ValidateException('添加商品商户id不能为0');
|
||||||
|
}
|
||||||
$extension_status = systemConfig('extension_status');
|
$extension_status = systemConfig('extension_status');
|
||||||
if ($isUpdate) {
|
if ($isUpdate) {
|
||||||
$productAttrValue = app()->make(ProductAttrValueRepository::class)->search(['product_id' => $productId])->select()->toArray();
|
$productAttrValue = app()->make(ProductAttrValueRepository::class)->search(['product_id' => $productId])->select()->toArray();
|
||||||
@ -653,8 +679,13 @@ class ProductRepository extends BaseRepository
|
|||||||
!$cdkeey_stock ?: $value['stock'] = $cdkeey_stock;
|
!$cdkeey_stock ?: $value['stock'] = $cdkeey_stock;
|
||||||
}
|
}
|
||||||
$new_price = $value['price'] ? (($value['price'] < 0) ? 0 : $value['price']) : 0;
|
$new_price = $value['price'] ? (($value['price'] < 0) ? 0 : $value['price']) : 0;
|
||||||
|
$otPrice = $value['ot_price'] ? (($value['ot_price'] < 0) ? 0 : $value['ot_price']) : 0;
|
||||||
|
if(isset($value['wholesale_price'])){
|
||||||
|
$wholesale_price = $value['wholesale_price'] ? (($value['wholesale_price'] < 0) ? 0 : $value['wholesale_price']) : 0;
|
||||||
|
}else{
|
||||||
|
$wholesale_price = min($new_price,$otPrice);
|
||||||
|
}
|
||||||
|
|
||||||
$wholesale_price = $value['wholesale_price'] ? (($value['wholesale_price'] < 0) ? 0 : $value['wholesale_price']) : 0;
|
|
||||||
$new_stock = $value['stock'] ? (($value['stock'] < 0) ? 0 : $value['stock']) : 0;
|
$new_stock = $value['stock'] ? (($value['stock'] < 0) ? 0 : $value['stock']) : 0;
|
||||||
$array = [
|
$array = [
|
||||||
'detail' => json_encode($value['detail'] ?? ''),
|
'detail' => json_encode($value['detail'] ?? ''),
|
||||||
@ -666,10 +697,11 @@ class ProductRepository extends BaseRepository
|
|||||||
"volume" => isset($value['volume']) ? ($value['volume'] ? (($value['volume'] < 0) ? 0 : $value['volume']) : 0) : 0,
|
"volume" => isset($value['volume']) ? ($value['volume'] ? (($value['volume'] < 0) ? 0 : $value['volume']) : 0) : 0,
|
||||||
"weight" => isset($value['weight']) ? ($value['weight'] ? (($value['weight'] < 0) ? 0 : $value['weight']) : 0) : 0,
|
"weight" => isset($value['weight']) ? ($value['weight'] ? (($value['weight'] < 0) ? 0 : $value['weight']) : 0) : 0,
|
||||||
"stock" => $new_stock,
|
"stock" => $new_stock,
|
||||||
"ot_price" => $value['ot_price'] ? (($value['ot_price'] < 0) ? 0 : $value['ot_price']) : 0,
|
"ot_price" =>$otPrice,
|
||||||
"extension_one" => $extension_status ? ($value['extension_one'] ?? 0) : 0,
|
"extension_one" => $extension_status ? ($value['extension_one'] ?? 0) : 0,
|
||||||
"extension_two" => $extension_status ? ($value['extension_two'] ?? 0) : 0,
|
"extension_two" => $extension_status ? ($value['extension_two'] ?? 0) : 0,
|
||||||
"product_id" => $productId,
|
"product_id" => $productId,
|
||||||
|
'mer_id' => $merId,
|
||||||
"type" => 0,
|
"type" => 0,
|
||||||
"sku" => $sku,
|
"sku" => $sku,
|
||||||
"unique" => $unique,
|
"unique" => $unique,
|
||||||
@ -2527,6 +2559,7 @@ class ProductRepository extends BaseRepository
|
|||||||
$valueNew[$count]['cost'] = $skuValue[$suk]['cost'] ?? 0;
|
$valueNew[$count]['cost'] = $skuValue[$suk]['cost'] ?? 0;
|
||||||
$valueNew[$count]['image'] = $skuValue[$suk]['image'] ?? '';
|
$valueNew[$count]['image'] = $skuValue[$suk]['image'] ?? '';
|
||||||
$valueNew[$count]['price'] = $skuValue[$suk]['price'] ?? 0;
|
$valueNew[$count]['price'] = $skuValue[$suk]['price'] ?? 0;
|
||||||
|
$valueNew[$count]['wholesale_price'] = $skuValue[$suk]['wholesale_price'] ?? 0;
|
||||||
$valueNew[$count]['stock'] = $skuValue[$suk]['stock'] ?? 0;
|
$valueNew[$count]['stock'] = $skuValue[$suk]['stock'] ?? 0;
|
||||||
$valueNew[$count]['cdkey'] = $skuValue[$suk]['cdkey'] ?? [];
|
$valueNew[$count]['cdkey'] = $skuValue[$suk]['cdkey'] ?? [];
|
||||||
$valueNew[$count]['weight'] = $skuValue[$suk]['weight'] ?? 0;
|
$valueNew[$count]['weight'] = $skuValue[$suk]['weight'] ?? 0;
|
||||||
|
@ -25,7 +25,7 @@ use think\facade\Cache;
|
|||||||
* @package app\common\repositories\system
|
* @package app\common\repositories\system
|
||||||
* @author xaboy
|
* @author xaboy
|
||||||
* @day 2020-04-24
|
* @day 2020-04-24
|
||||||
* @mixin CacheDao
|
* @mixin
|
||||||
*/
|
*/
|
||||||
class LhappRepository extends BaseRepository
|
class LhappRepository extends BaseRepository
|
||||||
{
|
{
|
||||||
@ -33,7 +33,7 @@ class LhappRepository extends BaseRepository
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* CacheRepository constructor.
|
* CacheRepository constructor.
|
||||||
* @param CacheDao $dao
|
* @param $dao
|
||||||
*/
|
*/
|
||||||
public function __construct(AppUpdateDao $dao)
|
public function __construct(AppUpdateDao $dao)
|
||||||
{
|
{
|
||||||
|
@ -34,6 +34,7 @@ class Lhapp extends BaseController
|
|||||||
|
|
||||||
public function list()
|
public function list()
|
||||||
{
|
{
|
||||||
|
|
||||||
[$page, $limit] = $this->getPage();
|
[$page, $limit] = $this->getPage();
|
||||||
$where = $this->request->params(['type']);
|
$where = $this->request->params(['type']);
|
||||||
return app('json')->success($this->repository->getList($where, $page, $limit));
|
return app('json')->success($this->repository->getList($where, $page, $limit));
|
||||||
|
@ -23,6 +23,7 @@ use app\common\repositories\delivery\DeliveryOrderRepository;
|
|||||||
use app\common\repositories\store\product\ProductAssistSetRepository;
|
use app\common\repositories\store\product\ProductAssistSetRepository;
|
||||||
use app\common\repositories\store\product\ProductGroupBuyingRepository;
|
use app\common\repositories\store\product\ProductGroupBuyingRepository;
|
||||||
use app\common\repositories\store\product\ProductGroupRepository;
|
use app\common\repositories\store\product\ProductGroupRepository;
|
||||||
|
use app\common\repositories\store\product\ProductLabelRepository;
|
||||||
use app\common\repositories\store\product\ProductPresellRepository;
|
use app\common\repositories\store\product\ProductPresellRepository;
|
||||||
use app\common\repositories\store\product\ProductRepository;
|
use app\common\repositories\store\product\ProductRepository;
|
||||||
use app\common\repositories\store\shipping\ExpressRepository;
|
use app\common\repositories\store\shipping\ExpressRepository;
|
||||||
@ -739,4 +740,18 @@ class Common extends BaseController
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 商品标签
|
||||||
|
*/
|
||||||
|
public function label_lst(ProductLabelRepository $repository)
|
||||||
|
{
|
||||||
|
[$page, $limit] = $this->getPage();
|
||||||
|
$where = $this->request->params(['name', 'type', 'status']);
|
||||||
|
$data = $repository->getList($where, $page, $limit);
|
||||||
|
return app('json')->success($data);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -10,6 +10,8 @@ class Demo extends BaseController
|
|||||||
|
|
||||||
$order=['auth_code'=>$name];
|
$order=['auth_code'=>$name];
|
||||||
$a=WechatService::create()->micropay()->scanCode($order);
|
$a=WechatService::create()->micropay()->scanCode($order);
|
||||||
|
// $a = WechatService::create()->jsPay(null, 'wx'.time(), 1, '支付测试', 'APP支付测试', '', 'APP');
|
||||||
|
|
||||||
halt($a);
|
halt($a);
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -135,7 +135,7 @@ class Product extends BaseController
|
|||||||
*/
|
*/
|
||||||
public function update($id)
|
public function update($id)
|
||||||
{
|
{
|
||||||
$params = $this->request->params($this->repository::CREATE_PARAMS);
|
$params = $this->request->params($this->repository::UPDATE_PARAMS);
|
||||||
$data = $this->repository->checkParams($params, $this->request->merId(), $id);
|
$data = $this->repository->checkParams($params, $this->request->merId(), $id);
|
||||||
if (!$this->repository->merExists($this->request->merId(), $id))
|
if (!$this->repository->merExists($this->request->merId(), $id))
|
||||||
return app('json')->fail('数据不存在');
|
return app('json')->fail('数据不存在');
|
||||||
|
@ -994,7 +994,7 @@ class WechatService
|
|||||||
return $this->application->combinePay;
|
return $this->application->combinePay;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** 条码支付
|
||||||
* @return easywechat\micropay\Client
|
* @return easywechat\micropay\Client
|
||||||
*/
|
*/
|
||||||
public function micropay()
|
public function micropay()
|
||||||
|
@ -12,31 +12,44 @@
|
|||||||
|
|
||||||
namespace crmeb\services\easywechat\micropay;
|
namespace crmeb\services\easywechat\micropay;
|
||||||
|
|
||||||
|
|
||||||
use crmeb\services\easywechat\BaseClient;
|
use crmeb\services\easywechat\BaseClient;
|
||||||
|
|
||||||
class Client extends BaseClient
|
class Client extends BaseClient
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 条码支付
|
||||||
|
*/
|
||||||
public function scanCode($order)
|
public function scanCode($order)
|
||||||
{
|
{
|
||||||
$content=[
|
|
||||||
'appid'=>$this->app['config']['app_id'],
|
$content = [
|
||||||
'mch_id'=>2,
|
'appid' => $this->app['config']['app_id'],
|
||||||
'device_info'=>3,
|
'mch_id' => $this->app['config']['payment']['merchant_id'],
|
||||||
'body'=>'线下支付',
|
'body' => $order['body'],
|
||||||
'attach'=>'测试数据',
|
'nonce_str' => $order['order_sn'],
|
||||||
'out_trade_no'=>time(),
|
'total_fee' => $order['pay_price'],
|
||||||
'total_fee'=>1,
|
'spbill_create_ip' => request()->ip(),
|
||||||
'spbill_create_ip'=>request()->ip(),
|
'auth_code' => (string)$order['auth_code'],
|
||||||
'auth_code'=>$order['auth_code'],
|
|
||||||
];
|
];
|
||||||
$content = json_encode($content);
|
$content['out_trade_no']= $order['order_sn'];
|
||||||
$this->isService=false;
|
ksort($content); // 按照键名排序
|
||||||
$res= $this->request('/pay/micropay', 'POST', ['sign_body' => $content]);
|
$sign_str = urldecode(http_build_query($content)); // 构造签名字符串
|
||||||
|
$sign = strtoupper(md5($sign_str . '&key=' . 'FC685E79840793CE86AE621CE9EDFCDA')); // 生成签名
|
||||||
|
$content['sign']=$sign;
|
||||||
|
$this->isService = false;
|
||||||
|
$res = $this->request('/pay/micropay', 'POST', ['sign_body' => $this->arrayToXml($content)]);
|
||||||
return $res;
|
return $res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function arrayToXml($arr)
|
||||||
|
{
|
||||||
|
$xml = "<xml>";
|
||||||
|
foreach ($arr as $key => $val) {
|
||||||
|
$xml .= "<" . $key . ">" . $val . "</" . $key . ">";
|
||||||
|
}
|
||||||
|
$xml .= "</xml>";
|
||||||
|
return $xml;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -186,8 +186,29 @@ Route::group(function () {
|
|||||||
'_auth' => true,
|
'_auth' => true,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
Route::group(function () {
|
// APP版本管理
|
||||||
|
Route::group('app/version', function () {
|
||||||
|
Route::get('lst', '/list')->name('appVersionList')->option([
|
||||||
|
'_alias' => 'APP版本列表',
|
||||||
|
]);
|
||||||
|
Route::get('detail/:id', '/detail')->name('appVersionDetail')->option([
|
||||||
|
'_alias' => 'APP版本详情',
|
||||||
|
]);
|
||||||
|
Route::post('create', '/create')->name('appVersionAdd')->option([
|
||||||
|
'_alias' => '新增APP版本',
|
||||||
|
]);
|
||||||
|
Route::post('edit/:id', '/update')->name('appVersionEdit')->option([
|
||||||
|
'_alias' => '编辑APP版本',
|
||||||
|
]);
|
||||||
|
Route::post('delete/:id', '/delete')->name('appVersionEdit')->option([
|
||||||
|
'_alias' => '删除APP版本',
|
||||||
|
]);
|
||||||
|
})->prefix('admin.system.Lhapp')->option([
|
||||||
|
'_path' => '/app/version',
|
||||||
|
'_auth' => true,
|
||||||
|
]);
|
||||||
|
|
||||||
|
Route::group(function () {
|
||||||
Route::get('menus', 'admin.system.auth.Menu/menus');
|
Route::get('menus', 'admin.system.auth.Menu/menus');
|
||||||
Route::get('system/city/lst', 'merchant.store.shipping.City/lst');
|
Route::get('system/city/lst', 'merchant.store.shipping.City/lst');
|
||||||
//退出登陆
|
//退出登陆
|
||||||
|
@ -24,6 +24,7 @@ Route::group('api/', function () {
|
|||||||
Route::any('ceshi', 'api.Demo/ceshi');
|
Route::any('ceshi', 'api.Demo/ceshi');
|
||||||
Route::any('promote_writing', 'api.Common/promote_writing');
|
Route::any('promote_writing', 'api.Common/promote_writing');
|
||||||
Route::any('applet', 'api.Common/applet');
|
Route::any('applet', 'api.Common/applet');
|
||||||
|
Route::get('label_lst', 'api.Common/label_lst');
|
||||||
Route::any('promote_writing', 'api.Common/promoteWriting');
|
Route::any('promote_writing', 'api.Common/promoteWriting');
|
||||||
Route::get('business/agree', 'api.Auth/businessAgree');
|
Route::get('business/agree', 'api.Auth/businessAgree');
|
||||||
Route::any('system_group_value', 'api.Common/system_group_value');
|
Route::any('system_group_value', 'api.Common/system_group_value');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user