Git Product home page Git Product logo

laravel-getui's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

laravel-getui's Issues

Class 'Earnp\Getui\GetuiServiceprovider' not found

{
"name": "earnp/getui",
"description": "getui for laravel",
"authors": [
{
"name": "lusong",
"email": "[email protected]",
"url": "https://phpartisan.cn"
}
],
"license": "MIT",
"minimum-stability": "dev",
"require": {},
"autoload": {
"psr-4": {
"Earnp\Contact\":"src/"
}
}
}

也许是这里有问题:)

Class 'Earnp\Getui\AppConditions' not found

//群发
public function msgTemplateToApp(){
$rules = [
'template' => 'required',
'data' => 'required',
'config' => 'required',
'choice' => 'required'
];
if ($error = $this->validateInput($rules)) {
return $error;
}
/* $template = "IGtNotificationTemplate";
$data = "a";
$config = array("type" => "HIGH", "title" => "你有一条新消息", "body" => "你有一个3000元的订单需要申请", "logo" => "", "logourl" => "");
$CID = "3eb2606cfa2f3c8172e6699bde3db7aa"; */
$template = $this->validated['template'];
$data = $this->validated['data'];
$config = $this->validated['config'];
$choice = $this->validated['choice'];
$test = Getui::pushMessageToApp($template, $config, $data, $choice);
#$array['data'] = $test;
return $this->successData($test);
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.