getPayWay(); return $this->success('获取成功',$result); } /** * @notes 设置支付方式 * @return \think\response\Json * @throws \Exception * @author ljj * @date 2022/2/15 7:02 下午 */ public function setPayWay() { $params = $this->request->post(); $result = (new PayWayLogic())->setPayWay($params); if (true !== $result) { return $this->fail($result); } return $this->success('操作成功',[],1,1); } }