|
|
@ -216,7 +216,6 @@ define(['angular', 'uiRouter', 'uiBootstrap'], function (angular) {
|
|
|
|
|
|
|
|
|
|
|
|
app.controller('devSendMessageCtrl', ['$scope', '$http', '$filter', function ($scope, $http, $filter) {
|
|
|
|
app.controller('devSendMessageCtrl', ['$scope', '$http', '$filter', function ($scope, $http, $filter) {
|
|
|
|
$scope.params = {type:'Merchant'};
|
|
|
|
$scope.params = {type:'Merchant'};
|
|
|
|
alert($scope.params.client_type);
|
|
|
|
|
|
|
|
$scope.sendMessage = function () {
|
|
|
|
$scope.sendMessage = function () {
|
|
|
|
var params = angular.copy($scope.params);
|
|
|
|
var params = angular.copy($scope.params);
|
|
|
|
$http.put('/dev/send_message',params).then(function (resp) {
|
|
|
|
$http.put('/dev/send_message',params).then(function (resp) {
|
|
|
|