获取交易申请协议
This commit is contained in:
parent
6ecce17f60
commit
0fe03a6de8
@ -23,6 +23,7 @@ use app\common\repositories\user\UserSignRepository;
|
||||
use app\common\repositories\wechat\RoutineQrcodeRepository;
|
||||
use app\common\repositories\wechat\WechatUserRepository;
|
||||
use app\common\repositories\system\RelevanceRepository;
|
||||
use app\common\repositories\system\CacheRepository;
|
||||
use app\common\repositories\system\merchant\MerchantIntentionRepository;
|
||||
use app\validate\api\ChangePasswordValidate;
|
||||
use app\validate\api\UserAuthValidate;
|
||||
@ -1366,4 +1367,12 @@ class Auth extends BaseController
|
||||
Db::name('merchant')->where('mer_intention_id', $id)->where('status', 1)->update($data);
|
||||
return app('json')->success('同步成功');
|
||||
}
|
||||
|
||||
//获取交易申请协议
|
||||
public function businessAgree()
|
||||
{
|
||||
$repository = app()->make(CacheRepository::class);
|
||||
$data = $repository->getResult('business_apply_agree');
|
||||
return app('json')->success($data);
|
||||
}
|
||||
}
|
||||
|
@ -24,6 +24,7 @@ Route::group('api/', function () {
|
||||
Route::any('app/version', 'api.Auth/appVersion');
|
||||
Route::any('dotest', 'api.Auth/dotest');
|
||||
Route::post('merchant/syncStatus/:id', 'api.Auth/merchantStatus');
|
||||
Route::get('business/agree', 'api.Auth/businessAgree');
|
||||
Route::post('goods/take/:id', 'api.Auth/deliveryGoods');
|
||||
Route::get('merchant/cate', 'api.Auth/merchantCate');
|
||||
Route::get('order/statistics', 'api.Auth/orderStatistics');
|
||||
|
Loading…
x
Reference in New Issue
Block a user